@inkeep/agents-core 0.45.3 → 0.46.0

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.
@@ -3,7 +3,7 @@ import { ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata
3
3
  import "../index.js";
4
4
  import { z } from "@hono/zod-openapi";
5
5
  import * as drizzle_orm_pg_core80 from "drizzle-orm/pg-core";
6
- import * as drizzle_zod0 from "drizzle-zod";
6
+ import * as drizzle_zod3 from "drizzle-zod";
7
7
 
8
8
  //#region src/validation/schemas.d.ts
9
9
  declare const StopWhenSchema: z.ZodObject<{
@@ -83,7 +83,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
83
83
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
84
84
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
85
85
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
86
- declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
86
+ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
87
87
  createdAt: drizzle_orm_pg_core80.PgColumn<{
88
88
  name: "created_at";
89
89
  tableName: "sub_agents";
@@ -334,7 +334,7 @@ declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
334
334
  }, {}, {
335
335
  length: 256;
336
336
  }>;
337
- }, drizzle_zod0.BuildRefine<{
337
+ }, drizzle_zod3.BuildRefine<{
338
338
  createdAt: drizzle_orm_pg_core80.PgColumn<{
339
339
  name: "created_at";
340
340
  tableName: "sub_agents";
@@ -775,19 +775,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
775
775
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
776
776
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
777
777
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
778
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
778
779
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
779
780
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
780
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
781
- stepCountIs?: number | undefined;
782
- }, {
783
- stepCountIs?: number | undefined;
784
- }, z.core.$ZodTypeInternals<{
785
- stepCountIs?: number | undefined;
786
- }, {
787
- stepCountIs?: number | undefined;
788
- }>>>>>>;
789
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
790
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
791
781
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
792
782
  base: z.ZodOptional<z.ZodObject<{
793
783
  model: z.ZodOptional<z.ZodString>;
@@ -802,8 +792,18 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
802
792
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
803
793
  }, z.core.$strip>>;
804
794
  }, z.core.$strip>>>>;
795
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
796
+ stepCountIs?: number | undefined;
797
+ }, {
798
+ stepCountIs?: number | undefined;
799
+ }, z.core.$ZodTypeInternals<{
800
+ stepCountIs?: number | undefined;
801
+ }, {
802
+ stepCountIs?: number | undefined;
803
+ }>>>>>>;
804
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
805
805
  }, z.core.$strip>;
806
- declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
806
+ declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
807
807
  createdAt: drizzle_orm_pg_core80.PgColumn<{
808
808
  name: "created_at";
809
809
  tableName: "sub_agent_relations";
@@ -971,7 +971,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
971
971
  }, {}, {
972
972
  length: 256;
973
973
  }>;
974
- }, drizzle_zod0.BuildRefine<{
974
+ }, drizzle_zod3.BuildRefine<{
975
975
  createdAt: drizzle_orm_pg_core80.PgColumn<{
976
976
  name: "created_at";
977
977
  tableName: "sub_agent_relations";
@@ -1242,7 +1242,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1242
1242
  sourceSubAgentId: z.ZodString;
1243
1243
  externalSubAgentId: z.ZodString;
1244
1244
  }>, z.core.$strip>;
1245
- declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1245
+ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1246
1246
  createdAt: drizzle_orm_pg_core80.PgColumn<{
1247
1247
  name: "created_at";
1248
1248
  tableName: "agent";
@@ -1540,7 +1540,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1540
1540
  }, {}, {
1541
1541
  length: 256;
1542
1542
  }>;
1543
- }, drizzle_zod0.BuildRefine<{
1543
+ }, drizzle_zod3.BuildRefine<{
1544
1544
  createdAt: drizzle_orm_pg_core80.PgColumn<{
1545
1545
  name: "created_at";
1546
1546
  tableName: "agent";
@@ -1839,7 +1839,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1839
1839
  length: 256;
1840
1840
  }>;
1841
1841
  }, undefined>, undefined>;
1842
- declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1842
+ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1843
1843
  createdAt: drizzle_orm_pg_core80.PgColumn<{
1844
1844
  name: "created_at";
1845
1845
  tableName: "agent";
@@ -2137,7 +2137,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2137
2137
  }, {}, {
2138
2138
  length: 256;
2139
2139
  }>;
2140
- }, drizzle_zod0.BuildRefine<Pick<{
2140
+ }, drizzle_zod3.BuildRefine<Pick<{
2141
2141
  createdAt: drizzle_orm_pg_core80.PgColumn<{
2142
2142
  name: "created_at";
2143
2143
  tableName: "agent";
@@ -2435,7 +2435,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2435
2435
  }, {}, {
2436
2436
  length: 256;
2437
2437
  }>;
2438
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "stopWhen" | "prompt" | "models" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2438
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2439
2439
  declare const AgentUpdateSchema: z.ZodObject<{
2440
2440
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2441
2441
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2704,18 +2704,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2704
2704
  declare const AgentApiInsertSchema: z.ZodObject<{
2705
2705
  name: z.ZodString;
2706
2706
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
2708
  createdAt: z.ZodOptional<z.ZodString>;
2708
2709
  updatedAt: z.ZodOptional<z.ZodString>;
2709
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2710
- transferCountIs?: number | undefined;
2711
- }, {
2712
- transferCountIs?: number | undefined;
2713
- }, z.core.$ZodTypeInternals<{
2714
- transferCountIs?: number | undefined;
2715
- }, {
2716
- transferCountIs?: number | undefined;
2717
- }>>>>;
2718
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2719
2710
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2720
2711
  base?: {
2721
2712
  model?: string | undefined;
@@ -2769,6 +2760,15 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2769
2760
  providerOptions?: Record<string, any> | undefined;
2770
2761
  } | undefined;
2771
2762
  }>>>>;
2763
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2764
+ transferCountIs?: number | undefined;
2765
+ }, {
2766
+ transferCountIs?: number | undefined;
2767
+ }, z.core.$ZodTypeInternals<{
2768
+ transferCountIs?: number | undefined;
2769
+ }, {
2770
+ transferCountIs?: number | undefined;
2771
+ }>>>>;
2772
2772
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2773
2773
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
2774
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2834,18 +2834,9 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2834
2834
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2835
2835
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2836
2836
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2837
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2837
2838
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2838
2839
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2839
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2840
- transferCountIs?: number | undefined;
2841
- }, {
2842
- transferCountIs?: number | undefined;
2843
- }, z.core.$ZodTypeInternals<{
2844
- transferCountIs?: number | undefined;
2845
- }, {
2846
- transferCountIs?: number | undefined;
2847
- }>>>>>>;
2848
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2849
2840
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2850
2841
  base?: {
2851
2842
  model?: string | undefined;
@@ -2899,6 +2890,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2899
2890
  providerOptions?: Record<string, any> | undefined;
2900
2891
  } | undefined;
2901
2892
  }>>>>>>;
2893
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2894
+ transferCountIs?: number | undefined;
2895
+ }, {
2896
+ transferCountIs?: number | undefined;
2897
+ }, z.core.$ZodTypeInternals<{
2898
+ transferCountIs?: number | undefined;
2899
+ }, {
2900
+ transferCountIs?: number | undefined;
2901
+ }>>>>>>;
2902
2902
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2903
2903
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2904
2904
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -3234,10 +3234,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3234
3234
  createdAt: z.ZodString;
3235
3235
  updatedAt: z.ZodString;
3236
3236
  enabled: z.ZodBoolean;
3237
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3238
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3237
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3238
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3239
3239
  messageTemplate: z.ZodNullable<z.ZodString>;
3240
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3240
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3241
3241
  name: z.ZodString;
3242
3242
  description: z.ZodNullable<z.ZodString>;
3243
3243
  agentId: z.ZodString;
@@ -3294,7 +3294,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3294
3294
  out: {};
3295
3295
  in: {};
3296
3296
  }>;
3297
- declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3297
+ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3298
3298
  createdAt: drizzle_orm_pg_core80.PgColumn<{
3299
3299
  name: "created_at";
3300
3300
  tableName: "triggers";
@@ -3626,7 +3626,7 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3626
3626
  }, {}, {
3627
3627
  length: 256;
3628
3628
  }>;
3629
- }, drizzle_zod0.BuildRefine<Pick<{
3629
+ }, drizzle_zod3.BuildRefine<Pick<{
3630
3630
  createdAt: drizzle_orm_pg_core80.PgColumn<{
3631
3631
  name: "created_at";
3632
3632
  tableName: "triggers";
@@ -3958,16 +3958,16 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3958
3958
  }, {}, {
3959
3959
  length: 256;
3960
3960
  }>;
3961
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "inputSchema" | "enabled" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3961
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3962
3962
  declare const TriggerUpdateSchema: z.ZodObject<{
3963
3963
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3964
3964
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3965
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
3966
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
3965
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
3966
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
3967
3967
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3968
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
3968
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
3969
3969
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3970
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
3970
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
3971
3971
  name: z.ZodOptional<z.ZodString>;
3972
3972
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3973
3973
  agentId: z.ZodOptional<z.ZodString>;
@@ -3983,10 +3983,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
3983
3983
  createdAt: z.ZodString;
3984
3984
  updatedAt: z.ZodString;
3985
3985
  enabled: z.ZodBoolean;
3986
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3987
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3986
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3987
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3988
3988
  messageTemplate: z.ZodNullable<z.ZodString>;
3989
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3989
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3990
3990
  name: z.ZodString;
3991
3991
  description: z.ZodNullable<z.ZodString>;
3992
3992
  agentId: z.ZodString;
@@ -4045,24 +4045,24 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4045
4045
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4046
4046
  createdAt: z.ZodOptional<z.ZodString>;
4047
4047
  updatedAt: z.ZodOptional<z.ZodString>;
4048
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4049
4048
  enabled: z.ZodOptional<z.ZodBoolean>;
4050
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4049
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4050
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4051
4051
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4052
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4052
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4053
4053
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4054
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4054
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4055
4055
  id: z.ZodOptional<z.ZodString>;
4056
4056
  }, z.core.$strip>;
4057
4057
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4058
4058
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4059
4059
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4060
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4061
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4060
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4061
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4062
4062
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4063
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4063
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4064
4064
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4065
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4065
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4066
4066
  name: z.ZodOptional<z.ZodString>;
4067
4067
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4068
4068
  agentId: z.ZodOptional<z.ZodString>;
@@ -4080,11 +4080,11 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4080
4080
  description: z.ZodNullable<z.ZodString>;
4081
4081
  createdAt: z.ZodString;
4082
4082
  updatedAt: z.ZodString;
4083
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4084
4083
  enabled: z.ZodBoolean;
4085
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4084
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4085
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4086
4086
  messageTemplate: z.ZodNullable<z.ZodString>;
4087
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4087
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4088
4088
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4089
4089
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4090
4090
  algorithm: z.ZodEnum<{
@@ -4133,7 +4133,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4133
4133
  }, z.core.$strip>>>;
4134
4134
  webhookUrl: z.ZodString;
4135
4135
  }, z.core.$strip>;
4136
- declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select", {
4136
+ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select", {
4137
4137
  triggerId: drizzle_orm_pg_core80.PgColumn<{
4138
4138
  name: "trigger_id";
4139
4139
  tableName: "trigger_invocations";
@@ -4335,7 +4335,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select",
4335
4335
  }, {}, {
4336
4336
  length: 256;
4337
4337
  }>;
4338
- }, drizzle_zod0.BuildRefine<{
4338
+ }, drizzle_zod3.BuildRefine<{
4339
4339
  triggerId: drizzle_orm_pg_core80.PgColumn<{
4340
4340
  name: "trigger_id";
4341
4341
  tableName: "trigger_invocations";
@@ -4538,7 +4538,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select",
4538
4538
  length: 256;
4539
4539
  }>;
4540
4540
  }, undefined>, undefined>;
4541
- declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4541
+ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4542
4542
  triggerId: drizzle_orm_pg_core80.PgColumn<{
4543
4543
  name: "trigger_id";
4544
4544
  tableName: "trigger_invocations";
@@ -4740,7 +4740,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert",
4740
4740
  }, {}, {
4741
4741
  length: 256;
4742
4742
  }>;
4743
- }, drizzle_zod0.BuildRefine<Pick<{
4743
+ }, drizzle_zod3.BuildRefine<Pick<{
4744
4744
  triggerId: drizzle_orm_pg_core80.PgColumn<{
4745
4745
  name: "trigger_id";
4746
4746
  tableName: "trigger_invocations";
@@ -4942,13 +4942,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert",
4942
4942
  }, {}, {
4943
4943
  length: 256;
4944
4944
  }>;
4945
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4945
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4946
4946
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4947
4947
  triggerId: z.ZodOptional<z.ZodString>;
4948
4948
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4949
4949
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4950
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4951
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4950
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4951
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4952
4952
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4953
4953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4954
4954
  agentId: z.ZodOptional<z.ZodString>;
@@ -4963,8 +4963,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4963
4963
  triggerId: z.ZodString;
4964
4964
  conversationId: z.ZodNullable<z.ZodString>;
4965
4965
  status: z.ZodString;
4966
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
4967
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4966
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
4967
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4968
4968
  errorMessage: z.ZodNullable<z.ZodString>;
4969
4969
  createdAt: z.ZodString;
4970
4970
  agentId: z.ZodString;
@@ -4977,8 +4977,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4977
4977
  status: z.ZodOptional<z.ZodString>;
4978
4978
  triggerId: z.ZodString;
4979
4979
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4980
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
4981
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4980
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
4981
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4982
4982
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4983
4983
  id: z.ZodString;
4984
4984
  }, z.core.$strip>;
@@ -4988,11 +4988,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4988
4988
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4989
4989
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4990
4990
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4991
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4992
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
4991
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4992
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4993
4993
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4994
4994
  }, z.core.$strip>;
4995
- declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
4995
+ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
4996
4996
  createdAt: drizzle_orm_pg_core80.PgColumn<{
4997
4997
  name: "created_at";
4998
4998
  tableName: "tasks";
@@ -5206,7 +5206,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
5206
5206
  }, {}, {
5207
5207
  length: 256;
5208
5208
  }>;
5209
- }, drizzle_zod0.BuildRefine<{
5209
+ }, drizzle_zod3.BuildRefine<{
5210
5210
  createdAt: drizzle_orm_pg_core80.PgColumn<{
5211
5211
  name: "created_at";
5212
5212
  tableName: "tasks";
@@ -5524,11 +5524,10 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5524
5524
  }>, z.core.$strip>;
5525
5525
  declare const TaskApiUpdateSchema: z.ZodObject<{
5526
5526
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5527
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5528
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5527
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5529
5528
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5530
5529
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5531
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5530
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5532
5531
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5533
5532
  type: z.ZodEnum<{
5534
5533
  commit: "commit";
@@ -5539,10 +5538,11 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5539
5538
  hash: z.ZodString;
5540
5539
  }, z.core.$strip>>>;
5541
5540
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5542
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5543
5541
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5542
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5543
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5544
5544
  }, z.core.$strip>;
5545
- declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
5545
+ declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
5546
5546
  createdAt: drizzle_orm_pg_core80.PgColumn<{
5547
5547
  name: "created_at";
5548
5548
  tableName: "task_relations";
@@ -5691,7 +5691,7 @@ declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
5691
5691
  }, {}, {
5692
5692
  length: 256;
5693
5693
  }>;
5694
- }, drizzle_zod0.BuildRefine<{
5694
+ }, drizzle_zod3.BuildRefine<{
5695
5695
  createdAt: drizzle_orm_pg_core80.PgColumn<{
5696
5696
  name: "created_at";
5697
5697
  tableName: "task_relations";
@@ -5917,7 +5917,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
5917
5917
  description: z.ZodOptional<z.ZodString>;
5918
5918
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5919
5919
  }, z.core.$strip>;
5920
- declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
5920
+ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
5921
5921
  createdAt: drizzle_orm_pg_core80.PgColumn<{
5922
5922
  name: "created_at";
5923
5923
  tableName: "tools";
@@ -6197,7 +6197,7 @@ declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
6197
6197
  }, {}, {
6198
6198
  length: 256;
6199
6199
  }>;
6200
- }, drizzle_zod0.BuildRefine<{
6200
+ }, drizzle_zod3.BuildRefine<{
6201
6201
  createdAt: drizzle_orm_pg_core80.PgColumn<{
6202
6202
  name: "created_at";
6203
6203
  tableName: "tools";
@@ -6523,7 +6523,7 @@ declare const ToolInsertSchema: z.ZodObject<{
6523
6523
  out: {};
6524
6524
  in: {};
6525
6525
  }>;
6526
- declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
6526
+ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
6527
6527
  createdAt: drizzle_orm_pg_core80.PgColumn<{
6528
6528
  name: "created_at";
6529
6529
  tableName: "conversations";
@@ -6752,7 +6752,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
6752
6752
  }, {}, {
6753
6753
  length: 256;
6754
6754
  }>;
6755
- }, drizzle_zod0.BuildRefine<{
6755
+ }, drizzle_zod3.BuildRefine<{
6756
6756
  createdAt: drizzle_orm_pg_core80.PgColumn<{
6757
6757
  name: "created_at";
6758
6758
  tableName: "conversations";
@@ -7089,12 +7089,13 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7089
7089
  }>, z.core.$strip>;
7090
7090
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7091
7091
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7092
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7092
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7093
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7093
7094
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7094
7095
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7095
7096
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7096
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7097
- activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7097
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7098
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7098
7099
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7099
7100
  type: z.ZodEnum<{
7100
7101
  commit: "commit";
@@ -7104,11 +7105,10 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7104
7105
  name: z.ZodString;
7105
7106
  hash: z.ZodString;
7106
7107
  }, z.core.$strip>>>;
7107
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7108
+ activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7108
7109
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7109
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7110
7110
  }, z.core.$strip>;
7111
- declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
7111
+ declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
7112
7112
  createdAt: drizzle_orm_pg_core80.PgColumn<{
7113
7113
  name: "created_at";
7114
7114
  tableName: "messages";
@@ -7504,7 +7504,7 @@ declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
7504
7504
  }, {}, {
7505
7505
  length: 256;
7506
7506
  }>;
7507
- }, drizzle_zod0.BuildRefine<{
7507
+ }, drizzle_zod3.BuildRefine<{
7508
7508
  createdAt: drizzle_orm_pg_core80.PgColumn<{
7509
7509
  name: "created_at";
7510
7510
  tableName: "messages";
@@ -8001,26 +8001,26 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
8001
8001
  }>, z.core.$strip>;
8002
8002
  declare const MessageApiUpdateSchema: z.ZodObject<{
8003
8003
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8004
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8005
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8006
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8007
8004
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8008
8005
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8006
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8009
8007
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8010
8008
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8011
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8012
8009
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8013
8010
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8014
8011
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8015
8012
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8013
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8014
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8015
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8016
8016
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8017
8017
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8018
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8018
8019
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8019
8020
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8020
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8021
8021
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8022
8022
  }, z.core.$strip>;
8023
- declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
8023
+ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
8024
8024
  createdAt: drizzle_orm_pg_core80.PgColumn<{
8025
8025
  name: "created_at";
8026
8026
  tableName: "context_cache";
@@ -8270,7 +8270,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
8270
8270
  }, {}, {
8271
8271
  length: 256;
8272
8272
  }>;
8273
- }, drizzle_zod0.BuildRefine<{
8273
+ }, drizzle_zod3.BuildRefine<{
8274
8274
  createdAt: drizzle_orm_pg_core80.PgColumn<{
8275
8275
  name: "created_at";
8276
8276
  tableName: "context_cache";
@@ -8527,7 +8527,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8527
8527
  conversationId: z.ZodString;
8528
8528
  contextConfigId: z.ZodString;
8529
8529
  contextVariableKey: z.ZodString;
8530
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
8530
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
8531
8531
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8532
8532
  fetchedAt: z.ZodOptional<z.ZodString>;
8533
8533
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8553,7 +8553,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8553
8553
  conversationId: z.ZodOptional<z.ZodString>;
8554
8554
  contextConfigId: z.ZodOptional<z.ZodString>;
8555
8555
  contextVariableKey: z.ZodOptional<z.ZodString>;
8556
- value: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
8556
+ value: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
8557
8557
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8558
8558
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8559
8559
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8596,7 +8596,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8596
8596
  name: string;
8597
8597
  hash: string;
8598
8598
  }>>>;
8599
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
8599
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
8600
8600
  requestHash: z.ZodNullable<z.ZodString>;
8601
8601
  fetchedAt: z.ZodString;
8602
8602
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8610,7 +8610,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8610
8610
  conversationId: z.ZodString;
8611
8611
  contextConfigId: z.ZodString;
8612
8612
  contextVariableKey: z.ZodString;
8613
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
8613
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
8614
8614
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8615
8615
  fetchedAt: z.ZodOptional<z.ZodString>;
8616
8616
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8629,8 +8629,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8629
8629
  }>, z.core.$strip>;
8630
8630
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8631
8631
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8632
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
8632
8633
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8633
8634
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8635
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8634
8636
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8635
8637
  type: z.ZodEnum<{
8636
8638
  commit: "commit";
@@ -8640,15 +8642,13 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8640
8642
  name: z.ZodString;
8641
8643
  hash: z.ZodString;
8642
8644
  }, z.core.$strip>>>;
8643
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
8644
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8645
8645
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8646
8646
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8647
8647
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8648
8648
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8649
8649
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8650
8650
  }, z.core.$strip>;
8651
- declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
8651
+ declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
8652
8652
  createdAt: drizzle_orm_pg_core80.PgColumn<{
8653
8653
  name: "created_at";
8654
8654
  tableName: "dataset_run";
@@ -8791,7 +8791,7 @@ declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
8791
8791
  }, {}, {
8792
8792
  length: 256;
8793
8793
  }>;
8794
- }, drizzle_zod0.BuildRefine<{
8794
+ }, drizzle_zod3.BuildRefine<{
8795
8795
  createdAt: drizzle_orm_pg_core80.PgColumn<{
8796
8796
  name: "created_at";
8797
8797
  tableName: "dataset_run";
@@ -8985,7 +8985,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8985
8985
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8986
8986
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8987
8987
  }, z.core.$strip>;
8988
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8988
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8989
8989
  createdAt: drizzle_orm_pg_core80.PgColumn<{
8990
8990
  name: "created_at";
8991
8991
  tableName: "dataset_run_conversation_relations";
@@ -9128,7 +9128,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSche
9128
9128
  }, {}, {
9129
9129
  length: 256;
9130
9130
  }>;
9131
- }, drizzle_zod0.BuildRefine<{
9131
+ }, drizzle_zod3.BuildRefine<{
9132
9132
  createdAt: drizzle_orm_pg_core80.PgColumn<{
9133
9133
  name: "created_at";
9134
9134
  tableName: "dataset_run_conversation_relations";
@@ -9322,7 +9322,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9322
9322
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9323
9323
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9324
9324
  }, z.core.$strip>;
9325
- declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
9325
+ declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
9326
9326
  createdAt: drizzle_orm_pg_core80.PgColumn<{
9327
9327
  name: "created_at";
9328
9328
  tableName: "evaluation_result";
@@ -9484,7 +9484,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
9484
9484
  }, {}, {
9485
9485
  length: 256;
9486
9486
  }>;
9487
- }, drizzle_zod0.BuildRefine<{
9487
+ }, drizzle_zod3.BuildRefine<{
9488
9488
  createdAt: drizzle_orm_pg_core80.PgColumn<{
9489
9489
  name: "created_at";
9490
9490
  tableName: "evaluation_result";
@@ -9702,7 +9702,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9702
9702
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9703
9703
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9704
9704
  }, z.core.$strip>;
9705
- declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
9705
+ declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
9706
9706
  createdAt: drizzle_orm_pg_core80.PgColumn<{
9707
9707
  name: "created_at";
9708
9708
  tableName: "evaluation_run";
@@ -9828,7 +9828,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
9828
9828
  }, {}, {
9829
9829
  length: 256;
9830
9830
  }>;
9831
- }, drizzle_zod0.BuildRefine<{
9831
+ }, drizzle_zod3.BuildRefine<{
9832
9832
  createdAt: drizzle_orm_pg_core80.PgColumn<{
9833
9833
  name: "created_at";
9834
9834
  tableName: "evaluation_run";
@@ -10000,7 +10000,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10000
10000
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10001
10001
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10002
10002
  }, z.core.$strip>;
10003
- declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
10003
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
10004
10004
  createdAt: drizzle_orm_pg_core80.PgColumn<{
10005
10005
  name: "created_at";
10006
10006
  tableName: "evaluation_run_config";
@@ -10145,7 +10145,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
10145
10145
  }, {}, {
10146
10146
  length: 256;
10147
10147
  }>;
10148
- }, drizzle_zod0.BuildRefine<{
10148
+ }, drizzle_zod3.BuildRefine<{
10149
10149
  createdAt: drizzle_orm_pg_core80.PgColumn<{
10150
10150
  name: "created_at";
10151
10151
  tableName: "evaluation_run_config";
@@ -10352,7 +10352,7 @@ declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10352
10352
  isActive: z.ZodBoolean;
10353
10353
  suiteConfigIds: z.ZodArray<z.ZodString>;
10354
10354
  }, z.core.$strip>;
10355
- declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
10355
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
10356
10356
  createdAt: drizzle_orm_pg_core80.PgColumn<{
10357
10357
  name: "created_at";
10358
10358
  tableName: "evaluation_job_config";
@@ -10477,7 +10477,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
10477
10477
  }, {}, {
10478
10478
  length: 256;
10479
10479
  }>;
10480
- }, drizzle_zod0.BuildRefine<{
10480
+ }, drizzle_zod3.BuildRefine<{
10481
10481
  createdAt: drizzle_orm_pg_core80.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "evaluation_job_config";
@@ -10784,7 +10784,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10784
10784
  } | undefined;
10785
10785
  }>>>>>>>;
10786
10786
  }, z.core.$strip>;
10787
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
10787
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
10788
10788
  createdAt: drizzle_orm_pg_core80.PgColumn<{
10789
10789
  name: "created_at";
10790
10790
  tableName: "evaluation_suite_config";
@@ -10912,7 +10912,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"selec
10912
10912
  }, {}, {
10913
10913
  length: 256;
10914
10914
  }>;
10915
- }, drizzle_zod0.BuildRefine<{
10915
+ }, drizzle_zod3.BuildRefine<{
10916
10916
  createdAt: drizzle_orm_pg_core80.PgColumn<{
10917
10917
  name: "created_at";
10918
10918
  tableName: "evaluation_suite_config";
@@ -11088,7 +11088,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11088
11088
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11089
11089
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11090
11090
  }, z.core.$strip>;
11091
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11091
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11092
11092
  createdAt: drizzle_orm_pg_core80.PgColumn<{
11093
11093
  name: "created_at";
11094
11094
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11218,7 +11218,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11218
11218
  }, {}, {
11219
11219
  length: 256;
11220
11220
  }>;
11221
- }, drizzle_zod0.BuildRefine<{
11221
+ }, drizzle_zod3.BuildRefine<{
11222
11222
  createdAt: drizzle_orm_pg_core80.PgColumn<{
11223
11223
  name: "created_at";
11224
11224
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11394,7 +11394,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
11394
11394
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11395
11395
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11396
11396
  }, z.core.$strip>;
11397
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11397
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11398
11398
  createdAt: drizzle_orm_pg_core80.PgColumn<{
11399
11399
  name: "created_at";
11400
11400
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11524,7 +11524,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.Bui
11524
11524
  }, {}, {
11525
11525
  length: 256;
11526
11526
  }>;
11527
- }, drizzle_zod0.BuildRefine<{
11527
+ }, drizzle_zod3.BuildRefine<{
11528
11528
  createdAt: drizzle_orm_pg_core80.PgColumn<{
11529
11529
  name: "created_at";
11530
11530
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11700,7 +11700,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11700
11700
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11701
11701
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11702
11702
  }, z.core.$strip>;
11703
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11703
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11704
11704
  createdAt: drizzle_orm_pg_core80.PgColumn<{
11705
11705
  name: "created_at";
11706
11706
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11830,7 +11830,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.B
11830
11830
  }, {}, {
11831
11831
  length: 256;
11832
11832
  }>;
11833
- }, drizzle_zod0.BuildRefine<{
11833
+ }, drizzle_zod3.BuildRefine<{
11834
11834
  createdAt: drizzle_orm_pg_core80.PgColumn<{
11835
11835
  name: "created_at";
11836
11836
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -12006,7 +12006,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
12006
12006
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12007
12007
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12008
12008
  }, z.core.$strip>;
12009
- declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
12009
+ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12010
12010
  createdAt: drizzle_orm_pg_core80.PgColumn<{
12011
12011
  name: "created_at";
12012
12012
  tableName: "evaluator";
@@ -12214,7 +12214,7 @@ declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
12214
12214
  }, {}, {
12215
12215
  length: 256;
12216
12216
  }>;
12217
- }, drizzle_zod0.BuildRefine<{
12217
+ }, drizzle_zod3.BuildRefine<{
12218
12218
  createdAt: drizzle_orm_pg_core80.PgColumn<{
12219
12219
  name: "created_at";
12220
12220
  tableName: "evaluator";
@@ -12507,9 +12507,7 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12507
12507
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12508
12508
  name: z.ZodString;
12509
12509
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12510
- createdAt: z.ZodOptional<z.ZodString>;
12511
- updatedAt: z.ZodOptional<z.ZodString>;
12512
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12510
+ prompt: z.ZodString;
12513
12511
  model: z.ZodType<{
12514
12512
  model?: string | undefined;
12515
12513
  providerOptions?: Record<string, any> | undefined;
@@ -12523,15 +12521,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12523
12521
  model?: string | undefined;
12524
12522
  providerOptions?: Record<string, any> | undefined;
12525
12523
  }>>;
12526
- prompt: z.ZodString;
12524
+ createdAt: z.ZodOptional<z.ZodString>;
12525
+ updatedAt: z.ZodOptional<z.ZodString>;
12526
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12527
12527
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12528
12528
  }, z.core.$strip>;
12529
12529
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12530
12530
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12531
12531
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12532
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12533
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12534
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12532
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12535
12533
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12536
12534
  model?: string | undefined;
12537
12535
  providerOptions?: Record<string, any> | undefined;
@@ -12545,10 +12543,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12545
12543
  model?: string | undefined;
12546
12544
  providerOptions?: Record<string, any> | undefined;
12547
12545
  }>>>>;
12548
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12546
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12547
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12548
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12549
12549
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12550
12550
  }, z.core.$strip>;
12551
- declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
12551
+ declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
12552
12552
  createdAt: drizzle_orm_pg_core80.PgColumn<{
12553
12553
  name: "created_at";
12554
12554
  tableName: "dataset";
@@ -12659,7 +12659,7 @@ declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
12659
12659
  }, {}, {
12660
12660
  length: 256;
12661
12661
  }>;
12662
- }, drizzle_zod0.BuildRefine<{
12662
+ }, drizzle_zod3.BuildRefine<{
12663
12663
  createdAt: drizzle_orm_pg_core80.PgColumn<{
12664
12664
  name: "created_at";
12665
12665
  tableName: "dataset";
@@ -12811,7 +12811,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12811
12811
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12812
12812
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12813
12813
  }, z.core.$strip>;
12814
- declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
12814
+ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
12815
12815
  createdAt: drizzle_orm_pg_core80.PgColumn<{
12816
12816
  name: "created_at";
12817
12817
  tableName: "dataset_item";
@@ -12999,7 +12999,7 @@ declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
12999
12999
  }, {}, {
13000
13000
  length: 256;
13001
13001
  }>;
13002
- }, drizzle_zod0.BuildRefine<{
13002
+ }, drizzle_zod3.BuildRefine<{
13003
13003
  createdAt: drizzle_orm_pg_core80.PgColumn<{
13004
13004
  name: "created_at";
13005
13005
  tableName: "dataset_item";
@@ -13442,8 +13442,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13442
13442
  }>>>>>>;
13443
13443
  }, z.core.$strip>;
13444
13444
  declare const DatasetRunItemSchema: z.ZodObject<{
13445
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13446
13445
  id: z.ZodOptional<z.ZodString>;
13446
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13447
13447
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13448
13448
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13449
13449
  prompt: string;
@@ -13491,8 +13491,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13491
13491
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13492
13492
  datasetRunId: z.ZodString;
13493
13493
  items: z.ZodArray<z.ZodObject<{
13494
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13495
13494
  id: z.ZodOptional<z.ZodString>;
13495
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13496
13496
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13497
13497
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13498
13498
  prompt: string;
@@ -13570,7 +13570,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13570
13570
  }, z.core.$strip>>;
13571
13571
  }, z.core.$strip>>>;
13572
13572
  }, z.core.$strip>;
13573
- declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
13573
+ declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
13574
13574
  createdAt: drizzle_orm_pg_core80.PgColumn<{
13575
13575
  name: "created_at";
13576
13576
  tableName: "dataset_run_config";
@@ -13717,7 +13717,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
13717
13717
  }, {}, {
13718
13718
  length: 256;
13719
13719
  }>;
13720
- }, drizzle_zod0.BuildRefine<{
13720
+ }, drizzle_zod3.BuildRefine<{
13721
13721
  createdAt: drizzle_orm_pg_core80.PgColumn<{
13722
13722
  name: "created_at";
13723
13723
  tableName: "dataset_run_config";
@@ -13915,7 +13915,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13915
13915
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13916
13916
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13917
13917
  }, z.core.$strip>;
13918
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13918
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13919
13919
  createdAt: drizzle_orm_pg_core80.PgColumn<{
13920
13920
  name: "created_at";
13921
13921
  tableName: "dataset_run_config_agent_relations";
@@ -14045,7 +14045,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchem
14045
14045
  }, {}, {
14046
14046
  length: 256;
14047
14047
  }>;
14048
- }, drizzle_zod0.BuildRefine<{
14048
+ }, drizzle_zod3.BuildRefine<{
14049
14049
  createdAt: drizzle_orm_pg_core80.PgColumn<{
14050
14050
  name: "created_at";
14051
14051
  tableName: "dataset_run_config_agent_relations";
@@ -14210,18 +14210,18 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14210
14210
  id: z.ZodString;
14211
14211
  }>, z.core.$strip>;
14212
14212
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14213
+ agentId: z.ZodString;
14213
14214
  createdAt: z.ZodOptional<z.ZodString>;
14214
14215
  updatedAt: z.ZodOptional<z.ZodString>;
14215
- agentId: z.ZodString;
14216
14216
  datasetRunConfigId: z.ZodString;
14217
14217
  }, z.core.$strip>;
14218
14218
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14219
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14219
14220
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14220
14221
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14221
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14222
14222
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14223
14223
  }, z.core.$strip>;
14224
- declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
14224
+ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14225
14225
  createdAt: drizzle_orm_pg_core80.PgColumn<{
14226
14226
  name: "created_at";
14227
14227
  tableName: "data_components";
@@ -14393,7 +14393,7 @@ declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
14393
14393
  }, {}, {
14394
14394
  length: 256;
14395
14395
  }>;
14396
- }, drizzle_zod0.BuildRefine<{
14396
+ }, drizzle_zod3.BuildRefine<{
14397
14397
  createdAt: drizzle_orm_pg_core80.PgColumn<{
14398
14398
  name: "created_at";
14399
14399
  tableName: "data_components";
@@ -14593,11 +14593,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14593
14593
  in: {};
14594
14594
  }>;
14595
14595
  declare const DataComponentBaseSchema: z.ZodObject<{
14596
+ tenantId: z.ZodString;
14597
+ projectId: z.ZodString;
14596
14598
  id: z.ZodString;
14597
14599
  name: z.ZodString;
14598
14600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14599
- projectId: z.ZodString;
14600
- tenantId: z.ZodString;
14601
14601
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14602
14602
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14603
14603
  component: string;
@@ -14709,7 +14709,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14709
14709
  mockData: Record<string, unknown>;
14710
14710
  }>>>>>>;
14711
14711
  }, z.core.$strip>;
14712
- declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
14712
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14713
14713
  dataComponentId: drizzle_orm_pg_core80.PgColumn<{
14714
14714
  name: "data_component_id";
14715
14715
  tableName: "sub_agent_data_components";
@@ -14841,7 +14841,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
14841
14841
  }, {}, {
14842
14842
  length: 256;
14843
14843
  }>;
14844
- }, drizzle_zod0.BuildRefine<{
14844
+ }, drizzle_zod3.BuildRefine<{
14845
14845
  dataComponentId: drizzle_orm_pg_core80.PgColumn<{
14846
14846
  name: "data_component_id";
14847
14847
  tableName: "sub_agent_data_components";
@@ -14974,7 +14974,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
14974
14974
  length: 256;
14975
14975
  }>;
14976
14976
  }, undefined>, undefined>;
14977
- declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
14977
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
14978
14978
  dataComponentId: drizzle_orm_pg_core80.PgColumn<{
14979
14979
  name: "data_component_id";
14980
14980
  tableName: "sub_agent_data_components";
@@ -15106,7 +15106,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
15106
15106
  }, {}, {
15107
15107
  length: 256;
15108
15108
  }>;
15109
- }, drizzle_zod0.BuildRefine<Pick<{
15109
+ }, drizzle_zod3.BuildRefine<Pick<{
15110
15110
  dataComponentId: drizzle_orm_pg_core80.PgColumn<{
15111
15111
  name: "data_component_id";
15112
15112
  tableName: "sub_agent_data_components";
@@ -15238,7 +15238,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
15238
15238
  }, {}, {
15239
15239
  length: 256;
15240
15240
  }>;
15241
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15241
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15242
15242
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15243
15243
  dataComponentId: z.ZodOptional<z.ZodString>;
15244
15244
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15274,7 +15274,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15274
15274
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15275
15275
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15276
15276
  }, z.core.$strip>;
15277
- declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
15277
+ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
15278
15278
  createdAt: drizzle_orm_pg_core80.PgColumn<{
15279
15279
  name: "created_at";
15280
15280
  tableName: "artifact_components";
@@ -15446,7 +15446,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select",
15446
15446
  }, {}, {
15447
15447
  length: 256;
15448
15448
  }>;
15449
- }, drizzle_zod0.BuildRefine<{
15449
+ }, drizzle_zod3.BuildRefine<{
15450
15450
  createdAt: drizzle_orm_pg_core80.PgColumn<{
15451
15451
  name: "created_at";
15452
15452
  tableName: "artifact_components";
@@ -15737,7 +15737,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15737
15737
  mockData: Record<string, unknown>;
15738
15738
  }>>>>>>;
15739
15739
  }, z.core.$strip>;
15740
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
15740
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
15741
15741
  artifactComponentId: drizzle_orm_pg_core80.PgColumn<{
15742
15742
  name: "artifact_component_id";
15743
15743
  tableName: "sub_agent_artifact_components";
@@ -15869,7 +15869,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"s
15869
15869
  }, {}, {
15870
15870
  length: 256;
15871
15871
  }>;
15872
- }, drizzle_zod0.BuildRefine<{
15872
+ }, drizzle_zod3.BuildRefine<{
15873
15873
  artifactComponentId: drizzle_orm_pg_core80.PgColumn<{
15874
15874
  name: "artifact_component_id";
15875
15875
  tableName: "sub_agent_artifact_components";
@@ -16117,28 +16117,18 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16117
16117
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16118
16118
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16119
16119
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16120
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16120
16121
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16121
16122
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16122
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16123
16123
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16124
16124
  }, z.core.$strip>;
16125
16125
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16126
16126
  id: z.ZodString;
16127
16127
  name: z.ZodString;
16128
16128
  description: z.ZodNullable<z.ZodString>;
16129
+ prompt: z.ZodNullable<z.ZodString>;
16129
16130
  createdAt: z.ZodString;
16130
16131
  updatedAt: z.ZodString;
16131
- stopWhen: z.ZodNullable<z.ZodType<{
16132
- stepCountIs?: number | undefined;
16133
- }, {
16134
- stepCountIs?: number | undefined;
16135
- }, z.core.$ZodTypeInternals<{
16136
- stepCountIs?: number | undefined;
16137
- }, {
16138
- stepCountIs?: number | undefined;
16139
- }>>>;
16140
- prompt: z.ZodNullable<z.ZodString>;
16141
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16142
16132
  models: z.ZodNullable<z.ZodType<{
16143
16133
  base?: {
16144
16134
  model?: string | undefined;
@@ -16192,18 +16182,28 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16192
16182
  providerOptions?: Record<string, any> | undefined;
16193
16183
  } | undefined;
16194
16184
  }>>>;
16185
+ stopWhen: z.ZodNullable<z.ZodType<{
16186
+ stepCountIs?: number | undefined;
16187
+ }, {
16188
+ stepCountIs?: number | undefined;
16189
+ }, z.core.$ZodTypeInternals<{
16190
+ stepCountIs?: number | undefined;
16191
+ }, {
16192
+ stepCountIs?: number | undefined;
16193
+ }>>>;
16194
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16195
16195
  type: z.ZodLiteral<"internal">;
16196
16196
  }, z.core.$strip>, z.ZodObject<{
16197
16197
  id: z.ZodString;
16198
16198
  name: z.ZodString;
16199
16199
  description: z.ZodNullable<z.ZodString>;
16200
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16200
16201
  createdAt: z.ZodString;
16201
16202
  updatedAt: z.ZodString;
16202
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16203
16203
  baseUrl: z.ZodString;
16204
16204
  type: z.ZodLiteral<"external">;
16205
16205
  }, z.core.$strip>], "type">;
16206
- declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
16206
+ declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
16207
16207
  createdAt: drizzle_orm_pg_core80.PgColumn<{
16208
16208
  name: "created_at";
16209
16209
  tableName: "api_keys";
@@ -16424,7 +16424,7 @@ declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
16424
16424
  }, {}, {
16425
16425
  length: 256;
16426
16426
  }>;
16427
- }, drizzle_zod0.BuildRefine<{
16427
+ }, drizzle_zod3.BuildRefine<{
16428
16428
  createdAt: drizzle_orm_pg_core80.PgColumn<{
16429
16429
  name: "created_at";
16430
16430
  tableName: "api_keys";
@@ -16665,10 +16665,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16665
16665
  }>;
16666
16666
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16667
16667
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16669
16668
  agentId: z.ZodOptional<z.ZodString>;
16670
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16671
16669
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16670
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16671
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16672
16672
  }, {
16673
16673
  out: {};
16674
16674
  in: {};
@@ -16676,13 +16676,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16676
16676
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16677
16677
  id: z.ZodString;
16678
16678
  name: z.ZodNullable<z.ZodString>;
16679
- createdAt: z.ZodString;
16680
- updatedAt: z.ZodString;
16681
16679
  agentId: z.ZodString;
16682
- expiresAt: z.ZodNullable<z.ZodString>;
16683
16680
  publicId: z.ZodString;
16684
16681
  keyPrefix: z.ZodString;
16685
16682
  lastUsedAt: z.ZodNullable<z.ZodString>;
16683
+ expiresAt: z.ZodNullable<z.ZodString>;
16684
+ createdAt: z.ZodString;
16685
+ updatedAt: z.ZodString;
16686
16686
  }, {
16687
16687
  out: {};
16688
16688
  in: {};
@@ -16692,13 +16692,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16692
16692
  apiKey: z.ZodObject<{
16693
16693
  id: z.ZodString;
16694
16694
  name: z.ZodNullable<z.ZodString>;
16695
- createdAt: z.ZodString;
16696
- updatedAt: z.ZodString;
16697
16695
  agentId: z.ZodString;
16698
- expiresAt: z.ZodNullable<z.ZodString>;
16699
16696
  publicId: z.ZodString;
16700
16697
  keyPrefix: z.ZodString;
16701
16698
  lastUsedAt: z.ZodNullable<z.ZodString>;
16699
+ expiresAt: z.ZodNullable<z.ZodString>;
16700
+ createdAt: z.ZodString;
16701
+ updatedAt: z.ZodString;
16702
16702
  }, {
16703
16703
  out: {};
16704
16704
  in: {};
@@ -16708,25 +16708,25 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16708
16708
  }, z.core.$strip>;
16709
16709
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16710
16710
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16711
- createdAt: z.ZodOptional<z.ZodString>;
16712
- updatedAt: z.ZodOptional<z.ZodString>;
16713
16711
  agentId: z.ZodString;
16714
16712
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16713
+ createdAt: z.ZodOptional<z.ZodString>;
16714
+ updatedAt: z.ZodOptional<z.ZodString>;
16715
16715
  }, {
16716
16716
  out: {};
16717
16717
  in: {};
16718
16718
  }>;
16719
16719
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16720
16720
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16721
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16722
16721
  agentId: z.ZodOptional<z.ZodString>;
16723
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16724
16722
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16723
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16724
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16725
16725
  }, {
16726
16726
  out: {};
16727
16727
  in: {};
16728
16728
  }>;
16729
- declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select", {
16729
+ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
16730
16730
  createdAt: drizzle_orm_pg_core80.PgColumn<{
16731
16731
  name: "created_at";
16732
16732
  tableName: "credential_references";
@@ -16951,7 +16951,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select"
16951
16951
  }, {}, {
16952
16952
  length: 256;
16953
16953
  }>;
16954
- }, drizzle_zod0.BuildRefine<{
16954
+ }, drizzle_zod3.BuildRefine<{
16955
16955
  createdAt: drizzle_orm_pg_core80.PgColumn<{
16956
16956
  name: "created_at";
16957
16957
  tableName: "credential_references";
@@ -17216,9 +17216,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17216
17216
  name: z.ZodString;
17217
17217
  createdAt: z.ZodString;
17218
17218
  updatedAt: z.ZodString;
17219
- userId: z.ZodNullable<z.ZodString>;
17220
17219
  credentialStoreId: z.ZodString;
17221
17220
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17221
+ userId: z.ZodNullable<z.ZodString>;
17222
17222
  toolId: z.ZodNullable<z.ZodString>;
17223
17223
  createdBy: z.ZodNullable<z.ZodString>;
17224
17224
  type: z.ZodEnum<{
@@ -17226,7 +17226,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17226
17226
  readonly keychain: "keychain";
17227
17227
  readonly nango: "nango";
17228
17228
  }>;
17229
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
17229
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
17230
17230
  createdAt: drizzle_orm_pg_core80.PgColumn<{
17231
17231
  name: "created_at";
17232
17232
  tableName: "tools";
@@ -17506,7 +17506,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17506
17506
  }, {}, {
17507
17507
  length: 256;
17508
17508
  }>;
17509
- }, drizzle_zod0.BuildRefine<{
17509
+ }, drizzle_zod3.BuildRefine<{
17510
17510
  createdAt: drizzle_orm_pg_core80.PgColumn<{
17511
17511
  name: "created_at";
17512
17512
  tableName: "tools";
@@ -17807,9 +17807,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17807
17807
  name: z.ZodString;
17808
17808
  createdAt: z.ZodOptional<z.ZodString>;
17809
17809
  updatedAt: z.ZodOptional<z.ZodString>;
17810
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17811
17810
  credentialStoreId: z.ZodString;
17812
17811
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17812
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17813
17813
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17814
17814
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17815
17815
  type: z.ZodEnum<{
@@ -17823,9 +17823,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17823
17823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17824
17824
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17825
17825
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17826
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17827
17826
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17828
17827
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17828
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17829
17829
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17830
17830
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17831
17831
  type: z.ZodOptional<z.ZodEnum<{
@@ -17953,8 +17953,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17953
17953
  id: z.ZodString;
17954
17954
  name: z.ZodString;
17955
17955
  expiresAt: z.ZodOptional<z.ZodString>;
17956
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17957
17956
  createdBy: z.ZodOptional<z.ZodString>;
17957
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17958
17958
  credentialScope: z.ZodOptional<z.ZodString>;
17959
17959
  imageUrl: z.ZodOptional<z.ZodString>;
17960
17960
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -17990,9 +17990,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17990
17990
  name: z.ZodString;
17991
17991
  createdAt: z.ZodOptional<z.ZodString>;
17992
17992
  updatedAt: z.ZodOptional<z.ZodString>;
17993
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17994
17993
  credentialStoreId: z.ZodString;
17995
17994
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17995
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17996
17996
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17997
17997
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17998
17998
  type: z.ZodEnum<{
@@ -18132,9 +18132,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18132
18132
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18133
18133
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18134
18134
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18135
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18136
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18137
- 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>>>>>>>;
18138
18135
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18139
18136
  type: z.ZodLiteral<"mcp">;
18140
18137
  mcp: z.ZodObject<{
@@ -18162,13 +18159,16 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18162
18159
  }, z.core.$strip>;
18163
18160
  }, z.core.$strip>>>;
18164
18161
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18162
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18163
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18164
+ 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>>>>>>>;
18165
18165
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18166
18166
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18167
18167
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
18168
18168
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18169
18169
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
18170
18170
  }, z.core.$strip>;
18171
- declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
18171
+ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
18172
18172
  createdAt: drizzle_orm_pg_core80.PgColumn<{
18173
18173
  name: "created_at";
18174
18174
  tableName: "function_tools";
@@ -18334,7 +18334,7 @@ declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
18334
18334
  }, {}, {
18335
18335
  length: 256;
18336
18336
  }>;
18337
- }, drizzle_zod0.BuildRefine<{
18337
+ }, drizzle_zod3.BuildRefine<{
18338
18338
  createdAt: drizzle_orm_pg_core80.PgColumn<{
18339
18339
  name: "created_at";
18340
18340
  tableName: "function_tools";
@@ -18533,9 +18533,9 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
18533
18533
  id: z.ZodString;
18534
18534
  name: z.ZodString;
18535
18535
  description: z.ZodNullable<z.ZodString>;
18536
+ agentId: z.ZodString;
18536
18537
  createdAt: z.ZodString;
18537
18538
  updatedAt: z.ZodString;
18538
- agentId: z.ZodString;
18539
18539
  functionId: z.ZodString;
18540
18540
  relationshipId: z.ZodOptional<z.ZodString>;
18541
18541
  }, z.core.$strip>;
@@ -18554,12 +18554,12 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18554
18554
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18555
18555
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18556
18556
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18557
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18557
18558
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18558
18559
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18559
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18560
18560
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18561
18561
  }, z.core.$strip>;
18562
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
18562
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
18563
18563
  createdAt: drizzle_orm_pg_core80.PgColumn<{
18564
18564
  name: "created_at";
18565
18565
  tableName: "sub_agent_function_tool_relations";
@@ -18731,7 +18731,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
18731
18731
  }, {}, {
18732
18732
  length: 256;
18733
18733
  }>;
18734
- }, drizzle_zod0.BuildRefine<{
18734
+ }, drizzle_zod3.BuildRefine<{
18735
18735
  createdAt: drizzle_orm_pg_core80.PgColumn<{
18736
18736
  name: "created_at";
18737
18737
  tableName: "sub_agent_function_tool_relations";
@@ -18907,7 +18907,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
18907
18907
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
18908
18908
  createdAt: z.ZodOptional<z.ZodString>;
18909
18909
  updatedAt: z.ZodOptional<z.ZodString>;
18910
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
18910
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
18911
18911
  agentId: z.ZodString;
18912
18912
  projectId: z.ZodString;
18913
18913
  tenantId: z.ZodString;
@@ -18922,7 +18922,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18922
18922
  createdAt: z.ZodString;
18923
18923
  updatedAt: z.ZodString;
18924
18924
  functionToolId: z.ZodString;
18925
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
18925
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
18926
18926
  subAgentId: z.ZodString;
18927
18927
  agentId: z.ZodString;
18928
18928
  projectId: z.ZodString;
@@ -18930,14 +18930,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18930
18930
  id: z.ZodString;
18931
18931
  }>, z.core.$strip>;
18932
18932
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18933
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
18933
18934
  subAgentId: z.ZodString;
18934
18935
  functionToolId: z.ZodString;
18935
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
18936
18936
  }, {
18937
18937
  out: {};
18938
18938
  in: {};
18939
18939
  }>;
18940
- declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
18940
+ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
18941
18941
  createdAt: drizzle_orm_pg_core80.PgColumn<{
18942
18942
  name: "created_at";
18943
18943
  tableName: "functions";
@@ -19084,7 +19084,7 @@ declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
19084
19084
  }, {}, {
19085
19085
  length: 256;
19086
19086
  }>;
19087
- }, drizzle_zod0.BuildRefine<{
19087
+ }, drizzle_zod3.BuildRefine<{
19088
19088
  createdAt: drizzle_orm_pg_core80.PgColumn<{
19089
19089
  name: "created_at";
19090
19090
  tableName: "functions";
@@ -19328,9 +19328,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19328
19328
  name: z.ZodString;
19329
19329
  createdAt: z.ZodOptional<z.ZodString>;
19330
19330
  updatedAt: z.ZodOptional<z.ZodString>;
19331
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19332
19331
  credentialStoreId: z.ZodString;
19333
19332
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19333
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19334
19334
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19335
19335
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19336
19336
  type: z.ZodEnum<{
@@ -19354,9 +19354,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19354
19354
  in: {};
19355
19355
  }>;
19356
19356
  declare const ContextConfigInsertSchema: z.ZodObject<{
19357
- id: z.ZodOptional<z.ZodString>;
19358
- projectId: z.ZodString;
19359
19357
  tenantId: z.ZodString;
19358
+ projectId: z.ZodString;
19359
+ id: z.ZodOptional<z.ZodString>;
19360
19360
  agentId: z.ZodString;
19361
19361
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19362
19362
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -19365,9 +19365,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
19365
19365
  in: {};
19366
19366
  }>;
19367
19367
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19368
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19369
- projectId: z.ZodOptional<z.ZodString>;
19370
19368
  tenantId: z.ZodOptional<z.ZodString>;
19369
+ projectId: z.ZodOptional<z.ZodString>;
19370
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19371
19371
  agentId: z.ZodOptional<z.ZodString>;
19372
19372
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19373
19373
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
@@ -19392,7 +19392,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19392
19392
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19393
19393
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19394
19394
  }, z.core.$strip>;
19395
- declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
19395
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
19396
19396
  createdAt: drizzle_orm_pg_core80.PgColumn<{
19397
19397
  name: "created_at";
19398
19398
  tableName: "sub_agent_tool_relations";
@@ -19602,7 +19602,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select
19602
19602
  }, {}, {
19603
19603
  length: 256;
19604
19604
  }>;
19605
- }, drizzle_zod0.BuildRefine<{
19605
+ }, drizzle_zod3.BuildRefine<{
19606
19606
  createdAt: drizzle_orm_pg_core80.PgColumn<{
19607
19607
  name: "created_at";
19608
19608
  tableName: "sub_agent_tool_relations";
@@ -19853,9 +19853,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19853
19853
  createdAt: z.ZodString;
19854
19854
  updatedAt: z.ZodString;
19855
19855
  toolId: z.ZodString;
19856
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19857
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19858
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
19856
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19857
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19858
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
19859
19859
  subAgentId: z.ZodString;
19860
19860
  agentId: z.ZodString;
19861
19861
  projectId: z.ZodString;
@@ -19881,15 +19881,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19881
19881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19882
19882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19883
19883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19884
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19885
19884
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19886
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19885
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19887
19886
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19888
19887
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19889
19888
  }, z.core.$strip>>>>>>;
19889
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19890
19890
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19891
19891
  }, z.core.$strip>;
19892
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
19892
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
19893
19893
  createdAt: drizzle_orm_pg_core80.PgColumn<{
19894
19894
  name: "created_at";
19895
19895
  tableName: "sub_agent_external_agent_relations";
@@ -20057,7 +20057,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchem
20057
20057
  }, {}, {
20058
20058
  length: 256;
20059
20059
  }>;
20060
- }, drizzle_zod0.BuildRefine<{
20060
+ }, drizzle_zod3.BuildRefine<{
20061
20061
  createdAt: drizzle_orm_pg_core80.PgColumn<{
20062
20062
  name: "created_at";
20063
20063
  tableName: "sub_agent_external_agent_relations";
@@ -20258,7 +20258,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20258
20258
  createdAt: z.ZodString;
20259
20259
  updatedAt: z.ZodString;
20260
20260
  externalAgentId: z.ZodString;
20261
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
20261
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
20262
20262
  subAgentId: z.ZodString;
20263
20263
  agentId: z.ZodString;
20264
20264
  projectId: z.ZodString;
@@ -20276,10 +20276,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20276
20276
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20277
20277
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20278
20278
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20279
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20280
20279
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20280
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20281
20281
  }, z.core.$strip>;
20282
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
20282
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
20283
20283
  createdAt: drizzle_orm_pg_core80.PgColumn<{
20284
20284
  name: "created_at";
20285
20285
  tableName: "sub_agent_team_agent_relations";
@@ -20447,7 +20447,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"s
20447
20447
  }, {}, {
20448
20448
  length: 256;
20449
20449
  }>;
20450
- }, drizzle_zod0.BuildRefine<{
20450
+ }, drizzle_zod3.BuildRefine<{
20451
20451
  createdAt: drizzle_orm_pg_core80.PgColumn<{
20452
20452
  name: "created_at";
20453
20453
  tableName: "sub_agent_team_agent_relations";
@@ -20648,7 +20648,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20648
20648
  createdAt: z.ZodString;
20649
20649
  updatedAt: z.ZodString;
20650
20650
  targetAgentId: z.ZodString;
20651
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
20651
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
20652
20652
  subAgentId: z.ZodString;
20653
20653
  agentId: z.ZodString;
20654
20654
  projectId: z.ZodString;
@@ -20669,7 +20669,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20669
20669
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20670
20670
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20671
20671
  }, z.core.$strip>;
20672
- declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
20672
+ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
20673
20673
  createdAt: drizzle_orm_pg_core80.PgColumn<{
20674
20674
  name: "created_at";
20675
20675
  tableName: "ledger_artifacts";
@@ -21004,7 +21004,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
21004
21004
  }, {}, {
21005
21005
  length: 256;
21006
21006
  }>;
21007
- }, drizzle_zod0.BuildRefine<{
21007
+ }, drizzle_zod3.BuildRefine<{
21008
21008
  createdAt: drizzle_orm_pg_core80.PgColumn<{
21009
21009
  name: "created_at";
21010
21010
  tableName: "ledger_artifacts";
@@ -21340,7 +21340,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
21340
21340
  length: 256;
21341
21341
  }>;
21342
21342
  }, undefined>, undefined>;
21343
- declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
21343
+ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
21344
21344
  createdAt: drizzle_orm_pg_core80.PgColumn<{
21345
21345
  name: "created_at";
21346
21346
  tableName: "ledger_artifacts";
@@ -21675,7 +21675,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
21675
21675
  }, {}, {
21676
21676
  length: 256;
21677
21677
  }>;
21678
- }, drizzle_zod0.BuildRefine<Pick<{
21678
+ }, drizzle_zod3.BuildRefine<Pick<{
21679
21679
  createdAt: drizzle_orm_pg_core80.PgColumn<{
21680
21680
  name: "created_at";
21681
21681
  tableName: "ledger_artifacts";
@@ -22010,7 +22010,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
22010
22010
  }, {}, {
22011
22011
  length: 256;
22012
22012
  }>;
22013
- }, "type" | "id" | "taskId" | "toolCallId" | "name" | "contextId" | "description" | "parts" | "metadata" | "summary" | "mime" | "visibility" | "allowedAgents" | "derivedFrom" | "createdAt" | "updatedAt" | "projectId" | "tenantId">, undefined>, undefined>;
22013
+ }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22014
22014
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22015
22015
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22016
22016
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -22020,12 +22020,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22020
22020
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22021
22021
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22022
22022
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22023
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
22024
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
22023
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
22024
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
22025
22025
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22026
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
22026
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
22027
22027
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22028
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
22028
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
22029
22029
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22030
22030
  projectId: z.ZodOptional<z.ZodString>;
22031
22031
  tenantId: z.ZodOptional<z.ZodString>;
@@ -22043,12 +22043,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
22043
22043
  type: z.ZodString;
22044
22044
  name: z.ZodNullable<z.ZodString>;
22045
22045
  description: z.ZodNullable<z.ZodString>;
22046
- parts: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22047
- metadata: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22046
+ parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22047
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22048
22048
  summary: z.ZodNullable<z.ZodString>;
22049
- mime: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22049
+ mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22050
22050
  visibility: z.ZodNullable<z.ZodString>;
22051
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22051
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22052
22052
  derivedFrom: z.ZodNullable<z.ZodString>;
22053
22053
  projectId: z.ZodString;
22054
22054
  tenantId: z.ZodString;
@@ -22063,34 +22063,34 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
22063
22063
  type: z.ZodOptional<z.ZodString>;
22064
22064
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22065
22065
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22066
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22067
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22066
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22067
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22068
22068
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22069
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22069
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22070
22070
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22071
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22071
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22072
22072
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22073
22073
  projectId: z.ZodString;
22074
22074
  tenantId: z.ZodString;
22075
22075
  id: z.ZodString;
22076
22076
  }>, z.core.$strip>;
22077
22077
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
22078
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22079
22078
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22080
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22081
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22079
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22082
22080
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22083
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22084
22081
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22085
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
22086
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
22087
- summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22088
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
22089
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22090
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
22091
- derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22092
22082
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22093
22083
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22084
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
22085
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22086
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22087
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22088
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22089
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
22090
+ summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22091
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
22092
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
22093
+ derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22094
22094
  }, z.core.$strip>;
22095
22095
  declare const StatusComponentSchema: z.ZodObject<{
22096
22096
  type: z.ZodString;
@@ -22160,16 +22160,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22160
22160
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22161
22161
  createdAt: z.ZodOptional<z.ZodString>;
22162
22162
  updatedAt: z.ZodOptional<z.ZodString>;
22163
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22164
- stepCountIs?: number | undefined;
22165
- }, {
22166
- stepCountIs?: number | undefined;
22167
- }, z.core.$ZodTypeInternals<{
22168
- stepCountIs?: number | undefined;
22169
- }, {
22170
- stepCountIs?: number | undefined;
22171
- }>>>>;
22172
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22173
22163
  models: z.ZodOptional<z.ZodObject<{
22174
22164
  base: z.ZodOptional<z.ZodObject<{
22175
22165
  model: z.ZodOptional<z.ZodString>;
@@ -22184,6 +22174,16 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22184
22174
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22185
22175
  }, z.core.$strip>>;
22186
22176
  }, z.core.$strip>>;
22177
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22178
+ stepCountIs?: number | undefined;
22179
+ }, {
22180
+ stepCountIs?: number | undefined;
22181
+ }, z.core.$ZodTypeInternals<{
22182
+ stepCountIs?: number | undefined;
22183
+ }, {
22184
+ stepCountIs?: number | undefined;
22185
+ }>>>>;
22186
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22187
22187
  type: z.ZodLiteral<"internal">;
22188
22188
  canUse: z.ZodArray<z.ZodObject<{
22189
22189
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22222,16 +22222,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22222
22222
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22223
22223
  createdAt: z.ZodOptional<z.ZodString>;
22224
22224
  updatedAt: z.ZodOptional<z.ZodString>;
22225
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22226
- stepCountIs?: number | undefined;
22227
- }, {
22228
- stepCountIs?: number | undefined;
22229
- }, z.core.$ZodTypeInternals<{
22230
- stepCountIs?: number | undefined;
22231
- }, {
22232
- stepCountIs?: number | undefined;
22233
- }>>>>;
22234
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22235
22225
  models: z.ZodOptional<z.ZodObject<{
22236
22226
  base: z.ZodOptional<z.ZodObject<{
22237
22227
  model: z.ZodOptional<z.ZodString>;
@@ -22246,12 +22236,22 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22246
22236
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22247
22237
  }, z.core.$strip>>;
22248
22238
  }, z.core.$strip>>;
22249
- type: z.ZodLiteral<"internal">;
22250
- canUse: z.ZodArray<z.ZodObject<{
22251
- agentToolRelationId: z.ZodOptional<z.ZodString>;
22252
- toolId: z.ZodString;
22253
- toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22254
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22239
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22240
+ stepCountIs?: number | undefined;
22241
+ }, {
22242
+ stepCountIs?: number | undefined;
22243
+ }, z.core.$ZodTypeInternals<{
22244
+ stepCountIs?: number | undefined;
22245
+ }, {
22246
+ stepCountIs?: number | undefined;
22247
+ }>>>>;
22248
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22249
+ type: z.ZodLiteral<"internal">;
22250
+ canUse: z.ZodArray<z.ZodObject<{
22251
+ agentToolRelationId: z.ZodOptional<z.ZodString>;
22252
+ toolId: z.ZodString;
22253
+ toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22254
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22255
22255
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22256
22256
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22257
22257
  }, z.core.$strip>>>>;
@@ -22352,13 +22352,13 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22352
22352
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22353
22353
  createdAt: z.ZodOptional<z.ZodString>;
22354
22354
  updatedAt: z.ZodOptional<z.ZodString>;
22355
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22356
22355
  enabled: z.ZodOptional<z.ZodBoolean>;
22357
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22356
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22357
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22358
22358
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22359
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22359
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22360
22360
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22361
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22361
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22362
22362
  id: z.ZodOptional<z.ZodString>;
22363
22363
  }, z.core.$strip>>>;
22364
22364
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22460,14 +22460,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
22460
22460
  in: {};
22461
22461
  }>;
22462
22462
  declare const ProjectInsertSchema: z.ZodObject<{
22463
+ tenantId: z.ZodString;
22463
22464
  id: z.ZodString;
22464
22465
  name: z.ZodString;
22465
22466
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22466
- tenantId: z.ZodString;
22467
- stopWhen: z.ZodOptional<z.ZodObject<{
22468
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22469
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22470
- }, z.core.$strip>>;
22471
22467
  models: z.ZodObject<{
22472
22468
  base: z.ZodObject<{
22473
22469
  model: z.ZodOptional<z.ZodString>;
@@ -22482,6 +22478,10 @@ declare const ProjectInsertSchema: z.ZodObject<{
22482
22478
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22483
22479
  }, z.core.$strip>>;
22484
22480
  }, z.core.$strip>;
22481
+ stopWhen: z.ZodOptional<z.ZodObject<{
22482
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22483
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22484
+ }, z.core.$strip>>;
22485
22485
  }, {
22486
22486
  out: {};
22487
22487
  in: {};
@@ -22489,10 +22489,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
22489
22489
  declare const ProjectUpdateSchema: z.ZodObject<{
22490
22490
  name: z.ZodOptional<z.ZodString>;
22491
22491
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22492
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22493
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22494
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22495
- }, z.core.$strip>>>;
22496
22492
  models: z.ZodOptional<z.ZodObject<{
22497
22493
  base: z.ZodObject<{
22498
22494
  model: z.ZodOptional<z.ZodString>;
@@ -22507,6 +22503,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22507
22503
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22508
22504
  }, z.core.$strip>>;
22509
22505
  }, z.core.$strip>>;
22506
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22507
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22508
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22509
+ }, z.core.$strip>>>;
22510
22510
  }, {
22511
22511
  out: {};
22512
22512
  in: {};
@@ -22517,10 +22517,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22517
22517
  description: z.ZodNullable<z.ZodString>;
22518
22518
  createdAt: z.ZodString;
22519
22519
  updatedAt: z.ZodString;
22520
- stopWhen: z.ZodNullable<z.ZodObject<{
22521
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22522
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22523
- }, z.core.$strip>>;
22524
22520
  models: z.ZodNullable<z.ZodObject<{
22525
22521
  base: z.ZodObject<{
22526
22522
  model: z.ZodOptional<z.ZodString>;
@@ -22535,6 +22531,10 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22535
22531
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22536
22532
  }, z.core.$strip>>;
22537
22533
  }, z.core.$strip>>;
22534
+ stopWhen: z.ZodNullable<z.ZodObject<{
22535
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22536
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22537
+ }, z.core.$strip>>;
22538
22538
  }, {
22539
22539
  out: {};
22540
22540
  in: {};
@@ -22543,10 +22543,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22543
22543
  id: z.ZodString;
22544
22544
  name: z.ZodString;
22545
22545
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22546
- stopWhen: z.ZodOptional<z.ZodObject<{
22547
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22548
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22549
- }, z.core.$strip>>;
22550
22546
  models: z.ZodObject<{
22551
22547
  base: z.ZodObject<{
22552
22548
  model: z.ZodOptional<z.ZodString>;
@@ -22561,6 +22557,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22561
22557
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22562
22558
  }, z.core.$strip>>;
22563
22559
  }, z.core.$strip>;
22560
+ stopWhen: z.ZodOptional<z.ZodObject<{
22561
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22562
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22563
+ }, z.core.$strip>>;
22564
22564
  }, {
22565
22565
  out: {};
22566
22566
  in: {};
@@ -22568,10 +22568,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22568
22568
  declare const ProjectApiUpdateSchema: z.ZodObject<{
22569
22569
  name: z.ZodOptional<z.ZodString>;
22570
22570
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22571
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22572
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22573
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22574
- }, z.core.$strip>>>;
22575
22571
  models: z.ZodOptional<z.ZodObject<{
22576
22572
  base: z.ZodObject<{
22577
22573
  model: z.ZodOptional<z.ZodString>;
@@ -22586,6 +22582,10 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
22586
22582
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22587
22583
  }, z.core.$strip>>;
22588
22584
  }, z.core.$strip>>;
22585
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22586
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22587
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22588
+ }, z.core.$strip>>>;
22589
22589
  }, {
22590
22590
  out: {};
22591
22591
  in: {};
@@ -22594,10 +22594,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22594
22594
  id: z.ZodString;
22595
22595
  name: z.ZodString;
22596
22596
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22597
- stopWhen: z.ZodOptional<z.ZodObject<{
22598
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22599
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22600
- }, z.core.$strip>>;
22601
22597
  models: z.ZodObject<{
22602
22598
  base: z.ZodObject<{
22603
22599
  model: z.ZodOptional<z.ZodString>;
@@ -22612,6 +22608,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22612
22608
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22613
22609
  }, z.core.$strip>>;
22614
22610
  }, z.core.$strip>;
22611
+ stopWhen: z.ZodOptional<z.ZodObject<{
22612
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22613
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22614
+ }, z.core.$strip>>;
22615
22615
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22616
22616
  name: z.ZodString;
22617
22617
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22626,16 +22626,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22626
22626
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22627
22627
  createdAt: z.ZodOptional<z.ZodString>;
22628
22628
  updatedAt: z.ZodOptional<z.ZodString>;
22629
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22630
- stepCountIs?: number | undefined;
22631
- }, {
22632
- stepCountIs?: number | undefined;
22633
- }, z.core.$ZodTypeInternals<{
22634
- stepCountIs?: number | undefined;
22635
- }, {
22636
- stepCountIs?: number | undefined;
22637
- }>>>>;
22638
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22639
22629
  models: z.ZodOptional<z.ZodObject<{
22640
22630
  base: z.ZodOptional<z.ZodObject<{
22641
22631
  model: z.ZodOptional<z.ZodString>;
@@ -22650,6 +22640,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22650
22640
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22651
22641
  }, z.core.$strip>>;
22652
22642
  }, z.core.$strip>>;
22643
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22644
+ stepCountIs?: number | undefined;
22645
+ }, {
22646
+ stepCountIs?: number | undefined;
22647
+ }, z.core.$ZodTypeInternals<{
22648
+ stepCountIs?: number | undefined;
22649
+ }, {
22650
+ stepCountIs?: number | undefined;
22651
+ }>>>>;
22652
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22653
22653
  type: z.ZodLiteral<"internal">;
22654
22654
  canUse: z.ZodArray<z.ZodObject<{
22655
22655
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22756,13 +22756,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22756
22756
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22757
22757
  createdAt: z.ZodOptional<z.ZodString>;
22758
22758
  updatedAt: z.ZodOptional<z.ZodString>;
22759
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22760
22759
  enabled: z.ZodOptional<z.ZodBoolean>;
22761
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22760
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22761
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22762
22762
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22763
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22763
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22764
22764
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22765
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
22765
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22766
22766
  id: z.ZodOptional<z.ZodString>;
22767
22767
  }, z.core.$strip>>>;
22768
22768
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22941,9 +22941,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22941
22941
  name: z.ZodString;
22942
22942
  createdAt: z.ZodOptional<z.ZodString>;
22943
22943
  updatedAt: z.ZodOptional<z.ZodString>;
22944
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22945
22944
  credentialStoreId: z.ZodString;
22946
22945
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22946
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22947
22947
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22948
22948
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22949
22949
  type: z.ZodEnum<{
@@ -22964,16 +22964,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22964
22964
  description: z.ZodNullable<z.ZodString>;
22965
22965
  createdAt: z.ZodString;
22966
22966
  updatedAt: z.ZodString;
22967
- stopWhen: z.ZodNullable<z.ZodType<{
22968
- stepCountIs?: number | undefined;
22969
- }, {
22970
- stepCountIs?: number | undefined;
22971
- }, z.core.$ZodTypeInternals<{
22972
- stepCountIs?: number | undefined;
22973
- }, {
22974
- stepCountIs?: number | undefined;
22975
- }>>>;
22976
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22977
22967
  models: z.ZodNullable<z.ZodType<{
22978
22968
  base?: {
22979
22969
  model?: string | undefined;
@@ -23027,6 +23017,16 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
23027
23017
  providerOptions?: Record<string, any> | undefined;
23028
23018
  } | undefined;
23029
23019
  }>>>;
23020
+ stopWhen: z.ZodNullable<z.ZodType<{
23021
+ stepCountIs?: number | undefined;
23022
+ }, {
23023
+ stepCountIs?: number | undefined;
23024
+ }, z.core.$ZodTypeInternals<{
23025
+ stepCountIs?: number | undefined;
23026
+ }, {
23027
+ stepCountIs?: number | undefined;
23028
+ }>>>;
23029
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23030
23030
  type: z.ZodLiteral<"internal">;
23031
23031
  canUse: z.ZodArray<z.ZodObject<{
23032
23032
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23057,16 +23057,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23057
23057
  description: z.ZodNullable<z.ZodString>;
23058
23058
  createdAt: z.ZodString;
23059
23059
  updatedAt: z.ZodString;
23060
- stopWhen: z.ZodNullable<z.ZodType<{
23061
- stepCountIs?: number | undefined;
23062
- }, {
23063
- stepCountIs?: number | undefined;
23064
- }, z.core.$ZodTypeInternals<{
23065
- stepCountIs?: number | undefined;
23066
- }, {
23067
- stepCountIs?: number | undefined;
23068
- }>>>;
23069
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23070
23060
  models: z.ZodNullable<z.ZodType<{
23071
23061
  base?: {
23072
23062
  model?: string | undefined;
@@ -23120,6 +23110,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23120
23110
  providerOptions?: Record<string, any> | undefined;
23121
23111
  } | undefined;
23122
23112
  }>>>;
23113
+ stopWhen: z.ZodNullable<z.ZodType<{
23114
+ stepCountIs?: number | undefined;
23115
+ }, {
23116
+ stepCountIs?: number | undefined;
23117
+ }, z.core.$ZodTypeInternals<{
23118
+ stepCountIs?: number | undefined;
23119
+ }, {
23120
+ stepCountIs?: number | undefined;
23121
+ }>>>;
23122
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23123
23123
  type: z.ZodLiteral<"internal">;
23124
23124
  canUse: z.ZodArray<z.ZodObject<{
23125
23125
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23164,16 +23164,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23164
23164
  description: z.ZodNullable<z.ZodString>;
23165
23165
  createdAt: z.ZodString;
23166
23166
  updatedAt: z.ZodString;
23167
- stopWhen: z.ZodNullable<z.ZodType<{
23168
- stepCountIs?: number | undefined;
23169
- }, {
23170
- stepCountIs?: number | undefined;
23171
- }, z.core.$ZodTypeInternals<{
23172
- stepCountIs?: number | undefined;
23173
- }, {
23174
- stepCountIs?: number | undefined;
23175
- }>>>;
23176
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23177
23167
  models: z.ZodNullable<z.ZodType<{
23178
23168
  base?: {
23179
23169
  model?: string | undefined;
@@ -23227,6 +23217,16 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23227
23217
  providerOptions?: Record<string, any> | undefined;
23228
23218
  } | undefined;
23229
23219
  }>>>;
23220
+ stopWhen: z.ZodNullable<z.ZodType<{
23221
+ stepCountIs?: number | undefined;
23222
+ }, {
23223
+ stepCountIs?: number | undefined;
23224
+ }, z.core.$ZodTypeInternals<{
23225
+ stepCountIs?: number | undefined;
23226
+ }, {
23227
+ stepCountIs?: number | undefined;
23228
+ }>>>;
23229
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23230
23230
  type: z.ZodLiteral<"internal">;
23231
23231
  canUse: z.ZodArray<z.ZodObject<{
23232
23232
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23300,9 +23300,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23300
23300
  id: z.ZodString;
23301
23301
  name: z.ZodString;
23302
23302
  description: z.ZodNullable<z.ZodString>;
23303
+ agentId: z.ZodString;
23303
23304
  createdAt: z.ZodString;
23304
23305
  updatedAt: z.ZodString;
23305
- agentId: z.ZodString;
23306
23306
  functionId: z.ZodString;
23307
23307
  relationshipId: z.ZodOptional<z.ZodString>;
23308
23308
  }, z.core.$strip>>>;
@@ -23414,9 +23414,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23414
23414
  id: z.ZodString;
23415
23415
  name: z.ZodString;
23416
23416
  description: z.ZodNullable<z.ZodString>;
23417
+ agentId: z.ZodString;
23417
23418
  createdAt: z.ZodString;
23418
23419
  updatedAt: z.ZodString;
23419
- agentId: z.ZodString;
23420
23420
  functionId: z.ZodString;
23421
23421
  relationshipId: z.ZodOptional<z.ZodString>;
23422
23422
  }, z.core.$strip>>>;
@@ -23476,16 +23476,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23476
23476
  description: z.ZodNullable<z.ZodString>;
23477
23477
  createdAt: z.ZodString;
23478
23478
  updatedAt: z.ZodString;
23479
- stopWhen: z.ZodNullable<z.ZodType<{
23480
- stepCountIs?: number | undefined;
23481
- }, {
23482
- stepCountIs?: number | undefined;
23483
- }, z.core.$ZodTypeInternals<{
23484
- stepCountIs?: number | undefined;
23485
- }, {
23486
- stepCountIs?: number | undefined;
23487
- }>>>;
23488
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23489
23479
  models: z.ZodNullable<z.ZodType<{
23490
23480
  base?: {
23491
23481
  model?: string | undefined;
@@ -23539,6 +23529,16 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23539
23529
  providerOptions?: Record<string, any> | undefined;
23540
23530
  } | undefined;
23541
23531
  }>>>;
23532
+ stopWhen: z.ZodNullable<z.ZodType<{
23533
+ stepCountIs?: number | undefined;
23534
+ }, {
23535
+ stepCountIs?: number | undefined;
23536
+ }, z.core.$ZodTypeInternals<{
23537
+ stepCountIs?: number | undefined;
23538
+ }, {
23539
+ stepCountIs?: number | undefined;
23540
+ }>>>;
23541
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23542
23542
  type: z.ZodLiteral<"internal">;
23543
23543
  canUse: z.ZodArray<z.ZodObject<{
23544
23544
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23576,10 +23576,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23576
23576
  description: z.ZodNullable<z.ZodString>;
23577
23577
  createdAt: z.ZodString;
23578
23578
  updatedAt: z.ZodString;
23579
- stopWhen: z.ZodNullable<z.ZodObject<{
23580
- transferCountIs: z.ZodOptional<z.ZodNumber>;
23581
- stepCountIs: z.ZodOptional<z.ZodNumber>;
23582
- }, z.core.$strip>>;
23583
23579
  models: z.ZodNullable<z.ZodObject<{
23584
23580
  base: z.ZodObject<{
23585
23581
  model: z.ZodOptional<z.ZodString>;
@@ -23594,6 +23590,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23594
23590
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23595
23591
  }, z.core.$strip>>;
23596
23592
  }, z.core.$strip>>;
23593
+ stopWhen: z.ZodNullable<z.ZodObject<{
23594
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
23595
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
23596
+ }, z.core.$strip>>;
23597
23597
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23598
23598
  id: z.ZodString;
23599
23599
  name: z.ZodString;
@@ -23608,16 +23608,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23608
23608
  description: z.ZodNullable<z.ZodString>;
23609
23609
  createdAt: z.ZodString;
23610
23610
  updatedAt: z.ZodString;
23611
- stopWhen: z.ZodNullable<z.ZodType<{
23612
- stepCountIs?: number | undefined;
23613
- }, {
23614
- stepCountIs?: number | undefined;
23615
- }, z.core.$ZodTypeInternals<{
23616
- stepCountIs?: number | undefined;
23617
- }, {
23618
- stepCountIs?: number | undefined;
23619
- }>>>;
23620
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23621
23611
  models: z.ZodNullable<z.ZodType<{
23622
23612
  base?: {
23623
23613
  model?: string | undefined;
@@ -23671,6 +23661,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23671
23661
  providerOptions?: Record<string, any> | undefined;
23672
23662
  } | undefined;
23673
23663
  }>>>;
23664
+ stopWhen: z.ZodNullable<z.ZodType<{
23665
+ stepCountIs?: number | undefined;
23666
+ }, {
23667
+ stepCountIs?: number | undefined;
23668
+ }, z.core.$ZodTypeInternals<{
23669
+ stepCountIs?: number | undefined;
23670
+ }, {
23671
+ stepCountIs?: number | undefined;
23672
+ }>>>;
23673
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23674
23674
  type: z.ZodLiteral<"internal">;
23675
23675
  canUse: z.ZodArray<z.ZodObject<{
23676
23676
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23744,9 +23744,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23744
23744
  id: z.ZodString;
23745
23745
  name: z.ZodString;
23746
23746
  description: z.ZodNullable<z.ZodString>;
23747
+ agentId: z.ZodString;
23747
23748
  createdAt: z.ZodString;
23748
23749
  updatedAt: z.ZodString;
23749
- agentId: z.ZodString;
23750
23750
  functionId: z.ZodString;
23751
23751
  relationshipId: z.ZodOptional<z.ZodString>;
23752
23752
  }, z.core.$strip>>>;
@@ -23834,9 +23834,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23834
23834
  id: z.ZodString;
23835
23835
  name: z.ZodString;
23836
23836
  description: z.ZodNullable<z.ZodString>;
23837
+ agentId: z.ZodString;
23837
23838
  createdAt: z.ZodString;
23838
23839
  updatedAt: z.ZodString;
23839
- agentId: z.ZodString;
23840
23840
  functionId: z.ZodString;
23841
23841
  relationshipId: z.ZodOptional<z.ZodString>;
23842
23842
  }, z.core.$strip>>>;
@@ -23927,9 +23927,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23927
23927
  name: z.ZodString;
23928
23928
  createdAt: z.ZodString;
23929
23929
  updatedAt: z.ZodString;
23930
- userId: z.ZodNullable<z.ZodString>;
23931
23930
  credentialStoreId: z.ZodString;
23932
23931
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23932
+ userId: z.ZodNullable<z.ZodString>;
23933
23933
  toolId: z.ZodNullable<z.ZodString>;
23934
23934
  createdBy: z.ZodNullable<z.ZodString>;
23935
23935
  type: z.ZodEnum<{
@@ -23937,7 +23937,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23937
23937
  readonly keychain: "keychain";
23938
23938
  readonly nango: "nango";
23939
23939
  }>;
23940
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
23940
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
23941
23941
  createdAt: drizzle_orm_pg_core80.PgColumn<{
23942
23942
  name: "created_at";
23943
23943
  tableName: "tools";
@@ -24217,7 +24217,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24217
24217
  }, {}, {
24218
24218
  length: 256;
24219
24219
  }>;
24220
- }, drizzle_zod0.BuildRefine<{
24220
+ }, drizzle_zod3.BuildRefine<{
24221
24221
  createdAt: drizzle_orm_pg_core80.PgColumn<{
24222
24222
  name: "created_at";
24223
24223
  tableName: "tools";
@@ -24523,10 +24523,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24523
24523
  description: z.ZodNullable<z.ZodString>;
24524
24524
  createdAt: z.ZodString;
24525
24525
  updatedAt: z.ZodString;
24526
- stopWhen: z.ZodNullable<z.ZodObject<{
24527
- transferCountIs: z.ZodOptional<z.ZodNumber>;
24528
- stepCountIs: z.ZodOptional<z.ZodNumber>;
24529
- }, z.core.$strip>>;
24530
24526
  models: z.ZodNullable<z.ZodObject<{
24531
24527
  base: z.ZodObject<{
24532
24528
  model: z.ZodOptional<z.ZodString>;
@@ -24541,6 +24537,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24541
24537
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24542
24538
  }, z.core.$strip>>;
24543
24539
  }, z.core.$strip>>;
24540
+ stopWhen: z.ZodNullable<z.ZodObject<{
24541
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
24542
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
24543
+ }, z.core.$strip>>;
24544
24544
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24545
24545
  createdAt: z.ZodString;
24546
24546
  updatedAt: z.ZodString;
@@ -24574,9 +24574,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24574
24574
  id: z.ZodString;
24575
24575
  name: z.ZodString;
24576
24576
  description: z.ZodNullable<z.ZodString>;
24577
+ agentId: z.ZodString;
24577
24578
  createdAt: z.ZodString;
24578
24579
  updatedAt: z.ZodString;
24579
- agentId: z.ZodString;
24580
24580
  functionId: z.ZodString;
24581
24581
  relationshipId: z.ZodOptional<z.ZodString>;
24582
24582
  }, z.core.$strip>>>;
@@ -24667,9 +24667,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24667
24667
  name: z.ZodString;
24668
24668
  createdAt: z.ZodString;
24669
24669
  updatedAt: z.ZodString;
24670
- userId: z.ZodNullable<z.ZodString>;
24671
24670
  credentialStoreId: z.ZodString;
24672
24671
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24672
+ userId: z.ZodNullable<z.ZodString>;
24673
24673
  toolId: z.ZodNullable<z.ZodString>;
24674
24674
  createdBy: z.ZodNullable<z.ZodString>;
24675
24675
  type: z.ZodEnum<{
@@ -24677,7 +24677,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24677
24677
  readonly keychain: "keychain";
24678
24678
  readonly nango: "nango";
24679
24679
  }>;
24680
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
24680
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
24681
24681
  createdAt: drizzle_orm_pg_core80.PgColumn<{
24682
24682
  name: "created_at";
24683
24683
  tableName: "tools";
@@ -24957,7 +24957,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24957
24957
  }, {}, {
24958
24958
  length: 256;
24959
24959
  }>;
24960
- }, drizzle_zod0.BuildRefine<{
24960
+ }, drizzle_zod3.BuildRefine<{
24961
24961
  createdAt: drizzle_orm_pg_core80.PgColumn<{
24962
24962
  name: "created_at";
24963
24963
  tableName: "tools";
@@ -25310,9 +25310,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25310
25310
  id: z.ZodString;
25311
25311
  name: z.ZodString;
25312
25312
  description: z.ZodNullable<z.ZodString>;
25313
+ agentId: z.ZodString;
25313
25314
  createdAt: z.ZodString;
25314
25315
  updatedAt: z.ZodString;
25315
- agentId: z.ZodString;
25316
25316
  functionId: z.ZodString;
25317
25317
  relationshipId: z.ZodOptional<z.ZodString>;
25318
25318
  }, z.core.$strip>>>;
@@ -25372,16 +25372,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25372
25372
  description: z.ZodNullable<z.ZodString>;
25373
25373
  createdAt: z.ZodString;
25374
25374
  updatedAt: z.ZodString;
25375
- stopWhen: z.ZodNullable<z.ZodType<{
25376
- stepCountIs?: number | undefined;
25377
- }, {
25378
- stepCountIs?: number | undefined;
25379
- }, z.core.$ZodTypeInternals<{
25380
- stepCountIs?: number | undefined;
25381
- }, {
25382
- stepCountIs?: number | undefined;
25383
- }>>>;
25384
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25385
25375
  models: z.ZodNullable<z.ZodType<{
25386
25376
  base?: {
25387
25377
  model?: string | undefined;
@@ -25435,6 +25425,16 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25435
25425
  providerOptions?: Record<string, any> | undefined;
25436
25426
  } | undefined;
25437
25427
  }>>>;
25428
+ stopWhen: z.ZodNullable<z.ZodType<{
25429
+ stepCountIs?: number | undefined;
25430
+ }, {
25431
+ stepCountIs?: number | undefined;
25432
+ }, z.core.$ZodTypeInternals<{
25433
+ stepCountIs?: number | undefined;
25434
+ }, {
25435
+ stepCountIs?: number | undefined;
25436
+ }>>>;
25437
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25438
25438
  type: z.ZodLiteral<"internal">;
25439
25439
  canUse: z.ZodArray<z.ZodObject<{
25440
25440
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25477,10 +25477,6 @@ declare const ProjectResponse: z.ZodObject<{
25477
25477
  description: z.ZodNullable<z.ZodString>;
25478
25478
  createdAt: z.ZodString;
25479
25479
  updatedAt: z.ZodString;
25480
- stopWhen: z.ZodNullable<z.ZodObject<{
25481
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25482
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25483
- }, z.core.$strip>>;
25484
25480
  models: z.ZodNullable<z.ZodObject<{
25485
25481
  base: z.ZodObject<{
25486
25482
  model: z.ZodOptional<z.ZodString>;
@@ -25495,6 +25491,10 @@ declare const ProjectResponse: z.ZodObject<{
25495
25491
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25496
25492
  }, z.core.$strip>>;
25497
25493
  }, z.core.$strip>>;
25494
+ stopWhen: z.ZodNullable<z.ZodObject<{
25495
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25496
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25497
+ }, z.core.$strip>>;
25498
25498
  }, {
25499
25499
  out: {};
25500
25500
  in: {};
@@ -25766,13 +25766,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25766
25766
  data: z.ZodObject<{
25767
25767
  id: z.ZodString;
25768
25768
  name: z.ZodNullable<z.ZodString>;
25769
- createdAt: z.ZodString;
25770
- updatedAt: z.ZodString;
25771
25769
  agentId: z.ZodString;
25772
- expiresAt: z.ZodNullable<z.ZodString>;
25773
25770
  publicId: z.ZodString;
25774
25771
  keyPrefix: z.ZodString;
25775
25772
  lastUsedAt: z.ZodNullable<z.ZodString>;
25773
+ expiresAt: z.ZodNullable<z.ZodString>;
25774
+ createdAt: z.ZodString;
25775
+ updatedAt: z.ZodString;
25776
25776
  }, {
25777
25777
  out: {};
25778
25778
  in: {};
@@ -25784,9 +25784,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25784
25784
  name: z.ZodString;
25785
25785
  createdAt: z.ZodString;
25786
25786
  updatedAt: z.ZodString;
25787
- userId: z.ZodNullable<z.ZodString>;
25788
25787
  credentialStoreId: z.ZodString;
25789
25788
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25789
+ userId: z.ZodNullable<z.ZodString>;
25790
25790
  toolId: z.ZodNullable<z.ZodString>;
25791
25791
  createdBy: z.ZodNullable<z.ZodString>;
25792
25792
  type: z.ZodEnum<{
@@ -25794,7 +25794,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25794
25794
  readonly keychain: "keychain";
25795
25795
  readonly nango: "nango";
25796
25796
  }>;
25797
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
25797
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
25798
25798
  createdAt: drizzle_orm_pg_core80.PgColumn<{
25799
25799
  name: "created_at";
25800
25800
  tableName: "tools";
@@ -26074,7 +26074,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
26074
26074
  }, {}, {
26075
26075
  length: 256;
26076
26076
  }>;
26077
- }, drizzle_zod0.BuildRefine<{
26077
+ }, drizzle_zod3.BuildRefine<{
26078
26078
  createdAt: drizzle_orm_pg_core80.PgColumn<{
26079
26079
  name: "created_at";
26080
26080
  tableName: "tools";
@@ -26388,9 +26388,9 @@ declare const FunctionToolResponse: z.ZodObject<{
26388
26388
  id: z.ZodString;
26389
26389
  name: z.ZodString;
26390
26390
  description: z.ZodNullable<z.ZodString>;
26391
+ agentId: z.ZodString;
26391
26392
  createdAt: z.ZodString;
26392
26393
  updatedAt: z.ZodString;
26393
- agentId: z.ZodString;
26394
26394
  functionId: z.ZodString;
26395
26395
  relationshipId: z.ZodOptional<z.ZodString>;
26396
26396
  }, z.core.$strip>;
@@ -26400,7 +26400,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
26400
26400
  createdAt: z.ZodString;
26401
26401
  updatedAt: z.ZodString;
26402
26402
  functionToolId: z.ZodString;
26403
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26403
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26404
26404
  subAgentId: z.ZodString;
26405
26405
  agentId: z.ZodString;
26406
26406
  projectId: z.ZodString;
@@ -26476,9 +26476,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26476
26476
  createdAt: z.ZodString;
26477
26477
  updatedAt: z.ZodString;
26478
26478
  toolId: z.ZodString;
26479
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26480
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26481
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26479
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26480
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26481
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26482
26482
  subAgentId: z.ZodString;
26483
26483
  agentId: z.ZodString;
26484
26484
  projectId: z.ZodString;
@@ -26548,10 +26548,10 @@ declare const TriggerResponse: z.ZodObject<{
26548
26548
  createdAt: z.ZodString;
26549
26549
  updatedAt: z.ZodString;
26550
26550
  enabled: z.ZodBoolean;
26551
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26552
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26551
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26552
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26553
26553
  messageTemplate: z.ZodNullable<z.ZodString>;
26554
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26554
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26555
26555
  name: z.ZodString;
26556
26556
  description: z.ZodNullable<z.ZodString>;
26557
26557
  agentId: z.ZodString;
@@ -26611,8 +26611,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26611
26611
  triggerId: z.ZodString;
26612
26612
  conversationId: z.ZodNullable<z.ZodString>;
26613
26613
  status: z.ZodString;
26614
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
26615
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
26614
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
26615
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
26616
26616
  errorMessage: z.ZodNullable<z.ZodString>;
26617
26617
  createdAt: z.ZodString;
26618
26618
  agentId: z.ZodString;
@@ -26628,10 +26628,6 @@ declare const ProjectListResponse: z.ZodObject<{
26628
26628
  description: z.ZodNullable<z.ZodString>;
26629
26629
  createdAt: z.ZodString;
26630
26630
  updatedAt: z.ZodString;
26631
- stopWhen: z.ZodNullable<z.ZodObject<{
26632
- transferCountIs: z.ZodOptional<z.ZodNumber>;
26633
- stepCountIs: z.ZodOptional<z.ZodNumber>;
26634
- }, z.core.$strip>>;
26635
26631
  models: z.ZodNullable<z.ZodObject<{
26636
26632
  base: z.ZodObject<{
26637
26633
  model: z.ZodOptional<z.ZodString>;
@@ -26646,6 +26642,10 @@ declare const ProjectListResponse: z.ZodObject<{
26646
26642
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26647
26643
  }, z.core.$strip>>;
26648
26644
  }, z.core.$strip>>;
26645
+ stopWhen: z.ZodNullable<z.ZodObject<{
26646
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
26647
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
26648
+ }, z.core.$strip>>;
26649
26649
  }, {
26650
26650
  out: {};
26651
26651
  in: {};
@@ -26953,13 +26953,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26953
26953
  data: z.ZodArray<z.ZodObject<{
26954
26954
  id: z.ZodString;
26955
26955
  name: z.ZodNullable<z.ZodString>;
26956
- createdAt: z.ZodString;
26957
- updatedAt: z.ZodString;
26958
26956
  agentId: z.ZodString;
26959
- expiresAt: z.ZodNullable<z.ZodString>;
26960
26957
  publicId: z.ZodString;
26961
26958
  keyPrefix: z.ZodString;
26962
26959
  lastUsedAt: z.ZodNullable<z.ZodString>;
26960
+ expiresAt: z.ZodNullable<z.ZodString>;
26961
+ createdAt: z.ZodString;
26962
+ updatedAt: z.ZodString;
26963
26963
  }, {
26964
26964
  out: {};
26965
26965
  in: {};
@@ -26977,9 +26977,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26977
26977
  name: z.ZodString;
26978
26978
  createdAt: z.ZodString;
26979
26979
  updatedAt: z.ZodString;
26980
- userId: z.ZodNullable<z.ZodString>;
26981
26980
  credentialStoreId: z.ZodString;
26982
26981
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26982
+ userId: z.ZodNullable<z.ZodString>;
26983
26983
  toolId: z.ZodNullable<z.ZodString>;
26984
26984
  createdBy: z.ZodNullable<z.ZodString>;
26985
26985
  type: z.ZodEnum<{
@@ -26987,7 +26987,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26987
26987
  readonly keychain: "keychain";
26988
26988
  readonly nango: "nango";
26989
26989
  }>;
26990
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
26990
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
26991
26991
  createdAt: drizzle_orm_pg_core80.PgColumn<{
26992
26992
  name: "created_at";
26993
26993
  tableName: "tools";
@@ -27267,7 +27267,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
27267
27267
  }, {}, {
27268
27268
  length: 256;
27269
27269
  }>;
27270
- }, drizzle_zod0.BuildRefine<{
27270
+ }, drizzle_zod3.BuildRefine<{
27271
27271
  createdAt: drizzle_orm_pg_core80.PgColumn<{
27272
27272
  name: "created_at";
27273
27273
  tableName: "tools";
@@ -27593,9 +27593,9 @@ declare const FunctionToolListResponse: z.ZodObject<{
27593
27593
  id: z.ZodString;
27594
27594
  name: z.ZodString;
27595
27595
  description: z.ZodNullable<z.ZodString>;
27596
+ agentId: z.ZodString;
27596
27597
  createdAt: z.ZodString;
27597
27598
  updatedAt: z.ZodString;
27598
- agentId: z.ZodString;
27599
27599
  functionId: z.ZodString;
27600
27600
  relationshipId: z.ZodOptional<z.ZodString>;
27601
27601
  }, z.core.$strip>>;
@@ -27611,7 +27611,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
27611
27611
  createdAt: z.ZodString;
27612
27612
  updatedAt: z.ZodString;
27613
27613
  functionToolId: z.ZodString;
27614
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27614
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27615
27615
  subAgentId: z.ZodString;
27616
27616
  agentId: z.ZodString;
27617
27617
  projectId: z.ZodString;
@@ -27711,9 +27711,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27711
27711
  createdAt: z.ZodString;
27712
27712
  updatedAt: z.ZodString;
27713
27713
  toolId: z.ZodString;
27714
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27715
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27716
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27714
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27715
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27716
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27717
27717
  subAgentId: z.ZodString;
27718
27718
  agentId: z.ZodString;
27719
27719
  projectId: z.ZodString;
@@ -27801,10 +27801,10 @@ declare const TriggerListResponse: z.ZodObject<{
27801
27801
  createdAt: z.ZodString;
27802
27802
  updatedAt: z.ZodString;
27803
27803
  enabled: z.ZodBoolean;
27804
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27805
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27804
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27805
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27806
27806
  messageTemplate: z.ZodNullable<z.ZodString>;
27807
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27807
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27808
27808
  name: z.ZodString;
27809
27809
  description: z.ZodNullable<z.ZodString>;
27810
27810
  agentId: z.ZodString;
@@ -27870,8 +27870,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27870
27870
  triggerId: z.ZodString;
27871
27871
  conversationId: z.ZodNullable<z.ZodString>;
27872
27872
  status: z.ZodString;
27873
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
27874
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27873
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
27874
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27875
27875
  errorMessage: z.ZodNullable<z.ZodString>;
27876
27876
  createdAt: z.ZodString;
27877
27877
  agentId: z.ZodString;
@@ -27893,11 +27893,11 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27893
27893
  description: z.ZodNullable<z.ZodString>;
27894
27894
  createdAt: z.ZodString;
27895
27895
  updatedAt: z.ZodString;
27896
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27897
27896
  enabled: z.ZodBoolean;
27898
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27897
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27898
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27899
27899
  messageTemplate: z.ZodNullable<z.ZodString>;
27900
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27900
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27901
27901
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27902
27902
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27903
27903
  algorithm: z.ZodEnum<{
@@ -27954,11 +27954,11 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27954
27954
  description: z.ZodNullable<z.ZodString>;
27955
27955
  createdAt: z.ZodString;
27956
27956
  updatedAt: z.ZodString;
27957
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27958
27957
  enabled: z.ZodBoolean;
27959
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27958
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27959
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27960
27960
  messageTemplate: z.ZodNullable<z.ZodString>;
27961
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
27961
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
27962
27962
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27963
27963
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27964
27964
  algorithm: z.ZodEnum<{
@@ -28075,10 +28075,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28075
28075
  id: z.ZodString;
28076
28076
  name: z.ZodString;
28077
28077
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28078
- stopWhen: z.ZodOptional<z.ZodObject<{
28079
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28080
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28081
- }, z.core.$strip>>;
28082
28078
  models: z.ZodObject<{
28083
28079
  base: z.ZodObject<{
28084
28080
  model: z.ZodOptional<z.ZodString>;
@@ -28093,6 +28089,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28093
28089
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28094
28090
  }, z.core.$strip>>;
28095
28091
  }, z.core.$strip>;
28092
+ stopWhen: z.ZodOptional<z.ZodObject<{
28093
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28094
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28095
+ }, z.core.$strip>>;
28096
28096
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28097
28097
  name: z.ZodString;
28098
28098
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28107,16 +28107,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28107
28107
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28108
28108
  createdAt: z.ZodOptional<z.ZodString>;
28109
28109
  updatedAt: z.ZodOptional<z.ZodString>;
28110
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
28111
- stepCountIs?: number | undefined;
28112
- }, {
28113
- stepCountIs?: number | undefined;
28114
- }, z.core.$ZodTypeInternals<{
28115
- stepCountIs?: number | undefined;
28116
- }, {
28117
- stepCountIs?: number | undefined;
28118
- }>>>>;
28119
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
28120
28110
  models: z.ZodOptional<z.ZodObject<{
28121
28111
  base: z.ZodOptional<z.ZodObject<{
28122
28112
  model: z.ZodOptional<z.ZodString>;
@@ -28131,6 +28121,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28131
28121
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28132
28122
  }, z.core.$strip>>;
28133
28123
  }, z.core.$strip>>;
28124
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
28125
+ stepCountIs?: number | undefined;
28126
+ }, {
28127
+ stepCountIs?: number | undefined;
28128
+ }, z.core.$ZodTypeInternals<{
28129
+ stepCountIs?: number | undefined;
28130
+ }, {
28131
+ stepCountIs?: number | undefined;
28132
+ }>>>>;
28133
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
28134
28134
  type: z.ZodLiteral<"internal">;
28135
28135
  canUse: z.ZodArray<z.ZodObject<{
28136
28136
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28237,13 +28237,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28237
28237
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28238
28238
  createdAt: z.ZodOptional<z.ZodString>;
28239
28239
  updatedAt: z.ZodOptional<z.ZodString>;
28240
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
28241
28240
  enabled: z.ZodOptional<z.ZodBoolean>;
28242
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
28241
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
28242
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
28243
28243
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28244
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
28244
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
28245
28245
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28246
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
28246
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
28247
28247
  id: z.ZodOptional<z.ZodString>;
28248
28248
  }, z.core.$strip>>>;
28249
28249
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -28422,9 +28422,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28422
28422
  name: z.ZodString;
28423
28423
  createdAt: z.ZodOptional<z.ZodString>;
28424
28424
  updatedAt: z.ZodOptional<z.ZodString>;
28425
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28426
28425
  credentialStoreId: z.ZodString;
28427
28426
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28427
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28428
28428
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28429
28429
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28430
28430
  type: z.ZodEnum<{
@@ -28447,10 +28447,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28447
28447
  description: z.ZodNullable<z.ZodString>;
28448
28448
  createdAt: z.ZodString;
28449
28449
  updatedAt: z.ZodString;
28450
- stopWhen: z.ZodNullable<z.ZodObject<{
28451
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28452
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28453
- }, z.core.$strip>>;
28454
28450
  models: z.ZodNullable<z.ZodObject<{
28455
28451
  base: z.ZodObject<{
28456
28452
  model: z.ZodOptional<z.ZodString>;
@@ -28465,6 +28461,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28465
28461
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28466
28462
  }, z.core.$strip>>;
28467
28463
  }, z.core.$strip>>;
28464
+ stopWhen: z.ZodNullable<z.ZodObject<{
28465
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28466
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28467
+ }, z.core.$strip>>;
28468
28468
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28469
28469
  id: z.ZodString;
28470
28470
  name: z.ZodString;
@@ -28479,16 +28479,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28479
28479
  description: z.ZodNullable<z.ZodString>;
28480
28480
  createdAt: z.ZodString;
28481
28481
  updatedAt: z.ZodString;
28482
- stopWhen: z.ZodNullable<z.ZodType<{
28483
- stepCountIs?: number | undefined;
28484
- }, {
28485
- stepCountIs?: number | undefined;
28486
- }, z.core.$ZodTypeInternals<{
28487
- stepCountIs?: number | undefined;
28488
- }, {
28489
- stepCountIs?: number | undefined;
28490
- }>>>;
28491
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28492
28482
  models: z.ZodNullable<z.ZodType<{
28493
28483
  base?: {
28494
28484
  model?: string | undefined;
@@ -28542,6 +28532,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28542
28532
  providerOptions?: Record<string, any> | undefined;
28543
28533
  } | undefined;
28544
28534
  }>>>;
28535
+ stopWhen: z.ZodNullable<z.ZodType<{
28536
+ stepCountIs?: number | undefined;
28537
+ }, {
28538
+ stepCountIs?: number | undefined;
28539
+ }, z.core.$ZodTypeInternals<{
28540
+ stepCountIs?: number | undefined;
28541
+ }, {
28542
+ stepCountIs?: number | undefined;
28543
+ }>>>;
28544
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28545
28545
  type: z.ZodLiteral<"internal">;
28546
28546
  canUse: z.ZodArray<z.ZodObject<{
28547
28547
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28615,9 +28615,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28615
28615
  id: z.ZodString;
28616
28616
  name: z.ZodString;
28617
28617
  description: z.ZodNullable<z.ZodString>;
28618
+ agentId: z.ZodString;
28618
28619
  createdAt: z.ZodString;
28619
28620
  updatedAt: z.ZodString;
28620
- agentId: z.ZodString;
28621
28621
  functionId: z.ZodString;
28622
28622
  relationshipId: z.ZodOptional<z.ZodString>;
28623
28623
  }, z.core.$strip>>>;
@@ -28705,9 +28705,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28705
28705
  id: z.ZodString;
28706
28706
  name: z.ZodString;
28707
28707
  description: z.ZodNullable<z.ZodString>;
28708
+ agentId: z.ZodString;
28708
28709
  createdAt: z.ZodString;
28709
28710
  updatedAt: z.ZodString;
28710
- agentId: z.ZodString;
28711
28711
  functionId: z.ZodString;
28712
28712
  relationshipId: z.ZodOptional<z.ZodString>;
28713
28713
  }, z.core.$strip>>>;
@@ -28798,9 +28798,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28798
28798
  name: z.ZodString;
28799
28799
  createdAt: z.ZodString;
28800
28800
  updatedAt: z.ZodString;
28801
- userId: z.ZodNullable<z.ZodString>;
28802
28801
  credentialStoreId: z.ZodString;
28803
28802
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28803
+ userId: z.ZodNullable<z.ZodString>;
28804
28804
  toolId: z.ZodNullable<z.ZodString>;
28805
28805
  createdBy: z.ZodNullable<z.ZodString>;
28806
28806
  type: z.ZodEnum<{
@@ -28808,7 +28808,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28808
28808
  readonly keychain: "keychain";
28809
28809
  readonly nango: "nango";
28810
28810
  }>;
28811
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
28811
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
28812
28812
  createdAt: drizzle_orm_pg_core80.PgColumn<{
28813
28813
  name: "created_at";
28814
28814
  tableName: "tools";
@@ -29088,7 +29088,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
29088
29088
  }, {}, {
29089
29089
  length: 256;
29090
29090
  }>;
29091
- }, drizzle_zod0.BuildRefine<{
29091
+ }, drizzle_zod3.BuildRefine<{
29092
29092
  createdAt: drizzle_orm_pg_core80.PgColumn<{
29093
29093
  name: "created_at";
29094
29094
  tableName: "tools";
@@ -29396,10 +29396,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29396
29396
  description: z.ZodNullable<z.ZodString>;
29397
29397
  createdAt: z.ZodString;
29398
29398
  updatedAt: z.ZodString;
29399
- stopWhen: z.ZodNullable<z.ZodObject<{
29400
- transferCountIs: z.ZodOptional<z.ZodNumber>;
29401
- stepCountIs: z.ZodOptional<z.ZodNumber>;
29402
- }, z.core.$strip>>;
29403
29399
  models: z.ZodNullable<z.ZodObject<{
29404
29400
  base: z.ZodObject<{
29405
29401
  model: z.ZodOptional<z.ZodString>;
@@ -29414,6 +29410,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29414
29410
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
29415
29411
  }, z.core.$strip>>;
29416
29412
  }, z.core.$strip>>;
29413
+ stopWhen: z.ZodNullable<z.ZodObject<{
29414
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
29415
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
29416
+ }, z.core.$strip>>;
29417
29417
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
29418
29418
  createdAt: z.ZodString;
29419
29419
  updatedAt: z.ZodString;
@@ -29447,9 +29447,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29447
29447
  id: z.ZodString;
29448
29448
  name: z.ZodString;
29449
29449
  description: z.ZodNullable<z.ZodString>;
29450
+ agentId: z.ZodString;
29450
29451
  createdAt: z.ZodString;
29451
29452
  updatedAt: z.ZodString;
29452
- agentId: z.ZodString;
29453
29453
  functionId: z.ZodString;
29454
29454
  relationshipId: z.ZodOptional<z.ZodString>;
29455
29455
  }, z.core.$strip>>>;
@@ -29540,9 +29540,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29540
29540
  name: z.ZodString;
29541
29541
  createdAt: z.ZodString;
29542
29542
  updatedAt: z.ZodString;
29543
- userId: z.ZodNullable<z.ZodString>;
29544
29543
  credentialStoreId: z.ZodString;
29545
29544
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29545
+ userId: z.ZodNullable<z.ZodString>;
29546
29546
  toolId: z.ZodNullable<z.ZodString>;
29547
29547
  createdBy: z.ZodNullable<z.ZodString>;
29548
29548
  type: z.ZodEnum<{
@@ -29550,7 +29550,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29550
29550
  readonly keychain: "keychain";
29551
29551
  readonly nango: "nango";
29552
29552
  }>;
29553
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
29553
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
29554
29554
  createdAt: drizzle_orm_pg_core80.PgColumn<{
29555
29555
  name: "created_at";
29556
29556
  tableName: "tools";
@@ -29830,7 +29830,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29830
29830
  }, {}, {
29831
29831
  length: 256;
29832
29832
  }>;
29833
- }, drizzle_zod0.BuildRefine<{
29833
+ }, drizzle_zod3.BuildRefine<{
29834
29834
  createdAt: drizzle_orm_pg_core80.PgColumn<{
29835
29835
  name: "created_at";
29836
29836
  tableName: "tools";
@@ -30183,9 +30183,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30183
30183
  id: z.ZodString;
30184
30184
  name: z.ZodString;
30185
30185
  description: z.ZodNullable<z.ZodString>;
30186
+ agentId: z.ZodString;
30186
30187
  createdAt: z.ZodString;
30187
30188
  updatedAt: z.ZodString;
30188
- agentId: z.ZodString;
30189
30189
  functionId: z.ZodString;
30190
30190
  relationshipId: z.ZodOptional<z.ZodString>;
30191
30191
  }, z.core.$strip>>>;
@@ -30245,16 +30245,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30245
30245
  description: z.ZodNullable<z.ZodString>;
30246
30246
  createdAt: z.ZodString;
30247
30247
  updatedAt: z.ZodString;
30248
- stopWhen: z.ZodNullable<z.ZodType<{
30249
- stepCountIs?: number | undefined;
30250
- }, {
30251
- stepCountIs?: number | undefined;
30252
- }, z.core.$ZodTypeInternals<{
30253
- stepCountIs?: number | undefined;
30254
- }, {
30255
- stepCountIs?: number | undefined;
30256
- }>>>;
30257
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30258
30248
  models: z.ZodNullable<z.ZodType<{
30259
30249
  base?: {
30260
30250
  model?: string | undefined;
@@ -30308,6 +30298,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30308
30298
  providerOptions?: Record<string, any> | undefined;
30309
30299
  } | undefined;
30310
30300
  }>>>;
30301
+ stopWhen: z.ZodNullable<z.ZodType<{
30302
+ stepCountIs?: number | undefined;
30303
+ }, {
30304
+ stepCountIs?: number | undefined;
30305
+ }, z.core.$ZodTypeInternals<{
30306
+ stepCountIs?: number | undefined;
30307
+ }, {
30308
+ stepCountIs?: number | undefined;
30309
+ }>>>;
30310
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30311
30311
  type: z.ZodLiteral<"internal">;
30312
30312
  canUse: z.ZodArray<z.ZodObject<{
30313
30313
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30359,16 +30359,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30359
30359
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30360
30360
  createdAt: z.ZodOptional<z.ZodString>;
30361
30361
  updatedAt: z.ZodOptional<z.ZodString>;
30362
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
30363
- stepCountIs?: number | undefined;
30364
- }, {
30365
- stepCountIs?: number | undefined;
30366
- }, z.core.$ZodTypeInternals<{
30367
- stepCountIs?: number | undefined;
30368
- }, {
30369
- stepCountIs?: number | undefined;
30370
- }>>>>;
30371
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30372
30362
  models: z.ZodOptional<z.ZodObject<{
30373
30363
  base: z.ZodOptional<z.ZodObject<{
30374
30364
  model: z.ZodOptional<z.ZodString>;
@@ -30383,6 +30373,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30383
30373
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
30384
30374
  }, z.core.$strip>>;
30385
30375
  }, z.core.$strip>>;
30376
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
30377
+ stepCountIs?: number | undefined;
30378
+ }, {
30379
+ stepCountIs?: number | undefined;
30380
+ }, z.core.$ZodTypeInternals<{
30381
+ stepCountIs?: number | undefined;
30382
+ }, {
30383
+ stepCountIs?: number | undefined;
30384
+ }>>>>;
30385
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30386
30386
  type: z.ZodLiteral<"internal">;
30387
30387
  canUse: z.ZodArray<z.ZodObject<{
30388
30388
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30489,13 +30489,13 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30489
30489
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30490
30490
  createdAt: z.ZodOptional<z.ZodString>;
30491
30491
  updatedAt: z.ZodOptional<z.ZodString>;
30492
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
30493
30492
  enabled: z.ZodOptional<z.ZodBoolean>;
30494
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
30493
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
30494
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
30495
30495
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30496
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
30496
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
30497
30497
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30498
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
30498
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
30499
30499
  id: z.ZodOptional<z.ZodString>;
30500
30500
  }, z.core.$strip>>>;
30501
30501
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -30553,16 +30553,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30553
30553
  description: z.ZodNullable<z.ZodString>;
30554
30554
  createdAt: z.ZodString;
30555
30555
  updatedAt: z.ZodString;
30556
- stopWhen: z.ZodNullable<z.ZodType<{
30557
- stepCountIs?: number | undefined;
30558
- }, {
30559
- stepCountIs?: number | undefined;
30560
- }, z.core.$ZodTypeInternals<{
30561
- stepCountIs?: number | undefined;
30562
- }, {
30563
- stepCountIs?: number | undefined;
30564
- }>>>;
30565
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30566
30556
  models: z.ZodNullable<z.ZodType<{
30567
30557
  base?: {
30568
30558
  model?: string | undefined;
@@ -30616,6 +30606,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30616
30606
  providerOptions?: Record<string, any> | undefined;
30617
30607
  } | undefined;
30618
30608
  }>>>;
30609
+ stopWhen: z.ZodNullable<z.ZodType<{
30610
+ stepCountIs?: number | undefined;
30611
+ }, {
30612
+ stepCountIs?: number | undefined;
30613
+ }, z.core.$ZodTypeInternals<{
30614
+ stepCountIs?: number | undefined;
30615
+ }, {
30616
+ stepCountIs?: number | undefined;
30617
+ }>>>;
30618
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30619
30619
  type: z.ZodLiteral<"internal">;
30620
30620
  canUse: z.ZodArray<z.ZodObject<{
30621
30621
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30689,9 +30689,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30689
30689
  id: z.ZodString;
30690
30690
  name: z.ZodString;
30691
30691
  description: z.ZodNullable<z.ZodString>;
30692
+ agentId: z.ZodString;
30692
30693
  createdAt: z.ZodString;
30693
30694
  updatedAt: z.ZodString;
30694
- agentId: z.ZodString;
30695
30695
  functionId: z.ZodString;
30696
30696
  relationshipId: z.ZodOptional<z.ZodString>;
30697
30697
  }, z.core.$strip>>>;
@@ -30903,7 +30903,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30903
30903
  createdAt: z.ZodString;
30904
30904
  updatedAt: z.ZodString;
30905
30905
  targetAgentId: z.ZodString;
30906
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30906
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30907
30907
  subAgentId: z.ZodString;
30908
30908
  agentId: z.ZodString;
30909
30909
  projectId: z.ZodString;
@@ -30916,7 +30916,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30916
30916
  createdAt: z.ZodString;
30917
30917
  updatedAt: z.ZodString;
30918
30918
  targetAgentId: z.ZodString;
30919
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30919
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30920
30920
  subAgentId: z.ZodString;
30921
30921
  agentId: z.ZodString;
30922
30922
  projectId: z.ZodString;
@@ -30935,7 +30935,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30935
30935
  createdAt: z.ZodString;
30936
30936
  updatedAt: z.ZodString;
30937
30937
  externalAgentId: z.ZodString;
30938
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30938
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30939
30939
  subAgentId: z.ZodString;
30940
30940
  agentId: z.ZodString;
30941
30941
  projectId: z.ZodString;
@@ -30948,7 +30948,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30948
30948
  createdAt: z.ZodString;
30949
30949
  updatedAt: z.ZodString;
30950
30950
  externalAgentId: z.ZodString;
30951
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30951
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30952
30952
  subAgentId: z.ZodString;
30953
30953
  agentId: z.ZodString;
30954
30954
  projectId: z.ZodString;
@@ -31115,7 +31115,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
31115
31115
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
31116
31116
  ref: z.ZodOptional<z.ZodString>;
31117
31117
  }, z.core.$strip>;
31118
- declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
31118
+ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
31119
31119
  id: drizzle_orm_pg_core80.PgColumn<{
31120
31120
  name: "id";
31121
31121
  tableName: "project_metadata";
@@ -31209,7 +31209,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
31209
31209
  }, {}, {
31210
31210
  length: 512;
31211
31211
  }>;
31212
- }, drizzle_zod0.BuildRefine<{
31212
+ }, drizzle_zod3.BuildRefine<{
31213
31213
  id: drizzle_orm_pg_core80.PgColumn<{
31214
31214
  name: "id";
31215
31215
  tableName: "project_metadata";
@@ -31305,8 +31305,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
31305
31305
  }>;
31306
31306
  }, undefined>, undefined>;
31307
31307
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
31308
- id: z.ZodString;
31309
31308
  tenantId: z.ZodString;
31309
+ id: z.ZodString;
31310
31310
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31311
31311
  mainBranchName: z.ZodString;
31312
31312
  }, {
@@ -31323,7 +31323,7 @@ declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
31323
31323
  Organization: "Organization";
31324
31324
  User: "User";
31325
31325
  }>;
31326
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"select", {
31326
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
31327
31327
  createdAt: drizzle_orm_pg_core80.PgColumn<{
31328
31328
  name: "created_at";
31329
31329
  tableName: "work_app_github_installations";
@@ -31489,7 +31489,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
31489
31489
  }, {}, {
31490
31490
  length: 256;
31491
31491
  }>;
31492
- }, drizzle_zod0.BuildRefine<{
31492
+ }, drizzle_zod3.BuildRefine<{
31493
31493
  createdAt: drizzle_orm_pg_core80.PgColumn<{
31494
31494
  name: "created_at";
31495
31495
  tableName: "work_app_github_installations";
@@ -31657,8 +31657,8 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
31657
31657
  }>;
31658
31658
  }, undefined>, undefined>;
31659
31659
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
31660
- id: z.ZodString;
31661
31660
  tenantId: z.ZodString;
31661
+ id: z.ZodString;
31662
31662
  accountId: z.ZodString;
31663
31663
  installationId: z.ZodString;
31664
31664
  accountLogin: z.ZodString;
@@ -31688,8 +31688,8 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
31688
31688
  id: z.ZodString;
31689
31689
  }>, z.core.$strip>;
31690
31690
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
31691
- id: z.ZodString;
31692
31691
  tenantId: z.ZodString;
31692
+ id: z.ZodString;
31693
31693
  accountId: z.ZodString;
31694
31694
  installationId: z.ZodString;
31695
31695
  accountLogin: z.ZodString;
@@ -31704,7 +31704,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
31704
31704
  disconnected: "disconnected";
31705
31705
  }>>>;
31706
31706
  }>, z.core.$strip>;
31707
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"select", {
31707
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"select", {
31708
31708
  createdAt: drizzle_orm_pg_core80.PgColumn<{
31709
31709
  name: "created_at";
31710
31710
  tableName: "work_app_github_repositories";
@@ -31849,7 +31849,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"sel
31849
31849
  identity: undefined;
31850
31850
  generated: undefined;
31851
31851
  }, {}, {}>;
31852
- }, drizzle_zod0.BuildRefine<{
31852
+ }, drizzle_zod3.BuildRefine<{
31853
31853
  createdAt: drizzle_orm_pg_core80.PgColumn<{
31854
31854
  name: "created_at";
31855
31855
  tableName: "work_app_github_repositories";
@@ -32015,7 +32015,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
32015
32015
  repositoryFullName: z.ZodString;
32016
32016
  private: z.ZodOptional<z.ZodBoolean>;
32017
32017
  }>>, z.core.$strip>;
32018
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
32018
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
32019
32019
  createdAt: drizzle_orm_pg_core80.PgColumn<{
32020
32020
  name: "created_at";
32021
32021
  tableName: "work_app_github_project_repository_access";
@@ -32126,7 +32126,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.Bui
32126
32126
  }, {}, {
32127
32127
  length: 256;
32128
32128
  }>;
32129
- }, drizzle_zod0.BuildRefine<{
32129
+ }, drizzle_zod3.BuildRefine<{
32130
32130
  createdAt: drizzle_orm_pg_core80.PgColumn<{
32131
32131
  name: "created_at";
32132
32132
  tableName: "work_app_github_project_repository_access";
@@ -32238,7 +32238,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.Bui
32238
32238
  length: 256;
32239
32239
  }>;
32240
32240
  }, undefined>, undefined>;
32241
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
32241
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
32242
32242
  createdAt: drizzle_orm_pg_core80.PgColumn<{
32243
32243
  name: "created_at";
32244
32244
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -32368,7 +32368,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.Bui
32368
32368
  }, {}, {
32369
32369
  length: 256;
32370
32370
  }>;
32371
- }, drizzle_zod0.BuildRefine<{
32371
+ }, drizzle_zod3.BuildRefine<{
32372
32372
  createdAt: drizzle_orm_pg_core80.PgColumn<{
32373
32373
  name: "created_at";
32374
32374
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -32522,7 +32522,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32522
32522
  all: "all";
32523
32523
  selected: "selected";
32524
32524
  }>;
32525
- repositories: z.ZodArray<drizzle_zod0.BuildSchema<"select", {
32525
+ repositories: z.ZodArray<drizzle_zod3.BuildSchema<"select", {
32526
32526
  createdAt: drizzle_orm_pg_core80.PgColumn<{
32527
32527
  name: "created_at";
32528
32528
  tableName: "work_app_github_repositories";
@@ -32667,7 +32667,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32667
32667
  identity: undefined;
32668
32668
  generated: undefined;
32669
32669
  }, {}, {}>;
32670
- }, drizzle_zod0.BuildRefine<{
32670
+ }, drizzle_zod3.BuildRefine<{
32671
32671
  createdAt: drizzle_orm_pg_core80.PgColumn<{
32672
32672
  name: "created_at";
32673
32673
  tableName: "work_app_github_repositories";