@inkeep/agents-core 0.0.0-dev-20260330201301 → 0.0.0-dev-20260330205156

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_core893 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod15 from "drizzle-zod";
7
+ import * as drizzle_zod19 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -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_zod15.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core893.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod15.BuildRefine<{
385
+ }, drizzle_zod19.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core893.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -820,8 +820,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
827
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
827
829
  base: z.ZodOptional<z.ZodObject<{
@@ -846,12 +848,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
846
848
  }, {
847
849
  stepCountIs?: number | undefined;
848
850
  }>>>>>>;
849
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
850
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
851
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
852
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_zod15.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core893.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select",
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod15.BuildRefine<{
1022
+ }, drizzle_zod19.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core893.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_zod15.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core893.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1608,7 +1608,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1608
1608
  }, {}, {
1609
1609
  length: 256;
1610
1610
  }>;
1611
- }, drizzle_zod15.BuildRefine<{
1611
+ }, drizzle_zod19.BuildRefine<{
1612
1612
  createdAt: drizzle_orm_pg_core893.PgColumn<{
1613
1613
  name: "created_at";
1614
1614
  tableName: "agent";
@@ -1927,7 +1927,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1927
1927
  length: 256;
1928
1928
  }>;
1929
1929
  }, undefined>, undefined>;
1930
- declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1930
+ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1931
1931
  createdAt: drizzle_orm_pg_core893.PgColumn<{
1932
1932
  name: "created_at";
1933
1933
  tableName: "agent";
@@ -2245,7 +2245,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2245
2245
  }, {}, {
2246
2246
  length: 256;
2247
2247
  }>;
2248
- }, drizzle_zod15.BuildRefine<Pick<{
2248
+ }, drizzle_zod19.BuildRefine<Pick<{
2249
2249
  createdAt: drizzle_orm_pg_core893.PgColumn<{
2250
2250
  name: "created_at";
2251
2251
  tableName: "agent";
@@ -2563,7 +2563,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2563
2563
  }, {}, {
2564
2564
  length: 256;
2565
2565
  }>;
2566
- }, "name" | "id" | "description" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2566
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "models" | "stopWhen" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2567
2567
  declare const AgentUpdateSchema: z.ZodObject<{
2568
2568
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2569
2569
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2832,8 +2832,8 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2832
2832
  id: z.ZodString;
2833
2833
  }>, z.core.$strip>;
2834
2834
  declare const AgentApiInsertSchema: z.ZodObject<{
2835
- name: z.ZodString;
2836
2835
  id: z.ZodString;
2836
+ name: z.ZodString;
2837
2837
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2838
2838
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2839
2839
  base?: {
@@ -3151,8 +3151,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3151
3151
  declare const SignatureSourceSchema: z.ZodObject<{
3152
3152
  source: z.ZodEnum<{
3153
3153
  query: "query";
3154
- header: "header";
3155
3154
  body: "body";
3155
+ header: "header";
3156
3156
  }>;
3157
3157
  key: z.ZodString;
3158
3158
  prefix: z.ZodOptional<z.ZodString>;
@@ -3180,9 +3180,9 @@ declare const SignatureSourceSchema: z.ZodObject<{
3180
3180
  */
3181
3181
  declare const SignedComponentSchema: z.ZodObject<{
3182
3182
  source: z.ZodEnum<{
3183
- header: "header";
3184
3183
  literal: "literal";
3185
3184
  body: "body";
3185
+ header: "header";
3186
3186
  }>;
3187
3187
  key: z.ZodOptional<z.ZodString>;
3188
3188
  value: z.ZodOptional<z.ZodString>;
@@ -3291,8 +3291,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3291
3291
  signature: z.ZodObject<{
3292
3292
  source: z.ZodEnum<{
3293
3293
  query: "query";
3294
- header: "header";
3295
3294
  body: "body";
3295
+ header: "header";
3296
3296
  }>;
3297
3297
  key: z.ZodString;
3298
3298
  prefix: z.ZodOptional<z.ZodString>;
@@ -3300,9 +3300,9 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3300
3300
  }, z.core.$strip>;
3301
3301
  signedComponents: z.ZodArray<z.ZodObject<{
3302
3302
  source: z.ZodEnum<{
3303
- header: "header";
3304
3303
  literal: "literal";
3305
3304
  body: "body";
3305
+ header: "header";
3306
3306
  }>;
3307
3307
  key: z.ZodOptional<z.ZodString>;
3308
3308
  value: z.ZodOptional<z.ZodString>;
@@ -3353,18 +3353,18 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3353
3353
  */
3354
3354
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3355
3355
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3356
- success: "success";
3357
3356
  pending: "pending";
3357
+ success: "success";
3358
3358
  failed: "failed";
3359
3359
  }>;
3360
3360
  declare const TriggerSelectSchema: z.ZodObject<{
3361
3361
  createdAt: z.ZodString;
3362
3362
  updatedAt: z.ZodString;
3363
3363
  enabled: z.ZodBoolean;
3364
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3365
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3364
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3365
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3366
3366
  messageTemplate: z.ZodNullable<z.ZodString>;
3367
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3367
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3368
3368
  name: z.ZodString;
3369
3369
  description: z.ZodNullable<z.ZodString>;
3370
3370
  agentId: z.ZodString;
@@ -3387,8 +3387,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3387
3387
  signature: z.ZodObject<{
3388
3388
  source: z.ZodEnum<{
3389
3389
  query: "query";
3390
- header: "header";
3391
3390
  body: "body";
3391
+ header: "header";
3392
3392
  }>;
3393
3393
  key: z.ZodString;
3394
3394
  prefix: z.ZodOptional<z.ZodString>;
@@ -3396,9 +3396,9 @@ declare const TriggerSelectSchema: z.ZodObject<{
3396
3396
  }, z.core.$strip>;
3397
3397
  signedComponents: z.ZodArray<z.ZodObject<{
3398
3398
  source: z.ZodEnum<{
3399
- header: "header";
3400
3399
  literal: "literal";
3401
3400
  body: "body";
3401
+ header: "header";
3402
3402
  }>;
3403
3403
  key: z.ZodOptional<z.ZodString>;
3404
3404
  value: z.ZodOptional<z.ZodString>;
@@ -3423,7 +3423,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3423
3423
  out: {};
3424
3424
  in: {};
3425
3425
  }>;
3426
- declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3426
+ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3427
3427
  createdAt: drizzle_orm_pg_core893.PgColumn<{
3428
3428
  name: "created_at";
3429
3429
  tableName: "triggers";
@@ -3583,13 +3583,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3583
3583
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3584
3584
  encoding: "hex" | "base64";
3585
3585
  signature: {
3586
- source: "query" | "header" | "body";
3586
+ source: "query" | "body" | "header";
3587
3587
  key: string;
3588
3588
  prefix?: string | undefined;
3589
3589
  regex?: string | undefined;
3590
3590
  };
3591
3591
  signedComponents: {
3592
- source: "header" | "literal" | "body";
3592
+ source: "literal" | "body" | "header";
3593
3593
  required: boolean;
3594
3594
  key?: string | undefined;
3595
3595
  value?: string | undefined;
@@ -3620,13 +3620,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3620
3620
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3621
3621
  encoding: "hex" | "base64";
3622
3622
  signature: {
3623
- source: "query" | "header" | "body";
3623
+ source: "query" | "body" | "header";
3624
3624
  key: string;
3625
3625
  prefix?: string | undefined;
3626
3626
  regex?: string | undefined;
3627
3627
  };
3628
3628
  signedComponents: {
3629
- source: "header" | "literal" | "body";
3629
+ source: "literal" | "body" | "header";
3630
3630
  required: boolean;
3631
3631
  key?: string | undefined;
3632
3632
  value?: string | undefined;
@@ -3793,7 +3793,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3793
3793
  }, {}, {
3794
3794
  length: 256;
3795
3795
  }>;
3796
- }, drizzle_zod15.BuildRefine<Pick<{
3796
+ }, drizzle_zod19.BuildRefine<Pick<{
3797
3797
  createdAt: drizzle_orm_pg_core893.PgColumn<{
3798
3798
  name: "created_at";
3799
3799
  tableName: "triggers";
@@ -3953,13 +3953,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3953
3953
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3954
3954
  encoding: "hex" | "base64";
3955
3955
  signature: {
3956
- source: "query" | "header" | "body";
3956
+ source: "query" | "body" | "header";
3957
3957
  key: string;
3958
3958
  prefix?: string | undefined;
3959
3959
  regex?: string | undefined;
3960
3960
  };
3961
3961
  signedComponents: {
3962
- source: "header" | "literal" | "body";
3962
+ source: "literal" | "body" | "header";
3963
3963
  required: boolean;
3964
3964
  key?: string | undefined;
3965
3965
  value?: string | undefined;
@@ -3990,13 +3990,13 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3990
3990
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3991
3991
  encoding: "hex" | "base64";
3992
3992
  signature: {
3993
- source: "query" | "header" | "body";
3993
+ source: "query" | "body" | "header";
3994
3994
  key: string;
3995
3995
  prefix?: string | undefined;
3996
3996
  regex?: string | undefined;
3997
3997
  };
3998
3998
  signedComponents: {
3999
- source: "header" | "literal" | "body";
3999
+ source: "literal" | "body" | "header";
4000
4000
  required: boolean;
4001
4001
  key?: string | undefined;
4002
4002
  value?: string | undefined;
@@ -4163,16 +4163,16 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4163
4163
  }, {}, {
4164
4164
  length: 256;
4165
4165
  }>;
4166
- }, "name" | "id" | "description" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "agentId" | "createdBy" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4166
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "createdBy" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4167
4167
  declare const TriggerUpdateSchema: z.ZodObject<{
4168
4168
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4169
4169
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4170
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4171
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4170
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4171
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4172
4172
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4173
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4173
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4174
4174
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4175
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4175
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4176
4176
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4177
4177
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4178
4178
  name: z.ZodOptional<z.ZodString>;
@@ -4190,10 +4190,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4190
4190
  createdAt: z.ZodString;
4191
4191
  updatedAt: z.ZodString;
4192
4192
  enabled: z.ZodBoolean;
4193
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4194
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4193
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4194
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4195
4195
  messageTemplate: z.ZodNullable<z.ZodString>;
4196
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4196
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4197
4197
  name: z.ZodString;
4198
4198
  description: z.ZodNullable<z.ZodString>;
4199
4199
  agentId: z.ZodString;
@@ -4216,8 +4216,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4216
4216
  signature: z.ZodObject<{
4217
4217
  source: z.ZodEnum<{
4218
4218
  query: "query";
4219
- header: "header";
4220
4219
  body: "body";
4220
+ header: "header";
4221
4221
  }>;
4222
4222
  key: z.ZodString;
4223
4223
  prefix: z.ZodOptional<z.ZodString>;
@@ -4225,9 +4225,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4225
4225
  }, z.core.$strip>;
4226
4226
  signedComponents: z.ZodArray<z.ZodObject<{
4227
4227
  source: z.ZodEnum<{
4228
- header: "header";
4229
4228
  literal: "literal";
4230
4229
  body: "body";
4230
+ header: "header";
4231
4231
  }>;
4232
4232
  key: z.ZodOptional<z.ZodString>;
4233
4233
  value: z.ZodOptional<z.ZodString>;
@@ -4250,47 +4250,47 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4250
4250
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4251
4251
  }>, z.core.$strip>;
4252
4252
  declare const TriggerApiInsertSchema: z.ZodObject<{
4253
- name: z.ZodString;
4254
4253
  id: z.ZodOptional<z.ZodString>;
4254
+ name: z.ZodString;
4255
4255
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4256
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4257
4256
  enabled: z.ZodOptional<z.ZodBoolean>;
4258
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4259
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4257
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4258
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4259
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4260
4260
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4261
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4261
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4262
4262
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4263
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4264
4264
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4265
4265
  }, z.core.$strip>;
4266
4266
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4267
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4268
4267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4269
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4268
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4270
4269
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4271
4270
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4272
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4271
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4273
4272
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4274
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4275
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4273
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4274
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4275
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4276
4276
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4277
- authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4277
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4278
4278
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4279
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4279
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4280
4280
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4281
4281
  }, z.core.$strip>;
4282
4282
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4283
- name: z.ZodString;
4284
4283
  id: z.ZodString;
4285
- description: z.ZodNullable<z.ZodString>;
4284
+ name: z.ZodString;
4286
4285
  createdAt: z.ZodString;
4287
4286
  updatedAt: z.ZodString;
4288
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4287
+ description: z.ZodNullable<z.ZodString>;
4289
4288
  enabled: z.ZodBoolean;
4290
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4291
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4289
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4290
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4291
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4292
4292
  messageTemplate: z.ZodNullable<z.ZodString>;
4293
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4293
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4294
4294
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4295
4295
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4296
4296
  algorithm: z.ZodEnum<{
@@ -4307,8 +4307,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4307
4307
  signature: z.ZodObject<{
4308
4308
  source: z.ZodEnum<{
4309
4309
  query: "query";
4310
- header: "header";
4311
4310
  body: "body";
4311
+ header: "header";
4312
4312
  }>;
4313
4313
  key: z.ZodString;
4314
4314
  prefix: z.ZodOptional<z.ZodString>;
@@ -4316,9 +4316,9 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4316
4316
  }, z.core.$strip>;
4317
4317
  signedComponents: z.ZodArray<z.ZodObject<{
4318
4318
  source: z.ZodEnum<{
4319
- header: "header";
4320
4319
  literal: "literal";
4321
4320
  body: "body";
4321
+ header: "header";
4322
4322
  }>;
4323
4323
  key: z.ZodOptional<z.ZodString>;
4324
4324
  value: z.ZodOptional<z.ZodString>;
@@ -4344,8 +4344,8 @@ declare const TriggerInvocationSelectSchema: z.ZodObject<{
4344
4344
  triggerId: z.ZodString;
4345
4345
  conversationId: z.ZodNullable<z.ZodString>;
4346
4346
  status: z.ZodString;
4347
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4348
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4347
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4348
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4349
4349
  errorMessage: z.ZodNullable<z.ZodString>;
4350
4350
  createdAt: z.ZodString;
4351
4351
  agentId: z.ZodString;
@@ -4365,7 +4365,7 @@ declare const TriggerInvocationSelectSchema: z.ZodObject<{
4365
4365
  out: {};
4366
4366
  in: {};
4367
4367
  }>;
4368
- declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4368
+ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4369
4369
  triggerId: drizzle_orm_pg_core893.PgColumn<{
4370
4370
  name: "trigger_id";
4371
4371
  tableName: "trigger_invocations";
@@ -4594,7 +4594,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4594
4594
  }, {}, {
4595
4595
  length: 256;
4596
4596
  }>;
4597
- }, drizzle_zod15.BuildRefine<Pick<{
4597
+ }, drizzle_zod19.BuildRefine<Pick<{
4598
4598
  triggerId: drizzle_orm_pg_core893.PgColumn<{
4599
4599
  name: "trigger_id";
4600
4600
  tableName: "trigger_invocations";
@@ -4823,7 +4823,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4823
4823
  }, {}, {
4824
4824
  length: 256;
4825
4825
  }>;
4826
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "status" | "ref" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4826
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4827
4827
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4828
4828
  triggerId: z.ZodOptional<z.ZodString>;
4829
4829
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4845,8 +4845,8 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4845
4845
  hash: string;
4846
4846
  }>>>>>;
4847
4847
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4848
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4849
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4848
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4849
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4850
4850
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4851
4851
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4852
4852
  agentId: z.ZodOptional<z.ZodString>;
@@ -4861,8 +4861,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4861
4861
  triggerId: z.ZodString;
4862
4862
  conversationId: z.ZodNullable<z.ZodString>;
4863
4863
  status: z.ZodString;
4864
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4865
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4864
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4865
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4866
4866
  errorMessage: z.ZodNullable<z.ZodString>;
4867
4867
  createdAt: z.ZodString;
4868
4868
  agentId: z.ZodString;
@@ -4881,7 +4881,6 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4881
4881
  }>, z.core.$strip>;
4882
4882
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4883
4883
  createdAt: z.ZodOptional<z.ZodString>;
4884
- status: z.ZodOptional<z.ZodString>;
4885
4884
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
4886
4885
  type: "commit" | "tag" | "branch";
4887
4886
  name: string;
@@ -4899,17 +4898,17 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4899
4898
  name: string;
4900
4899
  hash: string;
4901
4900
  }>>>>;
4901
+ status: z.ZodOptional<z.ZodString>;
4902
4902
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4903
4903
  triggerId: z.ZodString;
4904
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4905
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4904
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4905
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4906
4906
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4907
4907
  id: z.ZodString;
4908
4908
  }, z.core.$strip>;
4909
4909
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4910
4910
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4911
4911
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4912
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4913
4912
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4914
4913
  type: "commit" | "tag" | "branch";
4915
4914
  name: string;
@@ -4927,10 +4926,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4927
4926
  name: string;
4928
4927
  hash: string;
4929
4928
  }>>>>>>;
4929
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4930
4930
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4931
4931
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4932
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4933
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4932
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4933
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4934
4934
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4935
4935
  }, z.core.$strip>;
4936
4936
  declare const CronExpressionSchema: z.ZodString;
@@ -4961,14 +4961,15 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
4961
4961
  in: {};
4962
4962
  }>;
4963
4963
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4964
- name: z.ZodString;
4965
4964
  id: z.ZodString;
4965
+ name: z.ZodString;
4966
+ ref: z.ZodOptional<z.ZodString>;
4966
4967
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4968
+ enabled: z.ZodOptional<z.ZodBoolean>;
4967
4969
  tenantId: z.ZodString;
4970
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4968
4971
  projectId: z.ZodString;
4969
4972
  agentId: z.ZodString;
4970
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4971
- enabled: z.ZodOptional<z.ZodBoolean>;
4972
4973
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4973
4974
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4974
4975
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4977,20 +4978,19 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4977
4978
  maxRetries: z.ZodOptional<z.ZodInt>;
4978
4979
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
4979
4980
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
4980
- ref: z.ZodOptional<z.ZodString>;
4981
4981
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
4982
4982
  }, {
4983
4983
  out: {};
4984
4984
  in: {};
4985
4985
  }>;
4986
4986
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
4987
- name: z.ZodOptional<z.ZodString>;
4988
4987
  id: z.ZodOptional<z.ZodString>;
4988
+ name: z.ZodOptional<z.ZodString>;
4989
4989
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4990
4990
  tenantId: z.ZodOptional<z.ZodString>;
4991
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4991
4992
  projectId: z.ZodOptional<z.ZodString>;
4992
4993
  agentId: z.ZodOptional<z.ZodString>;
4993
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4994
4994
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4995
4995
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4996
4996
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5031,9 +5031,10 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5031
5031
  }>, z.core.$strip>;
5032
5032
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5033
5033
  name: z.ZodString;
5034
+ ref: z.ZodOptional<z.ZodString>;
5034
5035
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5035
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5036
5036
  enabled: z.ZodOptional<z.ZodBoolean>;
5037
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5037
5038
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5038
5039
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5039
5040
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5043,14 +5044,14 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5043
5044
  maxRetries: z.ZodOptional<z.ZodInt>;
5044
5045
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5045
5046
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5046
- ref: z.ZodOptional<z.ZodString>;
5047
5047
  id: z.ZodOptional<z.ZodString>;
5048
5048
  }, z.core.$strip>;
5049
5049
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5050
5050
  name: z.ZodString;
5051
+ ref: z.ZodOptional<z.ZodString>;
5051
5052
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5052
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5053
5053
  enabled: z.ZodOptional<z.ZodBoolean>;
5054
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5054
5055
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5055
5056
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5056
5057
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5060,15 +5061,15 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5060
5061
  maxRetries: z.ZodOptional<z.ZodInt>;
5061
5062
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5062
5063
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5063
- ref: z.ZodOptional<z.ZodString>;
5064
5064
  id: z.ZodOptional<z.ZodString>;
5065
5065
  }, z.core.$strip>;
5066
5066
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5067
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5068
5067
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5068
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5069
+ ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5069
5070
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5070
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5071
5071
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5072
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5072
5073
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5073
5074
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5074
5075
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5078,7 +5079,6 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5078
5079
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5079
5080
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5080
5081
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5081
- ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5082
5082
  }, z.core.$strip>;
5083
5083
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5084
5084
  pending: "pending";
@@ -5121,7 +5121,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5121
5121
  out: {};
5122
5122
  in: {};
5123
5123
  }>;
5124
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5124
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5125
5125
  scheduledTriggerId: drizzle_orm_pg_core893.PgColumn<{
5126
5126
  name: "scheduled_trigger_id";
5127
5127
  tableName: "scheduled_trigger_invocations";
@@ -5406,7 +5406,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5406
5406
  }, {}, {
5407
5407
  length: 256;
5408
5408
  }>;
5409
- }, drizzle_zod15.BuildRefine<Pick<{
5409
+ }, drizzle_zod19.BuildRefine<Pick<{
5410
5410
  scheduledTriggerId: drizzle_orm_pg_core893.PgColumn<{
5411
5411
  name: "scheduled_trigger_id";
5412
5412
  tableName: "scheduled_trigger_invocations";
@@ -5691,7 +5691,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
5691
5691
  }, {}, {
5692
5692
  length: 256;
5693
5693
  }>;
5694
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "status" | "scheduledTriggerId" | "conversationIds" | "ref" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5694
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5695
5695
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5696
5696
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
5697
5697
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -5715,7 +5715,7 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5715
5715
  scheduledFor: z.ZodOptional<z.ZodString>;
5716
5716
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5717
5717
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5718
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5718
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5719
5719
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
5720
5720
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
5721
5721
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -5761,9 +5761,6 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
5761
5761
  }>, z.core.$strip>;
5762
5762
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5763
5763
  createdAt: z.ZodOptional<z.ZodString>;
5764
- status: z.ZodString;
5765
- scheduledTriggerId: z.ZodString;
5766
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5767
5764
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
5768
5765
  type: "commit" | "tag" | "branch";
5769
5766
  name: string;
@@ -5781,10 +5778,13 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5781
5778
  name: string;
5782
5779
  hash: string;
5783
5780
  }>>>>;
5781
+ status: z.ZodString;
5782
+ scheduledTriggerId: z.ZodString;
5783
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5784
5784
  scheduledFor: z.ZodString;
5785
5785
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5786
5786
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5787
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5787
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5788
5788
  attemptNumber: z.ZodOptional<z.ZodInt>;
5789
5789
  idempotencyKey: z.ZodString;
5790
5790
  id: z.ZodString;
@@ -5792,9 +5792,6 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5792
5792
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
5793
5793
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5794
5794
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5795
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5796
- scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5797
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
5798
5795
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
5799
5796
  type: "commit" | "tag" | "branch";
5800
5797
  name: string;
@@ -5812,15 +5809,18 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
5812
5809
  name: string;
5813
5810
  hash: string;
5814
5811
  }>>>>>>;
5812
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5813
+ scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5814
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
5815
5815
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5816
5816
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5817
5817
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5818
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5818
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5819
5819
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
5820
5820
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5821
5821
  }, z.core.$strip>;
5822
5822
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
5823
- declare const SchedulerStateSelectSchema: drizzle_zod15.BuildSchema<"select", {
5823
+ declare const SchedulerStateSelectSchema: drizzle_zod19.BuildSchema<"select", {
5824
5824
  createdAt: drizzle_orm_pg_core893.PgColumn<{
5825
5825
  name: "created_at";
5826
5826
  tableName: "scheduler_state";
@@ -5893,7 +5893,7 @@ declare const SchedulerStateSelectSchema: drizzle_zod15.BuildSchema<"select", {
5893
5893
  }, {}, {
5894
5894
  length: 256;
5895
5895
  }>;
5896
- }, drizzle_zod15.BuildRefine<{
5896
+ }, drizzle_zod19.BuildRefine<{
5897
5897
  createdAt: drizzle_orm_pg_core893.PgColumn<{
5898
5898
  name: "created_at";
5899
5899
  tableName: "scheduler_state";
@@ -6088,10 +6088,6 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6088
6088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6089
6089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6090
6090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6091
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6092
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6093
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6094
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6095
6091
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6096
6092
  type: z.ZodEnum<{
6097
6093
  commit: "commit";
@@ -6101,10 +6097,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6101
6097
  name: z.ZodString;
6102
6098
  hash: z.ZodString;
6103
6099
  }, z.core.$strip>>>;
6100
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6101
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6102
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6103
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6104
6104
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6105
6105
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6106
6106
  }, z.core.$strip>;
6107
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6107
+ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6108
6108
  createdAt: drizzle_orm_pg_core893.PgColumn<{
6109
6109
  name: "created_at";
6110
6110
  tableName: "task_relations";
@@ -6253,7 +6253,7 @@ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6253
6253
  }, {}, {
6254
6254
  length: 256;
6255
6255
  }>;
6256
- }, drizzle_zod15.BuildRefine<{
6256
+ }, drizzle_zod19.BuildRefine<{
6257
6257
  createdAt: drizzle_orm_pg_core893.PgColumn<{
6258
6258
  name: "created_at";
6259
6259
  tableName: "task_relations";
@@ -6479,7 +6479,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
6479
6479
  description: z.ZodOptional<z.ZodString>;
6480
6480
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6481
6481
  }, z.core.$strip>;
6482
- declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6482
+ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
6483
6483
  createdAt: drizzle_orm_pg_core893.PgColumn<{
6484
6484
  name: "created_at";
6485
6485
  tableName: "tools";
@@ -6759,7 +6759,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
6759
6759
  }, {}, {
6760
6760
  length: 256;
6761
6761
  }>;
6762
- }, drizzle_zod15.BuildRefine<{
6762
+ }, drizzle_zod19.BuildRefine<{
6763
6763
  createdAt: drizzle_orm_pg_core893.PgColumn<{
6764
6764
  name: "created_at";
6765
6765
  tableName: "tools";
@@ -7041,11 +7041,13 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
7041
7041
  }>;
7042
7042
  }, undefined>, undefined>;
7043
7043
  declare const ToolInsertSchema: z.ZodObject<{
7044
- name: z.ZodString;
7045
7044
  id: z.ZodString;
7045
+ name: z.ZodString;
7046
7046
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7047
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7047
7048
  tenantId: z.ZodString;
7048
7049
  projectId: z.ZodString;
7050
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7049
7051
  config: z.ZodObject<{
7050
7052
  type: z.ZodLiteral<"mcp">;
7051
7053
  mcp: z.ZodObject<{
@@ -7072,9 +7074,7 @@ declare const ToolInsertSchema: z.ZodObject<{
7072
7074
  prompt: z.ZodOptional<z.ZodString>;
7073
7075
  }, z.core.$strip>;
7074
7076
  }, z.core.$strip>;
7075
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7076
7077
  credentialScope: z.ZodOptional<z.ZodString>;
7077
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7078
7078
  imageUrl: z.ZodOptional<z.ZodString>;
7079
7079
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7080
7080
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7207,13 +7207,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7207
7207
  }>, z.core.$strip>;
7208
7208
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7209
7209
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7210
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7211
7210
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7212
7211
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7213
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7214
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7215
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7216
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7217
7212
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7218
7213
  type: z.ZodEnum<{
7219
7214
  commit: "commit";
@@ -7223,10 +7218,15 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7223
7218
  name: z.ZodString;
7224
7219
  hash: z.ZodString;
7225
7220
  }, z.core.$strip>>>;
7221
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7222
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7223
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7224
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7225
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7226
7226
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7227
7227
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7228
7228
  }, z.core.$strip>;
7229
- declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7229
+ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7230
7230
  createdAt: drizzle_orm_pg_core893.PgColumn<{
7231
7231
  name: "created_at";
7232
7232
  tableName: "messages";
@@ -7622,7 +7622,7 @@ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7622
7622
  }, {}, {
7623
7623
  length: 256;
7624
7624
  }>;
7625
- }, drizzle_zod15.BuildRefine<{
7625
+ }, drizzle_zod19.BuildRefine<{
7626
7626
  createdAt: drizzle_orm_pg_core893.PgColumn<{
7627
7627
  name: "created_at";
7628
7628
  tableName: "messages";
@@ -8122,8 +8122,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8122
8122
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8123
8123
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8124
8124
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8125
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8126
8125
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8126
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8127
8127
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8128
8128
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8129
8129
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8144,7 +8144,7 @@ declare const ContextCacheSelectSchema: z.ZodObject<{
8144
8144
  conversationId: z.ZodString;
8145
8145
  contextConfigId: z.ZodString;
8146
8146
  contextVariableKey: z.ZodString;
8147
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8147
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8148
8148
  requestHash: z.ZodNullable<z.ZodString>;
8149
8149
  fetchedAt: z.ZodString;
8150
8150
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8170,7 +8170,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8170
8170
  conversationId: z.ZodString;
8171
8171
  contextConfigId: z.ZodString;
8172
8172
  contextVariableKey: z.ZodString;
8173
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8173
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8174
8174
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8175
8175
  fetchedAt: z.ZodOptional<z.ZodString>;
8176
8176
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8196,7 +8196,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8196
8196
  conversationId: z.ZodOptional<z.ZodString>;
8197
8197
  contextConfigId: z.ZodOptional<z.ZodString>;
8198
8198
  contextVariableKey: z.ZodOptional<z.ZodString>;
8199
- value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8199
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8200
8200
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8201
8201
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8202
8202
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8222,7 +8222,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8222
8222
  conversationId: z.ZodString;
8223
8223
  contextConfigId: z.ZodString;
8224
8224
  contextVariableKey: z.ZodString;
8225
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8225
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8226
8226
  requestHash: z.ZodNullable<z.ZodString>;
8227
8227
  fetchedAt: z.ZodString;
8228
8228
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8245,7 +8245,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8245
8245
  conversationId: z.ZodString;
8246
8246
  contextConfigId: z.ZodString;
8247
8247
  contextVariableKey: z.ZodString;
8248
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8248
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8249
8249
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8250
8250
  fetchedAt: z.ZodOptional<z.ZodString>;
8251
8251
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8264,10 +8264,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8264
8264
  }>, z.core.$strip>;
8265
8265
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8266
8266
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8267
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8268
8267
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8269
8268
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8270
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8271
8269
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8272
8270
  type: z.ZodEnum<{
8273
8271
  commit: "commit";
@@ -8277,6 +8275,8 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8277
8275
  name: z.ZodString;
8278
8276
  hash: z.ZodString;
8279
8277
  }, z.core.$strip>>>;
8278
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8279
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8280
8280
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8281
8281
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8282
8282
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8387,9 +8387,6 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
8387
8387
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
8388
8388
  createdAt: z.ZodOptional<z.ZodString>;
8389
8389
  updatedAt: z.ZodOptional<z.ZodString>;
8390
- datasetId: z.ZodString;
8391
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8392
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8393
8390
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
8394
8391
  type: "commit" | "tag" | "branch";
8395
8392
  name: string;
@@ -8407,13 +8404,13 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8407
8404
  name: string;
8408
8405
  hash: string;
8409
8406
  }>>>>;
8407
+ datasetId: z.ZodString;
8408
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8409
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8410
8410
  }, z.core.$strip>;
8411
8411
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8412
8412
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8413
8413
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8414
- datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8415
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8416
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8417
8414
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
8418
8415
  type: "commit" | "tag" | "branch";
8419
8416
  name: string;
@@ -8431,8 +8428,11 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8431
8428
  name: string;
8432
8429
  hash: string;
8433
8430
  }>>>>>>;
8431
+ datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8432
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8433
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8434
8434
  }, z.core.$strip>;
8435
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8435
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8436
8436
  createdAt: drizzle_orm_pg_core893.PgColumn<{
8437
8437
  name: "created_at";
8438
8438
  tableName: "dataset_run_conversation_relations";
@@ -8575,7 +8575,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSch
8575
8575
  }, {}, {
8576
8576
  length: 256;
8577
8577
  }>;
8578
- }, drizzle_zod15.BuildRefine<{
8578
+ }, drizzle_zod19.BuildRefine<{
8579
8579
  createdAt: drizzle_orm_pg_core893.PgColumn<{
8580
8580
  name: "created_at";
8581
8581
  tableName: "dataset_run_conversation_relations";
@@ -8769,7 +8769,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
8769
8769
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8770
8770
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8771
8771
  }, z.core.$strip>;
8772
- declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
8772
+ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
8773
8773
  createdAt: drizzle_orm_pg_core893.PgColumn<{
8774
8774
  name: "created_at";
8775
8775
  tableName: "evaluation_result";
@@ -8931,7 +8931,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select",
8931
8931
  }, {}, {
8932
8932
  length: 256;
8933
8933
  }>;
8934
- }, drizzle_zod15.BuildRefine<{
8934
+ }, drizzle_zod19.BuildRefine<{
8935
8935
  createdAt: drizzle_orm_pg_core893.PgColumn<{
8936
8936
  name: "created_at";
8937
8937
  tableName: "evaluation_result";
@@ -9134,17 +9134,17 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
9134
9134
  id: z.ZodString;
9135
9135
  }>, z.core.$strip>;
9136
9136
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9137
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9138
9137
  createdAt: z.ZodOptional<z.ZodString>;
9139
9138
  updatedAt: z.ZodOptional<z.ZodString>;
9139
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9140
9140
  evaluatorId: z.ZodString;
9141
9141
  conversationId: z.ZodString;
9142
9142
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9143
9143
  }, z.core.$strip>;
9144
9144
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9145
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9146
9145
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9147
9146
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9147
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9148
9148
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9149
9149
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9150
9150
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9249,8 +9249,6 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9249
9249
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9250
9250
  createdAt: z.ZodOptional<z.ZodString>;
9251
9251
  updatedAt: z.ZodOptional<z.ZodString>;
9252
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9253
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9254
9252
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9255
9253
  type: "commit" | "tag" | "branch";
9256
9254
  name: string;
@@ -9268,12 +9266,12 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9268
9266
  name: string;
9269
9267
  hash: string;
9270
9268
  }>>>>;
9269
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9270
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9271
9271
  }, z.core.$strip>;
9272
9272
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9273
9273
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9274
9274
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9275
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9276
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9277
9275
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9278
9276
  type: "commit" | "tag" | "branch";
9279
9277
  name: string;
@@ -9291,8 +9289,10 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9291
9289
  name: string;
9292
9290
  hash: string;
9293
9291
  }>>>>>>;
9292
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9293
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9294
9294
  }, z.core.$strip>;
9295
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9295
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9296
9296
  createdAt: drizzle_orm_pg_core893.PgColumn<{
9297
9297
  name: "created_at";
9298
9298
  tableName: "evaluation_run_config";
@@ -9437,7 +9437,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select
9437
9437
  }, {}, {
9438
9438
  length: 256;
9439
9439
  }>;
9440
- }, drizzle_zod15.BuildRefine<{
9440
+ }, drizzle_zod19.BuildRefine<{
9441
9441
  createdAt: drizzle_orm_pg_core893.PgColumn<{
9442
9442
  name: "created_at";
9443
9443
  tableName: "evaluation_run_config";
@@ -9621,30 +9621,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
9621
9621
  }>, z.core.$strip>;
9622
9622
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
9623
9623
  name: z.ZodString;
9624
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9625
9624
  createdAt: z.ZodOptional<z.ZodString>;
9626
9625
  updatedAt: z.ZodOptional<z.ZodString>;
9626
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9627
9627
  isActive: z.ZodOptional<z.ZodBoolean>;
9628
9628
  suiteConfigIds: z.ZodArray<z.ZodString>;
9629
9629
  }, z.core.$strip>;
9630
9630
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
9631
9631
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9632
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9633
9632
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9634
9633
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9634
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9635
9635
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
9636
9636
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
9637
9637
  }, z.core.$strip>;
9638
9638
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
9639
- name: z.ZodString;
9640
9639
  id: z.ZodString;
9641
- description: z.ZodNullable<z.ZodString>;
9640
+ name: z.ZodString;
9642
9641
  createdAt: z.ZodString;
9643
9642
  updatedAt: z.ZodString;
9643
+ description: z.ZodNullable<z.ZodString>;
9644
9644
  isActive: z.ZodBoolean;
9645
9645
  suiteConfigIds: z.ZodArray<z.ZodString>;
9646
9646
  }, z.core.$strip>;
9647
- declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9647
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9648
9648
  createdAt: drizzle_orm_pg_core893.PgColumn<{
9649
9649
  name: "created_at";
9650
9650
  tableName: "evaluation_job_config";
@@ -9769,7 +9769,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
9769
9769
  }, {}, {
9770
9770
  length: 256;
9771
9771
  }>;
9772
- }, drizzle_zod15.BuildRefine<{
9772
+ }, drizzle_zod19.BuildRefine<{
9773
9773
  createdAt: drizzle_orm_pg_core893.PgColumn<{
9774
9774
  name: "created_at";
9775
9775
  tableName: "evaluation_job_config";
@@ -10076,7 +10076,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10076
10076
  } | undefined;
10077
10077
  }>>>>>>>;
10078
10078
  }, z.core.$strip>;
10079
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10079
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10080
10080
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10081
10081
  name: "created_at";
10082
10082
  tableName: "evaluation_suite_config";
@@ -10204,7 +10204,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
10204
10204
  }, {}, {
10205
10205
  length: 256;
10206
10206
  }>;
10207
- }, drizzle_zod15.BuildRefine<{
10207
+ }, drizzle_zod19.BuildRefine<{
10208
10208
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10209
10209
  name: "created_at";
10210
10210
  tableName: "evaluation_suite_config";
@@ -10380,7 +10380,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
10380
10380
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
10381
10381
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10382
10382
  }, z.core.$strip>;
10383
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
10383
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10384
10384
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10385
10385
  name: "created_at";
10386
10386
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -10510,7 +10510,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
10510
10510
  }, {}, {
10511
10511
  length: 256;
10512
10512
  }>;
10513
- }, drizzle_zod15.BuildRefine<{
10513
+ }, drizzle_zod19.BuildRefine<{
10514
10514
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10515
10515
  name: "created_at";
10516
10516
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -10686,7 +10686,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
10686
10686
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10687
10687
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10688
10688
  }, z.core.$strip>;
10689
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
10689
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10690
10690
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10691
10691
  name: "created_at";
10692
10692
  tableName: "evaluation_job_config_evaluator_relations";
@@ -10816,7 +10816,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.Bu
10816
10816
  }, {}, {
10817
10817
  length: 256;
10818
10818
  }>;
10819
- }, drizzle_zod15.BuildRefine<{
10819
+ }, drizzle_zod19.BuildRefine<{
10820
10820
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10821
10821
  name: "created_at";
10822
10822
  tableName: "evaluation_job_config_evaluator_relations";
@@ -10992,7 +10992,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
10992
10992
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10993
10993
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10994
10994
  }, z.core.$strip>;
10995
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
10995
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10996
10996
  createdAt: drizzle_orm_pg_core893.PgColumn<{
10997
10997
  name: "created_at";
10998
10998
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11122,7 +11122,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.
11122
11122
  }, {}, {
11123
11123
  length: 256;
11124
11124
  }>;
11125
- }, drizzle_zod15.BuildRefine<{
11125
+ }, drizzle_zod19.BuildRefine<{
11126
11126
  createdAt: drizzle_orm_pg_core893.PgColumn<{
11127
11127
  name: "created_at";
11128
11128
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11298,7 +11298,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
11298
11298
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11299
11299
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11300
11300
  }, z.core.$strip>;
11301
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11301
+ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
11302
11302
  createdAt: drizzle_orm_pg_core893.PgColumn<{
11303
11303
  name: "created_at";
11304
11304
  tableName: "evaluator";
@@ -11506,7 +11506,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11506
11506
  }, {}, {
11507
11507
  length: 256;
11508
11508
  }>;
11509
- }, drizzle_zod15.BuildRefine<{
11509
+ }, drizzle_zod19.BuildRefine<{
11510
11510
  createdAt: drizzle_orm_pg_core893.PgColumn<{
11511
11511
  name: "created_at";
11512
11512
  tableName: "evaluator";
@@ -11798,6 +11798,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
11798
11798
  }>, z.core.$strip>;
11799
11799
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
11800
11800
  name: z.ZodString;
11801
+ createdAt: z.ZodOptional<z.ZodString>;
11802
+ updatedAt: z.ZodOptional<z.ZodString>;
11803
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
11801
11804
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11802
11805
  model: z.ZodType<{
11803
11806
  model?: string | undefined;
@@ -11812,14 +11815,14 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
11812
11815
  model?: string | undefined;
11813
11816
  providerOptions?: Record<string, unknown> | undefined;
11814
11817
  }>>;
11815
- createdAt: z.ZodOptional<z.ZodString>;
11816
- updatedAt: z.ZodOptional<z.ZodString>;
11817
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
11818
11818
  prompt: z.ZodString;
11819
11819
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
11820
11820
  }, z.core.$strip>;
11821
11821
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
11822
11822
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11823
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11824
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11825
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
11823
11826
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11824
11827
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
11825
11828
  model?: string | undefined;
@@ -11834,13 +11837,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
11834
11837
  model?: string | undefined;
11835
11838
  providerOptions?: Record<string, unknown> | undefined;
11836
11839
  }>>>>;
11837
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11838
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11839
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
11840
11840
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11841
11841
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
11842
11842
  }, z.core.$strip>;
11843
- declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
11843
+ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
11844
11844
  createdAt: drizzle_orm_pg_core893.PgColumn<{
11845
11845
  name: "created_at";
11846
11846
  tableName: "dataset";
@@ -11951,7 +11951,7 @@ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
11951
11951
  }, {}, {
11952
11952
  length: 256;
11953
11953
  }>;
11954
- }, drizzle_zod15.BuildRefine<{
11954
+ }, drizzle_zod19.BuildRefine<{
11955
11955
  createdAt: drizzle_orm_pg_core893.PgColumn<{
11956
11956
  name: "created_at";
11957
11957
  tableName: "dataset";
@@ -12103,7 +12103,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12103
12103
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12104
12104
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12105
12105
  }, z.core.$strip>;
12106
- declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12106
+ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12107
12107
  createdAt: drizzle_orm_pg_core893.PgColumn<{
12108
12108
  name: "created_at";
12109
12109
  tableName: "dataset_item";
@@ -12291,7 +12291,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12291
12291
  }, {}, {
12292
12292
  length: 256;
12293
12293
  }>;
12294
- }, drizzle_zod15.BuildRefine<{
12294
+ }, drizzle_zod19.BuildRefine<{
12295
12295
  createdAt: drizzle_orm_pg_core893.PgColumn<{
12296
12296
  name: "created_at";
12297
12297
  tableName: "dataset_item";
@@ -12640,9 +12640,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
12640
12640
  id: z.ZodString;
12641
12641
  }>, z.core.$strip>;
12642
12642
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
12643
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12644
12643
  createdAt: z.ZodOptional<z.ZodString>;
12645
12644
  updatedAt: z.ZodOptional<z.ZodString>;
12645
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12646
12646
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12647
12647
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
12648
12648
  prompt: string;
@@ -12687,9 +12687,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
12687
12687
  }>>>>;
12688
12688
  }, z.core.$strip>;
12689
12689
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
12690
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12691
12690
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12692
12691
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12692
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12693
12693
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
12694
12694
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
12695
12695
  prompt: string;
@@ -12734,8 +12734,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
12734
12734
  }>>>>>>;
12735
12735
  }, z.core.$strip>;
12736
12736
  declare const DatasetRunItemSchema: z.ZodObject<{
12737
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12738
12737
  id: z.ZodOptional<z.ZodString>;
12738
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12739
12739
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12740
12740
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
12741
12741
  prompt: string;
@@ -12783,8 +12783,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
12783
12783
  declare const TriggerDatasetRunSchema: z.ZodObject<{
12784
12784
  datasetRunId: z.ZodString;
12785
12785
  items: z.ZodArray<z.ZodObject<{
12786
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12787
12786
  id: z.ZodOptional<z.ZodString>;
12787
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12788
12788
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12789
12789
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
12790
12790
  prompt: string;
@@ -12862,7 +12862,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
12862
12862
  }, z.core.$strip>>;
12863
12863
  }, z.core.$strip>>>;
12864
12864
  }, z.core.$strip>;
12865
- declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12865
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12866
12866
  createdAt: drizzle_orm_pg_core893.PgColumn<{
12867
12867
  name: "created_at";
12868
12868
  tableName: "dataset_run_config";
@@ -13009,7 +13009,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select",
13009
13009
  }, {}, {
13010
13010
  length: 256;
13011
13011
  }>;
13012
- }, drizzle_zod15.BuildRefine<{
13012
+ }, drizzle_zod19.BuildRefine<{
13013
13013
  createdAt: drizzle_orm_pg_core893.PgColumn<{
13014
13014
  name: "created_at";
13015
13015
  tableName: "dataset_run_config";
@@ -13195,19 +13195,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13195
13195
  }>, z.core.$strip>;
13196
13196
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13197
13197
  name: z.ZodString;
13198
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13199
13198
  createdAt: z.ZodOptional<z.ZodString>;
13200
13199
  updatedAt: z.ZodOptional<z.ZodString>;
13200
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13201
13201
  datasetId: z.ZodString;
13202
13202
  }, z.core.$strip>;
13203
13203
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13204
13204
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13205
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13206
13205
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13207
13206
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13207
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13208
13208
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13209
13209
  }, z.core.$strip>;
13210
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13210
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13211
13211
  createdAt: drizzle_orm_pg_core893.PgColumn<{
13212
13212
  name: "created_at";
13213
13213
  tableName: "dataset_run_config_agent_relations";
@@ -13337,7 +13337,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSche
13337
13337
  }, {}, {
13338
13338
  length: 256;
13339
13339
  }>;
13340
- }, drizzle_zod15.BuildRefine<{
13340
+ }, drizzle_zod19.BuildRefine<{
13341
13341
  createdAt: drizzle_orm_pg_core893.PgColumn<{
13342
13342
  name: "created_at";
13343
13343
  tableName: "dataset_run_config_agent_relations";
@@ -13513,9 +13513,9 @@ declare const SkillSelectSchema: z.ZodObject<{
13513
13513
  }>;
13514
13514
  declare const SkillInsertSchema: z.ZodObject<{
13515
13515
  name: z.ZodString;
13516
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
13516
13517
  description: z.ZodString;
13517
13518
  tenantId: z.ZodString;
13518
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
13519
13519
  content: z.ZodString;
13520
13520
  projectId: z.ZodString;
13521
13521
  }, {
@@ -13523,9 +13523,9 @@ declare const SkillInsertSchema: z.ZodObject<{
13523
13523
  in: {};
13524
13524
  }>;
13525
13525
  declare const SkillUpdateSchema: z.ZodObject<{
13526
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
13526
13527
  description: z.ZodOptional<z.ZodString>;
13527
13528
  tenantId: z.ZodOptional<z.ZodString>;
13528
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
13529
13529
  content: z.ZodOptional<z.ZodString>;
13530
13530
  projectId: z.ZodOptional<z.ZodString>;
13531
13531
  }, {
@@ -13545,18 +13545,18 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
13545
13545
  }>, z.core.$strip>;
13546
13546
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
13547
13547
  name: z.ZodString;
13548
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
13548
13549
  description: z.ZodString;
13549
13550
  tenantId: z.ZodString;
13550
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
13551
13551
  content: z.ZodString;
13552
13552
  projectId: z.ZodString;
13553
13553
  }>, z.core.$strip>;
13554
13554
  declare const SkillApiUpdateSchema: z.ZodObject<{
13555
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13556
13555
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
13556
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13557
13557
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13558
13558
  }, z.core.$strip>;
13559
- declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13559
+ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
13560
13560
  createdAt: drizzle_orm_pg_core893.PgColumn<{
13561
13561
  name: "created_at";
13562
13562
  tableName: "data_components";
@@ -13742,7 +13742,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13742
13742
  }, {}, {
13743
13743
  length: 256;
13744
13744
  }>;
13745
- }, drizzle_zod15.BuildRefine<{
13745
+ }, drizzle_zod19.BuildRefine<{
13746
13746
  createdAt: drizzle_orm_pg_core893.PgColumn<{
13747
13747
  name: "created_at";
13748
13748
  tableName: "data_components";
@@ -13930,8 +13930,8 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
13930
13930
  }>;
13931
13931
  }, undefined>, undefined>;
13932
13932
  declare const DataComponentInsertSchema: z.ZodObject<{
13933
- name: z.ZodString;
13934
13933
  id: z.ZodString;
13934
+ name: z.ZodString;
13935
13935
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13936
13936
  tenantId: z.ZodString;
13937
13937
  projectId: z.ZodString;
@@ -13982,8 +13982,8 @@ declare const DataComponentInsertSchema: z.ZodObject<{
13982
13982
  in: {};
13983
13983
  }>;
13984
13984
  declare const DataComponentUpdateSchema: z.ZodObject<{
13985
- name: z.ZodOptional<z.ZodString>;
13986
13985
  id: z.ZodOptional<z.ZodString>;
13986
+ name: z.ZodOptional<z.ZodString>;
13987
13987
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13988
13988
  tenantId: z.ZodOptional<z.ZodString>;
13989
13989
  projectId: z.ZodOptional<z.ZodString>;
@@ -14134,7 +14134,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14134
14134
  description: z.ZodOptional<z.ZodString>;
14135
14135
  }, z.core.$loose>;
14136
14136
  }, z.core.$strip>;
14137
- declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14137
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14138
14138
  dataComponentId: drizzle_orm_pg_core893.PgColumn<{
14139
14139
  name: "data_component_id";
14140
14140
  tableName: "sub_agent_data_components";
@@ -14266,7 +14266,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
14266
14266
  }, {}, {
14267
14267
  length: 256;
14268
14268
  }>;
14269
- }, drizzle_zod15.BuildRefine<{
14269
+ }, drizzle_zod19.BuildRefine<{
14270
14270
  dataComponentId: drizzle_orm_pg_core893.PgColumn<{
14271
14271
  name: "data_component_id";
14272
14272
  tableName: "sub_agent_data_components";
@@ -14399,7 +14399,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
14399
14399
  length: 256;
14400
14400
  }>;
14401
14401
  }, undefined>, undefined>;
14402
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14402
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
14403
14403
  dataComponentId: drizzle_orm_pg_core893.PgColumn<{
14404
14404
  name: "data_component_id";
14405
14405
  tableName: "sub_agent_data_components";
@@ -14531,7 +14531,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
14531
14531
  }, {}, {
14532
14532
  length: 256;
14533
14533
  }>;
14534
- }, drizzle_zod15.BuildRefine<Pick<{
14534
+ }, drizzle_zod19.BuildRefine<Pick<{
14535
14535
  dataComponentId: drizzle_orm_pg_core893.PgColumn<{
14536
14536
  name: "data_component_id";
14537
14537
  tableName: "sub_agent_data_components";
@@ -14699,7 +14699,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
14699
14699
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14700
14700
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14701
14701
  }, z.core.$strip>;
14702
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14702
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14703
14703
  createdAt: drizzle_orm_pg_core893.PgColumn<{
14704
14704
  name: "created_at";
14705
14705
  tableName: "artifact_components";
@@ -14885,7 +14885,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
14885
14885
  }, {}, {
14886
14886
  length: 256;
14887
14887
  }>;
14888
- }, drizzle_zod15.BuildRefine<{
14888
+ }, drizzle_zod19.BuildRefine<{
14889
14889
  createdAt: drizzle_orm_pg_core893.PgColumn<{
14890
14890
  name: "created_at";
14891
14891
  tableName: "artifact_components";
@@ -15260,11 +15260,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15260
15260
  in: {};
15261
15261
  }>;
15262
15262
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15263
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15264
15263
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15265
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15264
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15266
15265
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15267
15266
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15267
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15268
15268
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15269
15269
  [x: string]: unknown;
15270
15270
  type: "object";
@@ -15308,7 +15308,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15308
15308
  mockData: Record<string, unknown>;
15309
15309
  }>>>>>>;
15310
15310
  }, z.core.$strip>;
15311
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15311
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15312
15312
  artifactComponentId: drizzle_orm_pg_core893.PgColumn<{
15313
15313
  name: "artifact_component_id";
15314
15314
  tableName: "sub_agent_artifact_components";
@@ -15440,7 +15440,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"
15440
15440
  }, {}, {
15441
15441
  length: 256;
15442
15442
  }>;
15443
- }, drizzle_zod15.BuildRefine<{
15443
+ }, drizzle_zod19.BuildRefine<{
15444
15444
  artifactComponentId: drizzle_orm_pg_core893.PgColumn<{
15445
15445
  name: "artifact_component_id";
15446
15446
  tableName: "sub_agent_artifact_components";
@@ -15697,12 +15697,12 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
15697
15697
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
15698
15698
  }, z.core.$strip>;
15699
15699
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
15700
- name: z.ZodString;
15701
15700
  id: z.ZodString;
15702
- description: z.ZodString;
15701
+ name: z.ZodString;
15703
15702
  createdAt: z.ZodString;
15704
15703
  updatedAt: z.ZodString;
15705
15704
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
15705
+ description: z.ZodString;
15706
15706
  content: z.ZodString;
15707
15707
  subAgentSkillId: z.ZodString;
15708
15708
  subAgentId: z.ZodString;
@@ -15724,25 +15724,25 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
15724
15724
  in: {};
15725
15725
  }>;
15726
15726
  declare const ExternalAgentInsertSchema: z.ZodObject<{
15727
- name: z.ZodString;
15728
15727
  id: z.ZodString;
15728
+ name: z.ZodString;
15729
15729
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15730
15730
  tenantId: z.ZodString;
15731
15731
  projectId: z.ZodString;
15732
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15733
15732
  baseUrl: z.ZodURL;
15733
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15734
15734
  }, {
15735
15735
  out: {};
15736
15736
  in: {};
15737
15737
  }>;
15738
15738
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
15739
- name: z.ZodOptional<z.ZodString>;
15740
15739
  id: z.ZodOptional<z.ZodString>;
15740
+ name: z.ZodOptional<z.ZodString>;
15741
15741
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15742
15742
  tenantId: z.ZodOptional<z.ZodString>;
15743
15743
  projectId: z.ZodOptional<z.ZodString>;
15744
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15745
15744
  baseUrl: z.ZodOptional<z.ZodURL>;
15745
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15746
15746
  }, {
15747
15747
  out: {};
15748
15748
  in: {};
@@ -15759,24 +15759,26 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
15759
15759
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15760
15760
  }>, z.core.$strip>;
15761
15761
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
15762
- name: z.ZodString;
15763
15762
  id: z.ZodString;
15763
+ name: z.ZodString;
15764
15764
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15765
15765
  tenantId: z.ZodString;
15766
15766
  projectId: z.ZodString;
15767
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15768
15767
  baseUrl: z.ZodURL;
15768
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15769
15769
  }>, z.core.$strip>;
15770
15770
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
15771
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15772
15771
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15772
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15773
15773
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15774
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15775
15774
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
15775
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15776
15776
  }, z.core.$strip>;
15777
15777
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15778
- name: z.ZodString;
15779
15778
  id: z.ZodString;
15779
+ name: z.ZodString;
15780
+ createdAt: z.ZodString;
15781
+ updatedAt: z.ZodString;
15780
15782
  description: z.ZodNullable<z.ZodString>;
15781
15783
  models: z.ZodNullable<z.ZodType<{
15782
15784
  base?: {
@@ -15840,22 +15842,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15840
15842
  }, {
15841
15843
  stepCountIs?: number | undefined;
15842
15844
  }>>>;
15843
- createdAt: z.ZodString;
15844
- updatedAt: z.ZodString;
15845
15845
  prompt: z.ZodNullable<z.ZodString>;
15846
15846
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15847
15847
  type: z.ZodLiteral<"internal">;
15848
15848
  }, z.core.$strip>, z.ZodObject<{
15849
- name: z.ZodString;
15850
15849
  id: z.ZodString;
15851
- description: z.ZodNullable<z.ZodString>;
15850
+ name: z.ZodString;
15852
15851
  createdAt: z.ZodString;
15853
15852
  updatedAt: z.ZodString;
15854
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15853
+ description: z.ZodNullable<z.ZodString>;
15855
15854
  baseUrl: z.ZodString;
15855
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15856
15856
  type: z.ZodLiteral<"external">;
15857
15857
  }, z.core.$strip>], "type">;
15858
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
15858
+ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
15859
15859
  createdAt: drizzle_orm_pg_core893.PgColumn<{
15860
15860
  name: "created_at";
15861
15861
  tableName: "api_keys";
@@ -16076,7 +16076,7 @@ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16076
16076
  }, {}, {
16077
16077
  length: 256;
16078
16078
  }>;
16079
- }, drizzle_zod15.BuildRefine<{
16079
+ }, drizzle_zod19.BuildRefine<{
16080
16080
  createdAt: drizzle_orm_pg_core893.PgColumn<{
16081
16081
  name: "created_at";
16082
16082
  tableName: "api_keys";
@@ -16318,19 +16318,19 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16318
16318
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16319
16319
  name: z.ZodOptional<z.ZodString>;
16320
16320
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16321
- agentId: z.ZodOptional<z.ZodString>;
16322
16321
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16322
+ agentId: z.ZodOptional<z.ZodString>;
16323
16323
  }, {
16324
16324
  out: {};
16325
16325
  in: {};
16326
16326
  }>;
16327
16327
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16328
- name: z.ZodNullable<z.ZodString>;
16329
16328
  id: z.ZodString;
16329
+ name: z.ZodNullable<z.ZodString>;
16330
16330
  createdAt: z.ZodString;
16331
16331
  updatedAt: z.ZodString;
16332
- agentId: z.ZodString;
16333
16332
  expiresAt: z.ZodNullable<z.ZodString>;
16333
+ agentId: z.ZodString;
16334
16334
  publicId: z.ZodString;
16335
16335
  keyPrefix: z.ZodString;
16336
16336
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -16341,12 +16341,12 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
16341
16341
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16342
16342
  data: z.ZodObject<{
16343
16343
  apiKey: z.ZodObject<{
16344
- name: z.ZodNullable<z.ZodString>;
16345
16344
  id: z.ZodString;
16345
+ name: z.ZodNullable<z.ZodString>;
16346
16346
  createdAt: z.ZodString;
16347
16347
  updatedAt: z.ZodString;
16348
- agentId: z.ZodString;
16349
16348
  expiresAt: z.ZodNullable<z.ZodString>;
16349
+ agentId: z.ZodString;
16350
16350
  publicId: z.ZodString;
16351
16351
  keyPrefix: z.ZodString;
16352
16352
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -16361,8 +16361,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
16361
16361
  name: z.ZodString;
16362
16362
  createdAt: z.ZodOptional<z.ZodString>;
16363
16363
  updatedAt: z.ZodOptional<z.ZodString>;
16364
- agentId: z.ZodString;
16365
16364
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16365
+ agentId: z.ZodString;
16366
16366
  }, {
16367
16367
  out: {};
16368
16368
  in: {};
@@ -16370,8 +16370,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
16370
16370
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16371
16371
  name: z.ZodOptional<z.ZodString>;
16372
16372
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16373
- agentId: z.ZodOptional<z.ZodString>;
16374
16373
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16374
+ agentId: z.ZodOptional<z.ZodString>;
16375
16375
  }, {
16376
16376
  out: {};
16377
16377
  in: {};
@@ -16574,7 +16574,7 @@ declare const AppConfigResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16574
16574
  type: z.ZodLiteral<"api">;
16575
16575
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
16576
16576
  }, z.core.$strip>], "type">;
16577
- declare const AppSelectSchema: drizzle_zod15.BuildSchema<"select", {
16577
+ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
16578
16578
  createdAt: drizzle_orm_pg_core893.PgColumn<{
16579
16579
  name: "created_at";
16580
16580
  tableName: "apps";
@@ -16868,7 +16868,7 @@ declare const AppSelectSchema: drizzle_zod15.BuildSchema<"select", {
16868
16868
  identity: undefined;
16869
16869
  generated: undefined;
16870
16870
  }, {}, {}>;
16871
- }, drizzle_zod15.BuildRefine<{
16871
+ }, drizzle_zod19.BuildRefine<{
16872
16872
  createdAt: drizzle_orm_pg_core893.PgColumn<{
16873
16873
  name: "created_at";
16874
16874
  tableName: "apps";
@@ -17214,10 +17214,12 @@ declare const AppInsertSchema: z.ZodObject<{
17214
17214
  }>;
17215
17215
  declare const AppUpdateSchema: z.ZodObject<{
17216
17216
  name: z.ZodOptional<z.ZodString>;
17217
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17218
17217
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17218
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17219
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17219
17220
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17220
17221
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17222
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17221
17223
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17222
17224
  type: z.ZodLiteral<"web_client">;
17223
17225
  webClient: z.ZodObject<{
@@ -17246,8 +17248,6 @@ declare const AppUpdateSchema: z.ZodObject<{
17246
17248
  type: z.ZodLiteral<"api">;
17247
17249
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17248
17250
  }, z.core.$strip>], "type">>;
17249
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17250
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17251
17251
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17252
17252
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17253
17253
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -17255,7 +17255,7 @@ declare const AppUpdateSchema: z.ZodObject<{
17255
17255
  out: {};
17256
17256
  in: {};
17257
17257
  }>;
17258
- declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
17258
+ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
17259
17259
  createdAt: drizzle_orm_pg_core893.PgColumn<{
17260
17260
  name: "created_at";
17261
17261
  tableName: "apps";
@@ -17549,7 +17549,7 @@ declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
17549
17549
  identity: undefined;
17550
17550
  generated: undefined;
17551
17551
  }, {}, {}>;
17552
- }, drizzle_zod15.BuildRefine<{
17552
+ }, drizzle_zod19.BuildRefine<{
17553
17553
  createdAt: drizzle_orm_pg_core893.PgColumn<{
17554
17554
  name: "created_at";
17555
17555
  tableName: "apps";
@@ -17845,15 +17845,15 @@ declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
17845
17845
  }, {}, {}>;
17846
17846
  }, undefined>, undefined>;
17847
17847
  declare const AppApiResponseSelectSchema: z.ZodObject<{
17848
- name: z.ZodString;
17849
- type: z.ZodString;
17850
17848
  id: z.ZodString;
17851
- description: z.ZodNullable<z.ZodString>;
17849
+ name: z.ZodString;
17852
17850
  createdAt: z.ZodString;
17853
17851
  updatedAt: z.ZodString;
17852
+ description: z.ZodNullable<z.ZodString>;
17853
+ enabled: z.ZodBoolean;
17854
+ type: z.ZodString;
17854
17855
  tenantId: z.ZodNullable<z.ZodString>;
17855
17856
  projectId: z.ZodNullable<z.ZodString>;
17856
- enabled: z.ZodBoolean;
17857
17857
  prompt: z.ZodNullable<z.ZodString>;
17858
17858
  lastUsedAt: z.ZodNullable<z.ZodString>;
17859
17859
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -17892,15 +17892,17 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
17892
17892
  }>;
17893
17893
  declare const AppApiInsertSchema: z.ZodObject<{
17894
17894
  name: z.ZodString;
17895
+ createdAt: z.ZodOptional<z.ZodString>;
17896
+ updatedAt: z.ZodOptional<z.ZodString>;
17897
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17898
+ enabled: z.ZodOptional<z.ZodBoolean>;
17895
17899
  type: z.ZodEnum<{
17896
17900
  web_client: "web_client";
17897
17901
  api: "api";
17898
17902
  }>;
17899
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17900
- createdAt: z.ZodOptional<z.ZodString>;
17901
- updatedAt: z.ZodOptional<z.ZodString>;
17902
17903
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17903
17904
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17905
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17904
17906
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
17905
17907
  type: z.ZodLiteral<"web_client">;
17906
17908
  webClient: z.ZodObject<{
@@ -17929,8 +17931,6 @@ declare const AppApiInsertSchema: z.ZodObject<{
17929
17931
  type: z.ZodLiteral<"api">;
17930
17932
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17931
17933
  }, z.core.$strip>], "type">;
17932
- enabled: z.ZodOptional<z.ZodBoolean>;
17933
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17934
17934
  defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17935
17935
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17936
17936
  }, {
@@ -17939,10 +17939,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
17939
17939
  }>;
17940
17940
  declare const AppApiUpdateSchema: z.ZodObject<{
17941
17941
  name: z.ZodOptional<z.ZodString>;
17942
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17943
17942
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17943
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17944
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17944
17945
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17945
17946
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17947
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17946
17948
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17947
17949
  type: z.ZodLiteral<"web_client">;
17948
17950
  webClient: z.ZodObject<{
@@ -17971,8 +17973,6 @@ declare const AppApiUpdateSchema: z.ZodObject<{
17971
17973
  type: z.ZodLiteral<"api">;
17972
17974
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17973
17975
  }, z.core.$strip>], "type">>;
17974
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17975
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17976
17976
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17977
17977
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17978
17978
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -17983,15 +17983,15 @@ declare const AppApiUpdateSchema: z.ZodObject<{
17983
17983
  declare const AppApiCreationResponseSchema: z.ZodObject<{
17984
17984
  data: z.ZodObject<{
17985
17985
  app: z.ZodObject<{
17986
- name: z.ZodString;
17987
- type: z.ZodString;
17988
17986
  id: z.ZodString;
17989
- description: z.ZodNullable<z.ZodString>;
17987
+ name: z.ZodString;
17990
17988
  createdAt: z.ZodString;
17991
17989
  updatedAt: z.ZodString;
17990
+ description: z.ZodNullable<z.ZodString>;
17991
+ enabled: z.ZodBoolean;
17992
+ type: z.ZodString;
17992
17993
  tenantId: z.ZodNullable<z.ZodString>;
17993
17994
  projectId: z.ZodNullable<z.ZodString>;
17994
- enabled: z.ZodBoolean;
17995
17995
  prompt: z.ZodNullable<z.ZodString>;
17996
17996
  lastUsedAt: z.ZodNullable<z.ZodString>;
17997
17997
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18030,7 +18030,7 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
18030
18030
  }>;
18031
18031
  }, z.core.$strip>;
18032
18032
  }, z.core.$strip>;
18033
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
18033
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
18034
18034
  createdAt: drizzle_orm_pg_core893.PgColumn<{
18035
18035
  name: "created_at";
18036
18036
  tableName: "credential_references";
@@ -18255,7 +18255,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
18255
18255
  }, {}, {
18256
18256
  length: 256;
18257
18257
  }>;
18258
- }, drizzle_zod15.BuildRefine<{
18258
+ }, drizzle_zod19.BuildRefine<{
18259
18259
  createdAt: drizzle_orm_pg_core893.PgColumn<{
18260
18260
  name: "created_at";
18261
18261
  tableName: "credential_references";
@@ -18482,52 +18482,52 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
18482
18482
  }>;
18483
18483
  }, undefined>, undefined>;
18484
18484
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18485
+ id: z.ZodString;
18485
18486
  name: z.ZodString;
18487
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18486
18488
  type: z.ZodString;
18487
- id: z.ZodString;
18488
18489
  tenantId: z.ZodString;
18490
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18489
18491
  projectId: z.ZodString;
18490
18492
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18491
18493
  credentialStoreId: z.ZodString;
18492
18494
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18493
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18494
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18495
18495
  }, {
18496
18496
  out: {};
18497
18497
  in: {};
18498
18498
  }>;
18499
18499
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18500
+ id: z.ZodOptional<z.ZodString>;
18500
18501
  name: z.ZodOptional<z.ZodString>;
18502
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18501
18503
  type: z.ZodOptional<z.ZodString>;
18502
- id: z.ZodOptional<z.ZodString>;
18503
18504
  tenantId: z.ZodOptional<z.ZodString>;
18505
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18504
18506
  projectId: z.ZodOptional<z.ZodString>;
18505
18507
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18506
18508
  credentialStoreId: z.ZodOptional<z.ZodString>;
18507
18509
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18508
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18509
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18510
18510
  }, {
18511
18511
  out: {};
18512
18512
  in: {};
18513
18513
  }>;
18514
18514
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18515
- name: z.ZodString;
18516
18515
  id: z.ZodString;
18516
+ name: z.ZodString;
18517
18517
  createdAt: z.ZodString;
18518
18518
  updatedAt: z.ZodString;
18519
+ userId: z.ZodNullable<z.ZodString>;
18520
+ createdBy: z.ZodNullable<z.ZodString>;
18519
18521
  toolId: z.ZodNullable<z.ZodString>;
18520
18522
  credentialStoreId: z.ZodString;
18521
18523
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
18522
- userId: z.ZodNullable<z.ZodString>;
18523
- createdBy: z.ZodNullable<z.ZodString>;
18524
18524
  type: z.ZodEnum<{
18525
18525
  readonly memory: "memory";
18526
18526
  readonly keychain: "keychain";
18527
18527
  readonly nango: "nango";
18528
18528
  readonly composio: "composio";
18529
18529
  }>;
18530
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
18530
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
18531
18531
  createdAt: drizzle_orm_pg_core893.PgColumn<{
18532
18532
  name: "created_at";
18533
18533
  tableName: "tools";
@@ -18807,7 +18807,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18807
18807
  }, {}, {
18808
18808
  length: 256;
18809
18809
  }>;
18810
- }, drizzle_zod15.BuildRefine<{
18810
+ }, drizzle_zod19.BuildRefine<{
18811
18811
  createdAt: drizzle_orm_pg_core893.PgColumn<{
18812
18812
  name: "created_at";
18813
18813
  tableName: "tools";
@@ -19104,13 +19104,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19104
19104
  }>>>;
19105
19105
  }, z.core.$strip>;
19106
19106
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19107
- name: z.ZodString;
19108
19107
  id: z.ZodString;
19108
+ name: z.ZodString;
19109
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19110
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19109
19111
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19110
19112
  credentialStoreId: z.ZodString;
19111
19113
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19112
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19113
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19114
19114
  type: z.ZodEnum<{
19115
19115
  readonly memory: "memory";
19116
19116
  readonly keychain: "keychain";
@@ -19119,13 +19119,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19119
19119
  }>;
19120
19120
  }, z.core.$strip>;
19121
19121
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19122
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19123
19122
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19123
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19124
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19125
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19124
19126
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19125
19127
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19126
19128
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19127
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19128
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19129
19129
  type: z.ZodOptional<z.ZodEnum<{
19130
19130
  readonly memory: "memory";
19131
19131
  readonly keychain: "keychain";
@@ -19190,11 +19190,13 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
19190
19190
  error_description: z.ZodOptional<z.ZodString>;
19191
19191
  }, z.core.$strip>;
19192
19192
  declare const McpToolSchema: z.ZodObject<{
19193
- name: z.ZodString;
19194
19193
  id: z.ZodString;
19194
+ name: z.ZodString;
19195
19195
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19196
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19196
19197
  tenantId: z.ZodString;
19197
19198
  projectId: z.ZodString;
19199
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19198
19200
  config: z.ZodObject<{
19199
19201
  type: z.ZodLiteral<"mcp">;
19200
19202
  mcp: z.ZodObject<{
@@ -19221,9 +19223,7 @@ declare const McpToolSchema: z.ZodObject<{
19221
19223
  prompt: z.ZodOptional<z.ZodString>;
19222
19224
  }, z.core.$strip>;
19223
19225
  }, z.core.$strip>;
19224
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19225
19226
  credentialScope: z.ZodOptional<z.ZodString>;
19226
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19227
19227
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19228
19228
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19229
19229
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -19249,16 +19249,16 @@ declare const McpToolSchema: z.ZodObject<{
19249
19249
  in: {};
19250
19250
  }>;
19251
19251
  declare const MCPToolConfigSchema: z.ZodObject<{
19252
- name: z.ZodString;
19253
19252
  id: z.ZodString;
19254
- credentialScope: z.ZodOptional<z.ZodString>;
19253
+ name: z.ZodString;
19254
+ expiresAt: z.ZodOptional<z.ZodString>;
19255
19255
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19256
+ createdBy: z.ZodOptional<z.ZodString>;
19257
+ credentialScope: z.ZodOptional<z.ZodString>;
19256
19258
  imageUrl: z.ZodOptional<z.ZodString>;
19257
19259
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19258
19260
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19259
19261
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19260
- createdBy: z.ZodOptional<z.ZodString>;
19261
- expiresAt: z.ZodOptional<z.ZodString>;
19262
19262
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19263
19263
  name: z.ZodString;
19264
19264
  description: z.ZodOptional<z.ZodString>;
@@ -19285,13 +19285,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19285
19285
  sessionId: z.ZodOptional<z.ZodString>;
19286
19286
  }, z.core.$strip>>;
19287
19287
  credential: z.ZodOptional<z.ZodObject<{
19288
- name: z.ZodString;
19289
19288
  id: z.ZodString;
19289
+ name: z.ZodString;
19290
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19291
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19290
19292
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19291
19293
  credentialStoreId: z.ZodString;
19292
19294
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19293
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19294
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19295
19295
  type: z.ZodEnum<{
19296
19296
  readonly memory: "memory";
19297
19297
  readonly keychain: "keychain";
@@ -19311,11 +19311,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19311
19311
  in: {};
19312
19312
  }>;
19313
19313
  declare const ToolUpdateSchema: z.ZodObject<{
19314
- name: z.ZodOptional<z.ZodString>;
19315
19314
  id: z.ZodOptional<z.ZodString>;
19315
+ name: z.ZodOptional<z.ZodString>;
19316
19316
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19317
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19317
19318
  tenantId: z.ZodOptional<z.ZodString>;
19318
19319
  projectId: z.ZodOptional<z.ZodString>;
19320
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19319
19321
  config: z.ZodOptional<z.ZodObject<{
19320
19322
  type: z.ZodLiteral<"mcp">;
19321
19323
  mcp: z.ZodObject<{
@@ -19342,9 +19344,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
19342
19344
  prompt: z.ZodOptional<z.ZodString>;
19343
19345
  }, z.core.$strip>;
19344
19346
  }, z.core.$strip>>;
19345
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19346
19347
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19347
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19348
19348
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19349
19349
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
19350
19350
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -19383,11 +19383,13 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
19383
19383
  id: z.ZodString;
19384
19384
  }>, z.core.$strip>;
19385
19385
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
19386
- name: z.ZodString;
19387
19386
  id: z.ZodString;
19387
+ name: z.ZodString;
19388
19388
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19389
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19389
19390
  tenantId: z.ZodString;
19390
19391
  projectId: z.ZodString;
19392
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19391
19393
  config: z.ZodObject<{
19392
19394
  type: z.ZodLiteral<"mcp">;
19393
19395
  mcp: z.ZodObject<{
@@ -19414,18 +19416,18 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
19414
19416
  prompt: z.ZodOptional<z.ZodString>;
19415
19417
  }, z.core.$strip>;
19416
19418
  }, z.core.$strip>;
19417
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19418
19419
  credentialScope: z.ZodOptional<z.ZodString>;
19419
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19420
19420
  imageUrl: z.ZodOptional<z.ZodString>;
19421
19421
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19422
19422
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19423
19423
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19424
19424
  }>, z.core.$strip>;
19425
19425
  declare const ToolApiUpdateSchema: z.ZodObject<{
19426
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19427
19426
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19427
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19428
19428
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19429
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19430
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19429
19431
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
19430
19432
  type: z.ZodLiteral<"mcp">;
19431
19433
  mcp: z.ZodObject<{
@@ -19452,15 +19454,13 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19452
19454
  prompt: z.ZodOptional<z.ZodString>;
19453
19455
  }, z.core.$strip>;
19454
19456
  }, z.core.$strip>>>;
19455
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19456
19457
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19457
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19458
19458
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19459
19459
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
19460
19460
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19461
19461
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
19462
19462
  }, z.core.$strip>;
19463
- declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
19463
+ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
19464
19464
  createdAt: drizzle_orm_pg_core893.PgColumn<{
19465
19465
  name: "created_at";
19466
19466
  tableName: "function_tools";
@@ -19626,7 +19626,7 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
19626
19626
  }, {}, {
19627
19627
  length: 256;
19628
19628
  }>;
19629
- }, drizzle_zod15.BuildRefine<{
19629
+ }, drizzle_zod19.BuildRefine<{
19630
19630
  createdAt: drizzle_orm_pg_core893.PgColumn<{
19631
19631
  name: "created_at";
19632
19632
  tableName: "function_tools";
@@ -19794,8 +19794,8 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
19794
19794
  }>;
19795
19795
  }, undefined>, undefined>;
19796
19796
  declare const FunctionToolInsertSchema: z.ZodObject<{
19797
- name: z.ZodString;
19798
19797
  id: z.ZodString;
19798
+ name: z.ZodString;
19799
19799
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19800
19800
  tenantId: z.ZodString;
19801
19801
  projectId: z.ZodString;
@@ -19806,8 +19806,8 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
19806
19806
  in: {};
19807
19807
  }>;
19808
19808
  declare const FunctionToolUpdateSchema: z.ZodObject<{
19809
- name: z.ZodOptional<z.ZodString>;
19810
19809
  id: z.ZodOptional<z.ZodString>;
19810
+ name: z.ZodOptional<z.ZodString>;
19811
19811
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19812
19812
  tenantId: z.ZodOptional<z.ZodString>;
19813
19813
  projectId: z.ZodOptional<z.ZodString>;
@@ -19818,18 +19818,18 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
19818
19818
  in: {};
19819
19819
  }>;
19820
19820
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
19821
- name: z.ZodString;
19822
19821
  id: z.ZodString;
19823
- description: z.ZodNullable<z.ZodString>;
19822
+ name: z.ZodString;
19824
19823
  createdAt: z.ZodString;
19825
19824
  updatedAt: z.ZodString;
19825
+ description: z.ZodNullable<z.ZodString>;
19826
19826
  agentId: z.ZodString;
19827
19827
  functionId: z.ZodString;
19828
19828
  relationshipId: z.ZodOptional<z.ZodString>;
19829
19829
  }, z.core.$strip>;
19830
19830
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
19831
- name: z.ZodString;
19832
19831
  id: z.ZodString;
19832
+ name: z.ZodString;
19833
19833
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19834
19834
  tenantId: z.ZodString;
19835
19835
  projectId: z.ZodString;
@@ -19837,13 +19837,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
19837
19837
  functionId: z.ZodString;
19838
19838
  }>, z.core.$strip>;
19839
19839
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
19840
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19841
19840
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19841
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19842
19842
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19843
19843
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19844
19844
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19845
19845
  }, z.core.$strip>;
19846
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19846
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19847
19847
  createdAt: drizzle_orm_pg_core893.PgColumn<{
19848
19848
  name: "created_at";
19849
19849
  tableName: "sub_agent_function_tool_relations";
@@ -20015,7 +20015,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
20015
20015
  }, {}, {
20016
20016
  length: 256;
20017
20017
  }>;
20018
- }, drizzle_zod15.BuildRefine<{
20018
+ }, drizzle_zod19.BuildRefine<{
20019
20019
  createdAt: drizzle_orm_pg_core893.PgColumn<{
20020
20020
  name: "created_at";
20021
20021
  tableName: "sub_agent_function_tool_relations";
@@ -20191,7 +20191,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
20191
20191
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
20192
20192
  createdAt: z.ZodOptional<z.ZodString>;
20193
20193
  updatedAt: z.ZodOptional<z.ZodString>;
20194
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
20194
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20195
20195
  agentId: z.ZodString;
20196
20196
  projectId: z.ZodString;
20197
20197
  tenantId: z.ZodString;
@@ -20206,7 +20206,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
20206
20206
  createdAt: z.ZodString;
20207
20207
  updatedAt: z.ZodString;
20208
20208
  functionToolId: z.ZodString;
20209
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20209
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20210
20210
  subAgentId: z.ZodString;
20211
20211
  agentId: z.ZodString;
20212
20212
  projectId: z.ZodString;
@@ -20215,13 +20215,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
20215
20215
  }>, z.core.$strip>;
20216
20216
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20217
20217
  subAgentId: z.ZodString;
20218
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
20218
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20219
20219
  functionToolId: z.ZodString;
20220
20220
  }, {
20221
20221
  out: {};
20222
20222
  in: {};
20223
20223
  }>;
20224
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20224
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
20225
20225
  createdAt: drizzle_orm_pg_core893.PgColumn<{
20226
20226
  name: "created_at";
20227
20227
  tableName: "functions";
@@ -20368,7 +20368,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20368
20368
  }, {}, {
20369
20369
  length: 256;
20370
20370
  }>;
20371
- }, drizzle_zod15.BuildRefine<{
20371
+ }, drizzle_zod19.BuildRefine<{
20372
20372
  createdAt: drizzle_orm_pg_core893.PgColumn<{
20373
20373
  name: "created_at";
20374
20374
  tableName: "functions";
@@ -20606,13 +20606,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
20606
20606
  responseSchema: z.ZodOptional<z.ZodAny>;
20607
20607
  defaultValue: z.ZodOptional<z.ZodAny>;
20608
20608
  credential: z.ZodOptional<z.ZodObject<{
20609
- name: z.ZodString;
20610
20609
  id: z.ZodString;
20610
+ name: z.ZodString;
20611
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20612
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20611
20613
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20612
20614
  credentialStoreId: z.ZodString;
20613
20615
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20614
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20615
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20616
20616
  type: z.ZodEnum<{
20617
20617
  readonly memory: "memory";
20618
20618
  readonly keychain: "keychain";
@@ -20673,7 +20673,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
20673
20673
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20674
20674
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20675
20675
  }, z.core.$strip>;
20676
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20676
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20677
20677
  createdAt: drizzle_orm_pg_core893.PgColumn<{
20678
20678
  name: "created_at";
20679
20679
  tableName: "sub_agent_tool_relations";
@@ -20883,7 +20883,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
20883
20883
  }, {}, {
20884
20884
  length: 256;
20885
20885
  }>;
20886
- }, drizzle_zod15.BuildRefine<{
20886
+ }, drizzle_zod19.BuildRefine<{
20887
20887
  createdAt: drizzle_orm_pg_core893.PgColumn<{
20888
20888
  name: "created_at";
20889
20889
  tableName: "sub_agent_tool_relations";
@@ -21134,9 +21134,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
21134
21134
  createdAt: z.ZodString;
21135
21135
  updatedAt: z.ZodString;
21136
21136
  toolId: z.ZodString;
21137
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21138
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21139
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21137
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21138
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21139
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21140
21140
  subAgentId: z.ZodString;
21141
21141
  agentId: z.ZodString;
21142
21142
  projectId: z.ZodString;
@@ -21162,15 +21162,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21162
21162
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21163
21163
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21164
21164
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21165
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21165
21166
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21166
21167
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21167
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21168
21168
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21169
21169
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21170
21170
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21171
21171
  }, z.core.$strip>>>>>>;
21172
21172
  }, z.core.$strip>;
21173
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21173
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21174
21174
  createdAt: drizzle_orm_pg_core893.PgColumn<{
21175
21175
  name: "created_at";
21176
21176
  tableName: "sub_agent_external_agent_relations";
@@ -21338,7 +21338,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
21338
21338
  }, {}, {
21339
21339
  length: 256;
21340
21340
  }>;
21341
- }, drizzle_zod15.BuildRefine<{
21341
+ }, drizzle_zod19.BuildRefine<{
21342
21342
  createdAt: drizzle_orm_pg_core893.PgColumn<{
21343
21343
  name: "created_at";
21344
21344
  tableName: "sub_agent_external_agent_relations";
@@ -21539,7 +21539,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
21539
21539
  createdAt: z.ZodString;
21540
21540
  updatedAt: z.ZodString;
21541
21541
  externalAgentId: z.ZodString;
21542
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21542
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21543
21543
  subAgentId: z.ZodString;
21544
21544
  agentId: z.ZodString;
21545
21545
  projectId: z.ZodString;
@@ -21556,11 +21556,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
21556
21556
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21557
21557
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21558
21558
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21559
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21560
21559
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21560
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21561
21561
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21562
21562
  }, z.core.$strip>;
21563
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21563
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21564
21564
  createdAt: drizzle_orm_pg_core893.PgColumn<{
21565
21565
  name: "created_at";
21566
21566
  tableName: "sub_agent_team_agent_relations";
@@ -21728,7 +21728,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
21728
21728
  }, {}, {
21729
21729
  length: 256;
21730
21730
  }>;
21731
- }, drizzle_zod15.BuildRefine<{
21731
+ }, drizzle_zod19.BuildRefine<{
21732
21732
  createdAt: drizzle_orm_pg_core893.PgColumn<{
21733
21733
  name: "created_at";
21734
21734
  tableName: "sub_agent_team_agent_relations";
@@ -21929,7 +21929,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
21929
21929
  createdAt: z.ZodString;
21930
21930
  updatedAt: z.ZodString;
21931
21931
  targetAgentId: z.ZodString;
21932
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21932
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21933
21933
  subAgentId: z.ZodString;
21934
21934
  agentId: z.ZodString;
21935
21935
  projectId: z.ZodString;
@@ -21946,11 +21946,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
21946
21946
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21947
21947
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21948
21948
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21949
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21950
21949
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21950
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21951
21951
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21952
21952
  }, z.core.$strip>;
21953
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
21953
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21954
21954
  createdAt: drizzle_orm_pg_core893.PgColumn<{
21955
21955
  name: "created_at";
21956
21956
  tableName: "ledger_artifacts";
@@ -22285,7 +22285,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
22285
22285
  }, {}, {
22286
22286
  length: 256;
22287
22287
  }>;
22288
- }, drizzle_zod15.BuildRefine<{
22288
+ }, drizzle_zod19.BuildRefine<{
22289
22289
  createdAt: drizzle_orm_pg_core893.PgColumn<{
22290
22290
  name: "created_at";
22291
22291
  tableName: "ledger_artifacts";
@@ -22621,7 +22621,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
22621
22621
  length: 256;
22622
22622
  }>;
22623
22623
  }, undefined>, undefined>;
22624
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
22624
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
22625
22625
  createdAt: drizzle_orm_pg_core893.PgColumn<{
22626
22626
  name: "created_at";
22627
22627
  tableName: "ledger_artifacts";
@@ -22956,7 +22956,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
22956
22956
  }, {}, {
22957
22957
  length: 256;
22958
22958
  }>;
22959
- }, drizzle_zod15.BuildRefine<Pick<{
22959
+ }, drizzle_zod19.BuildRefine<Pick<{
22960
22960
  createdAt: drizzle_orm_pg_core893.PgColumn<{
22961
22961
  name: "created_at";
22962
22962
  tableName: "ledger_artifacts";
@@ -23291,7 +23291,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
23291
23291
  }, {}, {
23292
23292
  length: 256;
23293
23293
  }>;
23294
- }, "name" | "type" | "id" | "description" | "createdAt" | "updatedAt" | "tenantId" | "metadata" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23294
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23295
23295
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23296
23296
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23297
23297
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23301,12 +23301,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23301
23301
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23302
23302
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
23303
23303
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
23304
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
23305
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
23304
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
23305
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
23306
23306
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
23307
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
23307
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
23308
23308
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
23309
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
23309
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
23310
23310
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
23311
23311
  projectId: z.ZodOptional<z.ZodString>;
23312
23312
  tenantId: z.ZodOptional<z.ZodString>;
@@ -23324,12 +23324,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
23324
23324
  type: z.ZodString;
23325
23325
  name: z.ZodNullable<z.ZodString>;
23326
23326
  description: z.ZodNullable<z.ZodString>;
23327
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23328
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23327
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23328
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23329
23329
  summary: z.ZodNullable<z.ZodString>;
23330
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23330
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23331
23331
  visibility: z.ZodNullable<z.ZodString>;
23332
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23332
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23333
23333
  derivedFrom: z.ZodNullable<z.ZodString>;
23334
23334
  projectId: z.ZodString;
23335
23335
  tenantId: z.ZodString;
@@ -23344,33 +23344,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
23344
23344
  type: z.ZodOptional<z.ZodString>;
23345
23345
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23346
23346
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23347
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23348
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23347
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23348
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23349
23349
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23350
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23350
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23351
23351
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23352
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23352
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23353
23353
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23354
23354
  projectId: z.ZodString;
23355
23355
  tenantId: z.ZodString;
23356
23356
  id: z.ZodString;
23357
23357
  }>, z.core.$strip>;
23358
23358
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23359
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23360
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23361
23359
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23362
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23360
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23363
23361
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23364
23362
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23365
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23363
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23364
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23365
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23366
23366
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23367
23367
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23368
23368
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23369
23369
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23370
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23370
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23371
23371
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23372
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23373
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23372
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23373
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23374
23374
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23375
23375
  }, z.core.$strip>;
23376
23376
  declare const StatusComponentSchema: z.ZodObject<{
@@ -23436,8 +23436,10 @@ declare const TeamAgentSchema: z.ZodObject<{
23436
23436
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23437
23437
  }, z.core.$strip>;
23438
23438
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
23439
- name: z.ZodString;
23440
23439
  id: z.ZodString;
23440
+ name: z.ZodString;
23441
+ createdAt: z.ZodOptional<z.ZodString>;
23442
+ updatedAt: z.ZodOptional<z.ZodString>;
23441
23443
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23442
23444
  models: z.ZodOptional<z.ZodObject<{
23443
23445
  base: z.ZodOptional<z.ZodObject<{
@@ -23453,8 +23455,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
23453
23455
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23454
23456
  }, z.core.$strip>>;
23455
23457
  }, z.core.$strip>>;
23456
- createdAt: z.ZodOptional<z.ZodString>;
23457
- updatedAt: z.ZodOptional<z.ZodString>;
23458
23458
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23459
23459
  type: z.ZodLiteral<"internal">;
23460
23460
  canUse: z.ZodArray<z.ZodObject<{
@@ -23489,15 +23489,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
23489
23489
  }, z.core.$strip>>;
23490
23490
  }, z.core.$strip>;
23491
23491
  declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23492
- name: z.ZodString;
23493
23492
  id: z.ZodString;
23493
+ name: z.ZodString;
23494
23494
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23495
23495
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23496
23496
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23497
23497
  executionMode: z.ZodOptional<z.ZodString>;
23498
23498
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23499
- name: z.ZodString;
23500
23499
  id: z.ZodString;
23500
+ name: z.ZodString;
23501
+ createdAt: z.ZodOptional<z.ZodString>;
23502
+ updatedAt: z.ZodOptional<z.ZodString>;
23501
23503
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23502
23504
  models: z.ZodOptional<z.ZodObject<{
23503
23505
  base: z.ZodOptional<z.ZodObject<{
@@ -23513,8 +23515,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23513
23515
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23514
23516
  }, z.core.$strip>>;
23515
23517
  }, z.core.$strip>>;
23516
- createdAt: z.ZodOptional<z.ZodString>;
23517
- updatedAt: z.ZodOptional<z.ZodString>;
23518
23518
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23519
23519
  type: z.ZodLiteral<"internal">;
23520
23520
  canUse: z.ZodArray<z.ZodObject<{
@@ -23549,11 +23549,13 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23549
23549
  }, z.core.$strip>>;
23550
23550
  }, z.core.$strip>>;
23551
23551
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23552
- name: z.ZodString;
23553
23552
  id: z.ZodString;
23553
+ name: z.ZodString;
23554
23554
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23555
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23555
23556
  tenantId: z.ZodString;
23556
23557
  projectId: z.ZodString;
23558
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23557
23559
  config: z.ZodObject<{
23558
23560
  type: z.ZodLiteral<"mcp">;
23559
23561
  mcp: z.ZodObject<{
@@ -23580,22 +23582,20 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23580
23582
  prompt: z.ZodOptional<z.ZodString>;
23581
23583
  }, z.core.$strip>;
23582
23584
  }, z.core.$strip>;
23583
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23584
23585
  credentialScope: z.ZodOptional<z.ZodString>;
23585
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23586
23586
  imageUrl: z.ZodOptional<z.ZodString>;
23587
23587
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23588
23588
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23589
23589
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
23590
23590
  }>, z.core.$strip>>>;
23591
23591
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23592
- name: z.ZodString;
23593
23592
  id: z.ZodString;
23593
+ name: z.ZodString;
23594
23594
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23595
23595
  tenantId: z.ZodString;
23596
23596
  projectId: z.ZodString;
23597
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23598
23597
  baseUrl: z.ZodURL;
23598
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23599
23599
  }>, z.core.$strip>>>;
23600
23600
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23601
23601
  id: z.ZodString;
@@ -23603,8 +23603,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23603
23603
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23604
23604
  }, z.core.$strip>>>;
23605
23605
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
23606
- name: z.ZodString;
23607
23606
  id: z.ZodString;
23607
+ name: z.ZodString;
23608
23608
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23609
23609
  tenantId: z.ZodString;
23610
23610
  projectId: z.ZodString;
@@ -23618,17 +23618,17 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23618
23618
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23619
23619
  }, z.core.$strip>>>;
23620
23620
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23621
- name: z.ZodString;
23622
23621
  id: z.ZodOptional<z.ZodString>;
23622
+ name: z.ZodString;
23623
23623
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23624
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23625
23624
  enabled: z.ZodOptional<z.ZodBoolean>;
23626
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23627
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23625
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23626
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23627
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23628
23628
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23629
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23629
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23630
23630
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23631
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23631
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23632
23632
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23633
23633
  }, z.core.$strip>>>;
23634
23634
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -23671,15 +23671,17 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23671
23671
  prompt: z.ZodOptional<z.ZodString>;
23672
23672
  }, z.core.$strip>;
23673
23673
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23674
- name: z.ZodString;
23675
23674
  id: z.ZodString;
23675
+ name: z.ZodString;
23676
23676
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23677
23677
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23678
23678
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23679
23679
  executionMode: z.ZodOptional<z.ZodString>;
23680
23680
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23681
- name: z.ZodString;
23682
23681
  id: z.ZodString;
23682
+ name: z.ZodString;
23683
+ createdAt: z.ZodOptional<z.ZodString>;
23684
+ updatedAt: z.ZodOptional<z.ZodString>;
23683
23685
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23684
23686
  models: z.ZodOptional<z.ZodObject<{
23685
23687
  base: z.ZodOptional<z.ZodObject<{
@@ -23695,8 +23697,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23695
23697
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23696
23698
  }, z.core.$strip>>;
23697
23699
  }, z.core.$strip>>;
23698
- createdAt: z.ZodOptional<z.ZodString>;
23699
- updatedAt: z.ZodOptional<z.ZodString>;
23700
23700
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23701
23701
  type: z.ZodLiteral<"internal">;
23702
23702
  canUse: z.ZodArray<z.ZodObject<{
@@ -23731,11 +23731,13 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23731
23731
  }, z.core.$strip>>;
23732
23732
  }, z.core.$strip>>;
23733
23733
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23734
- name: z.ZodString;
23735
23734
  id: z.ZodString;
23735
+ name: z.ZodString;
23736
23736
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23737
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23737
23738
  tenantId: z.ZodString;
23738
23739
  projectId: z.ZodString;
23740
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23739
23741
  config: z.ZodObject<{
23740
23742
  type: z.ZodLiteral<"mcp">;
23741
23743
  mcp: z.ZodObject<{
@@ -23762,22 +23764,20 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23762
23764
  prompt: z.ZodOptional<z.ZodString>;
23763
23765
  }, z.core.$strip>;
23764
23766
  }, z.core.$strip>;
23765
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23766
23767
  credentialScope: z.ZodOptional<z.ZodString>;
23767
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23768
23768
  imageUrl: z.ZodOptional<z.ZodString>;
23769
23769
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23770
23770
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23771
23771
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
23772
23772
  }>, z.core.$strip>>>;
23773
23773
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23774
- name: z.ZodString;
23775
23774
  id: z.ZodString;
23775
+ name: z.ZodString;
23776
23776
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23777
23777
  tenantId: z.ZodString;
23778
23778
  projectId: z.ZodString;
23779
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23780
23779
  baseUrl: z.ZodURL;
23780
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23781
23781
  }>, z.core.$strip>>>;
23782
23782
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23783
23783
  id: z.ZodString;
@@ -23785,8 +23785,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23785
23785
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23786
23786
  }, z.core.$strip>>>;
23787
23787
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
23788
- name: z.ZodString;
23789
23788
  id: z.ZodString;
23789
+ name: z.ZodString;
23790
23790
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23791
23791
  tenantId: z.ZodString;
23792
23792
  projectId: z.ZodString;
@@ -23800,17 +23800,17 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23800
23800
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23801
23801
  }, z.core.$strip>>>;
23802
23802
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23803
- name: z.ZodString;
23804
23803
  id: z.ZodOptional<z.ZodString>;
23804
+ name: z.ZodString;
23805
23805
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23806
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23807
23806
  enabled: z.ZodOptional<z.ZodBoolean>;
23808
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23809
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23807
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23808
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23809
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23810
23810
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23811
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23811
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23812
23812
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23813
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23813
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23814
23814
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23815
23815
  }, z.core.$strip>>>;
23816
23816
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -23912,9 +23912,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
23912
23912
  in: {};
23913
23913
  }>;
23914
23914
  declare const ProjectInsertSchema: z.ZodObject<{
23915
- name: z.ZodString;
23916
23915
  id: z.ZodString;
23916
+ name: z.ZodString;
23917
23917
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23918
+ tenantId: z.ZodString;
23918
23919
  models: z.ZodObject<{
23919
23920
  base: z.ZodObject<{
23920
23921
  model: z.ZodOptional<z.ZodString>;
@@ -23933,7 +23934,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
23933
23934
  transferCountIs: z.ZodOptional<z.ZodInt>;
23934
23935
  stepCountIs: z.ZodOptional<z.ZodInt>;
23935
23936
  }, z.core.$strip>>;
23936
- tenantId: z.ZodString;
23937
23937
  }, {
23938
23938
  out: {};
23939
23939
  in: {};
@@ -23964,8 +23964,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
23964
23964
  in: {};
23965
23965
  }>;
23966
23966
  declare const ProjectApiSelectSchema: z.ZodObject<{
23967
- name: z.ZodString;
23968
23967
  id: z.ZodString;
23968
+ name: z.ZodString;
23969
+ createdAt: z.ZodString;
23970
+ updatedAt: z.ZodString;
23969
23971
  description: z.ZodNullable<z.ZodString>;
23970
23972
  models: z.ZodNullable<z.ZodObject<{
23971
23973
  base: z.ZodObject<{
@@ -23985,15 +23987,13 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
23985
23987
  transferCountIs: z.ZodOptional<z.ZodInt>;
23986
23988
  stepCountIs: z.ZodOptional<z.ZodInt>;
23987
23989
  }, z.core.$strip>>;
23988
- createdAt: z.ZodString;
23989
- updatedAt: z.ZodString;
23990
23990
  }, {
23991
23991
  out: {};
23992
23992
  in: {};
23993
23993
  }>;
23994
23994
  declare const ProjectApiInsertSchema: z.ZodObject<{
23995
- name: z.ZodString;
23996
23995
  id: z.ZodString;
23996
+ name: z.ZodString;
23997
23997
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23998
23998
  models: z.ZodObject<{
23999
23999
  base: z.ZodObject<{
@@ -24043,8 +24043,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
24043
24043
  in: {};
24044
24044
  }>;
24045
24045
  declare const FullProjectDefinitionSchema: z.ZodObject<{
24046
- name: z.ZodString;
24047
24046
  id: z.ZodString;
24047
+ name: z.ZodString;
24048
24048
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24049
24049
  models: z.ZodObject<{
24050
24050
  base: z.ZodObject<{
@@ -24065,15 +24065,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24065
24065
  stepCountIs: z.ZodOptional<z.ZodInt>;
24066
24066
  }, z.core.$strip>>;
24067
24067
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
24068
- name: z.ZodString;
24069
24068
  id: z.ZodString;
24069
+ name: z.ZodString;
24070
24070
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24071
24071
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24072
24072
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24073
24073
  executionMode: z.ZodOptional<z.ZodString>;
24074
24074
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24075
- name: z.ZodString;
24076
24075
  id: z.ZodString;
24076
+ name: z.ZodString;
24077
+ createdAt: z.ZodOptional<z.ZodString>;
24078
+ updatedAt: z.ZodOptional<z.ZodString>;
24077
24079
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24078
24080
  models: z.ZodOptional<z.ZodObject<{
24079
24081
  base: z.ZodOptional<z.ZodObject<{
@@ -24089,8 +24091,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24089
24091
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
24090
24092
  }, z.core.$strip>>;
24091
24093
  }, z.core.$strip>>;
24092
- createdAt: z.ZodOptional<z.ZodString>;
24093
- updatedAt: z.ZodOptional<z.ZodString>;
24094
24094
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24095
24095
  type: z.ZodLiteral<"internal">;
24096
24096
  canUse: z.ZodArray<z.ZodObject<{
@@ -24125,11 +24125,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24125
24125
  }, z.core.$strip>>;
24126
24126
  }, z.core.$strip>>;
24127
24127
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24128
- name: z.ZodString;
24129
24128
  id: z.ZodString;
24129
+ name: z.ZodString;
24130
24130
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24131
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24131
24132
  tenantId: z.ZodString;
24132
24133
  projectId: z.ZodString;
24134
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24133
24135
  config: z.ZodObject<{
24134
24136
  type: z.ZodLiteral<"mcp">;
24135
24137
  mcp: z.ZodObject<{
@@ -24156,22 +24158,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24156
24158
  prompt: z.ZodOptional<z.ZodString>;
24157
24159
  }, z.core.$strip>;
24158
24160
  }, z.core.$strip>;
24159
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24160
24161
  credentialScope: z.ZodOptional<z.ZodString>;
24161
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24162
24162
  imageUrl: z.ZodOptional<z.ZodString>;
24163
24163
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24164
24164
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24165
24165
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24166
24166
  }>, z.core.$strip>>>;
24167
24167
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24168
- name: z.ZodString;
24169
24168
  id: z.ZodString;
24169
+ name: z.ZodString;
24170
24170
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24171
24171
  tenantId: z.ZodString;
24172
24172
  projectId: z.ZodString;
24173
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24174
24173
  baseUrl: z.ZodURL;
24174
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24175
24175
  }>, z.core.$strip>>>;
24176
24176
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24177
24177
  id: z.ZodString;
@@ -24179,8 +24179,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24179
24179
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24180
24180
  }, z.core.$strip>>>;
24181
24181
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24182
- name: z.ZodString;
24183
24182
  id: z.ZodString;
24183
+ name: z.ZodString;
24184
24184
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24185
24185
  tenantId: z.ZodString;
24186
24186
  projectId: z.ZodString;
@@ -24194,17 +24194,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24194
24194
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24195
24195
  }, z.core.$strip>>>;
24196
24196
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24197
- name: z.ZodString;
24198
24197
  id: z.ZodOptional<z.ZodString>;
24198
+ name: z.ZodString;
24199
24199
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24200
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24201
24200
  enabled: z.ZodOptional<z.ZodBoolean>;
24202
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24203
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24201
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24202
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24203
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24204
24204
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24205
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24205
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24206
24206
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24207
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24207
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24208
24208
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24209
24209
  }, z.core.$strip>>>;
24210
24210
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -24247,11 +24247,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24247
24247
  prompt: z.ZodOptional<z.ZodString>;
24248
24248
  }, z.core.$strip>>;
24249
24249
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24250
- name: z.ZodString;
24251
24250
  id: z.ZodString;
24251
+ name: z.ZodString;
24252
24252
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24253
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24253
24254
  tenantId: z.ZodString;
24254
24255
  projectId: z.ZodString;
24256
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24255
24257
  config: z.ZodObject<{
24256
24258
  type: z.ZodLiteral<"mcp">;
24257
24259
  mcp: z.ZodObject<{
@@ -24278,17 +24280,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24278
24280
  prompt: z.ZodOptional<z.ZodString>;
24279
24281
  }, z.core.$strip>;
24280
24282
  }, z.core.$strip>;
24281
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24282
24283
  credentialScope: z.ZodOptional<z.ZodString>;
24283
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24284
24284
  imageUrl: z.ZodOptional<z.ZodString>;
24285
24285
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24286
24286
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24287
24287
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24288
24288
  }>, z.core.$strip>>;
24289
24289
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24290
- name: z.ZodString;
24291
24290
  id: z.ZodString;
24291
+ name: z.ZodString;
24292
24292
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24293
24293
  tenantId: z.ZodString;
24294
24294
  projectId: z.ZodString;
@@ -24303,9 +24303,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24303
24303
  }, z.core.$strip>>>;
24304
24304
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24305
24305
  name: z.ZodString;
24306
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
24306
24307
  description: z.ZodString;
24307
24308
  tenantId: z.ZodString;
24308
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
24309
24309
  content: z.ZodString;
24310
24310
  projectId: z.ZodString;
24311
24311
  }>, z.core.$strip>>>;
@@ -24363,13 +24363,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24363
24363
  in: {};
24364
24364
  }>>>;
24365
24365
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24366
- name: z.ZodString;
24367
24366
  id: z.ZodString;
24367
+ name: z.ZodString;
24368
24368
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24369
24369
  tenantId: z.ZodString;
24370
24370
  projectId: z.ZodString;
24371
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24372
24371
  baseUrl: z.ZodURL;
24372
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24373
24373
  }>, z.core.$strip>>>;
24374
24374
  statusUpdates: z.ZodOptional<z.ZodObject<{
24375
24375
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -24387,13 +24387,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24387
24387
  }, z.core.$strip>>>;
24388
24388
  }, z.core.$strict>>;
24389
24389
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24390
- name: z.ZodString;
24391
24390
  id: z.ZodString;
24391
+ name: z.ZodString;
24392
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24393
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24392
24394
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24393
24395
  credentialStoreId: z.ZodString;
24394
24396
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24395
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24396
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24397
24397
  type: z.ZodEnum<{
24398
24398
  readonly memory: "memory";
24399
24399
  readonly keychain: "keychain";
@@ -24408,8 +24408,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24408
24408
  in: {};
24409
24409
  }>;
24410
24410
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24411
- name: z.ZodString;
24412
24411
  id: z.ZodString;
24412
+ name: z.ZodString;
24413
+ createdAt: z.ZodString;
24414
+ updatedAt: z.ZodString;
24413
24415
  description: z.ZodNullable<z.ZodString>;
24414
24416
  models: z.ZodNullable<z.ZodType<{
24415
24417
  base?: {
@@ -24473,8 +24475,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24473
24475
  }, {
24474
24476
  stepCountIs?: number | undefined;
24475
24477
  }>>>;
24476
- createdAt: z.ZodString;
24477
- updatedAt: z.ZodString;
24478
24478
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24479
24479
  type: z.ZodLiteral<"internal">;
24480
24480
  canUse: z.ZodArray<z.ZodObject<{
@@ -24501,8 +24501,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24501
24501
  }, z.core.$strip>]>>>;
24502
24502
  }, z.core.$strip>;
24503
24503
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24504
- name: z.ZodString;
24505
24504
  id: z.ZodString;
24505
+ name: z.ZodString;
24506
+ createdAt: z.ZodString;
24507
+ updatedAt: z.ZodString;
24506
24508
  description: z.ZodNullable<z.ZodString>;
24507
24509
  models: z.ZodNullable<z.ZodType<{
24508
24510
  base?: {
@@ -24566,8 +24568,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24566
24568
  }, {
24567
24569
  stepCountIs?: number | undefined;
24568
24570
  }>>>;
24569
- createdAt: z.ZodString;
24570
- updatedAt: z.ZodString;
24571
24571
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24572
24572
  type: z.ZodLiteral<"internal">;
24573
24573
  canUse: z.ZodArray<z.ZodObject<{
@@ -24600,17 +24600,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24600
24600
  }, z.core.$strip>]>>>;
24601
24601
  }, z.core.$strip>;
24602
24602
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24603
- name: z.ZodString;
24604
24603
  id: z.ZodString;
24605
- description: z.ZodNullable<z.ZodString>;
24604
+ name: z.ZodString;
24606
24605
  createdAt: z.ZodString;
24607
24606
  updatedAt: z.ZodString;
24607
+ description: z.ZodNullable<z.ZodString>;
24608
24608
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
24609
24609
  contextConfigId: z.ZodNullable<z.ZodString>;
24610
24610
  executionMode: z.ZodString;
24611
24611
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24612
- name: z.ZodString;
24613
24612
  id: z.ZodString;
24613
+ name: z.ZodString;
24614
+ createdAt: z.ZodString;
24615
+ updatedAt: z.ZodString;
24614
24616
  description: z.ZodNullable<z.ZodString>;
24615
24617
  models: z.ZodNullable<z.ZodType<{
24616
24618
  base?: {
@@ -24674,8 +24676,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24674
24676
  }, {
24675
24677
  stepCountIs?: number | undefined;
24676
24678
  }>>>;
24677
- createdAt: z.ZodString;
24678
- updatedAt: z.ZodString;
24679
24679
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24680
24680
  type: z.ZodLiteral<"internal">;
24681
24681
  canUse: z.ZodArray<z.ZodObject<{
@@ -24747,11 +24747,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24747
24747
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24748
24748
  }, z.core.$strip>>>;
24749
24749
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24750
- name: z.ZodString;
24751
24750
  id: z.ZodString;
24752
- description: z.ZodNullable<z.ZodString>;
24751
+ name: z.ZodString;
24753
24752
  createdAt: z.ZodString;
24754
24753
  updatedAt: z.ZodString;
24754
+ description: z.ZodNullable<z.ZodString>;
24755
24755
  agentId: z.ZodString;
24756
24756
  functionId: z.ZodString;
24757
24757
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -24808,11 +24808,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24808
24808
  prompt: z.ZodNullable<z.ZodString>;
24809
24809
  }, z.core.$strip>;
24810
24810
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
24811
- name: z.ZodString;
24812
24811
  id: z.ZodString;
24813
- description: z.ZodNullable<z.ZodString>;
24812
+ name: z.ZodString;
24814
24813
  createdAt: z.ZodString;
24815
24814
  updatedAt: z.ZodString;
24815
+ description: z.ZodNullable<z.ZodString>;
24816
24816
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
24817
24817
  contextConfigId: z.ZodNullable<z.ZodString>;
24818
24818
  executionMode: z.ZodString;
@@ -24862,11 +24862,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
24862
24862
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24863
24863
  }, z.core.$strip>>>;
24864
24864
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24865
- name: z.ZodString;
24866
24865
  id: z.ZodString;
24867
- description: z.ZodNullable<z.ZodString>;
24866
+ name: z.ZodString;
24868
24867
  createdAt: z.ZodString;
24869
24868
  updatedAt: z.ZodString;
24869
+ description: z.ZodNullable<z.ZodString>;
24870
24870
  agentId: z.ZodString;
24871
24871
  functionId: z.ZodString;
24872
24872
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -24922,8 +24922,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
24922
24922
  }, z.core.$strip>>;
24923
24923
  prompt: z.ZodNullable<z.ZodString>;
24924
24924
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24925
- name: z.ZodString;
24926
24925
  id: z.ZodString;
24926
+ name: z.ZodString;
24927
+ createdAt: z.ZodString;
24928
+ updatedAt: z.ZodString;
24927
24929
  description: z.ZodNullable<z.ZodString>;
24928
24930
  models: z.ZodNullable<z.ZodType<{
24929
24931
  base?: {
@@ -24987,8 +24989,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
24987
24989
  }, {
24988
24990
  stepCountIs?: number | undefined;
24989
24991
  }>>>;
24990
- createdAt: z.ZodString;
24991
- updatedAt: z.ZodString;
24992
24992
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24993
24993
  type: z.ZodLiteral<"internal">;
24994
24994
  canUse: z.ZodArray<z.ZodObject<{
@@ -25022,8 +25022,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25022
25022
  }, z.core.$strip>>;
25023
25023
  }, z.core.$strip>;
25024
25024
  declare const FullProjectSelectSchema: z.ZodObject<{
25025
- name: z.ZodString;
25026
25025
  id: z.ZodString;
25026
+ name: z.ZodString;
25027
+ createdAt: z.ZodString;
25028
+ updatedAt: z.ZodString;
25027
25029
  description: z.ZodNullable<z.ZodString>;
25028
25030
  models: z.ZodNullable<z.ZodObject<{
25029
25031
  base: z.ZodObject<{
@@ -25043,20 +25045,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25043
25045
  transferCountIs: z.ZodOptional<z.ZodInt>;
25044
25046
  stepCountIs: z.ZodOptional<z.ZodInt>;
25045
25047
  }, z.core.$strip>>;
25046
- createdAt: z.ZodString;
25047
- updatedAt: z.ZodString;
25048
25048
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25049
- name: z.ZodString;
25050
25049
  id: z.ZodString;
25051
- description: z.ZodNullable<z.ZodString>;
25050
+ name: z.ZodString;
25052
25051
  createdAt: z.ZodString;
25053
25052
  updatedAt: z.ZodString;
25053
+ description: z.ZodNullable<z.ZodString>;
25054
25054
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25055
25055
  contextConfigId: z.ZodNullable<z.ZodString>;
25056
25056
  executionMode: z.ZodString;
25057
25057
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25058
- name: z.ZodString;
25059
25058
  id: z.ZodString;
25059
+ name: z.ZodString;
25060
+ createdAt: z.ZodString;
25061
+ updatedAt: z.ZodString;
25060
25062
  description: z.ZodNullable<z.ZodString>;
25061
25063
  models: z.ZodNullable<z.ZodType<{
25062
25064
  base?: {
@@ -25120,8 +25122,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25120
25122
  }, {
25121
25123
  stepCountIs?: number | undefined;
25122
25124
  }>>>;
25123
- createdAt: z.ZodString;
25124
- updatedAt: z.ZodString;
25125
25125
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25126
25126
  type: z.ZodLiteral<"internal">;
25127
25127
  canUse: z.ZodArray<z.ZodObject<{
@@ -25193,11 +25193,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25193
25193
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25194
25194
  }, z.core.$strip>>>;
25195
25195
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
- name: z.ZodString;
25197
25196
  id: z.ZodString;
25198
- description: z.ZodNullable<z.ZodString>;
25197
+ name: z.ZodString;
25199
25198
  createdAt: z.ZodString;
25200
25199
  updatedAt: z.ZodString;
25200
+ description: z.ZodNullable<z.ZodString>;
25201
25201
  agentId: z.ZodString;
25202
25202
  functionId: z.ZodString;
25203
25203
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -25283,11 +25283,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25283
25283
  id: z.ZodString;
25284
25284
  }>, z.core.$strip>>;
25285
25285
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25286
- name: z.ZodString;
25287
25286
  id: z.ZodString;
25288
- description: z.ZodNullable<z.ZodString>;
25287
+ name: z.ZodString;
25289
25288
  createdAt: z.ZodString;
25290
25289
  updatedAt: z.ZodString;
25290
+ description: z.ZodNullable<z.ZodString>;
25291
25291
  agentId: z.ZodString;
25292
25292
  functionId: z.ZodString;
25293
25293
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -25431,22 +25431,22 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25431
25431
  }, z.core.$strip>>>;
25432
25432
  }, z.core.$strict>>;
25433
25433
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25434
- name: z.ZodString;
25435
25434
  id: z.ZodString;
25435
+ name: z.ZodString;
25436
25436
  createdAt: z.ZodString;
25437
25437
  updatedAt: z.ZodString;
25438
+ userId: z.ZodNullable<z.ZodString>;
25439
+ createdBy: z.ZodNullable<z.ZodString>;
25438
25440
  toolId: z.ZodNullable<z.ZodString>;
25439
25441
  credentialStoreId: z.ZodString;
25440
25442
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25441
- userId: z.ZodNullable<z.ZodString>;
25442
- createdBy: z.ZodNullable<z.ZodString>;
25443
25443
  type: z.ZodEnum<{
25444
25444
  readonly memory: "memory";
25445
25445
  readonly keychain: "keychain";
25446
25446
  readonly nango: "nango";
25447
25447
  readonly composio: "composio";
25448
25448
  }>;
25449
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25449
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25450
25450
  createdAt: drizzle_orm_pg_core893.PgColumn<{
25451
25451
  name: "created_at";
25452
25452
  tableName: "tools";
@@ -25726,7 +25726,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25726
25726
  }, {}, {
25727
25727
  length: 256;
25728
25728
  }>;
25729
- }, drizzle_zod15.BuildRefine<{
25729
+ }, drizzle_zod19.BuildRefine<{
25730
25730
  createdAt: drizzle_orm_pg_core893.PgColumn<{
25731
25731
  name: "created_at";
25732
25732
  tableName: "tools";
@@ -26027,8 +26027,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26027
26027
  in: {};
26028
26028
  }>;
26029
26029
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26030
- name: z.ZodString;
26031
26030
  id: z.ZodString;
26031
+ name: z.ZodString;
26032
+ createdAt: z.ZodString;
26033
+ updatedAt: z.ZodString;
26032
26034
  description: z.ZodNullable<z.ZodString>;
26033
26035
  models: z.ZodNullable<z.ZodObject<{
26034
26036
  base: z.ZodObject<{
@@ -26048,8 +26050,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26048
26050
  transferCountIs: z.ZodOptional<z.ZodInt>;
26049
26051
  stepCountIs: z.ZodOptional<z.ZodInt>;
26050
26052
  }, z.core.$strip>>;
26051
- createdAt: z.ZodString;
26052
- updatedAt: z.ZodString;
26053
26053
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26054
26054
  createdAt: z.ZodString;
26055
26055
  updatedAt: z.ZodString;
@@ -26080,11 +26080,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26080
26080
  id: z.ZodString;
26081
26081
  }>, z.core.$strip>>;
26082
26082
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26083
- name: z.ZodString;
26084
26083
  id: z.ZodString;
26085
- description: z.ZodNullable<z.ZodString>;
26084
+ name: z.ZodString;
26086
26085
  createdAt: z.ZodString;
26087
26086
  updatedAt: z.ZodString;
26087
+ description: z.ZodNullable<z.ZodString>;
26088
26088
  agentId: z.ZodString;
26089
26089
  functionId: z.ZodString;
26090
26090
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -26228,22 +26228,22 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26228
26228
  }, z.core.$strip>>>;
26229
26229
  }, z.core.$strict>>;
26230
26230
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26231
- name: z.ZodString;
26232
26231
  id: z.ZodString;
26232
+ name: z.ZodString;
26233
26233
  createdAt: z.ZodString;
26234
26234
  updatedAt: z.ZodString;
26235
+ userId: z.ZodNullable<z.ZodString>;
26236
+ createdBy: z.ZodNullable<z.ZodString>;
26235
26237
  toolId: z.ZodNullable<z.ZodString>;
26236
26238
  credentialStoreId: z.ZodString;
26237
26239
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26238
- userId: z.ZodNullable<z.ZodString>;
26239
- createdBy: z.ZodNullable<z.ZodString>;
26240
26240
  type: z.ZodEnum<{
26241
26241
  readonly memory: "memory";
26242
26242
  readonly keychain: "keychain";
26243
26243
  readonly nango: "nango";
26244
26244
  readonly composio: "composio";
26245
26245
  }>;
26246
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26246
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26247
26247
  createdAt: drizzle_orm_pg_core893.PgColumn<{
26248
26248
  name: "created_at";
26249
26249
  tableName: "tools";
@@ -26523,7 +26523,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26523
26523
  }, {}, {
26524
26524
  length: 256;
26525
26525
  }>;
26526
- }, drizzle_zod15.BuildRefine<{
26526
+ }, drizzle_zod19.BuildRefine<{
26527
26527
  createdAt: drizzle_orm_pg_core893.PgColumn<{
26528
26528
  name: "created_at";
26529
26529
  tableName: "tools";
@@ -26820,11 +26820,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26820
26820
  }>>>;
26821
26821
  }, z.core.$strip>>>;
26822
26822
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26823
- name: z.ZodString;
26824
26823
  id: z.ZodString;
26825
- description: z.ZodNullable<z.ZodString>;
26824
+ name: z.ZodString;
26826
26825
  createdAt: z.ZodString;
26827
26826
  updatedAt: z.ZodString;
26827
+ description: z.ZodNullable<z.ZodString>;
26828
26828
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26829
26829
  contextConfigId: z.ZodNullable<z.ZodString>;
26830
26830
  executionMode: z.ZodString;
@@ -26874,11 +26874,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26874
26874
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26875
26875
  }, z.core.$strip>>>;
26876
26876
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26877
- name: z.ZodString;
26878
26877
  id: z.ZodString;
26879
- description: z.ZodNullable<z.ZodString>;
26878
+ name: z.ZodString;
26880
26879
  createdAt: z.ZodString;
26881
26880
  updatedAt: z.ZodString;
26881
+ description: z.ZodNullable<z.ZodString>;
26882
26882
  agentId: z.ZodString;
26883
26883
  functionId: z.ZodString;
26884
26884
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -26934,8 +26934,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26934
26934
  }, z.core.$strip>>;
26935
26935
  prompt: z.ZodNullable<z.ZodString>;
26936
26936
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26937
- name: z.ZodString;
26938
26937
  id: z.ZodString;
26938
+ name: z.ZodString;
26939
+ createdAt: z.ZodString;
26940
+ updatedAt: z.ZodString;
26939
26941
  description: z.ZodNullable<z.ZodString>;
26940
26942
  models: z.ZodNullable<z.ZodType<{
26941
26943
  base?: {
@@ -26999,8 +27001,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26999
27001
  }, {
27000
27002
  stepCountIs?: number | undefined;
27001
27003
  }>>>;
27002
- createdAt: z.ZodString;
27003
- updatedAt: z.ZodString;
27004
27004
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27005
27005
  type: z.ZodLiteral<"internal">;
27006
27006
  canUse: z.ZodArray<z.ZodObject<{
@@ -27039,8 +27039,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27039
27039
  }>;
27040
27040
  declare const ProjectResponse: z.ZodObject<{
27041
27041
  data: z.ZodObject<{
27042
- name: z.ZodString;
27043
27042
  id: z.ZodString;
27043
+ name: z.ZodString;
27044
+ createdAt: z.ZodString;
27045
+ updatedAt: z.ZodString;
27044
27046
  description: z.ZodNullable<z.ZodString>;
27045
27047
  models: z.ZodNullable<z.ZodObject<{
27046
27048
  base: z.ZodObject<{
@@ -27060,8 +27062,6 @@ declare const ProjectResponse: z.ZodObject<{
27060
27062
  transferCountIs: z.ZodOptional<z.ZodInt>;
27061
27063
  stepCountIs: z.ZodOptional<z.ZodInt>;
27062
27064
  }, z.core.$strip>>;
27063
- createdAt: z.ZodString;
27064
- updatedAt: z.ZodString;
27065
27065
  }, {
27066
27066
  out: {};
27067
27067
  in: {};
@@ -27301,12 +27301,12 @@ declare const ContextConfigResponse: z.ZodObject<{
27301
27301
  }, z.core.$strip>;
27302
27302
  declare const ApiKeyResponse: z.ZodObject<{
27303
27303
  data: z.ZodObject<{
27304
- name: z.ZodNullable<z.ZodString>;
27305
27304
  id: z.ZodString;
27305
+ name: z.ZodNullable<z.ZodString>;
27306
27306
  createdAt: z.ZodString;
27307
27307
  updatedAt: z.ZodString;
27308
- agentId: z.ZodString;
27309
27308
  expiresAt: z.ZodNullable<z.ZodString>;
27309
+ agentId: z.ZodString;
27310
27310
  publicId: z.ZodString;
27311
27311
  keyPrefix: z.ZodString;
27312
27312
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -27317,22 +27317,22 @@ declare const ApiKeyResponse: z.ZodObject<{
27317
27317
  }, z.core.$strip>;
27318
27318
  declare const CredentialReferenceResponse: z.ZodObject<{
27319
27319
  data: z.ZodObject<{
27320
- name: z.ZodString;
27321
27320
  id: z.ZodString;
27321
+ name: z.ZodString;
27322
27322
  createdAt: z.ZodString;
27323
27323
  updatedAt: z.ZodString;
27324
+ userId: z.ZodNullable<z.ZodString>;
27325
+ createdBy: z.ZodNullable<z.ZodString>;
27324
27326
  toolId: z.ZodNullable<z.ZodString>;
27325
27327
  credentialStoreId: z.ZodString;
27326
27328
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27327
- userId: z.ZodNullable<z.ZodString>;
27328
- createdBy: z.ZodNullable<z.ZodString>;
27329
27329
  type: z.ZodEnum<{
27330
27330
  readonly memory: "memory";
27331
27331
  readonly keychain: "keychain";
27332
27332
  readonly nango: "nango";
27333
27333
  readonly composio: "composio";
27334
27334
  }>;
27335
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27335
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27336
27336
  createdAt: drizzle_orm_pg_core893.PgColumn<{
27337
27337
  name: "created_at";
27338
27338
  tableName: "tools";
@@ -27612,7 +27612,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27612
27612
  }, {}, {
27613
27613
  length: 256;
27614
27614
  }>;
27615
- }, drizzle_zod15.BuildRefine<{
27615
+ }, drizzle_zod19.BuildRefine<{
27616
27616
  createdAt: drizzle_orm_pg_core893.PgColumn<{
27617
27617
  name: "created_at";
27618
27618
  tableName: "tools";
@@ -27923,11 +27923,11 @@ declare const FunctionResponse: z.ZodObject<{
27923
27923
  }, z.core.$strip>;
27924
27924
  declare const FunctionToolResponse: z.ZodObject<{
27925
27925
  data: z.ZodObject<{
27926
- name: z.ZodString;
27927
27926
  id: z.ZodString;
27928
- description: z.ZodNullable<z.ZodString>;
27927
+ name: z.ZodString;
27929
27928
  createdAt: z.ZodString;
27930
27929
  updatedAt: z.ZodString;
27930
+ description: z.ZodNullable<z.ZodString>;
27931
27931
  agentId: z.ZodString;
27932
27932
  functionId: z.ZodString;
27933
27933
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27938,7 +27938,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
27938
27938
  createdAt: z.ZodString;
27939
27939
  updatedAt: z.ZodString;
27940
27940
  functionToolId: z.ZodString;
27941
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27941
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27942
27942
  subAgentId: z.ZodString;
27943
27943
  agentId: z.ZodString;
27944
27944
  projectId: z.ZodString;
@@ -28070,9 +28070,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
28070
28070
  createdAt: z.ZodString;
28071
28071
  updatedAt: z.ZodString;
28072
28072
  toolId: z.ZodString;
28073
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28074
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28075
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28073
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28074
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28075
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28076
28076
  subAgentId: z.ZodString;
28077
28077
  agentId: z.ZodString;
28078
28078
  projectId: z.ZodString;
@@ -28085,10 +28085,10 @@ declare const TriggerResponse: z.ZodObject<{
28085
28085
  createdAt: z.ZodString;
28086
28086
  updatedAt: z.ZodString;
28087
28087
  enabled: z.ZodBoolean;
28088
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28089
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28088
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28089
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28090
28090
  messageTemplate: z.ZodNullable<z.ZodString>;
28091
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28091
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28092
28092
  name: z.ZodString;
28093
28093
  description: z.ZodNullable<z.ZodString>;
28094
28094
  agentId: z.ZodString;
@@ -28111,8 +28111,8 @@ declare const TriggerResponse: z.ZodObject<{
28111
28111
  signature: z.ZodObject<{
28112
28112
  source: z.ZodEnum<{
28113
28113
  query: "query";
28114
- header: "header";
28115
28114
  body: "body";
28115
+ header: "header";
28116
28116
  }>;
28117
28117
  key: z.ZodString;
28118
28118
  prefix: z.ZodOptional<z.ZodString>;
@@ -28120,9 +28120,9 @@ declare const TriggerResponse: z.ZodObject<{
28120
28120
  }, z.core.$strip>;
28121
28121
  signedComponents: z.ZodArray<z.ZodObject<{
28122
28122
  source: z.ZodEnum<{
28123
- header: "header";
28124
28123
  literal: "literal";
28125
28124
  body: "body";
28125
+ header: "header";
28126
28126
  }>;
28127
28127
  key: z.ZodOptional<z.ZodString>;
28128
28128
  value: z.ZodOptional<z.ZodString>;
@@ -28150,8 +28150,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28150
28150
  triggerId: z.ZodString;
28151
28151
  conversationId: z.ZodNullable<z.ZodString>;
28152
28152
  status: z.ZodString;
28153
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
28154
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28153
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
28154
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28155
28155
  errorMessage: z.ZodNullable<z.ZodString>;
28156
28156
  createdAt: z.ZodString;
28157
28157
  agentId: z.ZodString;
@@ -28171,8 +28171,10 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28171
28171
  }, z.core.$strip>;
28172
28172
  declare const ProjectListResponse: z.ZodObject<{
28173
28173
  data: z.ZodArray<z.ZodObject<{
28174
- name: z.ZodString;
28175
28174
  id: z.ZodString;
28175
+ name: z.ZodString;
28176
+ createdAt: z.ZodString;
28177
+ updatedAt: z.ZodString;
28176
28178
  description: z.ZodNullable<z.ZodString>;
28177
28179
  models: z.ZodNullable<z.ZodObject<{
28178
28180
  base: z.ZodObject<{
@@ -28192,8 +28194,6 @@ declare const ProjectListResponse: z.ZodObject<{
28192
28194
  transferCountIs: z.ZodOptional<z.ZodInt>;
28193
28195
  stepCountIs: z.ZodOptional<z.ZodInt>;
28194
28196
  }, z.core.$strip>>;
28195
- createdAt: z.ZodString;
28196
- updatedAt: z.ZodString;
28197
28197
  }, {
28198
28198
  out: {};
28199
28199
  in: {};
@@ -28463,12 +28463,12 @@ declare const ContextConfigListResponse: z.ZodObject<{
28463
28463
  }, z.core.$strip>;
28464
28464
  declare const ApiKeyListResponse: z.ZodObject<{
28465
28465
  data: z.ZodArray<z.ZodObject<{
28466
- name: z.ZodNullable<z.ZodString>;
28467
28466
  id: z.ZodString;
28467
+ name: z.ZodNullable<z.ZodString>;
28468
28468
  createdAt: z.ZodString;
28469
28469
  updatedAt: z.ZodString;
28470
- agentId: z.ZodString;
28471
28470
  expiresAt: z.ZodNullable<z.ZodString>;
28471
+ agentId: z.ZodString;
28472
28472
  publicId: z.ZodString;
28473
28473
  keyPrefix: z.ZodString;
28474
28474
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28485,15 +28485,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
28485
28485
  }, z.core.$strip>;
28486
28486
  declare const AppResponse: z.ZodObject<{
28487
28487
  data: z.ZodObject<{
28488
- name: z.ZodString;
28489
- type: z.ZodString;
28490
28488
  id: z.ZodString;
28491
- description: z.ZodNullable<z.ZodString>;
28489
+ name: z.ZodString;
28492
28490
  createdAt: z.ZodString;
28493
28491
  updatedAt: z.ZodString;
28492
+ description: z.ZodNullable<z.ZodString>;
28493
+ enabled: z.ZodBoolean;
28494
+ type: z.ZodString;
28494
28495
  tenantId: z.ZodNullable<z.ZodString>;
28495
28496
  projectId: z.ZodNullable<z.ZodString>;
28496
- enabled: z.ZodBoolean;
28497
28497
  prompt: z.ZodNullable<z.ZodString>;
28498
28498
  lastUsedAt: z.ZodNullable<z.ZodString>;
28499
28499
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -28533,15 +28533,15 @@ declare const AppResponse: z.ZodObject<{
28533
28533
  }, z.core.$strip>;
28534
28534
  declare const AppListResponse: z.ZodObject<{
28535
28535
  data: z.ZodArray<z.ZodObject<{
28536
- name: z.ZodString;
28537
- type: z.ZodString;
28538
28536
  id: z.ZodString;
28539
- description: z.ZodNullable<z.ZodString>;
28537
+ name: z.ZodString;
28540
28538
  createdAt: z.ZodString;
28541
28539
  updatedAt: z.ZodString;
28540
+ description: z.ZodNullable<z.ZodString>;
28541
+ enabled: z.ZodBoolean;
28542
+ type: z.ZodString;
28542
28543
  tenantId: z.ZodNullable<z.ZodString>;
28543
28544
  projectId: z.ZodNullable<z.ZodString>;
28544
- enabled: z.ZodBoolean;
28545
28545
  prompt: z.ZodNullable<z.ZodString>;
28546
28546
  lastUsedAt: z.ZodNullable<z.ZodString>;
28547
28547
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -28587,22 +28587,22 @@ declare const AppListResponse: z.ZodObject<{
28587
28587
  }, z.core.$strip>;
28588
28588
  declare const CredentialReferenceListResponse: z.ZodObject<{
28589
28589
  data: z.ZodArray<z.ZodObject<{
28590
- name: z.ZodString;
28591
28590
  id: z.ZodString;
28591
+ name: z.ZodString;
28592
28592
  createdAt: z.ZodString;
28593
28593
  updatedAt: z.ZodString;
28594
+ userId: z.ZodNullable<z.ZodString>;
28595
+ createdBy: z.ZodNullable<z.ZodString>;
28594
28596
  toolId: z.ZodNullable<z.ZodString>;
28595
28597
  credentialStoreId: z.ZodString;
28596
28598
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28597
- userId: z.ZodNullable<z.ZodString>;
28598
- createdBy: z.ZodNullable<z.ZodString>;
28599
28599
  type: z.ZodEnum<{
28600
28600
  readonly memory: "memory";
28601
28601
  readonly keychain: "keychain";
28602
28602
  readonly nango: "nango";
28603
28603
  readonly composio: "composio";
28604
28604
  }>;
28605
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28605
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28606
28606
  createdAt: drizzle_orm_pg_core893.PgColumn<{
28607
28607
  name: "created_at";
28608
28608
  tableName: "tools";
@@ -28882,7 +28882,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
28882
28882
  }, {}, {
28883
28883
  length: 256;
28884
28884
  }>;
28885
- }, drizzle_zod15.BuildRefine<{
28885
+ }, drizzle_zod19.BuildRefine<{
28886
28886
  createdAt: drizzle_orm_pg_core893.PgColumn<{
28887
28887
  name: "created_at";
28888
28888
  tableName: "tools";
@@ -29205,11 +29205,11 @@ declare const FunctionListResponse: z.ZodObject<{
29205
29205
  }, z.core.$strip>;
29206
29206
  declare const FunctionToolListResponse: z.ZodObject<{
29207
29207
  data: z.ZodArray<z.ZodObject<{
29208
- name: z.ZodString;
29209
29208
  id: z.ZodString;
29210
- description: z.ZodNullable<z.ZodString>;
29209
+ name: z.ZodString;
29211
29210
  createdAt: z.ZodString;
29212
29211
  updatedAt: z.ZodString;
29212
+ description: z.ZodNullable<z.ZodString>;
29213
29213
  agentId: z.ZodString;
29214
29214
  functionId: z.ZodString;
29215
29215
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -29226,7 +29226,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
29226
29226
  createdAt: z.ZodString;
29227
29227
  updatedAt: z.ZodString;
29228
29228
  functionToolId: z.ZodString;
29229
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29229
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29230
29230
  subAgentId: z.ZodString;
29231
29231
  agentId: z.ZodString;
29232
29232
  projectId: z.ZodString;
@@ -29414,9 +29414,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
29414
29414
  createdAt: z.ZodString;
29415
29415
  updatedAt: z.ZodString;
29416
29416
  toolId: z.ZodString;
29417
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29418
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29419
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29417
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29418
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29419
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29420
29420
  subAgentId: z.ZodString;
29421
29421
  agentId: z.ZodString;
29422
29422
  projectId: z.ZodString;
@@ -29435,10 +29435,10 @@ declare const TriggerListResponse: z.ZodObject<{
29435
29435
  createdAt: z.ZodString;
29436
29436
  updatedAt: z.ZodString;
29437
29437
  enabled: z.ZodBoolean;
29438
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29439
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29438
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29439
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29440
29440
  messageTemplate: z.ZodNullable<z.ZodString>;
29441
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29441
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29442
29442
  name: z.ZodString;
29443
29443
  description: z.ZodNullable<z.ZodString>;
29444
29444
  agentId: z.ZodString;
@@ -29461,8 +29461,8 @@ declare const TriggerListResponse: z.ZodObject<{
29461
29461
  signature: z.ZodObject<{
29462
29462
  source: z.ZodEnum<{
29463
29463
  query: "query";
29464
- header: "header";
29465
29464
  body: "body";
29465
+ header: "header";
29466
29466
  }>;
29467
29467
  key: z.ZodString;
29468
29468
  prefix: z.ZodOptional<z.ZodString>;
@@ -29470,9 +29470,9 @@ declare const TriggerListResponse: z.ZodObject<{
29470
29470
  }, z.core.$strip>;
29471
29471
  signedComponents: z.ZodArray<z.ZodObject<{
29472
29472
  source: z.ZodEnum<{
29473
- header: "header";
29474
29473
  literal: "literal";
29475
29474
  body: "body";
29475
+ header: "header";
29476
29476
  }>;
29477
29477
  key: z.ZodOptional<z.ZodString>;
29478
29478
  value: z.ZodOptional<z.ZodString>;
@@ -29506,8 +29506,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29506
29506
  triggerId: z.ZodString;
29507
29507
  conversationId: z.ZodNullable<z.ZodString>;
29508
29508
  status: z.ZodString;
29509
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29510
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29509
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29510
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29511
29511
  errorMessage: z.ZodNullable<z.ZodString>;
29512
29512
  createdAt: z.ZodString;
29513
29513
  agentId: z.ZodString;
@@ -29533,17 +29533,17 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29533
29533
  }, z.core.$strip>;
29534
29534
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29535
29535
  data: z.ZodObject<{
29536
- name: z.ZodString;
29537
29536
  id: z.ZodString;
29538
- description: z.ZodNullable<z.ZodString>;
29537
+ name: z.ZodString;
29539
29538
  createdAt: z.ZodString;
29540
29539
  updatedAt: z.ZodString;
29541
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29540
+ description: z.ZodNullable<z.ZodString>;
29542
29541
  enabled: z.ZodBoolean;
29543
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29544
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29542
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29543
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29544
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29545
29545
  messageTemplate: z.ZodNullable<z.ZodString>;
29546
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29546
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29547
29547
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29548
29548
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29549
29549
  algorithm: z.ZodEnum<{
@@ -29560,8 +29560,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29560
29560
  signature: z.ZodObject<{
29561
29561
  source: z.ZodEnum<{
29562
29562
  query: "query";
29563
- header: "header";
29564
29563
  body: "body";
29564
+ header: "header";
29565
29565
  }>;
29566
29566
  key: z.ZodString;
29567
29567
  prefix: z.ZodOptional<z.ZodString>;
@@ -29569,9 +29569,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29569
29569
  }, z.core.$strip>;
29570
29570
  signedComponents: z.ZodArray<z.ZodObject<{
29571
29571
  source: z.ZodEnum<{
29572
- header: "header";
29573
29572
  literal: "literal";
29574
29573
  body: "body";
29574
+ header: "header";
29575
29575
  }>;
29576
29576
  key: z.ZodOptional<z.ZodString>;
29577
29577
  value: z.ZodOptional<z.ZodString>;
@@ -29596,17 +29596,17 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29596
29596
  }, z.core.$strip>;
29597
29597
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29598
29598
  data: z.ZodObject<{
29599
- name: z.ZodString;
29600
29599
  id: z.ZodString;
29601
- description: z.ZodNullable<z.ZodString>;
29600
+ name: z.ZodString;
29602
29601
  createdAt: z.ZodString;
29603
29602
  updatedAt: z.ZodString;
29604
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29603
+ description: z.ZodNullable<z.ZodString>;
29605
29604
  enabled: z.ZodBoolean;
29606
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29607
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29605
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29606
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29607
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29608
29608
  messageTemplate: z.ZodNullable<z.ZodString>;
29609
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29609
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29610
29610
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29611
29611
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29612
29612
  algorithm: z.ZodEnum<{
@@ -29623,8 +29623,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29623
29623
  signature: z.ZodObject<{
29624
29624
  source: z.ZodEnum<{
29625
29625
  query: "query";
29626
- header: "header";
29627
29626
  body: "body";
29627
+ header: "header";
29628
29628
  }>;
29629
29629
  key: z.ZodString;
29630
29630
  prefix: z.ZodOptional<z.ZodString>;
@@ -29632,9 +29632,9 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29632
29632
  }, z.core.$strip>;
29633
29633
  signedComponents: z.ZodArray<z.ZodObject<{
29634
29634
  source: z.ZodEnum<{
29635
- header: "header";
29636
29635
  literal: "literal";
29637
29636
  body: "body";
29637
+ header: "header";
29638
29638
  }>;
29639
29639
  key: z.ZodOptional<z.ZodString>;
29640
29640
  value: z.ZodOptional<z.ZodString>;
@@ -29660,17 +29660,17 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29660
29660
  }, z.core.$strip>;
29661
29661
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29662
29662
  data: z.ZodArray<z.ZodObject<{
29663
- name: z.ZodString;
29664
29663
  id: z.ZodString;
29665
- description: z.ZodNullable<z.ZodString>;
29664
+ name: z.ZodString;
29666
29665
  createdAt: z.ZodString;
29667
29666
  updatedAt: z.ZodString;
29668
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29667
+ description: z.ZodNullable<z.ZodString>;
29669
29668
  enabled: z.ZodBoolean;
29670
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29671
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29669
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29670
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29671
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29672
29672
  messageTemplate: z.ZodNullable<z.ZodString>;
29673
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29673
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29674
29674
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29675
29675
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29676
29676
  algorithm: z.ZodEnum<{
@@ -29687,8 +29687,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29687
29687
  signature: z.ZodObject<{
29688
29688
  source: z.ZodEnum<{
29689
29689
  query: "query";
29690
- header: "header";
29691
29690
  body: "body";
29691
+ header: "header";
29692
29692
  }>;
29693
29693
  key: z.ZodString;
29694
29694
  prefix: z.ZodOptional<z.ZodString>;
@@ -29696,9 +29696,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29696
29696
  }, z.core.$strip>;
29697
29697
  signedComponents: z.ZodArray<z.ZodObject<{
29698
29698
  source: z.ZodEnum<{
29699
- header: "header";
29700
29699
  literal: "literal";
29701
29700
  body: "body";
29701
+ header: "header";
29702
29702
  }>;
29703
29703
  key: z.ZodOptional<z.ZodString>;
29704
29704
  value: z.ZodOptional<z.ZodString>;
@@ -29728,13 +29728,14 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29728
29728
  }, z.core.$strip>;
29729
29729
  }, z.core.$strip>;
29730
29730
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
29731
- name: z.ZodString;
29732
29731
  id: z.ZodString;
29733
- description: z.ZodNullable<z.ZodString>;
29732
+ name: z.ZodString;
29734
29733
  createdAt: z.ZodString;
29735
29734
  updatedAt: z.ZodString;
29736
- createdBy: z.ZodNullable<z.ZodString>;
29735
+ ref: z.ZodString;
29736
+ description: z.ZodNullable<z.ZodString>;
29737
29737
  enabled: z.ZodBoolean;
29738
+ createdBy: z.ZodNullable<z.ZodString>;
29738
29739
  messageTemplate: z.ZodNullable<z.ZodString>;
29739
29740
  runAsUserId: z.ZodNullable<z.ZodString>;
29740
29741
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -29744,7 +29745,6 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
29744
29745
  maxRetries: z.ZodInt;
29745
29746
  retryDelaySeconds: z.ZodInt;
29746
29747
  timeoutSeconds: z.ZodInt;
29747
- ref: z.ZodString;
29748
29748
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
29749
29749
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
29750
29750
  completed: "completed";
@@ -29812,13 +29812,14 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
29812
29812
  }, z.core.$strip>;
29813
29813
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
29814
29814
  data: z.ZodArray<z.ZodObject<{
29815
- name: z.ZodString;
29816
29815
  id: z.ZodString;
29817
- description: z.ZodNullable<z.ZodString>;
29816
+ name: z.ZodString;
29818
29817
  createdAt: z.ZodString;
29819
29818
  updatedAt: z.ZodString;
29820
- createdBy: z.ZodNullable<z.ZodString>;
29819
+ ref: z.ZodString;
29820
+ description: z.ZodNullable<z.ZodString>;
29821
29821
  enabled: z.ZodBoolean;
29822
+ createdBy: z.ZodNullable<z.ZodString>;
29822
29823
  messageTemplate: z.ZodNullable<z.ZodString>;
29823
29824
  runAsUserId: z.ZodNullable<z.ZodString>;
29824
29825
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -29828,7 +29829,6 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
29828
29829
  maxRetries: z.ZodInt;
29829
29830
  retryDelaySeconds: z.ZodInt;
29830
29831
  timeoutSeconds: z.ZodInt;
29831
- ref: z.ZodString;
29832
29832
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
29833
29833
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
29834
29834
  completed: "completed";
@@ -29954,12 +29954,12 @@ declare const SubAgentSkillResponse: z.ZodObject<{
29954
29954
  }, z.core.$strip>;
29955
29955
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
29956
29956
  data: z.ZodArray<z.ZodObject<{
29957
- name: z.ZodString;
29958
29957
  id: z.ZodString;
29959
- description: z.ZodString;
29958
+ name: z.ZodString;
29960
29959
  createdAt: z.ZodString;
29961
29960
  updatedAt: z.ZodString;
29962
29961
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
29962
+ description: z.ZodString;
29963
29963
  content: z.ZodString;
29964
29964
  subAgentSkillId: z.ZodString;
29965
29965
  subAgentId: z.ZodString;
@@ -29969,8 +29969,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
29969
29969
  }, z.core.$strip>;
29970
29970
  declare const FullProjectDefinitionResponse: z.ZodObject<{
29971
29971
  data: z.ZodObject<{
29972
- name: z.ZodString;
29973
29972
  id: z.ZodString;
29973
+ name: z.ZodString;
29974
29974
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29975
29975
  models: z.ZodObject<{
29976
29976
  base: z.ZodObject<{
@@ -29991,15 +29991,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
29991
29991
  stepCountIs: z.ZodOptional<z.ZodInt>;
29992
29992
  }, z.core.$strip>>;
29993
29993
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29994
- name: z.ZodString;
29995
29994
  id: z.ZodString;
29995
+ name: z.ZodString;
29996
29996
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29997
29997
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29998
29998
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29999
29999
  executionMode: z.ZodOptional<z.ZodString>;
30000
30000
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30001
- name: z.ZodString;
30002
30001
  id: z.ZodString;
30002
+ name: z.ZodString;
30003
+ createdAt: z.ZodOptional<z.ZodString>;
30004
+ updatedAt: z.ZodOptional<z.ZodString>;
30003
30005
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30004
30006
  models: z.ZodOptional<z.ZodObject<{
30005
30007
  base: z.ZodOptional<z.ZodObject<{
@@ -30015,8 +30017,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30015
30017
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30016
30018
  }, z.core.$strip>>;
30017
30019
  }, z.core.$strip>>;
30018
- createdAt: z.ZodOptional<z.ZodString>;
30019
- updatedAt: z.ZodOptional<z.ZodString>;
30020
30020
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30021
30021
  type: z.ZodLiteral<"internal">;
30022
30022
  canUse: z.ZodArray<z.ZodObject<{
@@ -30051,11 +30051,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30051
30051
  }, z.core.$strip>>;
30052
30052
  }, z.core.$strip>>;
30053
30053
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30054
- name: z.ZodString;
30055
30054
  id: z.ZodString;
30055
+ name: z.ZodString;
30056
30056
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30057
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30057
30058
  tenantId: z.ZodString;
30058
30059
  projectId: z.ZodString;
30060
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30059
30061
  config: z.ZodObject<{
30060
30062
  type: z.ZodLiteral<"mcp">;
30061
30063
  mcp: z.ZodObject<{
@@ -30082,22 +30084,20 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30082
30084
  prompt: z.ZodOptional<z.ZodString>;
30083
30085
  }, z.core.$strip>;
30084
30086
  }, z.core.$strip>;
30085
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30086
30087
  credentialScope: z.ZodOptional<z.ZodString>;
30087
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30088
30088
  imageUrl: z.ZodOptional<z.ZodString>;
30089
30089
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30090
30090
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30091
30091
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
30092
30092
  }>, z.core.$strip>>>;
30093
30093
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30094
- name: z.ZodString;
30095
30094
  id: z.ZodString;
30095
+ name: z.ZodString;
30096
30096
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30097
30097
  tenantId: z.ZodString;
30098
30098
  projectId: z.ZodString;
30099
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30100
30099
  baseUrl: z.ZodURL;
30100
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30101
30101
  }>, z.core.$strip>>>;
30102
30102
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30103
30103
  id: z.ZodString;
@@ -30105,8 +30105,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30105
30105
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30106
30106
  }, z.core.$strip>>>;
30107
30107
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
30108
- name: z.ZodString;
30109
30108
  id: z.ZodString;
30109
+ name: z.ZodString;
30110
30110
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30111
30111
  tenantId: z.ZodString;
30112
30112
  projectId: z.ZodString;
@@ -30120,17 +30120,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30120
30120
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30121
30121
  }, z.core.$strip>>>;
30122
30122
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30123
- name: z.ZodString;
30124
30123
  id: z.ZodOptional<z.ZodString>;
30124
+ name: z.ZodString;
30125
30125
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30126
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30127
30126
  enabled: z.ZodOptional<z.ZodBoolean>;
30128
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30129
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30127
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30128
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30129
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30130
30130
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30131
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30131
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30132
30132
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30133
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30133
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30134
30134
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30135
30135
  }, z.core.$strip>>>;
30136
30136
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -30173,11 +30173,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30173
30173
  prompt: z.ZodOptional<z.ZodString>;
30174
30174
  }, z.core.$strip>>;
30175
30175
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30176
- name: z.ZodString;
30177
30176
  id: z.ZodString;
30177
+ name: z.ZodString;
30178
30178
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30179
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30179
30180
  tenantId: z.ZodString;
30180
30181
  projectId: z.ZodString;
30182
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30181
30183
  config: z.ZodObject<{
30182
30184
  type: z.ZodLiteral<"mcp">;
30183
30185
  mcp: z.ZodObject<{
@@ -30204,17 +30206,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30204
30206
  prompt: z.ZodOptional<z.ZodString>;
30205
30207
  }, z.core.$strip>;
30206
30208
  }, z.core.$strip>;
30207
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30208
30209
  credentialScope: z.ZodOptional<z.ZodString>;
30209
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30210
30210
  imageUrl: z.ZodOptional<z.ZodString>;
30211
30211
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30212
30212
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30213
30213
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
30214
30214
  }>, z.core.$strip>>;
30215
30215
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
30216
- name: z.ZodString;
30217
30216
  id: z.ZodString;
30217
+ name: z.ZodString;
30218
30218
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30219
30219
  tenantId: z.ZodString;
30220
30220
  projectId: z.ZodString;
@@ -30229,9 +30229,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30229
30229
  }, z.core.$strip>>>;
30230
30230
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30231
30231
  name: z.ZodString;
30232
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
30232
30233
  description: z.ZodString;
30233
30234
  tenantId: z.ZodString;
30234
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
30235
30235
  content: z.ZodString;
30236
30236
  projectId: z.ZodString;
30237
30237
  }>, z.core.$strip>>>;
@@ -30289,13 +30289,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30289
30289
  in: {};
30290
30290
  }>>>;
30291
30291
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30292
- name: z.ZodString;
30293
30292
  id: z.ZodString;
30293
+ name: z.ZodString;
30294
30294
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30295
30295
  tenantId: z.ZodString;
30296
30296
  projectId: z.ZodString;
30297
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30298
30297
  baseUrl: z.ZodURL;
30298
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30299
30299
  }>, z.core.$strip>>>;
30300
30300
  statusUpdates: z.ZodOptional<z.ZodObject<{
30301
30301
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30313,13 +30313,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30313
30313
  }, z.core.$strip>>>;
30314
30314
  }, z.core.$strict>>;
30315
30315
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30316
- name: z.ZodString;
30317
30316
  id: z.ZodString;
30317
+ name: z.ZodString;
30318
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30319
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30318
30320
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30319
30321
  credentialStoreId: z.ZodString;
30320
30322
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30321
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30322
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30323
30323
  type: z.ZodEnum<{
30324
30324
  readonly memory: "memory";
30325
30325
  readonly keychain: "keychain";
@@ -30336,8 +30336,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30336
30336
  }, z.core.$strip>;
30337
30337
  declare const FullProjectSelectResponse: z.ZodObject<{
30338
30338
  data: z.ZodObject<{
30339
- name: z.ZodString;
30340
30339
  id: z.ZodString;
30340
+ name: z.ZodString;
30341
+ createdAt: z.ZodString;
30342
+ updatedAt: z.ZodString;
30341
30343
  description: z.ZodNullable<z.ZodString>;
30342
30344
  models: z.ZodNullable<z.ZodObject<{
30343
30345
  base: z.ZodObject<{
@@ -30357,20 +30359,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30357
30359
  transferCountIs: z.ZodOptional<z.ZodInt>;
30358
30360
  stepCountIs: z.ZodOptional<z.ZodInt>;
30359
30361
  }, z.core.$strip>>;
30360
- createdAt: z.ZodString;
30361
- updatedAt: z.ZodString;
30362
30362
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30363
- name: z.ZodString;
30364
30363
  id: z.ZodString;
30365
- description: z.ZodNullable<z.ZodString>;
30364
+ name: z.ZodString;
30366
30365
  createdAt: z.ZodString;
30367
30366
  updatedAt: z.ZodString;
30367
+ description: z.ZodNullable<z.ZodString>;
30368
30368
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30369
30369
  contextConfigId: z.ZodNullable<z.ZodString>;
30370
30370
  executionMode: z.ZodString;
30371
30371
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30372
- name: z.ZodString;
30373
30372
  id: z.ZodString;
30373
+ name: z.ZodString;
30374
+ createdAt: z.ZodString;
30375
+ updatedAt: z.ZodString;
30374
30376
  description: z.ZodNullable<z.ZodString>;
30375
30377
  models: z.ZodNullable<z.ZodType<{
30376
30378
  base?: {
@@ -30434,8 +30436,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30434
30436
  }, {
30435
30437
  stepCountIs?: number | undefined;
30436
30438
  }>>>;
30437
- createdAt: z.ZodString;
30438
- updatedAt: z.ZodString;
30439
30439
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30440
30440
  type: z.ZodLiteral<"internal">;
30441
30441
  canUse: z.ZodArray<z.ZodObject<{
@@ -30507,11 +30507,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30507
30507
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30508
30508
  }, z.core.$strip>>>;
30509
30509
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30510
- name: z.ZodString;
30511
30510
  id: z.ZodString;
30512
- description: z.ZodNullable<z.ZodString>;
30511
+ name: z.ZodString;
30513
30512
  createdAt: z.ZodString;
30514
30513
  updatedAt: z.ZodString;
30514
+ description: z.ZodNullable<z.ZodString>;
30515
30515
  agentId: z.ZodString;
30516
30516
  functionId: z.ZodString;
30517
30517
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -30597,11 +30597,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30597
30597
  id: z.ZodString;
30598
30598
  }>, z.core.$strip>>;
30599
30599
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30600
- name: z.ZodString;
30601
30600
  id: z.ZodString;
30602
- description: z.ZodNullable<z.ZodString>;
30601
+ name: z.ZodString;
30603
30602
  createdAt: z.ZodString;
30604
30603
  updatedAt: z.ZodString;
30604
+ description: z.ZodNullable<z.ZodString>;
30605
30605
  agentId: z.ZodString;
30606
30606
  functionId: z.ZodString;
30607
30607
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -30745,22 +30745,22 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30745
30745
  }, z.core.$strip>>>;
30746
30746
  }, z.core.$strict>>;
30747
30747
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30748
- name: z.ZodString;
30749
30748
  id: z.ZodString;
30749
+ name: z.ZodString;
30750
30750
  createdAt: z.ZodString;
30751
30751
  updatedAt: z.ZodString;
30752
+ userId: z.ZodNullable<z.ZodString>;
30753
+ createdBy: z.ZodNullable<z.ZodString>;
30752
30754
  toolId: z.ZodNullable<z.ZodString>;
30753
30755
  credentialStoreId: z.ZodString;
30754
30756
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30755
- userId: z.ZodNullable<z.ZodString>;
30756
- createdBy: z.ZodNullable<z.ZodString>;
30757
30757
  type: z.ZodEnum<{
30758
30758
  readonly memory: "memory";
30759
30759
  readonly keychain: "keychain";
30760
30760
  readonly nango: "nango";
30761
30761
  readonly composio: "composio";
30762
30762
  }>;
30763
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
30763
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
30764
30764
  createdAt: drizzle_orm_pg_core893.PgColumn<{
30765
30765
  name: "created_at";
30766
30766
  tableName: "tools";
@@ -31040,7 +31040,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31040
31040
  }, {}, {
31041
31041
  length: 256;
31042
31042
  }>;
31043
- }, drizzle_zod15.BuildRefine<{
31043
+ }, drizzle_zod19.BuildRefine<{
31044
31044
  createdAt: drizzle_orm_pg_core893.PgColumn<{
31045
31045
  name: "created_at";
31046
31046
  tableName: "tools";
@@ -31343,8 +31343,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31343
31343
  }, z.core.$strip>;
31344
31344
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31345
31345
  data: z.ZodObject<{
31346
- name: z.ZodString;
31347
31346
  id: z.ZodString;
31347
+ name: z.ZodString;
31348
+ createdAt: z.ZodString;
31349
+ updatedAt: z.ZodString;
31348
31350
  description: z.ZodNullable<z.ZodString>;
31349
31351
  models: z.ZodNullable<z.ZodObject<{
31350
31352
  base: z.ZodObject<{
@@ -31364,8 +31366,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31364
31366
  transferCountIs: z.ZodOptional<z.ZodInt>;
31365
31367
  stepCountIs: z.ZodOptional<z.ZodInt>;
31366
31368
  }, z.core.$strip>>;
31367
- createdAt: z.ZodString;
31368
- updatedAt: z.ZodString;
31369
31369
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31370
31370
  createdAt: z.ZodString;
31371
31371
  updatedAt: z.ZodString;
@@ -31396,11 +31396,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31396
31396
  id: z.ZodString;
31397
31397
  }>, z.core.$strip>>;
31398
31398
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31399
- name: z.ZodString;
31400
31399
  id: z.ZodString;
31401
- description: z.ZodNullable<z.ZodString>;
31400
+ name: z.ZodString;
31402
31401
  createdAt: z.ZodString;
31403
31402
  updatedAt: z.ZodString;
31403
+ description: z.ZodNullable<z.ZodString>;
31404
31404
  agentId: z.ZodString;
31405
31405
  functionId: z.ZodString;
31406
31406
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -31544,22 +31544,22 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31544
31544
  }, z.core.$strip>>>;
31545
31545
  }, z.core.$strict>>;
31546
31546
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31547
- name: z.ZodString;
31548
31547
  id: z.ZodString;
31548
+ name: z.ZodString;
31549
31549
  createdAt: z.ZodString;
31550
31550
  updatedAt: z.ZodString;
31551
+ userId: z.ZodNullable<z.ZodString>;
31552
+ createdBy: z.ZodNullable<z.ZodString>;
31551
31553
  toolId: z.ZodNullable<z.ZodString>;
31552
31554
  credentialStoreId: z.ZodString;
31553
31555
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31554
- userId: z.ZodNullable<z.ZodString>;
31555
- createdBy: z.ZodNullable<z.ZodString>;
31556
31556
  type: z.ZodEnum<{
31557
31557
  readonly memory: "memory";
31558
31558
  readonly keychain: "keychain";
31559
31559
  readonly nango: "nango";
31560
31560
  readonly composio: "composio";
31561
31561
  }>;
31562
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
31562
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
31563
31563
  createdAt: drizzle_orm_pg_core893.PgColumn<{
31564
31564
  name: "created_at";
31565
31565
  tableName: "tools";
@@ -31839,7 +31839,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31839
31839
  }, {}, {
31840
31840
  length: 256;
31841
31841
  }>;
31842
- }, drizzle_zod15.BuildRefine<{
31842
+ }, drizzle_zod19.BuildRefine<{
31843
31843
  createdAt: drizzle_orm_pg_core893.PgColumn<{
31844
31844
  name: "created_at";
31845
31845
  tableName: "tools";
@@ -32136,11 +32136,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32136
32136
  }>>>;
32137
32137
  }, z.core.$strip>>>;
32138
32138
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32139
- name: z.ZodString;
32140
32139
  id: z.ZodString;
32141
- description: z.ZodNullable<z.ZodString>;
32140
+ name: z.ZodString;
32142
32141
  createdAt: z.ZodString;
32143
32142
  updatedAt: z.ZodString;
32143
+ description: z.ZodNullable<z.ZodString>;
32144
32144
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32145
32145
  contextConfigId: z.ZodNullable<z.ZodString>;
32146
32146
  executionMode: z.ZodString;
@@ -32190,11 +32190,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32190
32190
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32191
32191
  }, z.core.$strip>>>;
32192
32192
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32193
- name: z.ZodString;
32194
32193
  id: z.ZodString;
32195
- description: z.ZodNullable<z.ZodString>;
32194
+ name: z.ZodString;
32196
32195
  createdAt: z.ZodString;
32197
32196
  updatedAt: z.ZodString;
32197
+ description: z.ZodNullable<z.ZodString>;
32198
32198
  agentId: z.ZodString;
32199
32199
  functionId: z.ZodString;
32200
32200
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -32250,8 +32250,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32250
32250
  }, z.core.$strip>>;
32251
32251
  prompt: z.ZodNullable<z.ZodString>;
32252
32252
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32253
- name: z.ZodString;
32254
32253
  id: z.ZodString;
32254
+ name: z.ZodString;
32255
+ createdAt: z.ZodString;
32256
+ updatedAt: z.ZodString;
32255
32257
  description: z.ZodNullable<z.ZodString>;
32256
32258
  models: z.ZodNullable<z.ZodType<{
32257
32259
  base?: {
@@ -32315,8 +32317,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32315
32317
  }, {
32316
32318
  stepCountIs?: number | undefined;
32317
32319
  }>>>;
32318
- createdAt: z.ZodString;
32319
- updatedAt: z.ZodString;
32320
32320
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32321
32321
  type: z.ZodLiteral<"internal">;
32322
32322
  canUse: z.ZodArray<z.ZodObject<{
@@ -32356,15 +32356,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32356
32356
  }, z.core.$strip>;
32357
32357
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32358
32358
  data: z.ZodObject<{
32359
- name: z.ZodString;
32360
32359
  id: z.ZodString;
32360
+ name: z.ZodString;
32361
32361
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32362
32362
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32363
32363
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32364
32364
  executionMode: z.ZodOptional<z.ZodString>;
32365
32365
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32366
- name: z.ZodString;
32367
32366
  id: z.ZodString;
32367
+ name: z.ZodString;
32368
+ createdAt: z.ZodOptional<z.ZodString>;
32369
+ updatedAt: z.ZodOptional<z.ZodString>;
32368
32370
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32369
32371
  models: z.ZodOptional<z.ZodObject<{
32370
32372
  base: z.ZodOptional<z.ZodObject<{
@@ -32380,8 +32382,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32380
32382
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32381
32383
  }, z.core.$strip>>;
32382
32384
  }, z.core.$strip>>;
32383
- createdAt: z.ZodOptional<z.ZodString>;
32384
- updatedAt: z.ZodOptional<z.ZodString>;
32385
32385
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32386
32386
  type: z.ZodLiteral<"internal">;
32387
32387
  canUse: z.ZodArray<z.ZodObject<{
@@ -32416,11 +32416,13 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32416
32416
  }, z.core.$strip>>;
32417
32417
  }, z.core.$strip>>;
32418
32418
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32419
- name: z.ZodString;
32420
32419
  id: z.ZodString;
32420
+ name: z.ZodString;
32421
32421
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32422
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32422
32423
  tenantId: z.ZodString;
32423
32424
  projectId: z.ZodString;
32425
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32424
32426
  config: z.ZodObject<{
32425
32427
  type: z.ZodLiteral<"mcp">;
32426
32428
  mcp: z.ZodObject<{
@@ -32447,22 +32449,20 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32447
32449
  prompt: z.ZodOptional<z.ZodString>;
32448
32450
  }, z.core.$strip>;
32449
32451
  }, z.core.$strip>;
32450
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32451
32452
  credentialScope: z.ZodOptional<z.ZodString>;
32452
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32453
32453
  imageUrl: z.ZodOptional<z.ZodString>;
32454
32454
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32455
32455
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32456
32456
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
32457
32457
  }>, z.core.$strip>>>;
32458
32458
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32459
- name: z.ZodString;
32460
32459
  id: z.ZodString;
32460
+ name: z.ZodString;
32461
32461
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32462
32462
  tenantId: z.ZodString;
32463
32463
  projectId: z.ZodString;
32464
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32465
32464
  baseUrl: z.ZodURL;
32465
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32466
32466
  }>, z.core.$strip>>>;
32467
32467
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32468
32468
  id: z.ZodString;
@@ -32470,8 +32470,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32470
32470
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32471
32471
  }, z.core.$strip>>>;
32472
32472
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32473
- name: z.ZodString;
32474
32473
  id: z.ZodString;
32474
+ name: z.ZodString;
32475
32475
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32476
32476
  tenantId: z.ZodString;
32477
32477
  projectId: z.ZodString;
@@ -32485,17 +32485,17 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32485
32485
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32486
32486
  }, z.core.$strip>>>;
32487
32487
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32488
- name: z.ZodString;
32489
32488
  id: z.ZodOptional<z.ZodString>;
32489
+ name: z.ZodString;
32490
32490
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32491
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32492
32491
  enabled: z.ZodOptional<z.ZodBoolean>;
32493
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
32494
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
32492
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32493
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32494
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32495
32495
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32496
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
32496
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32497
32497
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32498
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
32498
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32499
32499
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32500
32500
  }, z.core.$strip>>>;
32501
32501
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -32540,17 +32540,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32540
32540
  }, z.core.$strip>;
32541
32541
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32542
32542
  data: z.ZodObject<{
32543
- name: z.ZodString;
32544
32543
  id: z.ZodString;
32545
- description: z.ZodNullable<z.ZodString>;
32544
+ name: z.ZodString;
32546
32545
  createdAt: z.ZodString;
32547
32546
  updatedAt: z.ZodString;
32547
+ description: z.ZodNullable<z.ZodString>;
32548
32548
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32549
32549
  contextConfigId: z.ZodNullable<z.ZodString>;
32550
32550
  executionMode: z.ZodString;
32551
32551
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32552
- name: z.ZodString;
32553
32552
  id: z.ZodString;
32553
+ name: z.ZodString;
32554
+ createdAt: z.ZodString;
32555
+ updatedAt: z.ZodString;
32554
32556
  description: z.ZodNullable<z.ZodString>;
32555
32557
  models: z.ZodNullable<z.ZodType<{
32556
32558
  base?: {
@@ -32614,8 +32616,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32614
32616
  }, {
32615
32617
  stepCountIs?: number | undefined;
32616
32618
  }>>>;
32617
- createdAt: z.ZodString;
32618
- updatedAt: z.ZodString;
32619
32619
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32620
32620
  type: z.ZodLiteral<"internal">;
32621
32621
  canUse: z.ZodArray<z.ZodObject<{
@@ -32687,11 +32687,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32687
32687
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32688
32688
  }, z.core.$strip>>>;
32689
32689
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32690
- name: z.ZodString;
32691
32690
  id: z.ZodString;
32692
- description: z.ZodNullable<z.ZodString>;
32691
+ name: z.ZodString;
32693
32692
  createdAt: z.ZodString;
32694
32693
  updatedAt: z.ZodString;
32694
+ description: z.ZodNullable<z.ZodString>;
32695
32695
  agentId: z.ZodString;
32696
32696
  functionId: z.ZodString;
32697
32697
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -32769,11 +32769,13 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
32769
32769
  }, z.core.$strip>;
32770
32770
  declare const McpToolResponse: z.ZodObject<{
32771
32771
  data: z.ZodObject<{
32772
- name: z.ZodString;
32773
32772
  id: z.ZodString;
32773
+ name: z.ZodString;
32774
32774
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32775
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32775
32776
  tenantId: z.ZodString;
32776
32777
  projectId: z.ZodString;
32778
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32777
32779
  config: z.ZodObject<{
32778
32780
  type: z.ZodLiteral<"mcp">;
32779
32781
  mcp: z.ZodObject<{
@@ -32800,9 +32802,7 @@ declare const McpToolResponse: z.ZodObject<{
32800
32802
  prompt: z.ZodOptional<z.ZodString>;
32801
32803
  }, z.core.$strip>;
32802
32804
  }, z.core.$strip>;
32803
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32804
32805
  credentialScope: z.ZodOptional<z.ZodString>;
32805
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32806
32806
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32807
32807
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32808
32808
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -32830,11 +32830,13 @@ declare const McpToolResponse: z.ZodObject<{
32830
32830
  }, z.core.$strip>;
32831
32831
  declare const McpToolListResponse: z.ZodObject<{
32832
32832
  data: z.ZodArray<z.ZodObject<{
32833
- name: z.ZodString;
32834
32833
  id: z.ZodString;
32834
+ name: z.ZodString;
32835
32835
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32836
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32836
32837
  tenantId: z.ZodString;
32837
32838
  projectId: z.ZodString;
32839
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32838
32840
  config: z.ZodObject<{
32839
32841
  type: z.ZodLiteral<"mcp">;
32840
32842
  mcp: z.ZodObject<{
@@ -32861,9 +32863,7 @@ declare const McpToolListResponse: z.ZodObject<{
32861
32863
  prompt: z.ZodOptional<z.ZodString>;
32862
32864
  }, z.core.$strip>;
32863
32865
  }, z.core.$strip>;
32864
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32865
32866
  credentialScope: z.ZodOptional<z.ZodString>;
32866
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32867
32867
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32868
32868
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32869
32869
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -32900,7 +32900,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
32900
32900
  createdAt: z.ZodString;
32901
32901
  updatedAt: z.ZodString;
32902
32902
  targetAgentId: z.ZodString;
32903
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
32903
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32904
32904
  subAgentId: z.ZodString;
32905
32905
  agentId: z.ZodString;
32906
32906
  projectId: z.ZodString;
@@ -32913,7 +32913,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
32913
32913
  createdAt: z.ZodString;
32914
32914
  updatedAt: z.ZodString;
32915
32915
  targetAgentId: z.ZodString;
32916
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
32916
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32917
32917
  subAgentId: z.ZodString;
32918
32918
  agentId: z.ZodString;
32919
32919
  projectId: z.ZodString;
@@ -32932,7 +32932,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
32932
32932
  createdAt: z.ZodString;
32933
32933
  updatedAt: z.ZodString;
32934
32934
  externalAgentId: z.ZodString;
32935
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
32935
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32936
32936
  subAgentId: z.ZodString;
32937
32937
  agentId: z.ZodString;
32938
32938
  projectId: z.ZodString;
@@ -32945,7 +32945,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
32945
32945
  createdAt: z.ZodString;
32946
32946
  updatedAt: z.ZodString;
32947
32947
  externalAgentId: z.ZodString;
32948
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
32948
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32949
32949
  subAgentId: z.ZodString;
32950
32950
  agentId: z.ZodString;
32951
32951
  projectId: z.ZodString;
@@ -33186,7 +33186,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
33186
33186
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
33187
33187
  ref: z.ZodOptional<z.ZodString>;
33188
33188
  }, z.core.$strip>;
33189
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
33189
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
33190
33190
  id: drizzle_orm_pg_core893.PgColumn<{
33191
33191
  name: "id";
33192
33192
  tableName: "project_metadata";
@@ -33280,7 +33280,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
33280
33280
  }, {}, {
33281
33281
  length: 512;
33282
33282
  }>;
33283
- }, drizzle_zod15.BuildRefine<{
33283
+ }, drizzle_zod19.BuildRefine<{
33284
33284
  id: drizzle_orm_pg_core893.PgColumn<{
33285
33285
  name: "id";
33286
33286
  tableName: "project_metadata";
@@ -33391,10 +33391,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
33391
33391
  disconnected: "disconnected";
33392
33392
  }>;
33393
33393
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
33394
- User: "User";
33395
33394
  Organization: "Organization";
33395
+ User: "User";
33396
33396
  }>;
33397
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
33397
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
33398
33398
  createdAt: drizzle_orm_pg_core893.PgColumn<{
33399
33399
  name: "created_at";
33400
33400
  tableName: "work_app_github_installations";
@@ -33487,7 +33487,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33487
33487
  tableName: "work_app_github_installations";
33488
33488
  dataType: "string";
33489
33489
  columnType: "PgVarchar";
33490
- data: "User" | "Organization";
33490
+ data: "Organization" | "User";
33491
33491
  driverParam: string;
33492
33492
  notNull: true;
33493
33493
  hasDefault: false;
@@ -33500,7 +33500,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33500
33500
  generated: undefined;
33501
33501
  }, {}, {
33502
33502
  length: 20;
33503
- $type: "User" | "Organization";
33503
+ $type: "Organization" | "User";
33504
33504
  }>;
33505
33505
  status: drizzle_orm_pg_core893.PgColumn<{
33506
33506
  name: "status";
@@ -33560,7 +33560,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33560
33560
  }, {}, {
33561
33561
  length: 256;
33562
33562
  }>;
33563
- }, drizzle_zod15.BuildRefine<{
33563
+ }, drizzle_zod19.BuildRefine<{
33564
33564
  createdAt: drizzle_orm_pg_core893.PgColumn<{
33565
33565
  name: "created_at";
33566
33566
  tableName: "work_app_github_installations";
@@ -33653,7 +33653,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33653
33653
  tableName: "work_app_github_installations";
33654
33654
  dataType: "string";
33655
33655
  columnType: "PgVarchar";
33656
- data: "User" | "Organization";
33656
+ data: "Organization" | "User";
33657
33657
  driverParam: string;
33658
33658
  notNull: true;
33659
33659
  hasDefault: false;
@@ -33666,7 +33666,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33666
33666
  generated: undefined;
33667
33667
  }, {}, {
33668
33668
  length: 20;
33669
- $type: "User" | "Organization";
33669
+ $type: "Organization" | "User";
33670
33670
  }>;
33671
33671
  status: drizzle_orm_pg_core893.PgColumn<{
33672
33672
  name: "status";
@@ -33729,13 +33729,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33729
33729
  }, undefined>, undefined>;
33730
33730
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
33731
33731
  id: z.ZodString;
33732
- tenantId: z.ZodString;
33733
33732
  accountId: z.ZodString;
33733
+ tenantId: z.ZodString;
33734
33734
  installationId: z.ZodString;
33735
33735
  accountLogin: z.ZodString;
33736
33736
  accountType: z.ZodEnum<{
33737
- User: "User";
33738
33737
  Organization: "Organization";
33738
+ User: "User";
33739
33739
  }>;
33740
33740
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33741
33741
  pending: "pending";
@@ -33760,13 +33760,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
33760
33760
  }>, z.core.$strip>;
33761
33761
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
33762
33762
  id: z.ZodString;
33763
- tenantId: z.ZodString;
33764
33763
  accountId: z.ZodString;
33764
+ tenantId: z.ZodString;
33765
33765
  installationId: z.ZodString;
33766
33766
  accountLogin: z.ZodString;
33767
33767
  accountType: z.ZodEnum<{
33768
- User: "User";
33769
33768
  Organization: "Organization";
33769
+ User: "User";
33770
33770
  }>;
33771
33771
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33772
33772
  pending: "pending";
@@ -33775,7 +33775,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
33775
33775
  disconnected: "disconnected";
33776
33776
  }>>>;
33777
33777
  }>, z.core.$strip>;
33778
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
33778
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
33779
33779
  createdAt: drizzle_orm_pg_core893.PgColumn<{
33780
33780
  name: "created_at";
33781
33781
  tableName: "work_app_github_repositories";
@@ -33920,7 +33920,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"se
33920
33920
  identity: undefined;
33921
33921
  generated: undefined;
33922
33922
  }, {}, {}>;
33923
- }, drizzle_zod15.BuildRefine<{
33923
+ }, drizzle_zod19.BuildRefine<{
33924
33924
  createdAt: drizzle_orm_pg_core893.PgColumn<{
33925
33925
  name: "created_at";
33926
33926
  tableName: "work_app_github_repositories";
@@ -34086,7 +34086,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
34086
34086
  repositoryFullName: z.ZodString;
34087
34087
  private: z.ZodOptional<z.ZodBoolean>;
34088
34088
  }>>, z.core.$strip>;
34089
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
34089
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
34090
34090
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34091
34091
  name: "created_at";
34092
34092
  tableName: "work_app_github_project_repository_access";
@@ -34197,7 +34197,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
34197
34197
  }, {}, {
34198
34198
  length: 256;
34199
34199
  }>;
34200
- }, drizzle_zod15.BuildRefine<{
34200
+ }, drizzle_zod19.BuildRefine<{
34201
34201
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34202
34202
  name: "created_at";
34203
34203
  tableName: "work_app_github_project_repository_access";
@@ -34309,7 +34309,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
34309
34309
  length: 256;
34310
34310
  }>;
34311
34311
  }, undefined>, undefined>;
34312
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
34312
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
34313
34313
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34314
34314
  name: "created_at";
34315
34315
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -34439,7 +34439,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.Bu
34439
34439
  }, {}, {
34440
34440
  length: 256;
34441
34441
  }>;
34442
- }, drizzle_zod15.BuildRefine<{
34442
+ }, drizzle_zod19.BuildRefine<{
34443
34443
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34444
34444
  name: "created_at";
34445
34445
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -34593,7 +34593,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
34593
34593
  all: "all";
34594
34594
  selected: "selected";
34595
34595
  }>;
34596
- repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
34596
+ repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
34597
34597
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34598
34598
  name: "created_at";
34599
34599
  tableName: "work_app_github_repositories";
@@ -34738,7 +34738,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
34738
34738
  identity: undefined;
34739
34739
  generated: undefined;
34740
34740
  }, {}, {}>;
34741
- }, drizzle_zod15.BuildRefine<{
34741
+ }, drizzle_zod19.BuildRefine<{
34742
34742
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34743
34743
  name: "created_at";
34744
34744
  tableName: "work_app_github_repositories";
@@ -34885,7 +34885,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
34885
34885
  }, {}, {}>;
34886
34886
  }, undefined>, undefined>>;
34887
34887
  }, z.core.$strip>;
34888
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
34888
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
34889
34889
  createdAt: drizzle_orm_pg_core893.PgColumn<{
34890
34890
  name: "created_at";
34891
34891
  tableName: "work_app_slack_channel_agent_configs";
@@ -35123,7 +35123,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
35123
35123
  identity: undefined;
35124
35124
  generated: undefined;
35125
35125
  }, {}, {}>;
35126
- }, drizzle_zod15.BuildRefine<{
35126
+ }, drizzle_zod19.BuildRefine<{
35127
35127
  createdAt: drizzle_orm_pg_core893.PgColumn<{
35128
35128
  name: "created_at";
35129
35129
  tableName: "work_app_slack_channel_agent_configs";
@@ -35362,7 +35362,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
35362
35362
  generated: undefined;
35363
35363
  }, {}, {}>;
35364
35364
  }, undefined>, undefined>;
35365
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
35365
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
35366
35366
  createdAt: drizzle_orm_pg_core893.PgColumn<{
35367
35367
  name: "created_at";
35368
35368
  tableName: "work_app_slack_workspaces";
@@ -35657,7 +35657,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"sele
35657
35657
  identity: undefined;
35658
35658
  generated: undefined;
35659
35659
  }, {}, {}>;
35660
- }, drizzle_zod15.BuildRefine<{
35660
+ }, drizzle_zod19.BuildRefine<{
35661
35661
  createdAt: drizzle_orm_pg_core893.PgColumn<{
35662
35662
  name: "created_at";
35663
35663
  tableName: "work_app_slack_workspaces";
@@ -35997,7 +35997,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
35997
35997
  dmEnabled: z.ZodBoolean;
35998
35998
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
35999
35999
  }, z.core.$strip>;
36000
- declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
36000
+ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
36001
36001
  createdAt: drizzle_orm_pg_core893.PgColumn<{
36002
36002
  name: "created_at";
36003
36003
  tableName: "user_profile";
@@ -36102,7 +36102,7 @@ declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
36102
36102
  }, {}, {
36103
36103
  $type: Record<string, unknown>;
36104
36104
  }>;
36105
- }, drizzle_zod15.BuildRefine<{
36105
+ }, drizzle_zod19.BuildRefine<{
36106
36106
  createdAt: drizzle_orm_pg_core893.PgColumn<{
36107
36107
  name: "created_at";
36108
36108
  tableName: "user_profile";
@@ -36271,8 +36271,8 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
36271
36271
  }>;
36272
36272
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36273
36273
  id: z.ZodString;
36274
- tenantId: z.ZodString;
36275
36274
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36275
+ tenantId: z.ZodString;
36276
36276
  projectId: z.ZodString;
36277
36277
  agentId: z.ZodString;
36278
36278
  conversationId: z.ZodString;
@@ -36289,8 +36289,8 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36289
36289
  }>;
36290
36290
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
36291
36291
  id: z.ZodOptional<z.ZodString>;
36292
- tenantId: z.ZodOptional<z.ZodString>;
36293
36292
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36293
+ tenantId: z.ZodOptional<z.ZodString>;
36294
36294
  projectId: z.ZodOptional<z.ZodString>;
36295
36295
  agentId: z.ZodOptional<z.ZodString>;
36296
36296
  conversationId: z.ZodOptional<z.ZodString>;