@inkeep/agents-core 0.0.0-dev-20260122153611 → 0.0.0-dev-20260122190953

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import "../index.js";
4
4
  import { MAX_ID_LENGTH, MIN_ID_LENGTH, URL_SAFE_ID_PATTERN, resourceIdSchema } from "./drizzle-schema-helpers.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core208 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod19 from "drizzle-zod";
7
+ import * as drizzle_zod15 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StopWhenSchema: z.ZodObject<{
@@ -77,7 +77,7 @@ type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execut
77
77
  };
78
78
  type OmitProjectScope<T> = Omit<T, 'tenantId' | 'projectId'>;
79
79
  type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
80
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
80
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
81
81
  createdAt: drizzle_orm_pg_core208.PgColumn<{
82
82
  name: "created_at";
83
83
  tableName: "sub_agents";
@@ -328,7 +328,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- }, drizzle_zod19.BuildRefine<{
331
+ }, drizzle_zod15.BuildRefine<{
332
332
  createdAt: drizzle_orm_pg_core208.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -768,10 +768,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
768
768
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
770
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
773
771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
775
774
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
776
775
  base: z.ZodOptional<z.ZodObject<{
777
776
  model: z.ZodOptional<z.ZodString>;
@@ -786,6 +785,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
786
785
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
787
786
  }, z.core.$strip>>;
788
787
  }, z.core.$strip>>>>;
788
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
789
789
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
790
790
  stepCountIs?: number | undefined;
791
791
  }, {
@@ -797,7 +797,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
797
797
  }>>>>>>;
798
798
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
799
799
  }, z.core.$strip>;
800
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
800
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core208.PgColumn<{
802
802
  name: "created_at";
803
803
  tableName: "sub_agent_relations";
@@ -965,7 +965,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
965
965
  }, {}, {
966
966
  length: 256;
967
967
  }>;
968
- }, drizzle_zod19.BuildRefine<{
968
+ }, drizzle_zod15.BuildRefine<{
969
969
  createdAt: drizzle_orm_pg_core208.PgColumn<{
970
970
  name: "created_at";
971
971
  tableName: "sub_agent_relations";
@@ -1236,7 +1236,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1236
1236
  sourceSubAgentId: z.ZodString;
1237
1237
  externalSubAgentId: z.ZodString;
1238
1238
  }>, z.core.$strip>;
1239
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1239
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1240
1240
  createdAt: drizzle_orm_pg_core208.PgColumn<{
1241
1241
  name: "created_at";
1242
1242
  tableName: "agent";
@@ -1534,7 +1534,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1534
1534
  }, {}, {
1535
1535
  length: 256;
1536
1536
  }>;
1537
- }, drizzle_zod19.BuildRefine<{
1537
+ }, drizzle_zod15.BuildRefine<{
1538
1538
  createdAt: drizzle_orm_pg_core208.PgColumn<{
1539
1539
  name: "created_at";
1540
1540
  tableName: "agent";
@@ -1833,7 +1833,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1833
1833
  length: 256;
1834
1834
  }>;
1835
1835
  }, undefined>, undefined>;
1836
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1836
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1837
1837
  createdAt: drizzle_orm_pg_core208.PgColumn<{
1838
1838
  name: "created_at";
1839
1839
  tableName: "agent";
@@ -2131,7 +2131,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2131
2131
  }, {}, {
2132
2132
  length: 256;
2133
2133
  }>;
2134
- }, drizzle_zod19.BuildRefine<Pick<{
2134
+ }, drizzle_zod15.BuildRefine<Pick<{
2135
2135
  createdAt: drizzle_orm_pg_core208.PgColumn<{
2136
2136
  name: "created_at";
2137
2137
  tableName: "agent";
@@ -2429,7 +2429,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2432
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2433
2433
  declare const AgentUpdateSchema: z.ZodObject<{
2434
2434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2435
2435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2697,10 +2697,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2697
2697
  }>, z.core.$strip>;
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
2699
  name: z.ZodString;
2700
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
2700
  createdAt: z.ZodOptional<z.ZodString>;
2703
2701
  updatedAt: z.ZodOptional<z.ZodString>;
2702
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
2705
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2705
2706
  base?: {
2706
2707
  model?: string | undefined;
@@ -2754,17 +2755,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2755
  providerOptions?: Record<string, any> | undefined;
2755
2756
  } | undefined;
2756
2757
  }>>>>;
2757
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
- transferCountIs?: number | undefined;
2759
- }, {
2760
- transferCountIs?: number | undefined;
2761
- }, z.core.$ZodTypeInternals<{
2762
- transferCountIs?: number | undefined;
2763
- }, {
2764
- transferCountIs?: number | undefined;
2765
- }>>>>;
2766
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2759
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2769
2760
  enabled?: boolean | undefined;
2770
2761
  numEvents?: number | undefined;
@@ -2822,15 +2813,25 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2822
2813
  } | undefined;
2823
2814
  }[] | undefined;
2824
2815
  }>>>>;
2816
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2817
+ transferCountIs?: number | undefined;
2818
+ }, {
2819
+ transferCountIs?: number | undefined;
2820
+ }, z.core.$ZodTypeInternals<{
2821
+ transferCountIs?: number | undefined;
2822
+ }, {
2823
+ transferCountIs?: number | undefined;
2824
+ }>>>>;
2825
2825
  id: z.ZodString;
2826
2826
  }, z.core.$strip>;
2827
2827
  declare const AgentApiUpdateSchema: z.ZodObject<{
2828
2828
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2829
2829
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2830
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2832
2830
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
2831
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2833
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2834
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2834
2835
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2835
2836
  base?: {
2836
2837
  model?: string | undefined;
@@ -2884,17 +2885,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2884
2885
  providerOptions?: Record<string, any> | undefined;
2885
2886
  } | undefined;
2886
2887
  }>>>>>>;
2887
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
- transferCountIs?: number | undefined;
2889
- }, {
2890
- transferCountIs?: number | undefined;
2891
- }, z.core.$ZodTypeInternals<{
2892
- transferCountIs?: number | undefined;
2893
- }, {
2894
- transferCountIs?: number | undefined;
2895
- }>>>>>>;
2896
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2898
2889
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2899
2890
  enabled?: boolean | undefined;
2900
2891
  numEvents?: number | undefined;
@@ -2952,6 +2943,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2952
2943
  } | undefined;
2953
2944
  }[] | undefined;
2954
2945
  }>>>>>>;
2946
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2947
+ transferCountIs?: number | undefined;
2948
+ }, {
2949
+ transferCountIs?: number | undefined;
2950
+ }, z.core.$ZodTypeInternals<{
2951
+ transferCountIs?: number | undefined;
2952
+ }, {
2953
+ transferCountIs?: number | undefined;
2954
+ }>>>>>>;
2955
2955
  }, z.core.$strip>;
2956
2956
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
2957
2957
  name: z.ZodString;
@@ -2998,11 +2998,11 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
2998
2998
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2999
2999
  }, z.core.$strip>;
3000
3000
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3001
- success: "success";
3002
3001
  pending: "pending";
3002
+ success: "success";
3003
3003
  failed: "failed";
3004
3004
  }>;
3005
- declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3005
+ declare const TriggerSelectSchema: drizzle_zod15.BuildSchema<"select", {
3006
3006
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3007
3007
  name: "created_at";
3008
3008
  tableName: "triggers";
@@ -3263,7 +3263,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3263
3263
  }, {}, {
3264
3264
  length: 256;
3265
3265
  }>;
3266
- }, drizzle_zod19.BuildRefine<{
3266
+ }, drizzle_zod15.BuildRefine<{
3267
3267
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3268
3268
  name: "created_at";
3269
3269
  tableName: "triggers";
@@ -3525,7 +3525,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3525
3525
  length: 256;
3526
3526
  }>;
3527
3527
  }, undefined>, undefined>;
3528
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3528
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3529
3529
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3530
3530
  name: "created_at";
3531
3531
  tableName: "triggers";
@@ -3786,7 +3786,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3786
3786
  }, {}, {
3787
3787
  length: 256;
3788
3788
  }>;
3789
- }, drizzle_zod19.BuildRefine<Pick<{
3789
+ }, drizzle_zod15.BuildRefine<Pick<{
3790
3790
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3791
3791
  name: "created_at";
3792
3792
  tableName: "triggers";
@@ -4047,7 +4047,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4047
4047
  }, {}, {
4048
4048
  length: 256;
4049
4049
  }>;
4050
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4050
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4051
4051
  declare const TriggerUpdateSchema: z.ZodObject<{
4052
4052
  name: z.ZodOptional<z.ZodString>;
4053
4053
  description: z.ZodOptional<z.ZodString>;
@@ -4087,7 +4087,7 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4087
4087
  objectTransformation?: Record<string, string>;
4088
4088
  }>>>;
4089
4089
  messageTemplate: z.ZodNullable<z.ZodString>;
4090
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4090
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4091
4091
  signingSecret: z.ZodNullable<z.ZodString>;
4092
4092
  name: z.ZodString;
4093
4093
  description: z.ZodNullable<z.ZodString>;
@@ -4098,9 +4098,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4098
4098
  }>, z.core.$strip>;
4099
4099
  declare const TriggerApiInsertSchema: z.ZodObject<{
4100
4100
  name: z.ZodString;
4101
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4102
4101
  createdAt: z.ZodOptional<z.ZodString>;
4103
4102
  updatedAt: z.ZodOptional<z.ZodString>;
4103
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4104
4104
  enabled: z.ZodOptional<z.ZodBoolean>;
4105
4105
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4106
4106
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -4117,7 +4117,7 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4117
4117
  objectTransformation?: Record<string, string>;
4118
4118
  }>>>>;
4119
4119
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4120
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4120
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4121
4121
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4122
4122
  id: z.ZodOptional<z.ZodString>;
4123
4123
  }, z.core.$strip>;
@@ -4141,7 +4141,7 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4141
4141
  signingSecret: z.ZodOptional<z.ZodString>;
4142
4142
  keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4143
4143
  }, z.core.$strip>;
4144
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4144
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4145
4145
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4146
4146
  name: "trigger_id";
4147
4147
  tableName: "trigger_invocations";
@@ -4343,7 +4343,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4343
4343
  }, {}, {
4344
4344
  length: 256;
4345
4345
  }>;
4346
- }, drizzle_zod19.BuildRefine<{
4346
+ }, drizzle_zod15.BuildRefine<{
4347
4347
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4348
4348
  name: "trigger_id";
4349
4349
  tableName: "trigger_invocations";
@@ -4546,7 +4546,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4546
4546
  length: 256;
4547
4547
  }>;
4548
4548
  }, undefined>, undefined>;
4549
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4549
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4550
4550
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4551
4551
  name: "trigger_id";
4552
4552
  tableName: "trigger_invocations";
@@ -4748,7 +4748,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4748
4748
  }, {}, {
4749
4749
  length: 256;
4750
4750
  }>;
4751
- }, drizzle_zod19.BuildRefine<Pick<{
4751
+ }, drizzle_zod15.BuildRefine<Pick<{
4752
4752
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4753
4753
  name: "trigger_id";
4754
4754
  tableName: "trigger_invocations";
@@ -4950,13 +4950,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4950
4950
  }, {}, {
4951
4951
  length: 256;
4952
4952
  }>;
4953
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4953
+ }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4954
4954
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4955
4955
  triggerId: z.ZodOptional<z.ZodString>;
4956
4956
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4957
4957
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4958
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4959
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4958
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4959
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4960
4960
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4961
4961
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4962
4962
  agentId: z.ZodOptional<z.ZodString>;
@@ -4971,8 +4971,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4971
4971
  triggerId: z.ZodString;
4972
4972
  conversationId: z.ZodNullable<z.ZodString>;
4973
4973
  status: z.ZodString;
4974
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4975
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4974
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4975
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4976
4976
  errorMessage: z.ZodNullable<z.ZodString>;
4977
4977
  createdAt: z.ZodString;
4978
4978
  agentId: z.ZodString;
@@ -4985,8 +4985,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4985
4985
  status: z.ZodOptional<z.ZodString>;
4986
4986
  triggerId: z.ZodString;
4987
4987
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4988
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4989
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4988
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4989
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4990
4990
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4991
4991
  id: z.ZodString;
4992
4992
  }, z.core.$strip>;
@@ -4996,11 +4996,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4996
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4997
4997
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4998
4998
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4999
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5000
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4999
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5000
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5001
5001
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5002
5002
  }, z.core.$strip>;
5003
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5003
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5004
5004
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5005
5005
  name: "created_at";
5006
5006
  tableName: "tasks";
@@ -5214,7 +5214,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5214
5214
  }, {}, {
5215
5215
  length: 256;
5216
5216
  }>;
5217
- }, drizzle_zod19.BuildRefine<{
5217
+ }, drizzle_zod15.BuildRefine<{
5218
5218
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5219
5219
  name: "created_at";
5220
5220
  tableName: "tasks";
@@ -5532,10 +5532,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5532
5532
  }>, z.core.$strip>;
5533
5533
  declare const TaskApiUpdateSchema: z.ZodObject<{
5534
5534
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5536
5535
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5537
5536
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5538
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5539
5537
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5540
5538
  type: z.ZodEnum<{
5541
5539
  tag: "tag";
@@ -5545,12 +5543,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5545
5543
  name: z.ZodString;
5546
5544
  hash: z.ZodString;
5547
5545
  }, z.core.$strip>>>;
5546
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5548
5547
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5550
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
5549
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5550
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5552
5552
  }, z.core.$strip>;
5553
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5553
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5554
5554
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5555
5555
  name: "created_at";
5556
5556
  tableName: "task_relations";
@@ -5699,7 +5699,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5699
5699
  }, {}, {
5700
5700
  length: 256;
5701
5701
  }>;
5702
- }, drizzle_zod19.BuildRefine<{
5702
+ }, drizzle_zod15.BuildRefine<{
5703
5703
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5704
5704
  name: "created_at";
5705
5705
  tableName: "task_relations";
@@ -5924,7 +5924,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
5924
5924
  description: z.ZodOptional<z.ZodString>;
5925
5925
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5926
5926
  }, z.core.$strip>;
5927
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
5927
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
5928
5928
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5929
5929
  name: "created_at";
5930
5930
  tableName: "tools";
@@ -6187,7 +6187,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
6187
6187
  }, {}, {
6188
6188
  length: 256;
6189
6189
  }>;
6190
- }, drizzle_zod19.BuildRefine<{
6190
+ }, drizzle_zod15.BuildRefine<{
6191
6191
  createdAt: drizzle_orm_pg_core208.PgColumn<{
6192
6192
  name: "created_at";
6193
6193
  tableName: "tools";
@@ -6495,7 +6495,7 @@ declare const ToolInsertSchema: z.ZodObject<{
6495
6495
  out: {};
6496
6496
  in: {};
6497
6497
  }>;
6498
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6498
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6499
6499
  createdAt: drizzle_orm_pg_core208.PgColumn<{
6500
6500
  name: "created_at";
6501
6501
  tableName: "conversations";
@@ -6724,7 +6724,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6724
6724
  }, {}, {
6725
6725
  length: 256;
6726
6726
  }>;
6727
- }, drizzle_zod19.BuildRefine<{
6727
+ }, drizzle_zod15.BuildRefine<{
6728
6728
  createdAt: drizzle_orm_pg_core208.PgColumn<{
6729
6729
  name: "created_at";
6730
6730
  tableName: "conversations";
@@ -7061,13 +7061,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7061
7061
  }>, z.core.$strip>;
7062
7062
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7063
7063
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7064
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7065
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7066
7064
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7067
7065
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7068
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7069
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7070
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7071
7066
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7072
7067
  type: z.ZodEnum<{
7073
7068
  tag: "tag";
@@ -7077,10 +7072,15 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7077
7072
  name: z.ZodString;
7078
7073
  hash: z.ZodString;
7079
7074
  }, z.core.$strip>>>;
7075
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7076
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7077
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7079
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7080
7080
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7081
7081
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7082
7082
  }, z.core.$strip>;
7083
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7083
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7084
7084
  createdAt: drizzle_orm_pg_core208.PgColumn<{
7085
7085
  name: "created_at";
7086
7086
  tableName: "messages";
@@ -7476,7 +7476,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7476
7476
  }, {}, {
7477
7477
  length: 256;
7478
7478
  }>;
7479
- }, drizzle_zod19.BuildRefine<{
7479
+ }, drizzle_zod15.BuildRefine<{
7480
7480
  createdAt: drizzle_orm_pg_core208.PgColumn<{
7481
7481
  name: "created_at";
7482
7482
  tableName: "messages";
@@ -7976,23 +7976,23 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7976
7976
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7977
7977
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7978
7978
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
7979
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7980
7979
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7980
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7981
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
7982
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7982
7983
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7983
7984
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
7985
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7985
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7987
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7988
7986
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7989
7987
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7990
7988
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7989
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7992
7991
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7992
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7993
7993
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7994
7994
  }, z.core.$strip>;
7995
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
7995
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
7996
7996
  createdAt: drizzle_orm_pg_core208.PgColumn<{
7997
7997
  name: "created_at";
7998
7998
  tableName: "context_cache";
@@ -8242,7 +8242,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8242
8242
  }, {}, {
8243
8243
  length: 256;
8244
8244
  }>;
8245
- }, drizzle_zod19.BuildRefine<{
8245
+ }, drizzle_zod15.BuildRefine<{
8246
8246
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8247
8247
  name: "created_at";
8248
8248
  tableName: "context_cache";
@@ -8499,7 +8499,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8499
8499
  conversationId: z.ZodString;
8500
8500
  contextConfigId: z.ZodString;
8501
8501
  contextVariableKey: z.ZodString;
8502
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8502
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8503
8503
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8504
8504
  fetchedAt: z.ZodOptional<z.ZodString>;
8505
8505
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8525,7 +8525,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8525
8525
  conversationId: z.ZodOptional<z.ZodString>;
8526
8526
  contextConfigId: z.ZodOptional<z.ZodString>;
8527
8527
  contextVariableKey: z.ZodOptional<z.ZodString>;
8528
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8528
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8529
8529
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8530
8530
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8531
8531
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8568,7 +8568,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8568
8568
  name: string;
8569
8569
  hash: string;
8570
8570
  }>>>;
8571
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8571
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8572
8572
  requestHash: z.ZodNullable<z.ZodString>;
8573
8573
  fetchedAt: z.ZodString;
8574
8574
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8582,7 +8582,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8582
8582
  conversationId: z.ZodString;
8583
8583
  contextConfigId: z.ZodString;
8584
8584
  contextVariableKey: z.ZodString;
8585
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8585
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8586
8586
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8587
8587
  fetchedAt: z.ZodOptional<z.ZodString>;
8588
8588
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8601,10 +8601,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8601
8601
  }>, z.core.$strip>;
8602
8602
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8603
8603
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8604
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8605
8604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8606
8605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8607
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8608
8606
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8609
8607
  type: z.ZodEnum<{
8610
8608
  tag: "tag";
@@ -8614,13 +8612,15 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8614
8612
  name: z.ZodString;
8615
8613
  hash: z.ZodString;
8616
8614
  }, z.core.$strip>>>;
8615
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8616
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8617
8617
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8618
8618
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8619
8619
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8620
8620
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8621
8621
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8622
8622
  }, z.core.$strip>;
8623
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8623
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
8624
8624
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8625
8625
  name: "created_at";
8626
8626
  tableName: "dataset_run";
@@ -8763,7 +8763,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8763
8763
  }, {}, {
8764
8764
  length: 256;
8765
8765
  }>;
8766
- }, drizzle_zod19.BuildRefine<{
8766
+ }, drizzle_zod15.BuildRefine<{
8767
8767
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8768
8768
  name: "created_at";
8769
8769
  tableName: "dataset_run";
@@ -8947,17 +8947,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8947
8947
  createdAt: z.ZodOptional<z.ZodString>;
8948
8948
  updatedAt: z.ZodOptional<z.ZodString>;
8949
8949
  datasetId: z.ZodString;
8950
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8951
8950
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8951
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8952
8952
  }, z.core.$strip>;
8953
8953
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8954
8954
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8955
8955
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8956
8956
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8957
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
8957
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8959
8959
  }, z.core.$strip>;
8960
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8960
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8961
8961
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8962
8962
  name: "created_at";
8963
8963
  tableName: "dataset_run_conversation_relations";
@@ -9100,7 +9100,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
9100
9100
  }, {}, {
9101
9101
  length: 256;
9102
9102
  }>;
9103
- }, drizzle_zod19.BuildRefine<{
9103
+ }, drizzle_zod15.BuildRefine<{
9104
9104
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9105
9105
  name: "created_at";
9106
9106
  tableName: "dataset_run_conversation_relations";
@@ -9294,7 +9294,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9294
9294
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9295
9295
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9296
9296
  }, z.core.$strip>;
9297
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9297
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9298
9298
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9299
9299
  name: "created_at";
9300
9300
  tableName: "evaluation_result";
@@ -9456,7 +9456,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
9456
9456
  }, {}, {
9457
9457
  length: 256;
9458
9458
  }>;
9459
- }, drizzle_zod19.BuildRefine<{
9459
+ }, drizzle_zod15.BuildRefine<{
9460
9460
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9461
9461
  name: "created_at";
9462
9462
  tableName: "evaluation_result";
@@ -9662,19 +9662,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9662
9662
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9663
9663
  createdAt: z.ZodOptional<z.ZodString>;
9664
9664
  updatedAt: z.ZodOptional<z.ZodString>;
9665
- evaluatorId: z.ZodString;
9666
9665
  conversationId: z.ZodString;
9666
+ evaluatorId: z.ZodString;
9667
9667
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9668
9668
  }, z.core.$strip>;
9669
9669
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9670
9670
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9671
9671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9672
9672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9673
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
9673
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9675
9675
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9676
9676
  }, z.core.$strip>;
9677
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9677
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
9678
9678
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9679
9679
  name: "created_at";
9680
9680
  tableName: "evaluation_run";
@@ -9800,7 +9800,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9800
9800
  }, {}, {
9801
9801
  length: 256;
9802
9802
  }>;
9803
- }, drizzle_zod19.BuildRefine<{
9803
+ }, drizzle_zod15.BuildRefine<{
9804
9804
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9805
9805
  name: "created_at";
9806
9806
  tableName: "evaluation_run";
@@ -9963,16 +9963,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9963
9963
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9964
9964
  createdAt: z.ZodOptional<z.ZodString>;
9965
9965
  updatedAt: z.ZodOptional<z.ZodString>;
9966
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
9966
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9968
9968
  }, z.core.$strip>;
9969
9969
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9970
9970
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9971
9971
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9972
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
9972
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9974
9974
  }, z.core.$strip>;
9975
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9975
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9976
9976
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9977
9977
  name: "created_at";
9978
9978
  tableName: "evaluation_run_config";
@@ -10117,7 +10117,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10117
10117
  }, {}, {
10118
10118
  length: 256;
10119
10119
  }>;
10120
- }, drizzle_zod19.BuildRefine<{
10120
+ }, drizzle_zod15.BuildRefine<{
10121
10121
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10122
10122
  name: "created_at";
10123
10123
  tableName: "evaluation_run_config";
@@ -10301,30 +10301,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10301
10301
  }>, z.core.$strip>;
10302
10302
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10303
10303
  name: z.ZodString;
10304
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10305
10304
  createdAt: z.ZodOptional<z.ZodString>;
10306
10305
  updatedAt: z.ZodOptional<z.ZodString>;
10306
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10307
10307
  isActive: z.ZodOptional<z.ZodBoolean>;
10308
10308
  suiteConfigIds: z.ZodArray<z.ZodString>;
10309
10309
  }, z.core.$strip>;
10310
10310
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10311
10311
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10312
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10313
10312
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
10313
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10315
10315
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10316
10316
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10317
10317
  }, z.core.$strip>;
10318
10318
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10319
10319
  id: z.ZodString;
10320
10320
  name: z.ZodString;
10321
- description: z.ZodNullable<z.ZodString>;
10322
10321
  createdAt: z.ZodString;
10323
10322
  updatedAt: z.ZodString;
10323
+ description: z.ZodNullable<z.ZodString>;
10324
10324
  isActive: z.ZodBoolean;
10325
10325
  suiteConfigIds: z.ZodArray<z.ZodString>;
10326
10326
  }, z.core.$strip>;
10327
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10327
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10328
10328
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10329
10329
  name: "created_at";
10330
10330
  tableName: "evaluation_job_config";
@@ -10449,7 +10449,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10449
10449
  }, {}, {
10450
10450
  length: 256;
10451
10451
  }>;
10452
- }, drizzle_zod19.BuildRefine<{
10452
+ }, drizzle_zod15.BuildRefine<{
10453
10453
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10454
10454
  name: "created_at";
10455
10455
  tableName: "evaluation_job_config";
@@ -10756,7 +10756,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10756
10756
  } | undefined;
10757
10757
  }>>>>>>>;
10758
10758
  }, z.core.$strip>;
10759
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10759
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10760
10760
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10761
10761
  name: "created_at";
10762
10762
  tableName: "evaluation_suite_config";
@@ -10884,7 +10884,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
10884
10884
  }, {}, {
10885
10885
  length: 256;
10886
10886
  }>;
10887
- }, drizzle_zod19.BuildRefine<{
10887
+ }, drizzle_zod15.BuildRefine<{
10888
10888
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10889
10889
  name: "created_at";
10890
10890
  tableName: "evaluation_suite_config";
@@ -11060,7 +11060,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11060
11060
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11061
11061
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11062
11062
  }, z.core.$strip>;
11063
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11063
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11064
11064
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11065
11065
  name: "created_at";
11066
11066
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11186,7 +11186,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11186
11186
  }, {}, {
11187
11187
  length: 256;
11188
11188
  }>;
11189
- }, drizzle_zod19.BuildRefine<{
11189
+ }, drizzle_zod15.BuildRefine<{
11190
11190
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11191
11191
  name: "created_at";
11192
11192
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11349,16 +11349,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11349
11349
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11350
11350
  createdAt: z.ZodOptional<z.ZodString>;
11351
11351
  updatedAt: z.ZodOptional<z.ZodString>;
11352
- evaluationSuiteConfigId: z.ZodString;
11353
11352
  evaluationRunConfigId: z.ZodString;
11353
+ evaluationSuiteConfigId: z.ZodString;
11354
11354
  }, z.core.$strip>;
11355
11355
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11356
11356
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11357
11357
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11358
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
11358
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11360
11360
  }, z.core.$strip>;
11361
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11361
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11362
11362
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11363
11363
  name: "created_at";
11364
11364
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11484,7 +11484,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
11484
11484
  }, {}, {
11485
11485
  length: 256;
11486
11486
  }>;
11487
- }, drizzle_zod19.BuildRefine<{
11487
+ }, drizzle_zod15.BuildRefine<{
11488
11488
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11489
11489
  name: "created_at";
11490
11490
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11647,16 +11647,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11647
11647
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11648
11648
  createdAt: z.ZodOptional<z.ZodString>;
11649
11649
  updatedAt: z.ZodOptional<z.ZodString>;
11650
- evaluatorId: z.ZodString;
11651
11650
  evaluationJobConfigId: z.ZodString;
11651
+ evaluatorId: z.ZodString;
11652
11652
  }, z.core.$strip>;
11653
11653
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11654
11654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11655
11655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11656
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
11656
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11658
11658
  }, z.core.$strip>;
11659
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11659
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11660
11660
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11661
11661
  name: "created_at";
11662
11662
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11782,7 +11782,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
11782
11782
  }, {}, {
11783
11783
  length: 256;
11784
11784
  }>;
11785
- }, drizzle_zod19.BuildRefine<{
11785
+ }, drizzle_zod15.BuildRefine<{
11786
11786
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11787
11787
  name: "created_at";
11788
11788
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11945,16 +11945,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11945
11945
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11946
11946
  createdAt: z.ZodOptional<z.ZodString>;
11947
11947
  updatedAt: z.ZodOptional<z.ZodString>;
11948
- evaluationSuiteConfigId: z.ZodString;
11949
11948
  evaluatorId: z.ZodString;
11949
+ evaluationSuiteConfigId: z.ZodString;
11950
11950
  }, z.core.$strip>;
11951
11951
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11952
11952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11953
11953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11954
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
11954
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11956
11956
  }, z.core.$strip>;
11957
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
11957
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11958
11958
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11959
11959
  name: "created_at";
11960
11960
  tableName: "evaluator";
@@ -12162,7 +12162,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12162
12162
  }, {}, {
12163
12163
  length: 256;
12164
12164
  }>;
12165
- }, drizzle_zod19.BuildRefine<{
12165
+ }, drizzle_zod15.BuildRefine<{
12166
12166
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12167
12167
  name: "created_at";
12168
12168
  tableName: "evaluator";
@@ -12454,8 +12454,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12454
12454
  }>, z.core.$strip>;
12455
12455
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12456
12456
  name: z.ZodString;
12457
+ createdAt: z.ZodOptional<z.ZodString>;
12458
+ updatedAt: z.ZodOptional<z.ZodString>;
12459
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12457
12460
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12458
- prompt: z.ZodString;
12459
12461
  model: z.ZodType<{
12460
12462
  model?: string | undefined;
12461
12463
  providerOptions?: Record<string, any> | undefined;
@@ -12469,15 +12471,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12469
12471
  model?: string | undefined;
12470
12472
  providerOptions?: Record<string, any> | undefined;
12471
12473
  }>>;
12472
- createdAt: z.ZodOptional<z.ZodString>;
12473
- updatedAt: z.ZodOptional<z.ZodString>;
12474
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12474
+ prompt: z.ZodString;
12475
12475
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12476
12476
  }, z.core.$strip>;
12477
12477
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12478
12478
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12479
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12480
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12481
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12479
12482
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12480
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12481
12483
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12482
12484
  model?: string | undefined;
12483
12485
  providerOptions?: Record<string, any> | undefined;
@@ -12491,12 +12493,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12491
12493
  model?: string | undefined;
12492
12494
  providerOptions?: Record<string, any> | undefined;
12493
12495
  }>>>>;
12494
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12495
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12496
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12496
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12497
12497
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12498
12498
  }, z.core.$strip>;
12499
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12499
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12500
12500
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12501
12501
  name: "created_at";
12502
12502
  tableName: "dataset";
@@ -12607,7 +12607,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12607
12607
  }, {}, {
12608
12608
  length: 256;
12609
12609
  }>;
12610
- }, drizzle_zod19.BuildRefine<{
12610
+ }, drizzle_zod15.BuildRefine<{
12611
12611
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12612
12612
  name: "created_at";
12613
12613
  tableName: "dataset";
@@ -12759,7 +12759,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12759
12759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12760
12760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12761
12761
  }, z.core.$strip>;
12762
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12762
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12763
12763
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12764
12764
  name: "created_at";
12765
12765
  tableName: "dataset_item";
@@ -12945,7 +12945,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12945
12945
  }, {}, {
12946
12946
  length: 256;
12947
12947
  }>;
12948
- }, drizzle_zod19.BuildRefine<{
12948
+ }, drizzle_zod15.BuildRefine<{
12949
12949
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12950
12950
  name: "created_at";
12951
12951
  tableName: "dataset_item";
@@ -13386,8 +13386,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13386
13386
  }>>>>>>;
13387
13387
  }, z.core.$strip>;
13388
13388
  declare const DatasetRunItemSchema: z.ZodObject<{
13389
- id: z.ZodOptional<z.ZodString>;
13390
13389
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13390
+ id: z.ZodOptional<z.ZodString>;
13391
13391
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13392
13392
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13393
13393
  prompt: string;
@@ -13435,8 +13435,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13435
13435
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13436
13436
  datasetRunId: z.ZodString;
13437
13437
  items: z.ZodArray<z.ZodObject<{
13438
- id: z.ZodOptional<z.ZodString>;
13439
13438
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13439
+ id: z.ZodOptional<z.ZodString>;
13440
13440
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13441
13441
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13442
13442
  prompt: string;
@@ -13514,7 +13514,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13514
13514
  }, z.core.$strip>>;
13515
13515
  }, z.core.$strip>>>;
13516
13516
  }, z.core.$strip>;
13517
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13517
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13518
13518
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13519
13519
  name: "created_at";
13520
13520
  tableName: "dataset_run_config";
@@ -13659,7 +13659,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
13659
13659
  }, {}, {
13660
13660
  length: 256;
13661
13661
  }>;
13662
- }, drizzle_zod19.BuildRefine<{
13662
+ }, drizzle_zod15.BuildRefine<{
13663
13663
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13664
13664
  name: "created_at";
13665
13665
  tableName: "dataset_run_config";
@@ -13843,19 +13843,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13843
13843
  }>, z.core.$strip>;
13844
13844
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13845
13845
  name: z.ZodString;
13846
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13847
13846
  createdAt: z.ZodOptional<z.ZodString>;
13848
13847
  updatedAt: z.ZodOptional<z.ZodString>;
13848
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13849
13849
  datasetId: z.ZodString;
13850
13850
  }, z.core.$strip>;
13851
13851
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13852
13852
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13854
13853
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13855
13854
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13855
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13856
13856
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13857
13857
  }, z.core.$strip>;
13858
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13858
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13859
13859
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13860
13860
  name: "created_at";
13861
13861
  tableName: "dataset_run_config_agent_relations";
@@ -13981,7 +13981,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod19.BuildRefine<{
13984
+ }, drizzle_zod15.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "dataset_run_config_agent_relations";
@@ -14142,18 +14142,18 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14142
14142
  id: z.ZodString;
14143
14143
  }>, z.core.$strip>;
14144
14144
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14145
- agentId: z.ZodString;
14146
14145
  createdAt: z.ZodOptional<z.ZodString>;
14147
14146
  updatedAt: z.ZodOptional<z.ZodString>;
14147
+ agentId: z.ZodString;
14148
14148
  datasetRunConfigId: z.ZodString;
14149
14149
  }, z.core.$strip>;
14150
14150
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14151
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14152
14151
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14153
14152
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14153
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14154
14154
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14155
14155
  }, z.core.$strip>;
14156
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14156
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14157
14157
  createdAt: drizzle_orm_pg_core208.PgColumn<{
14158
14158
  name: "created_at";
14159
14159
  tableName: "data_components";
@@ -14325,7 +14325,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14325
14325
  }, {}, {
14326
14326
  length: 256;
14327
14327
  }>;
14328
- }, drizzle_zod19.BuildRefine<{
14328
+ }, drizzle_zod15.BuildRefine<{
14329
14329
  createdAt: drizzle_orm_pg_core208.PgColumn<{
14330
14330
  name: "created_at";
14331
14331
  tableName: "data_components";
@@ -14525,11 +14525,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14525
14525
  in: {};
14526
14526
  }>;
14527
14527
  declare const DataComponentBaseSchema: z.ZodObject<{
14528
- tenantId: z.ZodString;
14529
- projectId: z.ZodString;
14530
14528
  id: z.ZodString;
14531
14529
  name: z.ZodString;
14532
14530
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14531
+ projectId: z.ZodString;
14532
+ tenantId: z.ZodString;
14533
14533
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14534
14534
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14535
14535
  component: string;
@@ -14623,9 +14623,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14623
14623
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14624
14624
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14625
14625
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14626
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14627
14626
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
14627
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14629
14629
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
14630
14630
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14631
14631
  component: string;
@@ -14641,7 +14641,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14641
14641
  mockData: Record<string, unknown>;
14642
14642
  }>>>>>>;
14643
14643
  }, z.core.$strip>;
14644
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14644
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14645
14645
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
14646
14646
  name: "data_component_id";
14647
14647
  tableName: "sub_agent_data_components";
@@ -14773,7 +14773,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14773
14773
  }, {}, {
14774
14774
  length: 256;
14775
14775
  }>;
14776
- }, drizzle_zod19.BuildRefine<{
14776
+ }, drizzle_zod15.BuildRefine<{
14777
14777
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
14778
14778
  name: "data_component_id";
14779
14779
  tableName: "sub_agent_data_components";
@@ -14906,7 +14906,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14906
14906
  length: 256;
14907
14907
  }>;
14908
14908
  }, undefined>, undefined>;
14909
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
14909
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14910
14910
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
14911
14911
  name: "data_component_id";
14912
14912
  tableName: "sub_agent_data_components";
@@ -15038,7 +15038,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15038
15038
  }, {}, {
15039
15039
  length: 256;
15040
15040
  }>;
15041
- }, drizzle_zod19.BuildRefine<Pick<{
15041
+ }, drizzle_zod15.BuildRefine<Pick<{
15042
15042
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
15043
15043
  name: "data_component_id";
15044
15044
  tableName: "sub_agent_data_components";
@@ -15170,7 +15170,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15170
15170
  }, {}, {
15171
15171
  length: 256;
15172
15172
  }>;
15173
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15173
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15174
15174
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15175
15175
  dataComponentId: z.ZodOptional<z.ZodString>;
15176
15176
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15206,7 +15206,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15206
15206
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
15207
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15208
15208
  }, z.core.$strip>;
15209
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15209
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15210
15210
  createdAt: drizzle_orm_pg_core208.PgColumn<{
15211
15211
  name: "created_at";
15212
15212
  tableName: "artifact_components";
@@ -15378,7 +15378,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
15378
15378
  }, {}, {
15379
15379
  length: 256;
15380
15380
  }>;
15381
- }, drizzle_zod19.BuildRefine<{
15381
+ }, drizzle_zod15.BuildRefine<{
15382
15382
  createdAt: drizzle_orm_pg_core208.PgColumn<{
15383
15383
  name: "created_at";
15384
15384
  tableName: "artifact_components";
@@ -15651,9 +15651,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15651
15651
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15652
15652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15653
15653
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15654
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15655
15654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
15655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15657
15657
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
15658
15658
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15659
15659
  component: string;
@@ -15669,7 +15669,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15669
15669
  mockData: Record<string, unknown>;
15670
15670
  }>>>>>>;
15671
15671
  }, z.core.$strip>;
15672
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15672
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15673
15673
  artifactComponentId: drizzle_orm_pg_core208.PgColumn<{
15674
15674
  name: "artifact_component_id";
15675
15675
  tableName: "sub_agent_artifact_components";
@@ -15801,7 +15801,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
15801
15801
  }, {}, {
15802
15802
  length: 256;
15803
15803
  }>;
15804
- }, drizzle_zod19.BuildRefine<{
15804
+ }, drizzle_zod15.BuildRefine<{
15805
15805
  artifactComponentId: drizzle_orm_pg_core208.PgColumn<{
15806
15806
  name: "artifact_component_id";
15807
15807
  tableName: "sub_agent_artifact_components";
@@ -16048,19 +16048,18 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16048
16048
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16049
16049
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16050
16050
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16051
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16052
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16053
16051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16054
16052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16053
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16054
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16055
16055
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16056
16056
  }, z.core.$strip>;
16057
16057
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16058
16058
  id: z.ZodString;
16059
16059
  name: z.ZodString;
16060
- description: z.ZodNullable<z.ZodString>;
16061
- prompt: z.ZodNullable<z.ZodString>;
16062
16060
  createdAt: z.ZodString;
16063
16061
  updatedAt: z.ZodString;
16062
+ description: z.ZodNullable<z.ZodString>;
16064
16063
  models: z.ZodNullable<z.ZodType<{
16065
16064
  base?: {
16066
16065
  model?: string | undefined;
@@ -16114,6 +16113,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16114
16113
  providerOptions?: Record<string, any> | undefined;
16115
16114
  } | undefined;
16116
16115
  }>>>;
16116
+ prompt: z.ZodNullable<z.ZodString>;
16117
16117
  stopWhen: z.ZodNullable<z.ZodType<{
16118
16118
  stepCountIs?: number | undefined;
16119
16119
  }, {
@@ -16128,14 +16128,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16128
16128
  }, z.core.$strip>, z.ZodObject<{
16129
16129
  id: z.ZodString;
16130
16130
  name: z.ZodString;
16131
- description: z.ZodNullable<z.ZodString>;
16132
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16133
16131
  createdAt: z.ZodString;
16134
16132
  updatedAt: z.ZodString;
16133
+ description: z.ZodNullable<z.ZodString>;
16134
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16135
16135
  baseUrl: z.ZodString;
16136
16136
  type: z.ZodLiteral<"external">;
16137
16137
  }, z.core.$strip>], "type">;
16138
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16138
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16139
16139
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16140
16140
  name: "created_at";
16141
16141
  tableName: "api_keys";
@@ -16356,7 +16356,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16356
16356
  }, {}, {
16357
16357
  length: 256;
16358
16358
  }>;
16359
- }, drizzle_zod19.BuildRefine<{
16359
+ }, drizzle_zod15.BuildRefine<{
16360
16360
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16361
16361
  name: "created_at";
16362
16362
  tableName: "api_keys";
@@ -16597,10 +16597,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16597
16597
  }>;
16598
16598
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16599
16599
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16601
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
16602
  agentId: z.ZodOptional<z.ZodString>;
16601
16603
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16602
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16603
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16604
16604
  }, {
16605
16605
  out: {};
16606
16606
  in: {};
@@ -16608,13 +16608,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16608
16608
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16609
16609
  id: z.ZodString;
16610
16610
  name: z.ZodNullable<z.ZodString>;
16611
+ createdAt: z.ZodString;
16612
+ updatedAt: z.ZodString;
16613
+ expiresAt: z.ZodNullable<z.ZodString>;
16611
16614
  agentId: z.ZodString;
16612
16615
  publicId: z.ZodString;
16613
16616
  keyPrefix: z.ZodString;
16614
16617
  lastUsedAt: z.ZodNullable<z.ZodString>;
16615
- expiresAt: z.ZodNullable<z.ZodString>;
16616
- createdAt: z.ZodString;
16617
- updatedAt: z.ZodString;
16618
16618
  }, {
16619
16619
  out: {};
16620
16620
  in: {};
@@ -16624,13 +16624,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16624
16624
  apiKey: z.ZodObject<{
16625
16625
  id: z.ZodString;
16626
16626
  name: z.ZodNullable<z.ZodString>;
16627
+ createdAt: z.ZodString;
16628
+ updatedAt: z.ZodString;
16629
+ expiresAt: z.ZodNullable<z.ZodString>;
16627
16630
  agentId: z.ZodString;
16628
16631
  publicId: z.ZodString;
16629
16632
  keyPrefix: z.ZodString;
16630
16633
  lastUsedAt: z.ZodNullable<z.ZodString>;
16631
- expiresAt: z.ZodNullable<z.ZodString>;
16632
- createdAt: z.ZodString;
16633
- updatedAt: z.ZodString;
16634
16634
  }, {
16635
16635
  out: {};
16636
16636
  in: {};
@@ -16640,25 +16640,25 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16640
16640
  }, z.core.$strip>;
16641
16641
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16642
16642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16643
- agentId: z.ZodString;
16644
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16645
16643
  createdAt: z.ZodOptional<z.ZodString>;
16646
16644
  updatedAt: z.ZodOptional<z.ZodString>;
16645
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16646
+ agentId: z.ZodString;
16647
16647
  }, {
16648
16648
  out: {};
16649
16649
  in: {};
16650
16650
  }>;
16651
16651
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16652
16652
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16654
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
16655
  agentId: z.ZodOptional<z.ZodString>;
16654
16656
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16655
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16656
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16657
16657
  }, {
16658
16658
  out: {};
16659
16659
  in: {};
16660
16660
  }>;
16661
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
16661
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
16662
16662
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16663
16663
  name: "created_at";
16664
16664
  tableName: "credential_references";
@@ -16883,7 +16883,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
16883
16883
  }, {}, {
16884
16884
  length: 256;
16885
16885
  }>;
16886
- }, drizzle_zod19.BuildRefine<{
16886
+ }, drizzle_zod15.BuildRefine<{
16887
16887
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16888
16888
  name: "created_at";
16889
16889
  tableName: "credential_references";
@@ -17148,9 +17148,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17148
17148
  name: z.ZodString;
17149
17149
  createdAt: z.ZodString;
17150
17150
  updatedAt: z.ZodString;
17151
+ userId: z.ZodNullable<z.ZodString>;
17151
17152
  credentialStoreId: z.ZodString;
17152
17153
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17153
- userId: z.ZodNullable<z.ZodString>;
17154
17154
  toolId: z.ZodNullable<z.ZodString>;
17155
17155
  createdBy: z.ZodNullable<z.ZodString>;
17156
17156
  type: z.ZodEnum<{
@@ -17158,7 +17158,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17158
17158
  readonly keychain: "keychain";
17159
17159
  readonly nango: "nango";
17160
17160
  }>;
17161
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
17161
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
17162
17162
  createdAt: drizzle_orm_pg_core208.PgColumn<{
17163
17163
  name: "created_at";
17164
17164
  tableName: "tools";
@@ -17421,7 +17421,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17421
17421
  }, {}, {
17422
17422
  length: 256;
17423
17423
  }>;
17424
- }, drizzle_zod19.BuildRefine<{
17424
+ }, drizzle_zod15.BuildRefine<{
17425
17425
  createdAt: drizzle_orm_pg_core208.PgColumn<{
17426
17426
  name: "created_at";
17427
17427
  tableName: "tools";
@@ -17705,9 +17705,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17705
17705
  name: z.ZodString;
17706
17706
  createdAt: z.ZodOptional<z.ZodString>;
17707
17707
  updatedAt: z.ZodOptional<z.ZodString>;
17708
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17708
17709
  credentialStoreId: z.ZodString;
17709
17710
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17710
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17711
17711
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17712
17712
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17713
17713
  type: z.ZodEnum<{
@@ -17721,9 +17721,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17721
17721
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17722
17722
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17723
17723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17724
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17724
17725
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17725
17726
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17726
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17727
17727
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17728
17728
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17729
17729
  type: z.ZodOptional<z.ZodEnum<{
@@ -17849,12 +17849,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17849
17849
  id: z.ZodString;
17850
17850
  name: z.ZodString;
17851
17851
  expiresAt: z.ZodOptional<z.ZodString>;
17852
- createdBy: z.ZodOptional<z.ZodString>;
17853
17852
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17854
17853
  credentialScope: z.ZodOptional<z.ZodString>;
17855
17854
  imageUrl: z.ZodOptional<z.ZodString>;
17856
17855
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17857
17856
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17857
+ createdBy: z.ZodOptional<z.ZodString>;
17858
17858
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17859
17859
  name: z.ZodString;
17860
17860
  description: z.ZodOptional<z.ZodString>;
@@ -17885,9 +17885,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17885
17885
  name: z.ZodString;
17886
17886
  createdAt: z.ZodOptional<z.ZodString>;
17887
17887
  updatedAt: z.ZodOptional<z.ZodString>;
17888
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17888
17889
  credentialStoreId: z.ZodString;
17889
17890
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17890
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17891
17891
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17892
17892
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17893
17893
  type: z.ZodEnum<{
@@ -18023,7 +18023,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18023
18023
  declare const ToolApiUpdateSchema: z.ZodObject<{
18024
18024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18025
18025
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18026
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18027
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18026
18028
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18029
+ 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>>>>>>>;
18027
18030
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18028
18031
  type: z.ZodLiteral<"mcp">;
18029
18032
  mcp: z.ZodObject<{
@@ -18051,15 +18054,12 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18051
18054
  }, z.core.$strip>;
18052
18055
  }, z.core.$strip>>>;
18053
18056
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18054
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18055
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18056
- 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>>>>>>>;
18057
18057
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18058
18058
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18059
18059
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
18060
18060
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18061
18061
  }, z.core.$strip>;
18062
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18062
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
18063
18063
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18064
18064
  name: "created_at";
18065
18065
  tableName: "function_tools";
@@ -18225,7 +18225,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18225
18225
  }, {}, {
18226
18226
  length: 256;
18227
18227
  }>;
18228
- }, drizzle_zod19.BuildRefine<{
18228
+ }, drizzle_zod15.BuildRefine<{
18229
18229
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18230
18230
  name: "created_at";
18231
18231
  tableName: "function_tools";
@@ -18423,10 +18423,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18423
18423
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18424
18424
  id: z.ZodString;
18425
18425
  name: z.ZodString;
18426
- description: z.ZodNullable<z.ZodString>;
18427
- agentId: z.ZodString;
18428
18426
  createdAt: z.ZodString;
18429
18427
  updatedAt: z.ZodString;
18428
+ description: z.ZodNullable<z.ZodString>;
18429
+ agentId: z.ZodString;
18430
18430
  functionId: z.ZodString;
18431
18431
  relationshipId: z.ZodOptional<z.ZodString>;
18432
18432
  }, z.core.$strip>;
@@ -18444,13 +18444,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18444
18444
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18445
18445
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18446
18446
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18447
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18448
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18449
18447
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
18448
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18449
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18450
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18451
18451
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18452
18452
  }, z.core.$strip>;
18453
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18453
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18454
18454
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18455
18455
  name: "created_at";
18456
18456
  tableName: "sub_agent_function_tool_relations";
@@ -18599,7 +18599,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18599
18599
  }, {}, {
18600
18600
  length: 256;
18601
18601
  }>;
18602
- }, drizzle_zod19.BuildRefine<{
18602
+ }, drizzle_zod15.BuildRefine<{
18603
18603
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18604
18604
  name: "created_at";
18605
18605
  tableName: "sub_agent_function_tool_relations";
@@ -18779,7 +18779,7 @@ declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18779
18779
  out: {};
18780
18780
  in: {};
18781
18781
  }>;
18782
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18782
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18783
18783
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18784
18784
  name: "created_at";
18785
18785
  tableName: "functions";
@@ -18926,7 +18926,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18926
18926
  }, {}, {
18927
18927
  length: 256;
18928
18928
  }>;
18929
- }, drizzle_zod19.BuildRefine<{
18929
+ }, drizzle_zod15.BuildRefine<{
18930
18930
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18931
18931
  name: "created_at";
18932
18932
  tableName: "functions";
@@ -19125,8 +19125,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19125
19125
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19126
19126
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19127
19127
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19128
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19129
19128
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19129
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19130
19130
  }, z.core.$strip>;
19131
19131
  declare const FetchConfigSchema: z.ZodObject<{
19132
19132
  url: z.ZodString;
@@ -19172,9 +19172,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19172
19172
  name: z.ZodString;
19173
19173
  createdAt: z.ZodOptional<z.ZodString>;
19174
19174
  updatedAt: z.ZodOptional<z.ZodString>;
19175
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19175
19176
  credentialStoreId: z.ZodString;
19176
19177
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19177
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19178
19178
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19179
19179
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19180
19180
  type: z.ZodEnum<{
@@ -19198,23 +19198,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19198
19198
  in: {};
19199
19199
  }>;
19200
19200
  declare const ContextConfigInsertSchema: z.ZodObject<{
19201
- tenantId: z.ZodString;
19202
- projectId: z.ZodString;
19203
19201
  id: z.ZodOptional<z.ZodString>;
19204
- agentId: z.ZodString;
19205
19202
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19206
19203
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19204
+ agentId: z.ZodString;
19205
+ projectId: z.ZodString;
19206
+ tenantId: z.ZodString;
19207
19207
  }, {
19208
19208
  out: {};
19209
19209
  in: {};
19210
19210
  }>;
19211
19211
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19212
- tenantId: z.ZodOptional<z.ZodString>;
19213
- projectId: z.ZodOptional<z.ZodString>;
19214
19212
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19215
- agentId: z.ZodOptional<z.ZodString>;
19216
19213
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19217
19214
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19215
+ agentId: z.ZodOptional<z.ZodString>;
19216
+ projectId: z.ZodOptional<z.ZodString>;
19217
+ tenantId: z.ZodOptional<z.ZodString>;
19218
19218
  }, {
19219
19219
  out: {};
19220
19220
  in: {};
@@ -19236,7 +19236,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19236
19236
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19237
19237
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19238
19238
  }, z.core.$strip>;
19239
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19239
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19240
19240
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19241
19241
  name: "created_at";
19242
19242
  tableName: "sub_agent_tool_relations";
@@ -19446,7 +19446,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
19446
19446
  }, {}, {
19447
19447
  length: 256;
19448
19448
  }>;
19449
- }, drizzle_zod19.BuildRefine<{
19449
+ }, drizzle_zod15.BuildRefine<{
19450
19450
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19451
19451
  name: "created_at";
19452
19452
  tableName: "sub_agent_tool_relations";
@@ -19697,9 +19697,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19697
19697
  createdAt: z.ZodString;
19698
19698
  updatedAt: z.ZodString;
19699
19699
  toolId: z.ZodString;
19700
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19701
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19702
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19700
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19701
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19702
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19703
19703
  subAgentId: z.ZodString;
19704
19704
  agentId: z.ZodString;
19705
19705
  projectId: z.ZodString;
@@ -19725,15 +19725,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19725
19725
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19726
19726
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19727
19727
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19728
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19729
19728
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19729
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19730
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19731
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19730
19732
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19731
19733
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19732
19734
  }, z.core.$strip>>>>>>;
19733
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19734
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19735
19735
  }, z.core.$strip>;
19736
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19736
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19737
19737
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19738
19738
  name: "created_at";
19739
19739
  tableName: "sub_agent_external_agent_relations";
@@ -19901,7 +19901,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
19901
19901
  }, {}, {
19902
19902
  length: 256;
19903
19903
  }>;
19904
- }, drizzle_zod19.BuildRefine<{
19904
+ }, drizzle_zod15.BuildRefine<{
19905
19905
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19906
19906
  name: "created_at";
19907
19907
  tableName: "sub_agent_external_agent_relations";
@@ -20102,7 +20102,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20102
20102
  createdAt: z.ZodString;
20103
20103
  updatedAt: z.ZodString;
20104
20104
  externalAgentId: z.ZodString;
20105
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20105
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20106
20106
  subAgentId: z.ZodString;
20107
20107
  agentId: z.ZodString;
20108
20108
  projectId: z.ZodString;
@@ -20120,10 +20120,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20120
20120
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20121
20121
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20122
20122
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20123
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20124
20123
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20124
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
20125
  }, z.core.$strip>;
20126
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20126
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20127
20127
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20128
20128
  name: "created_at";
20129
20129
  tableName: "sub_agent_team_agent_relations";
@@ -20291,7 +20291,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
20291
20291
  }, {}, {
20292
20292
  length: 256;
20293
20293
  }>;
20294
- }, drizzle_zod19.BuildRefine<{
20294
+ }, drizzle_zod15.BuildRefine<{
20295
20295
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20296
20296
  name: "created_at";
20297
20297
  tableName: "sub_agent_team_agent_relations";
@@ -20492,7 +20492,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20492
20492
  createdAt: z.ZodString;
20493
20493
  updatedAt: z.ZodString;
20494
20494
  targetAgentId: z.ZodString;
20495
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20495
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20496
20496
  subAgentId: z.ZodString;
20497
20497
  agentId: z.ZodString;
20498
20498
  projectId: z.ZodString;
@@ -20513,7 +20513,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20513
20513
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20514
20514
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20515
20515
  }, z.core.$strip>;
20516
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20516
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20517
20517
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20518
20518
  name: "created_at";
20519
20519
  tableName: "ledger_artifacts";
@@ -20848,7 +20848,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20848
20848
  }, {}, {
20849
20849
  length: 256;
20850
20850
  }>;
20851
- }, drizzle_zod19.BuildRefine<{
20851
+ }, drizzle_zod15.BuildRefine<{
20852
20852
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20853
20853
  name: "created_at";
20854
20854
  tableName: "ledger_artifacts";
@@ -21184,7 +21184,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21184
21184
  length: 256;
21185
21185
  }>;
21186
21186
  }, undefined>, undefined>;
21187
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21187
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21188
21188
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21189
21189
  name: "created_at";
21190
21190
  tableName: "ledger_artifacts";
@@ -21519,7 +21519,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21519
21519
  }, {}, {
21520
21520
  length: 256;
21521
21521
  }>;
21522
- }, drizzle_zod19.BuildRefine<Pick<{
21522
+ }, drizzle_zod15.BuildRefine<Pick<{
21523
21523
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21524
21524
  name: "created_at";
21525
21525
  tableName: "ledger_artifacts";
@@ -21854,7 +21854,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21854
21854
  }, {}, {
21855
21855
  length: 256;
21856
21856
  }>;
21857
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21857
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
21858
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21859
21859
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21860
21860
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21864,12 +21864,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21864
21864
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21865
21865
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21866
21866
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21867
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21868
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21867
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21868
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21869
21869
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21870
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21870
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21871
21871
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21872
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21872
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21873
21873
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21874
21874
  projectId: z.ZodOptional<z.ZodString>;
21875
21875
  tenantId: z.ZodOptional<z.ZodString>;
@@ -21887,12 +21887,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
21887
21887
  type: z.ZodString;
21888
21888
  name: z.ZodNullable<z.ZodString>;
21889
21889
  description: z.ZodNullable<z.ZodString>;
21890
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21891
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21890
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21891
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21892
21892
  summary: z.ZodNullable<z.ZodString>;
21893
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21893
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21894
21894
  visibility: z.ZodNullable<z.ZodString>;
21895
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21895
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21896
21896
  derivedFrom: z.ZodNullable<z.ZodString>;
21897
21897
  projectId: z.ZodString;
21898
21898
  tenantId: z.ZodString;
@@ -21907,33 +21907,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21907
21907
  type: z.ZodOptional<z.ZodString>;
21908
21908
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21909
21909
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21910
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21911
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21910
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21911
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21912
21912
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21913
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21913
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21914
21914
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21915
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21915
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21916
21916
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21917
21917
  projectId: z.ZodString;
21918
21918
  tenantId: z.ZodString;
21919
21919
  id: z.ZodString;
21920
21920
  }>, z.core.$strip>;
21921
21921
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21922
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21923
21922
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21924
21924
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21925
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21926
21925
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
21926
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21928
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21927
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21928
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21930
21929
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21931
21930
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21931
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21932
21932
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21933
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21933
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21934
21934
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21935
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21936
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21935
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21936
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21937
21937
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21938
21938
  }, z.core.$strip>;
21939
21939
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22001,9 +22001,9 @@ declare const TeamAgentSchema: z.ZodObject<{
22001
22001
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22002
22002
  id: z.ZodString;
22003
22003
  name: z.ZodString;
22004
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22005
22004
  createdAt: z.ZodOptional<z.ZodString>;
22006
22005
  updatedAt: z.ZodOptional<z.ZodString>;
22006
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22007
22007
  models: z.ZodOptional<z.ZodObject<{
22008
22008
  base: z.ZodOptional<z.ZodObject<{
22009
22009
  model: z.ZodOptional<z.ZodString>;
@@ -22054,18 +22054,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22054
22054
  }, z.core.$strip>;
22055
22055
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22056
22056
  name: z.ZodString;
22057
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22058
22057
  createdAt: z.ZodOptional<z.ZodString>;
22059
22058
  updatedAt: z.ZodOptional<z.ZodString>;
22059
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22060
22060
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22061
22061
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22062
22062
  id: z.ZodString;
22063
22063
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22064
22064
  id: z.ZodString;
22065
22065
  name: z.ZodString;
22066
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22067
22066
  createdAt: z.ZodOptional<z.ZodString>;
22068
22067
  updatedAt: z.ZodOptional<z.ZodString>;
22068
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22069
22069
  models: z.ZodOptional<z.ZodObject<{
22070
22070
  base: z.ZodOptional<z.ZodObject<{
22071
22071
  model: z.ZodOptional<z.ZodString>;
@@ -22194,9 +22194,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22194
22194
  }>, z.core.$strip>>>;
22195
22195
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22196
22196
  name: z.ZodString;
22197
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22198
22197
  createdAt: z.ZodOptional<z.ZodString>;
22199
22198
  updatedAt: z.ZodOptional<z.ZodString>;
22199
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22200
22200
  enabled: z.ZodOptional<z.ZodBoolean>;
22201
22201
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22202
22202
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22213,7 +22213,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22213
22213
  objectTransformation?: Record<string, string>;
22214
22214
  }>>>>;
22215
22215
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22216
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22216
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22217
22217
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22218
22218
  id: z.ZodOptional<z.ZodString>;
22219
22219
  }, z.core.$strip>>>;
@@ -22316,10 +22316,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
22316
22316
  in: {};
22317
22317
  }>;
22318
22318
  declare const ProjectInsertSchema: z.ZodObject<{
22319
- tenantId: z.ZodString;
22320
22319
  id: z.ZodString;
22321
22320
  name: z.ZodString;
22322
22321
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22322
+ tenantId: z.ZodString;
22323
22323
  models: z.ZodObject<{
22324
22324
  base: z.ZodObject<{
22325
22325
  model: z.ZodOptional<z.ZodString>;
@@ -22370,9 +22370,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22370
22370
  declare const ProjectApiSelectSchema: z.ZodObject<{
22371
22371
  id: z.ZodString;
22372
22372
  name: z.ZodString;
22373
- description: z.ZodNullable<z.ZodString>;
22374
22373
  createdAt: z.ZodString;
22375
22374
  updatedAt: z.ZodString;
22375
+ description: z.ZodNullable<z.ZodString>;
22376
22376
  models: z.ZodNullable<z.ZodObject<{
22377
22377
  base: z.ZodObject<{
22378
22378
  model: z.ZodOptional<z.ZodString>;
@@ -22470,18 +22470,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22470
22470
  }, z.core.$strip>>;
22471
22471
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22472
22472
  name: z.ZodString;
22473
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22474
22473
  createdAt: z.ZodOptional<z.ZodString>;
22475
22474
  updatedAt: z.ZodOptional<z.ZodString>;
22475
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22476
22476
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22477
22477
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22478
22478
  id: z.ZodString;
22479
22479
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22480
22480
  id: z.ZodString;
22481
22481
  name: z.ZodString;
22482
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22483
22482
  createdAt: z.ZodOptional<z.ZodString>;
22484
22483
  updatedAt: z.ZodOptional<z.ZodString>;
22484
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22485
22485
  models: z.ZodOptional<z.ZodObject<{
22486
22486
  base: z.ZodOptional<z.ZodObject<{
22487
22487
  model: z.ZodOptional<z.ZodString>;
@@ -22610,9 +22610,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22610
22610
  }>, z.core.$strip>>>;
22611
22611
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22612
22612
  name: z.ZodString;
22613
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22614
22613
  createdAt: z.ZodOptional<z.ZodString>;
22615
22614
  updatedAt: z.ZodOptional<z.ZodString>;
22615
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22616
22616
  enabled: z.ZodOptional<z.ZodBoolean>;
22617
22617
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22618
22618
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22629,7 +22629,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22629
22629
  objectTransformation?: Record<string, string>;
22630
22630
  }>>>>;
22631
22631
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22632
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22632
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22633
22633
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22634
22634
  id: z.ZodOptional<z.ZodString>;
22635
22635
  }, z.core.$strip>>>;
@@ -22810,9 +22810,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22810
22810
  name: z.ZodString;
22811
22811
  createdAt: z.ZodOptional<z.ZodString>;
22812
22812
  updatedAt: z.ZodOptional<z.ZodString>;
22813
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22813
22814
  credentialStoreId: z.ZodString;
22814
22815
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22815
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22816
22816
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22817
22817
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22818
22818
  type: z.ZodEnum<{
@@ -22830,9 +22830,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22830
22830
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22831
22831
  id: z.ZodString;
22832
22832
  name: z.ZodString;
22833
- description: z.ZodNullable<z.ZodString>;
22834
22833
  createdAt: z.ZodString;
22835
22834
  updatedAt: z.ZodString;
22835
+ description: z.ZodNullable<z.ZodString>;
22836
22836
  models: z.ZodNullable<z.ZodType<{
22837
22837
  base?: {
22838
22838
  model?: string | undefined;
@@ -22923,9 +22923,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22923
22923
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22924
22924
  id: z.ZodString;
22925
22925
  name: z.ZodString;
22926
- description: z.ZodNullable<z.ZodString>;
22927
22926
  createdAt: z.ZodString;
22928
22927
  updatedAt: z.ZodString;
22928
+ description: z.ZodNullable<z.ZodString>;
22929
22929
  models: z.ZodNullable<z.ZodType<{
22930
22930
  base?: {
22931
22931
  model?: string | undefined;
@@ -23022,17 +23022,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23022
23022
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23023
23023
  id: z.ZodString;
23024
23024
  name: z.ZodString;
23025
- description: z.ZodNullable<z.ZodString>;
23026
23025
  createdAt: z.ZodString;
23027
23026
  updatedAt: z.ZodString;
23027
+ description: z.ZodNullable<z.ZodString>;
23028
23028
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23029
23029
  contextConfigId: z.ZodNullable<z.ZodString>;
23030
23030
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23031
23031
  id: z.ZodString;
23032
23032
  name: z.ZodString;
23033
- description: z.ZodNullable<z.ZodString>;
23034
23033
  createdAt: z.ZodString;
23035
23034
  updatedAt: z.ZodString;
23035
+ description: z.ZodNullable<z.ZodString>;
23036
23036
  models: z.ZodNullable<z.ZodType<{
23037
23037
  base?: {
23038
23038
  model?: string | undefined;
@@ -23167,10 +23167,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23167
23167
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23168
23168
  id: z.ZodString;
23169
23169
  name: z.ZodString;
23170
- description: z.ZodNullable<z.ZodString>;
23171
- agentId: z.ZodString;
23172
23170
  createdAt: z.ZodString;
23173
23171
  updatedAt: z.ZodString;
23172
+ description: z.ZodNullable<z.ZodString>;
23173
+ agentId: z.ZodString;
23174
23174
  functionId: z.ZodString;
23175
23175
  relationshipId: z.ZodOptional<z.ZodString>;
23176
23176
  }, z.core.$strip>>>;
@@ -23228,9 +23228,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23228
23228
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23229
23229
  id: z.ZodString;
23230
23230
  name: z.ZodString;
23231
- description: z.ZodNullable<z.ZodString>;
23232
23231
  createdAt: z.ZodString;
23233
23232
  updatedAt: z.ZodString;
23233
+ description: z.ZodNullable<z.ZodString>;
23234
23234
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23235
23235
  contextConfigId: z.ZodNullable<z.ZodString>;
23236
23236
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23280,10 +23280,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23280
23280
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23281
23281
  id: z.ZodString;
23282
23282
  name: z.ZodString;
23283
- description: z.ZodNullable<z.ZodString>;
23284
- agentId: z.ZodString;
23285
23283
  createdAt: z.ZodString;
23286
23284
  updatedAt: z.ZodString;
23285
+ description: z.ZodNullable<z.ZodString>;
23286
+ agentId: z.ZodString;
23287
23287
  functionId: z.ZodString;
23288
23288
  relationshipId: z.ZodOptional<z.ZodString>;
23289
23289
  }, z.core.$strip>>>;
@@ -23340,9 +23340,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23340
23340
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23341
23341
  id: z.ZodString;
23342
23342
  name: z.ZodString;
23343
- description: z.ZodNullable<z.ZodString>;
23344
23343
  createdAt: z.ZodString;
23345
23344
  updatedAt: z.ZodString;
23345
+ description: z.ZodNullable<z.ZodString>;
23346
23346
  models: z.ZodNullable<z.ZodType<{
23347
23347
  base?: {
23348
23348
  model?: string | undefined;
@@ -23440,9 +23440,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23440
23440
  declare const FullProjectSelectSchema: z.ZodObject<{
23441
23441
  id: z.ZodString;
23442
23442
  name: z.ZodString;
23443
- description: z.ZodNullable<z.ZodString>;
23444
23443
  createdAt: z.ZodString;
23445
23444
  updatedAt: z.ZodString;
23445
+ description: z.ZodNullable<z.ZodString>;
23446
23446
  models: z.ZodNullable<z.ZodObject<{
23447
23447
  base: z.ZodObject<{
23448
23448
  model: z.ZodOptional<z.ZodString>;
@@ -23464,17 +23464,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23464
23464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23465
23465
  id: z.ZodString;
23466
23466
  name: z.ZodString;
23467
- description: z.ZodNullable<z.ZodString>;
23468
23467
  createdAt: z.ZodString;
23469
23468
  updatedAt: z.ZodString;
23469
+ description: z.ZodNullable<z.ZodString>;
23470
23470
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23471
23471
  contextConfigId: z.ZodNullable<z.ZodString>;
23472
23472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23473
23473
  id: z.ZodString;
23474
23474
  name: z.ZodString;
23475
- description: z.ZodNullable<z.ZodString>;
23476
23475
  createdAt: z.ZodString;
23477
23476
  updatedAt: z.ZodString;
23477
+ description: z.ZodNullable<z.ZodString>;
23478
23478
  models: z.ZodNullable<z.ZodType<{
23479
23479
  base?: {
23480
23480
  model?: string | undefined;
@@ -23609,10 +23609,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23609
23609
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23610
23610
  id: z.ZodString;
23611
23611
  name: z.ZodString;
23612
- description: z.ZodNullable<z.ZodString>;
23613
- agentId: z.ZodString;
23614
23612
  createdAt: z.ZodString;
23615
23613
  updatedAt: z.ZodString;
23614
+ description: z.ZodNullable<z.ZodString>;
23615
+ agentId: z.ZodString;
23616
23616
  functionId: z.ZodString;
23617
23617
  relationshipId: z.ZodOptional<z.ZodString>;
23618
23618
  }, z.core.$strip>>>;
@@ -23698,10 +23698,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23698
23698
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23699
23699
  id: z.ZodString;
23700
23700
  name: z.ZodString;
23701
- description: z.ZodNullable<z.ZodString>;
23702
- agentId: z.ZodString;
23703
23701
  createdAt: z.ZodString;
23704
23702
  updatedAt: z.ZodString;
23703
+ description: z.ZodNullable<z.ZodString>;
23704
+ agentId: z.ZodString;
23705
23705
  functionId: z.ZodString;
23706
23706
  relationshipId: z.ZodOptional<z.ZodString>;
23707
23707
  }, z.core.$strip>>>;
@@ -23792,9 +23792,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23792
23792
  name: z.ZodString;
23793
23793
  createdAt: z.ZodString;
23794
23794
  updatedAt: z.ZodString;
23795
+ userId: z.ZodNullable<z.ZodString>;
23795
23796
  credentialStoreId: z.ZodString;
23796
23797
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23797
- userId: z.ZodNullable<z.ZodString>;
23798
23798
  toolId: z.ZodNullable<z.ZodString>;
23799
23799
  createdBy: z.ZodNullable<z.ZodString>;
23800
23800
  type: z.ZodEnum<{
@@ -23802,7 +23802,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23802
23802
  readonly keychain: "keychain";
23803
23803
  readonly nango: "nango";
23804
23804
  }>;
23805
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23805
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23806
23806
  createdAt: drizzle_orm_pg_core208.PgColumn<{
23807
23807
  name: "created_at";
23808
23808
  tableName: "tools";
@@ -24065,7 +24065,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24065
24065
  }, {}, {
24066
24066
  length: 256;
24067
24067
  }>;
24068
- }, drizzle_zod19.BuildRefine<{
24068
+ }, drizzle_zod15.BuildRefine<{
24069
24069
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24070
24070
  name: "created_at";
24071
24071
  tableName: "tools";
@@ -24351,9 +24351,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24351
24351
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24352
24352
  id: z.ZodString;
24353
24353
  name: z.ZodString;
24354
- description: z.ZodNullable<z.ZodString>;
24355
24354
  createdAt: z.ZodString;
24356
24355
  updatedAt: z.ZodString;
24356
+ description: z.ZodNullable<z.ZodString>;
24357
24357
  models: z.ZodNullable<z.ZodObject<{
24358
24358
  base: z.ZodObject<{
24359
24359
  model: z.ZodOptional<z.ZodString>;
@@ -24403,10 +24403,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24403
24403
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24404
24404
  id: z.ZodString;
24405
24405
  name: z.ZodString;
24406
- description: z.ZodNullable<z.ZodString>;
24407
- agentId: z.ZodString;
24408
24406
  createdAt: z.ZodString;
24409
24407
  updatedAt: z.ZodString;
24408
+ description: z.ZodNullable<z.ZodString>;
24409
+ agentId: z.ZodString;
24410
24410
  functionId: z.ZodString;
24411
24411
  relationshipId: z.ZodOptional<z.ZodString>;
24412
24412
  }, z.core.$strip>>>;
@@ -24497,9 +24497,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24497
24497
  name: z.ZodString;
24498
24498
  createdAt: z.ZodString;
24499
24499
  updatedAt: z.ZodString;
24500
+ userId: z.ZodNullable<z.ZodString>;
24500
24501
  credentialStoreId: z.ZodString;
24501
24502
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24502
- userId: z.ZodNullable<z.ZodString>;
24503
24503
  toolId: z.ZodNullable<z.ZodString>;
24504
24504
  createdBy: z.ZodNullable<z.ZodString>;
24505
24505
  type: z.ZodEnum<{
@@ -24507,7 +24507,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24507
24507
  readonly keychain: "keychain";
24508
24508
  readonly nango: "nango";
24509
24509
  }>;
24510
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24510
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24511
24511
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24512
24512
  name: "created_at";
24513
24513
  tableName: "tools";
@@ -24770,7 +24770,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24770
24770
  }, {}, {
24771
24771
  length: 256;
24772
24772
  }>;
24773
- }, drizzle_zod19.BuildRefine<{
24773
+ }, drizzle_zod15.BuildRefine<{
24774
24774
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24775
24775
  name: "created_at";
24776
24776
  tableName: "tools";
@@ -25052,9 +25052,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25052
25052
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25053
25053
  id: z.ZodString;
25054
25054
  name: z.ZodString;
25055
- description: z.ZodNullable<z.ZodString>;
25056
25055
  createdAt: z.ZodString;
25057
25056
  updatedAt: z.ZodString;
25057
+ description: z.ZodNullable<z.ZodString>;
25058
25058
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25059
25059
  contextConfigId: z.ZodNullable<z.ZodString>;
25060
25060
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25104,10 +25104,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25104
25104
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25105
25105
  id: z.ZodString;
25106
25106
  name: z.ZodString;
25107
- description: z.ZodNullable<z.ZodString>;
25108
- agentId: z.ZodString;
25109
25107
  createdAt: z.ZodString;
25110
25108
  updatedAt: z.ZodString;
25109
+ description: z.ZodNullable<z.ZodString>;
25110
+ agentId: z.ZodString;
25111
25111
  functionId: z.ZodString;
25112
25112
  relationshipId: z.ZodOptional<z.ZodString>;
25113
25113
  }, z.core.$strip>>>;
@@ -25164,9 +25164,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25164
25164
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25165
25165
  id: z.ZodString;
25166
25166
  name: z.ZodString;
25167
- description: z.ZodNullable<z.ZodString>;
25168
25167
  createdAt: z.ZodString;
25169
25168
  updatedAt: z.ZodString;
25169
+ description: z.ZodNullable<z.ZodString>;
25170
25170
  models: z.ZodNullable<z.ZodType<{
25171
25171
  base?: {
25172
25172
  model?: string | undefined;
@@ -25269,9 +25269,9 @@ declare const ProjectResponse: z.ZodObject<{
25269
25269
  data: z.ZodObject<{
25270
25270
  id: z.ZodString;
25271
25271
  name: z.ZodString;
25272
- description: z.ZodNullable<z.ZodString>;
25273
25272
  createdAt: z.ZodString;
25274
25273
  updatedAt: z.ZodString;
25274
+ description: z.ZodNullable<z.ZodString>;
25275
25275
  models: z.ZodNullable<z.ZodObject<{
25276
25276
  base: z.ZodObject<{
25277
25277
  model: z.ZodOptional<z.ZodString>;
@@ -25560,13 +25560,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25560
25560
  data: z.ZodObject<{
25561
25561
  id: z.ZodString;
25562
25562
  name: z.ZodNullable<z.ZodString>;
25563
+ createdAt: z.ZodString;
25564
+ updatedAt: z.ZodString;
25565
+ expiresAt: z.ZodNullable<z.ZodString>;
25563
25566
  agentId: z.ZodString;
25564
25567
  publicId: z.ZodString;
25565
25568
  keyPrefix: z.ZodString;
25566
25569
  lastUsedAt: z.ZodNullable<z.ZodString>;
25567
- expiresAt: z.ZodNullable<z.ZodString>;
25568
- createdAt: z.ZodString;
25569
- updatedAt: z.ZodString;
25570
25570
  }, {
25571
25571
  out: {};
25572
25572
  in: {};
@@ -25578,9 +25578,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25578
25578
  name: z.ZodString;
25579
25579
  createdAt: z.ZodString;
25580
25580
  updatedAt: z.ZodString;
25581
+ userId: z.ZodNullable<z.ZodString>;
25581
25582
  credentialStoreId: z.ZodString;
25582
25583
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25583
- userId: z.ZodNullable<z.ZodString>;
25584
25584
  toolId: z.ZodNullable<z.ZodString>;
25585
25585
  createdBy: z.ZodNullable<z.ZodString>;
25586
25586
  type: z.ZodEnum<{
@@ -25588,7 +25588,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25588
25588
  readonly keychain: "keychain";
25589
25589
  readonly nango: "nango";
25590
25590
  }>;
25591
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25591
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25592
25592
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25593
25593
  name: "created_at";
25594
25594
  tableName: "tools";
@@ -25851,7 +25851,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25851
25851
  }, {}, {
25852
25852
  length: 256;
25853
25853
  }>;
25854
- }, drizzle_zod19.BuildRefine<{
25854
+ }, drizzle_zod15.BuildRefine<{
25855
25855
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25856
25856
  name: "created_at";
25857
25857
  tableName: "tools";
@@ -26147,10 +26147,10 @@ declare const FunctionToolResponse: z.ZodObject<{
26147
26147
  data: z.ZodObject<{
26148
26148
  id: z.ZodString;
26149
26149
  name: z.ZodString;
26150
- description: z.ZodNullable<z.ZodString>;
26151
- agentId: z.ZodString;
26152
26150
  createdAt: z.ZodString;
26153
26151
  updatedAt: z.ZodString;
26152
+ description: z.ZodNullable<z.ZodString>;
26153
+ agentId: z.ZodString;
26154
26154
  functionId: z.ZodString;
26155
26155
  relationshipId: z.ZodOptional<z.ZodString>;
26156
26156
  }, z.core.$strip>;
@@ -26235,9 +26235,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26235
26235
  createdAt: z.ZodString;
26236
26236
  updatedAt: z.ZodString;
26237
26237
  toolId: z.ZodString;
26238
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26239
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26240
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26238
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26239
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26240
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26241
26241
  subAgentId: z.ZodString;
26242
26242
  agentId: z.ZodString;
26243
26243
  projectId: z.ZodString;
@@ -26322,7 +26322,7 @@ declare const TriggerResponse: z.ZodObject<{
26322
26322
  objectTransformation?: Record<string, string>;
26323
26323
  }>>>;
26324
26324
  messageTemplate: z.ZodNullable<z.ZodString>;
26325
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26325
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26326
26326
  signingSecret: z.ZodNullable<z.ZodString>;
26327
26327
  name: z.ZodString;
26328
26328
  description: z.ZodNullable<z.ZodString>;
@@ -26337,8 +26337,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26337
26337
  triggerId: z.ZodString;
26338
26338
  conversationId: z.ZodNullable<z.ZodString>;
26339
26339
  status: z.ZodString;
26340
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26341
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26340
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26341
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26342
26342
  errorMessage: z.ZodNullable<z.ZodString>;
26343
26343
  createdAt: z.ZodString;
26344
26344
  agentId: z.ZodString;
@@ -26351,9 +26351,9 @@ declare const ProjectListResponse: z.ZodObject<{
26351
26351
  data: z.ZodArray<z.ZodObject<{
26352
26352
  id: z.ZodString;
26353
26353
  name: z.ZodString;
26354
- description: z.ZodNullable<z.ZodString>;
26355
26354
  createdAt: z.ZodString;
26356
26355
  updatedAt: z.ZodString;
26356
+ description: z.ZodNullable<z.ZodString>;
26357
26357
  models: z.ZodNullable<z.ZodObject<{
26358
26358
  base: z.ZodObject<{
26359
26359
  model: z.ZodOptional<z.ZodString>;
@@ -26678,13 +26678,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26678
26678
  data: z.ZodArray<z.ZodObject<{
26679
26679
  id: z.ZodString;
26680
26680
  name: z.ZodNullable<z.ZodString>;
26681
+ createdAt: z.ZodString;
26682
+ updatedAt: z.ZodString;
26683
+ expiresAt: z.ZodNullable<z.ZodString>;
26681
26684
  agentId: z.ZodString;
26682
26685
  publicId: z.ZodString;
26683
26686
  keyPrefix: z.ZodString;
26684
26687
  lastUsedAt: z.ZodNullable<z.ZodString>;
26685
- expiresAt: z.ZodNullable<z.ZodString>;
26686
- createdAt: z.ZodString;
26687
- updatedAt: z.ZodString;
26688
26688
  }, {
26689
26689
  out: {};
26690
26690
  in: {};
@@ -26702,9 +26702,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26702
26702
  name: z.ZodString;
26703
26703
  createdAt: z.ZodString;
26704
26704
  updatedAt: z.ZodString;
26705
+ userId: z.ZodNullable<z.ZodString>;
26705
26706
  credentialStoreId: z.ZodString;
26706
26707
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26707
- userId: z.ZodNullable<z.ZodString>;
26708
26708
  toolId: z.ZodNullable<z.ZodString>;
26709
26709
  createdBy: z.ZodNullable<z.ZodString>;
26710
26710
  type: z.ZodEnum<{
@@ -26712,7 +26712,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26712
26712
  readonly keychain: "keychain";
26713
26713
  readonly nango: "nango";
26714
26714
  }>;
26715
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26715
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26716
26716
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26717
26717
  name: "created_at";
26718
26718
  tableName: "tools";
@@ -26975,7 +26975,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26975
26975
  }, {}, {
26976
26976
  length: 256;
26977
26977
  }>;
26978
- }, drizzle_zod19.BuildRefine<{
26978
+ }, drizzle_zod15.BuildRefine<{
26979
26979
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26980
26980
  name: "created_at";
26981
26981
  tableName: "tools";
@@ -27283,10 +27283,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
27283
27283
  data: z.ZodArray<z.ZodObject<{
27284
27284
  id: z.ZodString;
27285
27285
  name: z.ZodString;
27286
- description: z.ZodNullable<z.ZodString>;
27287
- agentId: z.ZodString;
27288
27286
  createdAt: z.ZodString;
27289
27287
  updatedAt: z.ZodString;
27288
+ description: z.ZodNullable<z.ZodString>;
27289
+ agentId: z.ZodString;
27290
27290
  functionId: z.ZodString;
27291
27291
  relationshipId: z.ZodOptional<z.ZodString>;
27292
27292
  }, z.core.$strip>>;
@@ -27401,9 +27401,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27401
27401
  createdAt: z.ZodString;
27402
27402
  updatedAt: z.ZodString;
27403
27403
  toolId: z.ZodString;
27404
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27405
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27406
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27404
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27405
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27406
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27407
27407
  subAgentId: z.ZodString;
27408
27408
  agentId: z.ZodString;
27409
27409
  projectId: z.ZodString;
@@ -27506,7 +27506,7 @@ declare const TriggerListResponse: z.ZodObject<{
27506
27506
  objectTransformation?: Record<string, string>;
27507
27507
  }>>>;
27508
27508
  messageTemplate: z.ZodNullable<z.ZodString>;
27509
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27509
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27510
27510
  signingSecret: z.ZodNullable<z.ZodString>;
27511
27511
  name: z.ZodString;
27512
27512
  description: z.ZodNullable<z.ZodString>;
@@ -27527,8 +27527,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27527
27527
  triggerId: z.ZodString;
27528
27528
  conversationId: z.ZodNullable<z.ZodString>;
27529
27529
  status: z.ZodString;
27530
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27531
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27530
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27531
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27532
27532
  errorMessage: z.ZodNullable<z.ZodString>;
27533
27533
  createdAt: z.ZodString;
27534
27534
  agentId: z.ZodString;
@@ -27624,18 +27624,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27624
27624
  }, z.core.$strip>>;
27625
27625
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27626
27626
  name: z.ZodString;
27627
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27628
27627
  createdAt: z.ZodOptional<z.ZodString>;
27629
27628
  updatedAt: z.ZodOptional<z.ZodString>;
27629
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27630
27630
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27631
27631
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27632
27632
  id: z.ZodString;
27633
27633
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27634
27634
  id: z.ZodString;
27635
27635
  name: z.ZodString;
27636
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27637
27636
  createdAt: z.ZodOptional<z.ZodString>;
27638
27637
  updatedAt: z.ZodOptional<z.ZodString>;
27638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27639
27639
  models: z.ZodOptional<z.ZodObject<{
27640
27640
  base: z.ZodOptional<z.ZodObject<{
27641
27641
  model: z.ZodOptional<z.ZodString>;
@@ -27764,9 +27764,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27764
27764
  }>, z.core.$strip>>>;
27765
27765
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27766
27766
  name: z.ZodString;
27767
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27768
27767
  createdAt: z.ZodOptional<z.ZodString>;
27769
27768
  updatedAt: z.ZodOptional<z.ZodString>;
27769
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27770
27770
  enabled: z.ZodOptional<z.ZodBoolean>;
27771
27771
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27772
27772
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -27783,7 +27783,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27783
27783
  objectTransformation?: Record<string, string>;
27784
27784
  }>>>>;
27785
27785
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27786
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27786
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
27787
27787
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27788
27788
  id: z.ZodOptional<z.ZodString>;
27789
27789
  }, z.core.$strip>>>;
@@ -27964,9 +27964,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27964
27964
  name: z.ZodString;
27965
27965
  createdAt: z.ZodOptional<z.ZodString>;
27966
27966
  updatedAt: z.ZodOptional<z.ZodString>;
27967
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27967
27968
  credentialStoreId: z.ZodString;
27968
27969
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27969
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27970
27970
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27971
27971
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27972
27972
  type: z.ZodEnum<{
@@ -27986,9 +27986,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
27986
27986
  data: z.ZodObject<{
27987
27987
  id: z.ZodString;
27988
27988
  name: z.ZodString;
27989
- description: z.ZodNullable<z.ZodString>;
27990
27989
  createdAt: z.ZodString;
27991
27990
  updatedAt: z.ZodString;
27991
+ description: z.ZodNullable<z.ZodString>;
27992
27992
  models: z.ZodNullable<z.ZodObject<{
27993
27993
  base: z.ZodObject<{
27994
27994
  model: z.ZodOptional<z.ZodString>;
@@ -28010,17 +28010,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28010
28010
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28011
28011
  id: z.ZodString;
28012
28012
  name: z.ZodString;
28013
- description: z.ZodNullable<z.ZodString>;
28014
28013
  createdAt: z.ZodString;
28015
28014
  updatedAt: z.ZodString;
28015
+ description: z.ZodNullable<z.ZodString>;
28016
28016
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28017
28017
  contextConfigId: z.ZodNullable<z.ZodString>;
28018
28018
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28019
28019
  id: z.ZodString;
28020
28020
  name: z.ZodString;
28021
- description: z.ZodNullable<z.ZodString>;
28022
28021
  createdAt: z.ZodString;
28023
28022
  updatedAt: z.ZodString;
28023
+ description: z.ZodNullable<z.ZodString>;
28024
28024
  models: z.ZodNullable<z.ZodType<{
28025
28025
  base?: {
28026
28026
  model?: string | undefined;
@@ -28155,10 +28155,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28155
28155
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28156
28156
  id: z.ZodString;
28157
28157
  name: z.ZodString;
28158
- description: z.ZodNullable<z.ZodString>;
28159
- agentId: z.ZodString;
28160
28158
  createdAt: z.ZodString;
28161
28159
  updatedAt: z.ZodString;
28160
+ description: z.ZodNullable<z.ZodString>;
28161
+ agentId: z.ZodString;
28162
28162
  functionId: z.ZodString;
28163
28163
  relationshipId: z.ZodOptional<z.ZodString>;
28164
28164
  }, z.core.$strip>>>;
@@ -28244,10 +28244,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28244
28244
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28245
28245
  id: z.ZodString;
28246
28246
  name: z.ZodString;
28247
- description: z.ZodNullable<z.ZodString>;
28248
- agentId: z.ZodString;
28249
28247
  createdAt: z.ZodString;
28250
28248
  updatedAt: z.ZodString;
28249
+ description: z.ZodNullable<z.ZodString>;
28250
+ agentId: z.ZodString;
28251
28251
  functionId: z.ZodString;
28252
28252
  relationshipId: z.ZodOptional<z.ZodString>;
28253
28253
  }, z.core.$strip>>>;
@@ -28338,9 +28338,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28338
28338
  name: z.ZodString;
28339
28339
  createdAt: z.ZodString;
28340
28340
  updatedAt: z.ZodString;
28341
+ userId: z.ZodNullable<z.ZodString>;
28341
28342
  credentialStoreId: z.ZodString;
28342
28343
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28343
- userId: z.ZodNullable<z.ZodString>;
28344
28344
  toolId: z.ZodNullable<z.ZodString>;
28345
28345
  createdBy: z.ZodNullable<z.ZodString>;
28346
28346
  type: z.ZodEnum<{
@@ -28348,7 +28348,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28348
28348
  readonly keychain: "keychain";
28349
28349
  readonly nango: "nango";
28350
28350
  }>;
28351
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28351
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28352
28352
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28353
28353
  name: "created_at";
28354
28354
  tableName: "tools";
@@ -28611,7 +28611,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28611
28611
  }, {}, {
28612
28612
  length: 256;
28613
28613
  }>;
28614
- }, drizzle_zod19.BuildRefine<{
28614
+ }, drizzle_zod15.BuildRefine<{
28615
28615
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28616
28616
  name: "created_at";
28617
28617
  tableName: "tools";
@@ -28899,9 +28899,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28899
28899
  data: z.ZodObject<{
28900
28900
  id: z.ZodString;
28901
28901
  name: z.ZodString;
28902
- description: z.ZodNullable<z.ZodString>;
28903
28902
  createdAt: z.ZodString;
28904
28903
  updatedAt: z.ZodString;
28904
+ description: z.ZodNullable<z.ZodString>;
28905
28905
  models: z.ZodNullable<z.ZodObject<{
28906
28906
  base: z.ZodObject<{
28907
28907
  model: z.ZodOptional<z.ZodString>;
@@ -28951,10 +28951,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28951
28951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28952
28952
  id: z.ZodString;
28953
28953
  name: z.ZodString;
28954
- description: z.ZodNullable<z.ZodString>;
28955
- agentId: z.ZodString;
28956
28954
  createdAt: z.ZodString;
28957
28955
  updatedAt: z.ZodString;
28956
+ description: z.ZodNullable<z.ZodString>;
28957
+ agentId: z.ZodString;
28958
28958
  functionId: z.ZodString;
28959
28959
  relationshipId: z.ZodOptional<z.ZodString>;
28960
28960
  }, z.core.$strip>>>;
@@ -29045,9 +29045,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29045
29045
  name: z.ZodString;
29046
29046
  createdAt: z.ZodString;
29047
29047
  updatedAt: z.ZodString;
29048
+ userId: z.ZodNullable<z.ZodString>;
29048
29049
  credentialStoreId: z.ZodString;
29049
29050
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29050
- userId: z.ZodNullable<z.ZodString>;
29051
29051
  toolId: z.ZodNullable<z.ZodString>;
29052
29052
  createdBy: z.ZodNullable<z.ZodString>;
29053
29053
  type: z.ZodEnum<{
@@ -29055,7 +29055,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29055
29055
  readonly keychain: "keychain";
29056
29056
  readonly nango: "nango";
29057
29057
  }>;
29058
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29058
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29059
29059
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29060
29060
  name: "created_at";
29061
29061
  tableName: "tools";
@@ -29318,7 +29318,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29318
29318
  }, {}, {
29319
29319
  length: 256;
29320
29320
  }>;
29321
- }, drizzle_zod19.BuildRefine<{
29321
+ }, drizzle_zod15.BuildRefine<{
29322
29322
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29323
29323
  name: "created_at";
29324
29324
  tableName: "tools";
@@ -29600,9 +29600,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29600
29600
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29601
29601
  id: z.ZodString;
29602
29602
  name: z.ZodString;
29603
- description: z.ZodNullable<z.ZodString>;
29604
29603
  createdAt: z.ZodString;
29605
29604
  updatedAt: z.ZodString;
29605
+ description: z.ZodNullable<z.ZodString>;
29606
29606
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29607
29607
  contextConfigId: z.ZodNullable<z.ZodString>;
29608
29608
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29652,10 +29652,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29652
29652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29653
29653
  id: z.ZodString;
29654
29654
  name: z.ZodString;
29655
- description: z.ZodNullable<z.ZodString>;
29656
- agentId: z.ZodString;
29657
29655
  createdAt: z.ZodString;
29658
29656
  updatedAt: z.ZodString;
29657
+ description: z.ZodNullable<z.ZodString>;
29658
+ agentId: z.ZodString;
29659
29659
  functionId: z.ZodString;
29660
29660
  relationshipId: z.ZodOptional<z.ZodString>;
29661
29661
  }, z.core.$strip>>>;
@@ -29712,9 +29712,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29712
29712
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29713
29713
  id: z.ZodString;
29714
29714
  name: z.ZodString;
29715
- description: z.ZodNullable<z.ZodString>;
29716
29715
  createdAt: z.ZodString;
29717
29716
  updatedAt: z.ZodString;
29717
+ description: z.ZodNullable<z.ZodString>;
29718
29718
  models: z.ZodNullable<z.ZodType<{
29719
29719
  base?: {
29720
29720
  model?: string | undefined;
@@ -29817,18 +29817,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29817
29817
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29818
29818
  data: z.ZodObject<{
29819
29819
  name: z.ZodString;
29820
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29821
29820
  createdAt: z.ZodOptional<z.ZodString>;
29822
29821
  updatedAt: z.ZodOptional<z.ZodString>;
29822
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29823
29823
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29824
29824
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29825
29825
  id: z.ZodString;
29826
29826
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29827
29827
  id: z.ZodString;
29828
29828
  name: z.ZodString;
29829
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29830
29829
  createdAt: z.ZodOptional<z.ZodString>;
29831
29830
  updatedAt: z.ZodOptional<z.ZodString>;
29831
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29832
29832
  models: z.ZodOptional<z.ZodObject<{
29833
29833
  base: z.ZodOptional<z.ZodObject<{
29834
29834
  model: z.ZodOptional<z.ZodString>;
@@ -29957,9 +29957,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29957
29957
  }>, z.core.$strip>>>;
29958
29958
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29959
29959
  name: z.ZodString;
29960
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29961
29960
  createdAt: z.ZodOptional<z.ZodString>;
29962
29961
  updatedAt: z.ZodOptional<z.ZodString>;
29962
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29963
29963
  enabled: z.ZodOptional<z.ZodBoolean>;
29964
29964
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29965
29965
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -29976,7 +29976,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29976
29976
  objectTransformation?: Record<string, string>;
29977
29977
  }>>>>;
29978
29978
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29979
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29979
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
29980
29980
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29981
29981
  id: z.ZodOptional<z.ZodString>;
29982
29982
  }, z.core.$strip>>>;
@@ -30024,17 +30024,17 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30024
30024
  data: z.ZodObject<{
30025
30025
  id: z.ZodString;
30026
30026
  name: z.ZodString;
30027
- description: z.ZodNullable<z.ZodString>;
30028
30027
  createdAt: z.ZodString;
30029
30028
  updatedAt: z.ZodString;
30029
+ description: z.ZodNullable<z.ZodString>;
30030
30030
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30031
30031
  contextConfigId: z.ZodNullable<z.ZodString>;
30032
30032
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30033
30033
  id: z.ZodString;
30034
30034
  name: z.ZodString;
30035
- description: z.ZodNullable<z.ZodString>;
30036
30035
  createdAt: z.ZodString;
30037
30036
  updatedAt: z.ZodString;
30037
+ description: z.ZodNullable<z.ZodString>;
30038
30038
  models: z.ZodNullable<z.ZodType<{
30039
30039
  base?: {
30040
30040
  model?: string | undefined;
@@ -30169,10 +30169,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30169
30169
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30170
30170
  id: z.ZodString;
30171
30171
  name: z.ZodString;
30172
- description: z.ZodNullable<z.ZodString>;
30173
- agentId: z.ZodString;
30174
30172
  createdAt: z.ZodString;
30175
30173
  updatedAt: z.ZodString;
30174
+ description: z.ZodNullable<z.ZodString>;
30175
+ agentId: z.ZodString;
30176
30176
  functionId: z.ZodString;
30177
30177
  relationshipId: z.ZodOptional<z.ZodString>;
30178
30178
  }, z.core.$strip>>>;
@@ -30380,7 +30380,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30380
30380
  createdAt: z.ZodString;
30381
30381
  updatedAt: z.ZodString;
30382
30382
  targetAgentId: z.ZodString;
30383
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30383
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30384
30384
  subAgentId: z.ZodString;
30385
30385
  agentId: z.ZodString;
30386
30386
  projectId: z.ZodString;
@@ -30393,7 +30393,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30393
30393
  createdAt: z.ZodString;
30394
30394
  updatedAt: z.ZodString;
30395
30395
  targetAgentId: z.ZodString;
30396
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30396
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30397
30397
  subAgentId: z.ZodString;
30398
30398
  agentId: z.ZodString;
30399
30399
  projectId: z.ZodString;
@@ -30412,7 +30412,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30412
30412
  createdAt: z.ZodString;
30413
30413
  updatedAt: z.ZodString;
30414
30414
  externalAgentId: z.ZodString;
30415
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30415
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30416
30416
  subAgentId: z.ZodString;
30417
30417
  agentId: z.ZodString;
30418
30418
  projectId: z.ZodString;
@@ -30425,7 +30425,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30425
30425
  createdAt: z.ZodString;
30426
30426
  updatedAt: z.ZodString;
30427
30427
  externalAgentId: z.ZodString;
30428
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30428
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30429
30429
  subAgentId: z.ZodString;
30430
30430
  agentId: z.ZodString;
30431
30431
  projectId: z.ZodString;
@@ -30592,7 +30592,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
30592
30592
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
30593
30593
  ref: z.ZodOptional<z.ZodString>;
30594
30594
  }, z.core.$strip>;
30595
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30595
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30596
30596
  id: drizzle_orm_pg_core208.PgColumn<{
30597
30597
  name: "id";
30598
30598
  tableName: "project_metadata";
@@ -30686,7 +30686,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30686
30686
  }, {}, {
30687
30687
  length: 512;
30688
30688
  }>;
30689
- }, drizzle_zod19.BuildRefine<{
30689
+ }, drizzle_zod15.BuildRefine<{
30690
30690
  id: drizzle_orm_pg_core208.PgColumn<{
30691
30691
  name: "id";
30692
30692
  tableName: "project_metadata";
@@ -30782,8 +30782,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30782
30782
  }>;
30783
30783
  }, undefined>, undefined>;
30784
30784
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
30785
- tenantId: z.ZodString;
30786
30785
  id: z.ZodString;
30786
+ tenantId: z.ZodString;
30787
30787
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30788
30788
  mainBranchName: z.ZodString;
30789
30789
  }, {