@inkeep/agents-core 0.0.0-dev-20260218064659 → 0.0.0-dev-20260218092408

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.
@@ -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_core211 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_core211.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_core211.PgColumn<{
386
386
  name: "created_at";
387
387
  tableName: "sub_agents";
@@ -820,19 +820,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }>, z.core.$strip>;
821
821
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
822
822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
824
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
824
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
828
- stepCountIs?: number | undefined;
829
- }, {
830
- stepCountIs?: number | undefined;
831
- }, z.core.$ZodTypeInternals<{
832
- stepCountIs?: number | undefined;
833
- }, {
834
- stepCountIs?: number | undefined;
835
- }>>>>>>;
836
825
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
837
826
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
838
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -849,8 +838,19 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
838
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
850
839
  }, z.core.$strip>>;
851
840
  }, z.core.$strip>>>>;
841
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
842
+ stepCountIs?: number | undefined;
843
+ }, {
844
+ stepCountIs?: number | undefined;
845
+ }, z.core.$ZodTypeInternals<{
846
+ stepCountIs?: number | undefined;
847
+ }, {
848
+ stepCountIs?: number | undefined;
849
+ }>>>>>>;
850
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
852
  }, z.core.$strip>;
853
- declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
853
+ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core211.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_core211.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_core211.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_core211.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_core211.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_core211.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" | "createdAt" | "name" | "updatedAt" | "description" | "stopWhen" | "prompt" | "models" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2749,19 +2749,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2749
2749
  id: z.ZodString;
2750
2750
  }>, z.core.$strip>;
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
- createdAt: z.ZodOptional<z.ZodString>;
2753
2752
  name: z.ZodString;
2754
- updatedAt: z.ZodOptional<z.ZodString>;
2755
2753
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
- transferCountIs?: number | undefined;
2758
- }, {
2759
- transferCountIs?: number | undefined;
2760
- }, z.core.$ZodTypeInternals<{
2761
- transferCountIs?: number | undefined;
2762
- }, {
2763
- transferCountIs?: number | undefined;
2764
- }>>>>;
2754
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2765
2755
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2767
2757
  base?: {
@@ -2816,7 +2806,17 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2816
2806
  providerOptions?: Record<string, any> | undefined;
2817
2807
  } | undefined;
2818
2808
  }>>>>;
2819
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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
+ }>>>>;
2818
+ createdAt: z.ZodOptional<z.ZodString>;
2819
+ updatedAt: z.ZodOptional<z.ZodString>;
2820
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
@@ -2879,19 +2879,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2879
2879
  }, z.core.$strip>;
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
2881
2881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2883
2882
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
2883
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
- transferCountIs?: number | undefined;
2888
- }, {
2889
- transferCountIs?: number | undefined;
2890
- }, z.core.$ZodTypeInternals<{
2891
- transferCountIs?: number | undefined;
2892
- }, {
2893
- transferCountIs?: number | undefined;
2894
- }>>>>>>;
2884
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2895
2885
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2896
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2897
2887
  base?: {
@@ -2946,7 +2936,17 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2946
2936
  providerOptions?: Record<string, any> | undefined;
2947
2937
  } | undefined;
2948
2938
  }>>>>>>;
2949
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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
+ }>>>>>>;
2948
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
2950
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2952
  enabled?: boolean | undefined;
@@ -3071,8 +3071,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3071
3071
  declare const SignatureSourceSchema: z.ZodObject<{
3072
3072
  source: z.ZodEnum<{
3073
3073
  query: "query";
3074
- header: "header";
3075
3074
  body: "body";
3075
+ header: "header";
3076
3076
  }>;
3077
3077
  key: z.ZodString;
3078
3078
  prefix: z.ZodOptional<z.ZodString>;
@@ -3101,8 +3101,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3101
3101
  declare const SignedComponentSchema: z.ZodObject<{
3102
3102
  source: z.ZodEnum<{
3103
3103
  literal: "literal";
3104
- header: "header";
3105
3104
  body: "body";
3105
+ header: "header";
3106
3106
  }>;
3107
3107
  key: z.ZodOptional<z.ZodString>;
3108
3108
  value: z.ZodOptional<z.ZodString>;
@@ -3211,8 +3211,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3211
3211
  signature: z.ZodObject<{
3212
3212
  source: z.ZodEnum<{
3213
3213
  query: "query";
3214
- header: "header";
3215
3214
  body: "body";
3215
+ header: "header";
3216
3216
  }>;
3217
3217
  key: z.ZodString;
3218
3218
  prefix: z.ZodOptional<z.ZodString>;
@@ -3221,8 +3221,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3221
3221
  signedComponents: z.ZodArray<z.ZodObject<{
3222
3222
  source: z.ZodEnum<{
3223
3223
  literal: "literal";
3224
- header: "header";
3225
3224
  body: "body";
3225
+ header: "header";
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;
@@ -3307,8 +3307,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3307
3307
  signature: z.ZodObject<{
3308
3308
  source: z.ZodEnum<{
3309
3309
  query: "query";
3310
- header: "header";
3311
3310
  body: "body";
3311
+ header: "header";
3312
3312
  }>;
3313
3313
  key: z.ZodString;
3314
3314
  prefix: z.ZodOptional<z.ZodString>;
@@ -3317,8 +3317,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3317
3317
  signedComponents: z.ZodArray<z.ZodObject<{
3318
3318
  source: z.ZodEnum<{
3319
3319
  literal: "literal";
3320
- header: "header";
3321
3320
  body: "body";
3321
+ header: "header";
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_core211.PgColumn<{
3346
3346
  name: "created_at";
3347
3347
  tableName: "triggers";
@@ -3501,13 +3501,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3501
3501
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3502
3502
  encoding: "hex" | "base64";
3503
3503
  signature: {
3504
- source: "query" | "header" | "body";
3504
+ source: "query" | "body" | "header";
3505
3505
  key: string;
3506
3506
  prefix?: string | undefined;
3507
3507
  regex?: string | undefined;
3508
3508
  };
3509
3509
  signedComponents: {
3510
- source: "literal" | "header" | "body";
3510
+ source: "literal" | "body" | "header";
3511
3511
  required: boolean;
3512
3512
  key?: string | undefined;
3513
3513
  value?: string | undefined;
@@ -3538,13 +3538,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3538
3538
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3539
3539
  encoding: "hex" | "base64";
3540
3540
  signature: {
3541
- source: "query" | "header" | "body";
3541
+ source: "query" | "body" | "header";
3542
3542
  key: string;
3543
3543
  prefix?: string | undefined;
3544
3544
  regex?: string | undefined;
3545
3545
  };
3546
3546
  signedComponents: {
3547
- source: "literal" | "header" | "body";
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_core211.PgColumn<{
3678
3678
  name: "created_at";
3679
3679
  tableName: "triggers";
@@ -3833,13 +3833,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3833
3833
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3834
3834
  encoding: "hex" | "base64";
3835
3835
  signature: {
3836
- source: "query" | "header" | "body";
3836
+ source: "query" | "body" | "header";
3837
3837
  key: string;
3838
3838
  prefix?: string | undefined;
3839
3839
  regex?: string | undefined;
3840
3840
  };
3841
3841
  signedComponents: {
3842
- source: "literal" | "header" | "body";
3842
+ source: "literal" | "body" | "header";
3843
3843
  required: boolean;
3844
3844
  key?: string | undefined;
3845
3845
  value?: string | undefined;
@@ -3870,13 +3870,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3870
3870
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3871
3871
  encoding: "hex" | "base64";
3872
3872
  signature: {
3873
- source: "query" | "header" | "body";
3873
+ source: "query" | "body" | "header";
3874
3874
  key: string;
3875
3875
  prefix?: string | undefined;
3876
3876
  regex?: string | undefined;
3877
3877
  };
3878
3878
  signedComponents: {
3879
- source: "literal" | "header" | "body";
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" | "createdAt" | "name" | "updatedAt" | "description" | "inputSchema" | "agentId" | "projectId" | "tenantId" | "enabled" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4012
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_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;
@@ -4056,8 +4056,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4056
4056
  signature: z.ZodObject<{
4057
4057
  source: z.ZodEnum<{
4058
4058
  query: "query";
4059
- header: "header";
4060
4059
  body: "body";
4060
+ header: "header";
4061
4061
  }>;
4062
4062
  key: z.ZodString;
4063
4063
  prefix: z.ZodOptional<z.ZodString>;
@@ -4066,8 +4066,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4066
4066
  signedComponents: z.ZodArray<z.ZodObject<{
4067
4067
  source: z.ZodEnum<{
4068
4068
  literal: "literal";
4069
- header: "header";
4070
4069
  body: "body";
4070
+ header: "header";
4071
4071
  }>;
4072
4072
  key: z.ZodOptional<z.ZodString>;
4073
4073
  value: z.ZodOptional<z.ZodString>;
@@ -4088,28 +4088,28 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4088
4088
  }, z.core.$strip>>>;
4089
4089
  }>, z.core.$strip>;
4090
4090
  declare const TriggerApiInsertSchema: z.ZodObject<{
4091
- createdAt: z.ZodOptional<z.ZodString>;
4092
4091
  name: z.ZodString;
4093
- updatedAt: z.ZodOptional<z.ZodString>;
4094
4092
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4095
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4093
+ createdAt: z.ZodOptional<z.ZodString>;
4094
+ updatedAt: z.ZodOptional<z.ZodString>;
4096
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4097
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4096
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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>;
@@ -4123,15 +4123,15 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4123
4123
  }>;
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
4125
  id: z.ZodString;
4126
- createdAt: z.ZodString;
4127
4126
  name: z.ZodString;
4128
- updatedAt: z.ZodString;
4129
4127
  description: z.ZodNullable<z.ZodString>;
4130
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4128
+ createdAt: z.ZodString;
4129
+ updatedAt: z.ZodString;
4131
4130
  enabled: z.ZodBoolean;
4132
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4131
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.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<{
@@ -4148,8 +4148,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4148
4148
  signature: z.ZodObject<{
4149
4149
  source: z.ZodEnum<{
4150
4150
  query: "query";
4151
- header: "header";
4152
4151
  body: "body";
4152
+ header: "header";
4153
4153
  }>;
4154
4154
  key: z.ZodString;
4155
4155
  prefix: z.ZodOptional<z.ZodString>;
@@ -4158,8 +4158,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4158
4158
  signedComponents: z.ZodArray<z.ZodObject<{
4159
4159
  source: z.ZodEnum<{
4160
4160
  literal: "literal";
4161
- header: "header";
4162
4161
  body: "body";
4162
+ header: "header";
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_core211.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_core211.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_core211.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_core211.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" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4996
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4997
- requestPayload: z.ZodOptional<z.ZodType<drizzle_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;
@@ -5062,7 +5062,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5062
5062
  out: {};
5063
5063
  in: {};
5064
5064
  }>;
5065
- declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5065
+ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5066
5066
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5067
5067
  name: "created_at";
5068
5068
  tableName: "scheduled_triggers";
@@ -5368,7 +5368,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5368
5368
  }, {}, {
5369
5369
  length: 256;
5370
5370
  }>;
5371
- }, drizzle_zod15.BuildRefine<Pick<{
5371
+ }, drizzle_zod19.BuildRefine<Pick<{
5372
5372
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5373
5373
  name: "created_at";
5374
5374
  tableName: "scheduled_triggers";
@@ -5674,14 +5674,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5674
5674
  }, {}, {
5675
5675
  length: 256;
5676
5676
  }>;
5677
- }, "id" | "createdAt" | "name" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5677
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5678
5678
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5679
5679
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5680
5680
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5681
5681
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5682
5682
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5683
5683
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5684
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5684
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5685
5685
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5686
5686
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5687
5687
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5717,32 +5717,32 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5717
5717
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5718
5718
  }>, z.core.$strip>;
5719
5719
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5720
- createdAt: z.ZodOptional<z.ZodString>;
5721
5720
  name: z.ZodString;
5722
- updatedAt: z.ZodOptional<z.ZodString>;
5723
5721
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5722
+ createdAt: z.ZodOptional<z.ZodString>;
5723
+ updatedAt: z.ZodOptional<z.ZodString>;
5724
5724
  enabled: z.ZodOptional<z.ZodBoolean>;
5725
5725
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5726
5726
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5727
5727
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5728
5728
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5729
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5729
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5730
5730
  maxRetries: z.ZodOptional<z.ZodNumber>;
5731
5731
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5732
5732
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5733
5733
  id: z.ZodOptional<z.ZodString>;
5734
5734
  }, z.core.$strip>;
5735
5735
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5736
- createdAt: z.ZodOptional<z.ZodString>;
5737
5736
  name: z.ZodString;
5738
- updatedAt: z.ZodOptional<z.ZodString>;
5739
5737
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5738
+ createdAt: z.ZodOptional<z.ZodString>;
5739
+ updatedAt: z.ZodOptional<z.ZodString>;
5740
5740
  enabled: z.ZodOptional<z.ZodBoolean>;
5741
5741
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5742
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5743
5743
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5744
5744
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5745
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5745
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5746
5746
  maxRetries: z.ZodOptional<z.ZodNumber>;
5747
5747
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5748
5748
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5754,7 +5754,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5754
5754
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5755
5755
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5756
5756
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5757
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5757
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5758
5758
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5759
5759
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5760
5760
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5776,7 +5776,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5776
5776
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5777
5777
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5778
5778
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5779
- declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5779
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5780
5780
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5781
5781
  name: "created_at";
5782
5782
  tableName: "scheduled_workflows";
@@ -5980,7 +5980,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
5980
5980
  }, {}, {
5981
5981
  length: 256;
5982
5982
  }>;
5983
- }, drizzle_zod15.BuildRefine<{
5983
+ }, drizzle_zod19.BuildRefine<{
5984
5984
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5985
5985
  name: "created_at";
5986
5986
  tableName: "scheduled_workflows";
@@ -6185,7 +6185,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6185
6185
  length: 256;
6186
6186
  }>;
6187
6187
  }, undefined>, undefined>;
6188
- declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6188
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6189
6189
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6190
6190
  name: "created_at";
6191
6191
  tableName: "scheduled_workflows";
@@ -6389,7 +6389,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6389
6389
  }, {}, {
6390
6390
  length: 256;
6391
6391
  }>;
6392
- }, drizzle_zod15.BuildRefine<Pick<{
6392
+ }, drizzle_zod19.BuildRefine<Pick<{
6393
6393
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6394
6394
  name: "created_at";
6395
6395
  tableName: "scheduled_workflows";
@@ -6593,7 +6593,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6593
6593
  }, {}, {
6594
6594
  length: 256;
6595
6595
  }>;
6596
- }, "id" | "createdAt" | "name" | "status" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6596
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6597
6597
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6598
6598
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6599
6599
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6624,11 +6624,11 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6624
6624
  id: z.ZodString;
6625
6625
  }>, z.core.$strip>;
6626
6626
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6627
- createdAt: z.ZodOptional<z.ZodString>;
6628
6627
  name: z.ZodString;
6629
- status: z.ZodOptional<z.ZodString>;
6630
- updatedAt: z.ZodOptional<z.ZodString>;
6631
6628
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6629
+ createdAt: z.ZodOptional<z.ZodString>;
6630
+ updatedAt: z.ZodOptional<z.ZodString>;
6631
+ status: z.ZodOptional<z.ZodString>;
6632
6632
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6633
6633
  scheduledTriggerId: z.ZodString;
6634
6634
  id: z.ZodOptional<z.ZodString>;
@@ -6684,7 +6684,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6684
6684
  out: {};
6685
6685
  in: {};
6686
6686
  }>;
6687
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6687
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6688
6688
  scheduledTriggerId: drizzle_orm_pg_core211.PgColumn<{
6689
6689
  name: "scheduled_trigger_id";
6690
6690
  tableName: "scheduled_trigger_invocations";
@@ -6942,7 +6942,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
6942
6942
  }, {}, {
6943
6943
  length: 256;
6944
6944
  }>;
6945
- }, drizzle_zod15.BuildRefine<Pick<{
6945
+ }, drizzle_zod19.BuildRefine<Pick<{
6946
6946
  scheduledTriggerId: drizzle_orm_pg_core211.PgColumn<{
6947
6947
  name: "scheduled_trigger_id";
6948
6948
  tableName: "scheduled_trigger_invocations";
@@ -7200,14 +7200,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7200
7200
  }, {}, {
7201
7201
  length: 256;
7202
7202
  }>;
7203
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7203
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7204
7204
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7205
7205
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7206
7206
  status: z.ZodOptional<z.ZodString>;
7207
7207
  scheduledFor: z.ZodOptional<z.ZodString>;
7208
7208
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7209
7209
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7210
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7210
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7211
7211
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7212
7212
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7213
7213
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7246,11 +7246,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7246
7246
  createdAt: z.ZodOptional<z.ZodString>;
7247
7247
  status: z.ZodString;
7248
7248
  scheduledTriggerId: z.ZodString;
7249
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7249
7250
  scheduledFor: z.ZodString;
7250
7251
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7251
7252
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7253
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7253
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7254
7254
  attemptNumber: z.ZodOptional<z.ZodInt>;
7255
7255
  idempotencyKey: z.ZodString;
7256
7256
  id: z.ZodString;
@@ -7260,11 +7260,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7260
7260
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7261
7261
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7262
7262
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7263
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7263
7264
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7264
7265
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7265
7266
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7266
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7267
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7267
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7268
7268
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7269
7269
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7270
7270
  }, z.core.$strip>;
@@ -7272,7 +7272,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7272
7272
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7273
7273
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7274
7274
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7275
- declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7275
+ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7276
7276
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7277
7277
  name: "created_at";
7278
7278
  tableName: "tasks";
@@ -7332,7 +7332,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7332
7332
  dataType: "json";
7333
7333
  columnType: "PgJsonb";
7334
7334
  data: {
7335
- type: "commit" | "tag" | "branch";
7335
+ type: "tag" | "commit" | "branch";
7336
7336
  name: string;
7337
7337
  hash: string;
7338
7338
  };
@@ -7348,7 +7348,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7348
7348
  generated: undefined;
7349
7349
  }, {}, {
7350
7350
  $type: {
7351
- type: "commit" | "tag" | "branch";
7351
+ type: "tag" | "commit" | "branch";
7352
7352
  name: string;
7353
7353
  hash: string;
7354
7354
  };
@@ -7486,7 +7486,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7486
7486
  }, {}, {
7487
7487
  length: 256;
7488
7488
  }>;
7489
- }, drizzle_zod15.BuildRefine<{
7489
+ }, drizzle_zod19.BuildRefine<{
7490
7490
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7491
7491
  name: "created_at";
7492
7492
  tableName: "tasks";
@@ -7546,7 +7546,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7546
7546
  dataType: "json";
7547
7547
  columnType: "PgJsonb";
7548
7548
  data: {
7549
- type: "commit" | "tag" | "branch";
7549
+ type: "tag" | "commit" | "branch";
7550
7550
  name: string;
7551
7551
  hash: string;
7552
7552
  };
@@ -7562,7 +7562,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7562
7562
  generated: undefined;
7563
7563
  }, {}, {
7564
7564
  $type: {
7565
- type: "commit" | "tag" | "branch";
7565
+ type: "tag" | "commit" | "branch";
7566
7566
  name: string;
7567
7567
  hash: string;
7568
7568
  };
@@ -7715,8 +7715,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7715
7715
  conversationId: z.ZodOptional<z.ZodString>;
7716
7716
  ref: z.ZodObject<{
7717
7717
  type: z.ZodEnum<{
7718
- commit: "commit";
7719
7718
  tag: "tag";
7719
+ commit: "commit";
7720
7720
  branch: "branch";
7721
7721
  }>;
7722
7722
  name: z.ZodString;
@@ -7740,8 +7740,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7740
7740
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7741
7741
  ref: z.ZodOptional<z.ZodObject<{
7742
7742
  type: z.ZodEnum<{
7743
- commit: "commit";
7744
7743
  tag: "tag";
7744
+ commit: "commit";
7745
7745
  branch: "branch";
7746
7746
  }>;
7747
7747
  name: z.ZodString;
@@ -7756,19 +7756,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7756
7756
  updatedAt: z.ZodString;
7757
7757
  contextId: z.ZodString;
7758
7758
  ref: z.ZodNullable<z.ZodType<{
7759
- type: "commit" | "tag" | "branch";
7759
+ type: "tag" | "commit" | "branch";
7760
7760
  name: string;
7761
7761
  hash: string;
7762
7762
  }, {
7763
- type: "commit" | "tag" | "branch";
7763
+ type: "tag" | "commit" | "branch";
7764
7764
  name: string;
7765
7765
  hash: string;
7766
7766
  }, z.core.$ZodTypeInternals<{
7767
- type: "commit" | "tag" | "branch";
7767
+ type: "tag" | "commit" | "branch";
7768
7768
  name: string;
7769
7769
  hash: string;
7770
7770
  }, {
7771
- type: "commit" | "tag" | "branch";
7771
+ type: "tag" | "commit" | "branch";
7772
7772
  name: string;
7773
7773
  hash: string;
7774
7774
  }>>>;
@@ -7794,8 +7794,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7794
7794
  conversationId: z.ZodOptional<z.ZodString>;
7795
7795
  ref: z.ZodObject<{
7796
7796
  type: z.ZodEnum<{
7797
- commit: "commit";
7798
7797
  tag: "tag";
7798
+ commit: "commit";
7799
7799
  branch: "branch";
7800
7800
  }>;
7801
7801
  name: z.ZodString;
@@ -7804,25 +7804,25 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7804
7804
  }>, z.core.$strip>;
7805
7805
  declare const TaskApiUpdateSchema: z.ZodObject<{
7806
7806
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
7808
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7809
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7810
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7808
7811
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7809
7812
  type: z.ZodEnum<{
7810
- commit: "commit";
7811
7813
  tag: "tag";
7814
+ commit: "commit";
7812
7815
  branch: "branch";
7813
7816
  }>;
7814
7817
  name: z.ZodString;
7815
7818
  hash: z.ZodString;
7816
7819
  }, z.core.$strip>>>;
7817
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7818
7820
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7819
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7820
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7821
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7821
7822
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7822
7823
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7823
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7824
7824
  }, z.core.$strip>;
7825
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
7825
+ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7826
7826
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7827
7827
  name: "created_at";
7828
7828
  tableName: "task_relations";
@@ -7971,7 +7971,7 @@ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
7971
7971
  }, {}, {
7972
7972
  length: 256;
7973
7973
  }>;
7974
- }, drizzle_zod15.BuildRefine<{
7974
+ }, drizzle_zod19.BuildRefine<{
7975
7975
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7976
7976
  name: "created_at";
7977
7977
  tableName: "task_relations";
@@ -8197,7 +8197,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8197
8197
  description: z.ZodOptional<z.ZodString>;
8198
8198
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8199
8199
  }, z.core.$strip>;
8200
- declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8200
+ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8201
8201
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8202
8202
  name: "created_at";
8203
8203
  tableName: "tools";
@@ -8477,7 +8477,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8477
8477
  }, {}, {
8478
8478
  length: 256;
8479
8479
  }>;
8480
- }, drizzle_zod15.BuildRefine<{
8480
+ }, drizzle_zod19.BuildRefine<{
8481
8481
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8482
8482
  name: "created_at";
8483
8483
  tableName: "tools";
@@ -8803,7 +8803,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8803
8803
  out: {};
8804
8804
  in: {};
8805
8805
  }>;
8806
- declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8806
+ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8807
8807
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8808
8808
  name: "created_at";
8809
8809
  tableName: "conversations";
@@ -8901,7 +8901,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8901
8901
  dataType: "json";
8902
8902
  columnType: "PgJsonb";
8903
8903
  data: {
8904
- type: "commit" | "tag" | "branch";
8904
+ type: "tag" | "commit" | "branch";
8905
8905
  name: string;
8906
8906
  hash: string;
8907
8907
  };
@@ -8917,7 +8917,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8917
8917
  generated: undefined;
8918
8918
  }, {}, {
8919
8919
  $type: {
8920
- type: "commit" | "tag" | "branch";
8920
+ type: "tag" | "commit" | "branch";
8921
8921
  name: string;
8922
8922
  hash: string;
8923
8923
  };
@@ -9032,7 +9032,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9032
9032
  }, {}, {
9033
9033
  length: 256;
9034
9034
  }>;
9035
- }, drizzle_zod15.BuildRefine<{
9035
+ }, drizzle_zod19.BuildRefine<{
9036
9036
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9037
9037
  name: "created_at";
9038
9038
  tableName: "conversations";
@@ -9130,7 +9130,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9130
9130
  dataType: "json";
9131
9131
  columnType: "PgJsonb";
9132
9132
  data: {
9133
- type: "commit" | "tag" | "branch";
9133
+ type: "tag" | "commit" | "branch";
9134
9134
  name: string;
9135
9135
  hash: string;
9136
9136
  };
@@ -9146,7 +9146,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9146
9146
  generated: undefined;
9147
9147
  }, {}, {
9148
9148
  $type: {
9149
- type: "commit" | "tag" | "branch";
9149
+ type: "tag" | "commit" | "branch";
9150
9150
  name: string;
9151
9151
  hash: string;
9152
9152
  };
@@ -9277,8 +9277,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9277
9277
  contextConfigId: z.ZodOptional<z.ZodString>;
9278
9278
  ref: z.ZodObject<{
9279
9279
  type: z.ZodEnum<{
9280
- commit: "commit";
9281
9280
  tag: "tag";
9281
+ commit: "commit";
9282
9282
  branch: "branch";
9283
9283
  }>;
9284
9284
  name: z.ZodString;
@@ -9303,8 +9303,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9303
9303
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9304
9304
  ref: z.ZodOptional<z.ZodObject<{
9305
9305
  type: z.ZodEnum<{
9306
- commit: "commit";
9307
9306
  tag: "tag";
9307
+ commit: "commit";
9308
9308
  branch: "branch";
9309
9309
  }>;
9310
9310
  name: z.ZodString;
@@ -9321,19 +9321,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9321
9321
  agentId: z.ZodNullable<z.ZodString>;
9322
9322
  activeSubAgentId: z.ZodString;
9323
9323
  ref: z.ZodNullable<z.ZodType<{
9324
- type: "commit" | "tag" | "branch";
9324
+ type: "tag" | "commit" | "branch";
9325
9325
  name: string;
9326
9326
  hash: string;
9327
9327
  }, {
9328
- type: "commit" | "tag" | "branch";
9328
+ type: "tag" | "commit" | "branch";
9329
9329
  name: string;
9330
9330
  hash: string;
9331
9331
  }, z.core.$ZodTypeInternals<{
9332
- type: "commit" | "tag" | "branch";
9332
+ type: "tag" | "commit" | "branch";
9333
9333
  name: string;
9334
9334
  hash: string;
9335
9335
  }, {
9336
- type: "commit" | "tag" | "branch";
9336
+ type: "tag" | "commit" | "branch";
9337
9337
  name: string;
9338
9338
  hash: string;
9339
9339
  }>>>;
@@ -9359,8 +9359,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9359
9359
  contextConfigId: z.ZodOptional<z.ZodString>;
9360
9360
  ref: z.ZodObject<{
9361
9361
  type: z.ZodEnum<{
9362
- commit: "commit";
9363
9362
  tag: "tag";
9363
+ commit: "commit";
9364
9364
  branch: "branch";
9365
9365
  }>;
9366
9366
  name: z.ZodString;
@@ -9369,26 +9369,26 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9369
9369
  }>, z.core.$strip>;
9370
9370
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9371
9371
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9372
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9372
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9373
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9373
9374
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9375
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9376
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9377
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9374
9378
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9375
9379
  type: z.ZodEnum<{
9376
- commit: "commit";
9377
9380
  tag: "tag";
9381
+ commit: "commit";
9378
9382
  branch: "branch";
9379
9383
  }>;
9380
9384
  name: z.ZodString;
9381
9385
  hash: z.ZodString;
9382
9386
  }, z.core.$strip>>>;
9383
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9384
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9385
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9386
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9387
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9387
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9388
9388
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9389
9389
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9390
9390
  }, z.core.$strip>;
9391
- declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9391
+ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9392
9392
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9393
9393
  name: "created_at";
9394
9394
  tableName: "messages";
@@ -9784,7 +9784,7 @@ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9784
9784
  }, {}, {
9785
9785
  length: 256;
9786
9786
  }>;
9787
- }, drizzle_zod15.BuildRefine<{
9787
+ }, drizzle_zod19.BuildRefine<{
9788
9788
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9789
9789
  name: "created_at";
9790
9790
  tableName: "messages";
@@ -10281,26 +10281,26 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
10281
10281
  }>, z.core.$strip>;
10282
10282
  declare const MessageApiUpdateSchema: z.ZodObject<{
10283
10283
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10284
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10285
10284
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10286
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10287
10285
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10286
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10288
10287
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10289
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10288
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10290
10289
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10291
10290
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10292
10291
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10293
10292
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10293
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10294
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10295
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10294
10296
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10295
10297
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10296
10298
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10297
10299
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10298
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10299
10300
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10300
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10301
10301
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10302
10302
  }, z.core.$strip>;
10303
- declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10303
+ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10304
10304
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10305
10305
  name: "created_at";
10306
10306
  tableName: "context_cache";
@@ -10398,7 +10398,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10398
10398
  dataType: "json";
10399
10399
  columnType: "PgJsonb";
10400
10400
  data: {
10401
- type: "commit" | "tag" | "branch";
10401
+ type: "tag" | "commit" | "branch";
10402
10402
  name: string;
10403
10403
  hash: string;
10404
10404
  };
@@ -10414,7 +10414,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10414
10414
  generated: undefined;
10415
10415
  }, {}, {
10416
10416
  $type: {
10417
- type: "commit" | "tag" | "branch";
10417
+ type: "tag" | "commit" | "branch";
10418
10418
  name: string;
10419
10419
  hash: string;
10420
10420
  };
@@ -10550,7 +10550,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10550
10550
  }, {}, {
10551
10551
  length: 256;
10552
10552
  }>;
10553
- }, drizzle_zod15.BuildRefine<{
10553
+ }, drizzle_zod19.BuildRefine<{
10554
10554
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10555
10555
  name: "created_at";
10556
10556
  tableName: "context_cache";
@@ -10648,7 +10648,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10648
10648
  dataType: "json";
10649
10649
  columnType: "PgJsonb";
10650
10650
  data: {
10651
- type: "commit" | "tag" | "branch";
10651
+ type: "tag" | "commit" | "branch";
10652
10652
  name: string;
10653
10653
  hash: string;
10654
10654
  };
@@ -10664,7 +10664,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10664
10664
  generated: undefined;
10665
10665
  }, {}, {
10666
10666
  $type: {
10667
- type: "commit" | "tag" | "branch";
10667
+ type: "tag" | "commit" | "branch";
10668
10668
  name: string;
10669
10669
  hash: string;
10670
10670
  };
@@ -10807,7 +10807,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10807
10807
  conversationId: z.ZodString;
10808
10808
  contextConfigId: z.ZodString;
10809
10809
  contextVariableKey: z.ZodString;
10810
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10810
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10811
10811
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10812
10812
  fetchedAt: z.ZodOptional<z.ZodString>;
10813
10813
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10816,8 +10816,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10816
10816
  id: z.ZodString;
10817
10817
  ref: z.ZodObject<{
10818
10818
  type: z.ZodEnum<{
10819
- commit: "commit";
10820
10819
  tag: "tag";
10820
+ commit: "commit";
10821
10821
  branch: "branch";
10822
10822
  }>;
10823
10823
  name: z.ZodString;
@@ -10833,7 +10833,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10833
10833
  conversationId: z.ZodOptional<z.ZodString>;
10834
10834
  contextConfigId: z.ZodOptional<z.ZodString>;
10835
10835
  contextVariableKey: z.ZodOptional<z.ZodString>;
10836
- value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
10836
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
10837
10837
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10838
10838
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10839
10839
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -10842,8 +10842,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10842
10842
  id: z.ZodOptional<z.ZodString>;
10843
10843
  ref: z.ZodOptional<z.ZodObject<{
10844
10844
  type: z.ZodEnum<{
10845
- commit: "commit";
10846
10845
  tag: "tag";
10846
+ commit: "commit";
10847
10847
  branch: "branch";
10848
10848
  }>;
10849
10849
  name: z.ZodString;
@@ -10860,23 +10860,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10860
10860
  contextConfigId: z.ZodString;
10861
10861
  contextVariableKey: z.ZodString;
10862
10862
  ref: z.ZodNullable<z.ZodType<{
10863
- type: "commit" | "tag" | "branch";
10863
+ type: "tag" | "commit" | "branch";
10864
10864
  name: string;
10865
10865
  hash: string;
10866
10866
  }, {
10867
- type: "commit" | "tag" | "branch";
10867
+ type: "tag" | "commit" | "branch";
10868
10868
  name: string;
10869
10869
  hash: string;
10870
10870
  }, z.core.$ZodTypeInternals<{
10871
- type: "commit" | "tag" | "branch";
10871
+ type: "tag" | "commit" | "branch";
10872
10872
  name: string;
10873
10873
  hash: string;
10874
10874
  }, {
10875
- type: "commit" | "tag" | "branch";
10875
+ type: "tag" | "commit" | "branch";
10876
10876
  name: string;
10877
10877
  hash: string;
10878
10878
  }>>>;
10879
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10879
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10880
10880
  requestHash: z.ZodNullable<z.ZodString>;
10881
10881
  fetchedAt: z.ZodString;
10882
10882
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -10890,7 +10890,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10890
10890
  conversationId: z.ZodString;
10891
10891
  contextConfigId: z.ZodString;
10892
10892
  contextVariableKey: z.ZodString;
10893
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10893
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10894
10894
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10895
10895
  fetchedAt: z.ZodOptional<z.ZodString>;
10896
10896
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10899,8 +10899,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10899
10899
  id: z.ZodString;
10900
10900
  ref: z.ZodObject<{
10901
10901
  type: z.ZodEnum<{
10902
- commit: "commit";
10903
10902
  tag: "tag";
10903
+ commit: "commit";
10904
10904
  branch: "branch";
10905
10905
  }>;
10906
10906
  name: z.ZodString;
@@ -10909,26 +10909,26 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10909
10909
  }>, z.core.$strip>;
10910
10910
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10911
10911
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10912
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10912
10913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10914
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10915
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10913
10916
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10914
10917
  type: z.ZodEnum<{
10915
- commit: "commit";
10916
10918
  tag: "tag";
10919
+ commit: "commit";
10917
10920
  branch: "branch";
10918
10921
  }>;
10919
10922
  name: z.ZodString;
10920
10923
  hash: z.ZodString;
10921
10924
  }, z.core.$strip>>>;
10922
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10923
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
10924
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10925
10925
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10926
10926
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10928
10928
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10929
10929
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10930
10930
  }, z.core.$strip>;
10931
- declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
10931
+ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
10932
10932
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10933
10933
  name: "created_at";
10934
10934
  tableName: "dataset_run";
@@ -11071,7 +11071,7 @@ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11071
11071
  }, {}, {
11072
11072
  length: 256;
11073
11073
  }>;
11074
- }, drizzle_zod15.BuildRefine<{
11074
+ }, drizzle_zod19.BuildRefine<{
11075
11075
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11076
11076
  name: "created_at";
11077
11077
  tableName: "dataset_run";
@@ -11255,17 +11255,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
11255
11255
  createdAt: z.ZodOptional<z.ZodString>;
11256
11256
  updatedAt: z.ZodOptional<z.ZodString>;
11257
11257
  datasetId: z.ZodString;
11258
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11259
11258
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11259
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11260
11260
  }, z.core.$strip>;
11261
11261
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11262
11262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11263
11263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11264
11264
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11265
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11266
11265
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11266
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11267
11267
  }, z.core.$strip>;
11268
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11268
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11269
11269
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11270
11270
  name: "created_at";
11271
11271
  tableName: "dataset_run_conversation_relations";
@@ -11408,7 +11408,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSch
11408
11408
  }, {}, {
11409
11409
  length: 256;
11410
11410
  }>;
11411
- }, drizzle_zod15.BuildRefine<{
11411
+ }, drizzle_zod19.BuildRefine<{
11412
11412
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11413
11413
  name: "created_at";
11414
11414
  tableName: "dataset_run_conversation_relations";
@@ -11602,7 +11602,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11602
11602
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11603
11603
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11604
11604
  }, z.core.$strip>;
11605
- declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11605
+ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11606
11606
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11607
11607
  name: "created_at";
11608
11608
  tableName: "evaluation_result";
@@ -11764,7 +11764,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select",
11764
11764
  }, {}, {
11765
11765
  length: 256;
11766
11766
  }>;
11767
- }, drizzle_zod15.BuildRefine<{
11767
+ }, drizzle_zod19.BuildRefine<{
11768
11768
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11769
11769
  name: "created_at";
11770
11770
  tableName: "evaluation_result";
@@ -11970,19 +11970,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11970
11970
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11971
11971
  createdAt: z.ZodOptional<z.ZodString>;
11972
11972
  updatedAt: z.ZodOptional<z.ZodString>;
11973
- conversationId: z.ZodString;
11974
11973
  evaluatorId: z.ZodString;
11974
+ conversationId: z.ZodString;
11975
11975
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11976
11976
  }, z.core.$strip>;
11977
11977
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11978
11978
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11979
11979
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11980
11980
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11981
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11982
11981
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11982
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11983
11983
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11984
11984
  }, z.core.$strip>;
11985
- declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11985
+ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11986
11986
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11987
11987
  name: "created_at";
11988
11988
  tableName: "evaluation_run";
@@ -12108,7 +12108,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12108
12108
  }, {}, {
12109
12109
  length: 256;
12110
12110
  }>;
12111
- }, drizzle_zod15.BuildRefine<{
12111
+ }, drizzle_zod19.BuildRefine<{
12112
12112
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12113
12113
  name: "created_at";
12114
12114
  tableName: "evaluation_run";
@@ -12271,16 +12271,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
12271
12271
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
12272
12272
  createdAt: z.ZodOptional<z.ZodString>;
12273
12273
  updatedAt: z.ZodOptional<z.ZodString>;
12274
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12275
12274
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12275
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12276
12276
  }, z.core.$strip>;
12277
12277
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12278
12278
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12279
12279
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12280
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12281
12280
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12281
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12282
12282
  }, z.core.$strip>;
12283
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12283
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12284
12284
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12285
12285
  name: "created_at";
12286
12286
  tableName: "evaluation_run_config";
@@ -12425,7 +12425,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12425
12425
  }, {}, {
12426
12426
  length: 256;
12427
12427
  }>;
12428
- }, drizzle_zod15.BuildRefine<{
12428
+ }, drizzle_zod19.BuildRefine<{
12429
12429
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12430
12430
  name: "created_at";
12431
12431
  tableName: "evaluation_run_config";
@@ -12608,31 +12608,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12608
12608
  id: z.ZodString;
12609
12609
  }>, z.core.$strip>;
12610
12610
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12611
- createdAt: z.ZodOptional<z.ZodString>;
12612
12611
  name: z.ZodString;
12613
- updatedAt: z.ZodOptional<z.ZodString>;
12614
12612
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12613
+ createdAt: z.ZodOptional<z.ZodString>;
12614
+ updatedAt: z.ZodOptional<z.ZodString>;
12615
12615
  isActive: z.ZodOptional<z.ZodBoolean>;
12616
12616
  suiteConfigIds: z.ZodArray<z.ZodString>;
12617
12617
  }, z.core.$strip>;
12618
12618
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12619
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12620
12619
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12621
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
12620
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12621
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12623
12623
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12624
12624
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12627
12627
  id: z.ZodString;
12628
- createdAt: z.ZodString;
12629
12628
  name: z.ZodString;
12630
- updatedAt: z.ZodString;
12631
12629
  description: z.ZodNullable<z.ZodString>;
12630
+ createdAt: z.ZodString;
12631
+ updatedAt: z.ZodString;
12632
12632
  isActive: z.ZodBoolean;
12633
12633
  suiteConfigIds: z.ZodArray<z.ZodString>;
12634
12634
  }, z.core.$strip>;
12635
- declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12635
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12636
12636
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12637
12637
  name: "created_at";
12638
12638
  tableName: "evaluation_job_config";
@@ -12757,7 +12757,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12757
12757
  }, {}, {
12758
12758
  length: 256;
12759
12759
  }>;
12760
- }, drizzle_zod15.BuildRefine<{
12760
+ }, drizzle_zod19.BuildRefine<{
12761
12761
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12762
12762
  name: "created_at";
12763
12763
  tableName: "evaluation_job_config";
@@ -13064,7 +13064,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13064
13064
  } | undefined;
13065
13065
  }>>>>>>>;
13066
13066
  }, z.core.$strip>;
13067
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13067
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13068
13068
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13069
13069
  name: "created_at";
13070
13070
  tableName: "evaluation_suite_config";
@@ -13192,7 +13192,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
13192
13192
  }, {}, {
13193
13193
  length: 256;
13194
13194
  }>;
13195
- }, drizzle_zod15.BuildRefine<{
13195
+ }, drizzle_zod19.BuildRefine<{
13196
13196
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13197
13197
  name: "created_at";
13198
13198
  tableName: "evaluation_suite_config";
@@ -13368,7 +13368,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13368
13368
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13369
13369
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13370
13370
  }, z.core.$strip>;
13371
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13371
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13372
13372
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13373
13373
  name: "created_at";
13374
13374
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13498,7 +13498,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13498
13498
  }, {}, {
13499
13499
  length: 256;
13500
13500
  }>;
13501
- }, drizzle_zod15.BuildRefine<{
13501
+ }, drizzle_zod19.BuildRefine<{
13502
13502
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13503
13503
  name: "created_at";
13504
13504
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13665,16 +13665,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13665
13665
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13666
13666
  createdAt: z.ZodOptional<z.ZodString>;
13667
13667
  updatedAt: z.ZodOptional<z.ZodString>;
13668
- evaluationRunConfigId: z.ZodString;
13669
13668
  evaluationSuiteConfigId: z.ZodString;
13669
+ evaluationRunConfigId: z.ZodString;
13670
13670
  }, z.core.$strip>;
13671
13671
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13672
13672
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13673
13673
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13674
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13675
13674
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13675
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13676
13676
  }, z.core.$strip>;
13677
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13677
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13678
13678
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13679
13679
  name: "created_at";
13680
13680
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13804,7 +13804,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.Bu
13804
13804
  }, {}, {
13805
13805
  length: 256;
13806
13806
  }>;
13807
- }, drizzle_zod15.BuildRefine<{
13807
+ }, drizzle_zod19.BuildRefine<{
13808
13808
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13809
13809
  name: "created_at";
13810
13810
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13971,16 +13971,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
13971
13971
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13972
13972
  createdAt: z.ZodOptional<z.ZodString>;
13973
13973
  updatedAt: z.ZodOptional<z.ZodString>;
13974
- evaluationJobConfigId: z.ZodString;
13975
13974
  evaluatorId: z.ZodString;
13975
+ evaluationJobConfigId: z.ZodString;
13976
13976
  }, z.core.$strip>;
13977
13977
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13978
13978
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13979
13979
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13980
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13981
13980
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13981
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13982
13982
  }, z.core.$strip>;
13983
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13983
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13984
13984
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13985
13985
  name: "created_at";
13986
13986
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14110,7 +14110,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.
14110
14110
  }, {}, {
14111
14111
  length: 256;
14112
14112
  }>;
14113
- }, drizzle_zod15.BuildRefine<{
14113
+ }, drizzle_zod19.BuildRefine<{
14114
14114
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14115
14115
  name: "created_at";
14116
14116
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14277,16 +14277,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
14277
14277
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14278
14278
  createdAt: z.ZodOptional<z.ZodString>;
14279
14279
  updatedAt: z.ZodOptional<z.ZodString>;
14280
- evaluatorId: z.ZodString;
14281
14280
  evaluationSuiteConfigId: z.ZodString;
14281
+ evaluatorId: z.ZodString;
14282
14282
  }, z.core.$strip>;
14283
14283
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14284
14284
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14285
14285
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14286
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14287
14286
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14287
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14288
14288
  }, z.core.$strip>;
14289
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14289
+ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14290
14290
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14291
14291
  name: "created_at";
14292
14292
  tableName: "evaluator";
@@ -14494,7 +14494,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14494
14494
  }, {}, {
14495
14495
  length: 256;
14496
14496
  }>;
14497
- }, drizzle_zod15.BuildRefine<{
14497
+ }, drizzle_zod19.BuildRefine<{
14498
14498
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14499
14499
  name: "created_at";
14500
14500
  tableName: "evaluator";
@@ -14785,11 +14785,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14785
14785
  id: z.ZodString;
14786
14786
  }>, z.core.$strip>;
14787
14787
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14788
- createdAt: z.ZodOptional<z.ZodString>;
14789
14788
  name: z.ZodString;
14790
- updatedAt: z.ZodOptional<z.ZodString>;
14791
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14792
14789
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14790
+ prompt: z.ZodString;
14793
14791
  model: z.ZodType<{
14794
14792
  model?: string | undefined;
14795
14793
  providerOptions?: Record<string, any> | undefined;
@@ -14803,15 +14801,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14803
14801
  model?: string | undefined;
14804
14802
  providerOptions?: Record<string, any> | undefined;
14805
14803
  }>>;
14806
- prompt: z.ZodString;
14804
+ createdAt: z.ZodOptional<z.ZodString>;
14805
+ updatedAt: z.ZodOptional<z.ZodString>;
14806
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14807
14807
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14808
14808
  }, z.core.$strip>;
14809
14809
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14810
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14811
14810
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14812
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14813
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14814
14811
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14812
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14815
14813
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14816
14814
  model?: string | undefined;
14817
14815
  providerOptions?: Record<string, any> | undefined;
@@ -14825,10 +14823,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14825
14823
  model?: string | undefined;
14826
14824
  providerOptions?: Record<string, any> | undefined;
14827
14825
  }>>>>;
14828
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14826
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14827
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14828
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14829
14829
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14830
14830
  }, z.core.$strip>;
14831
- declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
14831
+ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
14832
14832
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14833
14833
  name: "created_at";
14834
14834
  tableName: "dataset";
@@ -14939,7 +14939,7 @@ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
14939
14939
  }, {}, {
14940
14940
  length: 256;
14941
14941
  }>;
14942
- }, drizzle_zod15.BuildRefine<{
14942
+ }, drizzle_zod19.BuildRefine<{
14943
14943
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14944
14944
  name: "created_at";
14945
14945
  tableName: "dataset";
@@ -15082,16 +15082,16 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
15082
15082
  id: z.ZodString;
15083
15083
  }>, z.core.$strip>;
15084
15084
  declare const DatasetApiInsertSchema: z.ZodObject<{
15085
- createdAt: z.ZodOptional<z.ZodString>;
15086
15085
  name: z.ZodString;
15086
+ createdAt: z.ZodOptional<z.ZodString>;
15087
15087
  updatedAt: z.ZodOptional<z.ZodString>;
15088
15088
  }, z.core.$strip>;
15089
15089
  declare const DatasetApiUpdateSchema: z.ZodObject<{
15090
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15091
15090
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15091
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15092
15092
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15093
15093
  }, z.core.$strip>;
15094
- declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15094
+ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15095
15095
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15096
15096
  name: "created_at";
15097
15097
  tableName: "dataset_item";
@@ -15279,7 +15279,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15279
15279
  }, {}, {
15280
15280
  length: 256;
15281
15281
  }>;
15282
- }, drizzle_zod15.BuildRefine<{
15282
+ }, drizzle_zod19.BuildRefine<{
15283
15283
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15284
15284
  name: "created_at";
15285
15285
  tableName: "dataset_item";
@@ -15722,8 +15722,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15722
15722
  }>>>>>>;
15723
15723
  }, z.core.$strip>;
15724
15724
  declare const DatasetRunItemSchema: z.ZodObject<{
15725
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15726
15725
  id: z.ZodOptional<z.ZodString>;
15726
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15727
15727
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15728
15728
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15729
15729
  prompt: string;
@@ -15771,8 +15771,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15771
15771
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15772
15772
  datasetRunId: z.ZodString;
15773
15773
  items: z.ZodArray<z.ZodObject<{
15774
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15775
15774
  id: z.ZodOptional<z.ZodString>;
15775
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15776
15776
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15777
15777
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15778
15778
  prompt: string;
@@ -15850,7 +15850,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
15850
15850
  }, z.core.$strip>>;
15851
15851
  }, z.core.$strip>>>;
15852
15852
  }, z.core.$strip>;
15853
- declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
15853
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
15854
15854
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15855
15855
  name: "created_at";
15856
15856
  tableName: "dataset_run_config";
@@ -15997,7 +15997,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select",
15997
15997
  }, {}, {
15998
15998
  length: 256;
15999
15999
  }>;
16000
- }, drizzle_zod15.BuildRefine<{
16000
+ }, drizzle_zod19.BuildRefine<{
16001
16001
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16002
16002
  name: "created_at";
16003
16003
  tableName: "dataset_run_config";
@@ -16182,20 +16182,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16182
16182
  id: z.ZodString;
16183
16183
  }>, z.core.$strip>;
16184
16184
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16185
- createdAt: z.ZodOptional<z.ZodString>;
16186
16185
  name: z.ZodString;
16187
- updatedAt: z.ZodOptional<z.ZodString>;
16188
16186
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16187
+ createdAt: z.ZodOptional<z.ZodString>;
16188
+ updatedAt: z.ZodOptional<z.ZodString>;
16189
16189
  datasetId: z.ZodString;
16190
16190
  }, z.core.$strip>;
16191
16191
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16192
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16193
16192
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16194
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
16193
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16194
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16196
16196
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16197
16197
  }, z.core.$strip>;
16198
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16198
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16199
16199
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16200
16200
  name: "created_at";
16201
16201
  tableName: "dataset_run_config_agent_relations";
@@ -16325,7 +16325,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSche
16325
16325
  }, {}, {
16326
16326
  length: 256;
16327
16327
  }>;
16328
- }, drizzle_zod15.BuildRefine<{
16328
+ }, drizzle_zod19.BuildRefine<{
16329
16329
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16330
16330
  name: "created_at";
16331
16331
  tableName: "dataset_run_config_agent_relations";
@@ -16501,20 +16501,20 @@ declare const SkillSelectSchema: z.ZodObject<{
16501
16501
  }>;
16502
16502
  declare const SkillInsertSchema: z.ZodObject<{
16503
16503
  name: z.ZodString;
16504
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16505
16504
  description: z.ZodString;
16506
- projectId: z.ZodString;
16507
16505
  tenantId: z.ZodString;
16506
+ projectId: z.ZodString;
16507
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16508
16508
  content: z.ZodString;
16509
16509
  }, {
16510
16510
  out: {};
16511
16511
  in: {};
16512
16512
  }>;
16513
16513
  declare const SkillUpdateSchema: z.ZodObject<{
16514
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16515
16514
  description: z.ZodOptional<z.ZodString>;
16516
- projectId: z.ZodOptional<z.ZodString>;
16517
16515
  tenantId: z.ZodOptional<z.ZodString>;
16516
+ projectId: z.ZodOptional<z.ZodString>;
16517
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16518
16518
  content: z.ZodOptional<z.ZodString>;
16519
16519
  }, {
16520
16520
  out: {};
@@ -16533,18 +16533,18 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16533
16533
  }>, z.core.$strip>;
16534
16534
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16535
16535
  name: z.ZodString;
16536
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16537
16536
  description: z.ZodString;
16538
- projectId: z.ZodString;
16539
16537
  tenantId: z.ZodString;
16538
+ projectId: z.ZodString;
16539
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16540
16540
  content: z.ZodString;
16541
16541
  }>, z.core.$strip>;
16542
16542
  declare const SkillApiUpdateSchema: z.ZodObject<{
16543
- metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16544
16543
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16544
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16545
16545
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16546
16546
  }, z.core.$strip>;
16547
- declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16547
+ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16548
16548
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16549
16549
  name: "created_at";
16550
16550
  tableName: "data_components";
@@ -16730,7 +16730,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16730
16730
  }, {}, {
16731
16731
  length: 256;
16732
16732
  }>;
16733
- }, drizzle_zod15.BuildRefine<{
16733
+ }, drizzle_zod19.BuildRefine<{
16734
16734
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16735
16735
  name: "created_at";
16736
16736
  tableName: "data_components";
@@ -17130,7 +17130,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17130
17130
  description: z.ZodOptional<z.ZodString>;
17131
17131
  }, z.core.$loose>;
17132
17132
  }, z.core.$strip>;
17133
- declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17133
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17134
17134
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
17135
17135
  name: "data_component_id";
17136
17136
  tableName: "sub_agent_data_components";
@@ -17262,7 +17262,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17262
17262
  }, {}, {
17263
17263
  length: 256;
17264
17264
  }>;
17265
- }, drizzle_zod15.BuildRefine<{
17265
+ }, drizzle_zod19.BuildRefine<{
17266
17266
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
17267
17267
  name: "data_component_id";
17268
17268
  tableName: "sub_agent_data_components";
@@ -17395,7 +17395,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17395
17395
  length: 256;
17396
17396
  }>;
17397
17397
  }, undefined>, undefined>;
17398
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17398
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17399
17399
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
17400
17400
  name: "data_component_id";
17401
17401
  tableName: "sub_agent_data_components";
@@ -17527,7 +17527,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17527
17527
  }, {}, {
17528
17528
  length: 256;
17529
17529
  }>;
17530
- }, drizzle_zod15.BuildRefine<Pick<{
17530
+ }, drizzle_zod19.BuildRefine<Pick<{
17531
17531
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
17532
17532
  name: "data_component_id";
17533
17533
  tableName: "sub_agent_data_components";
@@ -17659,7 +17659,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17659
17659
  }, {}, {
17660
17660
  length: 256;
17661
17661
  }>;
17662
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17662
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17663
17663
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17664
17664
  dataComponentId: z.ZodOptional<z.ZodString>;
17665
17665
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17695,7 +17695,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17695
17695
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17696
17696
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17697
17697
  }, z.core.$strip>;
17698
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17698
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17699
17699
  createdAt: drizzle_orm_pg_core211.PgColumn<{
17700
17700
  name: "created_at";
17701
17701
  tableName: "artifact_components";
@@ -17881,7 +17881,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
17881
17881
  }, {}, {
17882
17882
  length: 256;
17883
17883
  }>;
17884
- }, drizzle_zod15.BuildRefine<{
17884
+ }, drizzle_zod19.BuildRefine<{
17885
17885
  createdAt: drizzle_orm_pg_core211.PgColumn<{
17886
17886
  name: "created_at";
17887
17887
  tableName: "artifact_components";
@@ -18257,10 +18257,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18257
18257
  }>;
18258
18258
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18259
18259
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18260
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18261
18260
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18262
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
18261
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18262
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18264
18264
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18265
18265
  [x: string]: unknown;
18266
18266
  type: "object";
@@ -18304,7 +18304,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18304
18304
  mockData: Record<string, unknown>;
18305
18305
  }>>>>>>;
18306
18306
  }, z.core.$strip>;
18307
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18307
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18308
18308
  artifactComponentId: drizzle_orm_pg_core211.PgColumn<{
18309
18309
  name: "artifact_component_id";
18310
18310
  tableName: "sub_agent_artifact_components";
@@ -18436,7 +18436,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"
18436
18436
  }, {}, {
18437
18437
  length: 256;
18438
18438
  }>;
18439
- }, drizzle_zod15.BuildRefine<{
18439
+ }, drizzle_zod19.BuildRefine<{
18440
18440
  artifactComponentId: drizzle_orm_pg_core211.PgColumn<{
18441
18441
  name: "artifact_component_id";
18442
18442
  tableName: "sub_agent_artifact_components";
@@ -18675,10 +18675,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18675
18675
  }>, z.core.$strip>;
18676
18676
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18677
18677
  agentId: z.ZodString;
18678
- subAgentId: z.ZodString;
18679
- skillId: z.ZodString;
18680
18678
  index: z.ZodInt;
18681
18679
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18680
+ skillId: z.ZodString;
18681
+ subAgentId: z.ZodString;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
@@ -18687,18 +18687,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18687
18687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18688
18688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18689
18689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18690
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18691
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18692
18690
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18693
18691
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18692
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18693
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18694
18694
  }, z.core.$strip>;
18695
18695
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18696
18696
  id: z.ZodString;
18697
- createdAt: z.ZodString;
18698
18697
  name: z.ZodString;
18699
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18700
- updatedAt: z.ZodString;
18701
18698
  description: z.ZodString;
18699
+ createdAt: z.ZodString;
18700
+ updatedAt: z.ZodString;
18701
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18702
18702
  content: z.ZodString;
18703
18703
  subAgentSkillId: z.ZodString;
18704
18704
  subAgentId: z.ZodString;
@@ -18771,28 +18771,17 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18771
18771
  }>, z.core.$strip>;
18772
18772
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18773
18773
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18774
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18775
18774
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18776
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
18775
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18776
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18778
18778
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18779
18779
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18780
18780
  }, z.core.$strip>;
18781
18781
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18782
18782
  id: z.ZodString;
18783
- createdAt: z.ZodString;
18784
18783
  name: z.ZodString;
18785
- updatedAt: z.ZodString;
18786
18784
  description: z.ZodNullable<z.ZodString>;
18787
- stopWhen: z.ZodNullable<z.ZodType<{
18788
- stepCountIs?: number | undefined;
18789
- }, {
18790
- stepCountIs?: number | undefined;
18791
- }, z.core.$ZodTypeInternals<{
18792
- stepCountIs?: number | undefined;
18793
- }, {
18794
- stepCountIs?: number | undefined;
18795
- }>>>;
18796
18785
  prompt: z.ZodNullable<z.ZodString>;
18797
18786
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18798
18787
  models: z.ZodNullable<z.ZodType<{
@@ -18848,18 +18837,29 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18848
18837
  providerOptions?: Record<string, any> | undefined;
18849
18838
  } | undefined;
18850
18839
  }>>>;
18840
+ stopWhen: z.ZodNullable<z.ZodType<{
18841
+ stepCountIs?: number | undefined;
18842
+ }, {
18843
+ stepCountIs?: number | undefined;
18844
+ }, z.core.$ZodTypeInternals<{
18845
+ stepCountIs?: number | undefined;
18846
+ }, {
18847
+ stepCountIs?: number | undefined;
18848
+ }>>>;
18849
+ createdAt: z.ZodString;
18850
+ updatedAt: z.ZodString;
18851
18851
  type: z.ZodLiteral<"internal">;
18852
18852
  }, z.core.$strip>, z.ZodObject<{
18853
18853
  id: z.ZodString;
18854
- createdAt: z.ZodString;
18855
18854
  name: z.ZodString;
18856
- updatedAt: z.ZodString;
18857
18855
  description: z.ZodNullable<z.ZodString>;
18856
+ createdAt: z.ZodString;
18857
+ updatedAt: z.ZodString;
18858
18858
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18859
  baseUrl: z.ZodString;
18860
18860
  type: z.ZodLiteral<"external">;
18861
18861
  }, z.core.$strip>], "type">;
18862
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
18862
+ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
18863
18863
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18864
18864
  name: "created_at";
18865
18865
  tableName: "api_keys";
@@ -19080,7 +19080,7 @@ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19080
19080
  }, {}, {
19081
19081
  length: 256;
19082
19082
  }>;
19083
- }, drizzle_zod15.BuildRefine<{
19083
+ }, drizzle_zod19.BuildRefine<{
19084
19084
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19085
19085
  name: "created_at";
19086
19086
  tableName: "api_keys";
@@ -19321,9 +19321,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19321
19321
  }>;
19322
19322
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19323
19323
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19325
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19326
19324
  agentId: z.ZodOptional<z.ZodString>;
19325
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19326
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19327
19327
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19328
  }, {
19329
19329
  out: {};
@@ -19331,11 +19331,11 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19331
19331
  }>;
19332
19332
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19333
19333
  id: z.ZodString;
19334
- createdAt: z.ZodString;
19335
19334
  name: z.ZodNullable<z.ZodString>;
19336
- expiresAt: z.ZodNullable<z.ZodString>;
19337
- updatedAt: z.ZodString;
19338
19335
  agentId: z.ZodString;
19336
+ createdAt: z.ZodString;
19337
+ updatedAt: z.ZodString;
19338
+ expiresAt: z.ZodNullable<z.ZodString>;
19339
19339
  publicId: z.ZodString;
19340
19340
  keyPrefix: z.ZodString;
19341
19341
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19347,11 +19347,11 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19347
19347
  data: z.ZodObject<{
19348
19348
  apiKey: z.ZodObject<{
19349
19349
  id: z.ZodString;
19350
- createdAt: z.ZodString;
19351
19350
  name: z.ZodNullable<z.ZodString>;
19352
- expiresAt: z.ZodNullable<z.ZodString>;
19353
- updatedAt: z.ZodString;
19354
19351
  agentId: z.ZodString;
19352
+ createdAt: z.ZodString;
19353
+ updatedAt: z.ZodString;
19354
+ expiresAt: z.ZodNullable<z.ZodString>;
19355
19355
  publicId: z.ZodString;
19356
19356
  keyPrefix: z.ZodString;
19357
19357
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19363,26 +19363,26 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19363
19363
  }, z.core.$strip>;
19364
19364
  }, z.core.$strip>;
19365
19365
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19366
- createdAt: z.ZodOptional<z.ZodString>;
19367
19366
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19368
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19369
- updatedAt: z.ZodOptional<z.ZodString>;
19370
19367
  agentId: z.ZodString;
19368
+ createdAt: z.ZodOptional<z.ZodString>;
19369
+ updatedAt: z.ZodOptional<z.ZodString>;
19370
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19371
19371
  }, {
19372
19372
  out: {};
19373
19373
  in: {};
19374
19374
  }>;
19375
19375
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19376
19376
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19377
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19378
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19379
19377
  agentId: z.ZodOptional<z.ZodString>;
19378
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19379
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19380
19380
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19381
19381
  }, {
19382
19382
  out: {};
19383
19383
  in: {};
19384
19384
  }>;
19385
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19385
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19386
19386
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19387
19387
  name: "created_at";
19388
19388
  tableName: "credential_references";
@@ -19607,7 +19607,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
19607
19607
  }, {}, {
19608
19608
  length: 256;
19609
19609
  }>;
19610
- }, drizzle_zod15.BuildRefine<{
19610
+ }, drizzle_zod19.BuildRefine<{
19611
19611
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19612
19612
  name: "created_at";
19613
19613
  tableName: "credential_references";
@@ -19869,20 +19869,20 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19869
19869
  }>;
19870
19870
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19871
19871
  id: z.ZodString;
19872
- userId: z.ZodNullable<z.ZodString>;
19873
- createdAt: z.ZodString;
19874
19872
  name: z.ZodString;
19873
+ createdAt: z.ZodString;
19875
19874
  updatedAt: z.ZodString;
19875
+ toolId: z.ZodNullable<z.ZodString>;
19876
+ userId: z.ZodNullable<z.ZodString>;
19876
19877
  credentialStoreId: z.ZodString;
19877
19878
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19878
- toolId: z.ZodNullable<z.ZodString>;
19879
19879
  createdBy: z.ZodNullable<z.ZodString>;
19880
19880
  type: z.ZodEnum<{
19881
19881
  readonly memory: "memory";
19882
19882
  readonly keychain: "keychain";
19883
19883
  readonly nango: "nango";
19884
19884
  }>;
19885
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
19885
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
19886
19886
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19887
19887
  name: "created_at";
19888
19888
  tableName: "tools";
@@ -20162,7 +20162,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20162
20162
  }, {}, {
20163
20163
  length: 256;
20164
20164
  }>;
20165
- }, drizzle_zod15.BuildRefine<{
20165
+ }, drizzle_zod19.BuildRefine<{
20166
20166
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20167
20167
  name: "created_at";
20168
20168
  tableName: "tools";
@@ -20460,13 +20460,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20460
20460
  }, z.core.$strip>;
20461
20461
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20462
20462
  id: z.ZodString;
20463
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20464
- createdAt: z.ZodOptional<z.ZodString>;
20465
20463
  name: z.ZodString;
20464
+ createdAt: z.ZodOptional<z.ZodString>;
20466
20465
  updatedAt: z.ZodOptional<z.ZodString>;
20466
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
20468
  credentialStoreId: z.ZodString;
20468
20469
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20469
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20470
20470
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20471
20471
  type: z.ZodEnum<{
20472
20472
  readonly memory: "memory";
@@ -20476,13 +20476,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20476
20476
  }, z.core.$strip>;
20477
20477
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20478
20478
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20479
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20480
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20481
20479
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20480
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
20481
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
20484
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20484
20485
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20485
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20486
20486
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20487
20487
  type: z.ZodOptional<z.ZodEnum<{
20488
20488
  readonly memory: "memory";
@@ -20608,14 +20608,14 @@ declare const McpToolSchema: z.ZodObject<{
20608
20608
  declare const MCPToolConfigSchema: z.ZodObject<{
20609
20609
  id: z.ZodString;
20610
20610
  name: z.ZodString;
20611
- expiresAt: z.ZodOptional<z.ZodString>;
20612
20611
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20613
- createdBy: z.ZodOptional<z.ZodString>;
20612
+ expiresAt: z.ZodOptional<z.ZodString>;
20614
20613
  credentialScope: z.ZodOptional<z.ZodString>;
20615
20614
  imageUrl: z.ZodOptional<z.ZodString>;
20616
20615
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20617
20616
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20618
20617
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20618
+ createdBy: z.ZodOptional<z.ZodString>;
20619
20619
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20620
20620
  name: z.ZodString;
20621
20621
  description: z.ZodOptional<z.ZodString>;
@@ -20643,13 +20643,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20643
20643
  }, z.core.$strip>>;
20644
20644
  credential: z.ZodOptional<z.ZodObject<{
20645
20645
  id: z.ZodString;
20646
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20647
- createdAt: z.ZodOptional<z.ZodString>;
20648
20646
  name: z.ZodString;
20647
+ createdAt: z.ZodOptional<z.ZodString>;
20649
20648
  updatedAt: z.ZodOptional<z.ZodString>;
20649
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
20651
  credentialStoreId: z.ZodString;
20651
20652
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20652
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20653
20653
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20654
20654
  type: z.ZodEnum<{
20655
20655
  readonly memory: "memory";
@@ -20786,10 +20786,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20786
20786
  }>, z.core.$strip>;
20787
20787
  declare const ToolApiUpdateSchema: z.ZodObject<{
20788
20788
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20789
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20790
20789
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20791
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
20790
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20791
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20793
20793
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20794
20794
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20795
20795
  type: z.ZodLiteral<"mcp">;
@@ -20824,7 +20824,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20824
20824
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20825
20825
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20826
20826
  }, z.core.$strip>;
20827
- declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20827
+ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20828
20828
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20829
20829
  name: "created_at";
20830
20830
  tableName: "function_tools";
@@ -20990,7 +20990,7 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20990
20990
  }, {}, {
20991
20991
  length: 256;
20992
20992
  }>;
20993
- }, drizzle_zod15.BuildRefine<{
20993
+ }, drizzle_zod19.BuildRefine<{
20994
20994
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20995
20995
  name: "created_at";
20996
20996
  tableName: "function_tools";
@@ -21187,11 +21187,11 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21187
21187
  }>;
21188
21188
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21189
21189
  id: z.ZodString;
21190
- createdAt: z.ZodString;
21191
21190
  name: z.ZodString;
21192
- updatedAt: z.ZodString;
21193
21191
  description: z.ZodNullable<z.ZodString>;
21194
21192
  agentId: z.ZodString;
21193
+ createdAt: z.ZodString;
21194
+ updatedAt: z.ZodString;
21195
21195
  functionId: z.ZodString;
21196
21196
  relationshipId: z.ZodOptional<z.ZodString>;
21197
21197
  }, z.core.$strip>;
@@ -21208,14 +21208,14 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21208
21208
  }>, z.core.$strip>;
21209
21209
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21210
21210
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21211
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21212
21211
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21213
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21214
21212
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21215
21213
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21214
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21215
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21216
21216
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21217
21217
  }, z.core.$strip>;
21218
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21218
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21219
21219
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21220
21220
  name: "created_at";
21221
21221
  tableName: "sub_agent_function_tool_relations";
@@ -21387,7 +21387,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21387
21387
  }, {}, {
21388
21388
  length: 256;
21389
21389
  }>;
21390
- }, drizzle_zod15.BuildRefine<{
21390
+ }, drizzle_zod19.BuildRefine<{
21391
21391
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21392
21392
  name: "created_at";
21393
21393
  tableName: "sub_agent_function_tool_relations";
@@ -21563,7 +21563,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21563
21563
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21564
21564
  createdAt: z.ZodOptional<z.ZodString>;
21565
21565
  updatedAt: z.ZodOptional<z.ZodString>;
21566
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21566
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21567
21567
  agentId: z.ZodString;
21568
21568
  projectId: z.ZodString;
21569
21569
  tenantId: z.ZodString;
@@ -21578,7 +21578,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21578
21578
  createdAt: z.ZodString;
21579
21579
  updatedAt: z.ZodString;
21580
21580
  functionToolId: z.ZodString;
21581
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21581
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21582
21582
  subAgentId: z.ZodString;
21583
21583
  agentId: z.ZodString;
21584
21584
  projectId: z.ZodString;
@@ -21586,14 +21586,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21586
21586
  id: z.ZodString;
21587
21587
  }>, z.core.$strip>;
21588
21588
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21589
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21589
21590
  subAgentId: z.ZodString;
21590
21591
  functionToolId: z.ZodString;
21591
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21592
21592
  }, {
21593
21593
  out: {};
21594
21594
  in: {};
21595
21595
  }>;
21596
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21596
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21597
21597
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21598
21598
  name: "created_at";
21599
21599
  tableName: "functions";
@@ -21740,7 +21740,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21740
21740
  }, {}, {
21741
21741
  length: 256;
21742
21742
  }>;
21743
- }, drizzle_zod15.BuildRefine<{
21743
+ }, drizzle_zod19.BuildRefine<{
21744
21744
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21745
21745
  name: "created_at";
21746
21746
  tableName: "functions";
@@ -21937,8 +21937,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
21937
21937
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21938
21938
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21939
21939
  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>>>>>>>;
21940
- 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>>>>>>>;
21941
21940
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21941
+ 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>>>>>>>;
21942
21942
  }, z.core.$strip>;
21943
21943
  declare const FetchConfigSchema: z.ZodObject<{
21944
21944
  url: z.ZodString;
@@ -21981,13 +21981,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21981
21981
  defaultValue: z.ZodOptional<z.ZodAny>;
21982
21982
  credential: z.ZodOptional<z.ZodObject<{
21983
21983
  id: z.ZodString;
21984
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21985
- createdAt: z.ZodOptional<z.ZodString>;
21986
21984
  name: z.ZodString;
21985
+ createdAt: z.ZodOptional<z.ZodString>;
21987
21986
  updatedAt: z.ZodOptional<z.ZodString>;
21987
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
21989
  credentialStoreId: z.ZodString;
21989
21990
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21990
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21991
21991
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21992
21992
  type: z.ZodEnum<{
21993
21993
  readonly memory: "memory";
@@ -22011,9 +22011,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22011
22011
  }>;
22012
22012
  declare const ContextConfigInsertSchema: z.ZodObject<{
22013
22013
  id: z.ZodOptional<z.ZodString>;
22014
- agentId: z.ZodString;
22015
- projectId: z.ZodString;
22016
22014
  tenantId: z.ZodString;
22015
+ projectId: z.ZodString;
22016
+ agentId: z.ZodString;
22017
22017
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22018
22018
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22019
22019
  }, {
@@ -22022,9 +22022,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22022
22022
  }>;
22023
22023
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22024
22024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22025
- agentId: z.ZodOptional<z.ZodString>;
22026
- projectId: z.ZodOptional<z.ZodString>;
22027
22025
  tenantId: z.ZodOptional<z.ZodString>;
22026
+ projectId: z.ZodOptional<z.ZodString>;
22027
+ agentId: z.ZodOptional<z.ZodString>;
22028
22028
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22029
22029
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22030
22030
  }, {
@@ -22048,7 +22048,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22048
22048
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22049
22049
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22050
22050
  }, z.core.$strip>;
22051
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22051
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22052
22052
  createdAt: drizzle_orm_pg_core211.PgColumn<{
22053
22053
  name: "created_at";
22054
22054
  tableName: "sub_agent_tool_relations";
@@ -22258,7 +22258,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
22258
22258
  }, {}, {
22259
22259
  length: 256;
22260
22260
  }>;
22261
- }, drizzle_zod15.BuildRefine<{
22261
+ }, drizzle_zod19.BuildRefine<{
22262
22262
  createdAt: drizzle_orm_pg_core211.PgColumn<{
22263
22263
  name: "created_at";
22264
22264
  tableName: "sub_agent_tool_relations";
@@ -22509,9 +22509,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22509
22509
  createdAt: z.ZodString;
22510
22510
  updatedAt: z.ZodString;
22511
22511
  toolId: z.ZodString;
22512
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22513
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22514
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22512
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22513
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22514
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22515
22515
  subAgentId: z.ZodString;
22516
22516
  agentId: z.ZodString;
22517
22517
  projectId: z.ZodString;
@@ -22537,15 +22537,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22537
22537
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22538
22538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22539
22539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22540
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22541
22540
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22542
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22541
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22543
22542
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22544
22543
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22545
22544
  }, z.core.$strip>>>>>>;
22545
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22546
22546
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22547
22547
  }, z.core.$strip>;
22548
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22548
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22549
22549
  createdAt: drizzle_orm_pg_core211.PgColumn<{
22550
22550
  name: "created_at";
22551
22551
  tableName: "sub_agent_external_agent_relations";
@@ -22713,7 +22713,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
22713
22713
  }, {}, {
22714
22714
  length: 256;
22715
22715
  }>;
22716
- }, drizzle_zod15.BuildRefine<{
22716
+ }, drizzle_zod19.BuildRefine<{
22717
22717
  createdAt: drizzle_orm_pg_core211.PgColumn<{
22718
22718
  name: "created_at";
22719
22719
  tableName: "sub_agent_external_agent_relations";
@@ -22914,7 +22914,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
22914
22914
  createdAt: z.ZodString;
22915
22915
  updatedAt: z.ZodString;
22916
22916
  externalAgentId: z.ZodString;
22917
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22917
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22918
22918
  subAgentId: z.ZodString;
22919
22919
  agentId: z.ZodString;
22920
22920
  projectId: z.ZodString;
@@ -22932,10 +22932,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22932
22932
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22933
22933
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22934
22934
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22935
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
22935
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22937
22937
  }, z.core.$strip>;
22938
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22938
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22939
22939
  createdAt: drizzle_orm_pg_core211.PgColumn<{
22940
22940
  name: "created_at";
22941
22941
  tableName: "sub_agent_team_agent_relations";
@@ -23103,7 +23103,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
23103
23103
  }, {}, {
23104
23104
  length: 256;
23105
23105
  }>;
23106
- }, drizzle_zod15.BuildRefine<{
23106
+ }, drizzle_zod19.BuildRefine<{
23107
23107
  createdAt: drizzle_orm_pg_core211.PgColumn<{
23108
23108
  name: "created_at";
23109
23109
  tableName: "sub_agent_team_agent_relations";
@@ -23304,7 +23304,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23304
23304
  createdAt: z.ZodString;
23305
23305
  updatedAt: z.ZodString;
23306
23306
  targetAgentId: z.ZodString;
23307
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23307
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23308
23308
  subAgentId: z.ZodString;
23309
23309
  agentId: z.ZodString;
23310
23310
  projectId: z.ZodString;
@@ -23325,7 +23325,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23325
23325
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23326
23326
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23327
23327
  }, z.core.$strip>;
23328
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23328
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23329
23329
  createdAt: drizzle_orm_pg_core211.PgColumn<{
23330
23330
  name: "created_at";
23331
23331
  tableName: "ledger_artifacts";
@@ -23660,7 +23660,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23660
23660
  }, {}, {
23661
23661
  length: 256;
23662
23662
  }>;
23663
- }, drizzle_zod15.BuildRefine<{
23663
+ }, drizzle_zod19.BuildRefine<{
23664
23664
  createdAt: drizzle_orm_pg_core211.PgColumn<{
23665
23665
  name: "created_at";
23666
23666
  tableName: "ledger_artifacts";
@@ -23996,7 +23996,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23996
23996
  length: 256;
23997
23997
  }>;
23998
23998
  }, undefined>, undefined>;
23999
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
23999
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24000
24000
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24001
24001
  name: "created_at";
24002
24002
  tableName: "ledger_artifacts";
@@ -24331,7 +24331,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24331
24331
  }, {}, {
24332
24332
  length: 256;
24333
24333
  }>;
24334
- }, drizzle_zod15.BuildRefine<Pick<{
24334
+ }, drizzle_zod19.BuildRefine<Pick<{
24335
24335
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24336
24336
  name: "created_at";
24337
24337
  tableName: "ledger_artifacts";
@@ -24666,7 +24666,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24666
24666
  }, {}, {
24667
24667
  length: 256;
24668
24668
  }>;
24669
- }, "type" | "id" | "createdAt" | "name" | "metadata" | "updatedAt" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24669
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24670
24670
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24671
24671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24672
24672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24676,12 +24676,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24676
24676
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24677
24677
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24678
24678
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24679
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24680
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24679
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24680
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24681
24681
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24682
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24682
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24683
24683
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24684
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24684
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24685
24685
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24686
24686
  projectId: z.ZodOptional<z.ZodString>;
24687
24687
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24699,12 +24699,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24699
24699
  type: z.ZodString;
24700
24700
  name: z.ZodNullable<z.ZodString>;
24701
24701
  description: z.ZodNullable<z.ZodString>;
24702
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24703
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24702
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24703
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24704
24704
  summary: z.ZodNullable<z.ZodString>;
24705
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24705
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24706
24706
  visibility: z.ZodNullable<z.ZodString>;
24707
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24707
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24708
24708
  derivedFrom: z.ZodNullable<z.ZodString>;
24709
24709
  projectId: z.ZodString;
24710
24710
  tenantId: z.ZodString;
@@ -24719,33 +24719,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24719
24719
  type: z.ZodOptional<z.ZodString>;
24720
24720
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24721
24721
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24722
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24723
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24722
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24723
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24724
24724
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24725
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24725
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24726
24726
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24727
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24727
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24728
24728
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24729
24729
  projectId: z.ZodString;
24730
24730
  tenantId: z.ZodString;
24731
24731
  id: z.ZodString;
24732
24732
  }>, z.core.$strip>;
24733
24733
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24734
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24735
24734
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24736
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24737
24735
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24738
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24739
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24740
24736
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24737
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24738
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24739
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24740
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24741
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24741
24742
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24742
24743
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24743
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24744
24744
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24745
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24745
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24746
24746
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24747
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24748
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24747
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24748
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24749
24749
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24750
24750
  }, z.core.$strip>;
24751
24751
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24812,19 +24812,8 @@ declare const TeamAgentSchema: z.ZodObject<{
24812
24812
  }, z.core.$strip>;
24813
24813
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24814
24814
  id: z.ZodString;
24815
- createdAt: z.ZodOptional<z.ZodString>;
24816
24815
  name: z.ZodString;
24817
- updatedAt: z.ZodOptional<z.ZodString>;
24818
24816
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24819
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
24820
- stepCountIs?: number | undefined;
24821
- }, {
24822
- stepCountIs?: number | undefined;
24823
- }, z.core.$ZodTypeInternals<{
24824
- stepCountIs?: number | undefined;
24825
- }, {
24826
- stepCountIs?: number | undefined;
24827
- }>>>>;
24828
24817
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24829
24818
  models: z.ZodOptional<z.ZodObject<{
24830
24819
  base: z.ZodOptional<z.ZodObject<{
@@ -24840,6 +24829,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24840
24829
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24841
24830
  }, z.core.$strip>>;
24842
24831
  }, z.core.$strip>>;
24832
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
24833
+ stepCountIs?: number | undefined;
24834
+ }, {
24835
+ stepCountIs?: number | undefined;
24836
+ }, z.core.$ZodTypeInternals<{
24837
+ stepCountIs?: number | undefined;
24838
+ }, {
24839
+ stepCountIs?: number | undefined;
24840
+ }>>>>;
24841
+ createdAt: z.ZodOptional<z.ZodString>;
24842
+ updatedAt: z.ZodOptional<z.ZodString>;
24843
24843
  type: z.ZodLiteral<"internal">;
24844
24844
  canUse: z.ZodArray<z.ZodObject<{
24845
24845
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24870,28 +24870,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24870
24870
  }, z.core.$strip>]>>>;
24871
24871
  }, z.core.$strip>;
24872
24872
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24873
- createdAt: z.ZodOptional<z.ZodString>;
24874
24873
  name: z.ZodString;
24875
- updatedAt: z.ZodOptional<z.ZodString>;
24876
24874
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24877
24875
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24876
+ createdAt: z.ZodOptional<z.ZodString>;
24877
+ updatedAt: z.ZodOptional<z.ZodString>;
24878
24878
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24879
24879
  id: z.ZodString;
24880
24880
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24881
24881
  id: z.ZodString;
24882
- createdAt: z.ZodOptional<z.ZodString>;
24883
24882
  name: z.ZodString;
24884
- updatedAt: z.ZodOptional<z.ZodString>;
24885
24883
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24886
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
24887
- stepCountIs?: number | undefined;
24888
- }, {
24889
- stepCountIs?: number | undefined;
24890
- }, z.core.$ZodTypeInternals<{
24891
- stepCountIs?: number | undefined;
24892
- }, {
24893
- stepCountIs?: number | undefined;
24894
- }>>>>;
24895
24884
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24896
24885
  models: z.ZodOptional<z.ZodObject<{
24897
24886
  base: z.ZodOptional<z.ZodObject<{
@@ -24907,6 +24896,17 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24907
24896
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24908
24897
  }, z.core.$strip>>;
24909
24898
  }, z.core.$strip>>;
24899
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
24900
+ stepCountIs?: number | undefined;
24901
+ }, {
24902
+ stepCountIs?: number | undefined;
24903
+ }, z.core.$ZodTypeInternals<{
24904
+ stepCountIs?: number | undefined;
24905
+ }, {
24906
+ stepCountIs?: number | undefined;
24907
+ }>>>>;
24908
+ createdAt: z.ZodOptional<z.ZodString>;
24909
+ updatedAt: z.ZodOptional<z.ZodString>;
24910
24910
  type: z.ZodLiteral<"internal">;
24911
24911
  canUse: z.ZodArray<z.ZodObject<{
24912
24912
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25014,30 +25014,30 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25014
25014
  executeCode: z.ZodString;
25015
25015
  }, z.core.$strip>>>;
25016
25016
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25017
- createdAt: z.ZodOptional<z.ZodString>;
25018
25017
  name: z.ZodString;
25019
- updatedAt: z.ZodOptional<z.ZodString>;
25020
25018
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25021
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25019
+ createdAt: z.ZodOptional<z.ZodString>;
25020
+ updatedAt: z.ZodOptional<z.ZodString>;
25022
25021
  enabled: z.ZodOptional<z.ZodBoolean>;
25023
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25022
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25023
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25024
25024
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25025
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25025
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25026
25026
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25027
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25027
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25028
25028
  id: z.ZodOptional<z.ZodString>;
25029
25029
  }, z.core.$strip>>>;
25030
25030
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25031
- createdAt: z.ZodOptional<z.ZodString>;
25032
25031
  name: z.ZodString;
25033
- updatedAt: z.ZodOptional<z.ZodString>;
25034
25032
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25033
+ createdAt: z.ZodOptional<z.ZodString>;
25034
+ updatedAt: z.ZodOptional<z.ZodString>;
25035
25035
  enabled: z.ZodOptional<z.ZodBoolean>;
25036
25036
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25037
25037
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25038
25038
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25039
25039
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25040
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25040
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25041
25041
  maxRetries: z.ZodOptional<z.ZodNumber>;
25042
25042
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25043
25043
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25145,10 +25145,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
25145
25145
  id: z.ZodString;
25146
25146
  name: z.ZodString;
25147
25147
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25148
- stopWhen: z.ZodOptional<z.ZodObject<{
25149
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25150
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25151
- }, z.core.$strip>>;
25148
+ tenantId: z.ZodString;
25152
25149
  models: z.ZodObject<{
25153
25150
  base: z.ZodObject<{
25154
25151
  model: z.ZodOptional<z.ZodString>;
@@ -25163,7 +25160,10 @@ declare const ProjectInsertSchema: z.ZodObject<{
25163
25160
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25164
25161
  }, z.core.$strip>>;
25165
25162
  }, z.core.$strip>;
25166
- tenantId: z.ZodString;
25163
+ stopWhen: z.ZodOptional<z.ZodObject<{
25164
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25165
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25166
+ }, z.core.$strip>>;
25167
25167
  }, {
25168
25168
  out: {};
25169
25169
  in: {};
@@ -25171,10 +25171,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
25171
25171
  declare const ProjectUpdateSchema: z.ZodObject<{
25172
25172
  name: z.ZodOptional<z.ZodString>;
25173
25173
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25174
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25175
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25176
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25177
- }, z.core.$strip>>>;
25178
25174
  models: z.ZodOptional<z.ZodObject<{
25179
25175
  base: z.ZodObject<{
25180
25176
  model: z.ZodOptional<z.ZodString>;
@@ -25189,20 +25185,18 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25189
25185
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25190
25186
  }, z.core.$strip>>;
25191
25187
  }, z.core.$strip>>;
25188
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25189
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25190
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25191
+ }, z.core.$strip>>>;
25192
25192
  }, {
25193
25193
  out: {};
25194
25194
  in: {};
25195
25195
  }>;
25196
25196
  declare const ProjectApiSelectSchema: z.ZodObject<{
25197
25197
  id: z.ZodString;
25198
- createdAt: z.ZodString;
25199
25198
  name: z.ZodString;
25200
- updatedAt: z.ZodString;
25201
25199
  description: z.ZodNullable<z.ZodString>;
25202
- stopWhen: z.ZodNullable<z.ZodObject<{
25203
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25204
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25205
- }, z.core.$strip>>;
25206
25200
  models: z.ZodNullable<z.ZodObject<{
25207
25201
  base: z.ZodObject<{
25208
25202
  model: z.ZodOptional<z.ZodString>;
@@ -25217,6 +25211,12 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25217
25211
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25218
25212
  }, z.core.$strip>>;
25219
25213
  }, z.core.$strip>>;
25214
+ stopWhen: z.ZodNullable<z.ZodObject<{
25215
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25216
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25217
+ }, z.core.$strip>>;
25218
+ createdAt: z.ZodString;
25219
+ updatedAt: z.ZodString;
25220
25220
  }, {
25221
25221
  out: {};
25222
25222
  in: {};
@@ -25225,10 +25225,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25225
25225
  id: z.ZodString;
25226
25226
  name: z.ZodString;
25227
25227
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25228
- stopWhen: z.ZodOptional<z.ZodObject<{
25229
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25230
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25231
- }, z.core.$strip>>;
25232
25228
  models: z.ZodObject<{
25233
25229
  base: z.ZodObject<{
25234
25230
  model: z.ZodOptional<z.ZodString>;
@@ -25243,6 +25239,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25243
25239
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25244
25240
  }, z.core.$strip>>;
25245
25241
  }, z.core.$strip>;
25242
+ stopWhen: z.ZodOptional<z.ZodObject<{
25243
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25244
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25245
+ }, z.core.$strip>>;
25246
25246
  }, {
25247
25247
  out: {};
25248
25248
  in: {};
@@ -25250,10 +25250,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25250
25250
  declare const ProjectApiUpdateSchema: z.ZodObject<{
25251
25251
  name: z.ZodOptional<z.ZodString>;
25252
25252
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25253
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25254
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25255
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25256
- }, z.core.$strip>>>;
25257
25253
  models: z.ZodOptional<z.ZodObject<{
25258
25254
  base: z.ZodObject<{
25259
25255
  model: z.ZodOptional<z.ZodString>;
@@ -25268,6 +25264,10 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25268
25264
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25269
25265
  }, z.core.$strip>>;
25270
25266
  }, z.core.$strip>>;
25267
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25268
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25269
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25270
+ }, z.core.$strip>>>;
25271
25271
  }, {
25272
25272
  out: {};
25273
25273
  in: {};
@@ -25276,10 +25276,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25276
25276
  id: z.ZodString;
25277
25277
  name: z.ZodString;
25278
25278
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25279
- stopWhen: z.ZodOptional<z.ZodObject<{
25280
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25281
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25282
- }, z.core.$strip>>;
25283
25279
  models: z.ZodObject<{
25284
25280
  base: z.ZodObject<{
25285
25281
  model: z.ZodOptional<z.ZodString>;
@@ -25294,29 +25290,22 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25294
25290
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25295
25291
  }, z.core.$strip>>;
25296
25292
  }, z.core.$strip>;
25293
+ stopWhen: z.ZodOptional<z.ZodObject<{
25294
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25295
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25296
+ }, z.core.$strip>>;
25297
25297
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25298
- createdAt: z.ZodOptional<z.ZodString>;
25299
25298
  name: z.ZodString;
25300
- updatedAt: z.ZodOptional<z.ZodString>;
25301
25299
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25302
25300
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25301
+ createdAt: z.ZodOptional<z.ZodString>;
25302
+ updatedAt: z.ZodOptional<z.ZodString>;
25303
25303
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25304
25304
  id: z.ZodString;
25305
25305
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25306
25306
  id: z.ZodString;
25307
- createdAt: z.ZodOptional<z.ZodString>;
25308
25307
  name: z.ZodString;
25309
- updatedAt: z.ZodOptional<z.ZodString>;
25310
25308
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25311
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
25312
- stepCountIs?: number | undefined;
25313
- }, {
25314
- stepCountIs?: number | undefined;
25315
- }, z.core.$ZodTypeInternals<{
25316
- stepCountIs?: number | undefined;
25317
- }, {
25318
- stepCountIs?: number | undefined;
25319
- }>>>>;
25320
25309
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25321
25310
  models: z.ZodOptional<z.ZodObject<{
25322
25311
  base: z.ZodOptional<z.ZodObject<{
@@ -25332,6 +25321,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25332
25321
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25333
25322
  }, z.core.$strip>>;
25334
25323
  }, z.core.$strip>>;
25324
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
25325
+ stepCountIs?: number | undefined;
25326
+ }, {
25327
+ stepCountIs?: number | undefined;
25328
+ }, z.core.$ZodTypeInternals<{
25329
+ stepCountIs?: number | undefined;
25330
+ }, {
25331
+ stepCountIs?: number | undefined;
25332
+ }>>>>;
25333
+ createdAt: z.ZodOptional<z.ZodString>;
25334
+ updatedAt: z.ZodOptional<z.ZodString>;
25335
25335
  type: z.ZodLiteral<"internal">;
25336
25336
  canUse: z.ZodArray<z.ZodObject<{
25337
25337
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25439,30 +25439,30 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25439
25439
  executeCode: z.ZodString;
25440
25440
  }, z.core.$strip>>>;
25441
25441
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25442
- createdAt: z.ZodOptional<z.ZodString>;
25443
25442
  name: z.ZodString;
25444
- updatedAt: z.ZodOptional<z.ZodString>;
25445
25443
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25444
+ createdAt: z.ZodOptional<z.ZodString>;
25445
+ updatedAt: z.ZodOptional<z.ZodString>;
25447
25446
  enabled: z.ZodOptional<z.ZodBoolean>;
25448
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25447
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25448
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25449
25449
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25450
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25450
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25451
25451
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25452
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25452
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25453
25453
  id: z.ZodOptional<z.ZodString>;
25454
25454
  }, z.core.$strip>>>;
25455
25455
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25456
- createdAt: z.ZodOptional<z.ZodString>;
25457
25456
  name: z.ZodString;
25458
- updatedAt: z.ZodOptional<z.ZodString>;
25459
25457
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25458
+ createdAt: z.ZodOptional<z.ZodString>;
25459
+ updatedAt: z.ZodOptional<z.ZodString>;
25460
25460
  enabled: z.ZodOptional<z.ZodBoolean>;
25461
25461
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25462
25462
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25463
25463
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25464
25464
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25465
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25465
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25466
25466
  maxRetries: z.ZodOptional<z.ZodNumber>;
25467
25467
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25468
25468
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25570,10 +25570,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25570
25570
  }, z.core.$strip>>>;
25571
25571
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25572
25572
  name: z.ZodString;
25573
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25574
25573
  description: z.ZodString;
25575
- projectId: z.ZodString;
25576
25574
  tenantId: z.ZodString;
25575
+ projectId: z.ZodString;
25576
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25577
25577
  content: z.ZodString;
25578
25578
  }>, z.core.$strip>>>;
25579
25579
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25659,13 +25659,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25659
25659
  }, z.core.$strip>>;
25660
25660
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25661
25661
  id: z.ZodString;
25662
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25663
- createdAt: z.ZodOptional<z.ZodString>;
25664
25662
  name: z.ZodString;
25663
+ createdAt: z.ZodOptional<z.ZodString>;
25665
25664
  updatedAt: z.ZodOptional<z.ZodString>;
25665
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
25667
  credentialStoreId: z.ZodString;
25667
25668
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25668
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25669
25669
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25670
25670
  type: z.ZodEnum<{
25671
25671
  readonly memory: "memory";
@@ -25681,19 +25681,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25681
25681
  }>;
25682
25682
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25683
25683
  id: z.ZodString;
25684
- createdAt: z.ZodString;
25685
25684
  name: z.ZodString;
25686
- updatedAt: z.ZodString;
25687
25685
  description: z.ZodNullable<z.ZodString>;
25688
- stopWhen: z.ZodNullable<z.ZodType<{
25689
- stepCountIs?: number | undefined;
25690
- }, {
25691
- stepCountIs?: number | undefined;
25692
- }, z.core.$ZodTypeInternals<{
25693
- stepCountIs?: number | undefined;
25694
- }, {
25695
- stepCountIs?: number | undefined;
25696
- }>>>;
25697
25686
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25698
25687
  models: z.ZodNullable<z.ZodType<{
25699
25688
  base?: {
@@ -25748,6 +25737,17 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25748
25737
  providerOptions?: Record<string, any> | undefined;
25749
25738
  } | undefined;
25750
25739
  }>>>;
25740
+ stopWhen: z.ZodNullable<z.ZodType<{
25741
+ stepCountIs?: number | undefined;
25742
+ }, {
25743
+ stepCountIs?: number | undefined;
25744
+ }, z.core.$ZodTypeInternals<{
25745
+ stepCountIs?: number | undefined;
25746
+ }, {
25747
+ stepCountIs?: number | undefined;
25748
+ }>>>;
25749
+ createdAt: z.ZodString;
25750
+ updatedAt: z.ZodString;
25751
25751
  type: z.ZodLiteral<"internal">;
25752
25752
  canUse: z.ZodArray<z.ZodObject<{
25753
25753
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25774,19 +25774,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25774
25774
  }, z.core.$strip>;
25775
25775
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25776
25776
  id: z.ZodString;
25777
- createdAt: z.ZodString;
25778
25777
  name: z.ZodString;
25779
- updatedAt: z.ZodString;
25780
25778
  description: z.ZodNullable<z.ZodString>;
25781
- stopWhen: z.ZodNullable<z.ZodType<{
25782
- stepCountIs?: number | undefined;
25783
- }, {
25784
- stepCountIs?: number | undefined;
25785
- }, z.core.$ZodTypeInternals<{
25786
- stepCountIs?: number | undefined;
25787
- }, {
25788
- stepCountIs?: number | undefined;
25789
- }>>>;
25790
25779
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25791
25780
  models: z.ZodNullable<z.ZodType<{
25792
25781
  base?: {
@@ -25841,6 +25830,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25841
25830
  providerOptions?: Record<string, any> | undefined;
25842
25831
  } | undefined;
25843
25832
  }>>>;
25833
+ stopWhen: z.ZodNullable<z.ZodType<{
25834
+ stepCountIs?: number | undefined;
25835
+ }, {
25836
+ stepCountIs?: number | undefined;
25837
+ }, z.core.$ZodTypeInternals<{
25838
+ stepCountIs?: number | undefined;
25839
+ }, {
25840
+ stepCountIs?: number | undefined;
25841
+ }>>>;
25842
+ createdAt: z.ZodString;
25843
+ updatedAt: z.ZodString;
25844
25844
  type: z.ZodLiteral<"internal">;
25845
25845
  canUse: z.ZodArray<z.ZodObject<{
25846
25846
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25873,27 +25873,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25873
25873
  }, z.core.$strip>;
25874
25874
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25875
25875
  id: z.ZodString;
25876
- createdAt: z.ZodString;
25877
25876
  name: z.ZodString;
25878
- updatedAt: z.ZodString;
25879
25877
  description: z.ZodNullable<z.ZodString>;
25880
25878
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25879
+ createdAt: z.ZodString;
25880
+ updatedAt: z.ZodString;
25881
25881
  contextConfigId: z.ZodNullable<z.ZodString>;
25882
25882
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25883
25883
  id: z.ZodString;
25884
- createdAt: z.ZodString;
25885
25884
  name: z.ZodString;
25886
- updatedAt: z.ZodString;
25887
25885
  description: z.ZodNullable<z.ZodString>;
25888
- stopWhen: z.ZodNullable<z.ZodType<{
25889
- stepCountIs?: number | undefined;
25890
- }, {
25891
- stepCountIs?: number | undefined;
25892
- }, z.core.$ZodTypeInternals<{
25893
- stepCountIs?: number | undefined;
25894
- }, {
25895
- stepCountIs?: number | undefined;
25896
- }>>>;
25897
25886
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25898
25887
  models: z.ZodNullable<z.ZodType<{
25899
25888
  base?: {
@@ -25948,6 +25937,17 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25948
25937
  providerOptions?: Record<string, any> | undefined;
25949
25938
  } | undefined;
25950
25939
  }>>>;
25940
+ stopWhen: z.ZodNullable<z.ZodType<{
25941
+ stepCountIs?: number | undefined;
25942
+ }, {
25943
+ stepCountIs?: number | undefined;
25944
+ }, z.core.$ZodTypeInternals<{
25945
+ stepCountIs?: number | undefined;
25946
+ }, {
25947
+ stepCountIs?: number | undefined;
25948
+ }>>>;
25949
+ createdAt: z.ZodString;
25950
+ updatedAt: z.ZodString;
25951
25951
  type: z.ZodLiteral<"internal">;
25952
25952
  canUse: z.ZodArray<z.ZodObject<{
25953
25953
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26019,11 +26019,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26019
26019
  }, z.core.$strip>>>;
26020
26020
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26021
26021
  id: z.ZodString;
26022
- createdAt: z.ZodString;
26023
26022
  name: z.ZodString;
26024
- updatedAt: z.ZodString;
26025
26023
  description: z.ZodNullable<z.ZodString>;
26026
26024
  agentId: z.ZodString;
26025
+ createdAt: z.ZodString;
26026
+ updatedAt: z.ZodString;
26027
26027
  functionId: z.ZodString;
26028
26028
  relationshipId: z.ZodOptional<z.ZodString>;
26029
26029
  }, z.core.$strip>>>;
@@ -26099,11 +26099,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26099
26099
  }, z.core.$strip>;
26100
26100
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26101
26101
  id: z.ZodString;
26102
- createdAt: z.ZodString;
26103
26102
  name: z.ZodString;
26104
- updatedAt: z.ZodString;
26105
26103
  description: z.ZodNullable<z.ZodString>;
26106
26104
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26105
+ createdAt: z.ZodString;
26106
+ updatedAt: z.ZodString;
26107
26107
  contextConfigId: z.ZodNullable<z.ZodString>;
26108
26108
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26109
26109
  createdAt: z.ZodString;
@@ -26152,11 +26152,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26152
26152
  }, z.core.$strip>>>;
26153
26153
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26154
26154
  id: z.ZodString;
26155
- createdAt: z.ZodString;
26156
26155
  name: z.ZodString;
26157
- updatedAt: z.ZodString;
26158
26156
  description: z.ZodNullable<z.ZodString>;
26159
26157
  agentId: z.ZodString;
26158
+ createdAt: z.ZodString;
26159
+ updatedAt: z.ZodString;
26160
26160
  functionId: z.ZodString;
26161
26161
  relationshipId: z.ZodOptional<z.ZodString>;
26162
26162
  }, z.core.$strip>>>;
@@ -26231,19 +26231,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26231
26231
  prompt: z.ZodNullable<z.ZodString>;
26232
26232
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26233
26233
  id: z.ZodString;
26234
- createdAt: z.ZodString;
26235
26234
  name: z.ZodString;
26236
- updatedAt: z.ZodString;
26237
26235
  description: z.ZodNullable<z.ZodString>;
26238
- stopWhen: z.ZodNullable<z.ZodType<{
26239
- stepCountIs?: number | undefined;
26240
- }, {
26241
- stepCountIs?: number | undefined;
26242
- }, z.core.$ZodTypeInternals<{
26243
- stepCountIs?: number | undefined;
26244
- }, {
26245
- stepCountIs?: number | undefined;
26246
- }>>>;
26247
26236
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26248
26237
  models: z.ZodNullable<z.ZodType<{
26249
26238
  base?: {
@@ -26298,6 +26287,17 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26298
26287
  providerOptions?: Record<string, any> | undefined;
26299
26288
  } | undefined;
26300
26289
  }>>>;
26290
+ stopWhen: z.ZodNullable<z.ZodType<{
26291
+ stepCountIs?: number | undefined;
26292
+ }, {
26293
+ stepCountIs?: number | undefined;
26294
+ }, z.core.$ZodTypeInternals<{
26295
+ stepCountIs?: number | undefined;
26296
+ }, {
26297
+ stepCountIs?: number | undefined;
26298
+ }>>>;
26299
+ createdAt: z.ZodString;
26300
+ updatedAt: z.ZodString;
26301
26301
  type: z.ZodLiteral<"internal">;
26302
26302
  canUse: z.ZodArray<z.ZodObject<{
26303
26303
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26331,14 +26331,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26331
26331
  }, z.core.$strip>;
26332
26332
  declare const FullProjectSelectSchema: z.ZodObject<{
26333
26333
  id: z.ZodString;
26334
- createdAt: z.ZodString;
26335
26334
  name: z.ZodString;
26336
- updatedAt: z.ZodString;
26337
26335
  description: z.ZodNullable<z.ZodString>;
26338
- stopWhen: z.ZodNullable<z.ZodObject<{
26339
- transferCountIs: z.ZodOptional<z.ZodNumber>;
26340
- stepCountIs: z.ZodOptional<z.ZodNumber>;
26341
- }, z.core.$strip>>;
26342
26336
  models: z.ZodNullable<z.ZodObject<{
26343
26337
  base: z.ZodObject<{
26344
26338
  model: z.ZodOptional<z.ZodString>;
@@ -26353,29 +26347,24 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26353
26347
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26354
26348
  }, z.core.$strip>>;
26355
26349
  }, z.core.$strip>>;
26350
+ stopWhen: z.ZodNullable<z.ZodObject<{
26351
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
26352
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
26353
+ }, z.core.$strip>>;
26354
+ createdAt: z.ZodString;
26355
+ updatedAt: z.ZodString;
26356
26356
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26357
26357
  id: z.ZodString;
26358
- createdAt: z.ZodString;
26359
26358
  name: z.ZodString;
26360
- updatedAt: z.ZodString;
26361
26359
  description: z.ZodNullable<z.ZodString>;
26362
26360
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26361
+ createdAt: z.ZodString;
26362
+ updatedAt: z.ZodString;
26363
26363
  contextConfigId: z.ZodNullable<z.ZodString>;
26364
26364
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26365
26365
  id: z.ZodString;
26366
- createdAt: z.ZodString;
26367
26366
  name: z.ZodString;
26368
- updatedAt: z.ZodString;
26369
26367
  description: z.ZodNullable<z.ZodString>;
26370
- stopWhen: z.ZodNullable<z.ZodType<{
26371
- stepCountIs?: number | undefined;
26372
- }, {
26373
- stepCountIs?: number | undefined;
26374
- }, z.core.$ZodTypeInternals<{
26375
- stepCountIs?: number | undefined;
26376
- }, {
26377
- stepCountIs?: number | undefined;
26378
- }>>>;
26379
26368
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26380
26369
  models: z.ZodNullable<z.ZodType<{
26381
26370
  base?: {
@@ -26430,6 +26419,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26430
26419
  providerOptions?: Record<string, any> | undefined;
26431
26420
  } | undefined;
26432
26421
  }>>>;
26422
+ stopWhen: z.ZodNullable<z.ZodType<{
26423
+ stepCountIs?: number | undefined;
26424
+ }, {
26425
+ stepCountIs?: number | undefined;
26426
+ }, z.core.$ZodTypeInternals<{
26427
+ stepCountIs?: number | undefined;
26428
+ }, {
26429
+ stepCountIs?: number | undefined;
26430
+ }>>>;
26431
+ createdAt: z.ZodString;
26432
+ updatedAt: z.ZodString;
26433
26433
  type: z.ZodLiteral<"internal">;
26434
26434
  canUse: z.ZodArray<z.ZodObject<{
26435
26435
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26501,11 +26501,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26501
26501
  }, z.core.$strip>>>;
26502
26502
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26503
26503
  id: z.ZodString;
26504
- createdAt: z.ZodString;
26505
26504
  name: z.ZodString;
26506
- updatedAt: z.ZodString;
26507
26505
  description: z.ZodNullable<z.ZodString>;
26508
26506
  agentId: z.ZodString;
26507
+ createdAt: z.ZodString;
26508
+ updatedAt: z.ZodString;
26509
26509
  functionId: z.ZodString;
26510
26510
  relationshipId: z.ZodOptional<z.ZodString>;
26511
26511
  }, z.core.$strip>>>;
@@ -26610,11 +26610,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26610
26610
  }>, z.core.$strip>>;
26611
26611
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26612
26612
  id: z.ZodString;
26613
- createdAt: z.ZodString;
26614
26613
  name: z.ZodString;
26615
- updatedAt: z.ZodString;
26616
26614
  description: z.ZodNullable<z.ZodString>;
26617
26615
  agentId: z.ZodString;
26616
+ createdAt: z.ZodString;
26617
+ updatedAt: z.ZodString;
26618
26618
  functionId: z.ZodString;
26619
26619
  relationshipId: z.ZodOptional<z.ZodString>;
26620
26620
  }, z.core.$strip>>>;
@@ -26758,20 +26758,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26758
26758
  }, z.core.$strip>>;
26759
26759
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26760
26760
  id: z.ZodString;
26761
- userId: z.ZodNullable<z.ZodString>;
26762
- createdAt: z.ZodString;
26763
26761
  name: z.ZodString;
26762
+ createdAt: z.ZodString;
26764
26763
  updatedAt: z.ZodString;
26764
+ toolId: z.ZodNullable<z.ZodString>;
26765
+ userId: z.ZodNullable<z.ZodString>;
26765
26766
  credentialStoreId: z.ZodString;
26766
26767
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26767
- toolId: z.ZodNullable<z.ZodString>;
26768
26768
  createdBy: z.ZodNullable<z.ZodString>;
26769
26769
  type: z.ZodEnum<{
26770
26770
  readonly memory: "memory";
26771
26771
  readonly keychain: "keychain";
26772
26772
  readonly nango: "nango";
26773
26773
  }>;
26774
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26774
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26775
26775
  createdAt: drizzle_orm_pg_core211.PgColumn<{
26776
26776
  name: "created_at";
26777
26777
  tableName: "tools";
@@ -27051,7 +27051,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27051
27051
  }, {}, {
27052
27052
  length: 256;
27053
27053
  }>;
27054
- }, drizzle_zod15.BuildRefine<{
27054
+ }, drizzle_zod19.BuildRefine<{
27055
27055
  createdAt: drizzle_orm_pg_core211.PgColumn<{
27056
27056
  name: "created_at";
27057
27057
  tableName: "tools";
@@ -27353,14 +27353,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27353
27353
  }>;
27354
27354
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27355
27355
  id: z.ZodString;
27356
- createdAt: z.ZodString;
27357
27356
  name: z.ZodString;
27358
- updatedAt: z.ZodString;
27359
27357
  description: z.ZodNullable<z.ZodString>;
27360
- stopWhen: z.ZodNullable<z.ZodObject<{
27361
- transferCountIs: z.ZodOptional<z.ZodNumber>;
27362
- stepCountIs: z.ZodOptional<z.ZodNumber>;
27363
- }, z.core.$strip>>;
27364
27358
  models: z.ZodNullable<z.ZodObject<{
27365
27359
  base: z.ZodObject<{
27366
27360
  model: z.ZodOptional<z.ZodString>;
@@ -27375,6 +27369,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27375
27369
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27376
27370
  }, z.core.$strip>>;
27377
27371
  }, z.core.$strip>>;
27372
+ stopWhen: z.ZodNullable<z.ZodObject<{
27373
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
27374
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
27375
+ }, z.core.$strip>>;
27376
+ createdAt: z.ZodString;
27377
+ updatedAt: z.ZodString;
27378
27378
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27379
27379
  createdAt: z.ZodString;
27380
27380
  updatedAt: z.ZodString;
@@ -27406,11 +27406,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27406
27406
  }>, z.core.$strip>>;
27407
27407
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27408
27408
  id: z.ZodString;
27409
- createdAt: z.ZodString;
27410
27409
  name: z.ZodString;
27411
- updatedAt: z.ZodString;
27412
27410
  description: z.ZodNullable<z.ZodString>;
27413
27411
  agentId: z.ZodString;
27412
+ createdAt: z.ZodString;
27413
+ updatedAt: z.ZodString;
27414
27414
  functionId: z.ZodString;
27415
27415
  relationshipId: z.ZodOptional<z.ZodString>;
27416
27416
  }, z.core.$strip>>>;
@@ -27554,20 +27554,20 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27554
27554
  }, z.core.$strip>>;
27555
27555
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27556
27556
  id: z.ZodString;
27557
- userId: z.ZodNullable<z.ZodString>;
27558
- createdAt: z.ZodString;
27559
27557
  name: z.ZodString;
27558
+ createdAt: z.ZodString;
27560
27559
  updatedAt: z.ZodString;
27560
+ toolId: z.ZodNullable<z.ZodString>;
27561
+ userId: z.ZodNullable<z.ZodString>;
27561
27562
  credentialStoreId: z.ZodString;
27562
27563
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27563
- toolId: z.ZodNullable<z.ZodString>;
27564
27564
  createdBy: z.ZodNullable<z.ZodString>;
27565
27565
  type: z.ZodEnum<{
27566
27566
  readonly memory: "memory";
27567
27567
  readonly keychain: "keychain";
27568
27568
  readonly nango: "nango";
27569
27569
  }>;
27570
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27570
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27571
27571
  createdAt: drizzle_orm_pg_core211.PgColumn<{
27572
27572
  name: "created_at";
27573
27573
  tableName: "tools";
@@ -27847,7 +27847,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27847
27847
  }, {}, {
27848
27848
  length: 256;
27849
27849
  }>;
27850
- }, drizzle_zod15.BuildRefine<{
27850
+ }, drizzle_zod19.BuildRefine<{
27851
27851
  createdAt: drizzle_orm_pg_core211.PgColumn<{
27852
27852
  name: "created_at";
27853
27853
  tableName: "tools";
@@ -28145,11 +28145,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28145
28145
  }, z.core.$strip>>>;
28146
28146
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28147
28147
  id: z.ZodString;
28148
- createdAt: z.ZodString;
28149
28148
  name: z.ZodString;
28150
- updatedAt: z.ZodString;
28151
28149
  description: z.ZodNullable<z.ZodString>;
28152
28150
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28151
+ createdAt: z.ZodString;
28152
+ updatedAt: z.ZodString;
28153
28153
  contextConfigId: z.ZodNullable<z.ZodString>;
28154
28154
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28155
28155
  createdAt: z.ZodString;
@@ -28198,11 +28198,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28198
28198
  }, z.core.$strip>>>;
28199
28199
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28200
28200
  id: z.ZodString;
28201
- createdAt: z.ZodString;
28202
28201
  name: z.ZodString;
28203
- updatedAt: z.ZodString;
28204
28202
  description: z.ZodNullable<z.ZodString>;
28205
28203
  agentId: z.ZodString;
28204
+ createdAt: z.ZodString;
28205
+ updatedAt: z.ZodString;
28206
28206
  functionId: z.ZodString;
28207
28207
  relationshipId: z.ZodOptional<z.ZodString>;
28208
28208
  }, z.core.$strip>>>;
@@ -28277,19 +28277,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28277
28277
  prompt: z.ZodNullable<z.ZodString>;
28278
28278
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28279
28279
  id: z.ZodString;
28280
- createdAt: z.ZodString;
28281
28280
  name: z.ZodString;
28282
- updatedAt: z.ZodString;
28283
28281
  description: z.ZodNullable<z.ZodString>;
28284
- stopWhen: z.ZodNullable<z.ZodType<{
28285
- stepCountIs?: number | undefined;
28286
- }, {
28287
- stepCountIs?: number | undefined;
28288
- }, z.core.$ZodTypeInternals<{
28289
- stepCountIs?: number | undefined;
28290
- }, {
28291
- stepCountIs?: number | undefined;
28292
- }>>>;
28293
28282
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28294
28283
  models: z.ZodNullable<z.ZodType<{
28295
28284
  base?: {
@@ -28344,6 +28333,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28344
28333
  providerOptions?: Record<string, any> | undefined;
28345
28334
  } | undefined;
28346
28335
  }>>>;
28336
+ stopWhen: z.ZodNullable<z.ZodType<{
28337
+ stepCountIs?: number | undefined;
28338
+ }, {
28339
+ stepCountIs?: number | undefined;
28340
+ }, z.core.$ZodTypeInternals<{
28341
+ stepCountIs?: number | undefined;
28342
+ }, {
28343
+ stepCountIs?: number | undefined;
28344
+ }>>>;
28345
+ createdAt: z.ZodString;
28346
+ updatedAt: z.ZodString;
28347
28347
  type: z.ZodLiteral<"internal">;
28348
28348
  canUse: z.ZodArray<z.ZodObject<{
28349
28349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28382,14 +28382,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28382
28382
  declare const ProjectResponse: z.ZodObject<{
28383
28383
  data: z.ZodObject<{
28384
28384
  id: z.ZodString;
28385
- createdAt: z.ZodString;
28386
28385
  name: z.ZodString;
28387
- updatedAt: z.ZodString;
28388
28386
  description: z.ZodNullable<z.ZodString>;
28389
- stopWhen: z.ZodNullable<z.ZodObject<{
28390
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28391
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28392
- }, z.core.$strip>>;
28393
28387
  models: z.ZodNullable<z.ZodObject<{
28394
28388
  base: z.ZodObject<{
28395
28389
  model: z.ZodOptional<z.ZodString>;
@@ -28404,6 +28398,12 @@ declare const ProjectResponse: z.ZodObject<{
28404
28398
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28405
28399
  }, z.core.$strip>>;
28406
28400
  }, z.core.$strip>>;
28401
+ stopWhen: z.ZodNullable<z.ZodObject<{
28402
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28403
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28404
+ }, z.core.$strip>>;
28405
+ createdAt: z.ZodString;
28406
+ updatedAt: z.ZodString;
28407
28407
  }, {
28408
28408
  out: {};
28409
28409
  in: {};
@@ -28643,11 +28643,11 @@ declare const ContextConfigResponse: z.ZodObject<{
28643
28643
  declare const ApiKeyResponse: z.ZodObject<{
28644
28644
  data: z.ZodObject<{
28645
28645
  id: z.ZodString;
28646
- createdAt: z.ZodString;
28647
28646
  name: z.ZodNullable<z.ZodString>;
28648
- expiresAt: z.ZodNullable<z.ZodString>;
28649
- updatedAt: z.ZodString;
28650
28647
  agentId: z.ZodString;
28648
+ createdAt: z.ZodString;
28649
+ updatedAt: z.ZodString;
28650
+ expiresAt: z.ZodNullable<z.ZodString>;
28651
28651
  publicId: z.ZodString;
28652
28652
  keyPrefix: z.ZodString;
28653
28653
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28659,20 +28659,20 @@ declare const ApiKeyResponse: z.ZodObject<{
28659
28659
  declare const CredentialReferenceResponse: z.ZodObject<{
28660
28660
  data: z.ZodObject<{
28661
28661
  id: z.ZodString;
28662
- userId: z.ZodNullable<z.ZodString>;
28663
- createdAt: z.ZodString;
28664
28662
  name: z.ZodString;
28663
+ createdAt: z.ZodString;
28665
28664
  updatedAt: z.ZodString;
28665
+ toolId: z.ZodNullable<z.ZodString>;
28666
+ userId: z.ZodNullable<z.ZodString>;
28666
28667
  credentialStoreId: z.ZodString;
28667
28668
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28668
- toolId: z.ZodNullable<z.ZodString>;
28669
28669
  createdBy: z.ZodNullable<z.ZodString>;
28670
28670
  type: z.ZodEnum<{
28671
28671
  readonly memory: "memory";
28672
28672
  readonly keychain: "keychain";
28673
28673
  readonly nango: "nango";
28674
28674
  }>;
28675
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28675
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28676
28676
  createdAt: drizzle_orm_pg_core211.PgColumn<{
28677
28677
  name: "created_at";
28678
28678
  tableName: "tools";
@@ -28952,7 +28952,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28952
28952
  }, {}, {
28953
28953
  length: 256;
28954
28954
  }>;
28955
- }, drizzle_zod15.BuildRefine<{
28955
+ }, drizzle_zod19.BuildRefine<{
28956
28956
  createdAt: drizzle_orm_pg_core211.PgColumn<{
28957
28957
  name: "created_at";
28958
28958
  tableName: "tools";
@@ -29264,11 +29264,11 @@ declare const FunctionResponse: z.ZodObject<{
29264
29264
  declare const FunctionToolResponse: z.ZodObject<{
29265
29265
  data: z.ZodObject<{
29266
29266
  id: z.ZodString;
29267
- createdAt: z.ZodString;
29268
29267
  name: z.ZodString;
29269
- updatedAt: z.ZodString;
29270
29268
  description: z.ZodNullable<z.ZodString>;
29271
29269
  agentId: z.ZodString;
29270
+ createdAt: z.ZodString;
29271
+ updatedAt: z.ZodString;
29272
29272
  functionId: z.ZodString;
29273
29273
  relationshipId: z.ZodOptional<z.ZodString>;
29274
29274
  }, z.core.$strip>;
@@ -29278,7 +29278,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29278
29278
  createdAt: z.ZodString;
29279
29279
  updatedAt: z.ZodString;
29280
29280
  functionToolId: z.ZodString;
29281
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29281
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29282
29282
  subAgentId: z.ZodString;
29283
29283
  agentId: z.ZodString;
29284
29284
  projectId: z.ZodString;
@@ -29410,9 +29410,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29410
29410
  createdAt: z.ZodString;
29411
29411
  updatedAt: z.ZodString;
29412
29412
  toolId: z.ZodString;
29413
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29414
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29415
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29413
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29414
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29415
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29416
29416
  subAgentId: z.ZodString;
29417
29417
  agentId: z.ZodString;
29418
29418
  projectId: z.ZodString;
@@ -29425,10 +29425,10 @@ declare const TriggerResponse: z.ZodObject<{
29425
29425
  createdAt: z.ZodString;
29426
29426
  updatedAt: z.ZodString;
29427
29427
  enabled: z.ZodBoolean;
29428
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29429
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29428
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29429
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29430
29430
  messageTemplate: z.ZodNullable<z.ZodString>;
29431
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29431
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29432
29432
  name: z.ZodString;
29433
29433
  description: z.ZodNullable<z.ZodString>;
29434
29434
  agentId: z.ZodString;
@@ -29451,8 +29451,8 @@ declare const TriggerResponse: z.ZodObject<{
29451
29451
  signature: z.ZodObject<{
29452
29452
  source: z.ZodEnum<{
29453
29453
  query: "query";
29454
- header: "header";
29455
29454
  body: "body";
29455
+ header: "header";
29456
29456
  }>;
29457
29457
  key: z.ZodString;
29458
29458
  prefix: z.ZodOptional<z.ZodString>;
@@ -29461,8 +29461,8 @@ declare const TriggerResponse: z.ZodObject<{
29461
29461
  signedComponents: z.ZodArray<z.ZodObject<{
29462
29462
  source: z.ZodEnum<{
29463
29463
  literal: "literal";
29464
- header: "header";
29465
29464
  body: "body";
29465
+ header: "header";
29466
29466
  }>;
29467
29467
  key: z.ZodOptional<z.ZodString>;
29468
29468
  value: z.ZodOptional<z.ZodString>;
@@ -29488,8 +29488,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29488
29488
  triggerId: z.ZodString;
29489
29489
  conversationId: z.ZodNullable<z.ZodString>;
29490
29490
  status: z.ZodString;
29491
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29492
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29491
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29492
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29493
29493
  errorMessage: z.ZodNullable<z.ZodString>;
29494
29494
  createdAt: z.ZodString;
29495
29495
  agentId: z.ZodString;
@@ -29501,14 +29501,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29501
29501
  declare const ProjectListResponse: z.ZodObject<{
29502
29502
  data: z.ZodArray<z.ZodObject<{
29503
29503
  id: z.ZodString;
29504
- createdAt: z.ZodString;
29505
29504
  name: z.ZodString;
29506
- updatedAt: z.ZodString;
29507
29505
  description: z.ZodNullable<z.ZodString>;
29508
- stopWhen: z.ZodNullable<z.ZodObject<{
29509
- transferCountIs: z.ZodOptional<z.ZodNumber>;
29510
- stepCountIs: z.ZodOptional<z.ZodNumber>;
29511
- }, z.core.$strip>>;
29512
29506
  models: z.ZodNullable<z.ZodObject<{
29513
29507
  base: z.ZodObject<{
29514
29508
  model: z.ZodOptional<z.ZodString>;
@@ -29523,6 +29517,12 @@ declare const ProjectListResponse: z.ZodObject<{
29523
29517
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
29524
29518
  }, z.core.$strip>>;
29525
29519
  }, z.core.$strip>>;
29520
+ stopWhen: z.ZodNullable<z.ZodObject<{
29521
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
29522
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
29523
+ }, z.core.$strip>>;
29524
+ createdAt: z.ZodString;
29525
+ updatedAt: z.ZodString;
29526
29526
  }, {
29527
29527
  out: {};
29528
29528
  in: {};
@@ -29792,11 +29792,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
29792
29792
  declare const ApiKeyListResponse: z.ZodObject<{
29793
29793
  data: z.ZodArray<z.ZodObject<{
29794
29794
  id: z.ZodString;
29795
- createdAt: z.ZodString;
29796
29795
  name: z.ZodNullable<z.ZodString>;
29797
- expiresAt: z.ZodNullable<z.ZodString>;
29798
- updatedAt: z.ZodString;
29799
29796
  agentId: z.ZodString;
29797
+ createdAt: z.ZodString;
29798
+ updatedAt: z.ZodString;
29799
+ expiresAt: z.ZodNullable<z.ZodString>;
29800
29800
  publicId: z.ZodString;
29801
29801
  keyPrefix: z.ZodString;
29802
29802
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29814,20 +29814,20 @@ declare const ApiKeyListResponse: z.ZodObject<{
29814
29814
  declare const CredentialReferenceListResponse: z.ZodObject<{
29815
29815
  data: z.ZodArray<z.ZodObject<{
29816
29816
  id: z.ZodString;
29817
- userId: z.ZodNullable<z.ZodString>;
29818
- createdAt: z.ZodString;
29819
29817
  name: z.ZodString;
29818
+ createdAt: z.ZodString;
29820
29819
  updatedAt: z.ZodString;
29820
+ toolId: z.ZodNullable<z.ZodString>;
29821
+ userId: z.ZodNullable<z.ZodString>;
29821
29822
  credentialStoreId: z.ZodString;
29822
29823
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29823
- toolId: z.ZodNullable<z.ZodString>;
29824
29824
  createdBy: z.ZodNullable<z.ZodString>;
29825
29825
  type: z.ZodEnum<{
29826
29826
  readonly memory: "memory";
29827
29827
  readonly keychain: "keychain";
29828
29828
  readonly nango: "nango";
29829
29829
  }>;
29830
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29830
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29831
29831
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29832
29832
  name: "created_at";
29833
29833
  tableName: "tools";
@@ -30107,7 +30107,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30107
30107
  }, {}, {
30108
30108
  length: 256;
30109
30109
  }>;
30110
- }, drizzle_zod15.BuildRefine<{
30110
+ }, drizzle_zod19.BuildRefine<{
30111
30111
  createdAt: drizzle_orm_pg_core211.PgColumn<{
30112
30112
  name: "created_at";
30113
30113
  tableName: "tools";
@@ -30431,11 +30431,11 @@ declare const FunctionListResponse: z.ZodObject<{
30431
30431
  declare const FunctionToolListResponse: z.ZodObject<{
30432
30432
  data: z.ZodArray<z.ZodObject<{
30433
30433
  id: z.ZodString;
30434
- createdAt: z.ZodString;
30435
30434
  name: z.ZodString;
30436
- updatedAt: z.ZodString;
30437
30435
  description: z.ZodNullable<z.ZodString>;
30438
30436
  agentId: z.ZodString;
30437
+ createdAt: z.ZodString;
30438
+ updatedAt: z.ZodString;
30439
30439
  functionId: z.ZodString;
30440
30440
  relationshipId: z.ZodOptional<z.ZodString>;
30441
30441
  }, z.core.$strip>>;
@@ -30451,7 +30451,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30451
30451
  createdAt: z.ZodString;
30452
30452
  updatedAt: z.ZodString;
30453
30453
  functionToolId: z.ZodString;
30454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30455
30455
  subAgentId: z.ZodString;
30456
30456
  agentId: z.ZodString;
30457
30457
  projectId: z.ZodString;
@@ -30639,9 +30639,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30639
30639
  createdAt: z.ZodString;
30640
30640
  updatedAt: z.ZodString;
30641
30641
  toolId: z.ZodString;
30642
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30643
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30644
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30642
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30643
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30644
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30645
30645
  subAgentId: z.ZodString;
30646
30646
  agentId: z.ZodString;
30647
30647
  projectId: z.ZodString;
@@ -30660,10 +30660,10 @@ declare const TriggerListResponse: z.ZodObject<{
30660
30660
  createdAt: z.ZodString;
30661
30661
  updatedAt: z.ZodString;
30662
30662
  enabled: z.ZodBoolean;
30663
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30664
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30663
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30664
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30665
30665
  messageTemplate: z.ZodNullable<z.ZodString>;
30666
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30666
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30667
30667
  name: z.ZodString;
30668
30668
  description: z.ZodNullable<z.ZodString>;
30669
30669
  agentId: z.ZodString;
@@ -30686,8 +30686,8 @@ declare const TriggerListResponse: z.ZodObject<{
30686
30686
  signature: z.ZodObject<{
30687
30687
  source: z.ZodEnum<{
30688
30688
  query: "query";
30689
- header: "header";
30690
30689
  body: "body";
30690
+ header: "header";
30691
30691
  }>;
30692
30692
  key: z.ZodString;
30693
30693
  prefix: z.ZodOptional<z.ZodString>;
@@ -30696,8 +30696,8 @@ declare const TriggerListResponse: z.ZodObject<{
30696
30696
  signedComponents: z.ZodArray<z.ZodObject<{
30697
30697
  source: z.ZodEnum<{
30698
30698
  literal: "literal";
30699
- header: "header";
30700
30699
  body: "body";
30700
+ header: "header";
30701
30701
  }>;
30702
30702
  key: z.ZodOptional<z.ZodString>;
30703
30703
  value: z.ZodOptional<z.ZodString>;
@@ -30729,8 +30729,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30729
30729
  triggerId: z.ZodString;
30730
30730
  conversationId: z.ZodNullable<z.ZodString>;
30731
30731
  status: z.ZodString;
30732
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30733
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30732
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30733
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30734
30734
  errorMessage: z.ZodNullable<z.ZodString>;
30735
30735
  createdAt: z.ZodString;
30736
30736
  agentId: z.ZodString;
@@ -30748,15 +30748,15 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30748
30748
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30749
30749
  data: z.ZodObject<{
30750
30750
  id: z.ZodString;
30751
- createdAt: z.ZodString;
30752
30751
  name: z.ZodString;
30753
- updatedAt: z.ZodString;
30754
30752
  description: z.ZodNullable<z.ZodString>;
30755
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30753
+ createdAt: z.ZodString;
30754
+ updatedAt: z.ZodString;
30756
30755
  enabled: z.ZodBoolean;
30757
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30756
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30757
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30758
30758
  messageTemplate: z.ZodNullable<z.ZodString>;
30759
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30759
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30760
30760
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30761
30761
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30762
30762
  algorithm: z.ZodEnum<{
@@ -30773,8 +30773,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30773
30773
  signature: z.ZodObject<{
30774
30774
  source: z.ZodEnum<{
30775
30775
  query: "query";
30776
- header: "header";
30777
30776
  body: "body";
30777
+ header: "header";
30778
30778
  }>;
30779
30779
  key: z.ZodString;
30780
30780
  prefix: z.ZodOptional<z.ZodString>;
@@ -30783,8 +30783,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30783
30783
  signedComponents: z.ZodArray<z.ZodObject<{
30784
30784
  source: z.ZodEnum<{
30785
30785
  literal: "literal";
30786
- header: "header";
30787
30786
  body: "body";
30787
+ header: "header";
30788
30788
  }>;
30789
30789
  key: z.ZodOptional<z.ZodString>;
30790
30790
  value: z.ZodOptional<z.ZodString>;
@@ -30809,15 +30809,15 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30809
30809
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30810
30810
  data: z.ZodArray<z.ZodObject<{
30811
30811
  id: z.ZodString;
30812
- createdAt: z.ZodString;
30813
30812
  name: z.ZodString;
30814
- updatedAt: z.ZodString;
30815
30813
  description: z.ZodNullable<z.ZodString>;
30816
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30814
+ createdAt: z.ZodString;
30815
+ updatedAt: z.ZodString;
30817
30816
  enabled: z.ZodBoolean;
30818
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30817
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30818
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30819
30819
  messageTemplate: z.ZodNullable<z.ZodString>;
30820
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30820
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30821
30821
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30822
30822
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30823
30823
  algorithm: z.ZodEnum<{
@@ -30834,8 +30834,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30834
30834
  signature: z.ZodObject<{
30835
30835
  source: z.ZodEnum<{
30836
30836
  query: "query";
30837
- header: "header";
30838
30837
  body: "body";
30838
+ header: "header";
30839
30839
  }>;
30840
30840
  key: z.ZodString;
30841
30841
  prefix: z.ZodOptional<z.ZodString>;
@@ -30844,8 +30844,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30844
30844
  signedComponents: z.ZodArray<z.ZodObject<{
30845
30845
  source: z.ZodEnum<{
30846
30846
  literal: "literal";
30847
- header: "header";
30848
30847
  body: "body";
30848
+ header: "header";
30849
30849
  }>;
30850
30850
  key: z.ZodOptional<z.ZodString>;
30851
30851
  value: z.ZodOptional<z.ZodString>;
@@ -30875,10 +30875,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30875
30875
  }, z.core.$strip>;
30876
30876
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30877
30877
  id: z.ZodString;
30878
- createdAt: z.ZodString;
30879
30878
  name: z.ZodString;
30880
- updatedAt: z.ZodString;
30881
30879
  description: z.ZodNullable<z.ZodString>;
30880
+ createdAt: z.ZodString;
30881
+ updatedAt: z.ZodString;
30882
30882
  enabled: z.ZodBoolean;
30883
30883
  messageTemplate: z.ZodNullable<z.ZodString>;
30884
30884
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30948,10 +30948,10 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30948
30948
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30949
30949
  data: z.ZodArray<z.ZodObject<{
30950
30950
  id: z.ZodString;
30951
- createdAt: z.ZodString;
30952
30951
  name: z.ZodString;
30953
- updatedAt: z.ZodString;
30954
30952
  description: z.ZodNullable<z.ZodString>;
30953
+ createdAt: z.ZodString;
30954
+ updatedAt: z.ZodString;
30955
30955
  enabled: z.ZodBoolean;
30956
30956
  messageTemplate: z.ZodNullable<z.ZodString>;
30957
30957
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -31105,11 +31105,11 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31105
31105
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31106
31106
  data: z.ZodArray<z.ZodObject<{
31107
31107
  id: z.ZodString;
31108
- createdAt: z.ZodString;
31109
31108
  name: z.ZodString;
31110
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31111
- updatedAt: z.ZodString;
31112
31109
  description: z.ZodString;
31110
+ createdAt: z.ZodString;
31111
+ updatedAt: z.ZodString;
31112
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31113
31113
  content: z.ZodString;
31114
31114
  subAgentSkillId: z.ZodString;
31115
31115
  subAgentId: z.ZodString;
@@ -31122,10 +31122,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31122
31122
  id: z.ZodString;
31123
31123
  name: z.ZodString;
31124
31124
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31125
- stopWhen: z.ZodOptional<z.ZodObject<{
31126
- transferCountIs: z.ZodOptional<z.ZodNumber>;
31127
- stepCountIs: z.ZodOptional<z.ZodNumber>;
31128
- }, z.core.$strip>>;
31129
31125
  models: z.ZodObject<{
31130
31126
  base: z.ZodObject<{
31131
31127
  model: z.ZodOptional<z.ZodString>;
@@ -31140,29 +31136,22 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31140
31136
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31141
31137
  }, z.core.$strip>>;
31142
31138
  }, z.core.$strip>;
31139
+ stopWhen: z.ZodOptional<z.ZodObject<{
31140
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
31141
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
31142
+ }, z.core.$strip>>;
31143
31143
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31144
- createdAt: z.ZodOptional<z.ZodString>;
31145
31144
  name: z.ZodString;
31146
- updatedAt: z.ZodOptional<z.ZodString>;
31147
31145
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31148
31146
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31147
+ createdAt: z.ZodOptional<z.ZodString>;
31148
+ updatedAt: z.ZodOptional<z.ZodString>;
31149
31149
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31150
31150
  id: z.ZodString;
31151
31151
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31152
31152
  id: z.ZodString;
31153
- createdAt: z.ZodOptional<z.ZodString>;
31154
31153
  name: z.ZodString;
31155
- updatedAt: z.ZodOptional<z.ZodString>;
31156
31154
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31157
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
31158
- stepCountIs?: number | undefined;
31159
- }, {
31160
- stepCountIs?: number | undefined;
31161
- }, z.core.$ZodTypeInternals<{
31162
- stepCountIs?: number | undefined;
31163
- }, {
31164
- stepCountIs?: number | undefined;
31165
- }>>>>;
31166
31155
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31167
31156
  models: z.ZodOptional<z.ZodObject<{
31168
31157
  base: z.ZodOptional<z.ZodObject<{
@@ -31178,6 +31167,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31178
31167
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31179
31168
  }, z.core.$strip>>;
31180
31169
  }, z.core.$strip>>;
31170
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
31171
+ stepCountIs?: number | undefined;
31172
+ }, {
31173
+ stepCountIs?: number | undefined;
31174
+ }, z.core.$ZodTypeInternals<{
31175
+ stepCountIs?: number | undefined;
31176
+ }, {
31177
+ stepCountIs?: number | undefined;
31178
+ }>>>>;
31179
+ createdAt: z.ZodOptional<z.ZodString>;
31180
+ updatedAt: z.ZodOptional<z.ZodString>;
31181
31181
  type: z.ZodLiteral<"internal">;
31182
31182
  canUse: z.ZodArray<z.ZodObject<{
31183
31183
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31285,30 +31285,30 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31285
31285
  executeCode: z.ZodString;
31286
31286
  }, z.core.$strip>>>;
31287
31287
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31288
- createdAt: z.ZodOptional<z.ZodString>;
31289
31288
  name: z.ZodString;
31290
- updatedAt: z.ZodOptional<z.ZodString>;
31291
31289
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31292
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31290
+ createdAt: z.ZodOptional<z.ZodString>;
31291
+ updatedAt: z.ZodOptional<z.ZodString>;
31293
31292
  enabled: z.ZodOptional<z.ZodBoolean>;
31294
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31293
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31294
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31295
31295
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31296
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31296
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31297
31297
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31298
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31298
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31299
31299
  id: z.ZodOptional<z.ZodString>;
31300
31300
  }, z.core.$strip>>>;
31301
31301
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31302
- createdAt: z.ZodOptional<z.ZodString>;
31303
31302
  name: z.ZodString;
31304
- updatedAt: z.ZodOptional<z.ZodString>;
31305
31303
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31304
+ createdAt: z.ZodOptional<z.ZodString>;
31305
+ updatedAt: z.ZodOptional<z.ZodString>;
31306
31306
  enabled: z.ZodOptional<z.ZodBoolean>;
31307
31307
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31308
31308
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31309
31309
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31310
31310
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31311
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31311
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31312
31312
  maxRetries: z.ZodOptional<z.ZodNumber>;
31313
31313
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31314
31314
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31416,10 +31416,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31416
31416
  }, z.core.$strip>>>;
31417
31417
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31418
31418
  name: z.ZodString;
31419
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31420
31419
  description: z.ZodString;
31421
- projectId: z.ZodString;
31422
31420
  tenantId: z.ZodString;
31421
+ projectId: z.ZodString;
31422
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31423
31423
  content: z.ZodString;
31424
31424
  }>, z.core.$strip>>>;
31425
31425
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31505,13 +31505,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31505
31505
  }, z.core.$strip>>;
31506
31506
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31507
31507
  id: z.ZodString;
31508
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31509
- createdAt: z.ZodOptional<z.ZodString>;
31510
31508
  name: z.ZodString;
31509
+ createdAt: z.ZodOptional<z.ZodString>;
31511
31510
  updatedAt: z.ZodOptional<z.ZodString>;
31511
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31512
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31512
31513
  credentialStoreId: z.ZodString;
31513
31514
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31514
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31515
31515
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31516
31516
  type: z.ZodEnum<{
31517
31517
  readonly memory: "memory";
@@ -31529,14 +31529,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31529
31529
  declare const FullProjectSelectResponse: z.ZodObject<{
31530
31530
  data: z.ZodObject<{
31531
31531
  id: z.ZodString;
31532
- createdAt: z.ZodString;
31533
31532
  name: z.ZodString;
31534
- updatedAt: z.ZodString;
31535
31533
  description: z.ZodNullable<z.ZodString>;
31536
- stopWhen: z.ZodNullable<z.ZodObject<{
31537
- transferCountIs: z.ZodOptional<z.ZodNumber>;
31538
- stepCountIs: z.ZodOptional<z.ZodNumber>;
31539
- }, z.core.$strip>>;
31540
31534
  models: z.ZodNullable<z.ZodObject<{
31541
31535
  base: z.ZodObject<{
31542
31536
  model: z.ZodOptional<z.ZodString>;
@@ -31551,29 +31545,24 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31551
31545
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31552
31546
  }, z.core.$strip>>;
31553
31547
  }, z.core.$strip>>;
31548
+ stopWhen: z.ZodNullable<z.ZodObject<{
31549
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
31550
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
31551
+ }, z.core.$strip>>;
31552
+ createdAt: z.ZodString;
31553
+ updatedAt: z.ZodString;
31554
31554
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31555
31555
  id: z.ZodString;
31556
- createdAt: z.ZodString;
31557
31556
  name: z.ZodString;
31558
- updatedAt: z.ZodString;
31559
31557
  description: z.ZodNullable<z.ZodString>;
31560
31558
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31559
+ createdAt: z.ZodString;
31560
+ updatedAt: z.ZodString;
31561
31561
  contextConfigId: z.ZodNullable<z.ZodString>;
31562
31562
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31563
31563
  id: z.ZodString;
31564
- createdAt: z.ZodString;
31565
31564
  name: z.ZodString;
31566
- updatedAt: z.ZodString;
31567
31565
  description: z.ZodNullable<z.ZodString>;
31568
- stopWhen: z.ZodNullable<z.ZodType<{
31569
- stepCountIs?: number | undefined;
31570
- }, {
31571
- stepCountIs?: number | undefined;
31572
- }, z.core.$ZodTypeInternals<{
31573
- stepCountIs?: number | undefined;
31574
- }, {
31575
- stepCountIs?: number | undefined;
31576
- }>>>;
31577
31566
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31578
31567
  models: z.ZodNullable<z.ZodType<{
31579
31568
  base?: {
@@ -31628,6 +31617,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31628
31617
  providerOptions?: Record<string, any> | undefined;
31629
31618
  } | undefined;
31630
31619
  }>>>;
31620
+ stopWhen: z.ZodNullable<z.ZodType<{
31621
+ stepCountIs?: number | undefined;
31622
+ }, {
31623
+ stepCountIs?: number | undefined;
31624
+ }, z.core.$ZodTypeInternals<{
31625
+ stepCountIs?: number | undefined;
31626
+ }, {
31627
+ stepCountIs?: number | undefined;
31628
+ }>>>;
31629
+ createdAt: z.ZodString;
31630
+ updatedAt: z.ZodString;
31631
31631
  type: z.ZodLiteral<"internal">;
31632
31632
  canUse: z.ZodArray<z.ZodObject<{
31633
31633
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31699,11 +31699,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31699
31699
  }, z.core.$strip>>>;
31700
31700
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31701
31701
  id: z.ZodString;
31702
- createdAt: z.ZodString;
31703
31702
  name: z.ZodString;
31704
- updatedAt: z.ZodString;
31705
31703
  description: z.ZodNullable<z.ZodString>;
31706
31704
  agentId: z.ZodString;
31705
+ createdAt: z.ZodString;
31706
+ updatedAt: z.ZodString;
31707
31707
  functionId: z.ZodString;
31708
31708
  relationshipId: z.ZodOptional<z.ZodString>;
31709
31709
  }, z.core.$strip>>>;
@@ -31808,11 +31808,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31808
31808
  }>, z.core.$strip>>;
31809
31809
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31810
31810
  id: z.ZodString;
31811
- createdAt: z.ZodString;
31812
31811
  name: z.ZodString;
31813
- updatedAt: z.ZodString;
31814
31812
  description: z.ZodNullable<z.ZodString>;
31815
31813
  agentId: z.ZodString;
31814
+ createdAt: z.ZodString;
31815
+ updatedAt: z.ZodString;
31816
31816
  functionId: z.ZodString;
31817
31817
  relationshipId: z.ZodOptional<z.ZodString>;
31818
31818
  }, z.core.$strip>>>;
@@ -31956,20 +31956,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31956
31956
  }, z.core.$strip>>;
31957
31957
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31958
31958
  id: z.ZodString;
31959
- userId: z.ZodNullable<z.ZodString>;
31960
- createdAt: z.ZodString;
31961
31959
  name: z.ZodString;
31960
+ createdAt: z.ZodString;
31962
31961
  updatedAt: z.ZodString;
31962
+ toolId: z.ZodNullable<z.ZodString>;
31963
+ userId: z.ZodNullable<z.ZodString>;
31963
31964
  credentialStoreId: z.ZodString;
31964
31965
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31965
- toolId: z.ZodNullable<z.ZodString>;
31966
31966
  createdBy: z.ZodNullable<z.ZodString>;
31967
31967
  type: z.ZodEnum<{
31968
31968
  readonly memory: "memory";
31969
31969
  readonly keychain: "keychain";
31970
31970
  readonly nango: "nango";
31971
31971
  }>;
31972
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
31972
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
31973
31973
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31974
31974
  name: "created_at";
31975
31975
  tableName: "tools";
@@ -32249,7 +32249,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32249
32249
  }, {}, {
32250
32250
  length: 256;
32251
32251
  }>;
32252
- }, drizzle_zod15.BuildRefine<{
32252
+ }, drizzle_zod19.BuildRefine<{
32253
32253
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32254
32254
  name: "created_at";
32255
32255
  tableName: "tools";
@@ -32553,14 +32553,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32553
32553
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32554
32554
  data: z.ZodObject<{
32555
32555
  id: z.ZodString;
32556
- createdAt: z.ZodString;
32557
32556
  name: z.ZodString;
32558
- updatedAt: z.ZodString;
32559
32557
  description: z.ZodNullable<z.ZodString>;
32560
- stopWhen: z.ZodNullable<z.ZodObject<{
32561
- transferCountIs: z.ZodOptional<z.ZodNumber>;
32562
- stepCountIs: z.ZodOptional<z.ZodNumber>;
32563
- }, z.core.$strip>>;
32564
32558
  models: z.ZodNullable<z.ZodObject<{
32565
32559
  base: z.ZodObject<{
32566
32560
  model: z.ZodOptional<z.ZodString>;
@@ -32575,6 +32569,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32575
32569
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
32576
32570
  }, z.core.$strip>>;
32577
32571
  }, z.core.$strip>>;
32572
+ stopWhen: z.ZodNullable<z.ZodObject<{
32573
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
32574
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
32575
+ }, z.core.$strip>>;
32576
+ createdAt: z.ZodString;
32577
+ updatedAt: z.ZodString;
32578
32578
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32579
32579
  createdAt: z.ZodString;
32580
32580
  updatedAt: z.ZodString;
@@ -32606,11 +32606,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32606
32606
  }>, z.core.$strip>>;
32607
32607
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32608
32608
  id: z.ZodString;
32609
- createdAt: z.ZodString;
32610
32609
  name: z.ZodString;
32611
- updatedAt: z.ZodString;
32612
32610
  description: z.ZodNullable<z.ZodString>;
32613
32611
  agentId: z.ZodString;
32612
+ createdAt: z.ZodString;
32613
+ updatedAt: z.ZodString;
32614
32614
  functionId: z.ZodString;
32615
32615
  relationshipId: z.ZodOptional<z.ZodString>;
32616
32616
  }, z.core.$strip>>>;
@@ -32754,20 +32754,20 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32754
32754
  }, z.core.$strip>>;
32755
32755
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32756
32756
  id: z.ZodString;
32757
- userId: z.ZodNullable<z.ZodString>;
32758
- createdAt: z.ZodString;
32759
32757
  name: z.ZodString;
32758
+ createdAt: z.ZodString;
32760
32759
  updatedAt: z.ZodString;
32760
+ toolId: z.ZodNullable<z.ZodString>;
32761
+ userId: z.ZodNullable<z.ZodString>;
32761
32762
  credentialStoreId: z.ZodString;
32762
32763
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32763
- toolId: z.ZodNullable<z.ZodString>;
32764
32764
  createdBy: z.ZodNullable<z.ZodString>;
32765
32765
  type: z.ZodEnum<{
32766
32766
  readonly memory: "memory";
32767
32767
  readonly keychain: "keychain";
32768
32768
  readonly nango: "nango";
32769
32769
  }>;
32770
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32770
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32771
32771
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32772
32772
  name: "created_at";
32773
32773
  tableName: "tools";
@@ -33047,7 +33047,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33047
33047
  }, {}, {
33048
33048
  length: 256;
33049
33049
  }>;
33050
- }, drizzle_zod15.BuildRefine<{
33050
+ }, drizzle_zod19.BuildRefine<{
33051
33051
  createdAt: drizzle_orm_pg_core211.PgColumn<{
33052
33052
  name: "created_at";
33053
33053
  tableName: "tools";
@@ -33345,11 +33345,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33345
33345
  }, z.core.$strip>>>;
33346
33346
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33347
33347
  id: z.ZodString;
33348
- createdAt: z.ZodString;
33349
33348
  name: z.ZodString;
33350
- updatedAt: z.ZodString;
33351
33349
  description: z.ZodNullable<z.ZodString>;
33352
33350
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33351
+ createdAt: z.ZodString;
33352
+ updatedAt: z.ZodString;
33353
33353
  contextConfigId: z.ZodNullable<z.ZodString>;
33354
33354
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33355
33355
  createdAt: z.ZodString;
@@ -33398,11 +33398,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33398
33398
  }, z.core.$strip>>>;
33399
33399
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33400
33400
  id: z.ZodString;
33401
- createdAt: z.ZodString;
33402
33401
  name: z.ZodString;
33403
- updatedAt: z.ZodString;
33404
33402
  description: z.ZodNullable<z.ZodString>;
33405
33403
  agentId: z.ZodString;
33404
+ createdAt: z.ZodString;
33405
+ updatedAt: z.ZodString;
33406
33406
  functionId: z.ZodString;
33407
33407
  relationshipId: z.ZodOptional<z.ZodString>;
33408
33408
  }, z.core.$strip>>>;
@@ -33477,19 +33477,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33477
33477
  prompt: z.ZodNullable<z.ZodString>;
33478
33478
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33479
33479
  id: z.ZodString;
33480
- createdAt: z.ZodString;
33481
33480
  name: z.ZodString;
33482
- updatedAt: z.ZodString;
33483
33481
  description: z.ZodNullable<z.ZodString>;
33484
- stopWhen: z.ZodNullable<z.ZodType<{
33485
- stepCountIs?: number | undefined;
33486
- }, {
33487
- stepCountIs?: number | undefined;
33488
- }, z.core.$ZodTypeInternals<{
33489
- stepCountIs?: number | undefined;
33490
- }, {
33491
- stepCountIs?: number | undefined;
33492
- }>>>;
33493
33482
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33494
33483
  models: z.ZodNullable<z.ZodType<{
33495
33484
  base?: {
@@ -33544,6 +33533,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33544
33533
  providerOptions?: Record<string, any> | undefined;
33545
33534
  } | undefined;
33546
33535
  }>>>;
33536
+ stopWhen: z.ZodNullable<z.ZodType<{
33537
+ stepCountIs?: number | undefined;
33538
+ }, {
33539
+ stepCountIs?: number | undefined;
33540
+ }, z.core.$ZodTypeInternals<{
33541
+ stepCountIs?: number | undefined;
33542
+ }, {
33543
+ stepCountIs?: number | undefined;
33544
+ }>>>;
33545
+ createdAt: z.ZodString;
33546
+ updatedAt: z.ZodString;
33547
33547
  type: z.ZodLiteral<"internal">;
33548
33548
  canUse: z.ZodArray<z.ZodObject<{
33549
33549
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33582,28 +33582,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33582
33582
  }, z.core.$strip>;
33583
33583
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33584
33584
  data: z.ZodObject<{
33585
- createdAt: z.ZodOptional<z.ZodString>;
33586
33585
  name: z.ZodString;
33587
- updatedAt: z.ZodOptional<z.ZodString>;
33588
33586
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33589
33587
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33588
+ createdAt: z.ZodOptional<z.ZodString>;
33589
+ updatedAt: z.ZodOptional<z.ZodString>;
33590
33590
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33591
33591
  id: z.ZodString;
33592
33592
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33593
33593
  id: z.ZodString;
33594
- createdAt: z.ZodOptional<z.ZodString>;
33595
33594
  name: z.ZodString;
33596
- updatedAt: z.ZodOptional<z.ZodString>;
33597
33595
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33598
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
33599
- stepCountIs?: number | undefined;
33600
- }, {
33601
- stepCountIs?: number | undefined;
33602
- }, z.core.$ZodTypeInternals<{
33603
- stepCountIs?: number | undefined;
33604
- }, {
33605
- stepCountIs?: number | undefined;
33606
- }>>>>;
33607
33596
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33608
33597
  models: z.ZodOptional<z.ZodObject<{
33609
33598
  base: z.ZodOptional<z.ZodObject<{
@@ -33619,6 +33608,17 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33619
33608
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33620
33609
  }, z.core.$strip>>;
33621
33610
  }, z.core.$strip>>;
33611
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
33612
+ stepCountIs?: number | undefined;
33613
+ }, {
33614
+ stepCountIs?: number | undefined;
33615
+ }, z.core.$ZodTypeInternals<{
33616
+ stepCountIs?: number | undefined;
33617
+ }, {
33618
+ stepCountIs?: number | undefined;
33619
+ }>>>>;
33620
+ createdAt: z.ZodOptional<z.ZodString>;
33621
+ updatedAt: z.ZodOptional<z.ZodString>;
33622
33622
  type: z.ZodLiteral<"internal">;
33623
33623
  canUse: z.ZodArray<z.ZodObject<{
33624
33624
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33726,30 +33726,30 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33726
33726
  executeCode: z.ZodString;
33727
33727
  }, z.core.$strip>>>;
33728
33728
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33729
- createdAt: z.ZodOptional<z.ZodString>;
33730
33729
  name: z.ZodString;
33731
- updatedAt: z.ZodOptional<z.ZodString>;
33732
33730
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33733
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33731
+ createdAt: z.ZodOptional<z.ZodString>;
33732
+ updatedAt: z.ZodOptional<z.ZodString>;
33734
33733
  enabled: z.ZodOptional<z.ZodBoolean>;
33735
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33734
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33735
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33736
33736
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33737
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33737
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33738
33738
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33739
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33739
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33740
33740
  id: z.ZodOptional<z.ZodString>;
33741
33741
  }, z.core.$strip>>>;
33742
33742
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33743
- createdAt: z.ZodOptional<z.ZodString>;
33744
33743
  name: z.ZodString;
33745
- updatedAt: z.ZodOptional<z.ZodString>;
33746
33744
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33745
+ createdAt: z.ZodOptional<z.ZodString>;
33746
+ updatedAt: z.ZodOptional<z.ZodString>;
33747
33747
  enabled: z.ZodOptional<z.ZodBoolean>;
33748
33748
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33749
33749
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33750
33750
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33751
33751
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33752
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33752
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33753
33753
  maxRetries: z.ZodOptional<z.ZodNumber>;
33754
33754
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33755
33755
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33798,27 +33798,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33798
33798
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33799
33799
  data: z.ZodObject<{
33800
33800
  id: z.ZodString;
33801
- createdAt: z.ZodString;
33802
33801
  name: z.ZodString;
33803
- updatedAt: z.ZodString;
33804
33802
  description: z.ZodNullable<z.ZodString>;
33805
33803
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33804
+ createdAt: z.ZodString;
33805
+ updatedAt: z.ZodString;
33806
33806
  contextConfigId: z.ZodNullable<z.ZodString>;
33807
33807
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33808
33808
  id: z.ZodString;
33809
- createdAt: z.ZodString;
33810
33809
  name: z.ZodString;
33811
- updatedAt: z.ZodString;
33812
33810
  description: z.ZodNullable<z.ZodString>;
33813
- stopWhen: z.ZodNullable<z.ZodType<{
33814
- stepCountIs?: number | undefined;
33815
- }, {
33816
- stepCountIs?: number | undefined;
33817
- }, z.core.$ZodTypeInternals<{
33818
- stepCountIs?: number | undefined;
33819
- }, {
33820
- stepCountIs?: number | undefined;
33821
- }>>>;
33822
33811
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33823
33812
  models: z.ZodNullable<z.ZodType<{
33824
33813
  base?: {
@@ -33873,6 +33862,17 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33873
33862
  providerOptions?: Record<string, any> | undefined;
33874
33863
  } | undefined;
33875
33864
  }>>>;
33865
+ stopWhen: z.ZodNullable<z.ZodType<{
33866
+ stepCountIs?: number | undefined;
33867
+ }, {
33868
+ stepCountIs?: number | undefined;
33869
+ }, z.core.$ZodTypeInternals<{
33870
+ stepCountIs?: number | undefined;
33871
+ }, {
33872
+ stepCountIs?: number | undefined;
33873
+ }>>>;
33874
+ createdAt: z.ZodString;
33875
+ updatedAt: z.ZodString;
33876
33876
  type: z.ZodLiteral<"internal">;
33877
33877
  canUse: z.ZodArray<z.ZodObject<{
33878
33878
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33944,11 +33944,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33944
33944
  }, z.core.$strip>>>;
33945
33945
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33946
33946
  id: z.ZodString;
33947
- createdAt: z.ZodString;
33948
33947
  name: z.ZodString;
33949
- updatedAt: z.ZodString;
33950
33948
  description: z.ZodNullable<z.ZodString>;
33951
33949
  agentId: z.ZodString;
33950
+ createdAt: z.ZodString;
33951
+ updatedAt: z.ZodString;
33952
33952
  functionId: z.ZodString;
33953
33953
  relationshipId: z.ZodOptional<z.ZodString>;
33954
33954
  }, z.core.$strip>>>;
@@ -34179,7 +34179,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34179
34179
  createdAt: z.ZodString;
34180
34180
  updatedAt: z.ZodString;
34181
34181
  targetAgentId: z.ZodString;
34182
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34182
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34183
34183
  subAgentId: z.ZodString;
34184
34184
  agentId: z.ZodString;
34185
34185
  projectId: z.ZodString;
@@ -34192,7 +34192,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34192
34192
  createdAt: z.ZodString;
34193
34193
  updatedAt: z.ZodString;
34194
34194
  targetAgentId: z.ZodString;
34195
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34195
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34196
34196
  subAgentId: z.ZodString;
34197
34197
  agentId: z.ZodString;
34198
34198
  projectId: z.ZodString;
@@ -34211,7 +34211,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34211
34211
  createdAt: z.ZodString;
34212
34212
  updatedAt: z.ZodString;
34213
34213
  externalAgentId: z.ZodString;
34214
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34214
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34215
34215
  subAgentId: z.ZodString;
34216
34216
  agentId: z.ZodString;
34217
34217
  projectId: z.ZodString;
@@ -34224,7 +34224,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34224
34224
  createdAt: z.ZodString;
34225
34225
  updatedAt: z.ZodString;
34226
34226
  externalAgentId: z.ZodString;
34227
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34227
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34228
34228
  subAgentId: z.ZodString;
34229
34229
  agentId: z.ZodString;
34230
34230
  projectId: z.ZodString;
@@ -34451,7 +34451,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34451
34451
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34452
34452
  ref: z.ZodOptional<z.ZodString>;
34453
34453
  }, z.core.$strip>;
34454
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34454
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34455
34455
  id: drizzle_orm_pg_core211.PgColumn<{
34456
34456
  name: "id";
34457
34457
  tableName: "project_metadata";
@@ -34545,7 +34545,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34545
34545
  }, {}, {
34546
34546
  length: 512;
34547
34547
  }>;
34548
- }, drizzle_zod15.BuildRefine<{
34548
+ }, drizzle_zod19.BuildRefine<{
34549
34549
  id: drizzle_orm_pg_core211.PgColumn<{
34550
34550
  name: "id";
34551
34551
  tableName: "project_metadata";
@@ -34656,10 +34656,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34656
34656
  disconnected: "disconnected";
34657
34657
  }>;
34658
34658
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34659
- Organization: "Organization";
34660
34659
  User: "User";
34660
+ Organization: "Organization";
34661
34661
  }>;
34662
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34662
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34663
34663
  createdAt: drizzle_orm_pg_core211.PgColumn<{
34664
34664
  name: "created_at";
34665
34665
  tableName: "work_app_github_installations";
@@ -34752,7 +34752,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34752
34752
  tableName: "work_app_github_installations";
34753
34753
  dataType: "string";
34754
34754
  columnType: "PgVarchar";
34755
- data: "Organization" | "User";
34755
+ data: "User" | "Organization";
34756
34756
  driverParam: string;
34757
34757
  notNull: true;
34758
34758
  hasDefault: false;
@@ -34765,7 +34765,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34765
34765
  generated: undefined;
34766
34766
  }, {}, {
34767
34767
  length: 20;
34768
- $type: "Organization" | "User";
34768
+ $type: "User" | "Organization";
34769
34769
  }>;
34770
34770
  status: drizzle_orm_pg_core211.PgColumn<{
34771
34771
  name: "status";
@@ -34825,7 +34825,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34825
34825
  }, {}, {
34826
34826
  length: 256;
34827
34827
  }>;
34828
- }, drizzle_zod15.BuildRefine<{
34828
+ }, drizzle_zod19.BuildRefine<{
34829
34829
  createdAt: drizzle_orm_pg_core211.PgColumn<{
34830
34830
  name: "created_at";
34831
34831
  tableName: "work_app_github_installations";
@@ -34918,7 +34918,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34918
34918
  tableName: "work_app_github_installations";
34919
34919
  dataType: "string";
34920
34920
  columnType: "PgVarchar";
34921
- data: "Organization" | "User";
34921
+ data: "User" | "Organization";
34922
34922
  driverParam: string;
34923
34923
  notNull: true;
34924
34924
  hasDefault: false;
@@ -34931,7 +34931,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34931
34931
  generated: undefined;
34932
34932
  }, {}, {
34933
34933
  length: 20;
34934
- $type: "Organization" | "User";
34934
+ $type: "User" | "Organization";
34935
34935
  }>;
34936
34936
  status: drizzle_orm_pg_core211.PgColumn<{
34937
34937
  name: "status";
@@ -34994,13 +34994,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34994
34994
  }, undefined>, undefined>;
34995
34995
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34996
34996
  id: z.ZodString;
34997
- accountId: z.ZodString;
34998
34997
  tenantId: z.ZodString;
34998
+ accountId: z.ZodString;
34999
34999
  installationId: z.ZodString;
35000
35000
  accountLogin: z.ZodString;
35001
35001
  accountType: z.ZodEnum<{
35002
- Organization: "Organization";
35003
35002
  User: "User";
35003
+ Organization: "Organization";
35004
35004
  }>;
35005
35005
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35006
35006
  pending: "pending";
@@ -35025,13 +35025,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35025
35025
  }>, z.core.$strip>;
35026
35026
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35027
35027
  id: z.ZodString;
35028
- accountId: z.ZodString;
35029
35028
  tenantId: z.ZodString;
35029
+ accountId: z.ZodString;
35030
35030
  installationId: z.ZodString;
35031
35031
  accountLogin: z.ZodString;
35032
35032
  accountType: z.ZodEnum<{
35033
- Organization: "Organization";
35034
35033
  User: "User";
35034
+ Organization: "Organization";
35035
35035
  }>;
35036
35036
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35037
35037
  pending: "pending";
@@ -35040,7 +35040,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35040
35040
  disconnected: "disconnected";
35041
35041
  }>>>;
35042
35042
  }>, z.core.$strip>;
35043
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35043
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35044
35044
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35045
35045
  name: "created_at";
35046
35046
  tableName: "work_app_github_repositories";
@@ -35185,7 +35185,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"se
35185
35185
  identity: undefined;
35186
35186
  generated: undefined;
35187
35187
  }, {}, {}>;
35188
- }, drizzle_zod15.BuildRefine<{
35188
+ }, drizzle_zod19.BuildRefine<{
35189
35189
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35190
35190
  name: "created_at";
35191
35191
  tableName: "work_app_github_repositories";
@@ -35351,7 +35351,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35351
35351
  repositoryFullName: z.ZodString;
35352
35352
  private: z.ZodOptional<z.ZodBoolean>;
35353
35353
  }>>, z.core.$strip>;
35354
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35354
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35355
35355
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35356
35356
  name: "created_at";
35357
35357
  tableName: "work_app_github_project_repository_access";
@@ -35462,7 +35462,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35462
35462
  }, {}, {
35463
35463
  length: 256;
35464
35464
  }>;
35465
- }, drizzle_zod15.BuildRefine<{
35465
+ }, drizzle_zod19.BuildRefine<{
35466
35466
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35467
35467
  name: "created_at";
35468
35468
  tableName: "work_app_github_project_repository_access";
@@ -35574,7 +35574,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35574
35574
  length: 256;
35575
35575
  }>;
35576
35576
  }, undefined>, undefined>;
35577
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35577
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35578
35578
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35579
35579
  name: "created_at";
35580
35580
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35704,7 +35704,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.Bu
35704
35704
  }, {}, {
35705
35705
  length: 256;
35706
35706
  }>;
35707
- }, drizzle_zod15.BuildRefine<{
35707
+ }, drizzle_zod19.BuildRefine<{
35708
35708
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35709
35709
  name: "created_at";
35710
35710
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35858,7 +35858,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35858
35858
  all: "all";
35859
35859
  selected: "selected";
35860
35860
  }>;
35861
- repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
35861
+ repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
35862
35862
  createdAt: drizzle_orm_pg_core211.PgColumn<{
35863
35863
  name: "created_at";
35864
35864
  tableName: "work_app_github_repositories";
@@ -36003,7 +36003,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36003
36003
  identity: undefined;
36004
36004
  generated: undefined;
36005
36005
  }, {}, {}>;
36006
- }, drizzle_zod15.BuildRefine<{
36006
+ }, drizzle_zod19.BuildRefine<{
36007
36007
  createdAt: drizzle_orm_pg_core211.PgColumn<{
36008
36008
  name: "created_at";
36009
36009
  tableName: "work_app_github_repositories";