@inkeep/agents-core 0.0.0-dev-20260410161635 → 0.0.0-dev-20260410213051

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 (29) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +32 -32
  6. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  7. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  8. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  9. package/dist/data-access/manage/functionTools.d.ts +8 -8
  10. package/dist/data-access/manage/skills.d.ts +9 -9
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  12. package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  14. package/dist/data-access/manage/subAgents.d.ts +12 -12
  15. package/dist/data-access/manage/tools.d.ts +12 -12
  16. package/dist/data-access/manage/triggers.d.ts +1 -1
  17. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  18. package/dist/data-access/runtime/apps.d.ts +6 -6
  19. package/dist/data-access/runtime/conversations.d.ts +28 -28
  20. package/dist/data-access/runtime/messages.d.ts +6 -6
  21. package/dist/data-access/runtime/tasks.d.ts +7 -7
  22. package/dist/db/manage/manage-schema.d.ts +491 -491
  23. package/dist/db/manage/manage-schema.js +39 -40
  24. package/dist/db/runtime/runtime-schema.d.ts +405 -405
  25. package/dist/validation/schemas/skills.d.ts +43 -43
  26. package/dist/validation/schemas.d.ts +705 -705
  27. package/package.json +1 -1
  28. package/dist/db/manage/dolt-safe-jsonb.d.ts +0 -12
  29. package/dist/db/manage/dolt-safe-jsonb.js +0 -61
@@ -176,7 +176,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
176
176
  generated: undefined;
177
177
  }, {}, {}>;
178
178
  conversationHistoryConfig: drizzle_orm_pg_core0.PgColumn<{
179
- name: string;
179
+ name: "conversation_history_config";
180
180
  tableName: "sub_agents";
181
181
  dataType: "json";
182
182
  columnType: "PgJsonb";
@@ -195,7 +195,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
195
195
  $type: ConversationHistoryConfig;
196
196
  }>;
197
197
  models: drizzle_orm_pg_core0.PgColumn<{
198
- name: string;
198
+ name: "models";
199
199
  tableName: "sub_agents";
200
200
  dataType: "json";
201
201
  columnType: "PgJsonb";
@@ -252,7 +252,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
252
252
  };
253
253
  }>;
254
254
  stopWhen: drizzle_orm_pg_core0.PgColumn<{
255
- name: string;
255
+ name: "stop_when";
256
256
  tableName: "sub_agents";
257
257
  dataType: "json";
258
258
  columnType: "PgJsonb";
@@ -439,7 +439,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
439
439
  generated: undefined;
440
440
  }, {}, {}>;
441
441
  conversationHistoryConfig: drizzle_orm_pg_core0.PgColumn<{
442
- name: string;
442
+ name: "conversation_history_config";
443
443
  tableName: "sub_agents";
444
444
  dataType: "json";
445
445
  columnType: "PgJsonb";
@@ -458,7 +458,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
458
458
  $type: ConversationHistoryConfig;
459
459
  }>;
460
460
  models: drizzle_orm_pg_core0.PgColumn<{
461
- name: string;
461
+ name: "models";
462
462
  tableName: "sub_agents";
463
463
  dataType: "json";
464
464
  columnType: "PgJsonb";
@@ -515,7 +515,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
515
515
  };
516
516
  }>;
517
517
  stopWhen: drizzle_orm_pg_core0.PgColumn<{
518
- name: string;
518
+ name: "stop_when";
519
519
  tableName: "sub_agents";
520
520
  dataType: "json";
521
521
  columnType: "PgJsonb";
@@ -740,10 +740,10 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
740
740
  }>;
741
741
  declare const SubAgentApiSelectSchema: z.ZodObject<{
742
742
  id: z.ZodString;
743
- name: z.ZodString;
744
- description: z.ZodNullable<z.ZodString>;
745
743
  createdAt: z.ZodString;
744
+ name: z.ZodString;
746
745
  updatedAt: z.ZodString;
746
+ description: z.ZodNullable<z.ZodString>;
747
747
  models: z.ZodNullable<z.ZodType<{
748
748
  base?: {
749
749
  model?: string | undefined;
@@ -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,15 +831,14 @@ 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<{
837
837
  id: z.ZodString;
838
- name: z.ZodString;
839
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
838
  createdAt: z.ZodOptional<z.ZodString>;
839
+ name: z.ZodString;
841
840
  updatedAt: z.ZodOptional<z.ZodString>;
841
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
842
  models: z.ZodOptional<z.ZodObject<{
843
843
  base: z.ZodOptional<z.ZodObject<{
844
844
  model: z.ZodOptional<z.ZodString>;
@@ -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,15 +869,14 @@ 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<{
875
875
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
877
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
878
876
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
877
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
879
878
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
879
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
880
880
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
881
881
  base: z.ZodOptional<z.ZodObject<{
882
882
  model: z.ZodOptional<z.ZodString>;
@@ -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_zod3.BuildSchema<"select", {
@@ -1417,7 +1417,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1417
1417
  length: 256;
1418
1418
  }>;
1419
1419
  models: drizzle_orm_pg_core0.PgColumn<{
1420
- name: string;
1420
+ name: "models";
1421
1421
  tableName: "agent";
1422
1422
  dataType: "json";
1423
1423
  columnType: "PgJsonb";
@@ -1474,7 +1474,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1474
1474
  };
1475
1475
  }>;
1476
1476
  statusUpdates: drizzle_orm_pg_core0.PgColumn<{
1477
- name: string;
1477
+ name: "status_updates";
1478
1478
  tableName: "agent";
1479
1479
  dataType: "json";
1480
1480
  columnType: "PgJsonb";
@@ -1538,7 +1538,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1538
1538
  generated: undefined;
1539
1539
  }, {}, {}>;
1540
1540
  stopWhen: drizzle_orm_pg_core0.PgColumn<{
1541
- name: string;
1541
+ name: "stop_when";
1542
1542
  tableName: "agent";
1543
1543
  dataType: "json";
1544
1544
  columnType: "PgJsonb";
@@ -1747,7 +1747,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1747
1747
  length: 256;
1748
1748
  }>;
1749
1749
  models: drizzle_orm_pg_core0.PgColumn<{
1750
- name: string;
1750
+ name: "models";
1751
1751
  tableName: "agent";
1752
1752
  dataType: "json";
1753
1753
  columnType: "PgJsonb";
@@ -1804,7 +1804,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1804
1804
  };
1805
1805
  }>;
1806
1806
  statusUpdates: drizzle_orm_pg_core0.PgColumn<{
1807
- name: string;
1807
+ name: "status_updates";
1808
1808
  tableName: "agent";
1809
1809
  dataType: "json";
1810
1810
  columnType: "PgJsonb";
@@ -1868,7 +1868,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1868
1868
  generated: undefined;
1869
1869
  }, {}, {}>;
1870
1870
  stopWhen: drizzle_orm_pg_core0.PgColumn<{
1871
- name: string;
1871
+ name: "stop_when";
1872
1872
  tableName: "agent";
1873
1873
  dataType: "json";
1874
1874
  columnType: "PgJsonb";
@@ -2078,7 +2078,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2078
2078
  length: 256;
2079
2079
  }>;
2080
2080
  models: drizzle_orm_pg_core0.PgColumn<{
2081
- name: string;
2081
+ name: "models";
2082
2082
  tableName: "agent";
2083
2083
  dataType: "json";
2084
2084
  columnType: "PgJsonb";
@@ -2135,7 +2135,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2135
2135
  };
2136
2136
  }>;
2137
2137
  statusUpdates: drizzle_orm_pg_core0.PgColumn<{
2138
- name: string;
2138
+ name: "status_updates";
2139
2139
  tableName: "agent";
2140
2140
  dataType: "json";
2141
2141
  columnType: "PgJsonb";
@@ -2199,7 +2199,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2199
2199
  generated: undefined;
2200
2200
  }, {}, {}>;
2201
2201
  stopWhen: drizzle_orm_pg_core0.PgColumn<{
2202
- name: string;
2202
+ name: "stop_when";
2203
2203
  tableName: "agent";
2204
2204
  dataType: "json";
2205
2205
  columnType: "PgJsonb";
@@ -2408,7 +2408,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2408
2408
  length: 256;
2409
2409
  }>;
2410
2410
  models: drizzle_orm_pg_core0.PgColumn<{
2411
- name: string;
2411
+ name: "models";
2412
2412
  tableName: "agent";
2413
2413
  dataType: "json";
2414
2414
  columnType: "PgJsonb";
@@ -2465,7 +2465,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2465
2465
  };
2466
2466
  }>;
2467
2467
  statusUpdates: drizzle_orm_pg_core0.PgColumn<{
2468
- name: string;
2468
+ name: "status_updates";
2469
2469
  tableName: "agent";
2470
2470
  dataType: "json";
2471
2471
  columnType: "PgJsonb";
@@ -2529,7 +2529,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2529
2529
  generated: undefined;
2530
2530
  }, {}, {}>;
2531
2531
  stopWhen: drizzle_orm_pg_core0.PgColumn<{
2532
- name: string;
2532
+ name: "stop_when";
2533
2533
  tableName: "agent";
2534
2534
  dataType: "json";
2535
2535
  columnType: "PgJsonb";
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "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>>;
@@ -2826,10 +2826,12 @@ declare const AgentUpdateSchema: z.ZodObject<{
2826
2826
  }>;
2827
2827
  declare const AgentApiSelectSchema: z.ZodObject<{
2828
2828
  id: z.ZodString;
2829
- name: z.ZodString;
2830
- description: z.ZodNullable<z.ZodString>;
2831
2829
  createdAt: z.ZodString;
2830
+ name: z.ZodString;
2832
2831
  updatedAt: z.ZodString;
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,18 +2909,7 @@ 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
2912
  prompt: z.ZodNullable<z.ZodString>;
2920
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2921
- contextConfigId: z.ZodNullable<z.ZodString>;
2922
2913
  statusUpdates: z.ZodNullable<z.ZodType<{
2923
2914
  enabled?: boolean | undefined;
2924
2915
  numEvents?: number | 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,18 +3061,7 @@ 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
3064
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3065
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3075
3066
  enabled?: boolean | undefined;
3076
3067
  numEvents?: number | 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,18 +3212,7 @@ 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
3215
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
- contextConfigId: 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;
3227
3218
  numEvents?: number | 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<{
@@ -3673,7 +3673,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3673
3673
  generated: undefined;
3674
3674
  }, {}, {}>;
3675
3675
  inputSchema: drizzle_orm_pg_core0.PgColumn<{
3676
- name: string;
3676
+ name: "input_schema";
3677
3677
  tableName: "triggers";
3678
3678
  dataType: "json";
3679
3679
  columnType: "PgJsonb";
@@ -3692,7 +3692,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3692
3692
  $type: Record<string, unknown> | null;
3693
3693
  }>;
3694
3694
  outputTransform: drizzle_orm_pg_core0.PgColumn<{
3695
- name: string;
3695
+ name: "output_transform";
3696
3696
  tableName: "triggers";
3697
3697
  dataType: "json";
3698
3698
  columnType: "PgJsonb";
@@ -3734,7 +3734,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3734
3734
  generated: undefined;
3735
3735
  }, {}, {}>;
3736
3736
  authentication: drizzle_orm_pg_core0.PgColumn<{
3737
- name: string;
3737
+ name: "authentication";
3738
3738
  tableName: "triggers";
3739
3739
  dataType: "json";
3740
3740
  columnType: "PgJsonb";
@@ -3772,7 +3772,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3772
3772
  length: 256;
3773
3773
  }>;
3774
3774
  signatureVerification: drizzle_orm_pg_core0.PgColumn<{
3775
- name: string;
3775
+ name: "signature_verification";
3776
3776
  tableName: "triggers";
3777
3777
  dataType: "json";
3778
3778
  columnType: "PgJsonb";
@@ -4060,7 +4060,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4060
4060
  generated: undefined;
4061
4061
  }, {}, {}>;
4062
4062
  inputSchema: drizzle_orm_pg_core0.PgColumn<{
4063
- name: string;
4063
+ name: "input_schema";
4064
4064
  tableName: "triggers";
4065
4065
  dataType: "json";
4066
4066
  columnType: "PgJsonb";
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4079
4079
  $type: Record<string, unknown> | null;
4080
4080
  }>;
4081
4081
  outputTransform: drizzle_orm_pg_core0.PgColumn<{
4082
- name: string;
4082
+ name: "output_transform";
4083
4083
  tableName: "triggers";
4084
4084
  dataType: "json";
4085
4085
  columnType: "PgJsonb";
@@ -4121,7 +4121,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4121
4121
  generated: undefined;
4122
4122
  }, {}, {}>;
4123
4123
  authentication: drizzle_orm_pg_core0.PgColumn<{
4124
- name: string;
4124
+ name: "authentication";
4125
4125
  tableName: "triggers";
4126
4126
  dataType: "json";
4127
4127
  columnType: "PgJsonb";
@@ -4159,7 +4159,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4159
4159
  length: 256;
4160
4160
  }>;
4161
4161
  signatureVerification: drizzle_orm_pg_core0.PgColumn<{
4162
- name: string;
4162
+ name: "signature_verification";
4163
4163
  tableName: "triggers";
4164
4164
  dataType: "json";
4165
4165
  columnType: "PgJsonb";
@@ -4394,7 +4394,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4394
4394
  }, {}, {
4395
4395
  length: 256;
4396
4396
  }>;
4397
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "inputSchema" | "enabled" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs" | "createdBy">, undefined>, undefined>;
4397
+ }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs" | "createdBy">, undefined>, undefined>;
4398
4398
  declare const runAsUserIdsSchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
4399
4399
  declare const TriggerUpdateSchema: z.ZodObject<{
4400
4400
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4427,12 +4427,12 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4427
4427
  }>;
4428
4428
  declare const TriggerApiSelectSchema: z.ZodObject<{
4429
4429
  id: z.ZodString;
4430
- name: z.ZodString;
4431
- description: z.ZodNullable<z.ZodString>;
4432
4430
  createdAt: z.ZodString;
4431
+ name: z.ZodString;
4433
4432
  updatedAt: z.ZodString;
4434
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4433
+ description: z.ZodNullable<z.ZodString>;
4435
4434
  enabled: z.ZodBoolean;
4435
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4436
4436
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4437
4437
  messageTemplate: z.ZodNullable<z.ZodString>;
4438
4438
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -4490,8 +4490,8 @@ declare const TriggerApiInsertBaseSchema: z.ZodObject<{
4490
4490
  id: z.ZodOptional<z.ZodString>;
4491
4491
  name: z.ZodString;
4492
4492
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4493
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4494
4493
  enabled: z.ZodOptional<z.ZodBoolean>;
4494
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4495
4495
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4496
4496
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4497
4497
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -4506,8 +4506,8 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4506
4506
  id: z.ZodOptional<z.ZodString>;
4507
4507
  name: z.ZodString;
4508
4508
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4509
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4510
4509
  enabled: z.ZodOptional<z.ZodBoolean>;
4510
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4511
4511
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4512
4512
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4513
4513
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -4520,12 +4520,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4520
4520
  }, z.core.$strip>;
4521
4521
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4522
4522
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4523
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4524
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4525
4523
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4524
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4526
4525
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4527
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4526
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4528
4527
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4528
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4529
4529
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4530
4530
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4531
4531
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -4544,12 +4544,12 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4544
4544
  }, z.core.$strip>;
4545
4545
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4546
4546
  id: z.ZodString;
4547
- name: z.ZodString;
4548
- description: z.ZodNullable<z.ZodString>;
4549
4547
  createdAt: z.ZodString;
4548
+ name: z.ZodString;
4550
4549
  updatedAt: z.ZodString;
4551
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4550
+ description: z.ZodNullable<z.ZodString>;
4552
4551
  enabled: z.ZodBoolean;
4552
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4553
4553
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4554
4554
  messageTemplate: z.ZodNullable<z.ZodString>;
4555
4555
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -5167,7 +5167,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
5167
5167
  }, {}, {
5168
5168
  length: 256;
5169
5169
  }>;
5170
- }, "id" | "ref" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5170
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "ref" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5171
5171
  declare const SetTriggerUsersRequestSchema: z.ZodObject<{
5172
5172
  userIds: z.ZodArray<z.ZodString>;
5173
5173
  }, z.core.$strip>;
@@ -5214,6 +5214,12 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5214
5214
  }>;
5215
5215
  declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5216
5216
  id: z.ZodString;
5217
+ createdAt: z.ZodString;
5218
+ status: z.ZodString;
5219
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
+ triggerId: z.ZodString;
5221
+ conversationId: z.ZodNullable<z.ZodString>;
5222
+ batchId: z.ZodNullable<z.ZodString>;
5217
5223
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5218
5224
  type: z.ZodEnum<{
5219
5225
  commit: "commit";
@@ -5223,17 +5229,17 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5223
5229
  name: z.ZodString;
5224
5230
  hash: z.ZodString;
5225
5231
  }, z.core.$strip>>>;
5226
- createdAt: z.ZodString;
5227
- status: z.ZodString;
5228
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5229
- triggerId: z.ZodString;
5230
- conversationId: z.ZodNullable<z.ZodString>;
5231
- batchId: z.ZodNullable<z.ZodString>;
5232
5232
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5233
5233
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5234
5234
  errorMessage: z.ZodNullable<z.ZodString>;
5235
5235
  }, z.core.$strip>;
5236
5236
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5237
+ createdAt: z.ZodOptional<z.ZodString>;
5238
+ status: z.ZodOptional<z.ZodString>;
5239
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5240
+ triggerId: z.ZodString;
5241
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5242
+ batchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5237
5243
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
5238
5244
  type: "commit" | "tag" | "branch";
5239
5245
  name: string;
@@ -5251,12 +5257,6 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5251
5257
  name: string;
5252
5258
  hash: string;
5253
5259
  }>>>>;
5254
- createdAt: z.ZodOptional<z.ZodString>;
5255
- status: z.ZodOptional<z.ZodString>;
5256
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5257
- triggerId: z.ZodString;
5258
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5259
- batchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5260
5260
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5261
5261
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5262
5262
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5264,6 +5264,12 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5264
5264
  }, z.core.$strip>;
5265
5265
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5266
5266
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5267
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5268
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5269
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5270
+ triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5271
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5272
+ batchId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5267
5273
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
5268
5274
  type: "commit" | "tag" | "branch";
5269
5275
  name: string;
@@ -5281,12 +5287,6 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5281
5287
  name: string;
5282
5288
  hash: string;
5283
5289
  }>>>>>>;
5284
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5285
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5286
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5287
- triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5288
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5289
- batchId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5290
5290
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5291
5291
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5292
5292
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5323,16 +5323,16 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5323
5323
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5324
5324
  id: z.ZodString;
5325
5325
  name: z.ZodString;
5326
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5327
- ref: z.ZodOptional<z.ZodString>;
5326
+ agentId: z.ZodString;
5328
5327
  projectId: z.ZodString;
5329
5328
  tenantId: z.ZodString;
5330
- agentId: z.ZodString;
5329
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
5330
  enabled: z.ZodOptional<z.ZodBoolean>;
5332
5331
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5333
5332
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5334
5333
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5335
5334
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5335
+ ref: z.ZodOptional<z.ZodString>;
5336
5336
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5337
5337
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5338
5338
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5347,10 +5347,10 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5347
5347
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5348
5348
  id: z.ZodOptional<z.ZodString>;
5349
5349
  name: z.ZodOptional<z.ZodString>;
5350
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5350
+ agentId: z.ZodOptional<z.ZodString>;
5351
5351
  projectId: z.ZodOptional<z.ZodString>;
5352
5352
  tenantId: z.ZodOptional<z.ZodString>;
5353
- agentId: z.ZodOptional<z.ZodString>;
5353
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5354
5354
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5355
5355
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5356
5356
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
@@ -5370,16 +5370,16 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5370
5370
  }>;
5371
5371
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5372
5372
  id: z.ZodString;
5373
- name: z.ZodString;
5374
- description: z.ZodNullable<z.ZodString>;
5375
- ref: z.ZodString;
5376
5373
  createdAt: z.ZodString;
5374
+ name: z.ZodString;
5377
5375
  updatedAt: z.ZodString;
5376
+ description: z.ZodNullable<z.ZodString>;
5378
5377
  enabled: z.ZodBoolean;
5379
5378
  messageTemplate: z.ZodNullable<z.ZodString>;
5380
5379
  runAsUserId: z.ZodNullable<z.ZodString>;
5381
5380
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
5382
5381
  createdBy: z.ZodNullable<z.ZodString>;
5382
+ ref: z.ZodString;
5383
5383
  cronExpression: z.ZodNullable<z.ZodString>;
5384
5384
  cronTimezone: z.ZodNullable<z.ZodString>;
5385
5385
  runAt: z.ZodNullable<z.ZodString>;
@@ -5392,11 +5392,11 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5392
5392
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5393
5393
  name: z.ZodString;
5394
5394
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5395
- ref: z.ZodOptional<z.ZodString>;
5396
5395
  enabled: z.ZodOptional<z.ZodBoolean>;
5397
5396
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5398
5397
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5399
5398
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5399
+ ref: z.ZodOptional<z.ZodString>;
5400
5400
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5401
5401
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5402
5402
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5411,11 +5411,11 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5411
5411
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5412
5412
  name: z.ZodString;
5413
5413
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5414
- ref: z.ZodOptional<z.ZodString>;
5415
5414
  enabled: z.ZodOptional<z.ZodBoolean>;
5416
5415
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5417
5416
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5418
5417
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5418
+ ref: z.ZodOptional<z.ZodString>;
5419
5419
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5420
5420
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5421
5421
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5431,11 +5431,11 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5431
5431
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5432
5432
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5433
5433
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5434
- ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5435
5434
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5436
5435
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5437
5436
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5438
5437
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5438
+ ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5439
5439
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5440
5440
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5441
5441
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6105,7 +6105,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
6105
6105
  }, {}, {
6106
6106
  length: 256;
6107
6107
  }>;
6108
- }, "id" | "ref" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "runAsUserId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6108
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "runAsUserId" | "ref" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6109
6109
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6110
6110
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6111
6111
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6145,15 +6145,6 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6145
6145
  }>;
6146
6146
  declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6147
6147
  id: z.ZodString;
6148
- ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6149
- type: z.ZodEnum<{
6150
- commit: "commit";
6151
- tag: "tag";
6152
- branch: "branch";
6153
- }>;
6154
- name: z.ZodString;
6155
- hash: z.ZodString;
6156
- }, z.core.$strip>>>;
6157
6148
  createdAt: z.ZodString;
6158
6149
  status: z.ZodEnum<{
6159
6150
  pending: "pending";
@@ -6163,6 +6154,15 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6163
6154
  cancelled: "cancelled";
6164
6155
  }>;
6165
6156
  runAsUserId: z.ZodNullable<z.ZodString>;
6157
+ ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6158
+ type: z.ZodEnum<{
6159
+ commit: "commit";
6160
+ tag: "tag";
6161
+ branch: "branch";
6162
+ }>;
6163
+ name: z.ZodString;
6164
+ hash: z.ZodString;
6165
+ }, z.core.$strip>>>;
6166
6166
  scheduledTriggerId: z.ZodString;
6167
6167
  scheduledFor: z.ZodString;
6168
6168
  startedAt: z.ZodNullable<z.ZodString>;
@@ -6173,6 +6173,9 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6173
6173
  idempotencyKey: z.ZodString;
6174
6174
  }, z.core.$strip>;
6175
6175
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6176
+ createdAt: z.ZodOptional<z.ZodString>;
6177
+ status: z.ZodString;
6178
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6176
6179
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
6177
6180
  type: "commit" | "tag" | "branch";
6178
6181
  name: string;
@@ -6190,9 +6193,6 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6190
6193
  name: string;
6191
6194
  hash: string;
6192
6195
  }>>>>;
6193
- createdAt: z.ZodOptional<z.ZodString>;
6194
- status: z.ZodString;
6195
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6196
6196
  scheduledTriggerId: z.ZodString;
6197
6197
  scheduledFor: z.ZodString;
6198
6198
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6205,6 +6205,9 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6205
6205
  }, z.core.$strip>;
6206
6206
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6207
6207
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6208
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6209
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6210
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6208
6211
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6209
6212
  type: "commit" | "tag" | "branch";
6210
6213
  name: string;
@@ -6222,9 +6225,6 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6222
6225
  name: string;
6223
6226
  hash: string;
6224
6227
  }>>>>>>;
6225
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6226
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6227
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6228
6228
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6229
6229
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6230
6230
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6458,7 +6458,12 @@ declare const TaskUpdateSchema: z.ZodObject<{
6458
6458
  }>;
6459
6459
  declare const TaskApiSelectSchema: z.ZodObject<{
6460
6460
  id: z.ZodString;
6461
+ createdAt: z.ZodString;
6462
+ updatedAt: z.ZodString;
6463
+ agentId: z.ZodString;
6461
6464
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6465
+ subAgentId: z.ZodString;
6466
+ status: z.ZodString;
6462
6467
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6463
6468
  type: z.ZodEnum<{
6464
6469
  commit: "commit";
@@ -6468,16 +6473,17 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6468
6473
  name: z.ZodString;
6469
6474
  hash: z.ZodString;
6470
6475
  }, z.core.$strip>>>;
6471
- createdAt: z.ZodString;
6472
- updatedAt: z.ZodString;
6473
- agentId: z.ZodString;
6474
- status: z.ZodString;
6475
- subAgentId: z.ZodString;
6476
6476
  contextId: z.ZodString;
6477
6477
  }, z.core.$strip>;
6478
6478
  declare const TaskApiInsertSchema: z.ZodObject<{
6479
6479
  id: z.ZodString;
6480
+ createdAt: z.ZodOptional<z.ZodString>;
6481
+ updatedAt: z.ZodOptional<z.ZodString>;
6482
+ agentId: z.ZodString;
6480
6483
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6484
+ subAgentId: z.ZodString;
6485
+ status: z.ZodString;
6486
+ conversationId: z.ZodOptional<z.ZodString>;
6481
6487
  ref: z.ZodObject<{
6482
6488
  type: z.ZodEnum<{
6483
6489
  commit: "commit";
@@ -6487,17 +6493,17 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6487
6493
  name: z.ZodString;
6488
6494
  hash: z.ZodString;
6489
6495
  }, z.core.$strip>;
6490
- createdAt: z.ZodOptional<z.ZodString>;
6491
- updatedAt: z.ZodOptional<z.ZodString>;
6492
- agentId: z.ZodString;
6493
- status: z.ZodString;
6494
- subAgentId: z.ZodString;
6495
- conversationId: z.ZodOptional<z.ZodString>;
6496
6496
  contextId: z.ZodString;
6497
6497
  }, z.core.$strip>;
6498
6498
  declare const TaskApiUpdateSchema: z.ZodObject<{
6499
6499
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6500
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6501
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6502
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6500
6503
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6504
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6505
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6506
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6501
6507
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6502
6508
  type: z.ZodEnum<{
6503
6509
  commit: "commit";
@@ -6507,12 +6513,6 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6507
6513
  name: z.ZodString;
6508
6514
  hash: z.ZodString;
6509
6515
  }, z.core.$strip>>>;
6510
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6511
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6512
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6513
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6514
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6515
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6516
6516
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6517
6517
  }, z.core.$strip>;
6518
6518
  declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -6922,7 +6922,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
6922
6922
  generated: undefined;
6923
6923
  }, {}, {}>;
6924
6924
  config: drizzle_orm_pg_core0.PgColumn<{
6925
- name: string;
6925
+ name: "config";
6926
6926
  tableName: "tools";
6927
6927
  dataType: "json";
6928
6928
  columnType: "PgJsonb";
@@ -6985,7 +6985,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
6985
6985
  length: 50;
6986
6986
  }>;
6987
6987
  headers: drizzle_orm_pg_core0.PgColumn<{
6988
- name: string;
6988
+ name: "headers";
6989
6989
  tableName: "tools";
6990
6990
  dataType: "json";
6991
6991
  columnType: "PgJsonb";
@@ -7021,7 +7021,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
7021
7021
  generated: undefined;
7022
7022
  }, {}, {}>;
7023
7023
  capabilities: drizzle_orm_pg_core0.PgColumn<{
7024
- name: string;
7024
+ name: "capabilities";
7025
7025
  tableName: "tools";
7026
7026
  dataType: "json";
7027
7027
  columnType: "PgJsonb";
@@ -7202,7 +7202,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
7202
7202
  generated: undefined;
7203
7203
  }, {}, {}>;
7204
7204
  config: drizzle_orm_pg_core0.PgColumn<{
7205
- name: string;
7205
+ name: "config";
7206
7206
  tableName: "tools";
7207
7207
  dataType: "json";
7208
7208
  columnType: "PgJsonb";
@@ -7265,7 +7265,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
7265
7265
  length: 50;
7266
7266
  }>;
7267
7267
  headers: drizzle_orm_pg_core0.PgColumn<{
7268
- name: string;
7268
+ name: "headers";
7269
7269
  tableName: "tools";
7270
7270
  dataType: "json";
7271
7271
  columnType: "PgJsonb";
@@ -7301,7 +7301,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
7301
7301
  generated: undefined;
7302
7302
  }, {}, {}>;
7303
7303
  capabilities: drizzle_orm_pg_core0.PgColumn<{
7304
- name: string;
7304
+ name: "capabilities";
7305
7305
  tableName: "tools";
7306
7306
  dataType: "json";
7307
7307
  columnType: "PgJsonb";
@@ -7450,9 +7450,9 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
7450
7450
  declare const ToolInsertSchema: z.ZodObject<{
7451
7451
  id: z.ZodString;
7452
7452
  name: z.ZodString;
7453
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7454
7453
  projectId: z.ZodString;
7455
7454
  tenantId: z.ZodString;
7455
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7456
7456
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7457
7457
  config: z.ZodObject<{
7458
7458
  type: z.ZodLiteral<"mcp">;
@@ -7569,7 +7569,12 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7569
7569
  }>;
7570
7570
  declare const ConversationApiSelectSchema: z.ZodObject<{
7571
7571
  id: z.ZodString;
7572
+ createdAt: z.ZodString;
7573
+ updatedAt: z.ZodString;
7574
+ agentId: z.ZodNullable<z.ZodString>;
7575
+ title: z.ZodNullable<z.ZodString>;
7572
7576
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7577
+ userId: z.ZodNullable<z.ZodString>;
7573
7578
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7574
7579
  type: z.ZodEnum<{
7575
7580
  commit: "commit";
@@ -7579,17 +7584,18 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7579
7584
  name: z.ZodString;
7580
7585
  hash: z.ZodString;
7581
7586
  }, z.core.$strip>>>;
7582
- createdAt: z.ZodString;
7583
- updatedAt: z.ZodString;
7584
- title: z.ZodNullable<z.ZodString>;
7585
- agentId: z.ZodNullable<z.ZodString>;
7586
- userId: z.ZodNullable<z.ZodString>;
7587
7587
  activeSubAgentId: z.ZodString;
7588
7588
  lastContextResolution: z.ZodNullable<z.ZodString>;
7589
7589
  }, z.core.$strip>;
7590
7590
  declare const ConversationApiInsertSchema: z.ZodObject<{
7591
7591
  id: z.ZodString;
7592
+ createdAt: z.ZodOptional<z.ZodString>;
7593
+ updatedAt: z.ZodOptional<z.ZodString>;
7594
+ agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7595
+ contextConfigId: z.ZodOptional<z.ZodString>;
7596
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7592
7597
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7598
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7593
7599
  ref: z.ZodObject<{
7594
7600
  type: z.ZodEnum<{
7595
7601
  commit: "commit";
@@ -7599,18 +7605,18 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7599
7605
  name: z.ZodString;
7600
7606
  hash: z.ZodString;
7601
7607
  }, z.core.$strip>;
7602
- createdAt: z.ZodOptional<z.ZodString>;
7603
- updatedAt: z.ZodOptional<z.ZodString>;
7604
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7605
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7606
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7607
- contextConfigId: z.ZodOptional<z.ZodString>;
7608
7608
  activeSubAgentId: z.ZodString;
7609
7609
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7610
7610
  }, z.core.$strip>;
7611
7611
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7612
7612
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7613
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7614
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7615
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7616
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7617
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7613
7618
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7619
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7614
7620
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7615
7621
  type: z.ZodEnum<{
7616
7622
  commit: "commit";
@@ -7620,12 +7626,6 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7620
7626
  name: z.ZodString;
7621
7627
  hash: z.ZodString;
7622
7628
  }, z.core.$strip>>>;
7623
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7624
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7625
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7626
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7627
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7628
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7629
7629
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7630
7630
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7631
7631
  }, z.core.$strip>;
@@ -8476,10 +8476,10 @@ declare const MessageUpdateSchema: z.ZodObject<{
8476
8476
  }>;
8477
8477
  declare const MessageApiSelectSchema: z.ZodObject<{
8478
8478
  id: z.ZodString;
8479
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8480
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8481
8479
  createdAt: z.ZodString;
8482
8480
  updatedAt: z.ZodString;
8481
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8482
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8483
8483
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8484
8484
  toSubAgentId: z.ZodNullable<z.ZodString>;
8485
8485
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
@@ -8497,10 +8497,10 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8497
8497
  }, z.core.$strip>;
8498
8498
  declare const MessageApiInsertSchema: z.ZodObject<{
8499
8499
  id: z.ZodString;
8500
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8501
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8502
8500
  createdAt: z.ZodOptional<z.ZodString>;
8503
8501
  updatedAt: z.ZodOptional<z.ZodString>;
8502
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8503
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8504
8504
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8505
8505
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8506
8506
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8518,10 +8518,10 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8518
8518
  }, z.core.$strip>;
8519
8519
  declare const MessageApiUpdateSchema: z.ZodObject<{
8520
8520
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8521
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8522
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8523
8521
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8524
8522
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8523
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8524
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8525
8525
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8526
8526
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8527
8527
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9016,6 +9016,11 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
9016
9016
  }>;
9017
9017
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
9018
9018
  id: z.ZodString;
9019
+ createdAt: z.ZodString;
9020
+ updatedAt: z.ZodString;
9021
+ contextConfigId: z.ZodString;
9022
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
9023
+ conversationId: z.ZodString;
9019
9024
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9020
9025
  type: z.ZodEnum<{
9021
9026
  commit: "commit";
@@ -9025,11 +9030,6 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
9025
9030
  name: z.ZodString;
9026
9031
  hash: z.ZodString;
9027
9032
  }, z.core.$strip>>>;
9028
- createdAt: z.ZodString;
9029
- updatedAt: z.ZodString;
9030
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
9031
- contextConfigId: z.ZodString;
9032
- conversationId: z.ZodString;
9033
9033
  contextVariableKey: z.ZodString;
9034
9034
  requestHash: z.ZodNullable<z.ZodString>;
9035
9035
  fetchedAt: z.ZodString;
@@ -9037,6 +9037,11 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
9037
9037
  }, z.core.$strip>;
9038
9038
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
9039
9039
  id: z.ZodString;
9040
+ createdAt: z.ZodOptional<z.ZodString>;
9041
+ updatedAt: z.ZodOptional<z.ZodString>;
9042
+ contextConfigId: z.ZodString;
9043
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
9044
+ conversationId: z.ZodString;
9040
9045
  ref: z.ZodObject<{
9041
9046
  type: z.ZodEnum<{
9042
9047
  commit: "commit";
@@ -9046,11 +9051,6 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
9046
9051
  name: z.ZodString;
9047
9052
  hash: z.ZodString;
9048
9053
  }, z.core.$strip>;
9049
- createdAt: z.ZodOptional<z.ZodString>;
9050
- updatedAt: z.ZodOptional<z.ZodString>;
9051
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
9052
- contextConfigId: z.ZodString;
9053
- conversationId: z.ZodString;
9054
9054
  contextVariableKey: z.ZodString;
9055
9055
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9056
9056
  fetchedAt: z.ZodOptional<z.ZodString>;
@@ -9058,6 +9058,11 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
9058
9058
  }, z.core.$strip>;
9059
9059
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
9060
9060
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9061
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9062
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9063
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9064
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
9065
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9061
9066
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9062
9067
  type: z.ZodEnum<{
9063
9068
  commit: "commit";
@@ -9067,11 +9072,6 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
9067
9072
  name: z.ZodString;
9068
9073
  hash: z.ZodString;
9069
9074
  }, z.core.$strip>>>;
9070
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9071
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9072
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
9073
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9074
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9075
9075
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9076
9076
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9077
9077
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9161,6 +9161,8 @@ declare const DatasetRunUpdateSchema: z.ZodObject<{
9161
9161
  }>;
9162
9162
  declare const DatasetRunApiSelectSchema: z.ZodObject<{
9163
9163
  id: z.ZodString;
9164
+ createdAt: z.ZodString;
9165
+ updatedAt: z.ZodString;
9164
9166
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9165
9167
  type: z.ZodEnum<{
9166
9168
  commit: "commit";
@@ -9170,13 +9172,13 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
9170
9172
  name: z.ZodString;
9171
9173
  hash: z.ZodString;
9172
9174
  }, z.core.$strip>>>;
9173
- createdAt: z.ZodString;
9174
- updatedAt: z.ZodString;
9175
9175
  datasetId: z.ZodString;
9176
9176
  datasetRunConfigId: z.ZodNullable<z.ZodString>;
9177
9177
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9178
9178
  }, z.core.$strip>;
9179
9179
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
9180
+ createdAt: z.ZodOptional<z.ZodString>;
9181
+ updatedAt: z.ZodOptional<z.ZodString>;
9180
9182
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9181
9183
  type: "commit" | "tag" | "branch";
9182
9184
  name: string;
@@ -9194,13 +9196,13 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9194
9196
  name: string;
9195
9197
  hash: string;
9196
9198
  }>>>>;
9197
- createdAt: z.ZodOptional<z.ZodString>;
9198
- updatedAt: z.ZodOptional<z.ZodString>;
9199
9199
  datasetId: z.ZodString;
9200
9200
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9201
9201
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9202
9202
  }, z.core.$strip>;
9203
9203
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9204
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9205
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9204
9206
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9205
9207
  type: "commit" | "tag" | "branch";
9206
9208
  name: string;
@@ -9218,8 +9220,6 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9218
9220
  name: string;
9219
9221
  hash: string;
9220
9222
  }>>>>>>;
9221
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9222
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9223
9223
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9224
9224
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9225
9225
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10018,6 +10018,8 @@ declare const EvaluationRunUpdateSchema: z.ZodObject<{
10018
10018
  }>;
10019
10019
  declare const EvaluationRunApiSelectSchema: z.ZodObject<{
10020
10020
  id: z.ZodString;
10021
+ createdAt: z.ZodString;
10022
+ updatedAt: z.ZodString;
10021
10023
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10022
10024
  type: z.ZodEnum<{
10023
10025
  commit: "commit";
@@ -10027,12 +10029,12 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
10027
10029
  name: z.ZodString;
10028
10030
  hash: z.ZodString;
10029
10031
  }, z.core.$strip>>>;
10030
- createdAt: z.ZodString;
10031
- updatedAt: z.ZodString;
10032
10032
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
10033
10033
  evaluationRunConfigId: z.ZodNullable<z.ZodString>;
10034
10034
  }, z.core.$strip>;
10035
10035
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10036
+ createdAt: z.ZodOptional<z.ZodString>;
10037
+ updatedAt: z.ZodOptional<z.ZodString>;
10036
10038
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
10037
10039
  type: "commit" | "tag" | "branch";
10038
10040
  name: string;
@@ -10050,12 +10052,12 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10050
10052
  name: string;
10051
10053
  hash: string;
10052
10054
  }>>>>;
10053
- createdAt: z.ZodOptional<z.ZodString>;
10054
- updatedAt: z.ZodOptional<z.ZodString>;
10055
10055
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10056
10056
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10057
10057
  }, z.core.$strip>;
10058
10058
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10059
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10060
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10059
10061
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
10060
10062
  type: "commit" | "tag" | "branch";
10061
10063
  name: string;
@@ -10073,8 +10075,6 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10073
10075
  name: string;
10074
10076
  hash: string;
10075
10077
  }>>>>>>;
10076
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10077
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10078
10078
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10079
10079
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10080
10080
  }, z.core.$strip>;
@@ -10397,34 +10397,34 @@ declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{
10397
10397
  }>;
10398
10398
  declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{
10399
10399
  id: z.ZodString;
10400
- name: z.ZodString;
10401
- description: z.ZodNullable<z.ZodString>;
10402
10400
  createdAt: z.ZodString;
10401
+ name: z.ZodString;
10403
10402
  updatedAt: z.ZodString;
10403
+ description: z.ZodNullable<z.ZodString>;
10404
10404
  isActive: z.ZodBoolean;
10405
10405
  }, z.core.$strip>;
10406
10406
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10407
- name: z.ZodString;
10408
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10409
10407
  createdAt: z.ZodOptional<z.ZodString>;
10408
+ name: z.ZodString;
10410
10409
  updatedAt: z.ZodOptional<z.ZodString>;
10410
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10411
10411
  isActive: z.ZodOptional<z.ZodBoolean>;
10412
10412
  suiteConfigIds: z.ZodArray<z.ZodString>;
10413
10413
  }, z.core.$strip>;
10414
10414
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10415
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10416
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10417
10415
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10416
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10418
10417
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10418
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10419
10419
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10420
10420
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10421
10421
  }, z.core.$strip>;
10422
10422
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10423
10423
  id: z.ZodString;
10424
- name: z.ZodString;
10425
- description: z.ZodNullable<z.ZodString>;
10426
10424
  createdAt: z.ZodString;
10425
+ name: z.ZodString;
10427
10426
  updatedAt: z.ZodString;
10427
+ description: z.ZodNullable<z.ZodString>;
10428
10428
  isActive: z.ZodBoolean;
10429
10429
  suiteConfigIds: z.ZodArray<z.ZodString>;
10430
10430
  }, z.core.$strip>;
@@ -10464,7 +10464,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select"
10464
10464
  generated: undefined;
10465
10465
  }, {}, {}>;
10466
10466
  jobFilters: drizzle_orm_pg_core0.PgColumn<{
10467
- name: string;
10467
+ name: "job_filters";
10468
10468
  tableName: "evaluation_job_config";
10469
10469
  dataType: "json";
10470
10470
  columnType: "PgJsonb";
@@ -10589,7 +10589,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select"
10589
10589
  generated: undefined;
10590
10590
  }, {}, {}>;
10591
10591
  jobFilters: drizzle_orm_pg_core0.PgColumn<{
10592
- name: string;
10592
+ name: "job_filters";
10593
10593
  tableName: "evaluation_job_config";
10594
10594
  dataType: "json";
10595
10595
  columnType: "PgJsonb";
@@ -10894,7 +10894,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"selec
10894
10894
  generated: undefined;
10895
10895
  }, {}, {}>;
10896
10896
  filters: drizzle_orm_pg_core0.PgColumn<{
10897
- name: string;
10897
+ name: "filters";
10898
10898
  tableName: "evaluation_suite_config";
10899
10899
  dataType: "json";
10900
10900
  columnType: "PgJsonb";
@@ -11022,7 +11022,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"selec
11022
11022
  generated: undefined;
11023
11023
  }, {}, {}>;
11024
11024
  filters: drizzle_orm_pg_core0.PgColumn<{
11025
- name: string;
11025
+ name: "filters";
11026
11026
  tableName: "evaluation_suite_config";
11027
11027
  dataType: "json";
11028
11028
  columnType: "PgJsonb";
@@ -12125,7 +12125,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12125
12125
  generated: undefined;
12126
12126
  }, {}, {}>;
12127
12127
  schema: drizzle_orm_pg_core0.PgColumn<{
12128
- name: string;
12128
+ name: "schema";
12129
12129
  tableName: "evaluator";
12130
12130
  dataType: "json";
12131
12131
  columnType: "PgJsonb";
@@ -12144,7 +12144,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12144
12144
  $type: Record<string, unknown>;
12145
12145
  }>;
12146
12146
  model: drizzle_orm_pg_core0.PgColumn<{
12147
- name: string;
12147
+ name: "model";
12148
12148
  tableName: "evaluator";
12149
12149
  dataType: "json";
12150
12150
  columnType: "PgJsonb";
@@ -12173,7 +12173,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12173
12173
  };
12174
12174
  }>;
12175
12175
  passCriteria: drizzle_orm_pg_core0.PgColumn<{
12176
- name: string;
12176
+ name: "pass_criteria";
12177
12177
  tableName: "evaluator";
12178
12178
  dataType: "json";
12179
12179
  columnType: "PgJsonb";
@@ -12337,7 +12337,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12337
12337
  generated: undefined;
12338
12338
  }, {}, {}>;
12339
12339
  schema: drizzle_orm_pg_core0.PgColumn<{
12340
- name: string;
12340
+ name: "schema";
12341
12341
  tableName: "evaluator";
12342
12342
  dataType: "json";
12343
12343
  columnType: "PgJsonb";
@@ -12356,7 +12356,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12356
12356
  $type: Record<string, unknown>;
12357
12357
  }>;
12358
12358
  model: drizzle_orm_pg_core0.PgColumn<{
12359
- name: string;
12359
+ name: "model";
12360
12360
  tableName: "evaluator";
12361
12361
  dataType: "json";
12362
12362
  columnType: "PgJsonb";
@@ -12385,7 +12385,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12385
12385
  };
12386
12386
  }>;
12387
12387
  passCriteria: drizzle_orm_pg_core0.PgColumn<{
12388
- name: string;
12388
+ name: "pass_criteria";
12389
12389
  tableName: "evaluator";
12390
12390
  dataType: "json";
12391
12391
  columnType: "PgJsonb";
@@ -12571,10 +12571,10 @@ declare const EvaluatorUpdateSchema: z.ZodObject<{
12571
12571
  }>;
12572
12572
  declare const EvaluatorApiSelectSchema: z.ZodObject<{
12573
12573
  id: z.ZodString;
12574
- name: z.ZodString;
12575
- description: z.ZodNullable<z.ZodString>;
12576
12574
  createdAt: z.ZodString;
12575
+ name: z.ZodString;
12577
12576
  updatedAt: z.ZodString;
12577
+ description: z.ZodNullable<z.ZodString>;
12578
12578
  model: z.ZodType<{
12579
12579
  model?: string | undefined;
12580
12580
  providerOptions?: Record<string, unknown> | undefined;
@@ -12596,15 +12596,15 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
12596
12596
  fallbackModels?: string[] | undefined;
12597
12597
  allowedProviders?: string[] | undefined;
12598
12598
  }>>;
12599
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12600
12599
  prompt: z.ZodString;
12600
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12601
12601
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
12602
12602
  }, z.core.$strip>;
12603
12603
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12604
- name: z.ZodString;
12605
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12606
12604
  createdAt: z.ZodOptional<z.ZodString>;
12605
+ name: z.ZodString;
12607
12606
  updatedAt: z.ZodOptional<z.ZodString>;
12607
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12608
12608
  model: z.ZodType<{
12609
12609
  model?: string | undefined;
12610
12610
  providerOptions?: Record<string, unknown> | undefined;
@@ -12626,15 +12626,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12626
12626
  fallbackModels?: string[] | undefined;
12627
12627
  allowedProviders?: string[] | undefined;
12628
12628
  }>>;
12629
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12630
12629
  prompt: z.ZodString;
12630
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12631
12631
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12632
12632
  }, z.core.$strip>;
12633
12633
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12634
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12635
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12636
12634
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12637
12636
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12637
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12638
12638
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12639
12639
  model?: string | undefined;
12640
12640
  providerOptions?: Record<string, unknown> | undefined;
@@ -12656,8 +12656,8 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12656
12656
  fallbackModels?: string[] | undefined;
12657
12657
  allowedProviders?: string[] | undefined;
12658
12658
  }>>>>;
12659
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12660
12659
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12660
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12661
12661
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12662
12662
  }, z.core.$strip>;
12663
12663
  declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -12907,18 +12907,18 @@ declare const DatasetUpdateSchema: z.ZodObject<{
12907
12907
  }>;
12908
12908
  declare const DatasetApiSelectSchema: z.ZodObject<{
12909
12909
  id: z.ZodString;
12910
- name: z.ZodString;
12911
12910
  createdAt: z.ZodString;
12911
+ name: z.ZodString;
12912
12912
  updatedAt: z.ZodString;
12913
12913
  }, z.core.$strip>;
12914
12914
  declare const DatasetApiInsertSchema: z.ZodObject<{
12915
- name: z.ZodString;
12916
12915
  createdAt: z.ZodOptional<z.ZodString>;
12916
+ name: z.ZodString;
12917
12917
  updatedAt: z.ZodOptional<z.ZodString>;
12918
12918
  }, z.core.$strip>;
12919
12919
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12920
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12921
12920
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12921
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12922
12922
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12923
12923
  }, z.core.$strip>;
12924
12924
  declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -12976,7 +12976,7 @@ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
12976
12976
  length: 256;
12977
12977
  }>;
12978
12978
  input: drizzle_orm_pg_core0.PgColumn<{
12979
- name: string;
12979
+ name: "input";
12980
12980
  tableName: "dataset_item";
12981
12981
  dataType: "json";
12982
12982
  columnType: "PgJsonb";
@@ -12995,7 +12995,7 @@ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
12995
12995
  $type: DatasetItemInput;
12996
12996
  }>;
12997
12997
  expectedOutput: drizzle_orm_pg_core0.PgColumn<{
12998
- name: string;
12998
+ name: "expected_output";
12999
12999
  tableName: "dataset_item";
13000
13000
  dataType: "json";
13001
13001
  columnType: "PgJsonb";
@@ -13125,7 +13125,7 @@ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
13125
13125
  length: 256;
13126
13126
  }>;
13127
13127
  input: drizzle_orm_pg_core0.PgColumn<{
13128
- name: string;
13128
+ name: "input";
13129
13129
  tableName: "dataset_item";
13130
13130
  dataType: "json";
13131
13131
  columnType: "PgJsonb";
@@ -13144,7 +13144,7 @@ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
13144
13144
  $type: DatasetItemInput;
13145
13145
  }>;
13146
13146
  expectedOutput: drizzle_orm_pg_core0.PgColumn<{
13147
- name: string;
13147
+ name: "expected_output";
13148
13148
  tableName: "dataset_item";
13149
13149
  dataType: "json";
13150
13150
  columnType: "PgJsonb";
@@ -13625,24 +13625,24 @@ declare const DatasetRunConfigUpdateSchema: z.ZodObject<{
13625
13625
  }>;
13626
13626
  declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{
13627
13627
  id: z.ZodString;
13628
- name: z.ZodString;
13629
- description: z.ZodNullable<z.ZodString>;
13630
13628
  createdAt: z.ZodString;
13629
+ name: z.ZodString;
13631
13630
  updatedAt: z.ZodString;
13631
+ description: z.ZodNullable<z.ZodString>;
13632
13632
  datasetId: z.ZodString;
13633
13633
  }, z.core.$strip>;
13634
13634
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13635
- name: z.ZodString;
13636
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13637
13635
  createdAt: z.ZodOptional<z.ZodString>;
13636
+ name: z.ZodString;
13638
13637
  updatedAt: z.ZodOptional<z.ZodString>;
13638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13639
13639
  datasetId: z.ZodString;
13640
13640
  }, z.core.$strip>;
13641
13641
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13642
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13643
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13644
13642
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13643
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13645
13644
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13645
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13646
13646
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13647
13647
  }, z.core.$strip>;
13648
13648
  declare const AgentDatasetRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -14562,7 +14562,7 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14562
14562
  generated: undefined;
14563
14563
  }, {}, {}>;
14564
14564
  props: drizzle_orm_pg_core0.PgColumn<{
14565
- name: string;
14565
+ name: "props";
14566
14566
  tableName: "data_components";
14567
14567
  dataType: "json";
14568
14568
  columnType: "PgJsonb";
@@ -14595,7 +14595,7 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14595
14595
  };
14596
14596
  }>;
14597
14597
  render: drizzle_orm_pg_core0.PgColumn<{
14598
- name: string;
14598
+ name: "render";
14599
14599
  tableName: "data_components";
14600
14600
  dataType: "json";
14601
14601
  columnType: "PgJsonb";
@@ -14748,7 +14748,7 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14748
14748
  generated: undefined;
14749
14749
  }, {}, {}>;
14750
14750
  props: drizzle_orm_pg_core0.PgColumn<{
14751
- name: string;
14751
+ name: "props";
14752
14752
  tableName: "data_components";
14753
14753
  dataType: "json";
14754
14754
  columnType: "PgJsonb";
@@ -14781,7 +14781,7 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14781
14781
  };
14782
14782
  }>;
14783
14783
  render: drizzle_orm_pg_core0.PgColumn<{
14784
- name: string;
14784
+ name: "render";
14785
14785
  tableName: "data_components";
14786
14786
  dataType: "json";
14787
14787
  columnType: "PgJsonb";
@@ -14902,9 +14902,9 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14902
14902
  declare const DataComponentInsertSchema: z.ZodObject<{
14903
14903
  id: z.ZodString;
14904
14904
  name: z.ZodString;
14905
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14906
14905
  projectId: z.ZodString;
14907
14906
  tenantId: z.ZodString;
14907
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14908
14908
  props: z.ZodType<{
14909
14909
  [x: string]: unknown;
14910
14910
  type: "object";
@@ -14954,9 +14954,9 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14954
14954
  declare const DataComponentUpdateSchema: z.ZodObject<{
14955
14955
  id: z.ZodOptional<z.ZodString>;
14956
14956
  name: z.ZodOptional<z.ZodString>;
14957
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14958
14957
  projectId: z.ZodOptional<z.ZodString>;
14959
14958
  tenantId: z.ZodOptional<z.ZodString>;
14959
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14960
14960
  props: z.ZodOptional<z.ZodType<{
14961
14961
  [x: string]: unknown;
14962
14962
  type: "object";
@@ -15005,10 +15005,10 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
15005
15005
  }>;
15006
15006
  declare const DataComponentApiSelectSchema: z.ZodObject<{
15007
15007
  id: z.ZodString;
15008
- name: z.ZodString;
15009
- description: z.ZodNullable<z.ZodString>;
15010
15008
  createdAt: z.ZodString;
15009
+ name: z.ZodString;
15011
15010
  updatedAt: z.ZodString;
15011
+ description: z.ZodNullable<z.ZodString>;
15012
15012
  props: z.ZodType<{
15013
15013
  [x: string]: unknown;
15014
15014
  type: "object";
@@ -15631,7 +15631,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
15631
15631
  }, {}, {
15632
15632
  length: 256;
15633
15633
  }>;
15634
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15634
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15635
15635
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15636
15636
  dataComponentId: z.ZodOptional<z.ZodString>;
15637
15637
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15700,7 +15700,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select",
15700
15700
  generated: undefined;
15701
15701
  }, {}, {}>;
15702
15702
  props: drizzle_orm_pg_core0.PgColumn<{
15703
- name: string;
15703
+ name: "props";
15704
15704
  tableName: "artifact_components";
15705
15705
  dataType: "json";
15706
15706
  columnType: "PgJsonb";
@@ -15733,7 +15733,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select",
15733
15733
  };
15734
15734
  }>;
15735
15735
  render: drizzle_orm_pg_core0.PgColumn<{
15736
- name: string;
15736
+ name: "render";
15737
15737
  tableName: "artifact_components";
15738
15738
  dataType: "json";
15739
15739
  columnType: "PgJsonb";
@@ -15886,7 +15886,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select",
15886
15886
  generated: undefined;
15887
15887
  }, {}, {}>;
15888
15888
  props: drizzle_orm_pg_core0.PgColumn<{
15889
- name: string;
15889
+ name: "props";
15890
15890
  tableName: "artifact_components";
15891
15891
  dataType: "json";
15892
15892
  columnType: "PgJsonb";
@@ -15919,7 +15919,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select",
15919
15919
  };
15920
15920
  }>;
15921
15921
  render: drizzle_orm_pg_core0.PgColumn<{
15922
- name: string;
15922
+ name: "render";
15923
15923
  tableName: "artifact_components";
15924
15924
  dataType: "json";
15925
15925
  columnType: "PgJsonb";
@@ -16147,10 +16147,10 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
16147
16147
  }>;
16148
16148
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
16149
16149
  id: z.ZodString;
16150
- name: z.ZodString;
16151
- description: z.ZodNullable<z.ZodString>;
16152
16150
  createdAt: z.ZodString;
16151
+ name: z.ZodString;
16153
16152
  updatedAt: z.ZodString;
16153
+ description: z.ZodNullable<z.ZodString>;
16154
16154
  props: z.ZodNullable<z.ZodType<{
16155
16155
  [x: string]: unknown;
16156
16156
  type: "object";
@@ -16224,10 +16224,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
16224
16224
  }>;
16225
16225
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16226
16226
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16227
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16228
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16229
16227
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16228
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16230
16229
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16230
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16231
16231
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
16232
16232
  [x: string]: unknown;
16233
16233
  type: "object";
@@ -16597,9 +16597,9 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
16597
16597
  declare const ExternalAgentInsertSchema: z.ZodObject<{
16598
16598
  id: z.ZodString;
16599
16599
  name: z.ZodString;
16600
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16601
16600
  projectId: z.ZodString;
16602
16601
  tenantId: z.ZodString;
16602
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16603
16603
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16604
16604
  baseUrl: z.ZodURL;
16605
16605
  }, {
@@ -16609,9 +16609,9 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16609
16609
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
16610
16610
  id: z.ZodOptional<z.ZodString>;
16611
16611
  name: z.ZodOptional<z.ZodString>;
16612
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16613
16612
  projectId: z.ZodOptional<z.ZodString>;
16614
16613
  tenantId: z.ZodOptional<z.ZodString>;
16614
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16615
16615
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16616
16616
  baseUrl: z.ZodOptional<z.ZodURL>;
16617
16617
  }, {
@@ -16620,10 +16620,10 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
16620
16620
  }>;
16621
16621
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
16622
16622
  id: z.ZodString;
16623
- name: z.ZodString;
16624
- description: z.ZodNullable<z.ZodString>;
16625
16623
  createdAt: z.ZodString;
16624
+ name: z.ZodString;
16626
16625
  updatedAt: z.ZodString;
16626
+ description: z.ZodNullable<z.ZodString>;
16627
16627
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16628
16628
  baseUrl: z.ZodString;
16629
16629
  }, z.core.$strip>;
@@ -16643,10 +16643,10 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16643
16643
  }, z.core.$strip>;
16644
16644
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16645
16645
  id: z.ZodString;
16646
- name: z.ZodString;
16647
- description: z.ZodNullable<z.ZodString>;
16648
16646
  createdAt: z.ZodString;
16647
+ name: z.ZodString;
16649
16648
  updatedAt: z.ZodString;
16649
+ description: z.ZodNullable<z.ZodString>;
16650
16650
  models: z.ZodNullable<z.ZodType<{
16651
16651
  base?: {
16652
16652
  model?: string | undefined;
@@ -16724,6 +16724,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16724
16724
  allowedProviders?: string[] | undefined;
16725
16725
  } | undefined;
16726
16726
  }>>>;
16727
+ prompt: z.ZodNullable<z.ZodString>;
16727
16728
  stopWhen: z.ZodNullable<z.ZodType<{
16728
16729
  stepCountIs?: number | undefined;
16729
16730
  }, {
@@ -16733,15 +16734,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16733
16734
  }, {
16734
16735
  stepCountIs?: number | undefined;
16735
16736
  }>>>;
16736
- prompt: z.ZodNullable<z.ZodString>;
16737
16737
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16738
16738
  type: z.ZodLiteral<"internal">;
16739
16739
  }, z.core.$strip>, z.ZodObject<{
16740
16740
  id: z.ZodString;
16741
- name: z.ZodString;
16742
- description: z.ZodNullable<z.ZodString>;
16743
16741
  createdAt: z.ZodString;
16742
+ name: z.ZodString;
16744
16743
  updatedAt: z.ZodString;
16744
+ description: z.ZodNullable<z.ZodString>;
16745
16745
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16746
16746
  baseUrl: z.ZodString;
16747
16747
  type: z.ZodLiteral<"external">;
@@ -17217,8 +17217,8 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
17217
17217
  }>;
17218
17218
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
17219
17219
  id: z.ZodString;
17220
- name: z.ZodNullable<z.ZodString>;
17221
17220
  createdAt: z.ZodString;
17221
+ name: z.ZodNullable<z.ZodString>;
17222
17222
  updatedAt: z.ZodString;
17223
17223
  agentId: z.ZodString;
17224
17224
  publicId: z.ZodString;
@@ -17233,8 +17233,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17233
17233
  data: z.ZodObject<{
17234
17234
  apiKey: z.ZodObject<{
17235
17235
  id: z.ZodString;
17236
- name: z.ZodNullable<z.ZodString>;
17237
17236
  createdAt: z.ZodString;
17237
+ name: z.ZodNullable<z.ZodString>;
17238
17238
  updatedAt: z.ZodString;
17239
17239
  agentId: z.ZodString;
17240
17240
  publicId: z.ZodString;
@@ -17249,8 +17249,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17249
17249
  }, z.core.$strip>;
17250
17250
  }, z.core.$strip>;
17251
17251
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
17252
- name: z.ZodString;
17253
17252
  createdAt: z.ZodOptional<z.ZodString>;
17253
+ name: z.ZodString;
17254
17254
  updatedAt: z.ZodOptional<z.ZodString>;
17255
17255
  agentId: z.ZodString;
17256
17256
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18059,12 +18059,12 @@ declare const AppInsertSchema: z.ZodObject<{
18059
18059
  }>;
18060
18060
  declare const AppUpdateSchema: z.ZodObject<{
18061
18061
  name: z.ZodOptional<z.ZodString>;
18062
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18063
18062
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18064
18063
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18065
18064
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18066
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18065
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18067
18066
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18067
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18068
18068
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18069
18069
  type: z.ZodLiteral<"web_client">;
18070
18070
  webClient: z.ZodObject<{
@@ -18676,15 +18676,15 @@ declare const AppApiSelectSchema: drizzle_zod3.BuildSchema<"select", {
18676
18676
  }, undefined>, undefined>;
18677
18677
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18678
18678
  id: z.ZodString;
18679
- name: z.ZodString;
18680
- description: z.ZodNullable<z.ZodString>;
18681
18679
  createdAt: z.ZodString;
18680
+ name: z.ZodString;
18682
18681
  updatedAt: z.ZodString;
18683
18682
  projectId: z.ZodNullable<z.ZodString>;
18684
18683
  tenantId: z.ZodNullable<z.ZodString>;
18684
+ description: z.ZodNullable<z.ZodString>;
18685
18685
  type: z.ZodString;
18686
- prompt: z.ZodNullable<z.ZodString>;
18687
18686
  enabled: z.ZodBoolean;
18687
+ prompt: z.ZodNullable<z.ZodString>;
18688
18688
  lastUsedAt: z.ZodNullable<z.ZodString>;
18689
18689
  defaultProjectId: z.ZodNullable<z.ZodString>;
18690
18690
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18718,18 +18718,18 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18718
18718
  in: {};
18719
18719
  }>;
18720
18720
  declare const AppApiInsertSchema: z.ZodObject<{
18721
- name: z.ZodString;
18722
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18723
18721
  createdAt: z.ZodOptional<z.ZodString>;
18722
+ name: z.ZodString;
18724
18723
  updatedAt: z.ZodOptional<z.ZodString>;
18725
18724
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18726
18725
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18726
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18727
18727
  type: z.ZodEnum<{
18728
18728
  web_client: "web_client";
18729
18729
  api: "api";
18730
18730
  }>;
18731
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18732
18731
  enabled: z.ZodOptional<z.ZodBoolean>;
18732
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18733
18733
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18734
18734
  type: z.ZodLiteral<"web_client">;
18735
18735
  webClient: z.ZodObject<{
@@ -18763,12 +18763,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
18763
18763
  }>;
18764
18764
  declare const AppApiUpdateSchema: z.ZodObject<{
18765
18765
  name: z.ZodOptional<z.ZodString>;
18766
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18767
18766
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18768
18767
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18769
18768
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18770
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18769
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18771
18770
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18771
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18772
18772
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18773
18773
  type: z.ZodLiteral<"web_client">;
18774
18774
  webClient: z.ZodObject<{
@@ -18805,15 +18805,15 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
18805
18805
  data: z.ZodObject<{
18806
18806
  app: z.ZodObject<{
18807
18807
  id: z.ZodString;
18808
- name: z.ZodString;
18809
- description: z.ZodNullable<z.ZodString>;
18810
18808
  createdAt: z.ZodString;
18809
+ name: z.ZodString;
18811
18810
  updatedAt: z.ZodString;
18812
18811
  projectId: z.ZodNullable<z.ZodString>;
18813
18812
  tenantId: z.ZodNullable<z.ZodString>;
18813
+ description: z.ZodNullable<z.ZodString>;
18814
18814
  type: z.ZodString;
18815
- prompt: z.ZodNullable<z.ZodString>;
18816
18815
  enabled: z.ZodBoolean;
18816
+ prompt: z.ZodNullable<z.ZodString>;
18817
18817
  lastUsedAt: z.ZodNullable<z.ZodString>;
18818
18818
  defaultProjectId: z.ZodNullable<z.ZodString>;
18819
18819
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18941,7 +18941,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
18941
18941
  length: 256;
18942
18942
  }>;
18943
18943
  retrievalParams: drizzle_orm_pg_core0.PgColumn<{
18944
- name: string;
18944
+ name: "retrieval_params";
18945
18945
  tableName: "credential_references";
18946
18946
  dataType: "json";
18947
18947
  columnType: "PgJsonb";
@@ -19166,7 +19166,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19166
19166
  length: 256;
19167
19167
  }>;
19168
19168
  retrievalParams: drizzle_orm_pg_core0.PgColumn<{
19169
- name: string;
19169
+ name: "retrieval_params";
19170
19170
  tableName: "credential_references";
19171
19171
  dataType: "json";
19172
19172
  columnType: "PgJsonb";
@@ -19305,11 +19305,11 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
19305
19305
  projectId: z.ZodString;
19306
19306
  tenantId: z.ZodString;
19307
19307
  type: z.ZodString;
19308
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19308
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19309
19309
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19310
19310
  credentialStoreId: z.ZodString;
19311
19311
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19312
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19312
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19313
19313
  }, {
19314
19314
  out: {};
19315
19315
  in: {};
@@ -19320,25 +19320,25 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19320
19320
  projectId: z.ZodOptional<z.ZodString>;
19321
19321
  tenantId: z.ZodOptional<z.ZodString>;
19322
19322
  type: z.ZodOptional<z.ZodString>;
19323
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19323
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
19324
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19325
19325
  credentialStoreId: z.ZodOptional<z.ZodString>;
19326
19326
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19327
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19327
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19328
  }, {
19329
19329
  out: {};
19330
19330
  in: {};
19331
19331
  }>;
19332
19332
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19333
19333
  id: z.ZodString;
19334
- name: z.ZodString;
19335
19334
  createdAt: z.ZodString;
19335
+ name: z.ZodString;
19336
19336
  updatedAt: z.ZodString;
19337
- userId: z.ZodNullable<z.ZodString>;
19337
+ toolId: z.ZodNullable<z.ZodString>;
19338
19338
  createdBy: z.ZodNullable<z.ZodString>;
19339
19339
  credentialStoreId: z.ZodString;
19340
19340
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19341
- toolId: z.ZodNullable<z.ZodString>;
19341
+ userId: z.ZodNullable<z.ZodString>;
19342
19342
  type: z.ZodEnum<{
19343
19343
  readonly memory: "memory";
19344
19344
  readonly keychain: "keychain";
@@ -19381,7 +19381,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19381
19381
  generated: undefined;
19382
19382
  }, {}, {}>;
19383
19383
  config: drizzle_orm_pg_core0.PgColumn<{
19384
- name: string;
19384
+ name: "config";
19385
19385
  tableName: "tools";
19386
19386
  dataType: "json";
19387
19387
  columnType: "PgJsonb";
@@ -19444,7 +19444,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19444
19444
  length: 50;
19445
19445
  }>;
19446
19446
  headers: drizzle_orm_pg_core0.PgColumn<{
19447
- name: string;
19447
+ name: "headers";
19448
19448
  tableName: "tools";
19449
19449
  dataType: "json";
19450
19450
  columnType: "PgJsonb";
@@ -19480,7 +19480,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19480
19480
  generated: undefined;
19481
19481
  }, {}, {}>;
19482
19482
  capabilities: drizzle_orm_pg_core0.PgColumn<{
19483
- name: string;
19483
+ name: "capabilities";
19484
19484
  tableName: "tools";
19485
19485
  dataType: "json";
19486
19486
  columnType: "PgJsonb";
@@ -19661,7 +19661,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19661
19661
  generated: undefined;
19662
19662
  }, {}, {}>;
19663
19663
  config: drizzle_orm_pg_core0.PgColumn<{
19664
- name: string;
19664
+ name: "config";
19665
19665
  tableName: "tools";
19666
19666
  dataType: "json";
19667
19667
  columnType: "PgJsonb";
@@ -19724,7 +19724,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19724
19724
  length: 50;
19725
19725
  }>;
19726
19726
  headers: drizzle_orm_pg_core0.PgColumn<{
19727
- name: string;
19727
+ name: "headers";
19728
19728
  tableName: "tools";
19729
19729
  dataType: "json";
19730
19730
  columnType: "PgJsonb";
@@ -19760,7 +19760,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19760
19760
  generated: undefined;
19761
19761
  }, {}, {}>;
19762
19762
  capabilities: drizzle_orm_pg_core0.PgColumn<{
19763
- name: string;
19763
+ name: "capabilities";
19764
19764
  tableName: "tools";
19765
19765
  dataType: "json";
19766
19766
  columnType: "PgJsonb";
@@ -19924,11 +19924,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19924
19924
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19925
19925
  id: z.ZodString;
19926
19926
  name: z.ZodString;
19927
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19927
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19928
19928
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19929
19929
  credentialStoreId: z.ZodString;
19930
19930
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19931
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19931
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19932
19932
  type: z.ZodEnum<{
19933
19933
  readonly memory: "memory";
19934
19934
  readonly keychain: "keychain";
@@ -19939,11 +19939,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19939
19939
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19940
19940
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19941
19941
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19942
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19942
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19943
19943
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19944
19944
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19945
19945
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19946
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19946
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19947
19947
  type: z.ZodOptional<z.ZodEnum<{
19948
19948
  readonly memory: "memory";
19949
19949
  readonly keychain: "keychain";
@@ -20010,9 +20010,9 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
20010
20010
  declare const McpToolSchema: z.ZodObject<{
20011
20011
  id: z.ZodString;
20012
20012
  name: z.ZodString;
20013
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20014
20013
  projectId: z.ZodString;
20015
20014
  tenantId: z.ZodString;
20015
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20016
20016
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20017
20017
  config: z.ZodObject<{
20018
20018
  type: z.ZodLiteral<"mcp">;
@@ -20105,11 +20105,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20105
20105
  credential: z.ZodOptional<z.ZodObject<{
20106
20106
  id: z.ZodString;
20107
20107
  name: z.ZodString;
20108
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20108
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20109
20109
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20110
20110
  credentialStoreId: z.ZodString;
20111
20111
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20112
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20112
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20113
20113
  type: z.ZodEnum<{
20114
20114
  readonly memory: "memory";
20115
20115
  readonly keychain: "keychain";
@@ -20131,9 +20131,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20131
20131
  declare const ToolUpdateSchema: z.ZodObject<{
20132
20132
  id: z.ZodOptional<z.ZodString>;
20133
20133
  name: z.ZodOptional<z.ZodString>;
20134
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20135
20134
  projectId: z.ZodOptional<z.ZodString>;
20136
20135
  tenantId: z.ZodOptional<z.ZodString>;
20136
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20137
20137
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20138
20138
  config: z.ZodOptional<z.ZodObject<{
20139
20139
  type: z.ZodLiteral<"mcp">;
@@ -20173,10 +20173,10 @@ declare const ToolUpdateSchema: z.ZodObject<{
20173
20173
  }>;
20174
20174
  declare const ToolApiSelectSchema: z.ZodObject<{
20175
20175
  id: z.ZodString;
20176
- name: z.ZodString;
20177
- description: z.ZodNullable<z.ZodString>;
20178
20176
  createdAt: z.ZodString;
20177
+ name: z.ZodString;
20179
20178
  updatedAt: z.ZodString;
20179
+ description: z.ZodNullable<z.ZodString>;
20180
20180
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20181
20181
  config: z.ZodType<{
20182
20182
  type: "mcp";
@@ -20610,10 +20610,10 @@ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
20610
20610
  declare const FunctionToolInsertSchema: z.ZodObject<{
20611
20611
  id: z.ZodString;
20612
20612
  name: z.ZodString;
20613
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20613
+ agentId: z.ZodString;
20614
20614
  projectId: z.ZodString;
20615
20615
  tenantId: z.ZodString;
20616
- agentId: z.ZodString;
20616
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20617
20617
  functionId: z.ZodString;
20618
20618
  }, {
20619
20619
  out: {};
@@ -20622,10 +20622,10 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
20622
20622
  declare const FunctionToolUpdateSchema: z.ZodObject<{
20623
20623
  id: z.ZodOptional<z.ZodString>;
20624
20624
  name: z.ZodOptional<z.ZodString>;
20625
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20625
+ agentId: z.ZodOptional<z.ZodString>;
20626
20626
  projectId: z.ZodOptional<z.ZodString>;
20627
20627
  tenantId: z.ZodOptional<z.ZodString>;
20628
- agentId: z.ZodOptional<z.ZodString>;
20628
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20629
20629
  functionId: z.ZodOptional<z.ZodString>;
20630
20630
  }, {
20631
20631
  out: {};
@@ -20633,11 +20633,11 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
20633
20633
  }>;
20634
20634
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20635
20635
  id: z.ZodString;
20636
- name: z.ZodString;
20637
- description: z.ZodNullable<z.ZodString>;
20638
20636
  createdAt: z.ZodString;
20637
+ name: z.ZodString;
20639
20638
  updatedAt: z.ZodString;
20640
20639
  agentId: z.ZodString;
20640
+ description: z.ZodNullable<z.ZodString>;
20641
20641
  functionId: z.ZodString;
20642
20642
  relationshipId: z.ZodOptional<z.ZodString>;
20643
20643
  }, z.core.$strip>;
@@ -20650,8 +20650,8 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<{
20650
20650
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20651
20651
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20652
20652
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20653
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20654
20653
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20654
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20655
20655
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20656
20656
  }, z.core.$strip>;
20657
20657
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -20709,7 +20709,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema
20709
20709
  length: 256;
20710
20710
  }>;
20711
20711
  toolPolicies: drizzle_orm_pg_core0.PgColumn<{
20712
- name: string;
20712
+ name: "tool_policies";
20713
20713
  tableName: "sub_agent_function_tool_relations";
20714
20714
  dataType: "json";
20715
20715
  columnType: "PgJsonb";
@@ -20881,7 +20881,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema
20881
20881
  length: 256;
20882
20882
  }>;
20883
20883
  toolPolicies: drizzle_orm_pg_core0.PgColumn<{
20884
- name: string;
20884
+ name: "tool_policies";
20885
20885
  tableName: "sub_agent_function_tool_relations";
20886
20886
  dataType: "json";
20887
20887
  columnType: "PgJsonb";
@@ -21065,7 +21065,7 @@ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21065
21065
  generated: undefined;
21066
21066
  }, {}, {}>;
21067
21067
  inputSchema: drizzle_orm_pg_core0.PgColumn<{
21068
- name: string;
21068
+ name: "input_schema";
21069
21069
  tableName: "functions";
21070
21070
  dataType: "json";
21071
21071
  columnType: "PgJsonb";
@@ -21101,7 +21101,7 @@ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21101
21101
  generated: undefined;
21102
21102
  }, {}, {}>;
21103
21103
  dependencies: drizzle_orm_pg_core0.PgColumn<{
21104
- name: string;
21104
+ name: "dependencies";
21105
21105
  tableName: "functions";
21106
21106
  dataType: "json";
21107
21107
  columnType: "PgJsonb";
@@ -21212,7 +21212,7 @@ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21212
21212
  generated: undefined;
21213
21213
  }, {}, {}>;
21214
21214
  inputSchema: drizzle_orm_pg_core0.PgColumn<{
21215
- name: string;
21215
+ name: "input_schema";
21216
21216
  tableName: "functions";
21217
21217
  dataType: "json";
21218
21218
  columnType: "PgJsonb";
@@ -21248,7 +21248,7 @@ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21248
21248
  generated: undefined;
21249
21249
  }, {}, {}>;
21250
21250
  dependencies: drizzle_orm_pg_core0.PgColumn<{
21251
- name: string;
21251
+ name: "dependencies";
21252
21252
  tableName: "functions";
21253
21253
  dataType: "json";
21254
21254
  columnType: "PgJsonb";
@@ -21414,11 +21414,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21414
21414
  credential: z.ZodOptional<z.ZodObject<{
21415
21415
  id: z.ZodString;
21416
21416
  name: z.ZodString;
21417
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21417
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21418
21418
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21419
21419
  credentialStoreId: z.ZodString;
21420
21420
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21421
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21421
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21422
21422
  type: z.ZodEnum<{
21423
21423
  readonly memory: "memory";
21424
21424
  readonly keychain: "keychain";
@@ -21442,32 +21442,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
21442
21442
  }>;
21443
21443
  declare const ContextConfigInsertSchema: z.ZodObject<{
21444
21444
  id: z.ZodOptional<z.ZodString>;
21445
- projectId: z.ZodString;
21446
- tenantId: z.ZodString;
21447
- agentId: z.ZodString;
21448
21445
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21449
21446
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21447
+ agentId: z.ZodString;
21448
+ projectId: z.ZodString;
21449
+ tenantId: z.ZodString;
21450
21450
  }, {
21451
21451
  out: {};
21452
21452
  in: {};
21453
21453
  }>;
21454
21454
  declare const ContextConfigUpdateSchema: z.ZodObject<{
21455
21455
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21456
- projectId: z.ZodOptional<z.ZodString>;
21457
- tenantId: z.ZodOptional<z.ZodString>;
21458
- agentId: z.ZodOptional<z.ZodString>;
21459
21456
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21460
21457
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21458
+ agentId: z.ZodOptional<z.ZodString>;
21459
+ projectId: z.ZodOptional<z.ZodString>;
21460
+ tenantId: z.ZodOptional<z.ZodString>;
21461
21461
  }, {
21462
21462
  out: {};
21463
21463
  in: {};
21464
21464
  }>;
21465
21465
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
21466
21466
  id: z.ZodString;
21467
- createdAt: z.ZodString;
21468
- updatedAt: z.ZodString;
21469
21467
  headersSchema: z.ZodOptional<z.ZodAny>;
21470
21468
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
21469
+ createdAt: z.ZodString;
21470
+ updatedAt: z.ZodString;
21471
21471
  }, z.core.$strip>;
21472
21472
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
21473
21473
  id: z.ZodOptional<z.ZodString>;
@@ -21534,7 +21534,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
21534
21534
  length: 256;
21535
21535
  }>;
21536
21536
  selectedTools: drizzle_orm_pg_core0.PgColumn<{
21537
- name: string;
21537
+ name: "selected_tools";
21538
21538
  tableName: "sub_agent_tool_relations";
21539
21539
  dataType: "json";
21540
21540
  columnType: "PgJsonb";
@@ -21553,7 +21553,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
21553
21553
  $type: string[] | null;
21554
21554
  }>;
21555
21555
  headers: drizzle_orm_pg_core0.PgColumn<{
21556
- name: string;
21556
+ name: "headers";
21557
21557
  tableName: "sub_agent_tool_relations";
21558
21558
  dataType: "json";
21559
21559
  columnType: "PgJsonb";
@@ -21572,7 +21572,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
21572
21572
  $type: Record<string, string> | null;
21573
21573
  }>;
21574
21574
  toolPolicies: drizzle_orm_pg_core0.PgColumn<{
21575
- name: string;
21575
+ name: "tool_policies";
21576
21576
  tableName: "sub_agent_tool_relations";
21577
21577
  dataType: "json";
21578
21578
  columnType: "PgJsonb";
@@ -21744,7 +21744,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
21744
21744
  length: 256;
21745
21745
  }>;
21746
21746
  selectedTools: drizzle_orm_pg_core0.PgColumn<{
21747
- name: string;
21747
+ name: "selected_tools";
21748
21748
  tableName: "sub_agent_tool_relations";
21749
21749
  dataType: "json";
21750
21750
  columnType: "PgJsonb";
@@ -21763,7 +21763,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
21763
21763
  $type: string[] | null;
21764
21764
  }>;
21765
21765
  headers: drizzle_orm_pg_core0.PgColumn<{
21766
- name: string;
21766
+ name: "headers";
21767
21767
  tableName: "sub_agent_tool_relations";
21768
21768
  dataType: "json";
21769
21769
  columnType: "PgJsonb";
@@ -21782,7 +21782,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
21782
21782
  $type: Record<string, string> | null;
21783
21783
  }>;
21784
21784
  toolPolicies: drizzle_orm_pg_core0.PgColumn<{
21785
- name: string;
21785
+ name: "tool_policies";
21786
21786
  tableName: "sub_agent_tool_relations";
21787
21787
  dataType: "json";
21788
21788
  columnType: "PgJsonb";
@@ -21941,8 +21941,8 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21941
21941
  createdAt: z.ZodString;
21942
21942
  updatedAt: z.ZodString;
21943
21943
  subAgentId: z.ZodString;
21944
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21945
21944
  toolId: z.ZodString;
21945
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21946
21946
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21947
21947
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21948
21948
  }, z.core.$strip>;
@@ -21951,8 +21951,8 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21951
21951
  createdAt: z.ZodOptional<z.ZodString>;
21952
21952
  updatedAt: z.ZodOptional<z.ZodString>;
21953
21953
  subAgentId: z.ZodString;
21954
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21955
21954
  toolId: z.ZodString;
21955
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21956
21956
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21957
21957
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21958
21958
  }, z.core.$strip>>>>;
@@ -21963,8 +21963,8 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21963
21963
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21964
21964
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21965
21965
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21966
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21967
21966
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21967
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21968
21968
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21969
21969
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21970
21970
  }, z.core.$strip>>>>>>;
@@ -22025,7 +22025,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchem
22025
22025
  length: 256;
22026
22026
  }>;
22027
22027
  headers: drizzle_orm_pg_core0.PgColumn<{
22028
- name: string;
22028
+ name: "headers";
22029
22029
  tableName: "sub_agent_external_agent_relations";
22030
22030
  dataType: "json";
22031
22031
  columnType: "PgJsonb";
@@ -22193,7 +22193,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchem
22193
22193
  length: 256;
22194
22194
  }>;
22195
22195
  headers: drizzle_orm_pg_core0.PgColumn<{
22196
- name: string;
22196
+ name: "headers";
22197
22197
  tableName: "sub_agent_external_agent_relations";
22198
22198
  dataType: "json";
22199
22199
  columnType: "PgJsonb";
@@ -22412,7 +22412,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"s
22412
22412
  length: 256;
22413
22413
  }>;
22414
22414
  headers: drizzle_orm_pg_core0.PgColumn<{
22415
- name: string;
22415
+ name: "headers";
22416
22416
  tableName: "sub_agent_team_agent_relations";
22417
22417
  dataType: "json";
22418
22418
  columnType: "PgJsonb";
@@ -22580,7 +22580,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"s
22580
22580
  length: 256;
22581
22581
  }>;
22582
22582
  headers: drizzle_orm_pg_core0.PgColumn<{
22583
- name: string;
22583
+ name: "headers";
22584
22584
  tableName: "sub_agent_team_agent_relations";
22585
22585
  dataType: "json";
22586
22586
  columnType: "PgJsonb";
@@ -24085,7 +24085,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24085
24085
  }, {}, {
24086
24086
  length: 256;
24087
24087
  }>;
24088
- }, "id" | "name" | "description" | "metadata" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "type" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24088
+ }, "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "type" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24089
24089
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24090
24090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24091
24091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24111,12 +24111,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24111
24111
  }>;
24112
24112
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24113
24113
  id: z.ZodString;
24114
- name: z.ZodNullable<z.ZodString>;
24115
- description: z.ZodNullable<z.ZodString>;
24116
- metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24117
24114
  createdAt: z.ZodString;
24115
+ name: z.ZodNullable<z.ZodString>;
24118
24116
  updatedAt: z.ZodString;
24117
+ description: z.ZodNullable<z.ZodString>;
24119
24118
  type: z.ZodString;
24119
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24120
24120
  taskId: z.ZodString;
24121
24121
  contextId: z.ZodString;
24122
24122
  visibility: z.ZodNullable<z.ZodString>;
@@ -24129,12 +24129,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24129
24129
  }, z.core.$strip>;
24130
24130
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24131
24131
  id: z.ZodString;
24132
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24133
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24134
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24135
24132
  createdAt: z.ZodOptional<z.ZodString>;
24133
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24136
24134
  updatedAt: z.ZodOptional<z.ZodString>;
24135
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24137
24136
  type: z.ZodOptional<z.ZodString>;
24137
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24138
24138
  taskId: z.ZodString;
24139
24139
  contextId: z.ZodString;
24140
24140
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24147,12 +24147,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24147
24147
  }, z.core.$strip>;
24148
24148
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24149
24149
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24150
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24151
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24152
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24153
24150
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24151
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24154
24152
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24153
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24155
24154
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24155
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24156
24156
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24157
24157
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24158
24158
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -24227,10 +24227,10 @@ declare const TeamAgentSchema: z.ZodObject<{
24227
24227
  }, z.core.$strip>;
24228
24228
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24229
24229
  id: z.ZodString;
24230
- name: z.ZodString;
24231
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24232
24230
  createdAt: z.ZodOptional<z.ZodString>;
24231
+ name: z.ZodString;
24233
24232
  updatedAt: z.ZodOptional<z.ZodString>;
24233
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24234
24234
  models: z.ZodOptional<z.ZodObject<{
24235
24235
  base: z.ZodOptional<z.ZodObject<{
24236
24236
  model: z.ZodOptional<z.ZodString>;
@@ -24293,10 +24293,10 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24293
24293
  executionMode: z.ZodOptional<z.ZodString>;
24294
24294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24295
24295
  id: z.ZodString;
24296
- name: z.ZodString;
24297
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24298
24296
  createdAt: z.ZodOptional<z.ZodString>;
24297
+ name: z.ZodString;
24299
24298
  updatedAt: z.ZodOptional<z.ZodString>;
24299
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24300
24300
  models: z.ZodOptional<z.ZodObject<{
24301
24301
  base: z.ZodOptional<z.ZodObject<{
24302
24302
  model: z.ZodOptional<z.ZodString>;
@@ -24416,8 +24416,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24416
24416
  id: z.ZodOptional<z.ZodString>;
24417
24417
  name: z.ZodString;
24418
24418
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24419
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24420
24419
  enabled: z.ZodOptional<z.ZodBoolean>;
24420
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24421
24421
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24422
24422
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24423
24423
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -24482,10 +24482,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24482
24482
  executionMode: z.ZodOptional<z.ZodString>;
24483
24483
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24484
24484
  id: z.ZodString;
24485
- name: z.ZodString;
24486
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24487
24485
  createdAt: z.ZodOptional<z.ZodString>;
24486
+ name: z.ZodString;
24488
24487
  updatedAt: z.ZodOptional<z.ZodString>;
24488
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24489
24489
  models: z.ZodOptional<z.ZodObject<{
24490
24490
  base: z.ZodOptional<z.ZodObject<{
24491
24491
  model: z.ZodOptional<z.ZodString>;
@@ -24605,8 +24605,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24605
24605
  id: z.ZodOptional<z.ZodString>;
24606
24606
  name: z.ZodString;
24607
24607
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24608
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24609
24608
  enabled: z.ZodOptional<z.ZodBoolean>;
24609
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24610
24610
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24611
24611
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24612
24612
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -24724,8 +24724,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
24724
24724
  declare const ProjectInsertSchema: z.ZodObject<{
24725
24725
  id: z.ZodString;
24726
24726
  name: z.ZodString;
24727
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24728
24727
  tenantId: z.ZodString;
24728
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24729
24729
  models: z.ZodObject<{
24730
24730
  base: z.ZodObject<{
24731
24731
  model: z.ZodOptional<z.ZodString>;
@@ -24787,10 +24787,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
24787
24787
  }>;
24788
24788
  declare const ProjectApiSelectSchema: z.ZodObject<{
24789
24789
  id: z.ZodString;
24790
- name: z.ZodString;
24791
- description: z.ZodNullable<z.ZodString>;
24792
24790
  createdAt: z.ZodString;
24791
+ name: z.ZodString;
24793
24792
  updatedAt: z.ZodString;
24793
+ description: z.ZodNullable<z.ZodString>;
24794
24794
  models: z.ZodNullable<z.ZodObject<{
24795
24795
  base: z.ZodObject<{
24796
24796
  model: z.ZodOptional<z.ZodString>;
@@ -24919,10 +24919,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24919
24919
  executionMode: z.ZodOptional<z.ZodString>;
24920
24920
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24921
24921
  id: z.ZodString;
24922
- name: z.ZodString;
24923
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24924
24922
  createdAt: z.ZodOptional<z.ZodString>;
24923
+ name: z.ZodString;
24925
24924
  updatedAt: z.ZodOptional<z.ZodString>;
24925
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24926
24926
  models: z.ZodOptional<z.ZodObject<{
24927
24927
  base: z.ZodOptional<z.ZodObject<{
24928
24928
  model: z.ZodOptional<z.ZodString>;
@@ -25042,8 +25042,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25042
25042
  id: z.ZodOptional<z.ZodString>;
25043
25043
  name: z.ZodString;
25044
25044
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25045
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25046
25045
  enabled: z.ZodOptional<z.ZodBoolean>;
25046
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25047
25047
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25048
25048
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25049
25049
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -25256,11 +25256,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25256
25256
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25257
25257
  id: z.ZodString;
25258
25258
  name: z.ZodString;
25259
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25259
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25260
25260
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25261
25261
  credentialStoreId: z.ZodString;
25262
25262
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25263
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25263
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25264
25264
  type: z.ZodEnum<{
25265
25265
  readonly memory: "memory";
25266
25266
  readonly keychain: "keychain";
@@ -25276,10 +25276,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25276
25276
  }>;
25277
25277
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25278
25278
  id: z.ZodString;
25279
- name: z.ZodString;
25280
- description: z.ZodNullable<z.ZodString>;
25281
25279
  createdAt: z.ZodString;
25280
+ name: z.ZodString;
25282
25281
  updatedAt: z.ZodString;
25282
+ description: z.ZodNullable<z.ZodString>;
25283
25283
  models: z.ZodNullable<z.ZodType<{
25284
25284
  base?: {
25285
25285
  model?: string | undefined;
@@ -25393,10 +25393,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25393
25393
  }, z.core.$strip>;
25394
25394
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25395
25395
  id: z.ZodString;
25396
- name: z.ZodString;
25397
- description: z.ZodNullable<z.ZodString>;
25398
25396
  createdAt: z.ZodString;
25397
+ name: z.ZodString;
25399
25398
  updatedAt: z.ZodString;
25399
+ description: z.ZodNullable<z.ZodString>;
25400
25400
  models: z.ZodNullable<z.ZodType<{
25401
25401
  base?: {
25402
25402
  model?: string | undefined;
@@ -25516,19 +25516,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25516
25516
  }, z.core.$strip>;
25517
25517
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25518
25518
  id: z.ZodString;
25519
- name: z.ZodString;
25520
- description: z.ZodNullable<z.ZodString>;
25521
25519
  createdAt: z.ZodString;
25520
+ name: z.ZodString;
25522
25521
  updatedAt: z.ZodString;
25522
+ description: z.ZodNullable<z.ZodString>;
25523
25523
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25524
25524
  contextConfigId: z.ZodNullable<z.ZodString>;
25525
25525
  executionMode: z.ZodString;
25526
25526
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25527
25527
  id: z.ZodString;
25528
- name: z.ZodString;
25529
- description: z.ZodNullable<z.ZodString>;
25530
25528
  createdAt: z.ZodString;
25529
+ name: z.ZodString;
25531
25530
  updatedAt: z.ZodString;
25531
+ description: z.ZodNullable<z.ZodString>;
25532
25532
  models: z.ZodNullable<z.ZodType<{
25533
25533
  base?: {
25534
25534
  model?: string | undefined;
@@ -25642,10 +25642,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25642
25642
  }, z.core.$strip>>;
25643
25643
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25644
25644
  id: z.ZodString;
25645
- name: z.ZodString;
25646
- description: z.ZodNullable<z.ZodString>;
25647
25645
  createdAt: z.ZodString;
25646
+ name: z.ZodString;
25648
25647
  updatedAt: z.ZodString;
25648
+ description: z.ZodNullable<z.ZodString>;
25649
25649
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25650
25650
  config: z.ZodType<{
25651
25651
  type: "mcp";
@@ -25669,10 +25669,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25669
25669
  }, z.core.$strip>>>;
25670
25670
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25671
25671
  id: z.ZodString;
25672
- name: z.ZodString;
25673
- description: z.ZodNullable<z.ZodString>;
25674
25672
  createdAt: z.ZodString;
25673
+ name: z.ZodString;
25675
25674
  updatedAt: z.ZodString;
25675
+ description: z.ZodNullable<z.ZodString>;
25676
25676
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25677
25677
  baseUrl: z.ZodString;
25678
25678
  }, z.core.$strip>>>;
@@ -25683,11 +25683,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25683
25683
  }, z.core.$strip>>>;
25684
25684
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25685
25685
  id: z.ZodString;
25686
- name: z.ZodString;
25687
- description: z.ZodNullable<z.ZodString>;
25688
25686
  createdAt: z.ZodString;
25687
+ name: z.ZodString;
25689
25688
  updatedAt: z.ZodString;
25690
25689
  agentId: z.ZodString;
25690
+ description: z.ZodNullable<z.ZodString>;
25691
25691
  functionId: z.ZodString;
25692
25692
  relationshipId: z.ZodOptional<z.ZodString>;
25693
25693
  }, z.core.$strip>>>;
@@ -25701,10 +25701,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25701
25701
  }, z.core.$strip>>>;
25702
25702
  contextConfig: z.ZodNullable<z.ZodObject<{
25703
25703
  id: z.ZodString;
25704
- createdAt: z.ZodString;
25705
- updatedAt: z.ZodString;
25706
25704
  headersSchema: z.ZodOptional<z.ZodAny>;
25707
25705
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25706
+ createdAt: z.ZodString;
25707
+ updatedAt: z.ZodString;
25708
25708
  }, z.core.$strip>>;
25709
25709
  statusUpdates: z.ZodNullable<z.ZodObject<{
25710
25710
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25748,19 +25748,19 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25748
25748
  }, z.core.$strip>;
25749
25749
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
25750
25750
  id: z.ZodString;
25751
- name: z.ZodString;
25752
- description: z.ZodNullable<z.ZodString>;
25753
25751
  createdAt: z.ZodString;
25752
+ name: z.ZodString;
25754
25753
  updatedAt: z.ZodString;
25754
+ description: z.ZodNullable<z.ZodString>;
25755
25755
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25756
25756
  contextConfigId: z.ZodNullable<z.ZodString>;
25757
25757
  executionMode: z.ZodString;
25758
25758
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25759
25759
  id: z.ZodString;
25760
- name: z.ZodString;
25761
- description: z.ZodNullable<z.ZodString>;
25762
25760
  createdAt: z.ZodString;
25761
+ name: z.ZodString;
25763
25762
  updatedAt: z.ZodString;
25763
+ description: z.ZodNullable<z.ZodString>;
25764
25764
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25765
25765
  config: z.ZodType<{
25766
25766
  type: "mcp";
@@ -25784,10 +25784,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25784
25784
  }, z.core.$strip>>>;
25785
25785
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25786
25786
  id: z.ZodString;
25787
- name: z.ZodString;
25788
- description: z.ZodNullable<z.ZodString>;
25789
25787
  createdAt: z.ZodString;
25788
+ name: z.ZodString;
25790
25789
  updatedAt: z.ZodString;
25790
+ description: z.ZodNullable<z.ZodString>;
25791
25791
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25792
25792
  baseUrl: z.ZodString;
25793
25793
  }, z.core.$strip>>>;
@@ -25798,11 +25798,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25798
25798
  }, z.core.$strip>>>;
25799
25799
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25800
25800
  id: z.ZodString;
25801
- name: z.ZodString;
25802
- description: z.ZodNullable<z.ZodString>;
25803
25801
  createdAt: z.ZodString;
25802
+ name: z.ZodString;
25804
25803
  updatedAt: z.ZodString;
25805
25804
  agentId: z.ZodString;
25805
+ description: z.ZodNullable<z.ZodString>;
25806
25806
  functionId: z.ZodString;
25807
25807
  relationshipId: z.ZodOptional<z.ZodString>;
25808
25808
  }, z.core.$strip>>>;
@@ -25816,10 +25816,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25816
25816
  }, z.core.$strip>>>;
25817
25817
  contextConfig: z.ZodNullable<z.ZodObject<{
25818
25818
  id: z.ZodString;
25819
- createdAt: z.ZodString;
25820
- updatedAt: z.ZodString;
25821
25819
  headersSchema: z.ZodOptional<z.ZodAny>;
25822
25820
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25821
+ createdAt: z.ZodString;
25822
+ updatedAt: z.ZodString;
25823
25823
  }, z.core.$strip>>;
25824
25824
  statusUpdates: z.ZodNullable<z.ZodObject<{
25825
25825
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25862,10 +25862,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25862
25862
  prompt: z.ZodNullable<z.ZodString>;
25863
25863
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25864
25864
  id: z.ZodString;
25865
- name: z.ZodString;
25866
- description: z.ZodNullable<z.ZodString>;
25867
25865
  createdAt: z.ZodString;
25866
+ name: z.ZodString;
25868
25867
  updatedAt: z.ZodString;
25868
+ description: z.ZodNullable<z.ZodString>;
25869
25869
  models: z.ZodNullable<z.ZodType<{
25870
25870
  base?: {
25871
25871
  model?: string | undefined;
@@ -25986,10 +25986,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25986
25986
  }, z.core.$strip>;
25987
25987
  declare const FullProjectSelectSchema: z.ZodObject<{
25988
25988
  id: z.ZodString;
25989
- name: z.ZodString;
25990
- description: z.ZodNullable<z.ZodString>;
25991
25989
  createdAt: z.ZodString;
25990
+ name: z.ZodString;
25992
25991
  updatedAt: z.ZodString;
25992
+ description: z.ZodNullable<z.ZodString>;
25993
25993
  models: z.ZodNullable<z.ZodObject<{
25994
25994
  base: z.ZodObject<{
25995
25995
  model: z.ZodOptional<z.ZodString>;
@@ -26016,19 +26016,19 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26016
26016
  }, z.core.$strip>>;
26017
26017
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26018
26018
  id: z.ZodString;
26019
- name: z.ZodString;
26020
- description: z.ZodNullable<z.ZodString>;
26021
26019
  createdAt: z.ZodString;
26020
+ name: z.ZodString;
26022
26021
  updatedAt: z.ZodString;
26022
+ description: z.ZodNullable<z.ZodString>;
26023
26023
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26024
26024
  contextConfigId: z.ZodNullable<z.ZodString>;
26025
26025
  executionMode: z.ZodString;
26026
26026
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26027
26027
  id: z.ZodString;
26028
- name: z.ZodString;
26029
- description: z.ZodNullable<z.ZodString>;
26030
26028
  createdAt: z.ZodString;
26029
+ name: z.ZodString;
26031
26030
  updatedAt: z.ZodString;
26031
+ description: z.ZodNullable<z.ZodString>;
26032
26032
  models: z.ZodNullable<z.ZodType<{
26033
26033
  base?: {
26034
26034
  model?: string | undefined;
@@ -26142,10 +26142,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26142
26142
  }, z.core.$strip>>;
26143
26143
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26144
26144
  id: z.ZodString;
26145
- name: z.ZodString;
26146
- description: z.ZodNullable<z.ZodString>;
26147
26145
  createdAt: z.ZodString;
26146
+ name: z.ZodString;
26148
26147
  updatedAt: z.ZodString;
26148
+ description: z.ZodNullable<z.ZodString>;
26149
26149
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26150
26150
  config: z.ZodType<{
26151
26151
  type: "mcp";
@@ -26169,10 +26169,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26169
26169
  }, z.core.$strip>>>;
26170
26170
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26171
26171
  id: z.ZodString;
26172
- name: z.ZodString;
26173
- description: z.ZodNullable<z.ZodString>;
26174
26172
  createdAt: z.ZodString;
26173
+ name: z.ZodString;
26175
26174
  updatedAt: z.ZodString;
26175
+ description: z.ZodNullable<z.ZodString>;
26176
26176
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26177
26177
  baseUrl: z.ZodString;
26178
26178
  }, z.core.$strip>>>;
@@ -26183,11 +26183,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26183
26183
  }, z.core.$strip>>>;
26184
26184
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26185
26185
  id: z.ZodString;
26186
- name: z.ZodString;
26187
- description: z.ZodNullable<z.ZodString>;
26188
26186
  createdAt: z.ZodString;
26187
+ name: z.ZodString;
26189
26188
  updatedAt: z.ZodString;
26190
26189
  agentId: z.ZodString;
26190
+ description: z.ZodNullable<z.ZodString>;
26191
26191
  functionId: z.ZodString;
26192
26192
  relationshipId: z.ZodOptional<z.ZodString>;
26193
26193
  }, z.core.$strip>>>;
@@ -26201,10 +26201,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26201
26201
  }, z.core.$strip>>>;
26202
26202
  contextConfig: z.ZodNullable<z.ZodObject<{
26203
26203
  id: z.ZodString;
26204
- createdAt: z.ZodString;
26205
- updatedAt: z.ZodString;
26206
26204
  headersSchema: z.ZodOptional<z.ZodAny>;
26207
26205
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26206
+ createdAt: z.ZodString;
26207
+ updatedAt: z.ZodString;
26208
26208
  }, z.core.$strip>>;
26209
26209
  statusUpdates: z.ZodNullable<z.ZodObject<{
26210
26210
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26248,10 +26248,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26248
26248
  }, z.core.$strip>>;
26249
26249
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26250
26250
  id: z.ZodString;
26251
- name: z.ZodString;
26252
- description: z.ZodNullable<z.ZodString>;
26253
26251
  createdAt: z.ZodString;
26252
+ name: z.ZodString;
26254
26253
  updatedAt: z.ZodString;
26254
+ description: z.ZodNullable<z.ZodString>;
26255
26255
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26256
26256
  config: z.ZodType<{
26257
26257
  type: "mcp";
@@ -26275,11 +26275,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26275
26275
  }, z.core.$strip>>;
26276
26276
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26277
26277
  id: z.ZodString;
26278
- name: z.ZodString;
26279
- description: z.ZodNullable<z.ZodString>;
26280
26278
  createdAt: z.ZodString;
26279
+ name: z.ZodString;
26281
26280
  updatedAt: z.ZodString;
26282
26281
  agentId: z.ZodString;
26282
+ description: z.ZodNullable<z.ZodString>;
26283
26283
  functionId: z.ZodString;
26284
26284
  relationshipId: z.ZodOptional<z.ZodString>;
26285
26285
  }, z.core.$strip>>>;
@@ -26293,10 +26293,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26293
26293
  }, z.core.$strip>>>;
26294
26294
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26295
26295
  id: z.ZodString;
26296
- name: z.ZodString;
26297
- description: z.ZodNullable<z.ZodString>;
26298
26296
  createdAt: z.ZodString;
26297
+ name: z.ZodString;
26299
26298
  updatedAt: z.ZodString;
26299
+ description: z.ZodNullable<z.ZodString>;
26300
26300
  props: z.ZodType<{
26301
26301
  [x: string]: unknown;
26302
26302
  type: "object";
@@ -26342,10 +26342,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26342
26342
  }, z.core.$strip>>>;
26343
26343
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26344
26344
  id: z.ZodString;
26345
- name: z.ZodString;
26346
- description: z.ZodNullable<z.ZodString>;
26347
26345
  createdAt: z.ZodString;
26346
+ name: z.ZodString;
26348
26347
  updatedAt: z.ZodString;
26348
+ description: z.ZodNullable<z.ZodString>;
26349
26349
  props: z.ZodNullable<z.ZodType<{
26350
26350
  [x: string]: unknown;
26351
26351
  type: "object";
@@ -26391,10 +26391,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26391
26391
  }, z.core.$strip>>>;
26392
26392
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26393
26393
  id: z.ZodString;
26394
- name: z.ZodString;
26395
- description: z.ZodNullable<z.ZodString>;
26396
26394
  createdAt: z.ZodString;
26395
+ name: z.ZodString;
26397
26396
  updatedAt: z.ZodString;
26397
+ description: z.ZodNullable<z.ZodString>;
26398
26398
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26399
26399
  baseUrl: z.ZodString;
26400
26400
  }, z.core.$strip>>>;
@@ -26415,14 +26415,14 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26415
26415
  }, z.core.$strict>>;
26416
26416
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26417
26417
  id: z.ZodString;
26418
- name: z.ZodString;
26419
26418
  createdAt: z.ZodString;
26419
+ name: z.ZodString;
26420
26420
  updatedAt: z.ZodString;
26421
- userId: z.ZodNullable<z.ZodString>;
26421
+ toolId: z.ZodNullable<z.ZodString>;
26422
26422
  createdBy: z.ZodNullable<z.ZodString>;
26423
26423
  credentialStoreId: z.ZodString;
26424
26424
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26425
- toolId: z.ZodNullable<z.ZodString>;
26425
+ userId: z.ZodNullable<z.ZodString>;
26426
26426
  type: z.ZodEnum<{
26427
26427
  readonly memory: "memory";
26428
26428
  readonly keychain: "keychain";
@@ -26465,7 +26465,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26465
26465
  generated: undefined;
26466
26466
  }, {}, {}>;
26467
26467
  config: drizzle_orm_pg_core0.PgColumn<{
26468
- name: string;
26468
+ name: "config";
26469
26469
  tableName: "tools";
26470
26470
  dataType: "json";
26471
26471
  columnType: "PgJsonb";
@@ -26528,7 +26528,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26528
26528
  length: 50;
26529
26529
  }>;
26530
26530
  headers: drizzle_orm_pg_core0.PgColumn<{
26531
- name: string;
26531
+ name: "headers";
26532
26532
  tableName: "tools";
26533
26533
  dataType: "json";
26534
26534
  columnType: "PgJsonb";
@@ -26564,7 +26564,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26564
26564
  generated: undefined;
26565
26565
  }, {}, {}>;
26566
26566
  capabilities: drizzle_orm_pg_core0.PgColumn<{
26567
- name: string;
26567
+ name: "capabilities";
26568
26568
  tableName: "tools";
26569
26569
  dataType: "json";
26570
26570
  columnType: "PgJsonb";
@@ -26745,7 +26745,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26745
26745
  generated: undefined;
26746
26746
  }, {}, {}>;
26747
26747
  config: drizzle_orm_pg_core0.PgColumn<{
26748
- name: string;
26748
+ name: "config";
26749
26749
  tableName: "tools";
26750
26750
  dataType: "json";
26751
26751
  columnType: "PgJsonb";
@@ -26808,7 +26808,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26808
26808
  length: 50;
26809
26809
  }>;
26810
26810
  headers: drizzle_orm_pg_core0.PgColumn<{
26811
- name: string;
26811
+ name: "headers";
26812
26812
  tableName: "tools";
26813
26813
  dataType: "json";
26814
26814
  columnType: "PgJsonb";
@@ -26844,7 +26844,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26844
26844
  generated: undefined;
26845
26845
  }, {}, {}>;
26846
26846
  capabilities: drizzle_orm_pg_core0.PgColumn<{
26847
- name: string;
26847
+ name: "capabilities";
26848
26848
  tableName: "tools";
26849
26849
  dataType: "json";
26850
26850
  columnType: "PgJsonb";
@@ -27011,10 +27011,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27011
27011
  }>;
27012
27012
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27013
27013
  id: z.ZodString;
27014
- name: z.ZodString;
27015
- description: z.ZodNullable<z.ZodString>;
27016
27014
  createdAt: z.ZodString;
27015
+ name: z.ZodString;
27017
27016
  updatedAt: z.ZodString;
27017
+ description: z.ZodNullable<z.ZodString>;
27018
27018
  models: z.ZodNullable<z.ZodObject<{
27019
27019
  base: z.ZodObject<{
27020
27020
  model: z.ZodOptional<z.ZodString>;
@@ -27041,10 +27041,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27041
27041
  }, z.core.$strip>>;
27042
27042
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
27043
27043
  id: z.ZodString;
27044
- name: z.ZodString;
27045
- description: z.ZodNullable<z.ZodString>;
27046
27044
  createdAt: z.ZodString;
27045
+ name: z.ZodString;
27047
27046
  updatedAt: z.ZodString;
27047
+ description: z.ZodNullable<z.ZodString>;
27048
27048
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27049
27049
  config: z.ZodType<{
27050
27050
  type: "mcp";
@@ -27068,11 +27068,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27068
27068
  }, z.core.$strip>>;
27069
27069
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27070
27070
  id: z.ZodString;
27071
- name: z.ZodString;
27072
- description: z.ZodNullable<z.ZodString>;
27073
27071
  createdAt: z.ZodString;
27072
+ name: z.ZodString;
27074
27073
  updatedAt: z.ZodString;
27075
27074
  agentId: z.ZodString;
27075
+ description: z.ZodNullable<z.ZodString>;
27076
27076
  functionId: z.ZodString;
27077
27077
  relationshipId: z.ZodOptional<z.ZodString>;
27078
27078
  }, z.core.$strip>>>;
@@ -27086,10 +27086,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27086
27086
  }, z.core.$strip>>>;
27087
27087
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27088
27088
  id: z.ZodString;
27089
- name: z.ZodString;
27090
- description: z.ZodNullable<z.ZodString>;
27091
27089
  createdAt: z.ZodString;
27090
+ name: z.ZodString;
27092
27091
  updatedAt: z.ZodString;
27092
+ description: z.ZodNullable<z.ZodString>;
27093
27093
  props: z.ZodType<{
27094
27094
  [x: string]: unknown;
27095
27095
  type: "object";
@@ -27135,10 +27135,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27135
27135
  }, z.core.$strip>>>;
27136
27136
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27137
27137
  id: z.ZodString;
27138
- name: z.ZodString;
27139
- description: z.ZodNullable<z.ZodString>;
27140
27138
  createdAt: z.ZodString;
27139
+ name: z.ZodString;
27141
27140
  updatedAt: z.ZodString;
27141
+ description: z.ZodNullable<z.ZodString>;
27142
27142
  props: z.ZodNullable<z.ZodType<{
27143
27143
  [x: string]: unknown;
27144
27144
  type: "object";
@@ -27184,10 +27184,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27184
27184
  }, z.core.$strip>>>;
27185
27185
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27186
27186
  id: z.ZodString;
27187
- name: z.ZodString;
27188
- description: z.ZodNullable<z.ZodString>;
27189
27187
  createdAt: z.ZodString;
27188
+ name: z.ZodString;
27190
27189
  updatedAt: z.ZodString;
27190
+ description: z.ZodNullable<z.ZodString>;
27191
27191
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27192
27192
  baseUrl: z.ZodString;
27193
27193
  }, z.core.$strip>>>;
@@ -27208,14 +27208,14 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27208
27208
  }, z.core.$strict>>;
27209
27209
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27210
27210
  id: z.ZodString;
27211
- name: z.ZodString;
27212
27211
  createdAt: z.ZodString;
27212
+ name: z.ZodString;
27213
27213
  updatedAt: z.ZodString;
27214
- userId: z.ZodNullable<z.ZodString>;
27214
+ toolId: z.ZodNullable<z.ZodString>;
27215
27215
  createdBy: z.ZodNullable<z.ZodString>;
27216
27216
  credentialStoreId: z.ZodString;
27217
27217
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27218
- toolId: z.ZodNullable<z.ZodString>;
27218
+ userId: z.ZodNullable<z.ZodString>;
27219
27219
  type: z.ZodEnum<{
27220
27220
  readonly memory: "memory";
27221
27221
  readonly keychain: "keychain";
@@ -27258,7 +27258,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27258
27258
  generated: undefined;
27259
27259
  }, {}, {}>;
27260
27260
  config: drizzle_orm_pg_core0.PgColumn<{
27261
- name: string;
27261
+ name: "config";
27262
27262
  tableName: "tools";
27263
27263
  dataType: "json";
27264
27264
  columnType: "PgJsonb";
@@ -27321,7 +27321,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27321
27321
  length: 50;
27322
27322
  }>;
27323
27323
  headers: drizzle_orm_pg_core0.PgColumn<{
27324
- name: string;
27324
+ name: "headers";
27325
27325
  tableName: "tools";
27326
27326
  dataType: "json";
27327
27327
  columnType: "PgJsonb";
@@ -27357,7 +27357,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27357
27357
  generated: undefined;
27358
27358
  }, {}, {}>;
27359
27359
  capabilities: drizzle_orm_pg_core0.PgColumn<{
27360
- name: string;
27360
+ name: "capabilities";
27361
27361
  tableName: "tools";
27362
27362
  dataType: "json";
27363
27363
  columnType: "PgJsonb";
@@ -27538,7 +27538,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27538
27538
  generated: undefined;
27539
27539
  }, {}, {}>;
27540
27540
  config: drizzle_orm_pg_core0.PgColumn<{
27541
- name: string;
27541
+ name: "config";
27542
27542
  tableName: "tools";
27543
27543
  dataType: "json";
27544
27544
  columnType: "PgJsonb";
@@ -27601,7 +27601,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27601
27601
  length: 50;
27602
27602
  }>;
27603
27603
  headers: drizzle_orm_pg_core0.PgColumn<{
27604
- name: string;
27604
+ name: "headers";
27605
27605
  tableName: "tools";
27606
27606
  dataType: "json";
27607
27607
  columnType: "PgJsonb";
@@ -27637,7 +27637,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27637
27637
  generated: undefined;
27638
27638
  }, {}, {}>;
27639
27639
  capabilities: drizzle_orm_pg_core0.PgColumn<{
27640
- name: string;
27640
+ name: "capabilities";
27641
27641
  tableName: "tools";
27642
27642
  dataType: "json";
27643
27643
  columnType: "PgJsonb";
@@ -27800,19 +27800,19 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27800
27800
  }, z.core.$strip>>>;
27801
27801
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27802
27802
  id: z.ZodString;
27803
- name: z.ZodString;
27804
- description: z.ZodNullable<z.ZodString>;
27805
27803
  createdAt: z.ZodString;
27804
+ name: z.ZodString;
27806
27805
  updatedAt: z.ZodString;
27806
+ description: z.ZodNullable<z.ZodString>;
27807
27807
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27808
27808
  contextConfigId: z.ZodNullable<z.ZodString>;
27809
27809
  executionMode: z.ZodString;
27810
27810
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27811
27811
  id: z.ZodString;
27812
- name: z.ZodString;
27813
- description: z.ZodNullable<z.ZodString>;
27814
27812
  createdAt: z.ZodString;
27813
+ name: z.ZodString;
27815
27814
  updatedAt: z.ZodString;
27815
+ description: z.ZodNullable<z.ZodString>;
27816
27816
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27817
27817
  config: z.ZodType<{
27818
27818
  type: "mcp";
@@ -27836,10 +27836,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27836
27836
  }, z.core.$strip>>>;
27837
27837
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27838
27838
  id: z.ZodString;
27839
- name: z.ZodString;
27840
- description: z.ZodNullable<z.ZodString>;
27841
27839
  createdAt: z.ZodString;
27840
+ name: z.ZodString;
27842
27841
  updatedAt: z.ZodString;
27842
+ description: z.ZodNullable<z.ZodString>;
27843
27843
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27844
27844
  baseUrl: z.ZodString;
27845
27845
  }, z.core.$strip>>>;
@@ -27850,11 +27850,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27850
27850
  }, z.core.$strip>>>;
27851
27851
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27852
27852
  id: z.ZodString;
27853
- name: z.ZodString;
27854
- description: z.ZodNullable<z.ZodString>;
27855
27853
  createdAt: z.ZodString;
27854
+ name: z.ZodString;
27856
27855
  updatedAt: z.ZodString;
27857
27856
  agentId: z.ZodString;
27857
+ description: z.ZodNullable<z.ZodString>;
27858
27858
  functionId: z.ZodString;
27859
27859
  relationshipId: z.ZodOptional<z.ZodString>;
27860
27860
  }, z.core.$strip>>>;
@@ -27868,10 +27868,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27868
27868
  }, z.core.$strip>>>;
27869
27869
  contextConfig: z.ZodNullable<z.ZodObject<{
27870
27870
  id: z.ZodString;
27871
- createdAt: z.ZodString;
27872
- updatedAt: z.ZodString;
27873
27871
  headersSchema: z.ZodOptional<z.ZodAny>;
27874
27872
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27873
+ createdAt: z.ZodString;
27874
+ updatedAt: z.ZodString;
27875
27875
  }, z.core.$strip>>;
27876
27876
  statusUpdates: z.ZodNullable<z.ZodObject<{
27877
27877
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27914,10 +27914,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27914
27914
  prompt: z.ZodNullable<z.ZodString>;
27915
27915
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27916
27916
  id: z.ZodString;
27917
- name: z.ZodString;
27918
- description: z.ZodNullable<z.ZodString>;
27919
27917
  createdAt: z.ZodString;
27918
+ name: z.ZodString;
27920
27919
  updatedAt: z.ZodString;
27920
+ description: z.ZodNullable<z.ZodString>;
27921
27921
  models: z.ZodNullable<z.ZodType<{
27922
27922
  base?: {
27923
27923
  model?: string | undefined;
@@ -28043,10 +28043,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28043
28043
  declare const ProjectResponse: z.ZodObject<{
28044
28044
  data: z.ZodObject<{
28045
28045
  id: z.ZodString;
28046
- name: z.ZodString;
28047
- description: z.ZodNullable<z.ZodString>;
28048
28046
  createdAt: z.ZodString;
28047
+ name: z.ZodString;
28049
28048
  updatedAt: z.ZodString;
28049
+ description: z.ZodNullable<z.ZodString>;
28050
28050
  models: z.ZodNullable<z.ZodObject<{
28051
28051
  base: z.ZodObject<{
28052
28052
  model: z.ZodOptional<z.ZodString>;
@@ -28079,10 +28079,10 @@ declare const ProjectResponse: z.ZodObject<{
28079
28079
  declare const SubAgentResponse: z.ZodObject<{
28080
28080
  data: z.ZodObject<{
28081
28081
  id: z.ZodString;
28082
- name: z.ZodString;
28083
- description: z.ZodNullable<z.ZodString>;
28084
28082
  createdAt: z.ZodString;
28083
+ name: z.ZodString;
28085
28084
  updatedAt: z.ZodString;
28085
+ description: z.ZodNullable<z.ZodString>;
28086
28086
  models: z.ZodNullable<z.ZodType<{
28087
28087
  base?: {
28088
28088
  model?: string | undefined;
@@ -28160,6 +28160,7 @@ declare const SubAgentResponse: z.ZodObject<{
28160
28160
  allowedProviders?: string[] | undefined;
28161
28161
  } | undefined;
28162
28162
  }>>>;
28163
+ prompt: z.ZodNullable<z.ZodString>;
28163
28164
  stopWhen: z.ZodNullable<z.ZodType<{
28164
28165
  stepCountIs?: number | undefined;
28165
28166
  }, {
@@ -28169,17 +28170,18 @@ declare const SubAgentResponse: z.ZodObject<{
28169
28170
  }, {
28170
28171
  stepCountIs?: number | undefined;
28171
28172
  }>>>;
28172
- prompt: z.ZodNullable<z.ZodString>;
28173
28173
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28174
28174
  }, z.core.$strip>;
28175
28175
  }, z.core.$strip>;
28176
28176
  declare const AgentResponse: z.ZodObject<{
28177
28177
  data: z.ZodObject<{
28178
28178
  id: z.ZodString;
28179
- name: z.ZodString;
28180
- description: z.ZodNullable<z.ZodString>;
28181
28179
  createdAt: z.ZodString;
28180
+ name: z.ZodString;
28182
28181
  updatedAt: z.ZodString;
28182
+ description: z.ZodNullable<z.ZodString>;
28183
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28184
+ contextConfigId: z.ZodNullable<z.ZodString>;
28183
28185
  models: z.ZodNullable<z.ZodType<{
28184
28186
  base?: {
28185
28187
  model?: string | undefined;
@@ -28257,18 +28259,7 @@ declare const AgentResponse: z.ZodObject<{
28257
28259
  allowedProviders?: string[] | undefined;
28258
28260
  } | undefined;
28259
28261
  }>>>;
28260
- stopWhen: z.ZodNullable<z.ZodType<{
28261
- transferCountIs?: number | undefined;
28262
- }, {
28263
- transferCountIs?: number | undefined;
28264
- }, z.core.$ZodTypeInternals<{
28265
- transferCountIs?: number | undefined;
28266
- }, {
28267
- transferCountIs?: number | undefined;
28268
- }>>>;
28269
28262
  prompt: z.ZodNullable<z.ZodString>;
28270
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28271
- contextConfigId: z.ZodNullable<z.ZodString>;
28272
28263
  statusUpdates: z.ZodNullable<z.ZodType<{
28273
28264
  enabled?: boolean | undefined;
28274
28265
  numEvents?: number | undefined;
@@ -28326,16 +28317,25 @@ declare const AgentResponse: z.ZodObject<{
28326
28317
  } | undefined;
28327
28318
  }[] | undefined;
28328
28319
  }>>>;
28320
+ stopWhen: z.ZodNullable<z.ZodType<{
28321
+ transferCountIs?: number | undefined;
28322
+ }, {
28323
+ transferCountIs?: number | undefined;
28324
+ }, z.core.$ZodTypeInternals<{
28325
+ transferCountIs?: number | undefined;
28326
+ }, {
28327
+ transferCountIs?: number | undefined;
28328
+ }>>>;
28329
28329
  executionMode: z.ZodString;
28330
28330
  }, z.core.$strip>;
28331
28331
  }, z.core.$strip>;
28332
28332
  declare const ExternalAgentResponse: z.ZodObject<{
28333
28333
  data: z.ZodObject<{
28334
28334
  id: z.ZodString;
28335
- name: z.ZodString;
28336
- description: z.ZodNullable<z.ZodString>;
28337
28335
  createdAt: z.ZodString;
28336
+ name: z.ZodString;
28338
28337
  updatedAt: z.ZodString;
28338
+ description: z.ZodNullable<z.ZodString>;
28339
28339
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28340
28340
  baseUrl: z.ZodString;
28341
28341
  }, z.core.$strip>;
@@ -28343,17 +28343,17 @@ declare const ExternalAgentResponse: z.ZodObject<{
28343
28343
  declare const ContextConfigResponse: z.ZodObject<{
28344
28344
  data: z.ZodObject<{
28345
28345
  id: z.ZodString;
28346
- createdAt: z.ZodString;
28347
- updatedAt: z.ZodString;
28348
28346
  headersSchema: z.ZodOptional<z.ZodAny>;
28349
28347
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28348
+ createdAt: z.ZodString;
28349
+ updatedAt: z.ZodString;
28350
28350
  }, z.core.$strip>;
28351
28351
  }, z.core.$strip>;
28352
28352
  declare const ApiKeyResponse: z.ZodObject<{
28353
28353
  data: z.ZodObject<{
28354
28354
  id: z.ZodString;
28355
- name: z.ZodNullable<z.ZodString>;
28356
28355
  createdAt: z.ZodString;
28356
+ name: z.ZodNullable<z.ZodString>;
28357
28357
  updatedAt: z.ZodString;
28358
28358
  agentId: z.ZodString;
28359
28359
  publicId: z.ZodString;
@@ -28368,14 +28368,14 @@ declare const ApiKeyResponse: z.ZodObject<{
28368
28368
  declare const CredentialReferenceResponse: z.ZodObject<{
28369
28369
  data: z.ZodObject<{
28370
28370
  id: z.ZodString;
28371
- name: z.ZodString;
28372
28371
  createdAt: z.ZodString;
28372
+ name: z.ZodString;
28373
28373
  updatedAt: z.ZodString;
28374
- userId: z.ZodNullable<z.ZodString>;
28374
+ toolId: z.ZodNullable<z.ZodString>;
28375
28375
  createdBy: z.ZodNullable<z.ZodString>;
28376
28376
  credentialStoreId: z.ZodString;
28377
28377
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28378
- toolId: z.ZodNullable<z.ZodString>;
28378
+ userId: z.ZodNullable<z.ZodString>;
28379
28379
  type: z.ZodEnum<{
28380
28380
  readonly memory: "memory";
28381
28381
  readonly keychain: "keychain";
@@ -28418,7 +28418,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28418
28418
  generated: undefined;
28419
28419
  }, {}, {}>;
28420
28420
  config: drizzle_orm_pg_core0.PgColumn<{
28421
- name: string;
28421
+ name: "config";
28422
28422
  tableName: "tools";
28423
28423
  dataType: "json";
28424
28424
  columnType: "PgJsonb";
@@ -28481,7 +28481,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28481
28481
  length: 50;
28482
28482
  }>;
28483
28483
  headers: drizzle_orm_pg_core0.PgColumn<{
28484
- name: string;
28484
+ name: "headers";
28485
28485
  tableName: "tools";
28486
28486
  dataType: "json";
28487
28487
  columnType: "PgJsonb";
@@ -28517,7 +28517,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28517
28517
  generated: undefined;
28518
28518
  }, {}, {}>;
28519
28519
  capabilities: drizzle_orm_pg_core0.PgColumn<{
28520
- name: string;
28520
+ name: "capabilities";
28521
28521
  tableName: "tools";
28522
28522
  dataType: "json";
28523
28523
  columnType: "PgJsonb";
@@ -28698,7 +28698,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28698
28698
  generated: undefined;
28699
28699
  }, {}, {}>;
28700
28700
  config: drizzle_orm_pg_core0.PgColumn<{
28701
- name: string;
28701
+ name: "config";
28702
28702
  tableName: "tools";
28703
28703
  dataType: "json";
28704
28704
  columnType: "PgJsonb";
@@ -28761,7 +28761,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28761
28761
  length: 50;
28762
28762
  }>;
28763
28763
  headers: drizzle_orm_pg_core0.PgColumn<{
28764
- name: string;
28764
+ name: "headers";
28765
28765
  tableName: "tools";
28766
28766
  dataType: "json";
28767
28767
  columnType: "PgJsonb";
@@ -28797,7 +28797,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28797
28797
  generated: undefined;
28798
28798
  }, {}, {}>;
28799
28799
  capabilities: drizzle_orm_pg_core0.PgColumn<{
28800
- name: string;
28800
+ name: "capabilities";
28801
28801
  tableName: "tools";
28802
28802
  dataType: "json";
28803
28803
  columnType: "PgJsonb";
@@ -28972,11 +28972,11 @@ declare const FunctionResponse: z.ZodObject<{
28972
28972
  declare const FunctionToolResponse: z.ZodObject<{
28973
28973
  data: z.ZodObject<{
28974
28974
  id: z.ZodString;
28975
- name: z.ZodString;
28976
- description: z.ZodNullable<z.ZodString>;
28977
28975
  createdAt: z.ZodString;
28976
+ name: z.ZodString;
28978
28977
  updatedAt: z.ZodString;
28979
28978
  agentId: z.ZodString;
28979
+ description: z.ZodNullable<z.ZodString>;
28980
28980
  functionId: z.ZodString;
28981
28981
  relationshipId: z.ZodOptional<z.ZodString>;
28982
28982
  }, z.core.$strip>;
@@ -28994,10 +28994,10 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28994
28994
  declare const DataComponentResponse: z.ZodObject<{
28995
28995
  data: z.ZodObject<{
28996
28996
  id: z.ZodString;
28997
- name: z.ZodString;
28998
- description: z.ZodNullable<z.ZodString>;
28999
28997
  createdAt: z.ZodString;
28998
+ name: z.ZodString;
29000
28999
  updatedAt: z.ZodString;
29000
+ description: z.ZodNullable<z.ZodString>;
29001
29001
  props: z.ZodType<{
29002
29002
  [x: string]: unknown;
29003
29003
  type: "object";
@@ -29045,10 +29045,10 @@ declare const DataComponentResponse: z.ZodObject<{
29045
29045
  declare const ArtifactComponentResponse: z.ZodObject<{
29046
29046
  data: z.ZodObject<{
29047
29047
  id: z.ZodString;
29048
- name: z.ZodString;
29049
- description: z.ZodNullable<z.ZodString>;
29050
29048
  createdAt: z.ZodString;
29049
+ name: z.ZodString;
29051
29050
  updatedAt: z.ZodString;
29051
+ description: z.ZodNullable<z.ZodString>;
29052
29052
  props: z.ZodNullable<z.ZodType<{
29053
29053
  [x: string]: unknown;
29054
29054
  type: "object";
@@ -29109,8 +29109,8 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29109
29109
  createdAt: z.ZodString;
29110
29110
  updatedAt: z.ZodString;
29111
29111
  subAgentId: z.ZodString;
29112
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29113
29112
  toolId: z.ZodString;
29113
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29114
29114
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29115
29115
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29116
29116
  }, z.core.$strip>;
@@ -29118,12 +29118,12 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29118
29118
  declare const TriggerResponse: z.ZodObject<{
29119
29119
  data: z.ZodObject<{
29120
29120
  id: z.ZodString;
29121
- name: z.ZodString;
29122
- description: z.ZodNullable<z.ZodString>;
29123
29121
  createdAt: z.ZodString;
29122
+ name: z.ZodString;
29124
29123
  updatedAt: z.ZodString;
29125
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29124
+ description: z.ZodNullable<z.ZodString>;
29126
29125
  enabled: z.ZodBoolean;
29126
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29127
29127
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29128
29128
  messageTemplate: z.ZodNullable<z.ZodString>;
29129
29129
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -29181,6 +29181,12 @@ declare const TriggerResponse: z.ZodObject<{
29181
29181
  declare const TriggerInvocationResponse: z.ZodObject<{
29182
29182
  data: z.ZodObject<{
29183
29183
  id: z.ZodString;
29184
+ createdAt: z.ZodString;
29185
+ status: z.ZodString;
29186
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29187
+ triggerId: z.ZodString;
29188
+ conversationId: z.ZodNullable<z.ZodString>;
29189
+ batchId: z.ZodNullable<z.ZodString>;
29184
29190
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29185
29191
  type: z.ZodEnum<{
29186
29192
  commit: "commit";
@@ -29190,12 +29196,6 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29190
29196
  name: z.ZodString;
29191
29197
  hash: z.ZodString;
29192
29198
  }, z.core.$strip>>>;
29193
- createdAt: z.ZodString;
29194
- status: z.ZodString;
29195
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29196
- triggerId: z.ZodString;
29197
- conversationId: z.ZodNullable<z.ZodString>;
29198
- batchId: z.ZodNullable<z.ZodString>;
29199
29199
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
29200
29200
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29201
29201
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -29215,10 +29215,10 @@ declare const FeedbackResponse: z.ZodObject<{
29215
29215
  declare const ProjectListResponse: z.ZodObject<{
29216
29216
  data: z.ZodArray<z.ZodObject<{
29217
29217
  id: z.ZodString;
29218
- name: z.ZodString;
29219
- description: z.ZodNullable<z.ZodString>;
29220
29218
  createdAt: z.ZodString;
29219
+ name: z.ZodString;
29221
29220
  updatedAt: z.ZodString;
29221
+ description: z.ZodNullable<z.ZodString>;
29222
29222
  models: z.ZodNullable<z.ZodObject<{
29223
29223
  base: z.ZodObject<{
29224
29224
  model: z.ZodOptional<z.ZodString>;
@@ -29257,10 +29257,10 @@ declare const ProjectListResponse: z.ZodObject<{
29257
29257
  declare const SubAgentListResponse: z.ZodObject<{
29258
29258
  data: z.ZodArray<z.ZodObject<{
29259
29259
  id: z.ZodString;
29260
- name: z.ZodString;
29261
- description: z.ZodNullable<z.ZodString>;
29262
29260
  createdAt: z.ZodString;
29261
+ name: z.ZodString;
29263
29262
  updatedAt: z.ZodString;
29263
+ description: z.ZodNullable<z.ZodString>;
29264
29264
  models: z.ZodNullable<z.ZodType<{
29265
29265
  base?: {
29266
29266
  model?: string | undefined;
@@ -29338,6 +29338,7 @@ declare const SubAgentListResponse: z.ZodObject<{
29338
29338
  allowedProviders?: string[] | undefined;
29339
29339
  } | undefined;
29340
29340
  }>>>;
29341
+ prompt: z.ZodNullable<z.ZodString>;
29341
29342
  stopWhen: z.ZodNullable<z.ZodType<{
29342
29343
  stepCountIs?: number | undefined;
29343
29344
  }, {
@@ -29347,7 +29348,6 @@ declare const SubAgentListResponse: z.ZodObject<{
29347
29348
  }, {
29348
29349
  stepCountIs?: number | undefined;
29349
29350
  }>>>;
29350
- prompt: z.ZodNullable<z.ZodString>;
29351
29351
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29352
29352
  }, z.core.$strip>>;
29353
29353
  pagination: z.ZodObject<{
@@ -29360,10 +29360,12 @@ declare const SubAgentListResponse: z.ZodObject<{
29360
29360
  declare const AgentListResponse: z.ZodObject<{
29361
29361
  data: z.ZodArray<z.ZodObject<{
29362
29362
  id: z.ZodString;
29363
- name: z.ZodString;
29364
- description: z.ZodNullable<z.ZodString>;
29365
29363
  createdAt: z.ZodString;
29364
+ name: z.ZodString;
29366
29365
  updatedAt: z.ZodString;
29366
+ description: z.ZodNullable<z.ZodString>;
29367
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
29368
+ contextConfigId: z.ZodNullable<z.ZodString>;
29367
29369
  models: z.ZodNullable<z.ZodType<{
29368
29370
  base?: {
29369
29371
  model?: string | undefined;
@@ -29441,18 +29443,7 @@ declare const AgentListResponse: z.ZodObject<{
29441
29443
  allowedProviders?: string[] | undefined;
29442
29444
  } | undefined;
29443
29445
  }>>>;
29444
- stopWhen: z.ZodNullable<z.ZodType<{
29445
- transferCountIs?: number | undefined;
29446
- }, {
29447
- transferCountIs?: number | undefined;
29448
- }, z.core.$ZodTypeInternals<{
29449
- transferCountIs?: number | undefined;
29450
- }, {
29451
- transferCountIs?: number | undefined;
29452
- }>>>;
29453
29446
  prompt: z.ZodNullable<z.ZodString>;
29454
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
29455
- contextConfigId: z.ZodNullable<z.ZodString>;
29456
29447
  statusUpdates: z.ZodNullable<z.ZodType<{
29457
29448
  enabled?: boolean | undefined;
29458
29449
  numEvents?: number | undefined;
@@ -29510,6 +29501,15 @@ declare const AgentListResponse: z.ZodObject<{
29510
29501
  } | undefined;
29511
29502
  }[] | undefined;
29512
29503
  }>>>;
29504
+ stopWhen: z.ZodNullable<z.ZodType<{
29505
+ transferCountIs?: number | undefined;
29506
+ }, {
29507
+ transferCountIs?: number | undefined;
29508
+ }, z.core.$ZodTypeInternals<{
29509
+ transferCountIs?: number | undefined;
29510
+ }, {
29511
+ transferCountIs?: number | undefined;
29512
+ }>>>;
29513
29513
  executionMode: z.ZodString;
29514
29514
  }, z.core.$strip>>;
29515
29515
  pagination: z.ZodObject<{
@@ -29522,10 +29522,10 @@ declare const AgentListResponse: z.ZodObject<{
29522
29522
  declare const ExternalAgentListResponse: z.ZodObject<{
29523
29523
  data: z.ZodArray<z.ZodObject<{
29524
29524
  id: z.ZodString;
29525
- name: z.ZodString;
29526
- description: z.ZodNullable<z.ZodString>;
29527
29525
  createdAt: z.ZodString;
29526
+ name: z.ZodString;
29528
29527
  updatedAt: z.ZodString;
29528
+ description: z.ZodNullable<z.ZodString>;
29529
29529
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29530
29530
  baseUrl: z.ZodString;
29531
29531
  }, z.core.$strip>>;
@@ -29539,10 +29539,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
29539
29539
  declare const ContextConfigListResponse: z.ZodObject<{
29540
29540
  data: z.ZodArray<z.ZodObject<{
29541
29541
  id: z.ZodString;
29542
- createdAt: z.ZodString;
29543
- updatedAt: z.ZodString;
29544
29542
  headersSchema: z.ZodOptional<z.ZodAny>;
29545
29543
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29544
+ createdAt: z.ZodString;
29545
+ updatedAt: z.ZodString;
29546
29546
  }, z.core.$strip>>;
29547
29547
  pagination: z.ZodObject<{
29548
29548
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29554,8 +29554,8 @@ declare const ContextConfigListResponse: z.ZodObject<{
29554
29554
  declare const ApiKeyListResponse: z.ZodObject<{
29555
29555
  data: z.ZodArray<z.ZodObject<{
29556
29556
  id: z.ZodString;
29557
- name: z.ZodNullable<z.ZodString>;
29558
29557
  createdAt: z.ZodString;
29558
+ name: z.ZodNullable<z.ZodString>;
29559
29559
  updatedAt: z.ZodString;
29560
29560
  agentId: z.ZodString;
29561
29561
  publicId: z.ZodString;
@@ -29576,15 +29576,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
29576
29576
  declare const AppResponse: z.ZodObject<{
29577
29577
  data: z.ZodObject<{
29578
29578
  id: z.ZodString;
29579
- name: z.ZodString;
29580
- description: z.ZodNullable<z.ZodString>;
29581
29579
  createdAt: z.ZodString;
29580
+ name: z.ZodString;
29582
29581
  updatedAt: z.ZodString;
29583
29582
  projectId: z.ZodNullable<z.ZodString>;
29584
29583
  tenantId: z.ZodNullable<z.ZodString>;
29584
+ description: z.ZodNullable<z.ZodString>;
29585
29585
  type: z.ZodString;
29586
- prompt: z.ZodNullable<z.ZodString>;
29587
29586
  enabled: z.ZodBoolean;
29587
+ prompt: z.ZodNullable<z.ZodString>;
29588
29588
  lastUsedAt: z.ZodNullable<z.ZodString>;
29589
29589
  defaultProjectId: z.ZodNullable<z.ZodString>;
29590
29590
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -29621,15 +29621,15 @@ declare const AppResponse: z.ZodObject<{
29621
29621
  declare const AppListResponse: z.ZodObject<{
29622
29622
  data: z.ZodArray<z.ZodObject<{
29623
29623
  id: z.ZodString;
29624
- name: z.ZodString;
29625
- description: z.ZodNullable<z.ZodString>;
29626
29624
  createdAt: z.ZodString;
29625
+ name: z.ZodString;
29627
29626
  updatedAt: z.ZodString;
29628
29627
  projectId: z.ZodNullable<z.ZodString>;
29629
29628
  tenantId: z.ZodNullable<z.ZodString>;
29629
+ description: z.ZodNullable<z.ZodString>;
29630
29630
  type: z.ZodString;
29631
- prompt: z.ZodNullable<z.ZodString>;
29632
29631
  enabled: z.ZodBoolean;
29632
+ prompt: z.ZodNullable<z.ZodString>;
29633
29633
  lastUsedAt: z.ZodNullable<z.ZodString>;
29634
29634
  defaultProjectId: z.ZodNullable<z.ZodString>;
29635
29635
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -29672,14 +29672,14 @@ declare const AppListResponse: z.ZodObject<{
29672
29672
  declare const CredentialReferenceListResponse: z.ZodObject<{
29673
29673
  data: z.ZodArray<z.ZodObject<{
29674
29674
  id: z.ZodString;
29675
- name: z.ZodString;
29676
29675
  createdAt: z.ZodString;
29676
+ name: z.ZodString;
29677
29677
  updatedAt: z.ZodString;
29678
- userId: z.ZodNullable<z.ZodString>;
29678
+ toolId: z.ZodNullable<z.ZodString>;
29679
29679
  createdBy: z.ZodNullable<z.ZodString>;
29680
29680
  credentialStoreId: z.ZodString;
29681
29681
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29682
- toolId: z.ZodNullable<z.ZodString>;
29682
+ userId: z.ZodNullable<z.ZodString>;
29683
29683
  type: z.ZodEnum<{
29684
29684
  readonly memory: "memory";
29685
29685
  readonly keychain: "keychain";
@@ -29722,7 +29722,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29722
29722
  generated: undefined;
29723
29723
  }, {}, {}>;
29724
29724
  config: drizzle_orm_pg_core0.PgColumn<{
29725
- name: string;
29725
+ name: "config";
29726
29726
  tableName: "tools";
29727
29727
  dataType: "json";
29728
29728
  columnType: "PgJsonb";
@@ -29785,7 +29785,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29785
29785
  length: 50;
29786
29786
  }>;
29787
29787
  headers: drizzle_orm_pg_core0.PgColumn<{
29788
- name: string;
29788
+ name: "headers";
29789
29789
  tableName: "tools";
29790
29790
  dataType: "json";
29791
29791
  columnType: "PgJsonb";
@@ -29821,7 +29821,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29821
29821
  generated: undefined;
29822
29822
  }, {}, {}>;
29823
29823
  capabilities: drizzle_orm_pg_core0.PgColumn<{
29824
- name: string;
29824
+ name: "capabilities";
29825
29825
  tableName: "tools";
29826
29826
  dataType: "json";
29827
29827
  columnType: "PgJsonb";
@@ -30002,7 +30002,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30002
30002
  generated: undefined;
30003
30003
  }, {}, {}>;
30004
30004
  config: drizzle_orm_pg_core0.PgColumn<{
30005
- name: string;
30005
+ name: "config";
30006
30006
  tableName: "tools";
30007
30007
  dataType: "json";
30008
30008
  columnType: "PgJsonb";
@@ -30065,7 +30065,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30065
30065
  length: 50;
30066
30066
  }>;
30067
30067
  headers: drizzle_orm_pg_core0.PgColumn<{
30068
- name: string;
30068
+ name: "headers";
30069
30069
  tableName: "tools";
30070
30070
  dataType: "json";
30071
30071
  columnType: "PgJsonb";
@@ -30101,7 +30101,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30101
30101
  generated: undefined;
30102
30102
  }, {}, {}>;
30103
30103
  capabilities: drizzle_orm_pg_core0.PgColumn<{
30104
- name: string;
30104
+ name: "capabilities";
30105
30105
  tableName: "tools";
30106
30106
  dataType: "json";
30107
30107
  columnType: "PgJsonb";
@@ -30288,11 +30288,11 @@ declare const FunctionListResponse: z.ZodObject<{
30288
30288
  declare const FunctionToolListResponse: z.ZodObject<{
30289
30289
  data: z.ZodArray<z.ZodObject<{
30290
30290
  id: z.ZodString;
30291
- name: z.ZodString;
30292
- description: z.ZodNullable<z.ZodString>;
30293
30291
  createdAt: z.ZodString;
30292
+ name: z.ZodString;
30294
30293
  updatedAt: z.ZodString;
30295
30294
  agentId: z.ZodString;
30295
+ description: z.ZodNullable<z.ZodString>;
30296
30296
  functionId: z.ZodString;
30297
30297
  relationshipId: z.ZodOptional<z.ZodString>;
30298
30298
  }, z.core.$strip>>;
@@ -30340,10 +30340,10 @@ declare const FeedbackListResponse: z.ZodObject<{
30340
30340
  declare const DataComponentListResponse: z.ZodObject<{
30341
30341
  data: z.ZodArray<z.ZodObject<{
30342
30342
  id: z.ZodString;
30343
- name: z.ZodString;
30344
- description: z.ZodNullable<z.ZodString>;
30345
30343
  createdAt: z.ZodString;
30344
+ name: z.ZodString;
30346
30345
  updatedAt: z.ZodString;
30346
+ description: z.ZodNullable<z.ZodString>;
30347
30347
  props: z.ZodType<{
30348
30348
  [x: string]: unknown;
30349
30349
  type: "object";
@@ -30397,10 +30397,10 @@ declare const DataComponentListResponse: z.ZodObject<{
30397
30397
  declare const ArtifactComponentListResponse: z.ZodObject<{
30398
30398
  data: z.ZodArray<z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
- name: z.ZodString;
30401
- description: z.ZodNullable<z.ZodString>;
30402
30400
  createdAt: z.ZodString;
30401
+ name: z.ZodString;
30403
30402
  updatedAt: z.ZodString;
30403
+ description: z.ZodNullable<z.ZodString>;
30404
30404
  props: z.ZodNullable<z.ZodType<{
30405
30405
  [x: string]: unknown;
30406
30406
  type: "object";
@@ -30473,8 +30473,8 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30473
30473
  createdAt: z.ZodString;
30474
30474
  updatedAt: z.ZodString;
30475
30475
  subAgentId: z.ZodString;
30476
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30477
30476
  toolId: z.ZodString;
30477
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30478
30478
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30479
30479
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30480
30480
  }, z.core.$strip>>;
@@ -30488,12 +30488,12 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30488
30488
  declare const TriggerListResponse: z.ZodObject<{
30489
30489
  data: z.ZodArray<z.ZodObject<{
30490
30490
  id: z.ZodString;
30491
- name: z.ZodString;
30492
- description: z.ZodNullable<z.ZodString>;
30493
30491
  createdAt: z.ZodString;
30492
+ name: z.ZodString;
30494
30493
  updatedAt: z.ZodString;
30495
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30494
+ description: z.ZodNullable<z.ZodString>;
30496
30495
  enabled: z.ZodBoolean;
30496
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30497
30497
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30498
30498
  messageTemplate: z.ZodNullable<z.ZodString>;
30499
30499
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30557,6 +30557,12 @@ declare const TriggerListResponse: z.ZodObject<{
30557
30557
  declare const TriggerInvocationListResponse: z.ZodObject<{
30558
30558
  data: z.ZodArray<z.ZodObject<{
30559
30559
  id: z.ZodString;
30560
+ createdAt: z.ZodString;
30561
+ status: z.ZodString;
30562
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30563
+ triggerId: z.ZodString;
30564
+ conversationId: z.ZodNullable<z.ZodString>;
30565
+ batchId: z.ZodNullable<z.ZodString>;
30560
30566
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30561
30567
  type: z.ZodEnum<{
30562
30568
  commit: "commit";
@@ -30566,12 +30572,6 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30566
30572
  name: z.ZodString;
30567
30573
  hash: z.ZodString;
30568
30574
  }, z.core.$strip>>>;
30569
- createdAt: z.ZodString;
30570
- status: z.ZodString;
30571
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30572
- triggerId: z.ZodString;
30573
- conversationId: z.ZodNullable<z.ZodString>;
30574
- batchId: z.ZodNullable<z.ZodString>;
30575
30575
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
30576
30576
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30577
30577
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -30586,12 +30586,12 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30586
30586
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30587
30587
  data: z.ZodObject<{
30588
30588
  id: z.ZodString;
30589
- name: z.ZodString;
30590
- description: z.ZodNullable<z.ZodString>;
30591
30589
  createdAt: z.ZodString;
30590
+ name: z.ZodString;
30592
30591
  updatedAt: z.ZodString;
30593
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30592
+ description: z.ZodNullable<z.ZodString>;
30594
30593
  enabled: z.ZodBoolean;
30594
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30595
30595
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30596
30596
  messageTemplate: z.ZodNullable<z.ZodString>;
30597
30597
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30652,12 +30652,12 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30652
30652
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30653
30653
  data: z.ZodObject<{
30654
30654
  id: z.ZodString;
30655
- name: z.ZodString;
30656
- description: z.ZodNullable<z.ZodString>;
30657
30655
  createdAt: z.ZodString;
30656
+ name: z.ZodString;
30658
30657
  updatedAt: z.ZodString;
30659
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30658
+ description: z.ZodNullable<z.ZodString>;
30660
30659
  enabled: z.ZodBoolean;
30660
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30661
30661
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30662
30662
  messageTemplate: z.ZodNullable<z.ZodString>;
30663
30663
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30719,12 +30719,12 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30719
30719
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30720
30720
  data: z.ZodArray<z.ZodObject<{
30721
30721
  id: z.ZodString;
30722
- name: z.ZodString;
30723
- description: z.ZodNullable<z.ZodString>;
30724
30722
  createdAt: z.ZodString;
30723
+ name: z.ZodString;
30725
30724
  updatedAt: z.ZodString;
30726
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30725
+ description: z.ZodNullable<z.ZodString>;
30727
30726
  enabled: z.ZodBoolean;
30727
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30728
30728
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30729
30729
  messageTemplate: z.ZodNullable<z.ZodString>;
30730
30730
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30797,16 +30797,16 @@ declare const LastRunSummarySchema: z.ZodObject<{
30797
30797
  }, z.core.$strip>;
30798
30798
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30799
30799
  id: z.ZodString;
30800
- name: z.ZodString;
30801
- description: z.ZodNullable<z.ZodString>;
30802
- ref: z.ZodString;
30803
30800
  createdAt: z.ZodString;
30801
+ name: z.ZodString;
30804
30802
  updatedAt: z.ZodString;
30803
+ description: z.ZodNullable<z.ZodString>;
30805
30804
  enabled: z.ZodBoolean;
30806
30805
  messageTemplate: z.ZodNullable<z.ZodString>;
30807
30806
  runAsUserId: z.ZodNullable<z.ZodString>;
30808
30807
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30809
30808
  createdBy: z.ZodNullable<z.ZodString>;
30809
+ ref: z.ZodString;
30810
30810
  cronExpression: z.ZodNullable<z.ZodString>;
30811
30811
  cronTimezone: z.ZodNullable<z.ZodString>;
30812
30812
  runAt: z.ZodNullable<z.ZodString>;
@@ -30835,16 +30835,16 @@ type ScheduledTriggerWithRunInfo = z.infer<typeof ScheduledTriggerWithRunInfoSch
30835
30835
  declare const ScheduledTriggerResponse: z.ZodObject<{
30836
30836
  data: z.ZodObject<{
30837
30837
  id: z.ZodString;
30838
- name: z.ZodString;
30839
- description: z.ZodNullable<z.ZodString>;
30840
- ref: z.ZodString;
30841
30838
  createdAt: z.ZodString;
30839
+ name: z.ZodString;
30842
30840
  updatedAt: z.ZodString;
30841
+ description: z.ZodNullable<z.ZodString>;
30843
30842
  enabled: z.ZodBoolean;
30844
30843
  messageTemplate: z.ZodNullable<z.ZodString>;
30845
30844
  runAsUserId: z.ZodNullable<z.ZodString>;
30846
30845
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30847
30846
  createdBy: z.ZodNullable<z.ZodString>;
30847
+ ref: z.ZodString;
30848
30848
  cronExpression: z.ZodNullable<z.ZodString>;
30849
30849
  cronTimezone: z.ZodNullable<z.ZodString>;
30850
30850
  runAt: z.ZodNullable<z.ZodString>;
@@ -30858,16 +30858,16 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
30858
30858
  declare const ScheduledTriggerListResponse: z.ZodObject<{
30859
30859
  data: z.ZodArray<z.ZodObject<{
30860
30860
  id: z.ZodString;
30861
- name: z.ZodString;
30862
- description: z.ZodNullable<z.ZodString>;
30863
- ref: z.ZodString;
30864
30861
  createdAt: z.ZodString;
30862
+ name: z.ZodString;
30865
30863
  updatedAt: z.ZodString;
30864
+ description: z.ZodNullable<z.ZodString>;
30866
30865
  enabled: z.ZodBoolean;
30867
30866
  messageTemplate: z.ZodNullable<z.ZodString>;
30868
30867
  runAsUserId: z.ZodNullable<z.ZodString>;
30869
30868
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30870
30869
  createdBy: z.ZodNullable<z.ZodString>;
30870
+ ref: z.ZodString;
30871
30871
  cronExpression: z.ZodNullable<z.ZodString>;
30872
30872
  cronTimezone: z.ZodNullable<z.ZodString>;
30873
30873
  runAt: z.ZodNullable<z.ZodString>;
@@ -30887,16 +30887,16 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30887
30887
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30888
30888
  data: z.ZodArray<z.ZodObject<{
30889
30889
  id: z.ZodString;
30890
- name: z.ZodString;
30891
- description: z.ZodNullable<z.ZodString>;
30892
- ref: z.ZodString;
30893
30890
  createdAt: z.ZodString;
30891
+ name: z.ZodString;
30894
30892
  updatedAt: z.ZodString;
30893
+ description: z.ZodNullable<z.ZodString>;
30895
30894
  enabled: z.ZodBoolean;
30896
30895
  messageTemplate: z.ZodNullable<z.ZodString>;
30897
30896
  runAsUserId: z.ZodNullable<z.ZodString>;
30898
30897
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30899
30898
  createdBy: z.ZodNullable<z.ZodString>;
30899
+ ref: z.ZodString;
30900
30900
  cronExpression: z.ZodNullable<z.ZodString>;
30901
30901
  cronTimezone: z.ZodNullable<z.ZodString>;
30902
30902
  runAt: z.ZodNullable<z.ZodString>;
@@ -30931,15 +30931,6 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30931
30931
  declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30932
30932
  data: z.ZodObject<{
30933
30933
  id: z.ZodString;
30934
- ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30935
- type: z.ZodEnum<{
30936
- commit: "commit";
30937
- tag: "tag";
30938
- branch: "branch";
30939
- }>;
30940
- name: z.ZodString;
30941
- hash: z.ZodString;
30942
- }, z.core.$strip>>>;
30943
30934
  createdAt: z.ZodString;
30944
30935
  status: z.ZodEnum<{
30945
30936
  pending: "pending";
@@ -30949,6 +30940,15 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30949
30940
  cancelled: "cancelled";
30950
30941
  }>;
30951
30942
  runAsUserId: z.ZodNullable<z.ZodString>;
30943
+ ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30944
+ type: z.ZodEnum<{
30945
+ commit: "commit";
30946
+ tag: "tag";
30947
+ branch: "branch";
30948
+ }>;
30949
+ name: z.ZodString;
30950
+ hash: z.ZodString;
30951
+ }, z.core.$strip>>>;
30952
30952
  scheduledTriggerId: z.ZodString;
30953
30953
  scheduledFor: z.ZodString;
30954
30954
  startedAt: z.ZodNullable<z.ZodString>;
@@ -30962,15 +30962,6 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30962
30962
  declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30963
30963
  data: z.ZodArray<z.ZodObject<{
30964
30964
  id: z.ZodString;
30965
- ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30966
- type: z.ZodEnum<{
30967
- commit: "commit";
30968
- tag: "tag";
30969
- branch: "branch";
30970
- }>;
30971
- name: z.ZodString;
30972
- hash: z.ZodString;
30973
- }, z.core.$strip>>>;
30974
30965
  createdAt: z.ZodString;
30975
30966
  status: z.ZodEnum<{
30976
30967
  pending: "pending";
@@ -30980,6 +30971,15 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30980
30971
  cancelled: "cancelled";
30981
30972
  }>;
30982
30973
  runAsUserId: z.ZodNullable<z.ZodString>;
30974
+ ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30975
+ type: z.ZodEnum<{
30976
+ commit: "commit";
30977
+ tag: "tag";
30978
+ branch: "branch";
30979
+ }>;
30980
+ name: z.ZodString;
30981
+ hash: z.ZodString;
30982
+ }, z.core.$strip>>>;
30983
30983
  scheduledTriggerId: z.ZodString;
30984
30984
  scheduledFor: z.ZodString;
30985
30985
  startedAt: z.ZodNullable<z.ZodString>;
@@ -31050,10 +31050,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31050
31050
  executionMode: z.ZodOptional<z.ZodString>;
31051
31051
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31052
31052
  id: z.ZodString;
31053
- name: z.ZodString;
31054
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31055
31053
  createdAt: z.ZodOptional<z.ZodString>;
31054
+ name: z.ZodString;
31056
31055
  updatedAt: z.ZodOptional<z.ZodString>;
31056
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31057
31057
  models: z.ZodOptional<z.ZodObject<{
31058
31058
  base: z.ZodOptional<z.ZodObject<{
31059
31059
  model: z.ZodOptional<z.ZodString>;
@@ -31173,8 +31173,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31173
31173
  id: z.ZodOptional<z.ZodString>;
31174
31174
  name: z.ZodString;
31175
31175
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31176
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31177
31176
  enabled: z.ZodOptional<z.ZodBoolean>;
31177
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31178
31178
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31179
31179
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31180
31180
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -31387,11 +31387,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31387
31387
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31388
31388
  id: z.ZodString;
31389
31389
  name: z.ZodString;
31390
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31390
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31391
31391
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31392
31392
  credentialStoreId: z.ZodString;
31393
31393
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31394
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31394
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31395
31395
  type: z.ZodEnum<{
31396
31396
  readonly memory: "memory";
31397
31397
  readonly keychain: "keychain";
@@ -31409,10 +31409,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31409
31409
  declare const FullProjectSelectResponse: z.ZodObject<{
31410
31410
  data: z.ZodObject<{
31411
31411
  id: z.ZodString;
31412
- name: z.ZodString;
31413
- description: z.ZodNullable<z.ZodString>;
31414
31412
  createdAt: z.ZodString;
31413
+ name: z.ZodString;
31415
31414
  updatedAt: z.ZodString;
31415
+ description: z.ZodNullable<z.ZodString>;
31416
31416
  models: z.ZodNullable<z.ZodObject<{
31417
31417
  base: z.ZodObject<{
31418
31418
  model: z.ZodOptional<z.ZodString>;
@@ -31439,19 +31439,19 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31439
31439
  }, z.core.$strip>>;
31440
31440
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31441
31441
  id: z.ZodString;
31442
- name: z.ZodString;
31443
- description: z.ZodNullable<z.ZodString>;
31444
31442
  createdAt: z.ZodString;
31443
+ name: z.ZodString;
31445
31444
  updatedAt: z.ZodString;
31445
+ description: z.ZodNullable<z.ZodString>;
31446
31446
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31447
31447
  contextConfigId: z.ZodNullable<z.ZodString>;
31448
31448
  executionMode: z.ZodString;
31449
31449
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31450
31450
  id: z.ZodString;
31451
- name: z.ZodString;
31452
- description: z.ZodNullable<z.ZodString>;
31453
31451
  createdAt: z.ZodString;
31452
+ name: z.ZodString;
31454
31453
  updatedAt: z.ZodString;
31454
+ description: z.ZodNullable<z.ZodString>;
31455
31455
  models: z.ZodNullable<z.ZodType<{
31456
31456
  base?: {
31457
31457
  model?: string | undefined;
@@ -31565,10 +31565,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31565
31565
  }, z.core.$strip>>;
31566
31566
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31567
31567
  id: z.ZodString;
31568
- name: z.ZodString;
31569
- description: z.ZodNullable<z.ZodString>;
31570
31568
  createdAt: z.ZodString;
31569
+ name: z.ZodString;
31571
31570
  updatedAt: z.ZodString;
31571
+ description: z.ZodNullable<z.ZodString>;
31572
31572
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31573
31573
  config: z.ZodType<{
31574
31574
  type: "mcp";
@@ -31592,10 +31592,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31592
31592
  }, z.core.$strip>>>;
31593
31593
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31594
31594
  id: z.ZodString;
31595
- name: z.ZodString;
31596
- description: z.ZodNullable<z.ZodString>;
31597
31595
  createdAt: z.ZodString;
31596
+ name: z.ZodString;
31598
31597
  updatedAt: z.ZodString;
31598
+ description: z.ZodNullable<z.ZodString>;
31599
31599
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31600
31600
  baseUrl: z.ZodString;
31601
31601
  }, z.core.$strip>>>;
@@ -31606,11 +31606,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31606
31606
  }, z.core.$strip>>>;
31607
31607
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31608
31608
  id: z.ZodString;
31609
- name: z.ZodString;
31610
- description: z.ZodNullable<z.ZodString>;
31611
31609
  createdAt: z.ZodString;
31610
+ name: z.ZodString;
31612
31611
  updatedAt: z.ZodString;
31613
31612
  agentId: z.ZodString;
31613
+ description: z.ZodNullable<z.ZodString>;
31614
31614
  functionId: z.ZodString;
31615
31615
  relationshipId: z.ZodOptional<z.ZodString>;
31616
31616
  }, z.core.$strip>>>;
@@ -31624,10 +31624,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31624
31624
  }, z.core.$strip>>>;
31625
31625
  contextConfig: z.ZodNullable<z.ZodObject<{
31626
31626
  id: z.ZodString;
31627
- createdAt: z.ZodString;
31628
- updatedAt: z.ZodString;
31629
31627
  headersSchema: z.ZodOptional<z.ZodAny>;
31630
31628
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31629
+ createdAt: z.ZodString;
31630
+ updatedAt: z.ZodString;
31631
31631
  }, z.core.$strip>>;
31632
31632
  statusUpdates: z.ZodNullable<z.ZodObject<{
31633
31633
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31671,10 +31671,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31671
31671
  }, z.core.$strip>>;
31672
31672
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31673
31673
  id: z.ZodString;
31674
- name: z.ZodString;
31675
- description: z.ZodNullable<z.ZodString>;
31676
31674
  createdAt: z.ZodString;
31675
+ name: z.ZodString;
31677
31676
  updatedAt: z.ZodString;
31677
+ description: z.ZodNullable<z.ZodString>;
31678
31678
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31679
31679
  config: z.ZodType<{
31680
31680
  type: "mcp";
@@ -31698,11 +31698,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31698
31698
  }, z.core.$strip>>;
31699
31699
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31700
31700
  id: z.ZodString;
31701
- name: z.ZodString;
31702
- description: z.ZodNullable<z.ZodString>;
31703
31701
  createdAt: z.ZodString;
31702
+ name: z.ZodString;
31704
31703
  updatedAt: z.ZodString;
31705
31704
  agentId: z.ZodString;
31705
+ description: z.ZodNullable<z.ZodString>;
31706
31706
  functionId: z.ZodString;
31707
31707
  relationshipId: z.ZodOptional<z.ZodString>;
31708
31708
  }, z.core.$strip>>>;
@@ -31716,10 +31716,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31716
31716
  }, z.core.$strip>>>;
31717
31717
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31718
31718
  id: z.ZodString;
31719
- name: z.ZodString;
31720
- description: z.ZodNullable<z.ZodString>;
31721
31719
  createdAt: z.ZodString;
31720
+ name: z.ZodString;
31722
31721
  updatedAt: z.ZodString;
31722
+ description: z.ZodNullable<z.ZodString>;
31723
31723
  props: z.ZodType<{
31724
31724
  [x: string]: unknown;
31725
31725
  type: "object";
@@ -31765,10 +31765,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31765
31765
  }, z.core.$strip>>>;
31766
31766
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31767
31767
  id: z.ZodString;
31768
- name: z.ZodString;
31769
- description: z.ZodNullable<z.ZodString>;
31770
31768
  createdAt: z.ZodString;
31769
+ name: z.ZodString;
31771
31770
  updatedAt: z.ZodString;
31771
+ description: z.ZodNullable<z.ZodString>;
31772
31772
  props: z.ZodNullable<z.ZodType<{
31773
31773
  [x: string]: unknown;
31774
31774
  type: "object";
@@ -31814,10 +31814,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31814
31814
  }, z.core.$strip>>>;
31815
31815
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31816
31816
  id: z.ZodString;
31817
- name: z.ZodString;
31818
- description: z.ZodNullable<z.ZodString>;
31819
31817
  createdAt: z.ZodString;
31818
+ name: z.ZodString;
31820
31819
  updatedAt: z.ZodString;
31820
+ description: z.ZodNullable<z.ZodString>;
31821
31821
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31822
31822
  baseUrl: z.ZodString;
31823
31823
  }, z.core.$strip>>>;
@@ -31838,14 +31838,14 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31838
31838
  }, z.core.$strict>>;
31839
31839
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31840
31840
  id: z.ZodString;
31841
- name: z.ZodString;
31842
31841
  createdAt: z.ZodString;
31842
+ name: z.ZodString;
31843
31843
  updatedAt: z.ZodString;
31844
- userId: z.ZodNullable<z.ZodString>;
31844
+ toolId: z.ZodNullable<z.ZodString>;
31845
31845
  createdBy: z.ZodNullable<z.ZodString>;
31846
31846
  credentialStoreId: z.ZodString;
31847
31847
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31848
- toolId: z.ZodNullable<z.ZodString>;
31848
+ userId: z.ZodNullable<z.ZodString>;
31849
31849
  type: z.ZodEnum<{
31850
31850
  readonly memory: "memory";
31851
31851
  readonly keychain: "keychain";
@@ -31888,7 +31888,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31888
31888
  generated: undefined;
31889
31889
  }, {}, {}>;
31890
31890
  config: drizzle_orm_pg_core0.PgColumn<{
31891
- name: string;
31891
+ name: "config";
31892
31892
  tableName: "tools";
31893
31893
  dataType: "json";
31894
31894
  columnType: "PgJsonb";
@@ -31951,7 +31951,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31951
31951
  length: 50;
31952
31952
  }>;
31953
31953
  headers: drizzle_orm_pg_core0.PgColumn<{
31954
- name: string;
31954
+ name: "headers";
31955
31955
  tableName: "tools";
31956
31956
  dataType: "json";
31957
31957
  columnType: "PgJsonb";
@@ -31987,7 +31987,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31987
31987
  generated: undefined;
31988
31988
  }, {}, {}>;
31989
31989
  capabilities: drizzle_orm_pg_core0.PgColumn<{
31990
- name: string;
31990
+ name: "capabilities";
31991
31991
  tableName: "tools";
31992
31992
  dataType: "json";
31993
31993
  columnType: "PgJsonb";
@@ -32168,7 +32168,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32168
32168
  generated: undefined;
32169
32169
  }, {}, {}>;
32170
32170
  config: drizzle_orm_pg_core0.PgColumn<{
32171
- name: string;
32171
+ name: "config";
32172
32172
  tableName: "tools";
32173
32173
  dataType: "json";
32174
32174
  columnType: "PgJsonb";
@@ -32231,7 +32231,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32231
32231
  length: 50;
32232
32232
  }>;
32233
32233
  headers: drizzle_orm_pg_core0.PgColumn<{
32234
- name: string;
32234
+ name: "headers";
32235
32235
  tableName: "tools";
32236
32236
  dataType: "json";
32237
32237
  columnType: "PgJsonb";
@@ -32267,7 +32267,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32267
32267
  generated: undefined;
32268
32268
  }, {}, {}>;
32269
32269
  capabilities: drizzle_orm_pg_core0.PgColumn<{
32270
- name: string;
32270
+ name: "capabilities";
32271
32271
  tableName: "tools";
32272
32272
  dataType: "json";
32273
32273
  columnType: "PgJsonb";
@@ -32436,10 +32436,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32436
32436
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32437
32437
  data: z.ZodObject<{
32438
32438
  id: z.ZodString;
32439
- name: z.ZodString;
32440
- description: z.ZodNullable<z.ZodString>;
32441
32439
  createdAt: z.ZodString;
32440
+ name: z.ZodString;
32442
32441
  updatedAt: z.ZodString;
32442
+ description: z.ZodNullable<z.ZodString>;
32443
32443
  models: z.ZodNullable<z.ZodObject<{
32444
32444
  base: z.ZodObject<{
32445
32445
  model: z.ZodOptional<z.ZodString>;
@@ -32466,10 +32466,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32466
32466
  }, z.core.$strip>>;
32467
32467
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
32468
32468
  id: z.ZodString;
32469
- name: z.ZodString;
32470
- description: z.ZodNullable<z.ZodString>;
32471
32469
  createdAt: z.ZodString;
32470
+ name: z.ZodString;
32472
32471
  updatedAt: z.ZodString;
32472
+ description: z.ZodNullable<z.ZodString>;
32473
32473
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32474
32474
  config: z.ZodType<{
32475
32475
  type: "mcp";
@@ -32493,11 +32493,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32493
32493
  }, z.core.$strip>>;
32494
32494
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32495
32495
  id: z.ZodString;
32496
- name: z.ZodString;
32497
- description: z.ZodNullable<z.ZodString>;
32498
32496
  createdAt: z.ZodString;
32497
+ name: z.ZodString;
32499
32498
  updatedAt: z.ZodString;
32500
32499
  agentId: z.ZodString;
32500
+ description: z.ZodNullable<z.ZodString>;
32501
32501
  functionId: z.ZodString;
32502
32502
  relationshipId: z.ZodOptional<z.ZodString>;
32503
32503
  }, z.core.$strip>>>;
@@ -32511,10 +32511,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32511
32511
  }, z.core.$strip>>>;
32512
32512
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32513
32513
  id: z.ZodString;
32514
- name: z.ZodString;
32515
- description: z.ZodNullable<z.ZodString>;
32516
32514
  createdAt: z.ZodString;
32515
+ name: z.ZodString;
32517
32516
  updatedAt: z.ZodString;
32517
+ description: z.ZodNullable<z.ZodString>;
32518
32518
  props: z.ZodType<{
32519
32519
  [x: string]: unknown;
32520
32520
  type: "object";
@@ -32560,10 +32560,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32560
32560
  }, z.core.$strip>>>;
32561
32561
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32562
32562
  id: z.ZodString;
32563
- name: z.ZodString;
32564
- description: z.ZodNullable<z.ZodString>;
32565
32563
  createdAt: z.ZodString;
32564
+ name: z.ZodString;
32566
32565
  updatedAt: z.ZodString;
32566
+ description: z.ZodNullable<z.ZodString>;
32567
32567
  props: z.ZodNullable<z.ZodType<{
32568
32568
  [x: string]: unknown;
32569
32569
  type: "object";
@@ -32609,10 +32609,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32609
32609
  }, z.core.$strip>>>;
32610
32610
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32611
32611
  id: z.ZodString;
32612
- name: z.ZodString;
32613
- description: z.ZodNullable<z.ZodString>;
32614
32612
  createdAt: z.ZodString;
32613
+ name: z.ZodString;
32615
32614
  updatedAt: z.ZodString;
32615
+ description: z.ZodNullable<z.ZodString>;
32616
32616
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32617
32617
  baseUrl: z.ZodString;
32618
32618
  }, z.core.$strip>>>;
@@ -32633,14 +32633,14 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32633
32633
  }, z.core.$strict>>;
32634
32634
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32635
32635
  id: z.ZodString;
32636
- name: z.ZodString;
32637
32636
  createdAt: z.ZodString;
32637
+ name: z.ZodString;
32638
32638
  updatedAt: z.ZodString;
32639
- userId: z.ZodNullable<z.ZodString>;
32639
+ toolId: z.ZodNullable<z.ZodString>;
32640
32640
  createdBy: z.ZodNullable<z.ZodString>;
32641
32641
  credentialStoreId: z.ZodString;
32642
32642
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32643
- toolId: z.ZodNullable<z.ZodString>;
32643
+ userId: z.ZodNullable<z.ZodString>;
32644
32644
  type: z.ZodEnum<{
32645
32645
  readonly memory: "memory";
32646
32646
  readonly keychain: "keychain";
@@ -32683,7 +32683,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32683
32683
  generated: undefined;
32684
32684
  }, {}, {}>;
32685
32685
  config: drizzle_orm_pg_core0.PgColumn<{
32686
- name: string;
32686
+ name: "config";
32687
32687
  tableName: "tools";
32688
32688
  dataType: "json";
32689
32689
  columnType: "PgJsonb";
@@ -32746,7 +32746,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32746
32746
  length: 50;
32747
32747
  }>;
32748
32748
  headers: drizzle_orm_pg_core0.PgColumn<{
32749
- name: string;
32749
+ name: "headers";
32750
32750
  tableName: "tools";
32751
32751
  dataType: "json";
32752
32752
  columnType: "PgJsonb";
@@ -32782,7 +32782,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32782
32782
  generated: undefined;
32783
32783
  }, {}, {}>;
32784
32784
  capabilities: drizzle_orm_pg_core0.PgColumn<{
32785
- name: string;
32785
+ name: "capabilities";
32786
32786
  tableName: "tools";
32787
32787
  dataType: "json";
32788
32788
  columnType: "PgJsonb";
@@ -32963,7 +32963,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32963
32963
  generated: undefined;
32964
32964
  }, {}, {}>;
32965
32965
  config: drizzle_orm_pg_core0.PgColumn<{
32966
- name: string;
32966
+ name: "config";
32967
32967
  tableName: "tools";
32968
32968
  dataType: "json";
32969
32969
  columnType: "PgJsonb";
@@ -33026,7 +33026,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33026
33026
  length: 50;
33027
33027
  }>;
33028
33028
  headers: drizzle_orm_pg_core0.PgColumn<{
33029
- name: string;
33029
+ name: "headers";
33030
33030
  tableName: "tools";
33031
33031
  dataType: "json";
33032
33032
  columnType: "PgJsonb";
@@ -33062,7 +33062,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33062
33062
  generated: undefined;
33063
33063
  }, {}, {}>;
33064
33064
  capabilities: drizzle_orm_pg_core0.PgColumn<{
33065
- name: string;
33065
+ name: "capabilities";
33066
33066
  tableName: "tools";
33067
33067
  dataType: "json";
33068
33068
  columnType: "PgJsonb";
@@ -33225,19 +33225,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33225
33225
  }, z.core.$strip>>>;
33226
33226
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33227
33227
  id: z.ZodString;
33228
- name: z.ZodString;
33229
- description: z.ZodNullable<z.ZodString>;
33230
33228
  createdAt: z.ZodString;
33229
+ name: z.ZodString;
33231
33230
  updatedAt: z.ZodString;
33231
+ description: z.ZodNullable<z.ZodString>;
33232
33232
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33233
33233
  contextConfigId: z.ZodNullable<z.ZodString>;
33234
33234
  executionMode: z.ZodString;
33235
33235
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33236
33236
  id: z.ZodString;
33237
- name: z.ZodString;
33238
- description: z.ZodNullable<z.ZodString>;
33239
33237
  createdAt: z.ZodString;
33238
+ name: z.ZodString;
33240
33239
  updatedAt: z.ZodString;
33240
+ description: z.ZodNullable<z.ZodString>;
33241
33241
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33242
33242
  config: z.ZodType<{
33243
33243
  type: "mcp";
@@ -33261,10 +33261,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33261
33261
  }, z.core.$strip>>>;
33262
33262
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33263
33263
  id: z.ZodString;
33264
- name: z.ZodString;
33265
- description: z.ZodNullable<z.ZodString>;
33266
33264
  createdAt: z.ZodString;
33265
+ name: z.ZodString;
33267
33266
  updatedAt: z.ZodString;
33267
+ description: z.ZodNullable<z.ZodString>;
33268
33268
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33269
33269
  baseUrl: z.ZodString;
33270
33270
  }, z.core.$strip>>>;
@@ -33275,11 +33275,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33275
33275
  }, z.core.$strip>>>;
33276
33276
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33277
33277
  id: z.ZodString;
33278
- name: z.ZodString;
33279
- description: z.ZodNullable<z.ZodString>;
33280
33278
  createdAt: z.ZodString;
33279
+ name: z.ZodString;
33281
33280
  updatedAt: z.ZodString;
33282
33281
  agentId: z.ZodString;
33282
+ description: z.ZodNullable<z.ZodString>;
33283
33283
  functionId: z.ZodString;
33284
33284
  relationshipId: z.ZodOptional<z.ZodString>;
33285
33285
  }, z.core.$strip>>>;
@@ -33293,10 +33293,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33293
33293
  }, z.core.$strip>>>;
33294
33294
  contextConfig: z.ZodNullable<z.ZodObject<{
33295
33295
  id: z.ZodString;
33296
- createdAt: z.ZodString;
33297
- updatedAt: z.ZodString;
33298
33296
  headersSchema: z.ZodOptional<z.ZodAny>;
33299
33297
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33298
+ createdAt: z.ZodString;
33299
+ updatedAt: z.ZodString;
33300
33300
  }, z.core.$strip>>;
33301
33301
  statusUpdates: z.ZodNullable<z.ZodObject<{
33302
33302
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33339,10 +33339,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33339
33339
  prompt: z.ZodNullable<z.ZodString>;
33340
33340
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33341
33341
  id: z.ZodString;
33342
- name: z.ZodString;
33343
- description: z.ZodNullable<z.ZodString>;
33344
33342
  createdAt: z.ZodString;
33343
+ name: z.ZodString;
33345
33344
  updatedAt: z.ZodString;
33345
+ description: z.ZodNullable<z.ZodString>;
33346
33346
  models: z.ZodNullable<z.ZodType<{
33347
33347
  base?: {
33348
33348
  model?: string | undefined;
@@ -33476,10 +33476,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33476
33476
  executionMode: z.ZodOptional<z.ZodString>;
33477
33477
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33478
33478
  id: z.ZodString;
33479
- name: z.ZodString;
33480
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33481
33479
  createdAt: z.ZodOptional<z.ZodString>;
33480
+ name: z.ZodString;
33482
33481
  updatedAt: z.ZodOptional<z.ZodString>;
33482
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33483
33483
  models: z.ZodOptional<z.ZodObject<{
33484
33484
  base: z.ZodOptional<z.ZodObject<{
33485
33485
  model: z.ZodOptional<z.ZodString>;
@@ -33599,8 +33599,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33599
33599
  id: z.ZodOptional<z.ZodString>;
33600
33600
  name: z.ZodString;
33601
33601
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33602
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33603
33602
  enabled: z.ZodOptional<z.ZodBoolean>;
33603
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33604
33604
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33605
33605
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33606
33606
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -33660,19 +33660,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33660
33660
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33661
33661
  data: z.ZodObject<{
33662
33662
  id: z.ZodString;
33663
- name: z.ZodString;
33664
- description: z.ZodNullable<z.ZodString>;
33665
33663
  createdAt: z.ZodString;
33664
+ name: z.ZodString;
33666
33665
  updatedAt: z.ZodString;
33666
+ description: z.ZodNullable<z.ZodString>;
33667
33667
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33668
33668
  contextConfigId: z.ZodNullable<z.ZodString>;
33669
33669
  executionMode: z.ZodString;
33670
33670
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33671
33671
  id: z.ZodString;
33672
- name: z.ZodString;
33673
- description: z.ZodNullable<z.ZodString>;
33674
33672
  createdAt: z.ZodString;
33673
+ name: z.ZodString;
33675
33674
  updatedAt: z.ZodString;
33675
+ description: z.ZodNullable<z.ZodString>;
33676
33676
  models: z.ZodNullable<z.ZodType<{
33677
33677
  base?: {
33678
33678
  model?: string | undefined;
@@ -33786,10 +33786,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33786
33786
  }, z.core.$strip>>;
33787
33787
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33788
33788
  id: z.ZodString;
33789
- name: z.ZodString;
33790
- description: z.ZodNullable<z.ZodString>;
33791
33789
  createdAt: z.ZodString;
33790
+ name: z.ZodString;
33792
33791
  updatedAt: z.ZodString;
33792
+ description: z.ZodNullable<z.ZodString>;
33793
33793
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33794
33794
  config: z.ZodType<{
33795
33795
  type: "mcp";
@@ -33813,10 +33813,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33813
33813
  }, z.core.$strip>>>;
33814
33814
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33815
33815
  id: z.ZodString;
33816
- name: z.ZodString;
33817
- description: z.ZodNullable<z.ZodString>;
33818
33816
  createdAt: z.ZodString;
33817
+ name: z.ZodString;
33819
33818
  updatedAt: z.ZodString;
33819
+ description: z.ZodNullable<z.ZodString>;
33820
33820
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33821
33821
  baseUrl: z.ZodString;
33822
33822
  }, z.core.$strip>>>;
@@ -33827,11 +33827,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33827
33827
  }, z.core.$strip>>>;
33828
33828
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33829
33829
  id: z.ZodString;
33830
- name: z.ZodString;
33831
- description: z.ZodNullable<z.ZodString>;
33832
33830
  createdAt: z.ZodString;
33831
+ name: z.ZodString;
33833
33832
  updatedAt: z.ZodString;
33834
33833
  agentId: z.ZodString;
33834
+ description: z.ZodNullable<z.ZodString>;
33835
33835
  functionId: z.ZodString;
33836
33836
  relationshipId: z.ZodOptional<z.ZodString>;
33837
33837
  }, z.core.$strip>>>;
@@ -33845,10 +33845,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33845
33845
  }, z.core.$strip>>>;
33846
33846
  contextConfig: z.ZodNullable<z.ZodObject<{
33847
33847
  id: z.ZodString;
33848
- createdAt: z.ZodString;
33849
- updatedAt: z.ZodString;
33850
33848
  headersSchema: z.ZodOptional<z.ZodAny>;
33851
33849
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33850
+ createdAt: z.ZodString;
33851
+ updatedAt: z.ZodString;
33852
33852
  }, z.core.$strip>>;
33853
33853
  statusUpdates: z.ZodNullable<z.ZodObject<{
33854
33854
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33914,9 +33914,9 @@ declare const McpToolResponse: z.ZodObject<{
33914
33914
  data: z.ZodObject<{
33915
33915
  id: z.ZodString;
33916
33916
  name: z.ZodString;
33917
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33918
33917
  projectId: z.ZodString;
33919
33918
  tenantId: z.ZodString;
33919
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33920
33920
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33921
33921
  config: z.ZodObject<{
33922
33922
  type: z.ZodLiteral<"mcp">;
@@ -33975,9 +33975,9 @@ declare const McpToolListResponse: z.ZodObject<{
33975
33975
  data: z.ZodArray<z.ZodObject<{
33976
33976
  id: z.ZodString;
33977
33977
  name: z.ZodString;
33978
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33979
33978
  projectId: z.ZodString;
33980
33979
  tenantId: z.ZodString;
33980
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33981
33981
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33982
33982
  config: z.ZodObject<{
33983
33983
  type: z.ZodLiteral<"mcp">;
@@ -34093,10 +34093,10 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34093
34093
  declare const DataComponentArrayResponse: z.ZodObject<{
34094
34094
  data: z.ZodArray<z.ZodObject<{
34095
34095
  id: z.ZodString;
34096
- name: z.ZodString;
34097
- description: z.ZodNullable<z.ZodString>;
34098
34096
  createdAt: z.ZodString;
34097
+ name: z.ZodString;
34099
34098
  updatedAt: z.ZodString;
34099
+ description: z.ZodNullable<z.ZodString>;
34100
34100
  props: z.ZodType<{
34101
34101
  [x: string]: unknown;
34102
34102
  type: "object";
@@ -34144,10 +34144,10 @@ declare const DataComponentArrayResponse: z.ZodObject<{
34144
34144
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
34145
34145
  data: z.ZodArray<z.ZodObject<{
34146
34146
  id: z.ZodString;
34147
- name: z.ZodString;
34148
- description: z.ZodNullable<z.ZodString>;
34149
34147
  createdAt: z.ZodString;
34148
+ name: z.ZodString;
34150
34149
  updatedAt: z.ZodString;
34150
+ description: z.ZodNullable<z.ZodString>;
34151
34151
  props: z.ZodNullable<z.ZodType<{
34152
34152
  [x: string]: unknown;
34153
34153
  type: "object";
@@ -37070,16 +37070,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37070
37070
  }, {}, {}>;
37071
37071
  }, undefined>, undefined>;
37072
37072
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37073
- projectId: z.ZodString;
37074
37073
  agentId: z.ZodString;
37074
+ projectId: z.ZodString;
37075
37075
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37076
37076
  }, {
37077
37077
  out: {};
37078
37078
  in: {};
37079
37079
  }>;
37080
37080
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37081
- projectId: z.ZodString;
37082
37081
  agentId: z.ZodString;
37082
+ projectId: z.ZodString;
37083
37083
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37084
37084
  agentName: z.ZodString;
37085
37085
  projectName: z.ZodOptional<z.ZodString>;
@@ -37386,10 +37386,10 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37386
37386
  }>;
37387
37387
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37388
37388
  id: z.ZodString;
37389
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37389
+ agentId: z.ZodString;
37390
37390
  projectId: z.ZodString;
37391
37391
  tenantId: z.ZodString;
37392
- agentId: z.ZodString;
37392
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37393
37393
  conversationId: z.ZodString;
37394
37394
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37395
37395
  status: z.ZodDefault<z.ZodEnum<{
@@ -37404,10 +37404,10 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37404
37404
  }>;
37405
37405
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37406
37406
  id: z.ZodOptional<z.ZodString>;
37407
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37407
+ agentId: z.ZodOptional<z.ZodString>;
37408
37408
  projectId: z.ZodOptional<z.ZodString>;
37409
37409
  tenantId: z.ZodOptional<z.ZodString>;
37410
- agentId: z.ZodOptional<z.ZodString>;
37410
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37411
37411
  conversationId: z.ZodOptional<z.ZodString>;
37412
37412
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37413
37413
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{