@inkeep/agents-core 0.0.0-dev-20260310215636 → 0.0.0-dev-20260310233527

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod0 from "drizzle-zod";
7
+ import * as drizzle_zod3 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_zod0.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core0.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod0.BuildRefine<{
385
+ }, drizzle_zod3.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core0.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>>;
823
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<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>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,9 +848,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
- declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod0.BuildRefine<{
1022
+ }, drizzle_zod3.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1588,7 +1588,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1588
1588
  }, {}, {
1589
1589
  length: 256;
1590
1590
  }>;
1591
- }, drizzle_zod0.BuildRefine<{
1591
+ }, drizzle_zod3.BuildRefine<{
1592
1592
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1593
1593
  name: "created_at";
1594
1594
  tableName: "agent";
@@ -1887,7 +1887,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1887
1887
  length: 256;
1888
1888
  }>;
1889
1889
  }, undefined>, undefined>;
1890
- declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1890
+ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1891
1891
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1892
1892
  name: "created_at";
1893
1893
  tableName: "agent";
@@ -2185,7 +2185,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2185
2185
  }, {}, {
2186
2186
  length: 256;
2187
2187
  }>;
2188
- }, drizzle_zod0.BuildRefine<Pick<{
2188
+ }, drizzle_zod3.BuildRefine<Pick<{
2189
2189
  createdAt: drizzle_orm_pg_core0.PgColumn<{
2190
2190
  name: "created_at";
2191
2191
  tableName: "agent";
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "name" | "description" | "tenantId" | "projectId" | "id" | "createdAt" | "updatedAt" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "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>>;
@@ -2752,10 +2752,8 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  name: z.ZodString;
2754
2754
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
- createdAt: z.ZodOptional<z.ZodString>;
2756
- updatedAt: z.ZodOptional<z.ZodString>;
2757
2755
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
2757
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2760
2758
  base?: {
2761
2759
  model?: string | undefined;
@@ -2809,7 +2807,18 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2809
2807
  providerOptions?: Record<string, any> | undefined;
2810
2808
  } | undefined;
2811
2809
  }>>>>;
2812
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2810
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2811
+ transferCountIs?: number | undefined;
2812
+ }, {
2813
+ transferCountIs?: number | undefined;
2814
+ }, z.core.$ZodTypeInternals<{
2815
+ transferCountIs?: number | undefined;
2816
+ }, {
2817
+ transferCountIs?: number | undefined;
2818
+ }>>>>;
2819
+ createdAt: z.ZodOptional<z.ZodString>;
2820
+ updatedAt: z.ZodOptional<z.ZodString>;
2821
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2822
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2814
2823
  enabled?: boolean | undefined;
2815
2824
  numEvents?: number | undefined;
@@ -2867,25 +2876,14 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2867
2876
  } | undefined;
2868
2877
  }[] | undefined;
2869
2878
  }>>>>;
2870
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2871
- transferCountIs?: number | undefined;
2872
- }, {
2873
- transferCountIs?: number | undefined;
2874
- }, z.core.$ZodTypeInternals<{
2875
- transferCountIs?: number | undefined;
2876
- }, {
2877
- transferCountIs?: number | undefined;
2878
- }>>>>;
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>>;
2882
2883
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
2884
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2885
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2886
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2887
2885
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2889
2887
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2890
2888
  base?: {
2891
2889
  model?: string | undefined;
@@ -2939,7 +2937,18 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2939
2937
  providerOptions?: Record<string, any> | undefined;
2940
2938
  } | undefined;
2941
2939
  }>>>>>>;
2942
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2940
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2941
+ transferCountIs?: number | undefined;
2942
+ }, {
2943
+ transferCountIs?: number | undefined;
2944
+ }, z.core.$ZodTypeInternals<{
2945
+ transferCountIs?: number | undefined;
2946
+ }, {
2947
+ transferCountIs?: number | undefined;
2948
+ }>>>>>>;
2949
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2951
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2943
2952
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2944
2953
  enabled?: boolean | undefined;
2945
2954
  numEvents?: number | undefined;
@@ -2997,15 +3006,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2997
3006
  } | undefined;
2998
3007
  }[] | undefined;
2999
3008
  }>>>>>>;
3000
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3001
- transferCountIs?: number | undefined;
3002
- }, {
3003
- transferCountIs?: number | undefined;
3004
- }, z.core.$ZodTypeInternals<{
3005
- transferCountIs?: number | undefined;
3006
- }, {
3007
- transferCountIs?: number | undefined;
3008
- }>>>>>>;
3009
3009
  }, z.core.$strip>;
3010
3010
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3011
3011
  name: z.ZodString;
@@ -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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3286
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3285
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3286
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3287
3287
  messageTemplate: z.ZodNullable<z.ZodString>;
3288
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3288
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.BuildSchema<"insert", {
3347
+ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3348
3348
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3349
3349
  name: "created_at";
3350
3350
  tableName: "triggers";
@@ -3714,7 +3714,7 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3714
3714
  }, {}, {
3715
3715
  length: 256;
3716
3716
  }>;
3717
- }, drizzle_zod0.BuildRefine<Pick<{
3717
+ }, drizzle_zod3.BuildRefine<Pick<{
3718
3718
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3719
3719
  name: "created_at";
3720
3720
  tableName: "triggers";
@@ -4084,16 +4084,16 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "name" | "description" | "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4092
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4091
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4092
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4093
4093
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4094
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4094
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4095
4095
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4096
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4096
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4115
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4114
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4115
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4116
4116
  messageTemplate: z.ZodNullable<z.ZodString>;
4117
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4117
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4118
4118
  name: z.ZodString;
4119
4119
  description: z.ZodNullable<z.ZodString>;
4120
4120
  agentId: z.ZodString;
@@ -4176,12 +4176,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4176
4176
  createdAt: z.ZodOptional<z.ZodString>;
4177
4177
  updatedAt: z.ZodOptional<z.ZodString>;
4178
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4180
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4179
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4180
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4181
4181
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4182
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4183
4183
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4184
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4184
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4193
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4193
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4194
4194
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4195
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4195
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4196
4196
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4197
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4197
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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;
4212
4213
  name: z.ZodString;
4213
4214
  description: z.ZodNullable<z.ZodString>;
4214
- id: z.ZodString;
4215
4215
  createdAt: z.ZodString;
4216
4216
  updatedAt: z.ZodString;
4217
4217
  enabled: z.ZodBoolean;
4218
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4219
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4218
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4219
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4220
4220
  messageTemplate: z.ZodNullable<z.ZodString>;
4221
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4221
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.BuildSchema<"select", {
4272
+ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select", {
4273
4273
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4274
4274
  name: "trigger_id";
4275
4275
  tableName: "trigger_invocations";
@@ -4471,7 +4471,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select",
4471
4471
  }, {}, {
4472
4472
  length: 256;
4473
4473
  }>;
4474
- }, drizzle_zod0.BuildRefine<{
4474
+ }, drizzle_zod3.BuildRefine<{
4475
4475
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4476
4476
  name: "trigger_id";
4477
4477
  tableName: "trigger_invocations";
@@ -4674,7 +4674,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select",
4674
4674
  length: 256;
4675
4675
  }>;
4676
4676
  }, undefined>, undefined>;
4677
- declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4677
+ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4678
4678
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4679
4679
  name: "trigger_id";
4680
4680
  tableName: "trigger_invocations";
@@ -4876,7 +4876,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert",
4876
4876
  }, {}, {
4877
4877
  length: 256;
4878
4878
  }>;
4879
- }, drizzle_zod0.BuildRefine<Pick<{
4879
+ }, drizzle_zod3.BuildRefine<Pick<{
4880
4880
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4881
4881
  name: "trigger_id";
4882
4882
  tableName: "trigger_invocations";
@@ -5078,13 +5078,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "triggerId" | "conversationId" | "status" | "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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5087
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5086
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5087
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5103
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5102
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5103
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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
  triggerId: z.ZodString;
5114
5114
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5115
5115
  status: z.ZodOptional<z.ZodString>;
5116
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5117
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5116
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5117
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5125
5125
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5126
5126
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5127
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5128
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
5127
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5128
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.BuildSchema<"insert", {
5156
+ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5157
5157
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5158
5158
  name: "created_at";
5159
5159
  tableName: "scheduled_triggers";
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5497
5497
  }, {}, {
5498
5498
  length: 256;
5499
5499
  }>;
5500
- }, drizzle_zod0.BuildRefine<Pick<{
5500
+ }, drizzle_zod3.BuildRefine<Pick<{
5501
5501
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5502
5502
  name: "created_at";
5503
5503
  tableName: "scheduled_triggers";
@@ -5841,14 +5841,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "name" | "description" | "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5851
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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>>;
@@ -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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5902
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5903
5903
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5904
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5905
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5920
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5932
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.BuildSchema<"select", {
5956
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select", {
5957
5957
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5958
5958
  name: "created_at";
5959
5959
  tableName: "scheduled_workflows";
@@ -6157,7 +6157,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select",
6157
6157
  }, {}, {
6158
6158
  length: 256;
6159
6159
  }>;
6160
- }, drizzle_zod0.BuildRefine<{
6160
+ }, drizzle_zod3.BuildRefine<{
6161
6161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6162
6162
  name: "created_at";
6163
6163
  tableName: "scheduled_workflows";
@@ -6362,7 +6362,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select",
6362
6362
  length: 256;
6363
6363
  }>;
6364
6364
  }, undefined>, undefined>;
6365
- declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6365
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6366
6366
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6367
6367
  name: "created_at";
6368
6368
  tableName: "scheduled_workflows";
@@ -6566,7 +6566,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert",
6566
6566
  }, {}, {
6567
6567
  length: 256;
6568
6568
  }>;
6569
- }, drizzle_zod0.BuildRefine<Pick<{
6569
+ }, drizzle_zod3.BuildRefine<Pick<{
6570
6570
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6571
6571
  name: "created_at";
6572
6572
  tableName: "scheduled_workflows";
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "name" | "description" | "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "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>>;
@@ -6861,7 +6861,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6861
6861
  out: {};
6862
6862
  in: {};
6863
6863
  }>;
6864
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6864
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6865
6865
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
6866
6866
  name: "scheduled_trigger_id";
6867
6867
  tableName: "scheduled_trigger_invocations";
@@ -7119,7 +7119,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"
7119
7119
  }, {}, {
7120
7120
  length: 256;
7121
7121
  }>;
7122
- }, drizzle_zod0.BuildRefine<Pick<{
7122
+ }, drizzle_zod3.BuildRefine<Pick<{
7123
7123
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
7124
7124
  name: "scheduled_trigger_id";
7125
7125
  tableName: "scheduled_trigger_invocations";
@@ -7377,14 +7377,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
7387
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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>;
@@ -7426,7 +7426,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7426
7426
  scheduledFor: z.ZodString;
7427
7427
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7428
7428
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
7429
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
7430
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;
@@ -7440,7 +7440,7 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7440
7440
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7441
7441
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7442
7442
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
7443
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
7444
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>>;
@@ -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_zod0.BuildSchema<"select", {
7452
+ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7453
7453
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7454
7454
  name: "created_at";
7455
7455
  tableName: "tasks";
@@ -7509,7 +7509,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7509
7509
  dataType: "json";
7510
7510
  columnType: "PgJsonb";
7511
7511
  data: {
7512
- type: "tag" | "commit" | "branch";
7512
+ type: "commit" | "tag" | "branch";
7513
7513
  name: string;
7514
7514
  hash: string;
7515
7515
  };
@@ -7525,7 +7525,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7525
7525
  generated: undefined;
7526
7526
  }, {}, {
7527
7527
  $type: {
7528
- type: "tag" | "commit" | "branch";
7528
+ type: "commit" | "tag" | "branch";
7529
7529
  name: string;
7530
7530
  hash: string;
7531
7531
  };
@@ -7663,7 +7663,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7663
7663
  }, {}, {
7664
7664
  length: 256;
7665
7665
  }>;
7666
- }, drizzle_zod0.BuildRefine<{
7666
+ }, drizzle_zod3.BuildRefine<{
7667
7667
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7668
7668
  name: "created_at";
7669
7669
  tableName: "tasks";
@@ -7723,7 +7723,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7723
7723
  dataType: "json";
7724
7724
  columnType: "PgJsonb";
7725
7725
  data: {
7726
- type: "tag" | "commit" | "branch";
7726
+ type: "commit" | "tag" | "branch";
7727
7727
  name: string;
7728
7728
  hash: string;
7729
7729
  };
@@ -7739,7 +7739,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7739
7739
  generated: undefined;
7740
7740
  }, {}, {
7741
7741
  $type: {
7742
- type: "tag" | "commit" | "branch";
7742
+ type: "commit" | "tag" | "branch";
7743
7743
  name: string;
7744
7744
  hash: string;
7745
7745
  };
@@ -7892,8 +7892,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7892
7892
  conversationId: z.ZodOptional<z.ZodString>;
7893
7893
  ref: z.ZodObject<{
7894
7894
  type: z.ZodEnum<{
7895
- tag: "tag";
7896
7895
  commit: "commit";
7896
+ tag: "tag";
7897
7897
  branch: "branch";
7898
7898
  }>;
7899
7899
  name: z.ZodString;
@@ -7917,8 +7917,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7917
7917
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  ref: z.ZodOptional<z.ZodObject<{
7919
7919
  type: z.ZodEnum<{
7920
- tag: "tag";
7921
7920
  commit: "commit";
7921
+ tag: "tag";
7922
7922
  branch: "branch";
7923
7923
  }>;
7924
7924
  name: z.ZodString;
@@ -7933,19 +7933,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7933
7933
  updatedAt: z.ZodString;
7934
7934
  contextId: z.ZodString;
7935
7935
  ref: z.ZodNullable<z.ZodType<{
7936
- type: "tag" | "commit" | "branch";
7936
+ type: "commit" | "tag" | "branch";
7937
7937
  name: string;
7938
7938
  hash: string;
7939
7939
  }, {
7940
- type: "tag" | "commit" | "branch";
7940
+ type: "commit" | "tag" | "branch";
7941
7941
  name: string;
7942
7942
  hash: string;
7943
7943
  }, z.core.$ZodTypeInternals<{
7944
- type: "tag" | "commit" | "branch";
7944
+ type: "commit" | "tag" | "branch";
7945
7945
  name: string;
7946
7946
  hash: string;
7947
7947
  }, {
7948
- type: "tag" | "commit" | "branch";
7948
+ type: "commit" | "tag" | "branch";
7949
7949
  name: string;
7950
7950
  hash: string;
7951
7951
  }>>>;
@@ -7971,8 +7971,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7971
7971
  conversationId: z.ZodOptional<z.ZodString>;
7972
7972
  ref: z.ZodObject<{
7973
7973
  type: z.ZodEnum<{
7974
- tag: "tag";
7975
7974
  commit: "commit";
7975
+ tag: "tag";
7976
7976
  branch: "branch";
7977
7977
  }>;
7978
7978
  name: z.ZodString;
@@ -7980,26 +7980,26 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7980
7980
  }, z.core.$strip>;
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7985
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7986
7985
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
7986
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7988
7987
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
7989
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
7990
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7991
7991
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7992
7992
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7993
7993
  type: z.ZodEnum<{
7994
- tag: "tag";
7995
7994
  commit: "commit";
7995
+ tag: "tag";
7996
7996
  branch: "branch";
7997
7997
  }>;
7998
7998
  name: z.ZodString;
7999
7999
  hash: z.ZodString;
8000
8000
  }, z.core.$strip>>>;
8001
8001
  }, z.core.$strip>;
8002
- declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8002
+ declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8003
8003
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8004
8004
  name: "created_at";
8005
8005
  tableName: "task_relations";
@@ -8148,7 +8148,7 @@ declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8148
8148
  }, {}, {
8149
8149
  length: 256;
8150
8150
  }>;
8151
- }, drizzle_zod0.BuildRefine<{
8151
+ }, drizzle_zod3.BuildRefine<{
8152
8152
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
8377
+ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8378
8378
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8379
8379
  name: "created_at";
8380
8380
  tableName: "tools";
@@ -8654,7 +8654,7 @@ declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
8654
8654
  }, {}, {
8655
8655
  length: 256;
8656
8656
  }>;
8657
- }, drizzle_zod0.BuildRefine<{
8657
+ }, drizzle_zod3.BuildRefine<{
8658
8658
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
8983
+ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8984
8984
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8985
8985
  name: "created_at";
8986
8986
  tableName: "conversations";
@@ -9078,7 +9078,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9078
9078
  dataType: "json";
9079
9079
  columnType: "PgJsonb";
9080
9080
  data: {
9081
- type: "tag" | "commit" | "branch";
9081
+ type: "commit" | "tag" | "branch";
9082
9082
  name: string;
9083
9083
  hash: string;
9084
9084
  };
@@ -9094,7 +9094,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9094
9094
  generated: undefined;
9095
9095
  }, {}, {
9096
9096
  $type: {
9097
- type: "tag" | "commit" | "branch";
9097
+ type: "commit" | "tag" | "branch";
9098
9098
  name: string;
9099
9099
  hash: string;
9100
9100
  };
@@ -9209,7 +9209,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9209
9209
  }, {}, {
9210
9210
  length: 256;
9211
9211
  }>;
9212
- }, drizzle_zod0.BuildRefine<{
9212
+ }, drizzle_zod3.BuildRefine<{
9213
9213
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9214
9214
  name: "created_at";
9215
9215
  tableName: "conversations";
@@ -9307,7 +9307,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9307
9307
  dataType: "json";
9308
9308
  columnType: "PgJsonb";
9309
9309
  data: {
9310
- type: "tag" | "commit" | "branch";
9310
+ type: "commit" | "tag" | "branch";
9311
9311
  name: string;
9312
9312
  hash: string;
9313
9313
  };
@@ -9323,7 +9323,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9323
9323
  generated: undefined;
9324
9324
  }, {}, {
9325
9325
  $type: {
9326
- type: "tag" | "commit" | "branch";
9326
+ type: "commit" | "tag" | "branch";
9327
9327
  name: string;
9328
9328
  hash: string;
9329
9329
  };
@@ -9454,8 +9454,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9454
9454
  contextConfigId: z.ZodOptional<z.ZodString>;
9455
9455
  ref: z.ZodObject<{
9456
9456
  type: z.ZodEnum<{
9457
- tag: "tag";
9458
9457
  commit: "commit";
9458
+ tag: "tag";
9459
9459
  branch: "branch";
9460
9460
  }>;
9461
9461
  name: z.ZodString;
@@ -9480,8 +9480,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9480
9480
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9481
9481
  ref: z.ZodOptional<z.ZodObject<{
9482
9482
  type: z.ZodEnum<{
9483
- tag: "tag";
9484
9483
  commit: "commit";
9484
+ tag: "tag";
9485
9485
  branch: "branch";
9486
9486
  }>;
9487
9487
  name: z.ZodString;
@@ -9498,19 +9498,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9498
9498
  agentId: z.ZodNullable<z.ZodString>;
9499
9499
  activeSubAgentId: z.ZodString;
9500
9500
  ref: z.ZodNullable<z.ZodType<{
9501
- type: "tag" | "commit" | "branch";
9501
+ type: "commit" | "tag" | "branch";
9502
9502
  name: string;
9503
9503
  hash: string;
9504
9504
  }, {
9505
- type: "tag" | "commit" | "branch";
9505
+ type: "commit" | "tag" | "branch";
9506
9506
  name: string;
9507
9507
  hash: string;
9508
9508
  }, z.core.$ZodTypeInternals<{
9509
- type: "tag" | "commit" | "branch";
9509
+ type: "commit" | "tag" | "branch";
9510
9510
  name: string;
9511
9511
  hash: string;
9512
9512
  }, {
9513
- type: "tag" | "commit" | "branch";
9513
+ type: "commit" | "tag" | "branch";
9514
9514
  name: string;
9515
9515
  hash: string;
9516
9516
  }>>>;
@@ -9536,8 +9536,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9536
9536
  contextConfigId: z.ZodOptional<z.ZodString>;
9537
9537
  ref: z.ZodObject<{
9538
9538
  type: z.ZodEnum<{
9539
- tag: "tag";
9540
9539
  commit: "commit";
9540
+ tag: "tag";
9541
9541
  branch: "branch";
9542
9542
  }>;
9543
9543
  name: z.ZodString;
@@ -9545,9 +9545,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9545
9545
  }, z.core.$strip>;
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9549
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
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
9551
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9552
9552
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
9553
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9555,8 +9555,8 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9555
9555
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9556
9556
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9557
9557
  type: z.ZodEnum<{
9558
- tag: "tag";
9559
9558
  commit: "commit";
9559
+ tag: "tag";
9560
9560
  branch: "branch";
9561
9561
  }>;
9562
9562
  name: z.ZodString;
@@ -9565,7 +9565,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
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_zod0.BuildSchema<"select", {
9568
+ declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
9569
9569
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9570
9570
  name: "created_at";
9571
9571
  tableName: "messages";
@@ -9961,7 +9961,7 @@ declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
9961
9961
  }, {}, {
9962
9962
  length: 256;
9963
9963
  }>;
9964
- }, drizzle_zod0.BuildRefine<{
9964
+ }, drizzle_zod3.BuildRefine<{
9965
9965
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9966
9966
  name: "created_at";
9967
9967
  tableName: "messages";
@@ -10462,22 +10462,22 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
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
10464
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10465
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10466
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10467
10465
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10468
10466
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10469
10467
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10470
10468
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10469
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10470
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10471
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10472
+ role: 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_zod0.BuildSchema<"select", {
10480
+ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10481
10481
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "context_cache";
@@ -10575,7 +10575,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10575
10575
  dataType: "json";
10576
10576
  columnType: "PgJsonb";
10577
10577
  data: {
10578
- type: "tag" | "commit" | "branch";
10578
+ type: "commit" | "tag" | "branch";
10579
10579
  name: string;
10580
10580
  hash: string;
10581
10581
  };
@@ -10591,7 +10591,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10591
10591
  generated: undefined;
10592
10592
  }, {}, {
10593
10593
  $type: {
10594
- type: "tag" | "commit" | "branch";
10594
+ type: "commit" | "tag" | "branch";
10595
10595
  name: string;
10596
10596
  hash: string;
10597
10597
  };
@@ -10727,7 +10727,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10727
10727
  }, {}, {
10728
10728
  length: 256;
10729
10729
  }>;
10730
- }, drizzle_zod0.BuildRefine<{
10730
+ }, drizzle_zod3.BuildRefine<{
10731
10731
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10732
10732
  name: "created_at";
10733
10733
  tableName: "context_cache";
@@ -10825,7 +10825,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10825
10825
  dataType: "json";
10826
10826
  columnType: "PgJsonb";
10827
10827
  data: {
10828
- type: "tag" | "commit" | "branch";
10828
+ type: "commit" | "tag" | "branch";
10829
10829
  name: string;
10830
10830
  hash: string;
10831
10831
  };
@@ -10841,7 +10841,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10841
10841
  generated: undefined;
10842
10842
  }, {}, {
10843
10843
  $type: {
10844
- type: "tag" | "commit" | "branch";
10844
+ type: "commit" | "tag" | "branch";
10845
10845
  name: string;
10846
10846
  hash: string;
10847
10847
  };
@@ -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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
10987
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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>>;
@@ -10993,8 +10993,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10993
10993
  id: z.ZodString;
10994
10994
  ref: z.ZodObject<{
10995
10995
  type: z.ZodEnum<{
10996
- tag: "tag";
10997
10996
  commit: "commit";
10997
+ tag: "tag";
10998
10998
  branch: "branch";
10999
10999
  }>;
11000
11000
  name: 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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
11013
+ value: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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>>>;
@@ -11019,8 +11019,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11019
11019
  id: z.ZodOptional<z.ZodString>;
11020
11020
  ref: z.ZodOptional<z.ZodObject<{
11021
11021
  type: z.ZodEnum<{
11022
- tag: "tag";
11023
11022
  commit: "commit";
11023
+ tag: "tag";
11024
11024
  branch: "branch";
11025
11025
  }>;
11026
11026
  name: z.ZodString;
@@ -11037,23 +11037,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11037
11037
  contextConfigId: z.ZodString;
11038
11038
  contextVariableKey: z.ZodString;
11039
11039
  ref: z.ZodNullable<z.ZodType<{
11040
- type: "tag" | "commit" | "branch";
11040
+ type: "commit" | "tag" | "branch";
11041
11041
  name: string;
11042
11042
  hash: string;
11043
11043
  }, {
11044
- type: "tag" | "commit" | "branch";
11044
+ type: "commit" | "tag" | "branch";
11045
11045
  name: string;
11046
11046
  hash: string;
11047
11047
  }, z.core.$ZodTypeInternals<{
11048
- type: "tag" | "commit" | "branch";
11048
+ type: "commit" | "tag" | "branch";
11049
11049
  name: string;
11050
11050
  hash: string;
11051
11051
  }, {
11052
- type: "tag" | "commit" | "branch";
11052
+ type: "commit" | "tag" | "branch";
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
11056
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
11056
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
11070
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.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>>;
@@ -11076,8 +11076,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11076
11076
  id: z.ZodString;
11077
11077
  ref: z.ZodObject<{
11078
11078
  type: z.ZodEnum<{
11079
- tag: "tag";
11080
11079
  commit: "commit";
11080
+ tag: "tag";
11081
11081
  branch: "branch";
11082
11082
  }>;
11083
11083
  name: z.ZodString;
@@ -11085,16 +11085,16 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11085
11085
  }, z.core.$strip>;
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
11089
11088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
11090
11090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
11091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11092
11092
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11093
11093
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11094
11094
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11095
11095
  type: z.ZodEnum<{
11096
- tag: "tag";
11097
11096
  commit: "commit";
11097
+ tag: "tag";
11098
11098
  branch: "branch";
11099
11099
  }>;
11100
11100
  name: z.ZodString;
@@ -11105,7 +11105,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
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_zod0.BuildSchema<"select", {
11108
+ declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
11109
11109
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11110
11110
  name: "created_at";
11111
11111
  tableName: "dataset_run";
@@ -11248,7 +11248,7 @@ declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
11248
11248
  }, {}, {
11249
11249
  length: 256;
11250
11250
  }>;
11251
- }, drizzle_zod0.BuildRefine<{
11251
+ }, drizzle_zod3.BuildRefine<{
11252
11252
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11253
11253
  name: "created_at";
11254
11254
  tableName: "dataset_run";
@@ -11442,7 +11442,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11442
11442
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
11443
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
11444
  }, z.core.$strip>;
11445
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11445
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11446
11446
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11447
11447
  name: "created_at";
11448
11448
  tableName: "dataset_run_conversation_relations";
@@ -11585,7 +11585,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSche
11585
11585
  }, {}, {
11586
11586
  length: 256;
11587
11587
  }>;
11588
- }, drizzle_zod0.BuildRefine<{
11588
+ }, drizzle_zod3.BuildRefine<{
11589
11589
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
11782
+ declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
11783
11783
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11784
11784
  name: "created_at";
11785
11785
  tableName: "evaluation_result";
@@ -11941,7 +11941,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
11941
11941
  }, {}, {
11942
11942
  length: 256;
11943
11943
  }>;
11944
- }, drizzle_zod0.BuildRefine<{
11944
+ }, drizzle_zod3.BuildRefine<{
11945
11945
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11946
11946
  name: "created_at";
11947
11947
  tableName: "evaluation_result";
@@ -12159,7 +12159,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12159
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_zod0.BuildSchema<"select", {
12162
+ declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
12163
12163
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12164
12164
  name: "created_at";
12165
12165
  tableName: "evaluation_run";
@@ -12285,7 +12285,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
12285
12285
  }, {}, {
12286
12286
  length: 256;
12287
12287
  }>;
12288
- }, drizzle_zod0.BuildRefine<{
12288
+ }, drizzle_zod3.BuildRefine<{
12289
12289
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12290
12290
  name: "created_at";
12291
12291
  tableName: "evaluation_run";
@@ -12457,7 +12457,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12457
12457
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
12458
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
12459
  }, z.core.$strip>;
12460
- declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12460
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12461
12461
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12462
12462
  name: "created_at";
12463
12463
  tableName: "evaluation_run_config";
@@ -12602,7 +12602,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
12602
12602
  }, {}, {
12603
12603
  length: 256;
12604
12604
  }>;
12605
- }, drizzle_zod0.BuildRefine<{
12605
+ }, drizzle_zod3.BuildRefine<{
12606
12606
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12607
12607
  name: "created_at";
12608
12608
  tableName: "evaluation_run_config";
@@ -12801,15 +12801,15 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
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;
12804
12805
  name: z.ZodString;
12805
12806
  description: z.ZodNullable<z.ZodString>;
12806
- id: z.ZodString;
12807
12807
  createdAt: z.ZodString;
12808
12808
  updatedAt: z.ZodString;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
12812
- declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12812
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12813
12813
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12814
12814
  name: "created_at";
12815
12815
  tableName: "evaluation_job_config";
@@ -12934,7 +12934,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
12934
12934
  }, {}, {
12935
12935
  length: 256;
12936
12936
  }>;
12937
- }, drizzle_zod0.BuildRefine<{
12937
+ }, drizzle_zod3.BuildRefine<{
12938
12938
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
13244
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
13245
13245
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13246
13246
  name: "created_at";
13247
13247
  tableName: "evaluation_suite_config";
@@ -13369,7 +13369,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"selec
13369
13369
  }, {}, {
13370
13370
  length: 256;
13371
13371
  }>;
13372
- }, drizzle_zod0.BuildRefine<{
13372
+ }, drizzle_zod3.BuildRefine<{
13373
13373
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
13548
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13549
13549
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildRefine<{
13678
+ }, drizzle_zod3.BuildRefine<{
13679
13679
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13680
13680
  name: "created_at";
13681
13681
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13851,7 +13851,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13851
13851
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13852
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13853
  }, z.core.$strip>;
13854
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13854
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13855
13855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13856
13856
  name: "created_at";
13857
13857
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13981,7 +13981,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.Bui
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod0.BuildRefine<{
13984
+ }, drizzle_zod3.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14157,7 +14157,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14157
14157
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
14158
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
14159
  }, z.core.$strip>;
14160
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
14160
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
14161
14161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14162
14162
  name: "created_at";
14163
14163
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14287,7 +14287,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.B
14287
14287
  }, {}, {
14288
14288
  length: 256;
14289
14289
  }>;
14290
- }, drizzle_zod0.BuildRefine<{
14290
+ }, drizzle_zod3.BuildRefine<{
14291
14291
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14292
14292
  name: "created_at";
14293
14293
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14463,7 +14463,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14463
14463
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
14464
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
14465
  }, z.core.$strip>;
14466
- declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
14466
+ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
14467
14467
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14468
14468
  name: "created_at";
14469
14469
  tableName: "evaluator";
@@ -14671,7 +14671,7 @@ declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
14671
14671
  }, {}, {
14672
14672
  length: 256;
14673
14673
  }>;
14674
- }, drizzle_zod0.BuildRefine<{
14674
+ }, drizzle_zod3.BuildRefine<{
14675
14675
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14676
14676
  name: "created_at";
14677
14677
  tableName: "evaluator";
@@ -14964,8 +14964,7 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
14965
  name: z.ZodString;
14966
14966
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
- createdAt: z.ZodOptional<z.ZodString>;
14968
- updatedAt: z.ZodOptional<z.ZodString>;
14967
+ prompt: z.ZodString;
14969
14968
  model: z.ZodType<{
14970
14969
  model?: string | undefined;
14971
14970
  providerOptions?: Record<string, any> | undefined;
@@ -14979,15 +14978,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14979
14978
  model?: string | undefined;
14980
14979
  providerOptions?: Record<string, any> | undefined;
14981
14980
  }>>;
14982
- prompt: z.ZodString;
14981
+ createdAt: z.ZodOptional<z.ZodString>;
14982
+ updatedAt: z.ZodOptional<z.ZodString>;
14983
14983
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
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
14988
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14989
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14991
14990
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14992
14991
  model?: string | undefined;
14993
14992
  providerOptions?: Record<string, any> | undefined;
@@ -15001,11 +15000,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15001
15000
  model?: string | undefined;
15002
15001
  providerOptions?: Record<string, any> | undefined;
15003
15002
  }>>>>;
15004
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15003
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15005
15005
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
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_zod0.BuildSchema<"select", {
15008
+ declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
15009
15009
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15010
15010
  name: "created_at";
15011
15011
  tableName: "dataset";
@@ -15116,7 +15116,7 @@ declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
15116
15116
  }, {}, {
15117
15117
  length: 256;
15118
15118
  }>;
15119
- }, drizzle_zod0.BuildRefine<{
15119
+ }, drizzle_zod3.BuildRefine<{
15120
15120
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
15271
+ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
15272
15272
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15273
15273
  name: "created_at";
15274
15274
  tableName: "dataset_item";
@@ -15456,7 +15456,7 @@ declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
15456
15456
  }, {}, {
15457
15457
  length: 256;
15458
15458
  }>;
15459
- }, drizzle_zod0.BuildRefine<{
15459
+ }, drizzle_zod3.BuildRefine<{
15460
15460
  createdAt: drizzle_orm_pg_core0.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>>;
15808
15809
  createdAt: z.ZodOptional<z.ZodString>;
15809
15810
  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>>>>;
15855
15856
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15856
15857
  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;
@@ -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_zod0.BuildSchema<"select", {
16030
+ declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
16031
16031
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16032
16032
  name: "created_at";
16033
16033
  tableName: "dataset_run_config";
@@ -16174,7 +16174,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
16174
16174
  }, {}, {
16175
16175
  length: 256;
16176
16176
  }>;
16177
- }, drizzle_zod0.BuildRefine<{
16177
+ }, drizzle_zod3.BuildRefine<{
16178
16178
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16179
16179
  name: "created_at";
16180
16180
  tableName: "dataset_run_config";
@@ -16372,7 +16372,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16372
16372
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
16375
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
16376
16376
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16377
16377
  name: "created_at";
16378
16378
  tableName: "dataset_run_config_agent_relations";
@@ -16502,7 +16502,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchem
16502
16502
  }, {}, {
16503
16503
  length: 256;
16504
16504
  }>;
16505
- }, drizzle_zod0.BuildRefine<{
16505
+ }, drizzle_zod3.BuildRefine<{
16506
16506
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16507
16507
  name: "created_at";
16508
16508
  tableName: "dataset_run_config_agent_relations";
@@ -16721,7 +16721,7 @@ declare const SkillApiUpdateSchema: z.ZodObject<{
16721
16721
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16722
16722
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16723
16723
  }, z.core.$strip>;
16724
- declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
16724
+ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16725
16725
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16726
16726
  name: "created_at";
16727
16727
  tableName: "data_components";
@@ -16907,7 +16907,7 @@ declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
16907
16907
  }, {}, {
16908
16908
  length: 256;
16909
16909
  }>;
16910
- }, drizzle_zod0.BuildRefine<{
16910
+ }, drizzle_zod3.BuildRefine<{
16911
16911
  createdAt: drizzle_orm_pg_core0.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_zod0.BuildSchema<"select", {
17310
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17311
17311
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17312
17312
  name: "data_component_id";
17313
17313
  tableName: "sub_agent_data_components";
@@ -17439,7 +17439,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
17439
17439
  }, {}, {
17440
17440
  length: 256;
17441
17441
  }>;
17442
- }, drizzle_zod0.BuildRefine<{
17442
+ }, drizzle_zod3.BuildRefine<{
17443
17443
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17444
17444
  name: "data_component_id";
17445
17445
  tableName: "sub_agent_data_components";
@@ -17572,7 +17572,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
17572
17572
  length: 256;
17573
17573
  }>;
17574
17574
  }, undefined>, undefined>;
17575
- declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
17575
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
17576
17576
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17577
17577
  name: "data_component_id";
17578
17578
  tableName: "sub_agent_data_components";
@@ -17704,7 +17704,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
17704
17704
  }, {}, {
17705
17705
  length: 256;
17706
17706
  }>;
17707
- }, drizzle_zod0.BuildRefine<Pick<{
17707
+ }, drizzle_zod3.BuildRefine<Pick<{
17708
17708
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17709
17709
  name: "data_component_id";
17710
17710
  tableName: "sub_agent_data_components";
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "tenantId" | "projectId" | "agentId" | "subAgentId" | "id" | "createdAt" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "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>>;
@@ -17867,12 +17867,12 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17867
17867
  in: {};
17868
17868
  }>;
17869
17869
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17870
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17871
17870
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17872
17871
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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_zod0.BuildSchema<"select", {
17875
+ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17876
17876
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17877
17877
  name: "created_at";
17878
17878
  tableName: "artifact_components";
@@ -18058,7 +18058,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select",
18058
18058
  }, {}, {
18059
18059
  length: 256;
18060
18060
  }>;
18061
- }, drizzle_zod0.BuildRefine<{
18061
+ }, drizzle_zod3.BuildRefine<{
18062
18062
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18063
18063
  name: "created_at";
18064
18064
  tableName: "artifact_components";
@@ -18433,9 +18433,9 @@ 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>>;
18436
18437
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
18438
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18438
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18439
18439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
18440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18441
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -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_zod0.BuildSchema<"select", {
18484
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
18485
18485
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18486
18486
  name: "artifact_component_id";
18487
18487
  tableName: "sub_agent_artifact_components";
@@ -18613,7 +18613,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"s
18613
18613
  }, {}, {
18614
18614
  length: 256;
18615
18615
  }>;
18616
- }, drizzle_zod0.BuildRefine<{
18616
+ }, drizzle_zod3.BuildRefine<{
18617
18617
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18618
18618
  name: "artifact_component_id";
18619
18619
  tableName: "sub_agent_artifact_components";
@@ -18788,9 +18788,9 @@ declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18788
18788
  in: {};
18789
18789
  }>;
18790
18790
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
18791
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18792
18791
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18793
18792
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18793
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18794
18794
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18795
18795
  }, z.core.$strip>;
18796
18796
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -18852,27 +18852,27 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18852
18852
  }>, z.core.$strip>;
18853
18853
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18854
18854
  agentId: z.ZodString;
18855
- subAgentId: z.ZodString;
18856
- skillId: z.ZodString;
18857
18855
  index: z.ZodInt;
18858
18856
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18857
+ subAgentId: z.ZodString;
18858
+ skillId: z.ZodString;
18859
18859
  }, {
18860
18860
  out: {};
18861
18861
  in: {};
18862
18862
  }>;
18863
18863
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18864
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18865
18864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18866
18865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18867
18866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18868
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18869
18867
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18870
18868
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18869
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18870
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18871
18871
  }, z.core.$strip>;
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
+ id: z.ZodString;
18873
18874
  name: z.ZodString;
18874
18875
  description: z.ZodString;
18875
- id: z.ZodString;
18876
18876
  createdAt: z.ZodString;
18877
18877
  updatedAt: z.ZodString;
18878
18878
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, 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>>;
18950
18951
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
18952
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18952
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18953
18953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
18954
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18955
18955
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
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;
18959
18960
  name: z.ZodString;
18960
18961
  description: z.ZodNullable<z.ZodString>;
18961
- id: z.ZodString;
18962
- createdAt: z.ZodString;
18963
- updatedAt: 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;
@@ -19014,7 +19014,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19014
19014
  providerOptions?: Record<string, any> | undefined;
19015
19015
  } | undefined;
19016
19016
  }>>>;
19017
- prompt: z.ZodNullable<z.ZodString>;
19018
19017
  stopWhen: z.ZodNullable<z.ZodType<{
19019
19018
  stepCountIs?: number | undefined;
19020
19019
  }, {
@@ -19024,19 +19023,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19024
19023
  }, {
19025
19024
  stepCountIs?: number | undefined;
19026
19025
  }>>>;
19027
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
19026
+ createdAt: z.ZodString;
19027
+ updatedAt: z.ZodString;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
+ id: z.ZodString;
19030
19031
  name: z.ZodString;
19031
19032
  description: z.ZodNullable<z.ZodString>;
19032
- id: z.ZodString;
19033
19033
  createdAt: z.ZodString;
19034
19034
  updatedAt: z.ZodString;
19035
19035
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
19036
  baseUrl: z.ZodString;
19037
19037
  type: z.ZodLiteral<"external">;
19038
19038
  }, z.core.$strip>], "type">;
19039
- declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
19039
+ declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
19040
19040
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19041
19041
  name: "created_at";
19042
19042
  tableName: "api_keys";
@@ -19257,7 +19257,7 @@ declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
19257
19257
  }, {}, {
19258
19258
  length: 256;
19259
19259
  }>;
19260
- }, drizzle_zod0.BuildRefine<{
19260
+ }, drizzle_zod3.BuildRefine<{
19261
19261
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19262
19262
  name: "created_at";
19263
19263
  tableName: "api_keys";
@@ -19506,9 +19506,9 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19506
19506
  in: {};
19507
19507
  }>;
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
+ id: z.ZodString;
19509
19510
  name: z.ZodNullable<z.ZodString>;
19510
19511
  agentId: z.ZodString;
19511
- id: z.ZodString;
19512
19512
  createdAt: z.ZodString;
19513
19513
  updatedAt: z.ZodString;
19514
19514
  publicId: z.ZodString;
@@ -19522,9 +19522,9 @@ 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;
19525
19526
  name: z.ZodNullable<z.ZodString>;
19526
19527
  agentId: z.ZodString;
19527
- id: z.ZodString;
19528
19528
  createdAt: z.ZodString;
19529
19529
  updatedAt: z.ZodString;
19530
19530
  publicId: z.ZodString;
@@ -19592,7 +19592,7 @@ declare const AppConfigResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19592
19592
  type: z.ZodLiteral<"api">;
19593
19593
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19594
19594
  }, z.core.$strip>], "type">;
19595
- declare const AppSelectSchema: drizzle_zod0.BuildSchema<"select", {
19595
+ declare const AppSelectSchema: drizzle_zod3.BuildSchema<"select", {
19596
19596
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19597
19597
  name: "created_at";
19598
19598
  tableName: "apps";
@@ -19847,7 +19847,7 @@ declare const AppSelectSchema: drizzle_zod0.BuildSchema<"select", {
19847
19847
  identity: undefined;
19848
19848
  generated: undefined;
19849
19849
  }, {}, {}>;
19850
- }, drizzle_zod0.BuildRefine<{
19850
+ }, drizzle_zod3.BuildRefine<{
19851
19851
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19852
19852
  name: "created_at";
19853
19853
  tableName: "apps";
@@ -20155,7 +20155,7 @@ declare const AppUpdateSchema: z.ZodObject<{
20155
20155
  out: {};
20156
20156
  in: {};
20157
20157
  }>;
20158
- declare const AppApiSelectSchema: drizzle_zod0.BuildSchema<"select", {
20158
+ declare const AppApiSelectSchema: drizzle_zod3.BuildSchema<"select", {
20159
20159
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20160
20160
  name: "created_at";
20161
20161
  tableName: "apps";
@@ -20410,7 +20410,7 @@ declare const AppApiSelectSchema: drizzle_zod0.BuildSchema<"select", {
20410
20410
  identity: undefined;
20411
20411
  generated: undefined;
20412
20412
  }, {}, {}>;
20413
- }, drizzle_zod0.BuildRefine<{
20413
+ }, drizzle_zod3.BuildRefine<{
20414
20414
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20415
20415
  name: "created_at";
20416
20416
  tableName: "apps";
@@ -20667,12 +20667,12 @@ declare const AppApiSelectSchema: drizzle_zod0.BuildSchema<"select", {
20667
20667
  }, {}, {}>;
20668
20668
  }, undefined>, undefined>;
20669
20669
  declare const AppApiResponseSelectSchema: z.ZodObject<{
20670
+ id: z.ZodString;
20670
20671
  name: z.ZodString;
20671
- type: z.ZodString;
20672
20672
  description: z.ZodNullable<z.ZodString>;
20673
20673
  tenantId: z.ZodNullable<z.ZodString>;
20674
20674
  projectId: z.ZodNullable<z.ZodString>;
20675
- id: z.ZodString;
20675
+ type: z.ZodString;
20676
20676
  createdAt: z.ZodString;
20677
20677
  updatedAt: z.ZodString;
20678
20678
  enabled: z.ZodBoolean;
@@ -20694,13 +20694,13 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
20694
20694
  }>;
20695
20695
  declare const AppApiInsertSchema: z.ZodObject<{
20696
20696
  name: z.ZodString;
20697
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20698
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20699
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20697
20700
  type: z.ZodEnum<{
20698
20701
  web_client: "web_client";
20699
20702
  api: "api";
20700
20703
  }>;
20701
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20702
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20703
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20704
20704
  createdAt: z.ZodOptional<z.ZodString>;
20705
20705
  updatedAt: z.ZodOptional<z.ZodString>;
20706
20706
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -20745,12 +20745,12 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20745
20745
  declare const AppApiCreationResponseSchema: z.ZodObject<{
20746
20746
  data: z.ZodObject<{
20747
20747
  app: z.ZodObject<{
20748
+ id: z.ZodString;
20748
20749
  name: z.ZodString;
20749
- type: z.ZodString;
20750
20750
  description: z.ZodNullable<z.ZodString>;
20751
20751
  tenantId: z.ZodNullable<z.ZodString>;
20752
20752
  projectId: z.ZodNullable<z.ZodString>;
20753
- id: z.ZodString;
20753
+ type: z.ZodString;
20754
20754
  createdAt: z.ZodString;
20755
20755
  updatedAt: z.ZodString;
20756
20756
  enabled: z.ZodBoolean;
@@ -20772,7 +20772,7 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
20772
20772
  }>;
20773
20773
  }, z.core.$strip>;
20774
20774
  }, z.core.$strip>;
20775
- declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select", {
20775
+ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
20776
20776
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20777
20777
  name: "created_at";
20778
20778
  tableName: "credential_references";
@@ -20997,7 +20997,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select"
20997
20997
  }, {}, {
20998
20998
  length: 256;
20999
20999
  }>;
21000
- }, drizzle_zod0.BuildRefine<{
21000
+ }, drizzle_zod3.BuildRefine<{
21001
21001
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21002
21002
  name: "created_at";
21003
21003
  tableName: "credential_references";
@@ -21258,11 +21258,11 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
21258
21258
  in: {};
21259
21259
  }>;
21260
21260
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21261
- name: z.ZodString;
21262
- toolId: z.ZodNullable<z.ZodString>;
21263
21261
  id: z.ZodString;
21262
+ name: z.ZodString;
21264
21263
  createdAt: z.ZodString;
21265
21264
  updatedAt: z.ZodString;
21265
+ toolId: z.ZodNullable<z.ZodString>;
21266
21266
  createdBy: z.ZodNullable<z.ZodString>;
21267
21267
  credentialStoreId: z.ZodString;
21268
21268
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -21272,7 +21272,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21272
21272
  readonly keychain: "keychain";
21273
21273
  readonly nango: "nango";
21274
21274
  }>;
21275
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
21275
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
21276
21276
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21277
21277
  name: "created_at";
21278
21278
  tableName: "tools";
@@ -21552,7 +21552,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21552
21552
  }, {}, {
21553
21553
  length: 256;
21554
21554
  }>;
21555
- }, drizzle_zod0.BuildRefine<{
21555
+ }, drizzle_zod3.BuildRefine<{
21556
21556
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21557
21557
  name: "created_at";
21558
21558
  tableName: "tools";
@@ -21849,11 +21849,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21849
21849
  }>>>;
21850
21850
  }, z.core.$strip>;
21851
21851
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21852
- name: z.ZodString;
21853
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21854
21852
  id: z.ZodString;
21853
+ name: z.ZodString;
21855
21854
  createdAt: z.ZodOptional<z.ZodString>;
21856
21855
  updatedAt: z.ZodOptional<z.ZodString>;
21856
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21857
21857
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21858
21858
  credentialStoreId: z.ZodString;
21859
21859
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21865,11 +21865,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21865
21865
  }>;
21866
21866
  }, z.core.$strip>;
21867
21867
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21868
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21869
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21870
21868
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21869
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21871
21870
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21872
21871
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21872
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21873
21873
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21874
21874
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21875
21875
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -21996,8 +21996,8 @@ declare const McpToolSchema: z.ZodObject<{
21996
21996
  in: {};
21997
21997
  }>;
21998
21998
  declare const MCPToolConfigSchema: z.ZodObject<{
21999
- name: z.ZodString;
22000
21999
  id: z.ZodString;
22000
+ name: z.ZodString;
22001
22001
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
22002
22002
  createdBy: z.ZodOptional<z.ZodString>;
22003
22003
  credentialScope: z.ZodOptional<z.ZodString>;
@@ -22032,11 +22032,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
22032
22032
  sessionId: z.ZodOptional<z.ZodString>;
22033
22033
  }, z.core.$strip>>;
22034
22034
  credential: z.ZodOptional<z.ZodObject<{
22035
- name: z.ZodString;
22036
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22037
22035
  id: z.ZodString;
22036
+ name: z.ZodString;
22038
22037
  createdAt: z.ZodOptional<z.ZodString>;
22039
22038
  updatedAt: z.ZodOptional<z.ZodString>;
22039
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22040
22040
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22041
22041
  credentialStoreId: z.ZodString;
22042
22042
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -22175,9 +22175,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
22175
22175
  }, z.core.$strip>;
22176
22176
  }>, z.core.$strip>;
22177
22177
  declare const ToolApiUpdateSchema: z.ZodObject<{
22178
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22178
22179
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22179
22180
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22180
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22181
22181
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22182
22182
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22183
22183
  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>>>>>>>;
@@ -22214,7 +22214,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
22214
22214
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22215
22215
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
22216
22216
  }, z.core.$strip>;
22217
- declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
22217
+ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
22218
22218
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22219
22219
  name: "created_at";
22220
22220
  tableName: "function_tools";
@@ -22380,7 +22380,7 @@ declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
22380
22380
  }, {}, {
22381
22381
  length: 256;
22382
22382
  }>;
22383
- }, drizzle_zod0.BuildRefine<{
22383
+ }, drizzle_zod3.BuildRefine<{
22384
22384
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22385
22385
  name: "created_at";
22386
22386
  tableName: "function_tools";
@@ -22576,10 +22576,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
22576
22576
  in: {};
22577
22577
  }>;
22578
22578
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
22579
+ id: z.ZodString;
22579
22580
  name: z.ZodString;
22580
22581
  description: z.ZodNullable<z.ZodString>;
22581
22582
  agentId: z.ZodString;
22582
- id: z.ZodString;
22583
22583
  createdAt: z.ZodString;
22584
22584
  updatedAt: z.ZodString;
22585
22585
  functionId: z.ZodString;
@@ -22597,15 +22597,15 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
22597
22597
  id: z.ZodString;
22598
22598
  }>, z.core.$strip>;
22599
22599
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
22600
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22600
22601
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22601
22602
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22602
22603
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22603
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22604
22604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22605
22605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22606
22606
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22607
22607
  }, z.core.$strip>;
22608
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22608
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22609
22609
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22610
22610
  name: "created_at";
22611
22611
  tableName: "sub_agent_function_tool_relations";
@@ -22777,7 +22777,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
22777
22777
  }, {}, {
22778
22778
  length: 256;
22779
22779
  }>;
22780
- }, drizzle_zod0.BuildRefine<{
22780
+ }, drizzle_zod3.BuildRefine<{
22781
22781
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22782
22782
  name: "created_at";
22783
22783
  tableName: "sub_agent_function_tool_relations";
@@ -22953,7 +22953,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
22953
22953
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
22954
22954
  createdAt: z.ZodOptional<z.ZodString>;
22955
22955
  updatedAt: z.ZodOptional<z.ZodString>;
22956
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22956
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22957
22957
  agentId: z.ZodString;
22958
22958
  projectId: z.ZodString;
22959
22959
  tenantId: z.ZodString;
@@ -22968,7 +22968,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
22968
22968
  createdAt: z.ZodString;
22969
22969
  updatedAt: z.ZodString;
22970
22970
  functionToolId: z.ZodString;
22971
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22971
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22972
22972
  subAgentId: z.ZodString;
22973
22973
  agentId: z.ZodString;
22974
22974
  projectId: z.ZodString;
@@ -22976,14 +22976,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
22976
22976
  id: z.ZodString;
22977
22977
  }>, z.core.$strip>;
22978
22978
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22979
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22979
22980
  subAgentId: z.ZodString;
22980
22981
  functionToolId: z.ZodString;
22981
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22982
22982
  }, {
22983
22983
  out: {};
22984
22984
  in: {};
22985
22985
  }>;
22986
- declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
22986
+ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
22987
22987
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22988
22988
  name: "created_at";
22989
22989
  tableName: "functions";
@@ -23130,7 +23130,7 @@ declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
23130
23130
  }, {}, {
23131
23131
  length: 256;
23132
23132
  }>;
23133
- }, drizzle_zod0.BuildRefine<{
23133
+ }, drizzle_zod3.BuildRefine<{
23134
23134
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23135
23135
  name: "created_at";
23136
23136
  tableName: "functions";
@@ -23370,11 +23370,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
23370
23370
  responseSchema: z.ZodOptional<z.ZodAny>;
23371
23371
  defaultValue: z.ZodOptional<z.ZodAny>;
23372
23372
  credential: z.ZodOptional<z.ZodObject<{
23373
- name: z.ZodString;
23374
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23375
23373
  id: z.ZodString;
23374
+ name: z.ZodString;
23376
23375
  createdAt: z.ZodOptional<z.ZodString>;
23377
23376
  updatedAt: z.ZodOptional<z.ZodString>;
23377
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23378
23378
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23379
23379
  credentialStoreId: z.ZodString;
23380
23380
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -23400,10 +23400,10 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
23400
23400
  in: {};
23401
23401
  }>;
23402
23402
  declare const ContextConfigInsertSchema: z.ZodObject<{
23403
+ id: z.ZodOptional<z.ZodString>;
23403
23404
  tenantId: z.ZodString;
23404
23405
  projectId: z.ZodString;
23405
23406
  agentId: z.ZodString;
23406
- id: z.ZodOptional<z.ZodString>;
23407
23407
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
23408
23408
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
23409
23409
  }, {
@@ -23411,10 +23411,10 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
23411
23411
  in: {};
23412
23412
  }>;
23413
23413
  declare const ContextConfigUpdateSchema: z.ZodObject<{
23414
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23414
23415
  tenantId: z.ZodOptional<z.ZodString>;
23415
23416
  projectId: z.ZodOptional<z.ZodString>;
23416
23417
  agentId: z.ZodOptional<z.ZodString>;
23417
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23418
23418
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
23419
23419
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
23420
23420
  }, {
@@ -23423,10 +23423,10 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
23423
23423
  }>;
23424
23424
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
23425
23425
  id: z.ZodString;
23426
- headersSchema: z.ZodOptional<z.ZodAny>;
23427
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
23428
23426
  createdAt: z.ZodString;
23429
23427
  updatedAt: z.ZodString;
23428
+ headersSchema: z.ZodOptional<z.ZodAny>;
23429
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
23430
23430
  }, z.core.$strip>;
23431
23431
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
23432
23432
  id: z.ZodOptional<z.ZodString>;
@@ -23438,7 +23438,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
23438
23438
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
23439
23439
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
23440
23440
  }, z.core.$strip>;
23441
- declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
23441
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23442
23442
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23443
23443
  name: "created_at";
23444
23444
  tableName: "sub_agent_tool_relations";
@@ -23648,7 +23648,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select
23648
23648
  }, {}, {
23649
23649
  length: 256;
23650
23650
  }>;
23651
- }, drizzle_zod0.BuildRefine<{
23651
+ }, drizzle_zod3.BuildRefine<{
23652
23652
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23653
23653
  name: "created_at";
23654
23654
  tableName: "sub_agent_tool_relations";
@@ -23899,9 +23899,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
23899
23899
  createdAt: z.ZodString;
23900
23900
  updatedAt: z.ZodString;
23901
23901
  toolId: z.ZodString;
23902
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23903
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23904
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23902
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23903
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23904
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23905
23905
  subAgentId: z.ZodString;
23906
23906
  agentId: z.ZodString;
23907
23907
  projectId: z.ZodString;
@@ -23924,18 +23924,18 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
23924
23924
  }, z.core.$strip>>>>;
23925
23925
  }>, z.core.$strip>;
23926
23926
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23927
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23928
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23929
23927
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23930
23928
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23931
23929
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23930
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23932
23931
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23933
23932
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23934
23933
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23935
23934
  }, z.core.$strip>>>>>>;
23935
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23936
23936
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23937
23937
  }, z.core.$strip>;
23938
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
23938
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23939
23939
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23940
23940
  name: "created_at";
23941
23941
  tableName: "sub_agent_external_agent_relations";
@@ -24103,7 +24103,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchem
24103
24103
  }, {}, {
24104
24104
  length: 256;
24105
24105
  }>;
24106
- }, drizzle_zod0.BuildRefine<{
24106
+ }, drizzle_zod3.BuildRefine<{
24107
24107
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24108
24108
  name: "created_at";
24109
24109
  tableName: "sub_agent_external_agent_relations";
@@ -24304,7 +24304,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
24304
24304
  createdAt: z.ZodString;
24305
24305
  updatedAt: z.ZodString;
24306
24306
  externalAgentId: z.ZodString;
24307
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24307
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24308
24308
  subAgentId: z.ZodString;
24309
24309
  agentId: z.ZodString;
24310
24310
  projectId: z.ZodString;
@@ -24318,14 +24318,14 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
24318
24318
  externalAgentId: z.ZodString;
24319
24319
  }, z.core.$strip>;
24320
24320
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
24321
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24322
24321
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24323
24322
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24324
24323
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24325
24324
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
24326
24325
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24326
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24327
24327
  }, z.core.$strip>;
24328
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
24328
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
24329
24329
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24330
24330
  name: "created_at";
24331
24331
  tableName: "sub_agent_team_agent_relations";
@@ -24493,7 +24493,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"s
24493
24493
  }, {}, {
24494
24494
  length: 256;
24495
24495
  }>;
24496
- }, drizzle_zod0.BuildRefine<{
24496
+ }, drizzle_zod3.BuildRefine<{
24497
24497
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24498
24498
  name: "created_at";
24499
24499
  tableName: "sub_agent_team_agent_relations";
@@ -24694,7 +24694,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
24694
24694
  createdAt: z.ZodString;
24695
24695
  updatedAt: z.ZodString;
24696
24696
  targetAgentId: z.ZodString;
24697
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24697
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24698
24698
  subAgentId: z.ZodString;
24699
24699
  agentId: z.ZodString;
24700
24700
  projectId: z.ZodString;
@@ -24708,14 +24708,14 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
24708
24708
  targetAgentId: z.ZodString;
24709
24709
  }, z.core.$strip>;
24710
24710
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
24711
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24712
24711
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24713
24712
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24714
24713
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24715
24714
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
24715
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24716
24716
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24717
24717
  }, z.core.$strip>;
24718
- declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
24718
+ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
24719
24719
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24720
24720
  name: "created_at";
24721
24721
  tableName: "ledger_artifacts";
@@ -25050,7 +25050,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
25050
25050
  }, {}, {
25051
25051
  length: 256;
25052
25052
  }>;
25053
- }, drizzle_zod0.BuildRefine<{
25053
+ }, drizzle_zod3.BuildRefine<{
25054
25054
  createdAt: drizzle_orm_pg_core0.PgColumn<{
25055
25055
  name: "created_at";
25056
25056
  tableName: "ledger_artifacts";
@@ -25386,7 +25386,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
25386
25386
  length: 256;
25387
25387
  }>;
25388
25388
  }, undefined>, undefined>;
25389
- declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
25389
+ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
25390
25390
  createdAt: drizzle_orm_pg_core0.PgColumn<{
25391
25391
  name: "created_at";
25392
25392
  tableName: "ledger_artifacts";
@@ -25721,7 +25721,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
25721
25721
  }, {}, {
25722
25722
  length: 256;
25723
25723
  }>;
25724
- }, drizzle_zod0.BuildRefine<Pick<{
25724
+ }, drizzle_zod3.BuildRefine<Pick<{
25725
25725
  createdAt: drizzle_orm_pg_core0.PgColumn<{
25726
25726
  name: "created_at";
25727
25727
  tableName: "ledger_artifacts";
@@ -26056,7 +26056,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
26056
26056
  }, {}, {
26057
26057
  length: 256;
26058
26058
  }>;
26059
- }, "name" | "type" | "description" | "tenantId" | "projectId" | "id" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
26059
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
26060
26060
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
26061
26061
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26062
26062
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -26066,12 +26066,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
26066
26066
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26067
26067
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26068
26068
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26069
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
26070
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
26069
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
26070
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
26071
26071
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26072
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
26072
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
26073
26073
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26074
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
26074
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
26075
26075
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26076
26076
  projectId: z.ZodOptional<z.ZodString>;
26077
26077
  tenantId: z.ZodOptional<z.ZodString>;
@@ -26089,12 +26089,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
26089
26089
  type: z.ZodString;
26090
26090
  name: z.ZodNullable<z.ZodString>;
26091
26091
  description: z.ZodNullable<z.ZodString>;
26092
- parts: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26093
- metadata: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26092
+ parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26093
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26094
26094
  summary: z.ZodNullable<z.ZodString>;
26095
- mime: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26095
+ mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26096
26096
  visibility: z.ZodNullable<z.ZodString>;
26097
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26097
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26098
26098
  derivedFrom: z.ZodNullable<z.ZodString>;
26099
26099
  projectId: z.ZodString;
26100
26100
  tenantId: z.ZodString;
@@ -26109,33 +26109,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
26109
26109
  type: z.ZodOptional<z.ZodString>;
26110
26110
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26111
26111
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26112
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26113
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26112
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26113
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26114
26114
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26115
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26115
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26116
26116
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26117
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26117
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26118
26118
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26119
26119
  projectId: z.ZodString;
26120
26120
  tenantId: z.ZodString;
26121
26121
  id: z.ZodString;
26122
26122
  }>, z.core.$strip>;
26123
26123
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
26124
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26124
26125
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26125
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26126
26126
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26127
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26127
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26128
26128
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26129
26129
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26130
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
26131
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26130
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
26131
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26132
26132
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26133
26133
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26134
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26135
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
26134
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26135
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
26136
26136
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26137
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
26138
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
26137
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
26138
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
26139
26139
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26140
26140
  }, z.core.$strip>;
26141
26141
  declare const StatusComponentSchema: z.ZodObject<{
@@ -26201,11 +26201,10 @@ declare const TeamAgentSchema: z.ZodObject<{
26201
26201
  description: z.ZodString;
26202
26202
  }, z.core.$strip>;
26203
26203
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
26204
+ id: z.ZodString;
26204
26205
  name: z.ZodString;
26205
26206
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26206
- id: z.ZodString;
26207
- createdAt: z.ZodOptional<z.ZodString>;
26208
- updatedAt: z.ZodOptional<z.ZodString>;
26207
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26209
26208
  models: z.ZodOptional<z.ZodObject<{
26210
26209
  base: z.ZodOptional<z.ZodObject<{
26211
26210
  model: z.ZodOptional<z.ZodString>;
@@ -26220,7 +26219,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
26220
26219
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26221
26220
  }, z.core.$strip>>;
26222
26221
  }, z.core.$strip>>;
26223
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26222
+ createdAt: z.ZodOptional<z.ZodString>;
26223
+ updatedAt: z.ZodOptional<z.ZodString>;
26224
26224
  type: z.ZodLiteral<"internal">;
26225
26225
  canUse: z.ZodArray<z.ZodObject<{
26226
26226
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26256,17 +26256,16 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
26256
26256
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26257
26257
  name: z.ZodString;
26258
26258
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26259
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26259
26260
  createdAt: z.ZodOptional<z.ZodString>;
26260
26261
  updatedAt: z.ZodOptional<z.ZodString>;
26261
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26262
26262
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26263
26263
  id: z.ZodString;
26264
26264
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26265
+ id: z.ZodString;
26265
26266
  name: z.ZodString;
26266
26267
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26267
- id: z.ZodString;
26268
- createdAt: z.ZodOptional<z.ZodString>;
26269
- updatedAt: z.ZodOptional<z.ZodString>;
26268
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26270
26269
  models: z.ZodOptional<z.ZodObject<{
26271
26270
  base: z.ZodOptional<z.ZodObject<{
26272
26271
  model: z.ZodOptional<z.ZodString>;
@@ -26281,7 +26280,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26281
26280
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26282
26281
  }, z.core.$strip>>;
26283
26282
  }, z.core.$strip>>;
26284
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26283
+ createdAt: z.ZodOptional<z.ZodString>;
26284
+ updatedAt: z.ZodOptional<z.ZodString>;
26285
26285
  type: z.ZodLiteral<"internal">;
26286
26286
  canUse: z.ZodArray<z.ZodObject<{
26287
26287
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26397,12 +26397,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26397
26397
  createdAt: z.ZodOptional<z.ZodString>;
26398
26398
  updatedAt: z.ZodOptional<z.ZodString>;
26399
26399
  enabled: z.ZodOptional<z.ZodBoolean>;
26400
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26401
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26400
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26401
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26402
26402
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26403
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26403
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26404
26404
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26405
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26405
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26406
26406
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26407
26407
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26408
26408
  id: z.ZodOptional<z.ZodString>;
@@ -26419,7 +26419,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26419
26419
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26420
26420
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26421
26421
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26422
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26422
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26423
26423
  maxRetries: z.ZodOptional<z.ZodNumber>;
26424
26424
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26425
26425
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -26524,10 +26524,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
26524
26524
  in: {};
26525
26525
  }>;
26526
26526
  declare const ProjectInsertSchema: z.ZodObject<{
26527
+ id: z.ZodString;
26527
26528
  name: z.ZodString;
26528
26529
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26529
26530
  tenantId: z.ZodString;
26530
- id: z.ZodString;
26531
26531
  models: z.ZodObject<{
26532
26532
  base: z.ZodObject<{
26533
26533
  model: z.ZodOptional<z.ZodString>;
@@ -26576,11 +26576,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
26576
26576
  in: {};
26577
26577
  }>;
26578
26578
  declare const ProjectApiSelectSchema: z.ZodObject<{
26579
+ id: z.ZodString;
26579
26580
  name: z.ZodString;
26580
26581
  description: z.ZodNullable<z.ZodString>;
26581
- id: z.ZodString;
26582
- createdAt: z.ZodString;
26583
- updatedAt: z.ZodString;
26584
26582
  models: z.ZodNullable<z.ZodObject<{
26585
26583
  base: z.ZodObject<{
26586
26584
  model: z.ZodOptional<z.ZodString>;
@@ -26599,14 +26597,16 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
26599
26597
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26600
26598
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26601
26599
  }, z.core.$strip>>;
26600
+ createdAt: z.ZodString;
26601
+ updatedAt: z.ZodString;
26602
26602
  }, {
26603
26603
  out: {};
26604
26604
  in: {};
26605
26605
  }>;
26606
26606
  declare const ProjectApiInsertSchema: z.ZodObject<{
26607
+ id: z.ZodString;
26607
26608
  name: z.ZodString;
26608
26609
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26609
- id: z.ZodString;
26610
26610
  models: z.ZodObject<{
26611
26611
  base: z.ZodObject<{
26612
26612
  model: z.ZodOptional<z.ZodString>;
@@ -26655,9 +26655,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
26655
26655
  in: {};
26656
26656
  }>;
26657
26657
  declare const FullProjectDefinitionSchema: z.ZodObject<{
26658
+ id: z.ZodString;
26658
26659
  name: z.ZodString;
26659
26660
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26660
- id: z.ZodString;
26661
26661
  models: z.ZodObject<{
26662
26662
  base: z.ZodObject<{
26663
26663
  model: z.ZodOptional<z.ZodString>;
@@ -26679,17 +26679,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26679
26679
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26680
26680
  name: z.ZodString;
26681
26681
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26682
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26682
26683
  createdAt: z.ZodOptional<z.ZodString>;
26683
26684
  updatedAt: z.ZodOptional<z.ZodString>;
26684
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26685
26685
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26686
26686
  id: z.ZodString;
26687
26687
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26688
+ id: z.ZodString;
26688
26689
  name: z.ZodString;
26689
26690
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26690
- id: z.ZodString;
26691
- createdAt: z.ZodOptional<z.ZodString>;
26692
- updatedAt: z.ZodOptional<z.ZodString>;
26691
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26693
26692
  models: z.ZodOptional<z.ZodObject<{
26694
26693
  base: z.ZodOptional<z.ZodObject<{
26695
26694
  model: z.ZodOptional<z.ZodString>;
@@ -26704,7 +26703,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26704
26703
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26705
26704
  }, z.core.$strip>>;
26706
26705
  }, z.core.$strip>>;
26707
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26706
+ createdAt: z.ZodOptional<z.ZodString>;
26707
+ updatedAt: z.ZodOptional<z.ZodString>;
26708
26708
  type: z.ZodLiteral<"internal">;
26709
26709
  canUse: z.ZodArray<z.ZodObject<{
26710
26710
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26820,12 +26820,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26820
26820
  createdAt: z.ZodOptional<z.ZodString>;
26821
26821
  updatedAt: z.ZodOptional<z.ZodString>;
26822
26822
  enabled: z.ZodOptional<z.ZodBoolean>;
26823
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26824
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26823
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26824
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26825
26825
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26826
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26826
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26827
26827
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26828
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26828
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26829
26829
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26830
26830
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26831
26831
  id: z.ZodOptional<z.ZodString>;
@@ -26842,7 +26842,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26842
26842
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26843
26843
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26844
26844
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26845
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
26845
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
26846
26846
  maxRetries: z.ZodOptional<z.ZodNumber>;
26847
26847
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26848
26848
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -27038,11 +27038,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27038
27038
  }, z.core.$strip>>>;
27039
27039
  }, z.core.$strip>>;
27040
27040
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27041
- name: z.ZodString;
27042
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27043
27041
  id: z.ZodString;
27042
+ name: z.ZodString;
27044
27043
  createdAt: z.ZodOptional<z.ZodString>;
27045
27044
  updatedAt: z.ZodOptional<z.ZodString>;
27045
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27046
27046
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27047
27047
  credentialStoreId: z.ZodString;
27048
27048
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -27060,11 +27060,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27060
27060
  in: {};
27061
27061
  }>;
27062
27062
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
27063
+ id: z.ZodString;
27063
27064
  name: z.ZodString;
27064
27065
  description: z.ZodNullable<z.ZodString>;
27065
- id: z.ZodString;
27066
- createdAt: z.ZodString;
27067
- updatedAt: z.ZodString;
27066
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27068
27067
  models: z.ZodNullable<z.ZodType<{
27069
27068
  base?: {
27070
27069
  model?: string | undefined;
@@ -27127,7 +27126,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
27127
27126
  }, {
27128
27127
  stepCountIs?: number | undefined;
27129
27128
  }>>>;
27130
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27129
+ createdAt: z.ZodString;
27130
+ updatedAt: z.ZodString;
27131
27131
  type: z.ZodLiteral<"internal">;
27132
27132
  canUse: z.ZodArray<z.ZodObject<{
27133
27133
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27153,11 +27153,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
27153
27153
  }, z.core.$strip>]>>>;
27154
27154
  }, z.core.$strip>;
27155
27155
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
27156
+ id: z.ZodString;
27156
27157
  name: z.ZodString;
27157
27158
  description: z.ZodNullable<z.ZodString>;
27158
- id: z.ZodString;
27159
- createdAt: z.ZodString;
27160
- updatedAt: z.ZodString;
27159
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27161
27160
  models: z.ZodNullable<z.ZodType<{
27162
27161
  base?: {
27163
27162
  model?: string | undefined;
@@ -27220,7 +27219,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
27220
27219
  }, {
27221
27220
  stepCountIs?: number | undefined;
27222
27221
  }>>>;
27223
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27222
+ createdAt: z.ZodString;
27223
+ updatedAt: z.ZodString;
27224
27224
  type: z.ZodLiteral<"internal">;
27225
27225
  canUse: z.ZodArray<z.ZodObject<{
27226
27226
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27252,19 +27252,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
27252
27252
  }, z.core.$strip>]>>>;
27253
27253
  }, z.core.$strip>;
27254
27254
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27255
+ id: z.ZodString;
27255
27256
  name: z.ZodString;
27256
27257
  description: z.ZodNullable<z.ZodString>;
27257
- id: z.ZodString;
27258
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27258
27259
  createdAt: z.ZodString;
27259
27260
  updatedAt: z.ZodString;
27260
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27261
27261
  contextConfigId: z.ZodNullable<z.ZodString>;
27262
27262
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27263
+ id: z.ZodString;
27263
27264
  name: z.ZodString;
27264
27265
  description: z.ZodNullable<z.ZodString>;
27265
- id: z.ZodString;
27266
- createdAt: z.ZodString;
27267
- updatedAt: z.ZodString;
27266
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27268
27267
  models: z.ZodNullable<z.ZodType<{
27269
27268
  base?: {
27270
27269
  model?: string | undefined;
@@ -27327,7 +27326,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27327
27326
  }, {
27328
27327
  stepCountIs?: number | undefined;
27329
27328
  }>>>;
27330
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27329
+ createdAt: z.ZodString;
27330
+ updatedAt: z.ZodString;
27331
27331
  type: z.ZodLiteral<"internal">;
27332
27332
  canUse: z.ZodArray<z.ZodObject<{
27333
27333
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27398,10 +27398,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27398
27398
  description: z.ZodString;
27399
27399
  }, z.core.$strip>>>;
27400
27400
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27401
+ id: z.ZodString;
27401
27402
  name: z.ZodString;
27402
27403
  description: z.ZodNullable<z.ZodString>;
27403
27404
  agentId: z.ZodString;
27404
- id: z.ZodString;
27405
27405
  createdAt: z.ZodString;
27406
27406
  updatedAt: z.ZodString;
27407
27407
  functionId: z.ZodString;
@@ -27440,10 +27440,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27440
27440
  }>, z.core.$strip>>>;
27441
27441
  contextConfig: z.ZodNullable<z.ZodObject<{
27442
27442
  id: z.ZodString;
27443
- headersSchema: z.ZodOptional<z.ZodAny>;
27444
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27445
27443
  createdAt: z.ZodString;
27446
27444
  updatedAt: z.ZodString;
27445
+ headersSchema: z.ZodOptional<z.ZodAny>;
27446
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27447
27447
  }, z.core.$strip>>;
27448
27448
  statusUpdates: z.ZodNullable<z.ZodObject<{
27449
27449
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27480,12 +27480,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27480
27480
  prompt: z.ZodNullable<z.ZodString>;
27481
27481
  }, z.core.$strip>;
27482
27482
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
27483
+ id: z.ZodString;
27483
27484
  name: z.ZodString;
27484
27485
  description: z.ZodNullable<z.ZodString>;
27485
- id: z.ZodString;
27486
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27486
27487
  createdAt: z.ZodString;
27487
27488
  updatedAt: z.ZodString;
27488
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27489
27489
  contextConfigId: z.ZodNullable<z.ZodString>;
27490
27490
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27491
27491
  createdAt: z.ZodString;
@@ -27533,10 +27533,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27533
27533
  description: z.ZodString;
27534
27534
  }, z.core.$strip>>>;
27535
27535
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27536
+ id: z.ZodString;
27536
27537
  name: z.ZodString;
27537
27538
  description: z.ZodNullable<z.ZodString>;
27538
27539
  agentId: z.ZodString;
27539
- id: z.ZodString;
27540
27540
  createdAt: z.ZodString;
27541
27541
  updatedAt: z.ZodString;
27542
27542
  functionId: z.ZodString;
@@ -27575,10 +27575,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27575
27575
  }>, z.core.$strip>>>;
27576
27576
  contextConfig: z.ZodNullable<z.ZodObject<{
27577
27577
  id: z.ZodString;
27578
- headersSchema: z.ZodOptional<z.ZodAny>;
27579
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27580
27578
  createdAt: z.ZodString;
27581
27579
  updatedAt: z.ZodString;
27580
+ headersSchema: z.ZodOptional<z.ZodAny>;
27581
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27582
27582
  }, z.core.$strip>>;
27583
27583
  statusUpdates: z.ZodNullable<z.ZodObject<{
27584
27584
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27614,11 +27614,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27614
27614
  }, z.core.$strip>>;
27615
27615
  prompt: z.ZodNullable<z.ZodString>;
27616
27616
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27617
+ id: z.ZodString;
27617
27618
  name: z.ZodString;
27618
27619
  description: z.ZodNullable<z.ZodString>;
27619
- id: z.ZodString;
27620
- createdAt: z.ZodString;
27621
- updatedAt: z.ZodString;
27620
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27622
27621
  models: z.ZodNullable<z.ZodType<{
27623
27622
  base?: {
27624
27623
  model?: string | undefined;
@@ -27681,7 +27680,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27681
27680
  }, {
27682
27681
  stepCountIs?: number | undefined;
27683
27682
  }>>>;
27684
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27683
+ createdAt: z.ZodString;
27684
+ updatedAt: z.ZodString;
27685
27685
  type: z.ZodLiteral<"internal">;
27686
27686
  canUse: z.ZodArray<z.ZodObject<{
27687
27687
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27714,11 +27714,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27714
27714
  }, z.core.$strip>>;
27715
27715
  }, z.core.$strip>;
27716
27716
  declare const FullProjectSelectSchema: z.ZodObject<{
27717
+ id: z.ZodString;
27717
27718
  name: z.ZodString;
27718
27719
  description: z.ZodNullable<z.ZodString>;
27719
- id: z.ZodString;
27720
- createdAt: z.ZodString;
27721
- updatedAt: z.ZodString;
27722
27720
  models: z.ZodNullable<z.ZodObject<{
27723
27721
  base: z.ZodObject<{
27724
27722
  model: z.ZodOptional<z.ZodString>;
@@ -27737,20 +27735,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27737
27735
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27738
27736
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27739
27737
  }, z.core.$strip>>;
27738
+ createdAt: z.ZodString;
27739
+ updatedAt: z.ZodString;
27740
27740
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27741
+ id: z.ZodString;
27741
27742
  name: z.ZodString;
27742
27743
  description: z.ZodNullable<z.ZodString>;
27743
- id: z.ZodString;
27744
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27744
27745
  createdAt: z.ZodString;
27745
27746
  updatedAt: z.ZodString;
27746
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27747
27747
  contextConfigId: z.ZodNullable<z.ZodString>;
27748
27748
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27749
+ id: z.ZodString;
27749
27750
  name: z.ZodString;
27750
27751
  description: z.ZodNullable<z.ZodString>;
27751
- id: z.ZodString;
27752
- createdAt: z.ZodString;
27753
- updatedAt: z.ZodString;
27752
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27754
27753
  models: z.ZodNullable<z.ZodType<{
27755
27754
  base?: {
27756
27755
  model?: string | undefined;
@@ -27813,7 +27812,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27813
27812
  }, {
27814
27813
  stepCountIs?: number | undefined;
27815
27814
  }>>>;
27816
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27815
+ createdAt: z.ZodString;
27816
+ updatedAt: z.ZodString;
27817
27817
  type: z.ZodLiteral<"internal">;
27818
27818
  canUse: z.ZodArray<z.ZodObject<{
27819
27819
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27884,10 +27884,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27884
27884
  description: z.ZodString;
27885
27885
  }, z.core.$strip>>>;
27886
27886
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27887
+ id: z.ZodString;
27887
27888
  name: z.ZodString;
27888
27889
  description: z.ZodNullable<z.ZodString>;
27889
27890
  agentId: z.ZodString;
27890
- id: z.ZodString;
27891
27891
  createdAt: z.ZodString;
27892
27892
  updatedAt: z.ZodString;
27893
27893
  functionId: z.ZodString;
@@ -27926,10 +27926,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27926
27926
  }>, z.core.$strip>>>;
27927
27927
  contextConfig: z.ZodNullable<z.ZodObject<{
27928
27928
  id: z.ZodString;
27929
- headersSchema: z.ZodOptional<z.ZodAny>;
27930
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27931
27929
  createdAt: z.ZodString;
27932
27930
  updatedAt: z.ZodString;
27931
+ headersSchema: z.ZodOptional<z.ZodAny>;
27932
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27933
27933
  }, z.core.$strip>>;
27934
27934
  statusUpdates: z.ZodNullable<z.ZodObject<{
27935
27935
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27995,10 +27995,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27995
27995
  id: z.ZodString;
27996
27996
  }>, z.core.$strip>>;
27997
27997
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27998
+ id: z.ZodString;
27998
27999
  name: z.ZodString;
27999
28000
  description: z.ZodNullable<z.ZodString>;
28000
28001
  agentId: z.ZodString;
28001
- id: z.ZodString;
28002
28002
  createdAt: z.ZodString;
28003
28003
  updatedAt: z.ZodString;
28004
28004
  functionId: z.ZodString;
@@ -28143,11 +28143,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28143
28143
  }, z.core.$strip>>>;
28144
28144
  }, z.core.$strip>>;
28145
28145
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28146
- name: z.ZodString;
28147
- toolId: z.ZodNullable<z.ZodString>;
28148
28146
  id: z.ZodString;
28147
+ name: z.ZodString;
28149
28148
  createdAt: z.ZodString;
28150
28149
  updatedAt: z.ZodString;
28150
+ toolId: z.ZodNullable<z.ZodString>;
28151
28151
  createdBy: z.ZodNullable<z.ZodString>;
28152
28152
  credentialStoreId: z.ZodString;
28153
28153
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28157,7 +28157,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28157
28157
  readonly keychain: "keychain";
28158
28158
  readonly nango: "nango";
28159
28159
  }>;
28160
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
28160
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
28161
28161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28162
28162
  name: "created_at";
28163
28163
  tableName: "tools";
@@ -28437,7 +28437,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28437
28437
  }, {}, {
28438
28438
  length: 256;
28439
28439
  }>;
28440
- }, drizzle_zod0.BuildRefine<{
28440
+ }, drizzle_zod3.BuildRefine<{
28441
28441
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28442
28442
  name: "created_at";
28443
28443
  tableName: "tools";
@@ -28738,11 +28738,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28738
28738
  in: {};
28739
28739
  }>;
28740
28740
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28741
+ id: z.ZodString;
28741
28742
  name: z.ZodString;
28742
28743
  description: z.ZodNullable<z.ZodString>;
28743
- id: z.ZodString;
28744
- createdAt: z.ZodString;
28745
- updatedAt: z.ZodString;
28746
28744
  models: z.ZodNullable<z.ZodObject<{
28747
28745
  base: z.ZodObject<{
28748
28746
  model: z.ZodOptional<z.ZodString>;
@@ -28761,6 +28759,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28761
28759
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28762
28760
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28763
28761
  }, z.core.$strip>>;
28762
+ createdAt: z.ZodString;
28763
+ updatedAt: z.ZodString;
28764
28764
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28765
28765
  createdAt: z.ZodString;
28766
28766
  updatedAt: z.ZodString;
@@ -28791,10 +28791,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28791
28791
  id: z.ZodString;
28792
28792
  }>, z.core.$strip>>;
28793
28793
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28794
+ id: z.ZodString;
28794
28795
  name: z.ZodString;
28795
28796
  description: z.ZodNullable<z.ZodString>;
28796
28797
  agentId: z.ZodString;
28797
- id: z.ZodString;
28798
28798
  createdAt: z.ZodString;
28799
28799
  updatedAt: z.ZodString;
28800
28800
  functionId: z.ZodString;
@@ -28939,11 +28939,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28939
28939
  }, z.core.$strip>>>;
28940
28940
  }, z.core.$strip>>;
28941
28941
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28942
- name: z.ZodString;
28943
- toolId: z.ZodNullable<z.ZodString>;
28944
28942
  id: z.ZodString;
28943
+ name: z.ZodString;
28945
28944
  createdAt: z.ZodString;
28946
28945
  updatedAt: z.ZodString;
28946
+ toolId: z.ZodNullable<z.ZodString>;
28947
28947
  createdBy: z.ZodNullable<z.ZodString>;
28948
28948
  credentialStoreId: z.ZodString;
28949
28949
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28953,7 +28953,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28953
28953
  readonly keychain: "keychain";
28954
28954
  readonly nango: "nango";
28955
28955
  }>;
28956
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
28956
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
28957
28957
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28958
28958
  name: "created_at";
28959
28959
  tableName: "tools";
@@ -29233,7 +29233,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29233
29233
  }, {}, {
29234
29234
  length: 256;
29235
29235
  }>;
29236
- }, drizzle_zod0.BuildRefine<{
29236
+ }, drizzle_zod3.BuildRefine<{
29237
29237
  createdAt: drizzle_orm_pg_core0.PgColumn<{
29238
29238
  name: "created_at";
29239
29239
  tableName: "tools";
@@ -29530,12 +29530,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29530
29530
  }>>>;
29531
29531
  }, z.core.$strip>>>;
29532
29532
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29533
+ id: z.ZodString;
29533
29534
  name: z.ZodString;
29534
29535
  description: z.ZodNullable<z.ZodString>;
29535
- id: z.ZodString;
29536
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
29536
29537
  createdAt: z.ZodString;
29537
29538
  updatedAt: z.ZodString;
29538
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
29539
29539
  contextConfigId: z.ZodNullable<z.ZodString>;
29540
29540
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
29541
29541
  createdAt: z.ZodString;
@@ -29583,10 +29583,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29583
29583
  description: z.ZodString;
29584
29584
  }, z.core.$strip>>>;
29585
29585
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29586
+ id: z.ZodString;
29586
29587
  name: z.ZodString;
29587
29588
  description: z.ZodNullable<z.ZodString>;
29588
29589
  agentId: z.ZodString;
29589
- id: z.ZodString;
29590
29590
  createdAt: z.ZodString;
29591
29591
  updatedAt: z.ZodString;
29592
29592
  functionId: z.ZodString;
@@ -29625,10 +29625,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29625
29625
  }>, z.core.$strip>>>;
29626
29626
  contextConfig: z.ZodNullable<z.ZodObject<{
29627
29627
  id: z.ZodString;
29628
- headersSchema: z.ZodOptional<z.ZodAny>;
29629
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29630
29628
  createdAt: z.ZodString;
29631
29629
  updatedAt: z.ZodString;
29630
+ headersSchema: z.ZodOptional<z.ZodAny>;
29631
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29632
29632
  }, z.core.$strip>>;
29633
29633
  statusUpdates: z.ZodNullable<z.ZodObject<{
29634
29634
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -29664,11 +29664,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29664
29664
  }, z.core.$strip>>;
29665
29665
  prompt: z.ZodNullable<z.ZodString>;
29666
29666
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29667
+ id: z.ZodString;
29667
29668
  name: z.ZodString;
29668
29669
  description: z.ZodNullable<z.ZodString>;
29669
- id: z.ZodString;
29670
- createdAt: z.ZodString;
29671
- updatedAt: z.ZodString;
29670
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29672
29671
  models: z.ZodNullable<z.ZodType<{
29673
29672
  base?: {
29674
29673
  model?: string | undefined;
@@ -29731,7 +29730,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29731
29730
  }, {
29732
29731
  stepCountIs?: number | undefined;
29733
29732
  }>>>;
29734
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29733
+ createdAt: z.ZodString;
29734
+ updatedAt: z.ZodString;
29735
29735
  type: z.ZodLiteral<"internal">;
29736
29736
  canUse: z.ZodArray<z.ZodObject<{
29737
29737
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29769,11 +29769,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29769
29769
  }>;
29770
29770
  declare const ProjectResponse: z.ZodObject<{
29771
29771
  data: z.ZodObject<{
29772
+ id: z.ZodString;
29772
29773
  name: z.ZodString;
29773
29774
  description: z.ZodNullable<z.ZodString>;
29774
- id: z.ZodString;
29775
- createdAt: z.ZodString;
29776
- updatedAt: z.ZodString;
29777
29775
  models: z.ZodNullable<z.ZodObject<{
29778
29776
  base: z.ZodObject<{
29779
29777
  model: z.ZodOptional<z.ZodString>;
@@ -29792,6 +29790,8 @@ declare const ProjectResponse: z.ZodObject<{
29792
29790
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29793
29791
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29794
29792
  }, z.core.$strip>>;
29793
+ createdAt: z.ZodString;
29794
+ updatedAt: z.ZodString;
29795
29795
  }, {
29796
29796
  out: {};
29797
29797
  in: {};
@@ -30022,17 +30022,17 @@ declare const ExternalAgentResponse: z.ZodObject<{
30022
30022
  declare const ContextConfigResponse: z.ZodObject<{
30023
30023
  data: z.ZodObject<{
30024
30024
  id: z.ZodString;
30025
- headersSchema: z.ZodOptional<z.ZodAny>;
30026
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30027
30025
  createdAt: z.ZodString;
30028
30026
  updatedAt: z.ZodString;
30027
+ headersSchema: z.ZodOptional<z.ZodAny>;
30028
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30029
30029
  }, z.core.$strip>;
30030
30030
  }, z.core.$strip>;
30031
30031
  declare const ApiKeyResponse: z.ZodObject<{
30032
30032
  data: z.ZodObject<{
30033
+ id: z.ZodString;
30033
30034
  name: z.ZodNullable<z.ZodString>;
30034
30035
  agentId: z.ZodString;
30035
- id: z.ZodString;
30036
30036
  createdAt: z.ZodString;
30037
30037
  updatedAt: z.ZodString;
30038
30038
  publicId: z.ZodString;
@@ -30046,11 +30046,11 @@ declare const ApiKeyResponse: z.ZodObject<{
30046
30046
  }, z.core.$strip>;
30047
30047
  declare const CredentialReferenceResponse: z.ZodObject<{
30048
30048
  data: z.ZodObject<{
30049
- name: z.ZodString;
30050
- toolId: z.ZodNullable<z.ZodString>;
30051
30049
  id: z.ZodString;
30050
+ name: z.ZodString;
30052
30051
  createdAt: z.ZodString;
30053
30052
  updatedAt: z.ZodString;
30053
+ toolId: z.ZodNullable<z.ZodString>;
30054
30054
  createdBy: z.ZodNullable<z.ZodString>;
30055
30055
  credentialStoreId: z.ZodString;
30056
30056
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -30060,7 +30060,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
30060
30060
  readonly keychain: "keychain";
30061
30061
  readonly nango: "nango";
30062
30062
  }>;
30063
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
30063
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
30064
30064
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30065
30065
  name: "created_at";
30066
30066
  tableName: "tools";
@@ -30340,7 +30340,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
30340
30340
  }, {}, {
30341
30341
  length: 256;
30342
30342
  }>;
30343
- }, drizzle_zod0.BuildRefine<{
30343
+ }, drizzle_zod3.BuildRefine<{
30344
30344
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30345
30345
  name: "created_at";
30346
30346
  tableName: "tools";
@@ -30651,10 +30651,10 @@ declare const FunctionResponse: z.ZodObject<{
30651
30651
  }, z.core.$strip>;
30652
30652
  declare const FunctionToolResponse: z.ZodObject<{
30653
30653
  data: z.ZodObject<{
30654
+ id: z.ZodString;
30654
30655
  name: z.ZodString;
30655
30656
  description: z.ZodNullable<z.ZodString>;
30656
30657
  agentId: z.ZodString;
30657
- id: z.ZodString;
30658
30658
  createdAt: z.ZodString;
30659
30659
  updatedAt: z.ZodString;
30660
30660
  functionId: z.ZodString;
@@ -30666,7 +30666,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
30666
30666
  createdAt: z.ZodString;
30667
30667
  updatedAt: z.ZodString;
30668
30668
  functionToolId: z.ZodString;
30669
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30669
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30670
30670
  subAgentId: z.ZodString;
30671
30671
  agentId: z.ZodString;
30672
30672
  projectId: z.ZodString;
@@ -30798,9 +30798,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
30798
30798
  createdAt: z.ZodString;
30799
30799
  updatedAt: z.ZodString;
30800
30800
  toolId: z.ZodString;
30801
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30802
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30803
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30801
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30802
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30803
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30804
30804
  subAgentId: z.ZodString;
30805
30805
  agentId: z.ZodString;
30806
30806
  projectId: z.ZodString;
@@ -30813,10 +30813,10 @@ declare const TriggerResponse: z.ZodObject<{
30813
30813
  createdAt: z.ZodString;
30814
30814
  updatedAt: z.ZodString;
30815
30815
  enabled: z.ZodBoolean;
30816
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30817
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30816
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30817
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30818
30818
  messageTemplate: z.ZodNullable<z.ZodString>;
30819
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30819
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30820
30820
  name: z.ZodString;
30821
30821
  description: z.ZodNullable<z.ZodString>;
30822
30822
  agentId: z.ZodString;
@@ -30878,8 +30878,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30878
30878
  triggerId: z.ZodString;
30879
30879
  conversationId: z.ZodNullable<z.ZodString>;
30880
30880
  status: z.ZodString;
30881
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
30882
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30881
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
30882
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30883
30883
  errorMessage: z.ZodNullable<z.ZodString>;
30884
30884
  createdAt: z.ZodString;
30885
30885
  agentId: z.ZodString;
@@ -30890,11 +30890,9 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30890
30890
  }, z.core.$strip>;
30891
30891
  declare const ProjectListResponse: z.ZodObject<{
30892
30892
  data: z.ZodArray<z.ZodObject<{
30893
+ id: z.ZodString;
30893
30894
  name: z.ZodString;
30894
30895
  description: z.ZodNullable<z.ZodString>;
30895
- id: z.ZodString;
30896
- createdAt: z.ZodString;
30897
- updatedAt: z.ZodString;
30898
30896
  models: z.ZodNullable<z.ZodObject<{
30899
30897
  base: z.ZodObject<{
30900
30898
  model: z.ZodOptional<z.ZodString>;
@@ -30913,6 +30911,8 @@ declare const ProjectListResponse: z.ZodObject<{
30913
30911
  transferCountIs: z.ZodOptional<z.ZodNumber>;
30914
30912
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30915
30913
  }, z.core.$strip>>;
30914
+ createdAt: z.ZodString;
30915
+ updatedAt: z.ZodString;
30916
30916
  }, {
30917
30917
  out: {};
30918
30918
  in: {};
@@ -31167,10 +31167,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
31167
31167
  declare const ContextConfigListResponse: z.ZodObject<{
31168
31168
  data: z.ZodArray<z.ZodObject<{
31169
31169
  id: z.ZodString;
31170
- headersSchema: z.ZodOptional<z.ZodAny>;
31171
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31172
31170
  createdAt: z.ZodString;
31173
31171
  updatedAt: z.ZodString;
31172
+ headersSchema: z.ZodOptional<z.ZodAny>;
31173
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31174
31174
  }, z.core.$strip>>;
31175
31175
  pagination: z.ZodObject<{
31176
31176
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -31181,9 +31181,9 @@ declare const ContextConfigListResponse: z.ZodObject<{
31181
31181
  }, z.core.$strip>;
31182
31182
  declare const ApiKeyListResponse: z.ZodObject<{
31183
31183
  data: z.ZodArray<z.ZodObject<{
31184
+ id: z.ZodString;
31184
31185
  name: z.ZodNullable<z.ZodString>;
31185
31186
  agentId: z.ZodString;
31186
- id: z.ZodString;
31187
31187
  createdAt: z.ZodString;
31188
31188
  updatedAt: z.ZodString;
31189
31189
  publicId: z.ZodString;
@@ -31203,12 +31203,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
31203
31203
  }, z.core.$strip>;
31204
31204
  declare const AppResponse: z.ZodObject<{
31205
31205
  data: z.ZodObject<{
31206
+ id: z.ZodString;
31206
31207
  name: z.ZodString;
31207
- type: z.ZodString;
31208
31208
  description: z.ZodNullable<z.ZodString>;
31209
31209
  tenantId: z.ZodNullable<z.ZodString>;
31210
31210
  projectId: z.ZodNullable<z.ZodString>;
31211
- id: z.ZodString;
31211
+ type: z.ZodString;
31212
31212
  createdAt: z.ZodString;
31213
31213
  updatedAt: z.ZodString;
31214
31214
  enabled: z.ZodBoolean;
@@ -31231,12 +31231,12 @@ declare const AppResponse: z.ZodObject<{
31231
31231
  }, z.core.$strip>;
31232
31232
  declare const AppListResponse: z.ZodObject<{
31233
31233
  data: z.ZodArray<z.ZodObject<{
31234
+ id: z.ZodString;
31234
31235
  name: z.ZodString;
31235
- type: z.ZodString;
31236
31236
  description: z.ZodNullable<z.ZodString>;
31237
31237
  tenantId: z.ZodNullable<z.ZodString>;
31238
31238
  projectId: z.ZodNullable<z.ZodString>;
31239
- id: z.ZodString;
31239
+ type: z.ZodString;
31240
31240
  createdAt: z.ZodString;
31241
31241
  updatedAt: z.ZodString;
31242
31242
  enabled: z.ZodBoolean;
@@ -31265,11 +31265,11 @@ declare const AppListResponse: z.ZodObject<{
31265
31265
  }, z.core.$strip>;
31266
31266
  declare const CredentialReferenceListResponse: z.ZodObject<{
31267
31267
  data: z.ZodArray<z.ZodObject<{
31268
- name: z.ZodString;
31269
- toolId: z.ZodNullable<z.ZodString>;
31270
31268
  id: z.ZodString;
31269
+ name: z.ZodString;
31271
31270
  createdAt: z.ZodString;
31272
31271
  updatedAt: z.ZodString;
31272
+ toolId: z.ZodNullable<z.ZodString>;
31273
31273
  createdBy: z.ZodNullable<z.ZodString>;
31274
31274
  credentialStoreId: z.ZodString;
31275
31275
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -31279,7 +31279,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
31279
31279
  readonly keychain: "keychain";
31280
31280
  readonly nango: "nango";
31281
31281
  }>;
31282
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
31282
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
31283
31283
  createdAt: drizzle_orm_pg_core0.PgColumn<{
31284
31284
  name: "created_at";
31285
31285
  tableName: "tools";
@@ -31559,7 +31559,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
31559
31559
  }, {}, {
31560
31560
  length: 256;
31561
31561
  }>;
31562
- }, drizzle_zod0.BuildRefine<{
31562
+ }, drizzle_zod3.BuildRefine<{
31563
31563
  createdAt: drizzle_orm_pg_core0.PgColumn<{
31564
31564
  name: "created_at";
31565
31565
  tableName: "tools";
@@ -31882,10 +31882,10 @@ declare const FunctionListResponse: z.ZodObject<{
31882
31882
  }, z.core.$strip>;
31883
31883
  declare const FunctionToolListResponse: z.ZodObject<{
31884
31884
  data: z.ZodArray<z.ZodObject<{
31885
+ id: z.ZodString;
31885
31886
  name: z.ZodString;
31886
31887
  description: z.ZodNullable<z.ZodString>;
31887
31888
  agentId: z.ZodString;
31888
- id: z.ZodString;
31889
31889
  createdAt: z.ZodString;
31890
31890
  updatedAt: z.ZodString;
31891
31891
  functionId: z.ZodString;
@@ -31903,7 +31903,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
31903
31903
  createdAt: z.ZodString;
31904
31904
  updatedAt: z.ZodString;
31905
31905
  functionToolId: z.ZodString;
31906
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31906
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31907
31907
  subAgentId: z.ZodString;
31908
31908
  agentId: z.ZodString;
31909
31909
  projectId: z.ZodString;
@@ -32091,9 +32091,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
32091
32091
  createdAt: z.ZodString;
32092
32092
  updatedAt: z.ZodString;
32093
32093
  toolId: z.ZodString;
32094
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32095
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32096
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32094
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32095
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32096
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32097
32097
  subAgentId: z.ZodString;
32098
32098
  agentId: z.ZodString;
32099
32099
  projectId: z.ZodString;
@@ -32112,10 +32112,10 @@ declare const TriggerListResponse: z.ZodObject<{
32112
32112
  createdAt: z.ZodString;
32113
32113
  updatedAt: z.ZodString;
32114
32114
  enabled: z.ZodBoolean;
32115
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32116
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32115
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32116
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32117
32117
  messageTemplate: z.ZodNullable<z.ZodString>;
32118
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32118
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32119
32119
  name: z.ZodString;
32120
32120
  description: z.ZodNullable<z.ZodString>;
32121
32121
  agentId: z.ZodString;
@@ -32183,8 +32183,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
32183
32183
  triggerId: z.ZodString;
32184
32184
  conversationId: z.ZodNullable<z.ZodString>;
32185
32185
  status: z.ZodString;
32186
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
32187
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32186
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
32187
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32188
32188
  errorMessage: z.ZodNullable<z.ZodString>;
32189
32189
  createdAt: z.ZodString;
32190
32190
  agentId: z.ZodString;
@@ -32201,16 +32201,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
32201
32201
  }, z.core.$strip>;
32202
32202
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32203
32203
  data: z.ZodObject<{
32204
+ id: z.ZodString;
32204
32205
  name: z.ZodString;
32205
32206
  description: z.ZodNullable<z.ZodString>;
32206
- id: z.ZodString;
32207
32207
  createdAt: z.ZodString;
32208
32208
  updatedAt: z.ZodString;
32209
32209
  enabled: z.ZodBoolean;
32210
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32211
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32210
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32211
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32212
32212
  messageTemplate: z.ZodNullable<z.ZodString>;
32213
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32213
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32214
32214
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32215
32215
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32216
32216
  algorithm: z.ZodEnum<{
@@ -32264,16 +32264,16 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32264
32264
  }, z.core.$strip>;
32265
32265
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32266
32266
  data: z.ZodObject<{
32267
+ id: z.ZodString;
32267
32268
  name: z.ZodString;
32268
32269
  description: z.ZodNullable<z.ZodString>;
32269
- id: z.ZodString;
32270
32270
  createdAt: z.ZodString;
32271
32271
  updatedAt: z.ZodString;
32272
32272
  enabled: z.ZodBoolean;
32273
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32274
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32273
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32274
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32275
32275
  messageTemplate: z.ZodNullable<z.ZodString>;
32276
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32276
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32277
32277
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32278
32278
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32279
32279
  algorithm: z.ZodEnum<{
@@ -32328,16 +32328,16 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32328
32328
  }, z.core.$strip>;
32329
32329
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32330
32330
  data: z.ZodArray<z.ZodObject<{
32331
+ id: z.ZodString;
32331
32332
  name: z.ZodString;
32332
32333
  description: z.ZodNullable<z.ZodString>;
32333
- id: z.ZodString;
32334
32334
  createdAt: z.ZodString;
32335
32335
  updatedAt: z.ZodString;
32336
32336
  enabled: z.ZodBoolean;
32337
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32338
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32337
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32338
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32339
32339
  messageTemplate: z.ZodNullable<z.ZodString>;
32340
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
32340
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
32341
32341
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32342
32342
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32343
32343
  algorithm: z.ZodEnum<{
@@ -32396,9 +32396,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32396
32396
  }, z.core.$strip>;
32397
32397
  }, z.core.$strip>;
32398
32398
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
32399
+ id: z.ZodString;
32399
32400
  name: z.ZodString;
32400
32401
  description: z.ZodNullable<z.ZodString>;
32401
- id: z.ZodString;
32402
32402
  createdAt: z.ZodString;
32403
32403
  updatedAt: z.ZodString;
32404
32404
  enabled: z.ZodBoolean;
@@ -32475,9 +32475,9 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
32475
32475
  }, z.core.$strip>;
32476
32476
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
32477
32477
  data: z.ZodArray<z.ZodObject<{
32478
+ id: z.ZodString;
32478
32479
  name: z.ZodString;
32479
32480
  description: z.ZodNullable<z.ZodString>;
32480
- id: z.ZodString;
32481
32481
  createdAt: z.ZodString;
32482
32482
  updatedAt: z.ZodString;
32483
32483
  enabled: z.ZodBoolean;
@@ -32634,9 +32634,9 @@ declare const SubAgentSkillResponse: z.ZodObject<{
32634
32634
  }, z.core.$strip>;
32635
32635
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
32636
32636
  data: z.ZodArray<z.ZodObject<{
32637
+ id: z.ZodString;
32637
32638
  name: z.ZodString;
32638
32639
  description: z.ZodString;
32639
- id: z.ZodString;
32640
32640
  createdAt: z.ZodString;
32641
32641
  updatedAt: z.ZodString;
32642
32642
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -32649,9 +32649,9 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
32649
32649
  }, z.core.$strip>;
32650
32650
  declare const FullProjectDefinitionResponse: z.ZodObject<{
32651
32651
  data: z.ZodObject<{
32652
+ id: z.ZodString;
32652
32653
  name: z.ZodString;
32653
32654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32654
- id: z.ZodString;
32655
32655
  models: z.ZodObject<{
32656
32656
  base: z.ZodObject<{
32657
32657
  model: z.ZodOptional<z.ZodString>;
@@ -32673,17 +32673,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32673
32673
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32674
32674
  name: z.ZodString;
32675
32675
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32676
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32676
32677
  createdAt: z.ZodOptional<z.ZodString>;
32677
32678
  updatedAt: z.ZodOptional<z.ZodString>;
32678
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32679
32679
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32680
32680
  id: z.ZodString;
32681
32681
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32682
+ id: z.ZodString;
32682
32683
  name: z.ZodString;
32683
32684
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32684
- id: z.ZodString;
32685
- createdAt: z.ZodOptional<z.ZodString>;
32686
- updatedAt: z.ZodOptional<z.ZodString>;
32685
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32687
32686
  models: z.ZodOptional<z.ZodObject<{
32688
32687
  base: z.ZodOptional<z.ZodObject<{
32689
32688
  model: z.ZodOptional<z.ZodString>;
@@ -32698,7 +32697,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32698
32697
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
32699
32698
  }, z.core.$strip>>;
32700
32699
  }, z.core.$strip>>;
32701
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32700
+ createdAt: z.ZodOptional<z.ZodString>;
32701
+ updatedAt: z.ZodOptional<z.ZodString>;
32702
32702
  type: z.ZodLiteral<"internal">;
32703
32703
  canUse: z.ZodArray<z.ZodObject<{
32704
32704
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32814,12 +32814,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32814
32814
  createdAt: z.ZodOptional<z.ZodString>;
32815
32815
  updatedAt: z.ZodOptional<z.ZodString>;
32816
32816
  enabled: z.ZodOptional<z.ZodBoolean>;
32817
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
32818
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
32817
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
32818
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
32819
32819
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32820
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
32820
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
32821
32821
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32822
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
32822
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
32823
32823
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32824
32824
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32825
32825
  id: z.ZodOptional<z.ZodString>;
@@ -32836,7 +32836,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32836
32836
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32837
32837
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32838
32838
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32839
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
32839
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
32840
32840
  maxRetries: z.ZodOptional<z.ZodNumber>;
32841
32841
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
32842
32842
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33032,11 +33032,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33032
33032
  }, z.core.$strip>>>;
33033
33033
  }, z.core.$strip>>;
33034
33034
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33035
- name: z.ZodString;
33036
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33037
33035
  id: z.ZodString;
33036
+ name: z.ZodString;
33038
33037
  createdAt: z.ZodOptional<z.ZodString>;
33039
33038
  updatedAt: z.ZodOptional<z.ZodString>;
33039
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33040
33040
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33041
33041
  credentialStoreId: z.ZodString;
33042
33042
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -33056,11 +33056,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33056
33056
  }, z.core.$strip>;
33057
33057
  declare const FullProjectSelectResponse: z.ZodObject<{
33058
33058
  data: z.ZodObject<{
33059
+ id: z.ZodString;
33059
33060
  name: z.ZodString;
33060
33061
  description: z.ZodNullable<z.ZodString>;
33061
- id: z.ZodString;
33062
- createdAt: z.ZodString;
33063
- updatedAt: z.ZodString;
33064
33062
  models: z.ZodNullable<z.ZodObject<{
33065
33063
  base: z.ZodObject<{
33066
33064
  model: z.ZodOptional<z.ZodString>;
@@ -33079,20 +33077,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33079
33077
  transferCountIs: z.ZodOptional<z.ZodNumber>;
33080
33078
  stepCountIs: z.ZodOptional<z.ZodNumber>;
33081
33079
  }, z.core.$strip>>;
33080
+ createdAt: z.ZodString;
33081
+ updatedAt: z.ZodString;
33082
33082
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33083
+ id: z.ZodString;
33083
33084
  name: z.ZodString;
33084
33085
  description: z.ZodNullable<z.ZodString>;
33085
- id: z.ZodString;
33086
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33086
33087
  createdAt: z.ZodString;
33087
33088
  updatedAt: z.ZodString;
33088
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33089
33089
  contextConfigId: z.ZodNullable<z.ZodString>;
33090
33090
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33091
+ id: z.ZodString;
33091
33092
  name: z.ZodString;
33092
33093
  description: z.ZodNullable<z.ZodString>;
33093
- id: z.ZodString;
33094
- createdAt: z.ZodString;
33095
- updatedAt: z.ZodString;
33094
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33096
33095
  models: z.ZodNullable<z.ZodType<{
33097
33096
  base?: {
33098
33097
  model?: string | undefined;
@@ -33155,7 +33154,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33155
33154
  }, {
33156
33155
  stepCountIs?: number | undefined;
33157
33156
  }>>>;
33158
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33157
+ createdAt: z.ZodString;
33158
+ updatedAt: z.ZodString;
33159
33159
  type: z.ZodLiteral<"internal">;
33160
33160
  canUse: z.ZodArray<z.ZodObject<{
33161
33161
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33226,10 +33226,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33226
33226
  description: z.ZodString;
33227
33227
  }, z.core.$strip>>>;
33228
33228
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33229
+ id: z.ZodString;
33229
33230
  name: z.ZodString;
33230
33231
  description: z.ZodNullable<z.ZodString>;
33231
33232
  agentId: z.ZodString;
33232
- id: z.ZodString;
33233
33233
  createdAt: z.ZodString;
33234
33234
  updatedAt: z.ZodString;
33235
33235
  functionId: z.ZodString;
@@ -33268,10 +33268,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33268
33268
  }>, z.core.$strip>>>;
33269
33269
  contextConfig: z.ZodNullable<z.ZodObject<{
33270
33270
  id: z.ZodString;
33271
- headersSchema: z.ZodOptional<z.ZodAny>;
33272
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33273
33271
  createdAt: z.ZodString;
33274
33272
  updatedAt: z.ZodString;
33273
+ headersSchema: z.ZodOptional<z.ZodAny>;
33274
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33275
33275
  }, z.core.$strip>>;
33276
33276
  statusUpdates: z.ZodNullable<z.ZodObject<{
33277
33277
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33337,10 +33337,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33337
33337
  id: z.ZodString;
33338
33338
  }>, z.core.$strip>>;
33339
33339
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33340
+ id: z.ZodString;
33340
33341
  name: z.ZodString;
33341
33342
  description: z.ZodNullable<z.ZodString>;
33342
33343
  agentId: z.ZodString;
33343
- id: z.ZodString;
33344
33344
  createdAt: z.ZodString;
33345
33345
  updatedAt: z.ZodString;
33346
33346
  functionId: z.ZodString;
@@ -33485,11 +33485,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33485
33485
  }, z.core.$strip>>>;
33486
33486
  }, z.core.$strip>>;
33487
33487
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33488
- name: z.ZodString;
33489
- toolId: z.ZodNullable<z.ZodString>;
33490
33488
  id: z.ZodString;
33489
+ name: z.ZodString;
33491
33490
  createdAt: z.ZodString;
33492
33491
  updatedAt: z.ZodString;
33492
+ toolId: z.ZodNullable<z.ZodString>;
33493
33493
  createdBy: z.ZodNullable<z.ZodString>;
33494
33494
  credentialStoreId: z.ZodString;
33495
33495
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -33499,7 +33499,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33499
33499
  readonly keychain: "keychain";
33500
33500
  readonly nango: "nango";
33501
33501
  }>;
33502
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
33502
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
33503
33503
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33504
33504
  name: "created_at";
33505
33505
  tableName: "tools";
@@ -33779,7 +33779,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33779
33779
  }, {}, {
33780
33780
  length: 256;
33781
33781
  }>;
33782
- }, drizzle_zod0.BuildRefine<{
33782
+ }, drizzle_zod3.BuildRefine<{
33783
33783
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33784
33784
  name: "created_at";
33785
33785
  tableName: "tools";
@@ -34082,11 +34082,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
34082
34082
  }, z.core.$strip>;
34083
34083
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34084
34084
  data: z.ZodObject<{
34085
+ id: z.ZodString;
34085
34086
  name: z.ZodString;
34086
34087
  description: z.ZodNullable<z.ZodString>;
34087
- id: z.ZodString;
34088
- createdAt: z.ZodString;
34089
- updatedAt: z.ZodString;
34090
34088
  models: z.ZodNullable<z.ZodObject<{
34091
34089
  base: z.ZodObject<{
34092
34090
  model: z.ZodOptional<z.ZodString>;
@@ -34105,6 +34103,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34105
34103
  transferCountIs: z.ZodOptional<z.ZodNumber>;
34106
34104
  stepCountIs: z.ZodOptional<z.ZodNumber>;
34107
34105
  }, z.core.$strip>>;
34106
+ createdAt: z.ZodString;
34107
+ updatedAt: z.ZodString;
34108
34108
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34109
34109
  createdAt: z.ZodString;
34110
34110
  updatedAt: z.ZodString;
@@ -34135,10 +34135,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34135
34135
  id: z.ZodString;
34136
34136
  }>, z.core.$strip>>;
34137
34137
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34138
+ id: z.ZodString;
34138
34139
  name: z.ZodString;
34139
34140
  description: z.ZodNullable<z.ZodString>;
34140
34141
  agentId: z.ZodString;
34141
- id: z.ZodString;
34142
34142
  createdAt: z.ZodString;
34143
34143
  updatedAt: z.ZodString;
34144
34144
  functionId: z.ZodString;
@@ -34283,11 +34283,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34283
34283
  }, z.core.$strip>>>;
34284
34284
  }, z.core.$strip>>;
34285
34285
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34286
- name: z.ZodString;
34287
- toolId: z.ZodNullable<z.ZodString>;
34288
34286
  id: z.ZodString;
34287
+ name: z.ZodString;
34289
34288
  createdAt: z.ZodString;
34290
34289
  updatedAt: z.ZodString;
34290
+ toolId: z.ZodNullable<z.ZodString>;
34291
34291
  createdBy: z.ZodNullable<z.ZodString>;
34292
34292
  credentialStoreId: z.ZodString;
34293
34293
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -34297,7 +34297,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34297
34297
  readonly keychain: "keychain";
34298
34298
  readonly nango: "nango";
34299
34299
  }>;
34300
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
34300
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
34301
34301
  createdAt: drizzle_orm_pg_core0.PgColumn<{
34302
34302
  name: "created_at";
34303
34303
  tableName: "tools";
@@ -34577,7 +34577,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34577
34577
  }, {}, {
34578
34578
  length: 256;
34579
34579
  }>;
34580
- }, drizzle_zod0.BuildRefine<{
34580
+ }, drizzle_zod3.BuildRefine<{
34581
34581
  createdAt: drizzle_orm_pg_core0.PgColumn<{
34582
34582
  name: "created_at";
34583
34583
  tableName: "tools";
@@ -34874,12 +34874,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34874
34874
  }>>>;
34875
34875
  }, z.core.$strip>>>;
34876
34876
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34877
+ id: z.ZodString;
34877
34878
  name: z.ZodString;
34878
34879
  description: z.ZodNullable<z.ZodString>;
34879
- id: z.ZodString;
34880
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34880
34881
  createdAt: z.ZodString;
34881
34882
  updatedAt: z.ZodString;
34882
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34883
34883
  contextConfigId: z.ZodNullable<z.ZodString>;
34884
34884
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34885
34885
  createdAt: z.ZodString;
@@ -34927,10 +34927,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34927
34927
  description: z.ZodString;
34928
34928
  }, z.core.$strip>>>;
34929
34929
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34930
+ id: z.ZodString;
34930
34931
  name: z.ZodString;
34931
34932
  description: z.ZodNullable<z.ZodString>;
34932
34933
  agentId: z.ZodString;
34933
- id: z.ZodString;
34934
34934
  createdAt: z.ZodString;
34935
34935
  updatedAt: z.ZodString;
34936
34936
  functionId: z.ZodString;
@@ -34969,10 +34969,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34969
34969
  }>, z.core.$strip>>>;
34970
34970
  contextConfig: z.ZodNullable<z.ZodObject<{
34971
34971
  id: z.ZodString;
34972
- headersSchema: z.ZodOptional<z.ZodAny>;
34973
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34974
34972
  createdAt: z.ZodString;
34975
34973
  updatedAt: z.ZodString;
34974
+ headersSchema: z.ZodOptional<z.ZodAny>;
34975
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34976
34976
  }, z.core.$strip>>;
34977
34977
  statusUpdates: z.ZodNullable<z.ZodObject<{
34978
34978
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -35008,11 +35008,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35008
35008
  }, z.core.$strip>>;
35009
35009
  prompt: z.ZodNullable<z.ZodString>;
35010
35010
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35011
+ id: z.ZodString;
35011
35012
  name: z.ZodString;
35012
35013
  description: z.ZodNullable<z.ZodString>;
35013
- id: z.ZodString;
35014
- createdAt: z.ZodString;
35015
- updatedAt: z.ZodString;
35014
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35016
35015
  models: z.ZodNullable<z.ZodType<{
35017
35016
  base?: {
35018
35017
  model?: string | undefined;
@@ -35075,7 +35074,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35075
35074
  }, {
35076
35075
  stepCountIs?: number | undefined;
35077
35076
  }>>>;
35078
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35077
+ createdAt: z.ZodString;
35078
+ updatedAt: z.ZodString;
35079
35079
  type: z.ZodLiteral<"internal">;
35080
35080
  canUse: z.ZodArray<z.ZodObject<{
35081
35081
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -35116,17 +35116,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35116
35116
  data: z.ZodObject<{
35117
35117
  name: z.ZodString;
35118
35118
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35119
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35119
35120
  createdAt: z.ZodOptional<z.ZodString>;
35120
35121
  updatedAt: z.ZodOptional<z.ZodString>;
35121
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35122
35122
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35123
35123
  id: z.ZodString;
35124
35124
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35125
+ id: z.ZodString;
35125
35126
  name: z.ZodString;
35126
35127
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35127
- id: z.ZodString;
35128
- createdAt: z.ZodOptional<z.ZodString>;
35129
- updatedAt: z.ZodOptional<z.ZodString>;
35128
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
35130
35129
  models: z.ZodOptional<z.ZodObject<{
35131
35130
  base: z.ZodOptional<z.ZodObject<{
35132
35131
  model: z.ZodOptional<z.ZodString>;
@@ -35141,7 +35140,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35141
35140
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
35142
35141
  }, z.core.$strip>>;
35143
35142
  }, z.core.$strip>>;
35144
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
35143
+ createdAt: z.ZodOptional<z.ZodString>;
35144
+ updatedAt: z.ZodOptional<z.ZodString>;
35145
35145
  type: z.ZodLiteral<"internal">;
35146
35146
  canUse: z.ZodArray<z.ZodObject<{
35147
35147
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -35257,12 +35257,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35257
35257
  createdAt: z.ZodOptional<z.ZodString>;
35258
35258
  updatedAt: z.ZodOptional<z.ZodString>;
35259
35259
  enabled: z.ZodOptional<z.ZodBoolean>;
35260
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
35261
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
35260
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
35261
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
35262
35262
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35263
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
35263
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
35264
35264
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35265
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
35265
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
35266
35266
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35267
35267
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35268
35268
  id: z.ZodOptional<z.ZodString>;
@@ -35279,7 +35279,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35279
35279
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35280
35280
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35281
35281
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35282
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
35282
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
35283
35283
  maxRetries: z.ZodOptional<z.ZodNumber>;
35284
35284
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
35285
35285
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -35327,19 +35327,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35327
35327
  }, z.core.$strip>;
35328
35328
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35329
35329
  data: z.ZodObject<{
35330
+ id: z.ZodString;
35330
35331
  name: z.ZodString;
35331
35332
  description: z.ZodNullable<z.ZodString>;
35332
- id: z.ZodString;
35333
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
35333
35334
  createdAt: z.ZodString;
35334
35335
  updatedAt: z.ZodString;
35335
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
35336
35336
  contextConfigId: z.ZodNullable<z.ZodString>;
35337
35337
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35338
+ id: z.ZodString;
35338
35339
  name: z.ZodString;
35339
35340
  description: z.ZodNullable<z.ZodString>;
35340
- id: z.ZodString;
35341
- createdAt: z.ZodString;
35342
- updatedAt: z.ZodString;
35341
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35343
35342
  models: z.ZodNullable<z.ZodType<{
35344
35343
  base?: {
35345
35344
  model?: string | undefined;
@@ -35402,7 +35401,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35402
35401
  }, {
35403
35402
  stepCountIs?: number | undefined;
35404
35403
  }>>>;
35405
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35404
+ createdAt: z.ZodString;
35405
+ updatedAt: z.ZodString;
35406
35406
  type: z.ZodLiteral<"internal">;
35407
35407
  canUse: z.ZodArray<z.ZodObject<{
35408
35408
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -35473,10 +35473,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35473
35473
  description: z.ZodString;
35474
35474
  }, z.core.$strip>>>;
35475
35475
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35476
+ id: z.ZodString;
35476
35477
  name: z.ZodString;
35477
35478
  description: z.ZodNullable<z.ZodString>;
35478
35479
  agentId: z.ZodString;
35479
- id: z.ZodString;
35480
35480
  createdAt: z.ZodString;
35481
35481
  updatedAt: z.ZodString;
35482
35482
  functionId: z.ZodString;
@@ -35515,10 +35515,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35515
35515
  }>, z.core.$strip>>>;
35516
35516
  contextConfig: z.ZodNullable<z.ZodObject<{
35517
35517
  id: z.ZodString;
35518
- headersSchema: z.ZodOptional<z.ZodAny>;
35519
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
35520
35518
  createdAt: z.ZodString;
35521
35519
  updatedAt: z.ZodString;
35520
+ headersSchema: z.ZodOptional<z.ZodAny>;
35521
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
35522
35522
  }, z.core.$strip>>;
35523
35523
  statusUpdates: z.ZodNullable<z.ZodObject<{
35524
35524
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -35711,7 +35711,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
35711
35711
  createdAt: z.ZodString;
35712
35712
  updatedAt: z.ZodString;
35713
35713
  targetAgentId: z.ZodString;
35714
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
35714
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
35715
35715
  subAgentId: z.ZodString;
35716
35716
  agentId: z.ZodString;
35717
35717
  projectId: z.ZodString;
@@ -35724,7 +35724,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
35724
35724
  createdAt: z.ZodString;
35725
35725
  updatedAt: z.ZodString;
35726
35726
  targetAgentId: z.ZodString;
35727
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
35727
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
35728
35728
  subAgentId: z.ZodString;
35729
35729
  agentId: z.ZodString;
35730
35730
  projectId: z.ZodString;
@@ -35743,7 +35743,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
35743
35743
  createdAt: z.ZodString;
35744
35744
  updatedAt: z.ZodString;
35745
35745
  externalAgentId: z.ZodString;
35746
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
35746
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
35747
35747
  subAgentId: z.ZodString;
35748
35748
  agentId: z.ZodString;
35749
35749
  projectId: z.ZodString;
@@ -35756,7 +35756,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
35756
35756
  createdAt: z.ZodString;
35757
35757
  updatedAt: z.ZodString;
35758
35758
  externalAgentId: z.ZodString;
35759
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
35759
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
35760
35760
  subAgentId: z.ZodString;
35761
35761
  agentId: z.ZodString;
35762
35762
  projectId: z.ZodString;
@@ -35991,7 +35991,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
35991
35991
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
35992
35992
  ref: z.ZodOptional<z.ZodString>;
35993
35993
  }, z.core.$strip>;
35994
- declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
35994
+ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
35995
35995
  id: drizzle_orm_pg_core0.PgColumn<{
35996
35996
  name: "id";
35997
35997
  tableName: "project_metadata";
@@ -36085,7 +36085,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
36085
36085
  }, {}, {
36086
36086
  length: 512;
36087
36087
  }>;
36088
- }, drizzle_zod0.BuildRefine<{
36088
+ }, drizzle_zod3.BuildRefine<{
36089
36089
  id: drizzle_orm_pg_core0.PgColumn<{
36090
36090
  name: "id";
36091
36091
  tableName: "project_metadata";
@@ -36181,8 +36181,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
36181
36181
  }>;
36182
36182
  }, undefined>, undefined>;
36183
36183
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
36184
- tenantId: z.ZodString;
36185
36184
  id: z.ZodString;
36185
+ tenantId: z.ZodString;
36186
36186
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36187
36187
  mainBranchName: z.ZodString;
36188
36188
  }, {
@@ -36196,10 +36196,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
36196
36196
  disconnected: "disconnected";
36197
36197
  }>;
36198
36198
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
36199
- User: "User";
36200
36199
  Organization: "Organization";
36200
+ User: "User";
36201
36201
  }>;
36202
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"select", {
36202
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
36203
36203
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36204
36204
  name: "created_at";
36205
36205
  tableName: "work_app_github_installations";
@@ -36292,7 +36292,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
36292
36292
  tableName: "work_app_github_installations";
36293
36293
  dataType: "string";
36294
36294
  columnType: "PgVarchar";
36295
- data: "User" | "Organization";
36295
+ data: "Organization" | "User";
36296
36296
  driverParam: string;
36297
36297
  notNull: true;
36298
36298
  hasDefault: false;
@@ -36305,7 +36305,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
36305
36305
  generated: undefined;
36306
36306
  }, {}, {
36307
36307
  length: 20;
36308
- $type: "User" | "Organization";
36308
+ $type: "Organization" | "User";
36309
36309
  }>;
36310
36310
  status: drizzle_orm_pg_core0.PgColumn<{
36311
36311
  name: "status";
@@ -36365,7 +36365,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
36365
36365
  }, {}, {
36366
36366
  length: 256;
36367
36367
  }>;
36368
- }, drizzle_zod0.BuildRefine<{
36368
+ }, drizzle_zod3.BuildRefine<{
36369
36369
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36370
36370
  name: "created_at";
36371
36371
  tableName: "work_app_github_installations";
@@ -36458,7 +36458,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
36458
36458
  tableName: "work_app_github_installations";
36459
36459
  dataType: "string";
36460
36460
  columnType: "PgVarchar";
36461
- data: "User" | "Organization";
36461
+ data: "Organization" | "User";
36462
36462
  driverParam: string;
36463
36463
  notNull: true;
36464
36464
  hasDefault: false;
@@ -36471,7 +36471,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
36471
36471
  generated: undefined;
36472
36472
  }, {}, {
36473
36473
  length: 20;
36474
- $type: "User" | "Organization";
36474
+ $type: "Organization" | "User";
36475
36475
  }>;
36476
36476
  status: drizzle_orm_pg_core0.PgColumn<{
36477
36477
  name: "status";
@@ -36533,14 +36533,14 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
36533
36533
  }>;
36534
36534
  }, undefined>, undefined>;
36535
36535
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
36536
- tenantId: z.ZodString;
36537
36536
  id: z.ZodString;
36537
+ tenantId: z.ZodString;
36538
36538
  installationId: z.ZodString;
36539
36539
  accountLogin: z.ZodString;
36540
36540
  accountId: z.ZodString;
36541
36541
  accountType: z.ZodEnum<{
36542
- User: "User";
36543
36542
  Organization: "Organization";
36543
+ User: "User";
36544
36544
  }>;
36545
36545
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36546
36546
  pending: "pending";
@@ -36564,14 +36564,14 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
36564
36564
  id: z.ZodString;
36565
36565
  }>, z.core.$strip>;
36566
36566
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
36567
- tenantId: z.ZodString;
36568
36567
  id: z.ZodString;
36568
+ tenantId: z.ZodString;
36569
36569
  installationId: z.ZodString;
36570
36570
  accountLogin: z.ZodString;
36571
36571
  accountId: z.ZodString;
36572
36572
  accountType: z.ZodEnum<{
36573
- User: "User";
36574
36573
  Organization: "Organization";
36574
+ User: "User";
36575
36575
  }>;
36576
36576
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36577
36577
  pending: "pending";
@@ -36580,7 +36580,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
36580
36580
  disconnected: "disconnected";
36581
36581
  }>>>;
36582
36582
  }>, z.core.$strip>;
36583
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"select", {
36583
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"select", {
36584
36584
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36585
36585
  name: "created_at";
36586
36586
  tableName: "work_app_github_repositories";
@@ -36725,7 +36725,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"sel
36725
36725
  identity: undefined;
36726
36726
  generated: undefined;
36727
36727
  }, {}, {}>;
36728
- }, drizzle_zod0.BuildRefine<{
36728
+ }, drizzle_zod3.BuildRefine<{
36729
36729
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36730
36730
  name: "created_at";
36731
36731
  tableName: "work_app_github_repositories";
@@ -36891,7 +36891,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
36891
36891
  repositoryFullName: z.ZodString;
36892
36892
  private: z.ZodOptional<z.ZodBoolean>;
36893
36893
  }>>, z.core.$strip>;
36894
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
36894
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
36895
36895
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36896
36896
  name: "created_at";
36897
36897
  tableName: "work_app_github_project_repository_access";
@@ -37002,7 +37002,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.Bui
37002
37002
  }, {}, {
37003
37003
  length: 256;
37004
37004
  }>;
37005
- }, drizzle_zod0.BuildRefine<{
37005
+ }, drizzle_zod3.BuildRefine<{
37006
37006
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37007
37007
  name: "created_at";
37008
37008
  tableName: "work_app_github_project_repository_access";
@@ -37114,7 +37114,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.Bui
37114
37114
  length: 256;
37115
37115
  }>;
37116
37116
  }, undefined>, undefined>;
37117
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
37117
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
37118
37118
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37119
37119
  name: "created_at";
37120
37120
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -37244,7 +37244,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.Bui
37244
37244
  }, {}, {
37245
37245
  length: 256;
37246
37246
  }>;
37247
- }, drizzle_zod0.BuildRefine<{
37247
+ }, drizzle_zod3.BuildRefine<{
37248
37248
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37249
37249
  name: "created_at";
37250
37250
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -37398,7 +37398,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
37398
37398
  all: "all";
37399
37399
  selected: "selected";
37400
37400
  }>;
37401
- repositories: z.ZodArray<drizzle_zod0.BuildSchema<"select", {
37401
+ repositories: z.ZodArray<drizzle_zod3.BuildSchema<"select", {
37402
37402
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37403
37403
  name: "created_at";
37404
37404
  tableName: "work_app_github_repositories";
@@ -37543,7 +37543,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
37543
37543
  identity: undefined;
37544
37544
  generated: undefined;
37545
37545
  }, {}, {}>;
37546
- }, drizzle_zod0.BuildRefine<{
37546
+ }, drizzle_zod3.BuildRefine<{
37547
37547
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37548
37548
  name: "created_at";
37549
37549
  tableName: "work_app_github_repositories";
@@ -37690,7 +37690,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
37690
37690
  }, {}, {}>;
37691
37691
  }, undefined>, undefined>>;
37692
37692
  }, z.core.$strip>;
37693
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
37693
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
37694
37694
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37695
37695
  name: "created_at";
37696
37696
  tableName: "work_app_slack_channel_agent_configs";
@@ -37928,7 +37928,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSche
37928
37928
  identity: undefined;
37929
37929
  generated: undefined;
37930
37930
  }, {}, {}>;
37931
- }, drizzle_zod0.BuildRefine<{
37931
+ }, drizzle_zod3.BuildRefine<{
37932
37932
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37933
37933
  name: "created_at";
37934
37934
  tableName: "work_app_slack_channel_agent_configs";
@@ -38167,7 +38167,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSche
38167
38167
  generated: undefined;
38168
38168
  }, {}, {}>;
38169
38169
  }, undefined>, undefined>;
38170
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod0.BuildSchema<"select", {
38170
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"select", {
38171
38171
  createdAt: drizzle_orm_pg_core0.PgColumn<{
38172
38172
  name: "created_at";
38173
38173
  tableName: "work_app_slack_workspaces";
@@ -38462,7 +38462,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod0.BuildSchema<"selec
38462
38462
  identity: undefined;
38463
38463
  generated: undefined;
38464
38464
  }, {}, {}>;
38465
- }, drizzle_zod0.BuildRefine<{
38465
+ }, drizzle_zod3.BuildRefine<{
38466
38466
  createdAt: drizzle_orm_pg_core0.PgColumn<{
38467
38467
  name: "created_at";
38468
38468
  tableName: "work_app_slack_workspaces";
@@ -38802,7 +38802,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
38802
38802
  dmEnabled: z.ZodBoolean;
38803
38803
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
38804
38804
  }, z.core.$strip>;
38805
- declare const UserProfileSelectSchema: drizzle_zod0.BuildSchema<"select", {
38805
+ declare const UserProfileSelectSchema: drizzle_zod3.BuildSchema<"select", {
38806
38806
  createdAt: drizzle_orm_pg_core0.PgColumn<{
38807
38807
  name: "created_at";
38808
38808
  tableName: "user_profile";
@@ -38907,7 +38907,7 @@ declare const UserProfileSelectSchema: drizzle_zod0.BuildSchema<"select", {
38907
38907
  }, {}, {
38908
38908
  $type: Record<string, unknown>;
38909
38909
  }>;
38910
- }, drizzle_zod0.BuildRefine<{
38910
+ }, drizzle_zod3.BuildRefine<{
38911
38911
  createdAt: drizzle_orm_pg_core0.PgColumn<{
38912
38912
  name: "created_at";
38913
38913
  tableName: "user_profile";