@inkeep/agents-core 0.0.0-dev-20260305190124 → 0.0.0-dev-20260305213948

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 (31) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +135 -135
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +3 -3
  6. package/dist/constants/allowed-image-formats.d.ts +8 -0
  7. package/dist/constants/allowed-image-formats.js +38 -0
  8. package/dist/constants/otel-attributes.d.ts +1 -0
  9. package/dist/constants/otel-attributes.js +1 -0
  10. package/dist/data-access/manage/agents.d.ts +42 -42
  11. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  12. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  13. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  14. package/dist/data-access/manage/functionTools.d.ts +18 -18
  15. package/dist/data-access/manage/skills.d.ts +14 -14
  16. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  18. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  19. package/dist/data-access/manage/subAgents.d.ts +18 -18
  20. package/dist/data-access/manage/tools.d.ts +24 -24
  21. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  22. package/dist/data-access/runtime/conversations.d.ts +31 -31
  23. package/dist/data-access/runtime/messages.d.ts +21 -21
  24. package/dist/data-access/runtime/tasks.d.ts +8 -8
  25. package/dist/db/runtime/runtime-schema.d.ts +8 -8
  26. package/dist/middleware/authz-meta.d.ts +2 -2
  27. package/dist/middleware/no-auth.d.ts +2 -2
  28. package/dist/validation/dolt-schemas.d.ts +1 -1
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/schemas.d.ts +559 -559
  31. package/package.json +5 -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>;
@@ -131,7 +131,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
131
131
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
132
132
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
133
133
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
134
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core217.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod19.BuildRefine<{
385
+ }, drizzle_zod15.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core217.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -822,9 +822,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
824
  name: 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>>>;
827
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,9 +848,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod19.BuildRefine<{
1022
+ }, drizzle_zod15.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1024
1024
  name: "created_at";
1025
1025
  tableName: "sub_agent_relations";
@@ -1290,7 +1290,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1290
1290
  sourceSubAgentId: z.ZodString;
1291
1291
  externalSubAgentId: z.ZodString;
1292
1292
  }>, z.core.$strip>;
1293
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1588,7 +1588,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1588
1588
  }, {}, {
1589
1589
  length: 256;
1590
1590
  }>;
1591
- }, drizzle_zod19.BuildRefine<{
1591
+ }, drizzle_zod15.BuildRefine<{
1592
1592
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1593
1593
  name: "created_at";
1594
1594
  tableName: "agent";
@@ -1887,7 +1887,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1887
1887
  length: 256;
1888
1888
  }>;
1889
1889
  }, undefined>, undefined>;
1890
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1890
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1891
1891
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1892
1892
  name: "created_at";
1893
1893
  tableName: "agent";
@@ -2185,7 +2185,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2185
2185
  }, {}, {
2186
2186
  length: 256;
2187
2187
  }>;
2188
- }, drizzle_zod19.BuildRefine<Pick<{
2188
+ }, drizzle_zod15.BuildRefine<Pick<{
2189
2189
  createdAt: drizzle_orm_pg_core217.PgColumn<{
2190
2190
  name: "created_at";
2191
2191
  tableName: "agent";
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2751,11 +2751,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  name: z.ZodString;
2754
- createdAt: z.ZodOptional<z.ZodString>;
2755
- updatedAt: z.ZodOptional<z.ZodString>;
2756
2754
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
2755
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
2757
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2760
2758
  base?: {
2761
2759
  model?: string | undefined;
@@ -2809,7 +2807,18 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2809
2807
  providerOptions?: Record<string, any> | undefined;
2810
2808
  } | undefined;
2811
2809
  }>>>>;
2812
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2810
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2811
+ transferCountIs?: number | undefined;
2812
+ }, {
2813
+ transferCountIs?: number | undefined;
2814
+ }, z.core.$ZodTypeInternals<{
2815
+ transferCountIs?: number | undefined;
2816
+ }, {
2817
+ transferCountIs?: number | undefined;
2818
+ }>>>>;
2819
+ createdAt: z.ZodOptional<z.ZodString>;
2820
+ updatedAt: z.ZodOptional<z.ZodString>;
2821
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2822
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2814
2823
  enabled?: boolean | undefined;
2815
2824
  numEvents?: number | undefined;
@@ -2867,25 +2876,14 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2867
2876
  } | undefined;
2868
2877
  }[] | undefined;
2869
2878
  }>>>>;
2870
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2871
- transferCountIs?: number | undefined;
2872
- }, {
2873
- transferCountIs?: number | undefined;
2874
- }, z.core.$ZodTypeInternals<{
2875
- transferCountIs?: number | undefined;
2876
- }, {
2877
- transferCountIs?: number | undefined;
2878
- }>>>>;
2879
2879
  id: z.ZodString;
2880
2880
  }, z.core.$strip>;
2881
2881
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
2882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
2883
  name: 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>>>;
2886
2884
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
2885
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2889
2887
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2890
2888
  base?: {
2891
2889
  model?: string | undefined;
@@ -2939,7 +2937,18 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2939
2937
  providerOptions?: Record<string, any> | undefined;
2940
2938
  } | undefined;
2941
2939
  }>>>>>>;
2942
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2940
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2941
+ transferCountIs?: number | undefined;
2942
+ }, {
2943
+ transferCountIs?: number | undefined;
2944
+ }, z.core.$ZodTypeInternals<{
2945
+ transferCountIs?: number | undefined;
2946
+ }, {
2947
+ transferCountIs?: number | undefined;
2948
+ }>>>>>>;
2949
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2951
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2943
2952
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2944
2953
  enabled?: boolean | undefined;
2945
2954
  numEvents?: number | undefined;
@@ -2997,15 +3006,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2997
3006
  } | undefined;
2998
3007
  }[] | undefined;
2999
3008
  }>>>>>>;
3000
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3001
- transferCountIs?: number | undefined;
3002
- }, {
3003
- transferCountIs?: number | undefined;
3004
- }, z.core.$ZodTypeInternals<{
3005
- transferCountIs?: number | undefined;
3006
- }, {
3007
- transferCountIs?: number | undefined;
3008
- }>>>>>>;
3009
3009
  }, z.core.$strip>;
3010
3010
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3011
3011
  name: z.ZodString;
@@ -3274,18 +3274,18 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3274
3274
  */
3275
3275
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3276
3276
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3277
- pending: "pending";
3278
3277
  success: "success";
3278
+ pending: "pending";
3279
3279
  failed: "failed";
3280
3280
  }>;
3281
3281
  declare const TriggerSelectSchema: z.ZodObject<{
3282
3282
  createdAt: z.ZodString;
3283
3283
  updatedAt: z.ZodString;
3284
3284
  enabled: z.ZodBoolean;
3285
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3286
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3285
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3286
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3287
3287
  messageTemplate: z.ZodNullable<z.ZodString>;
3288
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3288
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3289
3289
  name: z.ZodString;
3290
3290
  description: z.ZodNullable<z.ZodString>;
3291
3291
  agentId: z.ZodString;
@@ -3344,7 +3344,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3344
3344
  out: {};
3345
3345
  in: {};
3346
3346
  }>;
3347
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3347
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3348
3348
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3349
3349
  name: "created_at";
3350
3350
  tableName: "triggers";
@@ -3714,7 +3714,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3714
3714
  }, {}, {
3715
3715
  length: 256;
3716
3716
  }>;
3717
- }, drizzle_zod19.BuildRefine<Pick<{
3717
+ }, drizzle_zod15.BuildRefine<Pick<{
3718
3718
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3719
3719
  name: "created_at";
3720
3720
  tableName: "triggers";
@@ -4084,16 +4084,16 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4088
4088
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4091
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4092
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4091
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4092
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4093
4093
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4094
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4094
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4095
4095
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4096
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4096
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4097
4097
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4098
4098
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4099
4099
  name: z.ZodOptional<z.ZodString>;
@@ -4111,10 +4111,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4111
4111
  createdAt: z.ZodString;
4112
4112
  updatedAt: z.ZodString;
4113
4113
  enabled: z.ZodBoolean;
4114
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4115
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4114
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4115
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4116
4116
  messageTemplate: z.ZodNullable<z.ZodString>;
4117
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4117
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4118
4118
  name: z.ZodString;
4119
4119
  description: z.ZodNullable<z.ZodString>;
4120
4120
  agentId: z.ZodString;
@@ -4172,16 +4172,16 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4172
4172
  }>, z.core.$strip>;
4173
4173
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
4174
  name: z.ZodString;
4175
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
4176
  createdAt: z.ZodOptional<z.ZodString>;
4176
4177
  updatedAt: z.ZodOptional<z.ZodString>;
4177
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4180
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4179
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4180
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4181
4181
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4182
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4183
4183
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4184
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4184
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4185
4185
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4186
4186
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4187
4187
  id: z.ZodOptional<z.ZodString>;
@@ -4189,12 +4189,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4189
4189
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4190
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4191
4191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4192
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4193
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4193
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4194
4194
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4195
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4195
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4196
4196
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4197
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4197
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4198
4198
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4199
4199
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4200
4200
  name: z.ZodOptional<z.ZodString>;
@@ -4211,14 +4211,14 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4211
4211
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
4212
  id: z.ZodString;
4213
4213
  name: z.ZodString;
4214
+ description: z.ZodNullable<z.ZodString>;
4214
4215
  createdAt: z.ZodString;
4215
4216
  updatedAt: z.ZodString;
4216
- description: z.ZodNullable<z.ZodString>;
4217
4217
  enabled: z.ZodBoolean;
4218
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4219
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4218
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4219
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4220
4220
  messageTemplate: z.ZodNullable<z.ZodString>;
4221
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4221
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4222
4222
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4223
4223
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4224
4224
  algorithm: z.ZodEnum<{
@@ -4269,7 +4269,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4269
4269
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
4270
  webhookUrl: z.ZodString;
4271
4271
  }, z.core.$strip>;
4272
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4272
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4273
4273
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4274
4274
  name: "trigger_id";
4275
4275
  tableName: "trigger_invocations";
@@ -4471,7 +4471,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4471
4471
  }, {}, {
4472
4472
  length: 256;
4473
4473
  }>;
4474
- }, drizzle_zod19.BuildRefine<{
4474
+ }, drizzle_zod15.BuildRefine<{
4475
4475
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4476
4476
  name: "trigger_id";
4477
4477
  tableName: "trigger_invocations";
@@ -4674,7 +4674,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4674
4674
  length: 256;
4675
4675
  }>;
4676
4676
  }, undefined>, undefined>;
4677
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4677
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4678
4678
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4679
4679
  name: "trigger_id";
4680
4680
  tableName: "trigger_invocations";
@@ -4876,7 +4876,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4876
4876
  }, {}, {
4877
4877
  length: 256;
4878
4878
  }>;
4879
- }, drizzle_zod19.BuildRefine<Pick<{
4879
+ }, drizzle_zod15.BuildRefine<Pick<{
4880
4880
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4881
4881
  name: "trigger_id";
4882
4882
  tableName: "trigger_invocations";
@@ -5078,13 +5078,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5082
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5083
  triggerId: z.ZodOptional<z.ZodString>;
5084
5084
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5085
5085
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5086
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5087
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5086
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5087
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5088
5088
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5089
5089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5090
5090
  agentId: z.ZodOptional<z.ZodString>;
@@ -5099,8 +5099,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5099
5099
  triggerId: z.ZodString;
5100
5100
  conversationId: z.ZodNullable<z.ZodString>;
5101
5101
  status: z.ZodString;
5102
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5103
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5102
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5103
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5104
5104
  errorMessage: z.ZodNullable<z.ZodString>;
5105
5105
  createdAt: z.ZodString;
5106
5106
  agentId: z.ZodString;
@@ -5113,8 +5113,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5113
5113
  status: z.ZodOptional<z.ZodString>;
5114
5114
  triggerId: z.ZodString;
5115
5115
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5116
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5117
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5116
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5117
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5118
5118
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5119
5119
  id: z.ZodString;
5120
5120
  }, z.core.$strip>;
@@ -5124,8 +5124,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5124
5124
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5125
5125
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5126
5126
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5127
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5128
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5127
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5128
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5129
5129
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5130
5130
  }, z.core.$strip>;
5131
5131
  declare const CronExpressionSchema: z.ZodString;
@@ -5153,7 +5153,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5153
  out: {};
5154
5154
  in: {};
5155
5155
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5156
+ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5157
5157
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5158
5158
  name: "created_at";
5159
5159
  tableName: "scheduled_triggers";
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5497
5497
  }, {}, {
5498
5498
  length: 256;
5499
5499
  }>;
5500
- }, drizzle_zod19.BuildRefine<Pick<{
5500
+ }, drizzle_zod15.BuildRefine<Pick<{
5501
5501
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5502
5502
  name: "created_at";
5503
5503
  tableName: "scheduled_triggers";
@@ -5841,14 +5841,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5845
5845
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
5846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
5847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5848
5848
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5849
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5850
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5851
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5851
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5852
5852
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
5853
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5854
5854
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5889,9 +5889,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5889
5889
  }>, z.core.$strip>;
5890
5890
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
5891
  name: z.ZodString;
5892
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5892
5893
  createdAt: z.ZodOptional<z.ZodString>;
5893
5894
  updatedAt: z.ZodOptional<z.ZodString>;
5894
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
5895
  enabled: z.ZodOptional<z.ZodBoolean>;
5896
5896
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
5897
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5899,7 +5899,7 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5899
5899
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
5900
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5901
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5902
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5903
5903
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5904
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5905
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5907,9 +5907,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5907
5907
  }, z.core.$strip>;
5908
5908
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
5909
  name: z.ZodString;
5910
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5910
5911
  createdAt: z.ZodOptional<z.ZodString>;
5911
5912
  updatedAt: z.ZodOptional<z.ZodString>;
5912
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
5913
  enabled: z.ZodOptional<z.ZodBoolean>;
5914
5914
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
5915
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5917,7 +5917,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5917
5917
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5918
5918
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5919
5919
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5920
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5921
5921
  maxRetries: z.ZodOptional<z.ZodNumber>;
5922
5922
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5923
5923
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5929,7 +5929,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5929
5929
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5930
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5931
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5932
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5932
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5933
5933
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
5934
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5935
5935
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5953,7 +5953,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5953
5953
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5954
5954
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5955
5955
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5956
- declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5956
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5957
5957
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5958
5958
  name: "created_at";
5959
5959
  tableName: "scheduled_workflows";
@@ -6157,7 +6157,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
6157
6157
  }, {}, {
6158
6158
  length: 256;
6159
6159
  }>;
6160
- }, drizzle_zod19.BuildRefine<{
6160
+ }, drizzle_zod15.BuildRefine<{
6161
6161
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6162
6162
  name: "created_at";
6163
6163
  tableName: "scheduled_workflows";
@@ -6362,7 +6362,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
6362
6362
  length: 256;
6363
6363
  }>;
6364
6364
  }, undefined>, undefined>;
6365
- declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6365
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6366
6366
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6367
6367
  name: "created_at";
6368
6368
  tableName: "scheduled_workflows";
@@ -6566,7 +6566,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6566
6566
  }, {}, {
6567
6567
  length: 256;
6568
6568
  }>;
6569
- }, drizzle_zod19.BuildRefine<Pick<{
6569
+ }, drizzle_zod15.BuildRefine<Pick<{
6570
6570
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6571
6571
  name: "created_at";
6572
6572
  tableName: "scheduled_workflows";
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "agentId" | "projectId" | "tenantId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6774
6774
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6802,10 +6802,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6802
6802
  }>, z.core.$strip>;
6803
6803
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
6804
  name: z.ZodString;
6805
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6805
6806
  createdAt: z.ZodOptional<z.ZodString>;
6806
6807
  updatedAt: z.ZodOptional<z.ZodString>;
6807
6808
  status: z.ZodOptional<z.ZodString>;
6808
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6809
6809
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6810
6810
  scheduledTriggerId: z.ZodString;
6811
6811
  id: z.ZodOptional<z.ZodString>;
@@ -6861,7 +6861,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6861
6861
  out: {};
6862
6862
  in: {};
6863
6863
  }>;
6864
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6864
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6865
6865
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
6866
6866
  name: "scheduled_trigger_id";
6867
6867
  tableName: "scheduled_trigger_invocations";
@@ -7119,7 +7119,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7119
7119
  }, {}, {
7120
7120
  length: 256;
7121
7121
  }>;
7122
- }, drizzle_zod19.BuildRefine<Pick<{
7122
+ }, drizzle_zod15.BuildRefine<Pick<{
7123
7123
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
7124
7124
  name: "scheduled_trigger_id";
7125
7125
  tableName: "scheduled_trigger_invocations";
@@ -7377,14 +7377,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
7381
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
7382
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
7383
  status: z.ZodOptional<z.ZodString>;
7384
7384
  scheduledFor: z.ZodOptional<z.ZodString>;
7385
7385
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7386
7386
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7387
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7387
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7388
7388
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7389
7389
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7390
7390
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7423,11 +7423,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7423
7423
  createdAt: z.ZodOptional<z.ZodString>;
7424
7424
  status: z.ZodString;
7425
7425
  scheduledTriggerId: z.ZodString;
7426
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7426
7427
  scheduledFor: z.ZodString;
7427
7428
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7428
7429
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7430
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7430
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7431
7431
  attemptNumber: z.ZodOptional<z.ZodInt>;
7432
7432
  idempotencyKey: z.ZodString;
7433
7433
  id: z.ZodString;
@@ -7437,11 +7437,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7437
7437
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7438
7438
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7439
7439
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7440
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7440
7441
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7441
7442
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7442
7443
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7444
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7444
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7445
7445
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7446
7446
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7447
7447
  }, z.core.$strip>;
@@ -7449,7 +7449,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7449
7449
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7450
7450
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7451
7451
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7452
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7452
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7453
7453
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7454
7454
  name: "created_at";
7455
7455
  tableName: "tasks";
@@ -7509,7 +7509,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7509
7509
  dataType: "json";
7510
7510
  columnType: "PgJsonb";
7511
7511
  data: {
7512
- type: "tag" | "commit" | "branch";
7512
+ type: "commit" | "tag" | "branch";
7513
7513
  name: string;
7514
7514
  hash: string;
7515
7515
  };
@@ -7525,7 +7525,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7525
7525
  generated: undefined;
7526
7526
  }, {}, {
7527
7527
  $type: {
7528
- type: "tag" | "commit" | "branch";
7528
+ type: "commit" | "tag" | "branch";
7529
7529
  name: string;
7530
7530
  hash: string;
7531
7531
  };
@@ -7663,7 +7663,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7663
7663
  }, {}, {
7664
7664
  length: 256;
7665
7665
  }>;
7666
- }, drizzle_zod19.BuildRefine<{
7666
+ }, drizzle_zod15.BuildRefine<{
7667
7667
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7668
7668
  name: "created_at";
7669
7669
  tableName: "tasks";
@@ -7723,7 +7723,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7723
7723
  dataType: "json";
7724
7724
  columnType: "PgJsonb";
7725
7725
  data: {
7726
- type: "tag" | "commit" | "branch";
7726
+ type: "commit" | "tag" | "branch";
7727
7727
  name: string;
7728
7728
  hash: string;
7729
7729
  };
@@ -7739,7 +7739,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7739
7739
  generated: undefined;
7740
7740
  }, {}, {
7741
7741
  $type: {
7742
- type: "tag" | "commit" | "branch";
7742
+ type: "commit" | "tag" | "branch";
7743
7743
  name: string;
7744
7744
  hash: string;
7745
7745
  };
@@ -7892,8 +7892,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7892
7892
  conversationId: z.ZodOptional<z.ZodString>;
7893
7893
  ref: z.ZodObject<{
7894
7894
  type: z.ZodEnum<{
7895
- tag: "tag";
7896
7895
  commit: "commit";
7896
+ tag: "tag";
7897
7897
  branch: "branch";
7898
7898
  }>;
7899
7899
  name: z.ZodString;
@@ -7917,8 +7917,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7917
7917
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  ref: z.ZodOptional<z.ZodObject<{
7919
7919
  type: z.ZodEnum<{
7920
- tag: "tag";
7921
7920
  commit: "commit";
7921
+ tag: "tag";
7922
7922
  branch: "branch";
7923
7923
  }>;
7924
7924
  name: z.ZodString;
@@ -7933,19 +7933,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7933
7933
  updatedAt: z.ZodString;
7934
7934
  contextId: z.ZodString;
7935
7935
  ref: z.ZodNullable<z.ZodType<{
7936
- type: "tag" | "commit" | "branch";
7936
+ type: "commit" | "tag" | "branch";
7937
7937
  name: string;
7938
7938
  hash: string;
7939
7939
  }, {
7940
- type: "tag" | "commit" | "branch";
7940
+ type: "commit" | "tag" | "branch";
7941
7941
  name: string;
7942
7942
  hash: string;
7943
7943
  }, z.core.$ZodTypeInternals<{
7944
- type: "tag" | "commit" | "branch";
7944
+ type: "commit" | "tag" | "branch";
7945
7945
  name: string;
7946
7946
  hash: string;
7947
7947
  }, {
7948
- type: "tag" | "commit" | "branch";
7948
+ type: "commit" | "tag" | "branch";
7949
7949
  name: string;
7950
7950
  hash: string;
7951
7951
  }>>>;
@@ -7971,8 +7971,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7971
7971
  conversationId: z.ZodOptional<z.ZodString>;
7972
7972
  ref: z.ZodObject<{
7973
7973
  type: z.ZodEnum<{
7974
- tag: "tag";
7975
7974
  commit: "commit";
7975
+ tag: "tag";
7976
7976
  branch: "branch";
7977
7977
  }>;
7978
7978
  name: z.ZodString;
@@ -7981,25 +7981,25 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
7985
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7985
7986
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7986
7990
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7987
7991
  type: z.ZodEnum<{
7988
- tag: "tag";
7989
7992
  commit: "commit";
7993
+ tag: "tag";
7990
7994
  branch: "branch";
7991
7995
  }>;
7992
7996
  name: z.ZodString;
7993
7997
  hash: z.ZodString;
7994
7998
  }, z.core.$strip>>>;
7995
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7996
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7997
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7998
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7999
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8000
7999
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8000
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8001
8001
  }, z.core.$strip>;
8002
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8002
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8003
8003
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8004
8004
  name: "created_at";
8005
8005
  tableName: "task_relations";
@@ -8148,7 +8148,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8148
8148
  }, {}, {
8149
8149
  length: 256;
8150
8150
  }>;
8151
- }, drizzle_zod19.BuildRefine<{
8151
+ }, drizzle_zod15.BuildRefine<{
8152
8152
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8153
8153
  name: "created_at";
8154
8154
  tableName: "task_relations";
@@ -8374,7 +8374,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8374
8374
  description: z.ZodOptional<z.ZodString>;
8375
8375
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8376
8376
  }, z.core.$strip>;
8377
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8377
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8378
8378
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8379
8379
  name: "created_at";
8380
8380
  tableName: "tools";
@@ -8654,7 +8654,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8654
8654
  }, {}, {
8655
8655
  length: 256;
8656
8656
  }>;
8657
- }, drizzle_zod19.BuildRefine<{
8657
+ }, drizzle_zod15.BuildRefine<{
8658
8658
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8659
8659
  name: "created_at";
8660
8660
  tableName: "tools";
@@ -8980,7 +8980,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8980
8980
  out: {};
8981
8981
  in: {};
8982
8982
  }>;
8983
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8983
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8984
8984
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8985
8985
  name: "created_at";
8986
8986
  tableName: "conversations";
@@ -9078,7 +9078,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9078
9078
  dataType: "json";
9079
9079
  columnType: "PgJsonb";
9080
9080
  data: {
9081
- type: "tag" | "commit" | "branch";
9081
+ type: "commit" | "tag" | "branch";
9082
9082
  name: string;
9083
9083
  hash: string;
9084
9084
  };
@@ -9094,7 +9094,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9094
9094
  generated: undefined;
9095
9095
  }, {}, {
9096
9096
  $type: {
9097
- type: "tag" | "commit" | "branch";
9097
+ type: "commit" | "tag" | "branch";
9098
9098
  name: string;
9099
9099
  hash: string;
9100
9100
  };
@@ -9209,7 +9209,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9209
9209
  }, {}, {
9210
9210
  length: 256;
9211
9211
  }>;
9212
- }, drizzle_zod19.BuildRefine<{
9212
+ }, drizzle_zod15.BuildRefine<{
9213
9213
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9214
9214
  name: "created_at";
9215
9215
  tableName: "conversations";
@@ -9307,7 +9307,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9307
9307
  dataType: "json";
9308
9308
  columnType: "PgJsonb";
9309
9309
  data: {
9310
- type: "tag" | "commit" | "branch";
9310
+ type: "commit" | "tag" | "branch";
9311
9311
  name: string;
9312
9312
  hash: string;
9313
9313
  };
@@ -9323,7 +9323,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9323
9323
  generated: undefined;
9324
9324
  }, {}, {
9325
9325
  $type: {
9326
- type: "tag" | "commit" | "branch";
9326
+ type: "commit" | "tag" | "branch";
9327
9327
  name: string;
9328
9328
  hash: string;
9329
9329
  };
@@ -9454,8 +9454,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9454
9454
  contextConfigId: z.ZodOptional<z.ZodString>;
9455
9455
  ref: z.ZodObject<{
9456
9456
  type: z.ZodEnum<{
9457
- tag: "tag";
9458
9457
  commit: "commit";
9458
+ tag: "tag";
9459
9459
  branch: "branch";
9460
9460
  }>;
9461
9461
  name: z.ZodString;
@@ -9480,8 +9480,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9480
9480
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9481
9481
  ref: z.ZodOptional<z.ZodObject<{
9482
9482
  type: z.ZodEnum<{
9483
- tag: "tag";
9484
9483
  commit: "commit";
9484
+ tag: "tag";
9485
9485
  branch: "branch";
9486
9486
  }>;
9487
9487
  name: z.ZodString;
@@ -9498,19 +9498,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9498
9498
  agentId: z.ZodNullable<z.ZodString>;
9499
9499
  activeSubAgentId: z.ZodString;
9500
9500
  ref: z.ZodNullable<z.ZodType<{
9501
- type: "tag" | "commit" | "branch";
9501
+ type: "commit" | "tag" | "branch";
9502
9502
  name: string;
9503
9503
  hash: string;
9504
9504
  }, {
9505
- type: "tag" | "commit" | "branch";
9505
+ type: "commit" | "tag" | "branch";
9506
9506
  name: string;
9507
9507
  hash: string;
9508
9508
  }, z.core.$ZodTypeInternals<{
9509
- type: "tag" | "commit" | "branch";
9509
+ type: "commit" | "tag" | "branch";
9510
9510
  name: string;
9511
9511
  hash: string;
9512
9512
  }, {
9513
- type: "tag" | "commit" | "branch";
9513
+ type: "commit" | "tag" | "branch";
9514
9514
  name: string;
9515
9515
  hash: string;
9516
9516
  }>>>;
@@ -9536,8 +9536,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9536
9536
  contextConfigId: z.ZodOptional<z.ZodString>;
9537
9537
  ref: z.ZodObject<{
9538
9538
  type: z.ZodEnum<{
9539
- tag: "tag";
9540
9539
  commit: "commit";
9540
+ tag: "tag";
9541
9541
  branch: "branch";
9542
9542
  }>;
9543
9543
  name: z.ZodString;
@@ -9546,26 +9546,26 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
9548
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9549
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9549
9551
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9550
9552
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9554
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9551
9556
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9552
9557
  type: z.ZodEnum<{
9553
- tag: "tag";
9554
9558
  commit: "commit";
9559
+ tag: "tag";
9555
9560
  branch: "branch";
9556
9561
  }>;
9557
9562
  name: z.ZodString;
9558
9563
  hash: z.ZodString;
9559
9564
  }, z.core.$strip>>>;
9560
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9561
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9562
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9563
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9564
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9565
9565
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9566
9566
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9567
9567
  }, z.core.$strip>;
9568
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9568
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9569
9569
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9570
9570
  name: "created_at";
9571
9571
  tableName: "messages";
@@ -9961,7 +9961,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9961
9961
  }, {}, {
9962
9962
  length: 256;
9963
9963
  }>;
9964
- }, drizzle_zod19.BuildRefine<{
9964
+ }, drizzle_zod15.BuildRefine<{
9965
9965
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9966
9966
  name: "created_at";
9967
9967
  tableName: "messages";
@@ -10461,23 +10461,23 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10461
10461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10462
10462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10463
10463
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10464
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10465
10464
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10466
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10467
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10465
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10466
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10468
10467
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10469
10468
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10470
10469
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10471
10470
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10472
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10473
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10474
10471
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10475
10472
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10473
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10476
10474
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10475
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10477
10476
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10477
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10478
10478
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10479
10479
  }, z.core.$strip>;
10480
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10480
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10481
10481
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "context_cache";
@@ -10575,7 +10575,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10575
10575
  dataType: "json";
10576
10576
  columnType: "PgJsonb";
10577
10577
  data: {
10578
- type: "tag" | "commit" | "branch";
10578
+ type: "commit" | "tag" | "branch";
10579
10579
  name: string;
10580
10580
  hash: string;
10581
10581
  };
@@ -10591,7 +10591,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10591
10591
  generated: undefined;
10592
10592
  }, {}, {
10593
10593
  $type: {
10594
- type: "tag" | "commit" | "branch";
10594
+ type: "commit" | "tag" | "branch";
10595
10595
  name: string;
10596
10596
  hash: string;
10597
10597
  };
@@ -10727,7 +10727,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10727
10727
  }, {}, {
10728
10728
  length: 256;
10729
10729
  }>;
10730
- }, drizzle_zod19.BuildRefine<{
10730
+ }, drizzle_zod15.BuildRefine<{
10731
10731
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10732
10732
  name: "created_at";
10733
10733
  tableName: "context_cache";
@@ -10825,7 +10825,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10825
10825
  dataType: "json";
10826
10826
  columnType: "PgJsonb";
10827
10827
  data: {
10828
- type: "tag" | "commit" | "branch";
10828
+ type: "commit" | "tag" | "branch";
10829
10829
  name: string;
10830
10830
  hash: string;
10831
10831
  };
@@ -10841,7 +10841,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10841
10841
  generated: undefined;
10842
10842
  }, {}, {
10843
10843
  $type: {
10844
- type: "tag" | "commit" | "branch";
10844
+ type: "commit" | "tag" | "branch";
10845
10845
  name: string;
10846
10846
  hash: string;
10847
10847
  };
@@ -10984,7 +10984,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10984
10984
  conversationId: z.ZodString;
10985
10985
  contextConfigId: z.ZodString;
10986
10986
  contextVariableKey: z.ZodString;
10987
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10987
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10988
10988
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  fetchedAt: z.ZodOptional<z.ZodString>;
10990
10990
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10993,8 +10993,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10993
10993
  id: z.ZodString;
10994
10994
  ref: z.ZodObject<{
10995
10995
  type: z.ZodEnum<{
10996
- tag: "tag";
10997
10996
  commit: "commit";
10997
+ tag: "tag";
10998
10998
  branch: "branch";
10999
10999
  }>;
11000
11000
  name: z.ZodString;
@@ -11010,7 +11010,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11010
11010
  conversationId: z.ZodOptional<z.ZodString>;
11011
11011
  contextConfigId: z.ZodOptional<z.ZodString>;
11012
11012
  contextVariableKey: z.ZodOptional<z.ZodString>;
11013
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11013
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
11014
11014
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11015
11015
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11016
11016
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -11019,8 +11019,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11019
11019
  id: z.ZodOptional<z.ZodString>;
11020
11020
  ref: z.ZodOptional<z.ZodObject<{
11021
11021
  type: z.ZodEnum<{
11022
- tag: "tag";
11023
11022
  commit: "commit";
11023
+ tag: "tag";
11024
11024
  branch: "branch";
11025
11025
  }>;
11026
11026
  name: z.ZodString;
@@ -11037,23 +11037,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11037
11037
  contextConfigId: z.ZodString;
11038
11038
  contextVariableKey: z.ZodString;
11039
11039
  ref: z.ZodNullable<z.ZodType<{
11040
- type: "tag" | "commit" | "branch";
11040
+ type: "commit" | "tag" | "branch";
11041
11041
  name: string;
11042
11042
  hash: string;
11043
11043
  }, {
11044
- type: "tag" | "commit" | "branch";
11044
+ type: "commit" | "tag" | "branch";
11045
11045
  name: string;
11046
11046
  hash: string;
11047
11047
  }, z.core.$ZodTypeInternals<{
11048
- type: "tag" | "commit" | "branch";
11048
+ type: "commit" | "tag" | "branch";
11049
11049
  name: string;
11050
11050
  hash: string;
11051
11051
  }, {
11052
- type: "tag" | "commit" | "branch";
11052
+ type: "commit" | "tag" | "branch";
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
11056
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
11056
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
11057
11057
  requestHash: z.ZodNullable<z.ZodString>;
11058
11058
  fetchedAt: z.ZodString;
11059
11059
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -11067,7 +11067,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11067
11067
  conversationId: z.ZodString;
11068
11068
  contextConfigId: z.ZodString;
11069
11069
  contextVariableKey: z.ZodString;
11070
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
11070
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
11071
11071
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11072
11072
  fetchedAt: z.ZodOptional<z.ZodString>;
11073
11073
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11076,8 +11076,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11076
11076
  id: z.ZodString;
11077
11077
  ref: z.ZodObject<{
11078
11078
  type: z.ZodEnum<{
11079
- tag: "tag";
11080
11079
  commit: "commit";
11080
+ tag: "tag";
11081
11081
  branch: "branch";
11082
11082
  }>;
11083
11083
  name: z.ZodString;
@@ -11086,26 +11086,26 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
11088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
11089
11090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11090
11091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11092
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11091
11093
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11092
11094
  type: z.ZodEnum<{
11093
- tag: "tag";
11094
11095
  commit: "commit";
11096
+ tag: "tag";
11095
11097
  branch: "branch";
11096
11098
  }>;
11097
11099
  name: z.ZodString;
11098
11100
  hash: z.ZodString;
11099
11101
  }, z.core.$strip>>>;
11100
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11101
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11102
11102
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11103
11103
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11104
11104
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11105
11105
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11106
11106
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11107
11107
  }, z.core.$strip>;
11108
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11108
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11109
11109
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11110
11110
  name: "created_at";
11111
11111
  tableName: "dataset_run";
@@ -11248,7 +11248,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11248
11248
  }, {}, {
11249
11249
  length: 256;
11250
11250
  }>;
11251
- }, drizzle_zod19.BuildRefine<{
11251
+ }, drizzle_zod15.BuildRefine<{
11252
11252
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11253
11253
  name: "created_at";
11254
11254
  tableName: "dataset_run";
@@ -11432,17 +11432,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
11432
11432
  createdAt: z.ZodOptional<z.ZodString>;
11433
11433
  updatedAt: z.ZodOptional<z.ZodString>;
11434
11434
  datasetId: z.ZodString;
11435
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
11435
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11437
11437
  }, z.core.$strip>;
11438
11438
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11439
11439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
11440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
11441
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
11442
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
11444
  }, z.core.$strip>;
11445
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11445
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11446
11446
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11447
11447
  name: "created_at";
11448
11448
  tableName: "dataset_run_conversation_relations";
@@ -11585,7 +11585,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
11585
11585
  }, {}, {
11586
11586
  length: 256;
11587
11587
  }>;
11588
- }, drizzle_zod19.BuildRefine<{
11588
+ }, drizzle_zod15.BuildRefine<{
11589
11589
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11590
11590
  name: "created_at";
11591
11591
  tableName: "dataset_run_conversation_relations";
@@ -11779,7 +11779,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11779
11779
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11780
11780
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11781
11781
  }, z.core.$strip>;
11782
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11782
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11783
11783
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11784
11784
  name: "created_at";
11785
11785
  tableName: "evaluation_result";
@@ -11941,7 +11941,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
11941
11941
  }, {}, {
11942
11942
  length: 256;
11943
11943
  }>;
11944
- }, drizzle_zod19.BuildRefine<{
11944
+ }, drizzle_zod15.BuildRefine<{
11945
11945
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11946
11946
  name: "created_at";
11947
11947
  tableName: "evaluation_result";
@@ -12147,19 +12147,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12147
12147
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12148
12148
  createdAt: z.ZodOptional<z.ZodString>;
12149
12149
  updatedAt: z.ZodOptional<z.ZodString>;
12150
- conversationId: z.ZodString;
12151
12150
  evaluatorId: z.ZodString;
12151
+ conversationId: z.ZodString;
12152
12152
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12153
12153
  }, z.core.$strip>;
12154
12154
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12155
12155
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12156
12156
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
12157
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12158
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
12158
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
12160
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12161
12161
  }, z.core.$strip>;
12162
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12162
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12163
12163
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12164
12164
  name: "created_at";
12165
12165
  tableName: "evaluation_run";
@@ -12285,7 +12285,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12285
12285
  }, {}, {
12286
12286
  length: 256;
12287
12287
  }>;
12288
- }, drizzle_zod19.BuildRefine<{
12288
+ }, drizzle_zod15.BuildRefine<{
12289
12289
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12290
12290
  name: "created_at";
12291
12291
  tableName: "evaluation_run";
@@ -12448,16 +12448,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
12448
12448
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
12449
12449
  createdAt: z.ZodOptional<z.ZodString>;
12450
12450
  updatedAt: z.ZodOptional<z.ZodString>;
12451
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
12451
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12453
12453
  }, z.core.$strip>;
12454
12454
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12455
12455
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12456
12456
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12457
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
12457
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
12459
  }, z.core.$strip>;
12460
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12460
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12461
12461
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12462
12462
  name: "created_at";
12463
12463
  tableName: "evaluation_run_config";
@@ -12602,7 +12602,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
12602
12602
  }, {}, {
12603
12603
  length: 256;
12604
12604
  }>;
12605
- }, drizzle_zod19.BuildRefine<{
12605
+ }, drizzle_zod15.BuildRefine<{
12606
12606
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12607
12607
  name: "created_at";
12608
12608
  tableName: "evaluation_run_config";
@@ -12786,30 +12786,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12786
12786
  }>, z.core.$strip>;
12787
12787
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
12788
  name: z.ZodString;
12789
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12789
12790
  createdAt: z.ZodOptional<z.ZodString>;
12790
12791
  updatedAt: z.ZodOptional<z.ZodString>;
12791
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12792
12792
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12793
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12794
  }, z.core.$strip>;
12795
12795
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
12796
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12797
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12797
12798
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12798
12799
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12800
12800
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12801
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12802
  }, z.core.$strip>;
12803
12803
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
12804
  id: z.ZodString;
12805
12805
  name: z.ZodString;
12806
+ description: z.ZodNullable<z.ZodString>;
12806
12807
  createdAt: z.ZodString;
12807
12808
  updatedAt: z.ZodString;
12808
- description: z.ZodNullable<z.ZodString>;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
12812
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12812
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12813
12813
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12814
12814
  name: "created_at";
12815
12815
  tableName: "evaluation_job_config";
@@ -12934,7 +12934,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
12934
12934
  }, {}, {
12935
12935
  length: 256;
12936
12936
  }>;
12937
- }, drizzle_zod19.BuildRefine<{
12937
+ }, drizzle_zod15.BuildRefine<{
12938
12938
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12939
12939
  name: "created_at";
12940
12940
  tableName: "evaluation_job_config";
@@ -13241,7 +13241,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13241
13241
  } | undefined;
13242
13242
  }>>>>>>>;
13243
13243
  }, z.core.$strip>;
13244
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13244
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13245
13245
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13246
13246
  name: "created_at";
13247
13247
  tableName: "evaluation_suite_config";
@@ -13369,7 +13369,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
13369
13369
  }, {}, {
13370
13370
  length: 256;
13371
13371
  }>;
13372
- }, drizzle_zod19.BuildRefine<{
13372
+ }, drizzle_zod15.BuildRefine<{
13373
13373
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13374
13374
  name: "created_at";
13375
13375
  tableName: "evaluation_suite_config";
@@ -13545,7 +13545,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13545
13545
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13546
13546
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13547
13547
  }, z.core.$strip>;
13548
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13548
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13549
13549
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13550
13550
  name: "created_at";
13551
13551
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13675,7 +13675,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13675
13675
  }, {}, {
13676
13676
  length: 256;
13677
13677
  }>;
13678
- }, drizzle_zod19.BuildRefine<{
13678
+ }, drizzle_zod15.BuildRefine<{
13679
13679
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13680
13680
  name: "created_at";
13681
13681
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13842,16 +13842,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13842
13842
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13843
13843
  createdAt: z.ZodOptional<z.ZodString>;
13844
13844
  updatedAt: z.ZodOptional<z.ZodString>;
13845
- evaluationRunConfigId: z.ZodString;
13846
13845
  evaluationSuiteConfigId: z.ZodString;
13846
+ evaluationRunConfigId: z.ZodString;
13847
13847
  }, z.core.$strip>;
13848
13848
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13849
13849
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13850
13850
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13851
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13851
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13853
  }, z.core.$strip>;
13854
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13854
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13855
13855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13856
13856
  name: "created_at";
13857
13857
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13981,7 +13981,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod19.BuildRefine<{
13984
+ }, drizzle_zod15.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14148,16 +14148,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
14148
14148
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14149
14149
  createdAt: z.ZodOptional<z.ZodString>;
14150
14150
  updatedAt: z.ZodOptional<z.ZodString>;
14151
- evaluationJobConfigId: z.ZodString;
14152
14151
  evaluatorId: z.ZodString;
14152
+ evaluationJobConfigId: z.ZodString;
14153
14153
  }, z.core.$strip>;
14154
14154
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14155
14155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14156
14156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14157
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
14157
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
14159
  }, z.core.$strip>;
14160
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14160
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
14161
14161
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14162
14162
  name: "created_at";
14163
14163
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14287,7 +14287,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
14287
14287
  }, {}, {
14288
14288
  length: 256;
14289
14289
  }>;
14290
- }, drizzle_zod19.BuildRefine<{
14290
+ }, drizzle_zod15.BuildRefine<{
14291
14291
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14292
14292
  name: "created_at";
14293
14293
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14454,16 +14454,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
14454
14454
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14455
14455
  createdAt: z.ZodOptional<z.ZodString>;
14456
14456
  updatedAt: z.ZodOptional<z.ZodString>;
14457
- evaluatorId: z.ZodString;
14458
14457
  evaluationSuiteConfigId: z.ZodString;
14458
+ evaluatorId: z.ZodString;
14459
14459
  }, z.core.$strip>;
14460
14460
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14461
14461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14462
14462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14463
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
14463
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
14465
  }, z.core.$strip>;
14466
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14466
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14467
14467
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14468
14468
  name: "created_at";
14469
14469
  tableName: "evaluator";
@@ -14671,7 +14671,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14671
14671
  }, {}, {
14672
14672
  length: 256;
14673
14673
  }>;
14674
- }, drizzle_zod19.BuildRefine<{
14674
+ }, drizzle_zod15.BuildRefine<{
14675
14675
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14676
14676
  name: "created_at";
14677
14677
  tableName: "evaluator";
@@ -14963,10 +14963,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14963
14963
  }>, z.core.$strip>;
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
14965
  name: z.ZodString;
14966
- createdAt: z.ZodOptional<z.ZodString>;
14967
- updatedAt: z.ZodOptional<z.ZodString>;
14968
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14969
14966
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
+ prompt: z.ZodString;
14970
14968
  model: z.ZodType<{
14971
14969
  model?: string | undefined;
14972
14970
  providerOptions?: Record<string, any> | undefined;
@@ -14980,15 +14978,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14980
14978
  model?: string | undefined;
14981
14979
  providerOptions?: Record<string, any> | undefined;
14982
14980
  }>>;
14983
- prompt: z.ZodString;
14981
+ createdAt: z.ZodOptional<z.ZodString>;
14982
+ updatedAt: z.ZodOptional<z.ZodString>;
14983
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14984
14984
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14985
  }, z.core.$strip>;
14986
14986
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
14987
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14988
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14989
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14991
14988
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14992
14990
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14993
14991
  model?: string | undefined;
14994
14992
  providerOptions?: Record<string, any> | undefined;
@@ -15002,10 +15000,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15002
15000
  model?: string | undefined;
15003
15001
  providerOptions?: Record<string, any> | undefined;
15004
15002
  }>>>>;
15005
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15003
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15005
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15006
15006
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
15007
  }, z.core.$strip>;
15008
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
15008
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
15009
15009
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15010
15010
  name: "created_at";
15011
15011
  tableName: "dataset";
@@ -15116,7 +15116,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
15116
15116
  }, {}, {
15117
15117
  length: 256;
15118
15118
  }>;
15119
- }, drizzle_zod19.BuildRefine<{
15119
+ }, drizzle_zod15.BuildRefine<{
15120
15120
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15121
15121
  name: "created_at";
15122
15122
  tableName: "dataset";
@@ -15268,7 +15268,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15268
15268
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15269
15269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15270
15270
  }, z.core.$strip>;
15271
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15271
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15272
15272
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15273
15273
  name: "created_at";
15274
15274
  tableName: "dataset_item";
@@ -15456,7 +15456,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15456
15456
  }, {}, {
15457
15457
  length: 256;
15458
15458
  }>;
15459
- }, drizzle_zod19.BuildRefine<{
15459
+ }, drizzle_zod15.BuildRefine<{
15460
15460
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15461
15461
  name: "created_at";
15462
15462
  tableName: "dataset_item";
@@ -16027,7 +16027,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
16027
16027
  }, z.core.$strip>>;
16028
16028
  }, z.core.$strip>>>;
16029
16029
  }, z.core.$strip>;
16030
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
16030
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
16031
16031
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16032
16032
  name: "created_at";
16033
16033
  tableName: "dataset_run_config";
@@ -16174,7 +16174,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
16174
16174
  }, {}, {
16175
16175
  length: 256;
16176
16176
  }>;
16177
- }, drizzle_zod19.BuildRefine<{
16177
+ }, drizzle_zod15.BuildRefine<{
16178
16178
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16179
16179
  name: "created_at";
16180
16180
  tableName: "dataset_run_config";
@@ -16360,19 +16360,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16360
16360
  }>, z.core.$strip>;
16361
16361
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
16362
  name: z.ZodString;
16363
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16363
16364
  createdAt: z.ZodOptional<z.ZodString>;
16364
16365
  updatedAt: z.ZodOptional<z.ZodString>;
16365
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
16366
  datasetId: z.ZodString;
16367
16367
  }, z.core.$strip>;
16368
16368
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
16369
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16370
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16370
16371
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16371
16372
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16375
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16376
16376
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16377
16377
  name: "created_at";
16378
16378
  tableName: "dataset_run_config_agent_relations";
@@ -16502,7 +16502,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
16502
16502
  }, {}, {
16503
16503
  length: 256;
16504
16504
  }>;
16505
- }, drizzle_zod19.BuildRefine<{
16505
+ }, drizzle_zod15.BuildRefine<{
16506
16506
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16507
16507
  name: "created_at";
16508
16508
  tableName: "dataset_run_config_agent_relations";
@@ -16678,20 +16678,20 @@ declare const SkillSelectSchema: z.ZodObject<{
16678
16678
  }>;
16679
16679
  declare const SkillInsertSchema: z.ZodObject<{
16680
16680
  name: z.ZodString;
16681
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16682
16681
  description: z.ZodString;
16683
- projectId: z.ZodString;
16684
16682
  tenantId: z.ZodString;
16683
+ projectId: z.ZodString;
16684
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16685
  content: z.ZodString;
16686
16686
  }, {
16687
16687
  out: {};
16688
16688
  in: {};
16689
16689
  }>;
16690
16690
  declare const SkillUpdateSchema: z.ZodObject<{
16691
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16692
16691
  description: z.ZodOptional<z.ZodString>;
16693
- projectId: z.ZodOptional<z.ZodString>;
16694
16692
  tenantId: z.ZodOptional<z.ZodString>;
16693
+ projectId: z.ZodOptional<z.ZodString>;
16694
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16695
  content: z.ZodOptional<z.ZodString>;
16696
16696
  }, {
16697
16697
  out: {};
@@ -16710,18 +16710,18 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16710
16710
  }>, z.core.$strip>;
16711
16711
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
16712
  name: z.ZodString;
16713
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16714
16713
  description: z.ZodString;
16715
- projectId: z.ZodString;
16716
16714
  tenantId: z.ZodString;
16715
+ projectId: z.ZodString;
16716
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16717
  content: z.ZodString;
16718
16718
  }>, z.core.$strip>;
16719
16719
  declare const SkillApiUpdateSchema: z.ZodObject<{
16720
- metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16721
16720
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16721
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16722
16722
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16723
16723
  }, z.core.$strip>;
16724
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16724
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16725
16725
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16726
16726
  name: "created_at";
16727
16727
  tableName: "data_components";
@@ -16907,7 +16907,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16907
16907
  }, {}, {
16908
16908
  length: 256;
16909
16909
  }>;
16910
- }, drizzle_zod19.BuildRefine<{
16910
+ }, drizzle_zod15.BuildRefine<{
16911
16911
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16912
16912
  name: "created_at";
16913
16913
  tableName: "data_components";
@@ -17307,7 +17307,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17307
17307
  description: z.ZodOptional<z.ZodString>;
17308
17308
  }, z.core.$loose>;
17309
17309
  }, z.core.$strip>;
17310
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17310
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17311
17311
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17312
17312
  name: "data_component_id";
17313
17313
  tableName: "sub_agent_data_components";
@@ -17439,7 +17439,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
17439
17439
  }, {}, {
17440
17440
  length: 256;
17441
17441
  }>;
17442
- }, drizzle_zod19.BuildRefine<{
17442
+ }, drizzle_zod15.BuildRefine<{
17443
17443
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17444
17444
  name: "data_component_id";
17445
17445
  tableName: "sub_agent_data_components";
@@ -17572,7 +17572,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
17572
17572
  length: 256;
17573
17573
  }>;
17574
17574
  }, undefined>, undefined>;
17575
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17575
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17576
17576
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17577
17577
  name: "data_component_id";
17578
17578
  tableName: "sub_agent_data_components";
@@ -17704,7 +17704,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17704
17704
  }, {}, {
17705
17705
  length: 256;
17706
17706
  }>;
17707
- }, drizzle_zod19.BuildRefine<Pick<{
17707
+ }, drizzle_zod15.BuildRefine<Pick<{
17708
17708
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17709
17709
  name: "data_component_id";
17710
17710
  tableName: "sub_agent_data_components";
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17840
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17841
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17842
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17872,7 +17872,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17872
17872
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17873
17873
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17874
17874
  }, z.core.$strip>;
17875
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17875
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17876
17876
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17877
17877
  name: "created_at";
17878
17878
  tableName: "artifact_components";
@@ -18058,7 +18058,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
18058
18058
  }, {}, {
18059
18059
  length: 256;
18060
18060
  }>;
18061
- }, drizzle_zod19.BuildRefine<{
18061
+ }, drizzle_zod15.BuildRefine<{
18062
18062
  createdAt: drizzle_orm_pg_core217.PgColumn<{
18063
18063
  name: "created_at";
18064
18064
  tableName: "artifact_components";
@@ -18435,9 +18435,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18435
18435
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
18436
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
18437
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18438
18439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18439
18440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18441
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18442
18442
  [x: string]: unknown;
18443
18443
  type: "object";
@@ -18481,7 +18481,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18481
18481
  mockData: Record<string, unknown>;
18482
18482
  }>>>>>>;
18483
18483
  }, z.core.$strip>;
18484
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18484
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18485
18485
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18486
18486
  name: "artifact_component_id";
18487
18487
  tableName: "sub_agent_artifact_components";
@@ -18613,7 +18613,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
18613
18613
  }, {}, {
18614
18614
  length: 256;
18615
18615
  }>;
18616
- }, drizzle_zod19.BuildRefine<{
18616
+ }, drizzle_zod15.BuildRefine<{
18617
18617
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18618
18618
  name: "artifact_component_id";
18619
18619
  tableName: "sub_agent_artifact_components";
@@ -18852,10 +18852,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18852
18852
  }>, z.core.$strip>;
18853
18853
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18854
18854
  agentId: z.ZodString;
18855
- subAgentId: z.ZodString;
18856
- skillId: z.ZodString;
18857
18855
  index: z.ZodInt;
18858
18856
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18857
+ subAgentId: z.ZodString;
18858
+ skillId: z.ZodString;
18859
18859
  }, {
18860
18860
  out: {};
18861
18861
  in: {};
@@ -18864,18 +18864,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18864
18864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18865
18865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18866
18866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18867
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18868
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18869
18867
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18870
18868
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18869
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18870
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18871
18871
  }, z.core.$strip>;
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
18873
  id: z.ZodString;
18874
18874
  name: z.ZodString;
18875
+ description: z.ZodString;
18875
18876
  createdAt: z.ZodString;
18876
18877
  updatedAt: z.ZodString;
18877
18878
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18878
- description: z.ZodString;
18879
18879
  content: z.ZodString;
18880
18880
  subAgentSkillId: z.ZodString;
18881
18881
  subAgentId: z.ZodString;
@@ -18949,18 +18949,18 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18949
18949
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
18950
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
18951
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18952
18953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18953
18954
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18955
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18955
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18956
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18957
18957
  }, z.core.$strip>;
18958
18958
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
18959
  id: z.ZodString;
18960
18960
  name: z.ZodString;
18961
- createdAt: z.ZodString;
18962
- updatedAt: z.ZodString;
18963
18961
  description: z.ZodNullable<z.ZodString>;
18962
+ prompt: z.ZodNullable<z.ZodString>;
18963
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18964
18964
  models: z.ZodNullable<z.ZodType<{
18965
18965
  base?: {
18966
18966
  model?: string | undefined;
@@ -19014,7 +19014,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19014
19014
  providerOptions?: Record<string, any> | undefined;
19015
19015
  } | undefined;
19016
19016
  }>>>;
19017
- prompt: z.ZodNullable<z.ZodString>;
19018
19017
  stopWhen: z.ZodNullable<z.ZodType<{
19019
19018
  stepCountIs?: number | undefined;
19020
19019
  }, {
@@ -19024,19 +19023,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19024
19023
  }, {
19025
19024
  stepCountIs?: number | undefined;
19026
19025
  }>>>;
19027
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
19026
+ createdAt: z.ZodString;
19027
+ updatedAt: z.ZodString;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
19030
  id: z.ZodString;
19031
19031
  name: z.ZodString;
19032
+ description: z.ZodNullable<z.ZodString>;
19032
19033
  createdAt: z.ZodString;
19033
19034
  updatedAt: z.ZodString;
19034
- description: z.ZodNullable<z.ZodString>;
19035
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
19035
  baseUrl: z.ZodString;
19036
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19037
19037
  type: z.ZodLiteral<"external">;
19038
19038
  }, z.core.$strip>], "type">;
19039
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
19039
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19040
19040
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19041
19041
  name: "created_at";
19042
19042
  tableName: "api_keys";
@@ -19257,7 +19257,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
19257
19257
  }, {}, {
19258
19258
  length: 256;
19259
19259
  }>;
19260
- }, drizzle_zod19.BuildRefine<{
19260
+ }, drizzle_zod15.BuildRefine<{
19261
19261
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19262
19262
  name: "created_at";
19263
19263
  tableName: "api_keys";
@@ -19498,9 +19498,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
19498
  }>;
19499
19499
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
19500
  name: z.ZodOptional<z.ZodString>;
19501
+ agentId: z.ZodOptional<z.ZodString>;
19501
19502
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19502
19503
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19503
- agentId: z.ZodOptional<z.ZodString>;
19504
19504
  }, {
19505
19505
  out: {};
19506
19506
  in: {};
@@ -19508,10 +19508,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
19509
  id: z.ZodString;
19510
19510
  name: z.ZodNullable<z.ZodString>;
19511
+ agentId: z.ZodString;
19511
19512
  createdAt: z.ZodString;
19512
19513
  updatedAt: z.ZodString;
19513
19514
  expiresAt: z.ZodNullable<z.ZodString>;
19514
- agentId: z.ZodString;
19515
19515
  publicId: z.ZodString;
19516
19516
  keyPrefix: z.ZodString;
19517
19517
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19524,10 +19524,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19524
19524
  apiKey: z.ZodObject<{
19525
19525
  id: z.ZodString;
19526
19526
  name: z.ZodNullable<z.ZodString>;
19527
+ agentId: z.ZodString;
19527
19528
  createdAt: z.ZodString;
19528
19529
  updatedAt: z.ZodString;
19529
19530
  expiresAt: z.ZodNullable<z.ZodString>;
19530
- agentId: z.ZodString;
19531
19531
  publicId: z.ZodString;
19532
19532
  keyPrefix: z.ZodString;
19533
19533
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19540,24 +19540,24 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19540
19540
  }, z.core.$strip>;
19541
19541
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
19542
  name: z.ZodString;
19543
+ agentId: z.ZodString;
19543
19544
  createdAt: z.ZodOptional<z.ZodString>;
19544
19545
  updatedAt: z.ZodOptional<z.ZodString>;
19545
19546
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19546
- agentId: z.ZodString;
19547
19547
  }, {
19548
19548
  out: {};
19549
19549
  in: {};
19550
19550
  }>;
19551
19551
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
19552
  name: z.ZodOptional<z.ZodString>;
19553
+ agentId: z.ZodOptional<z.ZodString>;
19553
19554
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19554
19555
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19555
- agentId: z.ZodOptional<z.ZodString>;
19556
19556
  }, {
19557
19557
  out: {};
19558
19558
  in: {};
19559
19559
  }>;
19560
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19560
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19561
19561
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19562
19562
  name: "created_at";
19563
19563
  tableName: "credential_references";
@@ -19782,7 +19782,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
19782
19782
  }, {}, {
19783
19783
  length: 256;
19784
19784
  }>;
19785
- }, drizzle_zod19.BuildRefine<{
19785
+ }, drizzle_zod15.BuildRefine<{
19786
19786
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19787
19787
  name: "created_at";
19788
19788
  tableName: "credential_references";
@@ -20047,17 +20047,17 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20047
20047
  name: z.ZodString;
20048
20048
  createdAt: z.ZodString;
20049
20049
  updatedAt: z.ZodString;
20050
+ toolId: z.ZodNullable<z.ZodString>;
20050
20051
  userId: z.ZodNullable<z.ZodString>;
20051
20052
  createdBy: z.ZodNullable<z.ZodString>;
20052
20053
  credentialStoreId: z.ZodString;
20053
20054
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20054
- toolId: z.ZodNullable<z.ZodString>;
20055
20055
  type: z.ZodEnum<{
20056
20056
  readonly memory: "memory";
20057
20057
  readonly keychain: "keychain";
20058
20058
  readonly nango: "nango";
20059
20059
  }>;
20060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
20060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
20061
20061
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20062
20062
  name: "created_at";
20063
20063
  tableName: "tools";
@@ -20337,7 +20337,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20337
20337
  }, {}, {
20338
20338
  length: 256;
20339
20339
  }>;
20340
- }, drizzle_zod19.BuildRefine<{
20340
+ }, drizzle_zod15.BuildRefine<{
20341
20341
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20342
20342
  name: "created_at";
20343
20343
  tableName: "tools";
@@ -20638,11 +20638,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20638
20638
  name: z.ZodString;
20639
20639
  createdAt: z.ZodOptional<z.ZodString>;
20640
20640
  updatedAt: z.ZodOptional<z.ZodString>;
20641
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20641
20642
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
20643
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20643
20644
  credentialStoreId: z.ZodString;
20644
20645
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20645
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20646
20646
  type: z.ZodEnum<{
20647
20647
  readonly memory: "memory";
20648
20648
  readonly keychain: "keychain";
@@ -20654,11 +20654,11 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20654
20654
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
20655
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20656
20656
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20657
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20657
20658
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
20659
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20659
20660
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20660
20661
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20661
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20662
20662
  type: z.ZodOptional<z.ZodEnum<{
20663
20663
  readonly memory: "memory";
20664
20664
  readonly keychain: "keychain";
@@ -20783,8 +20783,8 @@ declare const McpToolSchema: z.ZodObject<{
20783
20783
  declare const MCPToolConfigSchema: z.ZodObject<{
20784
20784
  id: z.ZodString;
20785
20785
  name: z.ZodString;
20786
- expiresAt: z.ZodOptional<z.ZodString>;
20787
20786
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20787
+ expiresAt: z.ZodOptional<z.ZodString>;
20788
20788
  createdBy: z.ZodOptional<z.ZodString>;
20789
20789
  credentialScope: z.ZodOptional<z.ZodString>;
20790
20790
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -20821,11 +20821,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20821
20821
  name: z.ZodString;
20822
20822
  createdAt: z.ZodOptional<z.ZodString>;
20823
20823
  updatedAt: z.ZodOptional<z.ZodString>;
20824
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20824
20825
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
20826
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20826
20827
  credentialStoreId: z.ZodString;
20827
20828
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20828
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20829
20829
  type: z.ZodEnum<{
20830
20830
  readonly memory: "memory";
20831
20831
  readonly keychain: "keychain";
@@ -20962,9 +20962,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20962
20962
  declare const ToolApiUpdateSchema: z.ZodObject<{
20963
20963
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20964
20964
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20965
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20965
20966
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20966
20967
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20968
20968
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20969
20969
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20970
20970
  type: z.ZodLiteral<"mcp">;
@@ -20999,7 +20999,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20999
20999
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21000
21000
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
21001
21001
  }, z.core.$strip>;
21002
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21002
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
21003
21003
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21004
21004
  name: "created_at";
21005
21005
  tableName: "function_tools";
@@ -21165,7 +21165,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21165
21165
  }, {}, {
21166
21166
  length: 256;
21167
21167
  }>;
21168
- }, drizzle_zod19.BuildRefine<{
21168
+ }, drizzle_zod15.BuildRefine<{
21169
21169
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21170
21170
  name: "created_at";
21171
21171
  tableName: "function_tools";
@@ -21363,10 +21363,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21363
21363
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21364
21364
  id: z.ZodString;
21365
21365
  name: z.ZodString;
21366
- createdAt: z.ZodString;
21367
- updatedAt: z.ZodString;
21368
21366
  description: z.ZodNullable<z.ZodString>;
21369
21367
  agentId: z.ZodString;
21368
+ createdAt: z.ZodString;
21369
+ updatedAt: z.ZodString;
21370
21370
  functionId: z.ZodString;
21371
21371
  relationshipId: z.ZodOptional<z.ZodString>;
21372
21372
  }, z.core.$strip>;
@@ -21384,13 +21384,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21384
21384
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21385
21385
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21386
21386
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21388
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21389
21387
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21390
21388
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21389
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21390
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21391
21391
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21392
21392
  }, z.core.$strip>;
21393
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21393
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21394
21394
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21395
21395
  name: "created_at";
21396
21396
  tableName: "sub_agent_function_tool_relations";
@@ -21562,7 +21562,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21562
21562
  }, {}, {
21563
21563
  length: 256;
21564
21564
  }>;
21565
- }, drizzle_zod19.BuildRefine<{
21565
+ }, drizzle_zod15.BuildRefine<{
21566
21566
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21567
21567
  name: "created_at";
21568
21568
  tableName: "sub_agent_function_tool_relations";
@@ -21738,7 +21738,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21738
21738
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21739
21739
  createdAt: z.ZodOptional<z.ZodString>;
21740
21740
  updatedAt: z.ZodOptional<z.ZodString>;
21741
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21741
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21742
21742
  agentId: z.ZodString;
21743
21743
  projectId: z.ZodString;
21744
21744
  tenantId: z.ZodString;
@@ -21753,7 +21753,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21753
21753
  createdAt: z.ZodString;
21754
21754
  updatedAt: z.ZodString;
21755
21755
  functionToolId: z.ZodString;
21756
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21756
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21757
21757
  subAgentId: z.ZodString;
21758
21758
  agentId: z.ZodString;
21759
21759
  projectId: z.ZodString;
@@ -21761,14 +21761,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21761
21761
  id: z.ZodString;
21762
21762
  }>, z.core.$strip>;
21763
21763
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21764
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21764
21765
  subAgentId: z.ZodString;
21765
21766
  functionToolId: z.ZodString;
21766
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21767
21767
  }, {
21768
21768
  out: {};
21769
21769
  in: {};
21770
21770
  }>;
21771
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21771
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21772
21772
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21773
21773
  name: "created_at";
21774
21774
  tableName: "functions";
@@ -21915,7 +21915,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21915
21915
  }, {}, {
21916
21916
  length: 256;
21917
21917
  }>;
21918
- }, drizzle_zod19.BuildRefine<{
21918
+ }, drizzle_zod15.BuildRefine<{
21919
21919
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21920
21920
  name: "created_at";
21921
21921
  tableName: "functions";
@@ -22112,8 +22112,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
22112
22112
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22113
22113
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22114
22114
  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>>>>>>>;
22115
- 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>>>>>>>;
22116
22115
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22116
+ 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>>>>>>>;
22117
22117
  }, z.core.$strip>;
22118
22118
  declare const FetchConfigSchema: z.ZodObject<{
22119
22119
  url: z.ZodString;
@@ -22159,11 +22159,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22159
22159
  name: z.ZodString;
22160
22160
  createdAt: z.ZodOptional<z.ZodString>;
22161
22161
  updatedAt: z.ZodOptional<z.ZodString>;
22162
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22162
22163
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
22164
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22164
22165
  credentialStoreId: z.ZodString;
22165
22166
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22166
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22167
22167
  type: z.ZodEnum<{
22168
22168
  readonly memory: "memory";
22169
22169
  readonly keychain: "keychain";
@@ -22186,22 +22186,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22186
22186
  }>;
22187
22187
  declare const ContextConfigInsertSchema: z.ZodObject<{
22188
22188
  id: z.ZodOptional<z.ZodString>;
22189
+ tenantId: z.ZodString;
22190
+ projectId: z.ZodString;
22191
+ agentId: z.ZodString;
22189
22192
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22190
22193
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22191
- agentId: z.ZodString;
22192
- projectId: z.ZodString;
22193
- tenantId: z.ZodString;
22194
22194
  }, {
22195
22195
  out: {};
22196
22196
  in: {};
22197
22197
  }>;
22198
22198
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22199
22199
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22200
+ tenantId: z.ZodOptional<z.ZodString>;
22201
+ projectId: z.ZodOptional<z.ZodString>;
22202
+ agentId: z.ZodOptional<z.ZodString>;
22200
22203
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22201
22204
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22202
- agentId: z.ZodOptional<z.ZodString>;
22203
- projectId: z.ZodOptional<z.ZodString>;
22204
- tenantId: z.ZodOptional<z.ZodString>;
22205
22205
  }, {
22206
22206
  out: {};
22207
22207
  in: {};
@@ -22223,7 +22223,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22223
22223
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22224
22224
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22225
22225
  }, z.core.$strip>;
22226
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22226
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22227
22227
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22228
22228
  name: "created_at";
22229
22229
  tableName: "sub_agent_tool_relations";
@@ -22433,7 +22433,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
22433
22433
  }, {}, {
22434
22434
  length: 256;
22435
22435
  }>;
22436
- }, drizzle_zod19.BuildRefine<{
22436
+ }, drizzle_zod15.BuildRefine<{
22437
22437
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22438
22438
  name: "created_at";
22439
22439
  tableName: "sub_agent_tool_relations";
@@ -22684,9 +22684,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22684
22684
  createdAt: z.ZodString;
22685
22685
  updatedAt: z.ZodString;
22686
22686
  toolId: z.ZodString;
22687
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22688
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22689
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22687
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22688
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22689
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22690
22690
  subAgentId: z.ZodString;
22691
22691
  agentId: z.ZodString;
22692
22692
  projectId: z.ZodString;
@@ -22712,15 +22712,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22712
22712
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22713
22713
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22714
22714
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22715
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22716
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22717
22715
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22716
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22718
22717
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22719
22718
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22720
22719
  }, z.core.$strip>>>>>>;
22720
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22721
22721
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22722
22722
  }, z.core.$strip>;
22723
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22723
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22724
22724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22725
22725
  name: "created_at";
22726
22726
  tableName: "sub_agent_external_agent_relations";
@@ -22888,7 +22888,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
22888
22888
  }, {}, {
22889
22889
  length: 256;
22890
22890
  }>;
22891
- }, drizzle_zod19.BuildRefine<{
22891
+ }, drizzle_zod15.BuildRefine<{
22892
22892
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22893
22893
  name: "created_at";
22894
22894
  tableName: "sub_agent_external_agent_relations";
@@ -23089,7 +23089,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23089
23089
  createdAt: z.ZodString;
23090
23090
  updatedAt: z.ZodString;
23091
23091
  externalAgentId: z.ZodString;
23092
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23092
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23093
23093
  subAgentId: z.ZodString;
23094
23094
  agentId: z.ZodString;
23095
23095
  projectId: z.ZodString;
@@ -23107,10 +23107,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23107
23107
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23108
23108
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23109
23109
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23110
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
23110
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23112
23112
  }, z.core.$strip>;
23113
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23113
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
23114
23114
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23115
23115
  name: "created_at";
23116
23116
  tableName: "sub_agent_team_agent_relations";
@@ -23278,7 +23278,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
23278
23278
  }, {}, {
23279
23279
  length: 256;
23280
23280
  }>;
23281
- }, drizzle_zod19.BuildRefine<{
23281
+ }, drizzle_zod15.BuildRefine<{
23282
23282
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23283
23283
  name: "created_at";
23284
23284
  tableName: "sub_agent_team_agent_relations";
@@ -23479,7 +23479,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23479
23479
  createdAt: z.ZodString;
23480
23480
  updatedAt: z.ZodString;
23481
23481
  targetAgentId: z.ZodString;
23482
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23483
23483
  subAgentId: z.ZodString;
23484
23484
  agentId: z.ZodString;
23485
23485
  projectId: z.ZodString;
@@ -23500,7 +23500,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23500
23500
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23501
23501
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23502
23502
  }, z.core.$strip>;
23503
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23503
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23504
23504
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23505
23505
  name: "created_at";
23506
23506
  tableName: "ledger_artifacts";
@@ -23835,7 +23835,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23835
23835
  }, {}, {
23836
23836
  length: 256;
23837
23837
  }>;
23838
- }, drizzle_zod19.BuildRefine<{
23838
+ }, drizzle_zod15.BuildRefine<{
23839
23839
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23840
23840
  name: "created_at";
23841
23841
  tableName: "ledger_artifacts";
@@ -24171,7 +24171,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
24171
24171
  length: 256;
24172
24172
  }>;
24173
24173
  }, undefined>, undefined>;
24174
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24174
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24175
24175
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24176
24176
  name: "created_at";
24177
24177
  tableName: "ledger_artifacts";
@@ -24506,7 +24506,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24506
24506
  }, {}, {
24507
24507
  length: 256;
24508
24508
  }>;
24509
- }, drizzle_zod19.BuildRefine<Pick<{
24509
+ }, drizzle_zod15.BuildRefine<Pick<{
24510
24510
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24511
24511
  name: "created_at";
24512
24512
  tableName: "ledger_artifacts";
@@ -24841,7 +24841,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24841
24841
  }, {}, {
24842
24842
  length: 256;
24843
24843
  }>;
24844
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "taskId" | "toolCallId" | "contextId" | "parts" | "summary" | "mime" | "visibility" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24844
+ }, "type" | "id" | "name" | "description" | "tenantId" | "projectId" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24845
24845
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24846
24846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24847
24847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24851,12 +24851,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24851
24851
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24852
24852
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24853
24853
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24854
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24855
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24854
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24855
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24856
24856
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24857
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24857
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24858
24858
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24859
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24859
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24860
24860
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24861
24861
  projectId: z.ZodOptional<z.ZodString>;
24862
24862
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24874,12 +24874,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24874
24874
  type: z.ZodString;
24875
24875
  name: z.ZodNullable<z.ZodString>;
24876
24876
  description: z.ZodNullable<z.ZodString>;
24877
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24878
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24877
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24878
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24879
24879
  summary: z.ZodNullable<z.ZodString>;
24880
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24880
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24881
24881
  visibility: z.ZodNullable<z.ZodString>;
24882
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24882
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24883
24883
  derivedFrom: z.ZodNullable<z.ZodString>;
24884
24884
  projectId: z.ZodString;
24885
24885
  tenantId: z.ZodString;
@@ -24894,12 +24894,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24894
24894
  type: z.ZodOptional<z.ZodString>;
24895
24895
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24896
24896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24897
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24898
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24897
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24898
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24899
24899
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24900
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24900
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24901
24901
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24902
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24902
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24903
24903
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24904
24904
  projectId: z.ZodString;
24905
24905
  tenantId: z.ZodString;
@@ -24909,18 +24909,18 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24909
24909
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24910
24910
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24911
24911
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
24913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24913
24914
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24914
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24915
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24916
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24915
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24917
24916
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24918
24917
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24919
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24920
- summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24921
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24922
24918
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24923
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24919
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24920
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24921
+ summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24922
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24923
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24924
24924
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24925
24925
  }, z.core.$strip>;
24926
24926
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24988,9 +24988,8 @@ declare const TeamAgentSchema: z.ZodObject<{
24988
24988
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24989
24989
  id: z.ZodString;
24990
24990
  name: z.ZodString;
24991
- createdAt: z.ZodOptional<z.ZodString>;
24992
- updatedAt: z.ZodOptional<z.ZodString>;
24993
24991
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24992
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24994
24993
  models: z.ZodOptional<z.ZodObject<{
24995
24994
  base: z.ZodOptional<z.ZodObject<{
24996
24995
  model: z.ZodOptional<z.ZodString>;
@@ -25005,7 +25004,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25005
25004
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25006
25005
  }, z.core.$strip>>;
25007
25006
  }, z.core.$strip>>;
25008
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25007
+ createdAt: z.ZodOptional<z.ZodString>;
25008
+ updatedAt: z.ZodOptional<z.ZodString>;
25009
25009
  type: z.ZodLiteral<"internal">;
25010
25010
  canUse: z.ZodArray<z.ZodObject<{
25011
25011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25040,18 +25040,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25040
25040
  }, z.core.$strip>;
25041
25041
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25042
25042
  name: z.ZodString;
25043
- createdAt: z.ZodOptional<z.ZodString>;
25044
- updatedAt: z.ZodOptional<z.ZodString>;
25045
25043
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25046
25044
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25045
+ createdAt: z.ZodOptional<z.ZodString>;
25046
+ updatedAt: z.ZodOptional<z.ZodString>;
25047
25047
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
25048
  id: z.ZodString;
25049
25049
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25050
25050
  id: z.ZodString;
25051
25051
  name: z.ZodString;
25052
- createdAt: z.ZodOptional<z.ZodString>;
25053
- updatedAt: z.ZodOptional<z.ZodString>;
25054
25052
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25053
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25055
25054
  models: z.ZodOptional<z.ZodObject<{
25056
25055
  base: z.ZodOptional<z.ZodObject<{
25057
25056
  model: z.ZodOptional<z.ZodString>;
@@ -25066,7 +25065,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25066
25065
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25067
25066
  }, z.core.$strip>>;
25068
25067
  }, z.core.$strip>>;
25069
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25068
+ createdAt: z.ZodOptional<z.ZodString>;
25069
+ updatedAt: z.ZodOptional<z.ZodString>;
25070
25070
  type: z.ZodLiteral<"internal">;
25071
25071
  canUse: z.ZodArray<z.ZodObject<{
25072
25072
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25178,25 +25178,25 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25178
25178
  }, z.core.$strip>>>;
25179
25179
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25180
25180
  name: z.ZodString;
25181
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25181
25182
  createdAt: z.ZodOptional<z.ZodString>;
25182
25183
  updatedAt: z.ZodOptional<z.ZodString>;
25183
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25184
25184
  enabled: z.ZodOptional<z.ZodBoolean>;
25185
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25186
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25185
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25186
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25187
25187
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25188
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25188
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25189
25189
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25190
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25190
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25191
25191
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25192
25192
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25193
25193
  id: z.ZodOptional<z.ZodString>;
25194
25194
  }, z.core.$strip>>>;
25195
25195
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
25196
  name: z.ZodString;
25197
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25197
25198
  createdAt: z.ZodOptional<z.ZodString>;
25198
25199
  updatedAt: z.ZodOptional<z.ZodString>;
25199
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25200
25200
  enabled: z.ZodOptional<z.ZodBoolean>;
25201
25201
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25202
25202
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25204,7 +25204,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25204
25204
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25205
25205
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25206
25206
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25207
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25207
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25208
25208
  maxRetries: z.ZodOptional<z.ZodNumber>;
25209
25209
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25210
25210
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25363,8 +25363,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25363
25363
  declare const ProjectApiSelectSchema: z.ZodObject<{
25364
25364
  id: z.ZodString;
25365
25365
  name: z.ZodString;
25366
- createdAt: z.ZodString;
25367
- updatedAt: z.ZodString;
25368
25366
  description: z.ZodNullable<z.ZodString>;
25369
25367
  models: z.ZodNullable<z.ZodObject<{
25370
25368
  base: z.ZodObject<{
@@ -25384,6 +25382,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25384
25382
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25385
25383
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25386
25384
  }, z.core.$strip>>;
25385
+ createdAt: z.ZodString;
25386
+ updatedAt: z.ZodString;
25387
25387
  }, {
25388
25388
  out: {};
25389
25389
  in: {};
@@ -25463,18 +25463,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25463
25463
  }, z.core.$strip>>;
25464
25464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25465
25465
  name: z.ZodString;
25466
- createdAt: z.ZodOptional<z.ZodString>;
25467
- updatedAt: z.ZodOptional<z.ZodString>;
25468
25466
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25469
25467
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25468
+ createdAt: z.ZodOptional<z.ZodString>;
25469
+ updatedAt: z.ZodOptional<z.ZodString>;
25470
25470
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25471
25471
  id: z.ZodString;
25472
25472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25473
25473
  id: z.ZodString;
25474
25474
  name: z.ZodString;
25475
- createdAt: z.ZodOptional<z.ZodString>;
25476
- updatedAt: z.ZodOptional<z.ZodString>;
25477
25475
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25476
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25478
25477
  models: z.ZodOptional<z.ZodObject<{
25479
25478
  base: z.ZodOptional<z.ZodObject<{
25480
25479
  model: z.ZodOptional<z.ZodString>;
@@ -25489,7 +25488,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25489
25488
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25490
25489
  }, z.core.$strip>>;
25491
25490
  }, z.core.$strip>>;
25492
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25491
+ createdAt: z.ZodOptional<z.ZodString>;
25492
+ updatedAt: z.ZodOptional<z.ZodString>;
25493
25493
  type: z.ZodLiteral<"internal">;
25494
25494
  canUse: z.ZodArray<z.ZodObject<{
25495
25495
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25601,25 +25601,25 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25601
25601
  }, z.core.$strip>>>;
25602
25602
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25603
25603
  name: z.ZodString;
25604
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25604
25605
  createdAt: z.ZodOptional<z.ZodString>;
25605
25606
  updatedAt: z.ZodOptional<z.ZodString>;
25606
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25607
25607
  enabled: z.ZodOptional<z.ZodBoolean>;
25608
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25609
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25608
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25609
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25610
25610
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25611
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25611
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25612
25612
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25613
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25613
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25614
25614
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25615
25615
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25616
25616
  id: z.ZodOptional<z.ZodString>;
25617
25617
  }, z.core.$strip>>>;
25618
25618
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25619
25619
  name: z.ZodString;
25620
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25620
25621
  createdAt: z.ZodOptional<z.ZodString>;
25621
25622
  updatedAt: z.ZodOptional<z.ZodString>;
25622
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25623
25623
  enabled: z.ZodOptional<z.ZodBoolean>;
25624
25624
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25625
25625
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25627,7 +25627,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25627
25627
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25628
25628
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
25629
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25630
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25630
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25631
25631
  maxRetries: z.ZodOptional<z.ZodNumber>;
25632
25632
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25633
25633
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25735,10 +25735,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25735
25735
  }, z.core.$strip>>>;
25736
25736
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25737
25737
  name: z.ZodString;
25738
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25739
25738
  description: z.ZodString;
25740
- projectId: z.ZodString;
25741
25739
  tenantId: z.ZodString;
25740
+ projectId: z.ZodString;
25741
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25742
25742
  content: z.ZodString;
25743
25743
  }>, z.core.$strip>>>;
25744
25744
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25827,11 +25827,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25827
25827
  name: z.ZodString;
25828
25828
  createdAt: z.ZodOptional<z.ZodString>;
25829
25829
  updatedAt: z.ZodOptional<z.ZodString>;
25830
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25830
25831
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
25832
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25832
25833
  credentialStoreId: z.ZodString;
25833
25834
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25834
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
25835
  type: z.ZodEnum<{
25836
25836
  readonly memory: "memory";
25837
25837
  readonly keychain: "keychain";
@@ -25847,9 +25847,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25847
25847
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25848
25848
  id: z.ZodString;
25849
25849
  name: z.ZodString;
25850
- createdAt: z.ZodString;
25851
- updatedAt: z.ZodString;
25852
25850
  description: z.ZodNullable<z.ZodString>;
25851
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25853
25852
  models: z.ZodNullable<z.ZodType<{
25854
25853
  base?: {
25855
25854
  model?: string | undefined;
@@ -25912,7 +25911,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25912
25911
  }, {
25913
25912
  stepCountIs?: number | undefined;
25914
25913
  }>>>;
25915
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25914
+ createdAt: z.ZodString;
25915
+ updatedAt: z.ZodString;
25916
25916
  type: z.ZodLiteral<"internal">;
25917
25917
  canUse: z.ZodArray<z.ZodObject<{
25918
25918
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25940,9 +25940,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25940
25940
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25941
25941
  id: z.ZodString;
25942
25942
  name: z.ZodString;
25943
- createdAt: z.ZodString;
25944
- updatedAt: z.ZodString;
25945
25943
  description: z.ZodNullable<z.ZodString>;
25944
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25946
25945
  models: z.ZodNullable<z.ZodType<{
25947
25946
  base?: {
25948
25947
  model?: string | undefined;
@@ -26005,7 +26004,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26005
26004
  }, {
26006
26005
  stepCountIs?: number | undefined;
26007
26006
  }>>>;
26008
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26007
+ createdAt: z.ZodString;
26008
+ updatedAt: z.ZodString;
26009
26009
  type: z.ZodLiteral<"internal">;
26010
26010
  canUse: z.ZodArray<z.ZodObject<{
26011
26011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26039,17 +26039,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26039
26039
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26040
26040
  id: z.ZodString;
26041
26041
  name: z.ZodString;
26042
- createdAt: z.ZodString;
26043
- updatedAt: z.ZodString;
26044
26042
  description: z.ZodNullable<z.ZodString>;
26045
26043
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26044
+ createdAt: z.ZodString;
26045
+ updatedAt: z.ZodString;
26046
26046
  contextConfigId: z.ZodNullable<z.ZodString>;
26047
26047
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26048
26048
  id: z.ZodString;
26049
26049
  name: z.ZodString;
26050
- createdAt: z.ZodString;
26051
- updatedAt: z.ZodString;
26052
26050
  description: z.ZodNullable<z.ZodString>;
26051
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26053
26052
  models: z.ZodNullable<z.ZodType<{
26054
26053
  base?: {
26055
26054
  model?: string | undefined;
@@ -26112,7 +26111,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26112
26111
  }, {
26113
26112
  stepCountIs?: number | undefined;
26114
26113
  }>>>;
26115
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26114
+ createdAt: z.ZodString;
26115
+ updatedAt: z.ZodString;
26116
26116
  type: z.ZodLiteral<"internal">;
26117
26117
  canUse: z.ZodArray<z.ZodObject<{
26118
26118
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26185,10 +26185,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26185
26185
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26186
26186
  id: z.ZodString;
26187
26187
  name: z.ZodString;
26188
- createdAt: z.ZodString;
26189
- updatedAt: z.ZodString;
26190
26188
  description: z.ZodNullable<z.ZodString>;
26191
26189
  agentId: z.ZodString;
26190
+ createdAt: z.ZodString;
26191
+ updatedAt: z.ZodString;
26192
26192
  functionId: z.ZodString;
26193
26193
  relationshipId: z.ZodOptional<z.ZodString>;
26194
26194
  }, z.core.$strip>>>;
@@ -26267,10 +26267,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26267
26267
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26268
26268
  id: z.ZodString;
26269
26269
  name: z.ZodString;
26270
- createdAt: z.ZodString;
26271
- updatedAt: z.ZodString;
26272
26270
  description: z.ZodNullable<z.ZodString>;
26273
26271
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26272
+ createdAt: z.ZodString;
26273
+ updatedAt: z.ZodString;
26274
26274
  contextConfigId: z.ZodNullable<z.ZodString>;
26275
26275
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26276
26276
  createdAt: z.ZodString;
@@ -26320,10 +26320,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26320
26320
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26321
26321
  id: z.ZodString;
26322
26322
  name: z.ZodString;
26323
- createdAt: z.ZodString;
26324
- updatedAt: z.ZodString;
26325
26323
  description: z.ZodNullable<z.ZodString>;
26326
26324
  agentId: z.ZodString;
26325
+ createdAt: z.ZodString;
26326
+ updatedAt: z.ZodString;
26327
26327
  functionId: z.ZodString;
26328
26328
  relationshipId: z.ZodOptional<z.ZodString>;
26329
26329
  }, z.core.$strip>>>;
@@ -26401,9 +26401,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26401
26401
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26402
26402
  id: z.ZodString;
26403
26403
  name: z.ZodString;
26404
- createdAt: z.ZodString;
26405
- updatedAt: z.ZodString;
26406
26404
  description: z.ZodNullable<z.ZodString>;
26405
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26407
26406
  models: z.ZodNullable<z.ZodType<{
26408
26407
  base?: {
26409
26408
  model?: string | undefined;
@@ -26466,7 +26465,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26466
26465
  }, {
26467
26466
  stepCountIs?: number | undefined;
26468
26467
  }>>>;
26469
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26468
+ createdAt: z.ZodString;
26469
+ updatedAt: z.ZodString;
26470
26470
  type: z.ZodLiteral<"internal">;
26471
26471
  canUse: z.ZodArray<z.ZodObject<{
26472
26472
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26501,8 +26501,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26501
26501
  declare const FullProjectSelectSchema: z.ZodObject<{
26502
26502
  id: z.ZodString;
26503
26503
  name: z.ZodString;
26504
- createdAt: z.ZodString;
26505
- updatedAt: z.ZodString;
26506
26504
  description: z.ZodNullable<z.ZodString>;
26507
26505
  models: z.ZodNullable<z.ZodObject<{
26508
26506
  base: z.ZodObject<{
@@ -26522,20 +26520,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26522
26520
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26523
26521
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26524
26522
  }, z.core.$strip>>;
26523
+ createdAt: z.ZodString;
26524
+ updatedAt: z.ZodString;
26525
26525
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26526
26526
  id: z.ZodString;
26527
26527
  name: z.ZodString;
26528
- createdAt: z.ZodString;
26529
- updatedAt: z.ZodString;
26530
26528
  description: z.ZodNullable<z.ZodString>;
26531
26529
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26530
+ createdAt: z.ZodString;
26531
+ updatedAt: z.ZodString;
26532
26532
  contextConfigId: z.ZodNullable<z.ZodString>;
26533
26533
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26534
26534
  id: z.ZodString;
26535
26535
  name: z.ZodString;
26536
- createdAt: z.ZodString;
26537
- updatedAt: z.ZodString;
26538
26536
  description: z.ZodNullable<z.ZodString>;
26537
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26539
26538
  models: z.ZodNullable<z.ZodType<{
26540
26539
  base?: {
26541
26540
  model?: string | undefined;
@@ -26598,7 +26597,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26598
26597
  }, {
26599
26598
  stepCountIs?: number | undefined;
26600
26599
  }>>>;
26601
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26600
+ createdAt: z.ZodString;
26601
+ updatedAt: z.ZodString;
26602
26602
  type: z.ZodLiteral<"internal">;
26603
26603
  canUse: z.ZodArray<z.ZodObject<{
26604
26604
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26671,10 +26671,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26671
26671
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26672
26672
  id: z.ZodString;
26673
26673
  name: z.ZodString;
26674
- createdAt: z.ZodString;
26675
- updatedAt: z.ZodString;
26676
26674
  description: z.ZodNullable<z.ZodString>;
26677
26675
  agentId: z.ZodString;
26676
+ createdAt: z.ZodString;
26677
+ updatedAt: z.ZodString;
26678
26678
  functionId: z.ZodString;
26679
26679
  relationshipId: z.ZodOptional<z.ZodString>;
26680
26680
  }, z.core.$strip>>>;
@@ -26782,10 +26782,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26782
26782
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26783
26783
  id: z.ZodString;
26784
26784
  name: z.ZodString;
26785
- createdAt: z.ZodString;
26786
- updatedAt: z.ZodString;
26787
26785
  description: z.ZodNullable<z.ZodString>;
26788
26786
  agentId: z.ZodString;
26787
+ createdAt: z.ZodString;
26788
+ updatedAt: z.ZodString;
26789
26789
  functionId: z.ZodString;
26790
26790
  relationshipId: z.ZodOptional<z.ZodString>;
26791
26791
  }, z.core.$strip>>>;
@@ -26932,17 +26932,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26932
26932
  name: z.ZodString;
26933
26933
  createdAt: z.ZodString;
26934
26934
  updatedAt: z.ZodString;
26935
+ toolId: z.ZodNullable<z.ZodString>;
26935
26936
  userId: z.ZodNullable<z.ZodString>;
26936
26937
  createdBy: z.ZodNullable<z.ZodString>;
26937
26938
  credentialStoreId: z.ZodString;
26938
26939
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26939
- toolId: z.ZodNullable<z.ZodString>;
26940
26940
  type: z.ZodEnum<{
26941
26941
  readonly memory: "memory";
26942
26942
  readonly keychain: "keychain";
26943
26943
  readonly nango: "nango";
26944
26944
  }>;
26945
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26945
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26946
26946
  createdAt: drizzle_orm_pg_core217.PgColumn<{
26947
26947
  name: "created_at";
26948
26948
  tableName: "tools";
@@ -27222,7 +27222,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27222
27222
  }, {}, {
27223
27223
  length: 256;
27224
27224
  }>;
27225
- }, drizzle_zod19.BuildRefine<{
27225
+ }, drizzle_zod15.BuildRefine<{
27226
27226
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27227
27227
  name: "created_at";
27228
27228
  tableName: "tools";
@@ -27525,8 +27525,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27525
27525
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27526
27526
  id: z.ZodString;
27527
27527
  name: z.ZodString;
27528
- createdAt: z.ZodString;
27529
- updatedAt: z.ZodString;
27530
27528
  description: z.ZodNullable<z.ZodString>;
27531
27529
  models: z.ZodNullable<z.ZodObject<{
27532
27530
  base: z.ZodObject<{
@@ -27546,6 +27544,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27546
27544
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27547
27545
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27548
27546
  }, z.core.$strip>>;
27547
+ createdAt: z.ZodString;
27548
+ updatedAt: z.ZodString;
27549
27549
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27550
27550
  createdAt: z.ZodString;
27551
27551
  updatedAt: z.ZodString;
@@ -27578,10 +27578,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27578
27578
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27579
27579
  id: z.ZodString;
27580
27580
  name: z.ZodString;
27581
- createdAt: z.ZodString;
27582
- updatedAt: z.ZodString;
27583
27581
  description: z.ZodNullable<z.ZodString>;
27584
27582
  agentId: z.ZodString;
27583
+ createdAt: z.ZodString;
27584
+ updatedAt: z.ZodString;
27585
27585
  functionId: z.ZodString;
27586
27586
  relationshipId: z.ZodOptional<z.ZodString>;
27587
27587
  }, z.core.$strip>>>;
@@ -27728,17 +27728,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27728
27728
  name: z.ZodString;
27729
27729
  createdAt: z.ZodString;
27730
27730
  updatedAt: z.ZodString;
27731
+ toolId: z.ZodNullable<z.ZodString>;
27731
27732
  userId: z.ZodNullable<z.ZodString>;
27732
27733
  createdBy: z.ZodNullable<z.ZodString>;
27733
27734
  credentialStoreId: z.ZodString;
27734
27735
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27735
- toolId: z.ZodNullable<z.ZodString>;
27736
27736
  type: z.ZodEnum<{
27737
27737
  readonly memory: "memory";
27738
27738
  readonly keychain: "keychain";
27739
27739
  readonly nango: "nango";
27740
27740
  }>;
27741
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27741
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27742
27742
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27743
27743
  name: "created_at";
27744
27744
  tableName: "tools";
@@ -28018,7 +28018,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28018
28018
  }, {}, {
28019
28019
  length: 256;
28020
28020
  }>;
28021
- }, drizzle_zod19.BuildRefine<{
28021
+ }, drizzle_zod15.BuildRefine<{
28022
28022
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28023
28023
  name: "created_at";
28024
28024
  tableName: "tools";
@@ -28317,10 +28317,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28317
28317
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28318
28318
  id: z.ZodString;
28319
28319
  name: z.ZodString;
28320
- createdAt: z.ZodString;
28321
- updatedAt: z.ZodString;
28322
28320
  description: z.ZodNullable<z.ZodString>;
28323
28321
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28322
+ createdAt: z.ZodString;
28323
+ updatedAt: z.ZodString;
28324
28324
  contextConfigId: z.ZodNullable<z.ZodString>;
28325
28325
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28326
28326
  createdAt: z.ZodString;
@@ -28370,10 +28370,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28370
28370
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28371
28371
  id: z.ZodString;
28372
28372
  name: z.ZodString;
28373
- createdAt: z.ZodString;
28374
- updatedAt: z.ZodString;
28375
28373
  description: z.ZodNullable<z.ZodString>;
28376
28374
  agentId: z.ZodString;
28375
+ createdAt: z.ZodString;
28376
+ updatedAt: z.ZodString;
28377
28377
  functionId: z.ZodString;
28378
28378
  relationshipId: z.ZodOptional<z.ZodString>;
28379
28379
  }, z.core.$strip>>>;
@@ -28451,9 +28451,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28451
28451
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28452
28452
  id: z.ZodString;
28453
28453
  name: z.ZodString;
28454
- createdAt: z.ZodString;
28455
- updatedAt: z.ZodString;
28456
28454
  description: z.ZodNullable<z.ZodString>;
28455
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28457
28456
  models: z.ZodNullable<z.ZodType<{
28458
28457
  base?: {
28459
28458
  model?: string | undefined;
@@ -28516,7 +28515,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28516
28515
  }, {
28517
28516
  stepCountIs?: number | undefined;
28518
28517
  }>>>;
28519
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28518
+ createdAt: z.ZodString;
28519
+ updatedAt: z.ZodString;
28520
28520
  type: z.ZodLiteral<"internal">;
28521
28521
  canUse: z.ZodArray<z.ZodObject<{
28522
28522
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28556,8 +28556,6 @@ declare const ProjectResponse: z.ZodObject<{
28556
28556
  data: z.ZodObject<{
28557
28557
  id: z.ZodString;
28558
28558
  name: z.ZodString;
28559
- createdAt: z.ZodString;
28560
- updatedAt: z.ZodString;
28561
28559
  description: z.ZodNullable<z.ZodString>;
28562
28560
  models: z.ZodNullable<z.ZodObject<{
28563
28561
  base: z.ZodObject<{
@@ -28577,6 +28575,8 @@ declare const ProjectResponse: z.ZodObject<{
28577
28575
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28578
28576
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28579
28577
  }, z.core.$strip>>;
28578
+ createdAt: z.ZodString;
28579
+ updatedAt: z.ZodString;
28580
28580
  }, {
28581
28581
  out: {};
28582
28582
  in: {};
@@ -28817,10 +28817,10 @@ declare const ApiKeyResponse: z.ZodObject<{
28817
28817
  data: z.ZodObject<{
28818
28818
  id: z.ZodString;
28819
28819
  name: z.ZodNullable<z.ZodString>;
28820
+ agentId: z.ZodString;
28820
28821
  createdAt: z.ZodString;
28821
28822
  updatedAt: z.ZodString;
28822
28823
  expiresAt: z.ZodNullable<z.ZodString>;
28823
- agentId: z.ZodString;
28824
28824
  publicId: z.ZodString;
28825
28825
  keyPrefix: z.ZodString;
28826
28826
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28835,17 +28835,17 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28835
28835
  name: z.ZodString;
28836
28836
  createdAt: z.ZodString;
28837
28837
  updatedAt: z.ZodString;
28838
+ toolId: z.ZodNullable<z.ZodString>;
28838
28839
  userId: z.ZodNullable<z.ZodString>;
28839
28840
  createdBy: z.ZodNullable<z.ZodString>;
28840
28841
  credentialStoreId: z.ZodString;
28841
28842
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28842
- toolId: z.ZodNullable<z.ZodString>;
28843
28843
  type: z.ZodEnum<{
28844
28844
  readonly memory: "memory";
28845
28845
  readonly keychain: "keychain";
28846
28846
  readonly nango: "nango";
28847
28847
  }>;
28848
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28848
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28849
28849
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28850
28850
  name: "created_at";
28851
28851
  tableName: "tools";
@@ -29125,7 +29125,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29125
29125
  }, {}, {
29126
29126
  length: 256;
29127
29127
  }>;
29128
- }, drizzle_zod19.BuildRefine<{
29128
+ }, drizzle_zod15.BuildRefine<{
29129
29129
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29130
29130
  name: "created_at";
29131
29131
  tableName: "tools";
@@ -29438,10 +29438,10 @@ declare const FunctionToolResponse: z.ZodObject<{
29438
29438
  data: z.ZodObject<{
29439
29439
  id: z.ZodString;
29440
29440
  name: z.ZodString;
29441
- createdAt: z.ZodString;
29442
- updatedAt: z.ZodString;
29443
29441
  description: z.ZodNullable<z.ZodString>;
29444
29442
  agentId: z.ZodString;
29443
+ createdAt: z.ZodString;
29444
+ updatedAt: z.ZodString;
29445
29445
  functionId: z.ZodString;
29446
29446
  relationshipId: z.ZodOptional<z.ZodString>;
29447
29447
  }, z.core.$strip>;
@@ -29451,7 +29451,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29451
29451
  createdAt: z.ZodString;
29452
29452
  updatedAt: z.ZodString;
29453
29453
  functionToolId: z.ZodString;
29454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29455
29455
  subAgentId: z.ZodString;
29456
29456
  agentId: z.ZodString;
29457
29457
  projectId: z.ZodString;
@@ -29583,9 +29583,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29583
29583
  createdAt: z.ZodString;
29584
29584
  updatedAt: z.ZodString;
29585
29585
  toolId: z.ZodString;
29586
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29587
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29588
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29586
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29587
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29588
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29589
29589
  subAgentId: z.ZodString;
29590
29590
  agentId: z.ZodString;
29591
29591
  projectId: z.ZodString;
@@ -29598,10 +29598,10 @@ declare const TriggerResponse: z.ZodObject<{
29598
29598
  createdAt: z.ZodString;
29599
29599
  updatedAt: z.ZodString;
29600
29600
  enabled: z.ZodBoolean;
29601
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29602
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29601
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29602
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29603
29603
  messageTemplate: z.ZodNullable<z.ZodString>;
29604
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29604
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29605
29605
  name: z.ZodString;
29606
29606
  description: z.ZodNullable<z.ZodString>;
29607
29607
  agentId: z.ZodString;
@@ -29663,8 +29663,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29663
29663
  triggerId: z.ZodString;
29664
29664
  conversationId: z.ZodNullable<z.ZodString>;
29665
29665
  status: z.ZodString;
29666
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29667
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29666
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29667
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29668
29668
  errorMessage: z.ZodNullable<z.ZodString>;
29669
29669
  createdAt: z.ZodString;
29670
29670
  agentId: z.ZodString;
@@ -29677,8 +29677,6 @@ declare const ProjectListResponse: z.ZodObject<{
29677
29677
  data: z.ZodArray<z.ZodObject<{
29678
29678
  id: z.ZodString;
29679
29679
  name: z.ZodString;
29680
- createdAt: z.ZodString;
29681
- updatedAt: z.ZodString;
29682
29680
  description: z.ZodNullable<z.ZodString>;
29683
29681
  models: z.ZodNullable<z.ZodObject<{
29684
29682
  base: z.ZodObject<{
@@ -29698,6 +29696,8 @@ declare const ProjectListResponse: z.ZodObject<{
29698
29696
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29699
29697
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29700
29698
  }, z.core.$strip>>;
29699
+ createdAt: z.ZodString;
29700
+ updatedAt: z.ZodString;
29701
29701
  }, {
29702
29702
  out: {};
29703
29703
  in: {};
@@ -29968,10 +29968,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
29968
29968
  data: z.ZodArray<z.ZodObject<{
29969
29969
  id: z.ZodString;
29970
29970
  name: z.ZodNullable<z.ZodString>;
29971
+ agentId: z.ZodString;
29971
29972
  createdAt: z.ZodString;
29972
29973
  updatedAt: z.ZodString;
29973
29974
  expiresAt: z.ZodNullable<z.ZodString>;
29974
- agentId: z.ZodString;
29975
29975
  publicId: z.ZodString;
29976
29976
  keyPrefix: z.ZodString;
29977
29977
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29992,17 +29992,17 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29992
29992
  name: z.ZodString;
29993
29993
  createdAt: z.ZodString;
29994
29994
  updatedAt: z.ZodString;
29995
+ toolId: z.ZodNullable<z.ZodString>;
29995
29996
  userId: z.ZodNullable<z.ZodString>;
29996
29997
  createdBy: z.ZodNullable<z.ZodString>;
29997
29998
  credentialStoreId: z.ZodString;
29998
29999
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29999
- toolId: z.ZodNullable<z.ZodString>;
30000
30000
  type: z.ZodEnum<{
30001
30001
  readonly memory: "memory";
30002
30002
  readonly keychain: "keychain";
30003
30003
  readonly nango: "nango";
30004
30004
  }>;
30005
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
30005
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
30006
30006
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30007
30007
  name: "created_at";
30008
30008
  tableName: "tools";
@@ -30282,7 +30282,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30282
30282
  }, {}, {
30283
30283
  length: 256;
30284
30284
  }>;
30285
- }, drizzle_zod19.BuildRefine<{
30285
+ }, drizzle_zod15.BuildRefine<{
30286
30286
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30287
30287
  name: "created_at";
30288
30288
  tableName: "tools";
@@ -30607,10 +30607,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
30607
30607
  data: z.ZodArray<z.ZodObject<{
30608
30608
  id: z.ZodString;
30609
30609
  name: z.ZodString;
30610
- createdAt: z.ZodString;
30611
- updatedAt: z.ZodString;
30612
30610
  description: z.ZodNullable<z.ZodString>;
30613
30611
  agentId: z.ZodString;
30612
+ createdAt: z.ZodString;
30613
+ updatedAt: z.ZodString;
30614
30614
  functionId: z.ZodString;
30615
30615
  relationshipId: z.ZodOptional<z.ZodString>;
30616
30616
  }, z.core.$strip>>;
@@ -30626,7 +30626,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30626
30626
  createdAt: z.ZodString;
30627
30627
  updatedAt: z.ZodString;
30628
30628
  functionToolId: z.ZodString;
30629
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30629
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30630
30630
  subAgentId: z.ZodString;
30631
30631
  agentId: z.ZodString;
30632
30632
  projectId: z.ZodString;
@@ -30814,9 +30814,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30814
30814
  createdAt: z.ZodString;
30815
30815
  updatedAt: z.ZodString;
30816
30816
  toolId: z.ZodString;
30817
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30818
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30819
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30817
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30818
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30819
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30820
30820
  subAgentId: z.ZodString;
30821
30821
  agentId: z.ZodString;
30822
30822
  projectId: z.ZodString;
@@ -30835,10 +30835,10 @@ declare const TriggerListResponse: z.ZodObject<{
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
30837
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30839
- outputTransform: 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>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
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
  name: z.ZodString;
30843
30843
  description: z.ZodNullable<z.ZodString>;
30844
30844
  agentId: z.ZodString;
@@ -30906,8 +30906,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30906
30906
  triggerId: z.ZodString;
30907
30907
  conversationId: z.ZodNullable<z.ZodString>;
30908
30908
  status: z.ZodString;
30909
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30910
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30909
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30910
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30911
30911
  errorMessage: z.ZodNullable<z.ZodString>;
30912
30912
  createdAt: z.ZodString;
30913
30913
  agentId: z.ZodString;
@@ -30926,14 +30926,14 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30926
30926
  data: z.ZodObject<{
30927
30927
  id: z.ZodString;
30928
30928
  name: z.ZodString;
30929
+ description: z.ZodNullable<z.ZodString>;
30929
30930
  createdAt: z.ZodString;
30930
30931
  updatedAt: z.ZodString;
30931
- description: z.ZodNullable<z.ZodString>;
30932
30932
  enabled: z.ZodBoolean;
30933
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30934
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30933
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30934
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30935
30935
  messageTemplate: z.ZodNullable<z.ZodString>;
30936
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30936
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30937
30937
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30938
30938
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30939
30939
  algorithm: z.ZodEnum<{
@@ -30989,14 +30989,14 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30989
30989
  data: z.ZodObject<{
30990
30990
  id: z.ZodString;
30991
30991
  name: z.ZodString;
30992
+ description: z.ZodNullable<z.ZodString>;
30992
30993
  createdAt: z.ZodString;
30993
30994
  updatedAt: z.ZodString;
30994
- description: z.ZodNullable<z.ZodString>;
30995
30995
  enabled: z.ZodBoolean;
30996
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30997
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30996
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30997
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30998
30998
  messageTemplate: z.ZodNullable<z.ZodString>;
30999
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30999
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31000
31000
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31001
31001
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31002
31002
  algorithm: z.ZodEnum<{
@@ -31053,14 +31053,14 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31053
31053
  data: z.ZodArray<z.ZodObject<{
31054
31054
  id: z.ZodString;
31055
31055
  name: z.ZodString;
31056
+ description: z.ZodNullable<z.ZodString>;
31056
31057
  createdAt: z.ZodString;
31057
31058
  updatedAt: z.ZodString;
31058
- description: z.ZodNullable<z.ZodString>;
31059
31059
  enabled: z.ZodBoolean;
31060
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31061
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31060
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31061
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31062
31062
  messageTemplate: z.ZodNullable<z.ZodString>;
31063
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31063
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31064
31064
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
31065
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31066
31066
  algorithm: z.ZodEnum<{
@@ -31121,9 +31121,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31121
31121
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31122
31122
  id: z.ZodString;
31123
31123
  name: z.ZodString;
31124
+ description: z.ZodNullable<z.ZodString>;
31124
31125
  createdAt: z.ZodString;
31125
31126
  updatedAt: z.ZodString;
31126
- description: z.ZodNullable<z.ZodString>;
31127
31127
  enabled: z.ZodBoolean;
31128
31128
  messageTemplate: z.ZodNullable<z.ZodString>;
31129
31129
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31200,9 +31200,9 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31200
31200
  data: z.ZodArray<z.ZodObject<{
31201
31201
  id: z.ZodString;
31202
31202
  name: z.ZodString;
31203
+ description: z.ZodNullable<z.ZodString>;
31203
31204
  createdAt: z.ZodString;
31204
31205
  updatedAt: z.ZodString;
31205
- description: z.ZodNullable<z.ZodString>;
31206
31206
  enabled: z.ZodBoolean;
31207
31207
  messageTemplate: z.ZodNullable<z.ZodString>;
31208
31208
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31359,10 +31359,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31359
31359
  data: z.ZodArray<z.ZodObject<{
31360
31360
  id: z.ZodString;
31361
31361
  name: z.ZodString;
31362
+ description: z.ZodString;
31362
31363
  createdAt: z.ZodString;
31363
31364
  updatedAt: z.ZodString;
31364
31365
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31365
- description: z.ZodString;
31366
31366
  content: z.ZodString;
31367
31367
  subAgentSkillId: z.ZodString;
31368
31368
  subAgentId: z.ZodString;
@@ -31395,18 +31395,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31395
31395
  }, z.core.$strip>>;
31396
31396
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31397
31397
  name: z.ZodString;
31398
- createdAt: z.ZodOptional<z.ZodString>;
31399
- updatedAt: z.ZodOptional<z.ZodString>;
31400
31398
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31401
31399
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31400
+ createdAt: z.ZodOptional<z.ZodString>;
31401
+ updatedAt: z.ZodOptional<z.ZodString>;
31402
31402
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31403
31403
  id: z.ZodString;
31404
31404
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31405
31405
  id: z.ZodString;
31406
31406
  name: z.ZodString;
31407
- createdAt: z.ZodOptional<z.ZodString>;
31408
- updatedAt: z.ZodOptional<z.ZodString>;
31409
31407
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31408
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31410
31409
  models: z.ZodOptional<z.ZodObject<{
31411
31410
  base: z.ZodOptional<z.ZodObject<{
31412
31411
  model: z.ZodOptional<z.ZodString>;
@@ -31421,7 +31420,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31421
31420
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31422
31421
  }, z.core.$strip>>;
31423
31422
  }, z.core.$strip>>;
31424
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31423
+ createdAt: z.ZodOptional<z.ZodString>;
31424
+ updatedAt: z.ZodOptional<z.ZodString>;
31425
31425
  type: z.ZodLiteral<"internal">;
31426
31426
  canUse: z.ZodArray<z.ZodObject<{
31427
31427
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31533,25 +31533,25 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31533
31533
  }, z.core.$strip>>>;
31534
31534
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31535
31535
  name: z.ZodString;
31536
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31536
31537
  createdAt: z.ZodOptional<z.ZodString>;
31537
31538
  updatedAt: z.ZodOptional<z.ZodString>;
31538
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31539
31539
  enabled: z.ZodOptional<z.ZodBoolean>;
31540
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31541
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31540
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31541
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31542
31542
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31543
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31543
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31544
31544
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31545
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31545
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31546
31546
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31547
31547
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31548
31548
  id: z.ZodOptional<z.ZodString>;
31549
31549
  }, z.core.$strip>>>;
31550
31550
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31551
31551
  name: z.ZodString;
31552
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31552
31553
  createdAt: z.ZodOptional<z.ZodString>;
31553
31554
  updatedAt: z.ZodOptional<z.ZodString>;
31554
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  enabled: z.ZodOptional<z.ZodBoolean>;
31556
31556
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31557
31557
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31559,7 +31559,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31559
31559
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31560
31560
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31561
31561
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31562
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31562
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31563
31563
  maxRetries: z.ZodOptional<z.ZodNumber>;
31564
31564
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31565
31565
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31667,10 +31667,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31667
31667
  }, z.core.$strip>>>;
31668
31668
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31669
31669
  name: z.ZodString;
31670
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31671
31670
  description: z.ZodString;
31672
- projectId: z.ZodString;
31673
31671
  tenantId: z.ZodString;
31672
+ projectId: z.ZodString;
31673
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31674
31674
  content: z.ZodString;
31675
31675
  }>, z.core.$strip>>>;
31676
31676
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31759,11 +31759,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31759
31759
  name: z.ZodString;
31760
31760
  createdAt: z.ZodOptional<z.ZodString>;
31761
31761
  updatedAt: z.ZodOptional<z.ZodString>;
31762
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31762
31763
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
31764
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31764
31765
  credentialStoreId: z.ZodString;
31765
31766
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31766
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
31767
  type: z.ZodEnum<{
31768
31768
  readonly memory: "memory";
31769
31769
  readonly keychain: "keychain";
@@ -31781,8 +31781,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31781
31781
  data: z.ZodObject<{
31782
31782
  id: z.ZodString;
31783
31783
  name: z.ZodString;
31784
- createdAt: z.ZodString;
31785
- updatedAt: z.ZodString;
31786
31784
  description: z.ZodNullable<z.ZodString>;
31787
31785
  models: z.ZodNullable<z.ZodObject<{
31788
31786
  base: z.ZodObject<{
@@ -31802,20 +31800,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31802
31800
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31803
31801
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31804
31802
  }, z.core.$strip>>;
31803
+ createdAt: z.ZodString;
31804
+ updatedAt: z.ZodString;
31805
31805
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31806
31806
  id: z.ZodString;
31807
31807
  name: z.ZodString;
31808
- createdAt: z.ZodString;
31809
- updatedAt: z.ZodString;
31810
31808
  description: z.ZodNullable<z.ZodString>;
31811
31809
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31810
+ createdAt: z.ZodString;
31811
+ updatedAt: z.ZodString;
31812
31812
  contextConfigId: z.ZodNullable<z.ZodString>;
31813
31813
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31814
31814
  id: z.ZodString;
31815
31815
  name: z.ZodString;
31816
- createdAt: z.ZodString;
31817
- updatedAt: z.ZodString;
31818
31816
  description: z.ZodNullable<z.ZodString>;
31817
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31819
31818
  models: z.ZodNullable<z.ZodType<{
31820
31819
  base?: {
31821
31820
  model?: string | undefined;
@@ -31878,7 +31877,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31878
31877
  }, {
31879
31878
  stepCountIs?: number | undefined;
31880
31879
  }>>>;
31881
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31880
+ createdAt: z.ZodString;
31881
+ updatedAt: z.ZodString;
31882
31882
  type: z.ZodLiteral<"internal">;
31883
31883
  canUse: z.ZodArray<z.ZodObject<{
31884
31884
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31951,10 +31951,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31951
31951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31952
31952
  id: z.ZodString;
31953
31953
  name: z.ZodString;
31954
- createdAt: z.ZodString;
31955
- updatedAt: z.ZodString;
31956
31954
  description: z.ZodNullable<z.ZodString>;
31957
31955
  agentId: z.ZodString;
31956
+ createdAt: z.ZodString;
31957
+ updatedAt: z.ZodString;
31958
31958
  functionId: z.ZodString;
31959
31959
  relationshipId: z.ZodOptional<z.ZodString>;
31960
31960
  }, z.core.$strip>>>;
@@ -32062,10 +32062,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32062
32062
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32063
32063
  id: z.ZodString;
32064
32064
  name: z.ZodString;
32065
- createdAt: z.ZodString;
32066
- updatedAt: z.ZodString;
32067
32065
  description: z.ZodNullable<z.ZodString>;
32068
32066
  agentId: z.ZodString;
32067
+ createdAt: z.ZodString;
32068
+ updatedAt: z.ZodString;
32069
32069
  functionId: z.ZodString;
32070
32070
  relationshipId: z.ZodOptional<z.ZodString>;
32071
32071
  }, z.core.$strip>>>;
@@ -32212,17 +32212,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32212
32212
  name: z.ZodString;
32213
32213
  createdAt: z.ZodString;
32214
32214
  updatedAt: z.ZodString;
32215
+ toolId: z.ZodNullable<z.ZodString>;
32215
32216
  userId: z.ZodNullable<z.ZodString>;
32216
32217
  createdBy: z.ZodNullable<z.ZodString>;
32217
32218
  credentialStoreId: z.ZodString;
32218
32219
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32219
- toolId: z.ZodNullable<z.ZodString>;
32220
32220
  type: z.ZodEnum<{
32221
32221
  readonly memory: "memory";
32222
32222
  readonly keychain: "keychain";
32223
32223
  readonly nango: "nango";
32224
32224
  }>;
32225
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32225
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32226
32226
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32227
32227
  name: "created_at";
32228
32228
  tableName: "tools";
@@ -32502,7 +32502,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32502
32502
  }, {}, {
32503
32503
  length: 256;
32504
32504
  }>;
32505
- }, drizzle_zod19.BuildRefine<{
32505
+ }, drizzle_zod15.BuildRefine<{
32506
32506
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32507
32507
  name: "created_at";
32508
32508
  tableName: "tools";
@@ -32807,8 +32807,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32807
32807
  data: z.ZodObject<{
32808
32808
  id: z.ZodString;
32809
32809
  name: z.ZodString;
32810
- createdAt: z.ZodString;
32811
- updatedAt: z.ZodString;
32812
32810
  description: z.ZodNullable<z.ZodString>;
32813
32811
  models: z.ZodNullable<z.ZodObject<{
32814
32812
  base: z.ZodObject<{
@@ -32828,6 +32826,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32828
32826
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32829
32827
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32830
32828
  }, z.core.$strip>>;
32829
+ createdAt: z.ZodString;
32830
+ updatedAt: z.ZodString;
32831
32831
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32832
32832
  createdAt: z.ZodString;
32833
32833
  updatedAt: z.ZodString;
@@ -32860,10 +32860,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32860
32860
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32861
32861
  id: z.ZodString;
32862
32862
  name: z.ZodString;
32863
- createdAt: z.ZodString;
32864
- updatedAt: z.ZodString;
32865
32863
  description: z.ZodNullable<z.ZodString>;
32866
32864
  agentId: z.ZodString;
32865
+ createdAt: z.ZodString;
32866
+ updatedAt: z.ZodString;
32867
32867
  functionId: z.ZodString;
32868
32868
  relationshipId: z.ZodOptional<z.ZodString>;
32869
32869
  }, z.core.$strip>>>;
@@ -33010,17 +33010,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33010
33010
  name: z.ZodString;
33011
33011
  createdAt: z.ZodString;
33012
33012
  updatedAt: z.ZodString;
33013
+ toolId: z.ZodNullable<z.ZodString>;
33013
33014
  userId: z.ZodNullable<z.ZodString>;
33014
33015
  createdBy: z.ZodNullable<z.ZodString>;
33015
33016
  credentialStoreId: z.ZodString;
33016
33017
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33017
- toolId: z.ZodNullable<z.ZodString>;
33018
33018
  type: z.ZodEnum<{
33019
33019
  readonly memory: "memory";
33020
33020
  readonly keychain: "keychain";
33021
33021
  readonly nango: "nango";
33022
33022
  }>;
33023
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
33023
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
33024
33024
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33025
33025
  name: "created_at";
33026
33026
  tableName: "tools";
@@ -33300,7 +33300,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33300
33300
  }, {}, {
33301
33301
  length: 256;
33302
33302
  }>;
33303
- }, drizzle_zod19.BuildRefine<{
33303
+ }, drizzle_zod15.BuildRefine<{
33304
33304
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33305
33305
  name: "created_at";
33306
33306
  tableName: "tools";
@@ -33599,10 +33599,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33599
33599
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33600
33600
  id: z.ZodString;
33601
33601
  name: z.ZodString;
33602
- createdAt: z.ZodString;
33603
- updatedAt: z.ZodString;
33604
33602
  description: z.ZodNullable<z.ZodString>;
33605
33603
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33604
+ createdAt: z.ZodString;
33605
+ updatedAt: z.ZodString;
33606
33606
  contextConfigId: z.ZodNullable<z.ZodString>;
33607
33607
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33608
33608
  createdAt: z.ZodString;
@@ -33652,10 +33652,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33652
33652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33653
33653
  id: z.ZodString;
33654
33654
  name: z.ZodString;
33655
- createdAt: z.ZodString;
33656
- updatedAt: z.ZodString;
33657
33655
  description: z.ZodNullable<z.ZodString>;
33658
33656
  agentId: z.ZodString;
33657
+ createdAt: z.ZodString;
33658
+ updatedAt: z.ZodString;
33659
33659
  functionId: z.ZodString;
33660
33660
  relationshipId: z.ZodOptional<z.ZodString>;
33661
33661
  }, z.core.$strip>>>;
@@ -33733,9 +33733,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33733
33733
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33734
33734
  id: z.ZodString;
33735
33735
  name: z.ZodString;
33736
- createdAt: z.ZodString;
33737
- updatedAt: z.ZodString;
33738
33736
  description: z.ZodNullable<z.ZodString>;
33737
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33739
33738
  models: z.ZodNullable<z.ZodType<{
33740
33739
  base?: {
33741
33740
  model?: string | undefined;
@@ -33798,7 +33797,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33798
33797
  }, {
33799
33798
  stepCountIs?: number | undefined;
33800
33799
  }>>>;
33801
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33800
+ createdAt: z.ZodString;
33801
+ updatedAt: z.ZodString;
33802
33802
  type: z.ZodLiteral<"internal">;
33803
33803
  canUse: z.ZodArray<z.ZodObject<{
33804
33804
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33838,18 +33838,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33838
33838
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33839
33839
  data: z.ZodObject<{
33840
33840
  name: z.ZodString;
33841
- createdAt: z.ZodOptional<z.ZodString>;
33842
- updatedAt: z.ZodOptional<z.ZodString>;
33843
33841
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33844
33842
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33843
+ createdAt: z.ZodOptional<z.ZodString>;
33844
+ updatedAt: z.ZodOptional<z.ZodString>;
33845
33845
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33846
33846
  id: z.ZodString;
33847
33847
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33848
33848
  id: z.ZodString;
33849
33849
  name: z.ZodString;
33850
- createdAt: z.ZodOptional<z.ZodString>;
33851
- updatedAt: z.ZodOptional<z.ZodString>;
33852
33850
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33851
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33853
33852
  models: z.ZodOptional<z.ZodObject<{
33854
33853
  base: z.ZodOptional<z.ZodObject<{
33855
33854
  model: z.ZodOptional<z.ZodString>;
@@ -33864,7 +33863,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33864
33863
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33865
33864
  }, z.core.$strip>>;
33866
33865
  }, z.core.$strip>>;
33867
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33866
+ createdAt: z.ZodOptional<z.ZodString>;
33867
+ updatedAt: z.ZodOptional<z.ZodString>;
33868
33868
  type: z.ZodLiteral<"internal">;
33869
33869
  canUse: z.ZodArray<z.ZodObject<{
33870
33870
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33976,25 +33976,25 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33976
33976
  }, z.core.$strip>>>;
33977
33977
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33978
33978
  name: z.ZodString;
33979
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33979
33980
  createdAt: z.ZodOptional<z.ZodString>;
33980
33981
  updatedAt: z.ZodOptional<z.ZodString>;
33981
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33982
33982
  enabled: z.ZodOptional<z.ZodBoolean>;
33983
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33984
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33983
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33984
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33985
33985
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33986
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33986
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33987
33987
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33988
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33988
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33989
33989
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33990
33990
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33991
33991
  id: z.ZodOptional<z.ZodString>;
33992
33992
  }, z.core.$strip>>>;
33993
33993
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33994
33994
  name: z.ZodString;
33995
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33995
33996
  createdAt: z.ZodOptional<z.ZodString>;
33996
33997
  updatedAt: z.ZodOptional<z.ZodString>;
33997
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33998
33998
  enabled: z.ZodOptional<z.ZodBoolean>;
33999
33999
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34000
34000
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34002,7 +34002,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34002
34002
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34003
34003
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34004
34004
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34005
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34005
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
34006
34006
  maxRetries: z.ZodOptional<z.ZodNumber>;
34007
34007
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
34008
34008
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -34052,17 +34052,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34052
34052
  data: z.ZodObject<{
34053
34053
  id: z.ZodString;
34054
34054
  name: z.ZodString;
34055
- createdAt: z.ZodString;
34056
- updatedAt: z.ZodString;
34057
34055
  description: z.ZodNullable<z.ZodString>;
34058
34056
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34057
+ createdAt: z.ZodString;
34058
+ updatedAt: z.ZodString;
34059
34059
  contextConfigId: z.ZodNullable<z.ZodString>;
34060
34060
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34061
34061
  id: z.ZodString;
34062
34062
  name: z.ZodString;
34063
- createdAt: z.ZodString;
34064
- updatedAt: z.ZodString;
34065
34063
  description: z.ZodNullable<z.ZodString>;
34064
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34066
34065
  models: z.ZodNullable<z.ZodType<{
34067
34066
  base?: {
34068
34067
  model?: string | undefined;
@@ -34125,7 +34124,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34125
34124
  }, {
34126
34125
  stepCountIs?: number | undefined;
34127
34126
  }>>>;
34128
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34127
+ createdAt: z.ZodString;
34128
+ updatedAt: z.ZodString;
34129
34129
  type: z.ZodLiteral<"internal">;
34130
34130
  canUse: z.ZodArray<z.ZodObject<{
34131
34131
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34198,10 +34198,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34198
34198
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34199
34199
  id: z.ZodString;
34200
34200
  name: z.ZodString;
34201
- createdAt: z.ZodString;
34202
- updatedAt: z.ZodString;
34203
34201
  description: z.ZodNullable<z.ZodString>;
34204
34202
  agentId: z.ZodString;
34203
+ createdAt: z.ZodString;
34204
+ updatedAt: z.ZodString;
34205
34205
  functionId: z.ZodString;
34206
34206
  relationshipId: z.ZodOptional<z.ZodString>;
34207
34207
  }, z.core.$strip>>>;
@@ -34434,7 +34434,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34434
34434
  createdAt: z.ZodString;
34435
34435
  updatedAt: z.ZodString;
34436
34436
  targetAgentId: z.ZodString;
34437
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34437
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34438
34438
  subAgentId: z.ZodString;
34439
34439
  agentId: z.ZodString;
34440
34440
  projectId: z.ZodString;
@@ -34447,7 +34447,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34447
34447
  createdAt: z.ZodString;
34448
34448
  updatedAt: z.ZodString;
34449
34449
  targetAgentId: z.ZodString;
34450
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34450
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34451
34451
  subAgentId: z.ZodString;
34452
34452
  agentId: z.ZodString;
34453
34453
  projectId: z.ZodString;
@@ -34466,7 +34466,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34466
34466
  createdAt: z.ZodString;
34467
34467
  updatedAt: z.ZodString;
34468
34468
  externalAgentId: z.ZodString;
34469
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34469
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34470
34470
  subAgentId: z.ZodString;
34471
34471
  agentId: z.ZodString;
34472
34472
  projectId: z.ZodString;
@@ -34479,7 +34479,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34479
34479
  createdAt: z.ZodString;
34480
34480
  updatedAt: z.ZodString;
34481
34481
  externalAgentId: z.ZodString;
34482
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34483
34483
  subAgentId: z.ZodString;
34484
34484
  agentId: z.ZodString;
34485
34485
  projectId: z.ZodString;
@@ -34709,7 +34709,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34709
34709
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34710
34710
  ref: z.ZodOptional<z.ZodString>;
34711
34711
  }, z.core.$strip>;
34712
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34712
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34713
34713
  id: drizzle_orm_pg_core217.PgColumn<{
34714
34714
  name: "id";
34715
34715
  tableName: "project_metadata";
@@ -34803,7 +34803,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34803
34803
  }, {}, {
34804
34804
  length: 512;
34805
34805
  }>;
34806
- }, drizzle_zod19.BuildRefine<{
34806
+ }, drizzle_zod15.BuildRefine<{
34807
34807
  id: drizzle_orm_pg_core217.PgColumn<{
34808
34808
  name: "id";
34809
34809
  tableName: "project_metadata";
@@ -34914,10 +34914,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34914
34914
  disconnected: "disconnected";
34915
34915
  }>;
34916
34916
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34917
- User: "User";
34918
34917
  Organization: "Organization";
34918
+ User: "User";
34919
34919
  }>;
34920
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34920
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34921
34921
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34922
34922
  name: "created_at";
34923
34923
  tableName: "work_app_github_installations";
@@ -35010,7 +35010,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35010
35010
  tableName: "work_app_github_installations";
35011
35011
  dataType: "string";
35012
35012
  columnType: "PgVarchar";
35013
- data: "User" | "Organization";
35013
+ data: "Organization" | "User";
35014
35014
  driverParam: string;
35015
35015
  notNull: true;
35016
35016
  hasDefault: false;
@@ -35023,7 +35023,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35023
35023
  generated: undefined;
35024
35024
  }, {}, {
35025
35025
  length: 20;
35026
- $type: "User" | "Organization";
35026
+ $type: "Organization" | "User";
35027
35027
  }>;
35028
35028
  status: drizzle_orm_pg_core217.PgColumn<{
35029
35029
  name: "status";
@@ -35083,7 +35083,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35083
35083
  }, {}, {
35084
35084
  length: 256;
35085
35085
  }>;
35086
- }, drizzle_zod19.BuildRefine<{
35086
+ }, drizzle_zod15.BuildRefine<{
35087
35087
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35088
35088
  name: "created_at";
35089
35089
  tableName: "work_app_github_installations";
@@ -35176,7 +35176,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35176
35176
  tableName: "work_app_github_installations";
35177
35177
  dataType: "string";
35178
35178
  columnType: "PgVarchar";
35179
- data: "User" | "Organization";
35179
+ data: "Organization" | "User";
35180
35180
  driverParam: string;
35181
35181
  notNull: true;
35182
35182
  hasDefault: false;
@@ -35189,7 +35189,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35189
35189
  generated: undefined;
35190
35190
  }, {}, {
35191
35191
  length: 20;
35192
- $type: "User" | "Organization";
35192
+ $type: "Organization" | "User";
35193
35193
  }>;
35194
35194
  status: drizzle_orm_pg_core217.PgColumn<{
35195
35195
  name: "status";
@@ -35252,13 +35252,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35252
35252
  }, undefined>, undefined>;
35253
35253
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35254
35254
  id: z.ZodString;
35255
- accountId: z.ZodString;
35256
35255
  tenantId: z.ZodString;
35256
+ accountId: z.ZodString;
35257
35257
  installationId: z.ZodString;
35258
35258
  accountLogin: z.ZodString;
35259
35259
  accountType: z.ZodEnum<{
35260
- User: "User";
35261
35260
  Organization: "Organization";
35261
+ User: "User";
35262
35262
  }>;
35263
35263
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35264
35264
  pending: "pending";
@@ -35283,13 +35283,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35283
35283
  }>, z.core.$strip>;
35284
35284
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35285
35285
  id: z.ZodString;
35286
- accountId: z.ZodString;
35287
35286
  tenantId: z.ZodString;
35287
+ accountId: z.ZodString;
35288
35288
  installationId: z.ZodString;
35289
35289
  accountLogin: z.ZodString;
35290
35290
  accountType: z.ZodEnum<{
35291
- User: "User";
35292
35291
  Organization: "Organization";
35292
+ User: "User";
35293
35293
  }>;
35294
35294
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35295
35295
  pending: "pending";
@@ -35298,7 +35298,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35298
35298
  disconnected: "disconnected";
35299
35299
  }>>>;
35300
35300
  }>, z.core.$strip>;
35301
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35301
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35302
35302
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35303
35303
  name: "created_at";
35304
35304
  tableName: "work_app_github_repositories";
@@ -35443,7 +35443,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
35443
35443
  identity: undefined;
35444
35444
  generated: undefined;
35445
35445
  }, {}, {}>;
35446
- }, drizzle_zod19.BuildRefine<{
35446
+ }, drizzle_zod15.BuildRefine<{
35447
35447
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35448
35448
  name: "created_at";
35449
35449
  tableName: "work_app_github_repositories";
@@ -35609,7 +35609,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35609
35609
  repositoryFullName: z.ZodString;
35610
35610
  private: z.ZodOptional<z.ZodBoolean>;
35611
35611
  }>>, z.core.$strip>;
35612
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35612
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35613
35613
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35614
35614
  name: "created_at";
35615
35615
  tableName: "work_app_github_project_repository_access";
@@ -35720,7 +35720,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35720
35720
  }, {}, {
35721
35721
  length: 256;
35722
35722
  }>;
35723
- }, drizzle_zod19.BuildRefine<{
35723
+ }, drizzle_zod15.BuildRefine<{
35724
35724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35725
35725
  name: "created_at";
35726
35726
  tableName: "work_app_github_project_repository_access";
@@ -35832,7 +35832,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35832
35832
  length: 256;
35833
35833
  }>;
35834
35834
  }, undefined>, undefined>;
35835
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35835
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35836
35836
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35837
35837
  name: "created_at";
35838
35838
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35962,7 +35962,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
35962
35962
  }, {}, {
35963
35963
  length: 256;
35964
35964
  }>;
35965
- }, drizzle_zod19.BuildRefine<{
35965
+ }, drizzle_zod15.BuildRefine<{
35966
35966
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35967
35967
  name: "created_at";
35968
35968
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -36116,7 +36116,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36116
36116
  all: "all";
36117
36117
  selected: "selected";
36118
36118
  }>;
36119
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
36119
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
36120
36120
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36121
36121
  name: "created_at";
36122
36122
  tableName: "work_app_github_repositories";
@@ -36261,7 +36261,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36261
36261
  identity: undefined;
36262
36262
  generated: undefined;
36263
36263
  }, {}, {}>;
36264
- }, drizzle_zod19.BuildRefine<{
36264
+ }, drizzle_zod15.BuildRefine<{
36265
36265
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36266
36266
  name: "created_at";
36267
36267
  tableName: "work_app_github_repositories";
@@ -36408,7 +36408,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36408
36408
  }, {}, {}>;
36409
36409
  }, undefined>, undefined>>;
36410
36410
  }, z.core.$strip>;
36411
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
36411
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
36412
36412
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36413
36413
  name: "created_at";
36414
36414
  tableName: "work_app_slack_channel_agent_configs";
@@ -36646,7 +36646,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSch
36646
36646
  identity: undefined;
36647
36647
  generated: undefined;
36648
36648
  }, {}, {}>;
36649
- }, drizzle_zod19.BuildRefine<{
36649
+ }, drizzle_zod15.BuildRefine<{
36650
36650
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36651
36651
  name: "created_at";
36652
36652
  tableName: "work_app_slack_channel_agent_configs";
@@ -36885,7 +36885,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSch
36885
36885
  generated: undefined;
36886
36886
  }, {}, {}>;
36887
36887
  }, undefined>, undefined>;
36888
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
36888
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
36889
36889
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36890
36890
  name: "created_at";
36891
36891
  tableName: "work_app_slack_workspaces";
@@ -37180,7 +37180,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
37180
37180
  identity: undefined;
37181
37181
  generated: undefined;
37182
37182
  }, {}, {}>;
37183
- }, drizzle_zod19.BuildRefine<{
37183
+ }, drizzle_zod15.BuildRefine<{
37184
37184
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37185
37185
  name: "created_at";
37186
37186
  tableName: "work_app_slack_workspaces";
@@ -37477,16 +37477,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
37477
37477
  }, {}, {}>;
37478
37478
  }, undefined>, undefined>;
37479
37479
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37480
- agentId: z.ZodString;
37481
37480
  projectId: z.ZodString;
37481
+ agentId: z.ZodString;
37482
37482
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37483
37483
  }, {
37484
37484
  out: {};
37485
37485
  in: {};
37486
37486
  }>;
37487
37487
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37488
- agentId: z.ZodString;
37489
37488
  projectId: z.ZodString;
37489
+ agentId: z.ZodString;
37490
37490
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37491
37491
  agentName: z.ZodString;
37492
37492
  projectName: z.ZodOptional<z.ZodString>;
@@ -37496,7 +37496,7 @@ declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37496
37496
  }>;
37497
37497
  type WorkAppSlackAgentConfigRequest = z.infer<typeof WorkAppSlackAgentConfigRequestSchema>;
37498
37498
  type WorkAppSlackAgentConfigResponse = z.infer<typeof WorkAppSlackAgentConfigResponseSchema>;
37499
- declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37499
+ declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
37500
37500
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37501
37501
  name: "created_at";
37502
37502
  tableName: "user_profile";
@@ -37601,7 +37601,7 @@ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37601
37601
  }, {}, {
37602
37602
  $type: Record<string, unknown>;
37603
37603
  }>;
37604
- }, drizzle_zod19.BuildRefine<{
37604
+ }, drizzle_zod15.BuildRefine<{
37605
37605
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37606
37606
  name: "created_at";
37607
37607
  tableName: "user_profile";