@inkeep/agents-core 0.0.0-dev-20260309222204 → 0.0.0-dev-20260310153308

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_core0 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod3 from "drizzle-zod";
7
+ import * as drizzle_zod0 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -131,7 +131,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
131
131
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
132
132
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
133
133
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
134
- declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core0.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod3.BuildRefine<{
385
+ }, drizzle_zod0.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core0.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -821,10 +821,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
824
825
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
827
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,6 +839,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
842
843
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
843
844
  stepCountIs?: number | undefined;
844
845
  }, {
@@ -848,10 +849,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
849
  }, {
849
850
  stepCountIs?: number | undefined;
850
851
  }>>>>>>;
851
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
853
853
  }, z.core.$strip>;
854
- declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod3.BuildRefine<{
1022
+ }, drizzle_zod0.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1024
1024
  name: "created_at";
1025
1025
  tableName: "sub_agent_relations";
@@ -1290,7 +1290,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1290
1290
  sourceSubAgentId: z.ZodString;
1291
1291
  externalSubAgentId: z.ZodString;
1292
1292
  }>, z.core.$strip>;
1293
- declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1588,7 +1588,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1588
1588
  }, {}, {
1589
1589
  length: 256;
1590
1590
  }>;
1591
- }, drizzle_zod3.BuildRefine<{
1591
+ }, drizzle_zod0.BuildRefine<{
1592
1592
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1593
1593
  name: "created_at";
1594
1594
  tableName: "agent";
@@ -1887,7 +1887,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1887
1887
  length: 256;
1888
1888
  }>;
1889
1889
  }, undefined>, undefined>;
1890
- declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1890
+ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1891
1891
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1892
1892
  name: "created_at";
1893
1893
  tableName: "agent";
@@ -2185,7 +2185,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2185
2185
  }, {}, {
2186
2186
  length: 256;
2187
2187
  }>;
2188
- }, drizzle_zod3.BuildRefine<Pick<{
2188
+ }, drizzle_zod0.BuildRefine<Pick<{
2189
2189
  createdAt: drizzle_orm_pg_core0.PgColumn<{
2190
2190
  name: "created_at";
2191
2191
  tableName: "agent";
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,10 +2750,12 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
+ createdAt: z.ZodOptional<z.ZodString>;
2753
2754
  name: z.ZodString;
2755
+ updatedAt: z.ZodOptional<z.ZodString>;
2754
2756
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
2757
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
2759
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
2760
  base?: {
2759
2761
  model?: string | undefined;
@@ -2807,18 +2809,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2807
2809
  providerOptions?: Record<string, any> | undefined;
2808
2810
  } | undefined;
2809
2811
  }>>>>;
2810
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2811
- transferCountIs?: number | undefined;
2812
- }, {
2813
- transferCountIs?: number | undefined;
2814
- }, z.core.$ZodTypeInternals<{
2815
- transferCountIs?: number | undefined;
2816
- }, {
2817
- transferCountIs?: number | undefined;
2818
- }>>>>;
2819
- createdAt: z.ZodOptional<z.ZodString>;
2820
- updatedAt: z.ZodOptional<z.ZodString>;
2821
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2822
2813
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
2814
  enabled?: boolean | undefined;
2824
2815
  numEvents?: number | undefined;
@@ -2876,14 +2867,25 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2876
2867
  } | undefined;
2877
2868
  }[] | undefined;
2878
2869
  }>>>>;
2870
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2871
+ transferCountIs?: number | undefined;
2872
+ }, {
2873
+ transferCountIs?: number | undefined;
2874
+ }, z.core.$ZodTypeInternals<{
2875
+ transferCountIs?: number | undefined;
2876
+ }, {
2877
+ transferCountIs?: number | undefined;
2878
+ }>>>>;
2879
2879
  id: z.ZodString;
2880
2880
  }, z.core.$strip>;
2881
2881
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
2882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2883
2884
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2885
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
2886
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
2887
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
2889
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
2890
  base?: {
2889
2891
  model?: string | undefined;
@@ -2937,18 +2939,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2937
2939
  providerOptions?: Record<string, any> | undefined;
2938
2940
  } | undefined;
2939
2941
  }>>>>>>;
2940
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2941
- transferCountIs?: number | undefined;
2942
- }, {
2943
- transferCountIs?: number | undefined;
2944
- }, z.core.$ZodTypeInternals<{
2945
- transferCountIs?: number | undefined;
2946
- }, {
2947
- transferCountIs?: number | undefined;
2948
- }>>>>>>;
2949
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2951
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2942
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2952
2943
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2953
2944
  enabled?: boolean | undefined;
2954
2945
  numEvents?: number | undefined;
@@ -3006,6 +2997,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3006
2997
  } | undefined;
3007
2998
  }[] | undefined;
3008
2999
  }>>>>>>;
3000
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3001
+ transferCountIs?: number | undefined;
3002
+ }, {
3003
+ transferCountIs?: number | undefined;
3004
+ }, z.core.$ZodTypeInternals<{
3005
+ transferCountIs?: number | undefined;
3006
+ }, {
3007
+ transferCountIs?: number | undefined;
3008
+ }>>>>>>;
3009
3009
  }, z.core.$strip>;
3010
3010
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3011
3011
  name: z.ZodString;
@@ -3072,8 +3072,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3072
3072
  declare const SignatureSourceSchema: z.ZodObject<{
3073
3073
  source: z.ZodEnum<{
3074
3074
  query: "query";
3075
- body: "body";
3076
3075
  header: "header";
3076
+ body: "body";
3077
3077
  }>;
3078
3078
  key: z.ZodString;
3079
3079
  prefix: z.ZodOptional<z.ZodString>;
@@ -3102,8 +3102,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3102
3102
  declare const SignedComponentSchema: z.ZodObject<{
3103
3103
  source: z.ZodEnum<{
3104
3104
  literal: "literal";
3105
- body: "body";
3106
3105
  header: "header";
3106
+ body: "body";
3107
3107
  }>;
3108
3108
  key: z.ZodOptional<z.ZodString>;
3109
3109
  value: z.ZodOptional<z.ZodString>;
@@ -3212,8 +3212,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3212
3212
  signature: z.ZodObject<{
3213
3213
  source: z.ZodEnum<{
3214
3214
  query: "query";
3215
- body: "body";
3216
3215
  header: "header";
3216
+ body: "body";
3217
3217
  }>;
3218
3218
  key: z.ZodString;
3219
3219
  prefix: z.ZodOptional<z.ZodString>;
@@ -3222,8 +3222,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3222
3222
  signedComponents: z.ZodArray<z.ZodObject<{
3223
3223
  source: z.ZodEnum<{
3224
3224
  literal: "literal";
3225
- body: "body";
3226
3225
  header: "header";
3226
+ body: "body";
3227
3227
  }>;
3228
3228
  key: z.ZodOptional<z.ZodString>;
3229
3229
  value: z.ZodOptional<z.ZodString>;
@@ -3282,10 +3282,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3282
3282
  createdAt: z.ZodString;
3283
3283
  updatedAt: z.ZodString;
3284
3284
  enabled: z.ZodBoolean;
3285
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3286
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3285
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3286
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3287
3287
  messageTemplate: z.ZodNullable<z.ZodString>;
3288
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3288
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3289
3289
  name: z.ZodString;
3290
3290
  description: z.ZodNullable<z.ZodString>;
3291
3291
  agentId: z.ZodString;
@@ -3308,8 +3308,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3308
3308
  signature: z.ZodObject<{
3309
3309
  source: z.ZodEnum<{
3310
3310
  query: "query";
3311
- body: "body";
3312
3311
  header: "header";
3312
+ body: "body";
3313
3313
  }>;
3314
3314
  key: z.ZodString;
3315
3315
  prefix: z.ZodOptional<z.ZodString>;
@@ -3318,8 +3318,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3318
3318
  signedComponents: z.ZodArray<z.ZodObject<{
3319
3319
  source: z.ZodEnum<{
3320
3320
  literal: "literal";
3321
- body: "body";
3322
3321
  header: "header";
3322
+ body: "body";
3323
3323
  }>;
3324
3324
  key: z.ZodOptional<z.ZodString>;
3325
3325
  value: z.ZodOptional<z.ZodString>;
@@ -3344,7 +3344,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3344
3344
  out: {};
3345
3345
  in: {};
3346
3346
  }>;
3347
- declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3347
+ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3348
3348
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3349
3349
  name: "created_at";
3350
3350
  tableName: "triggers";
@@ -3504,13 +3504,13 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3504
3504
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3505
3505
  encoding: "hex" | "base64";
3506
3506
  signature: {
3507
- source: "query" | "body" | "header";
3507
+ source: "query" | "header" | "body";
3508
3508
  key: string;
3509
3509
  prefix?: string | undefined;
3510
3510
  regex?: string | undefined;
3511
3511
  };
3512
3512
  signedComponents: {
3513
- source: "literal" | "body" | "header";
3513
+ source: "literal" | "header" | "body";
3514
3514
  required: boolean;
3515
3515
  key?: string | undefined;
3516
3516
  value?: string | undefined;
@@ -3541,13 +3541,13 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3541
3541
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3542
3542
  encoding: "hex" | "base64";
3543
3543
  signature: {
3544
- source: "query" | "body" | "header";
3544
+ source: "query" | "header" | "body";
3545
3545
  key: string;
3546
3546
  prefix?: string | undefined;
3547
3547
  regex?: string | undefined;
3548
3548
  };
3549
3549
  signedComponents: {
3550
- source: "literal" | "body" | "header";
3550
+ source: "literal" | "header" | "body";
3551
3551
  required: boolean;
3552
3552
  key?: string | undefined;
3553
3553
  value?: string | undefined;
@@ -3714,7 +3714,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3714
3714
  }, {}, {
3715
3715
  length: 256;
3716
3716
  }>;
3717
- }, drizzle_zod3.BuildRefine<Pick<{
3717
+ }, drizzle_zod0.BuildRefine<Pick<{
3718
3718
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3719
3719
  name: "created_at";
3720
3720
  tableName: "triggers";
@@ -3874,13 +3874,13 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3874
3874
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3875
3875
  encoding: "hex" | "base64";
3876
3876
  signature: {
3877
- source: "query" | "body" | "header";
3877
+ source: "query" | "header" | "body";
3878
3878
  key: string;
3879
3879
  prefix?: string | undefined;
3880
3880
  regex?: string | undefined;
3881
3881
  };
3882
3882
  signedComponents: {
3883
- source: "literal" | "body" | "header";
3883
+ source: "literal" | "header" | "body";
3884
3884
  required: boolean;
3885
3885
  key?: string | undefined;
3886
3886
  value?: string | undefined;
@@ -3911,13 +3911,13 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3911
3911
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3912
3912
  encoding: "hex" | "base64";
3913
3913
  signature: {
3914
- source: "query" | "body" | "header";
3914
+ source: "query" | "header" | "body";
3915
3915
  key: string;
3916
3916
  prefix?: string | undefined;
3917
3917
  regex?: string | undefined;
3918
3918
  };
3919
3919
  signedComponents: {
3920
- source: "literal" | "body" | "header";
3920
+ source: "literal" | "header" | "body";
3921
3921
  required: boolean;
3922
3922
  key?: string | undefined;
3923
3923
  value?: string | undefined;
@@ -4084,16 +4084,16 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4088
4088
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4091
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4092
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4091
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4092
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4093
4093
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4094
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4094
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4095
4095
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4096
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4096
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4097
4097
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4098
4098
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4099
4099
  name: z.ZodOptional<z.ZodString>;
@@ -4111,10 +4111,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4111
4111
  createdAt: z.ZodString;
4112
4112
  updatedAt: z.ZodString;
4113
4113
  enabled: z.ZodBoolean;
4114
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4115
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4114
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4115
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4116
4116
  messageTemplate: z.ZodNullable<z.ZodString>;
4117
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4117
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4118
4118
  name: z.ZodString;
4119
4119
  description: z.ZodNullable<z.ZodString>;
4120
4120
  agentId: z.ZodString;
@@ -4137,8 +4137,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4137
4137
  signature: z.ZodObject<{
4138
4138
  source: z.ZodEnum<{
4139
4139
  query: "query";
4140
- body: "body";
4141
4140
  header: "header";
4141
+ body: "body";
4142
4142
  }>;
4143
4143
  key: z.ZodString;
4144
4144
  prefix: z.ZodOptional<z.ZodString>;
@@ -4147,8 +4147,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4147
4147
  signedComponents: z.ZodArray<z.ZodObject<{
4148
4148
  source: z.ZodEnum<{
4149
4149
  literal: "literal";
4150
- body: "body";
4151
4150
  header: "header";
4151
+ body: "body";
4152
4152
  }>;
4153
4153
  key: z.ZodOptional<z.ZodString>;
4154
4154
  value: z.ZodOptional<z.ZodString>;
@@ -4171,17 +4171,17 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4171
4171
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4172
  }>, z.core.$strip>;
4173
4173
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
- name: z.ZodString;
4175
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
4174
  createdAt: z.ZodOptional<z.ZodString>;
4175
+ name: z.ZodString;
4177
4176
  updatedAt: z.ZodOptional<z.ZodString>;
4177
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4180
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4179
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4180
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4181
4181
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4182
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4183
4183
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4184
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4184
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4185
4185
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4186
4186
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4187
4187
  id: z.ZodOptional<z.ZodString>;
@@ -4189,12 +4189,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4189
4189
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4190
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4191
4191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4192
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4193
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4193
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4194
4194
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4195
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4195
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4196
4196
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4197
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4197
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4198
4198
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4199
4199
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4200
4200
  name: z.ZodOptional<z.ZodString>;
@@ -4210,15 +4210,15 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4210
4210
  }>;
4211
4211
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
4212
  id: z.ZodString;
4213
- name: z.ZodString;
4214
- description: z.ZodNullable<z.ZodString>;
4215
4213
  createdAt: z.ZodString;
4214
+ name: z.ZodString;
4216
4215
  updatedAt: z.ZodString;
4216
+ description: z.ZodNullable<z.ZodString>;
4217
4217
  enabled: z.ZodBoolean;
4218
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4219
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4218
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4219
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4220
4220
  messageTemplate: z.ZodNullable<z.ZodString>;
4221
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4221
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4222
4222
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4223
4223
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4224
4224
  algorithm: z.ZodEnum<{
@@ -4235,8 +4235,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4235
4235
  signature: z.ZodObject<{
4236
4236
  source: z.ZodEnum<{
4237
4237
  query: "query";
4238
- body: "body";
4239
4238
  header: "header";
4239
+ body: "body";
4240
4240
  }>;
4241
4241
  key: z.ZodString;
4242
4242
  prefix: z.ZodOptional<z.ZodString>;
@@ -4245,8 +4245,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4245
4245
  signedComponents: z.ZodArray<z.ZodObject<{
4246
4246
  source: z.ZodEnum<{
4247
4247
  literal: "literal";
4248
- body: "body";
4249
4248
  header: "header";
4249
+ body: "body";
4250
4250
  }>;
4251
4251
  key: z.ZodOptional<z.ZodString>;
4252
4252
  value: z.ZodOptional<z.ZodString>;
@@ -4269,7 +4269,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4269
4269
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
4270
  webhookUrl: z.ZodString;
4271
4271
  }, z.core.$strip>;
4272
- declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select", {
4272
+ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select", {
4273
4273
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4274
4274
  name: "trigger_id";
4275
4275
  tableName: "trigger_invocations";
@@ -4471,7 +4471,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select",
4471
4471
  }, {}, {
4472
4472
  length: 256;
4473
4473
  }>;
4474
- }, drizzle_zod3.BuildRefine<{
4474
+ }, drizzle_zod0.BuildRefine<{
4475
4475
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4476
4476
  name: "trigger_id";
4477
4477
  tableName: "trigger_invocations";
@@ -4674,7 +4674,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select",
4674
4674
  length: 256;
4675
4675
  }>;
4676
4676
  }, undefined>, undefined>;
4677
- declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4677
+ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4678
4678
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4679
4679
  name: "trigger_id";
4680
4680
  tableName: "trigger_invocations";
@@ -4876,7 +4876,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
4876
4876
  }, {}, {
4877
4877
  length: 256;
4878
4878
  }>;
4879
- }, drizzle_zod3.BuildRefine<Pick<{
4879
+ }, drizzle_zod0.BuildRefine<Pick<{
4880
4880
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4881
4881
  name: "trigger_id";
4882
4882
  tableName: "trigger_invocations";
@@ -5078,13 +5078,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5082
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5083
  triggerId: z.ZodOptional<z.ZodString>;
5084
5084
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5085
5085
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5086
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5087
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5086
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5087
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5088
5088
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5089
5089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5090
5090
  agentId: z.ZodOptional<z.ZodString>;
@@ -5099,8 +5099,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5099
5099
  triggerId: z.ZodString;
5100
5100
  conversationId: z.ZodNullable<z.ZodString>;
5101
5101
  status: z.ZodString;
5102
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5103
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5102
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5103
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5104
5104
  errorMessage: z.ZodNullable<z.ZodString>;
5105
5105
  createdAt: z.ZodString;
5106
5106
  agentId: z.ZodString;
@@ -5110,22 +5110,22 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5110
5110
  }>, z.core.$strip>;
5111
5111
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5112
5112
  createdAt: z.ZodOptional<z.ZodString>;
5113
- status: z.ZodOptional<z.ZodString>;
5114
5113
  triggerId: z.ZodString;
5115
5114
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5116
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5117
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5115
+ status: z.ZodOptional<z.ZodString>;
5116
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5117
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5118
5118
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5119
5119
  id: z.ZodString;
5120
5120
  }, z.core.$strip>;
5121
5121
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5122
5122
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5123
5123
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5124
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5125
5124
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5126
5125
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5127
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5128
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5126
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5127
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5128
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
5129
5129
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5130
5130
  }, z.core.$strip>;
5131
5131
  declare const CronExpressionSchema: z.ZodString;
@@ -5153,7 +5153,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5153
  out: {};
5154
5154
  in: {};
5155
5155
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5156
+ declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5157
5157
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5158
5158
  name: "created_at";
5159
5159
  tableName: "scheduled_triggers";
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5497
5497
  }, {}, {
5498
5498
  length: 256;
5499
5499
  }>;
5500
- }, drizzle_zod3.BuildRefine<Pick<{
5500
+ }, drizzle_zod0.BuildRefine<Pick<{
5501
5501
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5502
5502
  name: "created_at";
5503
5503
  tableName: "scheduled_triggers";
@@ -5841,14 +5841,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5845
5845
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
5846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
5847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5848
5848
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5849
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5850
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5851
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5851
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5852
5852
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
5853
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5854
5854
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5888,10 +5888,10 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5888
5888
  createdBy: z.ZodNullable<z.ZodString>;
5889
5889
  }>, z.core.$strip>;
5890
5890
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
- name: z.ZodString;
5892
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
5891
  createdAt: z.ZodOptional<z.ZodString>;
5892
+ name: z.ZodString;
5894
5893
  updatedAt: z.ZodOptional<z.ZodString>;
5894
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
5895
  enabled: z.ZodOptional<z.ZodBoolean>;
5896
5896
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
5897
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5899,17 +5899,17 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5899
5899
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
5900
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5901
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5902
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5903
5903
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5904
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5905
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5906
5906
  id: z.ZodOptional<z.ZodString>;
5907
5907
  }, z.core.$strip>;
5908
5908
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
- name: z.ZodString;
5910
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5911
5909
  createdAt: z.ZodOptional<z.ZodString>;
5910
+ name: z.ZodString;
5912
5911
  updatedAt: z.ZodOptional<z.ZodString>;
5912
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
5913
  enabled: z.ZodOptional<z.ZodBoolean>;
5914
5914
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
5915
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5917,7 +5917,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5917
5917
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5918
5918
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5919
5919
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5920
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5921
5921
  maxRetries: z.ZodOptional<z.ZodNumber>;
5922
5922
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5923
5923
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5929,7 +5929,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5929
5929
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5930
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5931
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5932
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5932
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5933
5933
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
5934
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5935
5935
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5953,7 +5953,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5953
5953
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5954
5954
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5955
5955
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5956
- declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select", {
5956
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select", {
5957
5957
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5958
5958
  name: "created_at";
5959
5959
  tableName: "scheduled_workflows";
@@ -6157,7 +6157,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select",
6157
6157
  }, {}, {
6158
6158
  length: 256;
6159
6159
  }>;
6160
- }, drizzle_zod3.BuildRefine<{
6160
+ }, drizzle_zod0.BuildRefine<{
6161
6161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6162
6162
  name: "created_at";
6163
6163
  tableName: "scheduled_workflows";
@@ -6362,7 +6362,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select",
6362
6362
  length: 256;
6363
6363
  }>;
6364
6364
  }, undefined>, undefined>;
6365
- declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6365
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6366
6366
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6367
6367
  name: "created_at";
6368
6368
  tableName: "scheduled_workflows";
@@ -6566,7 +6566,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6566
6566
  }, {}, {
6567
6567
  length: 256;
6568
6568
  }>;
6569
- }, drizzle_zod3.BuildRefine<Pick<{
6569
+ }, drizzle_zod0.BuildRefine<Pick<{
6570
6570
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6571
6571
  name: "created_at";
6572
6572
  tableName: "scheduled_workflows";
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6774
6774
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6801,10 +6801,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6801
6801
  id: z.ZodString;
6802
6802
  }>, z.core.$strip>;
6803
6803
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
- name: z.ZodString;
6805
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6806
6804
  createdAt: z.ZodOptional<z.ZodString>;
6805
+ name: z.ZodString;
6807
6806
  updatedAt: z.ZodOptional<z.ZodString>;
6807
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6808
6808
  status: z.ZodOptional<z.ZodString>;
6809
6809
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6810
6810
  scheduledTriggerId: z.ZodString;
@@ -6861,7 +6861,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6861
6861
  out: {};
6862
6862
  in: {};
6863
6863
  }>;
6864
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6864
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6865
6865
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
6866
6866
  name: "scheduled_trigger_id";
6867
6867
  tableName: "scheduled_trigger_invocations";
@@ -7119,7 +7119,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
7119
7119
  }, {}, {
7120
7120
  length: 256;
7121
7121
  }>;
7122
- }, drizzle_zod3.BuildRefine<Pick<{
7122
+ }, drizzle_zod0.BuildRefine<Pick<{
7123
7123
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
7124
7124
  name: "scheduled_trigger_id";
7125
7125
  tableName: "scheduled_trigger_invocations";
@@ -7377,14 +7377,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
7381
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
7382
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
7383
  status: z.ZodOptional<z.ZodString>;
7384
7384
  scheduledFor: z.ZodOptional<z.ZodString>;
7385
7385
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7386
7386
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7387
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
7387
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
7388
7388
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7389
7389
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7390
7390
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7426,7 +7426,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7426
7426
  scheduledFor: z.ZodString;
7427
7427
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7428
7428
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
7429
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
7430
7430
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7431
7431
  attemptNumber: z.ZodOptional<z.ZodInt>;
7432
7432
  idempotencyKey: z.ZodString;
@@ -7440,7 +7440,7 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7440
7440
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7441
7441
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7442
7442
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
7443
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
7444
7444
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7445
7445
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7446
7446
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7449,7 +7449,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7449
7449
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7450
7450
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7451
7451
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7452
- declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7452
+ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7453
7453
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7454
7454
  name: "created_at";
7455
7455
  tableName: "tasks";
@@ -7663,7 +7663,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7663
7663
  }, {}, {
7664
7664
  length: 256;
7665
7665
  }>;
7666
- }, drizzle_zod3.BuildRefine<{
7666
+ }, drizzle_zod0.BuildRefine<{
7667
7667
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7668
7668
  name: "created_at";
7669
7669
  tableName: "tasks";
@@ -7981,13 +7981,13 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7985
7984
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
7985
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7987
7987
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
7988
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7990
7989
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7991
7991
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7992
7992
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7993
7993
  type: z.ZodEnum<{
@@ -7999,7 +7999,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7999
7999
  hash: z.ZodString;
8000
8000
  }, z.core.$strip>>>;
8001
8001
  }, z.core.$strip>;
8002
- declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8002
+ declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8003
8003
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8004
8004
  name: "created_at";
8005
8005
  tableName: "task_relations";
@@ -8148,7 +8148,7 @@ declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8148
8148
  }, {}, {
8149
8149
  length: 256;
8150
8150
  }>;
8151
- }, drizzle_zod3.BuildRefine<{
8151
+ }, drizzle_zod0.BuildRefine<{
8152
8152
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8153
8153
  name: "created_at";
8154
8154
  tableName: "task_relations";
@@ -8374,7 +8374,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8374
8374
  description: z.ZodOptional<z.ZodString>;
8375
8375
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8376
8376
  }, z.core.$strip>;
8377
- declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8377
+ declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
8378
8378
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8379
8379
  name: "created_at";
8380
8380
  tableName: "tools";
@@ -8654,7 +8654,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8654
8654
  }, {}, {
8655
8655
  length: 256;
8656
8656
  }>;
8657
- }, drizzle_zod3.BuildRefine<{
8657
+ }, drizzle_zod0.BuildRefine<{
8658
8658
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8659
8659
  name: "created_at";
8660
8660
  tableName: "tools";
@@ -8980,7 +8980,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8980
8980
  out: {};
8981
8981
  in: {};
8982
8982
  }>;
8983
- declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8983
+ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8984
8984
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8985
8985
  name: "created_at";
8986
8986
  tableName: "conversations";
@@ -9209,7 +9209,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9209
9209
  }, {}, {
9210
9210
  length: 256;
9211
9211
  }>;
9212
- }, drizzle_zod3.BuildRefine<{
9212
+ }, drizzle_zod0.BuildRefine<{
9213
9213
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9214
9214
  name: "created_at";
9215
9215
  tableName: "conversations";
@@ -9546,11 +9546,11 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
9548
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9549
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9551
9549
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9552
9550
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9551
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9553
9552
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9554
9554
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
9555
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9556
9556
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -9565,7 +9565,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9565
9565
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9566
9566
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9567
9567
  }, z.core.$strip>;
9568
- declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
9568
+ declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
9569
9569
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9570
9570
  name: "created_at";
9571
9571
  tableName: "messages";
@@ -9961,7 +9961,7 @@ declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
9961
9961
  }, {}, {
9962
9962
  length: 256;
9963
9963
  }>;
9964
- }, drizzle_zod3.BuildRefine<{
9964
+ }, drizzle_zod0.BuildRefine<{
9965
9965
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9966
9966
  name: "created_at";
9967
9967
  tableName: "messages";
@@ -10462,22 +10462,22 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10462
10462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10463
10463
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10464
10464
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10465
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10465
10466
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10466
10467
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10467
10468
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10468
10469
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10469
10470
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10470
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10471
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10472
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10473
10471
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10474
10472
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10475
10473
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10476
10474
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10475
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10477
10476
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10477
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10478
10478
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10479
10479
  }, z.core.$strip>;
10480
- declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10480
+ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10481
10481
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "context_cache";
@@ -10727,7 +10727,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10727
10727
  }, {}, {
10728
10728
  length: 256;
10729
10729
  }>;
10730
- }, drizzle_zod3.BuildRefine<{
10730
+ }, drizzle_zod0.BuildRefine<{
10731
10731
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10732
10732
  name: "created_at";
10733
10733
  tableName: "context_cache";
@@ -10984,7 +10984,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10984
10984
  conversationId: z.ZodString;
10985
10985
  contextConfigId: z.ZodString;
10986
10986
  contextVariableKey: z.ZodString;
10987
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
10987
+ value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
10988
10988
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  fetchedAt: z.ZodOptional<z.ZodString>;
10990
10990
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11010,7 +11010,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11010
11010
  conversationId: z.ZodOptional<z.ZodString>;
11011
11011
  contextConfigId: z.ZodOptional<z.ZodString>;
11012
11012
  contextVariableKey: z.ZodOptional<z.ZodString>;
11013
- value: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
11013
+ value: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
11014
11014
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11015
11015
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11016
11016
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -11053,7 +11053,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
11056
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
11056
+ value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
11057
11057
  requestHash: z.ZodNullable<z.ZodString>;
11058
11058
  fetchedAt: z.ZodString;
11059
11059
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -11067,7 +11067,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11067
11067
  conversationId: z.ZodString;
11068
11068
  contextConfigId: z.ZodString;
11069
11069
  contextVariableKey: z.ZodString;
11070
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
11070
+ value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
11071
11071
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11072
11072
  fetchedAt: z.ZodOptional<z.ZodString>;
11073
11073
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11085,8 +11085,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11085
11085
  }, z.core.$strip>;
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
11088
11089
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
11090
11090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
11091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11092
11092
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -11105,7 +11105,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11105
11105
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11106
11106
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11107
11107
  }, z.core.$strip>;
11108
- declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
11108
+ declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
11109
11109
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11110
11110
  name: "created_at";
11111
11111
  tableName: "dataset_run";
@@ -11248,7 +11248,7 @@ declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
11248
11248
  }, {}, {
11249
11249
  length: 256;
11250
11250
  }>;
11251
- }, drizzle_zod3.BuildRefine<{
11251
+ }, drizzle_zod0.BuildRefine<{
11252
11252
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11253
11253
  name: "created_at";
11254
11254
  tableName: "dataset_run";
@@ -11442,7 +11442,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11442
11442
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
11443
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
11444
  }, z.core.$strip>;
11445
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11445
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11446
11446
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11447
11447
  name: "created_at";
11448
11448
  tableName: "dataset_run_conversation_relations";
@@ -11585,7 +11585,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSche
11585
11585
  }, {}, {
11586
11586
  length: 256;
11587
11587
  }>;
11588
- }, drizzle_zod3.BuildRefine<{
11588
+ }, drizzle_zod0.BuildRefine<{
11589
11589
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11590
11590
  name: "created_at";
11591
11591
  tableName: "dataset_run_conversation_relations";
@@ -11779,7 +11779,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11779
11779
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11780
11780
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11781
11781
  }, z.core.$strip>;
11782
- declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
11782
+ declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
11783
11783
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11784
11784
  name: "created_at";
11785
11785
  tableName: "evaluation_result";
@@ -11941,7 +11941,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
11941
11941
  }, {}, {
11942
11942
  length: 256;
11943
11943
  }>;
11944
- }, drizzle_zod3.BuildRefine<{
11944
+ }, drizzle_zod0.BuildRefine<{
11945
11945
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11946
11946
  name: "created_at";
11947
11947
  tableName: "evaluation_result";
@@ -12144,22 +12144,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
12144
12144
  id: z.ZodString;
12145
12145
  }>, z.core.$strip>;
12146
12146
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12147
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12148
12147
  createdAt: z.ZodOptional<z.ZodString>;
12149
12148
  updatedAt: z.ZodOptional<z.ZodString>;
12149
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12150
12150
  conversationId: z.ZodString;
12151
12151
  evaluatorId: z.ZodString;
12152
12152
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12153
12153
  }, z.core.$strip>;
12154
12154
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12155
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12156
12155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
12156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12158
12158
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
12159
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
12160
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12161
12161
  }, z.core.$strip>;
12162
- declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
12162
+ declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
12163
12163
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12164
12164
  name: "created_at";
12165
12165
  tableName: "evaluation_run";
@@ -12285,7 +12285,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
12285
12285
  }, {}, {
12286
12286
  length: 256;
12287
12287
  }>;
12288
- }, drizzle_zod3.BuildRefine<{
12288
+ }, drizzle_zod0.BuildRefine<{
12289
12289
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12290
12290
  name: "created_at";
12291
12291
  tableName: "evaluation_run";
@@ -12457,7 +12457,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12457
12457
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
12458
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
12459
  }, z.core.$strip>;
12460
- declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12460
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12461
12461
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12462
12462
  name: "created_at";
12463
12463
  tableName: "evaluation_run_config";
@@ -12602,7 +12602,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select"
12602
12602
  }, {}, {
12603
12603
  length: 256;
12604
12604
  }>;
12605
- }, drizzle_zod3.BuildRefine<{
12605
+ }, drizzle_zod0.BuildRefine<{
12606
12606
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12607
12607
  name: "created_at";
12608
12608
  tableName: "evaluation_run_config";
@@ -12785,31 +12785,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12785
12785
  id: z.ZodString;
12786
12786
  }>, z.core.$strip>;
12787
12787
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
- name: z.ZodString;
12789
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12790
12788
  createdAt: z.ZodOptional<z.ZodString>;
12789
+ name: z.ZodString;
12791
12790
  updatedAt: z.ZodOptional<z.ZodString>;
12791
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12792
12792
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12793
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12794
  }, z.core.$strip>;
12795
12795
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12797
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12798
12796
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12797
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12799
12798
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12800
12800
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12801
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12802
  }, z.core.$strip>;
12803
12803
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
12804
  id: z.ZodString;
12805
- name: z.ZodString;
12806
- description: z.ZodNullable<z.ZodString>;
12807
12805
  createdAt: z.ZodString;
12806
+ name: z.ZodString;
12808
12807
  updatedAt: z.ZodString;
12808
+ description: z.ZodNullable<z.ZodString>;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
12812
- declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12812
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12813
12813
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12814
12814
  name: "created_at";
12815
12815
  tableName: "evaluation_job_config";
@@ -12934,7 +12934,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select"
12934
12934
  }, {}, {
12935
12935
  length: 256;
12936
12936
  }>;
12937
- }, drizzle_zod3.BuildRefine<{
12937
+ }, drizzle_zod0.BuildRefine<{
12938
12938
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12939
12939
  name: "created_at";
12940
12940
  tableName: "evaluation_job_config";
@@ -13241,7 +13241,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13241
13241
  } | undefined;
13242
13242
  }>>>>>>>;
13243
13243
  }, z.core.$strip>;
13244
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
13244
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
13245
13245
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13246
13246
  name: "created_at";
13247
13247
  tableName: "evaluation_suite_config";
@@ -13369,7 +13369,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"selec
13369
13369
  }, {}, {
13370
13370
  length: 256;
13371
13371
  }>;
13372
- }, drizzle_zod3.BuildRefine<{
13372
+ }, drizzle_zod0.BuildRefine<{
13373
13373
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13374
13374
  name: "created_at";
13375
13375
  tableName: "evaluation_suite_config";
@@ -13545,7 +13545,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13545
13545
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13546
13546
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13547
13547
  }, z.core.$strip>;
13548
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13548
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13549
13549
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13550
13550
  name: "created_at";
13551
13551
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13675,7 +13675,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13675
13675
  }, {}, {
13676
13676
  length: 256;
13677
13677
  }>;
13678
- }, drizzle_zod3.BuildRefine<{
13678
+ }, drizzle_zod0.BuildRefine<{
13679
13679
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13680
13680
  name: "created_at";
13681
13681
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13851,7 +13851,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13851
13851
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13852
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13853
  }, z.core.$strip>;
13854
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13854
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13855
13855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13856
13856
  name: "created_at";
13857
13857
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13981,7 +13981,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.Bui
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod3.BuildRefine<{
13984
+ }, drizzle_zod0.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14157,7 +14157,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14157
14157
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
14158
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
14159
  }, z.core.$strip>;
14160
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
14160
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
14161
14161
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14162
14162
  name: "created_at";
14163
14163
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14287,7 +14287,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.B
14287
14287
  }, {}, {
14288
14288
  length: 256;
14289
14289
  }>;
14290
- }, drizzle_zod3.BuildRefine<{
14290
+ }, drizzle_zod0.BuildRefine<{
14291
14291
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14292
14292
  name: "created_at";
14293
14293
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14463,7 +14463,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14463
14463
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
14464
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
14465
  }, z.core.$strip>;
14466
- declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
14466
+ declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
14467
14467
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14468
14468
  name: "created_at";
14469
14469
  tableName: "evaluator";
@@ -14671,7 +14671,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
14671
14671
  }, {}, {
14672
14672
  length: 256;
14673
14673
  }>;
14674
- }, drizzle_zod3.BuildRefine<{
14674
+ }, drizzle_zod0.BuildRefine<{
14675
14675
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14676
14676
  name: "created_at";
14677
14677
  tableName: "evaluator";
@@ -14962,9 +14962,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14962
14962
  id: z.ZodString;
14963
14963
  }>, z.core.$strip>;
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
+ createdAt: z.ZodOptional<z.ZodString>;
14965
14966
  name: z.ZodString;
14967
+ updatedAt: z.ZodOptional<z.ZodString>;
14966
14968
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
- prompt: z.ZodString;
14968
14969
  model: z.ZodType<{
14969
14970
  model?: string | undefined;
14970
14971
  providerOptions?: Record<string, any> | undefined;
@@ -14978,15 +14979,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14978
14979
  model?: string | undefined;
14979
14980
  providerOptions?: Record<string, any> | undefined;
14980
14981
  }>>;
14981
- createdAt: z.ZodOptional<z.ZodString>;
14982
- updatedAt: z.ZodOptional<z.ZodString>;
14982
+ prompt: z.ZodString;
14983
14983
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14984
14984
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14985
  }, z.core.$strip>;
14986
14986
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14987
14988
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14989
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14988
14990
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14990
14991
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14991
14992
  model?: string | undefined;
14992
14993
  providerOptions?: Record<string, any> | undefined;
@@ -15000,12 +15001,11 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15000
15001
  model?: string | undefined;
15001
15002
  providerOptions?: Record<string, any> | undefined;
15002
15003
  }>>>>;
15003
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15005
15005
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15006
15006
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
15007
  }, z.core.$strip>;
15008
- declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
15008
+ declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
15009
15009
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15010
15010
  name: "created_at";
15011
15011
  tableName: "dataset";
@@ -15116,7 +15116,7 @@ declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
15116
15116
  }, {}, {
15117
15117
  length: 256;
15118
15118
  }>;
15119
- }, drizzle_zod3.BuildRefine<{
15119
+ }, drizzle_zod0.BuildRefine<{
15120
15120
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15121
15121
  name: "created_at";
15122
15122
  tableName: "dataset";
@@ -15259,16 +15259,16 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
15259
15259
  id: z.ZodString;
15260
15260
  }>, z.core.$strip>;
15261
15261
  declare const DatasetApiInsertSchema: z.ZodObject<{
15262
- name: z.ZodString;
15263
15262
  createdAt: z.ZodOptional<z.ZodString>;
15263
+ name: z.ZodString;
15264
15264
  updatedAt: z.ZodOptional<z.ZodString>;
15265
15265
  }, z.core.$strip>;
15266
15266
  declare const DatasetApiUpdateSchema: z.ZodObject<{
15267
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15268
15267
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15268
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15269
15269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15270
15270
  }, z.core.$strip>;
15271
- declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
15271
+ declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
15272
15272
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15273
15273
  name: "created_at";
15274
15274
  tableName: "dataset_item";
@@ -15456,7 +15456,7 @@ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
15456
15456
  }, {}, {
15457
15457
  length: 256;
15458
15458
  }>;
15459
- }, drizzle_zod3.BuildRefine<{
15459
+ }, drizzle_zod0.BuildRefine<{
15460
15460
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15461
15461
  name: "created_at";
15462
15462
  tableName: "dataset_item";
@@ -15805,9 +15805,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15805
15805
  id: z.ZodString;
15806
15806
  }>, z.core.$strip>;
15807
15807
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15808
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15809
15808
  createdAt: z.ZodOptional<z.ZodString>;
15810
15809
  updatedAt: z.ZodOptional<z.ZodString>;
15810
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15811
15811
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15812
15812
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15813
15813
  prompt: string;
@@ -15852,9 +15852,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15852
15852
  }>>>>;
15853
15853
  }, z.core.$strip>;
15854
15854
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15855
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15856
15855
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
15856
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15858
15858
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15859
15859
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15860
15860
  prompt: string;
@@ -16027,7 +16027,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
16027
16027
  }, z.core.$strip>>;
16028
16028
  }, z.core.$strip>>>;
16029
16029
  }, z.core.$strip>;
16030
- declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
16030
+ declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
16031
16031
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16032
16032
  name: "created_at";
16033
16033
  tableName: "dataset_run_config";
@@ -16174,7 +16174,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
16174
16174
  }, {}, {
16175
16175
  length: 256;
16176
16176
  }>;
16177
- }, drizzle_zod3.BuildRefine<{
16177
+ }, drizzle_zod0.BuildRefine<{
16178
16178
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16179
16179
  name: "created_at";
16180
16180
  tableName: "dataset_run_config";
@@ -16359,20 +16359,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16359
16359
  id: z.ZodString;
16360
16360
  }>, z.core.$strip>;
16361
16361
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
- name: z.ZodString;
16363
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16364
16362
  createdAt: z.ZodOptional<z.ZodString>;
16363
+ name: z.ZodString;
16365
16364
  updatedAt: z.ZodOptional<z.ZodString>;
16365
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
16366
  datasetId: z.ZodString;
16367
16367
  }, z.core.$strip>;
16368
16368
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16370
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16371
16369
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16370
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16372
16371
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
16375
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
16376
16376
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16377
16377
  name: "created_at";
16378
16378
  tableName: "dataset_run_config_agent_relations";
@@ -16502,7 +16502,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchem
16502
16502
  }, {}, {
16503
16503
  length: 256;
16504
16504
  }>;
16505
- }, drizzle_zod3.BuildRefine<{
16505
+ }, drizzle_zod0.BuildRefine<{
16506
16506
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16507
16507
  name: "created_at";
16508
16508
  tableName: "dataset_run_config_agent_relations";
@@ -16678,9 +16678,9 @@ declare const SkillSelectSchema: z.ZodObject<{
16678
16678
  }>;
16679
16679
  declare const SkillInsertSchema: z.ZodObject<{
16680
16680
  name: z.ZodString;
16681
- description: z.ZodString;
16682
- tenantId: z.ZodString;
16683
16681
  projectId: z.ZodString;
16682
+ tenantId: z.ZodString;
16683
+ description: z.ZodString;
16684
16684
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16685
  content: z.ZodString;
16686
16686
  }, {
@@ -16688,9 +16688,9 @@ declare const SkillInsertSchema: z.ZodObject<{
16688
16688
  in: {};
16689
16689
  }>;
16690
16690
  declare const SkillUpdateSchema: z.ZodObject<{
16691
- description: z.ZodOptional<z.ZodString>;
16692
- tenantId: z.ZodOptional<z.ZodString>;
16693
16691
  projectId: z.ZodOptional<z.ZodString>;
16692
+ tenantId: z.ZodOptional<z.ZodString>;
16693
+ description: z.ZodOptional<z.ZodString>;
16694
16694
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16695
  content: z.ZodOptional<z.ZodString>;
16696
16696
  }, {
@@ -16710,9 +16710,9 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16710
16710
  }>, z.core.$strip>;
16711
16711
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
16712
  name: z.ZodString;
16713
- description: z.ZodString;
16714
- tenantId: z.ZodString;
16715
16713
  projectId: z.ZodString;
16714
+ tenantId: z.ZodString;
16715
+ description: z.ZodString;
16716
16716
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16717
  content: z.ZodString;
16718
16718
  }>, z.core.$strip>;
@@ -16721,7 +16721,7 @@ declare const SkillApiUpdateSchema: z.ZodObject<{
16721
16721
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16722
16722
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16723
16723
  }, z.core.$strip>;
16724
- declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16724
+ declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
16725
16725
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16726
16726
  name: "created_at";
16727
16727
  tableName: "data_components";
@@ -16907,7 +16907,7 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16907
16907
  }, {}, {
16908
16908
  length: 256;
16909
16909
  }>;
16910
- }, drizzle_zod3.BuildRefine<{
16910
+ }, drizzle_zod0.BuildRefine<{
16911
16911
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16912
16912
  name: "created_at";
16913
16913
  tableName: "data_components";
@@ -17307,7 +17307,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17307
17307
  description: z.ZodOptional<z.ZodString>;
17308
17308
  }, z.core.$loose>;
17309
17309
  }, z.core.$strip>;
17310
- declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17310
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
17311
17311
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17312
17312
  name: "data_component_id";
17313
17313
  tableName: "sub_agent_data_components";
@@ -17439,7 +17439,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"selec
17439
17439
  }, {}, {
17440
17440
  length: 256;
17441
17441
  }>;
17442
- }, drizzle_zod3.BuildRefine<{
17442
+ }, drizzle_zod0.BuildRefine<{
17443
17443
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17444
17444
  name: "data_component_id";
17445
17445
  tableName: "sub_agent_data_components";
@@ -17572,7 +17572,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"selec
17572
17572
  length: 256;
17573
17573
  }>;
17574
17574
  }, undefined>, undefined>;
17575
- declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
17575
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
17576
17576
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17577
17577
  name: "data_component_id";
17578
17578
  tableName: "sub_agent_data_components";
@@ -17704,7 +17704,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17704
17704
  }, {}, {
17705
17705
  length: 256;
17706
17706
  }>;
17707
- }, drizzle_zod3.BuildRefine<Pick<{
17707
+ }, drizzle_zod0.BuildRefine<Pick<{
17708
17708
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17709
17709
  name: "data_component_id";
17710
17710
  tableName: "sub_agent_data_components";
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17840
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17841
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17842
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17872,7 +17872,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17872
17872
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17873
17873
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17874
17874
  }, z.core.$strip>;
17875
- declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17875
+ declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
17876
17876
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17877
17877
  name: "created_at";
17878
17878
  tableName: "artifact_components";
@@ -18058,7 +18058,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select",
18058
18058
  }, {}, {
18059
18059
  length: 256;
18060
18060
  }>;
18061
- }, drizzle_zod3.BuildRefine<{
18061
+ }, drizzle_zod0.BuildRefine<{
18062
18062
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18063
18063
  name: "created_at";
18064
18064
  tableName: "artifact_components";
@@ -18434,10 +18434,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18434
18434
  }>;
18435
18435
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
18436
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18439
18437
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18438
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18440
18439
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18441
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18442
18442
  [x: string]: unknown;
18443
18443
  type: "object";
@@ -18481,7 +18481,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18481
18481
  mockData: Record<string, unknown>;
18482
18482
  }>>>>>>;
18483
18483
  }, z.core.$strip>;
18484
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
18484
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
18485
18485
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18486
18486
  name: "artifact_component_id";
18487
18487
  tableName: "sub_agent_artifact_components";
@@ -18613,7 +18613,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"s
18613
18613
  }, {}, {
18614
18614
  length: 256;
18615
18615
  }>;
18616
- }, drizzle_zod3.BuildRefine<{
18616
+ }, drizzle_zod0.BuildRefine<{
18617
18617
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18618
18618
  name: "artifact_component_id";
18619
18619
  tableName: "sub_agent_artifact_components";
@@ -18852,10 +18852,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18852
18852
  }>, z.core.$strip>;
18853
18853
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18854
18854
  agentId: z.ZodString;
18855
- index: z.ZodInt;
18856
- alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18857
18855
  subAgentId: z.ZodString;
18858
18856
  skillId: z.ZodString;
18857
+ index: z.ZodInt;
18858
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18859
18859
  }, {
18860
18860
  out: {};
18861
18861
  in: {};
@@ -18864,17 +18864,17 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18864
18864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18865
18865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18866
18866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18867
- index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18868
- alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18869
18867
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18870
18868
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18869
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18870
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18871
18871
  }, z.core.$strip>;
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
18873
  id: z.ZodString;
18874
- name: z.ZodString;
18875
- description: z.ZodString;
18876
18874
  createdAt: z.ZodString;
18875
+ name: z.ZodString;
18877
18876
  updatedAt: z.ZodString;
18877
+ description: z.ZodString;
18878
18878
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18879
18879
  content: z.ZodString;
18880
18880
  subAgentSkillId: z.ZodString;
@@ -18948,19 +18948,19 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18948
18948
  }>, z.core.$strip>;
18949
18949
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
18950
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18953
18951
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18952
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18954
18953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18955
18955
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18956
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18957
  }, z.core.$strip>;
18958
18958
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
18959
  id: z.ZodString;
18960
+ createdAt: z.ZodString;
18960
18961
  name: z.ZodString;
18962
+ updatedAt: z.ZodString;
18961
18963
  description: z.ZodNullable<z.ZodString>;
18962
- prompt: z.ZodNullable<z.ZodString>;
18963
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18964
18964
  models: z.ZodNullable<z.ZodType<{
18965
18965
  base?: {
18966
18966
  model?: string | undefined;
@@ -19014,6 +19014,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19014
19014
  providerOptions?: Record<string, any> | undefined;
19015
19015
  } | undefined;
19016
19016
  }>>>;
19017
+ prompt: z.ZodNullable<z.ZodString>;
19017
19018
  stopWhen: z.ZodNullable<z.ZodType<{
19018
19019
  stepCountIs?: number | undefined;
19019
19020
  }, {
@@ -19023,20 +19024,19 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19023
19024
  }, {
19024
19025
  stepCountIs?: number | undefined;
19025
19026
  }>>>;
19026
- createdAt: z.ZodString;
19027
- updatedAt: z.ZodString;
19027
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
19030
  id: z.ZodString;
19031
- name: z.ZodString;
19032
- description: z.ZodNullable<z.ZodString>;
19033
19031
  createdAt: z.ZodString;
19032
+ name: z.ZodString;
19034
19033
  updatedAt: z.ZodString;
19034
+ description: z.ZodNullable<z.ZodString>;
19035
19035
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
19036
  baseUrl: z.ZodString;
19037
19037
  type: z.ZodLiteral<"external">;
19038
19038
  }, z.core.$strip>], "type">;
19039
- declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
19039
+ declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
19040
19040
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19041
19041
  name: "created_at";
19042
19042
  tableName: "api_keys";
@@ -19257,7 +19257,7 @@ declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
19257
19257
  }, {}, {
19258
19258
  length: 256;
19259
19259
  }>;
19260
- }, drizzle_zod3.BuildRefine<{
19260
+ }, drizzle_zod0.BuildRefine<{
19261
19261
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19262
19262
  name: "created_at";
19263
19263
  tableName: "api_keys";
@@ -19498,8 +19498,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
19498
  }>;
19499
19499
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
19500
  name: z.ZodOptional<z.ZodString>;
19501
- agentId: z.ZodOptional<z.ZodString>;
19502
19501
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19502
+ agentId: z.ZodOptional<z.ZodString>;
19503
19503
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
19504
  }, {
19505
19505
  out: {};
@@ -19507,14 +19507,14 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19507
19507
  }>;
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
19509
  id: z.ZodString;
19510
- name: z.ZodNullable<z.ZodString>;
19511
- agentId: z.ZodString;
19512
19510
  createdAt: z.ZodString;
19511
+ name: z.ZodNullable<z.ZodString>;
19513
19512
  updatedAt: z.ZodString;
19514
- expiresAt: z.ZodNullable<z.ZodString>;
19513
+ agentId: z.ZodString;
19515
19514
  publicId: z.ZodString;
19516
19515
  keyPrefix: z.ZodString;
19517
19516
  lastUsedAt: z.ZodNullable<z.ZodString>;
19517
+ expiresAt: z.ZodNullable<z.ZodString>;
19518
19518
  }, {
19519
19519
  out: {};
19520
19520
  in: {};
@@ -19523,14 +19523,14 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19523
19523
  data: z.ZodObject<{
19524
19524
  apiKey: z.ZodObject<{
19525
19525
  id: z.ZodString;
19526
- name: z.ZodNullable<z.ZodString>;
19527
- agentId: z.ZodString;
19528
19526
  createdAt: z.ZodString;
19527
+ name: z.ZodNullable<z.ZodString>;
19529
19528
  updatedAt: z.ZodString;
19530
- expiresAt: z.ZodNullable<z.ZodString>;
19529
+ agentId: z.ZodString;
19531
19530
  publicId: z.ZodString;
19532
19531
  keyPrefix: z.ZodString;
19533
19532
  lastUsedAt: z.ZodNullable<z.ZodString>;
19533
+ expiresAt: z.ZodNullable<z.ZodString>;
19534
19534
  }, {
19535
19535
  out: {};
19536
19536
  in: {};
@@ -19539,10 +19539,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19539
19539
  }, z.core.$strip>;
19540
19540
  }, z.core.$strip>;
19541
19541
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
- name: z.ZodString;
19543
- agentId: z.ZodString;
19544
19542
  createdAt: z.ZodOptional<z.ZodString>;
19543
+ name: z.ZodString;
19545
19544
  updatedAt: z.ZodOptional<z.ZodString>;
19545
+ agentId: z.ZodString;
19546
19546
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19547
19547
  }, {
19548
19548
  out: {};
@@ -19550,14 +19550,14 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
19550
19550
  }>;
19551
19551
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
19552
  name: z.ZodOptional<z.ZodString>;
19553
- agentId: z.ZodOptional<z.ZodString>;
19554
19553
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19554
+ agentId: z.ZodOptional<z.ZodString>;
19555
19555
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19556
19556
  }, {
19557
19557
  out: {};
19558
19558
  in: {};
19559
19559
  }>;
19560
- declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
19560
+ declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select", {
19561
19561
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19562
19562
  name: "created_at";
19563
19563
  tableName: "credential_references";
@@ -19782,7 +19782,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19782
19782
  }, {}, {
19783
19783
  length: 256;
19784
19784
  }>;
19785
- }, drizzle_zod3.BuildRefine<{
19785
+ }, drizzle_zod0.BuildRefine<{
19786
19786
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19787
19787
  name: "created_at";
19788
19788
  tableName: "credential_references";
@@ -20044,20 +20044,20 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20044
20044
  }>;
20045
20045
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20046
20046
  id: z.ZodString;
20047
- name: z.ZodString;
20048
20047
  createdAt: z.ZodString;
20048
+ name: z.ZodString;
20049
20049
  updatedAt: z.ZodString;
20050
20050
  toolId: z.ZodNullable<z.ZodString>;
20051
- userId: z.ZodNullable<z.ZodString>;
20052
20051
  createdBy: z.ZodNullable<z.ZodString>;
20053
20052
  credentialStoreId: z.ZodString;
20054
20053
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20054
+ userId: z.ZodNullable<z.ZodString>;
20055
20055
  type: z.ZodEnum<{
20056
20056
  readonly memory: "memory";
20057
20057
  readonly keychain: "keychain";
20058
20058
  readonly nango: "nango";
20059
20059
  }>;
20060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
20060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
20061
20061
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20062
20062
  name: "created_at";
20063
20063
  tableName: "tools";
@@ -20337,7 +20337,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20337
20337
  }, {}, {
20338
20338
  length: 256;
20339
20339
  }>;
20340
- }, drizzle_zod3.BuildRefine<{
20340
+ }, drizzle_zod0.BuildRefine<{
20341
20341
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20342
20342
  name: "created_at";
20343
20343
  tableName: "tools";
@@ -20635,14 +20635,14 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20635
20635
  }, z.core.$strip>;
20636
20636
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20637
20637
  id: z.ZodString;
20638
- name: z.ZodString;
20639
20638
  createdAt: z.ZodOptional<z.ZodString>;
20639
+ name: z.ZodString;
20640
20640
  updatedAt: z.ZodOptional<z.ZodString>;
20641
20641
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20643
20642
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20644
20643
  credentialStoreId: z.ZodString;
20645
20644
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20645
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20646
20646
  type: z.ZodEnum<{
20647
20647
  readonly memory: "memory";
20648
20648
  readonly keychain: "keychain";
@@ -20651,14 +20651,14 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20651
20651
  }, z.core.$strip>;
20652
20652
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20653
20653
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20654
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
20654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20655
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20656
20656
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20657
20657
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20659
20658
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20660
20659
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20661
20660
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20661
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20662
20662
  type: z.ZodOptional<z.ZodEnum<{
20663
20663
  readonly memory: "memory";
20664
20664
  readonly keychain: "keychain";
@@ -20784,13 +20784,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20784
20784
  id: z.ZodString;
20785
20785
  name: z.ZodString;
20786
20786
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20787
- expiresAt: z.ZodOptional<z.ZodString>;
20788
20787
  createdBy: z.ZodOptional<z.ZodString>;
20789
20788
  credentialScope: z.ZodOptional<z.ZodString>;
20790
20789
  imageUrl: z.ZodOptional<z.ZodString>;
20791
20790
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20792
20791
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20793
20792
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20793
+ expiresAt: z.ZodOptional<z.ZodString>;
20794
20794
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20795
20795
  name: z.ZodString;
20796
20796
  description: z.ZodOptional<z.ZodString>;
@@ -20818,14 +20818,14 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20818
20818
  }, z.core.$strip>>;
20819
20819
  credential: z.ZodOptional<z.ZodObject<{
20820
20820
  id: z.ZodString;
20821
- name: z.ZodString;
20822
20821
  createdAt: z.ZodOptional<z.ZodString>;
20822
+ name: z.ZodString;
20823
20823
  updatedAt: z.ZodOptional<z.ZodString>;
20824
20824
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20826
20825
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20827
20826
  credentialStoreId: z.ZodString;
20828
20827
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20828
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20829
20829
  type: z.ZodEnum<{
20830
20830
  readonly memory: "memory";
20831
20831
  readonly keychain: "keychain";
@@ -20961,10 +20961,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20961
20961
  }>, z.core.$strip>;
20962
20962
  declare const ToolApiUpdateSchema: z.ZodObject<{
20963
20963
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20964
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20965
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20966
20964
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20965
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20967
20966
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20968
20968
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20969
20969
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20970
20970
  type: z.ZodLiteral<"mcp">;
@@ -20999,7 +20999,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20999
20999
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21000
21000
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
21001
21001
  }, z.core.$strip>;
21002
- declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
21002
+ declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
21003
21003
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21004
21004
  name: "created_at";
21005
21005
  tableName: "function_tools";
@@ -21165,7 +21165,7 @@ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
21165
21165
  }, {}, {
21166
21166
  length: 256;
21167
21167
  }>;
21168
- }, drizzle_zod3.BuildRefine<{
21168
+ }, drizzle_zod0.BuildRefine<{
21169
21169
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21170
21170
  name: "created_at";
21171
21171
  tableName: "function_tools";
@@ -21362,11 +21362,11 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21362
21362
  }>;
21363
21363
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21364
21364
  id: z.ZodString;
21365
- name: z.ZodString;
21366
- description: z.ZodNullable<z.ZodString>;
21367
- agentId: z.ZodString;
21368
21365
  createdAt: z.ZodString;
21366
+ name: z.ZodString;
21369
21367
  updatedAt: z.ZodString;
21368
+ agentId: z.ZodString;
21369
+ description: z.ZodNullable<z.ZodString>;
21370
21370
  functionId: z.ZodString;
21371
21371
  relationshipId: z.ZodOptional<z.ZodString>;
21372
21372
  }, z.core.$strip>;
@@ -21383,14 +21383,14 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21383
21383
  }>, z.core.$strip>;
21384
21384
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21385
21385
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21386
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21388
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21389
21386
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21387
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21390
21388
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21389
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21390
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21391
21391
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21392
21392
  }, z.core.$strip>;
21393
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
21393
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
21394
21394
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21395
21395
  name: "created_at";
21396
21396
  tableName: "sub_agent_function_tool_relations";
@@ -21562,7 +21562,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema
21562
21562
  }, {}, {
21563
21563
  length: 256;
21564
21564
  }>;
21565
- }, drizzle_zod3.BuildRefine<{
21565
+ }, drizzle_zod0.BuildRefine<{
21566
21566
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21567
21567
  name: "created_at";
21568
21568
  tableName: "sub_agent_function_tool_relations";
@@ -21738,7 +21738,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema
21738
21738
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21739
21739
  createdAt: z.ZodOptional<z.ZodString>;
21740
21740
  updatedAt: z.ZodOptional<z.ZodString>;
21741
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21741
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
21742
21742
  agentId: z.ZodString;
21743
21743
  projectId: z.ZodString;
21744
21744
  tenantId: z.ZodString;
@@ -21753,7 +21753,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21753
21753
  createdAt: z.ZodString;
21754
21754
  updatedAt: z.ZodString;
21755
21755
  functionToolId: z.ZodString;
21756
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21756
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
21757
21757
  subAgentId: z.ZodString;
21758
21758
  agentId: z.ZodString;
21759
21759
  projectId: z.ZodString;
@@ -21761,14 +21761,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21761
21761
  id: z.ZodString;
21762
21762
  }>, z.core.$strip>;
21763
21763
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21764
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21765
21764
  subAgentId: z.ZodString;
21766
21765
  functionToolId: z.ZodString;
21766
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
21767
21767
  }, {
21768
21768
  out: {};
21769
21769
  in: {};
21770
21770
  }>;
21771
- declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21771
+ declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
21772
21772
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21773
21773
  name: "created_at";
21774
21774
  tableName: "functions";
@@ -21915,7 +21915,7 @@ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21915
21915
  }, {}, {
21916
21916
  length: 256;
21917
21917
  }>;
21918
- }, drizzle_zod3.BuildRefine<{
21918
+ }, drizzle_zod0.BuildRefine<{
21919
21919
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21920
21920
  name: "created_at";
21921
21921
  tableName: "functions";
@@ -22156,14 +22156,14 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22156
22156
  defaultValue: z.ZodOptional<z.ZodAny>;
22157
22157
  credential: z.ZodOptional<z.ZodObject<{
22158
22158
  id: z.ZodString;
22159
- name: z.ZodString;
22160
22159
  createdAt: z.ZodOptional<z.ZodString>;
22160
+ name: z.ZodString;
22161
22161
  updatedAt: z.ZodOptional<z.ZodString>;
22162
22162
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22164
22163
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22165
22164
  credentialStoreId: z.ZodString;
22166
22165
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22166
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22167
22167
  type: z.ZodEnum<{
22168
22168
  readonly memory: "memory";
22169
22169
  readonly keychain: "keychain";
@@ -22186,32 +22186,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22186
22186
  }>;
22187
22187
  declare const ContextConfigInsertSchema: z.ZodObject<{
22188
22188
  id: z.ZodOptional<z.ZodString>;
22189
- tenantId: z.ZodString;
22190
- projectId: z.ZodString;
22191
- agentId: z.ZodString;
22192
22189
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22193
22190
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22191
+ agentId: z.ZodString;
22192
+ projectId: z.ZodString;
22193
+ tenantId: z.ZodString;
22194
22194
  }, {
22195
22195
  out: {};
22196
22196
  in: {};
22197
22197
  }>;
22198
22198
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22199
22199
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22200
- tenantId: z.ZodOptional<z.ZodString>;
22201
- projectId: z.ZodOptional<z.ZodString>;
22202
- agentId: z.ZodOptional<z.ZodString>;
22203
22200
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22204
22201
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22202
+ agentId: z.ZodOptional<z.ZodString>;
22203
+ projectId: z.ZodOptional<z.ZodString>;
22204
+ tenantId: z.ZodOptional<z.ZodString>;
22205
22205
  }, {
22206
22206
  out: {};
22207
22207
  in: {};
22208
22208
  }>;
22209
22209
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
22210
22210
  id: z.ZodString;
22211
- createdAt: z.ZodString;
22212
- updatedAt: z.ZodString;
22213
22211
  headersSchema: z.ZodOptional<z.ZodAny>;
22214
22212
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22213
+ createdAt: z.ZodString;
22214
+ updatedAt: z.ZodString;
22215
22215
  }, z.core.$strip>;
22216
22216
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
22217
22217
  id: z.ZodOptional<z.ZodString>;
@@ -22223,7 +22223,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22223
22223
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22224
22224
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22225
22225
  }, z.core.$strip>;
22226
- declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22226
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22227
22227
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22228
22228
  name: "created_at";
22229
22229
  tableName: "sub_agent_tool_relations";
@@ -22433,7 +22433,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
22433
22433
  }, {}, {
22434
22434
  length: 256;
22435
22435
  }>;
22436
- }, drizzle_zod3.BuildRefine<{
22436
+ }, drizzle_zod0.BuildRefine<{
22437
22437
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22438
22438
  name: "created_at";
22439
22439
  tableName: "sub_agent_tool_relations";
@@ -22684,9 +22684,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22684
22684
  createdAt: z.ZodString;
22685
22685
  updatedAt: z.ZodString;
22686
22686
  toolId: z.ZodString;
22687
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22688
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22689
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22687
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22688
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22689
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22690
22690
  subAgentId: z.ZodString;
22691
22691
  agentId: z.ZodString;
22692
22692
  projectId: z.ZodString;
@@ -22712,15 +22712,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22712
22712
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22713
22713
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22714
22714
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22715
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22715
22716
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22716
22717
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22717
22718
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22718
22719
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22719
22720
  }, z.core.$strip>>>>>>;
22720
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22721
22721
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22722
22722
  }, z.core.$strip>;
22723
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22723
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22724
22724
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22725
22725
  name: "created_at";
22726
22726
  tableName: "sub_agent_external_agent_relations";
@@ -22888,7 +22888,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchem
22888
22888
  }, {}, {
22889
22889
  length: 256;
22890
22890
  }>;
22891
- }, drizzle_zod3.BuildRefine<{
22891
+ }, drizzle_zod0.BuildRefine<{
22892
22892
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22893
22893
  name: "created_at";
22894
22894
  tableName: "sub_agent_external_agent_relations";
@@ -23089,7 +23089,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23089
23089
  createdAt: z.ZodString;
23090
23090
  updatedAt: z.ZodString;
23091
23091
  externalAgentId: z.ZodString;
23092
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23092
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23093
23093
  subAgentId: z.ZodString;
23094
23094
  agentId: z.ZodString;
23095
23095
  projectId: z.ZodString;
@@ -23106,11 +23106,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23106
23106
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23107
23107
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23108
23108
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23109
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23109
23110
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23110
23111
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23112
23112
  }, z.core.$strip>;
23113
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23113
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
23114
23114
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23115
23115
  name: "created_at";
23116
23116
  tableName: "sub_agent_team_agent_relations";
@@ -23278,7 +23278,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"s
23278
23278
  }, {}, {
23279
23279
  length: 256;
23280
23280
  }>;
23281
- }, drizzle_zod3.BuildRefine<{
23281
+ }, drizzle_zod0.BuildRefine<{
23282
23282
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23283
23283
  name: "created_at";
23284
23284
  tableName: "sub_agent_team_agent_relations";
@@ -23479,7 +23479,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23479
23479
  createdAt: z.ZodString;
23480
23480
  updatedAt: z.ZodString;
23481
23481
  targetAgentId: z.ZodString;
23482
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23483
23483
  subAgentId: z.ZodString;
23484
23484
  agentId: z.ZodString;
23485
23485
  projectId: z.ZodString;
@@ -23496,11 +23496,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23496
23496
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23497
23497
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23498
23498
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23499
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23500
23499
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23500
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23501
23501
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23502
23502
  }, z.core.$strip>;
23503
- declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
23503
+ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
23504
23504
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23505
23505
  name: "created_at";
23506
23506
  tableName: "ledger_artifacts";
@@ -23835,7 +23835,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
23835
23835
  }, {}, {
23836
23836
  length: 256;
23837
23837
  }>;
23838
- }, drizzle_zod3.BuildRefine<{
23838
+ }, drizzle_zod0.BuildRefine<{
23839
23839
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23840
23840
  name: "created_at";
23841
23841
  tableName: "ledger_artifacts";
@@ -24171,7 +24171,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
24171
24171
  length: 256;
24172
24172
  }>;
24173
24173
  }, undefined>, undefined>;
24174
- declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24174
+ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
24175
24175
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24176
24176
  name: "created_at";
24177
24177
  tableName: "ledger_artifacts";
@@ -24506,7 +24506,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24506
24506
  }, {}, {
24507
24507
  length: 256;
24508
24508
  }>;
24509
- }, drizzle_zod3.BuildRefine<Pick<{
24509
+ }, drizzle_zod0.BuildRefine<Pick<{
24510
24510
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24511
24511
  name: "created_at";
24512
24512
  tableName: "ledger_artifacts";
@@ -24841,7 +24841,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24841
24841
  }, {}, {
24842
24842
  length: 256;
24843
24843
  }>;
24844
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24844
+ }, "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "type" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24845
24845
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24846
24846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24847
24847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24851,12 +24851,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24851
24851
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24852
24852
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24853
24853
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24854
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24855
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24854
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24855
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24856
24856
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24857
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24857
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24858
24858
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24859
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24859
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24860
24860
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24861
24861
  projectId: z.ZodOptional<z.ZodString>;
24862
24862
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24874,12 +24874,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24874
24874
  type: z.ZodString;
24875
24875
  name: z.ZodNullable<z.ZodString>;
24876
24876
  description: z.ZodNullable<z.ZodString>;
24877
- parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24878
- metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24877
+ parts: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24878
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24879
24879
  summary: z.ZodNullable<z.ZodString>;
24880
- mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24880
+ mime: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24881
24881
  visibility: z.ZodNullable<z.ZodString>;
24882
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24882
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24883
24883
  derivedFrom: z.ZodNullable<z.ZodString>;
24884
24884
  projectId: z.ZodString;
24885
24885
  tenantId: z.ZodString;
@@ -24894,12 +24894,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24894
24894
  type: z.ZodOptional<z.ZodString>;
24895
24895
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24896
24896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24897
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24898
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24897
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24898
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24899
24899
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24900
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24900
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24901
24901
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24902
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24902
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24903
24903
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24904
24904
  projectId: z.ZodString;
24905
24905
  tenantId: z.ZodString;
@@ -24907,20 +24907,20 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24907
24907
  }>, z.core.$strip>;
24908
24908
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24909
24909
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24910
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24910
24911
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24911
24913
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
24914
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24913
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24914
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24915
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24916
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24915
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24917
24916
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24918
24917
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24918
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24919
24919
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24920
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24920
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24921
24921
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24922
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24923
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24922
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24923
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24924
24924
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24925
24925
  }, z.core.$strip>;
24926
24926
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24987,9 +24987,10 @@ declare const TeamAgentSchema: z.ZodObject<{
24987
24987
  }, z.core.$strip>;
24988
24988
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24989
24989
  id: z.ZodString;
24990
+ createdAt: z.ZodOptional<z.ZodString>;
24990
24991
  name: z.ZodString;
24992
+ updatedAt: z.ZodOptional<z.ZodString>;
24991
24993
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24992
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24993
24994
  models: z.ZodOptional<z.ZodObject<{
24994
24995
  base: z.ZodOptional<z.ZodObject<{
24995
24996
  model: z.ZodOptional<z.ZodString>;
@@ -25004,8 +25005,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25004
25005
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25005
25006
  }, z.core.$strip>>;
25006
25007
  }, z.core.$strip>>;
25007
- createdAt: z.ZodOptional<z.ZodString>;
25008
- updatedAt: z.ZodOptional<z.ZodString>;
25008
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25009
25009
  type: z.ZodLiteral<"internal">;
25010
25010
  canUse: z.ZodArray<z.ZodObject<{
25011
25011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25039,18 +25039,19 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25039
25039
  }, z.core.$strip>>;
25040
25040
  }, z.core.$strip>;
25041
25041
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25042
+ createdAt: z.ZodOptional<z.ZodString>;
25042
25043
  name: z.ZodString;
25044
+ updatedAt: z.ZodOptional<z.ZodString>;
25043
25045
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25044
25046
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25045
- createdAt: z.ZodOptional<z.ZodString>;
25046
- updatedAt: z.ZodOptional<z.ZodString>;
25047
25047
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
25048
  id: z.ZodString;
25049
25049
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25050
25050
  id: z.ZodString;
25051
+ createdAt: z.ZodOptional<z.ZodString>;
25051
25052
  name: z.ZodString;
25053
+ updatedAt: z.ZodOptional<z.ZodString>;
25052
25054
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25053
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25054
25055
  models: z.ZodOptional<z.ZodObject<{
25055
25056
  base: z.ZodOptional<z.ZodObject<{
25056
25057
  model: z.ZodOptional<z.ZodString>;
@@ -25065,8 +25066,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25065
25066
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25066
25067
  }, z.core.$strip>>;
25067
25068
  }, z.core.$strip>>;
25068
- createdAt: z.ZodOptional<z.ZodString>;
25069
- updatedAt: z.ZodOptional<z.ZodString>;
25069
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25070
25070
  type: z.ZodLiteral<"internal">;
25071
25071
  canUse: z.ZodArray<z.ZodObject<{
25072
25072
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25177,26 +25177,26 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25177
25177
  executeCode: z.ZodString;
25178
25178
  }, z.core.$strip>>>;
25179
25179
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25180
- name: z.ZodString;
25181
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25182
25180
  createdAt: z.ZodOptional<z.ZodString>;
25181
+ name: z.ZodString;
25183
25182
  updatedAt: z.ZodOptional<z.ZodString>;
25183
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25184
25184
  enabled: z.ZodOptional<z.ZodBoolean>;
25185
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25186
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25185
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25186
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25187
25187
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25188
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25188
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25189
25189
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25190
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25190
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25191
25191
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25192
25192
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25193
25193
  id: z.ZodOptional<z.ZodString>;
25194
25194
  }, z.core.$strip>>>;
25195
25195
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
- name: z.ZodString;
25197
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25198
25196
  createdAt: z.ZodOptional<z.ZodString>;
25197
+ name: z.ZodString;
25199
25198
  updatedAt: z.ZodOptional<z.ZodString>;
25199
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25200
25200
  enabled: z.ZodOptional<z.ZodBoolean>;
25201
25201
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25202
25202
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25204,7 +25204,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25204
25204
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25205
25205
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25206
25206
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25207
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25207
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25208
25208
  maxRetries: z.ZodOptional<z.ZodNumber>;
25209
25209
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25210
25210
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25311,8 +25311,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
25311
25311
  declare const ProjectInsertSchema: z.ZodObject<{
25312
25312
  id: z.ZodString;
25313
25313
  name: z.ZodString;
25314
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25315
25314
  tenantId: z.ZodString;
25315
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25316
25316
  models: z.ZodObject<{
25317
25317
  base: z.ZodObject<{
25318
25318
  model: z.ZodOptional<z.ZodString>;
@@ -25362,7 +25362,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25362
25362
  }>;
25363
25363
  declare const ProjectApiSelectSchema: z.ZodObject<{
25364
25364
  id: z.ZodString;
25365
+ createdAt: z.ZodString;
25365
25366
  name: z.ZodString;
25367
+ updatedAt: z.ZodString;
25366
25368
  description: z.ZodNullable<z.ZodString>;
25367
25369
  models: z.ZodNullable<z.ZodObject<{
25368
25370
  base: z.ZodObject<{
@@ -25382,8 +25384,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25382
25384
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25383
25385
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25384
25386
  }, z.core.$strip>>;
25385
- createdAt: z.ZodString;
25386
- updatedAt: z.ZodString;
25387
25387
  }, {
25388
25388
  out: {};
25389
25389
  in: {};
@@ -25462,18 +25462,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25462
25462
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25463
25463
  }, z.core.$strip>>;
25464
25464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25465
+ createdAt: z.ZodOptional<z.ZodString>;
25465
25466
  name: z.ZodString;
25467
+ updatedAt: z.ZodOptional<z.ZodString>;
25466
25468
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25467
25469
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25468
- createdAt: z.ZodOptional<z.ZodString>;
25469
- updatedAt: z.ZodOptional<z.ZodString>;
25470
25470
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25471
25471
  id: z.ZodString;
25472
25472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25473
25473
  id: z.ZodString;
25474
+ createdAt: z.ZodOptional<z.ZodString>;
25474
25475
  name: z.ZodString;
25476
+ updatedAt: z.ZodOptional<z.ZodString>;
25475
25477
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25476
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25477
25478
  models: z.ZodOptional<z.ZodObject<{
25478
25479
  base: z.ZodOptional<z.ZodObject<{
25479
25480
  model: z.ZodOptional<z.ZodString>;
@@ -25488,8 +25489,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25488
25489
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25489
25490
  }, z.core.$strip>>;
25490
25491
  }, z.core.$strip>>;
25491
- createdAt: z.ZodOptional<z.ZodString>;
25492
- updatedAt: z.ZodOptional<z.ZodString>;
25492
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25493
25493
  type: z.ZodLiteral<"internal">;
25494
25494
  canUse: z.ZodArray<z.ZodObject<{
25495
25495
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25600,26 +25600,26 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25600
25600
  executeCode: z.ZodString;
25601
25601
  }, z.core.$strip>>>;
25602
25602
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25603
- name: z.ZodString;
25604
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25605
25603
  createdAt: z.ZodOptional<z.ZodString>;
25604
+ name: z.ZodString;
25606
25605
  updatedAt: z.ZodOptional<z.ZodString>;
25606
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25607
25607
  enabled: z.ZodOptional<z.ZodBoolean>;
25608
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25609
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25608
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25609
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25610
25610
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25611
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25611
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25612
25612
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25613
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25613
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25614
25614
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25615
25615
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25616
25616
  id: z.ZodOptional<z.ZodString>;
25617
25617
  }, z.core.$strip>>>;
25618
25618
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25619
- name: z.ZodString;
25620
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25621
25619
  createdAt: z.ZodOptional<z.ZodString>;
25620
+ name: z.ZodString;
25622
25621
  updatedAt: z.ZodOptional<z.ZodString>;
25622
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25623
25623
  enabled: z.ZodOptional<z.ZodBoolean>;
25624
25624
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25625
25625
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25627,7 +25627,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25627
25627
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25628
25628
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
25629
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25630
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25630
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25631
25631
  maxRetries: z.ZodOptional<z.ZodNumber>;
25632
25632
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25633
25633
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25735,9 +25735,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25735
25735
  }, z.core.$strip>>>;
25736
25736
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25737
25737
  name: z.ZodString;
25738
- description: z.ZodString;
25739
- tenantId: z.ZodString;
25740
25738
  projectId: z.ZodString;
25739
+ tenantId: z.ZodString;
25740
+ description: z.ZodString;
25741
25741
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25742
25742
  content: z.ZodString;
25743
25743
  }>, z.core.$strip>>>;
@@ -25824,14 +25824,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25824
25824
  }, z.core.$strip>>;
25825
25825
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25826
25826
  id: z.ZodString;
25827
- name: z.ZodString;
25828
25827
  createdAt: z.ZodOptional<z.ZodString>;
25828
+ name: z.ZodString;
25829
25829
  updatedAt: z.ZodOptional<z.ZodString>;
25830
25830
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25832
25831
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25833
25832
  credentialStoreId: z.ZodString;
25834
25833
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25834
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
25835
  type: z.ZodEnum<{
25836
25836
  readonly memory: "memory";
25837
25837
  readonly keychain: "keychain";
@@ -25846,9 +25846,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25846
25846
  }>;
25847
25847
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25848
25848
  id: z.ZodString;
25849
+ createdAt: z.ZodString;
25849
25850
  name: z.ZodString;
25851
+ updatedAt: z.ZodString;
25850
25852
  description: z.ZodNullable<z.ZodString>;
25851
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25852
25853
  models: z.ZodNullable<z.ZodType<{
25853
25854
  base?: {
25854
25855
  model?: string | undefined;
@@ -25911,8 +25912,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25911
25912
  }, {
25912
25913
  stepCountIs?: number | undefined;
25913
25914
  }>>>;
25914
- createdAt: z.ZodString;
25915
- updatedAt: z.ZodString;
25915
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25916
25916
  type: z.ZodLiteral<"internal">;
25917
25917
  canUse: z.ZodArray<z.ZodObject<{
25918
25918
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25939,9 +25939,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25939
25939
  }, z.core.$strip>;
25940
25940
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25941
25941
  id: z.ZodString;
25942
+ createdAt: z.ZodString;
25942
25943
  name: z.ZodString;
25944
+ updatedAt: z.ZodString;
25943
25945
  description: z.ZodNullable<z.ZodString>;
25944
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25945
25946
  models: z.ZodNullable<z.ZodType<{
25946
25947
  base?: {
25947
25948
  model?: string | undefined;
@@ -26004,8 +26005,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26004
26005
  }, {
26005
26006
  stepCountIs?: number | undefined;
26006
26007
  }>>>;
26007
- createdAt: z.ZodString;
26008
- updatedAt: z.ZodString;
26008
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26009
26009
  type: z.ZodLiteral<"internal">;
26010
26010
  canUse: z.ZodArray<z.ZodObject<{
26011
26011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26038,17 +26038,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26038
26038
  }, z.core.$strip>;
26039
26039
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26040
26040
  id: z.ZodString;
26041
+ createdAt: z.ZodString;
26041
26042
  name: z.ZodString;
26043
+ updatedAt: z.ZodString;
26042
26044
  description: z.ZodNullable<z.ZodString>;
26043
26045
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26044
- createdAt: z.ZodString;
26045
- updatedAt: z.ZodString;
26046
26046
  contextConfigId: z.ZodNullable<z.ZodString>;
26047
26047
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26048
26048
  id: z.ZodString;
26049
+ createdAt: z.ZodString;
26049
26050
  name: z.ZodString;
26051
+ updatedAt: z.ZodString;
26050
26052
  description: z.ZodNullable<z.ZodString>;
26051
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26052
26053
  models: z.ZodNullable<z.ZodType<{
26053
26054
  base?: {
26054
26055
  model?: string | undefined;
@@ -26111,8 +26112,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26111
26112
  }, {
26112
26113
  stepCountIs?: number | undefined;
26113
26114
  }>>>;
26114
- createdAt: z.ZodString;
26115
- updatedAt: z.ZodString;
26115
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26116
26116
  type: z.ZodLiteral<"internal">;
26117
26117
  canUse: z.ZodArray<z.ZodObject<{
26118
26118
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26184,11 +26184,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26184
26184
  }, z.core.$strip>>>;
26185
26185
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26186
26186
  id: z.ZodString;
26187
- name: z.ZodString;
26188
- description: z.ZodNullable<z.ZodString>;
26189
- agentId: z.ZodString;
26190
26187
  createdAt: z.ZodString;
26188
+ name: z.ZodString;
26191
26189
  updatedAt: z.ZodString;
26190
+ agentId: z.ZodString;
26191
+ description: z.ZodNullable<z.ZodString>;
26192
26192
  functionId: z.ZodString;
26193
26193
  relationshipId: z.ZodOptional<z.ZodString>;
26194
26194
  }, z.core.$strip>>>;
@@ -26225,10 +26225,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26225
26225
  }>, z.core.$strip>>>;
26226
26226
  contextConfig: z.ZodNullable<z.ZodObject<{
26227
26227
  id: z.ZodString;
26228
- createdAt: z.ZodString;
26229
- updatedAt: z.ZodString;
26230
26228
  headersSchema: z.ZodOptional<z.ZodAny>;
26231
26229
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26230
+ createdAt: z.ZodString;
26231
+ updatedAt: z.ZodString;
26232
26232
  }, z.core.$strip>>;
26233
26233
  statusUpdates: z.ZodNullable<z.ZodObject<{
26234
26234
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26266,11 +26266,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26266
26266
  }, z.core.$strip>;
26267
26267
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26268
26268
  id: z.ZodString;
26269
+ createdAt: z.ZodString;
26269
26270
  name: z.ZodString;
26271
+ updatedAt: z.ZodString;
26270
26272
  description: z.ZodNullable<z.ZodString>;
26271
26273
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26272
- createdAt: z.ZodString;
26273
- updatedAt: z.ZodString;
26274
26274
  contextConfigId: z.ZodNullable<z.ZodString>;
26275
26275
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26276
26276
  createdAt: z.ZodString;
@@ -26319,11 +26319,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26319
26319
  }, z.core.$strip>>>;
26320
26320
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26321
26321
  id: z.ZodString;
26322
- name: z.ZodString;
26323
- description: z.ZodNullable<z.ZodString>;
26324
- agentId: z.ZodString;
26325
26322
  createdAt: z.ZodString;
26323
+ name: z.ZodString;
26326
26324
  updatedAt: z.ZodString;
26325
+ agentId: z.ZodString;
26326
+ description: z.ZodNullable<z.ZodString>;
26327
26327
  functionId: z.ZodString;
26328
26328
  relationshipId: z.ZodOptional<z.ZodString>;
26329
26329
  }, z.core.$strip>>>;
@@ -26360,10 +26360,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26360
26360
  }>, z.core.$strip>>>;
26361
26361
  contextConfig: z.ZodNullable<z.ZodObject<{
26362
26362
  id: z.ZodString;
26363
- createdAt: z.ZodString;
26364
- updatedAt: z.ZodString;
26365
26363
  headersSchema: z.ZodOptional<z.ZodAny>;
26366
26364
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26365
+ createdAt: z.ZodString;
26366
+ updatedAt: z.ZodString;
26367
26367
  }, z.core.$strip>>;
26368
26368
  statusUpdates: z.ZodNullable<z.ZodObject<{
26369
26369
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26400,9 +26400,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26400
26400
  prompt: z.ZodNullable<z.ZodString>;
26401
26401
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26402
26402
  id: z.ZodString;
26403
+ createdAt: z.ZodString;
26403
26404
  name: z.ZodString;
26405
+ updatedAt: z.ZodString;
26404
26406
  description: z.ZodNullable<z.ZodString>;
26405
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26406
26407
  models: z.ZodNullable<z.ZodType<{
26407
26408
  base?: {
26408
26409
  model?: string | undefined;
@@ -26465,8 +26466,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26465
26466
  }, {
26466
26467
  stepCountIs?: number | undefined;
26467
26468
  }>>>;
26468
- createdAt: z.ZodString;
26469
- updatedAt: z.ZodString;
26469
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26470
26470
  type: z.ZodLiteral<"internal">;
26471
26471
  canUse: z.ZodArray<z.ZodObject<{
26472
26472
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26500,7 +26500,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26500
26500
  }, z.core.$strip>;
26501
26501
  declare const FullProjectSelectSchema: z.ZodObject<{
26502
26502
  id: z.ZodString;
26503
+ createdAt: z.ZodString;
26503
26504
  name: z.ZodString;
26505
+ updatedAt: z.ZodString;
26504
26506
  description: z.ZodNullable<z.ZodString>;
26505
26507
  models: z.ZodNullable<z.ZodObject<{
26506
26508
  base: z.ZodObject<{
@@ -26520,21 +26522,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26520
26522
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26521
26523
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26522
26524
  }, z.core.$strip>>;
26523
- createdAt: z.ZodString;
26524
- updatedAt: z.ZodString;
26525
26525
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26526
26526
  id: z.ZodString;
26527
+ createdAt: z.ZodString;
26527
26528
  name: z.ZodString;
26529
+ updatedAt: z.ZodString;
26528
26530
  description: z.ZodNullable<z.ZodString>;
26529
26531
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26530
- createdAt: z.ZodString;
26531
- updatedAt: z.ZodString;
26532
26532
  contextConfigId: z.ZodNullable<z.ZodString>;
26533
26533
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26534
26534
  id: z.ZodString;
26535
+ createdAt: z.ZodString;
26535
26536
  name: z.ZodString;
26537
+ updatedAt: z.ZodString;
26536
26538
  description: z.ZodNullable<z.ZodString>;
26537
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26538
26539
  models: z.ZodNullable<z.ZodType<{
26539
26540
  base?: {
26540
26541
  model?: string | undefined;
@@ -26597,8 +26598,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26597
26598
  }, {
26598
26599
  stepCountIs?: number | undefined;
26599
26600
  }>>>;
26600
- createdAt: z.ZodString;
26601
- updatedAt: z.ZodString;
26601
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26602
26602
  type: z.ZodLiteral<"internal">;
26603
26603
  canUse: z.ZodArray<z.ZodObject<{
26604
26604
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26670,11 +26670,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26670
26670
  }, z.core.$strip>>>;
26671
26671
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26672
26672
  id: z.ZodString;
26673
- name: z.ZodString;
26674
- description: z.ZodNullable<z.ZodString>;
26675
- agentId: z.ZodString;
26676
26673
  createdAt: z.ZodString;
26674
+ name: z.ZodString;
26677
26675
  updatedAt: z.ZodString;
26676
+ agentId: z.ZodString;
26677
+ description: z.ZodNullable<z.ZodString>;
26678
26678
  functionId: z.ZodString;
26679
26679
  relationshipId: z.ZodOptional<z.ZodString>;
26680
26680
  }, z.core.$strip>>>;
@@ -26711,10 +26711,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26711
26711
  }>, z.core.$strip>>>;
26712
26712
  contextConfig: z.ZodNullable<z.ZodObject<{
26713
26713
  id: z.ZodString;
26714
- createdAt: z.ZodString;
26715
- updatedAt: z.ZodString;
26716
26714
  headersSchema: z.ZodOptional<z.ZodAny>;
26717
26715
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26716
+ createdAt: z.ZodString;
26717
+ updatedAt: z.ZodString;
26718
26718
  }, z.core.$strip>>;
26719
26719
  statusUpdates: z.ZodNullable<z.ZodObject<{
26720
26720
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26781,11 +26781,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26781
26781
  }>, z.core.$strip>>;
26782
26782
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26783
26783
  id: z.ZodString;
26784
- name: z.ZodString;
26785
- description: z.ZodNullable<z.ZodString>;
26786
- agentId: z.ZodString;
26787
26784
  createdAt: z.ZodString;
26785
+ name: z.ZodString;
26788
26786
  updatedAt: z.ZodString;
26787
+ agentId: z.ZodString;
26788
+ description: z.ZodNullable<z.ZodString>;
26789
26789
  functionId: z.ZodString;
26790
26790
  relationshipId: z.ZodOptional<z.ZodString>;
26791
26791
  }, z.core.$strip>>>;
@@ -26929,20 +26929,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26929
26929
  }, z.core.$strip>>;
26930
26930
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26931
26931
  id: z.ZodString;
26932
- name: z.ZodString;
26933
26932
  createdAt: z.ZodString;
26933
+ name: z.ZodString;
26934
26934
  updatedAt: z.ZodString;
26935
26935
  toolId: z.ZodNullable<z.ZodString>;
26936
- userId: z.ZodNullable<z.ZodString>;
26937
26936
  createdBy: z.ZodNullable<z.ZodString>;
26938
26937
  credentialStoreId: z.ZodString;
26939
26938
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26939
+ userId: z.ZodNullable<z.ZodString>;
26940
26940
  type: z.ZodEnum<{
26941
26941
  readonly memory: "memory";
26942
26942
  readonly keychain: "keychain";
26943
26943
  readonly nango: "nango";
26944
26944
  }>;
26945
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
26945
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
26946
26946
  createdAt: drizzle_orm_pg_core0.PgColumn<{
26947
26947
  name: "created_at";
26948
26948
  tableName: "tools";
@@ -27222,7 +27222,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27222
27222
  }, {}, {
27223
27223
  length: 256;
27224
27224
  }>;
27225
- }, drizzle_zod3.BuildRefine<{
27225
+ }, drizzle_zod0.BuildRefine<{
27226
27226
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27227
27227
  name: "created_at";
27228
27228
  tableName: "tools";
@@ -27524,7 +27524,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27524
27524
  }>;
27525
27525
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27526
27526
  id: z.ZodString;
27527
+ createdAt: z.ZodString;
27527
27528
  name: z.ZodString;
27529
+ updatedAt: z.ZodString;
27528
27530
  description: z.ZodNullable<z.ZodString>;
27529
27531
  models: z.ZodNullable<z.ZodObject<{
27530
27532
  base: z.ZodObject<{
@@ -27544,8 +27546,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27544
27546
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27545
27547
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27546
27548
  }, z.core.$strip>>;
27547
- createdAt: z.ZodString;
27548
- updatedAt: z.ZodString;
27549
27549
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27550
27550
  createdAt: z.ZodString;
27551
27551
  updatedAt: z.ZodString;
@@ -27577,11 +27577,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27577
27577
  }>, z.core.$strip>>;
27578
27578
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27579
27579
  id: z.ZodString;
27580
- name: z.ZodString;
27581
- description: z.ZodNullable<z.ZodString>;
27582
- agentId: z.ZodString;
27583
27580
  createdAt: z.ZodString;
27581
+ name: z.ZodString;
27584
27582
  updatedAt: z.ZodString;
27583
+ agentId: z.ZodString;
27584
+ description: z.ZodNullable<z.ZodString>;
27585
27585
  functionId: z.ZodString;
27586
27586
  relationshipId: z.ZodOptional<z.ZodString>;
27587
27587
  }, z.core.$strip>>>;
@@ -27725,20 +27725,20 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27725
27725
  }, z.core.$strip>>;
27726
27726
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27727
27727
  id: z.ZodString;
27728
- name: z.ZodString;
27729
27728
  createdAt: z.ZodString;
27729
+ name: z.ZodString;
27730
27730
  updatedAt: z.ZodString;
27731
27731
  toolId: z.ZodNullable<z.ZodString>;
27732
- userId: z.ZodNullable<z.ZodString>;
27733
27732
  createdBy: z.ZodNullable<z.ZodString>;
27734
27733
  credentialStoreId: z.ZodString;
27735
27734
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27735
+ userId: z.ZodNullable<z.ZodString>;
27736
27736
  type: z.ZodEnum<{
27737
27737
  readonly memory: "memory";
27738
27738
  readonly keychain: "keychain";
27739
27739
  readonly nango: "nango";
27740
27740
  }>;
27741
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
27741
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
27742
27742
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27743
27743
  name: "created_at";
27744
27744
  tableName: "tools";
@@ -28018,7 +28018,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28018
28018
  }, {}, {
28019
28019
  length: 256;
28020
28020
  }>;
28021
- }, drizzle_zod3.BuildRefine<{
28021
+ }, drizzle_zod0.BuildRefine<{
28022
28022
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28023
28023
  name: "created_at";
28024
28024
  tableName: "tools";
@@ -28316,11 +28316,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28316
28316
  }, z.core.$strip>>>;
28317
28317
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28318
28318
  id: z.ZodString;
28319
+ createdAt: z.ZodString;
28319
28320
  name: z.ZodString;
28321
+ updatedAt: z.ZodString;
28320
28322
  description: z.ZodNullable<z.ZodString>;
28321
28323
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28322
- createdAt: z.ZodString;
28323
- updatedAt: z.ZodString;
28324
28324
  contextConfigId: z.ZodNullable<z.ZodString>;
28325
28325
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28326
28326
  createdAt: z.ZodString;
@@ -28369,11 +28369,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28369
28369
  }, z.core.$strip>>>;
28370
28370
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28371
28371
  id: z.ZodString;
28372
- name: z.ZodString;
28373
- description: z.ZodNullable<z.ZodString>;
28374
- agentId: z.ZodString;
28375
28372
  createdAt: z.ZodString;
28373
+ name: z.ZodString;
28376
28374
  updatedAt: z.ZodString;
28375
+ agentId: z.ZodString;
28376
+ description: z.ZodNullable<z.ZodString>;
28377
28377
  functionId: z.ZodString;
28378
28378
  relationshipId: z.ZodOptional<z.ZodString>;
28379
28379
  }, z.core.$strip>>>;
@@ -28410,10 +28410,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28410
28410
  }>, z.core.$strip>>>;
28411
28411
  contextConfig: z.ZodNullable<z.ZodObject<{
28412
28412
  id: z.ZodString;
28413
- createdAt: z.ZodString;
28414
- updatedAt: z.ZodString;
28415
28413
  headersSchema: z.ZodOptional<z.ZodAny>;
28416
28414
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28415
+ createdAt: z.ZodString;
28416
+ updatedAt: z.ZodString;
28417
28417
  }, z.core.$strip>>;
28418
28418
  statusUpdates: z.ZodNullable<z.ZodObject<{
28419
28419
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -28450,9 +28450,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28450
28450
  prompt: z.ZodNullable<z.ZodString>;
28451
28451
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28452
28452
  id: z.ZodString;
28453
+ createdAt: z.ZodString;
28453
28454
  name: z.ZodString;
28455
+ updatedAt: z.ZodString;
28454
28456
  description: z.ZodNullable<z.ZodString>;
28455
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28456
28457
  models: z.ZodNullable<z.ZodType<{
28457
28458
  base?: {
28458
28459
  model?: string | undefined;
@@ -28515,8 +28516,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28515
28516
  }, {
28516
28517
  stepCountIs?: number | undefined;
28517
28518
  }>>>;
28518
- createdAt: z.ZodString;
28519
- updatedAt: z.ZodString;
28519
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28520
28520
  type: z.ZodLiteral<"internal">;
28521
28521
  canUse: z.ZodArray<z.ZodObject<{
28522
28522
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28555,7 +28555,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28555
28555
  declare const ProjectResponse: z.ZodObject<{
28556
28556
  data: z.ZodObject<{
28557
28557
  id: z.ZodString;
28558
+ createdAt: z.ZodString;
28558
28559
  name: z.ZodString;
28560
+ updatedAt: z.ZodString;
28559
28561
  description: z.ZodNullable<z.ZodString>;
28560
28562
  models: z.ZodNullable<z.ZodObject<{
28561
28563
  base: z.ZodObject<{
@@ -28575,8 +28577,6 @@ declare const ProjectResponse: z.ZodObject<{
28575
28577
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28576
28578
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28577
28579
  }, z.core.$strip>>;
28578
- createdAt: z.ZodString;
28579
- updatedAt: z.ZodString;
28580
28580
  }, {
28581
28581
  out: {};
28582
28582
  in: {};
@@ -28807,23 +28807,23 @@ declare const ExternalAgentResponse: z.ZodObject<{
28807
28807
  declare const ContextConfigResponse: z.ZodObject<{
28808
28808
  data: z.ZodObject<{
28809
28809
  id: z.ZodString;
28810
- createdAt: z.ZodString;
28811
- updatedAt: z.ZodString;
28812
28810
  headersSchema: z.ZodOptional<z.ZodAny>;
28813
28811
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28812
+ createdAt: z.ZodString;
28813
+ updatedAt: z.ZodString;
28814
28814
  }, z.core.$strip>;
28815
28815
  }, z.core.$strip>;
28816
28816
  declare const ApiKeyResponse: z.ZodObject<{
28817
28817
  data: z.ZodObject<{
28818
28818
  id: z.ZodString;
28819
- name: z.ZodNullable<z.ZodString>;
28820
- agentId: z.ZodString;
28821
28819
  createdAt: z.ZodString;
28820
+ name: z.ZodNullable<z.ZodString>;
28822
28821
  updatedAt: z.ZodString;
28823
- expiresAt: z.ZodNullable<z.ZodString>;
28822
+ agentId: z.ZodString;
28824
28823
  publicId: z.ZodString;
28825
28824
  keyPrefix: z.ZodString;
28826
28825
  lastUsedAt: z.ZodNullable<z.ZodString>;
28826
+ expiresAt: z.ZodNullable<z.ZodString>;
28827
28827
  }, {
28828
28828
  out: {};
28829
28829
  in: {};
@@ -28832,20 +28832,20 @@ declare const ApiKeyResponse: z.ZodObject<{
28832
28832
  declare const CredentialReferenceResponse: z.ZodObject<{
28833
28833
  data: z.ZodObject<{
28834
28834
  id: z.ZodString;
28835
- name: z.ZodString;
28836
28835
  createdAt: z.ZodString;
28836
+ name: z.ZodString;
28837
28837
  updatedAt: z.ZodString;
28838
28838
  toolId: z.ZodNullable<z.ZodString>;
28839
- userId: z.ZodNullable<z.ZodString>;
28840
28839
  createdBy: z.ZodNullable<z.ZodString>;
28841
28840
  credentialStoreId: z.ZodString;
28842
28841
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28842
+ userId: z.ZodNullable<z.ZodString>;
28843
28843
  type: z.ZodEnum<{
28844
28844
  readonly memory: "memory";
28845
28845
  readonly keychain: "keychain";
28846
28846
  readonly nango: "nango";
28847
28847
  }>;
28848
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
28848
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
28849
28849
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28850
28850
  name: "created_at";
28851
28851
  tableName: "tools";
@@ -29125,7 +29125,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29125
29125
  }, {}, {
29126
29126
  length: 256;
29127
29127
  }>;
29128
- }, drizzle_zod3.BuildRefine<{
29128
+ }, drizzle_zod0.BuildRefine<{
29129
29129
  createdAt: drizzle_orm_pg_core0.PgColumn<{
29130
29130
  name: "created_at";
29131
29131
  tableName: "tools";
@@ -29437,11 +29437,11 @@ declare const FunctionResponse: z.ZodObject<{
29437
29437
  declare const FunctionToolResponse: z.ZodObject<{
29438
29438
  data: z.ZodObject<{
29439
29439
  id: z.ZodString;
29440
- name: z.ZodString;
29441
- description: z.ZodNullable<z.ZodString>;
29442
- agentId: z.ZodString;
29443
29440
  createdAt: z.ZodString;
29441
+ name: z.ZodString;
29444
29442
  updatedAt: z.ZodString;
29443
+ agentId: z.ZodString;
29444
+ description: z.ZodNullable<z.ZodString>;
29445
29445
  functionId: z.ZodString;
29446
29446
  relationshipId: z.ZodOptional<z.ZodString>;
29447
29447
  }, z.core.$strip>;
@@ -29451,7 +29451,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29451
29451
  createdAt: z.ZodString;
29452
29452
  updatedAt: z.ZodString;
29453
29453
  functionToolId: z.ZodString;
29454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29455
29455
  subAgentId: z.ZodString;
29456
29456
  agentId: z.ZodString;
29457
29457
  projectId: z.ZodString;
@@ -29583,9 +29583,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29583
29583
  createdAt: z.ZodString;
29584
29584
  updatedAt: z.ZodString;
29585
29585
  toolId: z.ZodString;
29586
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29587
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29588
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29586
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29587
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29588
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29589
29589
  subAgentId: z.ZodString;
29590
29590
  agentId: z.ZodString;
29591
29591
  projectId: z.ZodString;
@@ -29598,10 +29598,10 @@ declare const TriggerResponse: z.ZodObject<{
29598
29598
  createdAt: z.ZodString;
29599
29599
  updatedAt: z.ZodString;
29600
29600
  enabled: z.ZodBoolean;
29601
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29602
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29601
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29602
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29603
29603
  messageTemplate: z.ZodNullable<z.ZodString>;
29604
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29604
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29605
29605
  name: z.ZodString;
29606
29606
  description: z.ZodNullable<z.ZodString>;
29607
29607
  agentId: z.ZodString;
@@ -29624,8 +29624,8 @@ declare const TriggerResponse: z.ZodObject<{
29624
29624
  signature: z.ZodObject<{
29625
29625
  source: z.ZodEnum<{
29626
29626
  query: "query";
29627
- body: "body";
29628
29627
  header: "header";
29628
+ body: "body";
29629
29629
  }>;
29630
29630
  key: z.ZodString;
29631
29631
  prefix: z.ZodOptional<z.ZodString>;
@@ -29634,8 +29634,8 @@ declare const TriggerResponse: z.ZodObject<{
29634
29634
  signedComponents: z.ZodArray<z.ZodObject<{
29635
29635
  source: z.ZodEnum<{
29636
29636
  literal: "literal";
29637
- body: "body";
29638
29637
  header: "header";
29638
+ body: "body";
29639
29639
  }>;
29640
29640
  key: z.ZodOptional<z.ZodString>;
29641
29641
  value: z.ZodOptional<z.ZodString>;
@@ -29663,8 +29663,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29663
29663
  triggerId: z.ZodString;
29664
29664
  conversationId: z.ZodNullable<z.ZodString>;
29665
29665
  status: z.ZodString;
29666
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
29667
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29666
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
29667
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29668
29668
  errorMessage: z.ZodNullable<z.ZodString>;
29669
29669
  createdAt: z.ZodString;
29670
29670
  agentId: z.ZodString;
@@ -29676,7 +29676,9 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29676
29676
  declare const ProjectListResponse: z.ZodObject<{
29677
29677
  data: z.ZodArray<z.ZodObject<{
29678
29678
  id: z.ZodString;
29679
+ createdAt: z.ZodString;
29679
29680
  name: z.ZodString;
29681
+ updatedAt: z.ZodString;
29680
29682
  description: z.ZodNullable<z.ZodString>;
29681
29683
  models: z.ZodNullable<z.ZodObject<{
29682
29684
  base: z.ZodObject<{
@@ -29696,8 +29698,6 @@ declare const ProjectListResponse: z.ZodObject<{
29696
29698
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29697
29699
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29698
29700
  }, z.core.$strip>>;
29699
- createdAt: z.ZodString;
29700
- updatedAt: z.ZodString;
29701
29701
  }, {
29702
29702
  out: {};
29703
29703
  in: {};
@@ -29952,10 +29952,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
29952
29952
  declare const ContextConfigListResponse: z.ZodObject<{
29953
29953
  data: z.ZodArray<z.ZodObject<{
29954
29954
  id: z.ZodString;
29955
- createdAt: z.ZodString;
29956
- updatedAt: z.ZodString;
29957
29955
  headersSchema: z.ZodOptional<z.ZodAny>;
29958
29956
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29957
+ createdAt: z.ZodString;
29958
+ updatedAt: z.ZodString;
29959
29959
  }, z.core.$strip>>;
29960
29960
  pagination: z.ZodObject<{
29961
29961
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29967,14 +29967,14 @@ declare const ContextConfigListResponse: z.ZodObject<{
29967
29967
  declare const ApiKeyListResponse: z.ZodObject<{
29968
29968
  data: z.ZodArray<z.ZodObject<{
29969
29969
  id: z.ZodString;
29970
- name: z.ZodNullable<z.ZodString>;
29971
- agentId: z.ZodString;
29972
29970
  createdAt: z.ZodString;
29971
+ name: z.ZodNullable<z.ZodString>;
29973
29972
  updatedAt: z.ZodString;
29974
- expiresAt: z.ZodNullable<z.ZodString>;
29973
+ agentId: z.ZodString;
29975
29974
  publicId: z.ZodString;
29976
29975
  keyPrefix: z.ZodString;
29977
29976
  lastUsedAt: z.ZodNullable<z.ZodString>;
29977
+ expiresAt: z.ZodNullable<z.ZodString>;
29978
29978
  }, {
29979
29979
  out: {};
29980
29980
  in: {};
@@ -29989,20 +29989,20 @@ declare const ApiKeyListResponse: z.ZodObject<{
29989
29989
  declare const CredentialReferenceListResponse: z.ZodObject<{
29990
29990
  data: z.ZodArray<z.ZodObject<{
29991
29991
  id: z.ZodString;
29992
- name: z.ZodString;
29993
29992
  createdAt: z.ZodString;
29993
+ name: z.ZodString;
29994
29994
  updatedAt: z.ZodString;
29995
29995
  toolId: z.ZodNullable<z.ZodString>;
29996
- userId: z.ZodNullable<z.ZodString>;
29997
29996
  createdBy: z.ZodNullable<z.ZodString>;
29998
29997
  credentialStoreId: z.ZodString;
29999
29998
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29999
+ userId: z.ZodNullable<z.ZodString>;
30000
30000
  type: z.ZodEnum<{
30001
30001
  readonly memory: "memory";
30002
30002
  readonly keychain: "keychain";
30003
30003
  readonly nango: "nango";
30004
30004
  }>;
30005
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
30005
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
30006
30006
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30007
30007
  name: "created_at";
30008
30008
  tableName: "tools";
@@ -30282,7 +30282,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30282
30282
  }, {}, {
30283
30283
  length: 256;
30284
30284
  }>;
30285
- }, drizzle_zod3.BuildRefine<{
30285
+ }, drizzle_zod0.BuildRefine<{
30286
30286
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30287
30287
  name: "created_at";
30288
30288
  tableName: "tools";
@@ -30606,11 +30606,11 @@ declare const FunctionListResponse: z.ZodObject<{
30606
30606
  declare const FunctionToolListResponse: z.ZodObject<{
30607
30607
  data: z.ZodArray<z.ZodObject<{
30608
30608
  id: z.ZodString;
30609
- name: z.ZodString;
30610
- description: z.ZodNullable<z.ZodString>;
30611
- agentId: z.ZodString;
30612
30609
  createdAt: z.ZodString;
30610
+ name: z.ZodString;
30613
30611
  updatedAt: z.ZodString;
30612
+ agentId: z.ZodString;
30613
+ description: z.ZodNullable<z.ZodString>;
30614
30614
  functionId: z.ZodString;
30615
30615
  relationshipId: z.ZodOptional<z.ZodString>;
30616
30616
  }, z.core.$strip>>;
@@ -30626,7 +30626,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30626
30626
  createdAt: z.ZodString;
30627
30627
  updatedAt: z.ZodString;
30628
30628
  functionToolId: z.ZodString;
30629
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30629
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30630
30630
  subAgentId: z.ZodString;
30631
30631
  agentId: z.ZodString;
30632
30632
  projectId: z.ZodString;
@@ -30814,9 +30814,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30814
30814
  createdAt: z.ZodString;
30815
30815
  updatedAt: z.ZodString;
30816
30816
  toolId: z.ZodString;
30817
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30818
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30819
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30817
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30818
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30819
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30820
30820
  subAgentId: z.ZodString;
30821
30821
  agentId: z.ZodString;
30822
30822
  projectId: z.ZodString;
@@ -30835,10 +30835,10 @@ declare const TriggerListResponse: z.ZodObject<{
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
30837
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30839
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30838
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30842
30842
  name: z.ZodString;
30843
30843
  description: z.ZodNullable<z.ZodString>;
30844
30844
  agentId: z.ZodString;
@@ -30861,8 +30861,8 @@ declare const TriggerListResponse: z.ZodObject<{
30861
30861
  signature: z.ZodObject<{
30862
30862
  source: z.ZodEnum<{
30863
30863
  query: "query";
30864
- body: "body";
30865
30864
  header: "header";
30865
+ body: "body";
30866
30866
  }>;
30867
30867
  key: z.ZodString;
30868
30868
  prefix: z.ZodOptional<z.ZodString>;
@@ -30871,8 +30871,8 @@ declare const TriggerListResponse: z.ZodObject<{
30871
30871
  signedComponents: z.ZodArray<z.ZodObject<{
30872
30872
  source: z.ZodEnum<{
30873
30873
  literal: "literal";
30874
- body: "body";
30875
30874
  header: "header";
30875
+ body: "body";
30876
30876
  }>;
30877
30877
  key: z.ZodOptional<z.ZodString>;
30878
30878
  value: z.ZodOptional<z.ZodString>;
@@ -30906,8 +30906,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30906
30906
  triggerId: z.ZodString;
30907
30907
  conversationId: z.ZodNullable<z.ZodString>;
30908
30908
  status: z.ZodString;
30909
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
30910
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30909
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
30910
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30911
30911
  errorMessage: z.ZodNullable<z.ZodString>;
30912
30912
  createdAt: z.ZodString;
30913
30913
  agentId: z.ZodString;
@@ -30925,15 +30925,15 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30925
30925
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30926
30926
  data: z.ZodObject<{
30927
30927
  id: z.ZodString;
30928
- name: z.ZodString;
30929
- description: z.ZodNullable<z.ZodString>;
30930
30928
  createdAt: z.ZodString;
30929
+ name: z.ZodString;
30931
30930
  updatedAt: z.ZodString;
30931
+ description: z.ZodNullable<z.ZodString>;
30932
30932
  enabled: z.ZodBoolean;
30933
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30934
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30933
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30934
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30935
30935
  messageTemplate: z.ZodNullable<z.ZodString>;
30936
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30936
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30937
30937
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30938
30938
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30939
30939
  algorithm: z.ZodEnum<{
@@ -30950,8 +30950,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30950
30950
  signature: z.ZodObject<{
30951
30951
  source: z.ZodEnum<{
30952
30952
  query: "query";
30953
- body: "body";
30954
30953
  header: "header";
30954
+ body: "body";
30955
30955
  }>;
30956
30956
  key: z.ZodString;
30957
30957
  prefix: z.ZodOptional<z.ZodString>;
@@ -30960,8 +30960,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30960
30960
  signedComponents: z.ZodArray<z.ZodObject<{
30961
30961
  source: z.ZodEnum<{
30962
30962
  literal: "literal";
30963
- body: "body";
30964
30963
  header: "header";
30964
+ body: "body";
30965
30965
  }>;
30966
30966
  key: z.ZodOptional<z.ZodString>;
30967
30967
  value: z.ZodOptional<z.ZodString>;
@@ -30988,15 +30988,15 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30988
30988
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30989
30989
  data: z.ZodObject<{
30990
30990
  id: z.ZodString;
30991
- name: z.ZodString;
30992
- description: z.ZodNullable<z.ZodString>;
30993
30991
  createdAt: z.ZodString;
30992
+ name: z.ZodString;
30994
30993
  updatedAt: z.ZodString;
30994
+ description: z.ZodNullable<z.ZodString>;
30995
30995
  enabled: z.ZodBoolean;
30996
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30997
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30996
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30997
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30998
30998
  messageTemplate: z.ZodNullable<z.ZodString>;
30999
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30999
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31000
31000
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31001
31001
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31002
31002
  algorithm: z.ZodEnum<{
@@ -31013,8 +31013,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31013
31013
  signature: z.ZodObject<{
31014
31014
  source: z.ZodEnum<{
31015
31015
  query: "query";
31016
- body: "body";
31017
31016
  header: "header";
31017
+ body: "body";
31018
31018
  }>;
31019
31019
  key: z.ZodString;
31020
31020
  prefix: z.ZodOptional<z.ZodString>;
@@ -31023,8 +31023,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31023
31023
  signedComponents: z.ZodArray<z.ZodObject<{
31024
31024
  source: z.ZodEnum<{
31025
31025
  literal: "literal";
31026
- body: "body";
31027
31026
  header: "header";
31027
+ body: "body";
31028
31028
  }>;
31029
31029
  key: z.ZodOptional<z.ZodString>;
31030
31030
  value: z.ZodOptional<z.ZodString>;
@@ -31052,15 +31052,15 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31052
31052
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31053
31053
  data: z.ZodArray<z.ZodObject<{
31054
31054
  id: z.ZodString;
31055
- name: z.ZodString;
31056
- description: z.ZodNullable<z.ZodString>;
31057
31055
  createdAt: z.ZodString;
31056
+ name: z.ZodString;
31058
31057
  updatedAt: z.ZodString;
31058
+ description: z.ZodNullable<z.ZodString>;
31059
31059
  enabled: z.ZodBoolean;
31060
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31061
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31060
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31061
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31062
31062
  messageTemplate: z.ZodNullable<z.ZodString>;
31063
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31063
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
31064
31064
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
31065
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31066
31066
  algorithm: z.ZodEnum<{
@@ -31077,8 +31077,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31077
31077
  signature: z.ZodObject<{
31078
31078
  source: z.ZodEnum<{
31079
31079
  query: "query";
31080
- body: "body";
31081
31080
  header: "header";
31081
+ body: "body";
31082
31082
  }>;
31083
31083
  key: z.ZodString;
31084
31084
  prefix: z.ZodOptional<z.ZodString>;
@@ -31087,8 +31087,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31087
31087
  signedComponents: z.ZodArray<z.ZodObject<{
31088
31088
  source: z.ZodEnum<{
31089
31089
  literal: "literal";
31090
- body: "body";
31091
31090
  header: "header";
31091
+ body: "body";
31092
31092
  }>;
31093
31093
  key: z.ZodOptional<z.ZodString>;
31094
31094
  value: z.ZodOptional<z.ZodString>;
@@ -31120,10 +31120,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31120
31120
  }, z.core.$strip>;
31121
31121
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31122
31122
  id: z.ZodString;
31123
- name: z.ZodString;
31124
- description: z.ZodNullable<z.ZodString>;
31125
31123
  createdAt: z.ZodString;
31124
+ name: z.ZodString;
31126
31125
  updatedAt: z.ZodString;
31126
+ description: z.ZodNullable<z.ZodString>;
31127
31127
  enabled: z.ZodBoolean;
31128
31128
  messageTemplate: z.ZodNullable<z.ZodString>;
31129
31129
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31199,10 +31199,10 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31199
31199
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31200
31200
  data: z.ZodArray<z.ZodObject<{
31201
31201
  id: z.ZodString;
31202
- name: z.ZodString;
31203
- description: z.ZodNullable<z.ZodString>;
31204
31202
  createdAt: z.ZodString;
31203
+ name: z.ZodString;
31205
31204
  updatedAt: z.ZodString;
31205
+ description: z.ZodNullable<z.ZodString>;
31206
31206
  enabled: z.ZodBoolean;
31207
31207
  messageTemplate: z.ZodNullable<z.ZodString>;
31208
31208
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31358,10 +31358,10 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31358
31358
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31359
31359
  data: z.ZodArray<z.ZodObject<{
31360
31360
  id: z.ZodString;
31361
- name: z.ZodString;
31362
- description: z.ZodString;
31363
31361
  createdAt: z.ZodString;
31362
+ name: z.ZodString;
31364
31363
  updatedAt: z.ZodString;
31364
+ description: z.ZodString;
31365
31365
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31366
31366
  content: z.ZodString;
31367
31367
  subAgentSkillId: z.ZodString;
@@ -31394,18 +31394,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31394
31394
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31395
31395
  }, z.core.$strip>>;
31396
31396
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31397
+ createdAt: z.ZodOptional<z.ZodString>;
31397
31398
  name: z.ZodString;
31399
+ updatedAt: z.ZodOptional<z.ZodString>;
31398
31400
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31399
31401
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31400
- createdAt: z.ZodOptional<z.ZodString>;
31401
- updatedAt: z.ZodOptional<z.ZodString>;
31402
31402
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31403
31403
  id: z.ZodString;
31404
31404
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31405
31405
  id: z.ZodString;
31406
+ createdAt: z.ZodOptional<z.ZodString>;
31406
31407
  name: z.ZodString;
31408
+ updatedAt: z.ZodOptional<z.ZodString>;
31407
31409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31408
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31409
31410
  models: z.ZodOptional<z.ZodObject<{
31410
31411
  base: z.ZodOptional<z.ZodObject<{
31411
31412
  model: z.ZodOptional<z.ZodString>;
@@ -31420,8 +31421,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31420
31421
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31421
31422
  }, z.core.$strip>>;
31422
31423
  }, z.core.$strip>>;
31423
- createdAt: z.ZodOptional<z.ZodString>;
31424
- updatedAt: z.ZodOptional<z.ZodString>;
31424
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31425
31425
  type: z.ZodLiteral<"internal">;
31426
31426
  canUse: z.ZodArray<z.ZodObject<{
31427
31427
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31532,26 +31532,26 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31532
31532
  executeCode: z.ZodString;
31533
31533
  }, z.core.$strip>>>;
31534
31534
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31535
- name: z.ZodString;
31536
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31537
31535
  createdAt: z.ZodOptional<z.ZodString>;
31536
+ name: z.ZodString;
31538
31537
  updatedAt: z.ZodOptional<z.ZodString>;
31538
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31539
31539
  enabled: z.ZodOptional<z.ZodBoolean>;
31540
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31541
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31540
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31541
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31542
31542
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31543
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31543
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31544
31544
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31545
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31545
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31546
31546
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31547
31547
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31548
31548
  id: z.ZodOptional<z.ZodString>;
31549
31549
  }, z.core.$strip>>>;
31550
31550
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31551
- name: z.ZodString;
31552
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31553
31551
  createdAt: z.ZodOptional<z.ZodString>;
31552
+ name: z.ZodString;
31554
31553
  updatedAt: z.ZodOptional<z.ZodString>;
31554
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  enabled: z.ZodOptional<z.ZodBoolean>;
31556
31556
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31557
31557
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31559,7 +31559,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31559
31559
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31560
31560
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31561
31561
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31562
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31562
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31563
31563
  maxRetries: z.ZodOptional<z.ZodNumber>;
31564
31564
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31565
31565
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31667,9 +31667,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31667
31667
  }, z.core.$strip>>>;
31668
31668
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31669
31669
  name: z.ZodString;
31670
- description: z.ZodString;
31671
- tenantId: z.ZodString;
31672
31670
  projectId: z.ZodString;
31671
+ tenantId: z.ZodString;
31672
+ description: z.ZodString;
31673
31673
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31674
31674
  content: z.ZodString;
31675
31675
  }>, z.core.$strip>>>;
@@ -31756,14 +31756,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31756
31756
  }, z.core.$strip>>;
31757
31757
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31758
31758
  id: z.ZodString;
31759
- name: z.ZodString;
31760
31759
  createdAt: z.ZodOptional<z.ZodString>;
31760
+ name: z.ZodString;
31761
31761
  updatedAt: z.ZodOptional<z.ZodString>;
31762
31762
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31764
31763
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31765
31764
  credentialStoreId: z.ZodString;
31766
31765
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31766
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
31767
  type: z.ZodEnum<{
31768
31768
  readonly memory: "memory";
31769
31769
  readonly keychain: "keychain";
@@ -31780,7 +31780,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31780
31780
  declare const FullProjectSelectResponse: z.ZodObject<{
31781
31781
  data: z.ZodObject<{
31782
31782
  id: z.ZodString;
31783
+ createdAt: z.ZodString;
31783
31784
  name: z.ZodString;
31785
+ updatedAt: z.ZodString;
31784
31786
  description: z.ZodNullable<z.ZodString>;
31785
31787
  models: z.ZodNullable<z.ZodObject<{
31786
31788
  base: z.ZodObject<{
@@ -31800,21 +31802,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31800
31802
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31801
31803
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31802
31804
  }, z.core.$strip>>;
31803
- createdAt: z.ZodString;
31804
- updatedAt: z.ZodString;
31805
31805
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31806
31806
  id: z.ZodString;
31807
+ createdAt: z.ZodString;
31807
31808
  name: z.ZodString;
31809
+ updatedAt: z.ZodString;
31808
31810
  description: z.ZodNullable<z.ZodString>;
31809
31811
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31810
- createdAt: z.ZodString;
31811
- updatedAt: z.ZodString;
31812
31812
  contextConfigId: z.ZodNullable<z.ZodString>;
31813
31813
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31814
31814
  id: z.ZodString;
31815
+ createdAt: z.ZodString;
31815
31816
  name: z.ZodString;
31817
+ updatedAt: z.ZodString;
31816
31818
  description: z.ZodNullable<z.ZodString>;
31817
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31818
31819
  models: z.ZodNullable<z.ZodType<{
31819
31820
  base?: {
31820
31821
  model?: string | undefined;
@@ -31877,8 +31878,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31877
31878
  }, {
31878
31879
  stepCountIs?: number | undefined;
31879
31880
  }>>>;
31880
- createdAt: z.ZodString;
31881
- updatedAt: z.ZodString;
31881
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31882
31882
  type: z.ZodLiteral<"internal">;
31883
31883
  canUse: z.ZodArray<z.ZodObject<{
31884
31884
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31950,11 +31950,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31950
31950
  }, z.core.$strip>>>;
31951
31951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31952
31952
  id: z.ZodString;
31953
- name: z.ZodString;
31954
- description: z.ZodNullable<z.ZodString>;
31955
- agentId: z.ZodString;
31956
31953
  createdAt: z.ZodString;
31954
+ name: z.ZodString;
31957
31955
  updatedAt: z.ZodString;
31956
+ agentId: z.ZodString;
31957
+ description: z.ZodNullable<z.ZodString>;
31958
31958
  functionId: z.ZodString;
31959
31959
  relationshipId: z.ZodOptional<z.ZodString>;
31960
31960
  }, z.core.$strip>>>;
@@ -31991,10 +31991,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31991
31991
  }>, z.core.$strip>>>;
31992
31992
  contextConfig: z.ZodNullable<z.ZodObject<{
31993
31993
  id: z.ZodString;
31994
- createdAt: z.ZodString;
31995
- updatedAt: z.ZodString;
31996
31994
  headersSchema: z.ZodOptional<z.ZodAny>;
31997
31995
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31996
+ createdAt: z.ZodString;
31997
+ updatedAt: z.ZodString;
31998
31998
  }, z.core.$strip>>;
31999
31999
  statusUpdates: z.ZodNullable<z.ZodObject<{
32000
32000
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32061,11 +32061,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32061
32061
  }>, z.core.$strip>>;
32062
32062
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32063
32063
  id: z.ZodString;
32064
- name: z.ZodString;
32065
- description: z.ZodNullable<z.ZodString>;
32066
- agentId: z.ZodString;
32067
32064
  createdAt: z.ZodString;
32065
+ name: z.ZodString;
32068
32066
  updatedAt: z.ZodString;
32067
+ agentId: z.ZodString;
32068
+ description: z.ZodNullable<z.ZodString>;
32069
32069
  functionId: z.ZodString;
32070
32070
  relationshipId: z.ZodOptional<z.ZodString>;
32071
32071
  }, z.core.$strip>>>;
@@ -32209,20 +32209,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32209
32209
  }, z.core.$strip>>;
32210
32210
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32211
32211
  id: z.ZodString;
32212
- name: z.ZodString;
32213
32212
  createdAt: z.ZodString;
32213
+ name: z.ZodString;
32214
32214
  updatedAt: z.ZodString;
32215
32215
  toolId: z.ZodNullable<z.ZodString>;
32216
- userId: z.ZodNullable<z.ZodString>;
32217
32216
  createdBy: z.ZodNullable<z.ZodString>;
32218
32217
  credentialStoreId: z.ZodString;
32219
32218
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32219
+ userId: z.ZodNullable<z.ZodString>;
32220
32220
  type: z.ZodEnum<{
32221
32221
  readonly memory: "memory";
32222
32222
  readonly keychain: "keychain";
32223
32223
  readonly nango: "nango";
32224
32224
  }>;
32225
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
32225
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
32226
32226
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32227
32227
  name: "created_at";
32228
32228
  tableName: "tools";
@@ -32502,7 +32502,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32502
32502
  }, {}, {
32503
32503
  length: 256;
32504
32504
  }>;
32505
- }, drizzle_zod3.BuildRefine<{
32505
+ }, drizzle_zod0.BuildRefine<{
32506
32506
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32507
32507
  name: "created_at";
32508
32508
  tableName: "tools";
@@ -32806,7 +32806,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32806
32806
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32807
32807
  data: z.ZodObject<{
32808
32808
  id: z.ZodString;
32809
+ createdAt: z.ZodString;
32809
32810
  name: z.ZodString;
32811
+ updatedAt: z.ZodString;
32810
32812
  description: z.ZodNullable<z.ZodString>;
32811
32813
  models: z.ZodNullable<z.ZodObject<{
32812
32814
  base: z.ZodObject<{
@@ -32826,8 +32828,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32826
32828
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32827
32829
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32828
32830
  }, z.core.$strip>>;
32829
- createdAt: z.ZodString;
32830
- updatedAt: z.ZodString;
32831
32831
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32832
32832
  createdAt: z.ZodString;
32833
32833
  updatedAt: z.ZodString;
@@ -32859,11 +32859,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32859
32859
  }>, z.core.$strip>>;
32860
32860
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32861
32861
  id: z.ZodString;
32862
- name: z.ZodString;
32863
- description: z.ZodNullable<z.ZodString>;
32864
- agentId: z.ZodString;
32865
32862
  createdAt: z.ZodString;
32863
+ name: z.ZodString;
32866
32864
  updatedAt: z.ZodString;
32865
+ agentId: z.ZodString;
32866
+ description: z.ZodNullable<z.ZodString>;
32867
32867
  functionId: z.ZodString;
32868
32868
  relationshipId: z.ZodOptional<z.ZodString>;
32869
32869
  }, z.core.$strip>>>;
@@ -33007,20 +33007,20 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33007
33007
  }, z.core.$strip>>;
33008
33008
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33009
33009
  id: z.ZodString;
33010
- name: z.ZodString;
33011
33010
  createdAt: z.ZodString;
33011
+ name: z.ZodString;
33012
33012
  updatedAt: z.ZodString;
33013
33013
  toolId: z.ZodNullable<z.ZodString>;
33014
- userId: z.ZodNullable<z.ZodString>;
33015
33014
  createdBy: z.ZodNullable<z.ZodString>;
33016
33015
  credentialStoreId: z.ZodString;
33017
33016
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33017
+ userId: z.ZodNullable<z.ZodString>;
33018
33018
  type: z.ZodEnum<{
33019
33019
  readonly memory: "memory";
33020
33020
  readonly keychain: "keychain";
33021
33021
  readonly nango: "nango";
33022
33022
  }>;
33023
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
33023
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
33024
33024
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33025
33025
  name: "created_at";
33026
33026
  tableName: "tools";
@@ -33300,7 +33300,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33300
33300
  }, {}, {
33301
33301
  length: 256;
33302
33302
  }>;
33303
- }, drizzle_zod3.BuildRefine<{
33303
+ }, drizzle_zod0.BuildRefine<{
33304
33304
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33305
33305
  name: "created_at";
33306
33306
  tableName: "tools";
@@ -33598,11 +33598,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33598
33598
  }, z.core.$strip>>>;
33599
33599
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33600
33600
  id: z.ZodString;
33601
+ createdAt: z.ZodString;
33601
33602
  name: z.ZodString;
33603
+ updatedAt: z.ZodString;
33602
33604
  description: z.ZodNullable<z.ZodString>;
33603
33605
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33604
- createdAt: z.ZodString;
33605
- updatedAt: z.ZodString;
33606
33606
  contextConfigId: z.ZodNullable<z.ZodString>;
33607
33607
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33608
33608
  createdAt: z.ZodString;
@@ -33651,11 +33651,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33651
33651
  }, z.core.$strip>>>;
33652
33652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33653
33653
  id: z.ZodString;
33654
- name: z.ZodString;
33655
- description: z.ZodNullable<z.ZodString>;
33656
- agentId: z.ZodString;
33657
33654
  createdAt: z.ZodString;
33655
+ name: z.ZodString;
33658
33656
  updatedAt: z.ZodString;
33657
+ agentId: z.ZodString;
33658
+ description: z.ZodNullable<z.ZodString>;
33659
33659
  functionId: z.ZodString;
33660
33660
  relationshipId: z.ZodOptional<z.ZodString>;
33661
33661
  }, z.core.$strip>>>;
@@ -33692,10 +33692,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33692
33692
  }>, z.core.$strip>>>;
33693
33693
  contextConfig: z.ZodNullable<z.ZodObject<{
33694
33694
  id: z.ZodString;
33695
- createdAt: z.ZodString;
33696
- updatedAt: z.ZodString;
33697
33695
  headersSchema: z.ZodOptional<z.ZodAny>;
33698
33696
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33697
+ createdAt: z.ZodString;
33698
+ updatedAt: z.ZodString;
33699
33699
  }, z.core.$strip>>;
33700
33700
  statusUpdates: z.ZodNullable<z.ZodObject<{
33701
33701
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33732,9 +33732,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33732
33732
  prompt: z.ZodNullable<z.ZodString>;
33733
33733
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33734
33734
  id: z.ZodString;
33735
+ createdAt: z.ZodString;
33735
33736
  name: z.ZodString;
33737
+ updatedAt: z.ZodString;
33736
33738
  description: z.ZodNullable<z.ZodString>;
33737
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33738
33739
  models: z.ZodNullable<z.ZodType<{
33739
33740
  base?: {
33740
33741
  model?: string | undefined;
@@ -33797,8 +33798,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33797
33798
  }, {
33798
33799
  stepCountIs?: number | undefined;
33799
33800
  }>>>;
33800
- createdAt: z.ZodString;
33801
- updatedAt: z.ZodString;
33801
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33802
33802
  type: z.ZodLiteral<"internal">;
33803
33803
  canUse: z.ZodArray<z.ZodObject<{
33804
33804
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33837,18 +33837,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33837
33837
  }, z.core.$strip>;
33838
33838
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33839
33839
  data: z.ZodObject<{
33840
+ createdAt: z.ZodOptional<z.ZodString>;
33840
33841
  name: z.ZodString;
33842
+ updatedAt: z.ZodOptional<z.ZodString>;
33841
33843
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33842
33844
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33843
- createdAt: z.ZodOptional<z.ZodString>;
33844
- updatedAt: z.ZodOptional<z.ZodString>;
33845
33845
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33846
33846
  id: z.ZodString;
33847
33847
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33848
33848
  id: z.ZodString;
33849
+ createdAt: z.ZodOptional<z.ZodString>;
33849
33850
  name: z.ZodString;
33851
+ updatedAt: z.ZodOptional<z.ZodString>;
33850
33852
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33851
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33852
33853
  models: z.ZodOptional<z.ZodObject<{
33853
33854
  base: z.ZodOptional<z.ZodObject<{
33854
33855
  model: z.ZodOptional<z.ZodString>;
@@ -33863,8 +33864,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33863
33864
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33864
33865
  }, z.core.$strip>>;
33865
33866
  }, z.core.$strip>>;
33866
- createdAt: z.ZodOptional<z.ZodString>;
33867
- updatedAt: z.ZodOptional<z.ZodString>;
33867
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33868
33868
  type: z.ZodLiteral<"internal">;
33869
33869
  canUse: z.ZodArray<z.ZodObject<{
33870
33870
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33975,26 +33975,26 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33975
33975
  executeCode: z.ZodString;
33976
33976
  }, z.core.$strip>>>;
33977
33977
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33978
- name: z.ZodString;
33979
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33980
33978
  createdAt: z.ZodOptional<z.ZodString>;
33979
+ name: z.ZodString;
33981
33980
  updatedAt: z.ZodOptional<z.ZodString>;
33981
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33982
33982
  enabled: z.ZodOptional<z.ZodBoolean>;
33983
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33984
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33983
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33984
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33985
33985
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33986
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33986
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33987
33987
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33988
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33988
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33989
33989
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33990
33990
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33991
33991
  id: z.ZodOptional<z.ZodString>;
33992
33992
  }, z.core.$strip>>>;
33993
33993
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33994
- name: z.ZodString;
33995
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33996
33994
  createdAt: z.ZodOptional<z.ZodString>;
33995
+ name: z.ZodString;
33997
33996
  updatedAt: z.ZodOptional<z.ZodString>;
33997
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33998
33998
  enabled: z.ZodOptional<z.ZodBoolean>;
33999
33999
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34000
34000
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34002,7 +34002,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34002
34002
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34003
34003
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34004
34004
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34005
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
34005
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
34006
34006
  maxRetries: z.ZodOptional<z.ZodNumber>;
34007
34007
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
34008
34008
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -34051,17 +34051,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34051
34051
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34052
34052
  data: z.ZodObject<{
34053
34053
  id: z.ZodString;
34054
+ createdAt: z.ZodString;
34054
34055
  name: z.ZodString;
34056
+ updatedAt: z.ZodString;
34055
34057
  description: z.ZodNullable<z.ZodString>;
34056
34058
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34057
- createdAt: z.ZodString;
34058
- updatedAt: z.ZodString;
34059
34059
  contextConfigId: z.ZodNullable<z.ZodString>;
34060
34060
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34061
34061
  id: z.ZodString;
34062
+ createdAt: z.ZodString;
34062
34063
  name: z.ZodString;
34064
+ updatedAt: z.ZodString;
34063
34065
  description: z.ZodNullable<z.ZodString>;
34064
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34065
34066
  models: z.ZodNullable<z.ZodType<{
34066
34067
  base?: {
34067
34068
  model?: string | undefined;
@@ -34124,8 +34125,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34124
34125
  }, {
34125
34126
  stepCountIs?: number | undefined;
34126
34127
  }>>>;
34127
- createdAt: z.ZodString;
34128
- updatedAt: z.ZodString;
34128
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34129
34129
  type: z.ZodLiteral<"internal">;
34130
34130
  canUse: z.ZodArray<z.ZodObject<{
34131
34131
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34197,11 +34197,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34197
34197
  }, z.core.$strip>>>;
34198
34198
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34199
34199
  id: z.ZodString;
34200
- name: z.ZodString;
34201
- description: z.ZodNullable<z.ZodString>;
34202
- agentId: z.ZodString;
34203
34200
  createdAt: z.ZodString;
34201
+ name: z.ZodString;
34204
34202
  updatedAt: z.ZodString;
34203
+ agentId: z.ZodString;
34204
+ description: z.ZodNullable<z.ZodString>;
34205
34205
  functionId: z.ZodString;
34206
34206
  relationshipId: z.ZodOptional<z.ZodString>;
34207
34207
  }, z.core.$strip>>>;
@@ -34238,10 +34238,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34238
34238
  }>, z.core.$strip>>>;
34239
34239
  contextConfig: z.ZodNullable<z.ZodObject<{
34240
34240
  id: z.ZodString;
34241
- createdAt: z.ZodString;
34242
- updatedAt: z.ZodString;
34243
34241
  headersSchema: z.ZodOptional<z.ZodAny>;
34244
34242
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34243
+ createdAt: z.ZodString;
34244
+ updatedAt: z.ZodString;
34245
34245
  }, z.core.$strip>>;
34246
34246
  statusUpdates: z.ZodNullable<z.ZodObject<{
34247
34247
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34434,7 +34434,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34434
34434
  createdAt: z.ZodString;
34435
34435
  updatedAt: z.ZodString;
34436
34436
  targetAgentId: z.ZodString;
34437
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34437
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34438
34438
  subAgentId: z.ZodString;
34439
34439
  agentId: z.ZodString;
34440
34440
  projectId: z.ZodString;
@@ -34447,7 +34447,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34447
34447
  createdAt: z.ZodString;
34448
34448
  updatedAt: z.ZodString;
34449
34449
  targetAgentId: z.ZodString;
34450
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34450
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34451
34451
  subAgentId: z.ZodString;
34452
34452
  agentId: z.ZodString;
34453
34453
  projectId: z.ZodString;
@@ -34466,7 +34466,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34466
34466
  createdAt: z.ZodString;
34467
34467
  updatedAt: z.ZodString;
34468
34468
  externalAgentId: z.ZodString;
34469
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34469
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34470
34470
  subAgentId: z.ZodString;
34471
34471
  agentId: z.ZodString;
34472
34472
  projectId: z.ZodString;
@@ -34479,7 +34479,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34479
34479
  createdAt: z.ZodString;
34480
34480
  updatedAt: z.ZodString;
34481
34481
  externalAgentId: z.ZodString;
34482
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34483
34483
  subAgentId: z.ZodString;
34484
34484
  agentId: z.ZodString;
34485
34485
  projectId: z.ZodString;
@@ -34714,7 +34714,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34714
34714
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34715
34715
  ref: z.ZodOptional<z.ZodString>;
34716
34716
  }, z.core.$strip>;
34717
- declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34717
+ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
34718
34718
  id: drizzle_orm_pg_core0.PgColumn<{
34719
34719
  name: "id";
34720
34720
  tableName: "project_metadata";
@@ -34808,7 +34808,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34808
34808
  }, {}, {
34809
34809
  length: 512;
34810
34810
  }>;
34811
- }, drizzle_zod3.BuildRefine<{
34811
+ }, drizzle_zod0.BuildRefine<{
34812
34812
  id: drizzle_orm_pg_core0.PgColumn<{
34813
34813
  name: "id";
34814
34814
  tableName: "project_metadata";
@@ -34919,10 +34919,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34919
34919
  disconnected: "disconnected";
34920
34920
  }>;
34921
34921
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34922
- User: "User";
34923
34922
  Organization: "Organization";
34923
+ User: "User";
34924
34924
  }>;
34925
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
34925
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"select", {
34926
34926
  createdAt: drizzle_orm_pg_core0.PgColumn<{
34927
34927
  name: "created_at";
34928
34928
  tableName: "work_app_github_installations";
@@ -35015,7 +35015,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35015
35015
  tableName: "work_app_github_installations";
35016
35016
  dataType: "string";
35017
35017
  columnType: "PgVarchar";
35018
- data: "User" | "Organization";
35018
+ data: "Organization" | "User";
35019
35019
  driverParam: string;
35020
35020
  notNull: true;
35021
35021
  hasDefault: false;
@@ -35028,7 +35028,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35028
35028
  generated: undefined;
35029
35029
  }, {}, {
35030
35030
  length: 20;
35031
- $type: "User" | "Organization";
35031
+ $type: "Organization" | "User";
35032
35032
  }>;
35033
35033
  status: drizzle_orm_pg_core0.PgColumn<{
35034
35034
  name: "status";
@@ -35088,7 +35088,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35088
35088
  }, {}, {
35089
35089
  length: 256;
35090
35090
  }>;
35091
- }, drizzle_zod3.BuildRefine<{
35091
+ }, drizzle_zod0.BuildRefine<{
35092
35092
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35093
35093
  name: "created_at";
35094
35094
  tableName: "work_app_github_installations";
@@ -35181,7 +35181,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35181
35181
  tableName: "work_app_github_installations";
35182
35182
  dataType: "string";
35183
35183
  columnType: "PgVarchar";
35184
- data: "User" | "Organization";
35184
+ data: "Organization" | "User";
35185
35185
  driverParam: string;
35186
35186
  notNull: true;
35187
35187
  hasDefault: false;
@@ -35194,7 +35194,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35194
35194
  generated: undefined;
35195
35195
  }, {}, {
35196
35196
  length: 20;
35197
- $type: "User" | "Organization";
35197
+ $type: "Organization" | "User";
35198
35198
  }>;
35199
35199
  status: drizzle_orm_pg_core0.PgColumn<{
35200
35200
  name: "status";
@@ -35262,8 +35262,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35262
35262
  accountLogin: z.ZodString;
35263
35263
  accountId: z.ZodString;
35264
35264
  accountType: z.ZodEnum<{
35265
- User: "User";
35266
35265
  Organization: "Organization";
35266
+ User: "User";
35267
35267
  }>;
35268
35268
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35269
35269
  pending: "pending";
@@ -35293,8 +35293,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35293
35293
  accountLogin: z.ZodString;
35294
35294
  accountId: z.ZodString;
35295
35295
  accountType: z.ZodEnum<{
35296
- User: "User";
35297
35296
  Organization: "Organization";
35297
+ User: "User";
35298
35298
  }>;
35299
35299
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35300
35300
  pending: "pending";
@@ -35303,7 +35303,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35303
35303
  disconnected: "disconnected";
35304
35304
  }>>>;
35305
35305
  }>, z.core.$strip>;
35306
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"select", {
35306
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"select", {
35307
35307
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35308
35308
  name: "created_at";
35309
35309
  tableName: "work_app_github_repositories";
@@ -35448,7 +35448,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"sel
35448
35448
  identity: undefined;
35449
35449
  generated: undefined;
35450
35450
  }, {}, {}>;
35451
- }, drizzle_zod3.BuildRefine<{
35451
+ }, drizzle_zod0.BuildRefine<{
35452
35452
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35453
35453
  name: "created_at";
35454
35454
  tableName: "work_app_github_repositories";
@@ -35614,7 +35614,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35614
35614
  repositoryFullName: z.ZodString;
35615
35615
  private: z.ZodOptional<z.ZodBoolean>;
35616
35616
  }>>, z.core.$strip>;
35617
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
35617
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
35618
35618
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35619
35619
  name: "created_at";
35620
35620
  tableName: "work_app_github_project_repository_access";
@@ -35725,7 +35725,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.Bui
35725
35725
  }, {}, {
35726
35726
  length: 256;
35727
35727
  }>;
35728
- }, drizzle_zod3.BuildRefine<{
35728
+ }, drizzle_zod0.BuildRefine<{
35729
35729
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35730
35730
  name: "created_at";
35731
35731
  tableName: "work_app_github_project_repository_access";
@@ -35837,7 +35837,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.Bui
35837
35837
  length: 256;
35838
35838
  }>;
35839
35839
  }, undefined>, undefined>;
35840
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
35840
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
35841
35841
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35842
35842
  name: "created_at";
35843
35843
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35967,7 +35967,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.Bui
35967
35967
  }, {}, {
35968
35968
  length: 256;
35969
35969
  }>;
35970
- }, drizzle_zod3.BuildRefine<{
35970
+ }, drizzle_zod0.BuildRefine<{
35971
35971
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35972
35972
  name: "created_at";
35973
35973
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -36121,7 +36121,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36121
36121
  all: "all";
36122
36122
  selected: "selected";
36123
36123
  }>;
36124
- repositories: z.ZodArray<drizzle_zod3.BuildSchema<"select", {
36124
+ repositories: z.ZodArray<drizzle_zod0.BuildSchema<"select", {
36125
36125
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36126
36126
  name: "created_at";
36127
36127
  tableName: "work_app_github_repositories";
@@ -36266,7 +36266,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36266
36266
  identity: undefined;
36267
36267
  generated: undefined;
36268
36268
  }, {}, {}>;
36269
- }, drizzle_zod3.BuildRefine<{
36269
+ }, drizzle_zod0.BuildRefine<{
36270
36270
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36271
36271
  name: "created_at";
36272
36272
  tableName: "work_app_github_repositories";
@@ -36413,7 +36413,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36413
36413
  }, {}, {}>;
36414
36414
  }, undefined>, undefined>>;
36415
36415
  }, z.core.$strip>;
36416
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
36416
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
36417
36417
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36418
36418
  name: "created_at";
36419
36419
  tableName: "work_app_slack_channel_agent_configs";
@@ -36651,7 +36651,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSche
36651
36651
  identity: undefined;
36652
36652
  generated: undefined;
36653
36653
  }, {}, {}>;
36654
- }, drizzle_zod3.BuildRefine<{
36654
+ }, drizzle_zod0.BuildRefine<{
36655
36655
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36656
36656
  name: "created_at";
36657
36657
  tableName: "work_app_slack_channel_agent_configs";
@@ -36890,7 +36890,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSche
36890
36890
  generated: undefined;
36891
36891
  }, {}, {}>;
36892
36892
  }, undefined>, undefined>;
36893
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"select", {
36893
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod0.BuildSchema<"select", {
36894
36894
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36895
36895
  name: "created_at";
36896
36896
  tableName: "work_app_slack_workspaces";
@@ -37185,7 +37185,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37185
37185
  identity: undefined;
37186
37186
  generated: undefined;
37187
37187
  }, {}, {}>;
37188
- }, drizzle_zod3.BuildRefine<{
37188
+ }, drizzle_zod0.BuildRefine<{
37189
37189
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37190
37190
  name: "created_at";
37191
37191
  tableName: "work_app_slack_workspaces";
@@ -37482,16 +37482,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37482
37482
  }, {}, {}>;
37483
37483
  }, undefined>, undefined>;
37484
37484
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37485
- projectId: z.ZodString;
37486
37485
  agentId: z.ZodString;
37486
+ projectId: z.ZodString;
37487
37487
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37488
37488
  }, {
37489
37489
  out: {};
37490
37490
  in: {};
37491
37491
  }>;
37492
37492
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37493
- projectId: z.ZodString;
37494
37493
  agentId: z.ZodString;
37494
+ projectId: z.ZodString;
37495
37495
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37496
37496
  agentName: z.ZodString;
37497
37497
  projectName: z.ZodOptional<z.ZodString>;
@@ -37507,8 +37507,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37507
37507
  selected: "selected";
37508
37508
  }>;
37509
37509
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37510
- tenantId: z.ZodString;
37511
37510
  projectId: z.ZodString;
37511
+ tenantId: z.ZodString;
37512
37512
  toolId: z.ZodString;
37513
37513
  channelAccessMode: z.ZodEnum<{
37514
37514
  all: "all";
@@ -37525,7 +37525,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
37525
37525
  dmEnabled: z.ZodBoolean;
37526
37526
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
37527
37527
  }, z.core.$strip>;
37528
- declare const UserProfileSelectSchema: drizzle_zod3.BuildSchema<"select", {
37528
+ declare const UserProfileSelectSchema: drizzle_zod0.BuildSchema<"select", {
37529
37529
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37530
37530
  name: "created_at";
37531
37531
  tableName: "user_profile";
@@ -37630,7 +37630,7 @@ declare const UserProfileSelectSchema: drizzle_zod3.BuildSchema<"select", {
37630
37630
  }, {}, {
37631
37631
  $type: Record<string, unknown>;
37632
37632
  }>;
37633
- }, drizzle_zod3.BuildRefine<{
37633
+ }, drizzle_zod0.BuildRefine<{
37634
37634
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37635
37635
  name: "created_at";
37636
37636
  tableName: "user_profile";