@inkeep/agents-core 0.0.0-dev-20260120230946 → 0.0.0-dev-20260121022749

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.
Files changed (65) hide show
  1. package/dist/auth/auth.d.ts +53 -53
  2. package/dist/auth/auth.js +1 -1
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/context/ContextConfig.js +3 -3
  5. package/dist/data-access/index.d.ts +5 -5
  6. package/dist/data-access/index.js +5 -5
  7. package/dist/data-access/manage/agents.d.ts +37 -37
  8. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +8 -8
  11. package/dist/data-access/manage/evalConfig.d.ts +12 -2
  12. package/dist/data-access/manage/evalConfig.js +25 -1
  13. package/dist/data-access/manage/functionTools.d.ts +14 -14
  14. package/dist/data-access/manage/projectFull.d.ts +0 -4
  15. package/dist/data-access/manage/projectFull.js +8 -21
  16. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
  18. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  19. package/dist/data-access/manage/subAgents.d.ts +27 -27
  20. package/dist/data-access/manage/tools.d.ts +41 -34
  21. package/dist/data-access/manage/tools.js +9 -1
  22. package/dist/data-access/manage/triggers.d.ts +0 -4
  23. package/dist/data-access/manage/triggers.js +1 -15
  24. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  25. package/dist/data-access/runtime/conversations.d.ts +31 -31
  26. package/dist/data-access/runtime/messages.d.ts +18 -18
  27. package/dist/data-access/runtime/organizations.d.ts +10 -1
  28. package/dist/data-access/runtime/organizations.js +13 -1
  29. package/dist/data-access/runtime/tasks.d.ts +6 -6
  30. package/dist/db/manage/manage-client.d.ts +3 -1
  31. package/dist/db/manage/manage-client.js +13 -1
  32. package/dist/db/manage/manage-schema.d.ts +375 -375
  33. package/dist/db/migrations/cleanup-old-trigger-auth.d.ts +1 -0
  34. package/dist/db/migrations/cleanup-old-trigger-auth.js +68 -0
  35. package/dist/db/runtime/runtime-schema.d.ts +181 -181
  36. package/dist/dolt/branch.d.ts +4 -53
  37. package/dist/dolt/branch.js +23 -81
  38. package/dist/dolt/branches-api.js +1 -1
  39. package/dist/dolt/index.d.ts +5 -3
  40. package/dist/dolt/index.js +5 -3
  41. package/dist/dolt/migrate-all-branches.js +1 -1
  42. package/dist/dolt/{ref.d.ts → ref-helpers.d.ts} +5 -2
  43. package/dist/dolt/{ref.js → ref-helpers.js} +15 -3
  44. package/dist/dolt/ref-middleware.d.ts +82 -0
  45. package/dist/dolt/ref-middleware.js +217 -0
  46. package/dist/dolt/ref-scope.d.ts +101 -0
  47. package/dist/dolt/ref-scope.js +231 -0
  48. package/dist/env.d.ts +2 -2
  49. package/dist/env.js +1 -1
  50. package/dist/index.d.ts +12 -10
  51. package/dist/index.js +15 -13
  52. package/dist/types/entities.d.ts +3 -2
  53. package/dist/types/index.d.ts +2 -2
  54. package/dist/utils/index.d.ts +2 -2
  55. package/dist/utils/index.js +2 -2
  56. package/dist/utils/third-party-mcp-servers/composio-client.js +23 -23
  57. package/dist/utils/trigger-auth.d.ts +37 -7
  58. package/dist/utils/trigger-auth.js +72 -77
  59. package/dist/validation/dolt-schemas.d.ts +1 -1
  60. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  61. package/dist/validation/index.d.ts +2 -2
  62. package/dist/validation/index.js +2 -2
  63. package/dist/validation/schemas.d.ts +641 -654
  64. package/dist/validation/schemas.js +23 -28
  65. package/package.json +2 -1
@@ -4,7 +4,7 @@ import "../index.js";
4
4
  import { MAX_ID_LENGTH, MIN_ID_LENGTH, URL_SAFE_ID_PATTERN, resourceIdSchema } from "./drizzle-schema-helpers.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core208 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod15 from "drizzle-zod";
7
+ import * as drizzle_zod19 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StopWhenSchema: z.ZodObject<{
@@ -77,7 +77,7 @@ type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execut
77
77
  };
78
78
  type OmitProjectScope<T> = Omit<T, 'tenantId' | 'projectId'>;
79
79
  type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
80
- declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
80
+ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
81
81
  createdAt: drizzle_orm_pg_core208.PgColumn<{
82
82
  name: "created_at";
83
83
  tableName: "sub_agents";
@@ -328,7 +328,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- }, drizzle_zod15.BuildRefine<{
331
+ }, drizzle_zod19.BuildRefine<{
332
332
  createdAt: drizzle_orm_pg_core208.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -768,10 +768,20 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
768
768
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
770
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
773
771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
774
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
775
+ stepCountIs?: number | undefined;
776
+ }, {
777
+ stepCountIs?: number | undefined;
778
+ }, z.core.$ZodTypeInternals<{
779
+ stepCountIs?: number | undefined;
780
+ }, {
781
+ stepCountIs?: number | undefined;
782
+ }>>>>>>;
783
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
784
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
775
785
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
776
786
  base: z.ZodOptional<z.ZodObject<{
777
787
  model: z.ZodOptional<z.ZodString>;
@@ -786,18 +796,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
786
796
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
787
797
  }, z.core.$strip>>;
788
798
  }, z.core.$strip>>>>;
789
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
790
- stepCountIs?: number | undefined;
791
- }, {
792
- stepCountIs?: number | undefined;
793
- }, z.core.$ZodTypeInternals<{
794
- stepCountIs?: number | undefined;
795
- }, {
796
- stepCountIs?: number | undefined;
797
- }>>>>>>;
798
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
799
799
  }, z.core.$strip>;
800
- declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
800
+ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core208.PgColumn<{
802
802
  name: "created_at";
803
803
  tableName: "sub_agent_relations";
@@ -965,7 +965,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select",
965
965
  }, {}, {
966
966
  length: 256;
967
967
  }>;
968
- }, drizzle_zod15.BuildRefine<{
968
+ }, drizzle_zod19.BuildRefine<{
969
969
  createdAt: drizzle_orm_pg_core208.PgColumn<{
970
970
  name: "created_at";
971
971
  tableName: "sub_agent_relations";
@@ -1236,7 +1236,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1236
1236
  sourceSubAgentId: z.ZodString;
1237
1237
  externalSubAgentId: z.ZodString;
1238
1238
  }>, z.core.$strip>;
1239
- declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1239
+ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1240
1240
  createdAt: drizzle_orm_pg_core208.PgColumn<{
1241
1241
  name: "created_at";
1242
1242
  tableName: "agent";
@@ -1534,7 +1534,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1534
1534
  }, {}, {
1535
1535
  length: 256;
1536
1536
  }>;
1537
- }, drizzle_zod15.BuildRefine<{
1537
+ }, drizzle_zod19.BuildRefine<{
1538
1538
  createdAt: drizzle_orm_pg_core208.PgColumn<{
1539
1539
  name: "created_at";
1540
1540
  tableName: "agent";
@@ -1833,7 +1833,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1833
1833
  length: 256;
1834
1834
  }>;
1835
1835
  }, undefined>, undefined>;
1836
- declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1836
+ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1837
1837
  createdAt: drizzle_orm_pg_core208.PgColumn<{
1838
1838
  name: "created_at";
1839
1839
  tableName: "agent";
@@ -2131,7 +2131,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2131
2131
  }, {}, {
2132
2132
  length: 256;
2133
2133
  }>;
2134
- }, drizzle_zod15.BuildRefine<Pick<{
2134
+ }, drizzle_zod19.BuildRefine<Pick<{
2135
2135
  createdAt: drizzle_orm_pg_core208.PgColumn<{
2136
2136
  name: "created_at";
2137
2137
  tableName: "agent";
@@ -2429,7 +2429,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2432
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "stopWhen" | "prompt" | "models" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2433
2433
  declare const AgentUpdateSchema: z.ZodObject<{
2434
2434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2435
2435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2697,10 +2697,19 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2697
2697
  }>, z.core.$strip>;
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
2699
  name: z.ZodString;
2700
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
2700
  createdAt: z.ZodOptional<z.ZodString>;
2703
2701
  updatedAt: z.ZodOptional<z.ZodString>;
2702
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2704
+ transferCountIs?: number | undefined;
2705
+ }, {
2706
+ transferCountIs?: number | undefined;
2707
+ }, z.core.$ZodTypeInternals<{
2708
+ transferCountIs?: number | undefined;
2709
+ }, {
2710
+ transferCountIs?: number | undefined;
2711
+ }>>>>;
2712
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
2713
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2705
2714
  base?: {
2706
2715
  model?: string | undefined;
@@ -2754,15 +2763,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2763
  providerOptions?: Record<string, any> | undefined;
2755
2764
  } | undefined;
2756
2765
  }>>>>;
2757
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
- transferCountIs?: number | undefined;
2759
- }, {
2760
- transferCountIs?: number | undefined;
2761
- }, z.core.$ZodTypeInternals<{
2762
- transferCountIs?: number | undefined;
2763
- }, {
2764
- transferCountIs?: number | undefined;
2765
- }>>>>;
2766
2766
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
2767
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2768
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2827,10 +2827,19 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2827
2827
  declare const AgentApiUpdateSchema: z.ZodObject<{
2828
2828
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2829
2829
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2830
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2832
2830
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
2831
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2833
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2834
+ transferCountIs?: number | undefined;
2835
+ }, {
2836
+ transferCountIs?: number | undefined;
2837
+ }, z.core.$ZodTypeInternals<{
2838
+ transferCountIs?: number | undefined;
2839
+ }, {
2840
+ transferCountIs?: number | undefined;
2841
+ }>>>>>>;
2842
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2834
2843
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2835
2844
  base?: {
2836
2845
  model?: string | undefined;
@@ -2884,15 +2893,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2884
2893
  providerOptions?: Record<string, any> | undefined;
2885
2894
  } | undefined;
2886
2895
  }>>>>>>;
2887
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
- transferCountIs?: number | undefined;
2889
- }, {
2890
- transferCountIs?: number | undefined;
2891
- }, z.core.$ZodTypeInternals<{
2892
- transferCountIs?: number | undefined;
2893
- }, {
2894
- transferCountIs?: number | undefined;
2895
- }>>>>>>;
2896
2896
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
2897
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2898
2898
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2953,39 +2953,56 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2953
2953
  }[] | undefined;
2954
2954
  }>>>>>>;
2955
2955
  }, z.core.$strip>;
2956
- declare const TriggerAuthenticationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2957
- type: z.ZodLiteral<"api_key">;
2958
- data: z.ZodObject<{
2956
+ declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
2957
+ name: z.ZodString;
2958
+ value: z.ZodString;
2959
+ }, z.core.$strip>;
2960
+ declare const TriggerAuthHeaderUpdateSchema: z.ZodObject<{
2961
+ name: z.ZodString;
2962
+ value: z.ZodOptional<z.ZodString>;
2963
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
2964
+ }, z.core.$strip>;
2965
+ declare const TriggerAuthenticationInputSchema: z.ZodObject<{
2966
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2959
2967
  name: z.ZodString;
2960
2968
  value: z.ZodString;
2961
- }, z.core.$strip>;
2962
- add_position: z.ZodLiteral<"header">;
2963
- }, z.core.$strip>, z.ZodObject<{
2964
- type: z.ZodLiteral<"basic_auth">;
2965
- data: z.ZodObject<{
2966
- username: z.ZodString;
2967
- password: z.ZodString;
2968
- }, z.core.$strip>;
2969
- add_position: z.ZodLiteral<"header">;
2970
- }, z.core.$strip>, z.ZodObject<{
2971
- type: z.ZodLiteral<"bearer_token">;
2972
- data: z.ZodObject<{
2973
- token: z.ZodString;
2974
- }, z.core.$strip>;
2975
- add_position: z.ZodLiteral<"header">;
2976
- }, z.core.$strip>, z.ZodObject<{
2977
- type: z.ZodLiteral<"none">;
2978
- }, z.core.$strip>], "type">;
2969
+ }, z.core.$strip>>>;
2970
+ }, z.core.$strip>;
2971
+ declare const TriggerAuthenticationUpdateSchema: z.ZodObject<{
2972
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2973
+ name: z.ZodString;
2974
+ value: z.ZodOptional<z.ZodString>;
2975
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
2976
+ }, z.core.$strip>>>;
2977
+ }, z.core.$strip>;
2978
+ declare const TriggerAuthHeaderStoredSchema: z.ZodObject<{
2979
+ name: z.ZodString;
2980
+ valueHash: z.ZodString;
2981
+ valuePrefix: z.ZodString;
2982
+ }, z.core.$strip>;
2983
+ declare const TriggerAuthenticationStoredSchema: z.ZodObject<{
2984
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2985
+ name: z.ZodString;
2986
+ valueHash: z.ZodString;
2987
+ valuePrefix: z.ZodString;
2988
+ }, z.core.$strip>>>;
2989
+ }, z.core.$strip>;
2990
+ declare const TriggerAuthenticationSchema: z.ZodObject<{
2991
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2992
+ name: z.ZodString;
2993
+ value: z.ZodString;
2994
+ }, z.core.$strip>>>;
2995
+ }, z.core.$strip>;
2979
2996
  declare const TriggerOutputTransformSchema: z.ZodObject<{
2980
2997
  jmespath: z.ZodOptional<z.ZodString>;
2981
2998
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2982
2999
  }, z.core.$strip>;
2983
3000
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
2984
- success: "success";
2985
3001
  pending: "pending";
3002
+ success: "success";
2986
3003
  failed: "failed";
2987
3004
  }>;
2988
- declare const TriggerSelectSchema: drizzle_zod15.BuildSchema<"select", {
3005
+ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
2989
3006
  createdAt: drizzle_orm_pg_core208.PgColumn<{
2990
3007
  name: "created_at";
2991
3008
  tableName: "triggers";
@@ -3246,7 +3263,7 @@ declare const TriggerSelectSchema: drizzle_zod15.BuildSchema<"select", {
3246
3263
  }, {}, {
3247
3264
  length: 256;
3248
3265
  }>;
3249
- }, drizzle_zod15.BuildRefine<{
3266
+ }, drizzle_zod19.BuildRefine<{
3250
3267
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3251
3268
  name: "created_at";
3252
3269
  tableName: "triggers";
@@ -3508,7 +3525,7 @@ declare const TriggerSelectSchema: drizzle_zod15.BuildSchema<"select", {
3508
3525
  length: 256;
3509
3526
  }>;
3510
3527
  }, undefined>, undefined>;
3511
- declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3528
+ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3512
3529
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3513
3530
  name: "created_at";
3514
3531
  tableName: "triggers";
@@ -3769,7 +3786,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3769
3786
  }, {}, {
3770
3787
  length: 256;
3771
3788
  }>;
3772
- }, drizzle_zod15.BuildRefine<Pick<{
3789
+ }, drizzle_zod19.BuildRefine<Pick<{
3773
3790
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3774
3791
  name: "created_at";
3775
3792
  tableName: "triggers";
@@ -4030,7 +4047,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4030
4047
  }, {}, {
4031
4048
  length: 256;
4032
4049
  }>;
4033
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4050
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "inputSchema" | "agentId" | "projectId" | "tenantId" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4034
4051
  declare const TriggerUpdateSchema: z.ZodObject<{
4035
4052
  name: z.ZodOptional<z.ZodString>;
4036
4053
  description: z.ZodOptional<z.ZodString>;
@@ -4041,30 +4058,15 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4041
4058
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4042
4059
  }, z.core.$strip>>;
4043
4060
  messageTemplate: z.ZodOptional<z.ZodString>;
4044
- authentication: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4045
- type: z.ZodLiteral<"api_key">;
4046
- data: z.ZodObject<{
4061
+ authentication: z.ZodOptional<z.ZodObject<{
4062
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4047
4063
  name: z.ZodString;
4048
- value: z.ZodString;
4049
- }, z.core.$strip>;
4050
- add_position: z.ZodLiteral<"header">;
4051
- }, z.core.$strip>, z.ZodObject<{
4052
- type: z.ZodLiteral<"basic_auth">;
4053
- data: z.ZodObject<{
4054
- username: z.ZodString;
4055
- password: z.ZodString;
4056
- }, z.core.$strip>;
4057
- add_position: z.ZodLiteral<"header">;
4058
- }, z.core.$strip>, z.ZodObject<{
4059
- type: z.ZodLiteral<"bearer_token">;
4060
- data: z.ZodObject<{
4061
- token: z.ZodString;
4062
- }, z.core.$strip>;
4063
- add_position: z.ZodLiteral<"header">;
4064
- }, z.core.$strip>, z.ZodObject<{
4065
- type: z.ZodLiteral<"none">;
4066
- }, z.core.$strip>], "type">>;
4064
+ value: z.ZodOptional<z.ZodString>;
4065
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
4066
+ }, z.core.$strip>>>;
4067
+ }, z.core.$strip>>;
4067
4068
  signingSecret: z.ZodOptional<z.ZodString>;
4069
+ keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4068
4070
  }, z.core.$strip>;
4069
4071
  declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4070
4072
  createdAt: z.ZodString;
@@ -4085,7 +4087,7 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4085
4087
  objectTransformation?: Record<string, string>;
4086
4088
  }>>>;
4087
4089
  messageTemplate: z.ZodString;
4088
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4090
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4089
4091
  signingSecret: z.ZodNullable<z.ZodString>;
4090
4092
  name: z.ZodString;
4091
4093
  description: z.ZodNullable<z.ZodString>;
@@ -4096,9 +4098,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4096
4098
  }>, z.core.$strip>;
4097
4099
  declare const TriggerApiInsertSchema: z.ZodObject<{
4098
4100
  name: z.ZodString;
4099
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4100
4101
  createdAt: z.ZodOptional<z.ZodString>;
4101
4102
  updatedAt: z.ZodOptional<z.ZodString>;
4103
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4102
4104
  enabled: z.ZodOptional<z.ZodBoolean>;
4103
4105
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4104
4106
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -4115,7 +4117,7 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4115
4117
  objectTransformation?: Record<string, string>;
4116
4118
  }>>>>;
4117
4119
  messageTemplate: z.ZodString;
4118
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4120
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4119
4121
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4120
4122
  id: z.ZodOptional<z.ZodString>;
4121
4123
  }, z.core.$strip>;
@@ -4129,32 +4131,17 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4129
4131
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4130
4132
  }, z.core.$strip>>;
4131
4133
  messageTemplate: z.ZodOptional<z.ZodString>;
4132
- authentication: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4133
- type: z.ZodLiteral<"api_key">;
4134
- data: z.ZodObject<{
4134
+ authentication: z.ZodOptional<z.ZodObject<{
4135
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4135
4136
  name: z.ZodString;
4136
- value: z.ZodString;
4137
- }, z.core.$strip>;
4138
- add_position: z.ZodLiteral<"header">;
4139
- }, z.core.$strip>, z.ZodObject<{
4140
- type: z.ZodLiteral<"basic_auth">;
4141
- data: z.ZodObject<{
4142
- username: z.ZodString;
4143
- password: z.ZodString;
4144
- }, z.core.$strip>;
4145
- add_position: z.ZodLiteral<"header">;
4146
- }, z.core.$strip>, z.ZodObject<{
4147
- type: z.ZodLiteral<"bearer_token">;
4148
- data: z.ZodObject<{
4149
- token: z.ZodString;
4150
- }, z.core.$strip>;
4151
- add_position: z.ZodLiteral<"header">;
4152
- }, z.core.$strip>, z.ZodObject<{
4153
- type: z.ZodLiteral<"none">;
4154
- }, z.core.$strip>], "type">>;
4137
+ value: z.ZodOptional<z.ZodString>;
4138
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
4139
+ }, z.core.$strip>>>;
4140
+ }, z.core.$strip>>;
4155
4141
  signingSecret: z.ZodOptional<z.ZodString>;
4142
+ keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4156
4143
  }, z.core.$strip>;
4157
- declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4144
+ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4158
4145
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4159
4146
  name: "trigger_id";
4160
4147
  tableName: "trigger_invocations";
@@ -4356,7 +4343,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4356
4343
  }, {}, {
4357
4344
  length: 256;
4358
4345
  }>;
4359
- }, drizzle_zod15.BuildRefine<{
4346
+ }, drizzle_zod19.BuildRefine<{
4360
4347
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4361
4348
  name: "trigger_id";
4362
4349
  tableName: "trigger_invocations";
@@ -4559,7 +4546,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4559
4546
  length: 256;
4560
4547
  }>;
4561
4548
  }, undefined>, undefined>;
4562
- declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4549
+ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4563
4550
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4564
4551
  name: "trigger_id";
4565
4552
  tableName: "trigger_invocations";
@@ -4761,7 +4748,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4761
4748
  }, {}, {
4762
4749
  length: 256;
4763
4750
  }>;
4764
- }, drizzle_zod15.BuildRefine<Pick<{
4751
+ }, drizzle_zod19.BuildRefine<Pick<{
4765
4752
  triggerId: drizzle_orm_pg_core208.PgColumn<{
4766
4753
  name: "trigger_id";
4767
4754
  tableName: "trigger_invocations";
@@ -4963,13 +4950,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4963
4950
  }, {}, {
4964
4951
  length: 256;
4965
4952
  }>;
4966
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4953
+ }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4967
4954
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4968
4955
  triggerId: z.ZodOptional<z.ZodString>;
4969
4956
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4970
4957
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4971
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4972
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4958
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4959
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4973
4960
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4974
4961
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4975
4962
  agentId: z.ZodOptional<z.ZodString>;
@@ -4984,8 +4971,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4984
4971
  triggerId: z.ZodString;
4985
4972
  conversationId: z.ZodNullable<z.ZodString>;
4986
4973
  status: z.ZodString;
4987
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4988
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4974
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4975
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4989
4976
  errorMessage: z.ZodNullable<z.ZodString>;
4990
4977
  createdAt: z.ZodString;
4991
4978
  agentId: z.ZodString;
@@ -4998,8 +4985,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4998
4985
  status: z.ZodOptional<z.ZodString>;
4999
4986
  triggerId: z.ZodString;
5000
4987
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5001
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5002
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4988
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4989
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5003
4990
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5004
4991
  id: z.ZodString;
5005
4992
  }, z.core.$strip>;
@@ -5009,11 +4996,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5009
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5010
4997
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5011
4998
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5012
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5013
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4999
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5000
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5014
5001
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5015
5002
  }, z.core.$strip>;
5016
- declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5003
+ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5017
5004
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5018
5005
  name: "created_at";
5019
5006
  tableName: "tasks";
@@ -5073,7 +5060,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5073
5060
  dataType: "json";
5074
5061
  columnType: "PgJsonb";
5075
5062
  data: {
5076
- type: "tag" | "commit" | "branch";
5063
+ type: "commit" | "tag" | "branch";
5077
5064
  name: string;
5078
5065
  hash: string;
5079
5066
  };
@@ -5089,7 +5076,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5089
5076
  generated: undefined;
5090
5077
  }, {}, {
5091
5078
  $type: {
5092
- type: "tag" | "commit" | "branch";
5079
+ type: "commit" | "tag" | "branch";
5093
5080
  name: string;
5094
5081
  hash: string;
5095
5082
  };
@@ -5227,7 +5214,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5227
5214
  }, {}, {
5228
5215
  length: 256;
5229
5216
  }>;
5230
- }, drizzle_zod15.BuildRefine<{
5217
+ }, drizzle_zod19.BuildRefine<{
5231
5218
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5232
5219
  name: "created_at";
5233
5220
  tableName: "tasks";
@@ -5287,7 +5274,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5287
5274
  dataType: "json";
5288
5275
  columnType: "PgJsonb";
5289
5276
  data: {
5290
- type: "tag" | "commit" | "branch";
5277
+ type: "commit" | "tag" | "branch";
5291
5278
  name: string;
5292
5279
  hash: string;
5293
5280
  };
@@ -5303,7 +5290,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5303
5290
  generated: undefined;
5304
5291
  }, {}, {
5305
5292
  $type: {
5306
- type: "tag" | "commit" | "branch";
5293
+ type: "commit" | "tag" | "branch";
5307
5294
  name: string;
5308
5295
  hash: string;
5309
5296
  };
@@ -5456,8 +5443,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5456
5443
  conversationId: z.ZodOptional<z.ZodString>;
5457
5444
  ref: z.ZodObject<{
5458
5445
  type: z.ZodEnum<{
5459
- tag: "tag";
5460
5446
  commit: "commit";
5447
+ tag: "tag";
5461
5448
  branch: "branch";
5462
5449
  }>;
5463
5450
  name: z.ZodString;
@@ -5481,8 +5468,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5481
5468
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5482
5469
  ref: z.ZodOptional<z.ZodObject<{
5483
5470
  type: z.ZodEnum<{
5484
- tag: "tag";
5485
5471
  commit: "commit";
5472
+ tag: "tag";
5486
5473
  branch: "branch";
5487
5474
  }>;
5488
5475
  name: z.ZodString;
@@ -5497,19 +5484,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5497
5484
  updatedAt: z.ZodString;
5498
5485
  contextId: z.ZodString;
5499
5486
  ref: z.ZodNullable<z.ZodType<{
5500
- type: "tag" | "commit" | "branch";
5487
+ type: "commit" | "tag" | "branch";
5501
5488
  name: string;
5502
5489
  hash: string;
5503
5490
  }, {
5504
- type: "tag" | "commit" | "branch";
5491
+ type: "commit" | "tag" | "branch";
5505
5492
  name: string;
5506
5493
  hash: string;
5507
5494
  }, z.core.$ZodTypeInternals<{
5508
- type: "tag" | "commit" | "branch";
5495
+ type: "commit" | "tag" | "branch";
5509
5496
  name: string;
5510
5497
  hash: string;
5511
5498
  }, {
5512
- type: "tag" | "commit" | "branch";
5499
+ type: "commit" | "tag" | "branch";
5513
5500
  name: string;
5514
5501
  hash: string;
5515
5502
  }>>>;
@@ -5535,8 +5522,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5535
5522
  conversationId: z.ZodOptional<z.ZodString>;
5536
5523
  ref: z.ZodObject<{
5537
5524
  type: z.ZodEnum<{
5538
- tag: "tag";
5539
5525
  commit: "commit";
5526
+ tag: "tag";
5540
5527
  branch: "branch";
5541
5528
  }>;
5542
5529
  name: z.ZodString;
@@ -5545,25 +5532,25 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5545
5532
  }>, z.core.$strip>;
5546
5533
  declare const TaskApiUpdateSchema: z.ZodObject<{
5547
5534
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
5535
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5550
5536
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5551
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5552
5537
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5553
5538
  type: z.ZodEnum<{
5554
- tag: "tag";
5555
5539
  commit: "commit";
5540
+ tag: "tag";
5556
5541
  branch: "branch";
5557
5542
  }>;
5558
5543
  name: z.ZodString;
5559
5544
  hash: z.ZodString;
5560
5545
  }, z.core.$strip>>>;
5546
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5561
5547
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5562
5548
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5563
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5564
5550
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5551
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5565
5552
  }, z.core.$strip>;
5566
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5553
+ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5567
5554
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5568
5555
  name: "created_at";
5569
5556
  tableName: "task_relations";
@@ -5712,7 +5699,7 @@ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5712
5699
  }, {}, {
5713
5700
  length: 256;
5714
5701
  }>;
5715
- }, drizzle_zod15.BuildRefine<{
5702
+ }, drizzle_zod19.BuildRefine<{
5716
5703
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5717
5704
  name: "created_at";
5718
5705
  tableName: "task_relations";
@@ -5937,7 +5924,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
5937
5924
  description: z.ZodOptional<z.ZodString>;
5938
5925
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5939
5926
  }, z.core.$strip>;
5940
- declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
5927
+ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
5941
5928
  createdAt: drizzle_orm_pg_core208.PgColumn<{
5942
5929
  name: "created_at";
5943
5930
  tableName: "tools";
@@ -6200,7 +6187,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6200
6187
  }, {}, {
6201
6188
  length: 256;
6202
6189
  }>;
6203
- }, drizzle_zod15.BuildRefine<{
6190
+ }, drizzle_zod19.BuildRefine<{
6204
6191
  createdAt: drizzle_orm_pg_core208.PgColumn<{
6205
6192
  name: "created_at";
6206
6193
  tableName: "tools";
@@ -6508,7 +6495,7 @@ declare const ToolInsertSchema: z.ZodObject<{
6508
6495
  out: {};
6509
6496
  in: {};
6510
6497
  }>;
6511
- declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6498
+ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6512
6499
  createdAt: drizzle_orm_pg_core208.PgColumn<{
6513
6500
  name: "created_at";
6514
6501
  tableName: "conversations";
@@ -6606,7 +6593,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6606
6593
  dataType: "json";
6607
6594
  columnType: "PgJsonb";
6608
6595
  data: {
6609
- type: "tag" | "commit" | "branch";
6596
+ type: "commit" | "tag" | "branch";
6610
6597
  name: string;
6611
6598
  hash: string;
6612
6599
  };
@@ -6622,7 +6609,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6622
6609
  generated: undefined;
6623
6610
  }, {}, {
6624
6611
  $type: {
6625
- type: "tag" | "commit" | "branch";
6612
+ type: "commit" | "tag" | "branch";
6626
6613
  name: string;
6627
6614
  hash: string;
6628
6615
  };
@@ -6737,7 +6724,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6737
6724
  }, {}, {
6738
6725
  length: 256;
6739
6726
  }>;
6740
- }, drizzle_zod15.BuildRefine<{
6727
+ }, drizzle_zod19.BuildRefine<{
6741
6728
  createdAt: drizzle_orm_pg_core208.PgColumn<{
6742
6729
  name: "created_at";
6743
6730
  tableName: "conversations";
@@ -6835,7 +6822,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6835
6822
  dataType: "json";
6836
6823
  columnType: "PgJsonb";
6837
6824
  data: {
6838
- type: "tag" | "commit" | "branch";
6825
+ type: "commit" | "tag" | "branch";
6839
6826
  name: string;
6840
6827
  hash: string;
6841
6828
  };
@@ -6851,7 +6838,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6851
6838
  generated: undefined;
6852
6839
  }, {}, {
6853
6840
  $type: {
6854
- type: "tag" | "commit" | "branch";
6841
+ type: "commit" | "tag" | "branch";
6855
6842
  name: string;
6856
6843
  hash: string;
6857
6844
  };
@@ -6982,8 +6969,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6982
6969
  contextConfigId: z.ZodOptional<z.ZodString>;
6983
6970
  ref: z.ZodObject<{
6984
6971
  type: z.ZodEnum<{
6985
- tag: "tag";
6986
6972
  commit: "commit";
6973
+ tag: "tag";
6987
6974
  branch: "branch";
6988
6975
  }>;
6989
6976
  name: z.ZodString;
@@ -7008,8 +6995,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7008
6995
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7009
6996
  ref: z.ZodOptional<z.ZodObject<{
7010
6997
  type: z.ZodEnum<{
7011
- tag: "tag";
7012
6998
  commit: "commit";
6999
+ tag: "tag";
7013
7000
  branch: "branch";
7014
7001
  }>;
7015
7002
  name: z.ZodString;
@@ -7026,19 +7013,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7026
7013
  agentId: z.ZodNullable<z.ZodString>;
7027
7014
  activeSubAgentId: z.ZodString;
7028
7015
  ref: z.ZodNullable<z.ZodType<{
7029
- type: "tag" | "commit" | "branch";
7016
+ type: "commit" | "tag" | "branch";
7030
7017
  name: string;
7031
7018
  hash: string;
7032
7019
  }, {
7033
- type: "tag" | "commit" | "branch";
7020
+ type: "commit" | "tag" | "branch";
7034
7021
  name: string;
7035
7022
  hash: string;
7036
7023
  }, z.core.$ZodTypeInternals<{
7037
- type: "tag" | "commit" | "branch";
7024
+ type: "commit" | "tag" | "branch";
7038
7025
  name: string;
7039
7026
  hash: string;
7040
7027
  }, {
7041
- type: "tag" | "commit" | "branch";
7028
+ type: "commit" | "tag" | "branch";
7042
7029
  name: string;
7043
7030
  hash: string;
7044
7031
  }>>>;
@@ -7064,8 +7051,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7064
7051
  contextConfigId: z.ZodOptional<z.ZodString>;
7065
7052
  ref: z.ZodObject<{
7066
7053
  type: z.ZodEnum<{
7067
- tag: "tag";
7068
7054
  commit: "commit";
7055
+ tag: "tag";
7069
7056
  branch: "branch";
7070
7057
  }>;
7071
7058
  name: z.ZodString;
@@ -7074,26 +7061,26 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7074
7061
  }>, z.core.$strip>;
7075
7062
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7076
7063
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7077
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7079
7064
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7080
7065
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7081
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7082
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7083
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7084
7066
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7085
7067
  type: z.ZodEnum<{
7086
- tag: "tag";
7087
7068
  commit: "commit";
7069
+ tag: "tag";
7088
7070
  branch: "branch";
7089
7071
  }>;
7090
7072
  name: z.ZodString;
7091
7073
  hash: z.ZodString;
7092
7074
  }, z.core.$strip>>>;
7075
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7076
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7077
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7079
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7093
7080
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7094
7081
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7095
7082
  }, z.core.$strip>;
7096
- declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7083
+ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7097
7084
  createdAt: drizzle_orm_pg_core208.PgColumn<{
7098
7085
  name: "created_at";
7099
7086
  tableName: "messages";
@@ -7489,7 +7476,7 @@ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7489
7476
  }, {}, {
7490
7477
  length: 256;
7491
7478
  }>;
7492
- }, drizzle_zod15.BuildRefine<{
7479
+ }, drizzle_zod19.BuildRefine<{
7493
7480
  createdAt: drizzle_orm_pg_core208.PgColumn<{
7494
7481
  name: "created_at";
7495
7482
  tableName: "messages";
@@ -7989,23 +7976,23 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7989
7976
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
7977
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7978
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
7992
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7993
7979
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7994
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7995
7980
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7996
7981
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7997
7982
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7998
7983
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7985
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7986
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7987
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7999
7988
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8000
7989
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8001
7990
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8002
7991
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8003
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8004
7992
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8005
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8006
7993
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8007
7994
  }, z.core.$strip>;
8008
- declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
7995
+ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8009
7996
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8010
7997
  name: "created_at";
8011
7998
  tableName: "context_cache";
@@ -8103,7 +8090,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8103
8090
  dataType: "json";
8104
8091
  columnType: "PgJsonb";
8105
8092
  data: {
8106
- type: "tag" | "commit" | "branch";
8093
+ type: "commit" | "tag" | "branch";
8107
8094
  name: string;
8108
8095
  hash: string;
8109
8096
  };
@@ -8119,7 +8106,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8119
8106
  generated: undefined;
8120
8107
  }, {}, {
8121
8108
  $type: {
8122
- type: "tag" | "commit" | "branch";
8109
+ type: "commit" | "tag" | "branch";
8123
8110
  name: string;
8124
8111
  hash: string;
8125
8112
  };
@@ -8255,7 +8242,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8255
8242
  }, {}, {
8256
8243
  length: 256;
8257
8244
  }>;
8258
- }, drizzle_zod15.BuildRefine<{
8245
+ }, drizzle_zod19.BuildRefine<{
8259
8246
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8260
8247
  name: "created_at";
8261
8248
  tableName: "context_cache";
@@ -8353,7 +8340,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8353
8340
  dataType: "json";
8354
8341
  columnType: "PgJsonb";
8355
8342
  data: {
8356
- type: "tag" | "commit" | "branch";
8343
+ type: "commit" | "tag" | "branch";
8357
8344
  name: string;
8358
8345
  hash: string;
8359
8346
  };
@@ -8369,7 +8356,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8369
8356
  generated: undefined;
8370
8357
  }, {}, {
8371
8358
  $type: {
8372
- type: "tag" | "commit" | "branch";
8359
+ type: "commit" | "tag" | "branch";
8373
8360
  name: string;
8374
8361
  hash: string;
8375
8362
  };
@@ -8512,7 +8499,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8512
8499
  conversationId: z.ZodString;
8513
8500
  contextConfigId: z.ZodString;
8514
8501
  contextVariableKey: z.ZodString;
8515
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8502
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8516
8503
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8517
8504
  fetchedAt: z.ZodOptional<z.ZodString>;
8518
8505
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8521,8 +8508,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8521
8508
  id: z.ZodString;
8522
8509
  ref: z.ZodObject<{
8523
8510
  type: z.ZodEnum<{
8524
- tag: "tag";
8525
8511
  commit: "commit";
8512
+ tag: "tag";
8526
8513
  branch: "branch";
8527
8514
  }>;
8528
8515
  name: z.ZodString;
@@ -8538,7 +8525,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8538
8525
  conversationId: z.ZodOptional<z.ZodString>;
8539
8526
  contextConfigId: z.ZodOptional<z.ZodString>;
8540
8527
  contextVariableKey: z.ZodOptional<z.ZodString>;
8541
- value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8528
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8542
8529
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8543
8530
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8544
8531
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8547,8 +8534,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8547
8534
  id: z.ZodOptional<z.ZodString>;
8548
8535
  ref: z.ZodOptional<z.ZodObject<{
8549
8536
  type: z.ZodEnum<{
8550
- tag: "tag";
8551
8537
  commit: "commit";
8538
+ tag: "tag";
8552
8539
  branch: "branch";
8553
8540
  }>;
8554
8541
  name: z.ZodString;
@@ -8565,23 +8552,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8565
8552
  contextConfigId: z.ZodString;
8566
8553
  contextVariableKey: z.ZodString;
8567
8554
  ref: z.ZodNullable<z.ZodType<{
8568
- type: "tag" | "commit" | "branch";
8555
+ type: "commit" | "tag" | "branch";
8569
8556
  name: string;
8570
8557
  hash: string;
8571
8558
  }, {
8572
- type: "tag" | "commit" | "branch";
8559
+ type: "commit" | "tag" | "branch";
8573
8560
  name: string;
8574
8561
  hash: string;
8575
8562
  }, z.core.$ZodTypeInternals<{
8576
- type: "tag" | "commit" | "branch";
8563
+ type: "commit" | "tag" | "branch";
8577
8564
  name: string;
8578
8565
  hash: string;
8579
8566
  }, {
8580
- type: "tag" | "commit" | "branch";
8567
+ type: "commit" | "tag" | "branch";
8581
8568
  name: string;
8582
8569
  hash: string;
8583
8570
  }>>>;
8584
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8571
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8585
8572
  requestHash: z.ZodNullable<z.ZodString>;
8586
8573
  fetchedAt: z.ZodString;
8587
8574
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8595,7 +8582,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8595
8582
  conversationId: z.ZodString;
8596
8583
  contextConfigId: z.ZodString;
8597
8584
  contextVariableKey: z.ZodString;
8598
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8585
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8599
8586
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8600
8587
  fetchedAt: z.ZodOptional<z.ZodString>;
8601
8588
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8604,8 +8591,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8604
8591
  id: z.ZodString;
8605
8592
  ref: z.ZodObject<{
8606
8593
  type: z.ZodEnum<{
8607
- tag: "tag";
8608
8594
  commit: "commit";
8595
+ tag: "tag";
8609
8596
  branch: "branch";
8610
8597
  }>;
8611
8598
  name: z.ZodString;
@@ -8614,26 +8601,26 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8614
8601
  }>, z.core.$strip>;
8615
8602
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8616
8603
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8617
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8618
8604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8619
8605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8620
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8621
8606
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8622
8607
  type: z.ZodEnum<{
8623
- tag: "tag";
8624
8608
  commit: "commit";
8609
+ tag: "tag";
8625
8610
  branch: "branch";
8626
8611
  }>;
8627
8612
  name: z.ZodString;
8628
8613
  hash: z.ZodString;
8629
8614
  }, z.core.$strip>>>;
8615
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8616
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8630
8617
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8631
8618
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8632
8619
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8633
8620
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8634
8621
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8635
8622
  }, z.core.$strip>;
8636
- declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
8623
+ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8637
8624
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8638
8625
  name: "created_at";
8639
8626
  tableName: "dataset_run";
@@ -8776,7 +8763,7 @@ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
8776
8763
  }, {}, {
8777
8764
  length: 256;
8778
8765
  }>;
8779
- }, drizzle_zod15.BuildRefine<{
8766
+ }, drizzle_zod19.BuildRefine<{
8780
8767
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8781
8768
  name: "created_at";
8782
8769
  tableName: "dataset_run";
@@ -8970,7 +8957,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8970
8957
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8971
8958
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8972
8959
  }, z.core.$strip>;
8973
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8960
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8974
8961
  createdAt: drizzle_orm_pg_core208.PgColumn<{
8975
8962
  name: "created_at";
8976
8963
  tableName: "dataset_run_conversation_relations";
@@ -9113,7 +9100,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSch
9113
9100
  }, {}, {
9114
9101
  length: 256;
9115
9102
  }>;
9116
- }, drizzle_zod15.BuildRefine<{
9103
+ }, drizzle_zod19.BuildRefine<{
9117
9104
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9118
9105
  name: "created_at";
9119
9106
  tableName: "dataset_run_conversation_relations";
@@ -9307,7 +9294,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9307
9294
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9308
9295
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9309
9296
  }, z.core.$strip>;
9310
- declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9297
+ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9311
9298
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9312
9299
  name: "created_at";
9313
9300
  tableName: "evaluation_result";
@@ -9469,7 +9456,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select",
9469
9456
  }, {}, {
9470
9457
  length: 256;
9471
9458
  }>;
9472
- }, drizzle_zod15.BuildRefine<{
9459
+ }, drizzle_zod19.BuildRefine<{
9473
9460
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9474
9461
  name: "created_at";
9475
9462
  tableName: "evaluation_result";
@@ -9675,19 +9662,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9675
9662
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9676
9663
  createdAt: z.ZodOptional<z.ZodString>;
9677
9664
  updatedAt: z.ZodOptional<z.ZodString>;
9678
- evaluatorId: z.ZodString;
9679
9665
  conversationId: z.ZodString;
9666
+ evaluatorId: z.ZodString;
9680
9667
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9681
9668
  }, z.core.$strip>;
9682
9669
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9683
9670
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9684
9671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9685
9672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9686
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9687
9673
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9688
9675
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9689
9676
  }, z.core.$strip>;
9690
- declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
9677
+ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9691
9678
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9692
9679
  name: "created_at";
9693
9680
  tableName: "evaluation_run";
@@ -9813,7 +9800,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
9813
9800
  }, {}, {
9814
9801
  length: 256;
9815
9802
  }>;
9816
- }, drizzle_zod15.BuildRefine<{
9803
+ }, drizzle_zod19.BuildRefine<{
9817
9804
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9818
9805
  name: "created_at";
9819
9806
  tableName: "evaluation_run";
@@ -9976,16 +9963,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9976
9963
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9977
9964
  createdAt: z.ZodOptional<z.ZodString>;
9978
9965
  updatedAt: z.ZodOptional<z.ZodString>;
9979
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9980
9966
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9981
9968
  }, z.core.$strip>;
9982
9969
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9983
9970
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9984
9971
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9985
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9986
9972
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9987
9974
  }, z.core.$strip>;
9988
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9975
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9989
9976
  createdAt: drizzle_orm_pg_core208.PgColumn<{
9990
9977
  name: "created_at";
9991
9978
  tableName: "evaluation_run_config";
@@ -10130,7 +10117,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select
10130
10117
  }, {}, {
10131
10118
  length: 256;
10132
10119
  }>;
10133
- }, drizzle_zod15.BuildRefine<{
10120
+ }, drizzle_zod19.BuildRefine<{
10134
10121
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10135
10122
  name: "created_at";
10136
10123
  tableName: "evaluation_run_config";
@@ -10314,30 +10301,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10314
10301
  }>, z.core.$strip>;
10315
10302
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10316
10303
  name: z.ZodString;
10317
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10318
10304
  createdAt: z.ZodOptional<z.ZodString>;
10319
10305
  updatedAt: z.ZodOptional<z.ZodString>;
10306
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10320
10307
  isActive: z.ZodOptional<z.ZodBoolean>;
10321
10308
  suiteConfigIds: z.ZodArray<z.ZodString>;
10322
10309
  }, z.core.$strip>;
10323
10310
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10324
10311
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10325
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10326
10312
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10327
10313
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10328
10315
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10329
10316
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10330
10317
  }, z.core.$strip>;
10331
10318
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10332
10319
  id: z.ZodString;
10333
10320
  name: z.ZodString;
10334
- description: z.ZodNullable<z.ZodString>;
10335
10321
  createdAt: z.ZodString;
10336
10322
  updatedAt: z.ZodString;
10323
+ description: z.ZodNullable<z.ZodString>;
10337
10324
  isActive: z.ZodBoolean;
10338
10325
  suiteConfigIds: z.ZodArray<z.ZodString>;
10339
10326
  }, z.core.$strip>;
10340
- declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10327
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10341
10328
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10342
10329
  name: "created_at";
10343
10330
  tableName: "evaluation_job_config";
@@ -10462,7 +10449,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
10462
10449
  }, {}, {
10463
10450
  length: 256;
10464
10451
  }>;
10465
- }, drizzle_zod15.BuildRefine<{
10452
+ }, drizzle_zod19.BuildRefine<{
10466
10453
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10467
10454
  name: "created_at";
10468
10455
  tableName: "evaluation_job_config";
@@ -10769,7 +10756,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10769
10756
  } | undefined;
10770
10757
  }>>>>>>>;
10771
10758
  }, z.core.$strip>;
10772
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10759
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10773
10760
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10774
10761
  name: "created_at";
10775
10762
  tableName: "evaluation_suite_config";
@@ -10897,7 +10884,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
10897
10884
  }, {}, {
10898
10885
  length: 256;
10899
10886
  }>;
10900
- }, drizzle_zod15.BuildRefine<{
10887
+ }, drizzle_zod19.BuildRefine<{
10901
10888
  createdAt: drizzle_orm_pg_core208.PgColumn<{
10902
10889
  name: "created_at";
10903
10890
  tableName: "evaluation_suite_config";
@@ -11073,7 +11060,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11073
11060
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11074
11061
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11075
11062
  }, z.core.$strip>;
11076
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11063
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11077
11064
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11078
11065
  name: "created_at";
11079
11066
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11199,7 +11186,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11199
11186
  }, {}, {
11200
11187
  length: 256;
11201
11188
  }>;
11202
- }, drizzle_zod15.BuildRefine<{
11189
+ }, drizzle_zod19.BuildRefine<{
11203
11190
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11204
11191
  name: "created_at";
11205
11192
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11362,16 +11349,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11362
11349
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11363
11350
  createdAt: z.ZodOptional<z.ZodString>;
11364
11351
  updatedAt: z.ZodOptional<z.ZodString>;
11365
- evaluationSuiteConfigId: z.ZodString;
11366
11352
  evaluationRunConfigId: z.ZodString;
11353
+ evaluationSuiteConfigId: z.ZodString;
11367
11354
  }, z.core.$strip>;
11368
11355
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11369
11356
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11370
11357
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11371
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11372
11358
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11373
11360
  }, z.core.$strip>;
11374
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11361
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11375
11362
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11376
11363
  name: "created_at";
11377
11364
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11497,7 +11484,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.Bu
11497
11484
  }, {}, {
11498
11485
  length: 256;
11499
11486
  }>;
11500
- }, drizzle_zod15.BuildRefine<{
11487
+ }, drizzle_zod19.BuildRefine<{
11501
11488
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11502
11489
  name: "created_at";
11503
11490
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11660,16 +11647,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11660
11647
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11661
11648
  createdAt: z.ZodOptional<z.ZodString>;
11662
11649
  updatedAt: z.ZodOptional<z.ZodString>;
11663
- evaluatorId: z.ZodString;
11664
11650
  evaluationJobConfigId: z.ZodString;
11651
+ evaluatorId: z.ZodString;
11665
11652
  }, z.core.$strip>;
11666
11653
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11667
11654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11668
11655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11669
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11670
11656
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11671
11658
  }, z.core.$strip>;
11672
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11659
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11673
11660
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11674
11661
  name: "created_at";
11675
11662
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11795,7 +11782,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.
11795
11782
  }, {}, {
11796
11783
  length: 256;
11797
11784
  }>;
11798
- }, drizzle_zod15.BuildRefine<{
11785
+ }, drizzle_zod19.BuildRefine<{
11799
11786
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11800
11787
  name: "created_at";
11801
11788
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11958,16 +11945,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11958
11945
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11959
11946
  createdAt: z.ZodOptional<z.ZodString>;
11960
11947
  updatedAt: z.ZodOptional<z.ZodString>;
11961
- evaluationSuiteConfigId: z.ZodString;
11962
11948
  evaluatorId: z.ZodString;
11949
+ evaluationSuiteConfigId: z.ZodString;
11963
11950
  }, z.core.$strip>;
11964
11951
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11965
11952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11966
11953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11967
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11968
11954
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11969
11956
  }, z.core.$strip>;
11970
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11957
+ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
11971
11958
  createdAt: drizzle_orm_pg_core208.PgColumn<{
11972
11959
  name: "created_at";
11973
11960
  tableName: "evaluator";
@@ -12175,7 +12162,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
12175
12162
  }, {}, {
12176
12163
  length: 256;
12177
12164
  }>;
12178
- }, drizzle_zod15.BuildRefine<{
12165
+ }, drizzle_zod19.BuildRefine<{
12179
12166
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12180
12167
  name: "created_at";
12181
12168
  tableName: "evaluator";
@@ -12467,8 +12454,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12467
12454
  }>, z.core.$strip>;
12468
12455
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12469
12456
  name: z.ZodString;
12457
+ createdAt: z.ZodOptional<z.ZodString>;
12458
+ updatedAt: z.ZodOptional<z.ZodString>;
12459
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12470
12460
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12471
- prompt: z.ZodString;
12472
12461
  model: z.ZodType<{
12473
12462
  model?: string | undefined;
12474
12463
  providerOptions?: Record<string, any> | undefined;
@@ -12482,15 +12471,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12482
12471
  model?: string | undefined;
12483
12472
  providerOptions?: Record<string, any> | undefined;
12484
12473
  }>>;
12485
- createdAt: z.ZodOptional<z.ZodString>;
12486
- updatedAt: z.ZodOptional<z.ZodString>;
12487
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12474
+ prompt: z.ZodString;
12488
12475
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12489
12476
  }, z.core.$strip>;
12490
12477
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12491
12478
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12479
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12480
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12481
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12492
12482
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12493
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12494
12483
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12495
12484
  model?: string | undefined;
12496
12485
  providerOptions?: Record<string, any> | undefined;
@@ -12504,12 +12493,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12504
12493
  model?: string | undefined;
12505
12494
  providerOptions?: Record<string, any> | undefined;
12506
12495
  }>>>>;
12507
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12508
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12509
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12496
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12510
12497
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12511
12498
  }, z.core.$strip>;
12512
- declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12499
+ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12513
12500
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12514
12501
  name: "created_at";
12515
12502
  tableName: "dataset";
@@ -12620,7 +12607,7 @@ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12620
12607
  }, {}, {
12621
12608
  length: 256;
12622
12609
  }>;
12623
- }, drizzle_zod15.BuildRefine<{
12610
+ }, drizzle_zod19.BuildRefine<{
12624
12611
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12625
12612
  name: "created_at";
12626
12613
  tableName: "dataset";
@@ -12772,7 +12759,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12772
12759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12773
12760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12774
12761
  }, z.core.$strip>;
12775
- declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12762
+ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12776
12763
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12777
12764
  name: "created_at";
12778
12765
  tableName: "dataset_item";
@@ -12958,7 +12945,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12958
12945
  }, {}, {
12959
12946
  length: 256;
12960
12947
  }>;
12961
- }, drizzle_zod15.BuildRefine<{
12948
+ }, drizzle_zod19.BuildRefine<{
12962
12949
  createdAt: drizzle_orm_pg_core208.PgColumn<{
12963
12950
  name: "created_at";
12964
12951
  tableName: "dataset_item";
@@ -13399,8 +13386,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13399
13386
  }>>>>>>;
13400
13387
  }, z.core.$strip>;
13401
13388
  declare const DatasetRunItemSchema: z.ZodObject<{
13402
- id: z.ZodOptional<z.ZodString>;
13403
13389
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13390
+ id: z.ZodOptional<z.ZodString>;
13404
13391
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13405
13392
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13406
13393
  prompt: string;
@@ -13448,8 +13435,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13448
13435
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13449
13436
  datasetRunId: z.ZodString;
13450
13437
  items: z.ZodArray<z.ZodObject<{
13451
- id: z.ZodOptional<z.ZodString>;
13452
13438
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13439
+ id: z.ZodOptional<z.ZodString>;
13453
13440
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13454
13441
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13455
13442
  prompt: string;
@@ -13527,7 +13514,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13527
13514
  }, z.core.$strip>>;
13528
13515
  }, z.core.$strip>>>;
13529
13516
  }, z.core.$strip>;
13530
- declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13517
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13531
13518
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13532
13519
  name: "created_at";
13533
13520
  tableName: "dataset_run_config";
@@ -13672,7 +13659,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select",
13672
13659
  }, {}, {
13673
13660
  length: 256;
13674
13661
  }>;
13675
- }, drizzle_zod15.BuildRefine<{
13662
+ }, drizzle_zod19.BuildRefine<{
13676
13663
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13677
13664
  name: "created_at";
13678
13665
  tableName: "dataset_run_config";
@@ -13856,19 +13843,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13856
13843
  }>, z.core.$strip>;
13857
13844
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13858
13845
  name: z.ZodString;
13859
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13860
13846
  createdAt: z.ZodOptional<z.ZodString>;
13861
13847
  updatedAt: z.ZodOptional<z.ZodString>;
13848
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13862
13849
  datasetId: z.ZodString;
13863
13850
  }, z.core.$strip>;
13864
13851
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13865
13852
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13866
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13867
13853
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13868
13854
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13855
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13869
13856
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13870
13857
  }, z.core.$strip>;
13871
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13858
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13872
13859
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13873
13860
  name: "created_at";
13874
13861
  tableName: "dataset_run_config_agent_relations";
@@ -13994,7 +13981,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSche
13994
13981
  }, {}, {
13995
13982
  length: 256;
13996
13983
  }>;
13997
- }, drizzle_zod15.BuildRefine<{
13984
+ }, drizzle_zod19.BuildRefine<{
13998
13985
  createdAt: drizzle_orm_pg_core208.PgColumn<{
13999
13986
  name: "created_at";
14000
13987
  tableName: "dataset_run_config_agent_relations";
@@ -14155,18 +14142,18 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14155
14142
  id: z.ZodString;
14156
14143
  }>, z.core.$strip>;
14157
14144
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14158
- agentId: z.ZodString;
14159
14145
  createdAt: z.ZodOptional<z.ZodString>;
14160
14146
  updatedAt: z.ZodOptional<z.ZodString>;
14147
+ agentId: z.ZodString;
14161
14148
  datasetRunConfigId: z.ZodString;
14162
14149
  }, z.core.$strip>;
14163
14150
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14164
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14165
14151
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14166
14152
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14153
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14167
14154
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14168
14155
  }, z.core.$strip>;
14169
- declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14156
+ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14170
14157
  createdAt: drizzle_orm_pg_core208.PgColumn<{
14171
14158
  name: "created_at";
14172
14159
  tableName: "data_components";
@@ -14338,7 +14325,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14338
14325
  }, {}, {
14339
14326
  length: 256;
14340
14327
  }>;
14341
- }, drizzle_zod15.BuildRefine<{
14328
+ }, drizzle_zod19.BuildRefine<{
14342
14329
  createdAt: drizzle_orm_pg_core208.PgColumn<{
14343
14330
  name: "created_at";
14344
14331
  tableName: "data_components";
@@ -14538,11 +14525,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14538
14525
  in: {};
14539
14526
  }>;
14540
14527
  declare const DataComponentBaseSchema: z.ZodObject<{
14541
- tenantId: z.ZodString;
14542
- projectId: z.ZodString;
14543
14528
  id: z.ZodString;
14544
14529
  name: z.ZodString;
14545
14530
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14531
+ projectId: z.ZodString;
14532
+ tenantId: z.ZodString;
14546
14533
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14547
14534
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14548
14535
  component: string;
@@ -14636,9 +14623,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14636
14623
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14637
14624
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14638
14625
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14639
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14640
14626
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14641
14627
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14642
14629
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
14643
14630
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14644
14631
  component: string;
@@ -14654,7 +14641,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14654
14641
  mockData: Record<string, unknown>;
14655
14642
  }>>>>>>;
14656
14643
  }, z.core.$strip>;
14657
- declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14644
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14658
14645
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
14659
14646
  name: "data_component_id";
14660
14647
  tableName: "sub_agent_data_components";
@@ -14786,7 +14773,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
14786
14773
  }, {}, {
14787
14774
  length: 256;
14788
14775
  }>;
14789
- }, drizzle_zod15.BuildRefine<{
14776
+ }, drizzle_zod19.BuildRefine<{
14790
14777
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
14791
14778
  name: "data_component_id";
14792
14779
  tableName: "sub_agent_data_components";
@@ -14919,7 +14906,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
14919
14906
  length: 256;
14920
14907
  }>;
14921
14908
  }, undefined>, undefined>;
14922
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14909
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
14923
14910
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
14924
14911
  name: "data_component_id";
14925
14912
  tableName: "sub_agent_data_components";
@@ -15051,7 +15038,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
15051
15038
  }, {}, {
15052
15039
  length: 256;
15053
15040
  }>;
15054
- }, drizzle_zod15.BuildRefine<Pick<{
15041
+ }, drizzle_zod19.BuildRefine<Pick<{
15055
15042
  dataComponentId: drizzle_orm_pg_core208.PgColumn<{
15056
15043
  name: "data_component_id";
15057
15044
  tableName: "sub_agent_data_components";
@@ -15183,7 +15170,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
15183
15170
  }, {}, {
15184
15171
  length: 256;
15185
15172
  }>;
15186
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "dataComponentId" | "subAgentId">, undefined>, undefined>;
15173
+ }, "id" | "createdAt" | "subAgentId" | "agentId" | "projectId" | "tenantId" | "dataComponentId">, undefined>, undefined>;
15187
15174
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15188
15175
  dataComponentId: z.ZodOptional<z.ZodString>;
15189
15176
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15206,9 +15193,9 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15206
15193
  id: z.ZodString;
15207
15194
  }>, z.core.$strip>;
15208
15195
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15196
+ subAgentId: z.ZodString;
15209
15197
  agentId: z.ZodString;
15210
15198
  dataComponentId: z.ZodString;
15211
- subAgentId: z.ZodString;
15212
15199
  }, {
15213
15200
  out: {};
15214
15201
  in: {};
@@ -15216,10 +15203,10 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15216
15203
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15217
15204
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15218
15205
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15219
- dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15220
15206
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
+ dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15221
15208
  }, z.core.$strip>;
15222
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15209
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15223
15210
  createdAt: drizzle_orm_pg_core208.PgColumn<{
15224
15211
  name: "created_at";
15225
15212
  tableName: "artifact_components";
@@ -15391,7 +15378,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
15391
15378
  }, {}, {
15392
15379
  length: 256;
15393
15380
  }>;
15394
- }, drizzle_zod15.BuildRefine<{
15381
+ }, drizzle_zod19.BuildRefine<{
15395
15382
  createdAt: drizzle_orm_pg_core208.PgColumn<{
15396
15383
  name: "created_at";
15397
15384
  tableName: "artifact_components";
@@ -15664,9 +15651,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15664
15651
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15665
15652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15666
15653
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15667
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15668
15654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15669
15655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15670
15657
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
15671
15658
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15672
15659
  component: string;
@@ -15682,7 +15669,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15682
15669
  mockData: Record<string, unknown>;
15683
15670
  }>>>>>>;
15684
15671
  }, z.core.$strip>;
15685
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15672
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15686
15673
  artifactComponentId: drizzle_orm_pg_core208.PgColumn<{
15687
15674
  name: "artifact_component_id";
15688
15675
  tableName: "sub_agent_artifact_components";
@@ -15814,7 +15801,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"
15814
15801
  }, {}, {
15815
15802
  length: 256;
15816
15803
  }>;
15817
- }, drizzle_zod15.BuildRefine<{
15804
+ }, drizzle_zod19.BuildRefine<{
15818
15805
  artifactComponentId: drizzle_orm_pg_core208.PgColumn<{
15819
15806
  name: "artifact_component_id";
15820
15807
  tableName: "sub_agent_artifact_components";
@@ -15981,8 +15968,8 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
15981
15968
  id: z.ZodString;
15982
15969
  }>, z.core.$strip>;
15983
15970
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
15984
- agentId: z.ZodString;
15985
15971
  subAgentId: z.ZodString;
15972
+ agentId: z.ZodString;
15986
15973
  artifactComponentId: z.ZodString;
15987
15974
  }, {
15988
15975
  out: {};
@@ -16061,19 +16048,29 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16061
16048
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16062
16049
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16063
16050
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16064
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16065
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16066
16051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16067
16052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16053
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16054
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16068
16055
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16069
16056
  }, z.core.$strip>;
16070
16057
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16071
16058
  id: z.ZodString;
16072
16059
  name: z.ZodString;
16073
- description: z.ZodNullable<z.ZodString>;
16074
- prompt: z.ZodNullable<z.ZodString>;
16075
16060
  createdAt: z.ZodString;
16076
16061
  updatedAt: z.ZodString;
16062
+ description: z.ZodNullable<z.ZodString>;
16063
+ stopWhen: z.ZodNullable<z.ZodType<{
16064
+ stepCountIs?: number | undefined;
16065
+ }, {
16066
+ stepCountIs?: number | undefined;
16067
+ }, z.core.$ZodTypeInternals<{
16068
+ stepCountIs?: number | undefined;
16069
+ }, {
16070
+ stepCountIs?: number | undefined;
16071
+ }>>>;
16072
+ prompt: z.ZodNullable<z.ZodString>;
16073
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16077
16074
  models: z.ZodNullable<z.ZodType<{
16078
16075
  base?: {
16079
16076
  model?: string | undefined;
@@ -16127,28 +16124,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16127
16124
  providerOptions?: Record<string, any> | undefined;
16128
16125
  } | undefined;
16129
16126
  }>>>;
16130
- stopWhen: z.ZodNullable<z.ZodType<{
16131
- stepCountIs?: number | undefined;
16132
- }, {
16133
- stepCountIs?: number | undefined;
16134
- }, z.core.$ZodTypeInternals<{
16135
- stepCountIs?: number | undefined;
16136
- }, {
16137
- stepCountIs?: number | undefined;
16138
- }>>>;
16139
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16140
16127
  type: z.ZodLiteral<"internal">;
16141
16128
  }, z.core.$strip>, z.ZodObject<{
16142
16129
  id: z.ZodString;
16143
16130
  name: z.ZodString;
16144
- description: z.ZodNullable<z.ZodString>;
16145
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16146
16131
  createdAt: z.ZodString;
16147
16132
  updatedAt: z.ZodString;
16133
+ description: z.ZodNullable<z.ZodString>;
16134
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16148
16135
  baseUrl: z.ZodString;
16149
16136
  type: z.ZodLiteral<"external">;
16150
16137
  }, z.core.$strip>], "type">;
16151
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16138
+ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16152
16139
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16153
16140
  name: "created_at";
16154
16141
  tableName: "api_keys";
@@ -16369,7 +16356,7 @@ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16369
16356
  }, {}, {
16370
16357
  length: 256;
16371
16358
  }>;
16372
- }, drizzle_zod15.BuildRefine<{
16359
+ }, drizzle_zod19.BuildRefine<{
16373
16360
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16374
16361
  name: "created_at";
16375
16362
  tableName: "api_keys";
@@ -16610,10 +16597,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16610
16597
  }>;
16611
16598
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16612
16599
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16601
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16613
16602
  agentId: z.ZodOptional<z.ZodString>;
16614
16603
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16615
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16616
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16617
16604
  }, {
16618
16605
  out: {};
16619
16606
  in: {};
@@ -16621,13 +16608,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16621
16608
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16622
16609
  id: z.ZodString;
16623
16610
  name: z.ZodNullable<z.ZodString>;
16611
+ createdAt: z.ZodString;
16612
+ updatedAt: z.ZodString;
16613
+ expiresAt: z.ZodNullable<z.ZodString>;
16624
16614
  agentId: z.ZodString;
16625
16615
  publicId: z.ZodString;
16626
16616
  keyPrefix: z.ZodString;
16627
16617
  lastUsedAt: z.ZodNullable<z.ZodString>;
16628
- expiresAt: z.ZodNullable<z.ZodString>;
16629
- createdAt: z.ZodString;
16630
- updatedAt: z.ZodString;
16631
16618
  }, {
16632
16619
  out: {};
16633
16620
  in: {};
@@ -16637,13 +16624,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16637
16624
  apiKey: z.ZodObject<{
16638
16625
  id: z.ZodString;
16639
16626
  name: z.ZodNullable<z.ZodString>;
16627
+ createdAt: z.ZodString;
16628
+ updatedAt: z.ZodString;
16629
+ expiresAt: z.ZodNullable<z.ZodString>;
16640
16630
  agentId: z.ZodString;
16641
16631
  publicId: z.ZodString;
16642
16632
  keyPrefix: z.ZodString;
16643
16633
  lastUsedAt: z.ZodNullable<z.ZodString>;
16644
- expiresAt: z.ZodNullable<z.ZodString>;
16645
- createdAt: z.ZodString;
16646
- updatedAt: z.ZodString;
16647
16634
  }, {
16648
16635
  out: {};
16649
16636
  in: {};
@@ -16653,25 +16640,25 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16653
16640
  }, z.core.$strip>;
16654
16641
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16655
16642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16656
- agentId: z.ZodString;
16657
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16658
16643
  createdAt: z.ZodOptional<z.ZodString>;
16659
16644
  updatedAt: z.ZodOptional<z.ZodString>;
16645
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16646
+ agentId: z.ZodString;
16660
16647
  }, {
16661
16648
  out: {};
16662
16649
  in: {};
16663
16650
  }>;
16664
16651
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16665
16652
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16654
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16666
16655
  agentId: z.ZodOptional<z.ZodString>;
16667
16656
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16669
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16670
16657
  }, {
16671
16658
  out: {};
16672
16659
  in: {};
16673
16660
  }>;
16674
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
16661
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
16675
16662
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16676
16663
  name: "created_at";
16677
16664
  tableName: "credential_references";
@@ -16896,7 +16883,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
16896
16883
  }, {}, {
16897
16884
  length: 256;
16898
16885
  }>;
16899
- }, drizzle_zod15.BuildRefine<{
16886
+ }, drizzle_zod19.BuildRefine<{
16900
16887
  createdAt: drizzle_orm_pg_core208.PgColumn<{
16901
16888
  name: "created_at";
16902
16889
  tableName: "credential_references";
@@ -17161,9 +17148,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17161
17148
  name: z.ZodString;
17162
17149
  createdAt: z.ZodString;
17163
17150
  updatedAt: z.ZodString;
17151
+ userId: z.ZodNullable<z.ZodString>;
17164
17152
  credentialStoreId: z.ZodString;
17165
17153
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17166
- userId: z.ZodNullable<z.ZodString>;
17167
17154
  toolId: z.ZodNullable<z.ZodString>;
17168
17155
  createdBy: z.ZodNullable<z.ZodString>;
17169
17156
  type: z.ZodEnum<{
@@ -17171,7 +17158,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17171
17158
  readonly keychain: "keychain";
17172
17159
  readonly nango: "nango";
17173
17160
  }>;
17174
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
17161
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
17175
17162
  createdAt: drizzle_orm_pg_core208.PgColumn<{
17176
17163
  name: "created_at";
17177
17164
  tableName: "tools";
@@ -17434,7 +17421,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17434
17421
  }, {}, {
17435
17422
  length: 256;
17436
17423
  }>;
17437
- }, drizzle_zod15.BuildRefine<{
17424
+ }, drizzle_zod19.BuildRefine<{
17438
17425
  createdAt: drizzle_orm_pg_core208.PgColumn<{
17439
17426
  name: "created_at";
17440
17427
  tableName: "tools";
@@ -17718,9 +17705,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17718
17705
  name: z.ZodString;
17719
17706
  createdAt: z.ZodOptional<z.ZodString>;
17720
17707
  updatedAt: z.ZodOptional<z.ZodString>;
17708
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17721
17709
  credentialStoreId: z.ZodString;
17722
17710
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17723
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17724
17711
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17725
17712
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17726
17713
  type: z.ZodEnum<{
@@ -17734,9 +17721,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17734
17721
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17735
17722
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17736
17723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17724
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17737
17725
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17738
17726
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17739
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17740
17727
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17741
17728
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17742
17729
  type: z.ZodOptional<z.ZodEnum<{
@@ -17862,12 +17849,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17862
17849
  id: z.ZodString;
17863
17850
  name: z.ZodString;
17864
17851
  expiresAt: z.ZodOptional<z.ZodString>;
17865
- createdBy: z.ZodOptional<z.ZodString>;
17866
17852
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17867
17853
  credentialScope: z.ZodOptional<z.ZodString>;
17868
17854
  imageUrl: z.ZodOptional<z.ZodString>;
17869
17855
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17870
17856
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17857
+ createdBy: z.ZodOptional<z.ZodString>;
17871
17858
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17872
17859
  name: z.ZodString;
17873
17860
  description: z.ZodOptional<z.ZodString>;
@@ -17898,9 +17885,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17898
17885
  name: z.ZodString;
17899
17886
  createdAt: z.ZodOptional<z.ZodString>;
17900
17887
  updatedAt: z.ZodOptional<z.ZodString>;
17888
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17901
17889
  credentialStoreId: z.ZodString;
17902
17890
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17903
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17904
17891
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17905
17892
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17906
17893
  type: z.ZodEnum<{
@@ -18036,7 +18023,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18036
18023
  declare const ToolApiUpdateSchema: z.ZodObject<{
18037
18024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18038
18025
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18026
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18027
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18039
18028
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18029
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
18040
18030
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18041
18031
  type: z.ZodLiteral<"mcp">;
18042
18032
  mcp: z.ZodObject<{
@@ -18064,15 +18054,12 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18064
18054
  }, z.core.$strip>;
18065
18055
  }, z.core.$strip>>>;
18066
18056
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18067
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18068
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18069
- 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>>>>>>>;
18070
18057
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18071
18058
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18072
18059
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
18073
18060
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18074
18061
  }, z.core.$strip>;
18075
- declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
18062
+ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18076
18063
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18077
18064
  name: "created_at";
18078
18065
  tableName: "function_tools";
@@ -18238,7 +18225,7 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
18238
18225
  }, {}, {
18239
18226
  length: 256;
18240
18227
  }>;
18241
- }, drizzle_zod15.BuildRefine<{
18228
+ }, drizzle_zod19.BuildRefine<{
18242
18229
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18243
18230
  name: "created_at";
18244
18231
  tableName: "function_tools";
@@ -18458,13 +18445,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18458
18445
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18459
18446
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18460
18447
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18461
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18462
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18463
18448
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18464
18449
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18451
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18465
18452
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18466
18453
  }, z.core.$strip>;
18467
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18454
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18468
18455
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18469
18456
  name: "created_at";
18470
18457
  tableName: "sub_agent_function_tool_relations";
@@ -18613,7 +18600,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
18613
18600
  }, {}, {
18614
18601
  length: 256;
18615
18602
  }>;
18616
- }, drizzle_zod15.BuildRefine<{
18603
+ }, drizzle_zod19.BuildRefine<{
18617
18604
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18618
18605
  name: "created_at";
18619
18606
  tableName: "sub_agent_function_tool_relations";
@@ -18793,7 +18780,7 @@ declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18793
18780
  out: {};
18794
18781
  in: {};
18795
18782
  }>;
18796
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18783
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18797
18784
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18798
18785
  name: "created_at";
18799
18786
  tableName: "functions";
@@ -18940,7 +18927,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18940
18927
  }, {}, {
18941
18928
  length: 256;
18942
18929
  }>;
18943
- }, drizzle_zod15.BuildRefine<{
18930
+ }, drizzle_zod19.BuildRefine<{
18944
18931
  createdAt: drizzle_orm_pg_core208.PgColumn<{
18945
18932
  name: "created_at";
18946
18933
  tableName: "functions";
@@ -19139,8 +19126,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19139
19126
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19140
19127
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19141
19128
  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>>>>>>>;
19142
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19143
19129
  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>>>>>>>;
19130
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19144
19131
  }, z.core.$strip>;
19145
19132
  declare const FetchConfigSchema: z.ZodObject<{
19146
19133
  url: z.ZodString;
@@ -19186,9 +19173,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19186
19173
  name: z.ZodString;
19187
19174
  createdAt: z.ZodOptional<z.ZodString>;
19188
19175
  updatedAt: z.ZodOptional<z.ZodString>;
19176
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19189
19177
  credentialStoreId: z.ZodString;
19190
19178
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19191
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19192
19179
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19193
19180
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19194
19181
  type: z.ZodEnum<{
@@ -19212,10 +19199,10 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19212
19199
  in: {};
19213
19200
  }>;
19214
19201
  declare const ContextConfigInsertSchema: z.ZodObject<{
19215
- tenantId: z.ZodString;
19216
- projectId: z.ZodString;
19217
19202
  id: z.ZodOptional<z.ZodString>;
19218
19203
  agentId: z.ZodString;
19204
+ projectId: z.ZodString;
19205
+ tenantId: z.ZodString;
19219
19206
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19220
19207
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19221
19208
  }, {
@@ -19223,10 +19210,10 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
19223
19210
  in: {};
19224
19211
  }>;
19225
19212
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19226
- tenantId: z.ZodOptional<z.ZodString>;
19227
- projectId: z.ZodOptional<z.ZodString>;
19228
19213
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19229
19214
  agentId: z.ZodOptional<z.ZodString>;
19215
+ projectId: z.ZodOptional<z.ZodString>;
19216
+ tenantId: z.ZodOptional<z.ZodString>;
19230
19217
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19231
19218
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19232
19219
  }, {
@@ -19250,7 +19237,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19250
19237
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19251
19238
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19252
19239
  }, z.core.$strip>;
19253
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19240
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19254
19241
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19255
19242
  name: "created_at";
19256
19243
  tableName: "sub_agent_tool_relations";
@@ -19460,7 +19447,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
19460
19447
  }, {}, {
19461
19448
  length: 256;
19462
19449
  }>;
19463
- }, drizzle_zod15.BuildRefine<{
19450
+ }, drizzle_zod19.BuildRefine<{
19464
19451
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19465
19452
  name: "created_at";
19466
19453
  tableName: "sub_agent_tool_relations";
@@ -19711,9 +19698,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19711
19698
  createdAt: z.ZodString;
19712
19699
  updatedAt: z.ZodString;
19713
19700
  toolId: z.ZodString;
19714
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19715
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19716
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19701
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19702
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19703
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19717
19704
  subAgentId: z.ZodString;
19718
19705
  agentId: z.ZodString;
19719
19706
  projectId: z.ZodString;
@@ -19739,15 +19726,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19739
19726
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19740
19727
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19741
19728
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19742
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19743
19729
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19730
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19731
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19732
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19744
19733
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19745
19734
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19746
19735
  }, z.core.$strip>>>>>>;
19747
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19748
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19749
19736
  }, z.core.$strip>;
19750
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19737
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19751
19738
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19752
19739
  name: "created_at";
19753
19740
  tableName: "sub_agent_external_agent_relations";
@@ -19915,7 +19902,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
19915
19902
  }, {}, {
19916
19903
  length: 256;
19917
19904
  }>;
19918
- }, drizzle_zod15.BuildRefine<{
19905
+ }, drizzle_zod19.BuildRefine<{
19919
19906
  createdAt: drizzle_orm_pg_core208.PgColumn<{
19920
19907
  name: "created_at";
19921
19908
  tableName: "sub_agent_external_agent_relations";
@@ -20116,7 +20103,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20116
20103
  createdAt: z.ZodString;
20117
20104
  updatedAt: z.ZodString;
20118
20105
  externalAgentId: z.ZodString;
20119
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20106
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20120
20107
  subAgentId: z.ZodString;
20121
20108
  agentId: z.ZodString;
20122
20109
  projectId: z.ZodString;
@@ -20134,10 +20121,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20134
20121
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20135
20122
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20136
20123
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20137
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20138
20124
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20139
20126
  }, z.core.$strip>;
20140
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20127
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20141
20128
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20142
20129
  name: "created_at";
20143
20130
  tableName: "sub_agent_team_agent_relations";
@@ -20305,7 +20292,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
20305
20292
  }, {}, {
20306
20293
  length: 256;
20307
20294
  }>;
20308
- }, drizzle_zod15.BuildRefine<{
20295
+ }, drizzle_zod19.BuildRefine<{
20309
20296
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20310
20297
  name: "created_at";
20311
20298
  tableName: "sub_agent_team_agent_relations";
@@ -20506,7 +20493,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20506
20493
  createdAt: z.ZodString;
20507
20494
  updatedAt: z.ZodString;
20508
20495
  targetAgentId: z.ZodString;
20509
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20496
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20510
20497
  subAgentId: z.ZodString;
20511
20498
  agentId: z.ZodString;
20512
20499
  projectId: z.ZodString;
@@ -20527,7 +20514,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20527
20514
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20528
20515
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20529
20516
  }, z.core.$strip>;
20530
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20517
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20531
20518
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20532
20519
  name: "created_at";
20533
20520
  tableName: "ledger_artifacts";
@@ -20862,7 +20849,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20862
20849
  }, {}, {
20863
20850
  length: 256;
20864
20851
  }>;
20865
- }, drizzle_zod15.BuildRefine<{
20852
+ }, drizzle_zod19.BuildRefine<{
20866
20853
  createdAt: drizzle_orm_pg_core208.PgColumn<{
20867
20854
  name: "created_at";
20868
20855
  tableName: "ledger_artifacts";
@@ -21198,7 +21185,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
21198
21185
  length: 256;
21199
21186
  }>;
21200
21187
  }, undefined>, undefined>;
21201
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21188
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21202
21189
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21203
21190
  name: "created_at";
21204
21191
  tableName: "ledger_artifacts";
@@ -21533,7 +21520,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21533
21520
  }, {}, {
21534
21521
  length: 256;
21535
21522
  }>;
21536
- }, drizzle_zod15.BuildRefine<Pick<{
21523
+ }, drizzle_zod19.BuildRefine<Pick<{
21537
21524
  createdAt: drizzle_orm_pg_core208.PgColumn<{
21538
21525
  name: "created_at";
21539
21526
  tableName: "ledger_artifacts";
@@ -21868,7 +21855,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21868
21855
  }, {}, {
21869
21856
  length: 256;
21870
21857
  }>;
21871
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "taskId" | "projectId" | "tenantId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21872
21859
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21873
21860
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21874
21861
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21878,12 +21865,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21878
21865
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21879
21866
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21880
21867
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21881
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21882
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21868
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21869
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21883
21870
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21884
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21871
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21885
21872
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21886
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21873
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21887
21874
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21888
21875
  projectId: z.ZodOptional<z.ZodString>;
21889
21876
  tenantId: z.ZodOptional<z.ZodString>;
@@ -21901,12 +21888,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
21901
21888
  type: z.ZodString;
21902
21889
  name: z.ZodNullable<z.ZodString>;
21903
21890
  description: z.ZodNullable<z.ZodString>;
21904
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21905
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21891
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21892
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21906
21893
  summary: z.ZodNullable<z.ZodString>;
21907
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21894
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21908
21895
  visibility: z.ZodNullable<z.ZodString>;
21909
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21896
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21910
21897
  derivedFrom: z.ZodNullable<z.ZodString>;
21911
21898
  projectId: z.ZodString;
21912
21899
  tenantId: z.ZodString;
@@ -21921,33 +21908,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21921
21908
  type: z.ZodOptional<z.ZodString>;
21922
21909
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21923
21910
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21924
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21925
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21911
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21912
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21926
21913
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21927
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21914
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21928
21915
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21929
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21916
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21930
21917
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21931
21918
  projectId: z.ZodString;
21932
21919
  tenantId: z.ZodString;
21933
21920
  id: z.ZodString;
21934
21921
  }>, z.core.$strip>;
21935
21922
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21936
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21937
21923
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21924
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21938
21925
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21939
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21940
21926
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21941
21927
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21942
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21928
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21930
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21943
21931
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21944
21932
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21945
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21946
21933
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21947
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21934
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21948
21935
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21949
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21950
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21936
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21937
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21951
21938
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21952
21939
  }, z.core.$strip>;
21953
21940
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22015,9 +22002,19 @@ declare const TeamAgentSchema: z.ZodObject<{
22015
22002
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22016
22003
  id: z.ZodString;
22017
22004
  name: z.ZodString;
22018
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22019
22005
  createdAt: z.ZodOptional<z.ZodString>;
22020
22006
  updatedAt: z.ZodOptional<z.ZodString>;
22007
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22008
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22009
+ stepCountIs?: number | undefined;
22010
+ }, {
22011
+ stepCountIs?: number | undefined;
22012
+ }, z.core.$ZodTypeInternals<{
22013
+ stepCountIs?: number | undefined;
22014
+ }, {
22015
+ stepCountIs?: number | undefined;
22016
+ }>>>>;
22017
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22021
22018
  models: z.ZodOptional<z.ZodObject<{
22022
22019
  base: z.ZodOptional<z.ZodObject<{
22023
22020
  model: z.ZodOptional<z.ZodString>;
@@ -22032,16 +22029,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22032
22029
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22033
22030
  }, z.core.$strip>>;
22034
22031
  }, z.core.$strip>>;
22035
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22036
- stepCountIs?: number | undefined;
22037
- }, {
22038
- stepCountIs?: number | undefined;
22039
- }, z.core.$ZodTypeInternals<{
22040
- stepCountIs?: number | undefined;
22041
- }, {
22042
- stepCountIs?: number | undefined;
22043
- }>>>>;
22044
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22045
22032
  type: z.ZodLiteral<"internal">;
22046
22033
  canUse: z.ZodArray<z.ZodObject<{
22047
22034
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22068,18 +22055,28 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22068
22055
  }, z.core.$strip>;
22069
22056
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22070
22057
  name: z.ZodString;
22071
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22072
22058
  createdAt: z.ZodOptional<z.ZodString>;
22073
22059
  updatedAt: z.ZodOptional<z.ZodString>;
22060
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22074
22061
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22075
22062
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22076
22063
  id: z.ZodString;
22077
22064
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22078
22065
  id: z.ZodString;
22079
22066
  name: z.ZodString;
22080
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22081
22067
  createdAt: z.ZodOptional<z.ZodString>;
22082
22068
  updatedAt: z.ZodOptional<z.ZodString>;
22069
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22070
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22071
+ stepCountIs?: number | undefined;
22072
+ }, {
22073
+ stepCountIs?: number | undefined;
22074
+ }, z.core.$ZodTypeInternals<{
22075
+ stepCountIs?: number | undefined;
22076
+ }, {
22077
+ stepCountIs?: number | undefined;
22078
+ }>>>>;
22079
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22083
22080
  models: z.ZodOptional<z.ZodObject<{
22084
22081
  base: z.ZodOptional<z.ZodObject<{
22085
22082
  model: z.ZodOptional<z.ZodString>;
@@ -22094,16 +22091,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22094
22091
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22095
22092
  }, z.core.$strip>>;
22096
22093
  }, z.core.$strip>>;
22097
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22098
- stepCountIs?: number | undefined;
22099
- }, {
22100
- stepCountIs?: number | undefined;
22101
- }, z.core.$ZodTypeInternals<{
22102
- stepCountIs?: number | undefined;
22103
- }, {
22104
- stepCountIs?: number | undefined;
22105
- }>>>>;
22106
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22107
22094
  type: z.ZodLiteral<"internal">;
22108
22095
  canUse: z.ZodArray<z.ZodObject<{
22109
22096
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22208,9 +22195,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22208
22195
  }>, z.core.$strip>>>;
22209
22196
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22210
22197
  name: z.ZodString;
22211
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22212
22198
  createdAt: z.ZodOptional<z.ZodString>;
22213
22199
  updatedAt: z.ZodOptional<z.ZodString>;
22200
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22214
22201
  enabled: z.ZodOptional<z.ZodBoolean>;
22215
22202
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22216
22203
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22227,7 +22214,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22227
22214
  objectTransformation?: Record<string, string>;
22228
22215
  }>>>>;
22229
22216
  messageTemplate: z.ZodString;
22230
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22217
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22231
22218
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22232
22219
  id: z.ZodOptional<z.ZodString>;
22233
22220
  }, z.core.$strip>>>;
@@ -22330,10 +22317,13 @@ declare const ProjectSelectSchema: z.ZodObject<{
22330
22317
  in: {};
22331
22318
  }>;
22332
22319
  declare const ProjectInsertSchema: z.ZodObject<{
22333
- tenantId: z.ZodString;
22334
22320
  id: z.ZodString;
22335
22321
  name: z.ZodString;
22336
22322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22323
+ stopWhen: z.ZodOptional<z.ZodObject<{
22324
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22325
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22326
+ }, z.core.$strip>>;
22337
22327
  models: z.ZodObject<{
22338
22328
  base: z.ZodObject<{
22339
22329
  model: z.ZodOptional<z.ZodString>;
@@ -22348,10 +22338,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
22348
22338
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22349
22339
  }, z.core.$strip>>;
22350
22340
  }, z.core.$strip>;
22351
- stopWhen: z.ZodOptional<z.ZodObject<{
22352
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22353
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22354
- }, z.core.$strip>>;
22341
+ tenantId: z.ZodString;
22355
22342
  }, {
22356
22343
  out: {};
22357
22344
  in: {};
@@ -22359,6 +22346,10 @@ declare const ProjectInsertSchema: z.ZodObject<{
22359
22346
  declare const ProjectUpdateSchema: z.ZodObject<{
22360
22347
  name: z.ZodOptional<z.ZodString>;
22361
22348
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22349
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22350
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22351
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22352
+ }, z.core.$strip>>>;
22362
22353
  models: z.ZodOptional<z.ZodObject<{
22363
22354
  base: z.ZodObject<{
22364
22355
  model: z.ZodOptional<z.ZodString>;
@@ -22373,10 +22364,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22373
22364
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22374
22365
  }, z.core.$strip>>;
22375
22366
  }, z.core.$strip>>;
22376
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22377
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22378
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22379
- }, z.core.$strip>>>;
22380
22367
  }, {
22381
22368
  out: {};
22382
22369
  in: {};
@@ -22384,9 +22371,13 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22384
22371
  declare const ProjectApiSelectSchema: z.ZodObject<{
22385
22372
  id: z.ZodString;
22386
22373
  name: z.ZodString;
22387
- description: z.ZodNullable<z.ZodString>;
22388
22374
  createdAt: z.ZodString;
22389
22375
  updatedAt: z.ZodString;
22376
+ description: z.ZodNullable<z.ZodString>;
22377
+ stopWhen: z.ZodNullable<z.ZodObject<{
22378
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22379
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22380
+ }, z.core.$strip>>;
22390
22381
  models: z.ZodNullable<z.ZodObject<{
22391
22382
  base: z.ZodObject<{
22392
22383
  model: z.ZodOptional<z.ZodString>;
@@ -22401,10 +22392,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22401
22392
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22402
22393
  }, z.core.$strip>>;
22403
22394
  }, z.core.$strip>>;
22404
- stopWhen: z.ZodNullable<z.ZodObject<{
22405
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22406
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22407
- }, z.core.$strip>>;
22408
22395
  }, {
22409
22396
  out: {};
22410
22397
  in: {};
@@ -22413,6 +22400,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22413
22400
  id: z.ZodString;
22414
22401
  name: z.ZodString;
22415
22402
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22403
+ stopWhen: z.ZodOptional<z.ZodObject<{
22404
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22405
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22406
+ }, z.core.$strip>>;
22416
22407
  models: z.ZodObject<{
22417
22408
  base: z.ZodObject<{
22418
22409
  model: z.ZodOptional<z.ZodString>;
@@ -22427,10 +22418,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22427
22418
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22428
22419
  }, z.core.$strip>>;
22429
22420
  }, z.core.$strip>;
22430
- stopWhen: z.ZodOptional<z.ZodObject<{
22431
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22432
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22433
- }, z.core.$strip>>;
22434
22421
  }, {
22435
22422
  out: {};
22436
22423
  in: {};
@@ -22438,6 +22425,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22438
22425
  declare const ProjectApiUpdateSchema: z.ZodObject<{
22439
22426
  name: z.ZodOptional<z.ZodString>;
22440
22427
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22428
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22429
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22430
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22431
+ }, z.core.$strip>>>;
22441
22432
  models: z.ZodOptional<z.ZodObject<{
22442
22433
  base: z.ZodObject<{
22443
22434
  model: z.ZodOptional<z.ZodString>;
@@ -22452,10 +22443,6 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
22452
22443
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22453
22444
  }, z.core.$strip>>;
22454
22445
  }, z.core.$strip>>;
22455
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22456
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22457
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22458
- }, z.core.$strip>>>;
22459
22446
  }, {
22460
22447
  out: {};
22461
22448
  in: {};
@@ -22464,6 +22451,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22464
22451
  id: z.ZodString;
22465
22452
  name: z.ZodString;
22466
22453
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22454
+ stopWhen: z.ZodOptional<z.ZodObject<{
22455
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22456
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22457
+ }, z.core.$strip>>;
22467
22458
  models: z.ZodObject<{
22468
22459
  base: z.ZodObject<{
22469
22460
  model: z.ZodOptional<z.ZodString>;
@@ -22478,24 +22469,30 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22478
22469
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22479
22470
  }, z.core.$strip>>;
22480
22471
  }, z.core.$strip>;
22481
- stopWhen: z.ZodOptional<z.ZodObject<{
22482
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22483
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22484
- }, z.core.$strip>>;
22485
22472
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22486
22473
  name: z.ZodString;
22487
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22488
22474
  createdAt: z.ZodOptional<z.ZodString>;
22489
22475
  updatedAt: z.ZodOptional<z.ZodString>;
22476
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22490
22477
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22491
22478
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22492
22479
  id: z.ZodString;
22493
22480
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22494
22481
  id: z.ZodString;
22495
22482
  name: z.ZodString;
22496
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22497
22483
  createdAt: z.ZodOptional<z.ZodString>;
22498
22484
  updatedAt: z.ZodOptional<z.ZodString>;
22485
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22486
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22487
+ stepCountIs?: number | undefined;
22488
+ }, {
22489
+ stepCountIs?: number | undefined;
22490
+ }, z.core.$ZodTypeInternals<{
22491
+ stepCountIs?: number | undefined;
22492
+ }, {
22493
+ stepCountIs?: number | undefined;
22494
+ }>>>>;
22495
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22499
22496
  models: z.ZodOptional<z.ZodObject<{
22500
22497
  base: z.ZodOptional<z.ZodObject<{
22501
22498
  model: z.ZodOptional<z.ZodString>;
@@ -22510,16 +22507,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22510
22507
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22511
22508
  }, z.core.$strip>>;
22512
22509
  }, z.core.$strip>>;
22513
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22514
- stepCountIs?: number | undefined;
22515
- }, {
22516
- stepCountIs?: number | undefined;
22517
- }, z.core.$ZodTypeInternals<{
22518
- stepCountIs?: number | undefined;
22519
- }, {
22520
- stepCountIs?: number | undefined;
22521
- }>>>>;
22522
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22523
22510
  type: z.ZodLiteral<"internal">;
22524
22511
  canUse: z.ZodArray<z.ZodObject<{
22525
22512
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22624,9 +22611,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22624
22611
  }>, z.core.$strip>>>;
22625
22612
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22626
22613
  name: z.ZodString;
22627
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22628
22614
  createdAt: z.ZodOptional<z.ZodString>;
22629
22615
  updatedAt: z.ZodOptional<z.ZodString>;
22616
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22630
22617
  enabled: z.ZodOptional<z.ZodBoolean>;
22631
22618
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22632
22619
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22643,7 +22630,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22643
22630
  objectTransformation?: Record<string, string>;
22644
22631
  }>>>>;
22645
22632
  messageTemplate: z.ZodString;
22646
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22633
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22647
22634
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22648
22635
  id: z.ZodOptional<z.ZodString>;
22649
22636
  }, z.core.$strip>>>;
@@ -22824,9 +22811,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22824
22811
  name: z.ZodString;
22825
22812
  createdAt: z.ZodOptional<z.ZodString>;
22826
22813
  updatedAt: z.ZodOptional<z.ZodString>;
22814
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22827
22815
  credentialStoreId: z.ZodString;
22828
22816
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22829
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22830
22817
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22831
22818
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22832
22819
  type: z.ZodEnum<{
@@ -22844,9 +22831,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22844
22831
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22845
22832
  id: z.ZodString;
22846
22833
  name: z.ZodString;
22847
- description: z.ZodNullable<z.ZodString>;
22848
22834
  createdAt: z.ZodString;
22849
22835
  updatedAt: z.ZodString;
22836
+ description: z.ZodNullable<z.ZodString>;
22837
+ stopWhen: z.ZodNullable<z.ZodType<{
22838
+ stepCountIs?: number | undefined;
22839
+ }, {
22840
+ stepCountIs?: number | undefined;
22841
+ }, z.core.$ZodTypeInternals<{
22842
+ stepCountIs?: number | undefined;
22843
+ }, {
22844
+ stepCountIs?: number | undefined;
22845
+ }>>>;
22846
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22850
22847
  models: z.ZodNullable<z.ZodType<{
22851
22848
  base?: {
22852
22849
  model?: string | undefined;
@@ -22900,16 +22897,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22900
22897
  providerOptions?: Record<string, any> | undefined;
22901
22898
  } | undefined;
22902
22899
  }>>>;
22903
- stopWhen: z.ZodNullable<z.ZodType<{
22904
- stepCountIs?: number | undefined;
22905
- }, {
22906
- stepCountIs?: number | undefined;
22907
- }, z.core.$ZodTypeInternals<{
22908
- stepCountIs?: number | undefined;
22909
- }, {
22910
- stepCountIs?: number | undefined;
22911
- }>>>;
22912
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22913
22900
  type: z.ZodLiteral<"internal">;
22914
22901
  canUse: z.ZodArray<z.ZodObject<{
22915
22902
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22937,9 +22924,19 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22937
22924
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22938
22925
  id: z.ZodString;
22939
22926
  name: z.ZodString;
22940
- description: z.ZodNullable<z.ZodString>;
22941
22927
  createdAt: z.ZodString;
22942
22928
  updatedAt: z.ZodString;
22929
+ description: z.ZodNullable<z.ZodString>;
22930
+ stopWhen: z.ZodNullable<z.ZodType<{
22931
+ stepCountIs?: number | undefined;
22932
+ }, {
22933
+ stepCountIs?: number | undefined;
22934
+ }, z.core.$ZodTypeInternals<{
22935
+ stepCountIs?: number | undefined;
22936
+ }, {
22937
+ stepCountIs?: number | undefined;
22938
+ }>>>;
22939
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22943
22940
  models: z.ZodNullable<z.ZodType<{
22944
22941
  base?: {
22945
22942
  model?: string | undefined;
@@ -22993,16 +22990,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22993
22990
  providerOptions?: Record<string, any> | undefined;
22994
22991
  } | undefined;
22995
22992
  }>>>;
22996
- stopWhen: z.ZodNullable<z.ZodType<{
22997
- stepCountIs?: number | undefined;
22998
- }, {
22999
- stepCountIs?: number | undefined;
23000
- }, z.core.$ZodTypeInternals<{
23001
- stepCountIs?: number | undefined;
23002
- }, {
23003
- stepCountIs?: number | undefined;
23004
- }>>>;
23005
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23006
22993
  type: z.ZodLiteral<"internal">;
23007
22994
  canUse: z.ZodArray<z.ZodObject<{
23008
22995
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23036,17 +23023,27 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23036
23023
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23037
23024
  id: z.ZodString;
23038
23025
  name: z.ZodString;
23039
- description: z.ZodNullable<z.ZodString>;
23040
23026
  createdAt: z.ZodString;
23041
23027
  updatedAt: z.ZodString;
23028
+ description: z.ZodNullable<z.ZodString>;
23042
23029
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23043
23030
  contextConfigId: z.ZodNullable<z.ZodString>;
23044
23031
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23045
23032
  id: z.ZodString;
23046
23033
  name: z.ZodString;
23047
- description: z.ZodNullable<z.ZodString>;
23048
23034
  createdAt: z.ZodString;
23049
23035
  updatedAt: z.ZodString;
23036
+ description: z.ZodNullable<z.ZodString>;
23037
+ stopWhen: z.ZodNullable<z.ZodType<{
23038
+ stepCountIs?: number | undefined;
23039
+ }, {
23040
+ stepCountIs?: number | undefined;
23041
+ }, z.core.$ZodTypeInternals<{
23042
+ stepCountIs?: number | undefined;
23043
+ }, {
23044
+ stepCountIs?: number | undefined;
23045
+ }>>>;
23046
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23050
23047
  models: z.ZodNullable<z.ZodType<{
23051
23048
  base?: {
23052
23049
  model?: string | undefined;
@@ -23100,16 +23097,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23100
23097
  providerOptions?: Record<string, any> | undefined;
23101
23098
  } | undefined;
23102
23099
  }>>>;
23103
- stopWhen: z.ZodNullable<z.ZodType<{
23104
- stepCountIs?: number | undefined;
23105
- }, {
23106
- stepCountIs?: number | undefined;
23107
- }, z.core.$ZodTypeInternals<{
23108
- stepCountIs?: number | undefined;
23109
- }, {
23110
- stepCountIs?: number | undefined;
23111
- }>>>;
23112
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23113
23100
  type: z.ZodLiteral<"internal">;
23114
23101
  canUse: z.ZodArray<z.ZodObject<{
23115
23102
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23243,9 +23230,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23243
23230
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23244
23231
  id: z.ZodString;
23245
23232
  name: z.ZodString;
23246
- description: z.ZodNullable<z.ZodString>;
23247
23233
  createdAt: z.ZodString;
23248
23234
  updatedAt: z.ZodString;
23235
+ description: z.ZodNullable<z.ZodString>;
23249
23236
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23250
23237
  contextConfigId: z.ZodNullable<z.ZodString>;
23251
23238
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23356,9 +23343,19 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23356
23343
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23357
23344
  id: z.ZodString;
23358
23345
  name: z.ZodString;
23359
- description: z.ZodNullable<z.ZodString>;
23360
23346
  createdAt: z.ZodString;
23361
23347
  updatedAt: z.ZodString;
23348
+ description: z.ZodNullable<z.ZodString>;
23349
+ stopWhen: z.ZodNullable<z.ZodType<{
23350
+ stepCountIs?: number | undefined;
23351
+ }, {
23352
+ stepCountIs?: number | undefined;
23353
+ }, z.core.$ZodTypeInternals<{
23354
+ stepCountIs?: number | undefined;
23355
+ }, {
23356
+ stepCountIs?: number | undefined;
23357
+ }>>>;
23358
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23362
23359
  models: z.ZodNullable<z.ZodType<{
23363
23360
  base?: {
23364
23361
  model?: string | undefined;
@@ -23412,16 +23409,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23412
23409
  providerOptions?: Record<string, any> | undefined;
23413
23410
  } | undefined;
23414
23411
  }>>>;
23415
- stopWhen: z.ZodNullable<z.ZodType<{
23416
- stepCountIs?: number | undefined;
23417
- }, {
23418
- stepCountIs?: number | undefined;
23419
- }, z.core.$ZodTypeInternals<{
23420
- stepCountIs?: number | undefined;
23421
- }, {
23422
- stepCountIs?: number | undefined;
23423
- }>>>;
23424
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23425
23412
  type: z.ZodLiteral<"internal">;
23426
23413
  canUse: z.ZodArray<z.ZodObject<{
23427
23414
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23456,9 +23443,13 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23456
23443
  declare const FullProjectSelectSchema: z.ZodObject<{
23457
23444
  id: z.ZodString;
23458
23445
  name: z.ZodString;
23459
- description: z.ZodNullable<z.ZodString>;
23460
23446
  createdAt: z.ZodString;
23461
23447
  updatedAt: z.ZodString;
23448
+ description: z.ZodNullable<z.ZodString>;
23449
+ stopWhen: z.ZodNullable<z.ZodObject<{
23450
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
23451
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
23452
+ }, z.core.$strip>>;
23462
23453
  models: z.ZodNullable<z.ZodObject<{
23463
23454
  base: z.ZodObject<{
23464
23455
  model: z.ZodOptional<z.ZodString>;
@@ -23473,24 +23464,30 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23473
23464
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23474
23465
  }, z.core.$strip>>;
23475
23466
  }, z.core.$strip>>;
23476
- stopWhen: z.ZodNullable<z.ZodObject<{
23477
- transferCountIs: z.ZodOptional<z.ZodNumber>;
23478
- stepCountIs: z.ZodOptional<z.ZodNumber>;
23479
- }, z.core.$strip>>;
23480
23467
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23481
23468
  id: z.ZodString;
23482
23469
  name: z.ZodString;
23483
- description: z.ZodNullable<z.ZodString>;
23484
23470
  createdAt: z.ZodString;
23485
23471
  updatedAt: z.ZodString;
23472
+ description: z.ZodNullable<z.ZodString>;
23486
23473
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23487
23474
  contextConfigId: z.ZodNullable<z.ZodString>;
23488
23475
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23489
23476
  id: z.ZodString;
23490
23477
  name: z.ZodString;
23491
- description: z.ZodNullable<z.ZodString>;
23492
23478
  createdAt: z.ZodString;
23493
23479
  updatedAt: z.ZodString;
23480
+ description: z.ZodNullable<z.ZodString>;
23481
+ stopWhen: z.ZodNullable<z.ZodType<{
23482
+ stepCountIs?: number | undefined;
23483
+ }, {
23484
+ stepCountIs?: number | undefined;
23485
+ }, z.core.$ZodTypeInternals<{
23486
+ stepCountIs?: number | undefined;
23487
+ }, {
23488
+ stepCountIs?: number | undefined;
23489
+ }>>>;
23490
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23494
23491
  models: z.ZodNullable<z.ZodType<{
23495
23492
  base?: {
23496
23493
  model?: string | undefined;
@@ -23544,16 +23541,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23544
23541
  providerOptions?: Record<string, any> | undefined;
23545
23542
  } | undefined;
23546
23543
  }>>>;
23547
- stopWhen: z.ZodNullable<z.ZodType<{
23548
- stepCountIs?: number | undefined;
23549
- }, {
23550
- stepCountIs?: number | undefined;
23551
- }, z.core.$ZodTypeInternals<{
23552
- stepCountIs?: number | undefined;
23553
- }, {
23554
- stepCountIs?: number | undefined;
23555
- }>>>;
23556
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23557
23544
  type: z.ZodLiteral<"internal">;
23558
23545
  canUse: z.ZodArray<z.ZodObject<{
23559
23546
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23810,9 +23797,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23810
23797
  name: z.ZodString;
23811
23798
  createdAt: z.ZodString;
23812
23799
  updatedAt: z.ZodString;
23800
+ userId: z.ZodNullable<z.ZodString>;
23813
23801
  credentialStoreId: z.ZodString;
23814
23802
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23815
- userId: z.ZodNullable<z.ZodString>;
23816
23803
  toolId: z.ZodNullable<z.ZodString>;
23817
23804
  createdBy: z.ZodNullable<z.ZodString>;
23818
23805
  type: z.ZodEnum<{
@@ -23820,7 +23807,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23820
23807
  readonly keychain: "keychain";
23821
23808
  readonly nango: "nango";
23822
23809
  }>;
23823
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23810
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23824
23811
  createdAt: drizzle_orm_pg_core208.PgColumn<{
23825
23812
  name: "created_at";
23826
23813
  tableName: "tools";
@@ -24083,7 +24070,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24083
24070
  }, {}, {
24084
24071
  length: 256;
24085
24072
  }>;
24086
- }, drizzle_zod15.BuildRefine<{
24073
+ }, drizzle_zod19.BuildRefine<{
24087
24074
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24088
24075
  name: "created_at";
24089
24076
  tableName: "tools";
@@ -24369,9 +24356,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24369
24356
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24370
24357
  id: z.ZodString;
24371
24358
  name: z.ZodString;
24372
- description: z.ZodNullable<z.ZodString>;
24373
24359
  createdAt: z.ZodString;
24374
24360
  updatedAt: z.ZodString;
24361
+ description: z.ZodNullable<z.ZodString>;
24362
+ stopWhen: z.ZodNullable<z.ZodObject<{
24363
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
24364
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
24365
+ }, z.core.$strip>>;
24375
24366
  models: z.ZodNullable<z.ZodObject<{
24376
24367
  base: z.ZodObject<{
24377
24368
  model: z.ZodOptional<z.ZodString>;
@@ -24386,10 +24377,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24386
24377
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24387
24378
  }, z.core.$strip>>;
24388
24379
  }, z.core.$strip>>;
24389
- stopWhen: z.ZodNullable<z.ZodObject<{
24390
- transferCountIs: z.ZodOptional<z.ZodNumber>;
24391
- stepCountIs: z.ZodOptional<z.ZodNumber>;
24392
- }, z.core.$strip>>;
24393
24380
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24394
24381
  createdAt: z.ZodString;
24395
24382
  updatedAt: z.ZodString;
@@ -24516,9 +24503,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24516
24503
  name: z.ZodString;
24517
24504
  createdAt: z.ZodString;
24518
24505
  updatedAt: z.ZodString;
24506
+ userId: z.ZodNullable<z.ZodString>;
24519
24507
  credentialStoreId: z.ZodString;
24520
24508
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24521
- userId: z.ZodNullable<z.ZodString>;
24522
24509
  toolId: z.ZodNullable<z.ZodString>;
24523
24510
  createdBy: z.ZodNullable<z.ZodString>;
24524
24511
  type: z.ZodEnum<{
@@ -24526,7 +24513,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24526
24513
  readonly keychain: "keychain";
24527
24514
  readonly nango: "nango";
24528
24515
  }>;
24529
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24516
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24530
24517
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24531
24518
  name: "created_at";
24532
24519
  tableName: "tools";
@@ -24789,7 +24776,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24789
24776
  }, {}, {
24790
24777
  length: 256;
24791
24778
  }>;
24792
- }, drizzle_zod15.BuildRefine<{
24779
+ }, drizzle_zod19.BuildRefine<{
24793
24780
  createdAt: drizzle_orm_pg_core208.PgColumn<{
24794
24781
  name: "created_at";
24795
24782
  tableName: "tools";
@@ -25071,9 +25058,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25071
25058
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25072
25059
  id: z.ZodString;
25073
25060
  name: z.ZodString;
25074
- description: z.ZodNullable<z.ZodString>;
25075
25061
  createdAt: z.ZodString;
25076
25062
  updatedAt: z.ZodString;
25063
+ description: z.ZodNullable<z.ZodString>;
25077
25064
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25078
25065
  contextConfigId: z.ZodNullable<z.ZodString>;
25079
25066
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25184,9 +25171,19 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25184
25171
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25185
25172
  id: z.ZodString;
25186
25173
  name: z.ZodString;
25187
- description: z.ZodNullable<z.ZodString>;
25188
25174
  createdAt: z.ZodString;
25189
25175
  updatedAt: z.ZodString;
25176
+ description: z.ZodNullable<z.ZodString>;
25177
+ stopWhen: z.ZodNullable<z.ZodType<{
25178
+ stepCountIs?: number | undefined;
25179
+ }, {
25180
+ stepCountIs?: number | undefined;
25181
+ }, z.core.$ZodTypeInternals<{
25182
+ stepCountIs?: number | undefined;
25183
+ }, {
25184
+ stepCountIs?: number | undefined;
25185
+ }>>>;
25186
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25190
25187
  models: z.ZodNullable<z.ZodType<{
25191
25188
  base?: {
25192
25189
  model?: string | undefined;
@@ -25240,16 +25237,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25240
25237
  providerOptions?: Record<string, any> | undefined;
25241
25238
  } | undefined;
25242
25239
  }>>>;
25243
- stopWhen: z.ZodNullable<z.ZodType<{
25244
- stepCountIs?: number | undefined;
25245
- }, {
25246
- stepCountIs?: number | undefined;
25247
- }, z.core.$ZodTypeInternals<{
25248
- stepCountIs?: number | undefined;
25249
- }, {
25250
- stepCountIs?: number | undefined;
25251
- }>>>;
25252
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25253
25240
  type: z.ZodLiteral<"internal">;
25254
25241
  canUse: z.ZodArray<z.ZodObject<{
25255
25242
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25289,9 +25276,13 @@ declare const ProjectResponse: z.ZodObject<{
25289
25276
  data: z.ZodObject<{
25290
25277
  id: z.ZodString;
25291
25278
  name: z.ZodString;
25292
- description: z.ZodNullable<z.ZodString>;
25293
25279
  createdAt: z.ZodString;
25294
25280
  updatedAt: z.ZodString;
25281
+ description: z.ZodNullable<z.ZodString>;
25282
+ stopWhen: z.ZodNullable<z.ZodObject<{
25283
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25284
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25285
+ }, z.core.$strip>>;
25295
25286
  models: z.ZodNullable<z.ZodObject<{
25296
25287
  base: z.ZodObject<{
25297
25288
  model: z.ZodOptional<z.ZodString>;
@@ -25306,10 +25297,6 @@ declare const ProjectResponse: z.ZodObject<{
25306
25297
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25307
25298
  }, z.core.$strip>>;
25308
25299
  }, z.core.$strip>>;
25309
- stopWhen: z.ZodNullable<z.ZodObject<{
25310
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25311
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25312
- }, z.core.$strip>>;
25313
25300
  }, {
25314
25301
  out: {};
25315
25302
  in: {};
@@ -25580,13 +25567,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25580
25567
  data: z.ZodObject<{
25581
25568
  id: z.ZodString;
25582
25569
  name: z.ZodNullable<z.ZodString>;
25570
+ createdAt: z.ZodString;
25571
+ updatedAt: z.ZodString;
25572
+ expiresAt: z.ZodNullable<z.ZodString>;
25583
25573
  agentId: z.ZodString;
25584
25574
  publicId: z.ZodString;
25585
25575
  keyPrefix: z.ZodString;
25586
25576
  lastUsedAt: z.ZodNullable<z.ZodString>;
25587
- expiresAt: z.ZodNullable<z.ZodString>;
25588
- createdAt: z.ZodString;
25589
- updatedAt: z.ZodString;
25590
25577
  }, {
25591
25578
  out: {};
25592
25579
  in: {};
@@ -25598,9 +25585,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25598
25585
  name: z.ZodString;
25599
25586
  createdAt: z.ZodString;
25600
25587
  updatedAt: z.ZodString;
25588
+ userId: z.ZodNullable<z.ZodString>;
25601
25589
  credentialStoreId: z.ZodString;
25602
25590
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25603
- userId: z.ZodNullable<z.ZodString>;
25604
25591
  toolId: z.ZodNullable<z.ZodString>;
25605
25592
  createdBy: z.ZodNullable<z.ZodString>;
25606
25593
  type: z.ZodEnum<{
@@ -25608,7 +25595,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25608
25595
  readonly keychain: "keychain";
25609
25596
  readonly nango: "nango";
25610
25597
  }>;
25611
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25598
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25612
25599
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25613
25600
  name: "created_at";
25614
25601
  tableName: "tools";
@@ -25871,7 +25858,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25871
25858
  }, {}, {
25872
25859
  length: 256;
25873
25860
  }>;
25874
- }, drizzle_zod15.BuildRefine<{
25861
+ }, drizzle_zod19.BuildRefine<{
25875
25862
  createdAt: drizzle_orm_pg_core208.PgColumn<{
25876
25863
  name: "created_at";
25877
25864
  tableName: "tools";
@@ -26256,9 +26243,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26256
26243
  createdAt: z.ZodString;
26257
26244
  updatedAt: z.ZodString;
26258
26245
  toolId: z.ZodString;
26259
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26260
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26261
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26246
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26247
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26248
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26262
26249
  subAgentId: z.ZodString;
26263
26250
  agentId: z.ZodString;
26264
26251
  projectId: z.ZodString;
@@ -26274,19 +26261,19 @@ declare const ConversationResponse: z.ZodObject<{
26274
26261
  agentId: z.ZodNullable<z.ZodString>;
26275
26262
  activeSubAgentId: z.ZodString;
26276
26263
  ref: z.ZodNullable<z.ZodType<{
26277
- type: "tag" | "commit" | "branch";
26264
+ type: "commit" | "tag" | "branch";
26278
26265
  name: string;
26279
26266
  hash: string;
26280
26267
  }, {
26281
- type: "tag" | "commit" | "branch";
26268
+ type: "commit" | "tag" | "branch";
26282
26269
  name: string;
26283
26270
  hash: string;
26284
26271
  }, z.core.$ZodTypeInternals<{
26285
- type: "tag" | "commit" | "branch";
26272
+ type: "commit" | "tag" | "branch";
26286
26273
  name: string;
26287
26274
  hash: string;
26288
26275
  }, {
26289
- type: "tag" | "commit" | "branch";
26276
+ type: "commit" | "tag" | "branch";
26290
26277
  name: string;
26291
26278
  hash: string;
26292
26279
  }>>>;
@@ -26343,7 +26330,7 @@ declare const TriggerResponse: z.ZodObject<{
26343
26330
  objectTransformation?: Record<string, string>;
26344
26331
  }>>>;
26345
26332
  messageTemplate: z.ZodString;
26346
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26333
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26347
26334
  signingSecret: z.ZodNullable<z.ZodString>;
26348
26335
  name: z.ZodString;
26349
26336
  description: z.ZodNullable<z.ZodString>;
@@ -26358,8 +26345,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26358
26345
  triggerId: z.ZodString;
26359
26346
  conversationId: z.ZodNullable<z.ZodString>;
26360
26347
  status: z.ZodString;
26361
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26362
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26348
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26349
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26363
26350
  errorMessage: z.ZodNullable<z.ZodString>;
26364
26351
  createdAt: z.ZodString;
26365
26352
  agentId: z.ZodString;
@@ -26372,9 +26359,13 @@ declare const ProjectListResponse: z.ZodObject<{
26372
26359
  data: z.ZodArray<z.ZodObject<{
26373
26360
  id: z.ZodString;
26374
26361
  name: z.ZodString;
26375
- description: z.ZodNullable<z.ZodString>;
26376
26362
  createdAt: z.ZodString;
26377
26363
  updatedAt: z.ZodString;
26364
+ description: z.ZodNullable<z.ZodString>;
26365
+ stopWhen: z.ZodNullable<z.ZodObject<{
26366
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
26367
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
26368
+ }, z.core.$strip>>;
26378
26369
  models: z.ZodNullable<z.ZodObject<{
26379
26370
  base: z.ZodObject<{
26380
26371
  model: z.ZodOptional<z.ZodString>;
@@ -26389,10 +26380,6 @@ declare const ProjectListResponse: z.ZodObject<{
26389
26380
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26390
26381
  }, z.core.$strip>>;
26391
26382
  }, z.core.$strip>>;
26392
- stopWhen: z.ZodNullable<z.ZodObject<{
26393
- transferCountIs: z.ZodOptional<z.ZodNumber>;
26394
- stepCountIs: z.ZodOptional<z.ZodNumber>;
26395
- }, z.core.$strip>>;
26396
26383
  }, {
26397
26384
  out: {};
26398
26385
  in: {};
@@ -26699,13 +26686,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26699
26686
  data: z.ZodArray<z.ZodObject<{
26700
26687
  id: z.ZodString;
26701
26688
  name: z.ZodNullable<z.ZodString>;
26689
+ createdAt: z.ZodString;
26690
+ updatedAt: z.ZodString;
26691
+ expiresAt: z.ZodNullable<z.ZodString>;
26702
26692
  agentId: z.ZodString;
26703
26693
  publicId: z.ZodString;
26704
26694
  keyPrefix: z.ZodString;
26705
26695
  lastUsedAt: z.ZodNullable<z.ZodString>;
26706
- expiresAt: z.ZodNullable<z.ZodString>;
26707
- createdAt: z.ZodString;
26708
- updatedAt: z.ZodString;
26709
26696
  }, {
26710
26697
  out: {};
26711
26698
  in: {};
@@ -26723,9 +26710,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26723
26710
  name: z.ZodString;
26724
26711
  createdAt: z.ZodString;
26725
26712
  updatedAt: z.ZodString;
26713
+ userId: z.ZodNullable<z.ZodString>;
26726
26714
  credentialStoreId: z.ZodString;
26727
26715
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26728
- userId: z.ZodNullable<z.ZodString>;
26729
26716
  toolId: z.ZodNullable<z.ZodString>;
26730
26717
  createdBy: z.ZodNullable<z.ZodString>;
26731
26718
  type: z.ZodEnum<{
@@ -26733,7 +26720,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26733
26720
  readonly keychain: "keychain";
26734
26721
  readonly nango: "nango";
26735
26722
  }>;
26736
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26723
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26737
26724
  createdAt: drizzle_orm_pg_core208.PgColumn<{
26738
26725
  name: "created_at";
26739
26726
  tableName: "tools";
@@ -26996,7 +26983,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26996
26983
  }, {}, {
26997
26984
  length: 256;
26998
26985
  }>;
26999
- }, drizzle_zod15.BuildRefine<{
26986
+ }, drizzle_zod19.BuildRefine<{
27000
26987
  createdAt: drizzle_orm_pg_core208.PgColumn<{
27001
26988
  name: "created_at";
27002
26989
  tableName: "tools";
@@ -27423,9 +27410,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27423
27410
  createdAt: z.ZodString;
27424
27411
  updatedAt: z.ZodString;
27425
27412
  toolId: z.ZodString;
27426
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27427
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27428
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27413
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27414
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27415
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27429
27416
  subAgentId: z.ZodString;
27430
27417
  agentId: z.ZodString;
27431
27418
  projectId: z.ZodString;
@@ -27447,19 +27434,19 @@ declare const ConversationListResponse: z.ZodObject<{
27447
27434
  agentId: z.ZodNullable<z.ZodString>;
27448
27435
  activeSubAgentId: z.ZodString;
27449
27436
  ref: z.ZodNullable<z.ZodType<{
27450
- type: "tag" | "commit" | "branch";
27437
+ type: "commit" | "tag" | "branch";
27451
27438
  name: string;
27452
27439
  hash: string;
27453
27440
  }, {
27454
- type: "tag" | "commit" | "branch";
27441
+ type: "commit" | "tag" | "branch";
27455
27442
  name: string;
27456
27443
  hash: string;
27457
27444
  }, z.core.$ZodTypeInternals<{
27458
- type: "tag" | "commit" | "branch";
27445
+ type: "commit" | "tag" | "branch";
27459
27446
  name: string;
27460
27447
  hash: string;
27461
27448
  }, {
27462
- type: "tag" | "commit" | "branch";
27449
+ type: "commit" | "tag" | "branch";
27463
27450
  name: string;
27464
27451
  hash: string;
27465
27452
  }>>>;
@@ -27528,7 +27515,7 @@ declare const TriggerListResponse: z.ZodObject<{
27528
27515
  objectTransformation?: Record<string, string>;
27529
27516
  }>>>;
27530
27517
  messageTemplate: z.ZodString;
27531
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27518
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27532
27519
  signingSecret: z.ZodNullable<z.ZodString>;
27533
27520
  name: z.ZodString;
27534
27521
  description: z.ZodNullable<z.ZodString>;
@@ -27549,8 +27536,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27549
27536
  triggerId: z.ZodString;
27550
27537
  conversationId: z.ZodNullable<z.ZodString>;
27551
27538
  status: z.ZodString;
27552
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27553
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27539
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27540
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27554
27541
  errorMessage: z.ZodNullable<z.ZodString>;
27555
27542
  createdAt: z.ZodString;
27556
27543
  agentId: z.ZodString;
@@ -27626,6 +27613,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27626
27613
  id: z.ZodString;
27627
27614
  name: z.ZodString;
27628
27615
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27616
+ stopWhen: z.ZodOptional<z.ZodObject<{
27617
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
27618
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
27619
+ }, z.core.$strip>>;
27629
27620
  models: z.ZodObject<{
27630
27621
  base: z.ZodObject<{
27631
27622
  model: z.ZodOptional<z.ZodString>;
@@ -27640,24 +27631,30 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27640
27631
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27641
27632
  }, z.core.$strip>>;
27642
27633
  }, z.core.$strip>;
27643
- stopWhen: z.ZodOptional<z.ZodObject<{
27644
- transferCountIs: z.ZodOptional<z.ZodNumber>;
27645
- stepCountIs: z.ZodOptional<z.ZodNumber>;
27646
- }, z.core.$strip>>;
27647
27634
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27648
27635
  name: z.ZodString;
27649
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27650
27636
  createdAt: z.ZodOptional<z.ZodString>;
27651
27637
  updatedAt: z.ZodOptional<z.ZodString>;
27638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27652
27639
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27653
27640
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27654
27641
  id: z.ZodString;
27655
27642
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27656
27643
  id: z.ZodString;
27657
27644
  name: z.ZodString;
27658
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27659
27645
  createdAt: z.ZodOptional<z.ZodString>;
27660
27646
  updatedAt: z.ZodOptional<z.ZodString>;
27647
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27648
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
27649
+ stepCountIs?: number | undefined;
27650
+ }, {
27651
+ stepCountIs?: number | undefined;
27652
+ }, z.core.$ZodTypeInternals<{
27653
+ stepCountIs?: number | undefined;
27654
+ }, {
27655
+ stepCountIs?: number | undefined;
27656
+ }>>>>;
27657
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27661
27658
  models: z.ZodOptional<z.ZodObject<{
27662
27659
  base: z.ZodOptional<z.ZodObject<{
27663
27660
  model: z.ZodOptional<z.ZodString>;
@@ -27672,16 +27669,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27672
27669
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27673
27670
  }, z.core.$strip>>;
27674
27671
  }, z.core.$strip>>;
27675
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
27676
- stepCountIs?: number | undefined;
27677
- }, {
27678
- stepCountIs?: number | undefined;
27679
- }, z.core.$ZodTypeInternals<{
27680
- stepCountIs?: number | undefined;
27681
- }, {
27682
- stepCountIs?: number | undefined;
27683
- }>>>>;
27684
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27685
27672
  type: z.ZodLiteral<"internal">;
27686
27673
  canUse: z.ZodArray<z.ZodObject<{
27687
27674
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27786,9 +27773,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27786
27773
  }>, z.core.$strip>>>;
27787
27774
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27788
27775
  name: z.ZodString;
27789
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27790
27776
  createdAt: z.ZodOptional<z.ZodString>;
27791
27777
  updatedAt: z.ZodOptional<z.ZodString>;
27778
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27792
27779
  enabled: z.ZodOptional<z.ZodBoolean>;
27793
27780
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27794
27781
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -27805,7 +27792,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27805
27792
  objectTransformation?: Record<string, string>;
27806
27793
  }>>>>;
27807
27794
  messageTemplate: z.ZodString;
27808
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
27795
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27809
27796
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27810
27797
  id: z.ZodOptional<z.ZodString>;
27811
27798
  }, z.core.$strip>>>;
@@ -27986,9 +27973,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27986
27973
  name: z.ZodString;
27987
27974
  createdAt: z.ZodOptional<z.ZodString>;
27988
27975
  updatedAt: z.ZodOptional<z.ZodString>;
27976
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27989
27977
  credentialStoreId: z.ZodString;
27990
27978
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27991
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27992
27979
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27993
27980
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27994
27981
  type: z.ZodEnum<{
@@ -28008,9 +27995,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28008
27995
  data: z.ZodObject<{
28009
27996
  id: z.ZodString;
28010
27997
  name: z.ZodString;
28011
- description: z.ZodNullable<z.ZodString>;
28012
27998
  createdAt: z.ZodString;
28013
27999
  updatedAt: z.ZodString;
28000
+ description: z.ZodNullable<z.ZodString>;
28001
+ stopWhen: z.ZodNullable<z.ZodObject<{
28002
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28003
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28004
+ }, z.core.$strip>>;
28014
28005
  models: z.ZodNullable<z.ZodObject<{
28015
28006
  base: z.ZodObject<{
28016
28007
  model: z.ZodOptional<z.ZodString>;
@@ -28025,24 +28016,30 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28025
28016
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28026
28017
  }, z.core.$strip>>;
28027
28018
  }, z.core.$strip>>;
28028
- stopWhen: z.ZodNullable<z.ZodObject<{
28029
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28030
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28031
- }, z.core.$strip>>;
28032
28019
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28033
28020
  id: z.ZodString;
28034
28021
  name: z.ZodString;
28035
- description: z.ZodNullable<z.ZodString>;
28036
28022
  createdAt: z.ZodString;
28037
28023
  updatedAt: z.ZodString;
28024
+ description: z.ZodNullable<z.ZodString>;
28038
28025
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28039
28026
  contextConfigId: z.ZodNullable<z.ZodString>;
28040
28027
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28041
28028
  id: z.ZodString;
28042
28029
  name: z.ZodString;
28043
- description: z.ZodNullable<z.ZodString>;
28044
28030
  createdAt: z.ZodString;
28045
28031
  updatedAt: z.ZodString;
28032
+ description: z.ZodNullable<z.ZodString>;
28033
+ stopWhen: z.ZodNullable<z.ZodType<{
28034
+ stepCountIs?: number | undefined;
28035
+ }, {
28036
+ stepCountIs?: number | undefined;
28037
+ }, z.core.$ZodTypeInternals<{
28038
+ stepCountIs?: number | undefined;
28039
+ }, {
28040
+ stepCountIs?: number | undefined;
28041
+ }>>>;
28042
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28046
28043
  models: z.ZodNullable<z.ZodType<{
28047
28044
  base?: {
28048
28045
  model?: string | undefined;
@@ -28096,16 +28093,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28096
28093
  providerOptions?: Record<string, any> | undefined;
28097
28094
  } | undefined;
28098
28095
  }>>>;
28099
- stopWhen: z.ZodNullable<z.ZodType<{
28100
- stepCountIs?: number | undefined;
28101
- }, {
28102
- stepCountIs?: number | undefined;
28103
- }, z.core.$ZodTypeInternals<{
28104
- stepCountIs?: number | undefined;
28105
- }, {
28106
- stepCountIs?: number | undefined;
28107
- }>>>;
28108
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28109
28096
  type: z.ZodLiteral<"internal">;
28110
28097
  canUse: z.ZodArray<z.ZodObject<{
28111
28098
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28362,9 +28349,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28362
28349
  name: z.ZodString;
28363
28350
  createdAt: z.ZodString;
28364
28351
  updatedAt: z.ZodString;
28352
+ userId: z.ZodNullable<z.ZodString>;
28365
28353
  credentialStoreId: z.ZodString;
28366
28354
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28367
- userId: z.ZodNullable<z.ZodString>;
28368
28355
  toolId: z.ZodNullable<z.ZodString>;
28369
28356
  createdBy: z.ZodNullable<z.ZodString>;
28370
28357
  type: z.ZodEnum<{
@@ -28372,7 +28359,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28372
28359
  readonly keychain: "keychain";
28373
28360
  readonly nango: "nango";
28374
28361
  }>;
28375
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28362
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28376
28363
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28377
28364
  name: "created_at";
28378
28365
  tableName: "tools";
@@ -28635,7 +28622,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28635
28622
  }, {}, {
28636
28623
  length: 256;
28637
28624
  }>;
28638
- }, drizzle_zod15.BuildRefine<{
28625
+ }, drizzle_zod19.BuildRefine<{
28639
28626
  createdAt: drizzle_orm_pg_core208.PgColumn<{
28640
28627
  name: "created_at";
28641
28628
  tableName: "tools";
@@ -28923,9 +28910,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28923
28910
  data: z.ZodObject<{
28924
28911
  id: z.ZodString;
28925
28912
  name: z.ZodString;
28926
- description: z.ZodNullable<z.ZodString>;
28927
28913
  createdAt: z.ZodString;
28928
28914
  updatedAt: z.ZodString;
28915
+ description: z.ZodNullable<z.ZodString>;
28916
+ stopWhen: z.ZodNullable<z.ZodObject<{
28917
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28918
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28919
+ }, z.core.$strip>>;
28929
28920
  models: z.ZodNullable<z.ZodObject<{
28930
28921
  base: z.ZodObject<{
28931
28922
  model: z.ZodOptional<z.ZodString>;
@@ -28940,10 +28931,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28940
28931
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28941
28932
  }, z.core.$strip>>;
28942
28933
  }, z.core.$strip>>;
28943
- stopWhen: z.ZodNullable<z.ZodObject<{
28944
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28945
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28946
- }, z.core.$strip>>;
28947
28934
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28948
28935
  createdAt: z.ZodString;
28949
28936
  updatedAt: z.ZodString;
@@ -29070,9 +29057,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29070
29057
  name: z.ZodString;
29071
29058
  createdAt: z.ZodString;
29072
29059
  updatedAt: z.ZodString;
29060
+ userId: z.ZodNullable<z.ZodString>;
29073
29061
  credentialStoreId: z.ZodString;
29074
29062
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29075
- userId: z.ZodNullable<z.ZodString>;
29076
29063
  toolId: z.ZodNullable<z.ZodString>;
29077
29064
  createdBy: z.ZodNullable<z.ZodString>;
29078
29065
  type: z.ZodEnum<{
@@ -29080,7 +29067,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29080
29067
  readonly keychain: "keychain";
29081
29068
  readonly nango: "nango";
29082
29069
  }>;
29083
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29070
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29084
29071
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29085
29072
  name: "created_at";
29086
29073
  tableName: "tools";
@@ -29343,7 +29330,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29343
29330
  }, {}, {
29344
29331
  length: 256;
29345
29332
  }>;
29346
- }, drizzle_zod15.BuildRefine<{
29333
+ }, drizzle_zod19.BuildRefine<{
29347
29334
  createdAt: drizzle_orm_pg_core208.PgColumn<{
29348
29335
  name: "created_at";
29349
29336
  tableName: "tools";
@@ -29625,9 +29612,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29625
29612
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29626
29613
  id: z.ZodString;
29627
29614
  name: z.ZodString;
29628
- description: z.ZodNullable<z.ZodString>;
29629
29615
  createdAt: z.ZodString;
29630
29616
  updatedAt: z.ZodString;
29617
+ description: z.ZodNullable<z.ZodString>;
29631
29618
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29632
29619
  contextConfigId: z.ZodNullable<z.ZodString>;
29633
29620
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29738,9 +29725,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29738
29725
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29739
29726
  id: z.ZodString;
29740
29727
  name: z.ZodString;
29741
- description: z.ZodNullable<z.ZodString>;
29742
29728
  createdAt: z.ZodString;
29743
29729
  updatedAt: z.ZodString;
29730
+ description: z.ZodNullable<z.ZodString>;
29731
+ stopWhen: z.ZodNullable<z.ZodType<{
29732
+ stepCountIs?: number | undefined;
29733
+ }, {
29734
+ stepCountIs?: number | undefined;
29735
+ }, z.core.$ZodTypeInternals<{
29736
+ stepCountIs?: number | undefined;
29737
+ }, {
29738
+ stepCountIs?: number | undefined;
29739
+ }>>>;
29740
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29744
29741
  models: z.ZodNullable<z.ZodType<{
29745
29742
  base?: {
29746
29743
  model?: string | undefined;
@@ -29794,16 +29791,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29794
29791
  providerOptions?: Record<string, any> | undefined;
29795
29792
  } | undefined;
29796
29793
  }>>>;
29797
- stopWhen: z.ZodNullable<z.ZodType<{
29798
- stepCountIs?: number | undefined;
29799
- }, {
29800
- stepCountIs?: number | undefined;
29801
- }, z.core.$ZodTypeInternals<{
29802
- stepCountIs?: number | undefined;
29803
- }, {
29804
- stepCountIs?: number | undefined;
29805
- }>>>;
29806
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29807
29794
  type: z.ZodLiteral<"internal">;
29808
29795
  canUse: z.ZodArray<z.ZodObject<{
29809
29796
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29843,18 +29830,28 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29843
29830
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29844
29831
  data: z.ZodObject<{
29845
29832
  name: z.ZodString;
29846
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29847
29833
  createdAt: z.ZodOptional<z.ZodString>;
29848
29834
  updatedAt: z.ZodOptional<z.ZodString>;
29835
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29849
29836
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29850
29837
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29851
29838
  id: z.ZodString;
29852
29839
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29853
29840
  id: z.ZodString;
29854
29841
  name: z.ZodString;
29855
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29856
29842
  createdAt: z.ZodOptional<z.ZodString>;
29857
29843
  updatedAt: z.ZodOptional<z.ZodString>;
29844
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29845
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
29846
+ stepCountIs?: number | undefined;
29847
+ }, {
29848
+ stepCountIs?: number | undefined;
29849
+ }, z.core.$ZodTypeInternals<{
29850
+ stepCountIs?: number | undefined;
29851
+ }, {
29852
+ stepCountIs?: number | undefined;
29853
+ }>>>>;
29854
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29858
29855
  models: z.ZodOptional<z.ZodObject<{
29859
29856
  base: z.ZodOptional<z.ZodObject<{
29860
29857
  model: z.ZodOptional<z.ZodString>;
@@ -29869,16 +29866,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29869
29866
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
29870
29867
  }, z.core.$strip>>;
29871
29868
  }, z.core.$strip>>;
29872
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
29873
- stepCountIs?: number | undefined;
29874
- }, {
29875
- stepCountIs?: number | undefined;
29876
- }, z.core.$ZodTypeInternals<{
29877
- stepCountIs?: number | undefined;
29878
- }, {
29879
- stepCountIs?: number | undefined;
29880
- }>>>>;
29881
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29882
29869
  type: z.ZodLiteral<"internal">;
29883
29870
  canUse: z.ZodArray<z.ZodObject<{
29884
29871
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29983,9 +29970,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29983
29970
  }>, z.core.$strip>>>;
29984
29971
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29985
29972
  name: z.ZodString;
29986
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29987
29973
  createdAt: z.ZodOptional<z.ZodString>;
29988
29974
  updatedAt: z.ZodOptional<z.ZodString>;
29975
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29989
29976
  enabled: z.ZodOptional<z.ZodBoolean>;
29990
29977
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29991
29978
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -30002,7 +29989,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30002
29989
  objectTransformation?: Record<string, string>;
30003
29990
  }>>>>;
30004
29991
  messageTemplate: z.ZodString;
30005
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
29992
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30006
29993
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30007
29994
  id: z.ZodOptional<z.ZodString>;
30008
29995
  }, z.core.$strip>>>;
@@ -30050,17 +30037,27 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30050
30037
  data: z.ZodObject<{
30051
30038
  id: z.ZodString;
30052
30039
  name: z.ZodString;
30053
- description: z.ZodNullable<z.ZodString>;
30054
30040
  createdAt: z.ZodString;
30055
30041
  updatedAt: z.ZodString;
30042
+ description: z.ZodNullable<z.ZodString>;
30056
30043
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30057
30044
  contextConfigId: z.ZodNullable<z.ZodString>;
30058
30045
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30059
30046
  id: z.ZodString;
30060
30047
  name: z.ZodString;
30061
- description: z.ZodNullable<z.ZodString>;
30062
30048
  createdAt: z.ZodString;
30063
30049
  updatedAt: z.ZodString;
30050
+ description: z.ZodNullable<z.ZodString>;
30051
+ stopWhen: z.ZodNullable<z.ZodType<{
30052
+ stepCountIs?: number | undefined;
30053
+ }, {
30054
+ stepCountIs?: number | undefined;
30055
+ }, z.core.$ZodTypeInternals<{
30056
+ stepCountIs?: number | undefined;
30057
+ }, {
30058
+ stepCountIs?: number | undefined;
30059
+ }>>>;
30060
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30064
30061
  models: z.ZodNullable<z.ZodType<{
30065
30062
  base?: {
30066
30063
  model?: string | undefined;
@@ -30114,16 +30111,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30114
30111
  providerOptions?: Record<string, any> | undefined;
30115
30112
  } | undefined;
30116
30113
  }>>>;
30117
- stopWhen: z.ZodNullable<z.ZodType<{
30118
- stepCountIs?: number | undefined;
30119
- }, {
30120
- stepCountIs?: number | undefined;
30121
- }, z.core.$ZodTypeInternals<{
30122
- stepCountIs?: number | undefined;
30123
- }, {
30124
- stepCountIs?: number | undefined;
30125
- }>>>;
30126
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30127
30114
  type: z.ZodLiteral<"internal">;
30128
30115
  canUse: z.ZodArray<z.ZodObject<{
30129
30116
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30407,7 +30394,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30407
30394
  createdAt: z.ZodString;
30408
30395
  updatedAt: z.ZodString;
30409
30396
  targetAgentId: z.ZodString;
30410
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30397
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30411
30398
  subAgentId: z.ZodString;
30412
30399
  agentId: z.ZodString;
30413
30400
  projectId: z.ZodString;
@@ -30420,7 +30407,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30420
30407
  createdAt: z.ZodString;
30421
30408
  updatedAt: z.ZodString;
30422
30409
  targetAgentId: z.ZodString;
30423
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30410
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30424
30411
  subAgentId: z.ZodString;
30425
30412
  agentId: z.ZodString;
30426
30413
  projectId: z.ZodString;
@@ -30439,7 +30426,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30439
30426
  createdAt: z.ZodString;
30440
30427
  updatedAt: z.ZodString;
30441
30428
  externalAgentId: z.ZodString;
30442
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30429
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30443
30430
  subAgentId: z.ZodString;
30444
30431
  agentId: z.ZodString;
30445
30432
  projectId: z.ZodString;
@@ -30452,7 +30439,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30452
30439
  createdAt: z.ZodString;
30453
30440
  updatedAt: z.ZodString;
30454
30441
  externalAgentId: z.ZodString;
30455
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30442
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30456
30443
  subAgentId: z.ZodString;
30457
30444
  agentId: z.ZodString;
30458
30445
  projectId: z.ZodString;
@@ -30619,7 +30606,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
30619
30606
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
30620
30607
  ref: z.ZodOptional<z.ZodString>;
30621
30608
  }, z.core.$strip>;
30622
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30609
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30623
30610
  id: drizzle_orm_pg_core208.PgColumn<{
30624
30611
  name: "id";
30625
30612
  tableName: "project_metadata";
@@ -30713,7 +30700,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30713
30700
  }, {}, {
30714
30701
  length: 512;
30715
30702
  }>;
30716
- }, drizzle_zod15.BuildRefine<{
30703
+ }, drizzle_zod19.BuildRefine<{
30717
30704
  id: drizzle_orm_pg_core208.PgColumn<{
30718
30705
  name: "id";
30719
30706
  tableName: "project_metadata";
@@ -30809,8 +30796,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30809
30796
  }>;
30810
30797
  }, undefined>, undefined>;
30811
30798
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
30812
- tenantId: z.ZodString;
30813
30799
  id: z.ZodString;
30800
+ tenantId: z.ZodString;
30814
30801
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30815
30802
  mainBranchName: z.ZodString;
30816
30803
  }, {
@@ -30818,4 +30805,4 @@ declare const ProjectMetadataInsertSchema: z.ZodObject<{
30818
30805
  in: {};
30819
30806
  }>;
30820
30807
  //#endregion
30821
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthenticationSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, resourceIdSchema };
30808
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, resourceIdSchema };