@inkeep/agents-core 0.68.1 → 0.68.3

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 (38) hide show
  1. package/dist/auth/auth-types.d.ts +10 -2
  2. package/dist/auth/auth-types.js +2 -0
  3. package/dist/auth/auth.js +29 -5
  4. package/dist/client-exports.d.ts +2 -2
  5. package/dist/client-exports.js +2 -2
  6. package/dist/data-access/index.d.ts +2 -1
  7. package/dist/data-access/index.js +2 -1
  8. package/dist/data-access/manage/agents.d.ts +12 -12
  9. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  10. package/dist/data-access/manage/functionTools.d.ts +2 -2
  11. package/dist/data-access/manage/skills.d.ts +2 -2
  12. package/dist/data-access/manage/subAgentRelations.d.ts +4 -4
  13. package/dist/data-access/manage/subAgents.d.ts +12 -12
  14. package/dist/data-access/manage/tools.d.ts +9 -9
  15. package/dist/data-access/manage/triggers.d.ts +2 -2
  16. package/dist/data-access/runtime/apps.d.ts +17 -2
  17. package/dist/data-access/runtime/feedback.d.ts +4 -4
  18. package/dist/data-access/runtime/invitationProjectAssignments.d.ts +16 -0
  19. package/dist/data-access/runtime/invitationProjectAssignments.js +25 -0
  20. package/dist/data-access/runtime/messages.d.ts +9 -9
  21. package/dist/data-access/runtime/organizations.js +1 -0
  22. package/dist/db/manage/manage-schema.d.ts +457 -457
  23. package/dist/db/runtime/runtime-schema.d.ts +509 -407
  24. package/dist/db/runtime/runtime-schema.js +13 -1
  25. package/dist/index.d.ts +5 -4
  26. package/dist/index.js +4 -3
  27. package/dist/types/index.d.ts +2 -2
  28. package/dist/types/utility.d.ts +5 -4
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/index.d.ts +2 -2
  31. package/dist/validation/index.js +2 -2
  32. package/dist/validation/schemas/skills.d.ts +29 -29
  33. package/dist/validation/schemas.d.ts +559 -461
  34. package/dist/validation/schemas.js +20 -4
  35. package/drizzle/runtime/0037_mysterious_gargoyle.sql +10 -0
  36. package/drizzle/runtime/meta/0037_snapshot.json +5990 -0
  37. package/drizzle/runtime/meta/_journal.json +7 -0
  38. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core297 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 TextPartSchema: z.ZodObject<{
@@ -123,7 +123,7 @@ declare const FunctionToolConfigSchema: z.ZodObject<{
123
123
  type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execute'> & {
124
124
  execute: ((params: any) => Promise<any>) | string;
125
125
  };
126
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
126
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
127
127
  createdAt: drizzle_orm_pg_core297.PgColumn<{
128
128
  name: "created_at";
129
129
  tableName: "sub_agents";
@@ -386,7 +386,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
386
386
  }, {}, {
387
387
  length: 256;
388
388
  }>;
389
- }, drizzle_zod19.BuildRefine<{
389
+ }, drizzle_zod15.BuildRefine<{
390
390
  createdAt: drizzle_orm_pg_core297.PgColumn<{
391
391
  name: "created_at";
392
392
  tableName: "sub_agents";
@@ -745,6 +745,7 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
745
745
  updatedAt: z.ZodString;
746
746
  description: z.ZodNullable<z.ZodString>;
747
747
  prompt: z.ZodNullable<z.ZodString>;
748
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
748
749
  models: z.ZodNullable<z.ZodType<{
749
750
  base?: {
750
751
  model?: string | undefined;
@@ -831,7 +832,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
831
832
  }, {
832
833
  stepCountIs?: number | undefined;
833
834
  }>>>;
834
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
835
835
  }, z.core.$strip>;
836
836
  declare const SubAgentApiInsertSchema: z.ZodObject<{
837
837
  id: z.ZodString;
@@ -840,6 +840,7 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
840
840
  updatedAt: z.ZodOptional<z.ZodString>;
841
841
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
842
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
843
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
843
844
  models: z.ZodOptional<z.ZodObject<{
844
845
  base: z.ZodOptional<z.ZodObject<{
845
846
  model: z.ZodOptional<z.ZodString>;
@@ -869,7 +870,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
869
870
  }, {
870
871
  stepCountIs?: number | undefined;
871
872
  }>>>>;
872
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
873
873
  }, z.core.$strip>;
874
874
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
875
875
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -878,6 +878,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
878
878
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
879
879
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
880
880
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
881
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
881
882
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
882
883
  base: z.ZodOptional<z.ZodObject<{
883
884
  model: z.ZodOptional<z.ZodString>;
@@ -907,9 +908,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
907
908
  }, {
908
909
  stepCountIs?: number | undefined;
909
910
  }>>>>>>;
910
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
911
911
  }, z.core.$strip>;
912
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
912
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
913
913
  createdAt: drizzle_orm_pg_core297.PgColumn<{
914
914
  name: "created_at";
915
915
  tableName: "sub_agent_relations";
@@ -1077,7 +1077,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
1077
1077
  }, {}, {
1078
1078
  length: 256;
1079
1079
  }>;
1080
- }, drizzle_zod19.BuildRefine<{
1080
+ }, drizzle_zod15.BuildRefine<{
1081
1081
  createdAt: drizzle_orm_pg_core297.PgColumn<{
1082
1082
  name: "created_at";
1083
1083
  tableName: "sub_agent_relations";
@@ -1343,7 +1343,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1343
1343
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1344
1344
  externalSubAgentId: z.ZodString;
1345
1345
  }, z.core.$strip>;
1346
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1346
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1347
1347
  createdAt: drizzle_orm_pg_core297.PgColumn<{
1348
1348
  name: "created_at";
1349
1349
  tableName: "agent";
@@ -1673,7 +1673,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1673
1673
  }, {}, {
1674
1674
  length: 256;
1675
1675
  }>;
1676
- }, drizzle_zod19.BuildRefine<{
1676
+ }, drizzle_zod15.BuildRefine<{
1677
1677
  createdAt: drizzle_orm_pg_core297.PgColumn<{
1678
1678
  name: "created_at";
1679
1679
  tableName: "agent";
@@ -2004,7 +2004,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
2004
2004
  length: 256;
2005
2005
  }>;
2006
2006
  }, undefined>, undefined>;
2007
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2007
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2008
2008
  createdAt: drizzle_orm_pg_core297.PgColumn<{
2009
2009
  name: "created_at";
2010
2010
  tableName: "agent";
@@ -2334,7 +2334,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2334
2334
  }, {}, {
2335
2335
  length: 256;
2336
2336
  }>;
2337
- }, drizzle_zod19.BuildRefine<Pick<{
2337
+ }, drizzle_zod15.BuildRefine<Pick<{
2338
2338
  createdAt: drizzle_orm_pg_core297.PgColumn<{
2339
2339
  name: "created_at";
2340
2340
  tableName: "agent";
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "prompt" | "models" | "stopWhen" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode" | "projectId">, undefined>, undefined>;
2667
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "prompt" | "tenantId" | "projectId" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2668
2668
  declare const AgentUpdateSchema: z.ZodObject<{
2669
2669
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2670
2670
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3473,15 +3473,15 @@ declare const SignatureValidationOptionsSchema: z.ZodObject<{
3473
3473
  */
3474
3474
  declare const SignatureVerificationConfigSchema: z.ZodObject<{
3475
3475
  algorithm: z.ZodEnum<{
3476
+ md5: "md5";
3476
3477
  sha256: "sha256";
3477
3478
  sha512: "sha512";
3478
3479
  sha384: "sha384";
3479
3480
  sha1: "sha1";
3480
- md5: "md5";
3481
3481
  }>;
3482
3482
  encoding: z.ZodEnum<{
3483
- hex: "hex";
3484
3483
  base64: "base64";
3484
+ hex: "hex";
3485
3485
  }>;
3486
3486
  signature: z.ZodObject<{
3487
3487
  source: z.ZodEnum<{
@@ -3557,10 +3557,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3557
3557
  createdAt: z.ZodString;
3558
3558
  updatedAt: z.ZodString;
3559
3559
  enabled: z.ZodBoolean;
3560
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3561
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3560
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3561
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3562
3562
  messageTemplate: z.ZodNullable<z.ZodString>;
3563
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3563
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3564
3564
  name: z.ZodString;
3565
3565
  description: z.ZodNullable<z.ZodString>;
3566
3566
  agentId: z.ZodString;
@@ -3570,15 +3570,15 @@ declare const TriggerSelectSchema: z.ZodObject<{
3570
3570
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3571
3571
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3572
3572
  algorithm: z.ZodEnum<{
3573
+ md5: "md5";
3573
3574
  sha256: "sha256";
3574
3575
  sha512: "sha512";
3575
3576
  sha384: "sha384";
3576
3577
  sha1: "sha1";
3577
- md5: "md5";
3578
3578
  }>;
3579
3579
  encoding: z.ZodEnum<{
3580
- hex: "hex";
3581
3580
  base64: "base64";
3581
+ hex: "hex";
3582
3582
  }>;
3583
3583
  signature: z.ZodObject<{
3584
3584
  source: z.ZodEnum<{
@@ -3620,7 +3620,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3620
3620
  out: {};
3621
3621
  in: {};
3622
3622
  }>;
3623
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3623
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3624
3624
  createdAt: drizzle_orm_pg_core297.PgColumn<{
3625
3625
  name: "created_at";
3626
3626
  tableName: "triggers";
@@ -3777,8 +3777,8 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3777
3777
  dataType: "json";
3778
3778
  columnType: "PgJsonb";
3779
3779
  data: {
3780
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3781
- encoding: "hex" | "base64";
3780
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
3781
+ encoding: "base64" | "hex";
3782
3782
  signature: {
3783
3783
  source: "query" | "body" | "header";
3784
3784
  key: string;
@@ -3814,8 +3814,8 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3814
3814
  generated: undefined;
3815
3815
  }, {}, {
3816
3816
  $type: {
3817
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3818
- encoding: "hex" | "base64";
3817
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
3818
+ encoding: "base64" | "hex";
3819
3819
  signature: {
3820
3820
  source: "query" | "body" | "header";
3821
3821
  key: string;
@@ -4007,7 +4007,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4007
4007
  }, {}, {
4008
4008
  length: 256;
4009
4009
  }>;
4010
- }, drizzle_zod19.BuildRefine<Pick<{
4010
+ }, drizzle_zod15.BuildRefine<Pick<{
4011
4011
  createdAt: drizzle_orm_pg_core297.PgColumn<{
4012
4012
  name: "created_at";
4013
4013
  tableName: "triggers";
@@ -4164,8 +4164,8 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4164
4164
  dataType: "json";
4165
4165
  columnType: "PgJsonb";
4166
4166
  data: {
4167
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4168
- encoding: "hex" | "base64";
4167
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
4168
+ encoding: "base64" | "hex";
4169
4169
  signature: {
4170
4170
  source: "query" | "body" | "header";
4171
4171
  key: string;
@@ -4201,8 +4201,8 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4201
4201
  generated: undefined;
4202
4202
  }, {}, {
4203
4203
  $type: {
4204
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4205
- encoding: "hex" | "base64";
4204
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
4205
+ encoding: "base64" | "hex";
4206
4206
  signature: {
4207
4207
  source: "query" | "body" | "header";
4208
4208
  key: string;
@@ -4399,11 +4399,11 @@ declare const runAsUserIdsSchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
4399
4399
  declare const TriggerUpdateSchema: z.ZodObject<{
4400
4400
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4401
4401
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4402
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4403
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4402
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4403
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4404
4404
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4405
4405
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4406
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4406
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4407
4407
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4408
4408
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
4409
4409
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4432,22 +4432,22 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4432
4432
  updatedAt: z.ZodString;
4433
4433
  description: z.ZodNullable<z.ZodString>;
4434
4434
  enabled: z.ZodBoolean;
4435
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4436
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4435
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4436
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4437
4437
  messageTemplate: z.ZodNullable<z.ZodString>;
4438
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4438
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4439
4439
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4440
4440
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4441
4441
  algorithm: z.ZodEnum<{
4442
+ md5: "md5";
4442
4443
  sha256: "sha256";
4443
4444
  sha512: "sha512";
4444
4445
  sha384: "sha384";
4445
4446
  sha1: "sha1";
4446
- md5: "md5";
4447
4447
  }>;
4448
4448
  encoding: z.ZodEnum<{
4449
- hex: "hex";
4450
4449
  base64: "base64";
4450
+ hex: "hex";
4451
4451
  }>;
4452
4452
  signature: z.ZodObject<{
4453
4453
  source: z.ZodEnum<{
@@ -4491,12 +4491,12 @@ declare const TriggerApiInsertBaseSchema: z.ZodObject<{
4491
4491
  name: z.ZodString;
4492
4492
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4493
4493
  enabled: z.ZodOptional<z.ZodBoolean>;
4494
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4495
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4494
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4495
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4496
4496
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4497
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4497
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4498
4498
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4499
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4499
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4500
4500
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4501
4501
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4502
4502
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4507,12 +4507,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4507
4507
  name: z.ZodString;
4508
4508
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4509
4509
  enabled: z.ZodOptional<z.ZodBoolean>;
4510
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4511
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4510
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4511
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4512
4512
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4513
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4513
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4514
4514
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4515
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4515
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4516
4516
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4517
4517
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4518
4518
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4525,8 +4525,8 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4525
4525
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4526
4526
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4527
4527
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4528
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4529
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4528
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4529
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4530
4530
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4531
4531
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
4532
4532
  headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -4536,7 +4536,7 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4536
4536
  }, z.core.$strip>>>;
4537
4537
  }, z.core.$strip>>>>;
4538
4538
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4539
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4539
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4540
4540
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4541
4541
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
4542
4542
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4549,22 +4549,22 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4549
4549
  updatedAt: z.ZodString;
4550
4550
  description: z.ZodNullable<z.ZodString>;
4551
4551
  enabled: z.ZodBoolean;
4552
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4553
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4552
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4553
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4554
4554
  messageTemplate: z.ZodNullable<z.ZodString>;
4555
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4555
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4556
4556
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4557
4557
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4558
4558
  algorithm: z.ZodEnum<{
4559
+ md5: "md5";
4559
4560
  sha256: "sha256";
4560
4561
  sha512: "sha512";
4561
4562
  sha384: "sha384";
4562
4563
  sha1: "sha1";
4563
- md5: "md5";
4564
4564
  }>;
4565
4565
  encoding: z.ZodEnum<{
4566
- hex: "hex";
4567
4566
  base64: "base64";
4567
+ hex: "hex";
4568
4568
  }>;
4569
4569
  signature: z.ZodObject<{
4570
4570
  source: z.ZodEnum<{
@@ -4611,8 +4611,8 @@ declare const TriggerInvocationSelectSchema: z.ZodObject<{
4611
4611
  conversationId: z.ZodNullable<z.ZodString>;
4612
4612
  batchId: z.ZodNullable<z.ZodString>;
4613
4613
  status: z.ZodString;
4614
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4615
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4614
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4615
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4616
4616
  errorMessage: z.ZodNullable<z.ZodString>;
4617
4617
  createdAt: z.ZodString;
4618
4618
  agentId: z.ZodString;
@@ -4633,7 +4633,7 @@ declare const TriggerInvocationSelectSchema: z.ZodObject<{
4633
4633
  out: {};
4634
4634
  in: {};
4635
4635
  }>;
4636
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4636
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4637
4637
  triggerId: drizzle_orm_pg_core297.PgColumn<{
4638
4638
  name: "trigger_id";
4639
4639
  tableName: "trigger_invocations";
@@ -4900,7 +4900,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4900
4900
  }, {}, {
4901
4901
  length: 256;
4902
4902
  }>;
4903
- }, drizzle_zod19.BuildRefine<Pick<{
4903
+ }, drizzle_zod15.BuildRefine<Pick<{
4904
4904
  triggerId: drizzle_orm_pg_core297.PgColumn<{
4905
4905
  name: "trigger_id";
4906
4906
  tableName: "trigger_invocations";
@@ -5200,8 +5200,8 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5200
5200
  hash: string;
5201
5201
  }>>>>>;
5202
5202
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5203
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5204
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5203
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5204
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5205
5205
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5206
5206
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5207
5207
  agentId: z.ZodOptional<z.ZodString>;
@@ -5229,8 +5229,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5229
5229
  triggerId: z.ZodString;
5230
5230
  conversationId: z.ZodNullable<z.ZodString>;
5231
5231
  batchId: z.ZodNullable<z.ZodString>;
5232
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5233
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5232
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5233
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5234
5234
  errorMessage: z.ZodNullable<z.ZodString>;
5235
5235
  }, z.core.$strip>;
5236
5236
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
@@ -5257,8 +5257,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5257
5257
  triggerId: z.ZodString;
5258
5258
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5259
5259
  batchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5260
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5261
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5260
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5261
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5262
5262
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5263
5263
  id: z.ZodString;
5264
5264
  }, z.core.$strip>;
@@ -5287,8 +5287,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5287
5287
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5288
5288
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5289
5289
  batchId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5290
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5291
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5290
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5291
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5292
5292
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5293
5293
  }, z.core.$strip>;
5294
5294
  declare const CronExpressionSchema: z.ZodString;
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5497
5497
  out: {};
5498
5498
  in: {};
5499
5499
  }>;
5500
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5500
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5501
5501
  scheduledTriggerId: drizzle_orm_pg_core297.PgColumn<{
5502
5502
  name: "scheduled_trigger_id";
5503
5503
  tableName: "scheduled_trigger_invocations";
@@ -5801,7 +5801,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5801
5801
  }, {}, {
5802
5802
  length: 256;
5803
5803
  }>;
5804
- }, drizzle_zod19.BuildRefine<Pick<{
5804
+ }, drizzle_zod15.BuildRefine<Pick<{
5805
5805
  scheduledTriggerId: drizzle_orm_pg_core297.PgColumn<{
5806
5806
  name: "scheduled_trigger_id";
5807
5807
  tableName: "scheduled_trigger_invocations";
@@ -6105,7 +6105,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6105
6105
  }, {}, {
6106
6106
  length: 256;
6107
6107
  }>;
6108
- }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "runAsUserId" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6108
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "runAsUserId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6109
6109
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6110
6110
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6111
6111
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6129,7 +6129,7 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6129
6129
  scheduledFor: z.ZodOptional<z.ZodString>;
6130
6130
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6131
6131
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6132
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
6132
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
6133
6133
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
6134
6134
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
6135
6135
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -6163,12 +6163,12 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6163
6163
  cancelled: "cancelled";
6164
6164
  }>;
6165
6165
  runAsUserId: z.ZodNullable<z.ZodString>;
6166
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
6167
6166
  scheduledTriggerId: z.ZodString;
6168
6167
  scheduledFor: z.ZodString;
6169
6168
  startedAt: z.ZodNullable<z.ZodString>;
6170
6169
  completedAt: z.ZodNullable<z.ZodString>;
6171
6170
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6171
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
6172
6172
  attemptNumber: z.ZodInt;
6173
6173
  idempotencyKey: z.ZodString;
6174
6174
  }, z.core.$strip>;
@@ -6193,12 +6193,12 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6193
6193
  }>>>>;
6194
6194
  status: z.ZodString;
6195
6195
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6196
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6197
6196
  scheduledTriggerId: z.ZodString;
6198
6197
  scheduledFor: z.ZodString;
6199
6198
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6200
6199
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6201
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6200
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
6201
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6202
6202
  attemptNumber: z.ZodOptional<z.ZodInt>;
6203
6203
  idempotencyKey: z.ZodString;
6204
6204
  id: z.ZodString;
@@ -6225,17 +6225,17 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6225
6225
  }>>>>>>;
6226
6226
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6227
6227
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6228
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6229
6228
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6230
6229
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6231
6230
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6232
6231
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6233
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6232
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
6233
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6234
6234
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6235
6235
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6236
6236
  }, z.core.$strip>;
6237
6237
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
6238
- declare const SchedulerStateSelectSchema: drizzle_zod19.BuildSchema<"select", {
6238
+ declare const SchedulerStateSelectSchema: drizzle_zod15.BuildSchema<"select", {
6239
6239
  createdAt: drizzle_orm_pg_core297.PgColumn<{
6240
6240
  name: "created_at";
6241
6241
  tableName: "scheduler_state";
@@ -6308,7 +6308,7 @@ declare const SchedulerStateSelectSchema: drizzle_zod19.BuildSchema<"select", {
6308
6308
  }, {}, {
6309
6309
  length: 256;
6310
6310
  }>;
6311
- }, drizzle_zod19.BuildRefine<{
6311
+ }, drizzle_zod15.BuildRefine<{
6312
6312
  createdAt: drizzle_orm_pg_core297.PgColumn<{
6313
6313
  name: "created_at";
6314
6314
  tableName: "scheduler_state";
@@ -6515,7 +6515,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6515
6515
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6516
6516
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6517
6517
  }, z.core.$strip>;
6518
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6518
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6519
6519
  createdAt: drizzle_orm_pg_core297.PgColumn<{
6520
6520
  name: "created_at";
6521
6521
  tableName: "task_relations";
@@ -6664,7 +6664,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6664
6664
  }, {}, {
6665
6665
  length: 256;
6666
6666
  }>;
6667
- }, drizzle_zod19.BuildRefine<{
6667
+ }, drizzle_zod15.BuildRefine<{
6668
6668
  createdAt: drizzle_orm_pg_core297.PgColumn<{
6669
6669
  name: "created_at";
6670
6670
  tableName: "task_relations";
@@ -6886,7 +6886,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
6886
6886
  description: z.ZodOptional<z.ZodString>;
6887
6887
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6888
6888
  }, z.core.$strip>;
6889
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
6889
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6890
6890
  createdAt: drizzle_orm_pg_core297.PgColumn<{
6891
6891
  name: "created_at";
6892
6892
  tableName: "tools";
@@ -7166,7 +7166,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
7166
7166
  }, {}, {
7167
7167
  length: 256;
7168
7168
  }>;
7169
- }, drizzle_zod19.BuildRefine<{
7169
+ }, drizzle_zod15.BuildRefine<{
7170
7170
  createdAt: drizzle_orm_pg_core297.PgColumn<{
7171
7171
  name: "created_at";
7172
7172
  tableName: "tools";
@@ -7454,7 +7454,6 @@ declare const ToolInsertSchema: z.ZodObject<{
7454
7454
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7455
7455
  tenantId: z.ZodString;
7456
7456
  projectId: z.ZodString;
7457
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7458
7457
  config: z.ZodObject<{
7459
7458
  type: z.ZodLiteral<"mcp">;
7460
7459
  mcp: z.ZodObject<{
@@ -7481,6 +7480,7 @@ declare const ToolInsertSchema: z.ZodObject<{
7481
7480
  prompt: z.ZodOptional<z.ZodString>;
7482
7481
  }, z.core.$strip>;
7483
7482
  }, z.core.$strip>;
7483
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7484
7484
  credentialScope: z.ZodOptional<z.ZodString>;
7485
7485
  imageUrl: z.ZodOptional<z.ZodString>;
7486
7486
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -7603,8 +7603,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7603
7603
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7604
7604
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7605
7605
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7606
- contextConfigId: z.ZodOptional<z.ZodString>;
7607
7606
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7607
+ contextConfigId: z.ZodOptional<z.ZodString>;
7608
7608
  activeSubAgentId: z.ZodString;
7609
7609
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7610
7610
  }, z.core.$strip>;
@@ -7624,12 +7624,12 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7624
7624
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7625
7625
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7626
7626
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7627
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7628
7627
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7628
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7629
7629
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7630
7630
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7631
7631
  }, z.core.$strip>;
7632
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7632
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7633
7633
  createdAt: drizzle_orm_pg_core297.PgColumn<{
7634
7634
  name: "created_at";
7635
7635
  tableName: "messages";
@@ -8025,7 +8025,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
8025
8025
  }, {}, {
8026
8026
  length: 256;
8027
8027
  }>;
8028
- }, drizzle_zod19.BuildRefine<{
8028
+ }, drizzle_zod15.BuildRefine<{
8029
8029
  createdAt: drizzle_orm_pg_core297.PgColumn<{
8030
8030
  name: "created_at";
8031
8031
  tableName: "messages";
@@ -8481,18 +8481,18 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8481
8481
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8482
8482
  role: z.ZodString;
8483
8483
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8484
+ conversationId: z.ZodString;
8484
8485
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8485
8486
  toSubAgentId: z.ZodNullable<z.ZodString>;
8486
8487
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
8487
8488
  toExternalAgentId: z.ZodNullable<z.ZodString>;
8488
- taskId: z.ZodNullable<z.ZodString>;
8489
- a2aTaskId: z.ZodNullable<z.ZodString>;
8490
- conversationId: z.ZodString;
8491
8489
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
8492
8490
  toTeamAgentId: z.ZodNullable<z.ZodString>;
8493
8491
  visibility: z.ZodString;
8494
8492
  messageType: z.ZodString;
8493
+ taskId: z.ZodNullable<z.ZodString>;
8495
8494
  parentMessageId: z.ZodNullable<z.ZodString>;
8495
+ a2aTaskId: z.ZodNullable<z.ZodString>;
8496
8496
  a2aSessionId: z.ZodNullable<z.ZodString>;
8497
8497
  }, z.core.$strip>;
8498
8498
  declare const MessageApiInsertSchema: z.ZodObject<{
@@ -8502,18 +8502,18 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8502
8502
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8503
8503
  role: z.ZodString;
8504
8504
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8505
+ conversationId: z.ZodString;
8505
8506
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8506
8507
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8507
8508
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8508
8509
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8509
- taskId: z.ZodOptional<z.ZodString>;
8510
- a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8511
- conversationId: z.ZodString;
8512
8510
  fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8513
8511
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8514
8512
  visibility: z.ZodOptional<z.ZodString>;
8515
8513
  messageType: z.ZodOptional<z.ZodString>;
8514
+ taskId: z.ZodOptional<z.ZodString>;
8516
8515
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8516
+ a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8517
8517
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8518
8518
  }, z.core.$strip>;
8519
8519
  declare const MessageApiUpdateSchema: z.ZodObject<{
@@ -8523,21 +8523,21 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8523
8523
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8524
8524
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8525
8525
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8526
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8526
8527
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8527
8528
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8528
8529
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8529
8530
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8530
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8531
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8532
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8533
8531
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8534
8532
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8535
8533
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8536
8534
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8535
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8537
8536
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8537
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8538
8538
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8539
8539
  }, z.core.$strip>;
8540
- declare const FeedbackSelectSchema: drizzle_zod19.BuildSchema<"select", {
8540
+ declare const FeedbackSelectSchema: drizzle_zod15.BuildSchema<"select", {
8541
8541
  createdAt: drizzle_orm_pg_core297.PgColumn<{
8542
8542
  name: "created_at";
8543
8543
  tableName: "feedback";
@@ -8704,7 +8704,7 @@ declare const FeedbackSelectSchema: drizzle_zod19.BuildSchema<"select", {
8704
8704
  }, {}, {
8705
8705
  length: 256;
8706
8706
  }>;
8707
- }, drizzle_zod19.BuildRefine<{
8707
+ }, drizzle_zod15.BuildRefine<{
8708
8708
  createdAt: drizzle_orm_pg_core297.PgColumn<{
8709
8709
  name: "created_at";
8710
8710
  tableName: "feedback";
@@ -8907,33 +8907,33 @@ declare const FeedbackUpdateSchema: z.ZodObject<{
8907
8907
  in: {};
8908
8908
  }>;
8909
8909
  declare const FeedbackApiSelectSchema: z.ZodObject<{
8910
+ type: z.ZodString;
8910
8911
  id: z.ZodString;
8911
8912
  createdAt: z.ZodString;
8912
8913
  updatedAt: z.ZodString;
8913
- type: z.ZodString;
8914
- details: z.ZodNullable<z.ZodString>;
8915
8914
  conversationId: z.ZodString;
8916
8915
  messageId: z.ZodNullable<z.ZodString>;
8916
+ details: z.ZodNullable<z.ZodString>;
8917
8917
  }, z.core.$strip>;
8918
8918
  declare const FeedbackApiInsertSchema: z.ZodObject<{
8919
- createdAt: z.ZodOptional<z.ZodString>;
8920
- updatedAt: z.ZodOptional<z.ZodString>;
8921
8919
  type: z.ZodEnum<{
8922
8920
  positive: "positive";
8923
8921
  negative: "negative";
8924
8922
  }>;
8925
- details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8923
+ createdAt: z.ZodOptional<z.ZodString>;
8924
+ updatedAt: z.ZodOptional<z.ZodString>;
8926
8925
  conversationId: z.ZodString;
8927
8926
  messageId: z.ZodOptional<z.ZodString>;
8927
+ details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8928
8928
  id: z.ZodOptional<z.ZodString>;
8929
8929
  }, z.core.$strip>;
8930
8930
  declare const FeedbackApiUpdateSchema: z.ZodObject<{
8931
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8932
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8933
8931
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
8934
8932
  positive: "positive";
8935
8933
  negative: "negative";
8936
8934
  }>>>;
8935
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8936
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8937
8937
  details: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8938
8938
  }, z.core.$strip>;
8939
8939
  declare const ContextCacheSelectSchema: z.ZodObject<{
@@ -8942,7 +8942,7 @@ declare const ContextCacheSelectSchema: z.ZodObject<{
8942
8942
  conversationId: z.ZodString;
8943
8943
  contextConfigId: z.ZodString;
8944
8944
  contextVariableKey: z.ZodString;
8945
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8945
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8946
8946
  requestHash: z.ZodNullable<z.ZodString>;
8947
8947
  fetchedAt: z.ZodString;
8948
8948
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8968,7 +8968,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8968
8968
  conversationId: z.ZodString;
8969
8969
  contextConfigId: z.ZodString;
8970
8970
  contextVariableKey: z.ZodString;
8971
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8971
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8972
8972
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8973
8973
  fetchedAt: z.ZodOptional<z.ZodString>;
8974
8974
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8994,7 +8994,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8994
8994
  conversationId: z.ZodOptional<z.ZodString>;
8995
8995
  contextConfigId: z.ZodOptional<z.ZodString>;
8996
8996
  contextVariableKey: z.ZodOptional<z.ZodString>;
8997
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8997
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8998
8998
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8999
8999
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9000
9000
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -9027,7 +9027,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
9027
9027
  name: z.ZodString;
9028
9028
  hash: z.ZodString;
9029
9029
  }, z.core.$strip>>>;
9030
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
9030
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
9031
9031
  contextConfigId: z.ZodString;
9032
9032
  conversationId: z.ZodString;
9033
9033
  contextVariableKey: z.ZodString;
@@ -9048,7 +9048,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
9048
9048
  name: z.ZodString;
9049
9049
  hash: z.ZodString;
9050
9050
  }, z.core.$strip>;
9051
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
9051
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
9052
9052
  contextConfigId: z.ZodString;
9053
9053
  conversationId: z.ZodString;
9054
9054
  contextVariableKey: z.ZodString;
@@ -9069,7 +9069,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
9069
9069
  name: z.ZodString;
9070
9070
  hash: z.ZodString;
9071
9071
  }, z.core.$strip>>>;
9072
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
9072
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
9073
9073
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9074
9074
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9075
9075
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -9173,8 +9173,8 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
9173
9173
  hash: z.ZodString;
9174
9174
  }, z.core.$strip>>>;
9175
9175
  datasetId: z.ZodString;
9176
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9177
9176
  datasetRunConfigId: z.ZodNullable<z.ZodString>;
9177
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9178
9178
  }, z.core.$strip>;
9179
9179
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
9180
9180
  createdAt: z.ZodOptional<z.ZodString>;
@@ -9197,8 +9197,8 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9197
9197
  hash: string;
9198
9198
  }>>>>;
9199
9199
  datasetId: z.ZodString;
9200
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9201
9200
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9201
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9202
9202
  }, z.core.$strip>;
9203
9203
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9204
9204
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9221,10 +9221,10 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9221
9221
  hash: string;
9222
9222
  }>>>>>>;
9223
9223
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9224
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9225
9224
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9225
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9226
9226
  }, z.core.$strip>;
9227
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9227
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9228
9228
  createdAt: drizzle_orm_pg_core297.PgColumn<{
9229
9229
  name: "created_at";
9230
9230
  tableName: "dataset_run_conversation_relations";
@@ -9367,7 +9367,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
9367
9367
  }, {}, {
9368
9368
  length: 256;
9369
9369
  }>;
9370
- }, drizzle_zod19.BuildRefine<{
9370
+ }, drizzle_zod15.BuildRefine<{
9371
9371
  createdAt: drizzle_orm_pg_core297.PgColumn<{
9372
9372
  name: "created_at";
9373
9373
  tableName: "dataset_run_conversation_relations";
@@ -9559,7 +9559,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9559
9559
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9560
9560
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9561
9561
  }, z.core.$strip>;
9562
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9562
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9563
9563
  createdAt: drizzle_orm_pg_core297.PgColumn<{
9564
9564
  name: "created_at";
9565
9565
  tableName: "evaluation_result";
@@ -9721,7 +9721,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
9721
9721
  }, {}, {
9722
9722
  length: 256;
9723
9723
  }>;
9724
- }, drizzle_zod19.BuildRefine<{
9724
+ }, drizzle_zod15.BuildRefine<{
9725
9725
  createdAt: drizzle_orm_pg_core297.PgColumn<{
9726
9726
  name: "created_at";
9727
9727
  tableName: "evaluation_result";
@@ -9913,28 +9913,28 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
9913
9913
  in: {};
9914
9914
  }>;
9915
9915
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9916
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9916
9917
  id: z.ZodString;
9917
9918
  createdAt: z.ZodString;
9918
9919
  updatedAt: z.ZodString;
9919
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9920
- evaluatorId: z.ZodString;
9921
9920
  conversationId: z.ZodString;
9921
+ evaluatorId: z.ZodString;
9922
9922
  evaluationRunId: z.ZodNullable<z.ZodString>;
9923
9923
  }, z.core.$strip>;
9924
9924
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9925
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9925
9926
  createdAt: z.ZodOptional<z.ZodString>;
9926
9927
  updatedAt: z.ZodOptional<z.ZodString>;
9927
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9928
- evaluatorId: z.ZodString;
9929
9928
  conversationId: z.ZodString;
9929
+ evaluatorId: z.ZodString;
9930
9930
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9931
9931
  }, z.core.$strip>;
9932
9932
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9933
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9933
9934
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9934
9935
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9935
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9936
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9937
9936
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9937
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9938
9938
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9939
9939
  }, z.core.$strip>;
9940
9940
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -10029,8 +10029,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
10029
10029
  name: z.ZodString;
10030
10030
  hash: z.ZodString;
10031
10031
  }, z.core.$strip>>>;
10032
- evaluationRunConfigId: z.ZodNullable<z.ZodString>;
10033
10032
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
10033
+ evaluationRunConfigId: z.ZodNullable<z.ZodString>;
10034
10034
  }, z.core.$strip>;
10035
10035
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10036
10036
  createdAt: z.ZodOptional<z.ZodString>;
@@ -10052,8 +10052,8 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10052
10052
  name: string;
10053
10053
  hash: string;
10054
10054
  }>>>>;
10055
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10056
10055
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10056
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10057
10057
  }, z.core.$strip>;
10058
10058
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10059
10059
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -10075,10 +10075,10 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10075
10075
  name: string;
10076
10076
  hash: string;
10077
10077
  }>>>>>>;
10078
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10079
10078
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10079
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10080
10080
  }, z.core.$strip>;
10081
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10081
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10082
10082
  createdAt: drizzle_orm_pg_core297.PgColumn<{
10083
10083
  name: "created_at";
10084
10084
  tableName: "evaluation_run_config";
@@ -10223,7 +10223,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10223
10223
  }, {}, {
10224
10224
  length: 256;
10225
10225
  }>;
10226
- }, drizzle_zod19.BuildRefine<{
10226
+ }, drizzle_zod15.BuildRefine<{
10227
10227
  createdAt: drizzle_orm_pg_core297.PgColumn<{
10228
10228
  name: "created_at";
10229
10229
  tableName: "evaluation_run_config";
@@ -10428,7 +10428,7 @@ declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10428
10428
  isActive: z.ZodBoolean;
10429
10429
  suiteConfigIds: z.ZodArray<z.ZodString>;
10430
10430
  }, z.core.$strip>;
10431
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10431
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10432
10432
  createdAt: drizzle_orm_pg_core297.PgColumn<{
10433
10433
  name: "created_at";
10434
10434
  tableName: "evaluation_job_config";
@@ -10553,7 +10553,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10553
10553
  }, {}, {
10554
10554
  length: 256;
10555
10555
  }>;
10556
- }, drizzle_zod19.BuildRefine<{
10556
+ }, drizzle_zod15.BuildRefine<{
10557
10557
  createdAt: drizzle_orm_pg_core297.PgColumn<{
10558
10558
  name: "created_at";
10559
10559
  tableName: "evaluation_job_config";
@@ -10858,7 +10858,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10858
10858
  } | undefined;
10859
10859
  }>>>>>>>;
10860
10860
  }, z.core.$strip>;
10861
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10861
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10862
10862
  createdAt: drizzle_orm_pg_core297.PgColumn<{
10863
10863
  name: "created_at";
10864
10864
  tableName: "evaluation_suite_config";
@@ -10986,7 +10986,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
10986
10986
  }, {}, {
10987
10987
  length: 256;
10988
10988
  }>;
10989
- }, drizzle_zod19.BuildRefine<{
10989
+ }, drizzle_zod15.BuildRefine<{
10990
10990
  createdAt: drizzle_orm_pg_core297.PgColumn<{
10991
10991
  name: "created_at";
10992
10992
  tableName: "evaluation_suite_config";
@@ -11160,7 +11160,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11160
11160
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11161
11161
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11162
11162
  }, z.core.$strip>;
11163
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11163
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11164
11164
  createdAt: drizzle_orm_pg_core297.PgColumn<{
11165
11165
  name: "created_at";
11166
11166
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11290,7 +11290,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11290
11290
  }, {}, {
11291
11291
  length: 256;
11292
11292
  }>;
11293
- }, drizzle_zod19.BuildRefine<{
11293
+ }, drizzle_zod15.BuildRefine<{
11294
11294
  createdAt: drizzle_orm_pg_core297.PgColumn<{
11295
11295
  name: "created_at";
11296
11296
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11449,22 +11449,22 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11449
11449
  id: z.ZodString;
11450
11450
  createdAt: z.ZodString;
11451
11451
  updatedAt: z.ZodString;
11452
- evaluationSuiteConfigId: z.ZodString;
11453
11452
  evaluationRunConfigId: z.ZodString;
11453
+ evaluationSuiteConfigId: z.ZodString;
11454
11454
  }, z.core.$strip>;
11455
11455
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11456
11456
  createdAt: z.ZodOptional<z.ZodString>;
11457
11457
  updatedAt: z.ZodOptional<z.ZodString>;
11458
- evaluationSuiteConfigId: z.ZodString;
11459
11458
  evaluationRunConfigId: z.ZodString;
11459
+ evaluationSuiteConfigId: z.ZodString;
11460
11460
  }, z.core.$strip>;
11461
11461
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11462
11462
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11463
11463
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11464
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11465
11464
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11465
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11466
11466
  }, z.core.$strip>;
11467
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11467
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11468
11468
  createdAt: drizzle_orm_pg_core297.PgColumn<{
11469
11469
  name: "created_at";
11470
11470
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11594,7 +11594,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
11594
11594
  }, {}, {
11595
11595
  length: 256;
11596
11596
  }>;
11597
- }, drizzle_zod19.BuildRefine<{
11597
+ }, drizzle_zod15.BuildRefine<{
11598
11598
  createdAt: drizzle_orm_pg_core297.PgColumn<{
11599
11599
  name: "created_at";
11600
11600
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11753,22 +11753,22 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{
11753
11753
  id: z.ZodString;
11754
11754
  createdAt: z.ZodString;
11755
11755
  updatedAt: z.ZodString;
11756
- evaluatorId: z.ZodString;
11757
11756
  evaluationJobConfigId: z.ZodString;
11757
+ evaluatorId: z.ZodString;
11758
11758
  }, z.core.$strip>;
11759
11759
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11760
11760
  createdAt: z.ZodOptional<z.ZodString>;
11761
11761
  updatedAt: z.ZodOptional<z.ZodString>;
11762
- evaluatorId: z.ZodString;
11763
11762
  evaluationJobConfigId: z.ZodString;
11763
+ evaluatorId: z.ZodString;
11764
11764
  }, z.core.$strip>;
11765
11765
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11766
11766
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11767
11767
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11768
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11769
11768
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11769
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11770
11770
  }, z.core.$strip>;
11771
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11771
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11772
11772
  createdAt: drizzle_orm_pg_core297.PgColumn<{
11773
11773
  name: "created_at";
11774
11774
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11898,7 +11898,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
11898
11898
  }, {}, {
11899
11899
  length: 256;
11900
11900
  }>;
11901
- }, drizzle_zod19.BuildRefine<{
11901
+ }, drizzle_zod15.BuildRefine<{
11902
11902
  createdAt: drizzle_orm_pg_core297.PgColumn<{
11903
11903
  name: "created_at";
11904
11904
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -12057,22 +12057,22 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
12057
12057
  id: z.ZodString;
12058
12058
  createdAt: z.ZodString;
12059
12059
  updatedAt: z.ZodString;
12060
- evaluationSuiteConfigId: z.ZodString;
12061
12060
  evaluatorId: z.ZodString;
12061
+ evaluationSuiteConfigId: z.ZodString;
12062
12062
  }, z.core.$strip>;
12063
12063
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
12064
12064
  createdAt: z.ZodOptional<z.ZodString>;
12065
12065
  updatedAt: z.ZodOptional<z.ZodString>;
12066
- evaluationSuiteConfigId: z.ZodString;
12067
12066
  evaluatorId: z.ZodString;
12067
+ evaluationSuiteConfigId: z.ZodString;
12068
12068
  }, z.core.$strip>;
12069
12069
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12070
12070
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12071
12071
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12072
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12073
12072
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12073
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12074
12074
  }, z.core.$strip>;
12075
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12075
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
12076
12076
  createdAt: drizzle_orm_pg_core297.PgColumn<{
12077
12077
  name: "created_at";
12078
12078
  tableName: "evaluator";
@@ -12284,7 +12284,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12284
12284
  }, {}, {
12285
12285
  length: 256;
12286
12286
  }>;
12287
- }, drizzle_zod19.BuildRefine<{
12287
+ }, drizzle_zod15.BuildRefine<{
12288
12288
  createdAt: drizzle_orm_pg_core297.PgColumn<{
12289
12289
  name: "created_at";
12290
12290
  tableName: "evaluator";
@@ -12660,7 +12660,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12660
12660
  }>>>>;
12661
12661
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12662
12662
  }, z.core.$strip>;
12663
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12663
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12664
12664
  createdAt: drizzle_orm_pg_core297.PgColumn<{
12665
12665
  name: "created_at";
12666
12666
  tableName: "dataset";
@@ -12771,7 +12771,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12771
12771
  }, {}, {
12772
12772
  length: 256;
12773
12773
  }>;
12774
- }, drizzle_zod19.BuildRefine<{
12774
+ }, drizzle_zod15.BuildRefine<{
12775
12775
  createdAt: drizzle_orm_pg_core297.PgColumn<{
12776
12776
  name: "created_at";
12777
12777
  tableName: "dataset";
@@ -12921,7 +12921,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12921
12921
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12922
12922
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12923
12923
  }, z.core.$strip>;
12924
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12924
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12925
12925
  createdAt: drizzle_orm_pg_core297.PgColumn<{
12926
12926
  name: "created_at";
12927
12927
  tableName: "dataset_item";
@@ -13070,7 +13070,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
13070
13070
  }, {}, {
13071
13071
  length: 256;
13072
13072
  }>;
13073
- }, drizzle_zod19.BuildRefine<{
13073
+ }, drizzle_zod15.BuildRefine<{
13074
13074
  createdAt: drizzle_orm_pg_core297.PgColumn<{
13075
13075
  name: "created_at";
13076
13076
  tableName: "dataset_item";
@@ -13247,28 +13247,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
13247
13247
  in: {};
13248
13248
  }>;
13249
13249
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
13250
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13250
13251
  id: z.ZodString;
13251
13252
  createdAt: z.ZodString;
13252
13253
  updatedAt: z.ZodString;
13253
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13254
13254
  datasetId: z.ZodString;
13255
13255
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
13256
13256
  }, z.core.$strip>;
13257
13257
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
13258
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13258
13259
  createdAt: z.ZodOptional<z.ZodString>;
13259
13260
  updatedAt: z.ZodOptional<z.ZodString>;
13260
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13261
13261
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13262
13262
  }, z.core.$strip>;
13263
13263
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13264
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13264
13265
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13265
13266
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13266
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13267
13267
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
13268
13268
  }, z.core.$strip>;
13269
13269
  declare const DatasetRunItemSchema: z.ZodObject<{
13270
- id: z.ZodOptional<z.ZodString>;
13271
13270
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13271
+ id: z.ZodOptional<z.ZodString>;
13272
13272
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13273
13273
  agentId: z.ZodString;
13274
13274
  }, z.core.$strip>;
@@ -13302,7 +13302,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13302
13302
  }, z.core.$strip>>;
13303
13303
  }, z.core.$strip>>>;
13304
13304
  }, z.core.$strip>;
13305
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13305
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13306
13306
  createdAt: drizzle_orm_pg_core297.PgColumn<{
13307
13307
  name: "created_at";
13308
13308
  tableName: "dataset_run_config";
@@ -13449,7 +13449,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
13449
13449
  }, {}, {
13450
13450
  length: 256;
13451
13451
  }>;
13452
- }, drizzle_zod19.BuildRefine<{
13452
+ }, drizzle_zod15.BuildRefine<{
13453
13453
  createdAt: drizzle_orm_pg_core297.PgColumn<{
13454
13454
  name: "created_at";
13455
13455
  tableName: "dataset_run_config";
@@ -13645,7 +13645,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13645
13645
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13646
13646
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13647
13647
  }, z.core.$strip>;
13648
- declare const AgentDatasetRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13648
+ declare const AgentDatasetRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13649
13649
  createdAt: drizzle_orm_pg_core297.PgColumn<{
13650
13650
  name: "created_at";
13651
13651
  tableName: "agent_dataset_relations";
@@ -13775,7 +13775,7 @@ declare const AgentDatasetRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
13775
13775
  }, {}, {
13776
13776
  length: 256;
13777
13777
  }>;
13778
- }, drizzle_zod19.BuildRefine<{
13778
+ }, drizzle_zod15.BuildRefine<{
13779
13779
  createdAt: drizzle_orm_pg_core297.PgColumn<{
13780
13780
  name: "created_at";
13781
13781
  tableName: "agent_dataset_relations";
@@ -13943,7 +13943,7 @@ declare const AgentDatasetRelationApiInsertSchema: z.ZodObject<{
13943
13943
  agentId: z.ZodString;
13944
13944
  datasetId: z.ZodString;
13945
13945
  }, z.core.$strip>;
13946
- declare const AgentEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13946
+ declare const AgentEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13947
13947
  createdAt: drizzle_orm_pg_core297.PgColumn<{
13948
13948
  name: "created_at";
13949
13949
  tableName: "agent_evaluator_relations";
@@ -14073,7 +14073,7 @@ declare const AgentEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"sel
14073
14073
  }, {}, {
14074
14074
  length: 256;
14075
14075
  }>;
14076
- }, drizzle_zod19.BuildRefine<{
14076
+ }, drizzle_zod15.BuildRefine<{
14077
14077
  createdAt: drizzle_orm_pg_core297.PgColumn<{
14078
14078
  name: "created_at";
14079
14079
  tableName: "agent_evaluator_relations";
@@ -14241,7 +14241,7 @@ declare const AgentEvaluatorRelationApiInsertSchema: z.ZodObject<{
14241
14241
  agentId: z.ZodString;
14242
14242
  evaluatorId: z.ZodString;
14243
14243
  }, z.core.$strip>;
14244
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14244
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
14245
14245
  createdAt: drizzle_orm_pg_core297.PgColumn<{
14246
14246
  name: "created_at";
14247
14247
  tableName: "dataset_run_config_agent_relations";
@@ -14371,7 +14371,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
14371
14371
  }, {}, {
14372
14372
  length: 256;
14373
14373
  }>;
14374
- }, drizzle_zod19.BuildRefine<{
14374
+ }, drizzle_zod15.BuildRefine<{
14375
14375
  createdAt: drizzle_orm_pg_core297.PgColumn<{
14376
14376
  name: "created_at";
14377
14377
  tableName: "dataset_run_config_agent_relations";
@@ -14526,7 +14526,7 @@ declare const DatasetRunConfigAgentRelationUpdateSchema: z.ZodObject<{
14526
14526
  out: {};
14527
14527
  in: {};
14528
14528
  }>;
14529
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14529
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14530
14530
  createdAt: drizzle_orm_pg_core297.PgColumn<{
14531
14531
  name: "created_at";
14532
14532
  tableName: "data_components";
@@ -14712,7 +14712,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14712
14712
  }, {}, {
14713
14713
  length: 256;
14714
14714
  }>;
14715
- }, drizzle_zod19.BuildRefine<{
14715
+ }, drizzle_zod15.BuildRefine<{
14716
14716
  createdAt: drizzle_orm_pg_core297.PgColumn<{
14717
14717
  name: "created_at";
14718
14718
  tableName: "data_components";
@@ -15102,7 +15102,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
15102
15102
  description: z.ZodOptional<z.ZodString>;
15103
15103
  }, z.core.$loose>;
15104
15104
  }, z.core.$strip>;
15105
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15105
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15106
15106
  dataComponentId: drizzle_orm_pg_core297.PgColumn<{
15107
15107
  name: "data_component_id";
15108
15108
  tableName: "sub_agent_data_components";
@@ -15234,7 +15234,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
15234
15234
  }, {}, {
15235
15235
  length: 256;
15236
15236
  }>;
15237
- }, drizzle_zod19.BuildRefine<{
15237
+ }, drizzle_zod15.BuildRefine<{
15238
15238
  dataComponentId: drizzle_orm_pg_core297.PgColumn<{
15239
15239
  name: "data_component_id";
15240
15240
  tableName: "sub_agent_data_components";
@@ -15367,7 +15367,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
15367
15367
  length: 256;
15368
15368
  }>;
15369
15369
  }, undefined>, undefined>;
15370
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
15370
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
15371
15371
  dataComponentId: drizzle_orm_pg_core297.PgColumn<{
15372
15372
  name: "data_component_id";
15373
15373
  tableName: "sub_agent_data_components";
@@ -15499,7 +15499,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15499
15499
  }, {}, {
15500
15500
  length: 256;
15501
15501
  }>;
15502
- }, drizzle_zod19.BuildRefine<Pick<{
15502
+ }, drizzle_zod15.BuildRefine<Pick<{
15503
15503
  dataComponentId: drizzle_orm_pg_core297.PgColumn<{
15504
15504
  name: "data_component_id";
15505
15505
  tableName: "sub_agent_data_components";
@@ -15664,7 +15664,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15664
15664
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15665
15665
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15666
15666
  }, z.core.$strip>;
15667
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15667
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15668
15668
  createdAt: drizzle_orm_pg_core297.PgColumn<{
15669
15669
  name: "created_at";
15670
15670
  tableName: "artifact_components";
@@ -15850,7 +15850,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
15850
15850
  }, {}, {
15851
15851
  length: 256;
15852
15852
  }>;
15853
- }, drizzle_zod19.BuildRefine<{
15853
+ }, drizzle_zod15.BuildRefine<{
15854
15854
  createdAt: drizzle_orm_pg_core297.PgColumn<{
15855
15855
  name: "created_at";
15856
15856
  tableName: "artifact_components";
@@ -16271,7 +16271,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16271
16271
  mockData: Record<string, unknown>;
16272
16272
  }>>>>>>;
16273
16273
  }, z.core.$strip>;
16274
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16274
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16275
16275
  artifactComponentId: drizzle_orm_pg_core297.PgColumn<{
16276
16276
  name: "artifact_component_id";
16277
16277
  tableName: "sub_agent_artifact_components";
@@ -16403,7 +16403,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
16403
16403
  }, {}, {
16404
16404
  length: 256;
16405
16405
  }>;
16406
- }, drizzle_zod19.BuildRefine<{
16406
+ }, drizzle_zod15.BuildRefine<{
16407
16407
  artifactComponentId: drizzle_orm_pg_core297.PgColumn<{
16408
16408
  name: "artifact_component_id";
16409
16409
  tableName: "sub_agent_artifact_components";
@@ -16600,8 +16600,8 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16600
16600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16601
16601
  tenantId: z.ZodString;
16602
16602
  projectId: z.ZodString;
16603
- baseUrl: z.ZodURL;
16604
16603
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16604
+ baseUrl: z.ZodURL;
16605
16605
  }, {
16606
16606
  out: {};
16607
16607
  in: {};
@@ -16612,8 +16612,8 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
16612
16612
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16613
16613
  tenantId: z.ZodOptional<z.ZodString>;
16614
16614
  projectId: z.ZodOptional<z.ZodString>;
16615
- baseUrl: z.ZodOptional<z.ZodURL>;
16616
16615
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16616
+ baseUrl: z.ZodOptional<z.ZodURL>;
16617
16617
  }, {
16618
16618
  out: {};
16619
16619
  in: {};
@@ -16624,22 +16624,22 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<{
16624
16624
  createdAt: z.ZodString;
16625
16625
  updatedAt: z.ZodString;
16626
16626
  description: z.ZodNullable<z.ZodString>;
16627
- baseUrl: z.ZodString;
16628
16627
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16628
+ baseUrl: z.ZodString;
16629
16629
  }, z.core.$strip>;
16630
16630
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
16631
16631
  id: z.ZodString;
16632
16632
  name: z.ZodString;
16633
16633
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16634
- baseUrl: z.ZodURL;
16635
16634
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16635
+ baseUrl: z.ZodURL;
16636
16636
  }, z.core.$strip>;
16637
16637
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16638
16638
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16639
16639
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16640
16640
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16641
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16642
16641
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16642
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16643
16643
  }, z.core.$strip>;
16644
16644
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16645
16645
  id: z.ZodString;
@@ -16648,6 +16648,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16648
16648
  updatedAt: z.ZodString;
16649
16649
  description: z.ZodNullable<z.ZodString>;
16650
16650
  prompt: z.ZodNullable<z.ZodString>;
16651
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16651
16652
  models: z.ZodNullable<z.ZodType<{
16652
16653
  base?: {
16653
16654
  model?: string | undefined;
@@ -16734,7 +16735,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16734
16735
  }, {
16735
16736
  stepCountIs?: number | undefined;
16736
16737
  }>>>;
16737
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16738
16738
  type: z.ZodLiteral<"internal">;
16739
16739
  }, z.core.$strip>, z.ZodObject<{
16740
16740
  id: z.ZodString;
@@ -16742,11 +16742,11 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16742
16742
  createdAt: z.ZodString;
16743
16743
  updatedAt: z.ZodString;
16744
16744
  description: z.ZodNullable<z.ZodString>;
16745
- baseUrl: z.ZodString;
16746
16745
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16746
+ baseUrl: z.ZodString;
16747
16747
  type: z.ZodLiteral<"external">;
16748
16748
  }, z.core.$strip>], "type">;
16749
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16749
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16750
16750
  createdAt: drizzle_orm_pg_core297.PgColumn<{
16751
16751
  name: "created_at";
16752
16752
  tableName: "api_keys";
@@ -16967,7 +16967,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16967
16967
  }, {}, {
16968
16968
  length: 256;
16969
16969
  }>;
16970
- }, drizzle_zod19.BuildRefine<{
16970
+ }, drizzle_zod15.BuildRefine<{
16971
16971
  createdAt: drizzle_orm_pg_core297.PgColumn<{
16972
16972
  name: "created_at";
16973
16973
  tableName: "api_keys";
@@ -17317,6 +17317,12 @@ declare const ApiConfigSchema: z.ZodObject<{
17317
17317
  type: z.ZodLiteral<"api">;
17318
17318
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17319
17319
  }, z.core.$strip>;
17320
+ declare const SupportCopilotConfigSchema: z.ZodObject<{
17321
+ type: z.ZodLiteral<"support_copilot">;
17322
+ supportCopilot: z.ZodObject<{
17323
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
17324
+ }, z.core.$strip>;
17325
+ }, z.core.$strip>;
17320
17326
  declare const AppConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17321
17327
  type: z.ZodLiteral<"web_client">;
17322
17328
  webClient: z.ZodObject<{
@@ -17341,6 +17347,11 @@ declare const AppConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17341
17347
  }, z.core.$strip>, z.ZodObject<{
17342
17348
  type: z.ZodLiteral<"api">;
17343
17349
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17350
+ }, z.core.$strip>, z.ZodObject<{
17351
+ type: z.ZodLiteral<"support_copilot">;
17352
+ supportCopilot: z.ZodObject<{
17353
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
17354
+ }, z.core.$strip>;
17344
17355
  }, z.core.$strip>], "type">;
17345
17356
  declare const AddPublicKeyRequestSchema: z.ZodObject<{
17346
17357
  kid: z.ZodString;
@@ -17433,8 +17444,13 @@ declare const AppConfigResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17433
17444
  }, z.core.$strip>, z.ZodObject<{
17434
17445
  type: z.ZodLiteral<"api">;
17435
17446
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17447
+ }, z.core.$strip>, z.ZodObject<{
17448
+ type: z.ZodLiteral<"support_copilot">;
17449
+ supportCopilot: z.ZodObject<{
17450
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
17451
+ }, z.core.$strip>;
17436
17452
  }, z.core.$strip>], "type">;
17437
- declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17453
+ declare const AppSelectSchema: drizzle_zod15.BuildSchema<"select", {
17438
17454
  createdAt: drizzle_orm_pg_core297.PgColumn<{
17439
17455
  name: "created_at";
17440
17456
  tableName: "apps";
@@ -17675,6 +17691,11 @@ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17675
17691
  } | {
17676
17692
  type: "api";
17677
17693
  api: Record<string, never>;
17694
+ } | {
17695
+ type: "support_copilot";
17696
+ supportCopilot: {
17697
+ credentialReferenceIds: string[];
17698
+ };
17678
17699
  };
17679
17700
  driverParam: unknown;
17680
17701
  notNull: true;
@@ -17703,6 +17724,11 @@ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17703
17724
  } | {
17704
17725
  type: "api";
17705
17726
  api: Record<string, never>;
17727
+ } | {
17728
+ type: "support_copilot";
17729
+ supportCopilot: {
17730
+ credentialReferenceIds: string[];
17731
+ };
17706
17732
  };
17707
17733
  }>;
17708
17734
  lastUsedAt: drizzle_orm_pg_core297.PgColumn<{
@@ -17722,7 +17748,7 @@ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17722
17748
  identity: undefined;
17723
17749
  generated: undefined;
17724
17750
  }, {}, {}>;
17725
- }, drizzle_zod19.BuildRefine<{
17751
+ }, drizzle_zod15.BuildRefine<{
17726
17752
  createdAt: drizzle_orm_pg_core297.PgColumn<{
17727
17753
  name: "created_at";
17728
17754
  tableName: "apps";
@@ -17963,6 +17989,11 @@ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17963
17989
  } | {
17964
17990
  type: "api";
17965
17991
  api: Record<string, never>;
17992
+ } | {
17993
+ type: "support_copilot";
17994
+ supportCopilot: {
17995
+ credentialReferenceIds: string[];
17996
+ };
17966
17997
  };
17967
17998
  driverParam: unknown;
17968
17999
  notNull: true;
@@ -17991,6 +18022,11 @@ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17991
18022
  } | {
17992
18023
  type: "api";
17993
18024
  api: Record<string, never>;
18025
+ } | {
18026
+ type: "support_copilot";
18027
+ supportCopilot: {
18028
+ credentialReferenceIds: string[];
18029
+ };
17994
18030
  };
17995
18031
  }>;
17996
18032
  lastUsedAt: drizzle_orm_pg_core297.PgColumn<{
@@ -18026,6 +18062,7 @@ declare const AppInsertSchema: z.ZodObject<{
18026
18062
  type: z.ZodEnum<{
18027
18063
  web_client: "web_client";
18028
18064
  api: "api";
18065
+ support_copilot: "support_copilot";
18029
18066
  }>;
18030
18067
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18031
18068
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -18052,6 +18089,11 @@ declare const AppInsertSchema: z.ZodObject<{
18052
18089
  }, z.core.$strip>, z.ZodObject<{
18053
18090
  type: z.ZodLiteral<"api">;
18054
18091
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18092
+ }, z.core.$strip>, z.ZodObject<{
18093
+ type: z.ZodLiteral<"support_copilot">;
18094
+ supportCopilot: z.ZodObject<{
18095
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18096
+ }, z.core.$strip>;
18055
18097
  }, z.core.$strip>], "type">;
18056
18098
  }, {
18057
18099
  out: {};
@@ -18089,6 +18131,11 @@ declare const AppUpdateSchema: z.ZodObject<{
18089
18131
  }, z.core.$strip>, z.ZodObject<{
18090
18132
  type: z.ZodLiteral<"api">;
18091
18133
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18134
+ }, z.core.$strip>, z.ZodObject<{
18135
+ type: z.ZodLiteral<"support_copilot">;
18136
+ supportCopilot: z.ZodObject<{
18137
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18138
+ }, z.core.$strip>;
18092
18139
  }, z.core.$strip>], "type">>;
18093
18140
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18094
18141
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -18097,7 +18144,7 @@ declare const AppUpdateSchema: z.ZodObject<{
18097
18144
  out: {};
18098
18145
  in: {};
18099
18146
  }>;
18100
- declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18147
+ declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
18101
18148
  createdAt: drizzle_orm_pg_core297.PgColumn<{
18102
18149
  name: "created_at";
18103
18150
  tableName: "apps";
@@ -18338,6 +18385,11 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18338
18385
  } | {
18339
18386
  type: "api";
18340
18387
  api: Record<string, never>;
18388
+ } | {
18389
+ type: "support_copilot";
18390
+ supportCopilot: {
18391
+ credentialReferenceIds: string[];
18392
+ };
18341
18393
  };
18342
18394
  driverParam: unknown;
18343
18395
  notNull: true;
@@ -18366,6 +18418,11 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18366
18418
  } | {
18367
18419
  type: "api";
18368
18420
  api: Record<string, never>;
18421
+ } | {
18422
+ type: "support_copilot";
18423
+ supportCopilot: {
18424
+ credentialReferenceIds: string[];
18425
+ };
18369
18426
  };
18370
18427
  }>;
18371
18428
  lastUsedAt: drizzle_orm_pg_core297.PgColumn<{
@@ -18385,7 +18442,7 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18385
18442
  identity: undefined;
18386
18443
  generated: undefined;
18387
18444
  }, {}, {}>;
18388
- }, drizzle_zod19.BuildRefine<{
18445
+ }, drizzle_zod15.BuildRefine<{
18389
18446
  createdAt: drizzle_orm_pg_core297.PgColumn<{
18390
18447
  name: "created_at";
18391
18448
  tableName: "apps";
@@ -18626,6 +18683,11 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18626
18683
  } | {
18627
18684
  type: "api";
18628
18685
  api: Record<string, never>;
18686
+ } | {
18687
+ type: "support_copilot";
18688
+ supportCopilot: {
18689
+ credentialReferenceIds: string[];
18690
+ };
18629
18691
  };
18630
18692
  driverParam: unknown;
18631
18693
  notNull: true;
@@ -18654,6 +18716,11 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18654
18716
  } | {
18655
18717
  type: "api";
18656
18718
  api: Record<string, never>;
18719
+ } | {
18720
+ type: "support_copilot";
18721
+ supportCopilot: {
18722
+ credentialReferenceIds: string[];
18723
+ };
18657
18724
  };
18658
18725
  }>;
18659
18726
  lastUsedAt: drizzle_orm_pg_core297.PgColumn<{
@@ -18675,11 +18742,11 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18675
18742
  }, {}, {}>;
18676
18743
  }, undefined>, undefined>;
18677
18744
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18745
+ type: z.ZodString;
18678
18746
  id: z.ZodString;
18679
18747
  name: z.ZodString;
18680
18748
  createdAt: z.ZodString;
18681
18749
  updatedAt: z.ZodString;
18682
- type: z.ZodString;
18683
18750
  description: z.ZodNullable<z.ZodString>;
18684
18751
  enabled: z.ZodBoolean;
18685
18752
  prompt: z.ZodNullable<z.ZodString>;
@@ -18712,19 +18779,25 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18712
18779
  }, z.core.$strip>, z.ZodObject<{
18713
18780
  type: z.ZodLiteral<"api">;
18714
18781
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18782
+ }, z.core.$strip>, z.ZodObject<{
18783
+ type: z.ZodLiteral<"support_copilot">;
18784
+ supportCopilot: z.ZodObject<{
18785
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18786
+ }, z.core.$strip>;
18715
18787
  }, z.core.$strip>], "type">;
18716
18788
  }, {
18717
18789
  out: {};
18718
18790
  in: {};
18719
18791
  }>;
18720
18792
  declare const AppApiInsertSchema: z.ZodObject<{
18721
- name: z.ZodString;
18722
- createdAt: z.ZodOptional<z.ZodString>;
18723
- updatedAt: z.ZodOptional<z.ZodString>;
18724
18793
  type: z.ZodEnum<{
18725
18794
  web_client: "web_client";
18726
18795
  api: "api";
18796
+ support_copilot: "support_copilot";
18727
18797
  }>;
18798
+ name: z.ZodString;
18799
+ createdAt: z.ZodOptional<z.ZodString>;
18800
+ updatedAt: z.ZodOptional<z.ZodString>;
18728
18801
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18729
18802
  enabled: z.ZodOptional<z.ZodBoolean>;
18730
18803
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18754,6 +18827,11 @@ declare const AppApiInsertSchema: z.ZodObject<{
18754
18827
  }, z.core.$strip>, z.ZodObject<{
18755
18828
  type: z.ZodLiteral<"api">;
18756
18829
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18830
+ }, z.core.$strip>, z.ZodObject<{
18831
+ type: z.ZodLiteral<"support_copilot">;
18832
+ supportCopilot: z.ZodObject<{
18833
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18834
+ }, z.core.$strip>;
18757
18835
  }, z.core.$strip>], "type">;
18758
18836
  defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18759
18837
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18793,6 +18871,11 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18793
18871
  }, z.core.$strip>, z.ZodObject<{
18794
18872
  type: z.ZodLiteral<"api">;
18795
18873
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18874
+ }, z.core.$strip>, z.ZodObject<{
18875
+ type: z.ZodLiteral<"support_copilot">;
18876
+ supportCopilot: z.ZodObject<{
18877
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18878
+ }, z.core.$strip>;
18796
18879
  }, z.core.$strip>], "type">>;
18797
18880
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18798
18881
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -18804,11 +18887,11 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18804
18887
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18805
18888
  data: z.ZodObject<{
18806
18889
  app: z.ZodObject<{
18890
+ type: z.ZodString;
18807
18891
  id: z.ZodString;
18808
18892
  name: z.ZodString;
18809
18893
  createdAt: z.ZodString;
18810
18894
  updatedAt: z.ZodString;
18811
- type: z.ZodString;
18812
18895
  description: z.ZodNullable<z.ZodString>;
18813
18896
  enabled: z.ZodBoolean;
18814
18897
  prompt: z.ZodNullable<z.ZodString>;
@@ -18841,6 +18924,11 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
18841
18924
  }, z.core.$strip>, z.ZodObject<{
18842
18925
  type: z.ZodLiteral<"api">;
18843
18926
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18927
+ }, z.core.$strip>, z.ZodObject<{
18928
+ type: z.ZodLiteral<"support_copilot">;
18929
+ supportCopilot: z.ZodObject<{
18930
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
18931
+ }, z.core.$strip>;
18844
18932
  }, z.core.$strip>], "type">;
18845
18933
  }, {
18846
18934
  out: {};
@@ -18848,7 +18936,7 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
18848
18936
  }>;
18849
18937
  }, z.core.$strip>;
18850
18938
  }, z.core.$strip>;
18851
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
18939
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
18852
18940
  createdAt: drizzle_orm_pg_core297.PgColumn<{
18853
18941
  name: "created_at";
18854
18942
  tableName: "credential_references";
@@ -19073,7 +19161,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
19073
19161
  }, {}, {
19074
19162
  length: 256;
19075
19163
  }>;
19076
- }, drizzle_zod19.BuildRefine<{
19164
+ }, drizzle_zod15.BuildRefine<{
19077
19165
  createdAt: drizzle_orm_pg_core297.PgColumn<{
19078
19166
  name: "created_at";
19079
19167
  tableName: "credential_references";
@@ -19300,31 +19388,31 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
19300
19388
  }>;
19301
19389
  }, undefined>, undefined>;
19302
19390
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
19391
+ type: z.ZodString;
19303
19392
  id: z.ZodString;
19304
19393
  name: z.ZodString;
19305
19394
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19306
- type: z.ZodString;
19307
19395
  tenantId: z.ZodString;
19308
19396
  projectId: z.ZodString;
19397
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19309
19398
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19310
19399
  credentialStoreId: z.ZodString;
19311
19400
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19312
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19313
19401
  }, {
19314
19402
  out: {};
19315
19403
  in: {};
19316
19404
  }>;
19317
19405
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19406
+ type: z.ZodOptional<z.ZodString>;
19318
19407
  id: z.ZodOptional<z.ZodString>;
19319
19408
  name: z.ZodOptional<z.ZodString>;
19320
19409
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19321
- type: z.ZodOptional<z.ZodString>;
19322
19410
  tenantId: z.ZodOptional<z.ZodString>;
19323
19411
  projectId: z.ZodOptional<z.ZodString>;
19412
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
19413
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19325
19414
  credentialStoreId: z.ZodOptional<z.ZodString>;
19326
19415
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19327
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19416
  }, {
19329
19417
  out: {};
19330
19418
  in: {};
@@ -19335,17 +19423,17 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19335
19423
  createdAt: z.ZodString;
19336
19424
  updatedAt: z.ZodString;
19337
19425
  userId: z.ZodNullable<z.ZodString>;
19426
+ toolId: z.ZodNullable<z.ZodString>;
19338
19427
  createdBy: z.ZodNullable<z.ZodString>;
19339
19428
  credentialStoreId: z.ZodString;
19340
19429
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19341
- toolId: z.ZodNullable<z.ZodString>;
19342
19430
  type: z.ZodEnum<{
19343
19431
  readonly memory: "memory";
19344
19432
  readonly keychain: "keychain";
19345
19433
  readonly nango: "nango";
19346
19434
  readonly composio: "composio";
19347
19435
  }>;
19348
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
19436
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
19349
19437
  createdAt: drizzle_orm_pg_core297.PgColumn<{
19350
19438
  name: "created_at";
19351
19439
  tableName: "tools";
@@ -19625,7 +19713,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19625
19713
  }, {}, {
19626
19714
  length: 256;
19627
19715
  }>;
19628
- }, drizzle_zod19.BuildRefine<{
19716
+ }, drizzle_zod15.BuildRefine<{
19629
19717
  createdAt: drizzle_orm_pg_core297.PgColumn<{
19630
19718
  name: "created_at";
19631
19719
  tableName: "tools";
@@ -19925,10 +20013,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19925
20013
  id: z.ZodString;
19926
20014
  name: z.ZodString;
19927
20015
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20016
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19928
20017
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19929
20018
  credentialStoreId: z.ZodString;
19930
20019
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19931
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19932
20020
  type: z.ZodEnum<{
19933
20021
  readonly memory: "memory";
19934
20022
  readonly keychain: "keychain";
@@ -19940,10 +20028,10 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19940
20028
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19941
20029
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19942
20030
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20031
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19943
20032
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19944
20033
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19945
20034
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19946
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19947
20035
  type: z.ZodOptional<z.ZodEnum<{
19948
20036
  readonly memory: "memory";
19949
20037
  readonly keychain: "keychain";
@@ -20014,7 +20102,6 @@ declare const McpToolSchema: z.ZodObject<{
20014
20102
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20015
20103
  tenantId: z.ZodString;
20016
20104
  projectId: z.ZodString;
20017
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20018
20105
  config: z.ZodObject<{
20019
20106
  type: z.ZodLiteral<"mcp">;
20020
20107
  mcp: z.ZodObject<{
@@ -20041,6 +20128,7 @@ declare const McpToolSchema: z.ZodObject<{
20041
20128
  prompt: z.ZodOptional<z.ZodString>;
20042
20129
  }, z.core.$strip>;
20043
20130
  }, z.core.$strip>;
20131
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20044
20132
  credentialScope: z.ZodOptional<z.ZodString>;
20045
20133
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20046
20134
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20106,10 +20194,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20106
20194
  id: z.ZodString;
20107
20195
  name: z.ZodString;
20108
20196
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20197
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20109
20198
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20110
20199
  credentialStoreId: z.ZodString;
20111
20200
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20112
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20113
20201
  type: z.ZodEnum<{
20114
20202
  readonly memory: "memory";
20115
20203
  readonly keychain: "keychain";
@@ -20135,7 +20223,6 @@ declare const ToolUpdateSchema: z.ZodObject<{
20135
20223
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20136
20224
  tenantId: z.ZodOptional<z.ZodString>;
20137
20225
  projectId: z.ZodOptional<z.ZodString>;
20138
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20139
20226
  config: z.ZodOptional<z.ZodObject<{
20140
20227
  type: z.ZodLiteral<"mcp">;
20141
20228
  mcp: z.ZodObject<{
@@ -20162,6 +20249,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
20162
20249
  prompt: z.ZodOptional<z.ZodString>;
20163
20250
  }, z.core.$strip>;
20164
20251
  }, z.core.$strip>>;
20252
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20165
20253
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20166
20254
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20167
20255
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
@@ -20178,7 +20266,6 @@ declare const ToolApiSelectSchema: z.ZodObject<{
20178
20266
  updatedAt: z.ZodString;
20179
20267
  description: z.ZodNullable<z.ZodString>;
20180
20268
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20181
- credentialReferenceId: z.ZodNullable<z.ZodString>;
20182
20269
  config: z.ZodType<{
20183
20270
  type: "mcp";
20184
20271
  mcp: ToolMcpConfig;
@@ -20192,6 +20279,7 @@ declare const ToolApiSelectSchema: z.ZodObject<{
20192
20279
  type: "mcp";
20193
20280
  mcp: ToolMcpConfig;
20194
20281
  }>>;
20282
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
20195
20283
  credentialScope: z.ZodString;
20196
20284
  imageUrl: z.ZodNullable<z.ZodString>;
20197
20285
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -20203,7 +20291,6 @@ declare const ToolApiInsertSchema: z.ZodObject<{
20203
20291
  name: z.ZodString;
20204
20292
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20205
20293
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20206
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20207
20294
  config: z.ZodObject<{
20208
20295
  type: z.ZodLiteral<"mcp">;
20209
20296
  mcp: z.ZodObject<{
@@ -20230,6 +20317,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
20230
20317
  prompt: z.ZodOptional<z.ZodString>;
20231
20318
  }, z.core.$strip>;
20232
20319
  }, z.core.$strip>;
20320
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20233
20321
  credentialScope: z.ZodOptional<z.ZodString>;
20234
20322
  imageUrl: z.ZodOptional<z.ZodString>;
20235
20323
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -20241,7 +20329,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20241
20329
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20242
20330
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20243
20331
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20244
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20245
20332
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20246
20333
  type: z.ZodLiteral<"mcp">;
20247
20334
  mcp: z.ZodObject<{
@@ -20268,13 +20355,14 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20268
20355
  prompt: z.ZodOptional<z.ZodString>;
20269
20356
  }, z.core.$strip>;
20270
20357
  }, z.core.$strip>>>;
20358
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20271
20359
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20272
20360
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20273
20361
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
20274
20362
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20275
20363
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20276
20364
  }, z.core.$strip>;
20277
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20365
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20278
20366
  createdAt: drizzle_orm_pg_core297.PgColumn<{
20279
20367
  name: "created_at";
20280
20368
  tableName: "function_tools";
@@ -20440,7 +20528,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20440
20528
  }, {}, {
20441
20529
  length: 256;
20442
20530
  }>;
20443
- }, drizzle_zod19.BuildRefine<{
20531
+ }, drizzle_zod15.BuildRefine<{
20444
20532
  createdAt: drizzle_orm_pg_core297.PgColumn<{
20445
20533
  name: "created_at";
20446
20534
  tableName: "function_tools";
@@ -20654,7 +20742,7 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20654
20742
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
20743
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20656
20744
  }, z.core.$strip>;
20657
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20745
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20658
20746
  createdAt: drizzle_orm_pg_core297.PgColumn<{
20659
20747
  name: "created_at";
20660
20748
  tableName: "sub_agent_function_tool_relations";
@@ -20826,7 +20914,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
20826
20914
  }, {}, {
20827
20915
  length: 256;
20828
20916
  }>;
20829
- }, drizzle_zod19.BuildRefine<{
20917
+ }, drizzle_zod15.BuildRefine<{
20830
20918
  createdAt: drizzle_orm_pg_core297.PgColumn<{
20831
20919
  name: "created_at";
20832
20920
  tableName: "sub_agent_function_tool_relations";
@@ -21002,7 +21090,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21002
21090
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21003
21091
  createdAt: z.ZodOptional<z.ZodString>;
21004
21092
  updatedAt: z.ZodOptional<z.ZodString>;
21005
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21093
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21006
21094
  agentId: z.ZodString;
21007
21095
  projectId: z.ZodString;
21008
21096
  tenantId: z.ZodString;
@@ -21018,18 +21106,18 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
21018
21106
  createdAt: z.ZodString;
21019
21107
  updatedAt: z.ZodString;
21020
21108
  subAgentId: z.ZodString;
21021
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21022
21109
  functionToolId: z.ZodString;
21110
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21023
21111
  }, z.core.$strip>;
21024
21112
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21025
21113
  subAgentId: z.ZodString;
21026
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21027
21114
  functionToolId: z.ZodString;
21115
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21028
21116
  }, {
21029
21117
  out: {};
21030
21118
  in: {};
21031
21119
  }>;
21032
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21120
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21033
21121
  createdAt: drizzle_orm_pg_core297.PgColumn<{
21034
21122
  name: "created_at";
21035
21123
  tableName: "functions";
@@ -21176,7 +21264,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21176
21264
  }, {}, {
21177
21265
  length: 256;
21178
21266
  }>;
21179
- }, drizzle_zod19.BuildRefine<{
21267
+ }, drizzle_zod15.BuildRefine<{
21180
21268
  createdAt: drizzle_orm_pg_core297.PgColumn<{
21181
21269
  name: "created_at";
21182
21270
  tableName: "functions";
@@ -21355,22 +21443,22 @@ declare const FunctionApiSelectSchema: z.ZodObject<{
21355
21443
  createdAt: z.ZodString;
21356
21444
  updatedAt: z.ZodString;
21357
21445
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
21358
- executeCode: z.ZodString;
21359
21446
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
21447
+ executeCode: z.ZodString;
21360
21448
  }, z.core.$strip>;
21361
21449
  declare const FunctionApiInsertSchema: z.ZodObject<{
21362
21450
  id: z.ZodString;
21363
21451
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21364
- executeCode: z.ZodString;
21365
21452
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21453
+ executeCode: z.ZodString;
21366
21454
  }, z.core.$strip>;
21367
21455
  declare const FunctionApiUpdateSchema: z.ZodObject<{
21368
21456
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21369
21457
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21370
21458
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21371
21459
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21372
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21373
21460
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21461
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21374
21462
  }, z.core.$strip>;
21375
21463
  declare const FetchConfigSchema: z.ZodObject<{
21376
21464
  url: z.ZodString;
@@ -21415,10 +21503,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21415
21503
  id: z.ZodString;
21416
21504
  name: z.ZodString;
21417
21505
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21506
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21418
21507
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21419
21508
  credentialStoreId: z.ZodString;
21420
21509
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21421
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21422
21510
  type: z.ZodEnum<{
21423
21511
  readonly memory: "memory";
21424
21512
  readonly keychain: "keychain";
@@ -21444,9 +21532,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
21444
21532
  id: z.ZodOptional<z.ZodString>;
21445
21533
  tenantId: z.ZodString;
21446
21534
  projectId: z.ZodString;
21535
+ agentId: z.ZodString;
21447
21536
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21448
21537
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21449
- agentId: z.ZodString;
21450
21538
  }, {
21451
21539
  out: {};
21452
21540
  in: {};
@@ -21455,9 +21543,9 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
21455
21543
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21456
21544
  tenantId: z.ZodOptional<z.ZodString>;
21457
21545
  projectId: z.ZodOptional<z.ZodString>;
21546
+ agentId: z.ZodOptional<z.ZodString>;
21458
21547
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21459
21548
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21460
- agentId: z.ZodOptional<z.ZodString>;
21461
21549
  }, {
21462
21550
  out: {};
21463
21551
  in: {};
@@ -21479,7 +21567,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
21479
21567
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21480
21568
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21481
21569
  }, z.core.$strip>;
21482
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21570
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21483
21571
  createdAt: drizzle_orm_pg_core297.PgColumn<{
21484
21572
  name: "created_at";
21485
21573
  tableName: "sub_agent_tool_relations";
@@ -21689,7 +21777,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
21689
21777
  }, {}, {
21690
21778
  length: 256;
21691
21779
  }>;
21692
- }, drizzle_zod19.BuildRefine<{
21780
+ }, drizzle_zod15.BuildRefine<{
21693
21781
  createdAt: drizzle_orm_pg_core297.PgColumn<{
21694
21782
  name: "created_at";
21695
21783
  tableName: "sub_agent_tool_relations";
@@ -21940,37 +22028,37 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21940
22028
  id: z.ZodString;
21941
22029
  createdAt: z.ZodString;
21942
22030
  updatedAt: z.ZodString;
21943
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21944
- toolId: z.ZodString;
22031
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21945
22032
  subAgentId: z.ZodString;
21946
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21947
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22033
+ toolId: z.ZodString;
22034
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22035
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21948
22036
  }, z.core.$strip>;
21949
22037
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21950
22038
  id: z.ZodString;
21951
22039
  createdAt: z.ZodOptional<z.ZodString>;
21952
22040
  updatedAt: z.ZodOptional<z.ZodString>;
21953
22041
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21954
- toolId: z.ZodString;
21955
22042
  subAgentId: z.ZodString;
21956
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22043
+ toolId: z.ZodString;
21957
22044
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21958
22045
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21959
22046
  }, z.core.$strip>>>>;
22047
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21960
22048
  }, z.core.$strip>;
21961
22049
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21962
22050
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21963
22051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21964
22052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21965
22053
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21966
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21967
22054
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21968
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22055
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21969
22056
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21970
22057
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21971
22058
  }, z.core.$strip>>>>>>;
22059
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21972
22060
  }, z.core.$strip>;
21973
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22061
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21974
22062
  createdAt: drizzle_orm_pg_core297.PgColumn<{
21975
22063
  name: "created_at";
21976
22064
  tableName: "sub_agent_external_agent_relations";
@@ -22138,7 +22226,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
22138
22226
  }, {}, {
22139
22227
  length: 256;
22140
22228
  }>;
22141
- }, drizzle_zod19.BuildRefine<{
22229
+ }, drizzle_zod15.BuildRefine<{
22142
22230
  createdAt: drizzle_orm_pg_core297.PgColumn<{
22143
22231
  name: "created_at";
22144
22232
  tableName: "sub_agent_external_agent_relations";
@@ -22339,7 +22427,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
22339
22427
  id: z.ZodString;
22340
22428
  createdAt: z.ZodString;
22341
22429
  updatedAt: z.ZodString;
22342
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22430
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22343
22431
  subAgentId: z.ZodString;
22344
22432
  externalAgentId: z.ZodString;
22345
22433
  }, z.core.$strip>;
@@ -22357,7 +22445,7 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22357
22445
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22358
22446
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22359
22447
  }, z.core.$strip>;
22360
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22448
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22361
22449
  createdAt: drizzle_orm_pg_core297.PgColumn<{
22362
22450
  name: "created_at";
22363
22451
  tableName: "sub_agent_team_agent_relations";
@@ -22525,7 +22613,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
22525
22613
  }, {}, {
22526
22614
  length: 256;
22527
22615
  }>;
22528
- }, drizzle_zod19.BuildRefine<{
22616
+ }, drizzle_zod15.BuildRefine<{
22529
22617
  createdAt: drizzle_orm_pg_core297.PgColumn<{
22530
22618
  name: "created_at";
22531
22619
  tableName: "sub_agent_team_agent_relations";
@@ -22726,7 +22814,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22726
22814
  id: z.ZodString;
22727
22815
  createdAt: z.ZodString;
22728
22816
  updatedAt: z.ZodString;
22729
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22817
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22730
22818
  subAgentId: z.ZodString;
22731
22819
  targetAgentId: z.ZodString;
22732
22820
  }, z.core.$strip>;
@@ -22744,7 +22832,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22744
22832
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22745
22833
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22746
22834
  }, z.core.$strip>;
22747
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
22835
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
22748
22836
  createdAt: drizzle_orm_pg_core297.PgColumn<{
22749
22837
  name: "created_at";
22750
22838
  tableName: "ledger_artifacts";
@@ -23079,7 +23167,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23079
23167
  }, {}, {
23080
23168
  length: 256;
23081
23169
  }>;
23082
- }, drizzle_zod19.BuildRefine<{
23170
+ }, drizzle_zod15.BuildRefine<{
23083
23171
  createdAt: drizzle_orm_pg_core297.PgColumn<{
23084
23172
  name: "created_at";
23085
23173
  tableName: "ledger_artifacts";
@@ -23415,7 +23503,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23415
23503
  length: 256;
23416
23504
  }>;
23417
23505
  }, undefined>, undefined>;
23418
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23506
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
23419
23507
  createdAt: drizzle_orm_pg_core297.PgColumn<{
23420
23508
  name: "created_at";
23421
23509
  tableName: "ledger_artifacts";
@@ -23750,7 +23838,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23750
23838
  }, {}, {
23751
23839
  length: 256;
23752
23840
  }>;
23753
- }, drizzle_zod19.BuildRefine<Pick<{
23841
+ }, drizzle_zod15.BuildRefine<Pick<{
23754
23842
  createdAt: drizzle_orm_pg_core297.PgColumn<{
23755
23843
  name: "created_at";
23756
23844
  tableName: "ledger_artifacts";
@@ -24085,7 +24173,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24085
24173
  }, {}, {
24086
24174
  length: 256;
24087
24175
  }>;
24088
- }, "id" | "name" | "createdAt" | "updatedAt" | "type" | "metadata" | "description" | "tenantId" | "projectId" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24176
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24089
24177
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24090
24178
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24091
24179
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24095,12 +24183,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24095
24183
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24096
24184
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24097
24185
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24098
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24099
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24186
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24187
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24100
24188
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24101
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24189
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24102
24190
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24103
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24191
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24104
24192
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24105
24193
  projectId: z.ZodOptional<z.ZodString>;
24106
24194
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24110,57 +24198,57 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24110
24198
  in: {};
24111
24199
  }>;
24112
24200
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24201
+ type: z.ZodString;
24113
24202
  id: z.ZodString;
24114
24203
  name: z.ZodNullable<z.ZodString>;
24115
24204
  createdAt: z.ZodString;
24116
24205
  updatedAt: z.ZodString;
24117
- type: z.ZodString;
24118
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24206
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24119
24207
  description: z.ZodNullable<z.ZodString>;
24120
- taskId: z.ZodString;
24121
- toolCallId: z.ZodNullable<z.ZodString>;
24122
24208
  contextId: z.ZodString;
24123
24209
  visibility: z.ZodNullable<z.ZodString>;
24124
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24210
+ taskId: z.ZodString;
24211
+ toolCallId: z.ZodNullable<z.ZodString>;
24212
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24125
24213
  summary: z.ZodNullable<z.ZodString>;
24126
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24127
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24214
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24215
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24128
24216
  derivedFrom: z.ZodNullable<z.ZodString>;
24129
24217
  }, z.core.$strip>;
24130
24218
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24219
+ type: z.ZodOptional<z.ZodString>;
24131
24220
  id: z.ZodString;
24132
24221
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24133
24222
  createdAt: z.ZodOptional<z.ZodString>;
24134
24223
  updatedAt: z.ZodOptional<z.ZodString>;
24135
- type: z.ZodOptional<z.ZodString>;
24136
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24224
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24137
24225
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24138
- taskId: z.ZodString;
24139
- toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24140
24226
  contextId: z.ZodString;
24141
24227
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24142
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24228
+ taskId: z.ZodString;
24229
+ toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24230
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24143
24231
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24144
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24145
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24232
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24233
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24146
24234
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24147
24235
  }, z.core.$strip>;
24148
24236
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24237
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24149
24238
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24150
24239
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24151
24240
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24152
24241
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24153
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24154
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24242
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24155
24243
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24156
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24157
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24158
24244
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24159
24245
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24160
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24246
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24247
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24248
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24161
24249
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24162
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24163
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24250
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24251
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24164
24252
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24165
24253
  }, z.core.$strip>;
24166
24254
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24231,6 +24319,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24231
24319
  createdAt: z.ZodOptional<z.ZodString>;
24232
24320
  updatedAt: z.ZodOptional<z.ZodString>;
24233
24321
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24322
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24234
24323
  models: z.ZodOptional<z.ZodObject<{
24235
24324
  base: z.ZodOptional<z.ZodObject<{
24236
24325
  model: z.ZodOptional<z.ZodString>;
@@ -24251,7 +24340,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24251
24340
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24252
24341
  }, z.core.$strip>>;
24253
24342
  }, z.core.$strip>>;
24254
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24255
24343
  type: z.ZodLiteral<"internal">;
24256
24344
  canUse: z.ZodArray<z.ZodObject<{
24257
24345
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24297,6 +24385,7 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24297
24385
  createdAt: z.ZodOptional<z.ZodString>;
24298
24386
  updatedAt: z.ZodOptional<z.ZodString>;
24299
24387
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24388
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24300
24389
  models: z.ZodOptional<z.ZodObject<{
24301
24390
  base: z.ZodOptional<z.ZodObject<{
24302
24391
  model: z.ZodOptional<z.ZodString>;
@@ -24317,7 +24406,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24317
24406
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24318
24407
  }, z.core.$strip>>;
24319
24408
  }, z.core.$strip>>;
24320
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24321
24409
  type: z.ZodLiteral<"internal">;
24322
24410
  canUse: z.ZodArray<z.ZodObject<{
24323
24411
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24355,7 +24443,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24355
24443
  name: z.ZodString;
24356
24444
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24357
24445
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24358
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24359
24446
  config: z.ZodObject<{
24360
24447
  type: z.ZodLiteral<"mcp">;
24361
24448
  mcp: z.ZodObject<{
@@ -24382,6 +24469,7 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24382
24469
  prompt: z.ZodOptional<z.ZodString>;
24383
24470
  }, z.core.$strip>;
24384
24471
  }, z.core.$strip>;
24472
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24385
24473
  credentialScope: z.ZodOptional<z.ZodString>;
24386
24474
  imageUrl: z.ZodOptional<z.ZodString>;
24387
24475
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -24392,8 +24480,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24392
24480
  id: z.ZodString;
24393
24481
  name: z.ZodString;
24394
24482
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24395
- baseUrl: z.ZodURL;
24396
24483
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24484
+ baseUrl: z.ZodURL;
24397
24485
  }, z.core.$strip>>>;
24398
24486
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24399
24487
  id: z.ZodString;
@@ -24409,20 +24497,20 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24409
24497
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24410
24498
  id: z.ZodString;
24411
24499
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24412
- executeCode: z.ZodString;
24413
24500
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24501
+ executeCode: z.ZodString;
24414
24502
  }, z.core.$strip>>>;
24415
24503
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24416
24504
  id: z.ZodOptional<z.ZodString>;
24417
24505
  name: z.ZodString;
24418
24506
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24419
24507
  enabled: z.ZodOptional<z.ZodBoolean>;
24420
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24421
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24508
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24509
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24422
24510
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24423
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24511
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24424
24512
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24425
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24513
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24426
24514
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24427
24515
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24428
24516
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24486,6 +24574,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24486
24574
  createdAt: z.ZodOptional<z.ZodString>;
24487
24575
  updatedAt: z.ZodOptional<z.ZodString>;
24488
24576
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24577
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24489
24578
  models: z.ZodOptional<z.ZodObject<{
24490
24579
  base: z.ZodOptional<z.ZodObject<{
24491
24580
  model: z.ZodOptional<z.ZodString>;
@@ -24506,7 +24595,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24506
24595
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24507
24596
  }, z.core.$strip>>;
24508
24597
  }, z.core.$strip>>;
24509
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24510
24598
  type: z.ZodLiteral<"internal">;
24511
24599
  canUse: z.ZodArray<z.ZodObject<{
24512
24600
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24544,7 +24632,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24544
24632
  name: z.ZodString;
24545
24633
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24546
24634
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24547
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24548
24635
  config: z.ZodObject<{
24549
24636
  type: z.ZodLiteral<"mcp">;
24550
24637
  mcp: z.ZodObject<{
@@ -24571,6 +24658,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24571
24658
  prompt: z.ZodOptional<z.ZodString>;
24572
24659
  }, z.core.$strip>;
24573
24660
  }, z.core.$strip>;
24661
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24574
24662
  credentialScope: z.ZodOptional<z.ZodString>;
24575
24663
  imageUrl: z.ZodOptional<z.ZodString>;
24576
24664
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -24581,8 +24669,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24581
24669
  id: z.ZodString;
24582
24670
  name: z.ZodString;
24583
24671
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24584
- baseUrl: z.ZodURL;
24585
24672
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24673
+ baseUrl: z.ZodURL;
24586
24674
  }, z.core.$strip>>>;
24587
24675
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24588
24676
  id: z.ZodString;
@@ -24598,20 +24686,20 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24598
24686
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24599
24687
  id: z.ZodString;
24600
24688
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24601
- executeCode: z.ZodString;
24602
24689
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24690
+ executeCode: z.ZodString;
24603
24691
  }, z.core.$strip>>>;
24604
24692
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24605
24693
  id: z.ZodOptional<z.ZodString>;
24606
24694
  name: z.ZodString;
24607
24695
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24608
24696
  enabled: z.ZodOptional<z.ZodBoolean>;
24609
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24610
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24697
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24698
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24611
24699
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24612
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24700
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24613
24701
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24614
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24702
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24615
24703
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24616
24704
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24617
24705
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24725,6 +24813,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
24725
24813
  id: z.ZodString;
24726
24814
  name: z.ZodString;
24727
24815
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24816
+ tenantId: z.ZodString;
24728
24817
  models: z.ZodObject<{
24729
24818
  base: z.ZodObject<{
24730
24819
  model: z.ZodOptional<z.ZodString>;
@@ -24749,7 +24838,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
24749
24838
  transferCountIs: z.ZodOptional<z.ZodInt>;
24750
24839
  stepCountIs: z.ZodOptional<z.ZodInt>;
24751
24840
  }, z.core.$strip>>;
24752
- tenantId: z.ZodString;
24753
24841
  }, {
24754
24842
  out: {};
24755
24843
  in: {};
@@ -24923,6 +25011,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24923
25011
  createdAt: z.ZodOptional<z.ZodString>;
24924
25012
  updatedAt: z.ZodOptional<z.ZodString>;
24925
25013
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25014
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24926
25015
  models: z.ZodOptional<z.ZodObject<{
24927
25016
  base: z.ZodOptional<z.ZodObject<{
24928
25017
  model: z.ZodOptional<z.ZodString>;
@@ -24943,7 +25032,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24943
25032
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24944
25033
  }, z.core.$strip>>;
24945
25034
  }, z.core.$strip>>;
24946
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24947
25035
  type: z.ZodLiteral<"internal">;
24948
25036
  canUse: z.ZodArray<z.ZodObject<{
24949
25037
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24981,7 +25069,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24981
25069
  name: z.ZodString;
24982
25070
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24983
25071
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24984
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24985
25072
  config: z.ZodObject<{
24986
25073
  type: z.ZodLiteral<"mcp">;
24987
25074
  mcp: z.ZodObject<{
@@ -25008,6 +25095,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25008
25095
  prompt: z.ZodOptional<z.ZodString>;
25009
25096
  }, z.core.$strip>;
25010
25097
  }, z.core.$strip>;
25098
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25011
25099
  credentialScope: z.ZodOptional<z.ZodString>;
25012
25100
  imageUrl: z.ZodOptional<z.ZodString>;
25013
25101
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -25018,8 +25106,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25018
25106
  id: z.ZodString;
25019
25107
  name: z.ZodString;
25020
25108
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25021
- baseUrl: z.ZodURL;
25022
25109
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25110
+ baseUrl: z.ZodURL;
25023
25111
  }, z.core.$strip>>>;
25024
25112
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25025
25113
  id: z.ZodString;
@@ -25035,20 +25123,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25035
25123
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25036
25124
  id: z.ZodString;
25037
25125
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25038
- executeCode: z.ZodString;
25039
25126
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25127
+ executeCode: z.ZodString;
25040
25128
  }, z.core.$strip>>>;
25041
25129
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25042
25130
  id: z.ZodOptional<z.ZodString>;
25043
25131
  name: z.ZodString;
25044
25132
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25045
25133
  enabled: z.ZodOptional<z.ZodBoolean>;
25046
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25047
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25134
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25135
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25048
25136
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25049
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25137
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25050
25138
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25051
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25139
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25052
25140
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25053
25141
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25054
25142
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25104,7 +25192,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25104
25192
  name: z.ZodString;
25105
25193
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25106
25194
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25107
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25108
25195
  config: z.ZodObject<{
25109
25196
  type: z.ZodLiteral<"mcp">;
25110
25197
  mcp: z.ZodObject<{
@@ -25131,6 +25218,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25131
25218
  prompt: z.ZodOptional<z.ZodString>;
25132
25219
  }, z.core.$strip>;
25133
25220
  }, z.core.$strip>;
25221
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25134
25222
  credentialScope: z.ZodOptional<z.ZodString>;
25135
25223
  imageUrl: z.ZodOptional<z.ZodString>;
25136
25224
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -25146,8 +25234,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25146
25234
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25147
25235
  id: z.ZodString;
25148
25236
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25149
- executeCode: z.ZodString;
25150
25237
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25238
+ executeCode: z.ZodString;
25151
25239
  }, z.core.$strip>>>;
25152
25240
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
25153
25241
  files: z.ZodArray<z.ZodObject<{
@@ -25235,8 +25323,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25235
25323
  id: z.ZodString;
25236
25324
  name: z.ZodString;
25237
25325
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25238
- baseUrl: z.ZodURL;
25239
25326
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25327
+ baseUrl: z.ZodURL;
25240
25328
  }, z.core.$strip>>>;
25241
25329
  statusUpdates: z.ZodOptional<z.ZodObject<{
25242
25330
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25257,10 +25345,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25257
25345
  id: z.ZodString;
25258
25346
  name: z.ZodString;
25259
25347
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25348
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25260
25349
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25261
25350
  credentialStoreId: z.ZodString;
25262
25351
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25263
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25264
25352
  type: z.ZodEnum<{
25265
25353
  readonly memory: "memory";
25266
25354
  readonly keychain: "keychain";
@@ -25280,6 +25368,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25280
25368
  createdAt: z.ZodString;
25281
25369
  updatedAt: z.ZodString;
25282
25370
  description: z.ZodNullable<z.ZodString>;
25371
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25283
25372
  models: z.ZodNullable<z.ZodType<{
25284
25373
  base?: {
25285
25374
  model?: string | undefined;
@@ -25366,7 +25455,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25366
25455
  }, {
25367
25456
  stepCountIs?: number | undefined;
25368
25457
  }>>>;
25369
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25370
25458
  type: z.ZodLiteral<"internal">;
25371
25459
  canUse: z.ZodArray<z.ZodObject<{
25372
25460
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25397,6 +25485,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25397
25485
  createdAt: z.ZodString;
25398
25486
  updatedAt: z.ZodString;
25399
25487
  description: z.ZodNullable<z.ZodString>;
25488
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25400
25489
  models: z.ZodNullable<z.ZodType<{
25401
25490
  base?: {
25402
25491
  model?: string | undefined;
@@ -25483,7 +25572,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25483
25572
  }, {
25484
25573
  stepCountIs?: number | undefined;
25485
25574
  }>>>;
25486
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25487
25575
  type: z.ZodLiteral<"internal">;
25488
25576
  canUse: z.ZodArray<z.ZodObject<{
25489
25577
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25529,6 +25617,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25529
25617
  createdAt: z.ZodString;
25530
25618
  updatedAt: z.ZodString;
25531
25619
  description: z.ZodNullable<z.ZodString>;
25620
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25532
25621
  models: z.ZodNullable<z.ZodType<{
25533
25622
  base?: {
25534
25623
  model?: string | undefined;
@@ -25615,7 +25704,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25615
25704
  }, {
25616
25705
  stepCountIs?: number | undefined;
25617
25706
  }>>>;
25618
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25619
25707
  type: z.ZodLiteral<"internal">;
25620
25708
  canUse: z.ZodArray<z.ZodObject<{
25621
25709
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25647,7 +25735,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25647
25735
  updatedAt: z.ZodString;
25648
25736
  description: z.ZodNullable<z.ZodString>;
25649
25737
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25650
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25651
25738
  config: z.ZodType<{
25652
25739
  type: "mcp";
25653
25740
  mcp: ToolMcpConfig;
@@ -25661,6 +25748,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25661
25748
  type: "mcp";
25662
25749
  mcp: ToolMcpConfig;
25663
25750
  }>>;
25751
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25664
25752
  credentialScope: z.ZodString;
25665
25753
  imageUrl: z.ZodNullable<z.ZodString>;
25666
25754
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25673,8 +25761,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25673
25761
  createdAt: z.ZodString;
25674
25762
  updatedAt: z.ZodString;
25675
25763
  description: z.ZodNullable<z.ZodString>;
25676
- baseUrl: z.ZodString;
25677
25764
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25765
+ baseUrl: z.ZodString;
25678
25766
  }, z.core.$strip>>>;
25679
25767
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25680
25768
  id: z.ZodString;
@@ -25696,8 +25784,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25696
25784
  createdAt: z.ZodString;
25697
25785
  updatedAt: z.ZodString;
25698
25786
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25699
- executeCode: z.ZodString;
25700
25787
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25788
+ executeCode: z.ZodString;
25701
25789
  }, z.core.$strip>>>;
25702
25790
  contextConfig: z.ZodNullable<z.ZodObject<{
25703
25791
  id: z.ZodString;
@@ -25762,7 +25850,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25762
25850
  updatedAt: z.ZodString;
25763
25851
  description: z.ZodNullable<z.ZodString>;
25764
25852
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25765
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25766
25853
  config: z.ZodType<{
25767
25854
  type: "mcp";
25768
25855
  mcp: ToolMcpConfig;
@@ -25776,6 +25863,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25776
25863
  type: "mcp";
25777
25864
  mcp: ToolMcpConfig;
25778
25865
  }>>;
25866
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25779
25867
  credentialScope: z.ZodString;
25780
25868
  imageUrl: z.ZodNullable<z.ZodString>;
25781
25869
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25788,8 +25876,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25788
25876
  createdAt: z.ZodString;
25789
25877
  updatedAt: z.ZodString;
25790
25878
  description: z.ZodNullable<z.ZodString>;
25791
- baseUrl: z.ZodString;
25792
25879
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25880
+ baseUrl: z.ZodString;
25793
25881
  }, z.core.$strip>>>;
25794
25882
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25795
25883
  id: z.ZodString;
@@ -25811,8 +25899,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25811
25899
  createdAt: z.ZodString;
25812
25900
  updatedAt: z.ZodString;
25813
25901
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25814
- executeCode: z.ZodString;
25815
25902
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25903
+ executeCode: z.ZodString;
25816
25904
  }, z.core.$strip>>>;
25817
25905
  contextConfig: z.ZodNullable<z.ZodObject<{
25818
25906
  id: z.ZodString;
@@ -25866,6 +25954,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25866
25954
  createdAt: z.ZodString;
25867
25955
  updatedAt: z.ZodString;
25868
25956
  description: z.ZodNullable<z.ZodString>;
25957
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25869
25958
  models: z.ZodNullable<z.ZodType<{
25870
25959
  base?: {
25871
25960
  model?: string | undefined;
@@ -25952,7 +26041,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25952
26041
  }, {
25953
26042
  stepCountIs?: number | undefined;
25954
26043
  }>>>;
25955
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25956
26044
  type: z.ZodLiteral<"internal">;
25957
26045
  canUse: z.ZodArray<z.ZodObject<{
25958
26046
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26029,6 +26117,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26029
26117
  createdAt: z.ZodString;
26030
26118
  updatedAt: z.ZodString;
26031
26119
  description: z.ZodNullable<z.ZodString>;
26120
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26032
26121
  models: z.ZodNullable<z.ZodType<{
26033
26122
  base?: {
26034
26123
  model?: string | undefined;
@@ -26115,7 +26204,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26115
26204
  }, {
26116
26205
  stepCountIs?: number | undefined;
26117
26206
  }>>>;
26118
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26119
26207
  type: z.ZodLiteral<"internal">;
26120
26208
  canUse: z.ZodArray<z.ZodObject<{
26121
26209
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26147,7 +26235,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26147
26235
  updatedAt: z.ZodString;
26148
26236
  description: z.ZodNullable<z.ZodString>;
26149
26237
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26150
- credentialReferenceId: z.ZodNullable<z.ZodString>;
26151
26238
  config: z.ZodType<{
26152
26239
  type: "mcp";
26153
26240
  mcp: ToolMcpConfig;
@@ -26161,6 +26248,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26161
26248
  type: "mcp";
26162
26249
  mcp: ToolMcpConfig;
26163
26250
  }>>;
26251
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
26164
26252
  credentialScope: z.ZodString;
26165
26253
  imageUrl: z.ZodNullable<z.ZodString>;
26166
26254
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -26173,8 +26261,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26173
26261
  createdAt: z.ZodString;
26174
26262
  updatedAt: z.ZodString;
26175
26263
  description: z.ZodNullable<z.ZodString>;
26176
- baseUrl: z.ZodString;
26177
26264
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26265
+ baseUrl: z.ZodString;
26178
26266
  }, z.core.$strip>>>;
26179
26267
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26180
26268
  id: z.ZodString;
@@ -26196,8 +26284,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26196
26284
  createdAt: z.ZodString;
26197
26285
  updatedAt: z.ZodString;
26198
26286
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26199
- executeCode: z.ZodString;
26200
26287
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26288
+ executeCode: z.ZodString;
26201
26289
  }, z.core.$strip>>>;
26202
26290
  contextConfig: z.ZodNullable<z.ZodObject<{
26203
26291
  id: z.ZodString;
@@ -26253,7 +26341,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26253
26341
  updatedAt: z.ZodString;
26254
26342
  description: z.ZodNullable<z.ZodString>;
26255
26343
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26256
- credentialReferenceId: z.ZodNullable<z.ZodString>;
26257
26344
  config: z.ZodType<{
26258
26345
  type: "mcp";
26259
26346
  mcp: ToolMcpConfig;
@@ -26267,6 +26354,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26267
26354
  type: "mcp";
26268
26355
  mcp: ToolMcpConfig;
26269
26356
  }>>;
26357
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
26270
26358
  credentialScope: z.ZodString;
26271
26359
  imageUrl: z.ZodNullable<z.ZodString>;
26272
26360
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -26288,8 +26376,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26288
26376
  createdAt: z.ZodString;
26289
26377
  updatedAt: z.ZodString;
26290
26378
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26291
- executeCode: z.ZodString;
26292
26379
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26380
+ executeCode: z.ZodString;
26293
26381
  }, z.core.$strip>>>;
26294
26382
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26295
26383
  id: z.ZodString;
@@ -26395,8 +26483,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26395
26483
  createdAt: z.ZodString;
26396
26484
  updatedAt: z.ZodString;
26397
26485
  description: z.ZodNullable<z.ZodString>;
26398
- baseUrl: z.ZodString;
26399
26486
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26487
+ baseUrl: z.ZodString;
26400
26488
  }, z.core.$strip>>>;
26401
26489
  statusUpdates: z.ZodNullable<z.ZodObject<{
26402
26490
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26419,17 +26507,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26419
26507
  createdAt: z.ZodString;
26420
26508
  updatedAt: z.ZodString;
26421
26509
  userId: z.ZodNullable<z.ZodString>;
26510
+ toolId: z.ZodNullable<z.ZodString>;
26422
26511
  createdBy: z.ZodNullable<z.ZodString>;
26423
26512
  credentialStoreId: z.ZodString;
26424
26513
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26425
- toolId: z.ZodNullable<z.ZodString>;
26426
26514
  type: z.ZodEnum<{
26427
26515
  readonly memory: "memory";
26428
26516
  readonly keychain: "keychain";
26429
26517
  readonly nango: "nango";
26430
26518
  readonly composio: "composio";
26431
26519
  }>;
26432
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26520
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26433
26521
  createdAt: drizzle_orm_pg_core297.PgColumn<{
26434
26522
  name: "created_at";
26435
26523
  tableName: "tools";
@@ -26709,7 +26797,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26709
26797
  }, {}, {
26710
26798
  length: 256;
26711
26799
  }>;
26712
- }, drizzle_zod19.BuildRefine<{
26800
+ }, drizzle_zod15.BuildRefine<{
26713
26801
  createdAt: drizzle_orm_pg_core297.PgColumn<{
26714
26802
  name: "created_at";
26715
26803
  tableName: "tools";
@@ -27046,7 +27134,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27046
27134
  updatedAt: z.ZodString;
27047
27135
  description: z.ZodNullable<z.ZodString>;
27048
27136
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27049
- credentialReferenceId: z.ZodNullable<z.ZodString>;
27050
27137
  config: z.ZodType<{
27051
27138
  type: "mcp";
27052
27139
  mcp: ToolMcpConfig;
@@ -27060,6 +27147,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27060
27147
  type: "mcp";
27061
27148
  mcp: ToolMcpConfig;
27062
27149
  }>>;
27150
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
27063
27151
  credentialScope: z.ZodString;
27064
27152
  imageUrl: z.ZodNullable<z.ZodString>;
27065
27153
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -27081,8 +27169,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27081
27169
  createdAt: z.ZodString;
27082
27170
  updatedAt: z.ZodString;
27083
27171
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27084
- executeCode: z.ZodString;
27085
27172
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27173
+ executeCode: z.ZodString;
27086
27174
  }, z.core.$strip>>>;
27087
27175
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27088
27176
  id: z.ZodString;
@@ -27188,8 +27276,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27188
27276
  createdAt: z.ZodString;
27189
27277
  updatedAt: z.ZodString;
27190
27278
  description: z.ZodNullable<z.ZodString>;
27191
- baseUrl: z.ZodString;
27192
27279
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27280
+ baseUrl: z.ZodString;
27193
27281
  }, z.core.$strip>>>;
27194
27282
  statusUpdates: z.ZodNullable<z.ZodObject<{
27195
27283
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27212,17 +27300,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27212
27300
  createdAt: z.ZodString;
27213
27301
  updatedAt: z.ZodString;
27214
27302
  userId: z.ZodNullable<z.ZodString>;
27303
+ toolId: z.ZodNullable<z.ZodString>;
27215
27304
  createdBy: z.ZodNullable<z.ZodString>;
27216
27305
  credentialStoreId: z.ZodString;
27217
27306
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27218
- toolId: z.ZodNullable<z.ZodString>;
27219
27307
  type: z.ZodEnum<{
27220
27308
  readonly memory: "memory";
27221
27309
  readonly keychain: "keychain";
27222
27310
  readonly nango: "nango";
27223
27311
  readonly composio: "composio";
27224
27312
  }>;
27225
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27313
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27226
27314
  createdAt: drizzle_orm_pg_core297.PgColumn<{
27227
27315
  name: "created_at";
27228
27316
  tableName: "tools";
@@ -27502,7 +27590,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27502
27590
  }, {}, {
27503
27591
  length: 256;
27504
27592
  }>;
27505
- }, drizzle_zod19.BuildRefine<{
27593
+ }, drizzle_zod15.BuildRefine<{
27506
27594
  createdAt: drizzle_orm_pg_core297.PgColumn<{
27507
27595
  name: "created_at";
27508
27596
  tableName: "tools";
@@ -27814,7 +27902,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27814
27902
  updatedAt: z.ZodString;
27815
27903
  description: z.ZodNullable<z.ZodString>;
27816
27904
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27817
- credentialReferenceId: z.ZodNullable<z.ZodString>;
27818
27905
  config: z.ZodType<{
27819
27906
  type: "mcp";
27820
27907
  mcp: ToolMcpConfig;
@@ -27828,6 +27915,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27828
27915
  type: "mcp";
27829
27916
  mcp: ToolMcpConfig;
27830
27917
  }>>;
27918
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
27831
27919
  credentialScope: z.ZodString;
27832
27920
  imageUrl: z.ZodNullable<z.ZodString>;
27833
27921
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -27840,8 +27928,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27840
27928
  createdAt: z.ZodString;
27841
27929
  updatedAt: z.ZodString;
27842
27930
  description: z.ZodNullable<z.ZodString>;
27843
- baseUrl: z.ZodString;
27844
27931
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27932
+ baseUrl: z.ZodString;
27845
27933
  }, z.core.$strip>>>;
27846
27934
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27847
27935
  id: z.ZodString;
@@ -27863,8 +27951,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27863
27951
  createdAt: z.ZodString;
27864
27952
  updatedAt: z.ZodString;
27865
27953
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27866
- executeCode: z.ZodString;
27867
27954
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27955
+ executeCode: z.ZodString;
27868
27956
  }, z.core.$strip>>>;
27869
27957
  contextConfig: z.ZodNullable<z.ZodObject<{
27870
27958
  id: z.ZodString;
@@ -27918,6 +28006,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27918
28006
  createdAt: z.ZodString;
27919
28007
  updatedAt: z.ZodString;
27920
28008
  description: z.ZodNullable<z.ZodString>;
28009
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27921
28010
  models: z.ZodNullable<z.ZodType<{
27922
28011
  base?: {
27923
28012
  model?: string | undefined;
@@ -28004,7 +28093,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28004
28093
  }, {
28005
28094
  stepCountIs?: number | undefined;
28006
28095
  }>>>;
28007
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28008
28096
  type: z.ZodLiteral<"internal">;
28009
28097
  canUse: z.ZodArray<z.ZodObject<{
28010
28098
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28084,6 +28172,7 @@ declare const SubAgentResponse: z.ZodObject<{
28084
28172
  updatedAt: z.ZodString;
28085
28173
  description: z.ZodNullable<z.ZodString>;
28086
28174
  prompt: z.ZodNullable<z.ZodString>;
28175
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28087
28176
  models: z.ZodNullable<z.ZodType<{
28088
28177
  base?: {
28089
28178
  model?: string | undefined;
@@ -28170,7 +28259,6 @@ declare const SubAgentResponse: z.ZodObject<{
28170
28259
  }, {
28171
28260
  stepCountIs?: number | undefined;
28172
28261
  }>>>;
28173
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28174
28262
  }, z.core.$strip>;
28175
28263
  }, z.core.$strip>;
28176
28264
  declare const AgentResponse: z.ZodObject<{
@@ -28336,8 +28424,8 @@ declare const ExternalAgentResponse: z.ZodObject<{
28336
28424
  createdAt: z.ZodString;
28337
28425
  updatedAt: z.ZodString;
28338
28426
  description: z.ZodNullable<z.ZodString>;
28339
- baseUrl: z.ZodString;
28340
28427
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28428
+ baseUrl: z.ZodString;
28341
28429
  }, z.core.$strip>;
28342
28430
  }, z.core.$strip>;
28343
28431
  declare const ContextConfigResponse: z.ZodObject<{
@@ -28372,17 +28460,17 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28372
28460
  createdAt: z.ZodString;
28373
28461
  updatedAt: z.ZodString;
28374
28462
  userId: z.ZodNullable<z.ZodString>;
28463
+ toolId: z.ZodNullable<z.ZodString>;
28375
28464
  createdBy: z.ZodNullable<z.ZodString>;
28376
28465
  credentialStoreId: z.ZodString;
28377
28466
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28378
- toolId: z.ZodNullable<z.ZodString>;
28379
28467
  type: z.ZodEnum<{
28380
28468
  readonly memory: "memory";
28381
28469
  readonly keychain: "keychain";
28382
28470
  readonly nango: "nango";
28383
28471
  readonly composio: "composio";
28384
28472
  }>;
28385
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28473
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28386
28474
  createdAt: drizzle_orm_pg_core297.PgColumn<{
28387
28475
  name: "created_at";
28388
28476
  tableName: "tools";
@@ -28662,7 +28750,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28662
28750
  }, {}, {
28663
28751
  length: 256;
28664
28752
  }>;
28665
- }, drizzle_zod19.BuildRefine<{
28753
+ }, drizzle_zod15.BuildRefine<{
28666
28754
  createdAt: drizzle_orm_pg_core297.PgColumn<{
28667
28755
  name: "created_at";
28668
28756
  tableName: "tools";
@@ -28965,8 +29053,8 @@ declare const FunctionResponse: z.ZodObject<{
28965
29053
  createdAt: z.ZodString;
28966
29054
  updatedAt: z.ZodString;
28967
29055
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28968
- executeCode: z.ZodString;
28969
29056
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29057
+ executeCode: z.ZodString;
28970
29058
  }, z.core.$strip>;
28971
29059
  }, z.core.$strip>;
28972
29060
  declare const FunctionToolResponse: z.ZodObject<{
@@ -28987,8 +29075,8 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28987
29075
  createdAt: z.ZodString;
28988
29076
  updatedAt: z.ZodString;
28989
29077
  subAgentId: z.ZodString;
28990
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28991
29078
  functionToolId: z.ZodString;
29079
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28992
29080
  }, z.core.$strip>;
28993
29081
  }, z.core.$strip>;
28994
29082
  declare const DataComponentResponse: z.ZodObject<{
@@ -29108,11 +29196,11 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29108
29196
  id: z.ZodString;
29109
29197
  createdAt: z.ZodString;
29110
29198
  updatedAt: z.ZodString;
29111
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29112
- toolId: z.ZodString;
29199
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29113
29200
  subAgentId: z.ZodString;
29114
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29115
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29201
+ toolId: z.ZodString;
29202
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29203
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29116
29204
  }, z.core.$strip>;
29117
29205
  }, z.core.$strip>;
29118
29206
  declare const TriggerResponse: z.ZodObject<{
@@ -29123,22 +29211,22 @@ declare const TriggerResponse: z.ZodObject<{
29123
29211
  updatedAt: z.ZodString;
29124
29212
  description: z.ZodNullable<z.ZodString>;
29125
29213
  enabled: z.ZodBoolean;
29126
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29127
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29214
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29215
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29128
29216
  messageTemplate: z.ZodNullable<z.ZodString>;
29129
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29217
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29130
29218
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29131
29219
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29132
29220
  algorithm: z.ZodEnum<{
29221
+ md5: "md5";
29133
29222
  sha256: "sha256";
29134
29223
  sha512: "sha512";
29135
29224
  sha384: "sha384";
29136
29225
  sha1: "sha1";
29137
- md5: "md5";
29138
29226
  }>;
29139
29227
  encoding: z.ZodEnum<{
29140
- hex: "hex";
29141
29228
  base64: "base64";
29229
+ hex: "hex";
29142
29230
  }>;
29143
29231
  signature: z.ZodObject<{
29144
29232
  source: z.ZodEnum<{
@@ -29196,20 +29284,20 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29196
29284
  triggerId: z.ZodString;
29197
29285
  conversationId: z.ZodNullable<z.ZodString>;
29198
29286
  batchId: z.ZodNullable<z.ZodString>;
29199
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29200
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29287
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29288
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29201
29289
  errorMessage: z.ZodNullable<z.ZodString>;
29202
29290
  }, z.core.$strip>;
29203
29291
  }, z.core.$strip>;
29204
29292
  declare const FeedbackResponse: z.ZodObject<{
29205
29293
  data: z.ZodObject<{
29294
+ type: z.ZodString;
29206
29295
  id: z.ZodString;
29207
29296
  createdAt: z.ZodString;
29208
29297
  updatedAt: z.ZodString;
29209
- type: z.ZodString;
29210
- details: z.ZodNullable<z.ZodString>;
29211
29298
  conversationId: z.ZodString;
29212
29299
  messageId: z.ZodNullable<z.ZodString>;
29300
+ details: z.ZodNullable<z.ZodString>;
29213
29301
  }, z.core.$strip>;
29214
29302
  }, z.core.$strip>;
29215
29303
  declare const ProjectListResponse: z.ZodObject<{
@@ -29262,6 +29350,7 @@ declare const SubAgentListResponse: z.ZodObject<{
29262
29350
  updatedAt: z.ZodString;
29263
29351
  description: z.ZodNullable<z.ZodString>;
29264
29352
  prompt: z.ZodNullable<z.ZodString>;
29353
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29265
29354
  models: z.ZodNullable<z.ZodType<{
29266
29355
  base?: {
29267
29356
  model?: string | undefined;
@@ -29348,7 +29437,6 @@ declare const SubAgentListResponse: z.ZodObject<{
29348
29437
  }, {
29349
29438
  stepCountIs?: number | undefined;
29350
29439
  }>>>;
29351
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29352
29440
  }, z.core.$strip>>;
29353
29441
  pagination: z.ZodObject<{
29354
29442
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29526,8 +29614,8 @@ declare const ExternalAgentListResponse: z.ZodObject<{
29526
29614
  createdAt: z.ZodString;
29527
29615
  updatedAt: z.ZodString;
29528
29616
  description: z.ZodNullable<z.ZodString>;
29529
- baseUrl: z.ZodString;
29530
29617
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29618
+ baseUrl: z.ZodString;
29531
29619
  }, z.core.$strip>>;
29532
29620
  pagination: z.ZodObject<{
29533
29621
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29575,11 +29663,11 @@ declare const ApiKeyListResponse: z.ZodObject<{
29575
29663
  }, z.core.$strip>;
29576
29664
  declare const AppResponse: z.ZodObject<{
29577
29665
  data: z.ZodObject<{
29666
+ type: z.ZodString;
29578
29667
  id: z.ZodString;
29579
29668
  name: z.ZodString;
29580
29669
  createdAt: z.ZodString;
29581
29670
  updatedAt: z.ZodString;
29582
- type: z.ZodString;
29583
29671
  description: z.ZodNullable<z.ZodString>;
29584
29672
  enabled: z.ZodBoolean;
29585
29673
  prompt: z.ZodNullable<z.ZodString>;
@@ -29612,6 +29700,11 @@ declare const AppResponse: z.ZodObject<{
29612
29700
  }, z.core.$strip>, z.ZodObject<{
29613
29701
  type: z.ZodLiteral<"api">;
29614
29702
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
29703
+ }, z.core.$strip>, z.ZodObject<{
29704
+ type: z.ZodLiteral<"support_copilot">;
29705
+ supportCopilot: z.ZodObject<{
29706
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
29707
+ }, z.core.$strip>;
29615
29708
  }, z.core.$strip>], "type">;
29616
29709
  }, {
29617
29710
  out: {};
@@ -29620,11 +29713,11 @@ declare const AppResponse: z.ZodObject<{
29620
29713
  }, z.core.$strip>;
29621
29714
  declare const AppListResponse: z.ZodObject<{
29622
29715
  data: z.ZodArray<z.ZodObject<{
29716
+ type: z.ZodString;
29623
29717
  id: z.ZodString;
29624
29718
  name: z.ZodString;
29625
29719
  createdAt: z.ZodString;
29626
29720
  updatedAt: z.ZodString;
29627
- type: z.ZodString;
29628
29721
  description: z.ZodNullable<z.ZodString>;
29629
29722
  enabled: z.ZodBoolean;
29630
29723
  prompt: z.ZodNullable<z.ZodString>;
@@ -29657,6 +29750,11 @@ declare const AppListResponse: z.ZodObject<{
29657
29750
  }, z.core.$strip>, z.ZodObject<{
29658
29751
  type: z.ZodLiteral<"api">;
29659
29752
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
29753
+ }, z.core.$strip>, z.ZodObject<{
29754
+ type: z.ZodLiteral<"support_copilot">;
29755
+ supportCopilot: z.ZodObject<{
29756
+ credentialReferenceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
29757
+ }, z.core.$strip>;
29660
29758
  }, z.core.$strip>], "type">;
29661
29759
  }, {
29662
29760
  out: {};
@@ -29676,17 +29774,17 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29676
29774
  createdAt: z.ZodString;
29677
29775
  updatedAt: z.ZodString;
29678
29776
  userId: z.ZodNullable<z.ZodString>;
29777
+ toolId: z.ZodNullable<z.ZodString>;
29679
29778
  createdBy: z.ZodNullable<z.ZodString>;
29680
29779
  credentialStoreId: z.ZodString;
29681
29780
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29682
- toolId: z.ZodNullable<z.ZodString>;
29683
29781
  type: z.ZodEnum<{
29684
29782
  readonly memory: "memory";
29685
29783
  readonly keychain: "keychain";
29686
29784
  readonly nango: "nango";
29687
29785
  readonly composio: "composio";
29688
29786
  }>;
29689
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29787
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29690
29788
  createdAt: drizzle_orm_pg_core297.PgColumn<{
29691
29789
  name: "created_at";
29692
29790
  tableName: "tools";
@@ -29966,7 +30064,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29966
30064
  }, {}, {
29967
30065
  length: 256;
29968
30066
  }>;
29969
- }, drizzle_zod19.BuildRefine<{
30067
+ }, drizzle_zod15.BuildRefine<{
29970
30068
  createdAt: drizzle_orm_pg_core297.PgColumn<{
29971
30069
  name: "created_at";
29972
30070
  tableName: "tools";
@@ -30275,8 +30373,8 @@ declare const FunctionListResponse: z.ZodObject<{
30275
30373
  createdAt: z.ZodString;
30276
30374
  updatedAt: z.ZodString;
30277
30375
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30278
- executeCode: z.ZodString;
30279
30376
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30377
+ executeCode: z.ZodString;
30280
30378
  }, z.core.$strip>>;
30281
30379
  pagination: z.ZodObject<{
30282
30380
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30309,8 +30407,8 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30309
30407
  createdAt: z.ZodString;
30310
30408
  updatedAt: z.ZodString;
30311
30409
  subAgentId: z.ZodString;
30312
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30313
30410
  functionToolId: z.ZodString;
30411
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30314
30412
  }, z.core.$strip>>;
30315
30413
  pagination: z.ZodObject<{
30316
30414
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30321,13 +30419,13 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30321
30419
  }, z.core.$strip>;
30322
30420
  declare const FeedbackListResponse: z.ZodObject<{
30323
30421
  data: z.ZodArray<z.ZodObject<{
30422
+ type: z.ZodString;
30324
30423
  id: z.ZodString;
30325
30424
  createdAt: z.ZodString;
30326
30425
  updatedAt: z.ZodString;
30327
- type: z.ZodString;
30328
- details: z.ZodNullable<z.ZodString>;
30329
30426
  conversationId: z.ZodString;
30330
30427
  messageId: z.ZodNullable<z.ZodString>;
30428
+ details: z.ZodNullable<z.ZodString>;
30331
30429
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30332
30430
  }, z.core.$strip>>;
30333
30431
  pagination: z.ZodObject<{
@@ -30472,11 +30570,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30472
30570
  id: z.ZodString;
30473
30571
  createdAt: z.ZodString;
30474
30572
  updatedAt: z.ZodString;
30475
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30476
- toolId: z.ZodString;
30573
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30477
30574
  subAgentId: z.ZodString;
30478
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30479
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30575
+ toolId: z.ZodString;
30576
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30577
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30480
30578
  }, z.core.$strip>>;
30481
30579
  pagination: z.ZodObject<{
30482
30580
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30493,22 +30591,22 @@ declare const TriggerListResponse: z.ZodObject<{
30493
30591
  updatedAt: z.ZodString;
30494
30592
  description: z.ZodNullable<z.ZodString>;
30495
30593
  enabled: z.ZodBoolean;
30496
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30497
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30594
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30595
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30498
30596
  messageTemplate: z.ZodNullable<z.ZodString>;
30499
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30597
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30500
30598
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30501
30599
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30502
30600
  algorithm: z.ZodEnum<{
30601
+ md5: "md5";
30503
30602
  sha256: "sha256";
30504
30603
  sha512: "sha512";
30505
30604
  sha384: "sha384";
30506
30605
  sha1: "sha1";
30507
- md5: "md5";
30508
30606
  }>;
30509
30607
  encoding: z.ZodEnum<{
30510
- hex: "hex";
30511
30608
  base64: "base64";
30609
+ hex: "hex";
30512
30610
  }>;
30513
30611
  signature: z.ZodObject<{
30514
30612
  source: z.ZodEnum<{
@@ -30572,8 +30670,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30572
30670
  triggerId: z.ZodString;
30573
30671
  conversationId: z.ZodNullable<z.ZodString>;
30574
30672
  batchId: z.ZodNullable<z.ZodString>;
30575
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30576
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30673
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30674
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30577
30675
  errorMessage: z.ZodNullable<z.ZodString>;
30578
30676
  }, z.core.$strip>>;
30579
30677
  pagination: z.ZodObject<{
@@ -30591,22 +30689,22 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30591
30689
  updatedAt: z.ZodString;
30592
30690
  description: z.ZodNullable<z.ZodString>;
30593
30691
  enabled: z.ZodBoolean;
30594
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30595
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30692
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30693
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30596
30694
  messageTemplate: z.ZodNullable<z.ZodString>;
30597
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30695
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30598
30696
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30599
30697
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30600
30698
  algorithm: z.ZodEnum<{
30699
+ md5: "md5";
30601
30700
  sha256: "sha256";
30602
30701
  sha512: "sha512";
30603
30702
  sha384: "sha384";
30604
30703
  sha1: "sha1";
30605
- md5: "md5";
30606
30704
  }>;
30607
30705
  encoding: z.ZodEnum<{
30608
- hex: "hex";
30609
30706
  base64: "base64";
30707
+ hex: "hex";
30610
30708
  }>;
30611
30709
  signature: z.ZodObject<{
30612
30710
  source: z.ZodEnum<{
@@ -30657,22 +30755,22 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30657
30755
  updatedAt: z.ZodString;
30658
30756
  description: z.ZodNullable<z.ZodString>;
30659
30757
  enabled: z.ZodBoolean;
30660
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30661
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30758
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30759
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30662
30760
  messageTemplate: z.ZodNullable<z.ZodString>;
30663
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30761
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30664
30762
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30665
30763
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30666
30764
  algorithm: z.ZodEnum<{
30765
+ md5: "md5";
30667
30766
  sha256: "sha256";
30668
30767
  sha512: "sha512";
30669
30768
  sha384: "sha384";
30670
30769
  sha1: "sha1";
30671
- md5: "md5";
30672
30770
  }>;
30673
30771
  encoding: z.ZodEnum<{
30674
- hex: "hex";
30675
30772
  base64: "base64";
30773
+ hex: "hex";
30676
30774
  }>;
30677
30775
  signature: z.ZodObject<{
30678
30776
  source: z.ZodEnum<{
@@ -30724,22 +30822,22 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30724
30822
  updatedAt: z.ZodString;
30725
30823
  description: z.ZodNullable<z.ZodString>;
30726
30824
  enabled: z.ZodBoolean;
30727
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30728
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30825
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30826
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30729
30827
  messageTemplate: z.ZodNullable<z.ZodString>;
30730
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30828
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30731
30829
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30732
30830
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30733
30831
  algorithm: z.ZodEnum<{
30832
+ md5: "md5";
30734
30833
  sha256: "sha256";
30735
30834
  sha512: "sha512";
30736
30835
  sha384: "sha384";
30737
30836
  sha1: "sha1";
30738
- md5: "md5";
30739
30837
  }>;
30740
30838
  encoding: z.ZodEnum<{
30741
- hex: "hex";
30742
30839
  base64: "base64";
30840
+ hex: "hex";
30743
30841
  }>;
30744
30842
  signature: z.ZodObject<{
30745
30843
  source: z.ZodEnum<{
@@ -30949,12 +31047,12 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30949
31047
  cancelled: "cancelled";
30950
31048
  }>;
30951
31049
  runAsUserId: z.ZodNullable<z.ZodString>;
30952
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30953
31050
  scheduledTriggerId: z.ZodString;
30954
31051
  scheduledFor: z.ZodString;
30955
31052
  startedAt: z.ZodNullable<z.ZodString>;
30956
31053
  completedAt: z.ZodNullable<z.ZodString>;
30957
31054
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31055
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30958
31056
  attemptNumber: z.ZodInt;
30959
31057
  idempotencyKey: z.ZodString;
30960
31058
  }, z.core.$strip>;
@@ -30980,12 +31078,12 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30980
31078
  cancelled: "cancelled";
30981
31079
  }>;
30982
31080
  runAsUserId: z.ZodNullable<z.ZodString>;
30983
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30984
31081
  scheduledTriggerId: z.ZodString;
30985
31082
  scheduledFor: z.ZodString;
30986
31083
  startedAt: z.ZodNullable<z.ZodString>;
30987
31084
  completedAt: z.ZodNullable<z.ZodString>;
30988
31085
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31086
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30989
31087
  attemptNumber: z.ZodInt;
30990
31088
  idempotencyKey: z.ZodString;
30991
31089
  }, z.core.$strip>>;
@@ -31054,6 +31152,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31054
31152
  createdAt: z.ZodOptional<z.ZodString>;
31055
31153
  updatedAt: z.ZodOptional<z.ZodString>;
31056
31154
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31155
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31057
31156
  models: z.ZodOptional<z.ZodObject<{
31058
31157
  base: z.ZodOptional<z.ZodObject<{
31059
31158
  model: z.ZodOptional<z.ZodString>;
@@ -31074,7 +31173,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31074
31173
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
31075
31174
  }, z.core.$strip>>;
31076
31175
  }, z.core.$strip>>;
31077
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31078
31176
  type: z.ZodLiteral<"internal">;
31079
31177
  canUse: z.ZodArray<z.ZodObject<{
31080
31178
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31112,7 +31210,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31112
31210
  name: z.ZodString;
31113
31211
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31114
31212
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31115
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31116
31213
  config: z.ZodObject<{
31117
31214
  type: z.ZodLiteral<"mcp">;
31118
31215
  mcp: z.ZodObject<{
@@ -31139,6 +31236,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31139
31236
  prompt: z.ZodOptional<z.ZodString>;
31140
31237
  }, z.core.$strip>;
31141
31238
  }, z.core.$strip>;
31239
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31142
31240
  credentialScope: z.ZodOptional<z.ZodString>;
31143
31241
  imageUrl: z.ZodOptional<z.ZodString>;
31144
31242
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -31149,8 +31247,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31149
31247
  id: z.ZodString;
31150
31248
  name: z.ZodString;
31151
31249
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31152
- baseUrl: z.ZodURL;
31153
31250
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31251
+ baseUrl: z.ZodURL;
31154
31252
  }, z.core.$strip>>>;
31155
31253
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31156
31254
  id: z.ZodString;
@@ -31166,20 +31264,20 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31166
31264
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31167
31265
  id: z.ZodString;
31168
31266
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31169
- executeCode: z.ZodString;
31170
31267
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31268
+ executeCode: z.ZodString;
31171
31269
  }, z.core.$strip>>>;
31172
31270
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31173
31271
  id: z.ZodOptional<z.ZodString>;
31174
31272
  name: z.ZodString;
31175
31273
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31176
31274
  enabled: z.ZodOptional<z.ZodBoolean>;
31177
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31178
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31275
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31276
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31179
31277
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31180
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31278
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31181
31279
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31182
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31280
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31183
31281
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31184
31282
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
31185
31283
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31235,7 +31333,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31235
31333
  name: z.ZodString;
31236
31334
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31237
31335
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31238
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31239
31336
  config: z.ZodObject<{
31240
31337
  type: z.ZodLiteral<"mcp">;
31241
31338
  mcp: z.ZodObject<{
@@ -31262,6 +31359,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31262
31359
  prompt: z.ZodOptional<z.ZodString>;
31263
31360
  }, z.core.$strip>;
31264
31361
  }, z.core.$strip>;
31362
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31265
31363
  credentialScope: z.ZodOptional<z.ZodString>;
31266
31364
  imageUrl: z.ZodOptional<z.ZodString>;
31267
31365
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -31277,8 +31375,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31277
31375
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31278
31376
  id: z.ZodString;
31279
31377
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31280
- executeCode: z.ZodString;
31281
31378
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31379
+ executeCode: z.ZodString;
31282
31380
  }, z.core.$strip>>>;
31283
31381
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
31284
31382
  files: z.ZodArray<z.ZodObject<{
@@ -31366,8 +31464,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31366
31464
  id: z.ZodString;
31367
31465
  name: z.ZodString;
31368
31466
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31369
- baseUrl: z.ZodURL;
31370
31467
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31468
+ baseUrl: z.ZodURL;
31371
31469
  }, z.core.$strip>>>;
31372
31470
  statusUpdates: z.ZodOptional<z.ZodObject<{
31373
31471
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31388,10 +31486,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31388
31486
  id: z.ZodString;
31389
31487
  name: z.ZodString;
31390
31488
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31489
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31391
31490
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31392
31491
  credentialStoreId: z.ZodString;
31393
31492
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31394
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31395
31493
  type: z.ZodEnum<{
31396
31494
  readonly memory: "memory";
31397
31495
  readonly keychain: "keychain";
@@ -31452,6 +31550,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31452
31550
  createdAt: z.ZodString;
31453
31551
  updatedAt: z.ZodString;
31454
31552
  description: z.ZodNullable<z.ZodString>;
31553
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31455
31554
  models: z.ZodNullable<z.ZodType<{
31456
31555
  base?: {
31457
31556
  model?: string | undefined;
@@ -31538,7 +31637,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31538
31637
  }, {
31539
31638
  stepCountIs?: number | undefined;
31540
31639
  }>>>;
31541
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31542
31640
  type: z.ZodLiteral<"internal">;
31543
31641
  canUse: z.ZodArray<z.ZodObject<{
31544
31642
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31570,7 +31668,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31570
31668
  updatedAt: z.ZodString;
31571
31669
  description: z.ZodNullable<z.ZodString>;
31572
31670
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31573
- credentialReferenceId: z.ZodNullable<z.ZodString>;
31574
31671
  config: z.ZodType<{
31575
31672
  type: "mcp";
31576
31673
  mcp: ToolMcpConfig;
@@ -31584,6 +31681,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31584
31681
  type: "mcp";
31585
31682
  mcp: ToolMcpConfig;
31586
31683
  }>>;
31684
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
31587
31685
  credentialScope: z.ZodString;
31588
31686
  imageUrl: z.ZodNullable<z.ZodString>;
31589
31687
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -31596,8 +31694,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31596
31694
  createdAt: z.ZodString;
31597
31695
  updatedAt: z.ZodString;
31598
31696
  description: z.ZodNullable<z.ZodString>;
31599
- baseUrl: z.ZodString;
31600
31697
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31698
+ baseUrl: z.ZodString;
31601
31699
  }, z.core.$strip>>>;
31602
31700
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31603
31701
  id: z.ZodString;
@@ -31619,8 +31717,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31619
31717
  createdAt: z.ZodString;
31620
31718
  updatedAt: z.ZodString;
31621
31719
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31622
- executeCode: z.ZodString;
31623
31720
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31721
+ executeCode: z.ZodString;
31624
31722
  }, z.core.$strip>>>;
31625
31723
  contextConfig: z.ZodNullable<z.ZodObject<{
31626
31724
  id: z.ZodString;
@@ -31676,7 +31774,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31676
31774
  updatedAt: z.ZodString;
31677
31775
  description: z.ZodNullable<z.ZodString>;
31678
31776
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31679
- credentialReferenceId: z.ZodNullable<z.ZodString>;
31680
31777
  config: z.ZodType<{
31681
31778
  type: "mcp";
31682
31779
  mcp: ToolMcpConfig;
@@ -31690,6 +31787,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31690
31787
  type: "mcp";
31691
31788
  mcp: ToolMcpConfig;
31692
31789
  }>>;
31790
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
31693
31791
  credentialScope: z.ZodString;
31694
31792
  imageUrl: z.ZodNullable<z.ZodString>;
31695
31793
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -31711,8 +31809,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31711
31809
  createdAt: z.ZodString;
31712
31810
  updatedAt: z.ZodString;
31713
31811
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31714
- executeCode: z.ZodString;
31715
31812
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31813
+ executeCode: z.ZodString;
31716
31814
  }, z.core.$strip>>>;
31717
31815
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31718
31816
  id: z.ZodString;
@@ -31818,8 +31916,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31818
31916
  createdAt: z.ZodString;
31819
31917
  updatedAt: z.ZodString;
31820
31918
  description: z.ZodNullable<z.ZodString>;
31821
- baseUrl: z.ZodString;
31822
31919
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31920
+ baseUrl: z.ZodString;
31823
31921
  }, z.core.$strip>>>;
31824
31922
  statusUpdates: z.ZodNullable<z.ZodObject<{
31825
31923
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31842,17 +31940,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31842
31940
  createdAt: z.ZodString;
31843
31941
  updatedAt: z.ZodString;
31844
31942
  userId: z.ZodNullable<z.ZodString>;
31943
+ toolId: z.ZodNullable<z.ZodString>;
31845
31944
  createdBy: z.ZodNullable<z.ZodString>;
31846
31945
  credentialStoreId: z.ZodString;
31847
31946
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31848
- toolId: z.ZodNullable<z.ZodString>;
31849
31947
  type: z.ZodEnum<{
31850
31948
  readonly memory: "memory";
31851
31949
  readonly keychain: "keychain";
31852
31950
  readonly nango: "nango";
31853
31951
  readonly composio: "composio";
31854
31952
  }>;
31855
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
31953
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
31856
31954
  createdAt: drizzle_orm_pg_core297.PgColumn<{
31857
31955
  name: "created_at";
31858
31956
  tableName: "tools";
@@ -32132,7 +32230,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32132
32230
  }, {}, {
32133
32231
  length: 256;
32134
32232
  }>;
32135
- }, drizzle_zod19.BuildRefine<{
32233
+ }, drizzle_zod15.BuildRefine<{
32136
32234
  createdAt: drizzle_orm_pg_core297.PgColumn<{
32137
32235
  name: "created_at";
32138
32236
  tableName: "tools";
@@ -32471,7 +32569,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32471
32569
  updatedAt: z.ZodString;
32472
32570
  description: z.ZodNullable<z.ZodString>;
32473
32571
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32474
- credentialReferenceId: z.ZodNullable<z.ZodString>;
32475
32572
  config: z.ZodType<{
32476
32573
  type: "mcp";
32477
32574
  mcp: ToolMcpConfig;
@@ -32485,6 +32582,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32485
32582
  type: "mcp";
32486
32583
  mcp: ToolMcpConfig;
32487
32584
  }>>;
32585
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
32488
32586
  credentialScope: z.ZodString;
32489
32587
  imageUrl: z.ZodNullable<z.ZodString>;
32490
32588
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -32506,8 +32604,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32506
32604
  createdAt: z.ZodString;
32507
32605
  updatedAt: z.ZodString;
32508
32606
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32509
- executeCode: z.ZodString;
32510
32607
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32608
+ executeCode: z.ZodString;
32511
32609
  }, z.core.$strip>>>;
32512
32610
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32513
32611
  id: z.ZodString;
@@ -32613,8 +32711,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32613
32711
  createdAt: z.ZodString;
32614
32712
  updatedAt: z.ZodString;
32615
32713
  description: z.ZodNullable<z.ZodString>;
32616
- baseUrl: z.ZodString;
32617
32714
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32715
+ baseUrl: z.ZodString;
32618
32716
  }, z.core.$strip>>>;
32619
32717
  statusUpdates: z.ZodNullable<z.ZodObject<{
32620
32718
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32637,17 +32735,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32637
32735
  createdAt: z.ZodString;
32638
32736
  updatedAt: z.ZodString;
32639
32737
  userId: z.ZodNullable<z.ZodString>;
32738
+ toolId: z.ZodNullable<z.ZodString>;
32640
32739
  createdBy: z.ZodNullable<z.ZodString>;
32641
32740
  credentialStoreId: z.ZodString;
32642
32741
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32643
- toolId: z.ZodNullable<z.ZodString>;
32644
32742
  type: z.ZodEnum<{
32645
32743
  readonly memory: "memory";
32646
32744
  readonly keychain: "keychain";
32647
32745
  readonly nango: "nango";
32648
32746
  readonly composio: "composio";
32649
32747
  }>;
32650
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32748
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32651
32749
  createdAt: drizzle_orm_pg_core297.PgColumn<{
32652
32750
  name: "created_at";
32653
32751
  tableName: "tools";
@@ -32927,7 +33025,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32927
33025
  }, {}, {
32928
33026
  length: 256;
32929
33027
  }>;
32930
- }, drizzle_zod19.BuildRefine<{
33028
+ }, drizzle_zod15.BuildRefine<{
32931
33029
  createdAt: drizzle_orm_pg_core297.PgColumn<{
32932
33030
  name: "created_at";
32933
33031
  tableName: "tools";
@@ -33239,7 +33337,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33239
33337
  updatedAt: z.ZodString;
33240
33338
  description: z.ZodNullable<z.ZodString>;
33241
33339
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33242
- credentialReferenceId: z.ZodNullable<z.ZodString>;
33243
33340
  config: z.ZodType<{
33244
33341
  type: "mcp";
33245
33342
  mcp: ToolMcpConfig;
@@ -33253,6 +33350,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33253
33350
  type: "mcp";
33254
33351
  mcp: ToolMcpConfig;
33255
33352
  }>>;
33353
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
33256
33354
  credentialScope: z.ZodString;
33257
33355
  imageUrl: z.ZodNullable<z.ZodString>;
33258
33356
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -33265,8 +33363,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33265
33363
  createdAt: z.ZodString;
33266
33364
  updatedAt: z.ZodString;
33267
33365
  description: z.ZodNullable<z.ZodString>;
33268
- baseUrl: z.ZodString;
33269
33366
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33367
+ baseUrl: z.ZodString;
33270
33368
  }, z.core.$strip>>>;
33271
33369
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33272
33370
  id: z.ZodString;
@@ -33288,8 +33386,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33288
33386
  createdAt: z.ZodString;
33289
33387
  updatedAt: z.ZodString;
33290
33388
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33291
- executeCode: z.ZodString;
33292
33389
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33390
+ executeCode: z.ZodString;
33293
33391
  }, z.core.$strip>>>;
33294
33392
  contextConfig: z.ZodNullable<z.ZodObject<{
33295
33393
  id: z.ZodString;
@@ -33343,6 +33441,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33343
33441
  createdAt: z.ZodString;
33344
33442
  updatedAt: z.ZodString;
33345
33443
  description: z.ZodNullable<z.ZodString>;
33444
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33346
33445
  models: z.ZodNullable<z.ZodType<{
33347
33446
  base?: {
33348
33447
  model?: string | undefined;
@@ -33429,7 +33528,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33429
33528
  }, {
33430
33529
  stepCountIs?: number | undefined;
33431
33530
  }>>>;
33432
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33433
33531
  type: z.ZodLiteral<"internal">;
33434
33532
  canUse: z.ZodArray<z.ZodObject<{
33435
33533
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33480,6 +33578,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33480
33578
  createdAt: z.ZodOptional<z.ZodString>;
33481
33579
  updatedAt: z.ZodOptional<z.ZodString>;
33482
33580
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33581
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33483
33582
  models: z.ZodOptional<z.ZodObject<{
33484
33583
  base: z.ZodOptional<z.ZodObject<{
33485
33584
  model: z.ZodOptional<z.ZodString>;
@@ -33500,7 +33599,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33500
33599
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
33501
33600
  }, z.core.$strip>>;
33502
33601
  }, z.core.$strip>>;
33503
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33504
33602
  type: z.ZodLiteral<"internal">;
33505
33603
  canUse: z.ZodArray<z.ZodObject<{
33506
33604
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33538,7 +33636,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33538
33636
  name: z.ZodString;
33539
33637
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33540
33638
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33541
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33542
33639
  config: z.ZodObject<{
33543
33640
  type: z.ZodLiteral<"mcp">;
33544
33641
  mcp: z.ZodObject<{
@@ -33565,6 +33662,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33565
33662
  prompt: z.ZodOptional<z.ZodString>;
33566
33663
  }, z.core.$strip>;
33567
33664
  }, z.core.$strip>;
33665
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33568
33666
  credentialScope: z.ZodOptional<z.ZodString>;
33569
33667
  imageUrl: z.ZodOptional<z.ZodString>;
33570
33668
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -33575,8 +33673,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33575
33673
  id: z.ZodString;
33576
33674
  name: z.ZodString;
33577
33675
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33578
- baseUrl: z.ZodURL;
33579
33676
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33677
+ baseUrl: z.ZodURL;
33580
33678
  }, z.core.$strip>>>;
33581
33679
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33582
33680
  id: z.ZodString;
@@ -33592,20 +33690,20 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33592
33690
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33593
33691
  id: z.ZodString;
33594
33692
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33595
- executeCode: z.ZodString;
33596
33693
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33694
+ executeCode: z.ZodString;
33597
33695
  }, z.core.$strip>>>;
33598
33696
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33599
33697
  id: z.ZodOptional<z.ZodString>;
33600
33698
  name: z.ZodString;
33601
33699
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33602
33700
  enabled: z.ZodOptional<z.ZodBoolean>;
33603
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33604
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33701
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33702
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33605
33703
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33606
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33704
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33607
33705
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33608
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33706
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33609
33707
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33610
33708
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
33611
33709
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33673,6 +33771,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33673
33771
  createdAt: z.ZodString;
33674
33772
  updatedAt: z.ZodString;
33675
33773
  description: z.ZodNullable<z.ZodString>;
33774
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33676
33775
  models: z.ZodNullable<z.ZodType<{
33677
33776
  base?: {
33678
33777
  model?: string | undefined;
@@ -33759,7 +33858,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33759
33858
  }, {
33760
33859
  stepCountIs?: number | undefined;
33761
33860
  }>>>;
33762
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33763
33861
  type: z.ZodLiteral<"internal">;
33764
33862
  canUse: z.ZodArray<z.ZodObject<{
33765
33863
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33791,7 +33889,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33791
33889
  updatedAt: z.ZodString;
33792
33890
  description: z.ZodNullable<z.ZodString>;
33793
33891
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33794
- credentialReferenceId: z.ZodNullable<z.ZodString>;
33795
33892
  config: z.ZodType<{
33796
33893
  type: "mcp";
33797
33894
  mcp: ToolMcpConfig;
@@ -33805,6 +33902,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33805
33902
  type: "mcp";
33806
33903
  mcp: ToolMcpConfig;
33807
33904
  }>>;
33905
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
33808
33906
  credentialScope: z.ZodString;
33809
33907
  imageUrl: z.ZodNullable<z.ZodString>;
33810
33908
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -33817,8 +33915,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33817
33915
  createdAt: z.ZodString;
33818
33916
  updatedAt: z.ZodString;
33819
33917
  description: z.ZodNullable<z.ZodString>;
33820
- baseUrl: z.ZodString;
33821
33918
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33919
+ baseUrl: z.ZodString;
33822
33920
  }, z.core.$strip>>>;
33823
33921
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33824
33922
  id: z.ZodString;
@@ -33840,8 +33938,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33840
33938
  createdAt: z.ZodString;
33841
33939
  updatedAt: z.ZodString;
33842
33940
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33843
- executeCode: z.ZodString;
33844
33941
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33942
+ executeCode: z.ZodString;
33845
33943
  }, z.core.$strip>>>;
33846
33944
  contextConfig: z.ZodNullable<z.ZodObject<{
33847
33945
  id: z.ZodString;
@@ -33918,7 +34016,6 @@ declare const McpToolResponse: z.ZodObject<{
33918
34016
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33919
34017
  tenantId: z.ZodString;
33920
34018
  projectId: z.ZodString;
33921
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33922
34019
  config: z.ZodObject<{
33923
34020
  type: z.ZodLiteral<"mcp">;
33924
34021
  mcp: z.ZodObject<{
@@ -33945,6 +34042,7 @@ declare const McpToolResponse: z.ZodObject<{
33945
34042
  prompt: z.ZodOptional<z.ZodString>;
33946
34043
  }, z.core.$strip>;
33947
34044
  }, z.core.$strip>;
34045
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33948
34046
  credentialScope: z.ZodOptional<z.ZodString>;
33949
34047
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33950
34048
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33979,7 +34077,6 @@ declare const McpToolListResponse: z.ZodObject<{
33979
34077
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33980
34078
  tenantId: z.ZodString;
33981
34079
  projectId: z.ZodString;
33982
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33983
34080
  config: z.ZodObject<{
33984
34081
  type: z.ZodLiteral<"mcp">;
33985
34082
  mcp: z.ZodObject<{
@@ -34006,6 +34103,7 @@ declare const McpToolListResponse: z.ZodObject<{
34006
34103
  prompt: z.ZodOptional<z.ZodString>;
34007
34104
  }, z.core.$strip>;
34008
34105
  }, z.core.$strip>;
34106
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34009
34107
  credentialScope: z.ZodOptional<z.ZodString>;
34010
34108
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34011
34109
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34043,7 +34141,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34043
34141
  id: z.ZodString;
34044
34142
  createdAt: z.ZodString;
34045
34143
  updatedAt: z.ZodString;
34046
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34144
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34047
34145
  subAgentId: z.ZodString;
34048
34146
  targetAgentId: z.ZodString;
34049
34147
  }, z.core.$strip>;
@@ -34053,7 +34151,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34053
34151
  id: z.ZodString;
34054
34152
  createdAt: z.ZodString;
34055
34153
  updatedAt: z.ZodString;
34056
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34154
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34057
34155
  subAgentId: z.ZodString;
34058
34156
  targetAgentId: z.ZodString;
34059
34157
  }, z.core.$strip>>;
@@ -34069,7 +34167,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34069
34167
  id: z.ZodString;
34070
34168
  createdAt: z.ZodString;
34071
34169
  updatedAt: z.ZodString;
34072
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34170
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34073
34171
  subAgentId: z.ZodString;
34074
34172
  externalAgentId: z.ZodString;
34075
34173
  }, z.core.$strip>;
@@ -34079,7 +34177,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34079
34177
  id: z.ZodString;
34080
34178
  createdAt: z.ZodString;
34081
34179
  updatedAt: z.ZodString;
34082
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34180
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34083
34181
  subAgentId: z.ZodString;
34084
34182
  externalAgentId: z.ZodString;
34085
34183
  }, z.core.$strip>>;
@@ -34309,7 +34407,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34309
34407
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34310
34408
  ref: z.ZodOptional<z.ZodString>;
34311
34409
  }, z.core.$strip>;
34312
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34410
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34313
34411
  id: drizzle_orm_pg_core297.PgColumn<{
34314
34412
  name: "id";
34315
34413
  tableName: "project_metadata";
@@ -34403,7 +34501,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34403
34501
  }, {}, {
34404
34502
  length: 512;
34405
34503
  }>;
34406
- }, drizzle_zod19.BuildRefine<{
34504
+ }, drizzle_zod15.BuildRefine<{
34407
34505
  id: drizzle_orm_pg_core297.PgColumn<{
34408
34506
  name: "id";
34409
34507
  tableName: "project_metadata";
@@ -34517,7 +34615,7 @@ declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34517
34615
  User: "User";
34518
34616
  Organization: "Organization";
34519
34617
  }>;
34520
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34618
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34521
34619
  createdAt: drizzle_orm_pg_core297.PgColumn<{
34522
34620
  name: "created_at";
34523
34621
  tableName: "work_app_github_installations";
@@ -34683,7 +34781,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34683
34781
  }, {}, {
34684
34782
  length: 256;
34685
34783
  }>;
34686
- }, drizzle_zod19.BuildRefine<{
34784
+ }, drizzle_zod15.BuildRefine<{
34687
34785
  createdAt: drizzle_orm_pg_core297.PgColumn<{
34688
34786
  name: "created_at";
34689
34787
  tableName: "work_app_github_installations";
@@ -34896,7 +34994,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34896
34994
  Organization: "Organization";
34897
34995
  }>;
34898
34996
  }, z.core.$strip>;
34899
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
34997
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
34900
34998
  createdAt: drizzle_orm_pg_core297.PgColumn<{
34901
34999
  name: "created_at";
34902
35000
  tableName: "work_app_github_repositories";
@@ -35041,7 +35139,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
35041
35139
  identity: undefined;
35042
35140
  generated: undefined;
35043
35141
  }, {}, {}>;
35044
- }, drizzle_zod19.BuildRefine<{
35142
+ }, drizzle_zod15.BuildRefine<{
35045
35143
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35046
35144
  name: "created_at";
35047
35145
  tableName: "work_app_github_repositories";
@@ -35202,7 +35300,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<{
35202
35300
  repositoryFullName: z.ZodString;
35203
35301
  private: z.ZodOptional<z.ZodBoolean>;
35204
35302
  }, z.core.$strip>;
35205
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35303
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35206
35304
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35207
35305
  name: "created_at";
35208
35306
  tableName: "work_app_github_project_repository_access";
@@ -35313,7 +35411,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35313
35411
  }, {}, {
35314
35412
  length: 256;
35315
35413
  }>;
35316
- }, drizzle_zod19.BuildRefine<{
35414
+ }, drizzle_zod15.BuildRefine<{
35317
35415
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35318
35416
  name: "created_at";
35319
35417
  tableName: "work_app_github_project_repository_access";
@@ -35425,7 +35523,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35425
35523
  length: 256;
35426
35524
  }>;
35427
35525
  }, undefined>, undefined>;
35428
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35526
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35429
35527
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35430
35528
  name: "created_at";
35431
35529
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35555,7 +35653,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
35555
35653
  }, {}, {
35556
35654
  length: 256;
35557
35655
  }>;
35558
- }, drizzle_zod19.BuildRefine<{
35656
+ }, drizzle_zod15.BuildRefine<{
35559
35657
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35560
35658
  name: "created_at";
35561
35659
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35709,7 +35807,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35709
35807
  selected: "selected";
35710
35808
  all: "all";
35711
35809
  }>;
35712
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
35810
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
35713
35811
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35714
35812
  name: "created_at";
35715
35813
  tableName: "work_app_github_repositories";
@@ -35854,7 +35952,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35854
35952
  identity: undefined;
35855
35953
  generated: undefined;
35856
35954
  }, {}, {}>;
35857
- }, drizzle_zod19.BuildRefine<{
35955
+ }, drizzle_zod15.BuildRefine<{
35858
35956
  createdAt: drizzle_orm_pg_core297.PgColumn<{
35859
35957
  name: "created_at";
35860
35958
  tableName: "work_app_github_repositories";
@@ -36001,7 +36099,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36001
36099
  }, {}, {}>;
36002
36100
  }, undefined>, undefined>>;
36003
36101
  }, z.core.$strip>;
36004
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
36102
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
36005
36103
  createdAt: drizzle_orm_pg_core297.PgColumn<{
36006
36104
  name: "created_at";
36007
36105
  tableName: "work_app_slack_channel_agent_configs";
@@ -36239,7 +36337,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSch
36239
36337
  identity: undefined;
36240
36338
  generated: undefined;
36241
36339
  }, {}, {}>;
36242
- }, drizzle_zod19.BuildRefine<{
36340
+ }, drizzle_zod15.BuildRefine<{
36243
36341
  createdAt: drizzle_orm_pg_core297.PgColumn<{
36244
36342
  name: "created_at";
36245
36343
  tableName: "work_app_slack_channel_agent_configs";
@@ -36478,7 +36576,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSch
36478
36576
  generated: undefined;
36479
36577
  }, {}, {}>;
36480
36578
  }, undefined>, undefined>;
36481
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
36579
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
36482
36580
  createdAt: drizzle_orm_pg_core297.PgColumn<{
36483
36581
  name: "created_at";
36484
36582
  tableName: "work_app_slack_workspaces";
@@ -36773,7 +36871,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
36773
36871
  identity: undefined;
36774
36872
  generated: undefined;
36775
36873
  }, {}, {}>;
36776
- }, drizzle_zod19.BuildRefine<{
36874
+ }, drizzle_zod15.BuildRefine<{
36777
36875
  createdAt: drizzle_orm_pg_core297.PgColumn<{
36778
36876
  name: "created_at";
36779
36877
  tableName: "work_app_slack_workspaces";
@@ -37113,7 +37211,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
37113
37211
  dmEnabled: z.ZodBoolean;
37114
37212
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
37115
37213
  }, z.core.$strip>;
37116
- declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37214
+ declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
37117
37215
  createdAt: drizzle_orm_pg_core297.PgColumn<{
37118
37216
  name: "created_at";
37119
37217
  tableName: "user_profile";
@@ -37218,7 +37316,7 @@ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37218
37316
  }, {}, {
37219
37317
  $type: Record<string, unknown>;
37220
37318
  }>;
37221
- }, drizzle_zod19.BuildRefine<{
37319
+ }, drizzle_zod15.BuildRefine<{
37222
37320
  createdAt: drizzle_orm_pg_core297.PgColumn<{
37223
37321
  name: "created_at";
37224
37322
  tableName: "user_profile";
@@ -37387,11 +37485,11 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37387
37485
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37388
37486
  id: z.ZodString;
37389
37487
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37488
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37390
37489
  tenantId: z.ZodString;
37391
37490
  projectId: z.ZodString;
37392
37491
  agentId: z.ZodString;
37393
37492
  conversationId: z.ZodString;
37394
- requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37395
37493
  status: z.ZodDefault<z.ZodEnum<{
37396
37494
  failed: "failed";
37397
37495
  running: "running";
@@ -37405,11 +37503,11 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37405
37503
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37406
37504
  id: z.ZodOptional<z.ZodString>;
37407
37505
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37506
+ requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37408
37507
  tenantId: z.ZodOptional<z.ZodString>;
37409
37508
  projectId: z.ZodOptional<z.ZodString>;
37410
37509
  agentId: z.ZodOptional<z.ZodString>;
37411
37510
  conversationId: z.ZodOptional<z.ZodString>;
37412
- requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37413
37511
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
37414
37512
  failed: "failed";
37415
37513
  running: "running";
@@ -37421,4 +37519,4 @@ declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37421
37519
  in: {};
37422
37520
  }>;
37423
37521
  //#endregion
37424
- export { ALLOWED_DOMAIN_PATTERN, AddPublicKeyRequestSchema, AddScheduledTriggerUserRequestSchema, AddTriggerUserRequestSchema, AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentDatasetRelationApiInsertSchema, AgentDatasetRelationApiSelectSchema, AgentDatasetRelationInsertSchema, AgentDatasetRelationSelectSchema, AgentDatasetRelationUpdateSchema, AgentEvaluatorRelationApiInsertSchema, AgentEvaluatorRelationApiSelectSchema, AgentEvaluatorRelationInsertSchema, AgentEvaluatorRelationSelectSchema, AgentEvaluatorRelationUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSchemaBase, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, AnonymousSessionResponseSchema, ApiConfigSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, AppApiCreationResponseSchema, AppApiInsertSchema, AppApiResponseSelectSchema, AppApiSelectSchema, AppApiUpdateSchema, AppConfigResponseSchema, AppConfigSchema, AppInsertSchema, AppListResponse, AppResponse, AppSelectSchema, AppUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FeedbackApiInsertSchema, FeedbackApiSelectSchema, FeedbackApiUpdateSchema, FeedbackInsertSchema, FeedbackListResponse, FeedbackResponse, FeedbackSelectSchema, FeedbackUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LastRunSummarySchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MCPCatalogListResponse, MCPToolConfigSchema, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationWithRefQueryParamsSchema, PartSchema, PartSchemaType, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, PublicKeyAlgorithmSchema, PublicKeyConfigSchema, PublicKeyListResponseSchema, PublicKeyResponseSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsertSchema, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatus, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdateSchema, ScheduledTriggerUsersResponseSchema, ScheduledTriggerWithRunInfo, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, SchedulerStateSelectSchema, SetScheduledTriggerUsersRequestSchema, SetTriggerUsersRequestSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertBaseSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerUsersResponseSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WebClientConfigResponseSchema, WebClientConfigSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequest, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponse, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, WorkflowExecutionInsertSchema, WorkflowExecutionSelectSchema, WorkflowExecutionStatusEnum, WorkflowExecutionUpdateSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, maxScheduledTriggerDispatchDelayMs, maxWebhookDispatchDelayMs, runAsUserIdsSchema };
37522
+ export { ALLOWED_DOMAIN_PATTERN, AddPublicKeyRequestSchema, AddScheduledTriggerUserRequestSchema, AddTriggerUserRequestSchema, AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentDatasetRelationApiInsertSchema, AgentDatasetRelationApiSelectSchema, AgentDatasetRelationInsertSchema, AgentDatasetRelationSelectSchema, AgentDatasetRelationUpdateSchema, AgentEvaluatorRelationApiInsertSchema, AgentEvaluatorRelationApiSelectSchema, AgentEvaluatorRelationInsertSchema, AgentEvaluatorRelationSelectSchema, AgentEvaluatorRelationUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSchemaBase, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, AnonymousSessionResponseSchema, ApiConfigSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, AppApiCreationResponseSchema, AppApiInsertSchema, AppApiResponseSelectSchema, AppApiSelectSchema, AppApiUpdateSchema, AppConfigResponseSchema, AppConfigSchema, AppInsertSchema, AppListResponse, AppResponse, AppSelectSchema, AppUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FeedbackApiInsertSchema, FeedbackApiSelectSchema, FeedbackApiUpdateSchema, FeedbackInsertSchema, FeedbackListResponse, FeedbackResponse, FeedbackSelectSchema, FeedbackUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LastRunSummarySchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MCPCatalogListResponse, MCPToolConfigSchema, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationWithRefQueryParamsSchema, PartSchema, PartSchemaType, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, PublicKeyAlgorithmSchema, PublicKeyConfigSchema, PublicKeyListResponseSchema, PublicKeyResponseSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsertSchema, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatus, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdateSchema, ScheduledTriggerUsersResponseSchema, ScheduledTriggerWithRunInfo, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, SchedulerStateSelectSchema, SetScheduledTriggerUsersRequestSchema, SetTriggerUsersRequestSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, SupportCopilotConfigSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertBaseSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerUsersResponseSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WebClientConfigResponseSchema, WebClientConfigSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequest, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponse, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, WorkflowExecutionInsertSchema, WorkflowExecutionSelectSchema, WorkflowExecutionStatusEnum, WorkflowExecutionUpdateSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, maxScheduledTriggerDispatchDelayMs, maxWebhookDispatchDelayMs, runAsUserIdsSchema };