@inkeep/agents-core 0.55.1 → 0.55.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/auth/auth.d.ts +35 -10
  2. package/dist/auth/auth.js +45 -3
  3. package/dist/auth/email-send-status-store.d.ts +10 -0
  4. package/dist/auth/email-send-status-store.js +20 -0
  5. package/dist/auth/permissions.d.ts +9 -9
  6. package/dist/data-access/manage/agents.d.ts +27 -27
  7. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  8. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  9. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  10. package/dist/data-access/manage/functionTools.d.ts +8 -8
  11. package/dist/data-access/manage/skills.d.ts +5 -5
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgents.d.ts +9 -9
  16. package/dist/data-access/manage/tools.d.ts +15 -15
  17. package/dist/data-access/manage/triggers.d.ts +1 -1
  18. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  19. package/dist/data-access/runtime/conversations.d.ts +15 -15
  20. package/dist/data-access/runtime/messages.d.ts +12 -12
  21. package/dist/data-access/runtime/tasks.d.ts +4 -4
  22. package/dist/db/manage/manage-schema.d.ts +2 -2
  23. package/dist/db/runtime/runtime-schema.d.ts +8 -8
  24. package/dist/index.d.ts +2 -1
  25. package/dist/index.js +2 -1
  26. package/dist/validation/dolt-schemas.d.ts +1 -1
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +356 -356
  29. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core217 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod15 from "drizzle-zod";
7
+ import * as drizzle_zod19 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -130,7 +130,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
130
130
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
131
131
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
132
132
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
133
- declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
133
+ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
134
134
  createdAt: drizzle_orm_pg_core217.PgColumn<{
135
135
  name: "created_at";
136
136
  tableName: "sub_agents";
@@ -381,7 +381,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
381
381
  }, {}, {
382
382
  length: 256;
383
383
  }>;
384
- }, drizzle_zod15.BuildRefine<{
384
+ }, drizzle_zod19.BuildRefine<{
385
385
  createdAt: drizzle_orm_pg_core217.PgColumn<{
386
386
  name: "created_at";
387
387
  tableName: "sub_agents";
@@ -838,7 +838,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
838
838
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
839
839
  }, z.core.$strip>>;
840
840
  }, z.core.$strip>>>>;
841
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
842
841
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
843
842
  stepCountIs?: number | undefined;
844
843
  }, {
@@ -848,9 +847,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
847
  }, {
849
848
  stepCountIs?: number | undefined;
850
849
  }>>>>>>;
850
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
851
851
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
852
852
  }, z.core.$strip>;
853
- declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
853
+ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core217.PgColumn<{
855
855
  name: "created_at";
856
856
  tableName: "sub_agent_relations";
@@ -1018,7 +1018,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select",
1018
1018
  }, {}, {
1019
1019
  length: 256;
1020
1020
  }>;
1021
- }, drizzle_zod15.BuildRefine<{
1021
+ }, drizzle_zod19.BuildRefine<{
1022
1022
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1023
1023
  name: "created_at";
1024
1024
  tableName: "sub_agent_relations";
@@ -1289,7 +1289,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1289
1289
  sourceSubAgentId: z.ZodString;
1290
1290
  externalSubAgentId: z.ZodString;
1291
1291
  }>, z.core.$strip>;
1292
- declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1292
+ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1293
1293
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1294
1294
  name: "created_at";
1295
1295
  tableName: "agent";
@@ -1587,7 +1587,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1587
1587
  }, {}, {
1588
1588
  length: 256;
1589
1589
  }>;
1590
- }, drizzle_zod15.BuildRefine<{
1590
+ }, drizzle_zod19.BuildRefine<{
1591
1591
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1592
1592
  name: "created_at";
1593
1593
  tableName: "agent";
@@ -1886,7 +1886,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1886
1886
  length: 256;
1887
1887
  }>;
1888
1888
  }, undefined>, undefined>;
1889
- declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1889
+ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1890
1890
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1891
1891
  name: "created_at";
1892
1892
  tableName: "agent";
@@ -2184,7 +2184,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2184
2184
  }, {}, {
2185
2185
  length: 256;
2186
2186
  }>;
2187
- }, drizzle_zod15.BuildRefine<Pick<{
2187
+ }, drizzle_zod19.BuildRefine<Pick<{
2188
2188
  createdAt: drizzle_orm_pg_core217.PgColumn<{
2189
2189
  name: "created_at";
2190
2190
  tableName: "agent";
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2485
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2753,8 +2753,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  createdAt: z.ZodOptional<z.ZodString>;
2754
2754
  updatedAt: z.ZodOptional<z.ZodString>;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2757
  base?: {
2760
2758
  model?: string | undefined;
@@ -2808,7 +2806,18 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2808
2806
  providerOptions?: Record<string, any> | undefined;
2809
2807
  } | undefined;
2810
2808
  }>>>>;
2809
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2810
+ transferCountIs?: number | undefined;
2811
+ }, {
2812
+ transferCountIs?: number | undefined;
2813
+ }, z.core.$ZodTypeInternals<{
2814
+ transferCountIs?: number | undefined;
2815
+ }, {
2816
+ transferCountIs?: number | undefined;
2817
+ }>>>>;
2811
2818
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2813
2822
  enabled?: boolean | undefined;
2814
2823
  numEvents?: number | undefined;
@@ -2866,15 +2875,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2866
2875
  } | undefined;
2867
2876
  }[] | undefined;
2868
2877
  }>>>>;
2869
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2870
- transferCountIs?: number | undefined;
2871
- }, {
2872
- transferCountIs?: number | undefined;
2873
- }, z.core.$ZodTypeInternals<{
2874
- transferCountIs?: number | undefined;
2875
- }, {
2876
- transferCountIs?: number | undefined;
2877
- }>>>>;
2878
2878
  id: z.ZodString;
2879
2879
  }, z.core.$strip>;
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
@@ -2883,8 +2883,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2883
2883
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
2884
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
2885
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2889
2887
  base?: {
2890
2888
  model?: string | undefined;
@@ -2938,7 +2936,18 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2938
2936
  providerOptions?: Record<string, any> | undefined;
2939
2937
  } | undefined;
2940
2938
  }>>>>>>;
2939
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2940
+ transferCountIs?: number | undefined;
2941
+ }, {
2942
+ transferCountIs?: number | undefined;
2943
+ }, z.core.$ZodTypeInternals<{
2944
+ transferCountIs?: number | undefined;
2945
+ }, {
2946
+ transferCountIs?: number | undefined;
2947
+ }>>>>>>;
2941
2948
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2949
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2942
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2943
2952
  enabled?: boolean | undefined;
2944
2953
  numEvents?: number | undefined;
@@ -2996,15 +3005,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2996
3005
  } | undefined;
2997
3006
  }[] | undefined;
2998
3007
  }>>>>>>;
2999
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3000
- transferCountIs?: number | undefined;
3001
- }, {
3002
- transferCountIs?: number | undefined;
3003
- }, z.core.$ZodTypeInternals<{
3004
- transferCountIs?: number | undefined;
3005
- }, {
3006
- transferCountIs?: number | undefined;
3007
- }>>>>>>;
3008
3008
  }, z.core.$strip>;
3009
3009
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3010
3010
  name: z.ZodString;
@@ -3100,9 +3100,9 @@ declare const SignatureSourceSchema: z.ZodObject<{
3100
3100
  */
3101
3101
  declare const SignedComponentSchema: z.ZodObject<{
3102
3102
  source: z.ZodEnum<{
3103
+ literal: "literal";
3103
3104
  body: "body";
3104
3105
  header: "header";
3105
- literal: "literal";
3106
3106
  }>;
3107
3107
  key: z.ZodOptional<z.ZodString>;
3108
3108
  value: z.ZodOptional<z.ZodString>;
@@ -3220,9 +3220,9 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3220
3220
  }, z.core.$strip>;
3221
3221
  signedComponents: z.ZodArray<z.ZodObject<{
3222
3222
  source: z.ZodEnum<{
3223
+ literal: "literal";
3223
3224
  body: "body";
3224
3225
  header: "header";
3225
- literal: "literal";
3226
3226
  }>;
3227
3227
  key: z.ZodOptional<z.ZodString>;
3228
3228
  value: z.ZodOptional<z.ZodString>;
@@ -3281,10 +3281,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3281
3281
  createdAt: z.ZodString;
3282
3282
  updatedAt: z.ZodString;
3283
3283
  enabled: z.ZodBoolean;
3284
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3285
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3284
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3285
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3286
3286
  messageTemplate: z.ZodNullable<z.ZodString>;
3287
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3287
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3288
3288
  name: z.ZodString;
3289
3289
  description: z.ZodNullable<z.ZodString>;
3290
3290
  agentId: z.ZodString;
@@ -3316,9 +3316,9 @@ declare const TriggerSelectSchema: z.ZodObject<{
3316
3316
  }, z.core.$strip>;
3317
3317
  signedComponents: z.ZodArray<z.ZodObject<{
3318
3318
  source: z.ZodEnum<{
3319
+ literal: "literal";
3319
3320
  body: "body";
3320
3321
  header: "header";
3321
- literal: "literal";
3322
3322
  }>;
3323
3323
  key: z.ZodOptional<z.ZodString>;
3324
3324
  value: z.ZodOptional<z.ZodString>;
@@ -3341,7 +3341,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3341
3341
  out: {};
3342
3342
  in: {};
3343
3343
  }>;
3344
- declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3344
+ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3345
3345
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3346
3346
  name: "created_at";
3347
3347
  tableName: "triggers";
@@ -3507,7 +3507,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3507
3507
  regex?: string | undefined;
3508
3508
  };
3509
3509
  signedComponents: {
3510
- source: "body" | "header" | "literal";
3510
+ source: "literal" | "body" | "header";
3511
3511
  required: boolean;
3512
3512
  key?: string | undefined;
3513
3513
  value?: string | undefined;
@@ -3544,7 +3544,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3544
3544
  regex?: string | undefined;
3545
3545
  };
3546
3546
  signedComponents: {
3547
- source: "body" | "header" | "literal";
3547
+ source: "literal" | "body" | "header";
3548
3548
  required: boolean;
3549
3549
  key?: string | undefined;
3550
3550
  value?: string | undefined;
@@ -3673,7 +3673,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3673
3673
  }, {}, {
3674
3674
  length: 256;
3675
3675
  }>;
3676
- }, drizzle_zod15.BuildRefine<Pick<{
3676
+ }, drizzle_zod19.BuildRefine<Pick<{
3677
3677
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3678
3678
  name: "created_at";
3679
3679
  tableName: "triggers";
@@ -3839,7 +3839,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3839
3839
  regex?: string | undefined;
3840
3840
  };
3841
3841
  signedComponents: {
3842
- source: "body" | "header" | "literal";
3842
+ source: "literal" | "body" | "header";
3843
3843
  required: boolean;
3844
3844
  key?: string | undefined;
3845
3845
  value?: string | undefined;
@@ -3876,7 +3876,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3876
3876
  regex?: string | undefined;
3877
3877
  };
3878
3878
  signedComponents: {
3879
- source: "body" | "header" | "literal";
3879
+ source: "literal" | "body" | "header";
3880
3880
  required: boolean;
3881
3881
  key?: string | undefined;
3882
3882
  value?: string | undefined;
@@ -4005,16 +4005,16 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "inputSchema" | "agentId" | "enabled" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4012
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4013
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4012
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4013
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4014
4014
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4015
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4015
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4016
4016
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4017
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4017
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4018
4018
  name: z.ZodOptional<z.ZodString>;
4019
4019
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4020
4020
  agentId: z.ZodOptional<z.ZodString>;
@@ -4030,10 +4030,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4030
4030
  createdAt: z.ZodString;
4031
4031
  updatedAt: z.ZodString;
4032
4032
  enabled: z.ZodBoolean;
4033
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4034
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4033
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4034
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4035
4035
  messageTemplate: z.ZodNullable<z.ZodString>;
4036
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4036
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4037
4037
  name: z.ZodString;
4038
4038
  description: z.ZodNullable<z.ZodString>;
4039
4039
  agentId: z.ZodString;
@@ -4065,9 +4065,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4065
4065
  }, z.core.$strip>;
4066
4066
  signedComponents: z.ZodArray<z.ZodObject<{
4067
4067
  source: z.ZodEnum<{
4068
+ literal: "literal";
4068
4069
  body: "body";
4069
4070
  header: "header";
4070
- literal: "literal";
4071
4071
  }>;
4072
4072
  key: z.ZodOptional<z.ZodString>;
4073
4073
  value: z.ZodOptional<z.ZodString>;
@@ -4092,24 +4092,24 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4092
4092
  createdAt: z.ZodOptional<z.ZodString>;
4093
4093
  updatedAt: z.ZodOptional<z.ZodString>;
4094
4094
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4095
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4095
4096
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4097
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4097
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4098
4098
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4099
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4099
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4100
4100
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4101
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4101
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4102
4102
  id: z.ZodOptional<z.ZodString>;
4103
4103
  }, z.core.$strip>;
4104
4104
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4105
4105
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4106
4106
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4107
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4108
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4107
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4108
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4109
4109
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4110
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4110
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4111
4111
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4112
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4112
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4113
4113
  name: z.ZodOptional<z.ZodString>;
4114
4114
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4115
4115
  agentId: z.ZodOptional<z.ZodString>;
@@ -4127,11 +4127,11 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4127
4127
  createdAt: z.ZodString;
4128
4128
  updatedAt: z.ZodString;
4129
4129
  description: z.ZodNullable<z.ZodString>;
4130
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4130
4131
  enabled: z.ZodBoolean;
4131
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4132
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4132
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4133
4133
  messageTemplate: z.ZodNullable<z.ZodString>;
4134
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4134
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4135
4135
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4136
4136
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4137
4137
  algorithm: z.ZodEnum<{
@@ -4157,9 +4157,9 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4157
4157
  }, z.core.$strip>;
4158
4158
  signedComponents: z.ZodArray<z.ZodObject<{
4159
4159
  source: z.ZodEnum<{
4160
+ literal: "literal";
4160
4161
  body: "body";
4161
4162
  header: "header";
4162
- literal: "literal";
4163
4163
  }>;
4164
4164
  key: z.ZodOptional<z.ZodString>;
4165
4165
  value: z.ZodOptional<z.ZodString>;
@@ -4180,7 +4180,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4180
4180
  }, z.core.$strip>>>;
4181
4181
  webhookUrl: z.ZodString;
4182
4182
  }, z.core.$strip>;
4183
- declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4183
+ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4184
4184
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4185
4185
  name: "trigger_id";
4186
4186
  tableName: "trigger_invocations";
@@ -4382,7 +4382,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4382
4382
  }, {}, {
4383
4383
  length: 256;
4384
4384
  }>;
4385
- }, drizzle_zod15.BuildRefine<{
4385
+ }, drizzle_zod19.BuildRefine<{
4386
4386
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4387
4387
  name: "trigger_id";
4388
4388
  tableName: "trigger_invocations";
@@ -4585,7 +4585,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4585
4585
  length: 256;
4586
4586
  }>;
4587
4587
  }, undefined>, undefined>;
4588
- declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4588
+ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4589
4589
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4590
4590
  name: "trigger_id";
4591
4591
  tableName: "trigger_invocations";
@@ -4787,7 +4787,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4787
4787
  }, {}, {
4788
4788
  length: 256;
4789
4789
  }>;
4790
- }, drizzle_zod15.BuildRefine<Pick<{
4790
+ }, drizzle_zod19.BuildRefine<Pick<{
4791
4791
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4792
4792
  name: "trigger_id";
4793
4793
  tableName: "trigger_invocations";
@@ -4989,13 +4989,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4996
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4997
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4998
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4997
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4998
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4999
4999
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5000
5000
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5001
5001
  agentId: z.ZodOptional<z.ZodString>;
@@ -5010,8 +5010,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5010
5010
  triggerId: z.ZodString;
5011
5011
  conversationId: z.ZodNullable<z.ZodString>;
5012
5012
  status: z.ZodString;
5013
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5014
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5013
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5014
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5015
5015
  errorMessage: z.ZodNullable<z.ZodString>;
5016
5016
  createdAt: z.ZodString;
5017
5017
  agentId: z.ZodString;
@@ -5024,8 +5024,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5024
5024
  status: z.ZodOptional<z.ZodString>;
5025
5025
  triggerId: z.ZodString;
5026
5026
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5027
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5028
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5027
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5028
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5029
5029
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
5030
  id: z.ZodString;
5031
5031
  }, z.core.$strip>;
@@ -5035,8 +5035,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5035
5035
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5036
5036
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5037
5037
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5038
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5039
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5038
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5039
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5040
5040
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5041
5041
  }, z.core.$strip>;
5042
5042
  declare const CronExpressionSchema: z.ZodString;
@@ -5064,7 +5064,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5064
5064
  out: {};
5065
5065
  in: {};
5066
5066
  }>;
5067
- declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5067
+ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5068
5068
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5069
5069
  name: "created_at";
5070
5070
  tableName: "scheduled_triggers";
@@ -5408,7 +5408,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5408
5408
  }, {}, {
5409
5409
  length: 256;
5410
5410
  }>;
5411
- }, drizzle_zod15.BuildRefine<Pick<{
5411
+ }, drizzle_zod19.BuildRefine<Pick<{
5412
5412
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5413
5413
  name: "created_at";
5414
5414
  tableName: "scheduled_triggers";
@@ -5752,14 +5752,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5752
5752
  }, {}, {
5753
5753
  length: 256;
5754
5754
  }>;
5755
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "messageTemplate" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId">, undefined>, undefined>;
5755
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "enabled" | "messageTemplate" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId">, undefined>, undefined>;
5756
5756
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5757
5757
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5758
5758
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5759
5759
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5760
5760
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5761
5761
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5762
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5762
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5763
5763
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5764
5764
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5765
5765
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5809,7 +5809,7 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5809
5809
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5810
5810
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5811
5811
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5812
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5812
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5813
5813
  maxRetries: z.ZodOptional<z.ZodNumber>;
5814
5814
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5815
5815
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5827,7 +5827,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5827
5827
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
5828
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5829
5829
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5830
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5830
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5831
5831
  maxRetries: z.ZodOptional<z.ZodNumber>;
5832
5832
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5833
5833
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5840,7 +5840,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5840
5840
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5841
5841
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5842
5842
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5843
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5843
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5844
5844
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5845
5845
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5846
5846
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5864,7 +5864,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5864
5864
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5865
5865
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5866
5866
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5867
- declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5867
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5868
5868
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5869
5869
  name: "created_at";
5870
5870
  tableName: "scheduled_workflows";
@@ -6068,7 +6068,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6068
6068
  }, {}, {
6069
6069
  length: 256;
6070
6070
  }>;
6071
- }, drizzle_zod15.BuildRefine<{
6071
+ }, drizzle_zod19.BuildRefine<{
6072
6072
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6073
6073
  name: "created_at";
6074
6074
  tableName: "scheduled_workflows";
@@ -6273,7 +6273,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6273
6273
  length: 256;
6274
6274
  }>;
6275
6275
  }, undefined>, undefined>;
6276
- declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6276
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6277
6277
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6278
6278
  name: "created_at";
6279
6279
  tableName: "scheduled_workflows";
@@ -6477,7 +6477,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6477
6477
  }, {}, {
6478
6478
  length: 256;
6479
6479
  }>;
6480
- }, drizzle_zod15.BuildRefine<Pick<{
6480
+ }, drizzle_zod19.BuildRefine<Pick<{
6481
6481
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6482
6482
  name: "created_at";
6483
6483
  tableName: "scheduled_workflows";
@@ -6681,7 +6681,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6681
6681
  }, {}, {
6682
6682
  length: 256;
6683
6683
  }>;
6684
- }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "agentId" | "projectId" | "tenantId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6684
+ }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "tenantId" | "projectId" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6685
6685
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6686
6686
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6687
6687
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6772,7 +6772,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6772
6772
  out: {};
6773
6773
  in: {};
6774
6774
  }>;
6775
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6775
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6776
6776
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
6777
6777
  name: "scheduled_trigger_id";
6778
6778
  tableName: "scheduled_trigger_invocations";
@@ -7030,7 +7030,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7030
7030
  }, {}, {
7031
7031
  length: 256;
7032
7032
  }>;
7033
- }, drizzle_zod15.BuildRefine<Pick<{
7033
+ }, drizzle_zod19.BuildRefine<Pick<{
7034
7034
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
7035
7035
  name: "scheduled_trigger_id";
7036
7036
  tableName: "scheduled_trigger_invocations";
@@ -7288,14 +7288,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7288
7288
  }, {}, {
7289
7289
  length: 256;
7290
7290
  }>;
7291
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7291
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7292
7292
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7293
7293
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7294
7294
  status: z.ZodOptional<z.ZodString>;
7295
7295
  scheduledFor: z.ZodOptional<z.ZodString>;
7296
7296
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7297
7297
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7298
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7298
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7299
7299
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7300
7300
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7301
7301
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7337,7 +7337,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7337
7337
  scheduledFor: z.ZodString;
7338
7338
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7339
7339
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7340
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7340
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7341
7341
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7342
7342
  attemptNumber: z.ZodOptional<z.ZodInt>;
7343
7343
  idempotencyKey: z.ZodString;
@@ -7351,7 +7351,7 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7351
7351
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7352
7352
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7353
7353
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7354
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7354
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7355
7355
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7356
7356
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7357
7357
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7360,7 +7360,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7360
7360
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7361
7361
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7362
7362
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7363
- declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7363
+ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7364
7364
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7365
7365
  name: "created_at";
7366
7366
  tableName: "tasks";
@@ -7420,7 +7420,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7420
7420
  dataType: "json";
7421
7421
  columnType: "PgJsonb";
7422
7422
  data: {
7423
- type: "tag" | "commit" | "branch";
7423
+ type: "commit" | "tag" | "branch";
7424
7424
  name: string;
7425
7425
  hash: string;
7426
7426
  };
@@ -7436,7 +7436,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7436
7436
  generated: undefined;
7437
7437
  }, {}, {
7438
7438
  $type: {
7439
- type: "tag" | "commit" | "branch";
7439
+ type: "commit" | "tag" | "branch";
7440
7440
  name: string;
7441
7441
  hash: string;
7442
7442
  };
@@ -7574,7 +7574,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7574
7574
  }, {}, {
7575
7575
  length: 256;
7576
7576
  }>;
7577
- }, drizzle_zod15.BuildRefine<{
7577
+ }, drizzle_zod19.BuildRefine<{
7578
7578
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7579
7579
  name: "created_at";
7580
7580
  tableName: "tasks";
@@ -7634,7 +7634,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7634
7634
  dataType: "json";
7635
7635
  columnType: "PgJsonb";
7636
7636
  data: {
7637
- type: "tag" | "commit" | "branch";
7637
+ type: "commit" | "tag" | "branch";
7638
7638
  name: string;
7639
7639
  hash: string;
7640
7640
  };
@@ -7650,7 +7650,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7650
7650
  generated: undefined;
7651
7651
  }, {}, {
7652
7652
  $type: {
7653
- type: "tag" | "commit" | "branch";
7653
+ type: "commit" | "tag" | "branch";
7654
7654
  name: string;
7655
7655
  hash: string;
7656
7656
  };
@@ -7803,8 +7803,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7803
7803
  conversationId: z.ZodOptional<z.ZodString>;
7804
7804
  ref: z.ZodObject<{
7805
7805
  type: z.ZodEnum<{
7806
- tag: "tag";
7807
7806
  commit: "commit";
7807
+ tag: "tag";
7808
7808
  branch: "branch";
7809
7809
  }>;
7810
7810
  name: z.ZodString;
@@ -7828,8 +7828,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7828
7828
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7829
7829
  ref: z.ZodOptional<z.ZodObject<{
7830
7830
  type: z.ZodEnum<{
7831
- tag: "tag";
7832
7831
  commit: "commit";
7832
+ tag: "tag";
7833
7833
  branch: "branch";
7834
7834
  }>;
7835
7835
  name: z.ZodString;
@@ -7844,19 +7844,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7844
7844
  updatedAt: z.ZodString;
7845
7845
  contextId: z.ZodString;
7846
7846
  ref: z.ZodNullable<z.ZodType<{
7847
- type: "tag" | "commit" | "branch";
7847
+ type: "commit" | "tag" | "branch";
7848
7848
  name: string;
7849
7849
  hash: string;
7850
7850
  }, {
7851
- type: "tag" | "commit" | "branch";
7851
+ type: "commit" | "tag" | "branch";
7852
7852
  name: string;
7853
7853
  hash: string;
7854
7854
  }, z.core.$ZodTypeInternals<{
7855
- type: "tag" | "commit" | "branch";
7855
+ type: "commit" | "tag" | "branch";
7856
7856
  name: string;
7857
7857
  hash: string;
7858
7858
  }, {
7859
- type: "tag" | "commit" | "branch";
7859
+ type: "commit" | "tag" | "branch";
7860
7860
  name: string;
7861
7861
  hash: string;
7862
7862
  }>>>;
@@ -7882,8 +7882,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7882
7882
  conversationId: z.ZodOptional<z.ZodString>;
7883
7883
  ref: z.ZodObject<{
7884
7884
  type: z.ZodEnum<{
7885
- tag: "tag";
7886
7885
  commit: "commit";
7886
+ tag: "tag";
7887
7887
  branch: "branch";
7888
7888
  }>;
7889
7889
  name: z.ZodString;
@@ -7896,8 +7896,8 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7896
7896
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7897
7897
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7898
7898
  type: z.ZodEnum<{
7899
- tag: "tag";
7900
7899
  commit: "commit";
7900
+ tag: "tag";
7901
7901
  branch: "branch";
7902
7902
  }>;
7903
7903
  name: z.ZodString;
@@ -7910,7 +7910,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7910
7910
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7911
7911
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7912
7912
  }, z.core.$strip>;
7913
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
7913
+ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7914
7914
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7915
7915
  name: "created_at";
7916
7916
  tableName: "task_relations";
@@ -8059,7 +8059,7 @@ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8059
8059
  }, {}, {
8060
8060
  length: 256;
8061
8061
  }>;
8062
- }, drizzle_zod15.BuildRefine<{
8062
+ }, drizzle_zod19.BuildRefine<{
8063
8063
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8064
8064
  name: "created_at";
8065
8065
  tableName: "task_relations";
@@ -8285,7 +8285,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8285
8285
  description: z.ZodOptional<z.ZodString>;
8286
8286
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8287
8287
  }, z.core.$strip>;
8288
- declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8288
+ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8289
8289
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8290
8290
  name: "created_at";
8291
8291
  tableName: "tools";
@@ -8565,7 +8565,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8565
8565
  }, {}, {
8566
8566
  length: 256;
8567
8567
  }>;
8568
- }, drizzle_zod15.BuildRefine<{
8568
+ }, drizzle_zod19.BuildRefine<{
8569
8569
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8570
8570
  name: "created_at";
8571
8571
  tableName: "tools";
@@ -8891,7 +8891,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8891
8891
  out: {};
8892
8892
  in: {};
8893
8893
  }>;
8894
- declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8894
+ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8895
8895
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8896
8896
  name: "created_at";
8897
8897
  tableName: "conversations";
@@ -8989,7 +8989,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8989
8989
  dataType: "json";
8990
8990
  columnType: "PgJsonb";
8991
8991
  data: {
8992
- type: "tag" | "commit" | "branch";
8992
+ type: "commit" | "tag" | "branch";
8993
8993
  name: string;
8994
8994
  hash: string;
8995
8995
  };
@@ -9005,7 +9005,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9005
9005
  generated: undefined;
9006
9006
  }, {}, {
9007
9007
  $type: {
9008
- type: "tag" | "commit" | "branch";
9008
+ type: "commit" | "tag" | "branch";
9009
9009
  name: string;
9010
9010
  hash: string;
9011
9011
  };
@@ -9120,7 +9120,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9120
9120
  }, {}, {
9121
9121
  length: 256;
9122
9122
  }>;
9123
- }, drizzle_zod15.BuildRefine<{
9123
+ }, drizzle_zod19.BuildRefine<{
9124
9124
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9125
9125
  name: "created_at";
9126
9126
  tableName: "conversations";
@@ -9218,7 +9218,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9218
9218
  dataType: "json";
9219
9219
  columnType: "PgJsonb";
9220
9220
  data: {
9221
- type: "tag" | "commit" | "branch";
9221
+ type: "commit" | "tag" | "branch";
9222
9222
  name: string;
9223
9223
  hash: string;
9224
9224
  };
@@ -9234,7 +9234,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9234
9234
  generated: undefined;
9235
9235
  }, {}, {
9236
9236
  $type: {
9237
- type: "tag" | "commit" | "branch";
9237
+ type: "commit" | "tag" | "branch";
9238
9238
  name: string;
9239
9239
  hash: string;
9240
9240
  };
@@ -9365,8 +9365,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9365
9365
  contextConfigId: z.ZodOptional<z.ZodString>;
9366
9366
  ref: z.ZodObject<{
9367
9367
  type: z.ZodEnum<{
9368
- tag: "tag";
9369
9368
  commit: "commit";
9369
+ tag: "tag";
9370
9370
  branch: "branch";
9371
9371
  }>;
9372
9372
  name: z.ZodString;
@@ -9391,8 +9391,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9391
9391
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9392
9392
  ref: z.ZodOptional<z.ZodObject<{
9393
9393
  type: z.ZodEnum<{
9394
- tag: "tag";
9395
9394
  commit: "commit";
9395
+ tag: "tag";
9396
9396
  branch: "branch";
9397
9397
  }>;
9398
9398
  name: z.ZodString;
@@ -9409,19 +9409,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9409
9409
  agentId: z.ZodNullable<z.ZodString>;
9410
9410
  activeSubAgentId: z.ZodString;
9411
9411
  ref: z.ZodNullable<z.ZodType<{
9412
- type: "tag" | "commit" | "branch";
9412
+ type: "commit" | "tag" | "branch";
9413
9413
  name: string;
9414
9414
  hash: string;
9415
9415
  }, {
9416
- type: "tag" | "commit" | "branch";
9416
+ type: "commit" | "tag" | "branch";
9417
9417
  name: string;
9418
9418
  hash: string;
9419
9419
  }, z.core.$ZodTypeInternals<{
9420
- type: "tag" | "commit" | "branch";
9420
+ type: "commit" | "tag" | "branch";
9421
9421
  name: string;
9422
9422
  hash: string;
9423
9423
  }, {
9424
- type: "tag" | "commit" | "branch";
9424
+ type: "commit" | "tag" | "branch";
9425
9425
  name: string;
9426
9426
  hash: string;
9427
9427
  }>>>;
@@ -9447,8 +9447,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9447
9447
  contextConfigId: z.ZodOptional<z.ZodString>;
9448
9448
  ref: z.ZodObject<{
9449
9449
  type: z.ZodEnum<{
9450
- tag: "tag";
9451
9450
  commit: "commit";
9451
+ tag: "tag";
9452
9452
  branch: "branch";
9453
9453
  }>;
9454
9454
  name: z.ZodString;
@@ -9461,8 +9461,8 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9461
9461
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9462
9462
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9463
9463
  type: z.ZodEnum<{
9464
- tag: "tag";
9465
9464
  commit: "commit";
9465
+ tag: "tag";
9466
9466
  branch: "branch";
9467
9467
  }>;
9468
9468
  name: z.ZodString;
@@ -9470,13 +9470,13 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9470
9470
  }, z.core.$strip>>>;
9471
9471
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9472
9472
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9473
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9473
9474
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9474
9475
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9475
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9476
9476
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9477
9477
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9478
9478
  }, z.core.$strip>;
9479
- declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9479
+ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9480
9480
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9481
9481
  name: "created_at";
9482
9482
  tableName: "messages";
@@ -9872,7 +9872,7 @@ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9872
9872
  }, {}, {
9873
9873
  length: 256;
9874
9874
  }>;
9875
- }, drizzle_zod15.BuildRefine<{
9875
+ }, drizzle_zod19.BuildRefine<{
9876
9876
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9877
9877
  name: "created_at";
9878
9878
  tableName: "messages";
@@ -10374,21 +10374,21 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10374
10374
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10375
10375
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10376
10376
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10377
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10378
10377
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10379
10378
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10380
10379
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10381
10380
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10381
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10382
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10383
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10382
10384
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10383
10385
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10384
10386
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10385
10387
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10386
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10387
10388
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10388
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10389
10389
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10390
10390
  }, z.core.$strip>;
10391
- declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10391
+ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10392
10392
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10393
10393
  name: "created_at";
10394
10394
  tableName: "context_cache";
@@ -10486,7 +10486,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10486
10486
  dataType: "json";
10487
10487
  columnType: "PgJsonb";
10488
10488
  data: {
10489
- type: "tag" | "commit" | "branch";
10489
+ type: "commit" | "tag" | "branch";
10490
10490
  name: string;
10491
10491
  hash: string;
10492
10492
  };
@@ -10502,7 +10502,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10502
10502
  generated: undefined;
10503
10503
  }, {}, {
10504
10504
  $type: {
10505
- type: "tag" | "commit" | "branch";
10505
+ type: "commit" | "tag" | "branch";
10506
10506
  name: string;
10507
10507
  hash: string;
10508
10508
  };
@@ -10638,7 +10638,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10638
10638
  }, {}, {
10639
10639
  length: 256;
10640
10640
  }>;
10641
- }, drizzle_zod15.BuildRefine<{
10641
+ }, drizzle_zod19.BuildRefine<{
10642
10642
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10643
10643
  name: "created_at";
10644
10644
  tableName: "context_cache";
@@ -10736,7 +10736,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10736
10736
  dataType: "json";
10737
10737
  columnType: "PgJsonb";
10738
10738
  data: {
10739
- type: "tag" | "commit" | "branch";
10739
+ type: "commit" | "tag" | "branch";
10740
10740
  name: string;
10741
10741
  hash: string;
10742
10742
  };
@@ -10752,7 +10752,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10752
10752
  generated: undefined;
10753
10753
  }, {}, {
10754
10754
  $type: {
10755
- type: "tag" | "commit" | "branch";
10755
+ type: "commit" | "tag" | "branch";
10756
10756
  name: string;
10757
10757
  hash: string;
10758
10758
  };
@@ -10895,7 +10895,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10895
10895
  conversationId: z.ZodString;
10896
10896
  contextConfigId: z.ZodString;
10897
10897
  contextVariableKey: z.ZodString;
10898
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10898
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10899
10899
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10900
10900
  fetchedAt: z.ZodOptional<z.ZodString>;
10901
10901
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10904,8 +10904,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10904
10904
  id: z.ZodString;
10905
10905
  ref: z.ZodObject<{
10906
10906
  type: z.ZodEnum<{
10907
- tag: "tag";
10908
10907
  commit: "commit";
10908
+ tag: "tag";
10909
10909
  branch: "branch";
10910
10910
  }>;
10911
10911
  name: z.ZodString;
@@ -10921,7 +10921,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10921
10921
  conversationId: z.ZodOptional<z.ZodString>;
10922
10922
  contextConfigId: z.ZodOptional<z.ZodString>;
10923
10923
  contextVariableKey: z.ZodOptional<z.ZodString>;
10924
- value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
10924
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
10925
10925
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10926
10926
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -10930,8 +10930,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10930
10930
  id: z.ZodOptional<z.ZodString>;
10931
10931
  ref: z.ZodOptional<z.ZodObject<{
10932
10932
  type: z.ZodEnum<{
10933
- tag: "tag";
10934
10933
  commit: "commit";
10934
+ tag: "tag";
10935
10935
  branch: "branch";
10936
10936
  }>;
10937
10937
  name: z.ZodString;
@@ -10948,23 +10948,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10948
10948
  contextConfigId: z.ZodString;
10949
10949
  contextVariableKey: z.ZodString;
10950
10950
  ref: z.ZodNullable<z.ZodType<{
10951
- type: "tag" | "commit" | "branch";
10951
+ type: "commit" | "tag" | "branch";
10952
10952
  name: string;
10953
10953
  hash: string;
10954
10954
  }, {
10955
- type: "tag" | "commit" | "branch";
10955
+ type: "commit" | "tag" | "branch";
10956
10956
  name: string;
10957
10957
  hash: string;
10958
10958
  }, z.core.$ZodTypeInternals<{
10959
- type: "tag" | "commit" | "branch";
10959
+ type: "commit" | "tag" | "branch";
10960
10960
  name: string;
10961
10961
  hash: string;
10962
10962
  }, {
10963
- type: "tag" | "commit" | "branch";
10963
+ type: "commit" | "tag" | "branch";
10964
10964
  name: string;
10965
10965
  hash: string;
10966
10966
  }>>>;
10967
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10967
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10968
10968
  requestHash: z.ZodNullable<z.ZodString>;
10969
10969
  fetchedAt: z.ZodString;
10970
10970
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -10978,7 +10978,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10978
10978
  conversationId: z.ZodString;
10979
10979
  contextConfigId: z.ZodString;
10980
10980
  contextVariableKey: z.ZodString;
10981
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10981
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10982
10982
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10983
10983
  fetchedAt: z.ZodOptional<z.ZodString>;
10984
10984
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10987,8 +10987,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10987
10987
  id: z.ZodString;
10988
10988
  ref: z.ZodObject<{
10989
10989
  type: z.ZodEnum<{
10990
- tag: "tag";
10991
10990
  commit: "commit";
10991
+ tag: "tag";
10992
10992
  branch: "branch";
10993
10993
  }>;
10994
10994
  name: z.ZodString;
@@ -11001,14 +11001,14 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11001
11001
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11002
11002
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11003
11003
  type: z.ZodEnum<{
11004
- tag: "tag";
11005
11004
  commit: "commit";
11005
+ tag: "tag";
11006
11006
  branch: "branch";
11007
11007
  }>;
11008
11008
  name: z.ZodString;
11009
11009
  hash: z.ZodString;
11010
11010
  }, z.core.$strip>>>;
11011
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
11011
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11012
11012
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11013
11013
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11014
11014
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -11016,7 +11016,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11016
11016
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11017
11017
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11018
11018
  }, z.core.$strip>;
11019
- declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11019
+ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11020
11020
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11021
11021
  name: "created_at";
11022
11022
  tableName: "dataset_run";
@@ -11159,7 +11159,7 @@ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11159
11159
  }, {}, {
11160
11160
  length: 256;
11161
11161
  }>;
11162
- }, drizzle_zod15.BuildRefine<{
11162
+ }, drizzle_zod19.BuildRefine<{
11163
11163
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11164
11164
  name: "created_at";
11165
11165
  tableName: "dataset_run";
@@ -11353,7 +11353,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11353
11353
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11354
11354
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11355
11355
  }, z.core.$strip>;
11356
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11356
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11357
11357
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11358
11358
  name: "created_at";
11359
11359
  tableName: "dataset_run_conversation_relations";
@@ -11496,7 +11496,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSch
11496
11496
  }, {}, {
11497
11497
  length: 256;
11498
11498
  }>;
11499
- }, drizzle_zod15.BuildRefine<{
11499
+ }, drizzle_zod19.BuildRefine<{
11500
11500
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11501
11501
  name: "created_at";
11502
11502
  tableName: "dataset_run_conversation_relations";
@@ -11690,7 +11690,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11690
11690
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11691
11691
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11692
11692
  }, z.core.$strip>;
11693
- declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11693
+ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11694
11694
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11695
11695
  name: "created_at";
11696
11696
  tableName: "evaluation_result";
@@ -11852,7 +11852,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select",
11852
11852
  }, {}, {
11853
11853
  length: 256;
11854
11854
  }>;
11855
- }, drizzle_zod15.BuildRefine<{
11855
+ }, drizzle_zod19.BuildRefine<{
11856
11856
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11857
11857
  name: "created_at";
11858
11858
  tableName: "evaluation_result";
@@ -12055,22 +12055,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
12055
12055
  id: z.ZodString;
12056
12056
  }>, z.core.$strip>;
12057
12057
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12058
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12059
12058
  createdAt: z.ZodOptional<z.ZodString>;
12060
12059
  updatedAt: z.ZodOptional<z.ZodString>;
12060
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12061
12061
  conversationId: z.ZodString;
12062
12062
  evaluatorId: z.ZodString;
12063
12063
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12064
12064
  }, z.core.$strip>;
12065
12065
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12066
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12067
12066
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12068
12067
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12068
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12069
12069
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12070
12070
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12071
12071
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12072
12072
  }, z.core.$strip>;
12073
- declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12073
+ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12074
12074
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12075
12075
  name: "created_at";
12076
12076
  tableName: "evaluation_run";
@@ -12196,7 +12196,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12196
12196
  }, {}, {
12197
12197
  length: 256;
12198
12198
  }>;
12199
- }, drizzle_zod15.BuildRefine<{
12199
+ }, drizzle_zod19.BuildRefine<{
12200
12200
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12201
12201
  name: "created_at";
12202
12202
  tableName: "evaluation_run";
@@ -12368,7 +12368,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12368
12368
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12369
12369
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12370
12370
  }, z.core.$strip>;
12371
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12371
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12372
12372
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12373
12373
  name: "created_at";
12374
12374
  tableName: "evaluation_run_config";
@@ -12513,7 +12513,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12513
12513
  }, {}, {
12514
12514
  length: 256;
12515
12515
  }>;
12516
- }, drizzle_zod15.BuildRefine<{
12516
+ }, drizzle_zod19.BuildRefine<{
12517
12517
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12518
12518
  name: "created_at";
12519
12519
  tableName: "evaluation_run_config";
@@ -12720,7 +12720,7 @@ declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12720
12720
  isActive: z.ZodBoolean;
12721
12721
  suiteConfigIds: z.ZodArray<z.ZodString>;
12722
12722
  }, z.core.$strip>;
12723
- declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12723
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12724
12724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12725
12725
  name: "created_at";
12726
12726
  tableName: "evaluation_job_config";
@@ -12845,7 +12845,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12845
12845
  }, {}, {
12846
12846
  length: 256;
12847
12847
  }>;
12848
- }, drizzle_zod15.BuildRefine<{
12848
+ }, drizzle_zod19.BuildRefine<{
12849
12849
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12850
12850
  name: "created_at";
12851
12851
  tableName: "evaluation_job_config";
@@ -13152,7 +13152,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13152
13152
  } | undefined;
13153
13153
  }>>>>>>>;
13154
13154
  }, z.core.$strip>;
13155
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13155
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13156
13156
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13157
13157
  name: "created_at";
13158
13158
  tableName: "evaluation_suite_config";
@@ -13280,7 +13280,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
13280
13280
  }, {}, {
13281
13281
  length: 256;
13282
13282
  }>;
13283
- }, drizzle_zod15.BuildRefine<{
13283
+ }, drizzle_zod19.BuildRefine<{
13284
13284
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13285
13285
  name: "created_at";
13286
13286
  tableName: "evaluation_suite_config";
@@ -13456,7 +13456,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13456
13456
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13457
13457
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13458
13458
  }, z.core.$strip>;
13459
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13459
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13460
13460
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13461
13461
  name: "created_at";
13462
13462
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13586,7 +13586,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13586
13586
  }, {}, {
13587
13587
  length: 256;
13588
13588
  }>;
13589
- }, drizzle_zod15.BuildRefine<{
13589
+ }, drizzle_zod19.BuildRefine<{
13590
13590
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13591
13591
  name: "created_at";
13592
13592
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13762,7 +13762,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13762
13762
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13763
13763
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13764
13764
  }, z.core.$strip>;
13765
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13765
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13766
13766
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13767
13767
  name: "created_at";
13768
13768
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13892,7 +13892,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.Bu
13892
13892
  }, {}, {
13893
13893
  length: 256;
13894
13894
  }>;
13895
- }, drizzle_zod15.BuildRefine<{
13895
+ }, drizzle_zod19.BuildRefine<{
13896
13896
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13897
13897
  name: "created_at";
13898
13898
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14068,7 +14068,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14068
14068
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14069
14069
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14070
14070
  }, z.core.$strip>;
14071
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
14071
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14072
14072
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14073
14073
  name: "created_at";
14074
14074
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14198,7 +14198,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.
14198
14198
  }, {}, {
14199
14199
  length: 256;
14200
14200
  }>;
14201
- }, drizzle_zod15.BuildRefine<{
14201
+ }, drizzle_zod19.BuildRefine<{
14202
14202
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14203
14203
  name: "created_at";
14204
14204
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14374,7 +14374,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14374
14374
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14375
14375
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14376
14376
  }, z.core.$strip>;
14377
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14377
+ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14378
14378
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14379
14379
  name: "created_at";
14380
14380
  tableName: "evaluator";
@@ -14582,7 +14582,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14582
14582
  }, {}, {
14583
14583
  length: 256;
14584
14584
  }>;
14585
- }, drizzle_zod15.BuildRefine<{
14585
+ }, drizzle_zod19.BuildRefine<{
14586
14586
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14587
14587
  name: "created_at";
14588
14588
  tableName: "evaluator";
@@ -14916,7 +14916,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14916
14916
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14917
14917
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14918
14918
  }, z.core.$strip>;
14919
- declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
14919
+ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
14920
14920
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14921
14921
  name: "created_at";
14922
14922
  tableName: "dataset";
@@ -15027,7 +15027,7 @@ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
15027
15027
  }, {}, {
15028
15028
  length: 256;
15029
15029
  }>;
15030
- }, drizzle_zod15.BuildRefine<{
15030
+ }, drizzle_zod19.BuildRefine<{
15031
15031
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15032
15032
  name: "created_at";
15033
15033
  tableName: "dataset";
@@ -15179,7 +15179,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15179
15179
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15180
15180
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15181
15181
  }, z.core.$strip>;
15182
- declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15182
+ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15183
15183
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15184
15184
  name: "created_at";
15185
15185
  tableName: "dataset_item";
@@ -15367,7 +15367,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15367
15367
  }, {}, {
15368
15368
  length: 256;
15369
15369
  }>;
15370
- }, drizzle_zod15.BuildRefine<{
15370
+ }, drizzle_zod19.BuildRefine<{
15371
15371
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15372
15372
  name: "created_at";
15373
15373
  tableName: "dataset_item";
@@ -15716,9 +15716,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15716
15716
  id: z.ZodString;
15717
15717
  }>, z.core.$strip>;
15718
15718
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15719
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15720
15719
  createdAt: z.ZodOptional<z.ZodString>;
15721
15720
  updatedAt: z.ZodOptional<z.ZodString>;
15721
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15722
15722
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15723
15723
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15724
15724
  prompt: string;
@@ -15763,9 +15763,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15763
15763
  }>>>>;
15764
15764
  }, z.core.$strip>;
15765
15765
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15766
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15767
15766
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15768
15767
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15768
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15769
15769
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15770
15770
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15771
15771
  prompt: string;
@@ -15810,8 +15810,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15810
15810
  }>>>>>>;
15811
15811
  }, z.core.$strip>;
15812
15812
  declare const DatasetRunItemSchema: z.ZodObject<{
15813
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15814
15813
  id: z.ZodOptional<z.ZodString>;
15814
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15815
15815
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15816
15816
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15817
15817
  prompt: string;
@@ -15859,8 +15859,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15859
15859
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15860
15860
  datasetRunId: z.ZodString;
15861
15861
  items: z.ZodArray<z.ZodObject<{
15862
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15863
15862
  id: z.ZodOptional<z.ZodString>;
15863
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15864
15864
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15865
15865
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15866
15866
  prompt: string;
@@ -15938,7 +15938,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
15938
15938
  }, z.core.$strip>>;
15939
15939
  }, z.core.$strip>>>;
15940
15940
  }, z.core.$strip>;
15941
- declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
15941
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
15942
15942
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15943
15943
  name: "created_at";
15944
15944
  tableName: "dataset_run_config";
@@ -16085,7 +16085,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select",
16085
16085
  }, {}, {
16086
16086
  length: 256;
16087
16087
  }>;
16088
- }, drizzle_zod15.BuildRefine<{
16088
+ }, drizzle_zod19.BuildRefine<{
16089
16089
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16090
16090
  name: "created_at";
16091
16091
  tableName: "dataset_run_config";
@@ -16283,7 +16283,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16283
16283
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16284
16284
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16285
16285
  }, z.core.$strip>;
16286
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16286
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16287
16287
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16288
16288
  name: "created_at";
16289
16289
  tableName: "dataset_run_config_agent_relations";
@@ -16413,7 +16413,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSche
16413
16413
  }, {}, {
16414
16414
  length: 256;
16415
16415
  }>;
16416
- }, drizzle_zod15.BuildRefine<{
16416
+ }, drizzle_zod19.BuildRefine<{
16417
16417
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16418
16418
  name: "created_at";
16419
16419
  tableName: "dataset_run_config_agent_relations";
@@ -16591,8 +16591,8 @@ declare const SkillInsertSchema: z.ZodObject<{
16591
16591
  name: z.ZodString;
16592
16592
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16593
16593
  description: z.ZodString;
16594
- projectId: z.ZodString;
16595
16594
  tenantId: z.ZodString;
16595
+ projectId: z.ZodString;
16596
16596
  content: z.ZodString;
16597
16597
  }, {
16598
16598
  out: {};
@@ -16601,8 +16601,8 @@ declare const SkillInsertSchema: z.ZodObject<{
16601
16601
  declare const SkillUpdateSchema: z.ZodObject<{
16602
16602
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16603
16603
  description: z.ZodOptional<z.ZodString>;
16604
- projectId: z.ZodOptional<z.ZodString>;
16605
16604
  tenantId: z.ZodOptional<z.ZodString>;
16605
+ projectId: z.ZodOptional<z.ZodString>;
16606
16606
  content: z.ZodOptional<z.ZodString>;
16607
16607
  }, {
16608
16608
  out: {};
@@ -16623,8 +16623,8 @@ declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16623
16623
  name: z.ZodString;
16624
16624
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16625
16625
  description: z.ZodString;
16626
- projectId: z.ZodString;
16627
16626
  tenantId: z.ZodString;
16627
+ projectId: z.ZodString;
16628
16628
  content: z.ZodString;
16629
16629
  }>, z.core.$strip>;
16630
16630
  declare const SkillApiUpdateSchema: z.ZodObject<{
@@ -16632,7 +16632,7 @@ declare const SkillApiUpdateSchema: z.ZodObject<{
16632
16632
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16633
16633
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16634
16634
  }, z.core.$strip>;
16635
- declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16635
+ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16636
16636
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16637
16637
  name: "created_at";
16638
16638
  tableName: "data_components";
@@ -16818,7 +16818,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16818
16818
  }, {}, {
16819
16819
  length: 256;
16820
16820
  }>;
16821
- }, drizzle_zod15.BuildRefine<{
16821
+ }, drizzle_zod19.BuildRefine<{
16822
16822
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16823
16823
  name: "created_at";
16824
16824
  tableName: "data_components";
@@ -17218,7 +17218,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17218
17218
  description: z.ZodOptional<z.ZodString>;
17219
17219
  }, z.core.$loose>;
17220
17220
  }, z.core.$strip>;
17221
- declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17221
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17222
17222
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17223
17223
  name: "data_component_id";
17224
17224
  tableName: "sub_agent_data_components";
@@ -17350,7 +17350,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17350
17350
  }, {}, {
17351
17351
  length: 256;
17352
17352
  }>;
17353
- }, drizzle_zod15.BuildRefine<{
17353
+ }, drizzle_zod19.BuildRefine<{
17354
17354
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17355
17355
  name: "data_component_id";
17356
17356
  tableName: "sub_agent_data_components";
@@ -17483,7 +17483,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17483
17483
  length: 256;
17484
17484
  }>;
17485
17485
  }, undefined>, undefined>;
17486
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17486
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17487
17487
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17488
17488
  name: "data_component_id";
17489
17489
  tableName: "sub_agent_data_components";
@@ -17615,7 +17615,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17615
17615
  }, {}, {
17616
17616
  length: 256;
17617
17617
  }>;
17618
- }, drizzle_zod15.BuildRefine<Pick<{
17618
+ }, drizzle_zod19.BuildRefine<Pick<{
17619
17619
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17620
17620
  name: "data_component_id";
17621
17621
  tableName: "sub_agent_data_components";
@@ -17747,7 +17747,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17747
17747
  }, {}, {
17748
17748
  length: 256;
17749
17749
  }>;
17750
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17750
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17751
17751
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17752
17752
  dataComponentId: z.ZodOptional<z.ZodString>;
17753
17753
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17783,7 +17783,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17783
17783
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17784
17784
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17785
17785
  }, z.core.$strip>;
17786
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17786
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17787
17787
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17788
17788
  name: "created_at";
17789
17789
  tableName: "artifact_components";
@@ -17969,7 +17969,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
17969
17969
  }, {}, {
17970
17970
  length: 256;
17971
17971
  }>;
17972
- }, drizzle_zod15.BuildRefine<{
17972
+ }, drizzle_zod19.BuildRefine<{
17973
17973
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17974
17974
  name: "created_at";
17975
17975
  tableName: "artifact_components";
@@ -18392,7 +18392,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18392
18392
  mockData: Record<string, unknown>;
18393
18393
  }>>>>>>;
18394
18394
  }, z.core.$strip>;
18395
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18395
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18396
18396
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18397
18397
  name: "artifact_component_id";
18398
18398
  tableName: "sub_agent_artifact_components";
@@ -18524,7 +18524,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"
18524
18524
  }, {}, {
18525
18525
  length: 256;
18526
18526
  }>;
18527
- }, drizzle_zod15.BuildRefine<{
18527
+ }, drizzle_zod19.BuildRefine<{
18528
18528
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18529
18529
  name: "artifact_component_id";
18530
18530
  tableName: "sub_agent_artifact_components";
@@ -18925,7 +18925,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18925
18925
  providerOptions?: Record<string, any> | undefined;
18926
18926
  } | undefined;
18927
18927
  }>>>;
18928
- prompt: z.ZodNullable<z.ZodString>;
18929
18928
  stopWhen: z.ZodNullable<z.ZodType<{
18930
18929
  stepCountIs?: number | undefined;
18931
18930
  }, {
@@ -18935,6 +18934,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18935
18934
  }, {
18936
18935
  stepCountIs?: number | undefined;
18937
18936
  }>>>;
18937
+ prompt: z.ZodNullable<z.ZodString>;
18938
18938
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18939
18939
  type: z.ZodLiteral<"internal">;
18940
18940
  }, z.core.$strip>, z.ZodObject<{
@@ -18947,7 +18947,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18947
18947
  baseUrl: z.ZodString;
18948
18948
  type: z.ZodLiteral<"external">;
18949
18949
  }, z.core.$strip>], "type">;
18950
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
18950
+ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
18951
18951
  createdAt: drizzle_orm_pg_core217.PgColumn<{
18952
18952
  name: "created_at";
18953
18953
  tableName: "api_keys";
@@ -19168,7 +19168,7 @@ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19168
19168
  }, {}, {
19169
19169
  length: 256;
19170
19170
  }>;
19171
- }, drizzle_zod15.BuildRefine<{
19171
+ }, drizzle_zod19.BuildRefine<{
19172
19172
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19173
19173
  name: "created_at";
19174
19174
  tableName: "api_keys";
@@ -19470,7 +19470,7 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19470
19470
  out: {};
19471
19471
  in: {};
19472
19472
  }>;
19473
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19473
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19474
19474
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19475
19475
  name: "created_at";
19476
19476
  tableName: "credential_references";
@@ -19695,7 +19695,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
19695
19695
  }, {}, {
19696
19696
  length: 256;
19697
19697
  }>;
19698
- }, drizzle_zod15.BuildRefine<{
19698
+ }, drizzle_zod19.BuildRefine<{
19699
19699
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19700
19700
  name: "created_at";
19701
19701
  tableName: "credential_references";
@@ -19970,7 +19970,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19970
19970
  readonly keychain: "keychain";
19971
19971
  readonly nango: "nango";
19972
19972
  }>;
19973
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
19973
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
19974
19974
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19975
19975
  name: "created_at";
19976
19976
  tableName: "tools";
@@ -20250,7 +20250,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20250
20250
  }, {}, {
20251
20251
  length: 256;
20252
20252
  }>;
20253
- }, drizzle_zod15.BuildRefine<{
20253
+ }, drizzle_zod19.BuildRefine<{
20254
20254
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20255
20255
  name: "created_at";
20256
20256
  tableName: "tools";
@@ -20912,7 +20912,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20912
20912
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20913
20913
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20914
20914
  }, z.core.$strip>;
20915
- declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20915
+ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20916
20916
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20917
20917
  name: "created_at";
20918
20918
  tableName: "function_tools";
@@ -21078,7 +21078,7 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
21078
21078
  }, {}, {
21079
21079
  length: 256;
21080
21080
  }>;
21081
- }, drizzle_zod15.BuildRefine<{
21081
+ }, drizzle_zod19.BuildRefine<{
21082
21082
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21083
21083
  name: "created_at";
21084
21084
  tableName: "function_tools";
@@ -21303,7 +21303,7 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21303
21303
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21304
21304
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21305
21305
  }, z.core.$strip>;
21306
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21306
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21307
21307
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21308
21308
  name: "created_at";
21309
21309
  tableName: "sub_agent_function_tool_relations";
@@ -21475,7 +21475,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21475
21475
  }, {}, {
21476
21476
  length: 256;
21477
21477
  }>;
21478
- }, drizzle_zod15.BuildRefine<{
21478
+ }, drizzle_zod19.BuildRefine<{
21479
21479
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21480
21480
  name: "created_at";
21481
21481
  tableName: "sub_agent_function_tool_relations";
@@ -21651,7 +21651,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21651
21651
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21652
21652
  createdAt: z.ZodOptional<z.ZodString>;
21653
21653
  updatedAt: z.ZodOptional<z.ZodString>;
21654
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21654
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21655
21655
  agentId: z.ZodString;
21656
21656
  projectId: z.ZodString;
21657
21657
  tenantId: z.ZodString;
@@ -21666,7 +21666,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21666
21666
  createdAt: z.ZodString;
21667
21667
  updatedAt: z.ZodString;
21668
21668
  functionToolId: z.ZodString;
21669
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21669
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21670
21670
  subAgentId: z.ZodString;
21671
21671
  agentId: z.ZodString;
21672
21672
  projectId: z.ZodString;
@@ -21676,12 +21676,12 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21676
21676
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21677
21677
  subAgentId: z.ZodString;
21678
21678
  functionToolId: z.ZodString;
21679
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21679
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21680
21680
  }, {
21681
21681
  out: {};
21682
21682
  in: {};
21683
21683
  }>;
21684
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21684
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21685
21685
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21686
21686
  name: "created_at";
21687
21687
  tableName: "functions";
@@ -21828,7 +21828,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21828
21828
  }, {}, {
21829
21829
  length: 256;
21830
21830
  }>;
21831
- }, drizzle_zod15.BuildRefine<{
21831
+ }, drizzle_zod19.BuildRefine<{
21832
21832
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21833
21833
  name: "created_at";
21834
21834
  tableName: "functions";
@@ -22025,8 +22025,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
22025
22025
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22026
22026
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22027
22027
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
22028
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22029
22028
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22029
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22030
22030
  }, z.core.$strip>;
22031
22031
  declare const FetchConfigSchema: z.ZodObject<{
22032
22032
  url: z.ZodString;
@@ -22099,22 +22099,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22099
22099
  }>;
22100
22100
  declare const ContextConfigInsertSchema: z.ZodObject<{
22101
22101
  id: z.ZodOptional<z.ZodString>;
22102
+ tenantId: z.ZodString;
22103
+ projectId: z.ZodString;
22104
+ agentId: z.ZodString;
22102
22105
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22103
22106
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22104
- agentId: z.ZodString;
22105
- projectId: z.ZodString;
22106
- tenantId: z.ZodString;
22107
22107
  }, {
22108
22108
  out: {};
22109
22109
  in: {};
22110
22110
  }>;
22111
22111
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22112
22112
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22113
+ tenantId: z.ZodOptional<z.ZodString>;
22114
+ projectId: z.ZodOptional<z.ZodString>;
22115
+ agentId: z.ZodOptional<z.ZodString>;
22113
22116
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22114
22117
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22115
- agentId: z.ZodOptional<z.ZodString>;
22116
- projectId: z.ZodOptional<z.ZodString>;
22117
- tenantId: z.ZodOptional<z.ZodString>;
22118
22118
  }, {
22119
22119
  out: {};
22120
22120
  in: {};
@@ -22136,7 +22136,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22136
22136
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22137
22137
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22138
22138
  }, z.core.$strip>;
22139
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22139
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22140
22140
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22141
22141
  name: "created_at";
22142
22142
  tableName: "sub_agent_tool_relations";
@@ -22346,7 +22346,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
22346
22346
  }, {}, {
22347
22347
  length: 256;
22348
22348
  }>;
22349
- }, drizzle_zod15.BuildRefine<{
22349
+ }, drizzle_zod19.BuildRefine<{
22350
22350
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22351
22351
  name: "created_at";
22352
22352
  tableName: "sub_agent_tool_relations";
@@ -22597,9 +22597,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22597
22597
  createdAt: z.ZodString;
22598
22598
  updatedAt: z.ZodString;
22599
22599
  toolId: z.ZodString;
22600
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22601
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22602
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22600
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22601
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22602
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22603
22603
  subAgentId: z.ZodString;
22604
22604
  agentId: z.ZodString;
22605
22605
  projectId: z.ZodString;
@@ -22625,15 +22625,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22625
22625
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22626
22626
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22627
22627
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22628
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22629
22628
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22629
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22630
22630
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22631
22631
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22632
22632
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22633
22633
  }, z.core.$strip>>>>>>;
22634
22634
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22635
22635
  }, z.core.$strip>;
22636
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22636
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22637
22637
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22638
22638
  name: "created_at";
22639
22639
  tableName: "sub_agent_external_agent_relations";
@@ -22801,7 +22801,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
22801
22801
  }, {}, {
22802
22802
  length: 256;
22803
22803
  }>;
22804
- }, drizzle_zod15.BuildRefine<{
22804
+ }, drizzle_zod19.BuildRefine<{
22805
22805
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22806
22806
  name: "created_at";
22807
22807
  tableName: "sub_agent_external_agent_relations";
@@ -23002,7 +23002,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23002
23002
  createdAt: z.ZodString;
23003
23003
  updatedAt: z.ZodString;
23004
23004
  externalAgentId: z.ZodString;
23005
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23005
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23006
23006
  subAgentId: z.ZodString;
23007
23007
  agentId: z.ZodString;
23008
23008
  projectId: z.ZodString;
@@ -23019,11 +23019,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23019
23019
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23020
23020
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23021
23021
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23022
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23023
23022
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23023
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23024
23024
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23025
23025
  }, z.core.$strip>;
23026
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
23026
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23027
23027
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23028
23028
  name: "created_at";
23029
23029
  tableName: "sub_agent_team_agent_relations";
@@ -23191,7 +23191,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
23191
23191
  }, {}, {
23192
23192
  length: 256;
23193
23193
  }>;
23194
- }, drizzle_zod15.BuildRefine<{
23194
+ }, drizzle_zod19.BuildRefine<{
23195
23195
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23196
23196
  name: "created_at";
23197
23197
  tableName: "sub_agent_team_agent_relations";
@@ -23392,7 +23392,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23392
23392
  createdAt: z.ZodString;
23393
23393
  updatedAt: z.ZodString;
23394
23394
  targetAgentId: z.ZodString;
23395
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23395
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23396
23396
  subAgentId: z.ZodString;
23397
23397
  agentId: z.ZodString;
23398
23398
  projectId: z.ZodString;
@@ -23409,11 +23409,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23409
23409
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23410
23410
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23411
23411
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23412
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23413
23412
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23413
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23414
23414
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23415
23415
  }, z.core.$strip>;
23416
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23416
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23417
23417
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23418
23418
  name: "created_at";
23419
23419
  tableName: "ledger_artifacts";
@@ -23748,7 +23748,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23748
23748
  }, {}, {
23749
23749
  length: 256;
23750
23750
  }>;
23751
- }, drizzle_zod15.BuildRefine<{
23751
+ }, drizzle_zod19.BuildRefine<{
23752
23752
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23753
23753
  name: "created_at";
23754
23754
  tableName: "ledger_artifacts";
@@ -24084,7 +24084,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
24084
24084
  length: 256;
24085
24085
  }>;
24086
24086
  }, undefined>, undefined>;
24087
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24087
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24088
24088
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24089
24089
  name: "created_at";
24090
24090
  tableName: "ledger_artifacts";
@@ -24419,7 +24419,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24419
24419
  }, {}, {
24420
24420
  length: 256;
24421
24421
  }>;
24422
- }, drizzle_zod15.BuildRefine<Pick<{
24422
+ }, drizzle_zod19.BuildRefine<Pick<{
24423
24423
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24424
24424
  name: "created_at";
24425
24425
  tableName: "ledger_artifacts";
@@ -24754,7 +24754,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24754
24754
  }, {}, {
24755
24755
  length: 256;
24756
24756
  }>;
24757
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24757
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "type" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24758
24758
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24759
24759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24760
24760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24764,12 +24764,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24764
24764
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24765
24765
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24766
24766
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24767
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24768
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24767
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24768
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24769
24769
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24770
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24770
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24771
24771
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24772
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24772
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24773
24773
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24774
24774
  projectId: z.ZodOptional<z.ZodString>;
24775
24775
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24787,12 +24787,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24787
24787
  type: z.ZodString;
24788
24788
  name: z.ZodNullable<z.ZodString>;
24789
24789
  description: z.ZodNullable<z.ZodString>;
24790
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24791
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24790
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24791
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24792
24792
  summary: z.ZodNullable<z.ZodString>;
24793
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24793
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24794
24794
  visibility: z.ZodNullable<z.ZodString>;
24795
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24795
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24796
24796
  derivedFrom: z.ZodNullable<z.ZodString>;
24797
24797
  projectId: z.ZodString;
24798
24798
  tenantId: z.ZodString;
@@ -24807,33 +24807,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24807
24807
  type: z.ZodOptional<z.ZodString>;
24808
24808
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24809
24809
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24810
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24811
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24810
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24811
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24812
24812
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24813
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24813
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24814
24814
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24815
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24815
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24816
24816
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
24817
  projectId: z.ZodString;
24818
24818
  tenantId: z.ZodString;
24819
24819
  id: z.ZodString;
24820
24820
  }>, z.core.$strip>;
24821
24821
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24822
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24823
24822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24824
24823
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24825
24824
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24826
24825
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24827
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24826
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24828
24827
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24829
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24828
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24829
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24830
24830
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24831
24831
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24832
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24833
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24832
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24833
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24834
24834
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24835
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24836
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24835
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24836
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24837
24837
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24838
24838
  }, z.core.$strip>;
24839
24839
  declare const StatusComponentSchema: z.ZodObject<{
@@ -25094,13 +25094,13 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25094
25094
  createdAt: z.ZodOptional<z.ZodString>;
25095
25095
  updatedAt: z.ZodOptional<z.ZodString>;
25096
25096
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25097
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25097
25098
  enabled: z.ZodOptional<z.ZodBoolean>;
25098
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25099
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25099
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25100
25100
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25101
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25101
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25102
25102
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25103
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25103
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25104
25104
  id: z.ZodOptional<z.ZodString>;
25105
25105
  }, z.core.$strip>>>;
25106
25106
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25114,7 +25114,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25114
25114
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25115
25115
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25116
25116
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25117
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25117
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25118
25118
  maxRetries: z.ZodOptional<z.ZodNumber>;
25119
25119
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25120
25120
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25515,13 +25515,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25515
25515
  createdAt: z.ZodOptional<z.ZodString>;
25516
25516
  updatedAt: z.ZodOptional<z.ZodString>;
25517
25517
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25518
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25518
25519
  enabled: z.ZodOptional<z.ZodBoolean>;
25519
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25520
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25520
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25521
25521
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25522
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25522
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25523
25523
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25524
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25524
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25525
25525
  id: z.ZodOptional<z.ZodString>;
25526
25526
  }, z.core.$strip>>>;
25527
25527
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25535,7 +25535,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25535
25535
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25536
25536
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25537
25537
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25538
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25538
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25539
25539
  maxRetries: z.ZodOptional<z.ZodNumber>;
25540
25540
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25541
25541
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25646,8 +25646,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25646
25646
  name: z.ZodString;
25647
25647
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25648
25648
  description: z.ZodString;
25649
- projectId: z.ZodString;
25650
25649
  tenantId: z.ZodString;
25650
+ projectId: z.ZodString;
25651
25651
  content: z.ZodString;
25652
25652
  }>, z.core.$strip>>>;
25653
25653
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26851,7 +26851,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26851
26851
  readonly keychain: "keychain";
26852
26852
  readonly nango: "nango";
26853
26853
  }>;
26854
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26854
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26855
26855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
26856
26856
  name: "created_at";
26857
26857
  tableName: "tools";
@@ -27131,7 +27131,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27131
27131
  }, {}, {
27132
27132
  length: 256;
27133
27133
  }>;
27134
- }, drizzle_zod15.BuildRefine<{
27134
+ }, drizzle_zod19.BuildRefine<{
27135
27135
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27136
27136
  name: "created_at";
27137
27137
  tableName: "tools";
@@ -27647,7 +27647,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27647
27647
  readonly keychain: "keychain";
27648
27648
  readonly nango: "nango";
27649
27649
  }>;
27650
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27650
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27651
27651
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27652
27652
  name: "created_at";
27653
27653
  tableName: "tools";
@@ -27927,7 +27927,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27927
27927
  }, {}, {
27928
27928
  length: 256;
27929
27929
  }>;
27930
- }, drizzle_zod15.BuildRefine<{
27930
+ }, drizzle_zod19.BuildRefine<{
27931
27931
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27932
27932
  name: "created_at";
27933
27933
  tableName: "tools";
@@ -28754,7 +28754,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28754
28754
  readonly keychain: "keychain";
28755
28755
  readonly nango: "nango";
28756
28756
  }>;
28757
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28757
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28758
28758
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28759
28759
  name: "created_at";
28760
28760
  tableName: "tools";
@@ -29034,7 +29034,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29034
29034
  }, {}, {
29035
29035
  length: 256;
29036
29036
  }>;
29037
- }, drizzle_zod15.BuildRefine<{
29037
+ }, drizzle_zod19.BuildRefine<{
29038
29038
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29039
29039
  name: "created_at";
29040
29040
  tableName: "tools";
@@ -29360,7 +29360,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29360
29360
  createdAt: z.ZodString;
29361
29361
  updatedAt: z.ZodString;
29362
29362
  functionToolId: z.ZodString;
29363
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29363
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29364
29364
  subAgentId: z.ZodString;
29365
29365
  agentId: z.ZodString;
29366
29366
  projectId: z.ZodString;
@@ -29492,9 +29492,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29492
29492
  createdAt: z.ZodString;
29493
29493
  updatedAt: z.ZodString;
29494
29494
  toolId: z.ZodString;
29495
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29496
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29497
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29495
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29496
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29497
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29498
29498
  subAgentId: z.ZodString;
29499
29499
  agentId: z.ZodString;
29500
29500
  projectId: z.ZodString;
@@ -29507,10 +29507,10 @@ declare const TriggerResponse: z.ZodObject<{
29507
29507
  createdAt: z.ZodString;
29508
29508
  updatedAt: z.ZodString;
29509
29509
  enabled: z.ZodBoolean;
29510
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29511
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29510
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29511
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29512
29512
  messageTemplate: z.ZodNullable<z.ZodString>;
29513
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29513
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29514
29514
  name: z.ZodString;
29515
29515
  description: z.ZodNullable<z.ZodString>;
29516
29516
  agentId: z.ZodString;
@@ -29542,9 +29542,9 @@ declare const TriggerResponse: z.ZodObject<{
29542
29542
  }, z.core.$strip>;
29543
29543
  signedComponents: z.ZodArray<z.ZodObject<{
29544
29544
  source: z.ZodEnum<{
29545
+ literal: "literal";
29545
29546
  body: "body";
29546
29547
  header: "header";
29547
- literal: "literal";
29548
29548
  }>;
29549
29549
  key: z.ZodOptional<z.ZodString>;
29550
29550
  value: z.ZodOptional<z.ZodString>;
@@ -29570,8 +29570,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29570
29570
  triggerId: z.ZodString;
29571
29571
  conversationId: z.ZodNullable<z.ZodString>;
29572
29572
  status: z.ZodString;
29573
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29574
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29573
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29574
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29575
29575
  errorMessage: z.ZodNullable<z.ZodString>;
29576
29576
  createdAt: z.ZodString;
29577
29577
  agentId: z.ZodString;
@@ -29909,7 +29909,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29909
29909
  readonly keychain: "keychain";
29910
29910
  readonly nango: "nango";
29911
29911
  }>;
29912
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29912
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29913
29913
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29914
29914
  name: "created_at";
29915
29915
  tableName: "tools";
@@ -30189,7 +30189,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30189
30189
  }, {}, {
30190
30190
  length: 256;
30191
30191
  }>;
30192
- }, drizzle_zod15.BuildRefine<{
30192
+ }, drizzle_zod19.BuildRefine<{
30193
30193
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30194
30194
  name: "created_at";
30195
30195
  tableName: "tools";
@@ -30533,7 +30533,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30533
30533
  createdAt: z.ZodString;
30534
30534
  updatedAt: z.ZodString;
30535
30535
  functionToolId: z.ZodString;
30536
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30536
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30537
30537
  subAgentId: z.ZodString;
30538
30538
  agentId: z.ZodString;
30539
30539
  projectId: z.ZodString;
@@ -30721,9 +30721,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30721
30721
  createdAt: z.ZodString;
30722
30722
  updatedAt: z.ZodString;
30723
30723
  toolId: z.ZodString;
30724
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30725
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30726
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30724
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30725
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30726
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30727
30727
  subAgentId: z.ZodString;
30728
30728
  agentId: z.ZodString;
30729
30729
  projectId: z.ZodString;
@@ -30742,10 +30742,10 @@ declare const TriggerListResponse: z.ZodObject<{
30742
30742
  createdAt: z.ZodString;
30743
30743
  updatedAt: z.ZodString;
30744
30744
  enabled: z.ZodBoolean;
30745
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30746
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30745
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30746
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30747
30747
  messageTemplate: z.ZodNullable<z.ZodString>;
30748
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30748
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30749
30749
  name: z.ZodString;
30750
30750
  description: z.ZodNullable<z.ZodString>;
30751
30751
  agentId: z.ZodString;
@@ -30777,9 +30777,9 @@ declare const TriggerListResponse: z.ZodObject<{
30777
30777
  }, z.core.$strip>;
30778
30778
  signedComponents: z.ZodArray<z.ZodObject<{
30779
30779
  source: z.ZodEnum<{
30780
+ literal: "literal";
30780
30781
  body: "body";
30781
30782
  header: "header";
30782
- literal: "literal";
30783
30783
  }>;
30784
30784
  key: z.ZodOptional<z.ZodString>;
30785
30785
  value: z.ZodOptional<z.ZodString>;
@@ -30811,8 +30811,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30811
30811
  triggerId: z.ZodString;
30812
30812
  conversationId: z.ZodNullable<z.ZodString>;
30813
30813
  status: z.ZodString;
30814
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30815
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30814
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30815
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30816
30816
  errorMessage: z.ZodNullable<z.ZodString>;
30817
30817
  createdAt: z.ZodString;
30818
30818
  agentId: z.ZodString;
@@ -30834,11 +30834,11 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30834
30834
  createdAt: z.ZodString;
30835
30835
  updatedAt: z.ZodString;
30836
30836
  description: z.ZodNullable<z.ZodString>;
30837
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30837
30838
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30839
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30842
30842
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30843
30843
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30844
30844
  algorithm: z.ZodEnum<{
@@ -30864,9 +30864,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30864
30864
  }, z.core.$strip>;
30865
30865
  signedComponents: z.ZodArray<z.ZodObject<{
30866
30866
  source: z.ZodEnum<{
30867
+ literal: "literal";
30867
30868
  body: "body";
30868
30869
  header: "header";
30869
- literal: "literal";
30870
30870
  }>;
30871
30871
  key: z.ZodOptional<z.ZodString>;
30872
30872
  value: z.ZodOptional<z.ZodString>;
@@ -30895,11 +30895,11 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30895
30895
  createdAt: z.ZodString;
30896
30896
  updatedAt: z.ZodString;
30897
30897
  description: z.ZodNullable<z.ZodString>;
30898
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30898
30899
  enabled: z.ZodBoolean;
30899
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30900
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30900
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30901
30901
  messageTemplate: z.ZodNullable<z.ZodString>;
30902
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30902
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30903
30903
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30904
30904
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30905
30905
  algorithm: z.ZodEnum<{
@@ -30925,9 +30925,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30925
30925
  }, z.core.$strip>;
30926
30926
  signedComponents: z.ZodArray<z.ZodObject<{
30927
30927
  source: z.ZodEnum<{
30928
+ literal: "literal";
30928
30929
  body: "body";
30929
30930
  header: "header";
30930
- literal: "literal";
30931
30931
  }>;
30932
30932
  key: z.ZodOptional<z.ZodString>;
30933
30933
  value: z.ZodOptional<z.ZodString>;
@@ -31373,13 +31373,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31373
31373
  createdAt: z.ZodOptional<z.ZodString>;
31374
31374
  updatedAt: z.ZodOptional<z.ZodString>;
31375
31375
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31376
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31376
31377
  enabled: z.ZodOptional<z.ZodBoolean>;
31377
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31378
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31378
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31379
31379
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31380
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31380
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31381
31381
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31382
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31382
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31383
31383
  id: z.ZodOptional<z.ZodString>;
31384
31384
  }, z.core.$strip>>>;
31385
31385
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31393,7 +31393,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31393
31393
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31394
31394
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31395
31395
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31396
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31396
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31397
31397
  maxRetries: z.ZodOptional<z.ZodNumber>;
31398
31398
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31399
31399
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31504,8 +31504,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31504
31504
  name: z.ZodString;
31505
31505
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31506
31506
  description: z.ZodString;
31507
- projectId: z.ZodString;
31508
31507
  tenantId: z.ZodString;
31508
+ projectId: z.ZodString;
31509
31509
  content: z.ZodString;
31510
31510
  }>, z.core.$strip>>>;
31511
31511
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32057,7 +32057,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32057
32057
  readonly keychain: "keychain";
32058
32058
  readonly nango: "nango";
32059
32059
  }>;
32060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32061
32061
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32062
32062
  name: "created_at";
32063
32063
  tableName: "tools";
@@ -32337,7 +32337,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32337
32337
  }, {}, {
32338
32338
  length: 256;
32339
32339
  }>;
32340
- }, drizzle_zod15.BuildRefine<{
32340
+ }, drizzle_zod19.BuildRefine<{
32341
32341
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32342
32342
  name: "created_at";
32343
32343
  tableName: "tools";
@@ -32855,7 +32855,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32855
32855
  readonly keychain: "keychain";
32856
32856
  readonly nango: "nango";
32857
32857
  }>;
32858
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32858
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32859
32859
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32860
32860
  name: "created_at";
32861
32861
  tableName: "tools";
@@ -33135,7 +33135,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33135
33135
  }, {}, {
33136
33136
  length: 256;
33137
33137
  }>;
33138
- }, drizzle_zod15.BuildRefine<{
33138
+ }, drizzle_zod19.BuildRefine<{
33139
33139
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33140
33140
  name: "created_at";
33141
33141
  tableName: "tools";
@@ -33814,13 +33814,13 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33814
33814
  createdAt: z.ZodOptional<z.ZodString>;
33815
33815
  updatedAt: z.ZodOptional<z.ZodString>;
33816
33816
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33817
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33817
33818
  enabled: z.ZodOptional<z.ZodBoolean>;
33818
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33819
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33819
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33820
33820
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33821
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33821
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33822
33822
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33823
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33823
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33824
33824
  id: z.ZodOptional<z.ZodString>;
33825
33825
  }, z.core.$strip>>>;
33826
33826
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -33834,7 +33834,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33834
33834
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33835
33835
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33836
33836
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33837
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33837
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33838
33838
  maxRetries: z.ZodOptional<z.ZodNumber>;
33839
33839
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33840
33840
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -34267,7 +34267,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34267
34267
  createdAt: z.ZodString;
34268
34268
  updatedAt: z.ZodString;
34269
34269
  targetAgentId: z.ZodString;
34270
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34270
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34271
34271
  subAgentId: z.ZodString;
34272
34272
  agentId: z.ZodString;
34273
34273
  projectId: z.ZodString;
@@ -34280,7 +34280,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34280
34280
  createdAt: z.ZodString;
34281
34281
  updatedAt: z.ZodString;
34282
34282
  targetAgentId: z.ZodString;
34283
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34283
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34284
34284
  subAgentId: z.ZodString;
34285
34285
  agentId: z.ZodString;
34286
34286
  projectId: z.ZodString;
@@ -34299,7 +34299,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34299
34299
  createdAt: z.ZodString;
34300
34300
  updatedAt: z.ZodString;
34301
34301
  externalAgentId: z.ZodString;
34302
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34302
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34303
34303
  subAgentId: z.ZodString;
34304
34304
  agentId: z.ZodString;
34305
34305
  projectId: z.ZodString;
@@ -34312,7 +34312,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34312
34312
  createdAt: z.ZodString;
34313
34313
  updatedAt: z.ZodString;
34314
34314
  externalAgentId: z.ZodString;
34315
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34315
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34316
34316
  subAgentId: z.ZodString;
34317
34317
  agentId: z.ZodString;
34318
34318
  projectId: z.ZodString;
@@ -34539,7 +34539,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34539
34539
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34540
34540
  ref: z.ZodOptional<z.ZodString>;
34541
34541
  }, z.core.$strip>;
34542
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34542
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34543
34543
  id: drizzle_orm_pg_core217.PgColumn<{
34544
34544
  name: "id";
34545
34545
  tableName: "project_metadata";
@@ -34633,7 +34633,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34633
34633
  }, {}, {
34634
34634
  length: 512;
34635
34635
  }>;
34636
- }, drizzle_zod15.BuildRefine<{
34636
+ }, drizzle_zod19.BuildRefine<{
34637
34637
  id: drizzle_orm_pg_core217.PgColumn<{
34638
34638
  name: "id";
34639
34639
  tableName: "project_metadata";
@@ -34744,10 +34744,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34744
34744
  disconnected: "disconnected";
34745
34745
  }>;
34746
34746
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34747
- User: "User";
34748
34747
  Organization: "Organization";
34748
+ User: "User";
34749
34749
  }>;
34750
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34750
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34751
34751
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34752
34752
  name: "created_at";
34753
34753
  tableName: "work_app_github_installations";
@@ -34840,7 +34840,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34840
34840
  tableName: "work_app_github_installations";
34841
34841
  dataType: "string";
34842
34842
  columnType: "PgVarchar";
34843
- data: "User" | "Organization";
34843
+ data: "Organization" | "User";
34844
34844
  driverParam: string;
34845
34845
  notNull: true;
34846
34846
  hasDefault: false;
@@ -34853,7 +34853,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34853
34853
  generated: undefined;
34854
34854
  }, {}, {
34855
34855
  length: 20;
34856
- $type: "User" | "Organization";
34856
+ $type: "Organization" | "User";
34857
34857
  }>;
34858
34858
  status: drizzle_orm_pg_core217.PgColumn<{
34859
34859
  name: "status";
@@ -34913,7 +34913,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34913
34913
  }, {}, {
34914
34914
  length: 256;
34915
34915
  }>;
34916
- }, drizzle_zod15.BuildRefine<{
34916
+ }, drizzle_zod19.BuildRefine<{
34917
34917
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34918
34918
  name: "created_at";
34919
34919
  tableName: "work_app_github_installations";
@@ -35006,7 +35006,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35006
35006
  tableName: "work_app_github_installations";
35007
35007
  dataType: "string";
35008
35008
  columnType: "PgVarchar";
35009
- data: "User" | "Organization";
35009
+ data: "Organization" | "User";
35010
35010
  driverParam: string;
35011
35011
  notNull: true;
35012
35012
  hasDefault: false;
@@ -35019,7 +35019,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35019
35019
  generated: undefined;
35020
35020
  }, {}, {
35021
35021
  length: 20;
35022
- $type: "User" | "Organization";
35022
+ $type: "Organization" | "User";
35023
35023
  }>;
35024
35024
  status: drizzle_orm_pg_core217.PgColumn<{
35025
35025
  name: "status";
@@ -35087,8 +35087,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35087
35087
  installationId: z.ZodString;
35088
35088
  accountLogin: z.ZodString;
35089
35089
  accountType: z.ZodEnum<{
35090
- User: "User";
35091
35090
  Organization: "Organization";
35091
+ User: "User";
35092
35092
  }>;
35093
35093
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35094
35094
  pending: "pending";
@@ -35118,8 +35118,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35118
35118
  installationId: z.ZodString;
35119
35119
  accountLogin: z.ZodString;
35120
35120
  accountType: z.ZodEnum<{
35121
- User: "User";
35122
35121
  Organization: "Organization";
35122
+ User: "User";
35123
35123
  }>;
35124
35124
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35125
35125
  pending: "pending";
@@ -35128,7 +35128,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35128
35128
  disconnected: "disconnected";
35129
35129
  }>>>;
35130
35130
  }>, z.core.$strip>;
35131
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35131
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35132
35132
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35133
35133
  name: "created_at";
35134
35134
  tableName: "work_app_github_repositories";
@@ -35273,7 +35273,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"se
35273
35273
  identity: undefined;
35274
35274
  generated: undefined;
35275
35275
  }, {}, {}>;
35276
- }, drizzle_zod15.BuildRefine<{
35276
+ }, drizzle_zod19.BuildRefine<{
35277
35277
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35278
35278
  name: "created_at";
35279
35279
  tableName: "work_app_github_repositories";
@@ -35439,7 +35439,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35439
35439
  repositoryFullName: z.ZodString;
35440
35440
  private: z.ZodOptional<z.ZodBoolean>;
35441
35441
  }>>, z.core.$strip>;
35442
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35442
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35443
35443
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35444
35444
  name: "created_at";
35445
35445
  tableName: "work_app_github_project_repository_access";
@@ -35550,7 +35550,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35550
35550
  }, {}, {
35551
35551
  length: 256;
35552
35552
  }>;
35553
- }, drizzle_zod15.BuildRefine<{
35553
+ }, drizzle_zod19.BuildRefine<{
35554
35554
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35555
35555
  name: "created_at";
35556
35556
  tableName: "work_app_github_project_repository_access";
@@ -35662,7 +35662,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35662
35662
  length: 256;
35663
35663
  }>;
35664
35664
  }, undefined>, undefined>;
35665
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35665
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35666
35666
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35667
35667
  name: "created_at";
35668
35668
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35792,7 +35792,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.Bu
35792
35792
  }, {}, {
35793
35793
  length: 256;
35794
35794
  }>;
35795
- }, drizzle_zod15.BuildRefine<{
35795
+ }, drizzle_zod19.BuildRefine<{
35796
35796
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35797
35797
  name: "created_at";
35798
35798
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35946,7 +35946,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35946
35946
  all: "all";
35947
35947
  selected: "selected";
35948
35948
  }>;
35949
- repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
35949
+ repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
35950
35950
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35951
35951
  name: "created_at";
35952
35952
  tableName: "work_app_github_repositories";
@@ -36091,7 +36091,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36091
36091
  identity: undefined;
36092
36092
  generated: undefined;
36093
36093
  }, {}, {}>;
36094
- }, drizzle_zod15.BuildRefine<{
36094
+ }, drizzle_zod19.BuildRefine<{
36095
36095
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36096
36096
  name: "created_at";
36097
36097
  tableName: "work_app_github_repositories";
@@ -36238,7 +36238,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36238
36238
  }, {}, {}>;
36239
36239
  }, undefined>, undefined>>;
36240
36240
  }, z.core.$strip>;
36241
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
36241
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
36242
36242
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36243
36243
  name: "created_at";
36244
36244
  tableName: "work_app_slack_channel_agent_configs";
@@ -36476,7 +36476,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
36476
36476
  identity: undefined;
36477
36477
  generated: undefined;
36478
36478
  }, {}, {}>;
36479
- }, drizzle_zod15.BuildRefine<{
36479
+ }, drizzle_zod19.BuildRefine<{
36480
36480
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36481
36481
  name: "created_at";
36482
36482
  tableName: "work_app_slack_channel_agent_configs";
@@ -36715,7 +36715,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
36715
36715
  generated: undefined;
36716
36716
  }, {}, {}>;
36717
36717
  }, undefined>, undefined>;
36718
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
36718
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
36719
36719
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36720
36720
  name: "created_at";
36721
36721
  tableName: "work_app_slack_workspaces";
@@ -37010,7 +37010,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"sele
37010
37010
  identity: undefined;
37011
37011
  generated: undefined;
37012
37012
  }, {}, {}>;
37013
- }, drizzle_zod15.BuildRefine<{
37013
+ }, drizzle_zod19.BuildRefine<{
37014
37014
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37015
37015
  name: "created_at";
37016
37016
  tableName: "work_app_slack_workspaces";
@@ -37307,16 +37307,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"sele
37307
37307
  }, {}, {}>;
37308
37308
  }, undefined>, undefined>;
37309
37309
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37310
- agentId: z.ZodString;
37311
37310
  projectId: z.ZodString;
37311
+ agentId: z.ZodString;
37312
37312
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37313
37313
  }, {
37314
37314
  out: {};
37315
37315
  in: {};
37316
37316
  }>;
37317
37317
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37318
- agentId: z.ZodString;
37319
37318
  projectId: z.ZodString;
37319
+ agentId: z.ZodString;
37320
37320
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37321
37321
  agentName: z.ZodString;
37322
37322
  projectName: z.ZodOptional<z.ZodString>;