@inkeep/agents-core 0.0.0-dev-20260121072820 → 0.0.0-dev-20260121150358

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_zod15 from "drizzle-zod";
7
+ import * as drizzle_zod19 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const 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_zod15.BuildSchema<"select", {
80
+ declare const SubAgentSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- }, drizzle_zod15.BuildRefine<{
331
+ }, drizzle_zod19.BuildRefine<{
332
332
  createdAt: drizzle_orm_pg_core208.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -768,6 +768,8 @@ 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
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
772
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
771
773
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
774
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
773
775
  base: z.ZodOptional<z.ZodObject<{
@@ -783,6 +785,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
783
785
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
784
786
  }, z.core.$strip>>;
785
787
  }, z.core.$strip>>>>;
788
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
786
789
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
787
790
  stepCountIs?: number | undefined;
788
791
  }, {
@@ -792,12 +795,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
792
795
  }, {
793
796
  stepCountIs?: number | undefined;
794
797
  }>>>>>>;
795
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
796
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
797
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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_zod15.BuildSchema<"select", {
800
+ declare const SubAgentRelationSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select",
965
965
  }, {}, {
966
966
  length: 256;
967
967
  }>;
968
- }, drizzle_zod15.BuildRefine<{
968
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
1239
+ declare const AgentSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
1534
1534
  }, {}, {
1535
1535
  length: 256;
1536
1536
  }>;
1537
- }, drizzle_zod15.BuildRefine<{
1537
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
1833
1833
  length: 256;
1834
1834
  }>;
1835
1835
  }, undefined>, undefined>;
1836
- declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1836
+ declare const AgentInsertSchema: drizzle_zod19.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_zod15.BuildSchema<"insert", {
2131
2131
  }, {}, {
2132
2132
  length: 256;
2133
2133
  }>;
2134
- }, drizzle_zod15.BuildRefine<Pick<{
2134
+ }, drizzle_zod19.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_zod15.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "id" | "name" | "description" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "projectId">, 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,7 +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
+ createdAt: z.ZodOptional<z.ZodString>;
2701
+ updatedAt: z.ZodOptional<z.ZodString>;
2700
2702
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
2705
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2702
2706
  base?: {
2703
2707
  model?: string | undefined;
@@ -2751,19 +2755,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2751
2755
  providerOptions?: Record<string, any> | undefined;
2752
2756
  } | undefined;
2753
2757
  }>>>>;
2754
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2755
- transferCountIs?: number | undefined;
2756
- }, {
2757
- transferCountIs?: number | undefined;
2758
- }, z.core.$ZodTypeInternals<{
2759
- transferCountIs?: number | undefined;
2760
- }, {
2761
- transferCountIs?: number | undefined;
2762
- }>>>>;
2763
- createdAt: z.ZodOptional<z.ZodString>;
2764
- updatedAt: z.ZodOptional<z.ZodString>;
2765
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
2758
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2759
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2769
2760
  enabled?: boolean | undefined;
@@ -2822,12 +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
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2831
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2830
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>>>>;
2831
2835
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2832
2836
  base?: {
2833
2837
  model?: string | undefined;
@@ -2881,19 +2885,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2881
2885
  providerOptions?: Record<string, any> | undefined;
2882
2886
  } | undefined;
2883
2887
  }>>>>>>;
2884
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
- transferCountIs?: number | undefined;
2886
- }, {
2887
- transferCountIs?: number | undefined;
2888
- }, z.core.$ZodTypeInternals<{
2889
- transferCountIs?: number | undefined;
2890
- }, {
2891
- transferCountIs?: number | undefined;
2892
- }>>>>>>;
2893
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2894
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2895
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2896
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
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;
@@ -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_zod15.BuildSchema<"select", {
3005
+ declare const TriggerSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
3263
3263
  }, {}, {
3264
3264
  length: 256;
3265
3265
  }>;
3266
- }, drizzle_zod15.BuildRefine<{
3266
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
3525
3525
  length: 256;
3526
3526
  }>;
3527
3527
  }, undefined>, undefined>;
3528
- declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3528
+ declare const TriggerInsertSchema: drizzle_zod19.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_zod15.BuildSchema<"insert", {
3786
3786
  }, {}, {
3787
3787
  length: 256;
3788
3788
  }>;
3789
- }, drizzle_zod15.BuildRefine<Pick<{
3789
+ }, drizzle_zod19.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_zod15.BuildSchema<"insert", {
4047
4047
  }, {}, {
4048
4048
  length: 256;
4049
4049
  }>;
4050
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "tenantId" | "enabled" | "projectId" | "agentId" | "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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4090
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4120
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.BuildSchema<"select", {
4144
+ declare const TriggerInvocationSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select",
4343
4343
  }, {}, {
4344
4344
  length: 256;
4345
4345
  }>;
4346
- }, drizzle_zod15.BuildRefine<{
4346
+ }, drizzle_zod19.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_zod15.BuildSchema<"select",
4546
4546
  length: 256;
4547
4547
  }>;
4548
4548
  }, undefined>, undefined>;
4549
- declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4549
+ declare const TriggerInvocationInsertSchema: drizzle_zod19.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_zod15.BuildSchema<"insert",
4748
4748
  }, {}, {
4749
4749
  length: 256;
4750
4750
  }>;
4751
- }, drizzle_zod15.BuildRefine<Pick<{
4751
+ }, drizzle_zod19.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_zod15.BuildSchema<"insert",
4950
4950
  }, {}, {
4951
4951
  length: 256;
4952
4952
  }>;
4953
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "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_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>>>>>;
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>>>>>;
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_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>>>;
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>>>;
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_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>>>>;
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>>>>;
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_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>>>>>>;
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>>>>>>;
5001
5001
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5002
5002
  }, z.core.$strip>;
5003
- declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5003
+ declare const TaskSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
5214
5214
  }, {}, {
5215
5215
  length: 256;
5216
5216
  }>;
5217
- }, drizzle_zod15.BuildRefine<{
5217
+ }, drizzle_zod19.BuildRefine<{
5218
5218
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5219
5219
  name: "created_at";
5220
5220
  tableName: "tasks";
@@ -5534,9 +5534,6 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5534
5534
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
5535
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5536
5536
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5537
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5538
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5539
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5540
5537
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5541
5538
  type: z.ZodEnum<{
5542
5539
  commit: "commit";
@@ -5546,11 +5543,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5546
5543
  name: z.ZodString;
5547
5544
  hash: z.ZodString;
5548
5545
  }, z.core.$strip>>>;
5546
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5549
5547
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5550
5550
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5551
5551
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5552
5552
  }, z.core.$strip>;
5553
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5553
+ declare const TaskRelationSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
5699
5699
  }, {}, {
5700
5700
  length: 256;
5701
5701
  }>;
5702
- }, drizzle_zod15.BuildRefine<{
5702
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
5927
+ declare const ToolSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
6187
6187
  }, {}, {
6188
6188
  length: 256;
6189
6189
  }>;
6190
- }, drizzle_zod15.BuildRefine<{
6190
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
6498
+ declare const ConversationSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
6724
6724
  }, {}, {
6725
6725
  length: 256;
6726
6726
  }>;
6727
- }, drizzle_zod15.BuildRefine<{
6727
+ }, drizzle_zod19.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
7064
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7066
7065
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7067
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7068
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7069
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7070
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7071
7066
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7072
7067
  type: z.ZodEnum<{
7073
7068
  commit: "commit";
@@ -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_zod15.BuildSchema<"select", {
7083
+ declare const MessageSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
7476
7476
  }, {}, {
7477
7477
  length: 256;
7478
7478
  }>;
7479
- }, drizzle_zod15.BuildRefine<{
7479
+ }, drizzle_zod19.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>>;
7981
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7980
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7982
7981
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7983
7982
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
7983
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7985
7984
  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>>;
7986
7988
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7987
7989
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7988
7990
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7989
7991
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7992
  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_zod15.BuildSchema<"select", {
7995
+ declare const ContextCacheSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
8242
8242
  }, {}, {
8243
8243
  length: 256;
8244
8244
  }>;
8245
- }, drizzle_zod15.BuildRefine<{
8245
+ }, drizzle_zod19.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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8502
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8528
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8571
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8585
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.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
  commit: "commit";
@@ -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_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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_zod15.BuildSchema<"select", {
8623
+ declare const DatasetRunSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
8763
8763
  }, {}, {
8764
8764
  length: 256;
8765
8765
  }>;
8766
- }, drizzle_zod15.BuildRefine<{
8766
+ }, drizzle_zod19.BuildRefine<{
8767
8767
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8768
8768
  name: "created_at";
8769
8769
  tableName: "dataset_run";
@@ -8957,7 +8957,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8957
8957
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
8958
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8959
8959
  }, z.core.$strip>;
8960
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8960
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.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_zod15.BuildSch
9100
9100
  }, {}, {
9101
9101
  length: 256;
9102
9102
  }>;
9103
- }, drizzle_zod15.BuildRefine<{
9103
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
9297
+ declare const EvaluationResultSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select",
9456
9456
  }, {}, {
9457
9457
  length: 256;
9458
9458
  }>;
9459
- }, drizzle_zod15.BuildRefine<{
9459
+ }, drizzle_zod19.BuildRefine<{
9460
9460
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9461
9461
  name: "created_at";
9462
9462
  tableName: "evaluation_result";
@@ -9674,7 +9674,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9674
9674
  conversationId: 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_zod15.BuildSchema<"select", {
9677
+ declare const EvaluationRunSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
9800
9800
  }, {}, {
9801
9801
  length: 256;
9802
9802
  }>;
9803
- }, drizzle_zod15.BuildRefine<{
9803
+ }, drizzle_zod19.BuildRefine<{
9804
9804
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9805
9805
  name: "created_at";
9806
9806
  tableName: "evaluation_run";
@@ -9972,7 +9972,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9972
9972
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
9973
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9974
9974
  }, z.core.$strip>;
9975
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9975
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select
10117
10117
  }, {}, {
10118
10118
  length: 256;
10119
10119
  }>;
10120
- }, drizzle_zod15.BuildRefine<{
10120
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
10327
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select
10449
10449
  }, {}, {
10450
10450
  length: 256;
10451
10451
  }>;
10452
- }, drizzle_zod15.BuildRefine<{
10452
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
10759
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"sele
10884
10884
  }, {}, {
10885
10885
  length: 256;
10886
10886
  }>;
10887
- }, drizzle_zod15.BuildRefine<{
10887
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
11063
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.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_zod15.BuildRefine<{
11189
+ }, drizzle_zod19.BuildRefine<{
11190
11190
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11191
11191
  name: "created_at";
11192
11192
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11358,7 +11358,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
11358
11358
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
11359
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11360
11360
  }, z.core.$strip>;
11361
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11361
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.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_zod15.Bu
11484
11484
  }, {}, {
11485
11485
  length: 256;
11486
11486
  }>;
11487
- }, drizzle_zod15.BuildRefine<{
11487
+ }, drizzle_zod19.BuildRefine<{
11488
11488
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11489
11489
  name: "created_at";
11490
11490
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11656,7 +11656,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11656
11656
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
11657
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11658
11658
  }, z.core.$strip>;
11659
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11659
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.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_zod15.
11782
11782
  }, {}, {
11783
11783
  length: 256;
11784
11784
  }>;
11785
- }, drizzle_zod15.BuildRefine<{
11785
+ }, drizzle_zod19.BuildRefine<{
11786
11786
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11787
11787
  name: "created_at";
11788
11788
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11954,7 +11954,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
11954
11954
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
11955
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11956
11956
  }, z.core.$strip>;
11957
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11957
+ declare const EvaluatorSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
12162
12162
  }, {}, {
12163
12163
  length: 256;
12164
12164
  }>;
12165
- }, drizzle_zod15.BuildRefine<{
12165
+ }, drizzle_zod19.BuildRefine<{
12166
12166
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12167
12167
  name: "created_at";
12168
12168
  tableName: "evaluator";
@@ -12454,6 +12454,9 @@ 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
12461
  model: z.ZodType<{
12459
12462
  model?: string | undefined;
@@ -12468,14 +12471,14 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12468
12471
  model?: string | undefined;
12469
12472
  providerOptions?: Record<string, any> | undefined;
12470
12473
  }>>;
12471
- createdAt: z.ZodOptional<z.ZodString>;
12472
- updatedAt: z.ZodOptional<z.ZodString>;
12473
12474
  prompt: z.ZodString;
12474
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
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
12483
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12481
12484
  model?: string | undefined;
@@ -12490,13 +12493,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12490
12493
  model?: string | undefined;
12491
12494
  providerOptions?: Record<string, any> | undefined;
12492
12495
  }>>>>;
12493
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12494
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12495
12496
  prompt: 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>>>>>;
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_zod15.BuildSchema<"select", {
12499
+ declare const DatasetSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
12607
12607
  }, {}, {
12608
12608
  length: 256;
12609
12609
  }>;
12610
- }, drizzle_zod15.BuildRefine<{
12610
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
12762
+ declare const DatasetItemSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
12945
12945
  }, {}, {
12946
12946
  length: 256;
12947
12947
  }>;
12948
- }, drizzle_zod15.BuildRefine<{
12948
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
13517
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select",
13659
13659
  }, {}, {
13660
13660
  length: 256;
13661
13661
  }>;
13662
- }, drizzle_zod15.BuildRefine<{
13662
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
13858
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.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_zod15.BuildSche
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod15.BuildRefine<{
13984
+ }, drizzle_zod19.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "dataset_run_config_agent_relations";
@@ -14153,7 +14153,7 @@ declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14153
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_zod15.BuildSchema<"select", {
14156
+ declare const DataComponentSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
14325
14325
  }, {}, {
14326
14326
  length: 256;
14327
14327
  }>;
14328
- }, drizzle_zod15.BuildRefine<{
14328
+ }, drizzle_zod19.BuildRefine<{
14329
14329
  createdAt: drizzle_orm_pg_core208.PgColumn<{
14330
14330
  name: "created_at";
14331
14331
  tableName: "data_components";
@@ -14528,8 +14528,8 @@ declare const DataComponentBaseSchema: z.ZodObject<{
14528
14528
  id: z.ZodString;
14529
14529
  name: z.ZodString;
14530
14530
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14531
- tenantId: z.ZodString;
14532
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_zod15.BuildSchema<"select", {
14644
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"sele
14773
14773
  }, {}, {
14774
14774
  length: 256;
14775
14775
  }>;
14776
- }, drizzle_zod15.BuildRefine<{
14776
+ }, drizzle_zod19.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_zod15.BuildSchema<"sele
14906
14906
  length: 256;
14907
14907
  }>;
14908
14908
  }, undefined>, undefined>;
14909
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14909
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.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_zod15.BuildSchema<"inse
15038
15038
  }, {}, {
15039
15039
  length: 256;
15040
15040
  }>;
15041
- }, drizzle_zod15.BuildRefine<Pick<{
15041
+ }, drizzle_zod19.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_zod15.BuildSchema<"inse
15170
15170
  }, {}, {
15171
15171
  length: 256;
15172
15172
  }>;
15173
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "dataComponentId" | "subAgentId">, 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>>;
@@ -15194,8 +15194,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15194
15194
  }>, z.core.$strip>;
15195
15195
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15196
15196
  agentId: z.ZodString;
15197
- dataComponentId: z.ZodString;
15198
15197
  subAgentId: z.ZodString;
15198
+ dataComponentId: z.ZodString;
15199
15199
  }, {
15200
15200
  out: {};
15201
15201
  in: {};
@@ -15203,10 +15203,10 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15203
15203
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15204
15204
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15205
15205
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15206
- dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
15206
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
+ dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15208
15208
  }, z.core.$strip>;
15209
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15209
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select",
15378
15378
  }, {}, {
15379
15379
  length: 256;
15380
15380
  }>;
15381
- }, drizzle_zod15.BuildRefine<{
15381
+ }, drizzle_zod19.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_zod15.BuildSchema<"select", {
15672
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"
15801
15801
  }, {}, {
15802
15802
  length: 256;
15803
15803
  }>;
15804
- }, drizzle_zod15.BuildRefine<{
15804
+ }, drizzle_zod19.BuildRefine<{
15805
15805
  artifactComponentId: drizzle_orm_pg_core208.PgColumn<{
15806
15806
  name: "artifact_component_id";
15807
15807
  tableName: "sub_agent_artifact_components";
@@ -16048,15 +16048,17 @@ 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
16051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16053
16052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16054
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16053
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16055
16054
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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
+ createdAt: z.ZodString;
16061
+ updatedAt: z.ZodString;
16060
16062
  description: z.ZodNullable<z.ZodString>;
16061
16063
  models: z.ZodNullable<z.ZodType<{
16062
16064
  base?: {
@@ -16111,6 +16113,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16111
16113
  providerOptions?: Record<string, any> | undefined;
16112
16114
  } | undefined;
16113
16115
  }>>>;
16116
+ prompt: z.ZodNullable<z.ZodString>;
16114
16117
  stopWhen: z.ZodNullable<z.ZodType<{
16115
16118
  stepCountIs?: number | undefined;
16116
16119
  }, {
@@ -16120,22 +16123,19 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16120
16123
  }, {
16121
16124
  stepCountIs?: number | undefined;
16122
16125
  }>>>;
16123
- createdAt: z.ZodString;
16124
- updatedAt: z.ZodString;
16125
- prompt: z.ZodNullable<z.ZodString>;
16126
16126
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16127
16127
  type: z.ZodLiteral<"internal">;
16128
16128
  }, z.core.$strip>, z.ZodObject<{
16129
16129
  id: z.ZodString;
16130
16130
  name: z.ZodString;
16131
- description: z.ZodNullable<z.ZodString>;
16132
16131
  createdAt: z.ZodString;
16133
16132
  updatedAt: z.ZodString;
16134
- baseUrl: z.ZodString;
16133
+ description: z.ZodNullable<z.ZodString>;
16135
16134
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16135
+ baseUrl: z.ZodString;
16136
16136
  type: z.ZodLiteral<"external">;
16137
16137
  }, z.core.$strip>], "type">;
16138
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16138
+ declare const ApiKeySelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
16356
16356
  }, {}, {
16357
16357
  length: 256;
16358
16358
  }>;
16359
- }, drizzle_zod15.BuildRefine<{
16359
+ }, drizzle_zod19.BuildRefine<{
16360
16360
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16361
16361
  name: "created_at";
16362
16362
  tableName: "api_keys";
@@ -16598,9 +16598,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16598
16598
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16599
16599
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
16600
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16601
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16601
16602
  agentId: z.ZodOptional<z.ZodString>;
16602
16603
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16603
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16604
16604
  }, {
16605
16605
  out: {};
16606
16606
  in: {};
@@ -16610,11 +16610,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
16610
16610
  name: z.ZodNullable<z.ZodString>;
16611
16611
  createdAt: z.ZodString;
16612
16612
  updatedAt: z.ZodString;
16613
+ expiresAt: z.ZodNullable<z.ZodString>;
16613
16614
  agentId: z.ZodString;
16614
16615
  publicId: z.ZodString;
16615
16616
  keyPrefix: z.ZodString;
16616
16617
  lastUsedAt: z.ZodNullable<z.ZodString>;
16617
- expiresAt: z.ZodNullable<z.ZodString>;
16618
16618
  }, {
16619
16619
  out: {};
16620
16620
  in: {};
@@ -16626,11 +16626,11 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16626
16626
  name: z.ZodNullable<z.ZodString>;
16627
16627
  createdAt: z.ZodString;
16628
16628
  updatedAt: z.ZodString;
16629
+ expiresAt: z.ZodNullable<z.ZodString>;
16629
16630
  agentId: z.ZodString;
16630
16631
  publicId: z.ZodString;
16631
16632
  keyPrefix: z.ZodString;
16632
16633
  lastUsedAt: z.ZodNullable<z.ZodString>;
16633
- expiresAt: z.ZodNullable<z.ZodString>;
16634
16634
  }, {
16635
16635
  out: {};
16636
16636
  in: {};
@@ -16642,8 +16642,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
16642
16642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16643
16643
  createdAt: z.ZodOptional<z.ZodString>;
16644
16644
  updatedAt: z.ZodOptional<z.ZodString>;
16645
- agentId: z.ZodString;
16646
16645
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16646
+ agentId: z.ZodString;
16647
16647
  }, {
16648
16648
  out: {};
16649
16649
  in: {};
@@ -16651,14 +16651,14 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
16651
16651
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16652
16652
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
16653
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16654
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16654
16655
  agentId: z.ZodOptional<z.ZodString>;
16655
16656
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16656
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16657
16657
  }, {
16658
16658
  out: {};
16659
16659
  in: {};
16660
16660
  }>;
16661
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
16661
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select
16883
16883
  }, {}, {
16884
16884
  length: 256;
16885
16885
  }>;
16886
- }, drizzle_zod15.BuildRefine<{
16886
+ }, drizzle_zod19.BuildRefine<{
16887
16887
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16888
16888
  name: "created_at";
16889
16889
  tableName: "credential_references";
@@ -17148,17 +17148,17 @@ 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>;
17152
+ toolId: z.ZodNullable<z.ZodString>;
17151
17153
  credentialStoreId: z.ZodString;
17152
17154
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17153
- toolId: z.ZodNullable<z.ZodString>;
17154
- userId: z.ZodNullable<z.ZodString>;
17155
17155
  createdBy: z.ZodNullable<z.ZodString>;
17156
17156
  type: z.ZodEnum<{
17157
17157
  readonly memory: "memory";
17158
17158
  readonly keychain: "keychain";
17159
17159
  readonly nango: "nango";
17160
17160
  }>;
17161
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
17161
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.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_zod15.BuildRefine<{
17424
+ }, drizzle_zod19.BuildRefine<{
17425
17425
  createdAt: drizzle_orm_pg_core208.PgColumn<{
17426
17426
  name: "created_at";
17427
17427
  tableName: "tools";
@@ -17705,10 +17705,10 @@ 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>>;
17709
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17708
17710
  credentialStoreId: z.ZodString;
17709
17711
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17710
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17711
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17712
17712
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17713
17713
  type: z.ZodEnum<{
17714
17714
  readonly memory: "memory";
@@ -17721,10 +17721,10 @@ 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>>>>;
17725
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17724
17726
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17725
17727
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17726
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17727
- userId: 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<{
17730
17730
  readonly memory: "memory";
@@ -17848,13 +17848,13 @@ declare const McpToolSchema: z.ZodObject<{
17848
17848
  declare const MCPToolConfigSchema: z.ZodObject<{
17849
17849
  id: z.ZodString;
17850
17850
  name: z.ZodString;
17851
- createdBy: z.ZodOptional<z.ZodString>;
17852
- credentialScope: z.ZodOptional<z.ZodString>;
17851
+ expiresAt: 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>>>>>;
17853
+ credentialScope: z.ZodOptional<z.ZodString>;
17854
17854
  imageUrl: z.ZodOptional<z.ZodString>;
17855
17855
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17856
17856
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17857
- expiresAt: z.ZodOptional<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,10 +17885,10 @@ 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>>;
17889
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17888
17890
  credentialStoreId: z.ZodString;
17889
17891
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17890
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17891
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17892
17892
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17893
17893
  type: z.ZodEnum<{
17894
17894
  readonly memory: "memory";
@@ -18023,10 +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
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18027
18026
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18028
18027
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18029
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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>>>>>>>;
18030
18030
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18031
18031
  type: z.ZodLiteral<"mcp">;
18032
18032
  mcp: z.ZodObject<{
@@ -18053,13 +18053,13 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18053
18053
  prompt: z.ZodOptional<z.ZodString>;
18054
18054
  }, z.core.$strip>;
18055
18055
  }, z.core.$strip>>>;
18056
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18056
18057
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18057
- 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>>>>>>>;
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_zod15.BuildSchema<"select", {
18062
+ declare const FunctionToolSelectSchema: drizzle_zod19.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_zod15.BuildSchema<"select", {
18225
18225
  }, {}, {
18226
18226
  length: 256;
18227
18227
  }>;
18228
- }, drizzle_zod15.BuildRefine<{
18228
+ }, drizzle_zod19.BuildRefine<{
18229
18229
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18230
18230
  name: "created_at";
18231
18231
  tableName: "function_tools";
@@ -18445,13 +18445,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18445
18445
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18446
18446
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18447
18447
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18448
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18449
18448
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
18449
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18451
18451
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18452
18452
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18453
18453
  }, z.core.$strip>;
18454
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18454
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18455
18455
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18456
18456
  name: "created_at";
18457
18457
  tableName: "sub_agent_function_tool_relations";
@@ -18600,7 +18600,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
18600
18600
  }, {}, {
18601
18601
  length: 256;
18602
18602
  }>;
18603
- }, drizzle_zod15.BuildRefine<{
18603
+ }, drizzle_zod19.BuildRefine<{
18604
18604
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18605
18605
  name: "created_at";
18606
18606
  tableName: "sub_agent_function_tool_relations";
@@ -18780,7 +18780,7 @@ declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18780
18780
  out: {};
18781
18781
  in: {};
18782
18782
  }>;
18783
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18783
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18784
18784
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18785
18785
  name: "created_at";
18786
18786
  tableName: "functions";
@@ -18927,7 +18927,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18927
18927
  }, {}, {
18928
18928
  length: 256;
18929
18929
  }>;
18930
- }, drizzle_zod15.BuildRefine<{
18930
+ }, drizzle_zod19.BuildRefine<{
18931
18931
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18932
18932
  name: "created_at";
18933
18933
  tableName: "functions";
@@ -19173,10 +19173,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19173
19173
  name: z.ZodString;
19174
19174
  createdAt: z.ZodOptional<z.ZodString>;
19175
19175
  updatedAt: z.ZodOptional<z.ZodString>;
19176
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19177
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19176
19178
  credentialStoreId: z.ZodString;
19177
19179
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19178
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19179
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19180
19180
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19181
19181
  type: z.ZodEnum<{
19182
19182
  readonly memory: "memory";
@@ -19200,22 +19200,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19200
19200
  }>;
19201
19201
  declare const ContextConfigInsertSchema: z.ZodObject<{
19202
19202
  id: z.ZodOptional<z.ZodString>;
19203
- tenantId: z.ZodString;
19204
- projectId: z.ZodString;
19205
19203
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19206
19204
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19207
19205
  agentId: z.ZodString;
19206
+ projectId: z.ZodString;
19207
+ tenantId: z.ZodString;
19208
19208
  }, {
19209
19209
  out: {};
19210
19210
  in: {};
19211
19211
  }>;
19212
19212
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19213
19213
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19214
- tenantId: z.ZodOptional<z.ZodString>;
19215
- projectId: z.ZodOptional<z.ZodString>;
19216
19214
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19217
19215
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19218
19216
  agentId: z.ZodOptional<z.ZodString>;
19217
+ projectId: z.ZodOptional<z.ZodString>;
19218
+ tenantId: z.ZodOptional<z.ZodString>;
19219
19219
  }, {
19220
19220
  out: {};
19221
19221
  in: {};
@@ -19237,7 +19237,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19237
19237
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19238
19238
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19239
19239
  }, z.core.$strip>;
19240
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19240
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19241
19241
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19242
19242
  name: "created_at";
19243
19243
  tableName: "sub_agent_tool_relations";
@@ -19447,7 +19447,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
19447
19447
  }, {}, {
19448
19448
  length: 256;
19449
19449
  }>;
19450
- }, drizzle_zod15.BuildRefine<{
19450
+ }, drizzle_zod19.BuildRefine<{
19451
19451
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19452
19452
  name: "created_at";
19453
19453
  tableName: "sub_agent_tool_relations";
@@ -19698,9 +19698,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19698
19698
  createdAt: z.ZodString;
19699
19699
  updatedAt: z.ZodString;
19700
19700
  toolId: z.ZodString;
19701
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19702
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19703
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19701
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19702
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19703
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19704
19704
  subAgentId: z.ZodString;
19705
19705
  agentId: z.ZodString;
19706
19706
  projectId: z.ZodString;
@@ -19726,15 +19726,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19726
19726
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19727
19727
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19728
19728
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19729
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19730
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19731
19729
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19732
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19730
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19731
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19733
19732
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19734
19733
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19735
19734
  }, z.core.$strip>>>>>>;
19735
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19736
19736
  }, z.core.$strip>;
19737
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19737
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19738
19738
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19739
19739
  name: "created_at";
19740
19740
  tableName: "sub_agent_external_agent_relations";
@@ -19902,7 +19902,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
19902
19902
  }, {}, {
19903
19903
  length: 256;
19904
19904
  }>;
19905
- }, drizzle_zod15.BuildRefine<{
19905
+ }, drizzle_zod19.BuildRefine<{
19906
19906
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19907
19907
  name: "created_at";
19908
19908
  tableName: "sub_agent_external_agent_relations";
@@ -20103,7 +20103,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20103
20103
  createdAt: z.ZodString;
20104
20104
  updatedAt: z.ZodString;
20105
20105
  externalAgentId: z.ZodString;
20106
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20106
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20107
20107
  subAgentId: z.ZodString;
20108
20108
  agentId: z.ZodString;
20109
20109
  projectId: z.ZodString;
@@ -20120,11 +20120,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20120
20120
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20121
20121
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20122
20122
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20123
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20124
20123
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20124
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
20125
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20126
20126
  }, z.core.$strip>;
20127
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20127
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20128
20128
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20129
20129
  name: "created_at";
20130
20130
  tableName: "sub_agent_team_agent_relations";
@@ -20292,7 +20292,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
20292
20292
  }, {}, {
20293
20293
  length: 256;
20294
20294
  }>;
20295
- }, drizzle_zod15.BuildRefine<{
20295
+ }, drizzle_zod19.BuildRefine<{
20296
20296
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20297
20297
  name: "created_at";
20298
20298
  tableName: "sub_agent_team_agent_relations";
@@ -20493,7 +20493,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20493
20493
  createdAt: z.ZodString;
20494
20494
  updatedAt: z.ZodString;
20495
20495
  targetAgentId: z.ZodString;
20496
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20496
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20497
20497
  subAgentId: z.ZodString;
20498
20498
  agentId: z.ZodString;
20499
20499
  projectId: z.ZodString;
@@ -20510,11 +20510,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20510
20510
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20511
20511
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20512
20512
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20513
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20514
20513
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20514
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20515
20515
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20516
20516
  }, z.core.$strip>;
20517
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20517
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20518
20518
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20519
20519
  name: "created_at";
20520
20520
  tableName: "ledger_artifacts";
@@ -20849,7 +20849,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20849
20849
  }, {}, {
20850
20850
  length: 256;
20851
20851
  }>;
20852
- }, drizzle_zod15.BuildRefine<{
20852
+ }, drizzle_zod19.BuildRefine<{
20853
20853
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20854
20854
  name: "created_at";
20855
20855
  tableName: "ledger_artifacts";
@@ -21185,7 +21185,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
21185
21185
  length: 256;
21186
21186
  }>;
21187
21187
  }, undefined>, undefined>;
21188
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21188
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21189
21189
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21190
21190
  name: "created_at";
21191
21191
  tableName: "ledger_artifacts";
@@ -21520,7 +21520,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21520
21520
  }, {}, {
21521
21521
  length: 256;
21522
21522
  }>;
21523
- }, drizzle_zod15.BuildRefine<Pick<{
21523
+ }, drizzle_zod19.BuildRefine<Pick<{
21524
21524
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21525
21525
  name: "created_at";
21526
21526
  tableName: "ledger_artifacts";
@@ -21855,7 +21855,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21855
21855
  }, {}, {
21856
21856
  length: 256;
21857
21857
  }>;
21858
- }, "id" | "name" | "description" | "type" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21859
21859
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21860
21860
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21861
21861
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21865,12 +21865,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21865
21865
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21866
21866
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21867
21867
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21868
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21869
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21868
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21869
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21870
21870
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21871
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21871
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21872
21872
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21873
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21873
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21874
21874
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21875
21875
  projectId: z.ZodOptional<z.ZodString>;
21876
21876
  tenantId: z.ZodOptional<z.ZodString>;
@@ -21888,12 +21888,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
21888
21888
  type: z.ZodString;
21889
21889
  name: z.ZodNullable<z.ZodString>;
21890
21890
  description: z.ZodNullable<z.ZodString>;
21891
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21892
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21891
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21892
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21893
21893
  summary: z.ZodNullable<z.ZodString>;
21894
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21894
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21895
21895
  visibility: z.ZodNullable<z.ZodString>;
21896
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21896
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21897
21897
  derivedFrom: z.ZodNullable<z.ZodString>;
21898
21898
  projectId: z.ZodString;
21899
21899
  tenantId: z.ZodString;
@@ -21908,33 +21908,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21908
21908
  type: z.ZodOptional<z.ZodString>;
21909
21909
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21910
21910
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21911
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21912
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21911
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21912
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21913
21913
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21914
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21914
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21915
21915
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21916
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21916
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21917
21917
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21918
21918
  projectId: z.ZodString;
21919
21919
  tenantId: z.ZodString;
21920
21920
  id: z.ZodString;
21921
21921
  }>, z.core.$strip>;
21922
21922
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21923
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
21924
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21924
21925
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21925
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21926
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
21926
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21928
21927
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21929
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21928
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21930
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21930
21931
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21931
21932
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21932
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21933
21933
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21934
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21934
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21935
21935
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21936
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21937
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21936
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21937
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21938
21938
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21939
21939
  }, z.core.$strip>;
21940
21940
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22002,6 +22002,8 @@ declare const TeamAgentSchema: z.ZodObject<{
22002
22002
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22003
22003
  id: z.ZodString;
22004
22004
  name: z.ZodString;
22005
+ createdAt: z.ZodOptional<z.ZodString>;
22006
+ updatedAt: z.ZodOptional<z.ZodString>;
22005
22007
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22006
22008
  models: z.ZodOptional<z.ZodObject<{
22007
22009
  base: z.ZodOptional<z.ZodObject<{
@@ -22026,8 +22028,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22026
22028
  }, {
22027
22029
  stepCountIs?: number | undefined;
22028
22030
  }>>>>;
22029
- createdAt: z.ZodOptional<z.ZodString>;
22030
- updatedAt: z.ZodOptional<z.ZodString>;
22031
22031
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22032
22032
  type: z.ZodLiteral<"internal">;
22033
22033
  canUse: z.ZodArray<z.ZodObject<{
@@ -22055,15 +22055,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22055
22055
  }, z.core.$strip>;
22056
22056
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22057
22057
  name: z.ZodString;
22058
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22059
22058
  createdAt: z.ZodOptional<z.ZodString>;
22060
22059
  updatedAt: z.ZodOptional<z.ZodString>;
22060
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22061
22061
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22062
22062
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22063
22063
  id: z.ZodString;
22064
22064
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22065
22065
  id: z.ZodString;
22066
22066
  name: z.ZodString;
22067
+ createdAt: z.ZodOptional<z.ZodString>;
22068
+ updatedAt: z.ZodOptional<z.ZodString>;
22067
22069
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22068
22070
  models: z.ZodOptional<z.ZodObject<{
22069
22071
  base: z.ZodOptional<z.ZodObject<{
@@ -22088,8 +22090,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22088
22090
  }, {
22089
22091
  stepCountIs?: number | undefined;
22090
22092
  }>>>>;
22091
- createdAt: z.ZodOptional<z.ZodString>;
22092
- updatedAt: z.ZodOptional<z.ZodString>;
22093
22093
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22094
22094
  type: z.ZodLiteral<"internal">;
22095
22095
  canUse: z.ZodArray<z.ZodObject<{
@@ -22195,9 +22195,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22195
22195
  }>, z.core.$strip>>>;
22196
22196
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22197
22197
  name: z.ZodString;
22198
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22199
22198
  createdAt: z.ZodOptional<z.ZodString>;
22200
22199
  updatedAt: z.ZodOptional<z.ZodString>;
22200
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22201
22201
  enabled: z.ZodOptional<z.ZodBoolean>;
22202
22202
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22203
22203
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22214,7 +22214,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22214
22214
  objectTransformation?: Record<string, string>;
22215
22215
  }>>>>;
22216
22216
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22217
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22217
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22218
22218
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22219
22219
  id: z.ZodOptional<z.ZodString>;
22220
22220
  }, z.core.$strip>>>;
@@ -22320,6 +22320,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
22320
22320
  id: z.ZodString;
22321
22321
  name: z.ZodString;
22322
22322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22323
+ tenantId: z.ZodString;
22323
22324
  models: z.ZodObject<{
22324
22325
  base: z.ZodObject<{
22325
22326
  model: z.ZodOptional<z.ZodString>;
@@ -22338,7 +22339,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
22338
22339
  transferCountIs: z.ZodOptional<z.ZodNumber>;
22339
22340
  stepCountIs: z.ZodOptional<z.ZodNumber>;
22340
22341
  }, z.core.$strip>>;
22341
- tenantId: z.ZodString;
22342
22342
  }, {
22343
22343
  out: {};
22344
22344
  in: {};
@@ -22371,6 +22371,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22371
22371
  declare const ProjectApiSelectSchema: z.ZodObject<{
22372
22372
  id: z.ZodString;
22373
22373
  name: z.ZodString;
22374
+ createdAt: z.ZodString;
22375
+ updatedAt: z.ZodString;
22374
22376
  description: z.ZodNullable<z.ZodString>;
22375
22377
  models: z.ZodNullable<z.ZodObject<{
22376
22378
  base: z.ZodObject<{
@@ -22390,8 +22392,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22390
22392
  transferCountIs: z.ZodOptional<z.ZodNumber>;
22391
22393
  stepCountIs: z.ZodOptional<z.ZodNumber>;
22392
22394
  }, z.core.$strip>>;
22393
- createdAt: z.ZodString;
22394
- updatedAt: z.ZodString;
22395
22395
  }, {
22396
22396
  out: {};
22397
22397
  in: {};
@@ -22471,15 +22471,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22471
22471
  }, z.core.$strip>>;
22472
22472
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22473
22473
  name: z.ZodString;
22474
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22475
22474
  createdAt: z.ZodOptional<z.ZodString>;
22476
22475
  updatedAt: z.ZodOptional<z.ZodString>;
22476
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22477
22477
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22478
22478
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22479
22479
  id: z.ZodString;
22480
22480
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22481
22481
  id: z.ZodString;
22482
22482
  name: z.ZodString;
22483
+ createdAt: z.ZodOptional<z.ZodString>;
22484
+ updatedAt: z.ZodOptional<z.ZodString>;
22483
22485
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22484
22486
  models: z.ZodOptional<z.ZodObject<{
22485
22487
  base: z.ZodOptional<z.ZodObject<{
@@ -22504,8 +22506,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22504
22506
  }, {
22505
22507
  stepCountIs?: number | undefined;
22506
22508
  }>>>>;
22507
- createdAt: z.ZodOptional<z.ZodString>;
22508
- updatedAt: z.ZodOptional<z.ZodString>;
22509
22509
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22510
22510
  type: z.ZodLiteral<"internal">;
22511
22511
  canUse: z.ZodArray<z.ZodObject<{
@@ -22611,9 +22611,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22611
22611
  }>, z.core.$strip>>>;
22612
22612
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22613
22613
  name: z.ZodString;
22614
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22615
22614
  createdAt: z.ZodOptional<z.ZodString>;
22616
22615
  updatedAt: z.ZodOptional<z.ZodString>;
22616
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22617
22617
  enabled: z.ZodOptional<z.ZodBoolean>;
22618
22618
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22619
22619
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22630,7 +22630,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22630
22630
  objectTransformation?: Record<string, string>;
22631
22631
  }>>>>;
22632
22632
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22633
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22633
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22634
22634
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22635
22635
  id: z.ZodOptional<z.ZodString>;
22636
22636
  }, z.core.$strip>>>;
@@ -22811,10 +22811,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22811
22811
  name: z.ZodString;
22812
22812
  createdAt: z.ZodOptional<z.ZodString>;
22813
22813
  updatedAt: z.ZodOptional<z.ZodString>;
22814
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22815
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22814
22816
  credentialStoreId: z.ZodString;
22815
22817
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22816
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22817
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22818
22818
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22819
22819
  type: z.ZodEnum<{
22820
22820
  readonly memory: "memory";
@@ -22831,6 +22831,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22831
22831
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22832
22832
  id: z.ZodString;
22833
22833
  name: z.ZodString;
22834
+ createdAt: z.ZodString;
22835
+ updatedAt: z.ZodString;
22834
22836
  description: z.ZodNullable<z.ZodString>;
22835
22837
  models: z.ZodNullable<z.ZodType<{
22836
22838
  base?: {
@@ -22894,8 +22896,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22894
22896
  }, {
22895
22897
  stepCountIs?: number | undefined;
22896
22898
  }>>>;
22897
- createdAt: z.ZodString;
22898
- updatedAt: z.ZodString;
22899
22899
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22900
22900
  type: z.ZodLiteral<"internal">;
22901
22901
  canUse: z.ZodArray<z.ZodObject<{
@@ -22924,6 +22924,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22924
22924
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22925
22925
  id: z.ZodString;
22926
22926
  name: z.ZodString;
22927
+ createdAt: z.ZodString;
22928
+ updatedAt: z.ZodString;
22927
22929
  description: z.ZodNullable<z.ZodString>;
22928
22930
  models: z.ZodNullable<z.ZodType<{
22929
22931
  base?: {
@@ -22987,8 +22989,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22987
22989
  }, {
22988
22990
  stepCountIs?: number | undefined;
22989
22991
  }>>>;
22990
- createdAt: z.ZodString;
22991
- updatedAt: z.ZodString;
22992
22992
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22993
22993
  type: z.ZodLiteral<"internal">;
22994
22994
  canUse: z.ZodArray<z.ZodObject<{
@@ -23023,14 +23023,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23023
23023
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23024
23024
  id: z.ZodString;
23025
23025
  name: z.ZodString;
23026
- description: z.ZodNullable<z.ZodString>;
23027
23026
  createdAt: z.ZodString;
23028
23027
  updatedAt: z.ZodString;
23028
+ description: z.ZodNullable<z.ZodString>;
23029
23029
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23030
23030
  contextConfigId: z.ZodNullable<z.ZodString>;
23031
23031
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23032
23032
  id: z.ZodString;
23033
23033
  name: z.ZodString;
23034
+ createdAt: z.ZodString;
23035
+ updatedAt: z.ZodString;
23034
23036
  description: z.ZodNullable<z.ZodString>;
23035
23037
  models: z.ZodNullable<z.ZodType<{
23036
23038
  base?: {
@@ -23094,8 +23096,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23094
23096
  }, {
23095
23097
  stepCountIs?: number | undefined;
23096
23098
  }>>>;
23097
- createdAt: z.ZodString;
23098
- updatedAt: z.ZodString;
23099
23099
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23100
23100
  type: z.ZodLiteral<"internal">;
23101
23101
  canUse: z.ZodArray<z.ZodObject<{
@@ -23230,9 +23230,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23230
23230
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23231
23231
  id: z.ZodString;
23232
23232
  name: z.ZodString;
23233
- description: z.ZodNullable<z.ZodString>;
23234
23233
  createdAt: z.ZodString;
23235
23234
  updatedAt: z.ZodString;
23235
+ description: z.ZodNullable<z.ZodString>;
23236
23236
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23237
23237
  contextConfigId: z.ZodNullable<z.ZodString>;
23238
23238
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23343,6 +23343,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23343
23343
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23344
23344
  id: z.ZodString;
23345
23345
  name: z.ZodString;
23346
+ createdAt: z.ZodString;
23347
+ updatedAt: z.ZodString;
23346
23348
  description: z.ZodNullable<z.ZodString>;
23347
23349
  models: z.ZodNullable<z.ZodType<{
23348
23350
  base?: {
@@ -23406,8 +23408,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23406
23408
  }, {
23407
23409
  stepCountIs?: number | undefined;
23408
23410
  }>>>;
23409
- createdAt: z.ZodString;
23410
- updatedAt: z.ZodString;
23411
23411
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23412
23412
  type: z.ZodLiteral<"internal">;
23413
23413
  canUse: z.ZodArray<z.ZodObject<{
@@ -23443,6 +23443,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23443
23443
  declare const FullProjectSelectSchema: z.ZodObject<{
23444
23444
  id: z.ZodString;
23445
23445
  name: z.ZodString;
23446
+ createdAt: z.ZodString;
23447
+ updatedAt: z.ZodString;
23446
23448
  description: z.ZodNullable<z.ZodString>;
23447
23449
  models: z.ZodNullable<z.ZodObject<{
23448
23450
  base: z.ZodObject<{
@@ -23462,19 +23464,19 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23462
23464
  transferCountIs: z.ZodOptional<z.ZodNumber>;
23463
23465
  stepCountIs: z.ZodOptional<z.ZodNumber>;
23464
23466
  }, z.core.$strip>>;
23465
- createdAt: z.ZodString;
23466
- updatedAt: z.ZodString;
23467
23467
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23468
23468
  id: z.ZodString;
23469
23469
  name: z.ZodString;
23470
- description: z.ZodNullable<z.ZodString>;
23471
23470
  createdAt: z.ZodString;
23472
23471
  updatedAt: z.ZodString;
23472
+ description: z.ZodNullable<z.ZodString>;
23473
23473
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23474
23474
  contextConfigId: z.ZodNullable<z.ZodString>;
23475
23475
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23476
23476
  id: z.ZodString;
23477
23477
  name: z.ZodString;
23478
+ createdAt: z.ZodString;
23479
+ updatedAt: z.ZodString;
23478
23480
  description: z.ZodNullable<z.ZodString>;
23479
23481
  models: z.ZodNullable<z.ZodType<{
23480
23482
  base?: {
@@ -23538,8 +23540,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23538
23540
  }, {
23539
23541
  stepCountIs?: number | undefined;
23540
23542
  }>>>;
23541
- createdAt: z.ZodString;
23542
- updatedAt: z.ZodString;
23543
23543
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23544
23544
  type: z.ZodLiteral<"internal">;
23545
23545
  canUse: z.ZodArray<z.ZodObject<{
@@ -23797,17 +23797,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23797
23797
  name: z.ZodString;
23798
23798
  createdAt: z.ZodString;
23799
23799
  updatedAt: z.ZodString;
23800
+ userId: z.ZodNullable<z.ZodString>;
23801
+ toolId: z.ZodNullable<z.ZodString>;
23800
23802
  credentialStoreId: z.ZodString;
23801
23803
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23802
- toolId: z.ZodNullable<z.ZodString>;
23803
- userId: z.ZodNullable<z.ZodString>;
23804
23804
  createdBy: z.ZodNullable<z.ZodString>;
23805
23805
  type: z.ZodEnum<{
23806
23806
  readonly memory: "memory";
23807
23807
  readonly keychain: "keychain";
23808
23808
  readonly nango: "nango";
23809
23809
  }>;
23810
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23810
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23811
23811
  createdAt: drizzle_orm_pg_core208.PgColumn<{
23812
23812
  name: "created_at";
23813
23813
  tableName: "tools";
@@ -24070,7 +24070,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24070
24070
  }, {}, {
24071
24071
  length: 256;
24072
24072
  }>;
24073
- }, drizzle_zod15.BuildRefine<{
24073
+ }, drizzle_zod19.BuildRefine<{
24074
24074
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24075
24075
  name: "created_at";
24076
24076
  tableName: "tools";
@@ -24356,6 +24356,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24356
24356
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24357
24357
  id: z.ZodString;
24358
24358
  name: z.ZodString;
24359
+ createdAt: z.ZodString;
24360
+ updatedAt: z.ZodString;
24359
24361
  description: z.ZodNullable<z.ZodString>;
24360
24362
  models: z.ZodNullable<z.ZodObject<{
24361
24363
  base: z.ZodObject<{
@@ -24375,8 +24377,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24375
24377
  transferCountIs: z.ZodOptional<z.ZodNumber>;
24376
24378
  stepCountIs: z.ZodOptional<z.ZodNumber>;
24377
24379
  }, z.core.$strip>>;
24378
- createdAt: z.ZodString;
24379
- updatedAt: z.ZodString;
24380
24380
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24381
24381
  createdAt: z.ZodString;
24382
24382
  updatedAt: z.ZodString;
@@ -24503,17 +24503,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24503
24503
  name: z.ZodString;
24504
24504
  createdAt: z.ZodString;
24505
24505
  updatedAt: z.ZodString;
24506
+ userId: z.ZodNullable<z.ZodString>;
24507
+ toolId: z.ZodNullable<z.ZodString>;
24506
24508
  credentialStoreId: z.ZodString;
24507
24509
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24508
- toolId: z.ZodNullable<z.ZodString>;
24509
- userId: z.ZodNullable<z.ZodString>;
24510
24510
  createdBy: z.ZodNullable<z.ZodString>;
24511
24511
  type: z.ZodEnum<{
24512
24512
  readonly memory: "memory";
24513
24513
  readonly keychain: "keychain";
24514
24514
  readonly nango: "nango";
24515
24515
  }>;
24516
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24516
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24517
24517
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24518
24518
  name: "created_at";
24519
24519
  tableName: "tools";
@@ -24776,7 +24776,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24776
24776
  }, {}, {
24777
24777
  length: 256;
24778
24778
  }>;
24779
- }, drizzle_zod15.BuildRefine<{
24779
+ }, drizzle_zod19.BuildRefine<{
24780
24780
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24781
24781
  name: "created_at";
24782
24782
  tableName: "tools";
@@ -25058,9 +25058,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25058
25058
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25059
25059
  id: z.ZodString;
25060
25060
  name: z.ZodString;
25061
- description: z.ZodNullable<z.ZodString>;
25062
25061
  createdAt: z.ZodString;
25063
25062
  updatedAt: z.ZodString;
25063
+ description: z.ZodNullable<z.ZodString>;
25064
25064
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25065
25065
  contextConfigId: z.ZodNullable<z.ZodString>;
25066
25066
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25171,6 +25171,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25171
25171
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25172
25172
  id: z.ZodString;
25173
25173
  name: z.ZodString;
25174
+ createdAt: z.ZodString;
25175
+ updatedAt: z.ZodString;
25174
25176
  description: z.ZodNullable<z.ZodString>;
25175
25177
  models: z.ZodNullable<z.ZodType<{
25176
25178
  base?: {
@@ -25234,8 +25236,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25234
25236
  }, {
25235
25237
  stepCountIs?: number | undefined;
25236
25238
  }>>>;
25237
- createdAt: z.ZodString;
25238
- updatedAt: z.ZodString;
25239
25239
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25240
25240
  type: z.ZodLiteral<"internal">;
25241
25241
  canUse: z.ZodArray<z.ZodObject<{
@@ -25276,6 +25276,8 @@ declare const ProjectResponse: z.ZodObject<{
25276
25276
  data: z.ZodObject<{
25277
25277
  id: z.ZodString;
25278
25278
  name: z.ZodString;
25279
+ createdAt: z.ZodString;
25280
+ updatedAt: z.ZodString;
25279
25281
  description: z.ZodNullable<z.ZodString>;
25280
25282
  models: z.ZodNullable<z.ZodObject<{
25281
25283
  base: z.ZodObject<{
@@ -25295,8 +25297,6 @@ declare const ProjectResponse: z.ZodObject<{
25295
25297
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25296
25298
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25297
25299
  }, z.core.$strip>>;
25298
- createdAt: z.ZodString;
25299
- updatedAt: z.ZodString;
25300
25300
  }, {
25301
25301
  out: {};
25302
25302
  in: {};
@@ -25569,11 +25569,11 @@ declare const ApiKeyResponse: z.ZodObject<{
25569
25569
  name: z.ZodNullable<z.ZodString>;
25570
25570
  createdAt: z.ZodString;
25571
25571
  updatedAt: z.ZodString;
25572
+ expiresAt: z.ZodNullable<z.ZodString>;
25572
25573
  agentId: z.ZodString;
25573
25574
  publicId: z.ZodString;
25574
25575
  keyPrefix: z.ZodString;
25575
25576
  lastUsedAt: z.ZodNullable<z.ZodString>;
25576
- expiresAt: z.ZodNullable<z.ZodString>;
25577
25577
  }, {
25578
25578
  out: {};
25579
25579
  in: {};
@@ -25585,17 +25585,17 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25585
25585
  name: z.ZodString;
25586
25586
  createdAt: z.ZodString;
25587
25587
  updatedAt: z.ZodString;
25588
+ userId: z.ZodNullable<z.ZodString>;
25589
+ toolId: z.ZodNullable<z.ZodString>;
25588
25590
  credentialStoreId: z.ZodString;
25589
25591
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25590
- toolId: z.ZodNullable<z.ZodString>;
25591
- userId: z.ZodNullable<z.ZodString>;
25592
25592
  createdBy: z.ZodNullable<z.ZodString>;
25593
25593
  type: z.ZodEnum<{
25594
25594
  readonly memory: "memory";
25595
25595
  readonly keychain: "keychain";
25596
25596
  readonly nango: "nango";
25597
25597
  }>;
25598
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25598
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25599
25599
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25600
25600
  name: "created_at";
25601
25601
  tableName: "tools";
@@ -25858,7 +25858,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25858
25858
  }, {}, {
25859
25859
  length: 256;
25860
25860
  }>;
25861
- }, drizzle_zod15.BuildRefine<{
25861
+ }, drizzle_zod19.BuildRefine<{
25862
25862
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25863
25863
  name: "created_at";
25864
25864
  tableName: "tools";
@@ -26243,9 +26243,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26243
26243
  createdAt: z.ZodString;
26244
26244
  updatedAt: z.ZodString;
26245
26245
  toolId: z.ZodString;
26246
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26247
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26248
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26246
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26247
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26248
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26249
26249
  subAgentId: z.ZodString;
26250
26250
  agentId: z.ZodString;
26251
26251
  projectId: z.ZodString;
@@ -26330,7 +26330,7 @@ declare const TriggerResponse: z.ZodObject<{
26330
26330
  objectTransformation?: Record<string, string>;
26331
26331
  }>>>;
26332
26332
  messageTemplate: z.ZodNullable<z.ZodString>;
26333
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26333
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26334
26334
  signingSecret: z.ZodNullable<z.ZodString>;
26335
26335
  name: z.ZodString;
26336
26336
  description: z.ZodNullable<z.ZodString>;
@@ -26345,8 +26345,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26345
26345
  triggerId: z.ZodString;
26346
26346
  conversationId: z.ZodNullable<z.ZodString>;
26347
26347
  status: z.ZodString;
26348
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26349
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26348
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26349
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26350
26350
  errorMessage: z.ZodNullable<z.ZodString>;
26351
26351
  createdAt: z.ZodString;
26352
26352
  agentId: z.ZodString;
@@ -26359,6 +26359,8 @@ declare const ProjectListResponse: z.ZodObject<{
26359
26359
  data: z.ZodArray<z.ZodObject<{
26360
26360
  id: z.ZodString;
26361
26361
  name: z.ZodString;
26362
+ createdAt: z.ZodString;
26363
+ updatedAt: z.ZodString;
26362
26364
  description: z.ZodNullable<z.ZodString>;
26363
26365
  models: z.ZodNullable<z.ZodObject<{
26364
26366
  base: z.ZodObject<{
@@ -26378,8 +26380,6 @@ declare const ProjectListResponse: z.ZodObject<{
26378
26380
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26379
26381
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26380
26382
  }, z.core.$strip>>;
26381
- createdAt: z.ZodString;
26382
- updatedAt: z.ZodString;
26383
26383
  }, {
26384
26384
  out: {};
26385
26385
  in: {};
@@ -26688,11 +26688,11 @@ declare const ApiKeyListResponse: z.ZodObject<{
26688
26688
  name: z.ZodNullable<z.ZodString>;
26689
26689
  createdAt: z.ZodString;
26690
26690
  updatedAt: z.ZodString;
26691
+ expiresAt: z.ZodNullable<z.ZodString>;
26691
26692
  agentId: z.ZodString;
26692
26693
  publicId: z.ZodString;
26693
26694
  keyPrefix: z.ZodString;
26694
26695
  lastUsedAt: z.ZodNullable<z.ZodString>;
26695
- expiresAt: z.ZodNullable<z.ZodString>;
26696
26696
  }, {
26697
26697
  out: {};
26698
26698
  in: {};
@@ -26710,17 +26710,17 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26710
26710
  name: z.ZodString;
26711
26711
  createdAt: z.ZodString;
26712
26712
  updatedAt: z.ZodString;
26713
+ userId: z.ZodNullable<z.ZodString>;
26714
+ toolId: z.ZodNullable<z.ZodString>;
26713
26715
  credentialStoreId: z.ZodString;
26714
26716
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26715
- toolId: z.ZodNullable<z.ZodString>;
26716
- userId: z.ZodNullable<z.ZodString>;
26717
26717
  createdBy: z.ZodNullable<z.ZodString>;
26718
26718
  type: z.ZodEnum<{
26719
26719
  readonly memory: "memory";
26720
26720
  readonly keychain: "keychain";
26721
26721
  readonly nango: "nango";
26722
26722
  }>;
26723
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26723
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26724
26724
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26725
26725
  name: "created_at";
26726
26726
  tableName: "tools";
@@ -26983,7 +26983,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26983
26983
  }, {}, {
26984
26984
  length: 256;
26985
26985
  }>;
26986
- }, drizzle_zod15.BuildRefine<{
26986
+ }, drizzle_zod19.BuildRefine<{
26987
26987
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26988
26988
  name: "created_at";
26989
26989
  tableName: "tools";
@@ -27410,9 +27410,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27410
27410
  createdAt: z.ZodString;
27411
27411
  updatedAt: z.ZodString;
27412
27412
  toolId: z.ZodString;
27413
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27414
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27415
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27413
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27414
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27415
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27416
27416
  subAgentId: z.ZodString;
27417
27417
  agentId: z.ZodString;
27418
27418
  projectId: z.ZodString;
@@ -27515,7 +27515,7 @@ declare const TriggerListResponse: z.ZodObject<{
27515
27515
  objectTransformation?: Record<string, string>;
27516
27516
  }>>>;
27517
27517
  messageTemplate: z.ZodNullable<z.ZodString>;
27518
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27518
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27519
27519
  signingSecret: z.ZodNullable<z.ZodString>;
27520
27520
  name: z.ZodString;
27521
27521
  description: z.ZodNullable<z.ZodString>;
@@ -27536,8 +27536,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27536
27536
  triggerId: z.ZodString;
27537
27537
  conversationId: z.ZodNullable<z.ZodString>;
27538
27538
  status: z.ZodString;
27539
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27540
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27539
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27540
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27541
27541
  errorMessage: z.ZodNullable<z.ZodString>;
27542
27542
  createdAt: z.ZodString;
27543
27543
  agentId: z.ZodString;
@@ -27633,15 +27633,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27633
27633
  }, z.core.$strip>>;
27634
27634
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
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
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27640
27640
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27641
27641
  id: z.ZodString;
27642
27642
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27643
27643
  id: z.ZodString;
27644
27644
  name: z.ZodString;
27645
+ createdAt: z.ZodOptional<z.ZodString>;
27646
+ updatedAt: z.ZodOptional<z.ZodString>;
27645
27647
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27646
27648
  models: z.ZodOptional<z.ZodObject<{
27647
27649
  base: z.ZodOptional<z.ZodObject<{
@@ -27666,8 +27668,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27666
27668
  }, {
27667
27669
  stepCountIs?: number | undefined;
27668
27670
  }>>>>;
27669
- createdAt: z.ZodOptional<z.ZodString>;
27670
- updatedAt: z.ZodOptional<z.ZodString>;
27671
27671
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27672
27672
  type: z.ZodLiteral<"internal">;
27673
27673
  canUse: z.ZodArray<z.ZodObject<{
@@ -27773,9 +27773,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27773
27773
  }>, z.core.$strip>>>;
27774
27774
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27775
27775
  name: z.ZodString;
27776
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27777
27776
  createdAt: z.ZodOptional<z.ZodString>;
27778
27777
  updatedAt: z.ZodOptional<z.ZodString>;
27778
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27779
27779
  enabled: z.ZodOptional<z.ZodBoolean>;
27780
27780
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27781
27781
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -27792,7 +27792,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27792
27792
  objectTransformation?: Record<string, string>;
27793
27793
  }>>>>;
27794
27794
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27795
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
27795
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27796
27796
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27797
27797
  id: z.ZodOptional<z.ZodString>;
27798
27798
  }, z.core.$strip>>>;
@@ -27973,10 +27973,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27973
27973
  name: z.ZodString;
27974
27974
  createdAt: z.ZodOptional<z.ZodString>;
27975
27975
  updatedAt: z.ZodOptional<z.ZodString>;
27976
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27977
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27976
27978
  credentialStoreId: z.ZodString;
27977
27979
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27978
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27979
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27980
27980
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27981
27981
  type: z.ZodEnum<{
27982
27982
  readonly memory: "memory";
@@ -27995,6 +27995,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
27995
27995
  data: z.ZodObject<{
27996
27996
  id: z.ZodString;
27997
27997
  name: z.ZodString;
27998
+ createdAt: z.ZodString;
27999
+ updatedAt: z.ZodString;
27998
28000
  description: z.ZodNullable<z.ZodString>;
27999
28001
  models: z.ZodNullable<z.ZodObject<{
28000
28002
  base: z.ZodObject<{
@@ -28014,19 +28016,19 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28014
28016
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28015
28017
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28016
28018
  }, z.core.$strip>>;
28017
- createdAt: z.ZodString;
28018
- updatedAt: z.ZodString;
28019
28019
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28020
28020
  id: z.ZodString;
28021
28021
  name: z.ZodString;
28022
- description: z.ZodNullable<z.ZodString>;
28023
28022
  createdAt: z.ZodString;
28024
28023
  updatedAt: z.ZodString;
28024
+ description: z.ZodNullable<z.ZodString>;
28025
28025
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28026
28026
  contextConfigId: z.ZodNullable<z.ZodString>;
28027
28027
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28028
28028
  id: z.ZodString;
28029
28029
  name: z.ZodString;
28030
+ createdAt: z.ZodString;
28031
+ updatedAt: z.ZodString;
28030
28032
  description: z.ZodNullable<z.ZodString>;
28031
28033
  models: z.ZodNullable<z.ZodType<{
28032
28034
  base?: {
@@ -28090,8 +28092,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28090
28092
  }, {
28091
28093
  stepCountIs?: number | undefined;
28092
28094
  }>>>;
28093
- createdAt: z.ZodString;
28094
- updatedAt: z.ZodString;
28095
28095
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28096
28096
  type: z.ZodLiteral<"internal">;
28097
28097
  canUse: z.ZodArray<z.ZodObject<{
@@ -28349,17 +28349,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28349
28349
  name: z.ZodString;
28350
28350
  createdAt: z.ZodString;
28351
28351
  updatedAt: z.ZodString;
28352
+ userId: z.ZodNullable<z.ZodString>;
28353
+ toolId: z.ZodNullable<z.ZodString>;
28352
28354
  credentialStoreId: z.ZodString;
28353
28355
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28354
- toolId: z.ZodNullable<z.ZodString>;
28355
- userId: z.ZodNullable<z.ZodString>;
28356
28356
  createdBy: z.ZodNullable<z.ZodString>;
28357
28357
  type: z.ZodEnum<{
28358
28358
  readonly memory: "memory";
28359
28359
  readonly keychain: "keychain";
28360
28360
  readonly nango: "nango";
28361
28361
  }>;
28362
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28362
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28363
28363
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28364
28364
  name: "created_at";
28365
28365
  tableName: "tools";
@@ -28622,7 +28622,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28622
28622
  }, {}, {
28623
28623
  length: 256;
28624
28624
  }>;
28625
- }, drizzle_zod15.BuildRefine<{
28625
+ }, drizzle_zod19.BuildRefine<{
28626
28626
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28627
28627
  name: "created_at";
28628
28628
  tableName: "tools";
@@ -28910,6 +28910,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28910
28910
  data: z.ZodObject<{
28911
28911
  id: z.ZodString;
28912
28912
  name: z.ZodString;
28913
+ createdAt: z.ZodString;
28914
+ updatedAt: z.ZodString;
28913
28915
  description: z.ZodNullable<z.ZodString>;
28914
28916
  models: z.ZodNullable<z.ZodObject<{
28915
28917
  base: z.ZodObject<{
@@ -28929,8 +28931,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28929
28931
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28930
28932
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28931
28933
  }, z.core.$strip>>;
28932
- createdAt: z.ZodString;
28933
- updatedAt: z.ZodString;
28934
28934
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28935
28935
  createdAt: z.ZodString;
28936
28936
  updatedAt: z.ZodString;
@@ -29057,17 +29057,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29057
29057
  name: z.ZodString;
29058
29058
  createdAt: z.ZodString;
29059
29059
  updatedAt: z.ZodString;
29060
+ userId: z.ZodNullable<z.ZodString>;
29061
+ toolId: z.ZodNullable<z.ZodString>;
29060
29062
  credentialStoreId: z.ZodString;
29061
29063
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29062
- toolId: z.ZodNullable<z.ZodString>;
29063
- userId: z.ZodNullable<z.ZodString>;
29064
29064
  createdBy: z.ZodNullable<z.ZodString>;
29065
29065
  type: z.ZodEnum<{
29066
29066
  readonly memory: "memory";
29067
29067
  readonly keychain: "keychain";
29068
29068
  readonly nango: "nango";
29069
29069
  }>;
29070
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29070
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29071
29071
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29072
29072
  name: "created_at";
29073
29073
  tableName: "tools";
@@ -29330,7 +29330,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29330
29330
  }, {}, {
29331
29331
  length: 256;
29332
29332
  }>;
29333
- }, drizzle_zod15.BuildRefine<{
29333
+ }, drizzle_zod19.BuildRefine<{
29334
29334
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29335
29335
  name: "created_at";
29336
29336
  tableName: "tools";
@@ -29612,9 +29612,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29612
29612
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29613
29613
  id: z.ZodString;
29614
29614
  name: z.ZodString;
29615
- description: z.ZodNullable<z.ZodString>;
29616
29615
  createdAt: z.ZodString;
29617
29616
  updatedAt: z.ZodString;
29617
+ description: z.ZodNullable<z.ZodString>;
29618
29618
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29619
29619
  contextConfigId: z.ZodNullable<z.ZodString>;
29620
29620
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29725,6 +29725,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29725
29725
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29726
29726
  id: z.ZodString;
29727
29727
  name: z.ZodString;
29728
+ createdAt: z.ZodString;
29729
+ updatedAt: z.ZodString;
29728
29730
  description: z.ZodNullable<z.ZodString>;
29729
29731
  models: z.ZodNullable<z.ZodType<{
29730
29732
  base?: {
@@ -29788,8 +29790,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29788
29790
  }, {
29789
29791
  stepCountIs?: number | undefined;
29790
29792
  }>>>;
29791
- createdAt: z.ZodString;
29792
- updatedAt: z.ZodString;
29793
29793
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29794
29794
  type: z.ZodLiteral<"internal">;
29795
29795
  canUse: z.ZodArray<z.ZodObject<{
@@ -29830,15 +29830,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29830
29830
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29831
29831
  data: z.ZodObject<{
29832
29832
  name: z.ZodString;
29833
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29834
29833
  createdAt: z.ZodOptional<z.ZodString>;
29835
29834
  updatedAt: z.ZodOptional<z.ZodString>;
29835
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29836
29836
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29837
29837
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29838
29838
  id: z.ZodString;
29839
29839
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29840
29840
  id: z.ZodString;
29841
29841
  name: z.ZodString;
29842
+ createdAt: z.ZodOptional<z.ZodString>;
29843
+ updatedAt: z.ZodOptional<z.ZodString>;
29842
29844
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29843
29845
  models: z.ZodOptional<z.ZodObject<{
29844
29846
  base: z.ZodOptional<z.ZodObject<{
@@ -29863,8 +29865,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29863
29865
  }, {
29864
29866
  stepCountIs?: number | undefined;
29865
29867
  }>>>>;
29866
- createdAt: z.ZodOptional<z.ZodString>;
29867
- updatedAt: z.ZodOptional<z.ZodString>;
29868
29868
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29869
29869
  type: z.ZodLiteral<"internal">;
29870
29870
  canUse: z.ZodArray<z.ZodObject<{
@@ -29970,9 +29970,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29970
29970
  }>, z.core.$strip>>>;
29971
29971
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29972
29972
  name: z.ZodString;
29973
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29974
29973
  createdAt: z.ZodOptional<z.ZodString>;
29975
29974
  updatedAt: z.ZodOptional<z.ZodString>;
29975
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29976
29976
  enabled: z.ZodOptional<z.ZodBoolean>;
29977
29977
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29978
29978
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -29989,7 +29989,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29989
29989
  objectTransformation?: Record<string, string>;
29990
29990
  }>>>>;
29991
29991
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29992
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
29992
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29993
29993
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29994
29994
  id: z.ZodOptional<z.ZodString>;
29995
29995
  }, z.core.$strip>>>;
@@ -30037,14 +30037,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30037
30037
  data: z.ZodObject<{
30038
30038
  id: z.ZodString;
30039
30039
  name: z.ZodString;
30040
- description: z.ZodNullable<z.ZodString>;
30041
30040
  createdAt: z.ZodString;
30042
30041
  updatedAt: z.ZodString;
30042
+ description: z.ZodNullable<z.ZodString>;
30043
30043
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30044
30044
  contextConfigId: z.ZodNullable<z.ZodString>;
30045
30045
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30046
30046
  id: z.ZodString;
30047
30047
  name: z.ZodString;
30048
+ createdAt: z.ZodString;
30049
+ updatedAt: z.ZodString;
30048
30050
  description: z.ZodNullable<z.ZodString>;
30049
30051
  models: z.ZodNullable<z.ZodType<{
30050
30052
  base?: {
@@ -30108,8 +30110,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30108
30110
  }, {
30109
30111
  stepCountIs?: number | undefined;
30110
30112
  }>>>;
30111
- createdAt: z.ZodString;
30112
- updatedAt: z.ZodString;
30113
30113
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30114
30114
  type: z.ZodLiteral<"internal">;
30115
30115
  canUse: z.ZodArray<z.ZodObject<{
@@ -30394,7 +30394,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30394
30394
  createdAt: z.ZodString;
30395
30395
  updatedAt: z.ZodString;
30396
30396
  targetAgentId: z.ZodString;
30397
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30397
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30398
30398
  subAgentId: z.ZodString;
30399
30399
  agentId: z.ZodString;
30400
30400
  projectId: z.ZodString;
@@ -30407,7 +30407,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30407
30407
  createdAt: z.ZodString;
30408
30408
  updatedAt: z.ZodString;
30409
30409
  targetAgentId: z.ZodString;
30410
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30410
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30411
30411
  subAgentId: z.ZodString;
30412
30412
  agentId: z.ZodString;
30413
30413
  projectId: z.ZodString;
@@ -30426,7 +30426,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30426
30426
  createdAt: z.ZodString;
30427
30427
  updatedAt: z.ZodString;
30428
30428
  externalAgentId: z.ZodString;
30429
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30429
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30430
30430
  subAgentId: z.ZodString;
30431
30431
  agentId: z.ZodString;
30432
30432
  projectId: z.ZodString;
@@ -30439,7 +30439,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30439
30439
  createdAt: z.ZodString;
30440
30440
  updatedAt: z.ZodString;
30441
30441
  externalAgentId: z.ZodString;
30442
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30442
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30443
30443
  subAgentId: z.ZodString;
30444
30444
  agentId: z.ZodString;
30445
30445
  projectId: z.ZodString;
@@ -30606,7 +30606,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
30606
30606
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
30607
30607
  ref: z.ZodOptional<z.ZodString>;
30608
30608
  }, z.core.$strip>;
30609
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30609
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30610
30610
  id: drizzle_orm_pg_core208.PgColumn<{
30611
30611
  name: "id";
30612
30612
  tableName: "project_metadata";
@@ -30700,7 +30700,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30700
30700
  }, {}, {
30701
30701
  length: 512;
30702
30702
  }>;
30703
- }, drizzle_zod15.BuildRefine<{
30703
+ }, drizzle_zod19.BuildRefine<{
30704
30704
  id: drizzle_orm_pg_core208.PgColumn<{
30705
30705
  name: "id";
30706
30706
  tableName: "project_metadata";