@inkeep/agents-core 0.0.0-dev-20260209055455 → 0.0.0-dev-20260209072547

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import { ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata
3
3
  import "../index.js";
4
4
  import { z } from "@hono/zod-openapi";
5
5
  import * as drizzle_orm_pg_core211 from "drizzle-orm/pg-core";
6
- import * as drizzle_zod19 from "drizzle-zod";
6
+ import * as drizzle_zod15 from "drizzle-zod";
7
7
 
8
8
  //#region src/validation/schemas.d.ts
9
9
  declare const StopWhenSchema: z.ZodObject<{
@@ -83,7 +83,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
83
83
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
84
84
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
85
85
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
86
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
86
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
87
87
  createdAt: drizzle_orm_pg_core211.PgColumn<{
88
88
  name: "created_at";
89
89
  tableName: "sub_agents";
@@ -334,7 +334,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
334
334
  }, {}, {
335
335
  length: 256;
336
336
  }>;
337
- }, drizzle_zod19.BuildRefine<{
337
+ }, drizzle_zod15.BuildRefine<{
338
338
  createdAt: drizzle_orm_pg_core211.PgColumn<{
339
339
  name: "created_at";
340
340
  tableName: "sub_agents";
@@ -773,12 +773,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
773
773
  }>, z.core.$strip>;
774
774
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
775
775
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
776
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
776
777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
777
778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
778
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
779
779
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
780
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
781
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
782
780
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
783
781
  base: z.ZodOptional<z.ZodObject<{
784
782
  model: z.ZodOptional<z.ZodString>;
@@ -793,6 +791,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
793
791
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
794
792
  }, z.core.$strip>>;
795
793
  }, z.core.$strip>>>>;
794
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
796
795
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
797
796
  stepCountIs?: number | undefined;
798
797
  }, {
@@ -802,8 +801,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
802
801
  }, {
803
802
  stepCountIs?: number | undefined;
804
803
  }>>>>>>;
804
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
805
805
  }, z.core.$strip>;
806
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
806
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
807
807
  createdAt: drizzle_orm_pg_core211.PgColumn<{
808
808
  name: "created_at";
809
809
  tableName: "sub_agent_relations";
@@ -971,7 +971,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
971
971
  }, {}, {
972
972
  length: 256;
973
973
  }>;
974
- }, drizzle_zod19.BuildRefine<{
974
+ }, drizzle_zod15.BuildRefine<{
975
975
  createdAt: drizzle_orm_pg_core211.PgColumn<{
976
976
  name: "created_at";
977
977
  tableName: "sub_agent_relations";
@@ -1242,7 +1242,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1242
1242
  sourceSubAgentId: z.ZodString;
1243
1243
  externalSubAgentId: z.ZodString;
1244
1244
  }>, z.core.$strip>;
1245
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1245
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1246
1246
  createdAt: drizzle_orm_pg_core211.PgColumn<{
1247
1247
  name: "created_at";
1248
1248
  tableName: "agent";
@@ -1540,7 +1540,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1540
1540
  }, {}, {
1541
1541
  length: 256;
1542
1542
  }>;
1543
- }, drizzle_zod19.BuildRefine<{
1543
+ }, drizzle_zod15.BuildRefine<{
1544
1544
  createdAt: drizzle_orm_pg_core211.PgColumn<{
1545
1545
  name: "created_at";
1546
1546
  tableName: "agent";
@@ -1839,7 +1839,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1839
1839
  length: 256;
1840
1840
  }>;
1841
1841
  }, undefined>, undefined>;
1842
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1842
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1843
1843
  createdAt: drizzle_orm_pg_core211.PgColumn<{
1844
1844
  name: "created_at";
1845
1845
  tableName: "agent";
@@ -2137,7 +2137,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2137
2137
  }, {}, {
2138
2138
  length: 256;
2139
2139
  }>;
2140
- }, drizzle_zod19.BuildRefine<Pick<{
2140
+ }, drizzle_zod15.BuildRefine<Pick<{
2141
2141
  createdAt: drizzle_orm_pg_core211.PgColumn<{
2142
2142
  name: "created_at";
2143
2143
  tableName: "agent";
@@ -2435,7 +2435,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2435
2435
  }, {}, {
2436
2436
  length: 256;
2437
2437
  }>;
2438
- }, "id" | "createdAt" | "updatedAt" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2438
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2439
2439
  declare const AgentUpdateSchema: z.ZodObject<{
2440
2440
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2441
2441
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2702,12 +2702,12 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2702
2702
  id: z.ZodString;
2703
2703
  }>, z.core.$strip>;
2704
2704
  declare const AgentApiInsertSchema: z.ZodObject<{
2705
+ name: z.ZodString;
2705
2706
  createdAt: z.ZodOptional<z.ZodString>;
2706
2707
  updatedAt: z.ZodOptional<z.ZodString>;
2707
- name: z.ZodString;
2708
2708
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2709
2709
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2710
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2710
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
2711
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2712
2712
  base?: {
2713
2713
  model?: string | undefined;
@@ -2761,16 +2761,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2761
2761
  providerOptions?: Record<string, any> | undefined;
2762
2762
  } | undefined;
2763
2763
  }>>>>;
2764
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2765
- transferCountIs?: number | undefined;
2766
- }, {
2767
- transferCountIs?: number | undefined;
2768
- }, z.core.$ZodTypeInternals<{
2769
- transferCountIs?: number | undefined;
2770
- }, {
2771
- transferCountIs?: number | undefined;
2772
- }>>>>;
2773
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2764
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
2765
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2775
2766
  enabled?: boolean | undefined;
2776
2767
  numEvents?: number | undefined;
@@ -2828,16 +2819,25 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2828
2819
  } | undefined;
2829
2820
  }[] | undefined;
2830
2821
  }>>>>;
2822
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
+ transferCountIs?: number | undefined;
2824
+ }, {
2825
+ transferCountIs?: number | undefined;
2826
+ }, z.core.$ZodTypeInternals<{
2827
+ transferCountIs?: number | undefined;
2828
+ }, {
2829
+ transferCountIs?: number | undefined;
2830
+ }>>>>;
2831
2831
  id: z.ZodString;
2832
2832
  }, z.core.$strip>;
2833
2833
  declare const AgentApiUpdateSchema: z.ZodObject<{
2834
2834
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2835
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2835
2836
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2836
2837
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2837
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2838
2838
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2839
2839
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2840
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2840
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2841
2841
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2842
2842
  base?: {
2843
2843
  model?: string | undefined;
@@ -2891,16 +2891,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2891
2891
  providerOptions?: Record<string, any> | undefined;
2892
2892
  } | undefined;
2893
2893
  }>>>>>>;
2894
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2895
- transferCountIs?: number | undefined;
2896
- }, {
2897
- transferCountIs?: number | undefined;
2898
- }, z.core.$ZodTypeInternals<{
2899
- transferCountIs?: number | undefined;
2900
- }, {
2901
- transferCountIs?: number | undefined;
2902
- }>>>>>>;
2903
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2894
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2904
2895
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2905
2896
  enabled?: boolean | undefined;
2906
2897
  numEvents?: number | undefined;
@@ -2958,6 +2949,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2958
2949
  } | undefined;
2959
2950
  }[] | undefined;
2960
2951
  }>>>>>>;
2952
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2953
+ transferCountIs?: number | undefined;
2954
+ }, {
2955
+ transferCountIs?: number | undefined;
2956
+ }, z.core.$ZodTypeInternals<{
2957
+ transferCountIs?: number | undefined;
2958
+ }, {
2959
+ transferCountIs?: number | undefined;
2960
+ }>>>>>>;
2961
2961
  }, z.core.$strip>;
2962
2962
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
2963
2963
  name: z.ZodString;
@@ -3023,8 +3023,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3023
3023
  */
3024
3024
  declare const SignatureSourceSchema: z.ZodObject<{
3025
3025
  source: z.ZodEnum<{
3026
- body: "body";
3027
3026
  query: "query";
3027
+ body: "body";
3028
3028
  header: "header";
3029
3029
  }>;
3030
3030
  key: z.ZodString;
@@ -3053,9 +3053,9 @@ declare const SignatureSourceSchema: z.ZodObject<{
3053
3053
  */
3054
3054
  declare const SignedComponentSchema: z.ZodObject<{
3055
3055
  source: z.ZodEnum<{
3056
+ literal: "literal";
3056
3057
  body: "body";
3057
3058
  header: "header";
3058
- literal: "literal";
3059
3059
  }>;
3060
3060
  key: z.ZodOptional<z.ZodString>;
3061
3061
  value: z.ZodOptional<z.ZodString>;
@@ -3163,8 +3163,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3163
3163
  }>;
3164
3164
  signature: z.ZodObject<{
3165
3165
  source: z.ZodEnum<{
3166
- body: "body";
3167
3166
  query: "query";
3167
+ body: "body";
3168
3168
  header: "header";
3169
3169
  }>;
3170
3170
  key: z.ZodString;
@@ -3173,9 +3173,9 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3173
3173
  }, z.core.$strip>;
3174
3174
  signedComponents: z.ZodArray<z.ZodObject<{
3175
3175
  source: z.ZodEnum<{
3176
+ literal: "literal";
3176
3177
  body: "body";
3177
3178
  header: "header";
3178
- literal: "literal";
3179
3179
  }>;
3180
3180
  key: z.ZodOptional<z.ZodString>;
3181
3181
  value: z.ZodOptional<z.ZodString>;
@@ -3234,10 +3234,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3234
3234
  createdAt: z.ZodString;
3235
3235
  updatedAt: z.ZodString;
3236
3236
  enabled: z.ZodBoolean;
3237
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3238
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3237
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3238
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3239
3239
  messageTemplate: z.ZodNullable<z.ZodString>;
3240
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3240
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3241
3241
  name: z.ZodString;
3242
3242
  description: z.ZodNullable<z.ZodString>;
3243
3243
  agentId: z.ZodString;
@@ -3259,8 +3259,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3259
3259
  }>;
3260
3260
  signature: z.ZodObject<{
3261
3261
  source: z.ZodEnum<{
3262
- body: "body";
3263
3262
  query: "query";
3263
+ body: "body";
3264
3264
  header: "header";
3265
3265
  }>;
3266
3266
  key: z.ZodString;
@@ -3269,9 +3269,9 @@ declare const TriggerSelectSchema: z.ZodObject<{
3269
3269
  }, z.core.$strip>;
3270
3270
  signedComponents: z.ZodArray<z.ZodObject<{
3271
3271
  source: z.ZodEnum<{
3272
+ literal: "literal";
3272
3273
  body: "body";
3273
3274
  header: "header";
3274
- literal: "literal";
3275
3275
  }>;
3276
3276
  key: z.ZodOptional<z.ZodString>;
3277
3277
  value: z.ZodOptional<z.ZodString>;
@@ -3294,7 +3294,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3294
3294
  out: {};
3295
3295
  in: {};
3296
3296
  }>;
3297
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3297
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3298
3298
  createdAt: drizzle_orm_pg_core211.PgColumn<{
3299
3299
  name: "created_at";
3300
3300
  tableName: "triggers";
@@ -3454,13 +3454,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3454
3454
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3455
3455
  encoding: "hex" | "base64";
3456
3456
  signature: {
3457
- source: "body" | "query" | "header";
3457
+ source: "query" | "body" | "header";
3458
3458
  key: string;
3459
3459
  prefix?: string | undefined;
3460
3460
  regex?: string | undefined;
3461
3461
  };
3462
3462
  signedComponents: {
3463
- source: "body" | "header" | "literal";
3463
+ source: "literal" | "body" | "header";
3464
3464
  required: boolean;
3465
3465
  key?: string | undefined;
3466
3466
  value?: string | undefined;
@@ -3491,13 +3491,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3491
3491
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3492
3492
  encoding: "hex" | "base64";
3493
3493
  signature: {
3494
- source: "body" | "query" | "header";
3494
+ source: "query" | "body" | "header";
3495
3495
  key: string;
3496
3496
  prefix?: string | undefined;
3497
3497
  regex?: string | undefined;
3498
3498
  };
3499
3499
  signedComponents: {
3500
- source: "body" | "header" | "literal";
3500
+ source: "literal" | "body" | "header";
3501
3501
  required: boolean;
3502
3502
  key?: string | undefined;
3503
3503
  value?: string | undefined;
@@ -3626,7 +3626,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3626
3626
  }, {}, {
3627
3627
  length: 256;
3628
3628
  }>;
3629
- }, drizzle_zod19.BuildRefine<Pick<{
3629
+ }, drizzle_zod15.BuildRefine<Pick<{
3630
3630
  createdAt: drizzle_orm_pg_core211.PgColumn<{
3631
3631
  name: "created_at";
3632
3632
  tableName: "triggers";
@@ -3786,13 +3786,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3786
3786
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3787
3787
  encoding: "hex" | "base64";
3788
3788
  signature: {
3789
- source: "body" | "query" | "header";
3789
+ source: "query" | "body" | "header";
3790
3790
  key: string;
3791
3791
  prefix?: string | undefined;
3792
3792
  regex?: string | undefined;
3793
3793
  };
3794
3794
  signedComponents: {
3795
- source: "body" | "header" | "literal";
3795
+ source: "literal" | "body" | "header";
3796
3796
  required: boolean;
3797
3797
  key?: string | undefined;
3798
3798
  value?: string | undefined;
@@ -3823,13 +3823,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3823
3823
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3824
3824
  encoding: "hex" | "base64";
3825
3825
  signature: {
3826
- source: "body" | "query" | "header";
3826
+ source: "query" | "body" | "header";
3827
3827
  key: string;
3828
3828
  prefix?: string | undefined;
3829
3829
  regex?: string | undefined;
3830
3830
  };
3831
3831
  signedComponents: {
3832
- source: "body" | "header" | "literal";
3832
+ source: "literal" | "body" | "header";
3833
3833
  required: boolean;
3834
3834
  key?: string | undefined;
3835
3835
  value?: string | undefined;
@@ -3958,16 +3958,16 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3958
3958
  }, {}, {
3959
3959
  length: 256;
3960
3960
  }>;
3961
- }, "enabled" | "id" | "createdAt" | "updatedAt" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3961
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3962
3962
  declare const TriggerUpdateSchema: z.ZodObject<{
3963
3963
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3964
3964
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3965
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3966
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3965
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3966
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3967
3967
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3968
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3968
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3969
3969
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3970
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3970
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3971
3971
  name: z.ZodOptional<z.ZodString>;
3972
3972
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3973
3973
  agentId: z.ZodOptional<z.ZodString>;
@@ -3983,10 +3983,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
3983
3983
  createdAt: z.ZodString;
3984
3984
  updatedAt: z.ZodString;
3985
3985
  enabled: z.ZodBoolean;
3986
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3987
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3986
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3987
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3988
3988
  messageTemplate: z.ZodNullable<z.ZodString>;
3989
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3989
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3990
3990
  name: z.ZodString;
3991
3991
  description: z.ZodNullable<z.ZodString>;
3992
3992
  agentId: z.ZodString;
@@ -4008,8 +4008,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4008
4008
  }>;
4009
4009
  signature: z.ZodObject<{
4010
4010
  source: z.ZodEnum<{
4011
- body: "body";
4012
4011
  query: "query";
4012
+ body: "body";
4013
4013
  header: "header";
4014
4014
  }>;
4015
4015
  key: z.ZodString;
@@ -4018,9 +4018,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4018
4018
  }, z.core.$strip>;
4019
4019
  signedComponents: z.ZodArray<z.ZodObject<{
4020
4020
  source: z.ZodEnum<{
4021
+ literal: "literal";
4021
4022
  body: "body";
4022
4023
  header: "header";
4023
- literal: "literal";
4024
4024
  }>;
4025
4025
  key: z.ZodOptional<z.ZodString>;
4026
4026
  value: z.ZodOptional<z.ZodString>;
@@ -4041,28 +4041,28 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4041
4041
  }, z.core.$strip>>>;
4042
4042
  }>, z.core.$strip>;
4043
4043
  declare const TriggerApiInsertSchema: z.ZodObject<{
4044
- enabled: z.ZodOptional<z.ZodBoolean>;
4044
+ name: z.ZodString;
4045
4045
  createdAt: z.ZodOptional<z.ZodString>;
4046
4046
  updatedAt: z.ZodOptional<z.ZodString>;
4047
- name: z.ZodString;
4048
4047
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4049
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4050
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4048
+ enabled: z.ZodOptional<z.ZodBoolean>;
4049
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4050
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4051
4051
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4052
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4052
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4053
4053
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4054
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4054
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4055
4055
  id: z.ZodOptional<z.ZodString>;
4056
4056
  }, z.core.$strip>;
4057
4057
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4058
4058
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4059
4059
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4060
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4061
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4060
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4061
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4062
4062
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4063
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4063
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4064
4064
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4065
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4065
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4066
4066
  name: z.ZodOptional<z.ZodString>;
4067
4067
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4068
4068
  agentId: z.ZodOptional<z.ZodString>;
@@ -4075,16 +4075,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4075
4075
  in: {};
4076
4076
  }>;
4077
4077
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4078
- enabled: z.ZodBoolean;
4079
4078
  id: z.ZodString;
4079
+ name: z.ZodString;
4080
4080
  createdAt: z.ZodString;
4081
4081
  updatedAt: z.ZodString;
4082
- name: z.ZodString;
4083
4082
  description: z.ZodNullable<z.ZodString>;
4084
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4085
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4083
+ enabled: z.ZodBoolean;
4084
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4085
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4086
4086
  messageTemplate: z.ZodNullable<z.ZodString>;
4087
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4087
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4088
4088
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4089
4089
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4090
4090
  algorithm: z.ZodEnum<{
@@ -4100,8 +4100,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4100
4100
  }>;
4101
4101
  signature: z.ZodObject<{
4102
4102
  source: z.ZodEnum<{
4103
- body: "body";
4104
4103
  query: "query";
4104
+ body: "body";
4105
4105
  header: "header";
4106
4106
  }>;
4107
4107
  key: z.ZodString;
@@ -4110,9 +4110,9 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4110
4110
  }, z.core.$strip>;
4111
4111
  signedComponents: z.ZodArray<z.ZodObject<{
4112
4112
  source: z.ZodEnum<{
4113
+ literal: "literal";
4113
4114
  body: "body";
4114
4115
  header: "header";
4115
- literal: "literal";
4116
4116
  }>;
4117
4117
  key: z.ZodOptional<z.ZodString>;
4118
4118
  value: z.ZodOptional<z.ZodString>;
@@ -4133,7 +4133,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4133
4133
  }, z.core.$strip>>>;
4134
4134
  webhookUrl: z.ZodString;
4135
4135
  }, z.core.$strip>;
4136
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4136
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4137
4137
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4138
4138
  name: "trigger_id";
4139
4139
  tableName: "trigger_invocations";
@@ -4335,7 +4335,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4335
4335
  }, {}, {
4336
4336
  length: 256;
4337
4337
  }>;
4338
- }, drizzle_zod19.BuildRefine<{
4338
+ }, drizzle_zod15.BuildRefine<{
4339
4339
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4340
4340
  name: "trigger_id";
4341
4341
  tableName: "trigger_invocations";
@@ -4538,7 +4538,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4538
4538
  length: 256;
4539
4539
  }>;
4540
4540
  }, undefined>, undefined>;
4541
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4541
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4542
4542
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4543
4543
  name: "trigger_id";
4544
4544
  tableName: "trigger_invocations";
@@ -4740,7 +4740,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4740
4740
  }, {}, {
4741
4741
  length: 256;
4742
4742
  }>;
4743
- }, drizzle_zod19.BuildRefine<Pick<{
4743
+ }, drizzle_zod15.BuildRefine<Pick<{
4744
4744
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4745
4745
  name: "trigger_id";
4746
4746
  tableName: "trigger_invocations";
@@ -4942,13 +4942,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4942
4942
  }, {}, {
4943
4943
  length: 256;
4944
4944
  }>;
4945
- }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4945
+ }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4946
4946
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4947
4947
  triggerId: z.ZodOptional<z.ZodString>;
4948
4948
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4949
4949
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4950
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4951
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4950
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4951
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4952
4952
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4953
4953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4954
4954
  agentId: z.ZodOptional<z.ZodString>;
@@ -4963,8 +4963,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4963
4963
  triggerId: z.ZodString;
4964
4964
  conversationId: z.ZodNullable<z.ZodString>;
4965
4965
  status: z.ZodString;
4966
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4967
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4966
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4967
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4968
4968
  errorMessage: z.ZodNullable<z.ZodString>;
4969
4969
  createdAt: z.ZodString;
4970
4970
  agentId: z.ZodString;
@@ -4977,8 +4977,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4977
4977
  status: z.ZodOptional<z.ZodString>;
4978
4978
  triggerId: z.ZodString;
4979
4979
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4980
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4981
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4980
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4981
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4982
4982
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4983
4983
  id: z.ZodString;
4984
4984
  }, z.core.$strip>;
@@ -4988,11 +4988,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4988
4988
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4989
4989
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4990
4990
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4991
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4992
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4991
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4992
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4993
4993
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4994
4994
  }, z.core.$strip>;
4995
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
4995
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
4996
4996
  createdAt: drizzle_orm_pg_core211.PgColumn<{
4997
4997
  name: "created_at";
4998
4998
  tableName: "tasks";
@@ -5206,7 +5206,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5206
5206
  }, {}, {
5207
5207
  length: 256;
5208
5208
  }>;
5209
- }, drizzle_zod19.BuildRefine<{
5209
+ }, drizzle_zod15.BuildRefine<{
5210
5210
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5211
5211
  name: "created_at";
5212
5212
  tableName: "tasks";
@@ -5523,12 +5523,9 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5523
5523
  }, z.core.$strip>;
5524
5524
  }>, z.core.$strip>;
5525
5525
  declare const TaskApiUpdateSchema: z.ZodObject<{
5526
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5527
5526
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5528
5527
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5529
5528
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5530
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5531
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5532
5529
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5533
5530
  type: z.ZodEnum<{
5534
5531
  tag: "tag";
@@ -5538,11 +5535,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5538
5535
  name: z.ZodString;
5539
5536
  hash: z.ZodString;
5540
5537
  }, z.core.$strip>>>;
5538
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5539
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5540
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5541
5541
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5542
5542
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5543
5543
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5544
5544
  }, z.core.$strip>;
5545
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5545
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5546
5546
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5547
5547
  name: "created_at";
5548
5548
  tableName: "task_relations";
@@ -5691,7 +5691,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5691
5691
  }, {}, {
5692
5692
  length: 256;
5693
5693
  }>;
5694
- }, drizzle_zod19.BuildRefine<{
5694
+ }, drizzle_zod15.BuildRefine<{
5695
5695
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5696
5696
  name: "created_at";
5697
5697
  tableName: "task_relations";
@@ -5917,7 +5917,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
5917
5917
  description: z.ZodOptional<z.ZodString>;
5918
5918
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5919
5919
  }, z.core.$strip>;
5920
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
5920
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
5921
5921
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5922
5922
  name: "created_at";
5923
5923
  tableName: "tools";
@@ -6197,7 +6197,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
6197
6197
  }, {}, {
6198
6198
  length: 256;
6199
6199
  }>;
6200
- }, drizzle_zod19.BuildRefine<{
6200
+ }, drizzle_zod15.BuildRefine<{
6201
6201
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6202
6202
  name: "created_at";
6203
6203
  tableName: "tools";
@@ -6523,7 +6523,7 @@ declare const ToolInsertSchema: z.ZodObject<{
6523
6523
  out: {};
6524
6524
  in: {};
6525
6525
  }>;
6526
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6526
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6527
6527
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6528
6528
  name: "created_at";
6529
6529
  tableName: "conversations";
@@ -6752,7 +6752,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6752
6752
  }, {}, {
6753
6753
  length: 256;
6754
6754
  }>;
6755
- }, drizzle_zod19.BuildRefine<{
6755
+ }, drizzle_zod15.BuildRefine<{
6756
6756
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6757
6757
  name: "created_at";
6758
6758
  tableName: "conversations";
@@ -7088,14 +7088,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7088
7088
  }, z.core.$strip>;
7089
7089
  }>, z.core.$strip>;
7090
7090
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7091
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7092
7091
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7093
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7094
7092
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7095
7093
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7096
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7097
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7098
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7099
7094
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7100
7095
  type: z.ZodEnum<{
7101
7096
  tag: "tag";
@@ -7105,10 +7100,15 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7105
7100
  name: z.ZodString;
7106
7101
  hash: z.ZodString;
7107
7102
  }, z.core.$strip>>>;
7103
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7104
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7105
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7106
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7107
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7108
7108
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7109
7109
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7110
7110
  }, z.core.$strip>;
7111
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7111
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7112
7112
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7113
7113
  name: "created_at";
7114
7114
  tableName: "messages";
@@ -7504,7 +7504,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7504
7504
  }, {}, {
7505
7505
  length: 256;
7506
7506
  }>;
7507
- }, drizzle_zod19.BuildRefine<{
7507
+ }, drizzle_zod15.BuildRefine<{
7508
7508
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7509
7509
  name: "created_at";
7510
7510
  tableName: "messages";
@@ -8000,11 +8000,11 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
8000
8000
  taskId: z.ZodOptional<z.ZodString>;
8001
8001
  }>, z.core.$strip>;
8002
8002
  declare const MessageApiUpdateSchema: z.ZodObject<{
8003
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8004
8003
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8005
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8006
8004
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8007
8005
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8006
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8007
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8008
8008
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8009
8009
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8010
8010
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8020,7 +8020,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8020
8020
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8021
8021
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8022
8022
  }, z.core.$strip>;
8023
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8023
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8024
8024
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8025
8025
  name: "created_at";
8026
8026
  tableName: "context_cache";
@@ -8270,7 +8270,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8270
8270
  }, {}, {
8271
8271
  length: 256;
8272
8272
  }>;
8273
- }, drizzle_zod19.BuildRefine<{
8273
+ }, drizzle_zod15.BuildRefine<{
8274
8274
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8275
8275
  name: "created_at";
8276
8276
  tableName: "context_cache";
@@ -8527,7 +8527,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8527
8527
  conversationId: z.ZodString;
8528
8528
  contextConfigId: z.ZodString;
8529
8529
  contextVariableKey: z.ZodString;
8530
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8530
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8531
8531
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8532
8532
  fetchedAt: z.ZodOptional<z.ZodString>;
8533
8533
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8553,7 +8553,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8553
8553
  conversationId: z.ZodOptional<z.ZodString>;
8554
8554
  contextConfigId: z.ZodOptional<z.ZodString>;
8555
8555
  contextVariableKey: z.ZodOptional<z.ZodString>;
8556
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8556
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8557
8557
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8558
8558
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8559
8559
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8596,7 +8596,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8596
8596
  name: string;
8597
8597
  hash: string;
8598
8598
  }>>>;
8599
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8599
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8600
8600
  requestHash: z.ZodNullable<z.ZodString>;
8601
8601
  fetchedAt: z.ZodString;
8602
8602
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8610,7 +8610,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8610
8610
  conversationId: z.ZodString;
8611
8611
  contextConfigId: z.ZodString;
8612
8612
  contextVariableKey: z.ZodString;
8613
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8613
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8614
8614
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8615
8615
  fetchedAt: z.ZodOptional<z.ZodString>;
8616
8616
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8631,8 +8631,6 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8631
8631
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8632
8632
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8633
8633
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8634
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8635
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8636
8634
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8637
8635
  type: z.ZodEnum<{
8638
8636
  tag: "tag";
@@ -8642,13 +8640,15 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8642
8640
  name: z.ZodString;
8643
8641
  hash: z.ZodString;
8644
8642
  }, z.core.$strip>>>;
8643
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8644
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8645
8645
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8646
8646
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8647
8647
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8648
8648
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8649
8649
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8650
8650
  }, z.core.$strip>;
8651
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8651
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
8652
8652
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8653
8653
  name: "created_at";
8654
8654
  tableName: "dataset_run";
@@ -8791,7 +8791,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8791
8791
  }, {}, {
8792
8792
  length: 256;
8793
8793
  }>;
8794
- }, drizzle_zod19.BuildRefine<{
8794
+ }, drizzle_zod15.BuildRefine<{
8795
8795
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8796
8796
  name: "created_at";
8797
8797
  tableName: "dataset_run";
@@ -8975,17 +8975,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8975
8975
  createdAt: z.ZodOptional<z.ZodString>;
8976
8976
  updatedAt: z.ZodOptional<z.ZodString>;
8977
8977
  datasetId: z.ZodString;
8978
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8979
8978
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8979
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8980
8980
  }, z.core.$strip>;
8981
8981
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8982
8982
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8983
8983
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8984
8984
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8985
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8986
8985
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8986
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8987
8987
  }, z.core.$strip>;
8988
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8988
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8989
8989
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8990
8990
  name: "created_at";
8991
8991
  tableName: "dataset_run_conversation_relations";
@@ -9128,7 +9128,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
9128
9128
  }, {}, {
9129
9129
  length: 256;
9130
9130
  }>;
9131
- }, drizzle_zod19.BuildRefine<{
9131
+ }, drizzle_zod15.BuildRefine<{
9132
9132
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9133
9133
  name: "created_at";
9134
9134
  tableName: "dataset_run_conversation_relations";
@@ -9322,7 +9322,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9322
9322
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9323
9323
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9324
9324
  }, z.core.$strip>;
9325
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9325
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9326
9326
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9327
9327
  name: "created_at";
9328
9328
  tableName: "evaluation_result";
@@ -9484,7 +9484,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
9484
9484
  }, {}, {
9485
9485
  length: 256;
9486
9486
  }>;
9487
- }, drizzle_zod19.BuildRefine<{
9487
+ }, drizzle_zod15.BuildRefine<{
9488
9488
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9489
9489
  name: "created_at";
9490
9490
  tableName: "evaluation_result";
@@ -9687,22 +9687,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
9687
9687
  id: z.ZodString;
9688
9688
  }>, z.core.$strip>;
9689
9689
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9690
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9691
9690
  createdAt: z.ZodOptional<z.ZodString>;
9692
9691
  updatedAt: z.ZodOptional<z.ZodString>;
9693
- conversationId: z.ZodString;
9692
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9694
9693
  evaluatorId: z.ZodString;
9694
+ conversationId: z.ZodString;
9695
9695
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9696
9696
  }, z.core.$strip>;
9697
9697
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9698
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9699
9698
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9700
9699
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9701
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9700
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9702
9701
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9702
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9703
9703
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9704
9704
  }, z.core.$strip>;
9705
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9705
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
9706
9706
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9707
9707
  name: "created_at";
9708
9708
  tableName: "evaluation_run";
@@ -9828,7 +9828,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9828
9828
  }, {}, {
9829
9829
  length: 256;
9830
9830
  }>;
9831
- }, drizzle_zod19.BuildRefine<{
9831
+ }, drizzle_zod15.BuildRefine<{
9832
9832
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9833
9833
  name: "created_at";
9834
9834
  tableName: "evaluation_run";
@@ -9991,16 +9991,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9991
9991
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9992
9992
  createdAt: z.ZodOptional<z.ZodString>;
9993
9993
  updatedAt: z.ZodOptional<z.ZodString>;
9994
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9995
9994
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9995
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9996
9996
  }, z.core.$strip>;
9997
9997
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9998
9998
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9999
9999
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10000
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10001
10000
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10001
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10002
10002
  }, z.core.$strip>;
10003
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10003
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10004
10004
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10005
10005
  name: "created_at";
10006
10006
  tableName: "evaluation_run_config";
@@ -10145,7 +10145,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10145
10145
  }, {}, {
10146
10146
  length: 256;
10147
10147
  }>;
10148
- }, drizzle_zod19.BuildRefine<{
10148
+ }, drizzle_zod15.BuildRefine<{
10149
10149
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10150
10150
  name: "created_at";
10151
10151
  tableName: "evaluation_run_config";
@@ -10328,31 +10328,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10328
10328
  id: z.ZodString;
10329
10329
  }>, z.core.$strip>;
10330
10330
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10331
+ name: z.ZodString;
10331
10332
  createdAt: z.ZodOptional<z.ZodString>;
10332
10333
  updatedAt: z.ZodOptional<z.ZodString>;
10333
- name: z.ZodString;
10334
10334
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10335
10335
  isActive: z.ZodOptional<z.ZodBoolean>;
10336
10336
  suiteConfigIds: z.ZodArray<z.ZodString>;
10337
10337
  }, z.core.$strip>;
10338
10338
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10339
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10339
10340
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10340
10341
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10341
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10342
10342
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10343
10343
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10344
10344
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10345
10345
  }, z.core.$strip>;
10346
10346
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10347
10347
  id: z.ZodString;
10348
+ name: z.ZodString;
10348
10349
  createdAt: z.ZodString;
10349
10350
  updatedAt: z.ZodString;
10350
- name: z.ZodString;
10351
10351
  description: z.ZodNullable<z.ZodString>;
10352
10352
  isActive: z.ZodBoolean;
10353
10353
  suiteConfigIds: z.ZodArray<z.ZodString>;
10354
10354
  }, z.core.$strip>;
10355
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10355
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10356
10356
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10357
10357
  name: "created_at";
10358
10358
  tableName: "evaluation_job_config";
@@ -10477,7 +10477,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10477
10477
  }, {}, {
10478
10478
  length: 256;
10479
10479
  }>;
10480
- }, drizzle_zod19.BuildRefine<{
10480
+ }, drizzle_zod15.BuildRefine<{
10481
10481
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "evaluation_job_config";
@@ -10784,7 +10784,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10784
10784
  } | undefined;
10785
10785
  }>>>>>>>;
10786
10786
  }, z.core.$strip>;
10787
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10787
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10788
10788
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10789
10789
  name: "created_at";
10790
10790
  tableName: "evaluation_suite_config";
@@ -10912,7 +10912,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
10912
10912
  }, {}, {
10913
10913
  length: 256;
10914
10914
  }>;
10915
- }, drizzle_zod19.BuildRefine<{
10915
+ }, drizzle_zod15.BuildRefine<{
10916
10916
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10917
10917
  name: "created_at";
10918
10918
  tableName: "evaluation_suite_config";
@@ -11088,7 +11088,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11088
11088
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11089
11089
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11090
11090
  }, z.core.$strip>;
11091
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11091
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11092
11092
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11093
11093
  name: "created_at";
11094
11094
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11218,7 +11218,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11218
11218
  }, {}, {
11219
11219
  length: 256;
11220
11220
  }>;
11221
- }, drizzle_zod19.BuildRefine<{
11221
+ }, drizzle_zod15.BuildRefine<{
11222
11222
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11223
11223
  name: "created_at";
11224
11224
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11385,16 +11385,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11385
11385
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11386
11386
  createdAt: z.ZodOptional<z.ZodString>;
11387
11387
  updatedAt: z.ZodOptional<z.ZodString>;
11388
- evaluationRunConfigId: z.ZodString;
11389
11388
  evaluationSuiteConfigId: z.ZodString;
11389
+ evaluationRunConfigId: z.ZodString;
11390
11390
  }, z.core.$strip>;
11391
11391
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11392
11392
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11393
11393
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11394
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11395
11394
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11395
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11396
11396
  }, z.core.$strip>;
11397
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11397
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11398
11398
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11399
11399
  name: "created_at";
11400
11400
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11524,7 +11524,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
11524
11524
  }, {}, {
11525
11525
  length: 256;
11526
11526
  }>;
11527
- }, drizzle_zod19.BuildRefine<{
11527
+ }, drizzle_zod15.BuildRefine<{
11528
11528
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11529
11529
  name: "created_at";
11530
11530
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11691,16 +11691,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11691
11691
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11692
11692
  createdAt: z.ZodOptional<z.ZodString>;
11693
11693
  updatedAt: z.ZodOptional<z.ZodString>;
11694
- evaluationJobConfigId: z.ZodString;
11695
11694
  evaluatorId: z.ZodString;
11695
+ evaluationJobConfigId: z.ZodString;
11696
11696
  }, z.core.$strip>;
11697
11697
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11698
11698
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11699
11699
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11700
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11701
11700
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11701
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11702
11702
  }, z.core.$strip>;
11703
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11703
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11704
11704
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11705
11705
  name: "created_at";
11706
11706
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11830,7 +11830,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
11830
11830
  }, {}, {
11831
11831
  length: 256;
11832
11832
  }>;
11833
- }, drizzle_zod19.BuildRefine<{
11833
+ }, drizzle_zod15.BuildRefine<{
11834
11834
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11835
11835
  name: "created_at";
11836
11836
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11997,16 +11997,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11997
11997
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11998
11998
  createdAt: z.ZodOptional<z.ZodString>;
11999
11999
  updatedAt: z.ZodOptional<z.ZodString>;
12000
- evaluatorId: z.ZodString;
12001
12000
  evaluationSuiteConfigId: z.ZodString;
12001
+ evaluatorId: z.ZodString;
12002
12002
  }, z.core.$strip>;
12003
12003
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12004
12004
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12005
12005
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12006
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12007
12006
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12007
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12008
12008
  }, z.core.$strip>;
12009
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12009
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
12010
12010
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12011
12011
  name: "created_at";
12012
12012
  tableName: "evaluator";
@@ -12214,7 +12214,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12214
12214
  }, {}, {
12215
12215
  length: 256;
12216
12216
  }>;
12217
- }, drizzle_zod19.BuildRefine<{
12217
+ }, drizzle_zod15.BuildRefine<{
12218
12218
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12219
12219
  name: "created_at";
12220
12220
  tableName: "evaluator";
@@ -12505,12 +12505,11 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12505
12505
  id: z.ZodString;
12506
12506
  }>, z.core.$strip>;
12507
12507
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12508
+ name: z.ZodString;
12508
12509
  createdAt: z.ZodOptional<z.ZodString>;
12509
12510
  updatedAt: z.ZodOptional<z.ZodString>;
12510
- name: z.ZodString;
12511
12511
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12512
12512
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12513
- prompt: z.ZodString;
12514
12513
  model: z.ZodType<{
12515
12514
  model?: string | undefined;
12516
12515
  providerOptions?: Record<string, any> | undefined;
@@ -12524,15 +12523,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12524
12523
  model?: string | undefined;
12525
12524
  providerOptions?: Record<string, any> | undefined;
12526
12525
  }>>;
12526
+ prompt: z.ZodString;
12527
12527
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12528
12528
  }, z.core.$strip>;
12529
12529
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12530
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12530
12531
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12531
12532
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12532
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12533
12533
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12534
12534
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12535
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12536
12535
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12537
12536
  model?: string | undefined;
12538
12537
  providerOptions?: Record<string, any> | undefined;
@@ -12546,9 +12545,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12546
12545
  model?: string | undefined;
12547
12546
  providerOptions?: Record<string, any> | undefined;
12548
12547
  }>>>>;
12548
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12549
12549
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12550
12550
  }, z.core.$strip>;
12551
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12551
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12552
12552
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12553
12553
  name: "created_at";
12554
12554
  tableName: "dataset";
@@ -12659,7 +12659,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12659
12659
  }, {}, {
12660
12660
  length: 256;
12661
12661
  }>;
12662
- }, drizzle_zod19.BuildRefine<{
12662
+ }, drizzle_zod15.BuildRefine<{
12663
12663
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12664
12664
  name: "created_at";
12665
12665
  tableName: "dataset";
@@ -12802,16 +12802,16 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
12802
12802
  id: z.ZodString;
12803
12803
  }>, z.core.$strip>;
12804
12804
  declare const DatasetApiInsertSchema: z.ZodObject<{
12805
+ name: z.ZodString;
12805
12806
  createdAt: z.ZodOptional<z.ZodString>;
12806
12807
  updatedAt: z.ZodOptional<z.ZodString>;
12807
- name: z.ZodString;
12808
12808
  }, z.core.$strip>;
12809
12809
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12810
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12810
12811
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12811
12812
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12812
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12813
12813
  }, z.core.$strip>;
12814
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12814
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12815
12815
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12816
12816
  name: "created_at";
12817
12817
  tableName: "dataset_item";
@@ -12999,7 +12999,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12999
12999
  }, {}, {
13000
13000
  length: 256;
13001
13001
  }>;
13002
- }, drizzle_zod19.BuildRefine<{
13002
+ }, drizzle_zod15.BuildRefine<{
13003
13003
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13004
13004
  name: "created_at";
13005
13005
  tableName: "dataset_item";
@@ -13348,9 +13348,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
13348
13348
  id: z.ZodString;
13349
13349
  }>, z.core.$strip>;
13350
13350
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
13351
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13352
13351
  createdAt: z.ZodOptional<z.ZodString>;
13353
13352
  updatedAt: z.ZodOptional<z.ZodString>;
13353
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13354
13354
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13355
13355
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13356
13356
  prompt: string;
@@ -13395,9 +13395,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
13395
13395
  }>>>>;
13396
13396
  }, z.core.$strip>;
13397
13397
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13398
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13399
13398
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13400
13399
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13400
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13401
13401
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
13402
13402
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
13403
13403
  prompt: string;
@@ -13442,8 +13442,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13442
13442
  }>>>>>>;
13443
13443
  }, z.core.$strip>;
13444
13444
  declare const DatasetRunItemSchema: z.ZodObject<{
13445
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13446
13445
  id: z.ZodOptional<z.ZodString>;
13446
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13447
13447
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13448
13448
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13449
13449
  prompt: string;
@@ -13491,8 +13491,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13491
13491
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13492
13492
  datasetRunId: z.ZodString;
13493
13493
  items: z.ZodArray<z.ZodObject<{
13494
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13495
13494
  id: z.ZodOptional<z.ZodString>;
13495
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13496
13496
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13497
13497
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13498
13498
  prompt: string;
@@ -13570,7 +13570,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13570
13570
  }, z.core.$strip>>;
13571
13571
  }, z.core.$strip>>>;
13572
13572
  }, z.core.$strip>;
13573
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13573
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13574
13574
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13575
13575
  name: "created_at";
13576
13576
  tableName: "dataset_run_config";
@@ -13717,7 +13717,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
13717
13717
  }, {}, {
13718
13718
  length: 256;
13719
13719
  }>;
13720
- }, drizzle_zod19.BuildRefine<{
13720
+ }, drizzle_zod15.BuildRefine<{
13721
13721
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13722
13722
  name: "created_at";
13723
13723
  tableName: "dataset_run_config";
@@ -13902,20 +13902,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13902
13902
  id: z.ZodString;
13903
13903
  }>, z.core.$strip>;
13904
13904
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13905
+ name: z.ZodString;
13905
13906
  createdAt: z.ZodOptional<z.ZodString>;
13906
13907
  updatedAt: z.ZodOptional<z.ZodString>;
13907
- name: z.ZodString;
13908
13908
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13909
13909
  datasetId: z.ZodString;
13910
13910
  }, z.core.$strip>;
13911
13911
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13912
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13912
13913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13913
13914
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13914
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13915
13915
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13916
13916
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13917
13917
  }, z.core.$strip>;
13918
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13918
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13919
13919
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13920
13920
  name: "created_at";
13921
13921
  tableName: "dataset_run_config_agent_relations";
@@ -14045,7 +14045,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
14045
14045
  }, {}, {
14046
14046
  length: 256;
14047
14047
  }>;
14048
- }, drizzle_zod19.BuildRefine<{
14048
+ }, drizzle_zod15.BuildRefine<{
14049
14049
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14050
14050
  name: "created_at";
14051
14051
  tableName: "dataset_run_config_agent_relations";
@@ -14221,7 +14221,7 @@ declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14221
14221
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14222
14222
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14223
14223
  }, z.core.$strip>;
14224
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14224
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14225
14225
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14226
14226
  name: "created_at";
14227
14227
  tableName: "data_components";
@@ -14393,7 +14393,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14393
14393
  }, {}, {
14394
14394
  length: 256;
14395
14395
  }>;
14396
- }, drizzle_zod19.BuildRefine<{
14396
+ }, drizzle_zod15.BuildRefine<{
14397
14397
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14398
14398
  name: "created_at";
14399
14399
  tableName: "data_components";
@@ -14596,8 +14596,8 @@ declare const DataComponentBaseSchema: z.ZodObject<{
14596
14596
  id: z.ZodString;
14597
14597
  name: z.ZodString;
14598
14598
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14599
- tenantId: z.ZodString;
14600
14599
  projectId: z.ZodString;
14600
+ tenantId: z.ZodString;
14601
14601
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14602
14602
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14603
14603
  component: string;
@@ -14690,9 +14690,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14690
14690
  }>, z.core.$strip>;
14691
14691
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14692
14692
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14693
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14693
14694
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14694
14695
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14695
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14696
14696
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14697
14697
  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>>>>>>>;
14698
14698
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -14709,7 +14709,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14709
14709
  mockData: Record<string, unknown>;
14710
14710
  }>>>>>>;
14711
14711
  }, z.core.$strip>;
14712
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14712
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14713
14713
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
14714
14714
  name: "data_component_id";
14715
14715
  tableName: "sub_agent_data_components";
@@ -14841,7 +14841,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14841
14841
  }, {}, {
14842
14842
  length: 256;
14843
14843
  }>;
14844
- }, drizzle_zod19.BuildRefine<{
14844
+ }, drizzle_zod15.BuildRefine<{
14845
14845
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
14846
14846
  name: "data_component_id";
14847
14847
  tableName: "sub_agent_data_components";
@@ -14974,7 +14974,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14974
14974
  length: 256;
14975
14975
  }>;
14976
14976
  }, undefined>, undefined>;
14977
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
14977
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14978
14978
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
14979
14979
  name: "data_component_id";
14980
14980
  tableName: "sub_agent_data_components";
@@ -15106,7 +15106,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15106
15106
  }, {}, {
15107
15107
  length: 256;
15108
15108
  }>;
15109
- }, drizzle_zod19.BuildRefine<Pick<{
15109
+ }, drizzle_zod15.BuildRefine<Pick<{
15110
15110
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
15111
15111
  name: "data_component_id";
15112
15112
  tableName: "sub_agent_data_components";
@@ -15238,7 +15238,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15238
15238
  }, {}, {
15239
15239
  length: 256;
15240
15240
  }>;
15241
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15241
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "dataComponentId" | "subAgentId">, undefined>, undefined>;
15242
15242
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15243
15243
  dataComponentId: z.ZodOptional<z.ZodString>;
15244
15244
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15262,8 +15262,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15262
15262
  }>, z.core.$strip>;
15263
15263
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15264
15264
  agentId: z.ZodString;
15265
- subAgentId: z.ZodString;
15266
15265
  dataComponentId: z.ZodString;
15266
+ subAgentId: z.ZodString;
15267
15267
  }, {
15268
15268
  out: {};
15269
15269
  in: {};
@@ -15271,10 +15271,10 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15271
15271
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15272
15272
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15273
15273
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15274
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15275
15274
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15275
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15276
15276
  }, z.core.$strip>;
15277
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15277
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15278
15278
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15279
15279
  name: "created_at";
15280
15280
  tableName: "artifact_components";
@@ -15446,7 +15446,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
15446
15446
  }, {}, {
15447
15447
  length: 256;
15448
15448
  }>;
15449
- }, drizzle_zod19.BuildRefine<{
15449
+ }, drizzle_zod15.BuildRefine<{
15450
15450
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15451
15451
  name: "created_at";
15452
15452
  tableName: "artifact_components";
@@ -15718,9 +15718,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15718
15718
  }>;
15719
15719
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15720
15720
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15721
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15721
15722
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15722
15723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15723
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15724
15724
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15725
15725
  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>>>>>>>;
15726
15726
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -15737,7 +15737,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15737
15737
  mockData: Record<string, unknown>;
15738
15738
  }>>>>>>;
15739
15739
  }, z.core.$strip>;
15740
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15740
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15741
15741
  artifactComponentId: drizzle_orm_pg_core211.PgColumn<{
15742
15742
  name: "artifact_component_id";
15743
15743
  tableName: "sub_agent_artifact_components";
@@ -15869,7 +15869,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
15869
15869
  }, {}, {
15870
15870
  length: 256;
15871
15871
  }>;
15872
- }, drizzle_zod19.BuildRefine<{
15872
+ }, drizzle_zod15.BuildRefine<{
15873
15873
  artifactComponentId: drizzle_orm_pg_core211.PgColumn<{
15874
15874
  name: "artifact_component_id";
15875
15875
  tableName: "sub_agent_artifact_components";
@@ -16115,21 +16115,19 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16115
16115
  }>, z.core.$strip>;
16116
16116
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16117
16117
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16118
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16118
16119
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16119
16120
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16120
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16121
16121
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16122
16122
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16123
16123
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16124
16124
  }, z.core.$strip>;
16125
16125
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16126
16126
  id: z.ZodString;
16127
+ name: z.ZodString;
16127
16128
  createdAt: z.ZodString;
16128
16129
  updatedAt: z.ZodString;
16129
- name: z.ZodString;
16130
16130
  description: z.ZodNullable<z.ZodString>;
16131
- prompt: z.ZodNullable<z.ZodString>;
16132
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16133
16131
  models: z.ZodNullable<z.ZodType<{
16134
16132
  base?: {
16135
16133
  model?: string | undefined;
@@ -16183,6 +16181,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16183
16181
  providerOptions?: Record<string, any> | undefined;
16184
16182
  } | undefined;
16185
16183
  }>>>;
16184
+ prompt: z.ZodNullable<z.ZodString>;
16186
16185
  stopWhen: z.ZodNullable<z.ZodType<{
16187
16186
  stepCountIs?: number | undefined;
16188
16187
  }, {
@@ -16192,18 +16191,19 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16192
16191
  }, {
16193
16192
  stepCountIs?: number | undefined;
16194
16193
  }>>>;
16194
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16195
16195
  type: z.ZodLiteral<"internal">;
16196
16196
  }, z.core.$strip>, z.ZodObject<{
16197
16197
  id: z.ZodString;
16198
+ name: z.ZodString;
16198
16199
  createdAt: z.ZodString;
16199
16200
  updatedAt: z.ZodString;
16200
- name: z.ZodString;
16201
16201
  description: z.ZodNullable<z.ZodString>;
16202
16202
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16203
16203
  baseUrl: z.ZodString;
16204
16204
  type: z.ZodLiteral<"external">;
16205
16205
  }, z.core.$strip>], "type">;
16206
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16206
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16207
16207
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16208
16208
  name: "created_at";
16209
16209
  tableName: "api_keys";
@@ -16424,7 +16424,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16424
16424
  }, {}, {
16425
16425
  length: 256;
16426
16426
  }>;
16427
- }, drizzle_zod19.BuildRefine<{
16427
+ }, drizzle_zod15.BuildRefine<{
16428
16428
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16429
16429
  name: "created_at";
16430
16430
  tableName: "api_keys";
@@ -16664,8 +16664,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16664
16664
  in: {};
16665
16665
  }>;
16666
16666
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16667
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16668
16667
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16669
16669
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16670
16670
  agentId: z.ZodOptional<z.ZodString>;
16671
16671
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -16675,9 +16675,9 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16675
16675
  }>;
16676
16676
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16677
16677
  id: z.ZodString;
16678
+ name: z.ZodNullable<z.ZodString>;
16678
16679
  createdAt: z.ZodString;
16679
16680
  updatedAt: z.ZodString;
16680
- name: z.ZodNullable<z.ZodString>;
16681
16681
  expiresAt: z.ZodNullable<z.ZodString>;
16682
16682
  agentId: z.ZodString;
16683
16683
  publicId: z.ZodString;
@@ -16691,9 +16691,9 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16691
16691
  data: z.ZodObject<{
16692
16692
  apiKey: z.ZodObject<{
16693
16693
  id: z.ZodString;
16694
+ name: z.ZodNullable<z.ZodString>;
16694
16695
  createdAt: z.ZodString;
16695
16696
  updatedAt: z.ZodString;
16696
- name: z.ZodNullable<z.ZodString>;
16697
16697
  expiresAt: z.ZodNullable<z.ZodString>;
16698
16698
  agentId: z.ZodString;
16699
16699
  publicId: z.ZodString;
@@ -16707,9 +16707,9 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16707
16707
  }, z.core.$strip>;
16708
16708
  }, z.core.$strip>;
16709
16709
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16710
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16710
16711
  createdAt: z.ZodOptional<z.ZodString>;
16711
16712
  updatedAt: z.ZodOptional<z.ZodString>;
16712
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16713
16713
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16714
16714
  agentId: z.ZodString;
16715
16715
  }, {
@@ -16717,8 +16717,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
16717
16717
  in: {};
16718
16718
  }>;
16719
16719
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16720
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16721
16720
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16721
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16722
16722
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16723
16723
  agentId: z.ZodOptional<z.ZodString>;
16724
16724
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -16726,7 +16726,7 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16726
16726
  out: {};
16727
16727
  in: {};
16728
16728
  }>;
16729
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
16729
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
16730
16730
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16731
16731
  name: "created_at";
16732
16732
  tableName: "credential_references";
@@ -16951,7 +16951,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
16951
16951
  }, {}, {
16952
16952
  length: 256;
16953
16953
  }>;
16954
- }, drizzle_zod19.BuildRefine<{
16954
+ }, drizzle_zod15.BuildRefine<{
16955
16955
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16956
16956
  name: "created_at";
16957
16957
  tableName: "credential_references";
@@ -17213,10 +17213,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
17213
17213
  }>;
17214
17214
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17215
17215
  id: z.ZodString;
17216
- userId: z.ZodNullable<z.ZodString>;
17216
+ name: z.ZodString;
17217
17217
  createdAt: z.ZodString;
17218
17218
  updatedAt: z.ZodString;
17219
- name: z.ZodString;
17219
+ userId: z.ZodNullable<z.ZodString>;
17220
17220
  toolId: z.ZodNullable<z.ZodString>;
17221
17221
  credentialStoreId: z.ZodString;
17222
17222
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -17226,7 +17226,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17226
17226
  readonly keychain: "keychain";
17227
17227
  readonly nango: "nango";
17228
17228
  }>;
17229
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
17229
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
17230
17230
  createdAt: drizzle_orm_pg_core211.PgColumn<{
17231
17231
  name: "created_at";
17232
17232
  tableName: "tools";
@@ -17506,7 +17506,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17506
17506
  }, {}, {
17507
17507
  length: 256;
17508
17508
  }>;
17509
- }, drizzle_zod19.BuildRefine<{
17509
+ }, drizzle_zod15.BuildRefine<{
17510
17510
  createdAt: drizzle_orm_pg_core211.PgColumn<{
17511
17511
  name: "created_at";
17512
17512
  tableName: "tools";
@@ -17804,10 +17804,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17804
17804
  }, z.core.$strip>;
17805
17805
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17806
17806
  id: z.ZodString;
17807
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17807
+ name: z.ZodString;
17808
17808
  createdAt: z.ZodOptional<z.ZodString>;
17809
17809
  updatedAt: z.ZodOptional<z.ZodString>;
17810
- name: z.ZodString;
17810
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17811
17811
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17812
17812
  credentialStoreId: z.ZodString;
17813
17813
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -17820,10 +17820,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17820
17820
  }, z.core.$strip>;
17821
17821
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17822
17822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17823
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17823
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17824
17824
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17825
17825
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17826
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17826
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17827
17827
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17828
17828
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17829
17829
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -17950,22 +17950,22 @@ declare const McpToolSchema: z.ZodObject<{
17950
17950
  in: {};
17951
17951
  }>;
17952
17952
  declare const MCPToolConfigSchema: z.ZodObject<{
17953
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17954
17953
  id: z.ZodString;
17955
17954
  name: z.ZodString;
17956
17955
  expiresAt: z.ZodOptional<z.ZodString>;
17957
- createdBy: z.ZodOptional<z.ZodString>;
17956
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17958
17957
  credentialScope: z.ZodOptional<z.ZodString>;
17959
17958
  imageUrl: z.ZodOptional<z.ZodString>;
17960
17959
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17961
17960
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17962
17961
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
17962
+ createdBy: z.ZodOptional<z.ZodString>;
17963
+ relationshipId: z.ZodOptional<z.ZodString>;
17963
17964
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17964
17965
  name: z.ZodString;
17965
17966
  description: z.ZodOptional<z.ZodString>;
17966
17967
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17967
17968
  }, z.core.$strip>>>;
17968
- relationshipId: z.ZodOptional<z.ZodString>;
17969
17969
  tenantId: z.ZodOptional<z.ZodString>;
17970
17970
  projectId: z.ZodOptional<z.ZodString>;
17971
17971
  description: z.ZodOptional<z.ZodString>;
@@ -17987,10 +17987,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17987
17987
  }, z.core.$strip>>;
17988
17988
  credential: z.ZodOptional<z.ZodObject<{
17989
17989
  id: z.ZodString;
17990
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17990
+ name: z.ZodString;
17991
17991
  createdAt: z.ZodOptional<z.ZodString>;
17992
17992
  updatedAt: z.ZodOptional<z.ZodString>;
17993
- name: z.ZodString;
17993
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17994
17994
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17995
17995
  credentialStoreId: z.ZodString;
17996
17996
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -18129,12 +18129,12 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18129
18129
  }, z.core.$strip>;
18130
18130
  }>, z.core.$strip>;
18131
18131
  declare const ToolApiUpdateSchema: z.ZodObject<{
18132
- 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>>>>>>>;
18133
18132
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18133
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18134
18134
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18135
18135
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18136
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18137
18136
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18137
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
18138
18138
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18139
18139
  type: z.ZodLiteral<"mcp">;
18140
18140
  mcp: z.ZodObject<{
@@ -18168,7 +18168,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18168
18168
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18169
18169
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
18170
18170
  }, z.core.$strip>;
18171
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18171
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
18172
18172
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18173
18173
  name: "created_at";
18174
18174
  tableName: "function_tools";
@@ -18334,7 +18334,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18334
18334
  }, {}, {
18335
18335
  length: 256;
18336
18336
  }>;
18337
- }, drizzle_zod19.BuildRefine<{
18337
+ }, drizzle_zod15.BuildRefine<{
18338
18338
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18339
18339
  name: "created_at";
18340
18340
  tableName: "function_tools";
@@ -18531,9 +18531,9 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18531
18531
  }>;
18532
18532
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18533
18533
  id: z.ZodString;
18534
+ name: z.ZodString;
18534
18535
  createdAt: z.ZodString;
18535
18536
  updatedAt: z.ZodString;
18536
- name: z.ZodString;
18537
18537
  description: z.ZodNullable<z.ZodString>;
18538
18538
  agentId: z.ZodString;
18539
18539
  functionId: z.ZodString;
@@ -18552,14 +18552,14 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18552
18552
  }>, z.core.$strip>;
18553
18553
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18554
18554
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18555
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18555
18556
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18556
18557
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18557
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18558
18558
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18559
18559
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18560
18560
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18561
18561
  }, z.core.$strip>;
18562
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18562
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18563
18563
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18564
18564
  name: "created_at";
18565
18565
  tableName: "sub_agent_function_tool_relations";
@@ -18731,7 +18731,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18731
18731
  }, {}, {
18732
18732
  length: 256;
18733
18733
  }>;
18734
- }, drizzle_zod19.BuildRefine<{
18734
+ }, drizzle_zod15.BuildRefine<{
18735
18735
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18736
18736
  name: "created_at";
18737
18737
  tableName: "sub_agent_function_tool_relations";
@@ -18907,7 +18907,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18907
18907
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
18908
18908
  createdAt: z.ZodOptional<z.ZodString>;
18909
18909
  updatedAt: z.ZodOptional<z.ZodString>;
18910
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18910
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
18911
18911
  agentId: z.ZodString;
18912
18912
  projectId: z.ZodString;
18913
18913
  tenantId: z.ZodString;
@@ -18922,7 +18922,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18922
18922
  createdAt: z.ZodString;
18923
18923
  updatedAt: z.ZodString;
18924
18924
  functionToolId: z.ZodString;
18925
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
18925
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
18926
18926
  subAgentId: z.ZodString;
18927
18927
  agentId: z.ZodString;
18928
18928
  projectId: z.ZodString;
@@ -18930,14 +18930,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18930
18930
  id: z.ZodString;
18931
18931
  }>, z.core.$strip>;
18932
18932
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18933
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18933
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
18934
18934
  subAgentId: z.ZodString;
18935
18935
  functionToolId: z.ZodString;
18936
18936
  }, {
18937
18937
  out: {};
18938
18938
  in: {};
18939
18939
  }>;
18940
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18940
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18941
18941
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18942
18942
  name: "created_at";
18943
18943
  tableName: "functions";
@@ -19084,7 +19084,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
19084
19084
  }, {}, {
19085
19085
  length: 256;
19086
19086
  }>;
19087
- }, drizzle_zod19.BuildRefine<{
19087
+ }, drizzle_zod15.BuildRefine<{
19088
19088
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19089
19089
  name: "created_at";
19090
19090
  tableName: "functions";
@@ -19281,8 +19281,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19281
19281
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19282
19282
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19283
19283
  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>>>>>>>;
19284
- 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>>>>>>>;
19285
19284
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19285
+ 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>>>>>>>;
19286
19286
  }, z.core.$strip>;
19287
19287
  declare const FetchConfigSchema: z.ZodObject<{
19288
19288
  url: z.ZodString;
@@ -19325,10 +19325,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19325
19325
  defaultValue: z.ZodOptional<z.ZodAny>;
19326
19326
  credential: z.ZodOptional<z.ZodObject<{
19327
19327
  id: z.ZodString;
19328
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19328
+ name: z.ZodString;
19329
19329
  createdAt: z.ZodOptional<z.ZodString>;
19330
19330
  updatedAt: z.ZodOptional<z.ZodString>;
19331
- name: z.ZodString;
19331
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19332
19332
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19333
19333
  credentialStoreId: z.ZodString;
19334
19334
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -19356,22 +19356,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19356
19356
  }>;
19357
19357
  declare const ContextConfigInsertSchema: z.ZodObject<{
19358
19358
  id: z.ZodOptional<z.ZodString>;
19359
- tenantId: z.ZodString;
19360
- projectId: z.ZodString;
19361
- agentId: z.ZodString;
19362
19359
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19363
19360
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19361
+ agentId: z.ZodString;
19362
+ projectId: z.ZodString;
19363
+ tenantId: z.ZodString;
19364
19364
  }, {
19365
19365
  out: {};
19366
19366
  in: {};
19367
19367
  }>;
19368
19368
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19369
19369
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19370
- tenantId: z.ZodOptional<z.ZodString>;
19371
- projectId: z.ZodOptional<z.ZodString>;
19372
- agentId: z.ZodOptional<z.ZodString>;
19373
19370
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19374
19371
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19372
+ agentId: z.ZodOptional<z.ZodString>;
19373
+ projectId: z.ZodOptional<z.ZodString>;
19374
+ tenantId: z.ZodOptional<z.ZodString>;
19375
19375
  }, {
19376
19376
  out: {};
19377
19377
  in: {};
@@ -19393,7 +19393,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19393
19393
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19394
19394
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19395
19395
  }, z.core.$strip>;
19396
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19396
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19397
19397
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19398
19398
  name: "created_at";
19399
19399
  tableName: "sub_agent_tool_relations";
@@ -19603,7 +19603,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
19603
19603
  }, {}, {
19604
19604
  length: 256;
19605
19605
  }>;
19606
- }, drizzle_zod19.BuildRefine<{
19606
+ }, drizzle_zod15.BuildRefine<{
19607
19607
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19608
19608
  name: "created_at";
19609
19609
  tableName: "sub_agent_tool_relations";
@@ -19854,9 +19854,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19854
19854
  createdAt: z.ZodString;
19855
19855
  updatedAt: z.ZodString;
19856
19856
  toolId: z.ZodString;
19857
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19858
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19859
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19857
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19858
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19859
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19860
19860
  subAgentId: z.ZodString;
19861
19861
  agentId: z.ZodString;
19862
19862
  projectId: z.ZodString;
@@ -19879,10 +19879,10 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
19879
19879
  }, z.core.$strip>>>>;
19880
19880
  }>, z.core.$strip>;
19881
19881
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19882
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19883
19882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19884
19883
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19885
19884
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19885
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19886
19886
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19887
19887
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19888
19888
  needsApproval: z.ZodOptional<z.ZodBoolean>;
@@ -19890,7 +19890,7 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19890
19890
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19891
19891
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19892
19892
  }, z.core.$strip>;
19893
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19893
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19894
19894
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19895
19895
  name: "created_at";
19896
19896
  tableName: "sub_agent_external_agent_relations";
@@ -20058,7 +20058,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
20058
20058
  }, {}, {
20059
20059
  length: 256;
20060
20060
  }>;
20061
- }, drizzle_zod19.BuildRefine<{
20061
+ }, drizzle_zod15.BuildRefine<{
20062
20062
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20063
20063
  name: "created_at";
20064
20064
  tableName: "sub_agent_external_agent_relations";
@@ -20259,7 +20259,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20259
20259
  createdAt: z.ZodString;
20260
20260
  updatedAt: z.ZodString;
20261
20261
  externalAgentId: z.ZodString;
20262
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20262
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20263
20263
  subAgentId: z.ZodString;
20264
20264
  agentId: z.ZodString;
20265
20265
  projectId: z.ZodString;
@@ -20267,20 +20267,20 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20267
20267
  id: z.ZodString;
20268
20268
  }>, z.core.$strip>;
20269
20269
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
20270
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20271
20270
  createdAt: z.ZodOptional<z.ZodString>;
20272
20271
  updatedAt: z.ZodOptional<z.ZodString>;
20272
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20273
20273
  externalAgentId: z.ZodString;
20274
20274
  }, z.core.$strip>;
20275
20275
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20276
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20277
20276
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20278
20277
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20279
20278
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20279
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20280
20280
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20281
20281
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20282
20282
  }, z.core.$strip>;
20283
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20283
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20284
20284
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20285
20285
  name: "created_at";
20286
20286
  tableName: "sub_agent_team_agent_relations";
@@ -20448,7 +20448,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
20448
20448
  }, {}, {
20449
20449
  length: 256;
20450
20450
  }>;
20451
- }, drizzle_zod19.BuildRefine<{
20451
+ }, drizzle_zod15.BuildRefine<{
20452
20452
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20453
20453
  name: "created_at";
20454
20454
  tableName: "sub_agent_team_agent_relations";
@@ -20649,7 +20649,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20649
20649
  createdAt: z.ZodString;
20650
20650
  updatedAt: z.ZodString;
20651
20651
  targetAgentId: z.ZodString;
20652
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20652
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20653
20653
  subAgentId: z.ZodString;
20654
20654
  agentId: z.ZodString;
20655
20655
  projectId: z.ZodString;
@@ -20657,20 +20657,20 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20657
20657
  id: z.ZodString;
20658
20658
  }>, z.core.$strip>;
20659
20659
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
20660
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20661
20660
  createdAt: z.ZodOptional<z.ZodString>;
20662
20661
  updatedAt: z.ZodOptional<z.ZodString>;
20662
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20663
20663
  targetAgentId: z.ZodString;
20664
20664
  }, z.core.$strip>;
20665
20665
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20666
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20667
20666
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20668
20667
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20669
20668
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20669
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20670
20670
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20671
20671
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20672
20672
  }, z.core.$strip>;
20673
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20673
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20674
20674
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20675
20675
  name: "created_at";
20676
20676
  tableName: "ledger_artifacts";
@@ -21005,7 +21005,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21005
21005
  }, {}, {
21006
21006
  length: 256;
21007
21007
  }>;
21008
- }, drizzle_zod19.BuildRefine<{
21008
+ }, drizzle_zod15.BuildRefine<{
21009
21009
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21010
21010
  name: "created_at";
21011
21011
  tableName: "ledger_artifacts";
@@ -21341,7 +21341,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21341
21341
  length: 256;
21342
21342
  }>;
21343
21343
  }, undefined>, undefined>;
21344
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21344
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21345
21345
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21346
21346
  name: "created_at";
21347
21347
  tableName: "ledger_artifacts";
@@ -21676,7 +21676,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21676
21676
  }, {}, {
21677
21677
  length: 256;
21678
21678
  }>;
21679
- }, drizzle_zod19.BuildRefine<Pick<{
21679
+ }, drizzle_zod15.BuildRefine<Pick<{
21680
21680
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21681
21681
  name: "created_at";
21682
21682
  tableName: "ledger_artifacts";
@@ -22011,7 +22011,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
22011
22011
  }, {}, {
22012
22012
  length: 256;
22013
22013
  }>;
22014
- }, "type" | "metadata" | "id" | "createdAt" | "updatedAt" | "name" | "description" | "tenantId" | "projectId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22014
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "type" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22015
22015
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22016
22016
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22017
22017
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -22021,12 +22021,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22021
22021
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22022
22022
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22023
22023
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22024
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22025
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22024
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22025
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22026
22026
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22027
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22027
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22028
22028
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22029
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22029
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22030
22030
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22031
22031
  projectId: z.ZodOptional<z.ZodString>;
22032
22032
  tenantId: z.ZodOptional<z.ZodString>;
@@ -22044,12 +22044,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
22044
22044
  type: z.ZodString;
22045
22045
  name: z.ZodNullable<z.ZodString>;
22046
22046
  description: z.ZodNullable<z.ZodString>;
22047
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22048
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22047
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22048
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22049
22049
  summary: z.ZodNullable<z.ZodString>;
22050
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22050
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22051
22051
  visibility: z.ZodNullable<z.ZodString>;
22052
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22052
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22053
22053
  derivedFrom: z.ZodNullable<z.ZodString>;
22054
22054
  projectId: z.ZodString;
22055
22055
  tenantId: z.ZodString;
@@ -22064,33 +22064,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
22064
22064
  type: z.ZodOptional<z.ZodString>;
22065
22065
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22066
22066
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22067
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22068
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22067
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22068
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22069
22069
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22070
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22070
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22071
22071
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22072
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22072
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22073
22073
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22074
22074
  projectId: z.ZodString;
22075
22075
  tenantId: z.ZodString;
22076
22076
  id: z.ZodString;
22077
22077
  }>, z.core.$strip>;
22078
22078
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
22079
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22080
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22081
22079
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22080
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22082
22081
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22083
22082
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22084
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22083
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22085
22084
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22085
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22086
22086
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22087
22087
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22088
22088
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22089
22089
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22090
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22090
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22091
22091
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22092
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22093
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22092
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22093
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22094
22094
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22095
22095
  }, z.core.$strip>;
22096
22096
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22157,11 +22157,10 @@ declare const TeamAgentSchema: z.ZodObject<{
22157
22157
  }, z.core.$strip>;
22158
22158
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22159
22159
  id: z.ZodString;
22160
+ name: z.ZodString;
22160
22161
  createdAt: z.ZodOptional<z.ZodString>;
22161
22162
  updatedAt: z.ZodOptional<z.ZodString>;
22162
- name: z.ZodString;
22163
22163
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22164
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22165
22164
  models: z.ZodOptional<z.ZodObject<{
22166
22165
  base: z.ZodOptional<z.ZodObject<{
22167
22166
  model: z.ZodOptional<z.ZodString>;
@@ -22185,6 +22184,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22185
22184
  }, {
22186
22185
  stepCountIs?: number | undefined;
22187
22186
  }>>>>;
22187
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22188
22188
  type: z.ZodLiteral<"internal">;
22189
22189
  canUse: z.ZodArray<z.ZodObject<{
22190
22190
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22210,20 +22210,19 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22210
22210
  }, z.core.$strip>]>>>;
22211
22211
  }, z.core.$strip>;
22212
22212
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22213
+ name: z.ZodString;
22213
22214
  createdAt: z.ZodOptional<z.ZodString>;
22214
22215
  updatedAt: z.ZodOptional<z.ZodString>;
22215
- name: z.ZodString;
22216
22216
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22217
22217
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22218
22218
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22219
22219
  id: z.ZodString;
22220
22220
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22221
22221
  id: z.ZodString;
22222
+ name: z.ZodString;
22222
22223
  createdAt: z.ZodOptional<z.ZodString>;
22223
22224
  updatedAt: z.ZodOptional<z.ZodString>;
22224
- name: z.ZodString;
22225
22225
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22226
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22227
22226
  models: z.ZodOptional<z.ZodObject<{
22228
22227
  base: z.ZodOptional<z.ZodObject<{
22229
22228
  model: z.ZodOptional<z.ZodString>;
@@ -22247,6 +22246,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22247
22246
  }, {
22248
22247
  stepCountIs?: number | undefined;
22249
22248
  }>>>>;
22249
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22250
22250
  type: z.ZodLiteral<"internal">;
22251
22251
  canUse: z.ZodArray<z.ZodObject<{
22252
22252
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22349,17 +22349,17 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22349
22349
  executeCode: z.ZodString;
22350
22350
  }, z.core.$strip>>>;
22351
22351
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22352
- enabled: z.ZodOptional<z.ZodBoolean>;
22352
+ name: z.ZodString;
22353
22353
  createdAt: z.ZodOptional<z.ZodString>;
22354
22354
  updatedAt: z.ZodOptional<z.ZodString>;
22355
- name: z.ZodString;
22356
22355
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22357
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22358
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22356
+ enabled: z.ZodOptional<z.ZodBoolean>;
22357
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22358
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22359
22359
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22360
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22360
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22361
22361
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22362
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22362
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22363
22363
  id: z.ZodOptional<z.ZodString>;
22364
22364
  }, z.core.$strip>>>;
22365
22365
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22514,9 +22514,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22514
22514
  }>;
22515
22515
  declare const ProjectApiSelectSchema: z.ZodObject<{
22516
22516
  id: z.ZodString;
22517
+ name: z.ZodString;
22517
22518
  createdAt: z.ZodString;
22518
22519
  updatedAt: z.ZodString;
22519
- name: z.ZodString;
22520
22520
  description: z.ZodNullable<z.ZodString>;
22521
22521
  models: z.ZodNullable<z.ZodObject<{
22522
22522
  base: z.ZodObject<{
@@ -22614,20 +22614,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22614
22614
  stepCountIs: z.ZodOptional<z.ZodNumber>;
22615
22615
  }, z.core.$strip>>;
22616
22616
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22617
+ name: z.ZodString;
22617
22618
  createdAt: z.ZodOptional<z.ZodString>;
22618
22619
  updatedAt: z.ZodOptional<z.ZodString>;
22619
- name: z.ZodString;
22620
22620
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22621
22621
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22622
22622
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22623
22623
  id: z.ZodString;
22624
22624
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22625
22625
  id: z.ZodString;
22626
+ name: z.ZodString;
22626
22627
  createdAt: z.ZodOptional<z.ZodString>;
22627
22628
  updatedAt: z.ZodOptional<z.ZodString>;
22628
- name: z.ZodString;
22629
22629
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22630
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22631
22630
  models: z.ZodOptional<z.ZodObject<{
22632
22631
  base: z.ZodOptional<z.ZodObject<{
22633
22632
  model: z.ZodOptional<z.ZodString>;
@@ -22651,6 +22650,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22651
22650
  }, {
22652
22651
  stepCountIs?: number | undefined;
22653
22652
  }>>>>;
22653
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22654
22654
  type: z.ZodLiteral<"internal">;
22655
22655
  canUse: z.ZodArray<z.ZodObject<{
22656
22656
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22753,17 +22753,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22753
22753
  executeCode: z.ZodString;
22754
22754
  }, z.core.$strip>>>;
22755
22755
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22756
- enabled: z.ZodOptional<z.ZodBoolean>;
22756
+ name: z.ZodString;
22757
22757
  createdAt: z.ZodOptional<z.ZodString>;
22758
22758
  updatedAt: z.ZodOptional<z.ZodString>;
22759
- name: z.ZodString;
22760
22759
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22761
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22762
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22760
+ enabled: z.ZodOptional<z.ZodBoolean>;
22761
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22762
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22763
22763
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22764
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22764
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22765
22765
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22766
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22766
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22767
22767
  id: z.ZodOptional<z.ZodString>;
22768
22768
  }, z.core.$strip>>>;
22769
22769
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22939,10 +22939,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22939
22939
  }, z.core.$strip>>;
22940
22940
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22941
22941
  id: z.ZodString;
22942
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22942
+ name: z.ZodString;
22943
22943
  createdAt: z.ZodOptional<z.ZodString>;
22944
22944
  updatedAt: z.ZodOptional<z.ZodString>;
22945
- name: z.ZodString;
22945
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22946
22946
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22947
22947
  credentialStoreId: z.ZodString;
22948
22948
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -22961,11 +22961,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22961
22961
  }>;
22962
22962
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22963
22963
  id: z.ZodString;
22964
+ name: z.ZodString;
22964
22965
  createdAt: z.ZodString;
22965
22966
  updatedAt: z.ZodString;
22966
- name: z.ZodString;
22967
22967
  description: z.ZodNullable<z.ZodString>;
22968
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22969
22968
  models: z.ZodNullable<z.ZodType<{
22970
22969
  base?: {
22971
22970
  model?: string | undefined;
@@ -23028,6 +23027,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
23028
23027
  }, {
23029
23028
  stepCountIs?: number | undefined;
23030
23029
  }>>>;
23030
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23031
23031
  type: z.ZodLiteral<"internal">;
23032
23032
  canUse: z.ZodArray<z.ZodObject<{
23033
23033
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23054,11 +23054,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
23054
23054
  }, z.core.$strip>;
23055
23055
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23056
23056
  id: z.ZodString;
23057
+ name: z.ZodString;
23057
23058
  createdAt: z.ZodString;
23058
23059
  updatedAt: z.ZodString;
23059
- name: z.ZodString;
23060
23060
  description: z.ZodNullable<z.ZodString>;
23061
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23062
23061
  models: z.ZodNullable<z.ZodType<{
23063
23062
  base?: {
23064
23063
  model?: string | undefined;
@@ -23121,6 +23120,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23121
23120
  }, {
23122
23121
  stepCountIs?: number | undefined;
23123
23122
  }>>>;
23123
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23124
23124
  type: z.ZodLiteral<"internal">;
23125
23125
  canUse: z.ZodArray<z.ZodObject<{
23126
23126
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23153,19 +23153,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23153
23153
  }, z.core.$strip>;
23154
23154
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23155
23155
  id: z.ZodString;
23156
+ name: z.ZodString;
23156
23157
  createdAt: z.ZodString;
23157
23158
  updatedAt: z.ZodString;
23158
- name: z.ZodString;
23159
23159
  description: z.ZodNullable<z.ZodString>;
23160
23160
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23161
23161
  contextConfigId: z.ZodNullable<z.ZodString>;
23162
23162
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23163
23163
  id: z.ZodString;
23164
+ name: z.ZodString;
23164
23165
  createdAt: z.ZodString;
23165
23166
  updatedAt: z.ZodString;
23166
- name: z.ZodString;
23167
23167
  description: z.ZodNullable<z.ZodString>;
23168
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23169
23168
  models: z.ZodNullable<z.ZodType<{
23170
23169
  base?: {
23171
23170
  model?: string | undefined;
@@ -23228,6 +23227,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23228
23227
  }, {
23229
23228
  stepCountIs?: number | undefined;
23230
23229
  }>>>;
23230
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23231
23231
  type: z.ZodLiteral<"internal">;
23232
23232
  canUse: z.ZodArray<z.ZodObject<{
23233
23233
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23299,9 +23299,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23299
23299
  }, z.core.$strip>>>;
23300
23300
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23301
23301
  id: z.ZodString;
23302
+ name: z.ZodString;
23302
23303
  createdAt: z.ZodString;
23303
23304
  updatedAt: z.ZodString;
23304
- name: z.ZodString;
23305
23305
  description: z.ZodNullable<z.ZodString>;
23306
23306
  agentId: z.ZodString;
23307
23307
  functionId: z.ZodString;
@@ -23360,9 +23360,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23360
23360
  }, z.core.$strip>;
23361
23361
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23362
23362
  id: z.ZodString;
23363
+ name: z.ZodString;
23363
23364
  createdAt: z.ZodString;
23364
23365
  updatedAt: z.ZodString;
23365
- name: z.ZodString;
23366
23366
  description: z.ZodNullable<z.ZodString>;
23367
23367
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23368
23368
  contextConfigId: z.ZodNullable<z.ZodString>;
@@ -23413,9 +23413,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23413
23413
  }, z.core.$strip>>>;
23414
23414
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23415
23415
  id: z.ZodString;
23416
+ name: z.ZodString;
23416
23417
  createdAt: z.ZodString;
23417
23418
  updatedAt: z.ZodString;
23418
- name: z.ZodString;
23419
23419
  description: z.ZodNullable<z.ZodString>;
23420
23420
  agentId: z.ZodString;
23421
23421
  functionId: z.ZodString;
@@ -23473,11 +23473,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23473
23473
  prompt: z.ZodNullable<z.ZodString>;
23474
23474
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23475
23475
  id: z.ZodString;
23476
+ name: z.ZodString;
23476
23477
  createdAt: z.ZodString;
23477
23478
  updatedAt: z.ZodString;
23478
- name: z.ZodString;
23479
23479
  description: z.ZodNullable<z.ZodString>;
23480
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23481
23480
  models: z.ZodNullable<z.ZodType<{
23482
23481
  base?: {
23483
23482
  model?: string | undefined;
@@ -23540,6 +23539,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23540
23539
  }, {
23541
23540
  stepCountIs?: number | undefined;
23542
23541
  }>>>;
23542
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23543
23543
  type: z.ZodLiteral<"internal">;
23544
23544
  canUse: z.ZodArray<z.ZodObject<{
23545
23545
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23573,9 +23573,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23573
23573
  }, z.core.$strip>;
23574
23574
  declare const FullProjectSelectSchema: z.ZodObject<{
23575
23575
  id: z.ZodString;
23576
+ name: z.ZodString;
23576
23577
  createdAt: z.ZodString;
23577
23578
  updatedAt: z.ZodString;
23578
- name: z.ZodString;
23579
23579
  description: z.ZodNullable<z.ZodString>;
23580
23580
  models: z.ZodNullable<z.ZodObject<{
23581
23581
  base: z.ZodObject<{
@@ -23597,19 +23597,18 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23597
23597
  }, z.core.$strip>>;
23598
23598
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23599
23599
  id: z.ZodString;
23600
+ name: z.ZodString;
23600
23601
  createdAt: z.ZodString;
23601
23602
  updatedAt: z.ZodString;
23602
- name: z.ZodString;
23603
23603
  description: z.ZodNullable<z.ZodString>;
23604
23604
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23605
23605
  contextConfigId: z.ZodNullable<z.ZodString>;
23606
23606
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23607
23607
  id: z.ZodString;
23608
+ name: z.ZodString;
23608
23609
  createdAt: z.ZodString;
23609
23610
  updatedAt: z.ZodString;
23610
- name: z.ZodString;
23611
23611
  description: z.ZodNullable<z.ZodString>;
23612
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23613
23612
  models: z.ZodNullable<z.ZodType<{
23614
23613
  base?: {
23615
23614
  model?: string | undefined;
@@ -23672,6 +23671,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23672
23671
  }, {
23673
23672
  stepCountIs?: number | undefined;
23674
23673
  }>>>;
23674
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23675
23675
  type: z.ZodLiteral<"internal">;
23676
23676
  canUse: z.ZodArray<z.ZodObject<{
23677
23677
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23743,9 +23743,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23743
23743
  }, z.core.$strip>>>;
23744
23744
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23745
23745
  id: z.ZodString;
23746
+ name: z.ZodString;
23746
23747
  createdAt: z.ZodString;
23747
23748
  updatedAt: z.ZodString;
23748
- name: z.ZodString;
23749
23749
  description: z.ZodNullable<z.ZodString>;
23750
23750
  agentId: z.ZodString;
23751
23751
  functionId: z.ZodString;
@@ -23833,9 +23833,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23833
23833
  }>, z.core.$strip>>;
23834
23834
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23835
23835
  id: z.ZodString;
23836
+ name: z.ZodString;
23836
23837
  createdAt: z.ZodString;
23837
23838
  updatedAt: z.ZodString;
23838
- name: z.ZodString;
23839
23839
  description: z.ZodNullable<z.ZodString>;
23840
23840
  agentId: z.ZodString;
23841
23841
  functionId: z.ZodString;
@@ -23925,10 +23925,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23925
23925
  }, z.core.$strip>>;
23926
23926
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23927
23927
  id: z.ZodString;
23928
- userId: z.ZodNullable<z.ZodString>;
23928
+ name: z.ZodString;
23929
23929
  createdAt: z.ZodString;
23930
23930
  updatedAt: z.ZodString;
23931
- name: z.ZodString;
23931
+ userId: z.ZodNullable<z.ZodString>;
23932
23932
  toolId: z.ZodNullable<z.ZodString>;
23933
23933
  credentialStoreId: z.ZodString;
23934
23934
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -23938,7 +23938,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23938
23938
  readonly keychain: "keychain";
23939
23939
  readonly nango: "nango";
23940
23940
  }>;
23941
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23941
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23942
23942
  createdAt: drizzle_orm_pg_core211.PgColumn<{
23943
23943
  name: "created_at";
23944
23944
  tableName: "tools";
@@ -24218,7 +24218,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24218
24218
  }, {}, {
24219
24219
  length: 256;
24220
24220
  }>;
24221
- }, drizzle_zod19.BuildRefine<{
24221
+ }, drizzle_zod15.BuildRefine<{
24222
24222
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24223
24223
  name: "created_at";
24224
24224
  tableName: "tools";
@@ -24520,9 +24520,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24520
24520
  }>;
24521
24521
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24522
24522
  id: z.ZodString;
24523
+ name: z.ZodString;
24523
24524
  createdAt: z.ZodString;
24524
24525
  updatedAt: z.ZodString;
24525
- name: z.ZodString;
24526
24526
  description: z.ZodNullable<z.ZodString>;
24527
24527
  models: z.ZodNullable<z.ZodObject<{
24528
24528
  base: z.ZodObject<{
@@ -24573,9 +24573,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24573
24573
  }>, z.core.$strip>>;
24574
24574
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24575
24575
  id: z.ZodString;
24576
+ name: z.ZodString;
24576
24577
  createdAt: z.ZodString;
24577
24578
  updatedAt: z.ZodString;
24578
- name: z.ZodString;
24579
24579
  description: z.ZodNullable<z.ZodString>;
24580
24580
  agentId: z.ZodString;
24581
24581
  functionId: z.ZodString;
@@ -24665,10 +24665,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24665
24665
  }, z.core.$strip>>;
24666
24666
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24667
24667
  id: z.ZodString;
24668
- userId: z.ZodNullable<z.ZodString>;
24668
+ name: z.ZodString;
24669
24669
  createdAt: z.ZodString;
24670
24670
  updatedAt: z.ZodString;
24671
- name: z.ZodString;
24671
+ userId: z.ZodNullable<z.ZodString>;
24672
24672
  toolId: z.ZodNullable<z.ZodString>;
24673
24673
  credentialStoreId: z.ZodString;
24674
24674
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -24678,7 +24678,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24678
24678
  readonly keychain: "keychain";
24679
24679
  readonly nango: "nango";
24680
24680
  }>;
24681
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24681
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24682
24682
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24683
24683
  name: "created_at";
24684
24684
  tableName: "tools";
@@ -24958,7 +24958,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24958
24958
  }, {}, {
24959
24959
  length: 256;
24960
24960
  }>;
24961
- }, drizzle_zod19.BuildRefine<{
24961
+ }, drizzle_zod15.BuildRefine<{
24962
24962
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24963
24963
  name: "created_at";
24964
24964
  tableName: "tools";
@@ -25256,9 +25256,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25256
25256
  }, z.core.$strip>>>;
25257
25257
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25258
25258
  id: z.ZodString;
25259
+ name: z.ZodString;
25259
25260
  createdAt: z.ZodString;
25260
25261
  updatedAt: z.ZodString;
25261
- name: z.ZodString;
25262
25262
  description: z.ZodNullable<z.ZodString>;
25263
25263
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25264
25264
  contextConfigId: z.ZodNullable<z.ZodString>;
@@ -25309,9 +25309,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25309
25309
  }, z.core.$strip>>>;
25310
25310
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25311
25311
  id: z.ZodString;
25312
+ name: z.ZodString;
25312
25313
  createdAt: z.ZodString;
25313
25314
  updatedAt: z.ZodString;
25314
- name: z.ZodString;
25315
25315
  description: z.ZodNullable<z.ZodString>;
25316
25316
  agentId: z.ZodString;
25317
25317
  functionId: z.ZodString;
@@ -25369,11 +25369,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25369
25369
  prompt: z.ZodNullable<z.ZodString>;
25370
25370
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25371
25371
  id: z.ZodString;
25372
+ name: z.ZodString;
25372
25373
  createdAt: z.ZodString;
25373
25374
  updatedAt: z.ZodString;
25374
- name: z.ZodString;
25375
25375
  description: z.ZodNullable<z.ZodString>;
25376
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25377
25376
  models: z.ZodNullable<z.ZodType<{
25378
25377
  base?: {
25379
25378
  model?: string | undefined;
@@ -25436,6 +25435,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25436
25435
  }, {
25437
25436
  stepCountIs?: number | undefined;
25438
25437
  }>>>;
25438
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25439
25439
  type: z.ZodLiteral<"internal">;
25440
25440
  canUse: z.ZodArray<z.ZodObject<{
25441
25441
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25474,9 +25474,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25474
25474
  declare const ProjectResponse: z.ZodObject<{
25475
25475
  data: z.ZodObject<{
25476
25476
  id: z.ZodString;
25477
+ name: z.ZodString;
25477
25478
  createdAt: z.ZodString;
25478
25479
  updatedAt: z.ZodString;
25479
- name: z.ZodString;
25480
25480
  description: z.ZodNullable<z.ZodString>;
25481
25481
  models: z.ZodNullable<z.ZodObject<{
25482
25482
  base: z.ZodObject<{
@@ -25766,9 +25766,9 @@ declare const ContextConfigResponse: z.ZodObject<{
25766
25766
  declare const ApiKeyResponse: z.ZodObject<{
25767
25767
  data: z.ZodObject<{
25768
25768
  id: z.ZodString;
25769
+ name: z.ZodNullable<z.ZodString>;
25769
25770
  createdAt: z.ZodString;
25770
25771
  updatedAt: z.ZodString;
25771
- name: z.ZodNullable<z.ZodString>;
25772
25772
  expiresAt: z.ZodNullable<z.ZodString>;
25773
25773
  agentId: z.ZodString;
25774
25774
  publicId: z.ZodString;
@@ -25782,10 +25782,10 @@ declare const ApiKeyResponse: z.ZodObject<{
25782
25782
  declare const CredentialReferenceResponse: z.ZodObject<{
25783
25783
  data: z.ZodObject<{
25784
25784
  id: z.ZodString;
25785
- userId: z.ZodNullable<z.ZodString>;
25785
+ name: z.ZodString;
25786
25786
  createdAt: z.ZodString;
25787
25787
  updatedAt: z.ZodString;
25788
- name: z.ZodString;
25788
+ userId: z.ZodNullable<z.ZodString>;
25789
25789
  toolId: z.ZodNullable<z.ZodString>;
25790
25790
  credentialStoreId: z.ZodString;
25791
25791
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -25795,7 +25795,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25795
25795
  readonly keychain: "keychain";
25796
25796
  readonly nango: "nango";
25797
25797
  }>;
25798
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25798
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25799
25799
  createdAt: drizzle_orm_pg_core211.PgColumn<{
25800
25800
  name: "created_at";
25801
25801
  tableName: "tools";
@@ -26075,7 +26075,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
26075
26075
  }, {}, {
26076
26076
  length: 256;
26077
26077
  }>;
26078
- }, drizzle_zod19.BuildRefine<{
26078
+ }, drizzle_zod15.BuildRefine<{
26079
26079
  createdAt: drizzle_orm_pg_core211.PgColumn<{
26080
26080
  name: "created_at";
26081
26081
  tableName: "tools";
@@ -26387,9 +26387,9 @@ declare const FunctionResponse: z.ZodObject<{
26387
26387
  declare const FunctionToolResponse: z.ZodObject<{
26388
26388
  data: z.ZodObject<{
26389
26389
  id: z.ZodString;
26390
+ name: z.ZodString;
26390
26391
  createdAt: z.ZodString;
26391
26392
  updatedAt: z.ZodString;
26392
- name: z.ZodString;
26393
26393
  description: z.ZodNullable<z.ZodString>;
26394
26394
  agentId: z.ZodString;
26395
26395
  functionId: z.ZodString;
@@ -26401,7 +26401,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
26401
26401
  createdAt: z.ZodString;
26402
26402
  updatedAt: z.ZodString;
26403
26403
  functionToolId: z.ZodString;
26404
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26404
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26405
26405
  subAgentId: z.ZodString;
26406
26406
  agentId: z.ZodString;
26407
26407
  projectId: z.ZodString;
@@ -26477,9 +26477,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26477
26477
  createdAt: z.ZodString;
26478
26478
  updatedAt: z.ZodString;
26479
26479
  toolId: z.ZodString;
26480
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26481
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26482
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26480
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26481
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26482
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26483
26483
  subAgentId: z.ZodString;
26484
26484
  agentId: z.ZodString;
26485
26485
  projectId: z.ZodString;
@@ -26549,10 +26549,10 @@ declare const TriggerResponse: z.ZodObject<{
26549
26549
  createdAt: z.ZodString;
26550
26550
  updatedAt: z.ZodString;
26551
26551
  enabled: z.ZodBoolean;
26552
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26553
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26552
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26553
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26554
26554
  messageTemplate: z.ZodNullable<z.ZodString>;
26555
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26555
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26556
26556
  name: z.ZodString;
26557
26557
  description: z.ZodNullable<z.ZodString>;
26558
26558
  agentId: z.ZodString;
@@ -26574,8 +26574,8 @@ declare const TriggerResponse: z.ZodObject<{
26574
26574
  }>;
26575
26575
  signature: z.ZodObject<{
26576
26576
  source: z.ZodEnum<{
26577
- body: "body";
26578
26577
  query: "query";
26578
+ body: "body";
26579
26579
  header: "header";
26580
26580
  }>;
26581
26581
  key: z.ZodString;
@@ -26584,9 +26584,9 @@ declare const TriggerResponse: z.ZodObject<{
26584
26584
  }, z.core.$strip>;
26585
26585
  signedComponents: z.ZodArray<z.ZodObject<{
26586
26586
  source: z.ZodEnum<{
26587
+ literal: "literal";
26587
26588
  body: "body";
26588
26589
  header: "header";
26589
- literal: "literal";
26590
26590
  }>;
26591
26591
  key: z.ZodOptional<z.ZodString>;
26592
26592
  value: z.ZodOptional<z.ZodString>;
@@ -26612,8 +26612,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26612
26612
  triggerId: z.ZodString;
26613
26613
  conversationId: z.ZodNullable<z.ZodString>;
26614
26614
  status: z.ZodString;
26615
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26616
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26615
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26616
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26617
26617
  errorMessage: z.ZodNullable<z.ZodString>;
26618
26618
  createdAt: z.ZodString;
26619
26619
  agentId: z.ZodString;
@@ -26625,9 +26625,9 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26625
26625
  declare const ProjectListResponse: z.ZodObject<{
26626
26626
  data: z.ZodArray<z.ZodObject<{
26627
26627
  id: z.ZodString;
26628
+ name: z.ZodString;
26628
26629
  createdAt: z.ZodString;
26629
26630
  updatedAt: z.ZodString;
26630
- name: z.ZodString;
26631
26631
  description: z.ZodNullable<z.ZodString>;
26632
26632
  models: z.ZodNullable<z.ZodObject<{
26633
26633
  base: z.ZodObject<{
@@ -26953,9 +26953,9 @@ declare const ContextConfigListResponse: z.ZodObject<{
26953
26953
  declare const ApiKeyListResponse: z.ZodObject<{
26954
26954
  data: z.ZodArray<z.ZodObject<{
26955
26955
  id: z.ZodString;
26956
+ name: z.ZodNullable<z.ZodString>;
26956
26957
  createdAt: z.ZodString;
26957
26958
  updatedAt: z.ZodString;
26958
- name: z.ZodNullable<z.ZodString>;
26959
26959
  expiresAt: z.ZodNullable<z.ZodString>;
26960
26960
  agentId: z.ZodString;
26961
26961
  publicId: z.ZodString;
@@ -26975,10 +26975,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
26975
26975
  declare const CredentialReferenceListResponse: z.ZodObject<{
26976
26976
  data: z.ZodArray<z.ZodObject<{
26977
26977
  id: z.ZodString;
26978
- userId: z.ZodNullable<z.ZodString>;
26978
+ name: z.ZodString;
26979
26979
  createdAt: z.ZodString;
26980
26980
  updatedAt: z.ZodString;
26981
- name: z.ZodString;
26981
+ userId: z.ZodNullable<z.ZodString>;
26982
26982
  toolId: z.ZodNullable<z.ZodString>;
26983
26983
  credentialStoreId: z.ZodString;
26984
26984
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -26988,7 +26988,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26988
26988
  readonly keychain: "keychain";
26989
26989
  readonly nango: "nango";
26990
26990
  }>;
26991
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26991
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26992
26992
  createdAt: drizzle_orm_pg_core211.PgColumn<{
26993
26993
  name: "created_at";
26994
26994
  tableName: "tools";
@@ -27268,7 +27268,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
27268
27268
  }, {}, {
27269
27269
  length: 256;
27270
27270
  }>;
27271
- }, drizzle_zod19.BuildRefine<{
27271
+ }, drizzle_zod15.BuildRefine<{
27272
27272
  createdAt: drizzle_orm_pg_core211.PgColumn<{
27273
27273
  name: "created_at";
27274
27274
  tableName: "tools";
@@ -27592,9 +27592,9 @@ declare const FunctionListResponse: z.ZodObject<{
27592
27592
  declare const FunctionToolListResponse: z.ZodObject<{
27593
27593
  data: z.ZodArray<z.ZodObject<{
27594
27594
  id: z.ZodString;
27595
+ name: z.ZodString;
27595
27596
  createdAt: z.ZodString;
27596
27597
  updatedAt: z.ZodString;
27597
- name: z.ZodString;
27598
27598
  description: z.ZodNullable<z.ZodString>;
27599
27599
  agentId: z.ZodString;
27600
27600
  functionId: z.ZodString;
@@ -27612,7 +27612,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
27612
27612
  createdAt: z.ZodString;
27613
27613
  updatedAt: z.ZodString;
27614
27614
  functionToolId: z.ZodString;
27615
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27615
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27616
27616
  subAgentId: z.ZodString;
27617
27617
  agentId: z.ZodString;
27618
27618
  projectId: z.ZodString;
@@ -27712,9 +27712,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27712
27712
  createdAt: z.ZodString;
27713
27713
  updatedAt: z.ZodString;
27714
27714
  toolId: z.ZodString;
27715
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27716
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27717
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27715
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27716
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27717
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27718
27718
  subAgentId: z.ZodString;
27719
27719
  agentId: z.ZodString;
27720
27720
  projectId: z.ZodString;
@@ -27802,10 +27802,10 @@ declare const TriggerListResponse: z.ZodObject<{
27802
27802
  createdAt: z.ZodString;
27803
27803
  updatedAt: z.ZodString;
27804
27804
  enabled: z.ZodBoolean;
27805
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27806
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27805
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27806
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27807
27807
  messageTemplate: z.ZodNullable<z.ZodString>;
27808
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27808
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27809
27809
  name: z.ZodString;
27810
27810
  description: z.ZodNullable<z.ZodString>;
27811
27811
  agentId: z.ZodString;
@@ -27827,8 +27827,8 @@ declare const TriggerListResponse: z.ZodObject<{
27827
27827
  }>;
27828
27828
  signature: z.ZodObject<{
27829
27829
  source: z.ZodEnum<{
27830
- body: "body";
27831
27830
  query: "query";
27831
+ body: "body";
27832
27832
  header: "header";
27833
27833
  }>;
27834
27834
  key: z.ZodString;
@@ -27837,9 +27837,9 @@ declare const TriggerListResponse: z.ZodObject<{
27837
27837
  }, z.core.$strip>;
27838
27838
  signedComponents: z.ZodArray<z.ZodObject<{
27839
27839
  source: z.ZodEnum<{
27840
+ literal: "literal";
27840
27841
  body: "body";
27841
27842
  header: "header";
27842
- literal: "literal";
27843
27843
  }>;
27844
27844
  key: z.ZodOptional<z.ZodString>;
27845
27845
  value: z.ZodOptional<z.ZodString>;
@@ -27871,8 +27871,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27871
27871
  triggerId: z.ZodString;
27872
27872
  conversationId: z.ZodNullable<z.ZodString>;
27873
27873
  status: z.ZodString;
27874
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27875
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27874
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27875
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27876
27876
  errorMessage: z.ZodNullable<z.ZodString>;
27877
27877
  createdAt: z.ZodString;
27878
27878
  agentId: z.ZodString;
@@ -27889,16 +27889,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27889
27889
  }, z.core.$strip>;
27890
27890
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27891
27891
  data: z.ZodObject<{
27892
- enabled: z.ZodBoolean;
27893
27892
  id: z.ZodString;
27893
+ name: z.ZodString;
27894
27894
  createdAt: z.ZodString;
27895
27895
  updatedAt: z.ZodString;
27896
- name: z.ZodString;
27897
27896
  description: z.ZodNullable<z.ZodString>;
27898
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27899
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27897
+ enabled: z.ZodBoolean;
27898
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27899
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27900
27900
  messageTemplate: z.ZodNullable<z.ZodString>;
27901
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27901
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27902
27902
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27903
27903
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27904
27904
  algorithm: z.ZodEnum<{
@@ -27914,8 +27914,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27914
27914
  }>;
27915
27915
  signature: z.ZodObject<{
27916
27916
  source: z.ZodEnum<{
27917
- body: "body";
27918
27917
  query: "query";
27918
+ body: "body";
27919
27919
  header: "header";
27920
27920
  }>;
27921
27921
  key: z.ZodString;
@@ -27924,9 +27924,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27924
27924
  }, z.core.$strip>;
27925
27925
  signedComponents: z.ZodArray<z.ZodObject<{
27926
27926
  source: z.ZodEnum<{
27927
+ literal: "literal";
27927
27928
  body: "body";
27928
27929
  header: "header";
27929
- literal: "literal";
27930
27930
  }>;
27931
27931
  key: z.ZodOptional<z.ZodString>;
27932
27932
  value: z.ZodOptional<z.ZodString>;
@@ -27950,16 +27950,16 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27950
27950
  }, z.core.$strip>;
27951
27951
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27952
27952
  data: z.ZodArray<z.ZodObject<{
27953
- enabled: z.ZodBoolean;
27954
27953
  id: z.ZodString;
27954
+ name: z.ZodString;
27955
27955
  createdAt: z.ZodString;
27956
27956
  updatedAt: z.ZodString;
27957
- name: z.ZodString;
27958
27957
  description: z.ZodNullable<z.ZodString>;
27959
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27960
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27958
+ enabled: z.ZodBoolean;
27959
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27960
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27961
27961
  messageTemplate: z.ZodNullable<z.ZodString>;
27962
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27962
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27963
27963
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27964
27964
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27965
27965
  algorithm: z.ZodEnum<{
@@ -27975,8 +27975,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27975
27975
  }>;
27976
27976
  signature: z.ZodObject<{
27977
27977
  source: z.ZodEnum<{
27978
- body: "body";
27979
27978
  query: "query";
27979
+ body: "body";
27980
27980
  header: "header";
27981
27981
  }>;
27982
27982
  key: z.ZodString;
@@ -27985,9 +27985,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27985
27985
  }, z.core.$strip>;
27986
27986
  signedComponents: z.ZodArray<z.ZodObject<{
27987
27987
  source: z.ZodEnum<{
27988
+ literal: "literal";
27988
27989
  body: "body";
27989
27990
  header: "header";
27990
- literal: "literal";
27991
27991
  }>;
27992
27992
  key: z.ZodOptional<z.ZodString>;
27993
27993
  value: z.ZodOptional<z.ZodString>;
@@ -28095,20 +28095,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28095
28095
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28096
28096
  }, z.core.$strip>>;
28097
28097
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28098
+ name: z.ZodString;
28098
28099
  createdAt: z.ZodOptional<z.ZodString>;
28099
28100
  updatedAt: z.ZodOptional<z.ZodString>;
28100
- name: z.ZodString;
28101
28101
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28102
28102
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28103
28103
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28104
28104
  id: z.ZodString;
28105
28105
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28106
28106
  id: z.ZodString;
28107
+ name: z.ZodString;
28107
28108
  createdAt: z.ZodOptional<z.ZodString>;
28108
28109
  updatedAt: z.ZodOptional<z.ZodString>;
28109
- name: z.ZodString;
28110
28110
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28111
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
28112
28111
  models: z.ZodOptional<z.ZodObject<{
28113
28112
  base: z.ZodOptional<z.ZodObject<{
28114
28113
  model: z.ZodOptional<z.ZodString>;
@@ -28132,6 +28131,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28132
28131
  }, {
28133
28132
  stepCountIs?: number | undefined;
28134
28133
  }>>>>;
28134
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
28135
28135
  type: z.ZodLiteral<"internal">;
28136
28136
  canUse: z.ZodArray<z.ZodObject<{
28137
28137
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28234,17 +28234,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28234
28234
  executeCode: z.ZodString;
28235
28235
  }, z.core.$strip>>>;
28236
28236
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
28237
- enabled: z.ZodOptional<z.ZodBoolean>;
28237
+ name: z.ZodString;
28238
28238
  createdAt: z.ZodOptional<z.ZodString>;
28239
28239
  updatedAt: z.ZodOptional<z.ZodString>;
28240
- name: z.ZodString;
28241
28240
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28242
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28243
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28241
+ enabled: z.ZodOptional<z.ZodBoolean>;
28242
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28243
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28244
28244
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28245
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28245
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28246
28246
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28247
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28247
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28248
28248
  id: z.ZodOptional<z.ZodString>;
28249
28249
  }, z.core.$strip>>>;
28250
28250
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -28420,10 +28420,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28420
28420
  }, z.core.$strip>>;
28421
28421
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
28422
28422
  id: z.ZodString;
28423
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28423
+ name: z.ZodString;
28424
28424
  createdAt: z.ZodOptional<z.ZodString>;
28425
28425
  updatedAt: z.ZodOptional<z.ZodString>;
28426
- name: z.ZodString;
28426
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28427
28427
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28428
28428
  credentialStoreId: z.ZodString;
28429
28429
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -28444,9 +28444,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28444
28444
  declare const FullProjectSelectResponse: z.ZodObject<{
28445
28445
  data: z.ZodObject<{
28446
28446
  id: z.ZodString;
28447
+ name: z.ZodString;
28447
28448
  createdAt: z.ZodString;
28448
28449
  updatedAt: z.ZodString;
28449
- name: z.ZodString;
28450
28450
  description: z.ZodNullable<z.ZodString>;
28451
28451
  models: z.ZodNullable<z.ZodObject<{
28452
28452
  base: z.ZodObject<{
@@ -28468,19 +28468,18 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28468
28468
  }, z.core.$strip>>;
28469
28469
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28470
28470
  id: z.ZodString;
28471
+ name: z.ZodString;
28471
28472
  createdAt: z.ZodString;
28472
28473
  updatedAt: z.ZodString;
28473
- name: z.ZodString;
28474
28474
  description: z.ZodNullable<z.ZodString>;
28475
28475
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28476
28476
  contextConfigId: z.ZodNullable<z.ZodString>;
28477
28477
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28478
28478
  id: z.ZodString;
28479
+ name: z.ZodString;
28479
28480
  createdAt: z.ZodString;
28480
28481
  updatedAt: z.ZodString;
28481
- name: z.ZodString;
28482
28482
  description: z.ZodNullable<z.ZodString>;
28483
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28484
28483
  models: z.ZodNullable<z.ZodType<{
28485
28484
  base?: {
28486
28485
  model?: string | undefined;
@@ -28543,6 +28542,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28543
28542
  }, {
28544
28543
  stepCountIs?: number | undefined;
28545
28544
  }>>>;
28545
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28546
28546
  type: z.ZodLiteral<"internal">;
28547
28547
  canUse: z.ZodArray<z.ZodObject<{
28548
28548
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28614,9 +28614,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28614
28614
  }, z.core.$strip>>>;
28615
28615
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28616
28616
  id: z.ZodString;
28617
+ name: z.ZodString;
28617
28618
  createdAt: z.ZodString;
28618
28619
  updatedAt: z.ZodString;
28619
- name: z.ZodString;
28620
28620
  description: z.ZodNullable<z.ZodString>;
28621
28621
  agentId: z.ZodString;
28622
28622
  functionId: z.ZodString;
@@ -28704,9 +28704,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28704
28704
  }>, z.core.$strip>>;
28705
28705
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28706
28706
  id: z.ZodString;
28707
+ name: z.ZodString;
28707
28708
  createdAt: z.ZodString;
28708
28709
  updatedAt: z.ZodString;
28709
- name: z.ZodString;
28710
28710
  description: z.ZodNullable<z.ZodString>;
28711
28711
  agentId: z.ZodString;
28712
28712
  functionId: z.ZodString;
@@ -28796,10 +28796,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28796
28796
  }, z.core.$strip>>;
28797
28797
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28798
28798
  id: z.ZodString;
28799
- userId: z.ZodNullable<z.ZodString>;
28799
+ name: z.ZodString;
28800
28800
  createdAt: z.ZodString;
28801
28801
  updatedAt: z.ZodString;
28802
- name: z.ZodString;
28802
+ userId: z.ZodNullable<z.ZodString>;
28803
28803
  toolId: z.ZodNullable<z.ZodString>;
28804
28804
  credentialStoreId: z.ZodString;
28805
28805
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28809,7 +28809,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28809
28809
  readonly keychain: "keychain";
28810
28810
  readonly nango: "nango";
28811
28811
  }>;
28812
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28812
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28813
28813
  createdAt: drizzle_orm_pg_core211.PgColumn<{
28814
28814
  name: "created_at";
28815
28815
  tableName: "tools";
@@ -29089,7 +29089,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
29089
29089
  }, {}, {
29090
29090
  length: 256;
29091
29091
  }>;
29092
- }, drizzle_zod19.BuildRefine<{
29092
+ }, drizzle_zod15.BuildRefine<{
29093
29093
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29094
29094
  name: "created_at";
29095
29095
  tableName: "tools";
@@ -29393,9 +29393,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
29393
29393
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29394
29394
  data: z.ZodObject<{
29395
29395
  id: z.ZodString;
29396
+ name: z.ZodString;
29396
29397
  createdAt: z.ZodString;
29397
29398
  updatedAt: z.ZodString;
29398
- name: z.ZodString;
29399
29399
  description: z.ZodNullable<z.ZodString>;
29400
29400
  models: z.ZodNullable<z.ZodObject<{
29401
29401
  base: z.ZodObject<{
@@ -29446,9 +29446,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29446
29446
  }>, z.core.$strip>>;
29447
29447
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29448
29448
  id: z.ZodString;
29449
+ name: z.ZodString;
29449
29450
  createdAt: z.ZodString;
29450
29451
  updatedAt: z.ZodString;
29451
- name: z.ZodString;
29452
29452
  description: z.ZodNullable<z.ZodString>;
29453
29453
  agentId: z.ZodString;
29454
29454
  functionId: z.ZodString;
@@ -29538,10 +29538,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29538
29538
  }, z.core.$strip>>;
29539
29539
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29540
29540
  id: z.ZodString;
29541
- userId: z.ZodNullable<z.ZodString>;
29541
+ name: z.ZodString;
29542
29542
  createdAt: z.ZodString;
29543
29543
  updatedAt: z.ZodString;
29544
- name: z.ZodString;
29544
+ userId: z.ZodNullable<z.ZodString>;
29545
29545
  toolId: z.ZodNullable<z.ZodString>;
29546
29546
  credentialStoreId: z.ZodString;
29547
29547
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -29551,7 +29551,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29551
29551
  readonly keychain: "keychain";
29552
29552
  readonly nango: "nango";
29553
29553
  }>;
29554
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29554
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29555
29555
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29556
29556
  name: "created_at";
29557
29557
  tableName: "tools";
@@ -29831,7 +29831,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29831
29831
  }, {}, {
29832
29832
  length: 256;
29833
29833
  }>;
29834
- }, drizzle_zod19.BuildRefine<{
29834
+ }, drizzle_zod15.BuildRefine<{
29835
29835
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29836
29836
  name: "created_at";
29837
29837
  tableName: "tools";
@@ -30129,9 +30129,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30129
30129
  }, z.core.$strip>>>;
30130
30130
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30131
30131
  id: z.ZodString;
30132
+ name: z.ZodString;
30132
30133
  createdAt: z.ZodString;
30133
30134
  updatedAt: z.ZodString;
30134
- name: z.ZodString;
30135
30135
  description: z.ZodNullable<z.ZodString>;
30136
30136
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30137
30137
  contextConfigId: z.ZodNullable<z.ZodString>;
@@ -30182,9 +30182,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30182
30182
  }, z.core.$strip>>>;
30183
30183
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30184
30184
  id: z.ZodString;
30185
+ name: z.ZodString;
30185
30186
  createdAt: z.ZodString;
30186
30187
  updatedAt: z.ZodString;
30187
- name: z.ZodString;
30188
30188
  description: z.ZodNullable<z.ZodString>;
30189
30189
  agentId: z.ZodString;
30190
30190
  functionId: z.ZodString;
@@ -30242,11 +30242,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30242
30242
  prompt: z.ZodNullable<z.ZodString>;
30243
30243
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30244
30244
  id: z.ZodString;
30245
+ name: z.ZodString;
30245
30246
  createdAt: z.ZodString;
30246
30247
  updatedAt: z.ZodString;
30247
- name: z.ZodString;
30248
30248
  description: z.ZodNullable<z.ZodString>;
30249
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30250
30249
  models: z.ZodNullable<z.ZodType<{
30251
30250
  base?: {
30252
30251
  model?: string | undefined;
@@ -30309,6 +30308,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30309
30308
  }, {
30310
30309
  stepCountIs?: number | undefined;
30311
30310
  }>>>;
30311
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30312
30312
  type: z.ZodLiteral<"internal">;
30313
30313
  canUse: z.ZodArray<z.ZodObject<{
30314
30314
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30347,20 +30347,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30347
30347
  }, z.core.$strip>;
30348
30348
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30349
30349
  data: z.ZodObject<{
30350
+ name: z.ZodString;
30350
30351
  createdAt: z.ZodOptional<z.ZodString>;
30351
30352
  updatedAt: z.ZodOptional<z.ZodString>;
30352
- name: z.ZodString;
30353
30353
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30354
30354
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30355
30355
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30356
30356
  id: z.ZodString;
30357
30357
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30358
30358
  id: z.ZodString;
30359
+ name: z.ZodString;
30359
30360
  createdAt: z.ZodOptional<z.ZodString>;
30360
30361
  updatedAt: z.ZodOptional<z.ZodString>;
30361
- name: z.ZodString;
30362
30362
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30363
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30364
30363
  models: z.ZodOptional<z.ZodObject<{
30365
30364
  base: z.ZodOptional<z.ZodObject<{
30366
30365
  model: z.ZodOptional<z.ZodString>;
@@ -30384,6 +30383,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30384
30383
  }, {
30385
30384
  stepCountIs?: number | undefined;
30386
30385
  }>>>>;
30386
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30387
30387
  type: z.ZodLiteral<"internal">;
30388
30388
  canUse: z.ZodArray<z.ZodObject<{
30389
30389
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30486,17 +30486,17 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30486
30486
  executeCode: z.ZodString;
30487
30487
  }, z.core.$strip>>>;
30488
30488
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30489
- enabled: z.ZodOptional<z.ZodBoolean>;
30489
+ name: z.ZodString;
30490
30490
  createdAt: z.ZodOptional<z.ZodString>;
30491
30491
  updatedAt: z.ZodOptional<z.ZodString>;
30492
- name: z.ZodString;
30493
30492
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30494
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30495
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30493
+ enabled: z.ZodOptional<z.ZodBoolean>;
30494
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30495
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30496
30496
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30497
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30497
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30498
30498
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30499
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30499
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30500
30500
  id: z.ZodOptional<z.ZodString>;
30501
30501
  }, z.core.$strip>>>;
30502
30502
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -30542,19 +30542,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30542
30542
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30543
30543
  data: z.ZodObject<{
30544
30544
  id: z.ZodString;
30545
+ name: z.ZodString;
30545
30546
  createdAt: z.ZodString;
30546
30547
  updatedAt: z.ZodString;
30547
- name: z.ZodString;
30548
30548
  description: z.ZodNullable<z.ZodString>;
30549
30549
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30550
30550
  contextConfigId: z.ZodNullable<z.ZodString>;
30551
30551
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30552
30552
  id: z.ZodString;
30553
+ name: z.ZodString;
30553
30554
  createdAt: z.ZodString;
30554
30555
  updatedAt: z.ZodString;
30555
- name: z.ZodString;
30556
30556
  description: z.ZodNullable<z.ZodString>;
30557
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30558
30557
  models: z.ZodNullable<z.ZodType<{
30559
30558
  base?: {
30560
30559
  model?: string | undefined;
@@ -30617,6 +30616,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30617
30616
  }, {
30618
30617
  stepCountIs?: number | undefined;
30619
30618
  }>>>;
30619
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30620
30620
  type: z.ZodLiteral<"internal">;
30621
30621
  canUse: z.ZodArray<z.ZodObject<{
30622
30622
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30688,9 +30688,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30688
30688
  }, z.core.$strip>>>;
30689
30689
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30690
30690
  id: z.ZodString;
30691
+ name: z.ZodString;
30691
30692
  createdAt: z.ZodString;
30692
30693
  updatedAt: z.ZodString;
30693
- name: z.ZodString;
30694
30694
  description: z.ZodNullable<z.ZodString>;
30695
30695
  agentId: z.ZodString;
30696
30696
  functionId: z.ZodString;
@@ -30904,7 +30904,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30904
30904
  createdAt: z.ZodString;
30905
30905
  updatedAt: z.ZodString;
30906
30906
  targetAgentId: z.ZodString;
30907
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30907
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30908
30908
  subAgentId: z.ZodString;
30909
30909
  agentId: z.ZodString;
30910
30910
  projectId: z.ZodString;
@@ -30917,7 +30917,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30917
30917
  createdAt: z.ZodString;
30918
30918
  updatedAt: z.ZodString;
30919
30919
  targetAgentId: z.ZodString;
30920
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30920
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30921
30921
  subAgentId: z.ZodString;
30922
30922
  agentId: z.ZodString;
30923
30923
  projectId: z.ZodString;
@@ -30936,7 +30936,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30936
30936
  createdAt: z.ZodString;
30937
30937
  updatedAt: z.ZodString;
30938
30938
  externalAgentId: z.ZodString;
30939
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30939
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30940
30940
  subAgentId: z.ZodString;
30941
30941
  agentId: z.ZodString;
30942
30942
  projectId: z.ZodString;
@@ -30949,7 +30949,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30949
30949
  createdAt: z.ZodString;
30950
30950
  updatedAt: z.ZodString;
30951
30951
  externalAgentId: z.ZodString;
30952
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30952
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30953
30953
  subAgentId: z.ZodString;
30954
30954
  agentId: z.ZodString;
30955
30955
  projectId: z.ZodString;
@@ -31116,7 +31116,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
31116
31116
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
31117
31117
  ref: z.ZodOptional<z.ZodString>;
31118
31118
  }, z.core.$strip>;
31119
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
31119
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
31120
31120
  id: drizzle_orm_pg_core211.PgColumn<{
31121
31121
  name: "id";
31122
31122
  tableName: "project_metadata";
@@ -31210,7 +31210,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
31210
31210
  }, {}, {
31211
31211
  length: 512;
31212
31212
  }>;
31213
- }, drizzle_zod19.BuildRefine<{
31213
+ }, drizzle_zod15.BuildRefine<{
31214
31214
  id: drizzle_orm_pg_core211.PgColumn<{
31215
31215
  name: "id";
31216
31216
  tableName: "project_metadata";
@@ -31324,7 +31324,7 @@ declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
31324
31324
  User: "User";
31325
31325
  Organization: "Organization";
31326
31326
  }>;
31327
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
31327
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
31328
31328
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31329
31329
  name: "created_at";
31330
31330
  tableName: "work_app_github_installations";
@@ -31490,7 +31490,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31490
31490
  }, {}, {
31491
31491
  length: 256;
31492
31492
  }>;
31493
- }, drizzle_zod19.BuildRefine<{
31493
+ }, drizzle_zod15.BuildRefine<{
31494
31494
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31495
31495
  name: "created_at";
31496
31496
  tableName: "work_app_github_installations";
@@ -31659,8 +31659,8 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31659
31659
  }, undefined>, undefined>;
31660
31660
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
31661
31661
  id: z.ZodString;
31662
- tenantId: z.ZodString;
31663
31662
  accountId: z.ZodString;
31663
+ tenantId: z.ZodString;
31664
31664
  installationId: z.ZodString;
31665
31665
  accountLogin: z.ZodString;
31666
31666
  accountType: z.ZodEnum<{
@@ -31690,8 +31690,8 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
31690
31690
  }>, z.core.$strip>;
31691
31691
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
31692
31692
  id: z.ZodString;
31693
- tenantId: z.ZodString;
31694
31693
  accountId: z.ZodString;
31694
+ tenantId: z.ZodString;
31695
31695
  installationId: z.ZodString;
31696
31696
  accountLogin: z.ZodString;
31697
31697
  accountType: z.ZodEnum<{
@@ -31705,7 +31705,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
31705
31705
  disconnected: "disconnected";
31706
31706
  }>>>;
31707
31707
  }>, z.core.$strip>;
31708
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
31708
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
31709
31709
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31710
31710
  name: "created_at";
31711
31711
  tableName: "work_app_github_repositories";
@@ -31850,7 +31850,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
31850
31850
  identity: undefined;
31851
31851
  generated: undefined;
31852
31852
  }, {}, {}>;
31853
- }, drizzle_zod19.BuildRefine<{
31853
+ }, drizzle_zod15.BuildRefine<{
31854
31854
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31855
31855
  name: "created_at";
31856
31856
  tableName: "work_app_github_repositories";
@@ -32016,7 +32016,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
32016
32016
  repositoryFullName: z.ZodString;
32017
32017
  private: z.ZodOptional<z.ZodBoolean>;
32018
32018
  }>>, z.core.$strip>;
32019
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
32019
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
32020
32020
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32021
32021
  name: "created_at";
32022
32022
  tableName: "work_app_github_project_repository_access";
@@ -32127,7 +32127,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
32127
32127
  }, {}, {
32128
32128
  length: 256;
32129
32129
  }>;
32130
- }, drizzle_zod19.BuildRefine<{
32130
+ }, drizzle_zod15.BuildRefine<{
32131
32131
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32132
32132
  name: "created_at";
32133
32133
  tableName: "work_app_github_project_repository_access";
@@ -32239,7 +32239,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
32239
32239
  length: 256;
32240
32240
  }>;
32241
32241
  }, undefined>, undefined>;
32242
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
32242
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
32243
32243
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32244
32244
  name: "created_at";
32245
32245
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -32369,7 +32369,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
32369
32369
  }, {}, {
32370
32370
  length: 256;
32371
32371
  }>;
32372
- }, drizzle_zod19.BuildRefine<{
32372
+ }, drizzle_zod15.BuildRefine<{
32373
32373
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32374
32374
  name: "created_at";
32375
32375
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -32523,7 +32523,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32523
32523
  all: "all";
32524
32524
  selected: "selected";
32525
32525
  }>;
32526
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32526
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32527
32527
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32528
32528
  name: "created_at";
32529
32529
  tableName: "work_app_github_repositories";
@@ -32668,7 +32668,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32668
32668
  identity: undefined;
32669
32669
  generated: undefined;
32670
32670
  }, {}, {}>;
32671
- }, drizzle_zod19.BuildRefine<{
32671
+ }, drizzle_zod15.BuildRefine<{
32672
32672
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32673
32673
  name: "created_at";
32674
32674
  tableName: "work_app_github_repositories";