@inkeep/agents-core 0.64.2 → 0.64.6

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 (58) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/init.js +2 -2
  4. package/dist/constants/otel-attributes.d.ts +5 -0
  5. package/dist/constants/otel-attributes.js +7 -2
  6. package/dist/constants/signoz-queries.d.ts +1 -0
  7. package/dist/constants/signoz-queries.js +2 -1
  8. package/dist/data-access/index.d.ts +2 -1
  9. package/dist/data-access/index.js +2 -1
  10. package/dist/data-access/manage/agents.d.ts +32 -32
  11. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  12. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  13. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  14. package/dist/data-access/manage/functionTools.d.ts +10 -10
  15. package/dist/data-access/manage/skills.d.ts +5 -5
  16. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  17. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  18. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  19. package/dist/data-access/manage/subAgents.d.ts +12 -12
  20. package/dist/data-access/manage/tools.d.ts +21 -21
  21. package/dist/data-access/manage/tools.js +1 -1
  22. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  23. package/dist/data-access/runtime/apps.d.ts +4 -4
  24. package/dist/data-access/runtime/conversations.d.ts +12 -12
  25. package/dist/data-access/runtime/messages.d.ts +3 -3
  26. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  27. package/dist/data-access/runtime/streamChunks.d.ts +29 -0
  28. package/dist/data-access/runtime/streamChunks.js +65 -0
  29. package/dist/data-access/runtime/tasks.d.ts +3 -3
  30. package/dist/db/manage/dolt-safe-jsonb.d.ts +12 -0
  31. package/dist/db/manage/dolt-safe-jsonb.js +61 -0
  32. package/dist/db/manage/manage-schema.d.ts +388 -388
  33. package/dist/db/manage/manage-schema.js +40 -39
  34. package/dist/db/runtime/runtime-schema.d.ts +136 -4
  35. package/dist/db/runtime/runtime-schema.js +20 -1
  36. package/dist/dolt/ref-helpers.js +15 -1
  37. package/dist/dolt/ref-scope.js +29 -1
  38. package/dist/index.d.ts +5 -4
  39. package/dist/index.js +5 -4
  40. package/dist/setup/setup.d.ts +3 -1
  41. package/dist/setup/setup.js +14 -10
  42. package/dist/utils/index.d.ts +3 -3
  43. package/dist/utils/index.js +3 -3
  44. package/dist/utils/jwt-helpers.d.ts +2 -3
  45. package/dist/utils/jwt-helpers.js +2 -3
  46. package/dist/utils/retry-client.d.ts +8 -0
  47. package/dist/utils/retry-client.js +29 -0
  48. package/dist/utils/service-token-auth.d.ts +3 -0
  49. package/dist/utils/service-token-auth.js +5 -2
  50. package/dist/utils/temp-jwt.d.ts +1 -6
  51. package/dist/utils/temp-jwt.js +1 -12
  52. package/dist/utils/work-app-mcp.js +1 -2
  53. package/dist/validation/schemas/skills.d.ts +25 -25
  54. package/dist/validation/schemas.d.ts +422 -422
  55. package/drizzle/runtime/0031_fantastic_gorilla_man.sql +13 -0
  56. package/drizzle/runtime/meta/0031_snapshot.json +4872 -0
  57. package/drizzle/runtime/meta/_journal.json +7 -0
  58. package/package.json +6 -2
@@ -176,7 +176,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
176
176
  generated: undefined;
177
177
  }, {}, {}>;
178
178
  conversationHistoryConfig: drizzle_orm_pg_core220.PgColumn<{
179
- name: "conversation_history_config";
179
+ name: string;
180
180
  tableName: "sub_agents";
181
181
  dataType: "json";
182
182
  columnType: "PgJsonb";
@@ -195,7 +195,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
195
195
  $type: ConversationHistoryConfig;
196
196
  }>;
197
197
  models: drizzle_orm_pg_core220.PgColumn<{
198
- name: "models";
198
+ name: string;
199
199
  tableName: "sub_agents";
200
200
  dataType: "json";
201
201
  columnType: "PgJsonb";
@@ -252,7 +252,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
252
252
  };
253
253
  }>;
254
254
  stopWhen: drizzle_orm_pg_core220.PgColumn<{
255
- name: "stop_when";
255
+ name: string;
256
256
  tableName: "sub_agents";
257
257
  dataType: "json";
258
258
  columnType: "PgJsonb";
@@ -439,7 +439,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
439
439
  generated: undefined;
440
440
  }, {}, {}>;
441
441
  conversationHistoryConfig: drizzle_orm_pg_core220.PgColumn<{
442
- name: "conversation_history_config";
442
+ name: string;
443
443
  tableName: "sub_agents";
444
444
  dataType: "json";
445
445
  columnType: "PgJsonb";
@@ -458,7 +458,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
458
458
  $type: ConversationHistoryConfig;
459
459
  }>;
460
460
  models: drizzle_orm_pg_core220.PgColumn<{
461
- name: "models";
461
+ name: string;
462
462
  tableName: "sub_agents";
463
463
  dataType: "json";
464
464
  columnType: "PgJsonb";
@@ -515,7 +515,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
515
515
  };
516
516
  }>;
517
517
  stopWhen: drizzle_orm_pg_core220.PgColumn<{
518
- name: "stop_when";
518
+ name: string;
519
519
  tableName: "sub_agents";
520
520
  dataType: "json";
521
521
  columnType: "PgJsonb";
@@ -821,6 +821,7 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
821
821
  allowedProviders?: string[] | undefined;
822
822
  } | undefined;
823
823
  }>>>;
824
+ prompt: z.ZodNullable<z.ZodString>;
824
825
  stopWhen: z.ZodNullable<z.ZodType<{
825
826
  stepCountIs?: number | undefined;
826
827
  }, {
@@ -830,7 +831,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
830
831
  }, {
831
832
  stepCountIs?: number | undefined;
832
833
  }>>>;
833
- prompt: z.ZodNullable<z.ZodString>;
834
834
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
835
835
  }, z.core.$strip>;
836
836
  declare const SubAgentApiInsertSchema: z.ZodObject<{
@@ -859,6 +859,7 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
859
859
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
860
860
  }, z.core.$strip>>;
861
861
  }, z.core.$strip>>;
862
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
863
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
863
864
  stepCountIs?: number | undefined;
864
865
  }, {
@@ -868,7 +869,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
868
869
  }, {
869
870
  stepCountIs?: number | undefined;
870
871
  }>>>>;
871
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
872
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
873
873
  }, z.core.$strip>;
874
874
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
@@ -897,6 +897,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
897
897
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
898
  }, z.core.$strip>>;
899
899
  }, z.core.$strip>>>>;
900
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
900
901
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
901
902
  stepCountIs?: number | undefined;
902
903
  }, {
@@ -906,7 +907,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
906
907
  }, {
907
908
  stepCountIs?: number | undefined;
908
909
  }>>>>>>;
909
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
910
910
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
911
911
  }, z.core.$strip>;
912
912
  declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
@@ -1417,7 +1417,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1417
1417
  length: 256;
1418
1418
  }>;
1419
1419
  models: drizzle_orm_pg_core220.PgColumn<{
1420
- name: "models";
1420
+ name: string;
1421
1421
  tableName: "agent";
1422
1422
  dataType: "json";
1423
1423
  columnType: "PgJsonb";
@@ -1474,7 +1474,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1474
1474
  };
1475
1475
  }>;
1476
1476
  statusUpdates: drizzle_orm_pg_core220.PgColumn<{
1477
- name: "status_updates";
1477
+ name: string;
1478
1478
  tableName: "agent";
1479
1479
  dataType: "json";
1480
1480
  columnType: "PgJsonb";
@@ -1538,7 +1538,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1538
1538
  generated: undefined;
1539
1539
  }, {}, {}>;
1540
1540
  stopWhen: drizzle_orm_pg_core220.PgColumn<{
1541
- name: "stop_when";
1541
+ name: string;
1542
1542
  tableName: "agent";
1543
1543
  dataType: "json";
1544
1544
  columnType: "PgJsonb";
@@ -1747,7 +1747,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1747
1747
  length: 256;
1748
1748
  }>;
1749
1749
  models: drizzle_orm_pg_core220.PgColumn<{
1750
- name: "models";
1750
+ name: string;
1751
1751
  tableName: "agent";
1752
1752
  dataType: "json";
1753
1753
  columnType: "PgJsonb";
@@ -1804,7 +1804,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1804
1804
  };
1805
1805
  }>;
1806
1806
  statusUpdates: drizzle_orm_pg_core220.PgColumn<{
1807
- name: "status_updates";
1807
+ name: string;
1808
1808
  tableName: "agent";
1809
1809
  dataType: "json";
1810
1810
  columnType: "PgJsonb";
@@ -1868,7 +1868,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1868
1868
  generated: undefined;
1869
1869
  }, {}, {}>;
1870
1870
  stopWhen: drizzle_orm_pg_core220.PgColumn<{
1871
- name: "stop_when";
1871
+ name: string;
1872
1872
  tableName: "agent";
1873
1873
  dataType: "json";
1874
1874
  columnType: "PgJsonb";
@@ -2078,7 +2078,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2078
2078
  length: 256;
2079
2079
  }>;
2080
2080
  models: drizzle_orm_pg_core220.PgColumn<{
2081
- name: "models";
2081
+ name: string;
2082
2082
  tableName: "agent";
2083
2083
  dataType: "json";
2084
2084
  columnType: "PgJsonb";
@@ -2135,7 +2135,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2135
2135
  };
2136
2136
  }>;
2137
2137
  statusUpdates: drizzle_orm_pg_core220.PgColumn<{
2138
- name: "status_updates";
2138
+ name: string;
2139
2139
  tableName: "agent";
2140
2140
  dataType: "json";
2141
2141
  columnType: "PgJsonb";
@@ -2199,7 +2199,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2199
2199
  generated: undefined;
2200
2200
  }, {}, {}>;
2201
2201
  stopWhen: drizzle_orm_pg_core220.PgColumn<{
2202
- name: "stop_when";
2202
+ name: string;
2203
2203
  tableName: "agent";
2204
2204
  dataType: "json";
2205
2205
  columnType: "PgJsonb";
@@ -2408,7 +2408,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2408
2408
  length: 256;
2409
2409
  }>;
2410
2410
  models: drizzle_orm_pg_core220.PgColumn<{
2411
- name: "models";
2411
+ name: string;
2412
2412
  tableName: "agent";
2413
2413
  dataType: "json";
2414
2414
  columnType: "PgJsonb";
@@ -2465,7 +2465,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2465
2465
  };
2466
2466
  }>;
2467
2467
  statusUpdates: drizzle_orm_pg_core220.PgColumn<{
2468
- name: "status_updates";
2468
+ name: string;
2469
2469
  tableName: "agent";
2470
2470
  dataType: "json";
2471
2471
  columnType: "PgJsonb";
@@ -2529,7 +2529,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2529
2529
  generated: undefined;
2530
2530
  }, {}, {}>;
2531
2531
  stopWhen: drizzle_orm_pg_core220.PgColumn<{
2532
- name: "stop_when";
2532
+ name: string;
2533
2533
  tableName: "agent";
2534
2534
  dataType: "json";
2535
2535
  columnType: "PgJsonb";
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "models" | "stopWhen" | "tenantId" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen" | "executionMode">, undefined>, undefined>;
2668
2668
  declare const AgentUpdateSchema: z.ZodObject<{
2669
2669
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2670
2670
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2830,6 +2830,8 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2830
2830
  createdAt: z.ZodString;
2831
2831
  updatedAt: z.ZodString;
2832
2832
  description: z.ZodNullable<z.ZodString>;
2833
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
2834
+ contextConfigId: z.ZodNullable<z.ZodString>;
2833
2835
  models: z.ZodNullable<z.ZodType<{
2834
2836
  base?: {
2835
2837
  model?: string | undefined;
@@ -2907,17 +2909,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2907
2909
  allowedProviders?: string[] | undefined;
2908
2910
  } | undefined;
2909
2911
  }>>>;
2910
- stopWhen: z.ZodNullable<z.ZodType<{
2911
- transferCountIs?: number | undefined;
2912
- }, {
2913
- transferCountIs?: number | undefined;
2914
- }, z.core.$ZodTypeInternals<{
2915
- transferCountIs?: number | undefined;
2916
- }, {
2917
- transferCountIs?: number | undefined;
2918
- }>>>;
2919
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2920
- contextConfigId: z.ZodNullable<z.ZodString>;
2921
2912
  prompt: z.ZodNullable<z.ZodString>;
2922
2913
  statusUpdates: z.ZodNullable<z.ZodType<{
2923
2914
  enabled?: boolean | undefined;
@@ -2976,12 +2967,23 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2976
2967
  } | undefined;
2977
2968
  }[] | undefined;
2978
2969
  }>>>;
2970
+ stopWhen: z.ZodNullable<z.ZodType<{
2971
+ transferCountIs?: number | undefined;
2972
+ }, {
2973
+ transferCountIs?: number | undefined;
2974
+ }, z.core.$ZodTypeInternals<{
2975
+ transferCountIs?: number | undefined;
2976
+ }, {
2977
+ transferCountIs?: number | undefined;
2978
+ }>>>;
2979
2979
  executionMode: z.ZodString;
2980
2980
  }, z.core.$strip>;
2981
2981
  declare const AgentApiInsertSchema: z.ZodObject<{
2982
2982
  id: z.ZodString;
2983
2983
  name: z.ZodString;
2984
2984
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
2987
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2986
2988
  base?: {
2987
2989
  model?: string | undefined;
@@ -3059,17 +3061,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3059
3061
  allowedProviders?: string[] | undefined;
3060
3062
  } | undefined;
3061
3063
  }>>>>;
3062
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
3063
- transferCountIs?: number | undefined;
3064
- }, {
3065
- transferCountIs?: number | undefined;
3066
- }, z.core.$ZodTypeInternals<{
3067
- transferCountIs?: number | undefined;
3068
- }, {
3069
- transferCountIs?: number | undefined;
3070
- }>>>>;
3071
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
3064
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3065
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3075
3066
  enabled?: boolean | undefined;
@@ -3128,11 +3119,22 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3128
3119
  } | undefined;
3129
3120
  }[] | undefined;
3130
3121
  }>>>>;
3122
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
3123
+ transferCountIs?: number | undefined;
3124
+ }, {
3125
+ transferCountIs?: number | undefined;
3126
+ }, z.core.$ZodTypeInternals<{
3127
+ transferCountIs?: number | undefined;
3128
+ }, {
3129
+ transferCountIs?: number | undefined;
3130
+ }>>>>;
3131
3131
  executionMode: z.ZodOptional<z.ZodString>;
3132
3132
  }, z.core.$strip>;
3133
3133
  declare const AgentApiUpdateSchema: z.ZodObject<{
3134
3134
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3135
3135
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3136
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3137
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3136
3138
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3137
3139
  base?: {
3138
3140
  model?: string | undefined;
@@ -3210,17 +3212,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3210
3212
  allowedProviders?: string[] | undefined;
3211
3213
  } | undefined;
3212
3214
  }>>>>>>;
3213
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3214
- transferCountIs?: number | undefined;
3215
- }, {
3216
- transferCountIs?: number | undefined;
3217
- }, z.core.$ZodTypeInternals<{
3218
- transferCountIs?: number | undefined;
3219
- }, {
3220
- transferCountIs?: number | undefined;
3221
- }>>>>>>;
3222
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
3215
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3225
3216
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3226
3217
  enabled?: boolean | undefined;
@@ -3279,6 +3270,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3279
3270
  } | undefined;
3280
3271
  }[] | undefined;
3281
3272
  }>>>>>>;
3273
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3274
+ transferCountIs?: number | undefined;
3275
+ }, {
3276
+ transferCountIs?: number | undefined;
3277
+ }, z.core.$ZodTypeInternals<{
3278
+ transferCountIs?: number | undefined;
3279
+ }, {
3280
+ transferCountIs?: number | undefined;
3281
+ }>>>>>>;
3282
3282
  executionMode: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3283
3283
  }, z.core.$strip>;
3284
3284
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
@@ -3671,7 +3671,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3671
3671
  generated: undefined;
3672
3672
  }, {}, {}>;
3673
3673
  inputSchema: drizzle_orm_pg_core220.PgColumn<{
3674
- name: "input_schema";
3674
+ name: string;
3675
3675
  tableName: "triggers";
3676
3676
  dataType: "json";
3677
3677
  columnType: "PgJsonb";
@@ -3690,7 +3690,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3690
3690
  $type: Record<string, unknown> | null;
3691
3691
  }>;
3692
3692
  outputTransform: drizzle_orm_pg_core220.PgColumn<{
3693
- name: "output_transform";
3693
+ name: string;
3694
3694
  tableName: "triggers";
3695
3695
  dataType: "json";
3696
3696
  columnType: "PgJsonb";
@@ -3732,7 +3732,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3732
3732
  generated: undefined;
3733
3733
  }, {}, {}>;
3734
3734
  authentication: drizzle_orm_pg_core220.PgColumn<{
3735
- name: "authentication";
3735
+ name: string;
3736
3736
  tableName: "triggers";
3737
3737
  dataType: "json";
3738
3738
  columnType: "PgJsonb";
@@ -3770,7 +3770,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3770
3770
  length: 256;
3771
3771
  }>;
3772
3772
  signatureVerification: drizzle_orm_pg_core220.PgColumn<{
3773
- name: "signature_verification";
3773
+ name: string;
3774
3774
  tableName: "triggers";
3775
3775
  dataType: "json";
3776
3776
  columnType: "PgJsonb";
@@ -4041,7 +4041,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4041
4041
  generated: undefined;
4042
4042
  }, {}, {}>;
4043
4043
  inputSchema: drizzle_orm_pg_core220.PgColumn<{
4044
- name: "input_schema";
4044
+ name: string;
4045
4045
  tableName: "triggers";
4046
4046
  dataType: "json";
4047
4047
  columnType: "PgJsonb";
@@ -4060,7 +4060,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4060
4060
  $type: Record<string, unknown> | null;
4061
4061
  }>;
4062
4062
  outputTransform: drizzle_orm_pg_core220.PgColumn<{
4063
- name: "output_transform";
4063
+ name: string;
4064
4064
  tableName: "triggers";
4065
4065
  dataType: "json";
4066
4066
  columnType: "PgJsonb";
@@ -4102,7 +4102,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4102
4102
  generated: undefined;
4103
4103
  }, {}, {}>;
4104
4104
  authentication: drizzle_orm_pg_core220.PgColumn<{
4105
- name: "authentication";
4105
+ name: string;
4106
4106
  tableName: "triggers";
4107
4107
  dataType: "json";
4108
4108
  columnType: "PgJsonb";
@@ -4140,7 +4140,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4140
4140
  length: 256;
4141
4141
  }>;
4142
4142
  signatureVerification: drizzle_orm_pg_core220.PgColumn<{
4143
- name: "signature_verification";
4143
+ name: string;
4144
4144
  tableName: "triggers";
4145
4145
  dataType: "json";
4146
4146
  columnType: "PgJsonb";
@@ -4358,7 +4358,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4358
4358
  }, {}, {
4359
4359
  length: 256;
4360
4360
  }>;
4361
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4361
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4362
4362
  declare const TriggerUpdateSchema: z.ZodObject<{
4363
4363
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4364
4364
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5015,7 +5015,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
5015
5015
  }, {}, {
5016
5016
  length: 256;
5017
5017
  }>;
5018
- }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5018
+ }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5019
5019
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5020
5020
  triggerId: z.ZodOptional<z.ZodString>;
5021
5021
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5062,8 +5062,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5062
5062
  hash: z.ZodString;
5063
5063
  }, z.core.$strip>>>;
5064
5064
  status: z.ZodString;
5065
- conversationId: z.ZodNullable<z.ZodString>;
5066
5065
  triggerId: z.ZodString;
5066
+ conversationId: z.ZodNullable<z.ZodString>;
5067
5067
  requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5068
5068
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5069
5069
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -5088,8 +5088,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5088
5088
  hash: string;
5089
5089
  }>>>>;
5090
5090
  status: z.ZodOptional<z.ZodString>;
5091
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5092
5091
  triggerId: z.ZodString;
5092
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5093
5093
  requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5094
5094
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5095
5095
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5116,8 +5116,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5116
5116
  hash: string;
5117
5117
  }>>>>>>;
5118
5118
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5119
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5120
5119
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5120
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5121
5121
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5122
5122
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5123
5123
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5155,9 +5155,9 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5155
5155
  ref: z.ZodOptional<z.ZodString>;
5156
5156
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5157
5157
  enabled: z.ZodOptional<z.ZodBoolean>;
5158
- tenantId: z.ZodString;
5159
- projectId: z.ZodString;
5160
5158
  agentId: z.ZodString;
5159
+ projectId: z.ZodString;
5160
+ tenantId: z.ZodString;
5161
5161
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
5162
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
5163
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5176,9 +5176,9 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5176
5176
  id: z.ZodOptional<z.ZodString>;
5177
5177
  name: z.ZodOptional<z.ZodString>;
5178
5178
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
- tenantId: z.ZodOptional<z.ZodString>;
5180
- projectId: z.ZodOptional<z.ZodString>;
5181
5179
  agentId: z.ZodOptional<z.ZodString>;
5180
+ projectId: z.ZodOptional<z.ZodString>;
5181
+ tenantId: z.ZodOptional<z.ZodString>;
5182
5182
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
5183
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5184
5184
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5268,9 +5268,9 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5268
5268
  }, z.core.$strip>;
5269
5269
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5270
5270
  pending: "pending";
5271
+ failed: "failed";
5271
5272
  running: "running";
5272
5273
  completed: "completed";
5273
- failed: "failed";
5274
5274
  cancelled: "cancelled";
5275
5275
  }>;
5276
5276
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -5298,9 +5298,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5298
5298
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5299
5299
  status: z.ZodEnum<{
5300
5300
  pending: "pending";
5301
+ failed: "failed";
5301
5302
  running: "running";
5302
5303
  completed: "completed";
5303
- failed: "failed";
5304
5304
  cancelled: "cancelled";
5305
5305
  }>;
5306
5306
  }, {
@@ -5359,7 +5359,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5359
5359
  tableName: "scheduled_trigger_invocations";
5360
5360
  dataType: "string";
5361
5361
  columnType: "PgVarchar";
5362
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
5362
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
5363
5363
  driverParam: string;
5364
5364
  notNull: true;
5365
5365
  hasDefault: false;
@@ -5372,7 +5372,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5372
5372
  generated: undefined;
5373
5373
  }, {}, {
5374
5374
  length: 50;
5375
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5375
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5376
5376
  }>;
5377
5377
  scheduledFor: drizzle_orm_pg_core220.PgColumn<{
5378
5378
  name: "scheduled_for";
@@ -5644,7 +5644,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5644
5644
  tableName: "scheduled_trigger_invocations";
5645
5645
  dataType: "string";
5646
5646
  columnType: "PgVarchar";
5647
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
5647
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
5648
5648
  driverParam: string;
5649
5649
  notNull: true;
5650
5650
  hasDefault: false;
@@ -5657,7 +5657,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5657
5657
  generated: undefined;
5658
5658
  }, {}, {
5659
5659
  length: 50;
5660
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5660
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5661
5661
  }>;
5662
5662
  scheduledFor: drizzle_orm_pg_core220.PgColumn<{
5663
5663
  name: "scheduled_for";
@@ -5877,7 +5877,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5877
5877
  }, {}, {
5878
5878
  length: 256;
5879
5879
  }>;
5880
- }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5880
+ }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5881
5881
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5882
5882
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
5883
5883
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -5928,17 +5928,17 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
5928
5928
  }, z.core.$strip>>>;
5929
5929
  status: z.ZodEnum<{
5930
5930
  pending: "pending";
5931
+ failed: "failed";
5931
5932
  running: "running";
5932
5933
  completed: "completed";
5933
- failed: "failed";
5934
5934
  cancelled: "cancelled";
5935
5935
  }>;
5936
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5937
5936
  scheduledTriggerId: z.ZodString;
5938
5937
  scheduledFor: z.ZodString;
5939
5938
  startedAt: z.ZodNullable<z.ZodString>;
5940
5939
  completedAt: z.ZodNullable<z.ZodString>;
5941
5940
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5941
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5942
5942
  attemptNumber: z.ZodInt;
5943
5943
  idempotencyKey: z.ZodString;
5944
5944
  }, z.core.$strip>;
@@ -5962,12 +5962,12 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5962
5962
  hash: string;
5963
5963
  }>>>>;
5964
5964
  status: z.ZodString;
5965
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5966
5965
  scheduledTriggerId: z.ZodString;
5967
5966
  scheduledFor: z.ZodString;
5968
5967
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5969
5968
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5970
5969
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5970
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5971
5971
  attemptNumber: z.ZodOptional<z.ZodInt>;
5972
5972
  idempotencyKey: z.ZodString;
5973
5973
  id: z.ZodString;
@@ -5993,12 +5993,12 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
5993
5993
  hash: string;
5994
5994
  }>>>>>>;
5995
5995
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5996
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
5997
5996
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5998
5997
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5999
5998
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6000
5999
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6001
6000
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
6001
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6002
6002
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6003
6003
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6004
6004
  }, z.core.$strip>;
@@ -6240,8 +6240,8 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6240
6240
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6241
6241
  status: z.ZodString;
6242
6242
  agentId: z.ZodString;
6243
- subAgentId: z.ZodString;
6244
6243
  contextId: z.ZodString;
6244
+ subAgentId: z.ZodString;
6245
6245
  }, z.core.$strip>;
6246
6246
  declare const TaskApiInsertSchema: z.ZodObject<{
6247
6247
  id: z.ZodString;
@@ -6259,9 +6259,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6259
6259
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6260
6260
  status: z.ZodString;
6261
6261
  agentId: z.ZodString;
6262
- subAgentId: z.ZodString;
6263
- contextId: z.ZodString;
6264
6262
  conversationId: z.ZodOptional<z.ZodString>;
6263
+ contextId: z.ZodString;
6264
+ subAgentId: z.ZodString;
6265
6265
  }, z.core.$strip>;
6266
6266
  declare const TaskApiUpdateSchema: z.ZodObject<{
6267
6267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6279,9 +6279,9 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6279
6279
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6280
6280
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6281
6281
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6282
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6283
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6284
6282
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6283
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6284
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6285
6285
  }, z.core.$strip>;
6286
6286
  declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6287
6287
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -6690,7 +6690,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6690
6690
  generated: undefined;
6691
6691
  }, {}, {}>;
6692
6692
  config: drizzle_orm_pg_core220.PgColumn<{
6693
- name: "config";
6693
+ name: string;
6694
6694
  tableName: "tools";
6695
6695
  dataType: "json";
6696
6696
  columnType: "PgJsonb";
@@ -6753,7 +6753,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6753
6753
  length: 50;
6754
6754
  }>;
6755
6755
  headers: drizzle_orm_pg_core220.PgColumn<{
6756
- name: "headers";
6756
+ name: string;
6757
6757
  tableName: "tools";
6758
6758
  dataType: "json";
6759
6759
  columnType: "PgJsonb";
@@ -6789,7 +6789,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6789
6789
  generated: undefined;
6790
6790
  }, {}, {}>;
6791
6791
  capabilities: drizzle_orm_pg_core220.PgColumn<{
6792
- name: "capabilities";
6792
+ name: string;
6793
6793
  tableName: "tools";
6794
6794
  dataType: "json";
6795
6795
  columnType: "PgJsonb";
@@ -6970,7 +6970,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6970
6970
  generated: undefined;
6971
6971
  }, {}, {}>;
6972
6972
  config: drizzle_orm_pg_core220.PgColumn<{
6973
- name: "config";
6973
+ name: string;
6974
6974
  tableName: "tools";
6975
6975
  dataType: "json";
6976
6976
  columnType: "PgJsonb";
@@ -7033,7 +7033,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
7033
7033
  length: 50;
7034
7034
  }>;
7035
7035
  headers: drizzle_orm_pg_core220.PgColumn<{
7036
- name: "headers";
7036
+ name: string;
7037
7037
  tableName: "tools";
7038
7038
  dataType: "json";
7039
7039
  columnType: "PgJsonb";
@@ -7069,7 +7069,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
7069
7069
  generated: undefined;
7070
7070
  }, {}, {}>;
7071
7071
  capabilities: drizzle_orm_pg_core220.PgColumn<{
7072
- name: "capabilities";
7072
+ name: string;
7073
7073
  tableName: "tools";
7074
7074
  dataType: "json";
7075
7075
  columnType: "PgJsonb";
@@ -7218,11 +7218,10 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
7218
7218
  declare const ToolInsertSchema: z.ZodObject<{
7219
7219
  id: z.ZodString;
7220
7220
  name: z.ZodString;
7221
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7222
7221
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7223
- tenantId: z.ZodString;
7222
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7224
7223
  projectId: z.ZodString;
7225
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7224
+ tenantId: z.ZodString;
7226
7225
  config: z.ZodObject<{
7227
7226
  type: z.ZodLiteral<"mcp">;
7228
7227
  mcp: z.ZodObject<{
@@ -7249,6 +7248,7 @@ declare const ToolInsertSchema: z.ZodObject<{
7249
7248
  prompt: z.ZodOptional<z.ZodString>;
7250
7249
  }, z.core.$strip>;
7251
7250
  }, z.core.$strip>;
7251
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
7252
  credentialScope: z.ZodOptional<z.ZodString>;
7253
7253
  imageUrl: z.ZodOptional<z.ZodString>;
7254
7254
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -7350,8 +7350,8 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7350
7350
  }, z.core.$strip>>>;
7351
7351
  userId: z.ZodNullable<z.ZodString>;
7352
7352
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7353
- title: z.ZodNullable<z.ZodString>;
7354
7353
  agentId: z.ZodNullable<z.ZodString>;
7354
+ title: z.ZodNullable<z.ZodString>;
7355
7355
  activeSubAgentId: z.ZodString;
7356
7356
  lastContextResolution: z.ZodNullable<z.ZodString>;
7357
7357
  }, z.core.$strip>;
@@ -7370,9 +7370,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7370
7370
  }, z.core.$strip>;
7371
7371
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7372
7372
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7373
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7374
7373
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7375
7374
  contextConfigId: z.ZodOptional<z.ZodString>;
7375
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7376
7376
  activeSubAgentId: z.ZodString;
7377
7377
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7378
7378
  }, z.core.$strip>;
@@ -7391,9 +7391,9 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7391
7391
  }, z.core.$strip>>>;
7392
7392
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7393
7393
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7394
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7395
7394
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7396
7395
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7396
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7397
7397
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7398
7398
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7399
7399
  }, z.core.$strip>;
@@ -8542,8 +8542,8 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
8542
8542
  hash: z.ZodString;
8543
8543
  }, z.core.$strip>>>;
8544
8544
  datasetId: z.ZodString;
8545
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8546
8545
  datasetRunConfigId: z.ZodNullable<z.ZodString>;
8546
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8547
8547
  }, z.core.$strip>;
8548
8548
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
8549
8549
  createdAt: z.ZodOptional<z.ZodString>;
@@ -8566,8 +8566,8 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8566
8566
  hash: string;
8567
8567
  }>>>>;
8568
8568
  datasetId: z.ZodString;
8569
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
8569
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8571
8571
  }, z.core.$strip>;
8572
8572
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8573
8573
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8590,8 +8590,8 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8590
8590
  hash: string;
8591
8591
  }>>>>>>;
8592
8592
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8593
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
8593
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8595
8595
  }, z.core.$strip>;
8596
8596
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8597
8597
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -9282,28 +9282,28 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
9282
9282
  in: {};
9283
9283
  }>;
9284
9284
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9285
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9286
9285
  id: z.ZodString;
9287
9286
  createdAt: z.ZodString;
9288
9287
  updatedAt: z.ZodString;
9289
- evaluatorId: z.ZodString;
9288
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9290
9289
  conversationId: z.ZodString;
9290
+ evaluatorId: z.ZodString;
9291
9291
  evaluationRunId: z.ZodNullable<z.ZodString>;
9292
9292
  }, z.core.$strip>;
9293
9293
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9294
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9295
9294
  createdAt: z.ZodOptional<z.ZodString>;
9296
9295
  updatedAt: z.ZodOptional<z.ZodString>;
9297
- evaluatorId: z.ZodString;
9296
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9298
9297
  conversationId: z.ZodString;
9298
+ evaluatorId: z.ZodString;
9299
9299
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9300
9300
  }, z.core.$strip>;
9301
9301
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9302
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9303
9302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9304
9303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9305
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9304
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9306
9305
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9306
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9307
9307
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9308
9308
  }, z.core.$strip>;
9309
9309
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -9398,8 +9398,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
9398
9398
  name: z.ZodString;
9399
9399
  hash: z.ZodString;
9400
9400
  }, z.core.$strip>>>;
9401
- evaluationRunConfigId: z.ZodNullable<z.ZodString>;
9402
9401
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9402
+ evaluationRunConfigId: z.ZodNullable<z.ZodString>;
9403
9403
  }, z.core.$strip>;
9404
9404
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9405
9405
  createdAt: z.ZodOptional<z.ZodString>;
@@ -9421,8 +9421,8 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9421
9421
  name: string;
9422
9422
  hash: string;
9423
9423
  }>>>>;
9424
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9425
9424
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9425
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9426
9426
  }, z.core.$strip>;
9427
9427
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9428
9428
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9444,8 +9444,8 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9444
9444
  name: string;
9445
9445
  hash: string;
9446
9446
  }>>>>>>;
9447
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9448
9447
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9448
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9449
9449
  }, z.core.$strip>;
9450
9450
  declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9451
9451
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -9833,7 +9833,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
9833
9833
  generated: undefined;
9834
9834
  }, {}, {}>;
9835
9835
  jobFilters: drizzle_orm_pg_core220.PgColumn<{
9836
- name: "job_filters";
9836
+ name: string;
9837
9837
  tableName: "evaluation_job_config";
9838
9838
  dataType: "json";
9839
9839
  columnType: "PgJsonb";
@@ -9958,7 +9958,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
9958
9958
  generated: undefined;
9959
9959
  }, {}, {}>;
9960
9960
  jobFilters: drizzle_orm_pg_core220.PgColumn<{
9961
- name: "job_filters";
9961
+ name: string;
9962
9962
  tableName: "evaluation_job_config";
9963
9963
  dataType: "json";
9964
9964
  columnType: "PgJsonb";
@@ -10263,7 +10263,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
10263
10263
  generated: undefined;
10264
10264
  }, {}, {}>;
10265
10265
  filters: drizzle_orm_pg_core220.PgColumn<{
10266
- name: "filters";
10266
+ name: string;
10267
10267
  tableName: "evaluation_suite_config";
10268
10268
  dataType: "json";
10269
10269
  columnType: "PgJsonb";
@@ -10391,7 +10391,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
10391
10391
  generated: undefined;
10392
10392
  }, {}, {}>;
10393
10393
  filters: drizzle_orm_pg_core220.PgColumn<{
10394
- name: "filters";
10394
+ name: string;
10395
10395
  tableName: "evaluation_suite_config";
10396
10396
  dataType: "json";
10397
10397
  columnType: "PgJsonb";
@@ -10818,20 +10818,20 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
10818
10818
  id: z.ZodString;
10819
10819
  createdAt: z.ZodString;
10820
10820
  updatedAt: z.ZodString;
10821
- evaluationSuiteConfigId: z.ZodString;
10822
10821
  evaluationRunConfigId: z.ZodString;
10822
+ evaluationSuiteConfigId: z.ZodString;
10823
10823
  }, z.core.$strip>;
10824
10824
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
10825
10825
  createdAt: z.ZodOptional<z.ZodString>;
10826
10826
  updatedAt: z.ZodOptional<z.ZodString>;
10827
- evaluationSuiteConfigId: z.ZodString;
10828
10827
  evaluationRunConfigId: z.ZodString;
10828
+ evaluationSuiteConfigId: z.ZodString;
10829
10829
  }, z.core.$strip>;
10830
10830
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
10831
10831
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10832
10832
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10833
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10834
10833
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10834
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10835
10835
  }, z.core.$strip>;
10836
10836
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
10837
10837
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -11122,20 +11122,20 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{
11122
11122
  id: z.ZodString;
11123
11123
  createdAt: z.ZodString;
11124
11124
  updatedAt: z.ZodString;
11125
- evaluatorId: z.ZodString;
11126
11125
  evaluationJobConfigId: z.ZodString;
11126
+ evaluatorId: z.ZodString;
11127
11127
  }, z.core.$strip>;
11128
11128
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11129
11129
  createdAt: z.ZodOptional<z.ZodString>;
11130
11130
  updatedAt: z.ZodOptional<z.ZodString>;
11131
- evaluatorId: z.ZodString;
11132
11131
  evaluationJobConfigId: z.ZodString;
11132
+ evaluatorId: z.ZodString;
11133
11133
  }, z.core.$strip>;
11134
11134
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11135
11135
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11136
11136
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11137
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11138
11137
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11138
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11139
11139
  }, z.core.$strip>;
11140
11140
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11141
11141
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -11426,20 +11426,20 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11426
11426
  id: z.ZodString;
11427
11427
  createdAt: z.ZodString;
11428
11428
  updatedAt: z.ZodString;
11429
- evaluationSuiteConfigId: z.ZodString;
11430
11429
  evaluatorId: z.ZodString;
11430
+ evaluationSuiteConfigId: z.ZodString;
11431
11431
  }, z.core.$strip>;
11432
11432
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11433
11433
  createdAt: z.ZodOptional<z.ZodString>;
11434
11434
  updatedAt: z.ZodOptional<z.ZodString>;
11435
- evaluationSuiteConfigId: z.ZodString;
11436
11435
  evaluatorId: z.ZodString;
11436
+ evaluationSuiteConfigId: z.ZodString;
11437
11437
  }, z.core.$strip>;
11438
11438
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11439
11439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
11440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
11441
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11443
11443
  }, z.core.$strip>;
11444
11444
  declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11445
11445
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -11494,7 +11494,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11494
11494
  generated: undefined;
11495
11495
  }, {}, {}>;
11496
11496
  schema: drizzle_orm_pg_core220.PgColumn<{
11497
- name: "schema";
11497
+ name: string;
11498
11498
  tableName: "evaluator";
11499
11499
  dataType: "json";
11500
11500
  columnType: "PgJsonb";
@@ -11513,7 +11513,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11513
11513
  $type: Record<string, unknown>;
11514
11514
  }>;
11515
11515
  model: drizzle_orm_pg_core220.PgColumn<{
11516
- name: "model";
11516
+ name: string;
11517
11517
  tableName: "evaluator";
11518
11518
  dataType: "json";
11519
11519
  columnType: "PgJsonb";
@@ -11542,7 +11542,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11542
11542
  };
11543
11543
  }>;
11544
11544
  passCriteria: drizzle_orm_pg_core220.PgColumn<{
11545
- name: "pass_criteria";
11545
+ name: string;
11546
11546
  tableName: "evaluator";
11547
11547
  dataType: "json";
11548
11548
  columnType: "PgJsonb";
@@ -11706,7 +11706,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11706
11706
  generated: undefined;
11707
11707
  }, {}, {}>;
11708
11708
  schema: drizzle_orm_pg_core220.PgColumn<{
11709
- name: "schema";
11709
+ name: string;
11710
11710
  tableName: "evaluator";
11711
11711
  dataType: "json";
11712
11712
  columnType: "PgJsonb";
@@ -11725,7 +11725,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11725
11725
  $type: Record<string, unknown>;
11726
11726
  }>;
11727
11727
  model: drizzle_orm_pg_core220.PgColumn<{
11728
- name: "model";
11728
+ name: string;
11729
11729
  tableName: "evaluator";
11730
11730
  dataType: "json";
11731
11731
  columnType: "PgJsonb";
@@ -11754,7 +11754,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11754
11754
  };
11755
11755
  }>;
11756
11756
  passCriteria: drizzle_orm_pg_core220.PgColumn<{
11757
- name: "pass_criteria";
11757
+ name: string;
11758
11758
  tableName: "evaluator";
11759
11759
  dataType: "json";
11760
11760
  columnType: "PgJsonb";
@@ -12345,7 +12345,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12345
12345
  length: 256;
12346
12346
  }>;
12347
12347
  input: drizzle_orm_pg_core220.PgColumn<{
12348
- name: "input";
12348
+ name: string;
12349
12349
  tableName: "dataset_item";
12350
12350
  dataType: "json";
12351
12351
  columnType: "PgJsonb";
@@ -12364,7 +12364,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12364
12364
  $type: DatasetItemInput;
12365
12365
  }>;
12366
12366
  expectedOutput: drizzle_orm_pg_core220.PgColumn<{
12367
- name: "expected_output";
12367
+ name: string;
12368
12368
  tableName: "dataset_item";
12369
12369
  dataType: "json";
12370
12370
  columnType: "PgJsonb";
@@ -12494,7 +12494,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12494
12494
  length: 256;
12495
12495
  }>;
12496
12496
  input: drizzle_orm_pg_core220.PgColumn<{
12497
- name: "input";
12497
+ name: string;
12498
12498
  tableName: "dataset_item";
12499
12499
  dataType: "json";
12500
12500
  columnType: "PgJsonb";
@@ -12513,7 +12513,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12513
12513
  $type: DatasetItemInput;
12514
12514
  }>;
12515
12515
  expectedOutput: drizzle_orm_pg_core220.PgColumn<{
12516
- name: "expected_output";
12516
+ name: string;
12517
12517
  tableName: "dataset_item";
12518
12518
  dataType: "json";
12519
12519
  columnType: "PgJsonb";
@@ -12616,28 +12616,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
12616
12616
  in: {};
12617
12617
  }>;
12618
12618
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
12619
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12620
12619
  id: z.ZodString;
12621
12620
  createdAt: z.ZodString;
12622
12621
  updatedAt: z.ZodString;
12622
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12623
12623
  datasetId: z.ZodString;
12624
12624
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
12627
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12628
12627
  createdAt: z.ZodOptional<z.ZodString>;
12629
12628
  updatedAt: z.ZodOptional<z.ZodString>;
12629
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12630
12630
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12631
12631
  }, z.core.$strip>;
12632
12632
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
12633
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12634
12633
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
12634
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12636
12636
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
12637
12637
  }, z.core.$strip>;
12638
12638
  declare const DatasetRunItemSchema: z.ZodObject<{
12639
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12640
12639
  id: z.ZodOptional<z.ZodString>;
12640
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12641
12641
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12642
12642
  agentId: z.ZodString;
12643
12643
  }, z.core.$strip>;
@@ -13931,7 +13931,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13931
13931
  generated: undefined;
13932
13932
  }, {}, {}>;
13933
13933
  props: drizzle_orm_pg_core220.PgColumn<{
13934
- name: "props";
13934
+ name: string;
13935
13935
  tableName: "data_components";
13936
13936
  dataType: "json";
13937
13937
  columnType: "PgJsonb";
@@ -13964,7 +13964,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13964
13964
  };
13965
13965
  }>;
13966
13966
  render: drizzle_orm_pg_core220.PgColumn<{
13967
- name: "render";
13967
+ name: string;
13968
13968
  tableName: "data_components";
13969
13969
  dataType: "json";
13970
13970
  columnType: "PgJsonb";
@@ -14117,7 +14117,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14117
14117
  generated: undefined;
14118
14118
  }, {}, {}>;
14119
14119
  props: drizzle_orm_pg_core220.PgColumn<{
14120
- name: "props";
14120
+ name: string;
14121
14121
  tableName: "data_components";
14122
14122
  dataType: "json";
14123
14123
  columnType: "PgJsonb";
@@ -14150,7 +14150,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14150
14150
  };
14151
14151
  }>;
14152
14152
  render: drizzle_orm_pg_core220.PgColumn<{
14153
- name: "render";
14153
+ name: string;
14154
14154
  tableName: "data_components";
14155
14155
  dataType: "json";
14156
14156
  columnType: "PgJsonb";
@@ -14272,8 +14272,8 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14272
14272
  id: z.ZodString;
14273
14273
  name: z.ZodString;
14274
14274
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14275
- tenantId: z.ZodString;
14276
14275
  projectId: z.ZodString;
14276
+ tenantId: z.ZodString;
14277
14277
  props: z.ZodType<{
14278
14278
  [x: string]: unknown;
14279
14279
  type: "object";
@@ -14324,8 +14324,8 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
14324
14324
  id: z.ZodOptional<z.ZodString>;
14325
14325
  name: z.ZodOptional<z.ZodString>;
14326
14326
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14327
- tenantId: z.ZodOptional<z.ZodString>;
14328
14327
  projectId: z.ZodOptional<z.ZodString>;
14328
+ tenantId: z.ZodOptional<z.ZodString>;
14329
14329
  props: z.ZodOptional<z.ZodType<{
14330
14330
  [x: string]: unknown;
14331
14331
  type: "object";
@@ -15000,7 +15000,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
15000
15000
  }, {}, {
15001
15001
  length: 256;
15002
15002
  }>;
15003
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15003
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15004
15004
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15005
15005
  dataComponentId: z.ZodOptional<z.ZodString>;
15006
15006
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15069,7 +15069,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
15069
15069
  generated: undefined;
15070
15070
  }, {}, {}>;
15071
15071
  props: drizzle_orm_pg_core220.PgColumn<{
15072
- name: "props";
15072
+ name: string;
15073
15073
  tableName: "artifact_components";
15074
15074
  dataType: "json";
15075
15075
  columnType: "PgJsonb";
@@ -15102,7 +15102,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
15102
15102
  };
15103
15103
  }>;
15104
15104
  render: drizzle_orm_pg_core220.PgColumn<{
15105
- name: "render";
15105
+ name: string;
15106
15106
  tableName: "artifact_components";
15107
15107
  dataType: "json";
15108
15108
  columnType: "PgJsonb";
@@ -15255,7 +15255,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
15255
15255
  generated: undefined;
15256
15256
  }, {}, {}>;
15257
15257
  props: drizzle_orm_pg_core220.PgColumn<{
15258
- name: "props";
15258
+ name: string;
15259
15259
  tableName: "artifact_components";
15260
15260
  dataType: "json";
15261
15261
  columnType: "PgJsonb";
@@ -15288,7 +15288,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
15288
15288
  };
15289
15289
  }>;
15290
15290
  render: drizzle_orm_pg_core220.PgColumn<{
15291
- name: "render";
15291
+ name: string;
15292
15292
  tableName: "artifact_components";
15293
15293
  dataType: "json";
15294
15294
  columnType: "PgJsonb";
@@ -15967,10 +15967,10 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
15967
15967
  id: z.ZodString;
15968
15968
  name: z.ZodString;
15969
15969
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15970
- tenantId: z.ZodString;
15971
15970
  projectId: z.ZodString;
15972
- baseUrl: z.ZodURL;
15971
+ tenantId: z.ZodString;
15973
15972
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15973
+ baseUrl: z.ZodURL;
15974
15974
  }, {
15975
15975
  out: {};
15976
15976
  in: {};
@@ -15979,10 +15979,10 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
15979
15979
  id: z.ZodOptional<z.ZodString>;
15980
15980
  name: z.ZodOptional<z.ZodString>;
15981
15981
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15982
- tenantId: z.ZodOptional<z.ZodString>;
15983
15982
  projectId: z.ZodOptional<z.ZodString>;
15984
- baseUrl: z.ZodOptional<z.ZodURL>;
15983
+ tenantId: z.ZodOptional<z.ZodString>;
15985
15984
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15985
+ baseUrl: z.ZodOptional<z.ZodURL>;
15986
15986
  }, {
15987
15987
  out: {};
15988
15988
  in: {};
@@ -15993,22 +15993,22 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<{
15993
15993
  createdAt: z.ZodString;
15994
15994
  updatedAt: z.ZodString;
15995
15995
  description: z.ZodNullable<z.ZodString>;
15996
- baseUrl: z.ZodString;
15997
15996
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15997
+ baseUrl: z.ZodString;
15998
15998
  }, z.core.$strip>;
15999
15999
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
16000
16000
  id: z.ZodString;
16001
16001
  name: z.ZodString;
16002
16002
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16003
- baseUrl: z.ZodURL;
16004
16003
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16004
+ baseUrl: z.ZodURL;
16005
16005
  }, z.core.$strip>;
16006
16006
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16007
16007
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16008
16008
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16009
16009
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16010
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16011
16010
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16011
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16012
16012
  }, z.core.$strip>;
16013
16013
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16014
16014
  id: z.ZodString;
@@ -16093,6 +16093,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16093
16093
  allowedProviders?: string[] | undefined;
16094
16094
  } | undefined;
16095
16095
  }>>>;
16096
+ prompt: z.ZodNullable<z.ZodString>;
16096
16097
  stopWhen: z.ZodNullable<z.ZodType<{
16097
16098
  stepCountIs?: number | undefined;
16098
16099
  }, {
@@ -16102,7 +16103,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16102
16103
  }, {
16103
16104
  stepCountIs?: number | undefined;
16104
16105
  }>>>;
16105
- prompt: z.ZodNullable<z.ZodString>;
16106
16106
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16107
16107
  type: z.ZodLiteral<"internal">;
16108
16108
  }, z.core.$strip>, z.ZodObject<{
@@ -16111,8 +16111,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16111
16111
  createdAt: z.ZodString;
16112
16112
  updatedAt: z.ZodString;
16113
16113
  description: z.ZodNullable<z.ZodString>;
16114
- baseUrl: z.ZodString;
16115
16114
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16115
+ baseUrl: z.ZodString;
16116
16116
  type: z.ZodLiteral<"external">;
16117
16117
  }, z.core.$strip>], "type">;
16118
16118
  declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
@@ -17431,8 +17431,8 @@ declare const AppUpdateSchema: z.ZodObject<{
17431
17431
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17432
17432
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17433
17433
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17434
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17435
17434
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17435
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17436
17436
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17437
17437
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17438
17438
  type: z.ZodLiteral<"web_client">;
@@ -18044,15 +18044,15 @@ declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
18044
18044
  }, {}, {}>;
18045
18045
  }, undefined>, undefined>;
18046
18046
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18047
- type: z.ZodString;
18048
18047
  id: z.ZodString;
18049
18048
  name: z.ZodString;
18050
18049
  createdAt: z.ZodString;
18051
18050
  updatedAt: z.ZodString;
18052
18051
  description: z.ZodNullable<z.ZodString>;
18053
18052
  enabled: z.ZodBoolean;
18054
- tenantId: z.ZodNullable<z.ZodString>;
18053
+ type: z.ZodString;
18055
18054
  projectId: z.ZodNullable<z.ZodString>;
18055
+ tenantId: z.ZodNullable<z.ZodString>;
18056
18056
  prompt: z.ZodNullable<z.ZodString>;
18057
18057
  lastUsedAt: z.ZodNullable<z.ZodString>;
18058
18058
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18087,17 +18087,17 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18087
18087
  in: {};
18088
18088
  }>;
18089
18089
  declare const AppApiInsertSchema: z.ZodObject<{
18090
- type: z.ZodEnum<{
18091
- web_client: "web_client";
18092
- api: "api";
18093
- }>;
18094
18090
  name: z.ZodString;
18095
18091
  createdAt: z.ZodOptional<z.ZodString>;
18096
18092
  updatedAt: z.ZodOptional<z.ZodString>;
18097
18093
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18098
18094
  enabled: z.ZodOptional<z.ZodBoolean>;
18099
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18095
+ type: z.ZodEnum<{
18096
+ web_client: "web_client";
18097
+ api: "api";
18098
+ }>;
18100
18099
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18100
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18101
18101
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18102
18102
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18103
18103
  type: z.ZodLiteral<"web_client">;
@@ -18135,8 +18135,8 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18135
18135
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18136
18136
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18137
18137
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18138
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18139
18138
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18139
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18140
18140
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18141
18141
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18142
18142
  type: z.ZodLiteral<"web_client">;
@@ -18173,15 +18173,15 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18173
18173
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18174
18174
  data: z.ZodObject<{
18175
18175
  app: z.ZodObject<{
18176
- type: z.ZodString;
18177
18176
  id: z.ZodString;
18178
18177
  name: z.ZodString;
18179
18178
  createdAt: z.ZodString;
18180
18179
  updatedAt: z.ZodString;
18181
18180
  description: z.ZodNullable<z.ZodString>;
18182
18181
  enabled: z.ZodBoolean;
18183
- tenantId: z.ZodNullable<z.ZodString>;
18182
+ type: z.ZodString;
18184
18183
  projectId: z.ZodNullable<z.ZodString>;
18184
+ tenantId: z.ZodNullable<z.ZodString>;
18185
18185
  prompt: z.ZodNullable<z.ZodString>;
18186
18186
  lastUsedAt: z.ZodNullable<z.ZodString>;
18187
18187
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18310,7 +18310,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
18310
18310
  length: 256;
18311
18311
  }>;
18312
18312
  retrievalParams: drizzle_orm_pg_core220.PgColumn<{
18313
- name: "retrieval_params";
18313
+ name: string;
18314
18314
  tableName: "credential_references";
18315
18315
  dataType: "json";
18316
18316
  columnType: "PgJsonb";
@@ -18535,7 +18535,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
18535
18535
  length: 256;
18536
18536
  }>;
18537
18537
  retrievalParams: drizzle_orm_pg_core220.PgColumn<{
18538
- name: "retrieval_params";
18538
+ name: string;
18539
18539
  tableName: "credential_references";
18540
18540
  dataType: "json";
18541
18541
  columnType: "PgJsonb";
@@ -18669,31 +18669,31 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
18669
18669
  }>;
18670
18670
  }, undefined>, undefined>;
18671
18671
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18672
- type: z.ZodString;
18673
18672
  id: z.ZodString;
18674
18673
  name: z.ZodString;
18675
18674
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18676
- tenantId: z.ZodString;
18675
+ type: z.ZodString;
18677
18676
  projectId: z.ZodString;
18678
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18677
+ tenantId: z.ZodString;
18679
18678
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18680
18679
  credentialStoreId: z.ZodString;
18681
18680
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18681
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
18685
18685
  }>;
18686
18686
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18687
- type: z.ZodOptional<z.ZodString>;
18688
18687
  id: z.ZodOptional<z.ZodString>;
18689
18688
  name: z.ZodOptional<z.ZodString>;
18690
18689
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18691
- tenantId: z.ZodOptional<z.ZodString>;
18690
+ type: z.ZodOptional<z.ZodString>;
18692
18691
  projectId: z.ZodOptional<z.ZodString>;
18693
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18692
+ tenantId: z.ZodOptional<z.ZodString>;
18694
18693
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18695
18694
  credentialStoreId: z.ZodOptional<z.ZodString>;
18696
18695
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18696
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18697
18697
  }, {
18698
18698
  out: {};
18699
18699
  in: {};
@@ -18704,10 +18704,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18704
18704
  createdAt: z.ZodString;
18705
18705
  updatedAt: z.ZodString;
18706
18706
  userId: z.ZodNullable<z.ZodString>;
18707
- toolId: z.ZodNullable<z.ZodString>;
18708
18707
  createdBy: z.ZodNullable<z.ZodString>;
18709
18708
  credentialStoreId: z.ZodString;
18710
18709
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
18710
+ toolId: z.ZodNullable<z.ZodString>;
18711
18711
  type: z.ZodEnum<{
18712
18712
  readonly memory: "memory";
18713
18713
  readonly keychain: "keychain";
@@ -18750,7 +18750,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18750
18750
  generated: undefined;
18751
18751
  }, {}, {}>;
18752
18752
  config: drizzle_orm_pg_core220.PgColumn<{
18753
- name: "config";
18753
+ name: string;
18754
18754
  tableName: "tools";
18755
18755
  dataType: "json";
18756
18756
  columnType: "PgJsonb";
@@ -18813,7 +18813,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18813
18813
  length: 50;
18814
18814
  }>;
18815
18815
  headers: drizzle_orm_pg_core220.PgColumn<{
18816
- name: "headers";
18816
+ name: string;
18817
18817
  tableName: "tools";
18818
18818
  dataType: "json";
18819
18819
  columnType: "PgJsonb";
@@ -18849,7 +18849,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18849
18849
  generated: undefined;
18850
18850
  }, {}, {}>;
18851
18851
  capabilities: drizzle_orm_pg_core220.PgColumn<{
18852
- name: "capabilities";
18852
+ name: string;
18853
18853
  tableName: "tools";
18854
18854
  dataType: "json";
18855
18855
  columnType: "PgJsonb";
@@ -19030,7 +19030,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19030
19030
  generated: undefined;
19031
19031
  }, {}, {}>;
19032
19032
  config: drizzle_orm_pg_core220.PgColumn<{
19033
- name: "config";
19033
+ name: string;
19034
19034
  tableName: "tools";
19035
19035
  dataType: "json";
19036
19036
  columnType: "PgJsonb";
@@ -19093,7 +19093,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19093
19093
  length: 50;
19094
19094
  }>;
19095
19095
  headers: drizzle_orm_pg_core220.PgColumn<{
19096
- name: "headers";
19096
+ name: string;
19097
19097
  tableName: "tools";
19098
19098
  dataType: "json";
19099
19099
  columnType: "PgJsonb";
@@ -19129,7 +19129,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19129
19129
  generated: undefined;
19130
19130
  }, {}, {}>;
19131
19131
  capabilities: drizzle_orm_pg_core220.PgColumn<{
19132
- name: "capabilities";
19132
+ name: string;
19133
19133
  tableName: "tools";
19134
19134
  dataType: "json";
19135
19135
  columnType: "PgJsonb";
@@ -19294,10 +19294,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19294
19294
  id: z.ZodString;
19295
19295
  name: z.ZodString;
19296
19296
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19297
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19298
19297
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19299
19298
  credentialStoreId: z.ZodString;
19300
19299
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19300
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19301
19301
  type: z.ZodEnum<{
19302
19302
  readonly memory: "memory";
19303
19303
  readonly keychain: "keychain";
@@ -19309,10 +19309,10 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19309
19309
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19310
19310
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19311
19311
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19312
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19313
19312
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19314
19313
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19315
19314
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19315
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19316
19316
  type: z.ZodOptional<z.ZodEnum<{
19317
19317
  readonly memory: "memory";
19318
19318
  readonly keychain: "keychain";
@@ -19379,11 +19379,10 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
19379
19379
  declare const McpToolSchema: z.ZodObject<{
19380
19380
  id: z.ZodString;
19381
19381
  name: z.ZodString;
19382
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19383
19382
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19384
- tenantId: z.ZodString;
19383
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19385
19384
  projectId: z.ZodString;
19386
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19385
+ tenantId: z.ZodString;
19387
19386
  config: z.ZodObject<{
19388
19387
  type: z.ZodLiteral<"mcp">;
19389
19388
  mcp: z.ZodObject<{
@@ -19410,6 +19409,7 @@ declare const McpToolSchema: z.ZodObject<{
19410
19409
  prompt: z.ZodOptional<z.ZodString>;
19411
19410
  }, z.core.$strip>;
19412
19411
  }, z.core.$strip>;
19412
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19413
19413
  credentialScope: z.ZodOptional<z.ZodString>;
19414
19414
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19415
19415
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19475,10 +19475,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19475
19475
  id: z.ZodString;
19476
19476
  name: z.ZodString;
19477
19477
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19478
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19479
19478
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19480
19479
  credentialStoreId: z.ZodString;
19481
19480
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19481
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19482
19482
  type: z.ZodEnum<{
19483
19483
  readonly memory: "memory";
19484
19484
  readonly keychain: "keychain";
@@ -19500,11 +19500,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19500
19500
  declare const ToolUpdateSchema: z.ZodObject<{
19501
19501
  id: z.ZodOptional<z.ZodString>;
19502
19502
  name: z.ZodOptional<z.ZodString>;
19503
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19504
19503
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19505
- tenantId: z.ZodOptional<z.ZodString>;
19504
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19506
19505
  projectId: z.ZodOptional<z.ZodString>;
19507
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19506
+ tenantId: z.ZodOptional<z.ZodString>;
19508
19507
  config: z.ZodOptional<z.ZodObject<{
19509
19508
  type: z.ZodLiteral<"mcp">;
19510
19509
  mcp: z.ZodObject<{
@@ -19531,6 +19530,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
19531
19530
  prompt: z.ZodOptional<z.ZodString>;
19532
19531
  }, z.core.$strip>;
19533
19532
  }, z.core.$strip>>;
19533
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19534
19534
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19535
19535
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19536
19536
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
@@ -19545,9 +19545,8 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19545
19545
  name: z.ZodString;
19546
19546
  createdAt: z.ZodString;
19547
19547
  updatedAt: z.ZodString;
19548
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19549
19548
  description: z.ZodNullable<z.ZodString>;
19550
- credentialReferenceId: z.ZodNullable<z.ZodString>;
19549
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19551
19550
  config: z.ZodType<{
19552
19551
  type: "mcp";
19553
19552
  mcp: ToolMcpConfig;
@@ -19561,6 +19560,7 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19561
19560
  type: "mcp";
19562
19561
  mcp: ToolMcpConfig;
19563
19562
  }>>;
19563
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
19564
19564
  credentialScope: z.ZodString;
19565
19565
  imageUrl: z.ZodNullable<z.ZodString>;
19566
19566
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -19570,9 +19570,8 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19570
19570
  declare const ToolApiInsertSchema: z.ZodObject<{
19571
19571
  id: z.ZodString;
19572
19572
  name: z.ZodString;
19573
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19574
19573
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19575
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19574
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19576
19575
  config: z.ZodObject<{
19577
19576
  type: z.ZodLiteral<"mcp">;
19578
19577
  mcp: z.ZodObject<{
@@ -19599,6 +19598,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
19599
19598
  prompt: z.ZodOptional<z.ZodString>;
19600
19599
  }, z.core.$strip>;
19601
19600
  }, z.core.$strip>;
19601
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19602
19602
  credentialScope: z.ZodOptional<z.ZodString>;
19603
19603
  imageUrl: z.ZodOptional<z.ZodString>;
19604
19604
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -19608,9 +19608,8 @@ declare const ToolApiInsertSchema: z.ZodObject<{
19608
19608
  declare const ToolApiUpdateSchema: z.ZodObject<{
19609
19609
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19610
19610
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19611
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19612
19611
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19613
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19612
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19614
19613
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
19615
19614
  type: z.ZodLiteral<"mcp">;
19616
19615
  mcp: z.ZodObject<{
@@ -19637,6 +19636,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19637
19636
  prompt: z.ZodOptional<z.ZodString>;
19638
19637
  }, z.core.$strip>;
19639
19638
  }, z.core.$strip>>>;
19639
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19640
19640
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19641
19641
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19642
19642
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
@@ -19980,9 +19980,9 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
19980
19980
  id: z.ZodString;
19981
19981
  name: z.ZodString;
19982
19982
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19983
- tenantId: z.ZodString;
19984
- projectId: z.ZodString;
19985
19983
  agentId: z.ZodString;
19984
+ projectId: z.ZodString;
19985
+ tenantId: z.ZodString;
19986
19986
  functionId: z.ZodString;
19987
19987
  }, {
19988
19988
  out: {};
@@ -19992,9 +19992,9 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
19992
19992
  id: z.ZodOptional<z.ZodString>;
19993
19993
  name: z.ZodOptional<z.ZodString>;
19994
19994
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19995
- tenantId: z.ZodOptional<z.ZodString>;
19996
- projectId: z.ZodOptional<z.ZodString>;
19997
19995
  agentId: z.ZodOptional<z.ZodString>;
19996
+ projectId: z.ZodOptional<z.ZodString>;
19997
+ tenantId: z.ZodOptional<z.ZodString>;
19998
19998
  functionId: z.ZodOptional<z.ZodString>;
19999
19999
  }, {
20000
20000
  out: {};
@@ -20078,7 +20078,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
20078
20078
  length: 256;
20079
20079
  }>;
20080
20080
  toolPolicies: drizzle_orm_pg_core220.PgColumn<{
20081
- name: "tool_policies";
20081
+ name: string;
20082
20082
  tableName: "sub_agent_function_tool_relations";
20083
20083
  dataType: "json";
20084
20084
  columnType: "PgJsonb";
@@ -20250,7 +20250,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
20250
20250
  length: 256;
20251
20251
  }>;
20252
20252
  toolPolicies: drizzle_orm_pg_core220.PgColumn<{
20253
- name: "tool_policies";
20253
+ name: string;
20254
20254
  tableName: "sub_agent_function_tool_relations";
20255
20255
  dataType: "json";
20256
20256
  columnType: "PgJsonb";
@@ -20387,13 +20387,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
20387
20387
  createdAt: z.ZodString;
20388
20388
  updatedAt: z.ZodString;
20389
20389
  subAgentId: z.ZodString;
20390
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20391
20390
  functionToolId: z.ZodString;
20391
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20392
20392
  }, z.core.$strip>;
20393
20393
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20394
20394
  subAgentId: z.ZodString;
20395
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
20396
20395
  functionToolId: z.ZodString;
20396
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
20397
20397
  }, {
20398
20398
  out: {};
20399
20399
  in: {};
@@ -20434,7 +20434,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20434
20434
  generated: undefined;
20435
20435
  }, {}, {}>;
20436
20436
  inputSchema: drizzle_orm_pg_core220.PgColumn<{
20437
- name: "input_schema";
20437
+ name: string;
20438
20438
  tableName: "functions";
20439
20439
  dataType: "json";
20440
20440
  columnType: "PgJsonb";
@@ -20470,7 +20470,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20470
20470
  generated: undefined;
20471
20471
  }, {}, {}>;
20472
20472
  dependencies: drizzle_orm_pg_core220.PgColumn<{
20473
- name: "dependencies";
20473
+ name: string;
20474
20474
  tableName: "functions";
20475
20475
  dataType: "json";
20476
20476
  columnType: "PgJsonb";
@@ -20581,7 +20581,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20581
20581
  generated: undefined;
20582
20582
  }, {}, {}>;
20583
20583
  inputSchema: drizzle_orm_pg_core220.PgColumn<{
20584
- name: "input_schema";
20584
+ name: string;
20585
20585
  tableName: "functions";
20586
20586
  dataType: "json";
20587
20587
  columnType: "PgJsonb";
@@ -20617,7 +20617,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20617
20617
  generated: undefined;
20618
20618
  }, {}, {}>;
20619
20619
  dependencies: drizzle_orm_pg_core220.PgColumn<{
20620
- name: "dependencies";
20620
+ name: string;
20621
20621
  tableName: "functions";
20622
20622
  dataType: "json";
20623
20623
  columnType: "PgJsonb";
@@ -20724,22 +20724,22 @@ declare const FunctionApiSelectSchema: z.ZodObject<{
20724
20724
  createdAt: z.ZodString;
20725
20725
  updatedAt: z.ZodString;
20726
20726
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20727
- executeCode: z.ZodString;
20728
20727
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20728
+ executeCode: z.ZodString;
20729
20729
  }, z.core.$strip>;
20730
20730
  declare const FunctionApiInsertSchema: z.ZodObject<{
20731
20731
  id: z.ZodString;
20732
20732
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20733
- executeCode: z.ZodString;
20734
20733
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20734
+ executeCode: z.ZodString;
20735
20735
  }, z.core.$strip>;
20736
20736
  declare const FunctionApiUpdateSchema: z.ZodObject<{
20737
20737
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20738
20738
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20739
20739
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20740
20740
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20741
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20742
20741
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20742
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20743
20743
  }, z.core.$strip>;
20744
20744
  declare const FetchConfigSchema: z.ZodObject<{
20745
20745
  url: z.ZodString;
@@ -20784,10 +20784,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
20784
20784
  id: z.ZodString;
20785
20785
  name: z.ZodString;
20786
20786
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20787
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20788
20787
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20789
20788
  credentialStoreId: z.ZodString;
20790
20789
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20790
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20791
20791
  type: z.ZodEnum<{
20792
20792
  readonly memory: "memory";
20793
20793
  readonly keychain: "keychain";
@@ -20811,22 +20811,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
20811
20811
  }>;
20812
20812
  declare const ContextConfigInsertSchema: z.ZodObject<{
20813
20813
  id: z.ZodOptional<z.ZodString>;
20814
- tenantId: z.ZodString;
20815
- projectId: z.ZodString;
20816
- agentId: z.ZodString;
20817
20814
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20818
20815
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20816
+ agentId: z.ZodString;
20817
+ projectId: z.ZodString;
20818
+ tenantId: z.ZodString;
20819
20819
  }, {
20820
20820
  out: {};
20821
20821
  in: {};
20822
20822
  }>;
20823
20823
  declare const ContextConfigUpdateSchema: z.ZodObject<{
20824
20824
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20825
- tenantId: z.ZodOptional<z.ZodString>;
20826
- projectId: z.ZodOptional<z.ZodString>;
20827
- agentId: z.ZodOptional<z.ZodString>;
20828
20825
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20829
20826
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20827
+ agentId: z.ZodOptional<z.ZodString>;
20828
+ projectId: z.ZodOptional<z.ZodString>;
20829
+ tenantId: z.ZodOptional<z.ZodString>;
20830
20830
  }, {
20831
20831
  out: {};
20832
20832
  in: {};
@@ -20903,7 +20903,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
20903
20903
  length: 256;
20904
20904
  }>;
20905
20905
  selectedTools: drizzle_orm_pg_core220.PgColumn<{
20906
- name: "selected_tools";
20906
+ name: string;
20907
20907
  tableName: "sub_agent_tool_relations";
20908
20908
  dataType: "json";
20909
20909
  columnType: "PgJsonb";
@@ -20922,7 +20922,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
20922
20922
  $type: string[] | null;
20923
20923
  }>;
20924
20924
  headers: drizzle_orm_pg_core220.PgColumn<{
20925
- name: "headers";
20925
+ name: string;
20926
20926
  tableName: "sub_agent_tool_relations";
20927
20927
  dataType: "json";
20928
20928
  columnType: "PgJsonb";
@@ -20941,7 +20941,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
20941
20941
  $type: Record<string, string> | null;
20942
20942
  }>;
20943
20943
  toolPolicies: drizzle_orm_pg_core220.PgColumn<{
20944
- name: "tool_policies";
20944
+ name: string;
20945
20945
  tableName: "sub_agent_tool_relations";
20946
20946
  dataType: "json";
20947
20947
  columnType: "PgJsonb";
@@ -21113,7 +21113,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
21113
21113
  length: 256;
21114
21114
  }>;
21115
21115
  selectedTools: drizzle_orm_pg_core220.PgColumn<{
21116
- name: "selected_tools";
21116
+ name: string;
21117
21117
  tableName: "sub_agent_tool_relations";
21118
21118
  dataType: "json";
21119
21119
  columnType: "PgJsonb";
@@ -21132,7 +21132,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
21132
21132
  $type: string[] | null;
21133
21133
  }>;
21134
21134
  headers: drizzle_orm_pg_core220.PgColumn<{
21135
- name: "headers";
21135
+ name: string;
21136
21136
  tableName: "sub_agent_tool_relations";
21137
21137
  dataType: "json";
21138
21138
  columnType: "PgJsonb";
@@ -21151,7 +21151,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
21151
21151
  $type: Record<string, string> | null;
21152
21152
  }>;
21153
21153
  toolPolicies: drizzle_orm_pg_core220.PgColumn<{
21154
- name: "tool_policies";
21154
+ name: string;
21155
21155
  tableName: "sub_agent_tool_relations";
21156
21156
  dataType: "json";
21157
21157
  columnType: "PgJsonb";
@@ -21310,34 +21310,34 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21310
21310
  createdAt: z.ZodString;
21311
21311
  updatedAt: z.ZodString;
21312
21312
  headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21313
- subAgentId: z.ZodString;
21314
21313
  toolId: z.ZodString;
21315
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21314
+ subAgentId: z.ZodString;
21316
21315
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21316
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21317
21317
  }, z.core.$strip>;
21318
21318
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21319
21319
  id: z.ZodString;
21320
21320
  createdAt: z.ZodOptional<z.ZodString>;
21321
21321
  updatedAt: z.ZodOptional<z.ZodString>;
21322
21322
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21323
- subAgentId: z.ZodString;
21324
21323
  toolId: z.ZodString;
21325
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21324
+ subAgentId: z.ZodString;
21326
21325
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21327
21326
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21328
21327
  }, z.core.$strip>>>>;
21328
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21329
21329
  }, z.core.$strip>;
21330
21330
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21331
21331
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21332
21332
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21333
21333
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21334
21334
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21335
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
21335
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21337
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21336
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21338
21337
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21339
21338
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21340
21339
  }, z.core.$strip>>>>>>;
21340
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21341
21341
  }, z.core.$strip>;
21342
21342
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21343
21343
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -21394,7 +21394,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
21394
21394
  length: 256;
21395
21395
  }>;
21396
21396
  headers: drizzle_orm_pg_core220.PgColumn<{
21397
- name: "headers";
21397
+ name: string;
21398
21398
  tableName: "sub_agent_external_agent_relations";
21399
21399
  dataType: "json";
21400
21400
  columnType: "PgJsonb";
@@ -21562,7 +21562,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
21562
21562
  length: 256;
21563
21563
  }>;
21564
21564
  headers: drizzle_orm_pg_core220.PgColumn<{
21565
- name: "headers";
21565
+ name: string;
21566
21566
  tableName: "sub_agent_external_agent_relations";
21567
21567
  dataType: "json";
21568
21568
  columnType: "PgJsonb";
@@ -21781,7 +21781,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
21781
21781
  length: 256;
21782
21782
  }>;
21783
21783
  headers: drizzle_orm_pg_core220.PgColumn<{
21784
- name: "headers";
21784
+ name: string;
21785
21785
  tableName: "sub_agent_team_agent_relations";
21786
21786
  dataType: "json";
21787
21787
  columnType: "PgJsonb";
@@ -21949,7 +21949,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
21949
21949
  length: 256;
21950
21950
  }>;
21951
21951
  headers: drizzle_orm_pg_core220.PgColumn<{
21952
- name: "headers";
21952
+ name: string;
21953
21953
  tableName: "sub_agent_team_agent_relations";
21954
21954
  dataType: "json";
21955
21955
  columnType: "PgJsonb";
@@ -23454,7 +23454,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
23454
23454
  }, {}, {
23455
23455
  length: 256;
23456
23456
  }>;
23457
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23457
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23458
23458
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23459
23459
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23460
23460
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23479,13 +23479,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23479
23479
  in: {};
23480
23480
  }>;
23481
23481
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23482
- type: z.ZodString;
23483
23482
  id: z.ZodString;
23484
23483
  name: z.ZodNullable<z.ZodString>;
23485
23484
  createdAt: z.ZodString;
23486
23485
  updatedAt: z.ZodString;
23487
23486
  metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23488
23487
  description: z.ZodNullable<z.ZodString>;
23488
+ type: z.ZodString;
23489
23489
  contextId: z.ZodString;
23490
23490
  visibility: z.ZodNullable<z.ZodString>;
23491
23491
  taskId: z.ZodString;
@@ -23497,13 +23497,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23497
23497
  derivedFrom: z.ZodNullable<z.ZodString>;
23498
23498
  }, z.core.$strip>;
23499
23499
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23500
- type: z.ZodOptional<z.ZodString>;
23501
23500
  id: z.ZodString;
23502
23501
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23503
23502
  createdAt: z.ZodOptional<z.ZodString>;
23504
23503
  updatedAt: z.ZodOptional<z.ZodString>;
23505
23504
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23506
23505
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23506
+ type: z.ZodOptional<z.ZodString>;
23507
23507
  contextId: z.ZodString;
23508
23508
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23509
23509
  taskId: z.ZodString;
@@ -23515,13 +23515,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23515
23515
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23516
23516
  }, z.core.$strip>;
23517
23517
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23518
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23519
23518
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23520
23519
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23521
23520
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23522
23521
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23523
23522
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23524
23523
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23524
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23525
23525
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23526
23526
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23527
23527
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23722,9 +23722,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23722
23722
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23723
23723
  id: z.ZodString;
23724
23724
  name: z.ZodString;
23725
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23726
23725
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23727
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23726
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23728
23727
  config: z.ZodObject<{
23729
23728
  type: z.ZodLiteral<"mcp">;
23730
23729
  mcp: z.ZodObject<{
@@ -23751,6 +23750,7 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23751
23750
  prompt: z.ZodOptional<z.ZodString>;
23752
23751
  }, z.core.$strip>;
23753
23752
  }, z.core.$strip>;
23753
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23754
23754
  credentialScope: z.ZodOptional<z.ZodString>;
23755
23755
  imageUrl: z.ZodOptional<z.ZodString>;
23756
23756
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -23761,8 +23761,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23761
23761
  id: z.ZodString;
23762
23762
  name: z.ZodString;
23763
23763
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23764
- baseUrl: z.ZodURL;
23765
23764
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23765
+ baseUrl: z.ZodURL;
23766
23766
  }, z.core.$strip>>>;
23767
23767
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23768
23768
  id: z.ZodString;
@@ -23778,8 +23778,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23778
23778
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23779
23779
  id: z.ZodString;
23780
23780
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23781
- executeCode: z.ZodString;
23782
23781
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23782
+ executeCode: z.ZodString;
23783
23783
  }, z.core.$strip>>>;
23784
23784
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23785
23785
  id: z.ZodOptional<z.ZodString>;
@@ -23909,9 +23909,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23909
23909
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23910
23910
  id: z.ZodString;
23911
23911
  name: z.ZodString;
23912
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23913
23912
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23914
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23915
23914
  config: z.ZodObject<{
23916
23915
  type: z.ZodLiteral<"mcp">;
23917
23916
  mcp: z.ZodObject<{
@@ -23938,6 +23937,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23938
23937
  prompt: z.ZodOptional<z.ZodString>;
23939
23938
  }, z.core.$strip>;
23940
23939
  }, z.core.$strip>;
23940
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23941
23941
  credentialScope: z.ZodOptional<z.ZodString>;
23942
23942
  imageUrl: z.ZodOptional<z.ZodString>;
23943
23943
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -23948,8 +23948,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23948
23948
  id: z.ZodString;
23949
23949
  name: z.ZodString;
23950
23950
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23951
- baseUrl: z.ZodURL;
23952
23951
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23952
+ baseUrl: z.ZodURL;
23953
23953
  }, z.core.$strip>>>;
23954
23954
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23955
23955
  id: z.ZodString;
@@ -23965,8 +23965,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23965
23965
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23966
23966
  id: z.ZodString;
23967
23967
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23968
- executeCode: z.ZodString;
23969
23968
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23969
+ executeCode: z.ZodString;
23970
23970
  }, z.core.$strip>>>;
23971
23971
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23972
23972
  id: z.ZodOptional<z.ZodString>;
@@ -24090,6 +24090,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
24090
24090
  id: z.ZodString;
24091
24091
  name: z.ZodString;
24092
24092
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24093
+ tenantId: z.ZodString;
24093
24094
  models: z.ZodObject<{
24094
24095
  base: z.ZodObject<{
24095
24096
  model: z.ZodOptional<z.ZodString>;
@@ -24114,7 +24115,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
24114
24115
  transferCountIs: z.ZodOptional<z.ZodInt>;
24115
24116
  stepCountIs: z.ZodOptional<z.ZodInt>;
24116
24117
  }, z.core.$strip>>;
24117
- tenantId: z.ZodString;
24118
24118
  }, {
24119
24119
  out: {};
24120
24120
  in: {};
@@ -24344,9 +24344,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24344
24344
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24345
24345
  id: z.ZodString;
24346
24346
  name: z.ZodString;
24347
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24348
24347
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24349
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24348
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24350
24349
  config: z.ZodObject<{
24351
24350
  type: z.ZodLiteral<"mcp">;
24352
24351
  mcp: z.ZodObject<{
@@ -24373,6 +24372,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24373
24372
  prompt: z.ZodOptional<z.ZodString>;
24374
24373
  }, z.core.$strip>;
24375
24374
  }, z.core.$strip>;
24375
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24376
24376
  credentialScope: z.ZodOptional<z.ZodString>;
24377
24377
  imageUrl: z.ZodOptional<z.ZodString>;
24378
24378
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -24383,8 +24383,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24383
24383
  id: z.ZodString;
24384
24384
  name: z.ZodString;
24385
24385
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24386
- baseUrl: z.ZodURL;
24387
24386
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24387
+ baseUrl: z.ZodURL;
24388
24388
  }, z.core.$strip>>>;
24389
24389
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24390
24390
  id: z.ZodString;
@@ -24400,8 +24400,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24400
24400
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24401
24401
  id: z.ZodString;
24402
24402
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24403
- executeCode: z.ZodString;
24404
24403
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24404
+ executeCode: z.ZodString;
24405
24405
  }, z.core.$strip>>>;
24406
24406
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24407
24407
  id: z.ZodOptional<z.ZodString>;
@@ -24465,9 +24465,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24465
24465
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
24466
24466
  id: z.ZodString;
24467
24467
  name: z.ZodString;
24468
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24469
24468
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24470
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24469
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24471
24470
  config: z.ZodObject<{
24472
24471
  type: z.ZodLiteral<"mcp">;
24473
24472
  mcp: z.ZodObject<{
@@ -24494,6 +24493,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24494
24493
  prompt: z.ZodOptional<z.ZodString>;
24495
24494
  }, z.core.$strip>;
24496
24495
  }, z.core.$strip>;
24496
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24497
24497
  credentialScope: z.ZodOptional<z.ZodString>;
24498
24498
  imageUrl: z.ZodOptional<z.ZodString>;
24499
24499
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -24509,8 +24509,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24509
24509
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24510
24510
  id: z.ZodString;
24511
24511
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24512
- executeCode: z.ZodString;
24513
24512
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24513
+ executeCode: z.ZodString;
24514
24514
  }, z.core.$strip>>>;
24515
24515
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
24516
24516
  files: z.ZodArray<z.ZodObject<{
@@ -24598,8 +24598,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24598
24598
  id: z.ZodString;
24599
24599
  name: z.ZodString;
24600
24600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24601
- baseUrl: z.ZodURL;
24602
24601
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24602
+ baseUrl: z.ZodURL;
24603
24603
  }, z.core.$strip>>>;
24604
24604
  statusUpdates: z.ZodOptional<z.ZodObject<{
24605
24605
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -24620,10 +24620,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24620
24620
  id: z.ZodString;
24621
24621
  name: z.ZodString;
24622
24622
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24623
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24624
24623
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24625
24624
  credentialStoreId: z.ZodString;
24626
24625
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24626
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24627
24627
  type: z.ZodEnum<{
24628
24628
  readonly memory: "memory";
24629
24629
  readonly keychain: "keychain";
@@ -25008,9 +25008,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25008
25008
  name: z.ZodString;
25009
25009
  createdAt: z.ZodString;
25010
25010
  updatedAt: z.ZodString;
25011
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25012
25011
  description: z.ZodNullable<z.ZodString>;
25013
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25012
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25014
25013
  config: z.ZodType<{
25015
25014
  type: "mcp";
25016
25015
  mcp: ToolMcpConfig;
@@ -25024,6 +25023,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25024
25023
  type: "mcp";
25025
25024
  mcp: ToolMcpConfig;
25026
25025
  }>>;
25026
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25027
25027
  credentialScope: z.ZodString;
25028
25028
  imageUrl: z.ZodNullable<z.ZodString>;
25029
25029
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25036,8 +25036,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25036
25036
  createdAt: z.ZodString;
25037
25037
  updatedAt: z.ZodString;
25038
25038
  description: z.ZodNullable<z.ZodString>;
25039
- baseUrl: z.ZodString;
25040
25039
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25040
+ baseUrl: z.ZodString;
25041
25041
  }, z.core.$strip>>>;
25042
25042
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25043
25043
  id: z.ZodString;
@@ -25059,8 +25059,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25059
25059
  createdAt: z.ZodString;
25060
25060
  updatedAt: z.ZodString;
25061
25061
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25062
- executeCode: z.ZodString;
25063
25062
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25063
+ executeCode: z.ZodString;
25064
25064
  }, z.core.$strip>>>;
25065
25065
  contextConfig: z.ZodNullable<z.ZodObject<{
25066
25066
  id: z.ZodString;
@@ -25123,9 +25123,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25123
25123
  name: z.ZodString;
25124
25124
  createdAt: z.ZodString;
25125
25125
  updatedAt: z.ZodString;
25126
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25127
25126
  description: z.ZodNullable<z.ZodString>;
25128
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25127
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25129
25128
  config: z.ZodType<{
25130
25129
  type: "mcp";
25131
25130
  mcp: ToolMcpConfig;
@@ -25139,6 +25138,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25139
25138
  type: "mcp";
25140
25139
  mcp: ToolMcpConfig;
25141
25140
  }>>;
25141
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25142
25142
  credentialScope: z.ZodString;
25143
25143
  imageUrl: z.ZodNullable<z.ZodString>;
25144
25144
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25151,8 +25151,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25151
25151
  createdAt: z.ZodString;
25152
25152
  updatedAt: z.ZodString;
25153
25153
  description: z.ZodNullable<z.ZodString>;
25154
- baseUrl: z.ZodString;
25155
25154
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25155
+ baseUrl: z.ZodString;
25156
25156
  }, z.core.$strip>>>;
25157
25157
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25158
25158
  id: z.ZodString;
@@ -25174,8 +25174,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25174
25174
  createdAt: z.ZodString;
25175
25175
  updatedAt: z.ZodString;
25176
25176
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25177
- executeCode: z.ZodString;
25178
25177
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25178
+ executeCode: z.ZodString;
25179
25179
  }, z.core.$strip>>>;
25180
25180
  contextConfig: z.ZodNullable<z.ZodObject<{
25181
25181
  id: z.ZodString;
@@ -25508,9 +25508,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25508
25508
  name: z.ZodString;
25509
25509
  createdAt: z.ZodString;
25510
25510
  updatedAt: z.ZodString;
25511
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25512
25511
  description: z.ZodNullable<z.ZodString>;
25513
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25512
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25514
25513
  config: z.ZodType<{
25515
25514
  type: "mcp";
25516
25515
  mcp: ToolMcpConfig;
@@ -25524,6 +25523,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25524
25523
  type: "mcp";
25525
25524
  mcp: ToolMcpConfig;
25526
25525
  }>>;
25526
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25527
25527
  credentialScope: z.ZodString;
25528
25528
  imageUrl: z.ZodNullable<z.ZodString>;
25529
25529
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25536,8 +25536,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25536
25536
  createdAt: z.ZodString;
25537
25537
  updatedAt: z.ZodString;
25538
25538
  description: z.ZodNullable<z.ZodString>;
25539
- baseUrl: z.ZodString;
25540
25539
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25540
+ baseUrl: z.ZodString;
25541
25541
  }, z.core.$strip>>>;
25542
25542
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25543
25543
  id: z.ZodString;
@@ -25559,8 +25559,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25559
25559
  createdAt: z.ZodString;
25560
25560
  updatedAt: z.ZodString;
25561
25561
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25562
- executeCode: z.ZodString;
25563
25562
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25563
+ executeCode: z.ZodString;
25564
25564
  }, z.core.$strip>>>;
25565
25565
  contextConfig: z.ZodNullable<z.ZodObject<{
25566
25566
  id: z.ZodString;
@@ -25614,9 +25614,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25614
25614
  name: z.ZodString;
25615
25615
  createdAt: z.ZodString;
25616
25616
  updatedAt: z.ZodString;
25617
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25618
25617
  description: z.ZodNullable<z.ZodString>;
25619
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25618
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25620
25619
  config: z.ZodType<{
25621
25620
  type: "mcp";
25622
25621
  mcp: ToolMcpConfig;
@@ -25630,6 +25629,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25630
25629
  type: "mcp";
25631
25630
  mcp: ToolMcpConfig;
25632
25631
  }>>;
25632
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25633
25633
  credentialScope: z.ZodString;
25634
25634
  imageUrl: z.ZodNullable<z.ZodString>;
25635
25635
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25651,8 +25651,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25651
25651
  createdAt: z.ZodString;
25652
25652
  updatedAt: z.ZodString;
25653
25653
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25654
- executeCode: z.ZodString;
25655
25654
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25655
+ executeCode: z.ZodString;
25656
25656
  }, z.core.$strip>>>;
25657
25657
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25658
25658
  id: z.ZodString;
@@ -25758,8 +25758,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25758
25758
  createdAt: z.ZodString;
25759
25759
  updatedAt: z.ZodString;
25760
25760
  description: z.ZodNullable<z.ZodString>;
25761
- baseUrl: z.ZodString;
25762
25761
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25762
+ baseUrl: z.ZodString;
25763
25763
  }, z.core.$strip>>>;
25764
25764
  statusUpdates: z.ZodNullable<z.ZodObject<{
25765
25765
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25782,10 +25782,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25782
25782
  createdAt: z.ZodString;
25783
25783
  updatedAt: z.ZodString;
25784
25784
  userId: z.ZodNullable<z.ZodString>;
25785
- toolId: z.ZodNullable<z.ZodString>;
25786
25785
  createdBy: z.ZodNullable<z.ZodString>;
25787
25786
  credentialStoreId: z.ZodString;
25788
25787
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25788
+ toolId: z.ZodNullable<z.ZodString>;
25789
25789
  type: z.ZodEnum<{
25790
25790
  readonly memory: "memory";
25791
25791
  readonly keychain: "keychain";
@@ -25828,7 +25828,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25828
25828
  generated: undefined;
25829
25829
  }, {}, {}>;
25830
25830
  config: drizzle_orm_pg_core220.PgColumn<{
25831
- name: "config";
25831
+ name: string;
25832
25832
  tableName: "tools";
25833
25833
  dataType: "json";
25834
25834
  columnType: "PgJsonb";
@@ -25891,7 +25891,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25891
25891
  length: 50;
25892
25892
  }>;
25893
25893
  headers: drizzle_orm_pg_core220.PgColumn<{
25894
- name: "headers";
25894
+ name: string;
25895
25895
  tableName: "tools";
25896
25896
  dataType: "json";
25897
25897
  columnType: "PgJsonb";
@@ -25927,7 +25927,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25927
25927
  generated: undefined;
25928
25928
  }, {}, {}>;
25929
25929
  capabilities: drizzle_orm_pg_core220.PgColumn<{
25930
- name: "capabilities";
25930
+ name: string;
25931
25931
  tableName: "tools";
25932
25932
  dataType: "json";
25933
25933
  columnType: "PgJsonb";
@@ -26108,7 +26108,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26108
26108
  generated: undefined;
26109
26109
  }, {}, {}>;
26110
26110
  config: drizzle_orm_pg_core220.PgColumn<{
26111
- name: "config";
26111
+ name: string;
26112
26112
  tableName: "tools";
26113
26113
  dataType: "json";
26114
26114
  columnType: "PgJsonb";
@@ -26171,7 +26171,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26171
26171
  length: 50;
26172
26172
  }>;
26173
26173
  headers: drizzle_orm_pg_core220.PgColumn<{
26174
- name: "headers";
26174
+ name: string;
26175
26175
  tableName: "tools";
26176
26176
  dataType: "json";
26177
26177
  columnType: "PgJsonb";
@@ -26207,7 +26207,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26207
26207
  generated: undefined;
26208
26208
  }, {}, {}>;
26209
26209
  capabilities: drizzle_orm_pg_core220.PgColumn<{
26210
- name: "capabilities";
26210
+ name: string;
26211
26211
  tableName: "tools";
26212
26212
  dataType: "json";
26213
26213
  columnType: "PgJsonb";
@@ -26407,9 +26407,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26407
26407
  name: z.ZodString;
26408
26408
  createdAt: z.ZodString;
26409
26409
  updatedAt: z.ZodString;
26410
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26411
26410
  description: z.ZodNullable<z.ZodString>;
26412
- credentialReferenceId: z.ZodNullable<z.ZodString>;
26411
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26413
26412
  config: z.ZodType<{
26414
26413
  type: "mcp";
26415
26414
  mcp: ToolMcpConfig;
@@ -26423,6 +26422,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26423
26422
  type: "mcp";
26424
26423
  mcp: ToolMcpConfig;
26425
26424
  }>>;
26425
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
26426
26426
  credentialScope: z.ZodString;
26427
26427
  imageUrl: z.ZodNullable<z.ZodString>;
26428
26428
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -26444,8 +26444,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26444
26444
  createdAt: z.ZodString;
26445
26445
  updatedAt: z.ZodString;
26446
26446
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26447
- executeCode: z.ZodString;
26448
26447
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26448
+ executeCode: z.ZodString;
26449
26449
  }, z.core.$strip>>>;
26450
26450
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26451
26451
  id: z.ZodString;
@@ -26551,8 +26551,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26551
26551
  createdAt: z.ZodString;
26552
26552
  updatedAt: z.ZodString;
26553
26553
  description: z.ZodNullable<z.ZodString>;
26554
- baseUrl: z.ZodString;
26555
26554
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26555
+ baseUrl: z.ZodString;
26556
26556
  }, z.core.$strip>>>;
26557
26557
  statusUpdates: z.ZodNullable<z.ZodObject<{
26558
26558
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26575,10 +26575,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26575
26575
  createdAt: z.ZodString;
26576
26576
  updatedAt: z.ZodString;
26577
26577
  userId: z.ZodNullable<z.ZodString>;
26578
- toolId: z.ZodNullable<z.ZodString>;
26579
26578
  createdBy: z.ZodNullable<z.ZodString>;
26580
26579
  credentialStoreId: z.ZodString;
26581
26580
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26581
+ toolId: z.ZodNullable<z.ZodString>;
26582
26582
  type: z.ZodEnum<{
26583
26583
  readonly memory: "memory";
26584
26584
  readonly keychain: "keychain";
@@ -26621,7 +26621,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26621
26621
  generated: undefined;
26622
26622
  }, {}, {}>;
26623
26623
  config: drizzle_orm_pg_core220.PgColumn<{
26624
- name: "config";
26624
+ name: string;
26625
26625
  tableName: "tools";
26626
26626
  dataType: "json";
26627
26627
  columnType: "PgJsonb";
@@ -26684,7 +26684,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26684
26684
  length: 50;
26685
26685
  }>;
26686
26686
  headers: drizzle_orm_pg_core220.PgColumn<{
26687
- name: "headers";
26687
+ name: string;
26688
26688
  tableName: "tools";
26689
26689
  dataType: "json";
26690
26690
  columnType: "PgJsonb";
@@ -26720,7 +26720,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26720
26720
  generated: undefined;
26721
26721
  }, {}, {}>;
26722
26722
  capabilities: drizzle_orm_pg_core220.PgColumn<{
26723
- name: "capabilities";
26723
+ name: string;
26724
26724
  tableName: "tools";
26725
26725
  dataType: "json";
26726
26726
  columnType: "PgJsonb";
@@ -26901,7 +26901,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26901
26901
  generated: undefined;
26902
26902
  }, {}, {}>;
26903
26903
  config: drizzle_orm_pg_core220.PgColumn<{
26904
- name: "config";
26904
+ name: string;
26905
26905
  tableName: "tools";
26906
26906
  dataType: "json";
26907
26907
  columnType: "PgJsonb";
@@ -26964,7 +26964,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26964
26964
  length: 50;
26965
26965
  }>;
26966
26966
  headers: drizzle_orm_pg_core220.PgColumn<{
26967
- name: "headers";
26967
+ name: string;
26968
26968
  tableName: "tools";
26969
26969
  dataType: "json";
26970
26970
  columnType: "PgJsonb";
@@ -27000,7 +27000,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27000
27000
  generated: undefined;
27001
27001
  }, {}, {}>;
27002
27002
  capabilities: drizzle_orm_pg_core220.PgColumn<{
27003
- name: "capabilities";
27003
+ name: string;
27004
27004
  tableName: "tools";
27005
27005
  dataType: "json";
27006
27006
  columnType: "PgJsonb";
@@ -27175,9 +27175,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27175
27175
  name: z.ZodString;
27176
27176
  createdAt: z.ZodString;
27177
27177
  updatedAt: z.ZodString;
27178
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27179
27178
  description: z.ZodNullable<z.ZodString>;
27180
- credentialReferenceId: z.ZodNullable<z.ZodString>;
27179
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27181
27180
  config: z.ZodType<{
27182
27181
  type: "mcp";
27183
27182
  mcp: ToolMcpConfig;
@@ -27191,6 +27190,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27191
27190
  type: "mcp";
27192
27191
  mcp: ToolMcpConfig;
27193
27192
  }>>;
27193
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
27194
27194
  credentialScope: z.ZodString;
27195
27195
  imageUrl: z.ZodNullable<z.ZodString>;
27196
27196
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -27203,8 +27203,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27203
27203
  createdAt: z.ZodString;
27204
27204
  updatedAt: z.ZodString;
27205
27205
  description: z.ZodNullable<z.ZodString>;
27206
- baseUrl: z.ZodString;
27207
27206
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27207
+ baseUrl: z.ZodString;
27208
27208
  }, z.core.$strip>>>;
27209
27209
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27210
27210
  id: z.ZodString;
@@ -27226,8 +27226,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27226
27226
  createdAt: z.ZodString;
27227
27227
  updatedAt: z.ZodString;
27228
27228
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27229
- executeCode: z.ZodString;
27230
27229
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27230
+ executeCode: z.ZodString;
27231
27231
  }, z.core.$strip>>>;
27232
27232
  contextConfig: z.ZodNullable<z.ZodObject<{
27233
27233
  id: z.ZodString;
@@ -27523,6 +27523,7 @@ declare const SubAgentResponse: z.ZodObject<{
27523
27523
  allowedProviders?: string[] | undefined;
27524
27524
  } | undefined;
27525
27525
  }>>>;
27526
+ prompt: z.ZodNullable<z.ZodString>;
27526
27527
  stopWhen: z.ZodNullable<z.ZodType<{
27527
27528
  stepCountIs?: number | undefined;
27528
27529
  }, {
@@ -27532,7 +27533,6 @@ declare const SubAgentResponse: z.ZodObject<{
27532
27533
  }, {
27533
27534
  stepCountIs?: number | undefined;
27534
27535
  }>>>;
27535
- prompt: z.ZodNullable<z.ZodString>;
27536
27536
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27537
27537
  }, z.core.$strip>;
27538
27538
  }, z.core.$strip>;
@@ -27543,6 +27543,8 @@ declare const AgentResponse: z.ZodObject<{
27543
27543
  createdAt: z.ZodString;
27544
27544
  updatedAt: z.ZodString;
27545
27545
  description: z.ZodNullable<z.ZodString>;
27546
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27547
+ contextConfigId: z.ZodNullable<z.ZodString>;
27546
27548
  models: z.ZodNullable<z.ZodType<{
27547
27549
  base?: {
27548
27550
  model?: string | undefined;
@@ -27620,17 +27622,6 @@ declare const AgentResponse: z.ZodObject<{
27620
27622
  allowedProviders?: string[] | undefined;
27621
27623
  } | undefined;
27622
27624
  }>>>;
27623
- stopWhen: z.ZodNullable<z.ZodType<{
27624
- transferCountIs?: number | undefined;
27625
- }, {
27626
- transferCountIs?: number | undefined;
27627
- }, z.core.$ZodTypeInternals<{
27628
- transferCountIs?: number | undefined;
27629
- }, {
27630
- transferCountIs?: number | undefined;
27631
- }>>>;
27632
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27633
- contextConfigId: z.ZodNullable<z.ZodString>;
27634
27625
  prompt: z.ZodNullable<z.ZodString>;
27635
27626
  statusUpdates: z.ZodNullable<z.ZodType<{
27636
27627
  enabled?: boolean | undefined;
@@ -27689,6 +27680,15 @@ declare const AgentResponse: z.ZodObject<{
27689
27680
  } | undefined;
27690
27681
  }[] | undefined;
27691
27682
  }>>>;
27683
+ stopWhen: z.ZodNullable<z.ZodType<{
27684
+ transferCountIs?: number | undefined;
27685
+ }, {
27686
+ transferCountIs?: number | undefined;
27687
+ }, z.core.$ZodTypeInternals<{
27688
+ transferCountIs?: number | undefined;
27689
+ }, {
27690
+ transferCountIs?: number | undefined;
27691
+ }>>>;
27692
27692
  executionMode: z.ZodString;
27693
27693
  }, z.core.$strip>;
27694
27694
  }, z.core.$strip>;
@@ -27699,8 +27699,8 @@ declare const ExternalAgentResponse: z.ZodObject<{
27699
27699
  createdAt: z.ZodString;
27700
27700
  updatedAt: z.ZodString;
27701
27701
  description: z.ZodNullable<z.ZodString>;
27702
- baseUrl: z.ZodString;
27703
27702
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27703
+ baseUrl: z.ZodString;
27704
27704
  }, z.core.$strip>;
27705
27705
  }, z.core.$strip>;
27706
27706
  declare const ContextConfigResponse: z.ZodObject<{
@@ -27735,10 +27735,10 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27735
27735
  createdAt: z.ZodString;
27736
27736
  updatedAt: z.ZodString;
27737
27737
  userId: z.ZodNullable<z.ZodString>;
27738
- toolId: z.ZodNullable<z.ZodString>;
27739
27738
  createdBy: z.ZodNullable<z.ZodString>;
27740
27739
  credentialStoreId: z.ZodString;
27741
27740
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27741
+ toolId: z.ZodNullable<z.ZodString>;
27742
27742
  type: z.ZodEnum<{
27743
27743
  readonly memory: "memory";
27744
27744
  readonly keychain: "keychain";
@@ -27781,7 +27781,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27781
27781
  generated: undefined;
27782
27782
  }, {}, {}>;
27783
27783
  config: drizzle_orm_pg_core220.PgColumn<{
27784
- name: "config";
27784
+ name: string;
27785
27785
  tableName: "tools";
27786
27786
  dataType: "json";
27787
27787
  columnType: "PgJsonb";
@@ -27844,7 +27844,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27844
27844
  length: 50;
27845
27845
  }>;
27846
27846
  headers: drizzle_orm_pg_core220.PgColumn<{
27847
- name: "headers";
27847
+ name: string;
27848
27848
  tableName: "tools";
27849
27849
  dataType: "json";
27850
27850
  columnType: "PgJsonb";
@@ -27880,7 +27880,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27880
27880
  generated: undefined;
27881
27881
  }, {}, {}>;
27882
27882
  capabilities: drizzle_orm_pg_core220.PgColumn<{
27883
- name: "capabilities";
27883
+ name: string;
27884
27884
  tableName: "tools";
27885
27885
  dataType: "json";
27886
27886
  columnType: "PgJsonb";
@@ -28061,7 +28061,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28061
28061
  generated: undefined;
28062
28062
  }, {}, {}>;
28063
28063
  config: drizzle_orm_pg_core220.PgColumn<{
28064
- name: "config";
28064
+ name: string;
28065
28065
  tableName: "tools";
28066
28066
  dataType: "json";
28067
28067
  columnType: "PgJsonb";
@@ -28124,7 +28124,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28124
28124
  length: 50;
28125
28125
  }>;
28126
28126
  headers: drizzle_orm_pg_core220.PgColumn<{
28127
- name: "headers";
28127
+ name: string;
28128
28128
  tableName: "tools";
28129
28129
  dataType: "json";
28130
28130
  columnType: "PgJsonb";
@@ -28160,7 +28160,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28160
28160
  generated: undefined;
28161
28161
  }, {}, {}>;
28162
28162
  capabilities: drizzle_orm_pg_core220.PgColumn<{
28163
- name: "capabilities";
28163
+ name: string;
28164
28164
  tableName: "tools";
28165
28165
  dataType: "json";
28166
28166
  columnType: "PgJsonb";
@@ -28328,8 +28328,8 @@ declare const FunctionResponse: z.ZodObject<{
28328
28328
  createdAt: z.ZodString;
28329
28329
  updatedAt: z.ZodString;
28330
28330
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28331
- executeCode: z.ZodString;
28332
28331
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28332
+ executeCode: z.ZodString;
28333
28333
  }, z.core.$strip>;
28334
28334
  }, z.core.$strip>;
28335
28335
  declare const FunctionToolResponse: z.ZodObject<{
@@ -28350,8 +28350,8 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28350
28350
  createdAt: z.ZodString;
28351
28351
  updatedAt: z.ZodString;
28352
28352
  subAgentId: z.ZodString;
28353
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28354
28353
  functionToolId: z.ZodString;
28354
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28355
28355
  }, z.core.$strip>;
28356
28356
  }, z.core.$strip>;
28357
28357
  declare const DataComponentResponse: z.ZodObject<{
@@ -28472,10 +28472,10 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
28472
28472
  createdAt: z.ZodString;
28473
28473
  updatedAt: z.ZodString;
28474
28474
  headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28475
- subAgentId: z.ZodString;
28476
28475
  toolId: z.ZodString;
28477
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28476
+ subAgentId: z.ZodString;
28478
28477
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28478
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28479
28479
  }, z.core.$strip>;
28480
28480
  }, z.core.$strip>;
28481
28481
  declare const TriggerResponse: z.ZodObject<{
@@ -28554,8 +28554,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28554
28554
  hash: z.ZodString;
28555
28555
  }, z.core.$strip>>>;
28556
28556
  status: z.ZodString;
28557
- conversationId: z.ZodNullable<z.ZodString>;
28558
28557
  triggerId: z.ZodString;
28558
+ conversationId: z.ZodNullable<z.ZodString>;
28559
28559
  requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
28560
28560
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28561
28561
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -28687,6 +28687,7 @@ declare const SubAgentListResponse: z.ZodObject<{
28687
28687
  allowedProviders?: string[] | undefined;
28688
28688
  } | undefined;
28689
28689
  }>>>;
28690
+ prompt: z.ZodNullable<z.ZodString>;
28690
28691
  stopWhen: z.ZodNullable<z.ZodType<{
28691
28692
  stepCountIs?: number | undefined;
28692
28693
  }, {
@@ -28696,7 +28697,6 @@ declare const SubAgentListResponse: z.ZodObject<{
28696
28697
  }, {
28697
28698
  stepCountIs?: number | undefined;
28698
28699
  }>>>;
28699
- prompt: z.ZodNullable<z.ZodString>;
28700
28700
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28701
28701
  }, z.core.$strip>>;
28702
28702
  pagination: z.ZodObject<{
@@ -28713,6 +28713,8 @@ declare const AgentListResponse: z.ZodObject<{
28713
28713
  createdAt: z.ZodString;
28714
28714
  updatedAt: z.ZodString;
28715
28715
  description: z.ZodNullable<z.ZodString>;
28716
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28717
+ contextConfigId: z.ZodNullable<z.ZodString>;
28716
28718
  models: z.ZodNullable<z.ZodType<{
28717
28719
  base?: {
28718
28720
  model?: string | undefined;
@@ -28790,17 +28792,6 @@ declare const AgentListResponse: z.ZodObject<{
28790
28792
  allowedProviders?: string[] | undefined;
28791
28793
  } | undefined;
28792
28794
  }>>>;
28793
- stopWhen: z.ZodNullable<z.ZodType<{
28794
- transferCountIs?: number | undefined;
28795
- }, {
28796
- transferCountIs?: number | undefined;
28797
- }, z.core.$ZodTypeInternals<{
28798
- transferCountIs?: number | undefined;
28799
- }, {
28800
- transferCountIs?: number | undefined;
28801
- }>>>;
28802
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28803
- contextConfigId: z.ZodNullable<z.ZodString>;
28804
28795
  prompt: z.ZodNullable<z.ZodString>;
28805
28796
  statusUpdates: z.ZodNullable<z.ZodType<{
28806
28797
  enabled?: boolean | undefined;
@@ -28859,6 +28850,15 @@ declare const AgentListResponse: z.ZodObject<{
28859
28850
  } | undefined;
28860
28851
  }[] | undefined;
28861
28852
  }>>>;
28853
+ stopWhen: z.ZodNullable<z.ZodType<{
28854
+ transferCountIs?: number | undefined;
28855
+ }, {
28856
+ transferCountIs?: number | undefined;
28857
+ }, z.core.$ZodTypeInternals<{
28858
+ transferCountIs?: number | undefined;
28859
+ }, {
28860
+ transferCountIs?: number | undefined;
28861
+ }>>>;
28862
28862
  executionMode: z.ZodString;
28863
28863
  }, z.core.$strip>>;
28864
28864
  pagination: z.ZodObject<{
@@ -28875,8 +28875,8 @@ declare const ExternalAgentListResponse: z.ZodObject<{
28875
28875
  createdAt: z.ZodString;
28876
28876
  updatedAt: z.ZodString;
28877
28877
  description: z.ZodNullable<z.ZodString>;
28878
- baseUrl: z.ZodString;
28879
28878
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28879
+ baseUrl: z.ZodString;
28880
28880
  }, z.core.$strip>>;
28881
28881
  pagination: z.ZodObject<{
28882
28882
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -28924,15 +28924,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
28924
28924
  }, z.core.$strip>;
28925
28925
  declare const AppResponse: z.ZodObject<{
28926
28926
  data: z.ZodObject<{
28927
- type: z.ZodString;
28928
28927
  id: z.ZodString;
28929
28928
  name: z.ZodString;
28930
28929
  createdAt: z.ZodString;
28931
28930
  updatedAt: z.ZodString;
28932
28931
  description: z.ZodNullable<z.ZodString>;
28933
28932
  enabled: z.ZodBoolean;
28934
- tenantId: z.ZodNullable<z.ZodString>;
28933
+ type: z.ZodString;
28935
28934
  projectId: z.ZodNullable<z.ZodString>;
28935
+ tenantId: z.ZodNullable<z.ZodString>;
28936
28936
  prompt: z.ZodNullable<z.ZodString>;
28937
28937
  lastUsedAt: z.ZodNullable<z.ZodString>;
28938
28938
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -28969,15 +28969,15 @@ declare const AppResponse: z.ZodObject<{
28969
28969
  }, z.core.$strip>;
28970
28970
  declare const AppListResponse: z.ZodObject<{
28971
28971
  data: z.ZodArray<z.ZodObject<{
28972
- type: z.ZodString;
28973
28972
  id: z.ZodString;
28974
28973
  name: z.ZodString;
28975
28974
  createdAt: z.ZodString;
28976
28975
  updatedAt: z.ZodString;
28977
28976
  description: z.ZodNullable<z.ZodString>;
28978
28977
  enabled: z.ZodBoolean;
28979
- tenantId: z.ZodNullable<z.ZodString>;
28978
+ type: z.ZodString;
28980
28979
  projectId: z.ZodNullable<z.ZodString>;
28980
+ tenantId: z.ZodNullable<z.ZodString>;
28981
28981
  prompt: z.ZodNullable<z.ZodString>;
28982
28982
  lastUsedAt: z.ZodNullable<z.ZodString>;
28983
28983
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -29025,10 +29025,10 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29025
29025
  createdAt: z.ZodString;
29026
29026
  updatedAt: z.ZodString;
29027
29027
  userId: z.ZodNullable<z.ZodString>;
29028
- toolId: z.ZodNullable<z.ZodString>;
29029
29028
  createdBy: z.ZodNullable<z.ZodString>;
29030
29029
  credentialStoreId: z.ZodString;
29031
29030
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29031
+ toolId: z.ZodNullable<z.ZodString>;
29032
29032
  type: z.ZodEnum<{
29033
29033
  readonly memory: "memory";
29034
29034
  readonly keychain: "keychain";
@@ -29071,7 +29071,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29071
29071
  generated: undefined;
29072
29072
  }, {}, {}>;
29073
29073
  config: drizzle_orm_pg_core220.PgColumn<{
29074
- name: "config";
29074
+ name: string;
29075
29075
  tableName: "tools";
29076
29076
  dataType: "json";
29077
29077
  columnType: "PgJsonb";
@@ -29134,7 +29134,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29134
29134
  length: 50;
29135
29135
  }>;
29136
29136
  headers: drizzle_orm_pg_core220.PgColumn<{
29137
- name: "headers";
29137
+ name: string;
29138
29138
  tableName: "tools";
29139
29139
  dataType: "json";
29140
29140
  columnType: "PgJsonb";
@@ -29170,7 +29170,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29170
29170
  generated: undefined;
29171
29171
  }, {}, {}>;
29172
29172
  capabilities: drizzle_orm_pg_core220.PgColumn<{
29173
- name: "capabilities";
29173
+ name: string;
29174
29174
  tableName: "tools";
29175
29175
  dataType: "json";
29176
29176
  columnType: "PgJsonb";
@@ -29351,7 +29351,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29351
29351
  generated: undefined;
29352
29352
  }, {}, {}>;
29353
29353
  config: drizzle_orm_pg_core220.PgColumn<{
29354
- name: "config";
29354
+ name: string;
29355
29355
  tableName: "tools";
29356
29356
  dataType: "json";
29357
29357
  columnType: "PgJsonb";
@@ -29414,7 +29414,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29414
29414
  length: 50;
29415
29415
  }>;
29416
29416
  headers: drizzle_orm_pg_core220.PgColumn<{
29417
- name: "headers";
29417
+ name: string;
29418
29418
  tableName: "tools";
29419
29419
  dataType: "json";
29420
29420
  columnType: "PgJsonb";
@@ -29450,7 +29450,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29450
29450
  generated: undefined;
29451
29451
  }, {}, {}>;
29452
29452
  capabilities: drizzle_orm_pg_core220.PgColumn<{
29453
- name: "capabilities";
29453
+ name: string;
29454
29454
  tableName: "tools";
29455
29455
  dataType: "json";
29456
29456
  columnType: "PgJsonb";
@@ -29624,8 +29624,8 @@ declare const FunctionListResponse: z.ZodObject<{
29624
29624
  createdAt: z.ZodString;
29625
29625
  updatedAt: z.ZodString;
29626
29626
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29627
- executeCode: z.ZodString;
29628
29627
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29628
+ executeCode: z.ZodString;
29629
29629
  }, z.core.$strip>>;
29630
29630
  pagination: z.ZodObject<{
29631
29631
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29658,8 +29658,8 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
29658
29658
  createdAt: z.ZodString;
29659
29659
  updatedAt: z.ZodString;
29660
29660
  subAgentId: z.ZodString;
29661
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29662
29661
  functionToolId: z.ZodString;
29662
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29663
29663
  }, z.core.$strip>>;
29664
29664
  pagination: z.ZodObject<{
29665
29665
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29804,10 +29804,10 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
29804
29804
  createdAt: z.ZodString;
29805
29805
  updatedAt: z.ZodString;
29806
29806
  headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29807
- subAgentId: z.ZodString;
29808
29807
  toolId: z.ZodString;
29809
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29808
+ subAgentId: z.ZodString;
29810
29809
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29810
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29811
29811
  }, z.core.$strip>>;
29812
29812
  pagination: z.ZodObject<{
29813
29813
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29898,8 +29898,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29898
29898
  hash: z.ZodString;
29899
29899
  }, z.core.$strip>>>;
29900
29900
  status: z.ZodString;
29901
- conversationId: z.ZodNullable<z.ZodString>;
29902
29901
  triggerId: z.ZodString;
29902
+ conversationId: z.ZodNullable<z.ZodString>;
29903
29903
  requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29904
29904
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29905
29905
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -30127,8 +30127,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30127
30127
  timeoutSeconds: z.ZodInt;
30128
30128
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30129
30129
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30130
- completed: "completed";
30131
30130
  failed: "failed";
30131
+ completed: "completed";
30132
30132
  }>>;
30133
30133
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30134
30134
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30205,8 +30205,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30205
30205
  timeoutSeconds: z.ZodInt;
30206
30206
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30207
30207
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30208
- completed: "completed";
30209
30208
  failed: "failed";
30209
+ completed: "completed";
30210
30210
  }>>;
30211
30211
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30212
30212
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30233,17 +30233,17 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30233
30233
  }, z.core.$strip>>>;
30234
30234
  status: z.ZodEnum<{
30235
30235
  pending: "pending";
30236
+ failed: "failed";
30236
30237
  running: "running";
30237
30238
  completed: "completed";
30238
- failed: "failed";
30239
30239
  cancelled: "cancelled";
30240
30240
  }>;
30241
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30242
30241
  scheduledTriggerId: z.ZodString;
30243
30242
  scheduledFor: z.ZodString;
30244
30243
  startedAt: z.ZodNullable<z.ZodString>;
30245
30244
  completedAt: z.ZodNullable<z.ZodString>;
30246
30245
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30246
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30247
30247
  attemptNumber: z.ZodInt;
30248
30248
  idempotencyKey: z.ZodString;
30249
30249
  }, z.core.$strip>;
@@ -30263,17 +30263,17 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30263
30263
  }, z.core.$strip>>>;
30264
30264
  status: z.ZodEnum<{
30265
30265
  pending: "pending";
30266
+ failed: "failed";
30266
30267
  running: "running";
30267
30268
  completed: "completed";
30268
- failed: "failed";
30269
30269
  cancelled: "cancelled";
30270
30270
  }>;
30271
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30272
30271
  scheduledTriggerId: z.ZodString;
30273
30272
  scheduledFor: z.ZodString;
30274
30273
  startedAt: z.ZodNullable<z.ZodString>;
30275
30274
  completedAt: z.ZodNullable<z.ZodString>;
30276
30275
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30276
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30277
30277
  attemptNumber: z.ZodInt;
30278
30278
  idempotencyKey: z.ZodString;
30279
30279
  }, z.core.$strip>>;
@@ -30398,9 +30398,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30398
30398
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
30400
  name: z.ZodString;
30401
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30402
30401
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30403
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30402
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30404
30403
  config: z.ZodObject<{
30405
30404
  type: z.ZodLiteral<"mcp">;
30406
30405
  mcp: z.ZodObject<{
@@ -30427,6 +30426,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30427
30426
  prompt: z.ZodOptional<z.ZodString>;
30428
30427
  }, z.core.$strip>;
30429
30428
  }, z.core.$strip>;
30429
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30430
30430
  credentialScope: z.ZodOptional<z.ZodString>;
30431
30431
  imageUrl: z.ZodOptional<z.ZodString>;
30432
30432
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -30437,8 +30437,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30437
30437
  id: z.ZodString;
30438
30438
  name: z.ZodString;
30439
30439
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30440
- baseUrl: z.ZodURL;
30441
30440
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30441
+ baseUrl: z.ZodURL;
30442
30442
  }, z.core.$strip>>>;
30443
30443
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30444
30444
  id: z.ZodString;
@@ -30454,8 +30454,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30454
30454
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30455
30455
  id: z.ZodString;
30456
30456
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30457
- executeCode: z.ZodString;
30458
30457
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30458
+ executeCode: z.ZodString;
30459
30459
  }, z.core.$strip>>>;
30460
30460
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30461
30461
  id: z.ZodOptional<z.ZodString>;
@@ -30519,9 +30519,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30519
30519
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
30520
30520
  id: z.ZodString;
30521
30521
  name: z.ZodString;
30522
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30523
30522
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30524
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30523
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30525
30524
  config: z.ZodObject<{
30526
30525
  type: z.ZodLiteral<"mcp">;
30527
30526
  mcp: z.ZodObject<{
@@ -30548,6 +30547,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30548
30547
  prompt: z.ZodOptional<z.ZodString>;
30549
30548
  }, z.core.$strip>;
30550
30549
  }, z.core.$strip>;
30550
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30551
30551
  credentialScope: z.ZodOptional<z.ZodString>;
30552
30552
  imageUrl: z.ZodOptional<z.ZodString>;
30553
30553
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -30563,8 +30563,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30563
30563
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30564
30564
  id: z.ZodString;
30565
30565
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30566
- executeCode: z.ZodString;
30567
30566
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30567
+ executeCode: z.ZodString;
30568
30568
  }, z.core.$strip>>>;
30569
30569
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
30570
30570
  files: z.ZodArray<z.ZodObject<{
@@ -30652,8 +30652,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30652
30652
  id: z.ZodString;
30653
30653
  name: z.ZodString;
30654
30654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30655
- baseUrl: z.ZodURL;
30656
30655
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30656
+ baseUrl: z.ZodURL;
30657
30657
  }, z.core.$strip>>>;
30658
30658
  statusUpdates: z.ZodOptional<z.ZodObject<{
30659
30659
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30674,10 +30674,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30674
30674
  id: z.ZodString;
30675
30675
  name: z.ZodString;
30676
30676
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30677
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30678
30677
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30679
30678
  credentialStoreId: z.ZodString;
30680
30679
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30680
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30681
30681
  type: z.ZodEnum<{
30682
30682
  readonly memory: "memory";
30683
30683
  readonly keychain: "keychain";
@@ -30854,9 +30854,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30854
30854
  name: z.ZodString;
30855
30855
  createdAt: z.ZodString;
30856
30856
  updatedAt: z.ZodString;
30857
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30858
30857
  description: z.ZodNullable<z.ZodString>;
30859
- credentialReferenceId: z.ZodNullable<z.ZodString>;
30858
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30860
30859
  config: z.ZodType<{
30861
30860
  type: "mcp";
30862
30861
  mcp: ToolMcpConfig;
@@ -30870,6 +30869,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30870
30869
  type: "mcp";
30871
30870
  mcp: ToolMcpConfig;
30872
30871
  }>>;
30872
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
30873
30873
  credentialScope: z.ZodString;
30874
30874
  imageUrl: z.ZodNullable<z.ZodString>;
30875
30875
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -30882,8 +30882,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30882
30882
  createdAt: z.ZodString;
30883
30883
  updatedAt: z.ZodString;
30884
30884
  description: z.ZodNullable<z.ZodString>;
30885
- baseUrl: z.ZodString;
30886
30885
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30886
+ baseUrl: z.ZodString;
30887
30887
  }, z.core.$strip>>>;
30888
30888
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30889
30889
  id: z.ZodString;
@@ -30905,8 +30905,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30905
30905
  createdAt: z.ZodString;
30906
30906
  updatedAt: z.ZodString;
30907
30907
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30908
- executeCode: z.ZodString;
30909
30908
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30909
+ executeCode: z.ZodString;
30910
30910
  }, z.core.$strip>>>;
30911
30911
  contextConfig: z.ZodNullable<z.ZodObject<{
30912
30912
  id: z.ZodString;
@@ -30960,9 +30960,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30960
30960
  name: z.ZodString;
30961
30961
  createdAt: z.ZodString;
30962
30962
  updatedAt: z.ZodString;
30963
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30964
30963
  description: z.ZodNullable<z.ZodString>;
30965
- credentialReferenceId: z.ZodNullable<z.ZodString>;
30964
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30966
30965
  config: z.ZodType<{
30967
30966
  type: "mcp";
30968
30967
  mcp: ToolMcpConfig;
@@ -30976,6 +30975,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30976
30975
  type: "mcp";
30977
30976
  mcp: ToolMcpConfig;
30978
30977
  }>>;
30978
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
30979
30979
  credentialScope: z.ZodString;
30980
30980
  imageUrl: z.ZodNullable<z.ZodString>;
30981
30981
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -30997,8 +30997,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30997
30997
  createdAt: z.ZodString;
30998
30998
  updatedAt: z.ZodString;
30999
30999
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31000
- executeCode: z.ZodString;
31001
31000
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31001
+ executeCode: z.ZodString;
31002
31002
  }, z.core.$strip>>>;
31003
31003
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31004
31004
  id: z.ZodString;
@@ -31104,8 +31104,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31104
31104
  createdAt: z.ZodString;
31105
31105
  updatedAt: z.ZodString;
31106
31106
  description: z.ZodNullable<z.ZodString>;
31107
- baseUrl: z.ZodString;
31108
31107
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31108
+ baseUrl: z.ZodString;
31109
31109
  }, z.core.$strip>>>;
31110
31110
  statusUpdates: z.ZodNullable<z.ZodObject<{
31111
31111
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31128,10 +31128,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31128
31128
  createdAt: z.ZodString;
31129
31129
  updatedAt: z.ZodString;
31130
31130
  userId: z.ZodNullable<z.ZodString>;
31131
- toolId: z.ZodNullable<z.ZodString>;
31132
31131
  createdBy: z.ZodNullable<z.ZodString>;
31133
31132
  credentialStoreId: z.ZodString;
31134
31133
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31134
+ toolId: z.ZodNullable<z.ZodString>;
31135
31135
  type: z.ZodEnum<{
31136
31136
  readonly memory: "memory";
31137
31137
  readonly keychain: "keychain";
@@ -31174,7 +31174,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31174
31174
  generated: undefined;
31175
31175
  }, {}, {}>;
31176
31176
  config: drizzle_orm_pg_core220.PgColumn<{
31177
- name: "config";
31177
+ name: string;
31178
31178
  tableName: "tools";
31179
31179
  dataType: "json";
31180
31180
  columnType: "PgJsonb";
@@ -31237,7 +31237,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31237
31237
  length: 50;
31238
31238
  }>;
31239
31239
  headers: drizzle_orm_pg_core220.PgColumn<{
31240
- name: "headers";
31240
+ name: string;
31241
31241
  tableName: "tools";
31242
31242
  dataType: "json";
31243
31243
  columnType: "PgJsonb";
@@ -31273,7 +31273,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31273
31273
  generated: undefined;
31274
31274
  }, {}, {}>;
31275
31275
  capabilities: drizzle_orm_pg_core220.PgColumn<{
31276
- name: "capabilities";
31276
+ name: string;
31277
31277
  tableName: "tools";
31278
31278
  dataType: "json";
31279
31279
  columnType: "PgJsonb";
@@ -31454,7 +31454,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31454
31454
  generated: undefined;
31455
31455
  }, {}, {}>;
31456
31456
  config: drizzle_orm_pg_core220.PgColumn<{
31457
- name: "config";
31457
+ name: string;
31458
31458
  tableName: "tools";
31459
31459
  dataType: "json";
31460
31460
  columnType: "PgJsonb";
@@ -31517,7 +31517,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31517
31517
  length: 50;
31518
31518
  }>;
31519
31519
  headers: drizzle_orm_pg_core220.PgColumn<{
31520
- name: "headers";
31520
+ name: string;
31521
31521
  tableName: "tools";
31522
31522
  dataType: "json";
31523
31523
  columnType: "PgJsonb";
@@ -31553,7 +31553,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31553
31553
  generated: undefined;
31554
31554
  }, {}, {}>;
31555
31555
  capabilities: drizzle_orm_pg_core220.PgColumn<{
31556
- name: "capabilities";
31556
+ name: string;
31557
31557
  tableName: "tools";
31558
31558
  dataType: "json";
31559
31559
  columnType: "PgJsonb";
@@ -31755,9 +31755,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31755
31755
  name: z.ZodString;
31756
31756
  createdAt: z.ZodString;
31757
31757
  updatedAt: z.ZodString;
31758
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31759
31758
  description: z.ZodNullable<z.ZodString>;
31760
- credentialReferenceId: z.ZodNullable<z.ZodString>;
31759
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31761
31760
  config: z.ZodType<{
31762
31761
  type: "mcp";
31763
31762
  mcp: ToolMcpConfig;
@@ -31771,6 +31770,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31771
31770
  type: "mcp";
31772
31771
  mcp: ToolMcpConfig;
31773
31772
  }>>;
31773
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
31774
31774
  credentialScope: z.ZodString;
31775
31775
  imageUrl: z.ZodNullable<z.ZodString>;
31776
31776
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -31792,8 +31792,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31792
31792
  createdAt: z.ZodString;
31793
31793
  updatedAt: z.ZodString;
31794
31794
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31795
- executeCode: z.ZodString;
31796
31795
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31796
+ executeCode: z.ZodString;
31797
31797
  }, z.core.$strip>>>;
31798
31798
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31799
31799
  id: z.ZodString;
@@ -31899,8 +31899,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31899
31899
  createdAt: z.ZodString;
31900
31900
  updatedAt: z.ZodString;
31901
31901
  description: z.ZodNullable<z.ZodString>;
31902
- baseUrl: z.ZodString;
31903
31902
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31903
+ baseUrl: z.ZodString;
31904
31904
  }, z.core.$strip>>>;
31905
31905
  statusUpdates: z.ZodNullable<z.ZodObject<{
31906
31906
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31923,10 +31923,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31923
31923
  createdAt: z.ZodString;
31924
31924
  updatedAt: z.ZodString;
31925
31925
  userId: z.ZodNullable<z.ZodString>;
31926
- toolId: z.ZodNullable<z.ZodString>;
31927
31926
  createdBy: z.ZodNullable<z.ZodString>;
31928
31927
  credentialStoreId: z.ZodString;
31929
31928
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31929
+ toolId: z.ZodNullable<z.ZodString>;
31930
31930
  type: z.ZodEnum<{
31931
31931
  readonly memory: "memory";
31932
31932
  readonly keychain: "keychain";
@@ -31969,7 +31969,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31969
31969
  generated: undefined;
31970
31970
  }, {}, {}>;
31971
31971
  config: drizzle_orm_pg_core220.PgColumn<{
31972
- name: "config";
31972
+ name: string;
31973
31973
  tableName: "tools";
31974
31974
  dataType: "json";
31975
31975
  columnType: "PgJsonb";
@@ -32032,7 +32032,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32032
32032
  length: 50;
32033
32033
  }>;
32034
32034
  headers: drizzle_orm_pg_core220.PgColumn<{
32035
- name: "headers";
32035
+ name: string;
32036
32036
  tableName: "tools";
32037
32037
  dataType: "json";
32038
32038
  columnType: "PgJsonb";
@@ -32068,7 +32068,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32068
32068
  generated: undefined;
32069
32069
  }, {}, {}>;
32070
32070
  capabilities: drizzle_orm_pg_core220.PgColumn<{
32071
- name: "capabilities";
32071
+ name: string;
32072
32072
  tableName: "tools";
32073
32073
  dataType: "json";
32074
32074
  columnType: "PgJsonb";
@@ -32249,7 +32249,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32249
32249
  generated: undefined;
32250
32250
  }, {}, {}>;
32251
32251
  config: drizzle_orm_pg_core220.PgColumn<{
32252
- name: "config";
32252
+ name: string;
32253
32253
  tableName: "tools";
32254
32254
  dataType: "json";
32255
32255
  columnType: "PgJsonb";
@@ -32312,7 +32312,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32312
32312
  length: 50;
32313
32313
  }>;
32314
32314
  headers: drizzle_orm_pg_core220.PgColumn<{
32315
- name: "headers";
32315
+ name: string;
32316
32316
  tableName: "tools";
32317
32317
  dataType: "json";
32318
32318
  columnType: "PgJsonb";
@@ -32348,7 +32348,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32348
32348
  generated: undefined;
32349
32349
  }, {}, {}>;
32350
32350
  capabilities: drizzle_orm_pg_core220.PgColumn<{
32351
- name: "capabilities";
32351
+ name: string;
32352
32352
  tableName: "tools";
32353
32353
  dataType: "json";
32354
32354
  columnType: "PgJsonb";
@@ -32523,9 +32523,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32523
32523
  name: z.ZodString;
32524
32524
  createdAt: z.ZodString;
32525
32525
  updatedAt: z.ZodString;
32526
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32527
32526
  description: z.ZodNullable<z.ZodString>;
32528
- credentialReferenceId: z.ZodNullable<z.ZodString>;
32527
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32529
32528
  config: z.ZodType<{
32530
32529
  type: "mcp";
32531
32530
  mcp: ToolMcpConfig;
@@ -32539,6 +32538,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32539
32538
  type: "mcp";
32540
32539
  mcp: ToolMcpConfig;
32541
32540
  }>>;
32541
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
32542
32542
  credentialScope: z.ZodString;
32543
32543
  imageUrl: z.ZodNullable<z.ZodString>;
32544
32544
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -32551,8 +32551,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32551
32551
  createdAt: z.ZodString;
32552
32552
  updatedAt: z.ZodString;
32553
32553
  description: z.ZodNullable<z.ZodString>;
32554
- baseUrl: z.ZodString;
32555
32554
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32555
+ baseUrl: z.ZodString;
32556
32556
  }, z.core.$strip>>>;
32557
32557
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32558
32558
  id: z.ZodString;
@@ -32574,8 +32574,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32574
32574
  createdAt: z.ZodString;
32575
32575
  updatedAt: z.ZodString;
32576
32576
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32577
- executeCode: z.ZodString;
32578
32577
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32578
+ executeCode: z.ZodString;
32579
32579
  }, z.core.$strip>>>;
32580
32580
  contextConfig: z.ZodNullable<z.ZodObject<{
32581
32581
  id: z.ZodString;
@@ -32822,9 +32822,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32822
32822
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32823
32823
  id: z.ZodString;
32824
32824
  name: z.ZodString;
32825
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32826
32825
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32827
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32826
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32828
32827
  config: z.ZodObject<{
32829
32828
  type: z.ZodLiteral<"mcp">;
32830
32829
  mcp: z.ZodObject<{
@@ -32851,6 +32850,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32851
32850
  prompt: z.ZodOptional<z.ZodString>;
32852
32851
  }, z.core.$strip>;
32853
32852
  }, z.core.$strip>;
32853
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32854
32854
  credentialScope: z.ZodOptional<z.ZodString>;
32855
32855
  imageUrl: z.ZodOptional<z.ZodString>;
32856
32856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -32861,8 +32861,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32861
32861
  id: z.ZodString;
32862
32862
  name: z.ZodString;
32863
32863
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32864
- baseUrl: z.ZodURL;
32865
32864
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32865
+ baseUrl: z.ZodURL;
32866
32866
  }, z.core.$strip>>>;
32867
32867
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32868
32868
  id: z.ZodString;
@@ -32878,8 +32878,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32878
32878
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32879
32879
  id: z.ZodString;
32880
32880
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32881
- executeCode: z.ZodString;
32882
32881
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32882
+ executeCode: z.ZodString;
32883
32883
  }, z.core.$strip>>>;
32884
32884
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32885
32885
  id: z.ZodOptional<z.ZodString>;
@@ -33073,9 +33073,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33073
33073
  name: z.ZodString;
33074
33074
  createdAt: z.ZodString;
33075
33075
  updatedAt: z.ZodString;
33076
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33077
33076
  description: z.ZodNullable<z.ZodString>;
33078
- credentialReferenceId: z.ZodNullable<z.ZodString>;
33077
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33079
33078
  config: z.ZodType<{
33080
33079
  type: "mcp";
33081
33080
  mcp: ToolMcpConfig;
@@ -33089,6 +33088,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33089
33088
  type: "mcp";
33090
33089
  mcp: ToolMcpConfig;
33091
33090
  }>>;
33091
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
33092
33092
  credentialScope: z.ZodString;
33093
33093
  imageUrl: z.ZodNullable<z.ZodString>;
33094
33094
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -33101,8 +33101,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33101
33101
  createdAt: z.ZodString;
33102
33102
  updatedAt: z.ZodString;
33103
33103
  description: z.ZodNullable<z.ZodString>;
33104
- baseUrl: z.ZodString;
33105
33104
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33105
+ baseUrl: z.ZodString;
33106
33106
  }, z.core.$strip>>>;
33107
33107
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33108
33108
  id: z.ZodString;
@@ -33124,8 +33124,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33124
33124
  createdAt: z.ZodString;
33125
33125
  updatedAt: z.ZodString;
33126
33126
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33127
- executeCode: z.ZodString;
33128
33127
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33128
+ executeCode: z.ZodString;
33129
33129
  }, z.core.$strip>>>;
33130
33130
  contextConfig: z.ZodNullable<z.ZodObject<{
33131
33131
  id: z.ZodString;
@@ -33198,11 +33198,10 @@ declare const McpToolResponse: z.ZodObject<{
33198
33198
  data: z.ZodObject<{
33199
33199
  id: z.ZodString;
33200
33200
  name: z.ZodString;
33201
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33202
33201
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33203
- tenantId: z.ZodString;
33202
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33204
33203
  projectId: z.ZodString;
33205
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33204
+ tenantId: z.ZodString;
33206
33205
  config: z.ZodObject<{
33207
33206
  type: z.ZodLiteral<"mcp">;
33208
33207
  mcp: z.ZodObject<{
@@ -33229,6 +33228,7 @@ declare const McpToolResponse: z.ZodObject<{
33229
33228
  prompt: z.ZodOptional<z.ZodString>;
33230
33229
  }, z.core.$strip>;
33231
33230
  }, z.core.$strip>;
33231
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33232
33232
  credentialScope: z.ZodOptional<z.ZodString>;
33233
33233
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33234
33234
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33259,11 +33259,10 @@ declare const McpToolListResponse: z.ZodObject<{
33259
33259
  data: z.ZodArray<z.ZodObject<{
33260
33260
  id: z.ZodString;
33261
33261
  name: z.ZodString;
33262
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33263
33262
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33264
- tenantId: z.ZodString;
33263
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33265
33264
  projectId: z.ZodString;
33266
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33265
+ tenantId: z.ZodString;
33267
33266
  config: z.ZodObject<{
33268
33267
  type: z.ZodLiteral<"mcp">;
33269
33268
  mcp: z.ZodObject<{
@@ -33290,6 +33289,7 @@ declare const McpToolListResponse: z.ZodObject<{
33290
33289
  prompt: z.ZodOptional<z.ZodString>;
33291
33290
  }, z.core.$strip>;
33292
33291
  }, z.core.$strip>;
33292
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33293
33293
  credentialScope: z.ZodOptional<z.ZodString>;
33294
33294
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33295
33295
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -36354,16 +36354,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"sele
36354
36354
  }, {}, {}>;
36355
36355
  }, undefined>, undefined>;
36356
36356
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
36357
- projectId: z.ZodString;
36358
36357
  agentId: z.ZodString;
36358
+ projectId: z.ZodString;
36359
36359
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36360
36360
  }, {
36361
36361
  out: {};
36362
36362
  in: {};
36363
36363
  }>;
36364
36364
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
36365
- projectId: z.ZodString;
36366
36365
  agentId: z.ZodString;
36366
+ projectId: z.ZodString;
36367
36367
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36368
36368
  agentName: z.ZodString;
36369
36369
  projectName: z.ZodOptional<z.ZodString>;
@@ -36379,8 +36379,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
36379
36379
  selected: "selected";
36380
36380
  }>;
36381
36381
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
36382
- tenantId: z.ZodString;
36383
36382
  projectId: z.ZodString;
36383
+ tenantId: z.ZodString;
36384
36384
  toolId: z.ZodString;
36385
36385
  channelAccessMode: z.ZodEnum<{
36386
36386
  all: "all";
@@ -36643,9 +36643,9 @@ declare const AnonymousSessionResponseSchema: z.ZodObject<{
36643
36643
  expiresAt: z.ZodString;
36644
36644
  }, z.core.$strip>;
36645
36645
  declare const WorkflowExecutionStatusEnum: z.ZodEnum<{
36646
+ failed: "failed";
36646
36647
  running: "running";
36647
36648
  completed: "completed";
36648
- failed: "failed";
36649
36649
  suspended: "suspended";
36650
36650
  }>;
36651
36651
  declare const WorkflowExecutionSelectSchema: z.ZodObject<{
@@ -36659,9 +36659,9 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
36659
36659
  tenantId: z.ZodString;
36660
36660
  id: z.ZodString;
36661
36661
  status: z.ZodEnum<{
36662
+ failed: "failed";
36662
36663
  running: "running";
36663
36664
  completed: "completed";
36664
- failed: "failed";
36665
36665
  suspended: "suspended";
36666
36666
  }>;
36667
36667
  }, {
@@ -36671,15 +36671,15 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
36671
36671
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36672
36672
  id: z.ZodString;
36673
36673
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36674
- tenantId: z.ZodString;
36675
- projectId: z.ZodString;
36676
36674
  agentId: z.ZodString;
36675
+ projectId: z.ZodString;
36676
+ tenantId: z.ZodString;
36677
36677
  conversationId: z.ZodString;
36678
36678
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36679
36679
  status: z.ZodDefault<z.ZodEnum<{
36680
+ failed: "failed";
36680
36681
  running: "running";
36681
36682
  completed: "completed";
36682
- failed: "failed";
36683
36683
  suspended: "suspended";
36684
36684
  }>>;
36685
36685
  }, {
@@ -36689,15 +36689,15 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36689
36689
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
36690
36690
  id: z.ZodOptional<z.ZodString>;
36691
36691
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36692
- tenantId: z.ZodOptional<z.ZodString>;
36693
- projectId: z.ZodOptional<z.ZodString>;
36694
36692
  agentId: z.ZodOptional<z.ZodString>;
36693
+ projectId: z.ZodOptional<z.ZodString>;
36694
+ tenantId: z.ZodOptional<z.ZodString>;
36695
36695
  conversationId: z.ZodOptional<z.ZodString>;
36696
36696
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
36697
36697
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
36698
+ failed: "failed";
36698
36699
  running: "running";
36699
36700
  completed: "completed";
36700
- failed: "failed";
36701
36701
  suspended: "suspended";
36702
36702
  }>>>;
36703
36703
  }, {