@inkeep/agents-core 0.0.0-dev-20260227162019 → 0.0.0-dev-20260227204243

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 (32) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +36 -36
  6. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  7. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  8. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  9. package/dist/data-access/manage/functionTools.d.ts +14 -14
  10. package/dist/data-access/manage/skills.d.ts +15 -15
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  12. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgents.d.ts +24 -24
  15. package/dist/data-access/manage/tools.d.ts +21 -21
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/conversations.d.ts +27 -27
  18. package/dist/data-access/runtime/messages.d.ts +24 -24
  19. package/dist/data-access/runtime/tasks.d.ts +6 -6
  20. package/dist/db/manage/manage-schema.d.ts +447 -447
  21. package/dist/db/runtime/runtime-schema.d.ts +298 -298
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +2 -2
  24. package/dist/utils/error.d.ts +51 -51
  25. package/dist/utils/index.d.ts +2 -2
  26. package/dist/utils/index.js +2 -2
  27. package/dist/utils/mcp-client.d.ts +2 -1
  28. package/dist/utils/mcp-client.js +20 -5
  29. package/dist/validation/dolt-schemas.d.ts +1 -1
  30. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  31. package/dist/validation/schemas.d.ts +646 -646
  32. 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_core217 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod19 from "drizzle-zod";
7
+ import * as drizzle_zod15 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -130,7 +130,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
130
130
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
131
131
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
132
132
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
133
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
133
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
134
134
  createdAt: drizzle_orm_pg_core217.PgColumn<{
135
135
  name: "created_at";
136
136
  tableName: "sub_agents";
@@ -381,7 +381,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
381
381
  }, {}, {
382
382
  length: 256;
383
383
  }>;
384
- }, drizzle_zod19.BuildRefine<{
384
+ }, drizzle_zod15.BuildRefine<{
385
385
  createdAt: drizzle_orm_pg_core217.PgColumn<{
386
386
  name: "created_at";
387
387
  tableName: "sub_agents";
@@ -819,11 +819,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
819
819
  }, z.core.$strip>>;
820
820
  }>, z.core.$strip>;
821
821
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
822
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
823
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
823
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
827
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
828
828
  base: z.ZodOptional<z.ZodObject<{
829
829
  model: z.ZodOptional<z.ZodString>;
@@ -847,10 +847,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
847
847
  }, {
848
848
  stepCountIs?: number | undefined;
849
849
  }>>>>>>;
850
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
851
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
850
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
852
  }, z.core.$strip>;
853
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
853
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core217.PgColumn<{
855
855
  name: "created_at";
856
856
  tableName: "sub_agent_relations";
@@ -1018,7 +1018,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
1018
1018
  }, {}, {
1019
1019
  length: 256;
1020
1020
  }>;
1021
- }, drizzle_zod19.BuildRefine<{
1021
+ }, drizzle_zod15.BuildRefine<{
1022
1022
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1023
1023
  name: "created_at";
1024
1024
  tableName: "sub_agent_relations";
@@ -1289,7 +1289,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1289
1289
  sourceSubAgentId: z.ZodString;
1290
1290
  externalSubAgentId: z.ZodString;
1291
1291
  }>, z.core.$strip>;
1292
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1292
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1293
1293
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1294
1294
  name: "created_at";
1295
1295
  tableName: "agent";
@@ -1587,7 +1587,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1587
1587
  }, {}, {
1588
1588
  length: 256;
1589
1589
  }>;
1590
- }, drizzle_zod19.BuildRefine<{
1590
+ }, drizzle_zod15.BuildRefine<{
1591
1591
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1592
1592
  name: "created_at";
1593
1593
  tableName: "agent";
@@ -1886,7 +1886,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1886
1886
  length: 256;
1887
1887
  }>;
1888
1888
  }, undefined>, undefined>;
1889
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1889
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1890
1890
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1891
1891
  name: "created_at";
1892
1892
  tableName: "agent";
@@ -2184,7 +2184,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2184
2184
  }, {}, {
2185
2185
  length: 256;
2186
2186
  }>;
2187
- }, drizzle_zod19.BuildRefine<Pick<{
2187
+ }, drizzle_zod15.BuildRefine<Pick<{
2188
2188
  createdAt: drizzle_orm_pg_core217.PgColumn<{
2189
2189
  name: "created_at";
2190
2190
  tableName: "agent";
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "tenantId" | "description" | "name" | "projectId" | "id" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2749,10 +2749,10 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2749
2749
  id: z.ZodString;
2750
2750
  }>, z.core.$strip>;
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2753
2752
  name: z.ZodString;
2754
- createdAt: z.ZodOptional<z.ZodString>;
2755
- updatedAt: z.ZodOptional<z.ZodString>;
2753
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
2757
  base?: {
2758
2758
  model?: string | undefined;
@@ -2815,9 +2815,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2815
2815
  }, {
2816
2816
  transferCountIs?: number | undefined;
2817
2817
  }>>>>;
2818
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2818
+ createdAt: z.ZodOptional<z.ZodString>;
2819
+ updatedAt: z.ZodOptional<z.ZodString>;
2819
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
2823
2823
  numEvents?: number | undefined;
@@ -2878,11 +2878,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2878
2878
  id: z.ZodString;
2879
2879
  }, z.core.$strip>;
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
2881
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
2881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2882
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
2887
  base?: {
2888
2888
  model?: string | undefined;
@@ -2945,9 +2945,9 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2945
2945
  }, {
2946
2946
  transferCountIs?: number | undefined;
2947
2947
  }>>>>>>;
2948
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2948
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
2950
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2952
  enabled?: boolean | undefined;
2953
2953
  numEvents?: number | undefined;
@@ -3281,10 +3281,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3281
3281
  createdAt: z.ZodString;
3282
3282
  updatedAt: z.ZodString;
3283
3283
  enabled: z.ZodBoolean;
3284
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3285
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3284
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3285
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3286
3286
  messageTemplate: z.ZodNullable<z.ZodString>;
3287
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3287
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3288
3288
  name: z.ZodString;
3289
3289
  description: z.ZodNullable<z.ZodString>;
3290
3290
  agentId: z.ZodString;
@@ -3341,7 +3341,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3341
3341
  out: {};
3342
3342
  in: {};
3343
3343
  }>;
3344
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3344
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3345
3345
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3346
3346
  name: "created_at";
3347
3347
  tableName: "triggers";
@@ -3673,7 +3673,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3673
3673
  }, {}, {
3674
3674
  length: 256;
3675
3675
  }>;
3676
- }, drizzle_zod19.BuildRefine<Pick<{
3676
+ }, drizzle_zod15.BuildRefine<Pick<{
3677
3677
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3678
3678
  name: "created_at";
3679
3679
  tableName: "triggers";
@@ -4005,16 +4005,16 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "tenantId" | "description" | "name" | "projectId" | "id" | "createdAt" | "updatedAt" | "enabled" | "agentId" | "inputSchema" | "messageTemplate" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4012
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4013
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4012
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4013
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4014
4014
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4015
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4015
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4016
4016
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4017
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4017
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4018
4018
  name: z.ZodOptional<z.ZodString>;
4019
4019
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4020
4020
  agentId: z.ZodOptional<z.ZodString>;
@@ -4030,10 +4030,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4030
4030
  createdAt: z.ZodString;
4031
4031
  updatedAt: z.ZodString;
4032
4032
  enabled: z.ZodBoolean;
4033
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4034
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4033
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4034
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4035
4035
  messageTemplate: z.ZodNullable<z.ZodString>;
4036
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4036
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4037
4037
  name: z.ZodString;
4038
4038
  description: z.ZodNullable<z.ZodString>;
4039
4039
  agentId: z.ZodString;
@@ -4088,28 +4088,28 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4088
4088
  }, z.core.$strip>>>;
4089
4089
  }>, z.core.$strip>;
4090
4090
  declare const TriggerApiInsertSchema: z.ZodObject<{
4091
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4092
4091
  name: z.ZodString;
4092
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4093
4093
  createdAt: z.ZodOptional<z.ZodString>;
4094
4094
  updatedAt: z.ZodOptional<z.ZodString>;
4095
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4096
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4097
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4097
4098
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4098
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4099
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4099
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4100
4100
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4101
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4101
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4102
4102
  id: z.ZodOptional<z.ZodString>;
4103
4103
  }, z.core.$strip>;
4104
4104
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4105
4105
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4106
4106
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4107
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4108
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4107
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4108
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4109
4109
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4110
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4110
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4111
4111
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4112
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4112
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4113
4113
  name: z.ZodOptional<z.ZodString>;
4114
4114
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4115
4115
  agentId: z.ZodOptional<z.ZodString>;
@@ -4122,16 +4122,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4122
4122
  in: {};
4123
4123
  }>;
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
- description: z.ZodNullable<z.ZodString>;
4126
- name: z.ZodString;
4127
4125
  id: z.ZodString;
4126
+ name: z.ZodString;
4127
+ description: z.ZodNullable<z.ZodString>;
4128
4128
  createdAt: z.ZodString;
4129
4129
  updatedAt: z.ZodString;
4130
4130
  enabled: z.ZodBoolean;
4131
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4131
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4132
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4132
4133
  messageTemplate: z.ZodNullable<z.ZodString>;
4133
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4134
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4134
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4135
4135
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4136
4136
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4137
4137
  algorithm: z.ZodEnum<{
@@ -4180,7 +4180,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4180
4180
  }, z.core.$strip>>>;
4181
4181
  webhookUrl: z.ZodString;
4182
4182
  }, z.core.$strip>;
4183
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4183
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4184
4184
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4185
4185
  name: "trigger_id";
4186
4186
  tableName: "trigger_invocations";
@@ -4382,7 +4382,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4382
4382
  }, {}, {
4383
4383
  length: 256;
4384
4384
  }>;
4385
- }, drizzle_zod19.BuildRefine<{
4385
+ }, drizzle_zod15.BuildRefine<{
4386
4386
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4387
4387
  name: "trigger_id";
4388
4388
  tableName: "trigger_invocations";
@@ -4585,7 +4585,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4585
4585
  length: 256;
4586
4586
  }>;
4587
4587
  }, undefined>, undefined>;
4588
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4588
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4589
4589
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4590
4590
  name: "trigger_id";
4591
4591
  tableName: "trigger_invocations";
@@ -4787,7 +4787,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4787
4787
  }, {}, {
4788
4788
  length: 256;
4789
4789
  }>;
4790
- }, drizzle_zod19.BuildRefine<Pick<{
4790
+ }, drizzle_zod15.BuildRefine<Pick<{
4791
4791
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4792
4792
  name: "trigger_id";
4793
4793
  tableName: "trigger_invocations";
@@ -4989,13 +4989,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "tenantId" | "projectId" | "id" | "createdAt" | "status" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4996
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4997
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4998
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4997
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4998
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4999
4999
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5000
5000
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5001
5001
  agentId: z.ZodOptional<z.ZodString>;
@@ -5010,8 +5010,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5010
5010
  triggerId: z.ZodString;
5011
5011
  conversationId: z.ZodNullable<z.ZodString>;
5012
5012
  status: z.ZodString;
5013
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5014
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5013
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5014
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5015
5015
  errorMessage: z.ZodNullable<z.ZodString>;
5016
5016
  createdAt: z.ZodString;
5017
5017
  agentId: z.ZodString;
@@ -5024,8 +5024,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5024
5024
  status: z.ZodOptional<z.ZodString>;
5025
5025
  triggerId: z.ZodString;
5026
5026
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5027
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5028
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5027
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5028
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5029
5029
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
5030
  id: z.ZodString;
5031
5031
  }, z.core.$strip>;
@@ -5035,8 +5035,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5035
5035
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5036
5036
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5037
5037
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5038
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5039
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5038
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5039
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5040
5040
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5041
5041
  }, z.core.$strip>;
5042
5042
  declare const CronExpressionSchema: z.ZodString;
@@ -5064,7 +5064,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5064
5064
  out: {};
5065
5065
  in: {};
5066
5066
  }>;
5067
- declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5067
+ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5068
5068
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5069
5069
  name: "created_at";
5070
5070
  tableName: "scheduled_triggers";
@@ -5408,7 +5408,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5408
5408
  }, {}, {
5409
5409
  length: 256;
5410
5410
  }>;
5411
- }, drizzle_zod19.BuildRefine<Pick<{
5411
+ }, drizzle_zod15.BuildRefine<Pick<{
5412
5412
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5413
5413
  name: "created_at";
5414
5414
  tableName: "scheduled_triggers";
@@ -5752,14 +5752,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5752
5752
  }, {}, {
5753
5753
  length: 256;
5754
5754
  }>;
5755
- }, "tenantId" | "description" | "name" | "projectId" | "id" | "createdAt" | "updatedAt" | "enabled" | "agentId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "messageTemplate" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId">, undefined>, undefined>;
5755
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId">, undefined>, undefined>;
5756
5756
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5757
5757
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5758
5758
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5759
5759
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5760
5760
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5761
5761
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5762
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5762
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5763
5763
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5764
5764
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5765
5765
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5799,17 +5799,17 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5799
5799
  createdBy: z.ZodNullable<z.ZodString>;
5800
5800
  }>, z.core.$strip>;
5801
5801
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5802
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5803
5802
  name: z.ZodString;
5803
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5804
5804
  createdAt: z.ZodOptional<z.ZodString>;
5805
5805
  updatedAt: z.ZodOptional<z.ZodString>;
5806
5806
  enabled: z.ZodOptional<z.ZodBoolean>;
5807
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5807
5808
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5808
5809
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5809
5810
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5810
5811
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5811
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5812
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5812
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5813
5813
  maxRetries: z.ZodOptional<z.ZodNumber>;
5814
5814
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5815
5815
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5817,17 +5817,17 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5817
5817
  id: z.ZodOptional<z.ZodString>;
5818
5818
  }, z.core.$strip>;
5819
5819
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5820
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5821
5820
  name: z.ZodString;
5821
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5822
5822
  createdAt: z.ZodOptional<z.ZodString>;
5823
5823
  updatedAt: z.ZodOptional<z.ZodString>;
5824
5824
  enabled: z.ZodOptional<z.ZodBoolean>;
5825
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5825
5826
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5826
5827
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5827
5828
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
5829
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5829
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5830
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5830
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5831
5831
  maxRetries: z.ZodOptional<z.ZodNumber>;
5832
5832
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5833
5833
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5840,7 +5840,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5840
5840
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5841
5841
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5842
5842
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5843
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5843
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5844
5844
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5845
5845
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5846
5846
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5864,7 +5864,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5864
5864
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5865
5865
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5866
5866
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5867
- declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5867
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5868
5868
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5869
5869
  name: "created_at";
5870
5870
  tableName: "scheduled_workflows";
@@ -6068,7 +6068,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
6068
6068
  }, {}, {
6069
6069
  length: 256;
6070
6070
  }>;
6071
- }, drizzle_zod19.BuildRefine<{
6071
+ }, drizzle_zod15.BuildRefine<{
6072
6072
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6073
6073
  name: "created_at";
6074
6074
  tableName: "scheduled_workflows";
@@ -6273,7 +6273,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
6273
6273
  length: 256;
6274
6274
  }>;
6275
6275
  }, undefined>, undefined>;
6276
- declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6276
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6277
6277
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6278
6278
  name: "created_at";
6279
6279
  tableName: "scheduled_workflows";
@@ -6477,7 +6477,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6477
6477
  }, {}, {
6478
6478
  length: 256;
6479
6479
  }>;
6480
- }, drizzle_zod19.BuildRefine<Pick<{
6480
+ }, drizzle_zod15.BuildRefine<Pick<{
6481
6481
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6482
6482
  name: "created_at";
6483
6483
  tableName: "scheduled_workflows";
@@ -6681,7 +6681,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6681
6681
  }, {}, {
6682
6682
  length: 256;
6683
6683
  }>;
6684
- }, "tenantId" | "description" | "name" | "projectId" | "id" | "createdAt" | "updatedAt" | "status" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6684
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6685
6685
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6686
6686
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6687
6687
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6712,8 +6712,8 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6712
6712
  id: z.ZodString;
6713
6713
  }>, z.core.$strip>;
6714
6714
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6715
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6716
6715
  name: z.ZodString;
6716
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6717
6717
  createdAt: z.ZodOptional<z.ZodString>;
6718
6718
  updatedAt: z.ZodOptional<z.ZodString>;
6719
6719
  status: z.ZodOptional<z.ZodString>;
@@ -6772,7 +6772,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6772
6772
  out: {};
6773
6773
  in: {};
6774
6774
  }>;
6775
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6775
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6776
6776
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
6777
6777
  name: "scheduled_trigger_id";
6778
6778
  tableName: "scheduled_trigger_invocations";
@@ -7030,7 +7030,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7030
7030
  }, {}, {
7031
7031
  length: 256;
7032
7032
  }>;
7033
- }, drizzle_zod19.BuildRefine<Pick<{
7033
+ }, drizzle_zod15.BuildRefine<Pick<{
7034
7034
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
7035
7035
  name: "scheduled_trigger_id";
7036
7036
  tableName: "scheduled_trigger_invocations";
@@ -7288,14 +7288,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7288
7288
  }, {}, {
7289
7289
  length: 256;
7290
7290
  }>;
7291
- }, "tenantId" | "projectId" | "id" | "createdAt" | "status" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7291
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7292
7292
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7293
7293
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7294
7294
  status: z.ZodOptional<z.ZodString>;
7295
7295
  scheduledFor: z.ZodOptional<z.ZodString>;
7296
7296
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7297
7297
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7298
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7298
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7299
7299
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7300
7300
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7301
7301
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7337,7 +7337,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7337
7337
  scheduledFor: z.ZodString;
7338
7338
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7339
7339
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7340
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7340
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7341
7341
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7342
7342
  attemptNumber: z.ZodOptional<z.ZodInt>;
7343
7343
  idempotencyKey: z.ZodString;
@@ -7351,7 +7351,7 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7351
7351
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7352
7352
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7353
7353
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7354
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7354
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7355
7355
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7356
7356
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7357
7357
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7360,7 +7360,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7360
7360
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7361
7361
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7362
7362
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7363
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7363
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7364
7364
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7365
7365
  name: "created_at";
7366
7366
  tableName: "tasks";
@@ -7420,7 +7420,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7420
7420
  dataType: "json";
7421
7421
  columnType: "PgJsonb";
7422
7422
  data: {
7423
- type: "commit" | "tag" | "branch";
7423
+ type: "tag" | "commit" | "branch";
7424
7424
  name: string;
7425
7425
  hash: string;
7426
7426
  };
@@ -7436,7 +7436,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7436
7436
  generated: undefined;
7437
7437
  }, {}, {
7438
7438
  $type: {
7439
- type: "commit" | "tag" | "branch";
7439
+ type: "tag" | "commit" | "branch";
7440
7440
  name: string;
7441
7441
  hash: string;
7442
7442
  };
@@ -7574,7 +7574,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7574
7574
  }, {}, {
7575
7575
  length: 256;
7576
7576
  }>;
7577
- }, drizzle_zod19.BuildRefine<{
7577
+ }, drizzle_zod15.BuildRefine<{
7578
7578
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7579
7579
  name: "created_at";
7580
7580
  tableName: "tasks";
@@ -7634,7 +7634,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7634
7634
  dataType: "json";
7635
7635
  columnType: "PgJsonb";
7636
7636
  data: {
7637
- type: "commit" | "tag" | "branch";
7637
+ type: "tag" | "commit" | "branch";
7638
7638
  name: string;
7639
7639
  hash: string;
7640
7640
  };
@@ -7650,7 +7650,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7650
7650
  generated: undefined;
7651
7651
  }, {}, {
7652
7652
  $type: {
7653
- type: "commit" | "tag" | "branch";
7653
+ type: "tag" | "commit" | "branch";
7654
7654
  name: string;
7655
7655
  hash: string;
7656
7656
  };
@@ -7803,8 +7803,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7803
7803
  conversationId: z.ZodOptional<z.ZodString>;
7804
7804
  ref: z.ZodObject<{
7805
7805
  type: z.ZodEnum<{
7806
- commit: "commit";
7807
7806
  tag: "tag";
7807
+ commit: "commit";
7808
7808
  branch: "branch";
7809
7809
  }>;
7810
7810
  name: z.ZodString;
@@ -7828,8 +7828,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7828
7828
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7829
7829
  ref: z.ZodOptional<z.ZodObject<{
7830
7830
  type: z.ZodEnum<{
7831
- commit: "commit";
7832
7831
  tag: "tag";
7832
+ commit: "commit";
7833
7833
  branch: "branch";
7834
7834
  }>;
7835
7835
  name: z.ZodString;
@@ -7844,19 +7844,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7844
7844
  updatedAt: z.ZodString;
7845
7845
  contextId: z.ZodString;
7846
7846
  ref: z.ZodNullable<z.ZodType<{
7847
- type: "commit" | "tag" | "branch";
7847
+ type: "tag" | "commit" | "branch";
7848
7848
  name: string;
7849
7849
  hash: string;
7850
7850
  }, {
7851
- type: "commit" | "tag" | "branch";
7851
+ type: "tag" | "commit" | "branch";
7852
7852
  name: string;
7853
7853
  hash: string;
7854
7854
  }, z.core.$ZodTypeInternals<{
7855
- type: "commit" | "tag" | "branch";
7855
+ type: "tag" | "commit" | "branch";
7856
7856
  name: string;
7857
7857
  hash: string;
7858
7858
  }, {
7859
- type: "commit" | "tag" | "branch";
7859
+ type: "tag" | "commit" | "branch";
7860
7860
  name: string;
7861
7861
  hash: string;
7862
7862
  }>>>;
@@ -7882,8 +7882,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7882
7882
  conversationId: z.ZodOptional<z.ZodString>;
7883
7883
  ref: z.ZodObject<{
7884
7884
  type: z.ZodEnum<{
7885
- commit: "commit";
7886
7885
  tag: "tag";
7886
+ commit: "commit";
7887
7887
  branch: "branch";
7888
7888
  }>;
7889
7889
  name: z.ZodString;
@@ -7891,26 +7891,26 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7891
7891
  }, z.core.$strip>;
7892
7892
  }>, z.core.$strip>;
7893
7893
  declare const TaskApiUpdateSchema: z.ZodObject<{
7894
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7895
7894
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7895
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7896
7896
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7897
7897
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7898
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7898
7899
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7899
7900
  type: z.ZodEnum<{
7900
- commit: "commit";
7901
7901
  tag: "tag";
7902
+ commit: "commit";
7902
7903
  branch: "branch";
7903
7904
  }>;
7904
7905
  name: z.ZodString;
7905
7906
  hash: z.ZodString;
7906
7907
  }, z.core.$strip>>>;
7907
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7908
7908
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7909
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7909
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7910
7910
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7911
7911
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7912
7912
  }, z.core.$strip>;
7913
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7913
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
7914
7914
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7915
7915
  name: "created_at";
7916
7916
  tableName: "task_relations";
@@ -8059,7 +8059,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8059
8059
  }, {}, {
8060
8060
  length: 256;
8061
8061
  }>;
8062
- }, drizzle_zod19.BuildRefine<{
8062
+ }, drizzle_zod15.BuildRefine<{
8063
8063
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8064
8064
  name: "created_at";
8065
8065
  tableName: "task_relations";
@@ -8285,7 +8285,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8285
8285
  description: z.ZodOptional<z.ZodString>;
8286
8286
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8287
8287
  }, z.core.$strip>;
8288
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8288
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8289
8289
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8290
8290
  name: "created_at";
8291
8291
  tableName: "tools";
@@ -8565,7 +8565,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8565
8565
  }, {}, {
8566
8566
  length: 256;
8567
8567
  }>;
8568
- }, drizzle_zod19.BuildRefine<{
8568
+ }, drizzle_zod15.BuildRefine<{
8569
8569
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8570
8570
  name: "created_at";
8571
8571
  tableName: "tools";
@@ -8891,7 +8891,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8891
8891
  out: {};
8892
8892
  in: {};
8893
8893
  }>;
8894
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8894
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8895
8895
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8896
8896
  name: "created_at";
8897
8897
  tableName: "conversations";
@@ -8989,7 +8989,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8989
8989
  dataType: "json";
8990
8990
  columnType: "PgJsonb";
8991
8991
  data: {
8992
- type: "commit" | "tag" | "branch";
8992
+ type: "tag" | "commit" | "branch";
8993
8993
  name: string;
8994
8994
  hash: string;
8995
8995
  };
@@ -9005,7 +9005,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9005
9005
  generated: undefined;
9006
9006
  }, {}, {
9007
9007
  $type: {
9008
- type: "commit" | "tag" | "branch";
9008
+ type: "tag" | "commit" | "branch";
9009
9009
  name: string;
9010
9010
  hash: string;
9011
9011
  };
@@ -9120,7 +9120,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9120
9120
  }, {}, {
9121
9121
  length: 256;
9122
9122
  }>;
9123
- }, drizzle_zod19.BuildRefine<{
9123
+ }, drizzle_zod15.BuildRefine<{
9124
9124
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9125
9125
  name: "created_at";
9126
9126
  tableName: "conversations";
@@ -9218,7 +9218,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9218
9218
  dataType: "json";
9219
9219
  columnType: "PgJsonb";
9220
9220
  data: {
9221
- type: "commit" | "tag" | "branch";
9221
+ type: "tag" | "commit" | "branch";
9222
9222
  name: string;
9223
9223
  hash: string;
9224
9224
  };
@@ -9234,7 +9234,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9234
9234
  generated: undefined;
9235
9235
  }, {}, {
9236
9236
  $type: {
9237
- type: "commit" | "tag" | "branch";
9237
+ type: "tag" | "commit" | "branch";
9238
9238
  name: string;
9239
9239
  hash: string;
9240
9240
  };
@@ -9365,8 +9365,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9365
9365
  contextConfigId: z.ZodOptional<z.ZodString>;
9366
9366
  ref: z.ZodObject<{
9367
9367
  type: z.ZodEnum<{
9368
- commit: "commit";
9369
9368
  tag: "tag";
9369
+ commit: "commit";
9370
9370
  branch: "branch";
9371
9371
  }>;
9372
9372
  name: z.ZodString;
@@ -9391,8 +9391,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9391
9391
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9392
9392
  ref: z.ZodOptional<z.ZodObject<{
9393
9393
  type: z.ZodEnum<{
9394
- commit: "commit";
9395
9394
  tag: "tag";
9395
+ commit: "commit";
9396
9396
  branch: "branch";
9397
9397
  }>;
9398
9398
  name: z.ZodString;
@@ -9409,19 +9409,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9409
9409
  agentId: z.ZodNullable<z.ZodString>;
9410
9410
  activeSubAgentId: z.ZodString;
9411
9411
  ref: z.ZodNullable<z.ZodType<{
9412
- type: "commit" | "tag" | "branch";
9412
+ type: "tag" | "commit" | "branch";
9413
9413
  name: string;
9414
9414
  hash: string;
9415
9415
  }, {
9416
- type: "commit" | "tag" | "branch";
9416
+ type: "tag" | "commit" | "branch";
9417
9417
  name: string;
9418
9418
  hash: string;
9419
9419
  }, z.core.$ZodTypeInternals<{
9420
- type: "commit" | "tag" | "branch";
9420
+ type: "tag" | "commit" | "branch";
9421
9421
  name: string;
9422
9422
  hash: string;
9423
9423
  }, {
9424
- type: "commit" | "tag" | "branch";
9424
+ type: "tag" | "commit" | "branch";
9425
9425
  name: string;
9426
9426
  hash: string;
9427
9427
  }>>>;
@@ -9447,8 +9447,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9447
9447
  contextConfigId: z.ZodOptional<z.ZodString>;
9448
9448
  ref: z.ZodObject<{
9449
9449
  type: z.ZodEnum<{
9450
- commit: "commit";
9451
9450
  tag: "tag";
9451
+ commit: "commit";
9452
9452
  branch: "branch";
9453
9453
  }>;
9454
9454
  name: z.ZodString;
@@ -9456,27 +9456,27 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9456
9456
  }, z.core.$strip>;
9457
9457
  }>, z.core.$strip>;
9458
9458
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9459
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9460
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9461
9459
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9460
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9461
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9462
9462
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9463
9463
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9464
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9465
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9464
9466
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9465
9467
  type: z.ZodEnum<{
9466
- commit: "commit";
9467
9468
  tag: "tag";
9469
+ commit: "commit";
9468
9470
  branch: "branch";
9469
9471
  }>;
9470
9472
  name: z.ZodString;
9471
9473
  hash: z.ZodString;
9472
9474
  }, z.core.$strip>>>;
9473
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9474
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9475
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9475
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9476
9476
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9477
9477
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9478
9478
  }, z.core.$strip>;
9479
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9479
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9480
9480
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9481
9481
  name: "created_at";
9482
9482
  tableName: "messages";
@@ -9872,7 +9872,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9872
9872
  }, {}, {
9873
9873
  length: 256;
9874
9874
  }>;
9875
- }, drizzle_zod19.BuildRefine<{
9875
+ }, drizzle_zod15.BuildRefine<{
9876
9876
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9877
9877
  name: "created_at";
9878
9878
  tableName: "messages";
@@ -10368,27 +10368,27 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
10368
10368
  taskId: z.ZodOptional<z.ZodString>;
10369
10369
  }>, z.core.$strip>;
10370
10370
  declare const MessageApiUpdateSchema: z.ZodObject<{
10371
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10372
- fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10373
- toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10374
- fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10375
- toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10376
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10377
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10378
10371
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10379
10372
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10380
10373
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10381
10374
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10375
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10382
10376
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10383
10377
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10378
+ fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10379
+ toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10380
+ fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10381
+ toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10384
10382
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10385
10383
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10386
10384
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10387
10385
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10386
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10388
10387
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10388
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10389
10389
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10390
10390
  }, z.core.$strip>;
10391
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10391
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10392
10392
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10393
10393
  name: "created_at";
10394
10394
  tableName: "context_cache";
@@ -10486,7 +10486,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10486
10486
  dataType: "json";
10487
10487
  columnType: "PgJsonb";
10488
10488
  data: {
10489
- type: "commit" | "tag" | "branch";
10489
+ type: "tag" | "commit" | "branch";
10490
10490
  name: string;
10491
10491
  hash: string;
10492
10492
  };
@@ -10502,7 +10502,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10502
10502
  generated: undefined;
10503
10503
  }, {}, {
10504
10504
  $type: {
10505
- type: "commit" | "tag" | "branch";
10505
+ type: "tag" | "commit" | "branch";
10506
10506
  name: string;
10507
10507
  hash: string;
10508
10508
  };
@@ -10638,7 +10638,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10638
10638
  }, {}, {
10639
10639
  length: 256;
10640
10640
  }>;
10641
- }, drizzle_zod19.BuildRefine<{
10641
+ }, drizzle_zod15.BuildRefine<{
10642
10642
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10643
10643
  name: "created_at";
10644
10644
  tableName: "context_cache";
@@ -10736,7 +10736,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10736
10736
  dataType: "json";
10737
10737
  columnType: "PgJsonb";
10738
10738
  data: {
10739
- type: "commit" | "tag" | "branch";
10739
+ type: "tag" | "commit" | "branch";
10740
10740
  name: string;
10741
10741
  hash: string;
10742
10742
  };
@@ -10752,7 +10752,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10752
10752
  generated: undefined;
10753
10753
  }, {}, {
10754
10754
  $type: {
10755
- type: "commit" | "tag" | "branch";
10755
+ type: "tag" | "commit" | "branch";
10756
10756
  name: string;
10757
10757
  hash: string;
10758
10758
  };
@@ -10895,7 +10895,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10895
10895
  conversationId: z.ZodString;
10896
10896
  contextConfigId: z.ZodString;
10897
10897
  contextVariableKey: z.ZodString;
10898
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10898
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10899
10899
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10900
10900
  fetchedAt: z.ZodOptional<z.ZodString>;
10901
10901
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10904,8 +10904,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10904
10904
  id: z.ZodString;
10905
10905
  ref: z.ZodObject<{
10906
10906
  type: z.ZodEnum<{
10907
- commit: "commit";
10908
10907
  tag: "tag";
10908
+ commit: "commit";
10909
10909
  branch: "branch";
10910
10910
  }>;
10911
10911
  name: z.ZodString;
@@ -10921,7 +10921,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10921
10921
  conversationId: z.ZodOptional<z.ZodString>;
10922
10922
  contextConfigId: z.ZodOptional<z.ZodString>;
10923
10923
  contextVariableKey: z.ZodOptional<z.ZodString>;
10924
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
10924
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
10925
10925
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10926
10926
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -10930,8 +10930,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10930
10930
  id: z.ZodOptional<z.ZodString>;
10931
10931
  ref: z.ZodOptional<z.ZodObject<{
10932
10932
  type: z.ZodEnum<{
10933
- commit: "commit";
10934
10933
  tag: "tag";
10934
+ commit: "commit";
10935
10935
  branch: "branch";
10936
10936
  }>;
10937
10937
  name: z.ZodString;
@@ -10948,23 +10948,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10948
10948
  contextConfigId: z.ZodString;
10949
10949
  contextVariableKey: z.ZodString;
10950
10950
  ref: z.ZodNullable<z.ZodType<{
10951
- type: "commit" | "tag" | "branch";
10951
+ type: "tag" | "commit" | "branch";
10952
10952
  name: string;
10953
10953
  hash: string;
10954
10954
  }, {
10955
- type: "commit" | "tag" | "branch";
10955
+ type: "tag" | "commit" | "branch";
10956
10956
  name: string;
10957
10957
  hash: string;
10958
10958
  }, z.core.$ZodTypeInternals<{
10959
- type: "commit" | "tag" | "branch";
10959
+ type: "tag" | "commit" | "branch";
10960
10960
  name: string;
10961
10961
  hash: string;
10962
10962
  }, {
10963
- type: "commit" | "tag" | "branch";
10963
+ type: "tag" | "commit" | "branch";
10964
10964
  name: string;
10965
10965
  hash: string;
10966
10966
  }>>>;
10967
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10967
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10968
10968
  requestHash: z.ZodNullable<z.ZodString>;
10969
10969
  fetchedAt: z.ZodString;
10970
10970
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -10978,7 +10978,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10978
10978
  conversationId: z.ZodString;
10979
10979
  contextConfigId: z.ZodString;
10980
10980
  contextVariableKey: z.ZodString;
10981
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10981
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10982
10982
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10983
10983
  fetchedAt: z.ZodOptional<z.ZodString>;
10984
10984
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10987,8 +10987,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10987
10987
  id: z.ZodString;
10988
10988
  ref: z.ZodObject<{
10989
10989
  type: z.ZodEnum<{
10990
- commit: "commit";
10991
10990
  tag: "tag";
10991
+ commit: "commit";
10992
10992
  branch: "branch";
10993
10993
  }>;
10994
10994
  name: z.ZodString;
@@ -10997,26 +10997,26 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10997
10997
  }>, z.core.$strip>;
10998
10998
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10999
10999
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11000
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
11000
11001
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11001
11002
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11003
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11002
11004
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11003
11005
  type: z.ZodEnum<{
11004
- commit: "commit";
11005
11006
  tag: "tag";
11007
+ commit: "commit";
11006
11008
  branch: "branch";
11007
11009
  }>;
11008
11010
  name: z.ZodString;
11009
11011
  hash: z.ZodString;
11010
11012
  }, z.core.$strip>>>;
11011
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11012
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11013
11013
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11014
11014
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11015
11015
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11016
11016
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11017
11017
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11018
11018
  }, z.core.$strip>;
11019
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11019
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11020
11020
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11021
11021
  name: "created_at";
11022
11022
  tableName: "dataset_run";
@@ -11159,7 +11159,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11159
11159
  }, {}, {
11160
11160
  length: 256;
11161
11161
  }>;
11162
- }, drizzle_zod19.BuildRefine<{
11162
+ }, drizzle_zod15.BuildRefine<{
11163
11163
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11164
11164
  name: "created_at";
11165
11165
  tableName: "dataset_run";
@@ -11353,7 +11353,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11353
11353
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11354
11354
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11355
11355
  }, z.core.$strip>;
11356
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11356
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11357
11357
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11358
11358
  name: "created_at";
11359
11359
  tableName: "dataset_run_conversation_relations";
@@ -11496,7 +11496,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
11496
11496
  }, {}, {
11497
11497
  length: 256;
11498
11498
  }>;
11499
- }, drizzle_zod19.BuildRefine<{
11499
+ }, drizzle_zod15.BuildRefine<{
11500
11500
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11501
11501
  name: "created_at";
11502
11502
  tableName: "dataset_run_conversation_relations";
@@ -11690,7 +11690,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11690
11690
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11691
11691
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11692
11692
  }, z.core.$strip>;
11693
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11693
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11694
11694
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11695
11695
  name: "created_at";
11696
11696
  tableName: "evaluation_result";
@@ -11852,7 +11852,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
11852
11852
  }, {}, {
11853
11853
  length: 256;
11854
11854
  }>;
11855
- }, drizzle_zod19.BuildRefine<{
11855
+ }, drizzle_zod15.BuildRefine<{
11856
11856
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11857
11857
  name: "created_at";
11858
11858
  tableName: "evaluation_result";
@@ -12070,7 +12070,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12070
12070
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12071
12071
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12072
12072
  }, z.core.$strip>;
12073
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12073
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12074
12074
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12075
12075
  name: "created_at";
12076
12076
  tableName: "evaluation_run";
@@ -12196,7 +12196,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12196
12196
  }, {}, {
12197
12197
  length: 256;
12198
12198
  }>;
12199
- }, drizzle_zod19.BuildRefine<{
12199
+ }, drizzle_zod15.BuildRefine<{
12200
12200
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12201
12201
  name: "created_at";
12202
12202
  tableName: "evaluation_run";
@@ -12368,7 +12368,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12368
12368
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12369
12369
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12370
12370
  }, z.core.$strip>;
12371
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12371
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12372
12372
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12373
12373
  name: "created_at";
12374
12374
  tableName: "evaluation_run_config";
@@ -12513,7 +12513,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
12513
12513
  }, {}, {
12514
12514
  length: 256;
12515
12515
  }>;
12516
- }, drizzle_zod19.BuildRefine<{
12516
+ }, drizzle_zod15.BuildRefine<{
12517
12517
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12518
12518
  name: "created_at";
12519
12519
  tableName: "evaluation_run_config";
@@ -12696,31 +12696,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12696
12696
  id: z.ZodString;
12697
12697
  }>, z.core.$strip>;
12698
12698
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12699
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12700
12699
  name: z.ZodString;
12700
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12701
12701
  createdAt: z.ZodOptional<z.ZodString>;
12702
12702
  updatedAt: z.ZodOptional<z.ZodString>;
12703
12703
  isActive: z.ZodOptional<z.ZodBoolean>;
12704
12704
  suiteConfigIds: z.ZodArray<z.ZodString>;
12705
12705
  }, z.core.$strip>;
12706
12706
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12707
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12708
12707
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12708
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12709
12709
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12710
12710
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12711
12711
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12712
12712
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12713
12713
  }, z.core.$strip>;
12714
12714
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12715
- description: z.ZodNullable<z.ZodString>;
12716
- name: z.ZodString;
12717
12715
  id: z.ZodString;
12716
+ name: z.ZodString;
12717
+ description: z.ZodNullable<z.ZodString>;
12718
12718
  createdAt: z.ZodString;
12719
12719
  updatedAt: z.ZodString;
12720
12720
  isActive: z.ZodBoolean;
12721
12721
  suiteConfigIds: z.ZodArray<z.ZodString>;
12722
12722
  }, z.core.$strip>;
12723
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12723
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12724
12724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12725
12725
  name: "created_at";
12726
12726
  tableName: "evaluation_job_config";
@@ -12845,7 +12845,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
12845
12845
  }, {}, {
12846
12846
  length: 256;
12847
12847
  }>;
12848
- }, drizzle_zod19.BuildRefine<{
12848
+ }, drizzle_zod15.BuildRefine<{
12849
12849
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12850
12850
  name: "created_at";
12851
12851
  tableName: "evaluation_job_config";
@@ -13152,7 +13152,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13152
13152
  } | undefined;
13153
13153
  }>>>>>>>;
13154
13154
  }, z.core.$strip>;
13155
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13155
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13156
13156
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13157
13157
  name: "created_at";
13158
13158
  tableName: "evaluation_suite_config";
@@ -13280,7 +13280,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
13280
13280
  }, {}, {
13281
13281
  length: 256;
13282
13282
  }>;
13283
- }, drizzle_zod19.BuildRefine<{
13283
+ }, drizzle_zod15.BuildRefine<{
13284
13284
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13285
13285
  name: "created_at";
13286
13286
  tableName: "evaluation_suite_config";
@@ -13456,7 +13456,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13456
13456
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13457
13457
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13458
13458
  }, z.core.$strip>;
13459
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13459
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13460
13460
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13461
13461
  name: "created_at";
13462
13462
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13586,7 +13586,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13586
13586
  }, {}, {
13587
13587
  length: 256;
13588
13588
  }>;
13589
- }, drizzle_zod19.BuildRefine<{
13589
+ }, drizzle_zod15.BuildRefine<{
13590
13590
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13591
13591
  name: "created_at";
13592
13592
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13762,7 +13762,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13762
13762
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13763
13763
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13764
13764
  }, z.core.$strip>;
13765
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13765
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13766
13766
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13767
13767
  name: "created_at";
13768
13768
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13892,7 +13892,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
13892
13892
  }, {}, {
13893
13893
  length: 256;
13894
13894
  }>;
13895
- }, drizzle_zod19.BuildRefine<{
13895
+ }, drizzle_zod15.BuildRefine<{
13896
13896
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13897
13897
  name: "created_at";
13898
13898
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14068,7 +14068,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14068
14068
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14069
14069
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14070
14070
  }, z.core.$strip>;
14071
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14071
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
14072
14072
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14073
14073
  name: "created_at";
14074
14074
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14198,7 +14198,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
14198
14198
  }, {}, {
14199
14199
  length: 256;
14200
14200
  }>;
14201
- }, drizzle_zod19.BuildRefine<{
14201
+ }, drizzle_zod15.BuildRefine<{
14202
14202
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14203
14203
  name: "created_at";
14204
14204
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14374,7 +14374,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14374
14374
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14375
14375
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14376
14376
  }, z.core.$strip>;
14377
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14377
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14378
14378
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14379
14379
  name: "created_at";
14380
14380
  tableName: "evaluator";
@@ -14582,7 +14582,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14582
14582
  }, {}, {
14583
14583
  length: 256;
14584
14584
  }>;
14585
- }, drizzle_zod19.BuildRefine<{
14585
+ }, drizzle_zod15.BuildRefine<{
14586
14586
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14587
14587
  name: "created_at";
14588
14588
  tableName: "evaluator";
@@ -14873,11 +14873,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14873
14873
  id: z.ZodString;
14874
14874
  }>, z.core.$strip>;
14875
14875
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14876
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14877
14876
  name: z.ZodString;
14878
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14879
- createdAt: z.ZodOptional<z.ZodString>;
14880
- updatedAt: z.ZodOptional<z.ZodString>;
14877
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14878
+ prompt: z.ZodString;
14881
14879
  model: z.ZodType<{
14882
14880
  model?: string | undefined;
14883
14881
  providerOptions?: Record<string, any> | undefined;
@@ -14891,15 +14889,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14891
14889
  model?: string | undefined;
14892
14890
  providerOptions?: Record<string, any> | undefined;
14893
14891
  }>>;
14894
- prompt: z.ZodString;
14892
+ createdAt: z.ZodOptional<z.ZodString>;
14893
+ updatedAt: z.ZodOptional<z.ZodString>;
14894
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14895
14895
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14896
14896
  }, z.core.$strip>;
14897
14897
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14898
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14899
14898
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14900
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14901
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14902
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14899
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14900
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14903
14901
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14904
14902
  model?: string | undefined;
14905
14903
  providerOptions?: Record<string, any> | undefined;
@@ -14913,10 +14911,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14913
14911
  model?: string | undefined;
14914
14912
  providerOptions?: Record<string, any> | undefined;
14915
14913
  }>>>>;
14916
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14914
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14915
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14916
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14917
14917
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14918
14918
  }, z.core.$strip>;
14919
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
14919
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
14920
14920
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14921
14921
  name: "created_at";
14922
14922
  tableName: "dataset";
@@ -15027,7 +15027,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
15027
15027
  }, {}, {
15028
15028
  length: 256;
15029
15029
  }>;
15030
- }, drizzle_zod19.BuildRefine<{
15030
+ }, drizzle_zod15.BuildRefine<{
15031
15031
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15032
15032
  name: "created_at";
15033
15033
  tableName: "dataset";
@@ -15179,7 +15179,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15179
15179
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15180
15180
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15181
15181
  }, z.core.$strip>;
15182
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15182
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15183
15183
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15184
15184
  name: "created_at";
15185
15185
  tableName: "dataset_item";
@@ -15367,7 +15367,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15367
15367
  }, {}, {
15368
15368
  length: 256;
15369
15369
  }>;
15370
- }, drizzle_zod19.BuildRefine<{
15370
+ }, drizzle_zod15.BuildRefine<{
15371
15371
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15372
15372
  name: "created_at";
15373
15373
  tableName: "dataset_item";
@@ -15810,8 +15810,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15810
15810
  }>>>>>>;
15811
15811
  }, z.core.$strip>;
15812
15812
  declare const DatasetRunItemSchema: z.ZodObject<{
15813
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15814
15813
  id: z.ZodOptional<z.ZodString>;
15814
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15815
15815
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15816
15816
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15817
15817
  prompt: string;
@@ -15859,8 +15859,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15859
15859
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15860
15860
  datasetRunId: z.ZodString;
15861
15861
  items: z.ZodArray<z.ZodObject<{
15862
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15863
15862
  id: z.ZodOptional<z.ZodString>;
15863
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15864
15864
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15865
15865
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15866
15866
  prompt: string;
@@ -15938,7 +15938,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
15938
15938
  }, z.core.$strip>>;
15939
15939
  }, z.core.$strip>>>;
15940
15940
  }, z.core.$strip>;
15941
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
15941
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
15942
15942
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15943
15943
  name: "created_at";
15944
15944
  tableName: "dataset_run_config";
@@ -16085,7 +16085,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
16085
16085
  }, {}, {
16086
16086
  length: 256;
16087
16087
  }>;
16088
- }, drizzle_zod19.BuildRefine<{
16088
+ }, drizzle_zod15.BuildRefine<{
16089
16089
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16090
16090
  name: "created_at";
16091
16091
  tableName: "dataset_run_config";
@@ -16270,20 +16270,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16270
16270
  id: z.ZodString;
16271
16271
  }>, z.core.$strip>;
16272
16272
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16273
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16274
16273
  name: z.ZodString;
16274
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16275
16275
  createdAt: z.ZodOptional<z.ZodString>;
16276
16276
  updatedAt: z.ZodOptional<z.ZodString>;
16277
16277
  datasetId: z.ZodString;
16278
16278
  }, z.core.$strip>;
16279
16279
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16280
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16281
16280
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16281
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16282
16282
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16283
16283
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16284
16284
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16285
16285
  }, z.core.$strip>;
16286
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16286
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16287
16287
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16288
16288
  name: "created_at";
16289
16289
  tableName: "dataset_run_config_agent_relations";
@@ -16413,7 +16413,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
16413
16413
  }, {}, {
16414
16414
  length: 256;
16415
16415
  }>;
16416
- }, drizzle_zod19.BuildRefine<{
16416
+ }, drizzle_zod15.BuildRefine<{
16417
16417
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16418
16418
  name: "created_at";
16419
16419
  tableName: "dataset_run_config_agent_relations";
@@ -16588,22 +16588,22 @@ declare const SkillSelectSchema: z.ZodObject<{
16588
16588
  in: {};
16589
16589
  }>;
16590
16590
  declare const SkillInsertSchema: z.ZodObject<{
16591
- tenantId: z.ZodString;
16592
- description: z.ZodString;
16593
16591
  name: z.ZodString;
16594
- content: z.ZodString;
16592
+ description: z.ZodString;
16593
+ tenantId: z.ZodString;
16595
16594
  projectId: z.ZodString;
16596
16595
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16596
+ content: z.ZodString;
16597
16597
  }, {
16598
16598
  out: {};
16599
16599
  in: {};
16600
16600
  }>;
16601
16601
  declare const SkillUpdateSchema: z.ZodObject<{
16602
- tenantId: z.ZodOptional<z.ZodString>;
16603
16602
  description: z.ZodOptional<z.ZodString>;
16604
- content: z.ZodOptional<z.ZodString>;
16603
+ tenantId: z.ZodOptional<z.ZodString>;
16605
16604
  projectId: z.ZodOptional<z.ZodString>;
16606
16605
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16606
+ content: z.ZodOptional<z.ZodString>;
16607
16607
  }, {
16608
16608
  out: {};
16609
16609
  in: {};
@@ -16620,19 +16620,19 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16620
16620
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16621
16621
  }>, z.core.$strip>;
16622
16622
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16623
- tenantId: z.ZodString;
16624
- description: z.ZodString;
16625
16623
  name: z.ZodString;
16626
- content: z.ZodString;
16624
+ description: z.ZodString;
16625
+ tenantId: z.ZodString;
16627
16626
  projectId: z.ZodString;
16628
16627
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16628
+ content: z.ZodString;
16629
16629
  }>, z.core.$strip>;
16630
16630
  declare const SkillApiUpdateSchema: z.ZodObject<{
16631
16631
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16632
- content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16633
16632
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16633
+ content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16634
16634
  }, z.core.$strip>;
16635
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16635
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16636
16636
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16637
16637
  name: "created_at";
16638
16638
  tableName: "data_components";
@@ -16818,7 +16818,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16818
16818
  }, {}, {
16819
16819
  length: 256;
16820
16820
  }>;
16821
- }, drizzle_zod19.BuildRefine<{
16821
+ }, drizzle_zod15.BuildRefine<{
16822
16822
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16823
16823
  name: "created_at";
16824
16824
  tableName: "data_components";
@@ -17218,7 +17218,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17218
17218
  description: z.ZodOptional<z.ZodString>;
17219
17219
  }, z.core.$loose>;
17220
17220
  }, z.core.$strip>;
17221
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17221
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17222
17222
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17223
17223
  name: "data_component_id";
17224
17224
  tableName: "sub_agent_data_components";
@@ -17350,7 +17350,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
17350
17350
  }, {}, {
17351
17351
  length: 256;
17352
17352
  }>;
17353
- }, drizzle_zod19.BuildRefine<{
17353
+ }, drizzle_zod15.BuildRefine<{
17354
17354
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17355
17355
  name: "data_component_id";
17356
17356
  tableName: "sub_agent_data_components";
@@ -17483,7 +17483,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
17483
17483
  length: 256;
17484
17484
  }>;
17485
17485
  }, undefined>, undefined>;
17486
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17486
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17487
17487
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17488
17488
  name: "data_component_id";
17489
17489
  tableName: "sub_agent_data_components";
@@ -17615,7 +17615,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17615
17615
  }, {}, {
17616
17616
  length: 256;
17617
17617
  }>;
17618
- }, drizzle_zod19.BuildRefine<Pick<{
17618
+ }, drizzle_zod15.BuildRefine<Pick<{
17619
17619
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17620
17620
  name: "data_component_id";
17621
17621
  tableName: "sub_agent_data_components";
@@ -17747,7 +17747,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17747
17747
  }, {}, {
17748
17748
  length: 256;
17749
17749
  }>;
17750
- }, "tenantId" | "projectId" | "subAgentId" | "id" | "createdAt" | "agentId" | "dataComponentId">, undefined>, undefined>;
17750
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17751
17751
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17752
17752
  dataComponentId: z.ZodOptional<z.ZodString>;
17753
17753
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17770,20 +17770,20 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
17770
17770
  id: z.ZodString;
17771
17771
  }>, z.core.$strip>;
17772
17772
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17773
- subAgentId: z.ZodString;
17774
17773
  agentId: z.ZodString;
17774
+ subAgentId: z.ZodString;
17775
17775
  dataComponentId: z.ZodString;
17776
17776
  }, {
17777
17777
  out: {};
17778
17778
  in: {};
17779
17779
  }>;
17780
17780
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17781
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17782
17781
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17783
17782
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17783
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17784
17784
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17785
17785
  }, z.core.$strip>;
17786
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17786
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17787
17787
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17788
17788
  name: "created_at";
17789
17789
  tableName: "artifact_components";
@@ -17969,7 +17969,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
17969
17969
  }, {}, {
17970
17970
  length: 256;
17971
17971
  }>;
17972
- }, drizzle_zod19.BuildRefine<{
17972
+ }, drizzle_zod15.BuildRefine<{
17973
17973
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17974
17974
  name: "created_at";
17975
17975
  tableName: "artifact_components";
@@ -18344,9 +18344,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18344
18344
  in: {};
18345
18345
  }>;
18346
18346
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18347
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18348
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18349
18347
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18348
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18349
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18350
18350
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18351
18351
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18352
18352
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -18392,7 +18392,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18392
18392
  mockData: Record<string, unknown>;
18393
18393
  }>>>>>>;
18394
18394
  }, z.core.$strip>;
18395
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18395
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18396
18396
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18397
18397
  name: "artifact_component_id";
18398
18398
  tableName: "sub_agent_artifact_components";
@@ -18524,7 +18524,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
18524
18524
  }, {}, {
18525
18525
  length: 256;
18526
18526
  }>;
18527
- }, drizzle_zod19.BuildRefine<{
18527
+ }, drizzle_zod15.BuildRefine<{
18528
18528
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18529
18529
  name: "artifact_component_id";
18530
18530
  tableName: "sub_agent_artifact_components";
@@ -18691,17 +18691,17 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
18691
18691
  id: z.ZodString;
18692
18692
  }>, z.core.$strip>;
18693
18693
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18694
- subAgentId: z.ZodString;
18695
18694
  agentId: z.ZodString;
18695
+ subAgentId: z.ZodString;
18696
18696
  artifactComponentId: z.ZodString;
18697
18697
  }, {
18698
18698
  out: {};
18699
18699
  in: {};
18700
18700
  }>;
18701
18701
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
18702
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18703
18702
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18704
18703
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18704
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18705
18705
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18706
18706
  }, z.core.$strip>;
18707
18707
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -18762,32 +18762,32 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18762
18762
  index: z.ZodInt;
18763
18763
  }>, z.core.$strip>;
18764
18764
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18765
- subAgentId: z.ZodString;
18766
18765
  agentId: z.ZodString;
18767
18766
  index: z.ZodInt;
18768
18767
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18768
+ subAgentId: z.ZodString;
18769
18769
  skillId: z.ZodString;
18770
18770
  }, {
18771
18771
  out: {};
18772
18772
  in: {};
18773
18773
  }>;
18774
18774
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18775
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18776
18775
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18777
18776
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18778
18777
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18779
18778
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18780
18779
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18780
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18781
18781
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18782
18782
  }, z.core.$strip>;
18783
18783
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18784
- description: z.ZodString;
18785
- name: z.ZodString;
18786
- content: z.ZodString;
18787
18784
  id: z.ZodString;
18785
+ name: z.ZodString;
18786
+ description: z.ZodString;
18788
18787
  createdAt: z.ZodString;
18789
18788
  updatedAt: z.ZodString;
18790
18789
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18790
+ content: z.ZodString;
18791
18791
  subAgentSkillId: z.ZodString;
18792
18792
  subAgentId: z.ZodString;
18793
18793
  index: z.ZodInt;
@@ -18858,20 +18858,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18858
18858
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18859
  }>, z.core.$strip>;
18860
18860
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18861
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18862
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18863
18861
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18862
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18863
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18864
18864
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18865
18865
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18866
18866
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18867
18867
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18868
18868
  }, z.core.$strip>;
18869
18869
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18870
- description: z.ZodNullable<z.ZodString>;
18871
- name: z.ZodString;
18872
18870
  id: z.ZodString;
18873
- createdAt: z.ZodString;
18874
- updatedAt: z.ZodString;
18871
+ name: z.ZodString;
18872
+ description: z.ZodNullable<z.ZodString>;
18873
+ prompt: z.ZodNullable<z.ZodString>;
18874
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18875
18875
  models: z.ZodNullable<z.ZodType<{
18876
18876
  base?: {
18877
18877
  model?: string | undefined;
@@ -18934,20 +18934,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18934
18934
  }, {
18935
18935
  stepCountIs?: number | undefined;
18936
18936
  }>>>;
18937
- prompt: z.ZodNullable<z.ZodString>;
18938
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18937
+ createdAt: z.ZodString;
18938
+ updatedAt: z.ZodString;
18939
18939
  type: z.ZodLiteral<"internal">;
18940
18940
  }, z.core.$strip>, z.ZodObject<{
18941
- description: z.ZodNullable<z.ZodString>;
18942
- name: z.ZodString;
18943
18941
  id: z.ZodString;
18942
+ name: z.ZodString;
18943
+ description: z.ZodNullable<z.ZodString>;
18944
18944
  createdAt: z.ZodString;
18945
18945
  updatedAt: z.ZodString;
18946
18946
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18947
18947
  baseUrl: z.ZodString;
18948
18948
  type: z.ZodLiteral<"external">;
18949
18949
  }, z.core.$strip>], "type">;
18950
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
18950
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
18951
18951
  createdAt: drizzle_orm_pg_core217.PgColumn<{
18952
18952
  name: "created_at";
18953
18953
  tableName: "api_keys";
@@ -19168,7 +19168,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
19168
19168
  }, {}, {
19169
19169
  length: 256;
19170
19170
  }>;
19171
- }, drizzle_zod19.BuildRefine<{
19171
+ }, drizzle_zod15.BuildRefine<{
19172
19172
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19173
19173
  name: "created_at";
19174
19174
  tableName: "api_keys";
@@ -19409,21 +19409,21 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19409
19409
  }>;
19410
19410
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19411
19411
  name: z.ZodOptional<z.ZodString>;
19412
+ agentId: z.ZodOptional<z.ZodString>;
19412
19413
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19413
19414
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19414
- agentId: z.ZodOptional<z.ZodString>;
19415
19415
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19416
19416
  }, {
19417
19417
  out: {};
19418
19418
  in: {};
19419
19419
  }>;
19420
19420
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19421
- name: z.ZodNullable<z.ZodString>;
19422
19421
  id: z.ZodString;
19422
+ name: z.ZodNullable<z.ZodString>;
19423
+ agentId: z.ZodString;
19423
19424
  createdAt: z.ZodString;
19424
19425
  updatedAt: z.ZodString;
19425
19426
  expiresAt: z.ZodNullable<z.ZodString>;
19426
- agentId: z.ZodString;
19427
19427
  publicId: z.ZodString;
19428
19428
  keyPrefix: z.ZodString;
19429
19429
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19434,12 +19434,12 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
19434
19434
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19435
19435
  data: z.ZodObject<{
19436
19436
  apiKey: z.ZodObject<{
19437
- name: z.ZodNullable<z.ZodString>;
19438
19437
  id: z.ZodString;
19438
+ name: z.ZodNullable<z.ZodString>;
19439
+ agentId: z.ZodString;
19439
19440
  createdAt: z.ZodString;
19440
19441
  updatedAt: z.ZodString;
19441
19442
  expiresAt: z.ZodNullable<z.ZodString>;
19442
- agentId: z.ZodString;
19443
19443
  publicId: z.ZodString;
19444
19444
  keyPrefix: z.ZodString;
19445
19445
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19452,25 +19452,25 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19452
19452
  }, z.core.$strip>;
19453
19453
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19454
19454
  name: z.ZodString;
19455
+ agentId: z.ZodString;
19455
19456
  createdAt: z.ZodOptional<z.ZodString>;
19456
19457
  updatedAt: z.ZodOptional<z.ZodString>;
19457
19458
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19458
- agentId: z.ZodString;
19459
19459
  }, {
19460
19460
  out: {};
19461
19461
  in: {};
19462
19462
  }>;
19463
19463
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19464
19464
  name: z.ZodOptional<z.ZodString>;
19465
+ agentId: z.ZodOptional<z.ZodString>;
19465
19466
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19466
19467
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19467
- agentId: z.ZodOptional<z.ZodString>;
19468
19468
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19469
19469
  }, {
19470
19470
  out: {};
19471
19471
  in: {};
19472
19472
  }>;
19473
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19473
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19474
19474
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19475
19475
  name: "created_at";
19476
19476
  tableName: "credential_references";
@@ -19695,7 +19695,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
19695
19695
  }, {}, {
19696
19696
  length: 256;
19697
19697
  }>;
19698
- }, drizzle_zod19.BuildRefine<{
19698
+ }, drizzle_zod15.BuildRefine<{
19699
19699
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19700
19700
  name: "created_at";
19701
19701
  tableName: "credential_references";
@@ -19956,12 +19956,12 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19956
19956
  in: {};
19957
19957
  }>;
19958
19958
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19959
- userId: z.ZodNullable<z.ZodString>;
19960
- name: z.ZodString;
19961
19959
  id: z.ZodString;
19960
+ name: z.ZodString;
19962
19961
  createdAt: z.ZodString;
19963
19962
  updatedAt: z.ZodString;
19964
19963
  toolId: z.ZodNullable<z.ZodString>;
19964
+ userId: z.ZodNullable<z.ZodString>;
19965
19965
  credentialStoreId: z.ZodString;
19966
19966
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19967
19967
  createdBy: z.ZodNullable<z.ZodString>;
@@ -19970,7 +19970,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19970
19970
  readonly keychain: "keychain";
19971
19971
  readonly nango: "nango";
19972
19972
  }>;
19973
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
19973
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
19974
19974
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19975
19975
  name: "created_at";
19976
19976
  tableName: "tools";
@@ -20250,7 +20250,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20250
20250
  }, {}, {
20251
20251
  length: 256;
20252
20252
  }>;
20253
- }, drizzle_zod19.BuildRefine<{
20253
+ }, drizzle_zod15.BuildRefine<{
20254
20254
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20255
20255
  name: "created_at";
20256
20256
  tableName: "tools";
@@ -20547,12 +20547,12 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20547
20547
  }>>>;
20548
20548
  }, z.core.$strip>;
20549
20549
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20550
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20551
- name: z.ZodString;
20552
20550
  id: z.ZodString;
20551
+ name: z.ZodString;
20553
20552
  createdAt: z.ZodOptional<z.ZodString>;
20554
20553
  updatedAt: z.ZodOptional<z.ZodString>;
20555
20554
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20555
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20556
20556
  credentialStoreId: z.ZodString;
20557
20557
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20558
20558
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20563,12 +20563,12 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20563
20563
  }>;
20564
20564
  }, z.core.$strip>;
20565
20565
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20566
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20567
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20568
20566
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20567
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20569
20568
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20570
20569
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20571
20570
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20571
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20572
20572
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20573
20573
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20574
20574
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -20694,22 +20694,22 @@ declare const McpToolSchema: z.ZodObject<{
20694
20694
  in: {};
20695
20695
  }>;
20696
20696
  declare const MCPToolConfigSchema: z.ZodObject<{
20697
- name: z.ZodString;
20698
20697
  id: z.ZodString;
20699
- expiresAt: z.ZodOptional<z.ZodString>;
20698
+ name: z.ZodString;
20700
20699
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20700
+ expiresAt: z.ZodOptional<z.ZodString>;
20701
+ createdBy: z.ZodOptional<z.ZodString>;
20701
20702
  credentialScope: z.ZodOptional<z.ZodString>;
20702
20703
  imageUrl: z.ZodOptional<z.ZodString>;
20703
20704
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20704
20705
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20705
20706
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20706
- createdBy: z.ZodOptional<z.ZodString>;
20707
- relationshipId: z.ZodOptional<z.ZodString>;
20708
20707
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20709
20708
  name: z.ZodString;
20710
20709
  description: z.ZodOptional<z.ZodString>;
20711
20710
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20712
20711
  }, z.core.$strip>>>;
20712
+ relationshipId: z.ZodOptional<z.ZodString>;
20713
20713
  tenantId: z.ZodOptional<z.ZodString>;
20714
20714
  projectId: z.ZodOptional<z.ZodString>;
20715
20715
  description: z.ZodOptional<z.ZodString>;
@@ -20730,12 +20730,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20730
20730
  sessionId: z.ZodOptional<z.ZodString>;
20731
20731
  }, z.core.$strip>>;
20732
20732
  credential: z.ZodOptional<z.ZodObject<{
20733
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20734
- name: z.ZodString;
20735
20733
  id: z.ZodString;
20734
+ name: z.ZodString;
20736
20735
  createdAt: z.ZodOptional<z.ZodString>;
20737
20736
  updatedAt: z.ZodOptional<z.ZodString>;
20738
20737
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20738
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20739
20739
  credentialStoreId: z.ZodString;
20740
20740
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20741
20741
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20873,9 +20873,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20873
20873
  }, z.core.$strip>;
20874
20874
  }>, z.core.$strip>;
20875
20875
  declare const ToolApiUpdateSchema: z.ZodObject<{
20876
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20877
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20878
20876
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20877
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20878
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20879
20879
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20880
20880
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20881
20881
  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>>>>>>>;
@@ -20912,7 +20912,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20912
20912
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20913
20913
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20914
20914
  }, z.core.$strip>;
20915
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20915
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20916
20916
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20917
20917
  name: "created_at";
20918
20918
  tableName: "function_tools";
@@ -21078,7 +21078,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21078
21078
  }, {}, {
21079
21079
  length: 256;
21080
21080
  }>;
21081
- }, drizzle_zod19.BuildRefine<{
21081
+ }, drizzle_zod15.BuildRefine<{
21082
21082
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21083
21083
  name: "created_at";
21084
21084
  tableName: "function_tools";
@@ -21274,12 +21274,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21274
21274
  in: {};
21275
21275
  }>;
21276
21276
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21277
- description: z.ZodNullable<z.ZodString>;
21278
- name: z.ZodString;
21279
21277
  id: z.ZodString;
21278
+ name: z.ZodString;
21279
+ description: z.ZodNullable<z.ZodString>;
21280
+ agentId: z.ZodString;
21280
21281
  createdAt: z.ZodString;
21281
21282
  updatedAt: z.ZodString;
21282
- agentId: z.ZodString;
21283
21283
  functionId: z.ZodString;
21284
21284
  relationshipId: z.ZodOptional<z.ZodString>;
21285
21285
  }, z.core.$strip>;
@@ -21295,15 +21295,15 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21295
21295
  id: z.ZodString;
21296
21296
  }>, z.core.$strip>;
21297
21297
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21298
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21299
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21300
21298
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21299
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21300
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21301
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21301
21302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21302
21303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21303
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21304
21304
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21305
21305
  }, z.core.$strip>;
21306
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21306
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21307
21307
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21308
21308
  name: "created_at";
21309
21309
  tableName: "sub_agent_function_tool_relations";
@@ -21475,7 +21475,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21475
21475
  }, {}, {
21476
21476
  length: 256;
21477
21477
  }>;
21478
- }, drizzle_zod19.BuildRefine<{
21478
+ }, drizzle_zod15.BuildRefine<{
21479
21479
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21480
21480
  name: "created_at";
21481
21481
  tableName: "sub_agent_function_tool_relations";
@@ -21651,7 +21651,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21651
21651
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21652
21652
  createdAt: z.ZodOptional<z.ZodString>;
21653
21653
  updatedAt: z.ZodOptional<z.ZodString>;
21654
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21654
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21655
21655
  agentId: z.ZodString;
21656
21656
  projectId: z.ZodString;
21657
21657
  tenantId: z.ZodString;
@@ -21666,7 +21666,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21666
21666
  createdAt: z.ZodString;
21667
21667
  updatedAt: z.ZodString;
21668
21668
  functionToolId: z.ZodString;
21669
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21669
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21670
21670
  subAgentId: z.ZodString;
21671
21671
  agentId: z.ZodString;
21672
21672
  projectId: z.ZodString;
@@ -21674,14 +21674,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21674
21674
  id: z.ZodString;
21675
21675
  }>, z.core.$strip>;
21676
21676
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21677
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21677
21678
  subAgentId: z.ZodString;
21678
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21679
21679
  functionToolId: z.ZodString;
21680
21680
  }, {
21681
21681
  out: {};
21682
21682
  in: {};
21683
21683
  }>;
21684
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21684
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21685
21685
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21686
21686
  name: "created_at";
21687
21687
  tableName: "functions";
@@ -21828,7 +21828,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21828
21828
  }, {}, {
21829
21829
  length: 256;
21830
21830
  }>;
21831
- }, drizzle_zod19.BuildRefine<{
21831
+ }, drizzle_zod15.BuildRefine<{
21832
21832
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21833
21833
  name: "created_at";
21834
21834
  tableName: "functions";
@@ -22025,8 +22025,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
22025
22025
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22026
22026
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22027
22027
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
22028
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22029
22028
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22029
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22030
22030
  }, z.core.$strip>;
22031
22031
  declare const FetchConfigSchema: z.ZodObject<{
22032
22032
  url: z.ZodString;
@@ -22068,12 +22068,12 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22068
22068
  responseSchema: z.ZodOptional<z.ZodAny>;
22069
22069
  defaultValue: z.ZodOptional<z.ZodAny>;
22070
22070
  credential: z.ZodOptional<z.ZodObject<{
22071
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22072
- name: z.ZodString;
22073
22071
  id: z.ZodString;
22072
+ name: z.ZodString;
22074
22073
  createdAt: z.ZodOptional<z.ZodString>;
22075
22074
  updatedAt: z.ZodOptional<z.ZodString>;
22076
22075
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22076
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22077
22077
  credentialStoreId: z.ZodString;
22078
22078
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22079
22079
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22098,9 +22098,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22098
22098
  in: {};
22099
22099
  }>;
22100
22100
  declare const ContextConfigInsertSchema: z.ZodObject<{
22101
+ id: z.ZodOptional<z.ZodString>;
22101
22102
  tenantId: z.ZodString;
22102
22103
  projectId: z.ZodString;
22103
- id: z.ZodOptional<z.ZodString>;
22104
22104
  agentId: z.ZodString;
22105
22105
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22106
22106
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -22109,9 +22109,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22109
22109
  in: {};
22110
22110
  }>;
22111
22111
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22112
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22112
22113
  tenantId: z.ZodOptional<z.ZodString>;
22113
22114
  projectId: z.ZodOptional<z.ZodString>;
22114
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22115
22115
  agentId: z.ZodOptional<z.ZodString>;
22116
22116
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22117
22117
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
@@ -22136,7 +22136,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22136
22136
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22137
22137
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22138
22138
  }, z.core.$strip>;
22139
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22139
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22140
22140
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22141
22141
  name: "created_at";
22142
22142
  tableName: "sub_agent_tool_relations";
@@ -22346,7 +22346,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
22346
22346
  }, {}, {
22347
22347
  length: 256;
22348
22348
  }>;
22349
- }, drizzle_zod19.BuildRefine<{
22349
+ }, drizzle_zod15.BuildRefine<{
22350
22350
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22351
22351
  name: "created_at";
22352
22352
  tableName: "sub_agent_tool_relations";
@@ -22597,9 +22597,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22597
22597
  createdAt: z.ZodString;
22598
22598
  updatedAt: z.ZodString;
22599
22599
  toolId: z.ZodString;
22600
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22601
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22602
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22600
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22601
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22602
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22603
22603
  subAgentId: z.ZodString;
22604
22604
  agentId: z.ZodString;
22605
22605
  projectId: z.ZodString;
@@ -22622,18 +22622,18 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
22622
22622
  }, z.core.$strip>>>>;
22623
22623
  }>, z.core.$strip>;
22624
22624
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22625
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22626
22625
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22627
22626
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22628
22627
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22629
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22630
22628
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22629
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22631
22630
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22632
22631
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22633
22632
  }, z.core.$strip>>>>>>;
22633
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22634
22634
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22635
22635
  }, z.core.$strip>;
22636
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22636
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22637
22637
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22638
22638
  name: "created_at";
22639
22639
  tableName: "sub_agent_external_agent_relations";
@@ -22801,7 +22801,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
22801
22801
  }, {}, {
22802
22802
  length: 256;
22803
22803
  }>;
22804
- }, drizzle_zod19.BuildRefine<{
22804
+ }, drizzle_zod15.BuildRefine<{
22805
22805
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22806
22806
  name: "created_at";
22807
22807
  tableName: "sub_agent_external_agent_relations";
@@ -23002,7 +23002,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23002
23002
  createdAt: z.ZodString;
23003
23003
  updatedAt: z.ZodString;
23004
23004
  externalAgentId: z.ZodString;
23005
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23005
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23006
23006
  subAgentId: z.ZodString;
23007
23007
  agentId: z.ZodString;
23008
23008
  projectId: z.ZodString;
@@ -23016,14 +23016,14 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
23016
23016
  externalAgentId: z.ZodString;
23017
23017
  }, z.core.$strip>;
23018
23018
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23019
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23020
23019
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23021
23020
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23022
23021
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23023
23022
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23024
23023
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23024
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23025
23025
  }, z.core.$strip>;
23026
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23026
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
23027
23027
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23028
23028
  name: "created_at";
23029
23029
  tableName: "sub_agent_team_agent_relations";
@@ -23191,7 +23191,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
23191
23191
  }, {}, {
23192
23192
  length: 256;
23193
23193
  }>;
23194
- }, drizzle_zod19.BuildRefine<{
23194
+ }, drizzle_zod15.BuildRefine<{
23195
23195
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23196
23196
  name: "created_at";
23197
23197
  tableName: "sub_agent_team_agent_relations";
@@ -23392,7 +23392,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23392
23392
  createdAt: z.ZodString;
23393
23393
  updatedAt: z.ZodString;
23394
23394
  targetAgentId: z.ZodString;
23395
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23395
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23396
23396
  subAgentId: z.ZodString;
23397
23397
  agentId: z.ZodString;
23398
23398
  projectId: z.ZodString;
@@ -23406,14 +23406,14 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
23406
23406
  targetAgentId: z.ZodString;
23407
23407
  }, z.core.$strip>;
23408
23408
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23409
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23410
23409
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23411
23410
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23412
23411
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23413
23412
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23413
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23414
23414
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23415
23415
  }, z.core.$strip>;
23416
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23416
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23417
23417
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23418
23418
  name: "created_at";
23419
23419
  tableName: "ledger_artifacts";
@@ -23748,7 +23748,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23748
23748
  }, {}, {
23749
23749
  length: 256;
23750
23750
  }>;
23751
- }, drizzle_zod19.BuildRefine<{
23751
+ }, drizzle_zod15.BuildRefine<{
23752
23752
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23753
23753
  name: "created_at";
23754
23754
  tableName: "ledger_artifacts";
@@ -24084,7 +24084,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
24084
24084
  length: 256;
24085
24085
  }>;
24086
24086
  }, undefined>, undefined>;
24087
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24087
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24088
24088
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24089
24089
  name: "created_at";
24090
24090
  tableName: "ledger_artifacts";
@@ -24419,7 +24419,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24419
24419
  }, {}, {
24420
24420
  length: 256;
24421
24421
  }>;
24422
- }, drizzle_zod19.BuildRefine<Pick<{
24422
+ }, drizzle_zod15.BuildRefine<Pick<{
24423
24423
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24424
24424
  name: "created_at";
24425
24425
  tableName: "ledger_artifacts";
@@ -24754,7 +24754,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24754
24754
  }, {}, {
24755
24755
  length: 256;
24756
24756
  }>;
24757
- }, "type" | "tenantId" | "description" | "name" | "projectId" | "taskId" | "id" | "toolCallId" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24757
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24758
24758
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24759
24759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24760
24760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24764,12 +24764,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24764
24764
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24765
24765
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24766
24766
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24767
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24768
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24767
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24768
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24769
24769
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24770
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24770
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24771
24771
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24772
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24772
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24773
24773
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24774
24774
  projectId: z.ZodOptional<z.ZodString>;
24775
24775
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24787,12 +24787,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24787
24787
  type: z.ZodString;
24788
24788
  name: z.ZodNullable<z.ZodString>;
24789
24789
  description: z.ZodNullable<z.ZodString>;
24790
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24791
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24790
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24791
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24792
24792
  summary: z.ZodNullable<z.ZodString>;
24793
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24793
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24794
24794
  visibility: z.ZodNullable<z.ZodString>;
24795
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24795
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24796
24796
  derivedFrom: z.ZodNullable<z.ZodString>;
24797
24797
  projectId: z.ZodString;
24798
24798
  tenantId: z.ZodString;
@@ -24807,33 +24807,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24807
24807
  type: z.ZodOptional<z.ZodString>;
24808
24808
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24809
24809
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24810
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24811
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24810
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24811
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24812
24812
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24813
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24813
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24814
24814
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24815
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24815
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24816
24816
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
24817
  projectId: z.ZodString;
24818
24818
  tenantId: z.ZodString;
24819
24819
  id: z.ZodString;
24820
24820
  }>, z.core.$strip>;
24821
24821
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24822
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24823
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24824
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24825
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24826
24822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24827
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24823
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24824
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24825
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24828
24826
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24829
24827
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24830
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24828
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24831
24829
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24832
24830
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24833
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24831
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24832
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24833
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24834
24834
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24835
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24836
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24835
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24836
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24837
24837
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24838
24838
  }, z.core.$strip>;
24839
24839
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24899,11 +24899,10 @@ declare const TeamAgentSchema: z.ZodObject<{
24899
24899
  description: z.ZodString;
24900
24900
  }, z.core.$strip>;
24901
24901
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24902
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24903
- name: z.ZodString;
24904
24902
  id: z.ZodString;
24905
- createdAt: z.ZodOptional<z.ZodString>;
24906
- updatedAt: z.ZodOptional<z.ZodString>;
24903
+ name: z.ZodString;
24904
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24905
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24907
24906
  models: z.ZodOptional<z.ZodObject<{
24908
24907
  base: z.ZodOptional<z.ZodObject<{
24909
24908
  model: z.ZodOptional<z.ZodString>;
@@ -24918,7 +24917,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24918
24917
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24919
24918
  }, z.core.$strip>>;
24920
24919
  }, z.core.$strip>>;
24921
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24920
+ createdAt: z.ZodOptional<z.ZodString>;
24921
+ updatedAt: z.ZodOptional<z.ZodString>;
24922
24922
  type: z.ZodLiteral<"internal">;
24923
24923
  canUse: z.ZodArray<z.ZodObject<{
24924
24924
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24952,19 +24952,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24952
24952
  }, z.core.$strip>>;
24953
24953
  }, z.core.$strip>;
24954
24954
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24955
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24956
24955
  name: z.ZodString;
24956
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24957
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24957
24958
  createdAt: z.ZodOptional<z.ZodString>;
24958
24959
  updatedAt: z.ZodOptional<z.ZodString>;
24959
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24960
24960
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24961
24961
  id: z.ZodString;
24962
24962
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24963
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24964
- name: z.ZodString;
24965
24963
  id: z.ZodString;
24966
- createdAt: z.ZodOptional<z.ZodString>;
24967
- updatedAt: z.ZodOptional<z.ZodString>;
24964
+ name: z.ZodString;
24965
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24966
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24968
24967
  models: z.ZodOptional<z.ZodObject<{
24969
24968
  base: z.ZodOptional<z.ZodObject<{
24970
24969
  model: z.ZodOptional<z.ZodString>;
@@ -24979,7 +24978,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24979
24978
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24980
24979
  }, z.core.$strip>>;
24981
24980
  }, z.core.$strip>>;
24982
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24981
+ createdAt: z.ZodOptional<z.ZodString>;
24982
+ updatedAt: z.ZodOptional<z.ZodString>;
24983
24983
  type: z.ZodLiteral<"internal">;
24984
24984
  canUse: z.ZodArray<z.ZodObject<{
24985
24985
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25090,31 +25090,31 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25090
25090
  executeCode: z.ZodString;
25091
25091
  }, z.core.$strip>>>;
25092
25092
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25093
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25094
25093
  name: z.ZodString;
25094
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25095
25095
  createdAt: z.ZodOptional<z.ZodString>;
25096
25096
  updatedAt: z.ZodOptional<z.ZodString>;
25097
25097
  enabled: z.ZodOptional<z.ZodBoolean>;
25098
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25098
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25099
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25099
25100
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25100
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25101
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25101
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25102
25102
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25103
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25103
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25104
25104
  id: z.ZodOptional<z.ZodString>;
25105
25105
  }, z.core.$strip>>>;
25106
25106
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25107
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25108
25107
  name: z.ZodString;
25108
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25109
25109
  createdAt: z.ZodOptional<z.ZodString>;
25110
25110
  updatedAt: z.ZodOptional<z.ZodString>;
25111
25111
  enabled: z.ZodOptional<z.ZodBoolean>;
25112
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25112
25113
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25113
25114
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25114
25115
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25115
25116
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25116
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25117
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25117
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25118
25118
  maxRetries: z.ZodOptional<z.ZodNumber>;
25119
25119
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25120
25120
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25220,10 +25220,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
25220
25220
  in: {};
25221
25221
  }>;
25222
25222
  declare const ProjectInsertSchema: z.ZodObject<{
25223
- tenantId: z.ZodString;
25224
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25225
- name: z.ZodString;
25226
25223
  id: z.ZodString;
25224
+ name: z.ZodString;
25225
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25226
+ tenantId: z.ZodString;
25227
25227
  models: z.ZodObject<{
25228
25228
  base: z.ZodObject<{
25229
25229
  model: z.ZodOptional<z.ZodString>;
@@ -25247,8 +25247,8 @@ declare const ProjectInsertSchema: z.ZodObject<{
25247
25247
  in: {};
25248
25248
  }>;
25249
25249
  declare const ProjectUpdateSchema: z.ZodObject<{
25250
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25251
25250
  name: z.ZodOptional<z.ZodString>;
25251
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25252
25252
  models: z.ZodOptional<z.ZodObject<{
25253
25253
  base: z.ZodObject<{
25254
25254
  model: z.ZodOptional<z.ZodString>;
@@ -25272,11 +25272,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25272
25272
  in: {};
25273
25273
  }>;
25274
25274
  declare const ProjectApiSelectSchema: z.ZodObject<{
25275
- description: z.ZodNullable<z.ZodString>;
25276
- name: z.ZodString;
25277
25275
  id: z.ZodString;
25278
- createdAt: z.ZodString;
25279
- updatedAt: z.ZodString;
25276
+ name: z.ZodString;
25277
+ description: z.ZodNullable<z.ZodString>;
25280
25278
  models: z.ZodNullable<z.ZodObject<{
25281
25279
  base: z.ZodObject<{
25282
25280
  model: z.ZodOptional<z.ZodString>;
@@ -25295,14 +25293,16 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25295
25293
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25296
25294
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25297
25295
  }, z.core.$strip>>;
25296
+ createdAt: z.ZodString;
25297
+ updatedAt: z.ZodString;
25298
25298
  }, {
25299
25299
  out: {};
25300
25300
  in: {};
25301
25301
  }>;
25302
25302
  declare const ProjectApiInsertSchema: z.ZodObject<{
25303
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25304
- name: z.ZodString;
25305
25303
  id: z.ZodString;
25304
+ name: z.ZodString;
25305
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25306
25306
  models: z.ZodObject<{
25307
25307
  base: z.ZodObject<{
25308
25308
  model: z.ZodOptional<z.ZodString>;
@@ -25326,8 +25326,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25326
25326
  in: {};
25327
25327
  }>;
25328
25328
  declare const ProjectApiUpdateSchema: z.ZodObject<{
25329
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25330
25329
  name: z.ZodOptional<z.ZodString>;
25330
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25331
25331
  models: z.ZodOptional<z.ZodObject<{
25332
25332
  base: z.ZodObject<{
25333
25333
  model: z.ZodOptional<z.ZodString>;
@@ -25351,9 +25351,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25351
25351
  in: {};
25352
25352
  }>;
25353
25353
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25354
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25355
- name: z.ZodString;
25356
25354
  id: z.ZodString;
25355
+ name: z.ZodString;
25356
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25357
25357
  models: z.ZodObject<{
25358
25358
  base: z.ZodObject<{
25359
25359
  model: z.ZodOptional<z.ZodString>;
@@ -25373,19 +25373,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25373
25373
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25374
25374
  }, z.core.$strip>>;
25375
25375
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25376
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25377
25376
  name: z.ZodString;
25377
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25378
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25378
25379
  createdAt: z.ZodOptional<z.ZodString>;
25379
25380
  updatedAt: z.ZodOptional<z.ZodString>;
25380
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25381
25381
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25382
25382
  id: z.ZodString;
25383
25383
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25384
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25385
- name: z.ZodString;
25386
25384
  id: z.ZodString;
25387
- createdAt: z.ZodOptional<z.ZodString>;
25388
- updatedAt: z.ZodOptional<z.ZodString>;
25385
+ name: z.ZodString;
25386
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25387
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25389
25388
  models: z.ZodOptional<z.ZodObject<{
25390
25389
  base: z.ZodOptional<z.ZodObject<{
25391
25390
  model: z.ZodOptional<z.ZodString>;
@@ -25400,7 +25399,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25400
25399
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25401
25400
  }, z.core.$strip>>;
25402
25401
  }, z.core.$strip>>;
25403
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25402
+ createdAt: z.ZodOptional<z.ZodString>;
25403
+ updatedAt: z.ZodOptional<z.ZodString>;
25404
25404
  type: z.ZodLiteral<"internal">;
25405
25405
  canUse: z.ZodArray<z.ZodObject<{
25406
25406
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25511,31 +25511,31 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25511
25511
  executeCode: z.ZodString;
25512
25512
  }, z.core.$strip>>>;
25513
25513
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25514
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25515
25514
  name: z.ZodString;
25515
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25516
25516
  createdAt: z.ZodOptional<z.ZodString>;
25517
25517
  updatedAt: z.ZodOptional<z.ZodString>;
25518
25518
  enabled: z.ZodOptional<z.ZodBoolean>;
25519
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25519
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25520
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25520
25521
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25521
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25522
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25522
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25523
25523
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25524
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25524
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25525
25525
  id: z.ZodOptional<z.ZodString>;
25526
25526
  }, z.core.$strip>>>;
25527
25527
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25528
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25529
25528
  name: z.ZodString;
25529
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25530
25530
  createdAt: z.ZodOptional<z.ZodString>;
25531
25531
  updatedAt: z.ZodOptional<z.ZodString>;
25532
25532
  enabled: z.ZodOptional<z.ZodBoolean>;
25533
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25533
25534
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25534
25535
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25535
25536
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25536
25537
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25537
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25538
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25538
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25539
25539
  maxRetries: z.ZodOptional<z.ZodNumber>;
25540
25540
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25541
25541
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25643,12 +25643,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25643
25643
  executeCode: z.ZodString;
25644
25644
  }, z.core.$strip>>>;
25645
25645
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25646
- tenantId: z.ZodString;
25647
- description: z.ZodString;
25648
25646
  name: z.ZodString;
25649
- content: z.ZodString;
25647
+ description: z.ZodString;
25648
+ tenantId: z.ZodString;
25650
25649
  projectId: z.ZodString;
25651
25650
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25651
+ content: z.ZodString;
25652
25652
  }>, z.core.$strip>>>;
25653
25653
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25654
25654
  id: z.ZodString;
@@ -25732,12 +25732,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25732
25732
  }, z.core.$strip>>>;
25733
25733
  }, z.core.$strip>>;
25734
25734
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25735
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25736
- name: z.ZodString;
25737
25735
  id: z.ZodString;
25736
+ name: z.ZodString;
25738
25737
  createdAt: z.ZodOptional<z.ZodString>;
25739
25738
  updatedAt: z.ZodOptional<z.ZodString>;
25740
25739
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25740
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25741
25741
  credentialStoreId: z.ZodString;
25742
25742
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25743
25743
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25754,11 +25754,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25754
25754
  in: {};
25755
25755
  }>;
25756
25756
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25757
- description: z.ZodNullable<z.ZodString>;
25758
- name: z.ZodString;
25759
25757
  id: z.ZodString;
25760
- createdAt: z.ZodString;
25761
- updatedAt: z.ZodString;
25758
+ name: z.ZodString;
25759
+ description: z.ZodNullable<z.ZodString>;
25760
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25762
25761
  models: z.ZodNullable<z.ZodType<{
25763
25762
  base?: {
25764
25763
  model?: string | undefined;
@@ -25821,7 +25820,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25821
25820
  }, {
25822
25821
  stepCountIs?: number | undefined;
25823
25822
  }>>>;
25824
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25823
+ createdAt: z.ZodString;
25824
+ updatedAt: z.ZodString;
25825
25825
  type: z.ZodLiteral<"internal">;
25826
25826
  canUse: z.ZodArray<z.ZodObject<{
25827
25827
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25847,11 +25847,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25847
25847
  }, z.core.$strip>]>>>;
25848
25848
  }, z.core.$strip>;
25849
25849
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25850
- description: z.ZodNullable<z.ZodString>;
25851
- name: z.ZodString;
25852
25850
  id: z.ZodString;
25853
- createdAt: z.ZodString;
25854
- updatedAt: z.ZodString;
25851
+ name: z.ZodString;
25852
+ description: z.ZodNullable<z.ZodString>;
25853
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25855
25854
  models: z.ZodNullable<z.ZodType<{
25856
25855
  base?: {
25857
25856
  model?: string | undefined;
@@ -25914,7 +25913,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25914
25913
  }, {
25915
25914
  stepCountIs?: number | undefined;
25916
25915
  }>>>;
25917
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25916
+ createdAt: z.ZodString;
25917
+ updatedAt: z.ZodString;
25918
25918
  type: z.ZodLiteral<"internal">;
25919
25919
  canUse: z.ZodArray<z.ZodObject<{
25920
25920
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25946,19 +25946,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25946
25946
  }, z.core.$strip>]>>>;
25947
25947
  }, z.core.$strip>;
25948
25948
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25949
- description: z.ZodNullable<z.ZodString>;
25950
- name: z.ZodString;
25951
25949
  id: z.ZodString;
25950
+ name: z.ZodString;
25951
+ description: z.ZodNullable<z.ZodString>;
25952
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
25952
25953
  createdAt: z.ZodString;
25953
25954
  updatedAt: z.ZodString;
25954
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
25955
25955
  contextConfigId: z.ZodNullable<z.ZodString>;
25956
25956
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25957
- description: z.ZodNullable<z.ZodString>;
25958
- name: z.ZodString;
25959
25957
  id: z.ZodString;
25960
- createdAt: z.ZodString;
25961
- updatedAt: z.ZodString;
25958
+ name: z.ZodString;
25959
+ description: z.ZodNullable<z.ZodString>;
25960
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25962
25961
  models: z.ZodNullable<z.ZodType<{
25963
25962
  base?: {
25964
25963
  model?: string | undefined;
@@ -26021,7 +26020,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26021
26020
  }, {
26022
26021
  stepCountIs?: number | undefined;
26023
26022
  }>>>;
26024
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26023
+ createdAt: z.ZodString;
26024
+ updatedAt: z.ZodString;
26025
26025
  type: z.ZodLiteral<"internal">;
26026
26026
  canUse: z.ZodArray<z.ZodObject<{
26027
26027
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26092,12 +26092,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26092
26092
  description: z.ZodString;
26093
26093
  }, z.core.$strip>>>;
26094
26094
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26095
- description: z.ZodNullable<z.ZodString>;
26096
- name: z.ZodString;
26097
26095
  id: z.ZodString;
26096
+ name: z.ZodString;
26097
+ description: z.ZodNullable<z.ZodString>;
26098
+ agentId: z.ZodString;
26098
26099
  createdAt: z.ZodString;
26099
26100
  updatedAt: z.ZodString;
26100
- agentId: z.ZodString;
26101
26101
  functionId: z.ZodString;
26102
26102
  relationshipId: z.ZodOptional<z.ZodString>;
26103
26103
  }, z.core.$strip>>>;
@@ -26174,12 +26174,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26174
26174
  prompt: z.ZodNullable<z.ZodString>;
26175
26175
  }, z.core.$strip>;
26176
26176
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26177
- description: z.ZodNullable<z.ZodString>;
26178
- name: z.ZodString;
26179
26177
  id: z.ZodString;
26178
+ name: z.ZodString;
26179
+ description: z.ZodNullable<z.ZodString>;
26180
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26180
26181
  createdAt: z.ZodString;
26181
26182
  updatedAt: z.ZodString;
26182
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26183
26183
  contextConfigId: z.ZodNullable<z.ZodString>;
26184
26184
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26185
26185
  createdAt: z.ZodString;
@@ -26227,12 +26227,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26227
26227
  description: z.ZodString;
26228
26228
  }, z.core.$strip>>>;
26229
26229
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26230
- description: z.ZodNullable<z.ZodString>;
26231
- name: z.ZodString;
26232
26230
  id: z.ZodString;
26231
+ name: z.ZodString;
26232
+ description: z.ZodNullable<z.ZodString>;
26233
+ agentId: z.ZodString;
26233
26234
  createdAt: z.ZodString;
26234
26235
  updatedAt: z.ZodString;
26235
- agentId: z.ZodString;
26236
26236
  functionId: z.ZodString;
26237
26237
  relationshipId: z.ZodOptional<z.ZodString>;
26238
26238
  }, z.core.$strip>>>;
@@ -26308,11 +26308,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26308
26308
  }, z.core.$strip>>;
26309
26309
  prompt: z.ZodNullable<z.ZodString>;
26310
26310
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26311
- description: z.ZodNullable<z.ZodString>;
26312
- name: z.ZodString;
26313
26311
  id: z.ZodString;
26314
- createdAt: z.ZodString;
26315
- updatedAt: z.ZodString;
26312
+ name: z.ZodString;
26313
+ description: z.ZodNullable<z.ZodString>;
26314
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26316
26315
  models: z.ZodNullable<z.ZodType<{
26317
26316
  base?: {
26318
26317
  model?: string | undefined;
@@ -26375,7 +26374,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26375
26374
  }, {
26376
26375
  stepCountIs?: number | undefined;
26377
26376
  }>>>;
26378
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26377
+ createdAt: z.ZodString;
26378
+ updatedAt: z.ZodString;
26379
26379
  type: z.ZodLiteral<"internal">;
26380
26380
  canUse: z.ZodArray<z.ZodObject<{
26381
26381
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26408,11 +26408,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26408
26408
  }, z.core.$strip>>;
26409
26409
  }, z.core.$strip>;
26410
26410
  declare const FullProjectSelectSchema: z.ZodObject<{
26411
- description: z.ZodNullable<z.ZodString>;
26412
- name: z.ZodString;
26413
26411
  id: z.ZodString;
26414
- createdAt: z.ZodString;
26415
- updatedAt: z.ZodString;
26412
+ name: z.ZodString;
26413
+ description: z.ZodNullable<z.ZodString>;
26416
26414
  models: z.ZodNullable<z.ZodObject<{
26417
26415
  base: z.ZodObject<{
26418
26416
  model: z.ZodOptional<z.ZodString>;
@@ -26431,20 +26429,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26431
26429
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26432
26430
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26433
26431
  }, z.core.$strip>>;
26432
+ createdAt: z.ZodString;
26433
+ updatedAt: z.ZodString;
26434
26434
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26435
- description: z.ZodNullable<z.ZodString>;
26436
- name: z.ZodString;
26437
26435
  id: z.ZodString;
26436
+ name: z.ZodString;
26437
+ description: z.ZodNullable<z.ZodString>;
26438
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26438
26439
  createdAt: z.ZodString;
26439
26440
  updatedAt: z.ZodString;
26440
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26441
26441
  contextConfigId: z.ZodNullable<z.ZodString>;
26442
26442
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26443
- description: z.ZodNullable<z.ZodString>;
26444
- name: z.ZodString;
26445
26443
  id: z.ZodString;
26446
- createdAt: z.ZodString;
26447
- updatedAt: z.ZodString;
26444
+ name: z.ZodString;
26445
+ description: z.ZodNullable<z.ZodString>;
26446
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26448
26447
  models: z.ZodNullable<z.ZodType<{
26449
26448
  base?: {
26450
26449
  model?: string | undefined;
@@ -26507,7 +26506,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26507
26506
  }, {
26508
26507
  stepCountIs?: number | undefined;
26509
26508
  }>>>;
26510
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26509
+ createdAt: z.ZodString;
26510
+ updatedAt: z.ZodString;
26511
26511
  type: z.ZodLiteral<"internal">;
26512
26512
  canUse: z.ZodArray<z.ZodObject<{
26513
26513
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26578,12 +26578,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26578
26578
  description: z.ZodString;
26579
26579
  }, z.core.$strip>>>;
26580
26580
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26581
- description: z.ZodNullable<z.ZodString>;
26582
- name: z.ZodString;
26583
26581
  id: z.ZodString;
26582
+ name: z.ZodString;
26583
+ description: z.ZodNullable<z.ZodString>;
26584
+ agentId: z.ZodString;
26584
26585
  createdAt: z.ZodString;
26585
26586
  updatedAt: z.ZodString;
26586
- agentId: z.ZodString;
26587
26587
  functionId: z.ZodString;
26588
26588
  relationshipId: z.ZodOptional<z.ZodString>;
26589
26589
  }, z.core.$strip>>>;
@@ -26689,12 +26689,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26689
26689
  id: z.ZodString;
26690
26690
  }>, z.core.$strip>>;
26691
26691
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26692
- description: z.ZodNullable<z.ZodString>;
26693
- name: z.ZodString;
26694
26692
  id: z.ZodString;
26693
+ name: z.ZodString;
26694
+ description: z.ZodNullable<z.ZodString>;
26695
+ agentId: z.ZodString;
26695
26696
  createdAt: z.ZodString;
26696
26697
  updatedAt: z.ZodString;
26697
- agentId: z.ZodString;
26698
26698
  functionId: z.ZodString;
26699
26699
  relationshipId: z.ZodOptional<z.ZodString>;
26700
26700
  }, z.core.$strip>>>;
@@ -26837,12 +26837,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26837
26837
  }, z.core.$strip>>>;
26838
26838
  }, z.core.$strip>>;
26839
26839
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26840
- userId: z.ZodNullable<z.ZodString>;
26841
- name: z.ZodString;
26842
26840
  id: z.ZodString;
26841
+ name: z.ZodString;
26843
26842
  createdAt: z.ZodString;
26844
26843
  updatedAt: z.ZodString;
26845
26844
  toolId: z.ZodNullable<z.ZodString>;
26845
+ userId: z.ZodNullable<z.ZodString>;
26846
26846
  credentialStoreId: z.ZodString;
26847
26847
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26848
26848
  createdBy: z.ZodNullable<z.ZodString>;
@@ -26851,7 +26851,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26851
26851
  readonly keychain: "keychain";
26852
26852
  readonly nango: "nango";
26853
26853
  }>;
26854
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26854
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26855
26855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
26856
26856
  name: "created_at";
26857
26857
  tableName: "tools";
@@ -27131,7 +27131,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27131
27131
  }, {}, {
27132
27132
  length: 256;
27133
27133
  }>;
27134
- }, drizzle_zod19.BuildRefine<{
27134
+ }, drizzle_zod15.BuildRefine<{
27135
27135
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27136
27136
  name: "created_at";
27137
27137
  tableName: "tools";
@@ -27432,11 +27432,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27432
27432
  in: {};
27433
27433
  }>;
27434
27434
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27435
- description: z.ZodNullable<z.ZodString>;
27436
- name: z.ZodString;
27437
27435
  id: z.ZodString;
27438
- createdAt: z.ZodString;
27439
- updatedAt: z.ZodString;
27436
+ name: z.ZodString;
27437
+ description: z.ZodNullable<z.ZodString>;
27440
27438
  models: z.ZodNullable<z.ZodObject<{
27441
27439
  base: z.ZodObject<{
27442
27440
  model: z.ZodOptional<z.ZodString>;
@@ -27455,6 +27453,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27455
27453
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27456
27454
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27457
27455
  }, z.core.$strip>>;
27456
+ createdAt: z.ZodString;
27457
+ updatedAt: z.ZodString;
27458
27458
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27459
27459
  createdAt: z.ZodString;
27460
27460
  updatedAt: z.ZodString;
@@ -27485,12 +27485,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27485
27485
  id: z.ZodString;
27486
27486
  }>, z.core.$strip>>;
27487
27487
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27488
- description: z.ZodNullable<z.ZodString>;
27489
- name: z.ZodString;
27490
27488
  id: z.ZodString;
27489
+ name: z.ZodString;
27490
+ description: z.ZodNullable<z.ZodString>;
27491
+ agentId: z.ZodString;
27491
27492
  createdAt: z.ZodString;
27492
27493
  updatedAt: z.ZodString;
27493
- agentId: z.ZodString;
27494
27494
  functionId: z.ZodString;
27495
27495
  relationshipId: z.ZodOptional<z.ZodString>;
27496
27496
  }, z.core.$strip>>>;
@@ -27633,12 +27633,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27633
27633
  }, z.core.$strip>>>;
27634
27634
  }, z.core.$strip>>;
27635
27635
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27636
- userId: z.ZodNullable<z.ZodString>;
27637
- name: z.ZodString;
27638
27636
  id: z.ZodString;
27637
+ name: z.ZodString;
27639
27638
  createdAt: z.ZodString;
27640
27639
  updatedAt: z.ZodString;
27641
27640
  toolId: z.ZodNullable<z.ZodString>;
27641
+ userId: z.ZodNullable<z.ZodString>;
27642
27642
  credentialStoreId: z.ZodString;
27643
27643
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27644
27644
  createdBy: z.ZodNullable<z.ZodString>;
@@ -27647,7 +27647,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27647
27647
  readonly keychain: "keychain";
27648
27648
  readonly nango: "nango";
27649
27649
  }>;
27650
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27650
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27651
27651
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27652
27652
  name: "created_at";
27653
27653
  tableName: "tools";
@@ -27927,7 +27927,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27927
27927
  }, {}, {
27928
27928
  length: 256;
27929
27929
  }>;
27930
- }, drizzle_zod19.BuildRefine<{
27930
+ }, drizzle_zod15.BuildRefine<{
27931
27931
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27932
27932
  name: "created_at";
27933
27933
  tableName: "tools";
@@ -28224,12 +28224,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28224
28224
  }>>>;
28225
28225
  }, z.core.$strip>>>;
28226
28226
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28227
- description: z.ZodNullable<z.ZodString>;
28228
- name: z.ZodString;
28229
28227
  id: z.ZodString;
28228
+ name: z.ZodString;
28229
+ description: z.ZodNullable<z.ZodString>;
28230
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28230
28231
  createdAt: z.ZodString;
28231
28232
  updatedAt: z.ZodString;
28232
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28233
28233
  contextConfigId: z.ZodNullable<z.ZodString>;
28234
28234
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28235
28235
  createdAt: z.ZodString;
@@ -28277,12 +28277,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28277
28277
  description: z.ZodString;
28278
28278
  }, z.core.$strip>>>;
28279
28279
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28280
- description: z.ZodNullable<z.ZodString>;
28281
- name: z.ZodString;
28282
28280
  id: z.ZodString;
28281
+ name: z.ZodString;
28282
+ description: z.ZodNullable<z.ZodString>;
28283
+ agentId: z.ZodString;
28283
28284
  createdAt: z.ZodString;
28284
28285
  updatedAt: z.ZodString;
28285
- agentId: z.ZodString;
28286
28286
  functionId: z.ZodString;
28287
28287
  relationshipId: z.ZodOptional<z.ZodString>;
28288
28288
  }, z.core.$strip>>>;
@@ -28358,11 +28358,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28358
28358
  }, z.core.$strip>>;
28359
28359
  prompt: z.ZodNullable<z.ZodString>;
28360
28360
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28361
- description: z.ZodNullable<z.ZodString>;
28362
- name: z.ZodString;
28363
28361
  id: z.ZodString;
28364
- createdAt: z.ZodString;
28365
- updatedAt: z.ZodString;
28362
+ name: z.ZodString;
28363
+ description: z.ZodNullable<z.ZodString>;
28364
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28366
28365
  models: z.ZodNullable<z.ZodType<{
28367
28366
  base?: {
28368
28367
  model?: string | undefined;
@@ -28425,7 +28424,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28425
28424
  }, {
28426
28425
  stepCountIs?: number | undefined;
28427
28426
  }>>>;
28428
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28427
+ createdAt: z.ZodString;
28428
+ updatedAt: z.ZodString;
28429
28429
  type: z.ZodLiteral<"internal">;
28430
28430
  canUse: z.ZodArray<z.ZodObject<{
28431
28431
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28463,11 +28463,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28463
28463
  }>;
28464
28464
  declare const ProjectResponse: z.ZodObject<{
28465
28465
  data: z.ZodObject<{
28466
- description: z.ZodNullable<z.ZodString>;
28467
- name: z.ZodString;
28468
28466
  id: z.ZodString;
28469
- createdAt: z.ZodString;
28470
- updatedAt: z.ZodString;
28467
+ name: z.ZodString;
28468
+ description: z.ZodNullable<z.ZodString>;
28471
28469
  models: z.ZodNullable<z.ZodObject<{
28472
28470
  base: z.ZodObject<{
28473
28471
  model: z.ZodOptional<z.ZodString>;
@@ -28486,6 +28484,8 @@ declare const ProjectResponse: z.ZodObject<{
28486
28484
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28487
28485
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28488
28486
  }, z.core.$strip>>;
28487
+ createdAt: z.ZodString;
28488
+ updatedAt: z.ZodString;
28489
28489
  }, {
28490
28490
  out: {};
28491
28491
  in: {};
@@ -28724,12 +28724,12 @@ declare const ContextConfigResponse: z.ZodObject<{
28724
28724
  }, z.core.$strip>;
28725
28725
  declare const ApiKeyResponse: z.ZodObject<{
28726
28726
  data: z.ZodObject<{
28727
- name: z.ZodNullable<z.ZodString>;
28728
28727
  id: z.ZodString;
28728
+ name: z.ZodNullable<z.ZodString>;
28729
+ agentId: z.ZodString;
28729
28730
  createdAt: z.ZodString;
28730
28731
  updatedAt: z.ZodString;
28731
28732
  expiresAt: z.ZodNullable<z.ZodString>;
28732
- agentId: z.ZodString;
28733
28733
  publicId: z.ZodString;
28734
28734
  keyPrefix: z.ZodString;
28735
28735
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28740,12 +28740,12 @@ declare const ApiKeyResponse: z.ZodObject<{
28740
28740
  }, z.core.$strip>;
28741
28741
  declare const CredentialReferenceResponse: z.ZodObject<{
28742
28742
  data: z.ZodObject<{
28743
- userId: z.ZodNullable<z.ZodString>;
28744
- name: z.ZodString;
28745
28743
  id: z.ZodString;
28744
+ name: z.ZodString;
28746
28745
  createdAt: z.ZodString;
28747
28746
  updatedAt: z.ZodString;
28748
28747
  toolId: z.ZodNullable<z.ZodString>;
28748
+ userId: z.ZodNullable<z.ZodString>;
28749
28749
  credentialStoreId: z.ZodString;
28750
28750
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28751
28751
  createdBy: z.ZodNullable<z.ZodString>;
@@ -28754,7 +28754,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28754
28754
  readonly keychain: "keychain";
28755
28755
  readonly nango: "nango";
28756
28756
  }>;
28757
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28757
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28758
28758
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28759
28759
  name: "created_at";
28760
28760
  tableName: "tools";
@@ -29034,7 +29034,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29034
29034
  }, {}, {
29035
29035
  length: 256;
29036
29036
  }>;
29037
- }, drizzle_zod19.BuildRefine<{
29037
+ }, drizzle_zod15.BuildRefine<{
29038
29038
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29039
29039
  name: "created_at";
29040
29040
  tableName: "tools";
@@ -29345,12 +29345,12 @@ declare const FunctionResponse: z.ZodObject<{
29345
29345
  }, z.core.$strip>;
29346
29346
  declare const FunctionToolResponse: z.ZodObject<{
29347
29347
  data: z.ZodObject<{
29348
- description: z.ZodNullable<z.ZodString>;
29349
- name: z.ZodString;
29350
29348
  id: z.ZodString;
29349
+ name: z.ZodString;
29350
+ description: z.ZodNullable<z.ZodString>;
29351
+ agentId: z.ZodString;
29351
29352
  createdAt: z.ZodString;
29352
29353
  updatedAt: z.ZodString;
29353
- agentId: z.ZodString;
29354
29354
  functionId: z.ZodString;
29355
29355
  relationshipId: z.ZodOptional<z.ZodString>;
29356
29356
  }, z.core.$strip>;
@@ -29360,7 +29360,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29360
29360
  createdAt: z.ZodString;
29361
29361
  updatedAt: z.ZodString;
29362
29362
  functionToolId: z.ZodString;
29363
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29363
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29364
29364
  subAgentId: z.ZodString;
29365
29365
  agentId: z.ZodString;
29366
29366
  projectId: z.ZodString;
@@ -29492,9 +29492,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29492
29492
  createdAt: z.ZodString;
29493
29493
  updatedAt: z.ZodString;
29494
29494
  toolId: z.ZodString;
29495
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29496
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29497
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29495
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29496
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29497
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29498
29498
  subAgentId: z.ZodString;
29499
29499
  agentId: z.ZodString;
29500
29500
  projectId: z.ZodString;
@@ -29507,10 +29507,10 @@ declare const TriggerResponse: z.ZodObject<{
29507
29507
  createdAt: z.ZodString;
29508
29508
  updatedAt: z.ZodString;
29509
29509
  enabled: z.ZodBoolean;
29510
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29511
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29510
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29511
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29512
29512
  messageTemplate: z.ZodNullable<z.ZodString>;
29513
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29513
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29514
29514
  name: z.ZodString;
29515
29515
  description: z.ZodNullable<z.ZodString>;
29516
29516
  agentId: z.ZodString;
@@ -29570,8 +29570,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29570
29570
  triggerId: z.ZodString;
29571
29571
  conversationId: z.ZodNullable<z.ZodString>;
29572
29572
  status: z.ZodString;
29573
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29574
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29573
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29574
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29575
29575
  errorMessage: z.ZodNullable<z.ZodString>;
29576
29576
  createdAt: z.ZodString;
29577
29577
  agentId: z.ZodString;
@@ -29582,11 +29582,9 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29582
29582
  }, z.core.$strip>;
29583
29583
  declare const ProjectListResponse: z.ZodObject<{
29584
29584
  data: z.ZodArray<z.ZodObject<{
29585
- description: z.ZodNullable<z.ZodString>;
29586
- name: z.ZodString;
29587
29585
  id: z.ZodString;
29588
- createdAt: z.ZodString;
29589
- updatedAt: z.ZodString;
29586
+ name: z.ZodString;
29587
+ description: z.ZodNullable<z.ZodString>;
29590
29588
  models: z.ZodNullable<z.ZodObject<{
29591
29589
  base: z.ZodObject<{
29592
29590
  model: z.ZodOptional<z.ZodString>;
@@ -29605,6 +29603,8 @@ declare const ProjectListResponse: z.ZodObject<{
29605
29603
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29606
29604
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29607
29605
  }, z.core.$strip>>;
29606
+ createdAt: z.ZodString;
29607
+ updatedAt: z.ZodString;
29608
29608
  }, {
29609
29609
  out: {};
29610
29610
  in: {};
@@ -29873,12 +29873,12 @@ declare const ContextConfigListResponse: z.ZodObject<{
29873
29873
  }, z.core.$strip>;
29874
29874
  declare const ApiKeyListResponse: z.ZodObject<{
29875
29875
  data: z.ZodArray<z.ZodObject<{
29876
- name: z.ZodNullable<z.ZodString>;
29877
29876
  id: z.ZodString;
29877
+ name: z.ZodNullable<z.ZodString>;
29878
+ agentId: z.ZodString;
29878
29879
  createdAt: z.ZodString;
29879
29880
  updatedAt: z.ZodString;
29880
29881
  expiresAt: z.ZodNullable<z.ZodString>;
29881
- agentId: z.ZodString;
29882
29882
  publicId: z.ZodString;
29883
29883
  keyPrefix: z.ZodString;
29884
29884
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29895,12 +29895,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
29895
29895
  }, z.core.$strip>;
29896
29896
  declare const CredentialReferenceListResponse: z.ZodObject<{
29897
29897
  data: z.ZodArray<z.ZodObject<{
29898
- userId: z.ZodNullable<z.ZodString>;
29899
- name: z.ZodString;
29900
29898
  id: z.ZodString;
29899
+ name: z.ZodString;
29901
29900
  createdAt: z.ZodString;
29902
29901
  updatedAt: z.ZodString;
29903
29902
  toolId: z.ZodNullable<z.ZodString>;
29903
+ userId: z.ZodNullable<z.ZodString>;
29904
29904
  credentialStoreId: z.ZodString;
29905
29905
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29906
29906
  createdBy: z.ZodNullable<z.ZodString>;
@@ -29909,7 +29909,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29909
29909
  readonly keychain: "keychain";
29910
29910
  readonly nango: "nango";
29911
29911
  }>;
29912
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29912
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29913
29913
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29914
29914
  name: "created_at";
29915
29915
  tableName: "tools";
@@ -30189,7 +30189,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30189
30189
  }, {}, {
30190
30190
  length: 256;
30191
30191
  }>;
30192
- }, drizzle_zod19.BuildRefine<{
30192
+ }, drizzle_zod15.BuildRefine<{
30193
30193
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30194
30194
  name: "created_at";
30195
30195
  tableName: "tools";
@@ -30512,12 +30512,12 @@ declare const FunctionListResponse: z.ZodObject<{
30512
30512
  }, z.core.$strip>;
30513
30513
  declare const FunctionToolListResponse: z.ZodObject<{
30514
30514
  data: z.ZodArray<z.ZodObject<{
30515
- description: z.ZodNullable<z.ZodString>;
30516
- name: z.ZodString;
30517
30515
  id: z.ZodString;
30516
+ name: z.ZodString;
30517
+ description: z.ZodNullable<z.ZodString>;
30518
+ agentId: z.ZodString;
30518
30519
  createdAt: z.ZodString;
30519
30520
  updatedAt: z.ZodString;
30520
- agentId: z.ZodString;
30521
30521
  functionId: z.ZodString;
30522
30522
  relationshipId: z.ZodOptional<z.ZodString>;
30523
30523
  }, z.core.$strip>>;
@@ -30533,7 +30533,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30533
30533
  createdAt: z.ZodString;
30534
30534
  updatedAt: z.ZodString;
30535
30535
  functionToolId: z.ZodString;
30536
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30536
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30537
30537
  subAgentId: z.ZodString;
30538
30538
  agentId: z.ZodString;
30539
30539
  projectId: z.ZodString;
@@ -30721,9 +30721,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30721
30721
  createdAt: z.ZodString;
30722
30722
  updatedAt: z.ZodString;
30723
30723
  toolId: z.ZodString;
30724
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30725
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30726
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30724
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30725
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30726
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30727
30727
  subAgentId: z.ZodString;
30728
30728
  agentId: z.ZodString;
30729
30729
  projectId: z.ZodString;
@@ -30742,10 +30742,10 @@ declare const TriggerListResponse: z.ZodObject<{
30742
30742
  createdAt: z.ZodString;
30743
30743
  updatedAt: z.ZodString;
30744
30744
  enabled: z.ZodBoolean;
30745
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30746
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30745
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30746
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30747
30747
  messageTemplate: z.ZodNullable<z.ZodString>;
30748
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30748
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30749
30749
  name: z.ZodString;
30750
30750
  description: z.ZodNullable<z.ZodString>;
30751
30751
  agentId: z.ZodString;
@@ -30811,8 +30811,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30811
30811
  triggerId: z.ZodString;
30812
30812
  conversationId: z.ZodNullable<z.ZodString>;
30813
30813
  status: z.ZodString;
30814
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30815
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30814
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30815
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30816
30816
  errorMessage: z.ZodNullable<z.ZodString>;
30817
30817
  createdAt: z.ZodString;
30818
30818
  agentId: z.ZodString;
@@ -30829,16 +30829,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30829
30829
  }, z.core.$strip>;
30830
30830
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30831
30831
  data: z.ZodObject<{
30832
- description: z.ZodNullable<z.ZodString>;
30833
- name: z.ZodString;
30834
30832
  id: z.ZodString;
30833
+ name: z.ZodString;
30834
+ description: z.ZodNullable<z.ZodString>;
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
30837
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30838
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30839
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30840
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30842
30842
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30843
30843
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30844
30844
  algorithm: z.ZodEnum<{
@@ -30890,16 +30890,16 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30890
30890
  }, z.core.$strip>;
30891
30891
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30892
30892
  data: z.ZodArray<z.ZodObject<{
30893
- description: z.ZodNullable<z.ZodString>;
30894
- name: z.ZodString;
30895
30893
  id: z.ZodString;
30894
+ name: z.ZodString;
30895
+ description: z.ZodNullable<z.ZodString>;
30896
30896
  createdAt: z.ZodString;
30897
30897
  updatedAt: z.ZodString;
30898
30898
  enabled: z.ZodBoolean;
30899
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30899
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30900
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30900
30901
  messageTemplate: z.ZodNullable<z.ZodString>;
30901
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30902
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30902
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30903
30903
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30904
30904
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30905
30905
  algorithm: z.ZodEnum<{
@@ -30956,18 +30956,18 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30956
30956
  }, z.core.$strip>;
30957
30957
  }, z.core.$strip>;
30958
30958
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30959
- description: z.ZodNullable<z.ZodString>;
30960
- name: z.ZodString;
30961
30959
  id: z.ZodString;
30960
+ name: z.ZodString;
30961
+ description: z.ZodNullable<z.ZodString>;
30962
30962
  createdAt: z.ZodString;
30963
30963
  updatedAt: z.ZodString;
30964
30964
  enabled: z.ZodBoolean;
30965
+ messageTemplate: z.ZodNullable<z.ZodString>;
30965
30966
  createdBy: z.ZodNullable<z.ZodString>;
30966
30967
  cronExpression: z.ZodNullable<z.ZodString>;
30967
30968
  cronTimezone: z.ZodNullable<z.ZodString>;
30968
30969
  runAt: z.ZodNullable<z.ZodString>;
30969
30970
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30970
- messageTemplate: z.ZodNullable<z.ZodString>;
30971
30971
  maxRetries: z.ZodNumber;
30972
30972
  retryDelaySeconds: z.ZodNumber;
30973
30973
  timeoutSeconds: z.ZodNumber;
@@ -31035,18 +31035,18 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31035
31035
  }, z.core.$strip>;
31036
31036
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31037
31037
  data: z.ZodArray<z.ZodObject<{
31038
- description: z.ZodNullable<z.ZodString>;
31039
- name: z.ZodString;
31040
31038
  id: z.ZodString;
31039
+ name: z.ZodString;
31040
+ description: z.ZodNullable<z.ZodString>;
31041
31041
  createdAt: z.ZodString;
31042
31042
  updatedAt: z.ZodString;
31043
31043
  enabled: z.ZodBoolean;
31044
+ messageTemplate: z.ZodNullable<z.ZodString>;
31044
31045
  createdBy: z.ZodNullable<z.ZodString>;
31045
31046
  cronExpression: z.ZodNullable<z.ZodString>;
31046
31047
  cronTimezone: z.ZodNullable<z.ZodString>;
31047
31048
  runAt: z.ZodNullable<z.ZodString>;
31048
31049
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31049
- messageTemplate: z.ZodNullable<z.ZodString>;
31050
31050
  maxRetries: z.ZodNumber;
31051
31051
  retryDelaySeconds: z.ZodNumber;
31052
31052
  timeoutSeconds: z.ZodNumber;
@@ -31194,13 +31194,13 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31194
31194
  }, z.core.$strip>;
31195
31195
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31196
31196
  data: z.ZodArray<z.ZodObject<{
31197
- description: z.ZodString;
31198
- name: z.ZodString;
31199
- content: z.ZodString;
31200
31197
  id: z.ZodString;
31198
+ name: z.ZodString;
31199
+ description: z.ZodString;
31201
31200
  createdAt: z.ZodString;
31202
31201
  updatedAt: z.ZodString;
31203
31202
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31203
+ content: z.ZodString;
31204
31204
  subAgentSkillId: z.ZodString;
31205
31205
  subAgentId: z.ZodString;
31206
31206
  index: z.ZodInt;
@@ -31209,9 +31209,9 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31209
31209
  }, z.core.$strip>;
31210
31210
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31211
31211
  data: z.ZodObject<{
31212
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31213
- name: z.ZodString;
31214
31212
  id: z.ZodString;
31213
+ name: z.ZodString;
31214
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31215
31215
  models: z.ZodObject<{
31216
31216
  base: z.ZodObject<{
31217
31217
  model: z.ZodOptional<z.ZodString>;
@@ -31231,19 +31231,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31231
31231
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31232
31232
  }, z.core.$strip>>;
31233
31233
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31234
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31235
31234
  name: z.ZodString;
31235
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31236
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31236
31237
  createdAt: z.ZodOptional<z.ZodString>;
31237
31238
  updatedAt: z.ZodOptional<z.ZodString>;
31238
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31239
31239
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31240
31240
  id: z.ZodString;
31241
31241
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31242
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31243
- name: z.ZodString;
31244
31242
  id: z.ZodString;
31245
- createdAt: z.ZodOptional<z.ZodString>;
31246
- updatedAt: z.ZodOptional<z.ZodString>;
31243
+ name: z.ZodString;
31244
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31245
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31247
31246
  models: z.ZodOptional<z.ZodObject<{
31248
31247
  base: z.ZodOptional<z.ZodObject<{
31249
31248
  model: z.ZodOptional<z.ZodString>;
@@ -31258,7 +31257,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31258
31257
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31259
31258
  }, z.core.$strip>>;
31260
31259
  }, z.core.$strip>>;
31261
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31260
+ createdAt: z.ZodOptional<z.ZodString>;
31261
+ updatedAt: z.ZodOptional<z.ZodString>;
31262
31262
  type: z.ZodLiteral<"internal">;
31263
31263
  canUse: z.ZodArray<z.ZodObject<{
31264
31264
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31369,31 +31369,31 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31369
31369
  executeCode: z.ZodString;
31370
31370
  }, z.core.$strip>>>;
31371
31371
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31372
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31373
31372
  name: z.ZodString;
31373
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31374
31374
  createdAt: z.ZodOptional<z.ZodString>;
31375
31375
  updatedAt: z.ZodOptional<z.ZodString>;
31376
31376
  enabled: z.ZodOptional<z.ZodBoolean>;
31377
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31377
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31378
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31378
31379
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31379
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31380
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31380
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31381
31381
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31382
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31382
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31383
31383
  id: z.ZodOptional<z.ZodString>;
31384
31384
  }, z.core.$strip>>>;
31385
31385
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31386
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31387
31386
  name: z.ZodString;
31387
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31388
31388
  createdAt: z.ZodOptional<z.ZodString>;
31389
31389
  updatedAt: z.ZodOptional<z.ZodString>;
31390
31390
  enabled: z.ZodOptional<z.ZodBoolean>;
31391
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31391
31392
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31392
31393
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31393
31394
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31394
31395
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31395
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31396
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31396
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31397
31397
  maxRetries: z.ZodOptional<z.ZodNumber>;
31398
31398
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31399
31399
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31501,12 +31501,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31501
31501
  executeCode: z.ZodString;
31502
31502
  }, z.core.$strip>>>;
31503
31503
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31504
- tenantId: z.ZodString;
31505
- description: z.ZodString;
31506
31504
  name: z.ZodString;
31507
- content: z.ZodString;
31505
+ description: z.ZodString;
31506
+ tenantId: z.ZodString;
31508
31507
  projectId: z.ZodString;
31509
31508
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31509
+ content: z.ZodString;
31510
31510
  }>, z.core.$strip>>>;
31511
31511
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31512
31512
  id: z.ZodString;
@@ -31590,12 +31590,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31590
31590
  }, z.core.$strip>>>;
31591
31591
  }, z.core.$strip>>;
31592
31592
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31593
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31594
- name: z.ZodString;
31595
31593
  id: z.ZodString;
31594
+ name: z.ZodString;
31596
31595
  createdAt: z.ZodOptional<z.ZodString>;
31597
31596
  updatedAt: z.ZodOptional<z.ZodString>;
31598
31597
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31598
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31599
31599
  credentialStoreId: z.ZodString;
31600
31600
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31601
31601
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31614,11 +31614,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31614
31614
  }, z.core.$strip>;
31615
31615
  declare const FullProjectSelectResponse: z.ZodObject<{
31616
31616
  data: z.ZodObject<{
31617
- description: z.ZodNullable<z.ZodString>;
31618
- name: z.ZodString;
31619
31617
  id: z.ZodString;
31620
- createdAt: z.ZodString;
31621
- updatedAt: z.ZodString;
31618
+ name: z.ZodString;
31619
+ description: z.ZodNullable<z.ZodString>;
31622
31620
  models: z.ZodNullable<z.ZodObject<{
31623
31621
  base: z.ZodObject<{
31624
31622
  model: z.ZodOptional<z.ZodString>;
@@ -31637,20 +31635,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31637
31635
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31638
31636
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31639
31637
  }, z.core.$strip>>;
31638
+ createdAt: z.ZodString;
31639
+ updatedAt: z.ZodString;
31640
31640
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31641
- description: z.ZodNullable<z.ZodString>;
31642
- name: z.ZodString;
31643
31641
  id: z.ZodString;
31642
+ name: z.ZodString;
31643
+ description: z.ZodNullable<z.ZodString>;
31644
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31644
31645
  createdAt: z.ZodString;
31645
31646
  updatedAt: z.ZodString;
31646
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31647
31647
  contextConfigId: z.ZodNullable<z.ZodString>;
31648
31648
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31649
- description: z.ZodNullable<z.ZodString>;
31650
- name: z.ZodString;
31651
31649
  id: z.ZodString;
31652
- createdAt: z.ZodString;
31653
- updatedAt: z.ZodString;
31650
+ name: z.ZodString;
31651
+ description: z.ZodNullable<z.ZodString>;
31652
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31654
31653
  models: z.ZodNullable<z.ZodType<{
31655
31654
  base?: {
31656
31655
  model?: string | undefined;
@@ -31713,7 +31712,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31713
31712
  }, {
31714
31713
  stepCountIs?: number | undefined;
31715
31714
  }>>>;
31716
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31715
+ createdAt: z.ZodString;
31716
+ updatedAt: z.ZodString;
31717
31717
  type: z.ZodLiteral<"internal">;
31718
31718
  canUse: z.ZodArray<z.ZodObject<{
31719
31719
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31784,12 +31784,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31784
31784
  description: z.ZodString;
31785
31785
  }, z.core.$strip>>>;
31786
31786
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31787
- description: z.ZodNullable<z.ZodString>;
31788
- name: z.ZodString;
31789
31787
  id: z.ZodString;
31788
+ name: z.ZodString;
31789
+ description: z.ZodNullable<z.ZodString>;
31790
+ agentId: z.ZodString;
31790
31791
  createdAt: z.ZodString;
31791
31792
  updatedAt: z.ZodString;
31792
- agentId: z.ZodString;
31793
31793
  functionId: z.ZodString;
31794
31794
  relationshipId: z.ZodOptional<z.ZodString>;
31795
31795
  }, z.core.$strip>>>;
@@ -31895,12 +31895,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31895
31895
  id: z.ZodString;
31896
31896
  }>, z.core.$strip>>;
31897
31897
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31898
- description: z.ZodNullable<z.ZodString>;
31899
- name: z.ZodString;
31900
31898
  id: z.ZodString;
31899
+ name: z.ZodString;
31900
+ description: z.ZodNullable<z.ZodString>;
31901
+ agentId: z.ZodString;
31901
31902
  createdAt: z.ZodString;
31902
31903
  updatedAt: z.ZodString;
31903
- agentId: z.ZodString;
31904
31904
  functionId: z.ZodString;
31905
31905
  relationshipId: z.ZodOptional<z.ZodString>;
31906
31906
  }, z.core.$strip>>>;
@@ -32043,12 +32043,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32043
32043
  }, z.core.$strip>>>;
32044
32044
  }, z.core.$strip>>;
32045
32045
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32046
- userId: z.ZodNullable<z.ZodString>;
32047
- name: z.ZodString;
32048
32046
  id: z.ZodString;
32047
+ name: z.ZodString;
32049
32048
  createdAt: z.ZodString;
32050
32049
  updatedAt: z.ZodString;
32051
32050
  toolId: z.ZodNullable<z.ZodString>;
32051
+ userId: z.ZodNullable<z.ZodString>;
32052
32052
  credentialStoreId: z.ZodString;
32053
32053
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32054
32054
  createdBy: z.ZodNullable<z.ZodString>;
@@ -32057,7 +32057,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32057
32057
  readonly keychain: "keychain";
32058
32058
  readonly nango: "nango";
32059
32059
  }>;
32060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32061
32061
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32062
32062
  name: "created_at";
32063
32063
  tableName: "tools";
@@ -32337,7 +32337,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32337
32337
  }, {}, {
32338
32338
  length: 256;
32339
32339
  }>;
32340
- }, drizzle_zod19.BuildRefine<{
32340
+ }, drizzle_zod15.BuildRefine<{
32341
32341
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32342
32342
  name: "created_at";
32343
32343
  tableName: "tools";
@@ -32640,11 +32640,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32640
32640
  }, z.core.$strip>;
32641
32641
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32642
32642
  data: z.ZodObject<{
32643
- description: z.ZodNullable<z.ZodString>;
32644
- name: z.ZodString;
32645
32643
  id: z.ZodString;
32646
- createdAt: z.ZodString;
32647
- updatedAt: z.ZodString;
32644
+ name: z.ZodString;
32645
+ description: z.ZodNullable<z.ZodString>;
32648
32646
  models: z.ZodNullable<z.ZodObject<{
32649
32647
  base: z.ZodObject<{
32650
32648
  model: z.ZodOptional<z.ZodString>;
@@ -32663,6 +32661,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32663
32661
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32664
32662
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32665
32663
  }, z.core.$strip>>;
32664
+ createdAt: z.ZodString;
32665
+ updatedAt: z.ZodString;
32666
32666
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32667
32667
  createdAt: z.ZodString;
32668
32668
  updatedAt: z.ZodString;
@@ -32693,12 +32693,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32693
32693
  id: z.ZodString;
32694
32694
  }>, z.core.$strip>>;
32695
32695
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32696
- description: z.ZodNullable<z.ZodString>;
32697
- name: z.ZodString;
32698
32696
  id: z.ZodString;
32697
+ name: z.ZodString;
32698
+ description: z.ZodNullable<z.ZodString>;
32699
+ agentId: z.ZodString;
32699
32700
  createdAt: z.ZodString;
32700
32701
  updatedAt: z.ZodString;
32701
- agentId: z.ZodString;
32702
32702
  functionId: z.ZodString;
32703
32703
  relationshipId: z.ZodOptional<z.ZodString>;
32704
32704
  }, z.core.$strip>>>;
@@ -32841,12 +32841,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32841
32841
  }, z.core.$strip>>>;
32842
32842
  }, z.core.$strip>>;
32843
32843
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32844
- userId: z.ZodNullable<z.ZodString>;
32845
- name: z.ZodString;
32846
32844
  id: z.ZodString;
32845
+ name: z.ZodString;
32847
32846
  createdAt: z.ZodString;
32848
32847
  updatedAt: z.ZodString;
32849
32848
  toolId: z.ZodNullable<z.ZodString>;
32849
+ userId: z.ZodNullable<z.ZodString>;
32850
32850
  credentialStoreId: z.ZodString;
32851
32851
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32852
32852
  createdBy: z.ZodNullable<z.ZodString>;
@@ -32855,7 +32855,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32855
32855
  readonly keychain: "keychain";
32856
32856
  readonly nango: "nango";
32857
32857
  }>;
32858
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32858
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32859
32859
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32860
32860
  name: "created_at";
32861
32861
  tableName: "tools";
@@ -33135,7 +33135,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33135
33135
  }, {}, {
33136
33136
  length: 256;
33137
33137
  }>;
33138
- }, drizzle_zod19.BuildRefine<{
33138
+ }, drizzle_zod15.BuildRefine<{
33139
33139
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33140
33140
  name: "created_at";
33141
33141
  tableName: "tools";
@@ -33432,12 +33432,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33432
33432
  }>>>;
33433
33433
  }, z.core.$strip>>>;
33434
33434
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33435
- description: z.ZodNullable<z.ZodString>;
33436
- name: z.ZodString;
33437
33435
  id: z.ZodString;
33436
+ name: z.ZodString;
33437
+ description: z.ZodNullable<z.ZodString>;
33438
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33438
33439
  createdAt: z.ZodString;
33439
33440
  updatedAt: z.ZodString;
33440
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33441
33441
  contextConfigId: z.ZodNullable<z.ZodString>;
33442
33442
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33443
33443
  createdAt: z.ZodString;
@@ -33485,12 +33485,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33485
33485
  description: z.ZodString;
33486
33486
  }, z.core.$strip>>>;
33487
33487
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33488
- description: z.ZodNullable<z.ZodString>;
33489
- name: z.ZodString;
33490
33488
  id: z.ZodString;
33489
+ name: z.ZodString;
33490
+ description: z.ZodNullable<z.ZodString>;
33491
+ agentId: z.ZodString;
33491
33492
  createdAt: z.ZodString;
33492
33493
  updatedAt: z.ZodString;
33493
- agentId: z.ZodString;
33494
33494
  functionId: z.ZodString;
33495
33495
  relationshipId: z.ZodOptional<z.ZodString>;
33496
33496
  }, z.core.$strip>>>;
@@ -33566,11 +33566,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33566
33566
  }, z.core.$strip>>;
33567
33567
  prompt: z.ZodNullable<z.ZodString>;
33568
33568
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33569
- description: z.ZodNullable<z.ZodString>;
33570
- name: z.ZodString;
33571
33569
  id: z.ZodString;
33572
- createdAt: z.ZodString;
33573
- updatedAt: z.ZodString;
33570
+ name: z.ZodString;
33571
+ description: z.ZodNullable<z.ZodString>;
33572
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33574
33573
  models: z.ZodNullable<z.ZodType<{
33575
33574
  base?: {
33576
33575
  model?: string | undefined;
@@ -33633,7 +33632,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33633
33632
  }, {
33634
33633
  stepCountIs?: number | undefined;
33635
33634
  }>>>;
33636
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33635
+ createdAt: z.ZodString;
33636
+ updatedAt: z.ZodString;
33637
33637
  type: z.ZodLiteral<"internal">;
33638
33638
  canUse: z.ZodArray<z.ZodObject<{
33639
33639
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33672,19 +33672,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33672
33672
  }, z.core.$strip>;
33673
33673
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33674
33674
  data: z.ZodObject<{
33675
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33676
33675
  name: z.ZodString;
33676
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33677
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33677
33678
  createdAt: z.ZodOptional<z.ZodString>;
33678
33679
  updatedAt: z.ZodOptional<z.ZodString>;
33679
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33680
33680
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33681
33681
  id: z.ZodString;
33682
33682
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33683
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33684
- name: z.ZodString;
33685
33683
  id: z.ZodString;
33686
- createdAt: z.ZodOptional<z.ZodString>;
33687
- updatedAt: z.ZodOptional<z.ZodString>;
33684
+ name: z.ZodString;
33685
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33686
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33688
33687
  models: z.ZodOptional<z.ZodObject<{
33689
33688
  base: z.ZodOptional<z.ZodObject<{
33690
33689
  model: z.ZodOptional<z.ZodString>;
@@ -33699,7 +33698,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33699
33698
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33700
33699
  }, z.core.$strip>>;
33701
33700
  }, z.core.$strip>>;
33702
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33701
+ createdAt: z.ZodOptional<z.ZodString>;
33702
+ updatedAt: z.ZodOptional<z.ZodString>;
33703
33703
  type: z.ZodLiteral<"internal">;
33704
33704
  canUse: z.ZodArray<z.ZodObject<{
33705
33705
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33810,31 +33810,31 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33810
33810
  executeCode: z.ZodString;
33811
33811
  }, z.core.$strip>>>;
33812
33812
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33813
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33814
33813
  name: z.ZodString;
33814
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33815
33815
  createdAt: z.ZodOptional<z.ZodString>;
33816
33816
  updatedAt: z.ZodOptional<z.ZodString>;
33817
33817
  enabled: z.ZodOptional<z.ZodBoolean>;
33818
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33818
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33819
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33819
33820
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33820
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33821
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33821
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33822
33822
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33823
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33823
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33824
33824
  id: z.ZodOptional<z.ZodString>;
33825
33825
  }, z.core.$strip>>>;
33826
33826
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33827
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33828
33827
  name: z.ZodString;
33828
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33829
33829
  createdAt: z.ZodOptional<z.ZodString>;
33830
33830
  updatedAt: z.ZodOptional<z.ZodString>;
33831
33831
  enabled: z.ZodOptional<z.ZodBoolean>;
33832
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33832
33833
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33833
33834
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33834
33835
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33835
33836
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33836
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33837
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33837
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33838
33838
  maxRetries: z.ZodOptional<z.ZodNumber>;
33839
33839
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33840
33840
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33883,19 +33883,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33883
33883
  }, z.core.$strip>;
33884
33884
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33885
33885
  data: z.ZodObject<{
33886
- description: z.ZodNullable<z.ZodString>;
33887
- name: z.ZodString;
33888
33886
  id: z.ZodString;
33887
+ name: z.ZodString;
33888
+ description: z.ZodNullable<z.ZodString>;
33889
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33889
33890
  createdAt: z.ZodString;
33890
33891
  updatedAt: z.ZodString;
33891
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33892
33892
  contextConfigId: z.ZodNullable<z.ZodString>;
33893
33893
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33894
- description: z.ZodNullable<z.ZodString>;
33895
- name: z.ZodString;
33896
33894
  id: z.ZodString;
33897
- createdAt: z.ZodString;
33898
- updatedAt: z.ZodString;
33895
+ name: z.ZodString;
33896
+ description: z.ZodNullable<z.ZodString>;
33897
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33899
33898
  models: z.ZodNullable<z.ZodType<{
33900
33899
  base?: {
33901
33900
  model?: string | undefined;
@@ -33958,7 +33957,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33958
33957
  }, {
33959
33958
  stepCountIs?: number | undefined;
33960
33959
  }>>>;
33961
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33960
+ createdAt: z.ZodString;
33961
+ updatedAt: z.ZodString;
33962
33962
  type: z.ZodLiteral<"internal">;
33963
33963
  canUse: z.ZodArray<z.ZodObject<{
33964
33964
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34029,12 +34029,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34029
34029
  description: z.ZodString;
34030
34030
  }, z.core.$strip>>>;
34031
34031
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34032
- description: z.ZodNullable<z.ZodString>;
34033
- name: z.ZodString;
34034
34032
  id: z.ZodString;
34033
+ name: z.ZodString;
34034
+ description: z.ZodNullable<z.ZodString>;
34035
+ agentId: z.ZodString;
34035
34036
  createdAt: z.ZodString;
34036
34037
  updatedAt: z.ZodString;
34037
- agentId: z.ZodString;
34038
34038
  functionId: z.ZodString;
34039
34039
  relationshipId: z.ZodOptional<z.ZodString>;
34040
34040
  }, z.core.$strip>>>;
@@ -34267,7 +34267,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34267
34267
  createdAt: z.ZodString;
34268
34268
  updatedAt: z.ZodString;
34269
34269
  targetAgentId: z.ZodString;
34270
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34270
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34271
34271
  subAgentId: z.ZodString;
34272
34272
  agentId: z.ZodString;
34273
34273
  projectId: z.ZodString;
@@ -34280,7 +34280,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34280
34280
  createdAt: z.ZodString;
34281
34281
  updatedAt: z.ZodString;
34282
34282
  targetAgentId: z.ZodString;
34283
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34283
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34284
34284
  subAgentId: z.ZodString;
34285
34285
  agentId: z.ZodString;
34286
34286
  projectId: z.ZodString;
@@ -34299,7 +34299,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34299
34299
  createdAt: z.ZodString;
34300
34300
  updatedAt: z.ZodString;
34301
34301
  externalAgentId: z.ZodString;
34302
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34302
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34303
34303
  subAgentId: z.ZodString;
34304
34304
  agentId: z.ZodString;
34305
34305
  projectId: z.ZodString;
@@ -34312,7 +34312,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34312
34312
  createdAt: z.ZodString;
34313
34313
  updatedAt: z.ZodString;
34314
34314
  externalAgentId: z.ZodString;
34315
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34315
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34316
34316
  subAgentId: z.ZodString;
34317
34317
  agentId: z.ZodString;
34318
34318
  projectId: z.ZodString;
@@ -34539,7 +34539,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34539
34539
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34540
34540
  ref: z.ZodOptional<z.ZodString>;
34541
34541
  }, z.core.$strip>;
34542
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34542
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34543
34543
  id: drizzle_orm_pg_core217.PgColumn<{
34544
34544
  name: "id";
34545
34545
  tableName: "project_metadata";
@@ -34633,7 +34633,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34633
34633
  }, {}, {
34634
34634
  length: 512;
34635
34635
  }>;
34636
- }, drizzle_zod19.BuildRefine<{
34636
+ }, drizzle_zod15.BuildRefine<{
34637
34637
  id: drizzle_orm_pg_core217.PgColumn<{
34638
34638
  name: "id";
34639
34639
  tableName: "project_metadata";
@@ -34729,8 +34729,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34729
34729
  }>;
34730
34730
  }, undefined>, undefined>;
34731
34731
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
34732
- tenantId: z.ZodString;
34733
34732
  id: z.ZodString;
34733
+ tenantId: z.ZodString;
34734
34734
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34735
34735
  mainBranchName: z.ZodString;
34736
34736
  }, {
@@ -34744,10 +34744,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34744
34744
  disconnected: "disconnected";
34745
34745
  }>;
34746
34746
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34747
- Organization: "Organization";
34748
34747
  User: "User";
34748
+ Organization: "Organization";
34749
34749
  }>;
34750
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34750
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34751
34751
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34752
34752
  name: "created_at";
34753
34753
  tableName: "work_app_github_installations";
@@ -34840,7 +34840,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34840
34840
  tableName: "work_app_github_installations";
34841
34841
  dataType: "string";
34842
34842
  columnType: "PgVarchar";
34843
- data: "Organization" | "User";
34843
+ data: "User" | "Organization";
34844
34844
  driverParam: string;
34845
34845
  notNull: true;
34846
34846
  hasDefault: false;
@@ -34853,7 +34853,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34853
34853
  generated: undefined;
34854
34854
  }, {}, {
34855
34855
  length: 20;
34856
- $type: "Organization" | "User";
34856
+ $type: "User" | "Organization";
34857
34857
  }>;
34858
34858
  status: drizzle_orm_pg_core217.PgColumn<{
34859
34859
  name: "status";
@@ -34913,7 +34913,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34913
34913
  }, {}, {
34914
34914
  length: 256;
34915
34915
  }>;
34916
- }, drizzle_zod19.BuildRefine<{
34916
+ }, drizzle_zod15.BuildRefine<{
34917
34917
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34918
34918
  name: "created_at";
34919
34919
  tableName: "work_app_github_installations";
@@ -35006,7 +35006,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35006
35006
  tableName: "work_app_github_installations";
35007
35007
  dataType: "string";
35008
35008
  columnType: "PgVarchar";
35009
- data: "Organization" | "User";
35009
+ data: "User" | "Organization";
35010
35010
  driverParam: string;
35011
35011
  notNull: true;
35012
35012
  hasDefault: false;
@@ -35019,7 +35019,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35019
35019
  generated: undefined;
35020
35020
  }, {}, {
35021
35021
  length: 20;
35022
- $type: "Organization" | "User";
35022
+ $type: "User" | "Organization";
35023
35023
  }>;
35024
35024
  status: drizzle_orm_pg_core217.PgColumn<{
35025
35025
  name: "status";
@@ -35081,14 +35081,14 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35081
35081
  }>;
35082
35082
  }, undefined>, undefined>;
35083
35083
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35084
- tenantId: z.ZodString;
35085
35084
  id: z.ZodString;
35085
+ tenantId: z.ZodString;
35086
35086
  accountId: z.ZodString;
35087
35087
  installationId: z.ZodString;
35088
35088
  accountLogin: z.ZodString;
35089
35089
  accountType: z.ZodEnum<{
35090
- Organization: "Organization";
35091
35090
  User: "User";
35091
+ Organization: "Organization";
35092
35092
  }>;
35093
35093
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35094
35094
  pending: "pending";
@@ -35112,14 +35112,14 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35112
35112
  id: z.ZodString;
35113
35113
  }>, z.core.$strip>;
35114
35114
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35115
- tenantId: z.ZodString;
35116
35115
  id: z.ZodString;
35116
+ tenantId: z.ZodString;
35117
35117
  accountId: z.ZodString;
35118
35118
  installationId: z.ZodString;
35119
35119
  accountLogin: z.ZodString;
35120
35120
  accountType: z.ZodEnum<{
35121
- Organization: "Organization";
35122
35121
  User: "User";
35122
+ Organization: "Organization";
35123
35123
  }>;
35124
35124
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35125
35125
  pending: "pending";
@@ -35128,7 +35128,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35128
35128
  disconnected: "disconnected";
35129
35129
  }>>>;
35130
35130
  }>, z.core.$strip>;
35131
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35131
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35132
35132
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35133
35133
  name: "created_at";
35134
35134
  tableName: "work_app_github_repositories";
@@ -35273,7 +35273,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
35273
35273
  identity: undefined;
35274
35274
  generated: undefined;
35275
35275
  }, {}, {}>;
35276
- }, drizzle_zod19.BuildRefine<{
35276
+ }, drizzle_zod15.BuildRefine<{
35277
35277
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35278
35278
  name: "created_at";
35279
35279
  tableName: "work_app_github_repositories";
@@ -35439,7 +35439,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35439
35439
  repositoryFullName: z.ZodString;
35440
35440
  private: z.ZodOptional<z.ZodBoolean>;
35441
35441
  }>>, z.core.$strip>;
35442
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35442
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35443
35443
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35444
35444
  name: "created_at";
35445
35445
  tableName: "work_app_github_project_repository_access";
@@ -35550,7 +35550,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35550
35550
  }, {}, {
35551
35551
  length: 256;
35552
35552
  }>;
35553
- }, drizzle_zod19.BuildRefine<{
35553
+ }, drizzle_zod15.BuildRefine<{
35554
35554
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35555
35555
  name: "created_at";
35556
35556
  tableName: "work_app_github_project_repository_access";
@@ -35662,7 +35662,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35662
35662
  length: 256;
35663
35663
  }>;
35664
35664
  }, undefined>, undefined>;
35665
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35665
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35666
35666
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35667
35667
  name: "created_at";
35668
35668
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35792,7 +35792,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
35792
35792
  }, {}, {
35793
35793
  length: 256;
35794
35794
  }>;
35795
- }, drizzle_zod19.BuildRefine<{
35795
+ }, drizzle_zod15.BuildRefine<{
35796
35796
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35797
35797
  name: "created_at";
35798
35798
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35946,7 +35946,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35946
35946
  all: "all";
35947
35947
  selected: "selected";
35948
35948
  }>;
35949
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
35949
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
35950
35950
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35951
35951
  name: "created_at";
35952
35952
  tableName: "work_app_github_repositories";
@@ -36091,7 +36091,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36091
36091
  identity: undefined;
36092
36092
  generated: undefined;
36093
36093
  }, {}, {}>;
36094
- }, drizzle_zod19.BuildRefine<{
36094
+ }, drizzle_zod15.BuildRefine<{
36095
36095
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36096
36096
  name: "created_at";
36097
36097
  tableName: "work_app_github_repositories";