@inkeep/agents-core 0.58.3 → 0.58.4

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 (37) hide show
  1. package/dist/auth/auth.d.ts +28 -28
  2. package/dist/auth/permissions.d.ts +13 -13
  3. package/dist/constants/models.d.ts +34 -2
  4. package/dist/constants/models.js +37 -5
  5. package/dist/data-access/manage/agents.d.ts +31 -31
  6. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  7. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  8. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  9. package/dist/data-access/manage/functionTools.d.ts +18 -18
  10. package/dist/data-access/manage/skills.d.ts +14 -14
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  12. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgents.d.ts +21 -21
  15. package/dist/data-access/manage/tools.d.ts +24 -24
  16. package/dist/data-access/manage/tools.js +2 -0
  17. package/dist/data-access/manage/triggers.d.ts +2 -2
  18. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  19. package/dist/data-access/runtime/cascade-delete.js +2 -2
  20. package/dist/data-access/runtime/conversations.d.ts +23 -23
  21. package/dist/data-access/runtime/github-work-app-installations.d.ts +25 -5
  22. package/dist/data-access/runtime/github-work-app-installations.js +20 -17
  23. package/dist/data-access/runtime/messages.d.ts +24 -24
  24. package/dist/data-access/runtime/tasks.d.ts +6 -6
  25. package/dist/db/manage/manage-schema.d.ts +453 -453
  26. package/dist/db/runtime/runtime-schema.d.ts +318 -318
  27. package/dist/db/runtime/runtime-schema.js +5 -1
  28. package/dist/middleware/no-auth.d.ts +2 -2
  29. package/dist/setup/setup.js +14 -3
  30. package/dist/utils/error.d.ts +51 -51
  31. package/dist/validation/dolt-schemas.d.ts +1 -1
  32. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  33. package/dist/validation/schemas.d.ts +606 -606
  34. package/drizzle/runtime/0021_careful_xorn.sql +2 -0
  35. package/drizzle/runtime/meta/0021_snapshot.json +4124 -0
  36. package/drizzle/runtime/meta/_journal.json +7 -0
  37. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod0 from "drizzle-zod";
7
+ import * as drizzle_zod3 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -131,7 +131,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
131
131
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
132
132
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
133
133
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
134
- declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core0.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod0.BuildRefine<{
385
+ }, drizzle_zod3.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core0.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -820,11 +820,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
824
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -848,10 +848,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
848
  }, {
849
849
  stepCountIs?: number | undefined;
850
850
  }>>>>>>;
851
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
- declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod0.BuildRefine<{
1022
+ }, drizzle_zod3.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1024
1024
  name: "created_at";
1025
1025
  tableName: "sub_agent_relations";
@@ -1290,7 +1290,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1290
1290
  sourceSubAgentId: z.ZodString;
1291
1291
  externalSubAgentId: z.ZodString;
1292
1292
  }>, z.core.$strip>;
1293
- declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1588,7 +1588,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1588
1588
  }, {}, {
1589
1589
  length: 256;
1590
1590
  }>;
1591
- }, drizzle_zod0.BuildRefine<{
1591
+ }, drizzle_zod3.BuildRefine<{
1592
1592
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1593
1593
  name: "created_at";
1594
1594
  tableName: "agent";
@@ -1887,7 +1887,7 @@ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1887
1887
  length: 256;
1888
1888
  }>;
1889
1889
  }, undefined>, undefined>;
1890
- declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1890
+ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1891
1891
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1892
1892
  name: "created_at";
1893
1893
  tableName: "agent";
@@ -2185,7 +2185,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2185
2185
  }, {}, {
2186
2186
  length: 256;
2187
2187
  }>;
2188
- }, drizzle_zod0.BuildRefine<Pick<{
2188
+ }, drizzle_zod3.BuildRefine<Pick<{
2189
2189
  createdAt: drizzle_orm_pg_core0.PgColumn<{
2190
2190
  name: "created_at";
2191
2191
  tableName: "agent";
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "description" | "id" | "name" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,10 +2750,10 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
2753
  name: z.ZodString;
2755
- createdAt: z.ZodOptional<z.ZodString>;
2756
- updatedAt: z.ZodOptional<z.ZodString>;
2754
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
2757
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
2758
  base?: {
2759
2759
  model?: string | undefined;
@@ -2816,8 +2816,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2816
2816
  }, {
2817
2817
  transferCountIs?: number | undefined;
2818
2818
  }>>>>;
2819
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ createdAt: z.ZodOptional<z.ZodString>;
2820
+ updatedAt: z.ZodOptional<z.ZodString>;
2821
2821
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2822
2822
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
2823
  enabled?: boolean | undefined;
@@ -2879,11 +2879,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2879
2879
  id: z.ZodString;
2880
2880
  }, z.core.$strip>;
2881
2881
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
2882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
2883
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2885
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2886
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
2887
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
2888
  base?: {
2889
2889
  model?: string | undefined;
@@ -2946,8 +2946,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2946
2946
  }, {
2947
2947
  transferCountIs?: number | undefined;
2948
2948
  }>>>>>>;
2949
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2949
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2951
2951
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2952
2952
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2953
2953
  enabled?: boolean | undefined;
@@ -3072,8 +3072,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3072
3072
  declare const SignatureSourceSchema: z.ZodObject<{
3073
3073
  source: z.ZodEnum<{
3074
3074
  query: "query";
3075
- header: "header";
3076
3075
  body: "body";
3076
+ header: "header";
3077
3077
  }>;
3078
3078
  key: z.ZodString;
3079
3079
  prefix: z.ZodOptional<z.ZodString>;
@@ -3102,8 +3102,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3102
3102
  declare const SignedComponentSchema: z.ZodObject<{
3103
3103
  source: z.ZodEnum<{
3104
3104
  literal: "literal";
3105
- header: "header";
3106
3105
  body: "body";
3106
+ header: "header";
3107
3107
  }>;
3108
3108
  key: z.ZodOptional<z.ZodString>;
3109
3109
  value: z.ZodOptional<z.ZodString>;
@@ -3212,8 +3212,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3212
3212
  signature: z.ZodObject<{
3213
3213
  source: z.ZodEnum<{
3214
3214
  query: "query";
3215
- header: "header";
3216
3215
  body: "body";
3216
+ header: "header";
3217
3217
  }>;
3218
3218
  key: z.ZodString;
3219
3219
  prefix: z.ZodOptional<z.ZodString>;
@@ -3222,8 +3222,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3222
3222
  signedComponents: z.ZodArray<z.ZodObject<{
3223
3223
  source: z.ZodEnum<{
3224
3224
  literal: "literal";
3225
- header: "header";
3226
3225
  body: "body";
3226
+ header: "header";
3227
3227
  }>;
3228
3228
  key: z.ZodOptional<z.ZodString>;
3229
3229
  value: z.ZodOptional<z.ZodString>;
@@ -3282,10 +3282,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3282
3282
  createdAt: z.ZodString;
3283
3283
  updatedAt: z.ZodString;
3284
3284
  enabled: z.ZodBoolean;
3285
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3286
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3285
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3286
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3287
3287
  messageTemplate: z.ZodNullable<z.ZodString>;
3288
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3288
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3289
3289
  name: z.ZodString;
3290
3290
  description: z.ZodNullable<z.ZodString>;
3291
3291
  agentId: z.ZodString;
@@ -3308,8 +3308,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3308
3308
  signature: z.ZodObject<{
3309
3309
  source: z.ZodEnum<{
3310
3310
  query: "query";
3311
- header: "header";
3312
3311
  body: "body";
3312
+ header: "header";
3313
3313
  }>;
3314
3314
  key: z.ZodString;
3315
3315
  prefix: z.ZodOptional<z.ZodString>;
@@ -3318,8 +3318,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3318
3318
  signedComponents: z.ZodArray<z.ZodObject<{
3319
3319
  source: z.ZodEnum<{
3320
3320
  literal: "literal";
3321
- header: "header";
3322
3321
  body: "body";
3322
+ header: "header";
3323
3323
  }>;
3324
3324
  key: z.ZodOptional<z.ZodString>;
3325
3325
  value: z.ZodOptional<z.ZodString>;
@@ -3344,7 +3344,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3344
3344
  out: {};
3345
3345
  in: {};
3346
3346
  }>;
3347
- declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3347
+ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3348
3348
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3349
3349
  name: "created_at";
3350
3350
  tableName: "triggers";
@@ -3504,13 +3504,13 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3504
3504
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3505
3505
  encoding: "hex" | "base64";
3506
3506
  signature: {
3507
- source: "query" | "header" | "body";
3507
+ source: "query" | "body" | "header";
3508
3508
  key: string;
3509
3509
  prefix?: string | undefined;
3510
3510
  regex?: string | undefined;
3511
3511
  };
3512
3512
  signedComponents: {
3513
- source: "literal" | "header" | "body";
3513
+ source: "literal" | "body" | "header";
3514
3514
  required: boolean;
3515
3515
  key?: string | undefined;
3516
3516
  value?: string | undefined;
@@ -3541,13 +3541,13 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3541
3541
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3542
3542
  encoding: "hex" | "base64";
3543
3543
  signature: {
3544
- source: "query" | "header" | "body";
3544
+ source: "query" | "body" | "header";
3545
3545
  key: string;
3546
3546
  prefix?: string | undefined;
3547
3547
  regex?: string | undefined;
3548
3548
  };
3549
3549
  signedComponents: {
3550
- source: "literal" | "header" | "body";
3550
+ source: "literal" | "body" | "header";
3551
3551
  required: boolean;
3552
3552
  key?: string | undefined;
3553
3553
  value?: string | undefined;
@@ -3714,7 +3714,7 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3714
3714
  }, {}, {
3715
3715
  length: 256;
3716
3716
  }>;
3717
- }, drizzle_zod0.BuildRefine<Pick<{
3717
+ }, drizzle_zod3.BuildRefine<Pick<{
3718
3718
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3719
3719
  name: "created_at";
3720
3720
  tableName: "triggers";
@@ -3874,13 +3874,13 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3874
3874
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3875
3875
  encoding: "hex" | "base64";
3876
3876
  signature: {
3877
- source: "query" | "header" | "body";
3877
+ source: "query" | "body" | "header";
3878
3878
  key: string;
3879
3879
  prefix?: string | undefined;
3880
3880
  regex?: string | undefined;
3881
3881
  };
3882
3882
  signedComponents: {
3883
- source: "literal" | "header" | "body";
3883
+ source: "literal" | "body" | "header";
3884
3884
  required: boolean;
3885
3885
  key?: string | undefined;
3886
3886
  value?: string | undefined;
@@ -3911,13 +3911,13 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3911
3911
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3912
3912
  encoding: "hex" | "base64";
3913
3913
  signature: {
3914
- source: "query" | "header" | "body";
3914
+ source: "query" | "body" | "header";
3915
3915
  key: string;
3916
3916
  prefix?: string | undefined;
3917
3917
  regex?: string | undefined;
3918
3918
  };
3919
3919
  signedComponents: {
3920
- source: "literal" | "header" | "body";
3920
+ source: "literal" | "body" | "header";
3921
3921
  required: boolean;
3922
3922
  key?: string | undefined;
3923
3923
  value?: string | undefined;
@@ -4084,16 +4084,16 @@ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "description" | "id" | "name" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "inputSchema" | "agentId" | "enabled" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4088
4088
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4091
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4092
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4091
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4092
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4093
4093
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4094
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4094
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4095
4095
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4096
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4096
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4097
4097
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4098
4098
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4099
4099
  name: z.ZodOptional<z.ZodString>;
@@ -4111,10 +4111,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4111
4111
  createdAt: z.ZodString;
4112
4112
  updatedAt: z.ZodString;
4113
4113
  enabled: z.ZodBoolean;
4114
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4115
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4114
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4115
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4116
4116
  messageTemplate: z.ZodNullable<z.ZodString>;
4117
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4117
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4118
4118
  name: z.ZodString;
4119
4119
  description: z.ZodNullable<z.ZodString>;
4120
4120
  agentId: z.ZodString;
@@ -4137,8 +4137,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4137
4137
  signature: z.ZodObject<{
4138
4138
  source: z.ZodEnum<{
4139
4139
  query: "query";
4140
- header: "header";
4141
4140
  body: "body";
4141
+ header: "header";
4142
4142
  }>;
4143
4143
  key: z.ZodString;
4144
4144
  prefix: z.ZodOptional<z.ZodString>;
@@ -4147,8 +4147,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4147
4147
  signedComponents: z.ZodArray<z.ZodObject<{
4148
4148
  source: z.ZodEnum<{
4149
4149
  literal: "literal";
4150
- header: "header";
4151
4150
  body: "body";
4151
+ header: "header";
4152
4152
  }>;
4153
4153
  key: z.ZodOptional<z.ZodString>;
4154
4154
  value: z.ZodOptional<z.ZodString>;
@@ -4171,17 +4171,17 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4171
4171
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4172
  }>, z.core.$strip>;
4173
4173
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
4174
  name: z.ZodString;
4175
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
4176
  createdAt: z.ZodOptional<z.ZodString>;
4177
4177
  updatedAt: z.ZodOptional<z.ZodString>;
4178
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4179
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4180
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4179
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4180
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4181
4181
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4182
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4183
4183
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4184
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4184
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4185
4185
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4186
4186
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4187
4187
  id: z.ZodOptional<z.ZodString>;
@@ -4189,12 +4189,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4189
4189
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4190
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4191
4191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4192
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4193
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4193
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4194
4194
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4195
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4195
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4196
4196
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4197
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4197
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4198
4198
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4199
4199
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4200
4200
  name: z.ZodOptional<z.ZodString>;
@@ -4209,16 +4209,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4209
4209
  in: {};
4210
4210
  }>;
4211
4211
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
- description: z.ZodNullable<z.ZodString>;
4213
4212
  id: z.ZodString;
4214
4213
  name: z.ZodString;
4214
+ description: z.ZodNullable<z.ZodString>;
4215
4215
  createdAt: z.ZodString;
4216
4216
  updatedAt: z.ZodString;
4217
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4218
4217
  enabled: z.ZodBoolean;
4219
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4218
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4219
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4220
4220
  messageTemplate: z.ZodNullable<z.ZodString>;
4221
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4221
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4222
4222
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4223
4223
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4224
4224
  algorithm: z.ZodEnum<{
@@ -4235,8 +4235,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4235
4235
  signature: z.ZodObject<{
4236
4236
  source: z.ZodEnum<{
4237
4237
  query: "query";
4238
- header: "header";
4239
4238
  body: "body";
4239
+ header: "header";
4240
4240
  }>;
4241
4241
  key: z.ZodString;
4242
4242
  prefix: z.ZodOptional<z.ZodString>;
@@ -4245,8 +4245,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4245
4245
  signedComponents: z.ZodArray<z.ZodObject<{
4246
4246
  source: z.ZodEnum<{
4247
4247
  literal: "literal";
4248
- header: "header";
4249
4248
  body: "body";
4249
+ header: "header";
4250
4250
  }>;
4251
4251
  key: z.ZodOptional<z.ZodString>;
4252
4252
  value: z.ZodOptional<z.ZodString>;
@@ -4269,7 +4269,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4269
4269
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
4270
  webhookUrl: z.ZodString;
4271
4271
  }, z.core.$strip>;
4272
- declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select", {
4272
+ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select", {
4273
4273
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4274
4274
  name: "trigger_id";
4275
4275
  tableName: "trigger_invocations";
@@ -4471,7 +4471,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select",
4471
4471
  }, {}, {
4472
4472
  length: 256;
4473
4473
  }>;
4474
- }, drizzle_zod0.BuildRefine<{
4474
+ }, drizzle_zod3.BuildRefine<{
4475
4475
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4476
4476
  name: "trigger_id";
4477
4477
  tableName: "trigger_invocations";
@@ -4674,7 +4674,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select",
4674
4674
  length: 256;
4675
4675
  }>;
4676
4676
  }, undefined>, undefined>;
4677
- declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4677
+ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4678
4678
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4679
4679
  name: "trigger_id";
4680
4680
  tableName: "trigger_invocations";
@@ -4876,7 +4876,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert",
4876
4876
  }, {}, {
4877
4877
  length: 256;
4878
4878
  }>;
4879
- }, drizzle_zod0.BuildRefine<Pick<{
4879
+ }, drizzle_zod3.BuildRefine<Pick<{
4880
4880
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4881
4881
  name: "trigger_id";
4882
4882
  tableName: "trigger_invocations";
@@ -5078,13 +5078,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5082
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5083
  triggerId: z.ZodOptional<z.ZodString>;
5084
5084
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5085
5085
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5086
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5087
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5086
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5087
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5088
5088
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5089
5089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5090
5090
  agentId: z.ZodOptional<z.ZodString>;
@@ -5099,8 +5099,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5099
5099
  triggerId: z.ZodString;
5100
5100
  conversationId: z.ZodNullable<z.ZodString>;
5101
5101
  status: z.ZodString;
5102
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5103
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5102
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5103
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5104
5104
  errorMessage: z.ZodNullable<z.ZodString>;
5105
5105
  createdAt: z.ZodString;
5106
5106
  agentId: z.ZodString;
@@ -5110,22 +5110,22 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5110
5110
  }>, z.core.$strip>;
5111
5111
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5112
5112
  createdAt: z.ZodOptional<z.ZodString>;
5113
+ status: z.ZodOptional<z.ZodString>;
5113
5114
  triggerId: z.ZodString;
5114
5115
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5115
- status: z.ZodOptional<z.ZodString>;
5116
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5117
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5116
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5117
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5118
5118
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5119
5119
  id: z.ZodString;
5120
5120
  }, z.core.$strip>;
5121
5121
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5122
5122
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5123
5123
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5124
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5124
5125
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5125
5126
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5126
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5127
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5128
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
5127
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5128
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5129
5129
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5130
5130
  }, z.core.$strip>;
5131
5131
  declare const CronExpressionSchema: z.ZodString;
@@ -5153,7 +5153,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5153
  out: {};
5154
5154
  in: {};
5155
5155
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5156
+ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5157
5157
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5158
5158
  name: "created_at";
5159
5159
  tableName: "scheduled_triggers";
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5497
5497
  }, {}, {
5498
5498
  length: 256;
5499
5499
  }>;
5500
- }, drizzle_zod0.BuildRefine<Pick<{
5500
+ }, drizzle_zod3.BuildRefine<Pick<{
5501
5501
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5502
5502
  name: "created_at";
5503
5503
  tableName: "scheduled_triggers";
@@ -5841,14 +5841,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "description" | "id" | "name" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5845
5845
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
5846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
5847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5848
5848
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5849
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5850
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5851
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5851
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5852
5852
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
5853
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5854
5854
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5888,8 +5888,8 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5888
5888
  createdBy: z.ZodNullable<z.ZodString>;
5889
5889
  }>, z.core.$strip>;
5890
5890
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5892
5891
  name: z.ZodString;
5892
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
5893
  createdAt: z.ZodOptional<z.ZodString>;
5894
5894
  updatedAt: z.ZodOptional<z.ZodString>;
5895
5895
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -5899,15 +5899,15 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5899
5899
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
5900
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5901
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5902
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5903
5903
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5904
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5905
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5906
5906
  id: z.ZodOptional<z.ZodString>;
5907
5907
  }, z.core.$strip>;
5908
5908
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5910
5909
  name: z.ZodString;
5910
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5911
5911
  createdAt: z.ZodOptional<z.ZodString>;
5912
5912
  updatedAt: z.ZodOptional<z.ZodString>;
5913
5913
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -5917,7 +5917,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5917
5917
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5918
5918
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5919
5919
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5920
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5921
5921
  maxRetries: z.ZodOptional<z.ZodNumber>;
5922
5922
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5923
5923
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5929,7 +5929,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5929
5929
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5930
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5931
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5932
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5932
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5933
5933
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
5934
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5935
5935
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5953,7 +5953,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5953
5953
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5954
5954
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5955
5955
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5956
- declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select", {
5956
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select", {
5957
5957
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5958
5958
  name: "created_at";
5959
5959
  tableName: "scheduled_workflows";
@@ -6157,7 +6157,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select",
6157
6157
  }, {}, {
6158
6158
  length: 256;
6159
6159
  }>;
6160
- }, drizzle_zod0.BuildRefine<{
6160
+ }, drizzle_zod3.BuildRefine<{
6161
6161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6162
6162
  name: "created_at";
6163
6163
  tableName: "scheduled_workflows";
@@ -6362,7 +6362,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select",
6362
6362
  length: 256;
6363
6363
  }>;
6364
6364
  }, undefined>, undefined>;
6365
- declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6365
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6366
6366
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6367
6367
  name: "created_at";
6368
6368
  tableName: "scheduled_workflows";
@@ -6566,7 +6566,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert",
6566
6566
  }, {}, {
6567
6567
  length: 256;
6568
6568
  }>;
6569
- }, drizzle_zod0.BuildRefine<Pick<{
6569
+ }, drizzle_zod3.BuildRefine<Pick<{
6570
6570
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6571
6571
  name: "created_at";
6572
6572
  tableName: "scheduled_workflows";
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "description" | "id" | "name" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6774
6774
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6801,8 +6801,8 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6801
6801
  id: z.ZodString;
6802
6802
  }>, z.core.$strip>;
6803
6803
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6805
6804
  name: z.ZodString;
6805
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6806
6806
  createdAt: z.ZodOptional<z.ZodString>;
6807
6807
  updatedAt: z.ZodOptional<z.ZodString>;
6808
6808
  status: z.ZodOptional<z.ZodString>;
@@ -6861,7 +6861,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6861
6861
  out: {};
6862
6862
  in: {};
6863
6863
  }>;
6864
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6864
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6865
6865
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
6866
6866
  name: "scheduled_trigger_id";
6867
6867
  tableName: "scheduled_trigger_invocations";
@@ -7119,7 +7119,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"
7119
7119
  }, {}, {
7120
7120
  length: 256;
7121
7121
  }>;
7122
- }, drizzle_zod0.BuildRefine<Pick<{
7122
+ }, drizzle_zod3.BuildRefine<Pick<{
7123
7123
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
7124
7124
  name: "scheduled_trigger_id";
7125
7125
  tableName: "scheduled_trigger_invocations";
@@ -7377,14 +7377,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
7381
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
7382
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
7383
  status: z.ZodOptional<z.ZodString>;
7384
7384
  scheduledFor: z.ZodOptional<z.ZodString>;
7385
7385
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7386
7386
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7387
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
7387
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
7388
7388
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7389
7389
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7390
7390
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7426,7 +7426,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7426
7426
  scheduledFor: z.ZodString;
7427
7427
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7428
7428
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
7429
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
7430
7430
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7431
7431
  attemptNumber: z.ZodOptional<z.ZodInt>;
7432
7432
  idempotencyKey: z.ZodString;
@@ -7440,7 +7440,7 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7440
7440
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7441
7441
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7442
7442
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
7443
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
7444
7444
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7445
7445
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7446
7446
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7449,7 +7449,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7449
7449
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7450
7450
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7451
7451
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7452
- declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7452
+ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7453
7453
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7454
7454
  name: "created_at";
7455
7455
  tableName: "tasks";
@@ -7509,7 +7509,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7509
7509
  dataType: "json";
7510
7510
  columnType: "PgJsonb";
7511
7511
  data: {
7512
- type: "commit" | "tag" | "branch";
7512
+ type: "tag" | "commit" | "branch";
7513
7513
  name: string;
7514
7514
  hash: string;
7515
7515
  };
@@ -7525,7 +7525,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7525
7525
  generated: undefined;
7526
7526
  }, {}, {
7527
7527
  $type: {
7528
- type: "commit" | "tag" | "branch";
7528
+ type: "tag" | "commit" | "branch";
7529
7529
  name: string;
7530
7530
  hash: string;
7531
7531
  };
@@ -7663,7 +7663,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7663
7663
  }, {}, {
7664
7664
  length: 256;
7665
7665
  }>;
7666
- }, drizzle_zod0.BuildRefine<{
7666
+ }, drizzle_zod3.BuildRefine<{
7667
7667
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7668
7668
  name: "created_at";
7669
7669
  tableName: "tasks";
@@ -7723,7 +7723,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7723
7723
  dataType: "json";
7724
7724
  columnType: "PgJsonb";
7725
7725
  data: {
7726
- type: "commit" | "tag" | "branch";
7726
+ type: "tag" | "commit" | "branch";
7727
7727
  name: string;
7728
7728
  hash: string;
7729
7729
  };
@@ -7739,7 +7739,7 @@ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7739
7739
  generated: undefined;
7740
7740
  }, {}, {
7741
7741
  $type: {
7742
- type: "commit" | "tag" | "branch";
7742
+ type: "tag" | "commit" | "branch";
7743
7743
  name: string;
7744
7744
  hash: string;
7745
7745
  };
@@ -7892,8 +7892,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7892
7892
  conversationId: z.ZodOptional<z.ZodString>;
7893
7893
  ref: z.ZodObject<{
7894
7894
  type: z.ZodEnum<{
7895
- commit: "commit";
7896
7895
  tag: "tag";
7896
+ commit: "commit";
7897
7897
  branch: "branch";
7898
7898
  }>;
7899
7899
  name: z.ZodString;
@@ -7917,8 +7917,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7917
7917
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  ref: z.ZodOptional<z.ZodObject<{
7919
7919
  type: z.ZodEnum<{
7920
- commit: "commit";
7921
7920
  tag: "tag";
7921
+ commit: "commit";
7922
7922
  branch: "branch";
7923
7923
  }>;
7924
7924
  name: z.ZodString;
@@ -7933,19 +7933,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7933
7933
  updatedAt: z.ZodString;
7934
7934
  contextId: z.ZodString;
7935
7935
  ref: z.ZodNullable<z.ZodType<{
7936
- type: "commit" | "tag" | "branch";
7936
+ type: "tag" | "commit" | "branch";
7937
7937
  name: string;
7938
7938
  hash: string;
7939
7939
  }, {
7940
- type: "commit" | "tag" | "branch";
7940
+ type: "tag" | "commit" | "branch";
7941
7941
  name: string;
7942
7942
  hash: string;
7943
7943
  }, z.core.$ZodTypeInternals<{
7944
- type: "commit" | "tag" | "branch";
7944
+ type: "tag" | "commit" | "branch";
7945
7945
  name: string;
7946
7946
  hash: string;
7947
7947
  }, {
7948
- type: "commit" | "tag" | "branch";
7948
+ type: "tag" | "commit" | "branch";
7949
7949
  name: string;
7950
7950
  hash: string;
7951
7951
  }>>>;
@@ -7971,8 +7971,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7971
7971
  conversationId: z.ZodOptional<z.ZodString>;
7972
7972
  ref: z.ZodObject<{
7973
7973
  type: z.ZodEnum<{
7974
- commit: "commit";
7975
7974
  tag: "tag";
7975
+ commit: "commit";
7976
7976
  branch: "branch";
7977
7977
  }>;
7978
7978
  name: z.ZodString;
@@ -7980,26 +7980,26 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7980
7980
  }, z.core.$strip>;
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7985
7985
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
7986
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
7987
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
7988
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7990
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7991
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7992
7992
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7993
7993
  type: z.ZodEnum<{
7994
- commit: "commit";
7995
7994
  tag: "tag";
7995
+ commit: "commit";
7996
7996
  branch: "branch";
7997
7997
  }>;
7998
7998
  name: z.ZodString;
7999
7999
  hash: z.ZodString;
8000
8000
  }, z.core.$strip>>>;
8001
8001
  }, z.core.$strip>;
8002
- declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8002
+ declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8003
8003
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8004
8004
  name: "created_at";
8005
8005
  tableName: "task_relations";
@@ -8148,7 +8148,7 @@ declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8148
8148
  }, {}, {
8149
8149
  length: 256;
8150
8150
  }>;
8151
- }, drizzle_zod0.BuildRefine<{
8151
+ }, drizzle_zod3.BuildRefine<{
8152
8152
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8153
8153
  name: "created_at";
8154
8154
  tableName: "task_relations";
@@ -8374,7 +8374,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8374
8374
  description: z.ZodOptional<z.ZodString>;
8375
8375
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8376
8376
  }, z.core.$strip>;
8377
- declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
8377
+ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8378
8378
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8379
8379
  name: "created_at";
8380
8380
  tableName: "tools";
@@ -8654,7 +8654,7 @@ declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
8654
8654
  }, {}, {
8655
8655
  length: 256;
8656
8656
  }>;
8657
- }, drizzle_zod0.BuildRefine<{
8657
+ }, drizzle_zod3.BuildRefine<{
8658
8658
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8659
8659
  name: "created_at";
8660
8660
  tableName: "tools";
@@ -8980,7 +8980,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8980
8980
  out: {};
8981
8981
  in: {};
8982
8982
  }>;
8983
- declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8983
+ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8984
8984
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8985
8985
  name: "created_at";
8986
8986
  tableName: "conversations";
@@ -9078,7 +9078,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9078
9078
  dataType: "json";
9079
9079
  columnType: "PgJsonb";
9080
9080
  data: {
9081
- type: "commit" | "tag" | "branch";
9081
+ type: "tag" | "commit" | "branch";
9082
9082
  name: string;
9083
9083
  hash: string;
9084
9084
  };
@@ -9094,7 +9094,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9094
9094
  generated: undefined;
9095
9095
  }, {}, {
9096
9096
  $type: {
9097
- type: "commit" | "tag" | "branch";
9097
+ type: "tag" | "commit" | "branch";
9098
9098
  name: string;
9099
9099
  hash: string;
9100
9100
  };
@@ -9209,7 +9209,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9209
9209
  }, {}, {
9210
9210
  length: 256;
9211
9211
  }>;
9212
- }, drizzle_zod0.BuildRefine<{
9212
+ }, drizzle_zod3.BuildRefine<{
9213
9213
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9214
9214
  name: "created_at";
9215
9215
  tableName: "conversations";
@@ -9307,7 +9307,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9307
9307
  dataType: "json";
9308
9308
  columnType: "PgJsonb";
9309
9309
  data: {
9310
- type: "commit" | "tag" | "branch";
9310
+ type: "tag" | "commit" | "branch";
9311
9311
  name: string;
9312
9312
  hash: string;
9313
9313
  };
@@ -9323,7 +9323,7 @@ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
9323
9323
  generated: undefined;
9324
9324
  }, {}, {
9325
9325
  $type: {
9326
- type: "commit" | "tag" | "branch";
9326
+ type: "tag" | "commit" | "branch";
9327
9327
  name: string;
9328
9328
  hash: string;
9329
9329
  };
@@ -9454,8 +9454,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9454
9454
  contextConfigId: z.ZodOptional<z.ZodString>;
9455
9455
  ref: z.ZodObject<{
9456
9456
  type: z.ZodEnum<{
9457
- commit: "commit";
9458
9457
  tag: "tag";
9458
+ commit: "commit";
9459
9459
  branch: "branch";
9460
9460
  }>;
9461
9461
  name: z.ZodString;
@@ -9480,8 +9480,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9480
9480
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9481
9481
  ref: z.ZodOptional<z.ZodObject<{
9482
9482
  type: z.ZodEnum<{
9483
- commit: "commit";
9484
9483
  tag: "tag";
9484
+ commit: "commit";
9485
9485
  branch: "branch";
9486
9486
  }>;
9487
9487
  name: z.ZodString;
@@ -9498,19 +9498,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9498
9498
  agentId: z.ZodNullable<z.ZodString>;
9499
9499
  activeSubAgentId: z.ZodString;
9500
9500
  ref: z.ZodNullable<z.ZodType<{
9501
- type: "commit" | "tag" | "branch";
9501
+ type: "tag" | "commit" | "branch";
9502
9502
  name: string;
9503
9503
  hash: string;
9504
9504
  }, {
9505
- type: "commit" | "tag" | "branch";
9505
+ type: "tag" | "commit" | "branch";
9506
9506
  name: string;
9507
9507
  hash: string;
9508
9508
  }, z.core.$ZodTypeInternals<{
9509
- type: "commit" | "tag" | "branch";
9509
+ type: "tag" | "commit" | "branch";
9510
9510
  name: string;
9511
9511
  hash: string;
9512
9512
  }, {
9513
- type: "commit" | "tag" | "branch";
9513
+ type: "tag" | "commit" | "branch";
9514
9514
  name: string;
9515
9515
  hash: string;
9516
9516
  }>>>;
@@ -9536,8 +9536,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9536
9536
  contextConfigId: z.ZodOptional<z.ZodString>;
9537
9537
  ref: z.ZodObject<{
9538
9538
  type: z.ZodEnum<{
9539
- commit: "commit";
9540
9539
  tag: "tag";
9540
+ commit: "commit";
9541
9541
  branch: "branch";
9542
9542
  }>;
9543
9543
  name: z.ZodString;
@@ -9545,18 +9545,18 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9545
9545
  }, z.core.$strip>;
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9549
9548
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9549
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
9551
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9551
9552
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9552
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9553
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9554
9553
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9554
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
9555
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9556
9556
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9557
9557
  type: z.ZodEnum<{
9558
- commit: "commit";
9559
9558
  tag: "tag";
9559
+ commit: "commit";
9560
9560
  branch: "branch";
9561
9561
  }>;
9562
9562
  name: z.ZodString;
@@ -9565,7 +9565,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9565
9565
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9566
9566
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9567
9567
  }, z.core.$strip>;
9568
- declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
9568
+ declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
9569
9569
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9570
9570
  name: "created_at";
9571
9571
  tableName: "messages";
@@ -9961,7 +9961,7 @@ declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
9961
9961
  }, {}, {
9962
9962
  length: 256;
9963
9963
  }>;
9964
- }, drizzle_zod0.BuildRefine<{
9964
+ }, drizzle_zod3.BuildRefine<{
9965
9965
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9966
9966
  name: "created_at";
9967
9967
  tableName: "messages";
@@ -10457,19 +10457,19 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
10457
10457
  taskId: z.ZodOptional<z.ZodString>;
10458
10458
  }>, z.core.$strip>;
10459
10459
  declare const MessageApiUpdateSchema: z.ZodObject<{
10460
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10461
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10462
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10463
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10464
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10465
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10460
10466
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10461
10467
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10462
10468
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10463
10469
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10464
10470
  taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10465
10471
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10466
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10467
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10468
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10469
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10470
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10471
10472
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10472
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10473
10473
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10474
10474
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10475
10475
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -10477,7 +10477,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10477
10477
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10478
10478
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10479
10479
  }, z.core.$strip>;
10480
- declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10480
+ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10481
10481
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "context_cache";
@@ -10575,7 +10575,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10575
10575
  dataType: "json";
10576
10576
  columnType: "PgJsonb";
10577
10577
  data: {
10578
- type: "commit" | "tag" | "branch";
10578
+ type: "tag" | "commit" | "branch";
10579
10579
  name: string;
10580
10580
  hash: string;
10581
10581
  };
@@ -10591,7 +10591,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10591
10591
  generated: undefined;
10592
10592
  }, {}, {
10593
10593
  $type: {
10594
- type: "commit" | "tag" | "branch";
10594
+ type: "tag" | "commit" | "branch";
10595
10595
  name: string;
10596
10596
  hash: string;
10597
10597
  };
@@ -10727,7 +10727,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10727
10727
  }, {}, {
10728
10728
  length: 256;
10729
10729
  }>;
10730
- }, drizzle_zod0.BuildRefine<{
10730
+ }, drizzle_zod3.BuildRefine<{
10731
10731
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10732
10732
  name: "created_at";
10733
10733
  tableName: "context_cache";
@@ -10825,7 +10825,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10825
10825
  dataType: "json";
10826
10826
  columnType: "PgJsonb";
10827
10827
  data: {
10828
- type: "commit" | "tag" | "branch";
10828
+ type: "tag" | "commit" | "branch";
10829
10829
  name: string;
10830
10830
  hash: string;
10831
10831
  };
@@ -10841,7 +10841,7 @@ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10841
10841
  generated: undefined;
10842
10842
  }, {}, {
10843
10843
  $type: {
10844
- type: "commit" | "tag" | "branch";
10844
+ type: "tag" | "commit" | "branch";
10845
10845
  name: string;
10846
10846
  hash: string;
10847
10847
  };
@@ -10984,7 +10984,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10984
10984
  conversationId: z.ZodString;
10985
10985
  contextConfigId: z.ZodString;
10986
10986
  contextVariableKey: z.ZodString;
10987
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
10987
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
10988
10988
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  fetchedAt: z.ZodOptional<z.ZodString>;
10990
10990
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10993,8 +10993,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10993
10993
  id: z.ZodString;
10994
10994
  ref: z.ZodObject<{
10995
10995
  type: z.ZodEnum<{
10996
- commit: "commit";
10997
10996
  tag: "tag";
10997
+ commit: "commit";
10998
10998
  branch: "branch";
10999
10999
  }>;
11000
11000
  name: z.ZodString;
@@ -11010,7 +11010,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11010
11010
  conversationId: z.ZodOptional<z.ZodString>;
11011
11011
  contextConfigId: z.ZodOptional<z.ZodString>;
11012
11012
  contextVariableKey: z.ZodOptional<z.ZodString>;
11013
- value: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
11013
+ value: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
11014
11014
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11015
11015
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11016
11016
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -11019,8 +11019,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11019
11019
  id: z.ZodOptional<z.ZodString>;
11020
11020
  ref: z.ZodOptional<z.ZodObject<{
11021
11021
  type: z.ZodEnum<{
11022
- commit: "commit";
11023
11022
  tag: "tag";
11023
+ commit: "commit";
11024
11024
  branch: "branch";
11025
11025
  }>;
11026
11026
  name: z.ZodString;
@@ -11037,23 +11037,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11037
11037
  contextConfigId: z.ZodString;
11038
11038
  contextVariableKey: z.ZodString;
11039
11039
  ref: z.ZodNullable<z.ZodType<{
11040
- type: "commit" | "tag" | "branch";
11040
+ type: "tag" | "commit" | "branch";
11041
11041
  name: string;
11042
11042
  hash: string;
11043
11043
  }, {
11044
- type: "commit" | "tag" | "branch";
11044
+ type: "tag" | "commit" | "branch";
11045
11045
  name: string;
11046
11046
  hash: string;
11047
11047
  }, z.core.$ZodTypeInternals<{
11048
- type: "commit" | "tag" | "branch";
11048
+ type: "tag" | "commit" | "branch";
11049
11049
  name: string;
11050
11050
  hash: string;
11051
11051
  }, {
11052
- type: "commit" | "tag" | "branch";
11052
+ type: "tag" | "commit" | "branch";
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
11056
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
11056
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
11057
11057
  requestHash: z.ZodNullable<z.ZodString>;
11058
11058
  fetchedAt: z.ZodString;
11059
11059
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -11067,7 +11067,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11067
11067
  conversationId: z.ZodString;
11068
11068
  contextConfigId: z.ZodString;
11069
11069
  contextVariableKey: z.ZodString;
11070
- value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
11070
+ value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
11071
11071
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11072
11072
  fetchedAt: z.ZodOptional<z.ZodString>;
11073
11073
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11076,8 +11076,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11076
11076
  id: z.ZodString;
11077
11077
  ref: z.ZodObject<{
11078
11078
  type: z.ZodEnum<{
11079
- commit: "commit";
11080
11079
  tag: "tag";
11080
+ commit: "commit";
11081
11081
  branch: "branch";
11082
11082
  }>;
11083
11083
  name: z.ZodString;
@@ -11086,15 +11086,15 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
11088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
11089
11090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11090
11091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
11092
11092
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11093
11093
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11094
11094
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11095
11095
  type: z.ZodEnum<{
11096
- commit: "commit";
11097
11096
  tag: "tag";
11097
+ commit: "commit";
11098
11098
  branch: "branch";
11099
11099
  }>;
11100
11100
  name: z.ZodString;
@@ -11105,7 +11105,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11105
11105
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11106
11106
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11107
11107
  }, z.core.$strip>;
11108
- declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
11108
+ declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
11109
11109
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11110
11110
  name: "created_at";
11111
11111
  tableName: "dataset_run";
@@ -11248,7 +11248,7 @@ declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
11248
11248
  }, {}, {
11249
11249
  length: 256;
11250
11250
  }>;
11251
- }, drizzle_zod0.BuildRefine<{
11251
+ }, drizzle_zod3.BuildRefine<{
11252
11252
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11253
11253
  name: "created_at";
11254
11254
  tableName: "dataset_run";
@@ -11442,7 +11442,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11442
11442
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
11443
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
11444
  }, z.core.$strip>;
11445
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11445
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11446
11446
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11447
11447
  name: "created_at";
11448
11448
  tableName: "dataset_run_conversation_relations";
@@ -11585,7 +11585,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSche
11585
11585
  }, {}, {
11586
11586
  length: 256;
11587
11587
  }>;
11588
- }, drizzle_zod0.BuildRefine<{
11588
+ }, drizzle_zod3.BuildRefine<{
11589
11589
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11590
11590
  name: "created_at";
11591
11591
  tableName: "dataset_run_conversation_relations";
@@ -11779,7 +11779,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11779
11779
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11780
11780
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11781
11781
  }, z.core.$strip>;
11782
- declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
11782
+ declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
11783
11783
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11784
11784
  name: "created_at";
11785
11785
  tableName: "evaluation_result";
@@ -11941,7 +11941,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
11941
11941
  }, {}, {
11942
11942
  length: 256;
11943
11943
  }>;
11944
- }, drizzle_zod0.BuildRefine<{
11944
+ }, drizzle_zod3.BuildRefine<{
11945
11945
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11946
11946
  name: "created_at";
11947
11947
  tableName: "evaluation_result";
@@ -12159,7 +12159,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12159
12159
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
12160
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12161
12161
  }, z.core.$strip>;
12162
- declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
12162
+ declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
12163
12163
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12164
12164
  name: "created_at";
12165
12165
  tableName: "evaluation_run";
@@ -12285,7 +12285,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
12285
12285
  }, {}, {
12286
12286
  length: 256;
12287
12287
  }>;
12288
- }, drizzle_zod0.BuildRefine<{
12288
+ }, drizzle_zod3.BuildRefine<{
12289
12289
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12290
12290
  name: "created_at";
12291
12291
  tableName: "evaluation_run";
@@ -12457,7 +12457,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12457
12457
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
12458
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
12459
  }, z.core.$strip>;
12460
- declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12460
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12461
12461
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12462
12462
  name: "created_at";
12463
12463
  tableName: "evaluation_run_config";
@@ -12602,7 +12602,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
12602
12602
  }, {}, {
12603
12603
  length: 256;
12604
12604
  }>;
12605
- }, drizzle_zod0.BuildRefine<{
12605
+ }, drizzle_zod3.BuildRefine<{
12606
12606
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12607
12607
  name: "created_at";
12608
12608
  tableName: "evaluation_run_config";
@@ -12785,31 +12785,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12785
12785
  id: z.ZodString;
12786
12786
  }>, z.core.$strip>;
12787
12787
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12789
12788
  name: z.ZodString;
12789
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12790
12790
  createdAt: z.ZodOptional<z.ZodString>;
12791
12791
  updatedAt: z.ZodOptional<z.ZodString>;
12792
12792
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12793
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12794
  }, z.core.$strip>;
12795
12795
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12797
12796
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12797
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12798
12798
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
12799
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12800
12800
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12801
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12802
  }, z.core.$strip>;
12803
12803
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
- description: z.ZodNullable<z.ZodString>;
12805
12804
  id: z.ZodString;
12806
12805
  name: z.ZodString;
12806
+ description: z.ZodNullable<z.ZodString>;
12807
12807
  createdAt: z.ZodString;
12808
12808
  updatedAt: z.ZodString;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
12812
- declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12812
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12813
12813
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12814
12814
  name: "created_at";
12815
12815
  tableName: "evaluation_job_config";
@@ -12934,7 +12934,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select"
12934
12934
  }, {}, {
12935
12935
  length: 256;
12936
12936
  }>;
12937
- }, drizzle_zod0.BuildRefine<{
12937
+ }, drizzle_zod3.BuildRefine<{
12938
12938
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12939
12939
  name: "created_at";
12940
12940
  tableName: "evaluation_job_config";
@@ -13241,7 +13241,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13241
13241
  } | undefined;
13242
13242
  }>>>>>>>;
13243
13243
  }, z.core.$strip>;
13244
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
13244
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
13245
13245
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13246
13246
  name: "created_at";
13247
13247
  tableName: "evaluation_suite_config";
@@ -13369,7 +13369,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"selec
13369
13369
  }, {}, {
13370
13370
  length: 256;
13371
13371
  }>;
13372
- }, drizzle_zod0.BuildRefine<{
13372
+ }, drizzle_zod3.BuildRefine<{
13373
13373
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13374
13374
  name: "created_at";
13375
13375
  tableName: "evaluation_suite_config";
@@ -13545,7 +13545,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13545
13545
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13546
13546
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13547
13547
  }, z.core.$strip>;
13548
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13548
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13549
13549
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13550
13550
  name: "created_at";
13551
13551
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13675,7 +13675,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13675
13675
  }, {}, {
13676
13676
  length: 256;
13677
13677
  }>;
13678
- }, drizzle_zod0.BuildRefine<{
13678
+ }, drizzle_zod3.BuildRefine<{
13679
13679
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13680
13680
  name: "created_at";
13681
13681
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13851,7 +13851,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13851
13851
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13852
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13853
  }, z.core.$strip>;
13854
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13854
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13855
13855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13856
13856
  name: "created_at";
13857
13857
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13981,7 +13981,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.Bui
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod0.BuildRefine<{
13984
+ }, drizzle_zod3.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14157,7 +14157,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14157
14157
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
14158
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
14159
  }, z.core.$strip>;
14160
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
14160
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
14161
14161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14162
14162
  name: "created_at";
14163
14163
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14287,7 +14287,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.B
14287
14287
  }, {}, {
14288
14288
  length: 256;
14289
14289
  }>;
14290
- }, drizzle_zod0.BuildRefine<{
14290
+ }, drizzle_zod3.BuildRefine<{
14291
14291
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14292
14292
  name: "created_at";
14293
14293
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14463,7 +14463,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14463
14463
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
14464
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
14465
  }, z.core.$strip>;
14466
- declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
14466
+ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
14467
14467
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14468
14468
  name: "created_at";
14469
14469
  tableName: "evaluator";
@@ -14671,7 +14671,7 @@ declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
14671
14671
  }, {}, {
14672
14672
  length: 256;
14673
14673
  }>;
14674
- }, drizzle_zod0.BuildRefine<{
14674
+ }, drizzle_zod3.BuildRefine<{
14675
14675
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14676
14676
  name: "created_at";
14677
14677
  tableName: "evaluator";
@@ -14962,10 +14962,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14962
14962
  id: z.ZodString;
14963
14963
  }>, z.core.$strip>;
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14966
14965
  name: z.ZodString;
14967
- createdAt: z.ZodOptional<z.ZodString>;
14968
- updatedAt: z.ZodOptional<z.ZodString>;
14966
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
+ prompt: z.ZodString;
14969
14968
  model: z.ZodType<{
14970
14969
  model?: string | undefined;
14971
14970
  providerOptions?: Record<string, any> | undefined;
@@ -14979,15 +14978,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14979
14978
  model?: string | undefined;
14980
14979
  providerOptions?: Record<string, any> | undefined;
14981
14980
  }>>;
14981
+ createdAt: z.ZodOptional<z.ZodString>;
14982
+ updatedAt: z.ZodOptional<z.ZodString>;
14982
14983
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14983
- prompt: z.ZodString;
14984
14984
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14985
  }, z.core.$strip>;
14986
14986
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14988
14987
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14989
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14988
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14991
14990
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14992
14991
  model?: string | undefined;
14993
14992
  providerOptions?: Record<string, any> | undefined;
@@ -15001,11 +15000,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15001
15000
  model?: string | undefined;
15002
15001
  providerOptions?: Record<string, any> | undefined;
15003
15002
  }>>>>;
15003
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
15005
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15005
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15006
15006
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
15007
  }, z.core.$strip>;
15008
- declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
15008
+ declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
15009
15009
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15010
15010
  name: "created_at";
15011
15011
  tableName: "dataset";
@@ -15116,7 +15116,7 @@ declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
15116
15116
  }, {}, {
15117
15117
  length: 256;
15118
15118
  }>;
15119
- }, drizzle_zod0.BuildRefine<{
15119
+ }, drizzle_zod3.BuildRefine<{
15120
15120
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15121
15121
  name: "created_at";
15122
15122
  tableName: "dataset";
@@ -15268,7 +15268,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15268
15268
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15269
15269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15270
15270
  }, z.core.$strip>;
15271
- declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
15271
+ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
15272
15272
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15273
15273
  name: "created_at";
15274
15274
  tableName: "dataset_item";
@@ -15456,7 +15456,7 @@ declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
15456
15456
  }, {}, {
15457
15457
  length: 256;
15458
15458
  }>;
15459
- }, drizzle_zod0.BuildRefine<{
15459
+ }, drizzle_zod3.BuildRefine<{
15460
15460
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15461
15461
  name: "created_at";
15462
15462
  tableName: "dataset_item";
@@ -15899,8 +15899,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15899
15899
  }>>>>>>;
15900
15900
  }, z.core.$strip>;
15901
15901
  declare const DatasetRunItemSchema: z.ZodObject<{
15902
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15903
15902
  id: z.ZodOptional<z.ZodString>;
15903
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15904
15904
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15905
15905
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15906
15906
  prompt: string;
@@ -15948,8 +15948,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15948
15948
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15949
15949
  datasetRunId: z.ZodString;
15950
15950
  items: z.ZodArray<z.ZodObject<{
15951
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15952
15951
  id: z.ZodOptional<z.ZodString>;
15952
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15953
15953
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15954
15954
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15955
15955
  prompt: string;
@@ -16027,7 +16027,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
16027
16027
  }, z.core.$strip>>;
16028
16028
  }, z.core.$strip>>>;
16029
16029
  }, z.core.$strip>;
16030
- declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
16030
+ declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
16031
16031
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16032
16032
  name: "created_at";
16033
16033
  tableName: "dataset_run_config";
@@ -16174,7 +16174,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
16174
16174
  }, {}, {
16175
16175
  length: 256;
16176
16176
  }>;
16177
- }, drizzle_zod0.BuildRefine<{
16177
+ }, drizzle_zod3.BuildRefine<{
16178
16178
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16179
16179
  name: "created_at";
16180
16180
  tableName: "dataset_run_config";
@@ -16359,20 +16359,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16359
16359
  id: z.ZodString;
16360
16360
  }>, z.core.$strip>;
16361
16361
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16363
16362
  name: z.ZodString;
16363
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16364
16364
  createdAt: z.ZodOptional<z.ZodString>;
16365
16365
  updatedAt: z.ZodOptional<z.ZodString>;
16366
16366
  datasetId: z.ZodString;
16367
16367
  }, z.core.$strip>;
16368
16368
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16370
16369
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16370
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16371
16371
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
16372
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
16375
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
16376
16376
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16377
16377
  name: "created_at";
16378
16378
  tableName: "dataset_run_config_agent_relations";
@@ -16502,7 +16502,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchem
16502
16502
  }, {}, {
16503
16503
  length: 256;
16504
16504
  }>;
16505
- }, drizzle_zod0.BuildRefine<{
16505
+ }, drizzle_zod3.BuildRefine<{
16506
16506
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16507
16507
  name: "created_at";
16508
16508
  tableName: "dataset_run_config_agent_relations";
@@ -16677,10 +16677,10 @@ declare const SkillSelectSchema: z.ZodObject<{
16677
16677
  in: {};
16678
16678
  }>;
16679
16679
  declare const SkillInsertSchema: z.ZodObject<{
16680
- description: z.ZodString;
16681
16680
  name: z.ZodString;
16682
- projectId: z.ZodString;
16681
+ description: z.ZodString;
16683
16682
  tenantId: z.ZodString;
16683
+ projectId: z.ZodString;
16684
16684
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16685
  content: z.ZodString;
16686
16686
  }, {
@@ -16689,8 +16689,8 @@ declare const SkillInsertSchema: z.ZodObject<{
16689
16689
  }>;
16690
16690
  declare const SkillUpdateSchema: z.ZodObject<{
16691
16691
  description: z.ZodOptional<z.ZodString>;
16692
- projectId: z.ZodOptional<z.ZodString>;
16693
16692
  tenantId: z.ZodOptional<z.ZodString>;
16693
+ projectId: z.ZodOptional<z.ZodString>;
16694
16694
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16695
  content: z.ZodOptional<z.ZodString>;
16696
16696
  }, {
@@ -16709,10 +16709,10 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16709
16709
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16710
16710
  }>, z.core.$strip>;
16711
16711
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
- description: z.ZodString;
16713
16712
  name: z.ZodString;
16714
- projectId: z.ZodString;
16713
+ description: z.ZodString;
16715
16714
  tenantId: z.ZodString;
16715
+ projectId: z.ZodString;
16716
16716
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16717
  content: z.ZodString;
16718
16718
  }>, z.core.$strip>;
@@ -16721,7 +16721,7 @@ declare const SkillApiUpdateSchema: z.ZodObject<{
16721
16721
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16722
16722
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16723
16723
  }, z.core.$strip>;
16724
- declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
16724
+ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16725
16725
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16726
16726
  name: "created_at";
16727
16727
  tableName: "data_components";
@@ -16907,7 +16907,7 @@ declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
16907
16907
  }, {}, {
16908
16908
  length: 256;
16909
16909
  }>;
16910
- }, drizzle_zod0.BuildRefine<{
16910
+ }, drizzle_zod3.BuildRefine<{
16911
16911
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16912
16912
  name: "created_at";
16913
16913
  tableName: "data_components";
@@ -17255,6 +17255,8 @@ declare const DataComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
17255
17255
  }>, z.core.$strip>;
17256
17256
  declare const DataComponentApiInsertSchema: z.ZodObject<{
17257
17257
  id: z.ZodString;
17258
+ createdAt: z.ZodOptional<z.ZodString>;
17259
+ updatedAt: z.ZodOptional<z.ZodString>;
17258
17260
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
17259
17261
  component: string;
17260
17262
  mockData: Record<string, unknown>;
@@ -17268,8 +17270,6 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
17268
17270
  component: string;
17269
17271
  mockData: Record<string, unknown>;
17270
17272
  }>>>>;
17271
- createdAt: z.ZodOptional<z.ZodString>;
17272
- updatedAt: z.ZodOptional<z.ZodString>;
17273
17273
  name: z.ZodString;
17274
17274
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17275
17275
  props: z.ZodObject<{
@@ -17282,6 +17282,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
17282
17282
  }, z.core.$strip>;
17283
17283
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
17284
17284
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17285
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17286
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17285
17287
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17286
17288
  component: string;
17287
17289
  mockData: Record<string, unknown>;
@@ -17295,8 +17297,6 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17295
17297
  component: string;
17296
17298
  mockData: Record<string, unknown>;
17297
17299
  }>>>>>>;
17298
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17299
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17300
17300
  name: z.ZodString;
17301
17301
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17302
17302
  props: z.ZodObject<{
@@ -17307,7 +17307,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17307
17307
  description: z.ZodOptional<z.ZodString>;
17308
17308
  }, z.core.$loose>;
17309
17309
  }, z.core.$strip>;
17310
- declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
17310
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17311
17311
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17312
17312
  name: "data_component_id";
17313
17313
  tableName: "sub_agent_data_components";
@@ -17439,7 +17439,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
17439
17439
  }, {}, {
17440
17440
  length: 256;
17441
17441
  }>;
17442
- }, drizzle_zod0.BuildRefine<{
17442
+ }, drizzle_zod3.BuildRefine<{
17443
17443
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17444
17444
  name: "data_component_id";
17445
17445
  tableName: "sub_agent_data_components";
@@ -17572,7 +17572,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"selec
17572
17572
  length: 256;
17573
17573
  }>;
17574
17574
  }, undefined>, undefined>;
17575
- declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
17575
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
17576
17576
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17577
17577
  name: "data_component_id";
17578
17578
  tableName: "sub_agent_data_components";
@@ -17704,7 +17704,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
17704
17704
  }, {}, {
17705
17705
  length: 256;
17706
17706
  }>;
17707
- }, drizzle_zod0.BuildRefine<Pick<{
17707
+ }, drizzle_zod3.BuildRefine<Pick<{
17708
17708
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17709
17709
  name: "data_component_id";
17710
17710
  tableName: "sub_agent_data_components";
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"inser
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "subAgentId" | "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17840
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17841
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17842
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17859,20 +17859,20 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
17859
17859
  id: z.ZodString;
17860
17860
  }>, z.core.$strip>;
17861
17861
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17862
- subAgentId: z.ZodString;
17863
17862
  agentId: z.ZodString;
17863
+ subAgentId: z.ZodString;
17864
17864
  dataComponentId: z.ZodString;
17865
17865
  }, {
17866
17866
  out: {};
17867
17867
  in: {};
17868
17868
  }>;
17869
17869
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17870
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17871
17870
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17872
17871
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17872
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17873
17873
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17874
17874
  }, z.core.$strip>;
17875
- declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
17875
+ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17876
17876
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17877
17877
  name: "created_at";
17878
17878
  tableName: "artifact_components";
@@ -18058,7 +18058,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select",
18058
18058
  }, {}, {
18059
18059
  length: 256;
18060
18060
  }>;
18061
- }, drizzle_zod0.BuildRefine<{
18061
+ }, drizzle_zod3.BuildRefine<{
18062
18062
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18063
18063
  name: "created_at";
18064
18064
  tableName: "artifact_components";
@@ -18433,9 +18433,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18433
18433
  in: {};
18434
18434
  }>;
18435
18435
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18437
18436
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
18437
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18439
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18439
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18440
18442
  [x: string]: unknown;
18441
18443
  type: "object";
@@ -18478,10 +18480,8 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18478
18480
  component: string;
18479
18481
  mockData: Record<string, unknown>;
18480
18482
  }>>>>>>;
18481
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18482
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18483
18483
  }, z.core.$strip>;
18484
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
18484
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
18485
18485
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18486
18486
  name: "artifact_component_id";
18487
18487
  tableName: "sub_agent_artifact_components";
@@ -18613,7 +18613,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"s
18613
18613
  }, {}, {
18614
18614
  length: 256;
18615
18615
  }>;
18616
- }, drizzle_zod0.BuildRefine<{
18616
+ }, drizzle_zod3.BuildRefine<{
18617
18617
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18618
18618
  name: "artifact_component_id";
18619
18619
  tableName: "sub_agent_artifact_components";
@@ -18780,17 +18780,17 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
18780
18780
  id: z.ZodString;
18781
18781
  }>, z.core.$strip>;
18782
18782
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18783
- subAgentId: z.ZodString;
18784
18783
  agentId: z.ZodString;
18784
+ subAgentId: z.ZodString;
18785
18785
  artifactComponentId: z.ZodString;
18786
18786
  }, {
18787
18787
  out: {};
18788
18788
  in: {};
18789
18789
  }>;
18790
18790
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
18791
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18792
18791
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18793
18792
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18793
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18794
18794
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18795
18795
  }, z.core.$strip>;
18796
18796
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -18851,28 +18851,28 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18851
18851
  index: z.ZodInt;
18852
18852
  }>, z.core.$strip>;
18853
18853
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18854
- subAgentId: z.ZodString;
18855
18854
  agentId: z.ZodString;
18856
- skillId: z.ZodString;
18857
18855
  index: z.ZodInt;
18858
18856
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18857
+ subAgentId: z.ZodString;
18858
+ skillId: z.ZodString;
18859
18859
  }, {
18860
18860
  out: {};
18861
18861
  in: {};
18862
18862
  }>;
18863
18863
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18864
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18865
18864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18866
18865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18867
18866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18868
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18869
18867
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18870
18868
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18869
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18870
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18871
18871
  }, z.core.$strip>;
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
- description: z.ZodString;
18874
18873
  id: z.ZodString;
18875
18874
  name: z.ZodString;
18875
+ description: z.ZodString;
18876
18876
  createdAt: z.ZodString;
18877
18877
  updatedAt: z.ZodString;
18878
18878
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -18947,20 +18947,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18947
18947
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18948
18948
  }>, z.core.$strip>;
18949
18949
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18951
18950
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
18951
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18953
18953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
18954
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18955
18955
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18956
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18957
  }, z.core.$strip>;
18958
18958
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
- description: z.ZodNullable<z.ZodString>;
18960
18959
  id: z.ZodString;
18961
18960
  name: z.ZodString;
18962
- createdAt: z.ZodString;
18963
- updatedAt: z.ZodString;
18961
+ description: z.ZodNullable<z.ZodString>;
18962
+ prompt: z.ZodNullable<z.ZodString>;
18963
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18964
18964
  models: z.ZodNullable<z.ZodType<{
18965
18965
  base?: {
18966
18966
  model?: string | undefined;
@@ -19023,20 +19023,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19023
19023
  }, {
19024
19024
  stepCountIs?: number | undefined;
19025
19025
  }>>>;
19026
- prompt: z.ZodNullable<z.ZodString>;
19027
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
19026
+ createdAt: z.ZodString;
19027
+ updatedAt: z.ZodString;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
- description: z.ZodNullable<z.ZodString>;
19031
19030
  id: z.ZodString;
19032
19031
  name: z.ZodString;
19032
+ description: z.ZodNullable<z.ZodString>;
19033
19033
  createdAt: z.ZodString;
19034
19034
  updatedAt: z.ZodString;
19035
19035
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
19036
  baseUrl: z.ZodString;
19037
19037
  type: z.ZodLiteral<"external">;
19038
19038
  }, z.core.$strip>], "type">;
19039
- declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
19039
+ declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
19040
19040
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19041
19041
  name: "created_at";
19042
19042
  tableName: "api_keys";
@@ -19257,7 +19257,7 @@ declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
19257
19257
  }, {}, {
19258
19258
  length: 256;
19259
19259
  }>;
19260
- }, drizzle_zod0.BuildRefine<{
19260
+ }, drizzle_zod3.BuildRefine<{
19261
19261
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19262
19262
  name: "created_at";
19263
19263
  tableName: "api_keys";
@@ -19498,8 +19498,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
19498
  }>;
19499
19499
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
19500
  name: z.ZodOptional<z.ZodString>;
19501
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19502
19501
  agentId: z.ZodOptional<z.ZodString>;
19502
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19503
19503
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
19504
  }, {
19505
19505
  out: {};
@@ -19508,13 +19508,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
19509
  id: z.ZodString;
19510
19510
  name: z.ZodNullable<z.ZodString>;
19511
+ agentId: z.ZodString;
19511
19512
  createdAt: z.ZodString;
19512
19513
  updatedAt: z.ZodString;
19513
- agentId: z.ZodString;
19514
+ expiresAt: z.ZodNullable<z.ZodString>;
19514
19515
  publicId: z.ZodString;
19515
19516
  keyPrefix: z.ZodString;
19516
19517
  lastUsedAt: z.ZodNullable<z.ZodString>;
19517
- expiresAt: z.ZodNullable<z.ZodString>;
19518
19518
  }, {
19519
19519
  out: {};
19520
19520
  in: {};
@@ -19524,13 +19524,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19524
19524
  apiKey: z.ZodObject<{
19525
19525
  id: z.ZodString;
19526
19526
  name: z.ZodNullable<z.ZodString>;
19527
+ agentId: z.ZodString;
19527
19528
  createdAt: z.ZodString;
19528
19529
  updatedAt: z.ZodString;
19529
- agentId: z.ZodString;
19530
+ expiresAt: z.ZodNullable<z.ZodString>;
19530
19531
  publicId: z.ZodString;
19531
19532
  keyPrefix: z.ZodString;
19532
19533
  lastUsedAt: z.ZodNullable<z.ZodString>;
19533
- expiresAt: z.ZodNullable<z.ZodString>;
19534
19534
  }, {
19535
19535
  out: {};
19536
19536
  in: {};
@@ -19540,9 +19540,9 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19540
19540
  }, z.core.$strip>;
19541
19541
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
19542
  name: z.ZodString;
19543
+ agentId: z.ZodString;
19543
19544
  createdAt: z.ZodOptional<z.ZodString>;
19544
19545
  updatedAt: z.ZodOptional<z.ZodString>;
19545
- agentId: z.ZodString;
19546
19546
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19547
19547
  }, {
19548
19548
  out: {};
@@ -19550,14 +19550,14 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
19550
19550
  }>;
19551
19551
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
19552
  name: z.ZodOptional<z.ZodString>;
19553
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19554
19553
  agentId: z.ZodOptional<z.ZodString>;
19554
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19555
19555
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19556
19556
  }, {
19557
19557
  out: {};
19558
19558
  in: {};
19559
19559
  }>;
19560
- declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select", {
19560
+ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
19561
19561
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19562
19562
  name: "created_at";
19563
19563
  tableName: "credential_references";
@@ -19782,7 +19782,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select"
19782
19782
  }, {}, {
19783
19783
  length: 256;
19784
19784
  }>;
19785
- }, drizzle_zod0.BuildRefine<{
19785
+ }, drizzle_zod3.BuildRefine<{
19786
19786
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19787
19787
  name: "created_at";
19788
19788
  tableName: "credential_references";
@@ -20047,17 +20047,17 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20047
20047
  name: z.ZodString;
20048
20048
  createdAt: z.ZodString;
20049
20049
  updatedAt: z.ZodString;
20050
+ toolId: z.ZodNullable<z.ZodString>;
20051
+ userId: z.ZodNullable<z.ZodString>;
20050
20052
  createdBy: z.ZodNullable<z.ZodString>;
20051
20053
  credentialStoreId: z.ZodString;
20052
20054
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20053
- toolId: z.ZodNullable<z.ZodString>;
20054
- userId: z.ZodNullable<z.ZodString>;
20055
20055
  type: z.ZodEnum<{
20056
20056
  readonly memory: "memory";
20057
20057
  readonly keychain: "keychain";
20058
20058
  readonly nango: "nango";
20059
20059
  }>;
20060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
20060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
20061
20061
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20062
20062
  name: "created_at";
20063
20063
  tableName: "tools";
@@ -20337,7 +20337,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20337
20337
  }, {}, {
20338
20338
  length: 256;
20339
20339
  }>;
20340
- }, drizzle_zod0.BuildRefine<{
20340
+ }, drizzle_zod3.BuildRefine<{
20341
20341
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20342
20342
  name: "created_at";
20343
20343
  tableName: "tools";
@@ -20638,11 +20638,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20638
20638
  name: z.ZodString;
20639
20639
  createdAt: z.ZodOptional<z.ZodString>;
20640
20640
  updatedAt: z.ZodOptional<z.ZodString>;
20641
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20641
20643
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
20644
  credentialStoreId: z.ZodString;
20643
20645
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20644
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20645
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20646
20646
  type: z.ZodEnum<{
20647
20647
  readonly memory: "memory";
20648
20648
  readonly keychain: "keychain";
@@ -20654,11 +20654,11 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20654
20654
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
20655
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20656
20656
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20657
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20657
20659
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
20660
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20659
20661
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20660
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20661
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20662
20662
  type: z.ZodOptional<z.ZodEnum<{
20663
20663
  readonly memory: "memory";
20664
20664
  readonly keychain: "keychain";
@@ -20784,13 +20784,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20784
20784
  id: z.ZodString;
20785
20785
  name: z.ZodString;
20786
20786
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20787
+ expiresAt: z.ZodOptional<z.ZodString>;
20787
20788
  createdBy: z.ZodOptional<z.ZodString>;
20788
20789
  credentialScope: z.ZodOptional<z.ZodString>;
20789
20790
  imageUrl: z.ZodOptional<z.ZodString>;
20790
20791
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20791
20792
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20792
20793
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20793
- expiresAt: z.ZodOptional<z.ZodString>;
20794
20794
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20795
20795
  name: z.ZodString;
20796
20796
  description: z.ZodOptional<z.ZodString>;
@@ -20821,11 +20821,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20821
20821
  name: z.ZodString;
20822
20822
  createdAt: z.ZodOptional<z.ZodString>;
20823
20823
  updatedAt: z.ZodOptional<z.ZodString>;
20824
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20824
20826
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
20827
  credentialStoreId: z.ZodString;
20826
20828
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20827
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20828
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20829
20829
  type: z.ZodEnum<{
20830
20830
  readonly memory: "memory";
20831
20831
  readonly keychain: "keychain";
@@ -20960,9 +20960,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20960
20960
  }, z.core.$strip>;
20961
20961
  }>, z.core.$strip>;
20962
20962
  declare const ToolApiUpdateSchema: z.ZodObject<{
20963
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20964
20963
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20965
20964
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20965
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20966
20966
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
20967
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20968
20968
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
@@ -20999,7 +20999,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20999
20999
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21000
21000
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
21001
21001
  }, z.core.$strip>;
21002
- declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
21002
+ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
21003
21003
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21004
21004
  name: "created_at";
21005
21005
  tableName: "function_tools";
@@ -21165,7 +21165,7 @@ declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
21165
21165
  }, {}, {
21166
21166
  length: 256;
21167
21167
  }>;
21168
- }, drizzle_zod0.BuildRefine<{
21168
+ }, drizzle_zod3.BuildRefine<{
21169
21169
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21170
21170
  name: "created_at";
21171
21171
  tableName: "function_tools";
@@ -21361,12 +21361,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21361
21361
  in: {};
21362
21362
  }>;
21363
21363
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21364
- description: z.ZodNullable<z.ZodString>;
21365
21364
  id: z.ZodString;
21366
21365
  name: z.ZodString;
21366
+ description: z.ZodNullable<z.ZodString>;
21367
+ agentId: z.ZodString;
21367
21368
  createdAt: z.ZodString;
21368
21369
  updatedAt: z.ZodString;
21369
- agentId: z.ZodString;
21370
21370
  functionId: z.ZodString;
21371
21371
  relationshipId: z.ZodOptional<z.ZodString>;
21372
21372
  }, z.core.$strip>;
@@ -21382,15 +21382,15 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21382
21382
  id: z.ZodString;
21383
21383
  }>, z.core.$strip>;
21384
21384
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21385
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21386
21385
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
21386
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21388
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21388
21389
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21389
21390
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21390
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21391
21391
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21392
21392
  }, z.core.$strip>;
21393
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
21393
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
21394
21394
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21395
21395
  name: "created_at";
21396
21396
  tableName: "sub_agent_function_tool_relations";
@@ -21562,7 +21562,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
21562
21562
  }, {}, {
21563
21563
  length: 256;
21564
21564
  }>;
21565
- }, drizzle_zod0.BuildRefine<{
21565
+ }, drizzle_zod3.BuildRefine<{
21566
21566
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21567
21567
  name: "created_at";
21568
21568
  tableName: "sub_agent_function_tool_relations";
@@ -21738,7 +21738,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema
21738
21738
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21739
21739
  createdAt: z.ZodOptional<z.ZodString>;
21740
21740
  updatedAt: z.ZodOptional<z.ZodString>;
21741
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
21741
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21742
21742
  agentId: z.ZodString;
21743
21743
  projectId: z.ZodString;
21744
21744
  tenantId: z.ZodString;
@@ -21753,7 +21753,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21753
21753
  createdAt: z.ZodString;
21754
21754
  updatedAt: z.ZodString;
21755
21755
  functionToolId: z.ZodString;
21756
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
21756
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21757
21757
  subAgentId: z.ZodString;
21758
21758
  agentId: z.ZodString;
21759
21759
  projectId: z.ZodString;
@@ -21761,14 +21761,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21761
21761
  id: z.ZodString;
21762
21762
  }>, z.core.$strip>;
21763
21763
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21764
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21764
21765
  subAgentId: z.ZodString;
21765
21766
  functionToolId: z.ZodString;
21766
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
21767
21767
  }, {
21768
21768
  out: {};
21769
21769
  in: {};
21770
21770
  }>;
21771
- declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
21771
+ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21772
21772
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21773
21773
  name: "created_at";
21774
21774
  tableName: "functions";
@@ -21915,7 +21915,7 @@ declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
21915
21915
  }, {}, {
21916
21916
  length: 256;
21917
21917
  }>;
21918
- }, drizzle_zod0.BuildRefine<{
21918
+ }, drizzle_zod3.BuildRefine<{
21919
21919
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21920
21920
  name: "created_at";
21921
21921
  tableName: "functions";
@@ -22159,11 +22159,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22159
22159
  name: z.ZodString;
22160
22160
  createdAt: z.ZodOptional<z.ZodString>;
22161
22161
  updatedAt: z.ZodOptional<z.ZodString>;
22162
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22162
22164
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
22165
  credentialStoreId: z.ZodString;
22164
22166
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22165
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22166
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22167
22167
  type: z.ZodEnum<{
22168
22168
  readonly memory: "memory";
22169
22169
  readonly keychain: "keychain";
@@ -22186,8 +22186,8 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22186
22186
  }>;
22187
22187
  declare const ContextConfigInsertSchema: z.ZodObject<{
22188
22188
  id: z.ZodOptional<z.ZodString>;
22189
- projectId: z.ZodString;
22190
22189
  tenantId: z.ZodString;
22190
+ projectId: z.ZodString;
22191
22191
  agentId: z.ZodString;
22192
22192
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22193
22193
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -22197,8 +22197,8 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22197
22197
  }>;
22198
22198
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22199
22199
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22200
- projectId: z.ZodOptional<z.ZodString>;
22201
22200
  tenantId: z.ZodOptional<z.ZodString>;
22201
+ projectId: z.ZodOptional<z.ZodString>;
22202
22202
  agentId: z.ZodOptional<z.ZodString>;
22203
22203
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22204
22204
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
@@ -22223,7 +22223,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22223
22223
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22224
22224
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22225
22225
  }, z.core.$strip>;
22226
- declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22226
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22227
22227
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22228
22228
  name: "created_at";
22229
22229
  tableName: "sub_agent_tool_relations";
@@ -22433,7 +22433,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select
22433
22433
  }, {}, {
22434
22434
  length: 256;
22435
22435
  }>;
22436
- }, drizzle_zod0.BuildRefine<{
22436
+ }, drizzle_zod3.BuildRefine<{
22437
22437
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22438
22438
  name: "created_at";
22439
22439
  tableName: "sub_agent_tool_relations";
@@ -22684,9 +22684,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22684
22684
  createdAt: z.ZodString;
22685
22685
  updatedAt: z.ZodString;
22686
22686
  toolId: z.ZodString;
22687
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22688
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22689
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22687
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22688
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22689
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22690
22690
  subAgentId: z.ZodString;
22691
22691
  agentId: z.ZodString;
22692
22692
  projectId: z.ZodString;
@@ -22709,18 +22709,18 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
22709
22709
  }, z.core.$strip>>>>;
22710
22710
  }>, z.core.$strip>;
22711
22711
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22712
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22713
22712
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22714
22713
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22715
22714
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22716
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22717
22715
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22716
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22718
22717
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22719
22718
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22720
22719
  }, z.core.$strip>>>>>>;
22720
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22721
22721
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22722
22722
  }, z.core.$strip>;
22723
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22723
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22724
22724
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22725
22725
  name: "created_at";
22726
22726
  tableName: "sub_agent_external_agent_relations";
@@ -22888,7 +22888,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchem
22888
22888
  }, {}, {
22889
22889
  length: 256;
22890
22890
  }>;
22891
- }, drizzle_zod0.BuildRefine<{
22891
+ }, drizzle_zod3.BuildRefine<{
22892
22892
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22893
22893
  name: "created_at";
22894
22894
  tableName: "sub_agent_external_agent_relations";
@@ -23089,7 +23089,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23089
23089
  createdAt: z.ZodString;
23090
23090
  updatedAt: z.ZodString;
23091
23091
  externalAgentId: z.ZodString;
23092
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23092
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23093
23093
  subAgentId: z.ZodString;
23094
23094
  agentId: z.ZodString;
23095
23095
  projectId: z.ZodString;
@@ -23103,14 +23103,14 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
23103
23103
  externalAgentId: z.ZodString;
23104
23104
  }, z.core.$strip>;
23105
23105
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23106
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23107
23106
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23108
23107
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23109
23108
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23110
23109
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23111
23110
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23112
23112
  }, z.core.$strip>;
23113
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
23113
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23114
23114
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23115
23115
  name: "created_at";
23116
23116
  tableName: "sub_agent_team_agent_relations";
@@ -23278,7 +23278,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"s
23278
23278
  }, {}, {
23279
23279
  length: 256;
23280
23280
  }>;
23281
- }, drizzle_zod0.BuildRefine<{
23281
+ }, drizzle_zod3.BuildRefine<{
23282
23282
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23283
23283
  name: "created_at";
23284
23284
  tableName: "sub_agent_team_agent_relations";
@@ -23479,7 +23479,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23479
23479
  createdAt: z.ZodString;
23480
23480
  updatedAt: z.ZodString;
23481
23481
  targetAgentId: z.ZodString;
23482
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23483
23483
  subAgentId: z.ZodString;
23484
23484
  agentId: z.ZodString;
23485
23485
  projectId: z.ZodString;
@@ -23493,14 +23493,14 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
23493
23493
  targetAgentId: z.ZodString;
23494
23494
  }, z.core.$strip>;
23495
23495
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23496
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23497
23496
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23498
23497
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23499
23498
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23500
23499
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23500
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23501
23501
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23502
23502
  }, z.core.$strip>;
23503
- declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
23503
+ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
23504
23504
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23505
23505
  name: "created_at";
23506
23506
  tableName: "ledger_artifacts";
@@ -23835,7 +23835,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
23835
23835
  }, {}, {
23836
23836
  length: 256;
23837
23837
  }>;
23838
- }, drizzle_zod0.BuildRefine<{
23838
+ }, drizzle_zod3.BuildRefine<{
23839
23839
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23840
23840
  name: "created_at";
23841
23841
  tableName: "ledger_artifacts";
@@ -24171,7 +24171,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
24171
24171
  length: 256;
24172
24172
  }>;
24173
24173
  }, undefined>, undefined>;
24174
- declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
24174
+ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24175
24175
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24176
24176
  name: "created_at";
24177
24177
  tableName: "ledger_artifacts";
@@ -24506,7 +24506,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
24506
24506
  }, {}, {
24507
24507
  length: 256;
24508
24508
  }>;
24509
- }, drizzle_zod0.BuildRefine<Pick<{
24509
+ }, drizzle_zod3.BuildRefine<Pick<{
24510
24510
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24511
24511
  name: "created_at";
24512
24512
  tableName: "ledger_artifacts";
@@ -24841,7 +24841,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
24841
24841
  }, {}, {
24842
24842
  length: 256;
24843
24843
  }>;
24844
- }, "type" | "taskId" | "description" | "id" | "name" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "metadata" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24844
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24845
24845
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24846
24846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24847
24847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24851,12 +24851,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24851
24851
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24852
24852
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24853
24853
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24854
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24855
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24854
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24855
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24856
24856
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24857
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24857
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24858
24858
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24859
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24859
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24860
24860
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24861
24861
  projectId: z.ZodOptional<z.ZodString>;
24862
24862
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24874,12 +24874,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24874
24874
  type: z.ZodString;
24875
24875
  name: z.ZodNullable<z.ZodString>;
24876
24876
  description: z.ZodNullable<z.ZodString>;
24877
- parts: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24878
- metadata: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24877
+ parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24878
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24879
24879
  summary: z.ZodNullable<z.ZodString>;
24880
- mime: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24880
+ mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24881
24881
  visibility: z.ZodNullable<z.ZodString>;
24882
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24882
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24883
24883
  derivedFrom: z.ZodNullable<z.ZodString>;
24884
24884
  projectId: z.ZodString;
24885
24885
  tenantId: z.ZodString;
@@ -24894,33 +24894,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24894
24894
  type: z.ZodOptional<z.ZodString>;
24895
24895
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24896
24896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24897
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24898
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24897
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24898
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24899
24899
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24900
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24900
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24901
24901
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24902
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24902
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24903
24903
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24904
24904
  projectId: z.ZodString;
24905
24905
  tenantId: z.ZodString;
24906
24906
  id: z.ZodString;
24907
24907
  }>, z.core.$strip>;
24908
24908
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24909
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24910
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24911
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
24909
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24913
24910
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24911
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24914
24913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24915
24914
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24916
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24917
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24915
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24916
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24918
24917
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24919
24918
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24920
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24919
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24920
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24921
24921
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24922
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24923
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24922
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24923
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24924
24924
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24925
24925
  }, z.core.$strip>;
24926
24926
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24986,11 +24986,10 @@ declare const TeamAgentSchema: z.ZodObject<{
24986
24986
  description: z.ZodString;
24987
24987
  }, z.core.$strip>;
24988
24988
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24989
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24990
24989
  id: z.ZodString;
24991
24990
  name: z.ZodString;
24992
- createdAt: z.ZodOptional<z.ZodString>;
24993
- updatedAt: z.ZodOptional<z.ZodString>;
24991
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24992
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24994
24993
  models: z.ZodOptional<z.ZodObject<{
24995
24994
  base: z.ZodOptional<z.ZodObject<{
24996
24995
  model: z.ZodOptional<z.ZodString>;
@@ -25005,7 +25004,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25005
25004
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25006
25005
  }, z.core.$strip>>;
25007
25006
  }, z.core.$strip>>;
25008
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25007
+ createdAt: z.ZodOptional<z.ZodString>;
25008
+ updatedAt: z.ZodOptional<z.ZodString>;
25009
25009
  type: z.ZodLiteral<"internal">;
25010
25010
  canUse: z.ZodArray<z.ZodObject<{
25011
25011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25039,19 +25039,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25039
25039
  }, z.core.$strip>>;
25040
25040
  }, z.core.$strip>;
25041
25041
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25042
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25043
25042
  name: z.ZodString;
25043
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25044
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25044
25045
  createdAt: z.ZodOptional<z.ZodString>;
25045
25046
  updatedAt: z.ZodOptional<z.ZodString>;
25046
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25047
25047
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
25048
  id: z.ZodString;
25049
25049
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25050
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25051
25050
  id: z.ZodString;
25052
25051
  name: z.ZodString;
25053
- createdAt: z.ZodOptional<z.ZodString>;
25054
- updatedAt: z.ZodOptional<z.ZodString>;
25052
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25053
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25055
25054
  models: z.ZodOptional<z.ZodObject<{
25056
25055
  base: z.ZodOptional<z.ZodObject<{
25057
25056
  model: z.ZodOptional<z.ZodString>;
@@ -25066,7 +25065,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25066
25065
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25067
25066
  }, z.core.$strip>>;
25068
25067
  }, z.core.$strip>>;
25069
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25068
+ createdAt: z.ZodOptional<z.ZodString>;
25069
+ updatedAt: z.ZodOptional<z.ZodString>;
25070
25070
  type: z.ZodLiteral<"internal">;
25071
25071
  canUse: z.ZodArray<z.ZodObject<{
25072
25072
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25177,24 +25177,24 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25177
25177
  executeCode: z.ZodString;
25178
25178
  }, z.core.$strip>>>;
25179
25179
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25180
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25181
25180
  name: z.ZodString;
25181
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25182
25182
  createdAt: z.ZodOptional<z.ZodString>;
25183
25183
  updatedAt: z.ZodOptional<z.ZodString>;
25184
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25185
25184
  enabled: z.ZodOptional<z.ZodBoolean>;
25186
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25185
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25186
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25187
25187
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25188
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25188
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25189
25189
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25190
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25190
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25191
25191
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25192
25192
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25193
25193
  id: z.ZodOptional<z.ZodString>;
25194
25194
  }, z.core.$strip>>>;
25195
25195
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25197
25196
  name: z.ZodString;
25197
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25198
25198
  createdAt: z.ZodOptional<z.ZodString>;
25199
25199
  updatedAt: z.ZodOptional<z.ZodString>;
25200
25200
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25204,7 +25204,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25204
25204
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25205
25205
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25206
25206
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25207
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25207
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25208
25208
  maxRetries: z.ZodOptional<z.ZodNumber>;
25209
25209
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25210
25210
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25309,9 +25309,9 @@ declare const ProjectSelectSchema: z.ZodObject<{
25309
25309
  in: {};
25310
25310
  }>;
25311
25311
  declare const ProjectInsertSchema: z.ZodObject<{
25312
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25313
25312
  id: z.ZodString;
25314
25313
  name: z.ZodString;
25314
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25315
25315
  tenantId: z.ZodString;
25316
25316
  models: z.ZodObject<{
25317
25317
  base: z.ZodObject<{
@@ -25336,8 +25336,8 @@ declare const ProjectInsertSchema: z.ZodObject<{
25336
25336
  in: {};
25337
25337
  }>;
25338
25338
  declare const ProjectUpdateSchema: z.ZodObject<{
25339
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25340
25339
  name: z.ZodOptional<z.ZodString>;
25340
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25341
25341
  models: z.ZodOptional<z.ZodObject<{
25342
25342
  base: z.ZodObject<{
25343
25343
  model: z.ZodOptional<z.ZodString>;
@@ -25361,11 +25361,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25361
25361
  in: {};
25362
25362
  }>;
25363
25363
  declare const ProjectApiSelectSchema: z.ZodObject<{
25364
- description: z.ZodNullable<z.ZodString>;
25365
25364
  id: z.ZodString;
25366
25365
  name: z.ZodString;
25367
- createdAt: z.ZodString;
25368
- updatedAt: z.ZodString;
25366
+ description: z.ZodNullable<z.ZodString>;
25369
25367
  models: z.ZodNullable<z.ZodObject<{
25370
25368
  base: z.ZodObject<{
25371
25369
  model: z.ZodOptional<z.ZodString>;
@@ -25384,14 +25382,16 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25384
25382
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25385
25383
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25386
25384
  }, z.core.$strip>>;
25385
+ createdAt: z.ZodString;
25386
+ updatedAt: z.ZodString;
25387
25387
  }, {
25388
25388
  out: {};
25389
25389
  in: {};
25390
25390
  }>;
25391
25391
  declare const ProjectApiInsertSchema: z.ZodObject<{
25392
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25393
25392
  id: z.ZodString;
25394
25393
  name: z.ZodString;
25394
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25395
25395
  models: z.ZodObject<{
25396
25396
  base: z.ZodObject<{
25397
25397
  model: z.ZodOptional<z.ZodString>;
@@ -25415,8 +25415,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25415
25415
  in: {};
25416
25416
  }>;
25417
25417
  declare const ProjectApiUpdateSchema: z.ZodObject<{
25418
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25419
25418
  name: z.ZodOptional<z.ZodString>;
25419
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25420
25420
  models: z.ZodOptional<z.ZodObject<{
25421
25421
  base: z.ZodObject<{
25422
25422
  model: z.ZodOptional<z.ZodString>;
@@ -25440,9 +25440,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25440
25440
  in: {};
25441
25441
  }>;
25442
25442
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25443
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25444
25443
  id: z.ZodString;
25445
25444
  name: z.ZodString;
25445
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25446
  models: z.ZodObject<{
25447
25447
  base: z.ZodObject<{
25448
25448
  model: z.ZodOptional<z.ZodString>;
@@ -25462,19 +25462,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25462
25462
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25463
25463
  }, z.core.$strip>>;
25464
25464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25465
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25466
25465
  name: z.ZodString;
25466
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25467
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25467
25468
  createdAt: z.ZodOptional<z.ZodString>;
25468
25469
  updatedAt: z.ZodOptional<z.ZodString>;
25469
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25470
25470
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25471
25471
  id: z.ZodString;
25472
25472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25473
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25474
25473
  id: z.ZodString;
25475
25474
  name: z.ZodString;
25476
- createdAt: z.ZodOptional<z.ZodString>;
25477
- updatedAt: z.ZodOptional<z.ZodString>;
25475
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25476
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25478
25477
  models: z.ZodOptional<z.ZodObject<{
25479
25478
  base: z.ZodOptional<z.ZodObject<{
25480
25479
  model: z.ZodOptional<z.ZodString>;
@@ -25489,7 +25488,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25489
25488
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25490
25489
  }, z.core.$strip>>;
25491
25490
  }, z.core.$strip>>;
25492
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25491
+ createdAt: z.ZodOptional<z.ZodString>;
25492
+ updatedAt: z.ZodOptional<z.ZodString>;
25493
25493
  type: z.ZodLiteral<"internal">;
25494
25494
  canUse: z.ZodArray<z.ZodObject<{
25495
25495
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25600,24 +25600,24 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25600
25600
  executeCode: z.ZodString;
25601
25601
  }, z.core.$strip>>>;
25602
25602
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25603
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25604
25603
  name: z.ZodString;
25604
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25605
25605
  createdAt: z.ZodOptional<z.ZodString>;
25606
25606
  updatedAt: z.ZodOptional<z.ZodString>;
25607
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25608
25607
  enabled: z.ZodOptional<z.ZodBoolean>;
25609
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25608
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25609
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25610
25610
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25611
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25611
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25612
25612
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25613
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25613
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25614
25614
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25615
25615
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25616
25616
  id: z.ZodOptional<z.ZodString>;
25617
25617
  }, z.core.$strip>>>;
25618
25618
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25619
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25620
25619
  name: z.ZodString;
25620
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25621
25621
  createdAt: z.ZodOptional<z.ZodString>;
25622
25622
  updatedAt: z.ZodOptional<z.ZodString>;
25623
25623
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25627,7 +25627,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25627
25627
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25628
25628
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
25629
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25630
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25630
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25631
25631
  maxRetries: z.ZodOptional<z.ZodNumber>;
25632
25632
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25633
25633
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25734,15 +25734,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25734
25734
  executeCode: z.ZodString;
25735
25735
  }, z.core.$strip>>>;
25736
25736
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25737
- description: z.ZodString;
25738
25737
  name: z.ZodString;
25739
- projectId: z.ZodString;
25738
+ description: z.ZodString;
25740
25739
  tenantId: z.ZodString;
25740
+ projectId: z.ZodString;
25741
25741
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25742
25742
  content: z.ZodString;
25743
25743
  }>, z.core.$strip>>>;
25744
25744
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25745
25745
  id: z.ZodString;
25746
+ createdAt: z.ZodOptional<z.ZodString>;
25747
+ updatedAt: z.ZodOptional<z.ZodString>;
25746
25748
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
25747
25749
  component: string;
25748
25750
  mockData: Record<string, unknown>;
@@ -25756,8 +25758,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25756
25758
  component: string;
25757
25759
  mockData: Record<string, unknown>;
25758
25760
  }>>>>;
25759
- createdAt: z.ZodOptional<z.ZodString>;
25760
- updatedAt: z.ZodOptional<z.ZodString>;
25761
25761
  name: z.ZodString;
25762
25762
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25763
25763
  props: z.ZodObject<{
@@ -25827,11 +25827,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25827
25827
  name: z.ZodString;
25828
25828
  createdAt: z.ZodOptional<z.ZodString>;
25829
25829
  updatedAt: z.ZodOptional<z.ZodString>;
25830
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25830
25832
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
25833
  credentialStoreId: z.ZodString;
25832
25834
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25833
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25834
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
25835
  type: z.ZodEnum<{
25836
25836
  readonly memory: "memory";
25837
25837
  readonly keychain: "keychain";
@@ -25845,11 +25845,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25845
25845
  in: {};
25846
25846
  }>;
25847
25847
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25848
- description: z.ZodNullable<z.ZodString>;
25849
25848
  id: z.ZodString;
25850
25849
  name: z.ZodString;
25851
- createdAt: z.ZodString;
25852
- updatedAt: z.ZodString;
25850
+ description: z.ZodNullable<z.ZodString>;
25851
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25853
25852
  models: z.ZodNullable<z.ZodType<{
25854
25853
  base?: {
25855
25854
  model?: string | undefined;
@@ -25912,7 +25911,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25912
25911
  }, {
25913
25912
  stepCountIs?: number | undefined;
25914
25913
  }>>>;
25915
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25914
+ createdAt: z.ZodString;
25915
+ updatedAt: z.ZodString;
25916
25916
  type: z.ZodLiteral<"internal">;
25917
25917
  canUse: z.ZodArray<z.ZodObject<{
25918
25918
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25938,11 +25938,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25938
25938
  }, z.core.$strip>]>>>;
25939
25939
  }, z.core.$strip>;
25940
25940
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25941
- description: z.ZodNullable<z.ZodString>;
25942
25941
  id: z.ZodString;
25943
25942
  name: z.ZodString;
25944
- createdAt: z.ZodString;
25945
- updatedAt: z.ZodString;
25943
+ description: z.ZodNullable<z.ZodString>;
25944
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25946
25945
  models: z.ZodNullable<z.ZodType<{
25947
25946
  base?: {
25948
25947
  model?: string | undefined;
@@ -26005,7 +26004,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26005
26004
  }, {
26006
26005
  stepCountIs?: number | undefined;
26007
26006
  }>>>;
26008
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26007
+ createdAt: z.ZodString;
26008
+ updatedAt: z.ZodString;
26009
26009
  type: z.ZodLiteral<"internal">;
26010
26010
  canUse: z.ZodArray<z.ZodObject<{
26011
26011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26037,19 +26037,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26037
26037
  }, z.core.$strip>]>>>;
26038
26038
  }, z.core.$strip>;
26039
26039
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26040
- description: z.ZodNullable<z.ZodString>;
26041
26040
  id: z.ZodString;
26042
26041
  name: z.ZodString;
26042
+ description: z.ZodNullable<z.ZodString>;
26043
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26043
26044
  createdAt: z.ZodString;
26044
26045
  updatedAt: z.ZodString;
26045
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26046
26046
  contextConfigId: z.ZodNullable<z.ZodString>;
26047
26047
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26048
- description: z.ZodNullable<z.ZodString>;
26049
26048
  id: z.ZodString;
26050
26049
  name: z.ZodString;
26051
- createdAt: z.ZodString;
26052
- updatedAt: z.ZodString;
26050
+ description: z.ZodNullable<z.ZodString>;
26051
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26053
26052
  models: z.ZodNullable<z.ZodType<{
26054
26053
  base?: {
26055
26054
  model?: string | undefined;
@@ -26112,7 +26111,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26112
26111
  }, {
26113
26112
  stepCountIs?: number | undefined;
26114
26113
  }>>>;
26115
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26114
+ createdAt: z.ZodString;
26115
+ updatedAt: z.ZodString;
26116
26116
  type: z.ZodLiteral<"internal">;
26117
26117
  canUse: z.ZodArray<z.ZodObject<{
26118
26118
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26183,12 +26183,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26183
26183
  description: z.ZodString;
26184
26184
  }, z.core.$strip>>>;
26185
26185
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26186
- description: z.ZodNullable<z.ZodString>;
26187
26186
  id: z.ZodString;
26188
26187
  name: z.ZodString;
26188
+ description: z.ZodNullable<z.ZodString>;
26189
+ agentId: z.ZodString;
26189
26190
  createdAt: z.ZodString;
26190
26191
  updatedAt: z.ZodString;
26191
- agentId: z.ZodString;
26192
26192
  functionId: z.ZodString;
26193
26193
  relationshipId: z.ZodOptional<z.ZodString>;
26194
26194
  }, z.core.$strip>>>;
@@ -26265,12 +26265,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26265
26265
  prompt: z.ZodNullable<z.ZodString>;
26266
26266
  }, z.core.$strip>;
26267
26267
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26268
- description: z.ZodNullable<z.ZodString>;
26269
26268
  id: z.ZodString;
26270
26269
  name: z.ZodString;
26270
+ description: z.ZodNullable<z.ZodString>;
26271
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26271
26272
  createdAt: z.ZodString;
26272
26273
  updatedAt: z.ZodString;
26273
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26274
26274
  contextConfigId: z.ZodNullable<z.ZodString>;
26275
26275
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26276
26276
  createdAt: z.ZodString;
@@ -26318,12 +26318,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26318
26318
  description: z.ZodString;
26319
26319
  }, z.core.$strip>>>;
26320
26320
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26321
- description: z.ZodNullable<z.ZodString>;
26322
26321
  id: z.ZodString;
26323
26322
  name: z.ZodString;
26323
+ description: z.ZodNullable<z.ZodString>;
26324
+ agentId: z.ZodString;
26324
26325
  createdAt: z.ZodString;
26325
26326
  updatedAt: z.ZodString;
26326
- agentId: z.ZodString;
26327
26327
  functionId: z.ZodString;
26328
26328
  relationshipId: z.ZodOptional<z.ZodString>;
26329
26329
  }, z.core.$strip>>>;
@@ -26399,11 +26399,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26399
26399
  }, z.core.$strip>>;
26400
26400
  prompt: z.ZodNullable<z.ZodString>;
26401
26401
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26402
- description: z.ZodNullable<z.ZodString>;
26403
26402
  id: z.ZodString;
26404
26403
  name: z.ZodString;
26405
- createdAt: z.ZodString;
26406
- updatedAt: z.ZodString;
26404
+ description: z.ZodNullable<z.ZodString>;
26405
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26407
26406
  models: z.ZodNullable<z.ZodType<{
26408
26407
  base?: {
26409
26408
  model?: string | undefined;
@@ -26466,7 +26465,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26466
26465
  }, {
26467
26466
  stepCountIs?: number | undefined;
26468
26467
  }>>>;
26469
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26468
+ createdAt: z.ZodString;
26469
+ updatedAt: z.ZodString;
26470
26470
  type: z.ZodLiteral<"internal">;
26471
26471
  canUse: z.ZodArray<z.ZodObject<{
26472
26472
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26499,11 +26499,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26499
26499
  }, z.core.$strip>>;
26500
26500
  }, z.core.$strip>;
26501
26501
  declare const FullProjectSelectSchema: z.ZodObject<{
26502
- description: z.ZodNullable<z.ZodString>;
26503
26502
  id: z.ZodString;
26504
26503
  name: z.ZodString;
26505
- createdAt: z.ZodString;
26506
- updatedAt: z.ZodString;
26504
+ description: z.ZodNullable<z.ZodString>;
26507
26505
  models: z.ZodNullable<z.ZodObject<{
26508
26506
  base: z.ZodObject<{
26509
26507
  model: z.ZodOptional<z.ZodString>;
@@ -26522,20 +26520,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26522
26520
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26523
26521
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26524
26522
  }, z.core.$strip>>;
26523
+ createdAt: z.ZodString;
26524
+ updatedAt: z.ZodString;
26525
26525
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26526
- description: z.ZodNullable<z.ZodString>;
26527
26526
  id: z.ZodString;
26528
26527
  name: z.ZodString;
26528
+ description: z.ZodNullable<z.ZodString>;
26529
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26529
26530
  createdAt: z.ZodString;
26530
26531
  updatedAt: z.ZodString;
26531
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26532
26532
  contextConfigId: z.ZodNullable<z.ZodString>;
26533
26533
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26534
- description: z.ZodNullable<z.ZodString>;
26535
26534
  id: z.ZodString;
26536
26535
  name: z.ZodString;
26537
- createdAt: z.ZodString;
26538
- updatedAt: z.ZodString;
26536
+ description: z.ZodNullable<z.ZodString>;
26537
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26539
26538
  models: z.ZodNullable<z.ZodType<{
26540
26539
  base?: {
26541
26540
  model?: string | undefined;
@@ -26598,7 +26597,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26598
26597
  }, {
26599
26598
  stepCountIs?: number | undefined;
26600
26599
  }>>>;
26601
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26600
+ createdAt: z.ZodString;
26601
+ updatedAt: z.ZodString;
26602
26602
  type: z.ZodLiteral<"internal">;
26603
26603
  canUse: z.ZodArray<z.ZodObject<{
26604
26604
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26669,12 +26669,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26669
26669
  description: z.ZodString;
26670
26670
  }, z.core.$strip>>>;
26671
26671
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26672
- description: z.ZodNullable<z.ZodString>;
26673
26672
  id: z.ZodString;
26674
26673
  name: z.ZodString;
26674
+ description: z.ZodNullable<z.ZodString>;
26675
+ agentId: z.ZodString;
26675
26676
  createdAt: z.ZodString;
26676
26677
  updatedAt: z.ZodString;
26677
- agentId: z.ZodString;
26678
26678
  functionId: z.ZodString;
26679
26679
  relationshipId: z.ZodOptional<z.ZodString>;
26680
26680
  }, z.core.$strip>>>;
@@ -26780,12 +26780,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26780
26780
  id: z.ZodString;
26781
26781
  }>, z.core.$strip>>;
26782
26782
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26783
- description: z.ZodNullable<z.ZodString>;
26784
26783
  id: z.ZodString;
26785
26784
  name: z.ZodString;
26785
+ description: z.ZodNullable<z.ZodString>;
26786
+ agentId: z.ZodString;
26786
26787
  createdAt: z.ZodString;
26787
26788
  updatedAt: z.ZodString;
26788
- agentId: z.ZodString;
26789
26789
  functionId: z.ZodString;
26790
26790
  relationshipId: z.ZodOptional<z.ZodString>;
26791
26791
  }, z.core.$strip>>>;
@@ -26932,17 +26932,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26932
26932
  name: z.ZodString;
26933
26933
  createdAt: z.ZodString;
26934
26934
  updatedAt: z.ZodString;
26935
+ toolId: z.ZodNullable<z.ZodString>;
26936
+ userId: z.ZodNullable<z.ZodString>;
26935
26937
  createdBy: z.ZodNullable<z.ZodString>;
26936
26938
  credentialStoreId: z.ZodString;
26937
26939
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26938
- toolId: z.ZodNullable<z.ZodString>;
26939
- userId: z.ZodNullable<z.ZodString>;
26940
26940
  type: z.ZodEnum<{
26941
26941
  readonly memory: "memory";
26942
26942
  readonly keychain: "keychain";
26943
26943
  readonly nango: "nango";
26944
26944
  }>;
26945
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
26945
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
26946
26946
  createdAt: drizzle_orm_pg_core0.PgColumn<{
26947
26947
  name: "created_at";
26948
26948
  tableName: "tools";
@@ -27222,7 +27222,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27222
27222
  }, {}, {
27223
27223
  length: 256;
27224
27224
  }>;
27225
- }, drizzle_zod0.BuildRefine<{
27225
+ }, drizzle_zod3.BuildRefine<{
27226
27226
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27227
27227
  name: "created_at";
27228
27228
  tableName: "tools";
@@ -27523,11 +27523,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27523
27523
  in: {};
27524
27524
  }>;
27525
27525
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27526
- description: z.ZodNullable<z.ZodString>;
27527
27526
  id: z.ZodString;
27528
27527
  name: z.ZodString;
27529
- createdAt: z.ZodString;
27530
- updatedAt: z.ZodString;
27528
+ description: z.ZodNullable<z.ZodString>;
27531
27529
  models: z.ZodNullable<z.ZodObject<{
27532
27530
  base: z.ZodObject<{
27533
27531
  model: z.ZodOptional<z.ZodString>;
@@ -27546,6 +27544,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27546
27544
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27547
27545
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27548
27546
  }, z.core.$strip>>;
27547
+ createdAt: z.ZodString;
27548
+ updatedAt: z.ZodString;
27549
27549
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27550
27550
  createdAt: z.ZodString;
27551
27551
  updatedAt: z.ZodString;
@@ -27576,12 +27576,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27576
27576
  id: z.ZodString;
27577
27577
  }>, z.core.$strip>>;
27578
27578
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27579
- description: z.ZodNullable<z.ZodString>;
27580
27579
  id: z.ZodString;
27581
27580
  name: z.ZodString;
27581
+ description: z.ZodNullable<z.ZodString>;
27582
+ agentId: z.ZodString;
27582
27583
  createdAt: z.ZodString;
27583
27584
  updatedAt: z.ZodString;
27584
- agentId: z.ZodString;
27585
27585
  functionId: z.ZodString;
27586
27586
  relationshipId: z.ZodOptional<z.ZodString>;
27587
27587
  }, z.core.$strip>>>;
@@ -27728,17 +27728,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27728
27728
  name: z.ZodString;
27729
27729
  createdAt: z.ZodString;
27730
27730
  updatedAt: z.ZodString;
27731
+ toolId: z.ZodNullable<z.ZodString>;
27732
+ userId: z.ZodNullable<z.ZodString>;
27731
27733
  createdBy: z.ZodNullable<z.ZodString>;
27732
27734
  credentialStoreId: z.ZodString;
27733
27735
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27734
- toolId: z.ZodNullable<z.ZodString>;
27735
- userId: z.ZodNullable<z.ZodString>;
27736
27736
  type: z.ZodEnum<{
27737
27737
  readonly memory: "memory";
27738
27738
  readonly keychain: "keychain";
27739
27739
  readonly nango: "nango";
27740
27740
  }>;
27741
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
27741
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
27742
27742
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27743
27743
  name: "created_at";
27744
27744
  tableName: "tools";
@@ -28018,7 +28018,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28018
28018
  }, {}, {
28019
28019
  length: 256;
28020
28020
  }>;
28021
- }, drizzle_zod0.BuildRefine<{
28021
+ }, drizzle_zod3.BuildRefine<{
28022
28022
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28023
28023
  name: "created_at";
28024
28024
  tableName: "tools";
@@ -28315,12 +28315,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28315
28315
  }>>>;
28316
28316
  }, z.core.$strip>>>;
28317
28317
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28318
- description: z.ZodNullable<z.ZodString>;
28319
28318
  id: z.ZodString;
28320
28319
  name: z.ZodString;
28320
+ description: z.ZodNullable<z.ZodString>;
28321
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28321
28322
  createdAt: z.ZodString;
28322
28323
  updatedAt: z.ZodString;
28323
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28324
28324
  contextConfigId: z.ZodNullable<z.ZodString>;
28325
28325
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28326
28326
  createdAt: z.ZodString;
@@ -28368,12 +28368,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28368
28368
  description: z.ZodString;
28369
28369
  }, z.core.$strip>>>;
28370
28370
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28371
- description: z.ZodNullable<z.ZodString>;
28372
28371
  id: z.ZodString;
28373
28372
  name: z.ZodString;
28373
+ description: z.ZodNullable<z.ZodString>;
28374
+ agentId: z.ZodString;
28374
28375
  createdAt: z.ZodString;
28375
28376
  updatedAt: z.ZodString;
28376
- agentId: z.ZodString;
28377
28377
  functionId: z.ZodString;
28378
28378
  relationshipId: z.ZodOptional<z.ZodString>;
28379
28379
  }, z.core.$strip>>>;
@@ -28449,11 +28449,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28449
28449
  }, z.core.$strip>>;
28450
28450
  prompt: z.ZodNullable<z.ZodString>;
28451
28451
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28452
- description: z.ZodNullable<z.ZodString>;
28453
28452
  id: z.ZodString;
28454
28453
  name: z.ZodString;
28455
- createdAt: z.ZodString;
28456
- updatedAt: z.ZodString;
28454
+ description: z.ZodNullable<z.ZodString>;
28455
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28457
28456
  models: z.ZodNullable<z.ZodType<{
28458
28457
  base?: {
28459
28458
  model?: string | undefined;
@@ -28516,7 +28515,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28516
28515
  }, {
28517
28516
  stepCountIs?: number | undefined;
28518
28517
  }>>>;
28519
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28518
+ createdAt: z.ZodString;
28519
+ updatedAt: z.ZodString;
28520
28520
  type: z.ZodLiteral<"internal">;
28521
28521
  canUse: z.ZodArray<z.ZodObject<{
28522
28522
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28554,11 +28554,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28554
28554
  }>;
28555
28555
  declare const ProjectResponse: z.ZodObject<{
28556
28556
  data: z.ZodObject<{
28557
- description: z.ZodNullable<z.ZodString>;
28558
28557
  id: z.ZodString;
28559
28558
  name: z.ZodString;
28560
- createdAt: z.ZodString;
28561
- updatedAt: z.ZodString;
28559
+ description: z.ZodNullable<z.ZodString>;
28562
28560
  models: z.ZodNullable<z.ZodObject<{
28563
28561
  base: z.ZodObject<{
28564
28562
  model: z.ZodOptional<z.ZodString>;
@@ -28577,6 +28575,8 @@ declare const ProjectResponse: z.ZodObject<{
28577
28575
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28578
28576
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28579
28577
  }, z.core.$strip>>;
28578
+ createdAt: z.ZodString;
28579
+ updatedAt: z.ZodString;
28580
28580
  }, {
28581
28581
  out: {};
28582
28582
  in: {};
@@ -28817,13 +28817,13 @@ declare const ApiKeyResponse: z.ZodObject<{
28817
28817
  data: z.ZodObject<{
28818
28818
  id: z.ZodString;
28819
28819
  name: z.ZodNullable<z.ZodString>;
28820
+ agentId: z.ZodString;
28820
28821
  createdAt: z.ZodString;
28821
28822
  updatedAt: z.ZodString;
28822
- agentId: z.ZodString;
28823
+ expiresAt: z.ZodNullable<z.ZodString>;
28823
28824
  publicId: z.ZodString;
28824
28825
  keyPrefix: z.ZodString;
28825
28826
  lastUsedAt: z.ZodNullable<z.ZodString>;
28826
- expiresAt: z.ZodNullable<z.ZodString>;
28827
28827
  }, {
28828
28828
  out: {};
28829
28829
  in: {};
@@ -28835,17 +28835,17 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28835
28835
  name: z.ZodString;
28836
28836
  createdAt: z.ZodString;
28837
28837
  updatedAt: z.ZodString;
28838
+ toolId: z.ZodNullable<z.ZodString>;
28839
+ userId: z.ZodNullable<z.ZodString>;
28838
28840
  createdBy: z.ZodNullable<z.ZodString>;
28839
28841
  credentialStoreId: z.ZodString;
28840
28842
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28841
- toolId: z.ZodNullable<z.ZodString>;
28842
- userId: z.ZodNullable<z.ZodString>;
28843
28843
  type: z.ZodEnum<{
28844
28844
  readonly memory: "memory";
28845
28845
  readonly keychain: "keychain";
28846
28846
  readonly nango: "nango";
28847
28847
  }>;
28848
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
28848
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
28849
28849
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28850
28850
  name: "created_at";
28851
28851
  tableName: "tools";
@@ -29125,7 +29125,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29125
29125
  }, {}, {
29126
29126
  length: 256;
29127
29127
  }>;
29128
- }, drizzle_zod0.BuildRefine<{
29128
+ }, drizzle_zod3.BuildRefine<{
29129
29129
  createdAt: drizzle_orm_pg_core0.PgColumn<{
29130
29130
  name: "created_at";
29131
29131
  tableName: "tools";
@@ -29436,12 +29436,12 @@ declare const FunctionResponse: z.ZodObject<{
29436
29436
  }, z.core.$strip>;
29437
29437
  declare const FunctionToolResponse: z.ZodObject<{
29438
29438
  data: z.ZodObject<{
29439
- description: z.ZodNullable<z.ZodString>;
29440
29439
  id: z.ZodString;
29441
29440
  name: z.ZodString;
29441
+ description: z.ZodNullable<z.ZodString>;
29442
+ agentId: z.ZodString;
29442
29443
  createdAt: z.ZodString;
29443
29444
  updatedAt: z.ZodString;
29444
- agentId: z.ZodString;
29445
29445
  functionId: z.ZodString;
29446
29446
  relationshipId: z.ZodOptional<z.ZodString>;
29447
29447
  }, z.core.$strip>;
@@ -29451,7 +29451,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29451
29451
  createdAt: z.ZodString;
29452
29452
  updatedAt: z.ZodString;
29453
29453
  functionToolId: z.ZodString;
29454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29455
29455
  subAgentId: z.ZodString;
29456
29456
  agentId: z.ZodString;
29457
29457
  projectId: z.ZodString;
@@ -29583,9 +29583,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29583
29583
  createdAt: z.ZodString;
29584
29584
  updatedAt: z.ZodString;
29585
29585
  toolId: z.ZodString;
29586
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29587
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29588
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29586
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29587
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29588
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29589
29589
  subAgentId: z.ZodString;
29590
29590
  agentId: z.ZodString;
29591
29591
  projectId: z.ZodString;
@@ -29598,10 +29598,10 @@ declare const TriggerResponse: z.ZodObject<{
29598
29598
  createdAt: z.ZodString;
29599
29599
  updatedAt: z.ZodString;
29600
29600
  enabled: z.ZodBoolean;
29601
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29602
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29601
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29602
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29603
29603
  messageTemplate: z.ZodNullable<z.ZodString>;
29604
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29604
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29605
29605
  name: z.ZodString;
29606
29606
  description: z.ZodNullable<z.ZodString>;
29607
29607
  agentId: z.ZodString;
@@ -29624,8 +29624,8 @@ declare const TriggerResponse: z.ZodObject<{
29624
29624
  signature: z.ZodObject<{
29625
29625
  source: z.ZodEnum<{
29626
29626
  query: "query";
29627
- header: "header";
29628
29627
  body: "body";
29628
+ header: "header";
29629
29629
  }>;
29630
29630
  key: z.ZodString;
29631
29631
  prefix: z.ZodOptional<z.ZodString>;
@@ -29634,8 +29634,8 @@ declare const TriggerResponse: z.ZodObject<{
29634
29634
  signedComponents: z.ZodArray<z.ZodObject<{
29635
29635
  source: z.ZodEnum<{
29636
29636
  literal: "literal";
29637
- header: "header";
29638
29637
  body: "body";
29638
+ header: "header";
29639
29639
  }>;
29640
29640
  key: z.ZodOptional<z.ZodString>;
29641
29641
  value: z.ZodOptional<z.ZodString>;
@@ -29663,8 +29663,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29663
29663
  triggerId: z.ZodString;
29664
29664
  conversationId: z.ZodNullable<z.ZodString>;
29665
29665
  status: z.ZodString;
29666
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
29667
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29666
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
29667
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29668
29668
  errorMessage: z.ZodNullable<z.ZodString>;
29669
29669
  createdAt: z.ZodString;
29670
29670
  agentId: z.ZodString;
@@ -29675,11 +29675,9 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29675
29675
  }, z.core.$strip>;
29676
29676
  declare const ProjectListResponse: z.ZodObject<{
29677
29677
  data: z.ZodArray<z.ZodObject<{
29678
- description: z.ZodNullable<z.ZodString>;
29679
29678
  id: z.ZodString;
29680
29679
  name: z.ZodString;
29681
- createdAt: z.ZodString;
29682
- updatedAt: z.ZodString;
29680
+ description: z.ZodNullable<z.ZodString>;
29683
29681
  models: z.ZodNullable<z.ZodObject<{
29684
29682
  base: z.ZodObject<{
29685
29683
  model: z.ZodOptional<z.ZodString>;
@@ -29698,6 +29696,8 @@ declare const ProjectListResponse: z.ZodObject<{
29698
29696
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29699
29697
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29700
29698
  }, z.core.$strip>>;
29699
+ createdAt: z.ZodString;
29700
+ updatedAt: z.ZodString;
29701
29701
  }, {
29702
29702
  out: {};
29703
29703
  in: {};
@@ -29968,13 +29968,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
29968
29968
  data: z.ZodArray<z.ZodObject<{
29969
29969
  id: z.ZodString;
29970
29970
  name: z.ZodNullable<z.ZodString>;
29971
+ agentId: z.ZodString;
29971
29972
  createdAt: z.ZodString;
29972
29973
  updatedAt: z.ZodString;
29973
- agentId: z.ZodString;
29974
+ expiresAt: z.ZodNullable<z.ZodString>;
29974
29975
  publicId: z.ZodString;
29975
29976
  keyPrefix: z.ZodString;
29976
29977
  lastUsedAt: z.ZodNullable<z.ZodString>;
29977
- expiresAt: z.ZodNullable<z.ZodString>;
29978
29978
  }, {
29979
29979
  out: {};
29980
29980
  in: {};
@@ -29992,17 +29992,17 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29992
29992
  name: z.ZodString;
29993
29993
  createdAt: z.ZodString;
29994
29994
  updatedAt: z.ZodString;
29995
+ toolId: z.ZodNullable<z.ZodString>;
29996
+ userId: z.ZodNullable<z.ZodString>;
29995
29997
  createdBy: z.ZodNullable<z.ZodString>;
29996
29998
  credentialStoreId: z.ZodString;
29997
29999
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29998
- toolId: z.ZodNullable<z.ZodString>;
29999
- userId: z.ZodNullable<z.ZodString>;
30000
30000
  type: z.ZodEnum<{
30001
30001
  readonly memory: "memory";
30002
30002
  readonly keychain: "keychain";
30003
30003
  readonly nango: "nango";
30004
30004
  }>;
30005
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
30005
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
30006
30006
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30007
30007
  name: "created_at";
30008
30008
  tableName: "tools";
@@ -30282,7 +30282,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30282
30282
  }, {}, {
30283
30283
  length: 256;
30284
30284
  }>;
30285
- }, drizzle_zod0.BuildRefine<{
30285
+ }, drizzle_zod3.BuildRefine<{
30286
30286
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30287
30287
  name: "created_at";
30288
30288
  tableName: "tools";
@@ -30605,12 +30605,12 @@ declare const FunctionListResponse: z.ZodObject<{
30605
30605
  }, z.core.$strip>;
30606
30606
  declare const FunctionToolListResponse: z.ZodObject<{
30607
30607
  data: z.ZodArray<z.ZodObject<{
30608
- description: z.ZodNullable<z.ZodString>;
30609
30608
  id: z.ZodString;
30610
30609
  name: z.ZodString;
30610
+ description: z.ZodNullable<z.ZodString>;
30611
+ agentId: z.ZodString;
30611
30612
  createdAt: z.ZodString;
30612
30613
  updatedAt: z.ZodString;
30613
- agentId: z.ZodString;
30614
30614
  functionId: z.ZodString;
30615
30615
  relationshipId: z.ZodOptional<z.ZodString>;
30616
30616
  }, z.core.$strip>>;
@@ -30626,7 +30626,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30626
30626
  createdAt: z.ZodString;
30627
30627
  updatedAt: z.ZodString;
30628
30628
  functionToolId: z.ZodString;
30629
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30629
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30630
30630
  subAgentId: z.ZodString;
30631
30631
  agentId: z.ZodString;
30632
30632
  projectId: z.ZodString;
@@ -30814,9 +30814,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30814
30814
  createdAt: z.ZodString;
30815
30815
  updatedAt: z.ZodString;
30816
30816
  toolId: z.ZodString;
30817
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30818
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30819
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30817
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30818
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30819
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30820
30820
  subAgentId: z.ZodString;
30821
30821
  agentId: z.ZodString;
30822
30822
  projectId: z.ZodString;
@@ -30835,10 +30835,10 @@ declare const TriggerListResponse: z.ZodObject<{
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
30837
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30839
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30838
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30842
30842
  name: z.ZodString;
30843
30843
  description: z.ZodNullable<z.ZodString>;
30844
30844
  agentId: z.ZodString;
@@ -30861,8 +30861,8 @@ declare const TriggerListResponse: z.ZodObject<{
30861
30861
  signature: z.ZodObject<{
30862
30862
  source: z.ZodEnum<{
30863
30863
  query: "query";
30864
- header: "header";
30865
30864
  body: "body";
30865
+ header: "header";
30866
30866
  }>;
30867
30867
  key: z.ZodString;
30868
30868
  prefix: z.ZodOptional<z.ZodString>;
@@ -30871,8 +30871,8 @@ declare const TriggerListResponse: z.ZodObject<{
30871
30871
  signedComponents: z.ZodArray<z.ZodObject<{
30872
30872
  source: z.ZodEnum<{
30873
30873
  literal: "literal";
30874
- header: "header";
30875
30874
  body: "body";
30875
+ header: "header";
30876
30876
  }>;
30877
30877
  key: z.ZodOptional<z.ZodString>;
30878
30878
  value: z.ZodOptional<z.ZodString>;
@@ -30906,8 +30906,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30906
30906
  triggerId: z.ZodString;
30907
30907
  conversationId: z.ZodNullable<z.ZodString>;
30908
30908
  status: z.ZodString;
30909
- requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
30910
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30909
+ requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
30910
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30911
30911
  errorMessage: z.ZodNullable<z.ZodString>;
30912
30912
  createdAt: z.ZodString;
30913
30913
  agentId: z.ZodString;
@@ -30924,16 +30924,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30924
30924
  }, z.core.$strip>;
30925
30925
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30926
30926
  data: z.ZodObject<{
30927
- description: z.ZodNullable<z.ZodString>;
30928
30927
  id: z.ZodString;
30929
30928
  name: z.ZodString;
30929
+ description: z.ZodNullable<z.ZodString>;
30930
30930
  createdAt: z.ZodString;
30931
30931
  updatedAt: z.ZodString;
30932
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30933
30932
  enabled: z.ZodBoolean;
30934
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30933
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30934
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30935
30935
  messageTemplate: z.ZodNullable<z.ZodString>;
30936
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30936
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30937
30937
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30938
30938
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30939
30939
  algorithm: z.ZodEnum<{
@@ -30950,8 +30950,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30950
30950
  signature: z.ZodObject<{
30951
30951
  source: z.ZodEnum<{
30952
30952
  query: "query";
30953
- header: "header";
30954
30953
  body: "body";
30954
+ header: "header";
30955
30955
  }>;
30956
30956
  key: z.ZodString;
30957
30957
  prefix: z.ZodOptional<z.ZodString>;
@@ -30960,8 +30960,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30960
30960
  signedComponents: z.ZodArray<z.ZodObject<{
30961
30961
  source: z.ZodEnum<{
30962
30962
  literal: "literal";
30963
- header: "header";
30964
30963
  body: "body";
30964
+ header: "header";
30965
30965
  }>;
30966
30966
  key: z.ZodOptional<z.ZodString>;
30967
30967
  value: z.ZodOptional<z.ZodString>;
@@ -30987,16 +30987,16 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30987
30987
  }, z.core.$strip>;
30988
30988
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30989
30989
  data: z.ZodObject<{
30990
- description: z.ZodNullable<z.ZodString>;
30991
30990
  id: z.ZodString;
30992
30991
  name: z.ZodString;
30992
+ description: z.ZodNullable<z.ZodString>;
30993
30993
  createdAt: z.ZodString;
30994
30994
  updatedAt: z.ZodString;
30995
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30996
30995
  enabled: z.ZodBoolean;
30997
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30996
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30997
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30998
30998
  messageTemplate: z.ZodNullable<z.ZodString>;
30999
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30999
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31000
31000
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31001
31001
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31002
31002
  algorithm: z.ZodEnum<{
@@ -31013,8 +31013,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31013
31013
  signature: z.ZodObject<{
31014
31014
  source: z.ZodEnum<{
31015
31015
  query: "query";
31016
- header: "header";
31017
31016
  body: "body";
31017
+ header: "header";
31018
31018
  }>;
31019
31019
  key: z.ZodString;
31020
31020
  prefix: z.ZodOptional<z.ZodString>;
@@ -31023,8 +31023,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31023
31023
  signedComponents: z.ZodArray<z.ZodObject<{
31024
31024
  source: z.ZodEnum<{
31025
31025
  literal: "literal";
31026
- header: "header";
31027
31026
  body: "body";
31027
+ header: "header";
31028
31028
  }>;
31029
31029
  key: z.ZodOptional<z.ZodString>;
31030
31030
  value: z.ZodOptional<z.ZodString>;
@@ -31051,16 +31051,16 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31051
31051
  }, z.core.$strip>;
31052
31052
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31053
31053
  data: z.ZodArray<z.ZodObject<{
31054
- description: z.ZodNullable<z.ZodString>;
31055
31054
  id: z.ZodString;
31056
31055
  name: z.ZodString;
31056
+ description: z.ZodNullable<z.ZodString>;
31057
31057
  createdAt: z.ZodString;
31058
31058
  updatedAt: z.ZodString;
31059
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31060
31059
  enabled: z.ZodBoolean;
31061
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31060
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31061
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31062
31062
  messageTemplate: z.ZodNullable<z.ZodString>;
31063
- authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31063
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31064
31064
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
31065
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31066
31066
  algorithm: z.ZodEnum<{
@@ -31077,8 +31077,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31077
31077
  signature: z.ZodObject<{
31078
31078
  source: z.ZodEnum<{
31079
31079
  query: "query";
31080
- header: "header";
31081
31080
  body: "body";
31081
+ header: "header";
31082
31082
  }>;
31083
31083
  key: z.ZodString;
31084
31084
  prefix: z.ZodOptional<z.ZodString>;
@@ -31087,8 +31087,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31087
31087
  signedComponents: z.ZodArray<z.ZodObject<{
31088
31088
  source: z.ZodEnum<{
31089
31089
  literal: "literal";
31090
- header: "header";
31091
31090
  body: "body";
31091
+ header: "header";
31092
31092
  }>;
31093
31093
  key: z.ZodOptional<z.ZodString>;
31094
31094
  value: z.ZodOptional<z.ZodString>;
@@ -31119,9 +31119,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31119
31119
  }, z.core.$strip>;
31120
31120
  }, z.core.$strip>;
31121
31121
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31122
- description: z.ZodNullable<z.ZodString>;
31123
31122
  id: z.ZodString;
31124
31123
  name: z.ZodString;
31124
+ description: z.ZodNullable<z.ZodString>;
31125
31125
  createdAt: z.ZodString;
31126
31126
  updatedAt: z.ZodString;
31127
31127
  enabled: z.ZodBoolean;
@@ -31198,9 +31198,9 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31198
31198
  }, z.core.$strip>;
31199
31199
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31200
31200
  data: z.ZodArray<z.ZodObject<{
31201
- description: z.ZodNullable<z.ZodString>;
31202
31201
  id: z.ZodString;
31203
31202
  name: z.ZodString;
31203
+ description: z.ZodNullable<z.ZodString>;
31204
31204
  createdAt: z.ZodString;
31205
31205
  updatedAt: z.ZodString;
31206
31206
  enabled: z.ZodBoolean;
@@ -31357,9 +31357,9 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31357
31357
  }, z.core.$strip>;
31358
31358
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31359
31359
  data: z.ZodArray<z.ZodObject<{
31360
- description: z.ZodString;
31361
31360
  id: z.ZodString;
31362
31361
  name: z.ZodString;
31362
+ description: z.ZodString;
31363
31363
  createdAt: z.ZodString;
31364
31364
  updatedAt: z.ZodString;
31365
31365
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -31372,9 +31372,9 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31372
31372
  }, z.core.$strip>;
31373
31373
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31374
31374
  data: z.ZodObject<{
31375
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31376
31375
  id: z.ZodString;
31377
31376
  name: z.ZodString;
31377
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31378
31378
  models: z.ZodObject<{
31379
31379
  base: z.ZodObject<{
31380
31380
  model: z.ZodOptional<z.ZodString>;
@@ -31394,19 +31394,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31394
31394
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31395
31395
  }, z.core.$strip>>;
31396
31396
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31397
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31398
31397
  name: z.ZodString;
31398
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31399
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31399
31400
  createdAt: z.ZodOptional<z.ZodString>;
31400
31401
  updatedAt: z.ZodOptional<z.ZodString>;
31401
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31402
31402
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31403
31403
  id: z.ZodString;
31404
31404
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31405
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31406
31405
  id: z.ZodString;
31407
31406
  name: z.ZodString;
31408
- createdAt: z.ZodOptional<z.ZodString>;
31409
- updatedAt: z.ZodOptional<z.ZodString>;
31407
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31408
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31410
31409
  models: z.ZodOptional<z.ZodObject<{
31411
31410
  base: z.ZodOptional<z.ZodObject<{
31412
31411
  model: z.ZodOptional<z.ZodString>;
@@ -31421,7 +31420,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31421
31420
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31422
31421
  }, z.core.$strip>>;
31423
31422
  }, z.core.$strip>>;
31424
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31423
+ createdAt: z.ZodOptional<z.ZodString>;
31424
+ updatedAt: z.ZodOptional<z.ZodString>;
31425
31425
  type: z.ZodLiteral<"internal">;
31426
31426
  canUse: z.ZodArray<z.ZodObject<{
31427
31427
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31532,24 +31532,24 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31532
31532
  executeCode: z.ZodString;
31533
31533
  }, z.core.$strip>>>;
31534
31534
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31535
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31536
31535
  name: z.ZodString;
31536
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31537
31537
  createdAt: z.ZodOptional<z.ZodString>;
31538
31538
  updatedAt: z.ZodOptional<z.ZodString>;
31539
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31540
31539
  enabled: z.ZodOptional<z.ZodBoolean>;
31541
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31540
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31541
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31542
31542
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31543
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31543
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31544
31544
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31545
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31545
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31546
31546
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31547
31547
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31548
31548
  id: z.ZodOptional<z.ZodString>;
31549
31549
  }, z.core.$strip>>>;
31550
31550
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31551
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31552
31551
  name: z.ZodString;
31552
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31553
31553
  createdAt: z.ZodOptional<z.ZodString>;
31554
31554
  updatedAt: z.ZodOptional<z.ZodString>;
31555
31555
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31559,7 +31559,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31559
31559
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31560
31560
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31561
31561
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31562
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31562
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31563
31563
  maxRetries: z.ZodOptional<z.ZodNumber>;
31564
31564
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31565
31565
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31666,15 +31666,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31666
31666
  executeCode: z.ZodString;
31667
31667
  }, z.core.$strip>>>;
31668
31668
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31669
- description: z.ZodString;
31670
31669
  name: z.ZodString;
31671
- projectId: z.ZodString;
31670
+ description: z.ZodString;
31672
31671
  tenantId: z.ZodString;
31672
+ projectId: z.ZodString;
31673
31673
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31674
31674
  content: z.ZodString;
31675
31675
  }>, z.core.$strip>>>;
31676
31676
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31677
31677
  id: z.ZodString;
31678
+ createdAt: z.ZodOptional<z.ZodString>;
31679
+ updatedAt: z.ZodOptional<z.ZodString>;
31678
31680
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
31679
31681
  component: string;
31680
31682
  mockData: Record<string, unknown>;
@@ -31688,8 +31690,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31688
31690
  component: string;
31689
31691
  mockData: Record<string, unknown>;
31690
31692
  }>>>>;
31691
- createdAt: z.ZodOptional<z.ZodString>;
31692
- updatedAt: z.ZodOptional<z.ZodString>;
31693
31693
  name: z.ZodString;
31694
31694
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31695
31695
  props: z.ZodObject<{
@@ -31759,11 +31759,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31759
31759
  name: z.ZodString;
31760
31760
  createdAt: z.ZodOptional<z.ZodString>;
31761
31761
  updatedAt: z.ZodOptional<z.ZodString>;
31762
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31762
31764
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
31765
  credentialStoreId: z.ZodString;
31764
31766
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31765
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31766
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
31767
  type: z.ZodEnum<{
31768
31768
  readonly memory: "memory";
31769
31769
  readonly keychain: "keychain";
@@ -31779,11 +31779,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31779
31779
  }, z.core.$strip>;
31780
31780
  declare const FullProjectSelectResponse: z.ZodObject<{
31781
31781
  data: z.ZodObject<{
31782
- description: z.ZodNullable<z.ZodString>;
31783
31782
  id: z.ZodString;
31784
31783
  name: z.ZodString;
31785
- createdAt: z.ZodString;
31786
- updatedAt: z.ZodString;
31784
+ description: z.ZodNullable<z.ZodString>;
31787
31785
  models: z.ZodNullable<z.ZodObject<{
31788
31786
  base: z.ZodObject<{
31789
31787
  model: z.ZodOptional<z.ZodString>;
@@ -31802,20 +31800,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31802
31800
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31803
31801
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31804
31802
  }, z.core.$strip>>;
31803
+ createdAt: z.ZodString;
31804
+ updatedAt: z.ZodString;
31805
31805
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31806
- description: z.ZodNullable<z.ZodString>;
31807
31806
  id: z.ZodString;
31808
31807
  name: z.ZodString;
31808
+ description: z.ZodNullable<z.ZodString>;
31809
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31809
31810
  createdAt: z.ZodString;
31810
31811
  updatedAt: z.ZodString;
31811
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31812
31812
  contextConfigId: z.ZodNullable<z.ZodString>;
31813
31813
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31814
- description: z.ZodNullable<z.ZodString>;
31815
31814
  id: z.ZodString;
31816
31815
  name: z.ZodString;
31817
- createdAt: z.ZodString;
31818
- updatedAt: z.ZodString;
31816
+ description: z.ZodNullable<z.ZodString>;
31817
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31819
31818
  models: z.ZodNullable<z.ZodType<{
31820
31819
  base?: {
31821
31820
  model?: string | undefined;
@@ -31878,7 +31877,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31878
31877
  }, {
31879
31878
  stepCountIs?: number | undefined;
31880
31879
  }>>>;
31881
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31880
+ createdAt: z.ZodString;
31881
+ updatedAt: z.ZodString;
31882
31882
  type: z.ZodLiteral<"internal">;
31883
31883
  canUse: z.ZodArray<z.ZodObject<{
31884
31884
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31949,12 +31949,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31949
31949
  description: z.ZodString;
31950
31950
  }, z.core.$strip>>>;
31951
31951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31952
- description: z.ZodNullable<z.ZodString>;
31953
31952
  id: z.ZodString;
31954
31953
  name: z.ZodString;
31954
+ description: z.ZodNullable<z.ZodString>;
31955
+ agentId: z.ZodString;
31955
31956
  createdAt: z.ZodString;
31956
31957
  updatedAt: z.ZodString;
31957
- agentId: z.ZodString;
31958
31958
  functionId: z.ZodString;
31959
31959
  relationshipId: z.ZodOptional<z.ZodString>;
31960
31960
  }, z.core.$strip>>>;
@@ -32060,12 +32060,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32060
32060
  id: z.ZodString;
32061
32061
  }>, z.core.$strip>>;
32062
32062
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32063
- description: z.ZodNullable<z.ZodString>;
32064
32063
  id: z.ZodString;
32065
32064
  name: z.ZodString;
32065
+ description: z.ZodNullable<z.ZodString>;
32066
+ agentId: z.ZodString;
32066
32067
  createdAt: z.ZodString;
32067
32068
  updatedAt: z.ZodString;
32068
- agentId: z.ZodString;
32069
32069
  functionId: z.ZodString;
32070
32070
  relationshipId: z.ZodOptional<z.ZodString>;
32071
32071
  }, z.core.$strip>>>;
@@ -32212,17 +32212,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32212
32212
  name: z.ZodString;
32213
32213
  createdAt: z.ZodString;
32214
32214
  updatedAt: z.ZodString;
32215
+ toolId: z.ZodNullable<z.ZodString>;
32216
+ userId: z.ZodNullable<z.ZodString>;
32215
32217
  createdBy: z.ZodNullable<z.ZodString>;
32216
32218
  credentialStoreId: z.ZodString;
32217
32219
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32218
- toolId: z.ZodNullable<z.ZodString>;
32219
- userId: z.ZodNullable<z.ZodString>;
32220
32220
  type: z.ZodEnum<{
32221
32221
  readonly memory: "memory";
32222
32222
  readonly keychain: "keychain";
32223
32223
  readonly nango: "nango";
32224
32224
  }>;
32225
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
32225
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
32226
32226
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32227
32227
  name: "created_at";
32228
32228
  tableName: "tools";
@@ -32502,7 +32502,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32502
32502
  }, {}, {
32503
32503
  length: 256;
32504
32504
  }>;
32505
- }, drizzle_zod0.BuildRefine<{
32505
+ }, drizzle_zod3.BuildRefine<{
32506
32506
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32507
32507
  name: "created_at";
32508
32508
  tableName: "tools";
@@ -32805,11 +32805,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32805
32805
  }, z.core.$strip>;
32806
32806
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32807
32807
  data: z.ZodObject<{
32808
- description: z.ZodNullable<z.ZodString>;
32809
32808
  id: z.ZodString;
32810
32809
  name: z.ZodString;
32811
- createdAt: z.ZodString;
32812
- updatedAt: z.ZodString;
32810
+ description: z.ZodNullable<z.ZodString>;
32813
32811
  models: z.ZodNullable<z.ZodObject<{
32814
32812
  base: z.ZodObject<{
32815
32813
  model: z.ZodOptional<z.ZodString>;
@@ -32828,6 +32826,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32828
32826
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32829
32827
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32830
32828
  }, z.core.$strip>>;
32829
+ createdAt: z.ZodString;
32830
+ updatedAt: z.ZodString;
32831
32831
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32832
32832
  createdAt: z.ZodString;
32833
32833
  updatedAt: z.ZodString;
@@ -32858,12 +32858,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32858
32858
  id: z.ZodString;
32859
32859
  }>, z.core.$strip>>;
32860
32860
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32861
- description: z.ZodNullable<z.ZodString>;
32862
32861
  id: z.ZodString;
32863
32862
  name: z.ZodString;
32863
+ description: z.ZodNullable<z.ZodString>;
32864
+ agentId: z.ZodString;
32864
32865
  createdAt: z.ZodString;
32865
32866
  updatedAt: z.ZodString;
32866
- agentId: z.ZodString;
32867
32867
  functionId: z.ZodString;
32868
32868
  relationshipId: z.ZodOptional<z.ZodString>;
32869
32869
  }, z.core.$strip>>>;
@@ -33010,17 +33010,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33010
33010
  name: z.ZodString;
33011
33011
  createdAt: z.ZodString;
33012
33012
  updatedAt: z.ZodString;
33013
+ toolId: z.ZodNullable<z.ZodString>;
33014
+ userId: z.ZodNullable<z.ZodString>;
33013
33015
  createdBy: z.ZodNullable<z.ZodString>;
33014
33016
  credentialStoreId: z.ZodString;
33015
33017
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33016
- toolId: z.ZodNullable<z.ZodString>;
33017
- userId: z.ZodNullable<z.ZodString>;
33018
33018
  type: z.ZodEnum<{
33019
33019
  readonly memory: "memory";
33020
33020
  readonly keychain: "keychain";
33021
33021
  readonly nango: "nango";
33022
33022
  }>;
33023
- tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
33023
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
33024
33024
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33025
33025
  name: "created_at";
33026
33026
  tableName: "tools";
@@ -33300,7 +33300,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33300
33300
  }, {}, {
33301
33301
  length: 256;
33302
33302
  }>;
33303
- }, drizzle_zod0.BuildRefine<{
33303
+ }, drizzle_zod3.BuildRefine<{
33304
33304
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33305
33305
  name: "created_at";
33306
33306
  tableName: "tools";
@@ -33597,12 +33597,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33597
33597
  }>>>;
33598
33598
  }, z.core.$strip>>>;
33599
33599
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33600
- description: z.ZodNullable<z.ZodString>;
33601
33600
  id: z.ZodString;
33602
33601
  name: z.ZodString;
33602
+ description: z.ZodNullable<z.ZodString>;
33603
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33603
33604
  createdAt: z.ZodString;
33604
33605
  updatedAt: z.ZodString;
33605
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33606
33606
  contextConfigId: z.ZodNullable<z.ZodString>;
33607
33607
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33608
33608
  createdAt: z.ZodString;
@@ -33650,12 +33650,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33650
33650
  description: z.ZodString;
33651
33651
  }, z.core.$strip>>>;
33652
33652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33653
- description: z.ZodNullable<z.ZodString>;
33654
33653
  id: z.ZodString;
33655
33654
  name: z.ZodString;
33655
+ description: z.ZodNullable<z.ZodString>;
33656
+ agentId: z.ZodString;
33656
33657
  createdAt: z.ZodString;
33657
33658
  updatedAt: z.ZodString;
33658
- agentId: z.ZodString;
33659
33659
  functionId: z.ZodString;
33660
33660
  relationshipId: z.ZodOptional<z.ZodString>;
33661
33661
  }, z.core.$strip>>>;
@@ -33731,11 +33731,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33731
33731
  }, z.core.$strip>>;
33732
33732
  prompt: z.ZodNullable<z.ZodString>;
33733
33733
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33734
- description: z.ZodNullable<z.ZodString>;
33735
33734
  id: z.ZodString;
33736
33735
  name: z.ZodString;
33737
- createdAt: z.ZodString;
33738
- updatedAt: z.ZodString;
33736
+ description: z.ZodNullable<z.ZodString>;
33737
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33739
33738
  models: z.ZodNullable<z.ZodType<{
33740
33739
  base?: {
33741
33740
  model?: string | undefined;
@@ -33798,7 +33797,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33798
33797
  }, {
33799
33798
  stepCountIs?: number | undefined;
33800
33799
  }>>>;
33801
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33800
+ createdAt: z.ZodString;
33801
+ updatedAt: z.ZodString;
33802
33802
  type: z.ZodLiteral<"internal">;
33803
33803
  canUse: z.ZodArray<z.ZodObject<{
33804
33804
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33837,19 +33837,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33837
33837
  }, z.core.$strip>;
33838
33838
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33839
33839
  data: z.ZodObject<{
33840
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33841
33840
  name: z.ZodString;
33841
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33842
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33842
33843
  createdAt: z.ZodOptional<z.ZodString>;
33843
33844
  updatedAt: z.ZodOptional<z.ZodString>;
33844
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33845
33845
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33846
33846
  id: z.ZodString;
33847
33847
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33848
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33849
33848
  id: z.ZodString;
33850
33849
  name: z.ZodString;
33851
- createdAt: z.ZodOptional<z.ZodString>;
33852
- updatedAt: z.ZodOptional<z.ZodString>;
33850
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33851
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33853
33852
  models: z.ZodOptional<z.ZodObject<{
33854
33853
  base: z.ZodOptional<z.ZodObject<{
33855
33854
  model: z.ZodOptional<z.ZodString>;
@@ -33864,7 +33863,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33864
33863
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33865
33864
  }, z.core.$strip>>;
33866
33865
  }, z.core.$strip>>;
33867
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33866
+ createdAt: z.ZodOptional<z.ZodString>;
33867
+ updatedAt: z.ZodOptional<z.ZodString>;
33868
33868
  type: z.ZodLiteral<"internal">;
33869
33869
  canUse: z.ZodArray<z.ZodObject<{
33870
33870
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33975,24 +33975,24 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33975
33975
  executeCode: z.ZodString;
33976
33976
  }, z.core.$strip>>>;
33977
33977
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33978
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33979
33978
  name: z.ZodString;
33979
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33980
33980
  createdAt: z.ZodOptional<z.ZodString>;
33981
33981
  updatedAt: z.ZodOptional<z.ZodString>;
33982
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33983
33982
  enabled: z.ZodOptional<z.ZodBoolean>;
33984
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33983
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33984
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33985
33985
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33986
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33986
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33987
33987
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33988
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33988
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33989
33989
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33990
33990
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33991
33991
  id: z.ZodOptional<z.ZodString>;
33992
33992
  }, z.core.$strip>>>;
33993
33993
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33994
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33995
33994
  name: z.ZodString;
33995
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33996
33996
  createdAt: z.ZodOptional<z.ZodString>;
33997
33997
  updatedAt: z.ZodOptional<z.ZodString>;
33998
33998
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34002,7 +34002,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34002
34002
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34003
34003
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34004
34004
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34005
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
34005
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
34006
34006
  maxRetries: z.ZodOptional<z.ZodNumber>;
34007
34007
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
34008
34008
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -34050,19 +34050,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34050
34050
  }, z.core.$strip>;
34051
34051
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34052
34052
  data: z.ZodObject<{
34053
- description: z.ZodNullable<z.ZodString>;
34054
34053
  id: z.ZodString;
34055
34054
  name: z.ZodString;
34055
+ description: z.ZodNullable<z.ZodString>;
34056
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34056
34057
  createdAt: z.ZodString;
34057
34058
  updatedAt: z.ZodString;
34058
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34059
34059
  contextConfigId: z.ZodNullable<z.ZodString>;
34060
34060
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34061
- description: z.ZodNullable<z.ZodString>;
34062
34061
  id: z.ZodString;
34063
34062
  name: z.ZodString;
34064
- createdAt: z.ZodString;
34065
- updatedAt: z.ZodString;
34063
+ description: z.ZodNullable<z.ZodString>;
34064
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34066
34065
  models: z.ZodNullable<z.ZodType<{
34067
34066
  base?: {
34068
34067
  model?: string | undefined;
@@ -34125,7 +34124,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34125
34124
  }, {
34126
34125
  stepCountIs?: number | undefined;
34127
34126
  }>>>;
34128
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34127
+ createdAt: z.ZodString;
34128
+ updatedAt: z.ZodString;
34129
34129
  type: z.ZodLiteral<"internal">;
34130
34130
  canUse: z.ZodArray<z.ZodObject<{
34131
34131
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34196,12 +34196,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34196
34196
  description: z.ZodString;
34197
34197
  }, z.core.$strip>>>;
34198
34198
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34199
- description: z.ZodNullable<z.ZodString>;
34200
34199
  id: z.ZodString;
34201
34200
  name: z.ZodString;
34201
+ description: z.ZodNullable<z.ZodString>;
34202
+ agentId: z.ZodString;
34202
34203
  createdAt: z.ZodString;
34203
34204
  updatedAt: z.ZodString;
34204
- agentId: z.ZodString;
34205
34205
  functionId: z.ZodString;
34206
34206
  relationshipId: z.ZodOptional<z.ZodString>;
34207
34207
  }, z.core.$strip>>>;
@@ -34434,7 +34434,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34434
34434
  createdAt: z.ZodString;
34435
34435
  updatedAt: z.ZodString;
34436
34436
  targetAgentId: z.ZodString;
34437
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34437
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34438
34438
  subAgentId: z.ZodString;
34439
34439
  agentId: z.ZodString;
34440
34440
  projectId: z.ZodString;
@@ -34447,7 +34447,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34447
34447
  createdAt: z.ZodString;
34448
34448
  updatedAt: z.ZodString;
34449
34449
  targetAgentId: z.ZodString;
34450
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34450
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34451
34451
  subAgentId: z.ZodString;
34452
34452
  agentId: z.ZodString;
34453
34453
  projectId: z.ZodString;
@@ -34466,7 +34466,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34466
34466
  createdAt: z.ZodString;
34467
34467
  updatedAt: z.ZodString;
34468
34468
  externalAgentId: z.ZodString;
34469
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34469
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34470
34470
  subAgentId: z.ZodString;
34471
34471
  agentId: z.ZodString;
34472
34472
  projectId: z.ZodString;
@@ -34479,7 +34479,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34479
34479
  createdAt: z.ZodString;
34480
34480
  updatedAt: z.ZodString;
34481
34481
  externalAgentId: z.ZodString;
34482
- headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34483
34483
  subAgentId: z.ZodString;
34484
34484
  agentId: z.ZodString;
34485
34485
  projectId: z.ZodString;
@@ -34714,7 +34714,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34714
34714
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34715
34715
  ref: z.ZodOptional<z.ZodString>;
34716
34716
  }, z.core.$strip>;
34717
- declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
34717
+ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34718
34718
  id: drizzle_orm_pg_core0.PgColumn<{
34719
34719
  name: "id";
34720
34720
  tableName: "project_metadata";
@@ -34808,7 +34808,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
34808
34808
  }, {}, {
34809
34809
  length: 512;
34810
34810
  }>;
34811
- }, drizzle_zod0.BuildRefine<{
34811
+ }, drizzle_zod3.BuildRefine<{
34812
34812
  id: drizzle_orm_pg_core0.PgColumn<{
34813
34813
  name: "id";
34814
34814
  tableName: "project_metadata";
@@ -34919,10 +34919,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34919
34919
  disconnected: "disconnected";
34920
34920
  }>;
34921
34921
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34922
- Organization: "Organization";
34923
34922
  User: "User";
34923
+ Organization: "Organization";
34924
34924
  }>;
34925
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"select", {
34925
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
34926
34926
  createdAt: drizzle_orm_pg_core0.PgColumn<{
34927
34927
  name: "created_at";
34928
34928
  tableName: "work_app_github_installations";
@@ -35015,7 +35015,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
35015
35015
  tableName: "work_app_github_installations";
35016
35016
  dataType: "string";
35017
35017
  columnType: "PgVarchar";
35018
- data: "Organization" | "User";
35018
+ data: "User" | "Organization";
35019
35019
  driverParam: string;
35020
35020
  notNull: true;
35021
35021
  hasDefault: false;
@@ -35028,7 +35028,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
35028
35028
  generated: undefined;
35029
35029
  }, {}, {
35030
35030
  length: 20;
35031
- $type: "Organization" | "User";
35031
+ $type: "User" | "Organization";
35032
35032
  }>;
35033
35033
  status: drizzle_orm_pg_core0.PgColumn<{
35034
35034
  name: "status";
@@ -35088,7 +35088,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
35088
35088
  }, {}, {
35089
35089
  length: 256;
35090
35090
  }>;
35091
- }, drizzle_zod0.BuildRefine<{
35091
+ }, drizzle_zod3.BuildRefine<{
35092
35092
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35093
35093
  name: "created_at";
35094
35094
  tableName: "work_app_github_installations";
@@ -35181,7 +35181,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
35181
35181
  tableName: "work_app_github_installations";
35182
35182
  dataType: "string";
35183
35183
  columnType: "PgVarchar";
35184
- data: "Organization" | "User";
35184
+ data: "User" | "Organization";
35185
35185
  driverParam: string;
35186
35186
  notNull: true;
35187
35187
  hasDefault: false;
@@ -35194,7 +35194,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"s
35194
35194
  generated: undefined;
35195
35195
  }, {}, {
35196
35196
  length: 20;
35197
- $type: "Organization" | "User";
35197
+ $type: "User" | "Organization";
35198
35198
  }>;
35199
35199
  status: drizzle_orm_pg_core0.PgColumn<{
35200
35200
  name: "status";
@@ -35262,8 +35262,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35262
35262
  accountLogin: z.ZodString;
35263
35263
  accountId: z.ZodString;
35264
35264
  accountType: z.ZodEnum<{
35265
- Organization: "Organization";
35266
35265
  User: "User";
35266
+ Organization: "Organization";
35267
35267
  }>;
35268
35268
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35269
35269
  pending: "pending";
@@ -35293,8 +35293,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35293
35293
  accountLogin: z.ZodString;
35294
35294
  accountId: z.ZodString;
35295
35295
  accountType: z.ZodEnum<{
35296
- Organization: "Organization";
35297
35296
  User: "User";
35297
+ Organization: "Organization";
35298
35298
  }>;
35299
35299
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35300
35300
  pending: "pending";
@@ -35303,7 +35303,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35303
35303
  disconnected: "disconnected";
35304
35304
  }>>>;
35305
35305
  }>, z.core.$strip>;
35306
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"select", {
35306
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"select", {
35307
35307
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35308
35308
  name: "created_at";
35309
35309
  tableName: "work_app_github_repositories";
@@ -35448,7 +35448,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"sel
35448
35448
  identity: undefined;
35449
35449
  generated: undefined;
35450
35450
  }, {}, {}>;
35451
- }, drizzle_zod0.BuildRefine<{
35451
+ }, drizzle_zod3.BuildRefine<{
35452
35452
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35453
35453
  name: "created_at";
35454
35454
  tableName: "work_app_github_repositories";
@@ -35614,7 +35614,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35614
35614
  repositoryFullName: z.ZodString;
35615
35615
  private: z.ZodOptional<z.ZodBoolean>;
35616
35616
  }>>, z.core.$strip>;
35617
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
35617
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
35618
35618
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35619
35619
  name: "created_at";
35620
35620
  tableName: "work_app_github_project_repository_access";
@@ -35725,7 +35725,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.Bui
35725
35725
  }, {}, {
35726
35726
  length: 256;
35727
35727
  }>;
35728
- }, drizzle_zod0.BuildRefine<{
35728
+ }, drizzle_zod3.BuildRefine<{
35729
35729
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35730
35730
  name: "created_at";
35731
35731
  tableName: "work_app_github_project_repository_access";
@@ -35837,7 +35837,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.Bui
35837
35837
  length: 256;
35838
35838
  }>;
35839
35839
  }, undefined>, undefined>;
35840
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
35840
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
35841
35841
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35842
35842
  name: "created_at";
35843
35843
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35967,7 +35967,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.Bui
35967
35967
  }, {}, {
35968
35968
  length: 256;
35969
35969
  }>;
35970
- }, drizzle_zod0.BuildRefine<{
35970
+ }, drizzle_zod3.BuildRefine<{
35971
35971
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35972
35972
  name: "created_at";
35973
35973
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -36121,7 +36121,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36121
36121
  all: "all";
36122
36122
  selected: "selected";
36123
36123
  }>;
36124
- repositories: z.ZodArray<drizzle_zod0.BuildSchema<"select", {
36124
+ repositories: z.ZodArray<drizzle_zod3.BuildSchema<"select", {
36125
36125
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36126
36126
  name: "created_at";
36127
36127
  tableName: "work_app_github_repositories";
@@ -36266,7 +36266,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36266
36266
  identity: undefined;
36267
36267
  generated: undefined;
36268
36268
  }, {}, {}>;
36269
- }, drizzle_zod0.BuildRefine<{
36269
+ }, drizzle_zod3.BuildRefine<{
36270
36270
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36271
36271
  name: "created_at";
36272
36272
  tableName: "work_app_github_repositories";
@@ -36413,7 +36413,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36413
36413
  }, {}, {}>;
36414
36414
  }, undefined>, undefined>>;
36415
36415
  }, z.core.$strip>;
36416
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
36416
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
36417
36417
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36418
36418
  name: "created_at";
36419
36419
  tableName: "work_app_slack_channel_agent_configs";
@@ -36651,7 +36651,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSche
36651
36651
  identity: undefined;
36652
36652
  generated: undefined;
36653
36653
  }, {}, {}>;
36654
- }, drizzle_zod0.BuildRefine<{
36654
+ }, drizzle_zod3.BuildRefine<{
36655
36655
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36656
36656
  name: "created_at";
36657
36657
  tableName: "work_app_slack_channel_agent_configs";
@@ -36890,7 +36890,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSche
36890
36890
  generated: undefined;
36891
36891
  }, {}, {}>;
36892
36892
  }, undefined>, undefined>;
36893
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod0.BuildSchema<"select", {
36893
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"select", {
36894
36894
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36895
36895
  name: "created_at";
36896
36896
  tableName: "work_app_slack_workspaces";
@@ -37185,7 +37185,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod0.BuildSchema<"selec
37185
37185
  identity: undefined;
37186
37186
  generated: undefined;
37187
37187
  }, {}, {}>;
37188
- }, drizzle_zod0.BuildRefine<{
37188
+ }, drizzle_zod3.BuildRefine<{
37189
37189
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37190
37190
  name: "created_at";
37191
37191
  tableName: "work_app_slack_workspaces";
@@ -37507,8 +37507,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37507
37507
  selected: "selected";
37508
37508
  }>;
37509
37509
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37510
- projectId: z.ZodString;
37511
37510
  tenantId: z.ZodString;
37511
+ projectId: z.ZodString;
37512
37512
  toolId: z.ZodString;
37513
37513
  channelAccessMode: z.ZodEnum<{
37514
37514
  all: "all";
@@ -37525,7 +37525,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
37525
37525
  dmEnabled: z.ZodBoolean;
37526
37526
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
37527
37527
  }, z.core.$strip>;
37528
- declare const UserProfileSelectSchema: drizzle_zod0.BuildSchema<"select", {
37528
+ declare const UserProfileSelectSchema: drizzle_zod3.BuildSchema<"select", {
37529
37529
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37530
37530
  name: "created_at";
37531
37531
  tableName: "user_profile";
@@ -37630,7 +37630,7 @@ declare const UserProfileSelectSchema: drizzle_zod0.BuildSchema<"select", {
37630
37630
  }, {}, {
37631
37631
  $type: Record<string, unknown>;
37632
37632
  }>;
37633
- }, drizzle_zod0.BuildRefine<{
37633
+ }, drizzle_zod3.BuildRefine<{
37634
37634
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37635
37635
  name: "created_at";
37636
37636
  tableName: "user_profile";