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

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";
@@ -767,8 +767,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
767
767
  }>, z.core.$strip>;
768
768
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
770
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
771
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
772
772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
773
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
774
774
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -785,7 +785,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
785
785
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
786
786
  }, z.core.$strip>>;
787
787
  }, z.core.$strip>>>>;
788
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
789
788
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
790
789
  stepCountIs?: number | undefined;
791
790
  }, {
@@ -795,9 +794,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
795
794
  }, {
796
795
  stepCountIs?: number | undefined;
797
796
  }>>>>>>;
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" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2432
+ }, "tenantId" | "projectId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates">, 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>>;
@@ -2696,12 +2696,10 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2696
2696
  id: z.ZodString;
2697
2697
  }>, z.core.$strip>;
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
- name: z.ZodString;
2700
2699
  createdAt: z.ZodOptional<z.ZodString>;
2700
+ name: z.ZodString;
2701
2701
  updatedAt: z.ZodOptional<z.ZodString>;
2702
2702
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2705
2703
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2706
2704
  base?: {
2707
2705
  model?: string | undefined;
@@ -2755,6 +2753,17 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2755
2753
  providerOptions?: Record<string, any> | undefined;
2756
2754
  } | undefined;
2757
2755
  }>>>>;
2756
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
+ transferCountIs?: number | undefined;
2758
+ }, {
2759
+ transferCountIs?: number | undefined;
2760
+ }, z.core.$ZodTypeInternals<{
2761
+ transferCountIs?: number | undefined;
2762
+ }, {
2763
+ transferCountIs?: number | undefined;
2764
+ }>>>>;
2765
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2767
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
2768
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2760
2769
  enabled?: boolean | undefined;
@@ -2813,25 +2822,14 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2813
2822
  } | undefined;
2814
2823
  }[] | undefined;
2815
2824
  }>>>>;
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2830
2829
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2830
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2831
2831
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
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>>>>;
2835
2833
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2836
2834
  base?: {
2837
2835
  model?: string | undefined;
@@ -2885,6 +2883,17 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2885
2883
  providerOptions?: Record<string, any> | undefined;
2886
2884
  } | undefined;
2887
2885
  }>>>>>>;
2886
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
+ transferCountIs?: number | undefined;
2888
+ }, {
2889
+ transferCountIs?: number | undefined;
2890
+ }, z.core.$ZodTypeInternals<{
2891
+ transferCountIs?: number | undefined;
2892
+ }, {
2893
+ transferCountIs?: number | undefined;
2894
+ }>>>>>>;
2895
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2896
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
2897
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2889
2898
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2890
2899
  enabled?: boolean | undefined;
@@ -2943,15 +2952,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2943
2952
  } | undefined;
2944
2953
  }[] | undefined;
2945
2954
  }>>>>>>;
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
- pending: "pending";
3002
3001
  success: "success";
3002
+ pending: "pending";
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" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4050
+ }, "tenantId" | "projectId" | "id" | "inputSchema" | "createdAt" | "name" | "updatedAt" | "description" | "enabled" | "agentId" | "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>;
@@ -4097,12 +4097,12 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4097
4097
  id: z.ZodString;
4098
4098
  }>, z.core.$strip>;
4099
4099
  declare const TriggerApiInsertSchema: z.ZodObject<{
4100
- name: z.ZodString;
4100
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4101
4101
  createdAt: z.ZodOptional<z.ZodString>;
4102
+ name: z.ZodString;
4102
4103
  updatedAt: z.ZodOptional<z.ZodString>;
4103
4104
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4104
4105
  enabled: z.ZodOptional<z.ZodBoolean>;
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<{
4107
4107
  jmespath?: string;
4108
4108
  objectTransformation?: Record<string, string>;
@@ -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" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4953
+ }, "tenantId" | "projectId" | "id" | "createdAt" | "status" | "agentId" | "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,6 +5534,7 @@ 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
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5537
5538
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5538
5539
  type: z.ZodEnum<{
5539
5540
  tag: "tag";
@@ -5543,14 +5544,13 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5543
5544
  name: z.ZodString;
5544
5545
  hash: z.ZodString;
5545
5546
  }, z.core.$strip>>>;
5546
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5547
5547
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
5548
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
5550
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5550
5551
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5552
5552
  }, z.core.$strip>;
5553
- declare const TaskRelationSelectSchema: drizzle_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";
@@ -7063,6 +7063,8 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7063
7063
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7064
7064
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7065
7065
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7066
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7067
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7066
7068
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7067
7069
  type: z.ZodEnum<{
7068
7070
  tag: "tag";
@@ -7073,14 +7075,12 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7073
7075
  hash: z.ZodString;
7074
7076
  }, z.core.$strip>>>;
7075
7077
  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
7078
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
7079
  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
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7980
7979
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7981
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7980
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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>>;
@@ -8603,6 +8603,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8603
8603
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8604
8604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8605
8605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8606
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8606
8607
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8607
8608
  type: z.ZodEnum<{
8608
8609
  tag: "tag";
@@ -8612,7 +8613,6 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8612
8613
  name: z.ZodString;
8613
8614
  hash: z.ZodString;
8614
8615
  }, z.core.$strip>>>;
8615
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8616
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>>;
@@ -8620,7 +8620,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
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
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
8958
  evaluationJobConfigId: 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
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9675
9675
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9676
9676
  }, z.core.$strip>;
9677
- declare const EvaluationRunSelectSchema: drizzle_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
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
9973
  evaluationRunConfigId: 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";
@@ -10300,16 +10300,16 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10300
10300
  id: z.ZodString;
10301
10301
  }>, z.core.$strip>;
10302
10302
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10303
- name: z.ZodString;
10304
10303
  createdAt: z.ZodOptional<z.ZodString>;
10304
+ name: z.ZodString;
10305
10305
  updatedAt: z.ZodOptional<z.ZodString>;
10306
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10312
10311
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10312
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10313
10313
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
10314
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10315
10315
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
@@ -10317,14 +10317,14 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10317
10317
  }, z.core.$strip>;
10318
10318
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10319
10319
  id: z.ZodString;
10320
- name: z.ZodString;
10321
10320
  createdAt: z.ZodString;
10321
+ name: z.ZodString;
10322
10322
  updatedAt: z.ZodString;
10323
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
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
11359
  evaluationSuiteConfigId: 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
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
11657
  evaluatorId: 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
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
11955
  evaluationSuiteConfigId: 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";
@@ -12453,10 +12453,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12453
12453
  id: z.ZodString;
12454
12454
  }>, z.core.$strip>;
12455
12455
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12456
- name: z.ZodString;
12457
12456
  createdAt: z.ZodOptional<z.ZodString>;
12457
+ name: z.ZodString;
12458
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>>>;
12460
12459
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12461
12460
  model: z.ZodType<{
12462
12461
  model?: string | undefined;
@@ -12471,14 +12470,14 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12471
12470
  model?: string | undefined;
12472
12471
  providerOptions?: Record<string, any> | undefined;
12473
12472
  }>>;
12473
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12474
12474
  prompt: z.ZodString;
12475
12475
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12476
12476
  }, z.core.$strip>;
12477
12477
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12478
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12479
12478
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12479
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12480
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>>>>>;
12482
12481
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12483
12482
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12484
12483
  model?: string | undefined;
@@ -12493,10 +12492,11 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12493
12492
  model?: string | undefined;
12494
12493
  providerOptions?: Record<string, any> | undefined;
12495
12494
  }>>>>;
12495
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12496
12496
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12497
12497
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12498
12498
  }, z.core.$strip>;
12499
- declare const DatasetSelectSchema: drizzle_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";
@@ -12750,16 +12750,16 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
12750
12750
  id: z.ZodString;
12751
12751
  }>, z.core.$strip>;
12752
12752
  declare const DatasetApiInsertSchema: z.ZodObject<{
12753
- name: z.ZodString;
12754
12753
  createdAt: z.ZodOptional<z.ZodString>;
12754
+ name: z.ZodString;
12755
12755
  updatedAt: z.ZodOptional<z.ZodString>;
12756
12756
  }, z.core.$strip>;
12757
12757
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12758
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12759
12758
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12759
+ name: 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";
@@ -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";
@@ -13842,20 +13842,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13842
13842
  id: z.ZodString;
13843
13843
  }>, z.core.$strip>;
13844
13844
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13845
- name: z.ZodString;
13846
13845
  createdAt: z.ZodOptional<z.ZodString>;
13846
+ name: z.ZodString;
13847
13847
  updatedAt: z.ZodOptional<z.ZodString>;
13848
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13852
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13853
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13854
13854
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13855
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";
@@ -14525,11 +14525,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14525
14525
  in: {};
14526
14526
  }>;
14527
14527
  declare const DataComponentBaseSchema: z.ZodObject<{
14528
+ tenantId: z.ZodString;
14529
+ projectId: z.ZodString;
14528
14530
  id: z.ZodString;
14529
14531
  name: z.ZodString;
14530
14532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14531
- projectId: z.ZodString;
14532
- tenantId: z.ZodString;
14533
14533
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14534
14534
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14535
14535
  component: string;
@@ -14622,8 +14622,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14622
14622
  }>, z.core.$strip>;
14623
14623
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14624
14624
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14625
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14626
14625
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14626
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14627
14627
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
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>>>>>>>;
@@ -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" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15173
+ }, "tenantId" | "projectId" | "id" | "createdAt" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15174
15174
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15175
15175
  dataComponentId: z.ZodOptional<z.ZodString>;
15176
15176
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15206,7 +15206,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15206
15206
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
15207
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15208
15208
  }, z.core.$strip>;
15209
- declare const ArtifactComponentSelectSchema: drizzle_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";
@@ -15650,8 +15650,8 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15650
15650
  }>;
15651
15651
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15652
15652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15653
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15654
15653
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15654
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15655
15655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
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>>>>>>>;
@@ -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";
@@ -16047,8 +16047,8 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16047
16047
  }>, z.core.$strip>;
16048
16048
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16049
16049
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16050
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16051
16050
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16051
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16052
16052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16053
16053
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16054
16054
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -16056,8 +16056,8 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16056
16056
  }, z.core.$strip>;
16057
16057
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16058
16058
  id: z.ZodString;
16059
- name: z.ZodString;
16060
16059
  createdAt: z.ZodString;
16060
+ name: z.ZodString;
16061
16061
  updatedAt: z.ZodString;
16062
16062
  description: z.ZodNullable<z.ZodString>;
16063
16063
  models: z.ZodNullable<z.ZodType<{
@@ -16113,7 +16113,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16113
16113
  providerOptions?: Record<string, any> | undefined;
16114
16114
  } | undefined;
16115
16115
  }>>>;
16116
- prompt: z.ZodNullable<z.ZodString>;
16117
16116
  stopWhen: z.ZodNullable<z.ZodType<{
16118
16117
  stepCountIs?: number | undefined;
16119
16118
  }, {
@@ -16123,19 +16122,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16123
16122
  }, {
16124
16123
  stepCountIs?: number | undefined;
16125
16124
  }>>>;
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
- name: z.ZodString;
16131
16130
  createdAt: z.ZodString;
16131
+ name: z.ZodString;
16132
16132
  updatedAt: z.ZodString;
16133
16133
  description: z.ZodNullable<z.ZodString>;
16134
16134
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16135
16135
  baseUrl: z.ZodString;
16136
16136
  type: z.ZodLiteral<"external">;
16137
16137
  }, z.core.$strip>], "type">;
16138
- declare const ApiKeySelectSchema: drizzle_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";
@@ -16607,8 +16607,8 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16607
16607
  }>;
16608
16608
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16609
16609
  id: z.ZodString;
16610
- name: z.ZodNullable<z.ZodString>;
16611
16610
  createdAt: z.ZodString;
16611
+ name: z.ZodNullable<z.ZodString>;
16612
16612
  updatedAt: z.ZodString;
16613
16613
  expiresAt: z.ZodNullable<z.ZodString>;
16614
16614
  agentId: z.ZodString;
@@ -16623,8 +16623,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16623
16623
  data: z.ZodObject<{
16624
16624
  apiKey: z.ZodObject<{
16625
16625
  id: z.ZodString;
16626
- name: z.ZodNullable<z.ZodString>;
16627
16626
  createdAt: z.ZodString;
16627
+ name: z.ZodNullable<z.ZodString>;
16628
16628
  updatedAt: z.ZodString;
16629
16629
  expiresAt: z.ZodNullable<z.ZodString>;
16630
16630
  agentId: z.ZodString;
@@ -16639,8 +16639,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16639
16639
  }, z.core.$strip>;
16640
16640
  }, z.core.$strip>;
16641
16641
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16642
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16643
16642
  createdAt: z.ZodOptional<z.ZodString>;
16643
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16644
16644
  updatedAt: z.ZodOptional<z.ZodString>;
16645
16645
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16646
16646
  agentId: z.ZodString;
@@ -16658,7 +16658,7 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
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";
@@ -17145,8 +17145,8 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
17145
17145
  }>;
17146
17146
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17147
17147
  id: z.ZodString;
17148
- name: z.ZodString;
17149
17148
  createdAt: z.ZodString;
17149
+ name: z.ZodString;
17150
17150
  updatedAt: z.ZodString;
17151
17151
  userId: z.ZodNullable<z.ZodString>;
17152
17152
  credentialStoreId: z.ZodString;
@@ -17158,7 +17158,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17158
17158
  readonly keychain: "keychain";
17159
17159
  readonly nango: "nango";
17160
17160
  }>;
17161
- tools: z.ZodOptional<z.ZodArray<drizzle_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";
@@ -17702,8 +17702,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17702
17702
  }, z.core.$strip>;
17703
17703
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17704
17704
  id: z.ZodString;
17705
- name: z.ZodString;
17706
17705
  createdAt: z.ZodOptional<z.ZodString>;
17706
+ name: z.ZodString;
17707
17707
  updatedAt: z.ZodOptional<z.ZodString>;
17708
17708
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17709
17709
  credentialStoreId: z.ZodString;
@@ -17718,8 +17718,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17718
17718
  }, z.core.$strip>;
17719
17719
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17720
17720
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17721
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17722
17721
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17722
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17723
17723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17724
17724
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17725
17725
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17850,6 +17850,7 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17850
17850
  name: z.ZodString;
17851
17851
  expiresAt: z.ZodOptional<z.ZodString>;
17852
17852
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17853
+ relationshipId: z.ZodOptional<z.ZodString>;
17853
17854
  credentialScope: z.ZodOptional<z.ZodString>;
17854
17855
  imageUrl: z.ZodOptional<z.ZodString>;
17855
17856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -17860,7 +17861,6 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17860
17861
  description: z.ZodOptional<z.ZodString>;
17861
17862
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17862
17863
  }, z.core.$strip>>>;
17863
- relationshipId: z.ZodOptional<z.ZodString>;
17864
17864
  tenantId: z.ZodOptional<z.ZodString>;
17865
17865
  projectId: z.ZodOptional<z.ZodString>;
17866
17866
  description: z.ZodOptional<z.ZodString>;
@@ -17882,8 +17882,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17882
17882
  }, z.core.$strip>>;
17883
17883
  credential: z.ZodOptional<z.ZodObject<{
17884
17884
  id: z.ZodString;
17885
- name: z.ZodString;
17886
17885
  createdAt: z.ZodOptional<z.ZodString>;
17886
+ name: z.ZodString;
17887
17887
  updatedAt: z.ZodOptional<z.ZodString>;
17888
17888
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17889
17889
  credentialStoreId: z.ZodString;
@@ -18022,8 +18022,8 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18022
18022
  }>, z.core.$strip>;
18023
18023
  declare const ToolApiUpdateSchema: z.ZodObject<{
18024
18024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18025
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18026
18025
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18026
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18027
18027
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18028
18028
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18029
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>>>>>>>;
@@ -18059,7 +18059,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
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";
@@ -18422,12 +18422,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18422
18422
  }>;
18423
18423
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18424
18424
  id: z.ZodString;
18425
- name: z.ZodString;
18426
18425
  createdAt: z.ZodString;
18426
+ name: z.ZodString;
18427
18427
  updatedAt: z.ZodString;
18428
18428
  description: z.ZodNullable<z.ZodString>;
18429
- agentId: z.ZodString;
18430
18429
  functionId: z.ZodString;
18430
+ agentId: z.ZodString;
18431
18431
  relationshipId: z.ZodOptional<z.ZodString>;
18432
18432
  }, z.core.$strip>;
18433
18433
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
@@ -18443,14 +18443,14 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18443
18443
  }>, z.core.$strip>;
18444
18444
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18445
18445
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18446
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18447
18446
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18447
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18448
18448
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18449
18449
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18450
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18451
18450
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18451
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18452
18452
  }, z.core.$strip>;
18453
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18453
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18454
18454
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18455
18455
  name: "created_at";
18456
18456
  tableName: "sub_agent_function_tool_relations";
@@ -18599,7 +18599,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
18599
18599
  }, {}, {
18600
18600
  length: 256;
18601
18601
  }>;
18602
- }, drizzle_zod15.BuildRefine<{
18602
+ }, drizzle_zod19.BuildRefine<{
18603
18603
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18604
18604
  name: "created_at";
18605
18605
  tableName: "sub_agent_function_tool_relations";
@@ -18773,13 +18773,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18773
18773
  id: z.ZodString;
18774
18774
  }>, z.core.$strip>;
18775
18775
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18776
- subAgentId: z.ZodString;
18777
18776
  functionToolId: z.ZodString;
18777
+ subAgentId: z.ZodString;
18778
18778
  }, {
18779
18779
  out: {};
18780
18780
  in: {};
18781
18781
  }>;
18782
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18782
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18783
18783
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18784
18784
  name: "created_at";
18785
18785
  tableName: "functions";
@@ -18926,7 +18926,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18926
18926
  }, {}, {
18927
18927
  length: 256;
18928
18928
  }>;
18929
- }, drizzle_zod15.BuildRefine<{
18929
+ }, drizzle_zod19.BuildRefine<{
18930
18930
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18931
18931
  name: "created_at";
18932
18932
  tableName: "functions";
@@ -19122,11 +19122,11 @@ declare const FunctionApiInsertSchema: z.ZodObject<OmitProjectScope<{
19122
19122
  }>, z.core.$strip>;
19123
19123
  declare const FunctionApiUpdateSchema: z.ZodObject<{
19124
19124
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19125
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19126
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19127
19125
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19128
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19129
19126
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19127
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19128
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19129
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19130
19130
  }, z.core.$strip>;
19131
19131
  declare const FetchConfigSchema: z.ZodObject<{
19132
19132
  url: z.ZodString;
@@ -19169,8 +19169,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19169
19169
  defaultValue: z.ZodOptional<z.ZodAny>;
19170
19170
  credential: z.ZodOptional<z.ZodObject<{
19171
19171
  id: z.ZodString;
19172
- name: z.ZodString;
19173
19172
  createdAt: z.ZodOptional<z.ZodString>;
19173
+ name: z.ZodString;
19174
19174
  updatedAt: z.ZodOptional<z.ZodString>;
19175
19175
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19176
19176
  credentialStoreId: z.ZodString;
@@ -19198,23 +19198,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19198
19198
  in: {};
19199
19199
  }>;
19200
19200
  declare const ContextConfigInsertSchema: z.ZodObject<{
19201
+ tenantId: z.ZodString;
19202
+ projectId: z.ZodString;
19201
19203
  id: z.ZodOptional<z.ZodString>;
19204
+ agentId: z.ZodString;
19202
19205
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19203
19206
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19204
- agentId: z.ZodString;
19205
- projectId: z.ZodString;
19206
- tenantId: z.ZodString;
19207
19207
  }, {
19208
19208
  out: {};
19209
19209
  in: {};
19210
19210
  }>;
19211
19211
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19212
+ tenantId: z.ZodOptional<z.ZodString>;
19213
+ projectId: z.ZodOptional<z.ZodString>;
19212
19214
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19215
+ agentId: z.ZodOptional<z.ZodString>;
19213
19216
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19214
19217
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19215
- agentId: z.ZodOptional<z.ZodString>;
19216
- projectId: z.ZodOptional<z.ZodString>;
19217
- tenantId: z.ZodOptional<z.ZodString>;
19218
19218
  }, {
19219
19219
  out: {};
19220
19220
  in: {};
@@ -19236,7 +19236,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19236
19236
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19237
19237
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19238
19238
  }, z.core.$strip>;
19239
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19239
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19240
19240
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19241
19241
  name: "created_at";
19242
19242
  tableName: "sub_agent_tool_relations";
@@ -19446,7 +19446,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
19446
19446
  }, {}, {
19447
19447
  length: 256;
19448
19448
  }>;
19449
- }, drizzle_zod15.BuildRefine<{
19449
+ }, drizzle_zod19.BuildRefine<{
19450
19450
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19451
19451
  name: "created_at";
19452
19452
  tableName: "sub_agent_tool_relations";
@@ -19697,9 +19697,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19697
19697
  createdAt: z.ZodString;
19698
19698
  updatedAt: z.ZodString;
19699
19699
  toolId: z.ZodString;
19700
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19701
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19702
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19700
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19701
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19702
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19703
19703
  subAgentId: z.ZodString;
19704
19704
  agentId: z.ZodString;
19705
19705
  projectId: z.ZodString;
@@ -19733,7 +19733,7 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19733
19733
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19734
19734
  }, z.core.$strip>>>>>>;
19735
19735
  }, z.core.$strip>;
19736
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19736
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19737
19737
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19738
19738
  name: "created_at";
19739
19739
  tableName: "sub_agent_external_agent_relations";
@@ -19901,7 +19901,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
19901
19901
  }, {}, {
19902
19902
  length: 256;
19903
19903
  }>;
19904
- }, drizzle_zod15.BuildRefine<{
19904
+ }, drizzle_zod19.BuildRefine<{
19905
19905
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19906
19906
  name: "created_at";
19907
19907
  tableName: "sub_agent_external_agent_relations";
@@ -20102,7 +20102,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20102
20102
  createdAt: z.ZodString;
20103
20103
  updatedAt: z.ZodString;
20104
20104
  externalAgentId: z.ZodString;
20105
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20105
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20106
20106
  subAgentId: z.ZodString;
20107
20107
  agentId: z.ZodString;
20108
20108
  projectId: z.ZodString;
@@ -20123,7 +20123,7 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20123
20123
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20124
20124
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
20125
  }, z.core.$strip>;
20126
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20126
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20127
20127
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20128
20128
  name: "created_at";
20129
20129
  tableName: "sub_agent_team_agent_relations";
@@ -20291,7 +20291,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
20291
20291
  }, {}, {
20292
20292
  length: 256;
20293
20293
  }>;
20294
- }, drizzle_zod15.BuildRefine<{
20294
+ }, drizzle_zod19.BuildRefine<{
20295
20295
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20296
20296
  name: "created_at";
20297
20297
  tableName: "sub_agent_team_agent_relations";
@@ -20492,7 +20492,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20492
20492
  createdAt: z.ZodString;
20493
20493
  updatedAt: z.ZodString;
20494
20494
  targetAgentId: z.ZodString;
20495
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20495
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20496
20496
  subAgentId: z.ZodString;
20497
20497
  agentId: z.ZodString;
20498
20498
  projectId: z.ZodString;
@@ -20513,7 +20513,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20513
20513
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20514
20514
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20515
20515
  }, z.core.$strip>;
20516
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20516
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20517
20517
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20518
20518
  name: "created_at";
20519
20519
  tableName: "ledger_artifacts";
@@ -20848,7 +20848,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20848
20848
  }, {}, {
20849
20849
  length: 256;
20850
20850
  }>;
20851
- }, drizzle_zod15.BuildRefine<{
20851
+ }, drizzle_zod19.BuildRefine<{
20852
20852
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20853
20853
  name: "created_at";
20854
20854
  tableName: "ledger_artifacts";
@@ -21184,7 +21184,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
21184
21184
  length: 256;
21185
21185
  }>;
21186
21186
  }, undefined>, undefined>;
21187
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21187
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21188
21188
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21189
21189
  name: "created_at";
21190
21190
  tableName: "ledger_artifacts";
@@ -21519,7 +21519,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21519
21519
  }, {}, {
21520
21520
  length: 256;
21521
21521
  }>;
21522
- }, drizzle_zod15.BuildRefine<Pick<{
21522
+ }, drizzle_zod19.BuildRefine<Pick<{
21523
21523
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21524
21524
  name: "created_at";
21525
21525
  tableName: "ledger_artifacts";
@@ -21854,7 +21854,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21854
21854
  }, {}, {
21855
21855
  length: 256;
21856
21856
  }>;
21857
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21857
+ }, "type" | "tenantId" | "projectId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
21858
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21859
21859
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21860
21860
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21864,12 +21864,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21864
21864
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21865
21865
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21866
21866
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21867
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21868
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21867
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21868
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21869
21869
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21870
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21870
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21871
21871
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21872
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21872
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21873
21873
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21874
21874
  projectId: z.ZodOptional<z.ZodString>;
21875
21875
  tenantId: z.ZodOptional<z.ZodString>;
@@ -21887,12 +21887,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
21887
21887
  type: z.ZodString;
21888
21888
  name: z.ZodNullable<z.ZodString>;
21889
21889
  description: z.ZodNullable<z.ZodString>;
21890
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21891
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21890
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21891
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21892
21892
  summary: z.ZodNullable<z.ZodString>;
21893
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21893
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21894
21894
  visibility: z.ZodNullable<z.ZodString>;
21895
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21895
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21896
21896
  derivedFrom: z.ZodNullable<z.ZodString>;
21897
21897
  projectId: z.ZodString;
21898
21898
  tenantId: z.ZodString;
@@ -21907,12 +21907,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21907
21907
  type: z.ZodOptional<z.ZodString>;
21908
21908
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21909
21909
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21910
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21911
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21910
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21911
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21912
21912
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21913
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21913
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21914
21914
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21915
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21915
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21916
21916
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21917
21917
  projectId: z.ZodString;
21918
21918
  tenantId: z.ZodString;
@@ -21921,19 +21921,19 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21921
21921
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21922
21922
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
21923
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21924
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21925
21924
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21925
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21926
21926
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21928
21927
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21928
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21929
21930
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21930
21931
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21931
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21932
21932
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21933
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21933
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21934
21934
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21935
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21936
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21935
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21936
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21937
21937
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21938
21938
  }, z.core.$strip>;
21939
21939
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22000,8 +22000,8 @@ declare const TeamAgentSchema: z.ZodObject<{
22000
22000
  }, z.core.$strip>;
22001
22001
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22002
22002
  id: z.ZodString;
22003
- name: z.ZodString;
22004
22003
  createdAt: z.ZodOptional<z.ZodString>;
22004
+ name: z.ZodString;
22005
22005
  updatedAt: z.ZodOptional<z.ZodString>;
22006
22006
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22007
22007
  models: z.ZodOptional<z.ZodObject<{
@@ -22053,8 +22053,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22053
22053
  }, z.core.$strip>]>>>;
22054
22054
  }, z.core.$strip>;
22055
22055
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22056
- name: z.ZodString;
22057
22056
  createdAt: z.ZodOptional<z.ZodString>;
22057
+ name: z.ZodString;
22058
22058
  updatedAt: z.ZodOptional<z.ZodString>;
22059
22059
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22060
22060
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22062,8 +22062,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22062
22062
  id: z.ZodString;
22063
22063
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22064
22064
  id: z.ZodString;
22065
- name: z.ZodString;
22066
22065
  createdAt: z.ZodOptional<z.ZodString>;
22066
+ name: z.ZodString;
22067
22067
  updatedAt: z.ZodOptional<z.ZodString>;
22068
22068
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22069
22069
  models: z.ZodOptional<z.ZodObject<{
@@ -22193,12 +22193,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22193
22193
  id: z.ZodString;
22194
22194
  }>, z.core.$strip>>>;
22195
22195
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22196
- name: z.ZodString;
22196
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22197
22197
  createdAt: z.ZodOptional<z.ZodString>;
22198
+ name: z.ZodString;
22198
22199
  updatedAt: z.ZodOptional<z.ZodString>;
22199
22200
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22200
22201
  enabled: z.ZodOptional<z.ZodBoolean>;
22201
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22202
22202
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
22203
22203
  jmespath?: string;
22204
22204
  objectTransformation?: Record<string, string>;
@@ -22213,7 +22213,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22213
22213
  objectTransformation?: Record<string, string>;
22214
22214
  }>>>>;
22215
22215
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22216
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22216
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22217
22217
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22218
22218
  id: z.ZodOptional<z.ZodString>;
22219
22219
  }, z.core.$strip>>>;
@@ -22316,10 +22316,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
22316
22316
  in: {};
22317
22317
  }>;
22318
22318
  declare const ProjectInsertSchema: z.ZodObject<{
22319
+ tenantId: z.ZodString;
22319
22320
  id: z.ZodString;
22320
22321
  name: z.ZodString;
22321
22322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22322
- tenantId: z.ZodString;
22323
22323
  models: z.ZodObject<{
22324
22324
  base: z.ZodObject<{
22325
22325
  model: z.ZodOptional<z.ZodString>;
@@ -22369,8 +22369,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22369
22369
  }>;
22370
22370
  declare const ProjectApiSelectSchema: z.ZodObject<{
22371
22371
  id: z.ZodString;
22372
- name: z.ZodString;
22373
22372
  createdAt: z.ZodString;
22373
+ name: z.ZodString;
22374
22374
  updatedAt: z.ZodString;
22375
22375
  description: z.ZodNullable<z.ZodString>;
22376
22376
  models: z.ZodNullable<z.ZodObject<{
@@ -22469,8 +22469,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22469
22469
  stepCountIs: z.ZodOptional<z.ZodNumber>;
22470
22470
  }, z.core.$strip>>;
22471
22471
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22472
- name: z.ZodString;
22473
22472
  createdAt: z.ZodOptional<z.ZodString>;
22473
+ name: z.ZodString;
22474
22474
  updatedAt: z.ZodOptional<z.ZodString>;
22475
22475
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22476
22476
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22478,8 +22478,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22478
22478
  id: z.ZodString;
22479
22479
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22480
22480
  id: z.ZodString;
22481
- name: z.ZodString;
22482
22481
  createdAt: z.ZodOptional<z.ZodString>;
22482
+ name: z.ZodString;
22483
22483
  updatedAt: z.ZodOptional<z.ZodString>;
22484
22484
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22485
22485
  models: z.ZodOptional<z.ZodObject<{
@@ -22609,12 +22609,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22609
22609
  id: z.ZodString;
22610
22610
  }>, z.core.$strip>>>;
22611
22611
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22612
- name: z.ZodString;
22612
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22613
22613
  createdAt: z.ZodOptional<z.ZodString>;
22614
+ name: z.ZodString;
22614
22615
  updatedAt: z.ZodOptional<z.ZodString>;
22615
22616
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22616
22617
  enabled: z.ZodOptional<z.ZodBoolean>;
22617
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22618
22618
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
22619
22619
  jmespath?: string;
22620
22620
  objectTransformation?: Record<string, string>;
@@ -22629,7 +22629,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22629
22629
  objectTransformation?: Record<string, string>;
22630
22630
  }>>>>;
22631
22631
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22632
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22632
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22633
22633
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22634
22634
  id: z.ZodOptional<z.ZodString>;
22635
22635
  }, z.core.$strip>>>;
@@ -22807,8 +22807,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22807
22807
  }, z.core.$strip>>;
22808
22808
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22809
22809
  id: z.ZodString;
22810
- name: z.ZodString;
22811
22810
  createdAt: z.ZodOptional<z.ZodString>;
22811
+ name: z.ZodString;
22812
22812
  updatedAt: z.ZodOptional<z.ZodString>;
22813
22813
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22814
22814
  credentialStoreId: z.ZodString;
@@ -22829,8 +22829,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22829
22829
  }>;
22830
22830
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22831
22831
  id: z.ZodString;
22832
- name: z.ZodString;
22833
22832
  createdAt: z.ZodString;
22833
+ name: z.ZodString;
22834
22834
  updatedAt: z.ZodString;
22835
22835
  description: z.ZodNullable<z.ZodString>;
22836
22836
  models: z.ZodNullable<z.ZodType<{
@@ -22922,8 +22922,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22922
22922
  }, z.core.$strip>;
22923
22923
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22924
22924
  id: z.ZodString;
22925
- name: z.ZodString;
22926
22925
  createdAt: z.ZodString;
22926
+ name: z.ZodString;
22927
22927
  updatedAt: z.ZodString;
22928
22928
  description: z.ZodNullable<z.ZodString>;
22929
22929
  models: z.ZodNullable<z.ZodType<{
@@ -23021,16 +23021,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23021
23021
  }, z.core.$strip>;
23022
23022
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23023
23023
  id: z.ZodString;
23024
- name: z.ZodString;
23025
23024
  createdAt: z.ZodString;
23025
+ name: z.ZodString;
23026
23026
  updatedAt: z.ZodString;
23027
23027
  description: z.ZodNullable<z.ZodString>;
23028
23028
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23029
23029
  contextConfigId: z.ZodNullable<z.ZodString>;
23030
23030
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23031
23031
  id: z.ZodString;
23032
- name: z.ZodString;
23033
23032
  createdAt: z.ZodString;
23033
+ name: z.ZodString;
23034
23034
  updatedAt: z.ZodString;
23035
23035
  description: z.ZodNullable<z.ZodString>;
23036
23036
  models: z.ZodNullable<z.ZodType<{
@@ -23166,12 +23166,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23166
23166
  }, z.core.$strip>>>;
23167
23167
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23168
23168
  id: z.ZodString;
23169
- name: z.ZodString;
23170
23169
  createdAt: z.ZodString;
23170
+ name: z.ZodString;
23171
23171
  updatedAt: z.ZodString;
23172
23172
  description: z.ZodNullable<z.ZodString>;
23173
- agentId: z.ZodString;
23174
23173
  functionId: z.ZodString;
23174
+ agentId: z.ZodString;
23175
23175
  relationshipId: z.ZodOptional<z.ZodString>;
23176
23176
  }, z.core.$strip>>>;
23177
23177
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23227,8 +23227,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23227
23227
  }, z.core.$strip>;
23228
23228
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23229
23229
  id: z.ZodString;
23230
- name: z.ZodString;
23231
23230
  createdAt: z.ZodString;
23231
+ name: z.ZodString;
23232
23232
  updatedAt: z.ZodString;
23233
23233
  description: z.ZodNullable<z.ZodString>;
23234
23234
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -23279,12 +23279,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23279
23279
  }, z.core.$strip>>>;
23280
23280
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23281
23281
  id: z.ZodString;
23282
- name: z.ZodString;
23283
23282
  createdAt: z.ZodString;
23283
+ name: z.ZodString;
23284
23284
  updatedAt: z.ZodString;
23285
23285
  description: z.ZodNullable<z.ZodString>;
23286
- agentId: z.ZodString;
23287
23286
  functionId: z.ZodString;
23287
+ agentId: z.ZodString;
23288
23288
  relationshipId: z.ZodOptional<z.ZodString>;
23289
23289
  }, z.core.$strip>>>;
23290
23290
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23339,8 +23339,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23339
23339
  prompt: z.ZodNullable<z.ZodString>;
23340
23340
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23341
23341
  id: z.ZodString;
23342
- name: z.ZodString;
23343
23342
  createdAt: z.ZodString;
23343
+ name: z.ZodString;
23344
23344
  updatedAt: z.ZodString;
23345
23345
  description: z.ZodNullable<z.ZodString>;
23346
23346
  models: z.ZodNullable<z.ZodType<{
@@ -23439,8 +23439,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23439
23439
  }, z.core.$strip>;
23440
23440
  declare const FullProjectSelectSchema: z.ZodObject<{
23441
23441
  id: z.ZodString;
23442
- name: z.ZodString;
23443
23442
  createdAt: z.ZodString;
23443
+ name: z.ZodString;
23444
23444
  updatedAt: z.ZodString;
23445
23445
  description: z.ZodNullable<z.ZodString>;
23446
23446
  models: z.ZodNullable<z.ZodObject<{
@@ -23463,16 +23463,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23463
23463
  }, z.core.$strip>>;
23464
23464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23465
23465
  id: z.ZodString;
23466
- name: z.ZodString;
23467
23466
  createdAt: z.ZodString;
23467
+ name: z.ZodString;
23468
23468
  updatedAt: z.ZodString;
23469
23469
  description: z.ZodNullable<z.ZodString>;
23470
23470
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23471
23471
  contextConfigId: z.ZodNullable<z.ZodString>;
23472
23472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23473
23473
  id: z.ZodString;
23474
- name: z.ZodString;
23475
23474
  createdAt: z.ZodString;
23475
+ name: z.ZodString;
23476
23476
  updatedAt: z.ZodString;
23477
23477
  description: z.ZodNullable<z.ZodString>;
23478
23478
  models: z.ZodNullable<z.ZodType<{
@@ -23608,12 +23608,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23608
23608
  }, z.core.$strip>>>;
23609
23609
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23610
23610
  id: z.ZodString;
23611
- name: z.ZodString;
23612
23611
  createdAt: z.ZodString;
23612
+ name: z.ZodString;
23613
23613
  updatedAt: z.ZodString;
23614
23614
  description: z.ZodNullable<z.ZodString>;
23615
- agentId: z.ZodString;
23616
23615
  functionId: z.ZodString;
23616
+ agentId: z.ZodString;
23617
23617
  relationshipId: z.ZodOptional<z.ZodString>;
23618
23618
  }, z.core.$strip>>>;
23619
23619
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23697,12 +23697,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23697
23697
  }>, z.core.$strip>>;
23698
23698
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23699
23699
  id: z.ZodString;
23700
- name: z.ZodString;
23701
23700
  createdAt: z.ZodString;
23701
+ name: z.ZodString;
23702
23702
  updatedAt: z.ZodString;
23703
23703
  description: z.ZodNullable<z.ZodString>;
23704
- agentId: z.ZodString;
23705
23704
  functionId: z.ZodString;
23705
+ agentId: z.ZodString;
23706
23706
  relationshipId: z.ZodOptional<z.ZodString>;
23707
23707
  }, z.core.$strip>>>;
23708
23708
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23789,8 +23789,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23789
23789
  }, z.core.$strip>>;
23790
23790
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23791
23791
  id: z.ZodString;
23792
- name: z.ZodString;
23793
23792
  createdAt: z.ZodString;
23793
+ name: z.ZodString;
23794
23794
  updatedAt: z.ZodString;
23795
23795
  userId: z.ZodNullable<z.ZodString>;
23796
23796
  credentialStoreId: z.ZodString;
@@ -23802,7 +23802,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23802
23802
  readonly keychain: "keychain";
23803
23803
  readonly nango: "nango";
23804
23804
  }>;
23805
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23805
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23806
23806
  createdAt: drizzle_orm_pg_core208.PgColumn<{
23807
23807
  name: "created_at";
23808
23808
  tableName: "tools";
@@ -24065,7 +24065,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24065
24065
  }, {}, {
24066
24066
  length: 256;
24067
24067
  }>;
24068
- }, drizzle_zod15.BuildRefine<{
24068
+ }, drizzle_zod19.BuildRefine<{
24069
24069
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24070
24070
  name: "created_at";
24071
24071
  tableName: "tools";
@@ -24350,8 +24350,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24350
24350
  }>;
24351
24351
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24352
24352
  id: z.ZodString;
24353
- name: z.ZodString;
24354
24353
  createdAt: z.ZodString;
24354
+ name: z.ZodString;
24355
24355
  updatedAt: z.ZodString;
24356
24356
  description: z.ZodNullable<z.ZodString>;
24357
24357
  models: z.ZodNullable<z.ZodObject<{
@@ -24402,12 +24402,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24402
24402
  }>, z.core.$strip>>;
24403
24403
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24404
24404
  id: z.ZodString;
24405
- name: z.ZodString;
24406
24405
  createdAt: z.ZodString;
24406
+ name: z.ZodString;
24407
24407
  updatedAt: z.ZodString;
24408
24408
  description: z.ZodNullable<z.ZodString>;
24409
- agentId: z.ZodString;
24410
24409
  functionId: z.ZodString;
24410
+ agentId: z.ZodString;
24411
24411
  relationshipId: z.ZodOptional<z.ZodString>;
24412
24412
  }, z.core.$strip>>>;
24413
24413
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -24494,8 +24494,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24494
24494
  }, z.core.$strip>>;
24495
24495
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24496
24496
  id: z.ZodString;
24497
- name: z.ZodString;
24498
24497
  createdAt: z.ZodString;
24498
+ name: z.ZodString;
24499
24499
  updatedAt: z.ZodString;
24500
24500
  userId: z.ZodNullable<z.ZodString>;
24501
24501
  credentialStoreId: z.ZodString;
@@ -24507,7 +24507,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24507
24507
  readonly keychain: "keychain";
24508
24508
  readonly nango: "nango";
24509
24509
  }>;
24510
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24510
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24511
24511
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24512
24512
  name: "created_at";
24513
24513
  tableName: "tools";
@@ -24770,7 +24770,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24770
24770
  }, {}, {
24771
24771
  length: 256;
24772
24772
  }>;
24773
- }, drizzle_zod15.BuildRefine<{
24773
+ }, drizzle_zod19.BuildRefine<{
24774
24774
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24775
24775
  name: "created_at";
24776
24776
  tableName: "tools";
@@ -25051,8 +25051,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25051
25051
  }, z.core.$strip>>>;
25052
25052
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25053
25053
  id: z.ZodString;
25054
- name: z.ZodString;
25055
25054
  createdAt: z.ZodString;
25055
+ name: z.ZodString;
25056
25056
  updatedAt: z.ZodString;
25057
25057
  description: z.ZodNullable<z.ZodString>;
25058
25058
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -25103,12 +25103,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25103
25103
  }, z.core.$strip>>>;
25104
25104
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25105
25105
  id: z.ZodString;
25106
- name: z.ZodString;
25107
25106
  createdAt: z.ZodString;
25107
+ name: z.ZodString;
25108
25108
  updatedAt: z.ZodString;
25109
25109
  description: z.ZodNullable<z.ZodString>;
25110
- agentId: z.ZodString;
25111
25110
  functionId: z.ZodString;
25111
+ agentId: z.ZodString;
25112
25112
  relationshipId: z.ZodOptional<z.ZodString>;
25113
25113
  }, z.core.$strip>>>;
25114
25114
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25163,8 +25163,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25163
25163
  prompt: z.ZodNullable<z.ZodString>;
25164
25164
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25165
25165
  id: z.ZodString;
25166
- name: z.ZodString;
25167
25166
  createdAt: z.ZodString;
25167
+ name: z.ZodString;
25168
25168
  updatedAt: z.ZodString;
25169
25169
  description: z.ZodNullable<z.ZodString>;
25170
25170
  models: z.ZodNullable<z.ZodType<{
@@ -25268,8 +25268,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25268
25268
  declare const ProjectResponse: z.ZodObject<{
25269
25269
  data: z.ZodObject<{
25270
25270
  id: z.ZodString;
25271
- name: z.ZodString;
25272
25271
  createdAt: z.ZodString;
25272
+ name: z.ZodString;
25273
25273
  updatedAt: z.ZodString;
25274
25274
  description: z.ZodNullable<z.ZodString>;
25275
25275
  models: z.ZodNullable<z.ZodObject<{
@@ -25559,8 +25559,8 @@ declare const ContextConfigResponse: z.ZodObject<{
25559
25559
  declare const ApiKeyResponse: z.ZodObject<{
25560
25560
  data: z.ZodObject<{
25561
25561
  id: z.ZodString;
25562
- name: z.ZodNullable<z.ZodString>;
25563
25562
  createdAt: z.ZodString;
25563
+ name: z.ZodNullable<z.ZodString>;
25564
25564
  updatedAt: z.ZodString;
25565
25565
  expiresAt: z.ZodNullable<z.ZodString>;
25566
25566
  agentId: z.ZodString;
@@ -25575,8 +25575,8 @@ declare const ApiKeyResponse: z.ZodObject<{
25575
25575
  declare const CredentialReferenceResponse: z.ZodObject<{
25576
25576
  data: z.ZodObject<{
25577
25577
  id: z.ZodString;
25578
- name: z.ZodString;
25579
25578
  createdAt: z.ZodString;
25579
+ name: z.ZodString;
25580
25580
  updatedAt: z.ZodString;
25581
25581
  userId: z.ZodNullable<z.ZodString>;
25582
25582
  credentialStoreId: z.ZodString;
@@ -25588,7 +25588,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25588
25588
  readonly keychain: "keychain";
25589
25589
  readonly nango: "nango";
25590
25590
  }>;
25591
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25591
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25592
25592
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25593
25593
  name: "created_at";
25594
25594
  tableName: "tools";
@@ -25851,7 +25851,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25851
25851
  }, {}, {
25852
25852
  length: 256;
25853
25853
  }>;
25854
- }, drizzle_zod15.BuildRefine<{
25854
+ }, drizzle_zod19.BuildRefine<{
25855
25855
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25856
25856
  name: "created_at";
25857
25857
  tableName: "tools";
@@ -26146,12 +26146,12 @@ declare const FunctionResponse: z.ZodObject<{
26146
26146
  declare const FunctionToolResponse: z.ZodObject<{
26147
26147
  data: z.ZodObject<{
26148
26148
  id: z.ZodString;
26149
- name: z.ZodString;
26150
26149
  createdAt: z.ZodString;
26150
+ name: z.ZodString;
26151
26151
  updatedAt: z.ZodString;
26152
26152
  description: z.ZodNullable<z.ZodString>;
26153
- agentId: z.ZodString;
26154
26153
  functionId: z.ZodString;
26154
+ agentId: z.ZodString;
26155
26155
  relationshipId: z.ZodOptional<z.ZodString>;
26156
26156
  }, z.core.$strip>;
26157
26157
  }, z.core.$strip>;
@@ -26235,9 +26235,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26235
26235
  createdAt: z.ZodString;
26236
26236
  updatedAt: z.ZodString;
26237
26237
  toolId: z.ZodString;
26238
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26239
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26240
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26238
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26239
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26240
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26241
26241
  subAgentId: z.ZodString;
26242
26242
  agentId: z.ZodString;
26243
26243
  projectId: z.ZodString;
@@ -26322,7 +26322,7 @@ declare const TriggerResponse: z.ZodObject<{
26322
26322
  objectTransformation?: Record<string, string>;
26323
26323
  }>>>;
26324
26324
  messageTemplate: z.ZodNullable<z.ZodString>;
26325
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26325
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26326
26326
  signingSecret: z.ZodNullable<z.ZodString>;
26327
26327
  name: z.ZodString;
26328
26328
  description: z.ZodNullable<z.ZodString>;
@@ -26337,8 +26337,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26337
26337
  triggerId: z.ZodString;
26338
26338
  conversationId: z.ZodNullable<z.ZodString>;
26339
26339
  status: z.ZodString;
26340
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26341
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26340
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26341
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26342
26342
  errorMessage: z.ZodNullable<z.ZodString>;
26343
26343
  createdAt: z.ZodString;
26344
26344
  agentId: z.ZodString;
@@ -26350,8 +26350,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26350
26350
  declare const ProjectListResponse: z.ZodObject<{
26351
26351
  data: z.ZodArray<z.ZodObject<{
26352
26352
  id: z.ZodString;
26353
- name: z.ZodString;
26354
26353
  createdAt: z.ZodString;
26354
+ name: z.ZodString;
26355
26355
  updatedAt: z.ZodString;
26356
26356
  description: z.ZodNullable<z.ZodString>;
26357
26357
  models: z.ZodNullable<z.ZodObject<{
@@ -26677,8 +26677,8 @@ declare const ContextConfigListResponse: z.ZodObject<{
26677
26677
  declare const ApiKeyListResponse: z.ZodObject<{
26678
26678
  data: z.ZodArray<z.ZodObject<{
26679
26679
  id: z.ZodString;
26680
- name: z.ZodNullable<z.ZodString>;
26681
26680
  createdAt: z.ZodString;
26681
+ name: z.ZodNullable<z.ZodString>;
26682
26682
  updatedAt: z.ZodString;
26683
26683
  expiresAt: z.ZodNullable<z.ZodString>;
26684
26684
  agentId: z.ZodString;
@@ -26699,8 +26699,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
26699
26699
  declare const CredentialReferenceListResponse: z.ZodObject<{
26700
26700
  data: z.ZodArray<z.ZodObject<{
26701
26701
  id: z.ZodString;
26702
- name: z.ZodString;
26703
26702
  createdAt: z.ZodString;
26703
+ name: z.ZodString;
26704
26704
  updatedAt: z.ZodString;
26705
26705
  userId: z.ZodNullable<z.ZodString>;
26706
26706
  credentialStoreId: z.ZodString;
@@ -26712,7 +26712,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26712
26712
  readonly keychain: "keychain";
26713
26713
  readonly nango: "nango";
26714
26714
  }>;
26715
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26715
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26716
26716
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26717
26717
  name: "created_at";
26718
26718
  tableName: "tools";
@@ -26975,7 +26975,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26975
26975
  }, {}, {
26976
26976
  length: 256;
26977
26977
  }>;
26978
- }, drizzle_zod15.BuildRefine<{
26978
+ }, drizzle_zod19.BuildRefine<{
26979
26979
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26980
26980
  name: "created_at";
26981
26981
  tableName: "tools";
@@ -27282,12 +27282,12 @@ declare const FunctionListResponse: z.ZodObject<{
27282
27282
  declare const FunctionToolListResponse: z.ZodObject<{
27283
27283
  data: z.ZodArray<z.ZodObject<{
27284
27284
  id: z.ZodString;
27285
- name: z.ZodString;
27286
27285
  createdAt: z.ZodString;
27286
+ name: z.ZodString;
27287
27287
  updatedAt: z.ZodString;
27288
27288
  description: z.ZodNullable<z.ZodString>;
27289
- agentId: z.ZodString;
27290
27289
  functionId: z.ZodString;
27290
+ agentId: z.ZodString;
27291
27291
  relationshipId: z.ZodOptional<z.ZodString>;
27292
27292
  }, z.core.$strip>>;
27293
27293
  pagination: z.ZodObject<{
@@ -27401,9 +27401,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27401
27401
  createdAt: z.ZodString;
27402
27402
  updatedAt: z.ZodString;
27403
27403
  toolId: z.ZodString;
27404
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27405
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27406
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27404
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27405
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27406
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27407
27407
  subAgentId: z.ZodString;
27408
27408
  agentId: z.ZodString;
27409
27409
  projectId: z.ZodString;
@@ -27506,7 +27506,7 @@ declare const TriggerListResponse: z.ZodObject<{
27506
27506
  objectTransformation?: Record<string, string>;
27507
27507
  }>>>;
27508
27508
  messageTemplate: z.ZodNullable<z.ZodString>;
27509
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27509
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27510
27510
  signingSecret: z.ZodNullable<z.ZodString>;
27511
27511
  name: z.ZodString;
27512
27512
  description: z.ZodNullable<z.ZodString>;
@@ -27527,8 +27527,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27527
27527
  triggerId: z.ZodString;
27528
27528
  conversationId: z.ZodNullable<z.ZodString>;
27529
27529
  status: z.ZodString;
27530
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27531
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27530
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27531
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27532
27532
  errorMessage: z.ZodNullable<z.ZodString>;
27533
27533
  createdAt: z.ZodString;
27534
27534
  agentId: z.ZodString;
@@ -27623,8 +27623,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27623
27623
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27624
27624
  }, z.core.$strip>>;
27625
27625
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27626
- name: z.ZodString;
27627
27626
  createdAt: z.ZodOptional<z.ZodString>;
27627
+ name: z.ZodString;
27628
27628
  updatedAt: z.ZodOptional<z.ZodString>;
27629
27629
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27630
27630
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27632,8 +27632,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27632
27632
  id: z.ZodString;
27633
27633
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27634
27634
  id: z.ZodString;
27635
- name: z.ZodString;
27636
27635
  createdAt: z.ZodOptional<z.ZodString>;
27636
+ name: z.ZodString;
27637
27637
  updatedAt: z.ZodOptional<z.ZodString>;
27638
27638
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27639
27639
  models: z.ZodOptional<z.ZodObject<{
@@ -27763,12 +27763,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27763
27763
  id: z.ZodString;
27764
27764
  }>, z.core.$strip>>>;
27765
27765
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27766
- name: z.ZodString;
27766
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27767
27767
  createdAt: z.ZodOptional<z.ZodString>;
27768
+ name: z.ZodString;
27768
27769
  updatedAt: z.ZodOptional<z.ZodString>;
27769
27770
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27770
27771
  enabled: z.ZodOptional<z.ZodBoolean>;
27771
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27772
27772
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
27773
27773
  jmespath?: string;
27774
27774
  objectTransformation?: Record<string, string>;
@@ -27783,7 +27783,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27783
27783
  objectTransformation?: Record<string, string>;
27784
27784
  }>>>>;
27785
27785
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27786
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
27786
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27787
27787
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27788
27788
  id: z.ZodOptional<z.ZodString>;
27789
27789
  }, z.core.$strip>>>;
@@ -27961,8 +27961,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27961
27961
  }, z.core.$strip>>;
27962
27962
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27963
27963
  id: z.ZodString;
27964
- name: z.ZodString;
27965
27964
  createdAt: z.ZodOptional<z.ZodString>;
27965
+ name: z.ZodString;
27966
27966
  updatedAt: z.ZodOptional<z.ZodString>;
27967
27967
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27968
27968
  credentialStoreId: z.ZodString;
@@ -27985,8 +27985,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27985
27985
  declare const FullProjectSelectResponse: z.ZodObject<{
27986
27986
  data: z.ZodObject<{
27987
27987
  id: z.ZodString;
27988
- name: z.ZodString;
27989
27988
  createdAt: z.ZodString;
27989
+ name: z.ZodString;
27990
27990
  updatedAt: z.ZodString;
27991
27991
  description: z.ZodNullable<z.ZodString>;
27992
27992
  models: z.ZodNullable<z.ZodObject<{
@@ -28009,16 +28009,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28009
28009
  }, z.core.$strip>>;
28010
28010
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28011
28011
  id: z.ZodString;
28012
- name: z.ZodString;
28013
28012
  createdAt: z.ZodString;
28013
+ name: z.ZodString;
28014
28014
  updatedAt: z.ZodString;
28015
28015
  description: z.ZodNullable<z.ZodString>;
28016
28016
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28017
28017
  contextConfigId: z.ZodNullable<z.ZodString>;
28018
28018
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28019
28019
  id: z.ZodString;
28020
- name: z.ZodString;
28021
28020
  createdAt: z.ZodString;
28021
+ name: z.ZodString;
28022
28022
  updatedAt: z.ZodString;
28023
28023
  description: z.ZodNullable<z.ZodString>;
28024
28024
  models: z.ZodNullable<z.ZodType<{
@@ -28154,12 +28154,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28154
28154
  }, z.core.$strip>>>;
28155
28155
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28156
28156
  id: z.ZodString;
28157
- name: z.ZodString;
28158
28157
  createdAt: z.ZodString;
28158
+ name: z.ZodString;
28159
28159
  updatedAt: z.ZodString;
28160
28160
  description: z.ZodNullable<z.ZodString>;
28161
- agentId: z.ZodString;
28162
28161
  functionId: z.ZodString;
28162
+ agentId: z.ZodString;
28163
28163
  relationshipId: z.ZodOptional<z.ZodString>;
28164
28164
  }, z.core.$strip>>>;
28165
28165
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -28243,12 +28243,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28243
28243
  }>, z.core.$strip>>;
28244
28244
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28245
28245
  id: z.ZodString;
28246
- name: z.ZodString;
28247
28246
  createdAt: z.ZodString;
28247
+ name: z.ZodString;
28248
28248
  updatedAt: z.ZodString;
28249
28249
  description: z.ZodNullable<z.ZodString>;
28250
- agentId: z.ZodString;
28251
28250
  functionId: z.ZodString;
28251
+ agentId: z.ZodString;
28252
28252
  relationshipId: z.ZodOptional<z.ZodString>;
28253
28253
  }, z.core.$strip>>>;
28254
28254
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -28335,8 +28335,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28335
28335
  }, z.core.$strip>>;
28336
28336
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28337
28337
  id: z.ZodString;
28338
- name: z.ZodString;
28339
28338
  createdAt: z.ZodString;
28339
+ name: z.ZodString;
28340
28340
  updatedAt: z.ZodString;
28341
28341
  userId: z.ZodNullable<z.ZodString>;
28342
28342
  credentialStoreId: z.ZodString;
@@ -28348,7 +28348,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28348
28348
  readonly keychain: "keychain";
28349
28349
  readonly nango: "nango";
28350
28350
  }>;
28351
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28351
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28352
28352
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28353
28353
  name: "created_at";
28354
28354
  tableName: "tools";
@@ -28611,7 +28611,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28611
28611
  }, {}, {
28612
28612
  length: 256;
28613
28613
  }>;
28614
- }, drizzle_zod15.BuildRefine<{
28614
+ }, drizzle_zod19.BuildRefine<{
28615
28615
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28616
28616
  name: "created_at";
28617
28617
  tableName: "tools";
@@ -28898,8 +28898,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28898
28898
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28899
28899
  data: z.ZodObject<{
28900
28900
  id: z.ZodString;
28901
- name: z.ZodString;
28902
28901
  createdAt: z.ZodString;
28902
+ name: z.ZodString;
28903
28903
  updatedAt: z.ZodString;
28904
28904
  description: z.ZodNullable<z.ZodString>;
28905
28905
  models: z.ZodNullable<z.ZodObject<{
@@ -28950,12 +28950,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28950
28950
  }>, z.core.$strip>>;
28951
28951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28952
28952
  id: z.ZodString;
28953
- name: z.ZodString;
28954
28953
  createdAt: z.ZodString;
28954
+ name: z.ZodString;
28955
28955
  updatedAt: z.ZodString;
28956
28956
  description: z.ZodNullable<z.ZodString>;
28957
- agentId: z.ZodString;
28958
28957
  functionId: z.ZodString;
28958
+ agentId: z.ZodString;
28959
28959
  relationshipId: z.ZodOptional<z.ZodString>;
28960
28960
  }, z.core.$strip>>>;
28961
28961
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29042,8 +29042,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29042
29042
  }, z.core.$strip>>;
29043
29043
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29044
29044
  id: z.ZodString;
29045
- name: z.ZodString;
29046
29045
  createdAt: z.ZodString;
29046
+ name: z.ZodString;
29047
29047
  updatedAt: z.ZodString;
29048
29048
  userId: z.ZodNullable<z.ZodString>;
29049
29049
  credentialStoreId: z.ZodString;
@@ -29055,7 +29055,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29055
29055
  readonly keychain: "keychain";
29056
29056
  readonly nango: "nango";
29057
29057
  }>;
29058
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29058
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29059
29059
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29060
29060
  name: "created_at";
29061
29061
  tableName: "tools";
@@ -29318,7 +29318,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29318
29318
  }, {}, {
29319
29319
  length: 256;
29320
29320
  }>;
29321
- }, drizzle_zod15.BuildRefine<{
29321
+ }, drizzle_zod19.BuildRefine<{
29322
29322
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29323
29323
  name: "created_at";
29324
29324
  tableName: "tools";
@@ -29599,8 +29599,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29599
29599
  }, z.core.$strip>>>;
29600
29600
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29601
29601
  id: z.ZodString;
29602
- name: z.ZodString;
29603
29602
  createdAt: z.ZodString;
29603
+ name: z.ZodString;
29604
29604
  updatedAt: z.ZodString;
29605
29605
  description: z.ZodNullable<z.ZodString>;
29606
29606
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -29651,12 +29651,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29651
29651
  }, z.core.$strip>>>;
29652
29652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29653
29653
  id: z.ZodString;
29654
- name: z.ZodString;
29655
29654
  createdAt: z.ZodString;
29655
+ name: z.ZodString;
29656
29656
  updatedAt: z.ZodString;
29657
29657
  description: z.ZodNullable<z.ZodString>;
29658
- agentId: z.ZodString;
29659
29658
  functionId: z.ZodString;
29659
+ agentId: z.ZodString;
29660
29660
  relationshipId: z.ZodOptional<z.ZodString>;
29661
29661
  }, z.core.$strip>>>;
29662
29662
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29711,8 +29711,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29711
29711
  prompt: z.ZodNullable<z.ZodString>;
29712
29712
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29713
29713
  id: z.ZodString;
29714
- name: z.ZodString;
29715
29714
  createdAt: z.ZodString;
29715
+ name: z.ZodString;
29716
29716
  updatedAt: z.ZodString;
29717
29717
  description: z.ZodNullable<z.ZodString>;
29718
29718
  models: z.ZodNullable<z.ZodType<{
@@ -29816,8 +29816,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29816
29816
  }, z.core.$strip>;
29817
29817
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29818
29818
  data: z.ZodObject<{
29819
- name: z.ZodString;
29820
29819
  createdAt: z.ZodOptional<z.ZodString>;
29820
+ name: z.ZodString;
29821
29821
  updatedAt: z.ZodOptional<z.ZodString>;
29822
29822
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29823
29823
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29825,8 +29825,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29825
29825
  id: z.ZodString;
29826
29826
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29827
29827
  id: z.ZodString;
29828
- name: z.ZodString;
29829
29828
  createdAt: z.ZodOptional<z.ZodString>;
29829
+ name: z.ZodString;
29830
29830
  updatedAt: z.ZodOptional<z.ZodString>;
29831
29831
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29832
29832
  models: z.ZodOptional<z.ZodObject<{
@@ -29956,12 +29956,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29956
29956
  id: z.ZodString;
29957
29957
  }>, z.core.$strip>>>;
29958
29958
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29959
- name: z.ZodString;
29959
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29960
29960
  createdAt: z.ZodOptional<z.ZodString>;
29961
+ name: z.ZodString;
29961
29962
  updatedAt: z.ZodOptional<z.ZodString>;
29962
29963
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29963
29964
  enabled: z.ZodOptional<z.ZodBoolean>;
29964
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29965
29965
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
29966
29966
  jmespath?: string;
29967
29967
  objectTransformation?: Record<string, string>;
@@ -29976,7 +29976,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29976
29976
  objectTransformation?: Record<string, string>;
29977
29977
  }>>>>;
29978
29978
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29979
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
29979
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29980
29980
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29981
29981
  id: z.ZodOptional<z.ZodString>;
29982
29982
  }, z.core.$strip>>>;
@@ -30023,16 +30023,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30023
30023
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30024
30024
  data: z.ZodObject<{
30025
30025
  id: z.ZodString;
30026
- name: z.ZodString;
30027
30026
  createdAt: z.ZodString;
30027
+ name: z.ZodString;
30028
30028
  updatedAt: z.ZodString;
30029
30029
  description: z.ZodNullable<z.ZodString>;
30030
30030
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30031
30031
  contextConfigId: z.ZodNullable<z.ZodString>;
30032
30032
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30033
30033
  id: z.ZodString;
30034
- name: z.ZodString;
30035
30034
  createdAt: z.ZodString;
30035
+ name: z.ZodString;
30036
30036
  updatedAt: z.ZodString;
30037
30037
  description: z.ZodNullable<z.ZodString>;
30038
30038
  models: z.ZodNullable<z.ZodType<{
@@ -30168,12 +30168,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30168
30168
  }, z.core.$strip>>>;
30169
30169
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30170
30170
  id: z.ZodString;
30171
- name: z.ZodString;
30172
30171
  createdAt: z.ZodString;
30172
+ name: z.ZodString;
30173
30173
  updatedAt: z.ZodString;
30174
30174
  description: z.ZodNullable<z.ZodString>;
30175
- agentId: z.ZodString;
30176
30175
  functionId: z.ZodString;
30176
+ agentId: z.ZodString;
30177
30177
  relationshipId: z.ZodOptional<z.ZodString>;
30178
30178
  }, z.core.$strip>>>;
30179
30179
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -30380,7 +30380,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30380
30380
  createdAt: z.ZodString;
30381
30381
  updatedAt: z.ZodString;
30382
30382
  targetAgentId: z.ZodString;
30383
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30383
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30384
30384
  subAgentId: z.ZodString;
30385
30385
  agentId: z.ZodString;
30386
30386
  projectId: z.ZodString;
@@ -30393,7 +30393,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30393
30393
  createdAt: z.ZodString;
30394
30394
  updatedAt: z.ZodString;
30395
30395
  targetAgentId: z.ZodString;
30396
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30396
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30397
30397
  subAgentId: z.ZodString;
30398
30398
  agentId: z.ZodString;
30399
30399
  projectId: z.ZodString;
@@ -30412,7 +30412,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30412
30412
  createdAt: z.ZodString;
30413
30413
  updatedAt: z.ZodString;
30414
30414
  externalAgentId: z.ZodString;
30415
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30415
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30416
30416
  subAgentId: z.ZodString;
30417
30417
  agentId: z.ZodString;
30418
30418
  projectId: z.ZodString;
@@ -30425,7 +30425,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30425
30425
  createdAt: z.ZodString;
30426
30426
  updatedAt: z.ZodString;
30427
30427
  externalAgentId: z.ZodString;
30428
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30428
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30429
30429
  subAgentId: z.ZodString;
30430
30430
  agentId: z.ZodString;
30431
30431
  projectId: z.ZodString;
@@ -30592,7 +30592,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
30592
30592
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
30593
30593
  ref: z.ZodOptional<z.ZodString>;
30594
30594
  }, z.core.$strip>;
30595
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30595
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30596
30596
  id: drizzle_orm_pg_core208.PgColumn<{
30597
30597
  name: "id";
30598
30598
  tableName: "project_metadata";
@@ -30686,7 +30686,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30686
30686
  }, {}, {
30687
30687
  length: 512;
30688
30688
  }>;
30689
- }, drizzle_zod15.BuildRefine<{
30689
+ }, drizzle_zod19.BuildRefine<{
30690
30690
  id: drizzle_orm_pg_core208.PgColumn<{
30691
30691
  name: "id";
30692
30692
  tableName: "project_metadata";
@@ -30782,8 +30782,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30782
30782
  }>;
30783
30783
  }, undefined>, undefined>;
30784
30784
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
30785
- id: z.ZodString;
30786
30785
  tenantId: z.ZodString;
30786
+ id: z.ZodString;
30787
30787
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30788
30788
  mainBranchName: z.ZodString;
30789
30789
  }, {