@inkeep/agents-core 0.58.5 → 0.58.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +135 -135
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/constants/otel-attributes.d.ts +22 -0
  7. package/dist/constants/otel-attributes.js +22 -0
  8. package/dist/data-access/manage/agents.d.ts +10 -10
  9. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  10. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  11. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  12. package/dist/data-access/manage/functionTools.d.ts +8 -8
  13. package/dist/data-access/manage/skills.d.ts +11 -11
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  15. package/dist/data-access/manage/subAgentRelations.d.ts +16 -16
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  17. package/dist/data-access/manage/subAgents.d.ts +6 -6
  18. package/dist/data-access/manage/tools.d.ts +12 -12
  19. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  20. package/dist/data-access/runtime/conversations.d.ts +27 -27
  21. package/dist/data-access/runtime/messages.d.ts +9 -9
  22. package/dist/data-access/runtime/tasks.d.ts +6 -6
  23. package/dist/db/manage/manage-schema.d.ts +449 -449
  24. package/dist/db/runtime/runtime-schema.d.ts +318 -318
  25. package/dist/middleware/no-auth.d.ts +2 -2
  26. package/dist/validation/dolt-schemas.d.ts +1 -1
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +522 -522
  29. package/package.json +3 -3
@@ -4,7 +4,7 @@ import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core217 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod15 from "drizzle-zod";
7
+ import * as drizzle_zod19 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -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_core217.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_core217.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -822,6 +822,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
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
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
829
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
@@ -848,10 +850,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
850
  }, {
849
851
  stepCountIs?: number | undefined;
850
852
  }>>>>>>;
851
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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_core217.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_core217.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_core217.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1588,7 +1588,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1588
1588
  }, {}, {
1589
1589
  length: 256;
1590
1590
  }>;
1591
- }, drizzle_zod15.BuildRefine<{
1591
+ }, drizzle_zod19.BuildRefine<{
1592
1592
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1593
1593
  name: "created_at";
1594
1594
  tableName: "agent";
@@ -1887,7 +1887,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1887
1887
  length: 256;
1888
1888
  }>;
1889
1889
  }, undefined>, undefined>;
1890
- declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1890
+ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1891
1891
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1892
1892
  name: "created_at";
1893
1893
  tableName: "agent";
@@ -2185,7 +2185,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2185
2185
  }, {}, {
2186
2186
  length: 256;
2187
2187
  }>;
2188
- }, drizzle_zod15.BuildRefine<Pick<{
2188
+ }, drizzle_zod19.BuildRefine<Pick<{
2189
2189
  createdAt: drizzle_orm_pg_core217.PgColumn<{
2190
2190
  name: "created_at";
2191
2191
  tableName: "agent";
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2751,6 +2751,8 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  name: z.ZodString;
2754
+ createdAt: z.ZodOptional<z.ZodString>;
2755
+ updatedAt: z.ZodOptional<z.ZodString>;
2754
2756
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
2757
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2758
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2816,8 +2818,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2816
2818
  }, {
2817
2819
  transferCountIs?: number | undefined;
2818
2820
  }>>>>;
2819
- createdAt: z.ZodOptional<z.ZodString>;
2820
- updatedAt: z.ZodOptional<z.ZodString>;
2821
2821
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2822
2822
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
2823
  enabled?: boolean | undefined;
@@ -2881,6 +2881,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2881
2881
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
2882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
2883
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
2886
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
2887
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
2888
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -2946,8 +2948,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2946
2948
  }, {
2947
2949
  transferCountIs?: number | undefined;
2948
2950
  }>>>>>>;
2949
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2951
2951
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2952
2952
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2953
2953
  enabled?: boolean | undefined;
@@ -3274,18 +3274,18 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3274
3274
  */
3275
3275
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3276
3276
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3277
- success: "success";
3278
3277
  pending: "pending";
3278
+ success: "success";
3279
3279
  failed: "failed";
3280
3280
  }>;
3281
3281
  declare const TriggerSelectSchema: z.ZodObject<{
3282
3282
  createdAt: z.ZodString;
3283
3283
  updatedAt: z.ZodString;
3284
3284
  enabled: z.ZodBoolean;
3285
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3286
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3285
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3286
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3287
3287
  messageTemplate: z.ZodNullable<z.ZodString>;
3288
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3288
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3289
3289
  name: z.ZodString;
3290
3290
  description: z.ZodNullable<z.ZodString>;
3291
3291
  agentId: z.ZodString;
@@ -3344,7 +3344,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3344
3344
  out: {};
3345
3345
  in: {};
3346
3346
  }>;
3347
- declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3347
+ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3348
3348
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3349
3349
  name: "created_at";
3350
3350
  tableName: "triggers";
@@ -3714,7 +3714,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3714
3714
  }, {}, {
3715
3715
  length: 256;
3716
3716
  }>;
3717
- }, drizzle_zod15.BuildRefine<Pick<{
3717
+ }, drizzle_zod19.BuildRefine<Pick<{
3718
3718
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3719
3719
  name: "created_at";
3720
3720
  tableName: "triggers";
@@ -4084,16 +4084,16 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "enabled" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4088
4088
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4091
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4092
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4091
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4092
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4093
4093
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4094
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4094
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4095
4095
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4096
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4096
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4097
4097
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4098
4098
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4099
4099
  name: z.ZodOptional<z.ZodString>;
@@ -4111,10 +4111,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4111
4111
  createdAt: z.ZodString;
4112
4112
  updatedAt: z.ZodString;
4113
4113
  enabled: z.ZodBoolean;
4114
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4115
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4114
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4115
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4116
4116
  messageTemplate: z.ZodNullable<z.ZodString>;
4117
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4117
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4118
4118
  name: z.ZodString;
4119
4119
  description: z.ZodNullable<z.ZodString>;
4120
4120
  agentId: z.ZodString;
@@ -4172,29 +4172,29 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4172
4172
  }>, z.core.$strip>;
4173
4173
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
4174
  name: z.ZodString;
4175
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
4175
  createdAt: z.ZodOptional<z.ZodString>;
4177
4176
  updatedAt: z.ZodOptional<z.ZodString>;
4177
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4180
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4179
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4181
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4181
4182
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4183
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4183
4184
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4184
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4185
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4185
4186
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4186
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4187
4187
  id: z.ZodOptional<z.ZodString>;
4188
4188
  }, z.core.$strip>;
4189
4189
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4190
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4191
4191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4192
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4193
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4193
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4194
4194
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4195
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4195
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4196
4196
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4197
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4197
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4198
4198
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4199
4199
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4200
4200
  name: z.ZodOptional<z.ZodString>;
@@ -4211,14 +4211,15 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4211
4211
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
4212
  id: z.ZodString;
4213
4213
  name: z.ZodString;
4214
- description: z.ZodNullable<z.ZodString>;
4215
4214
  createdAt: z.ZodString;
4216
4215
  updatedAt: z.ZodString;
4216
+ description: z.ZodNullable<z.ZodString>;
4217
4217
  enabled: z.ZodBoolean;
4218
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4219
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4218
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4219
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4220
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4220
4221
  messageTemplate: z.ZodNullable<z.ZodString>;
4221
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4222
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4222
4223
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4223
4224
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4224
4225
  algorithm: z.ZodEnum<{
@@ -4266,10 +4267,9 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4266
4267
  }, z.core.$strip>>;
4267
4268
  }, z.core.$strip>>>;
4268
4269
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4269
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
4270
  webhookUrl: z.ZodString;
4271
4271
  }, z.core.$strip>;
4272
- declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4272
+ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4273
4273
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4274
4274
  name: "trigger_id";
4275
4275
  tableName: "trigger_invocations";
@@ -4471,7 +4471,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4471
4471
  }, {}, {
4472
4472
  length: 256;
4473
4473
  }>;
4474
- }, drizzle_zod15.BuildRefine<{
4474
+ }, drizzle_zod19.BuildRefine<{
4475
4475
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4476
4476
  name: "trigger_id";
4477
4477
  tableName: "trigger_invocations";
@@ -4674,7 +4674,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4674
4674
  length: 256;
4675
4675
  }>;
4676
4676
  }, undefined>, undefined>;
4677
- declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4677
+ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4678
4678
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4679
4679
  name: "trigger_id";
4680
4680
  tableName: "trigger_invocations";
@@ -4876,7 +4876,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4876
4876
  }, {}, {
4877
4877
  length: 256;
4878
4878
  }>;
4879
- }, drizzle_zod15.BuildRefine<Pick<{
4879
+ }, drizzle_zod19.BuildRefine<Pick<{
4880
4880
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4881
4881
  name: "trigger_id";
4882
4882
  tableName: "trigger_invocations";
@@ -5078,13 +5078,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5082
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5083
  triggerId: z.ZodOptional<z.ZodString>;
5084
5084
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5085
5085
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5086
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5087
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5086
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5087
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5088
5088
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5089
5089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5090
5090
  agentId: z.ZodOptional<z.ZodString>;
@@ -5099,8 +5099,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5099
5099
  triggerId: z.ZodString;
5100
5100
  conversationId: z.ZodNullable<z.ZodString>;
5101
5101
  status: z.ZodString;
5102
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5103
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5102
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5103
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5104
5104
  errorMessage: z.ZodNullable<z.ZodString>;
5105
5105
  createdAt: z.ZodString;
5106
5106
  agentId: z.ZodString;
@@ -5113,8 +5113,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5113
5113
  status: z.ZodOptional<z.ZodString>;
5114
5114
  triggerId: z.ZodString;
5115
5115
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5116
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5117
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5116
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5117
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5118
5118
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5119
5119
  id: z.ZodString;
5120
5120
  }, z.core.$strip>;
@@ -5124,8 +5124,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5124
5124
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5125
5125
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5126
5126
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5127
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5128
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5127
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5128
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5129
5129
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5130
5130
  }, z.core.$strip>;
5131
5131
  declare const CronExpressionSchema: z.ZodString;
@@ -5153,7 +5153,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5153
  out: {};
5154
5154
  in: {};
5155
5155
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5156
+ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5157
5157
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5158
5158
  name: "created_at";
5159
5159
  tableName: "scheduled_triggers";
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5497
5497
  }, {}, {
5498
5498
  length: 256;
5499
5499
  }>;
5500
- }, drizzle_zod15.BuildRefine<Pick<{
5500
+ }, drizzle_zod19.BuildRefine<Pick<{
5501
5501
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5502
5502
  name: "created_at";
5503
5503
  tableName: "scheduled_triggers";
@@ -5841,14 +5841,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "enabled" | "createdBy" | "messageTemplate" | "runAsUserId" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5845
5845
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
5846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
5847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5848
5848
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5849
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5850
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5851
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5851
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5852
5852
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
5853
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5854
5854
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5889,17 +5889,17 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5889
5889
  }>, z.core.$strip>;
5890
5890
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
5891
  name: z.ZodString;
5892
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
5892
  createdAt: z.ZodOptional<z.ZodString>;
5894
5893
  updatedAt: z.ZodOptional<z.ZodString>;
5894
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
5895
  enabled: z.ZodOptional<z.ZodBoolean>;
5896
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5896
5897
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
5898
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5898
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5899
5899
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
5900
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5901
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5902
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5903
5903
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5904
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5905
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5907,17 +5907,17 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5907
5907
  }, z.core.$strip>;
5908
5908
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
5909
  name: z.ZodString;
5910
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5911
5910
  createdAt: z.ZodOptional<z.ZodString>;
5912
5911
  updatedAt: z.ZodOptional<z.ZodString>;
5912
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
5913
  enabled: z.ZodOptional<z.ZodBoolean>;
5914
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5914
5915
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
5916
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5916
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5917
5917
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5918
5918
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5919
5919
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5920
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5921
5921
  maxRetries: z.ZodOptional<z.ZodNumber>;
5922
5922
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5923
5923
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5929,7 +5929,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5929
5929
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5930
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5931
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5932
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5932
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5933
5933
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
5934
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5935
5935
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5953,7 +5953,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5953
5953
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5954
5954
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5955
5955
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5956
- declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5956
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5957
5957
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5958
5958
  name: "created_at";
5959
5959
  tableName: "scheduled_workflows";
@@ -6157,7 +6157,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6157
6157
  }, {}, {
6158
6158
  length: 256;
6159
6159
  }>;
6160
- }, drizzle_zod15.BuildRefine<{
6160
+ }, drizzle_zod19.BuildRefine<{
6161
6161
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6162
6162
  name: "created_at";
6163
6163
  tableName: "scheduled_workflows";
@@ -6362,7 +6362,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6362
6362
  length: 256;
6363
6363
  }>;
6364
6364
  }, undefined>, undefined>;
6365
- declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6365
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6366
6366
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6367
6367
  name: "created_at";
6368
6368
  tableName: "scheduled_workflows";
@@ -6566,7 +6566,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6566
6566
  }, {}, {
6567
6567
  length: 256;
6568
6568
  }>;
6569
- }, drizzle_zod15.BuildRefine<Pick<{
6569
+ }, drizzle_zod19.BuildRefine<Pick<{
6570
6570
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6571
6571
  name: "created_at";
6572
6572
  tableName: "scheduled_workflows";
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "tenantId" | "projectId" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6774
6774
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6802,10 +6802,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6802
6802
  }>, z.core.$strip>;
6803
6803
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
6804
  name: z.ZodString;
6805
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6806
6805
  createdAt: z.ZodOptional<z.ZodString>;
6807
6806
  updatedAt: z.ZodOptional<z.ZodString>;
6808
6807
  status: z.ZodOptional<z.ZodString>;
6808
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6809
6809
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6810
6810
  scheduledTriggerId: z.ZodString;
6811
6811
  id: z.ZodOptional<z.ZodString>;
@@ -6861,7 +6861,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6861
6861
  out: {};
6862
6862
  in: {};
6863
6863
  }>;
6864
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6864
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6865
6865
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
6866
6866
  name: "scheduled_trigger_id";
6867
6867
  tableName: "scheduled_trigger_invocations";
@@ -7119,7 +7119,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7119
7119
  }, {}, {
7120
7120
  length: 256;
7121
7121
  }>;
7122
- }, drizzle_zod15.BuildRefine<Pick<{
7122
+ }, drizzle_zod19.BuildRefine<Pick<{
7123
7123
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
7124
7124
  name: "scheduled_trigger_id";
7125
7125
  tableName: "scheduled_trigger_invocations";
@@ -7377,14 +7377,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
7381
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
7382
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
7383
  status: z.ZodOptional<z.ZodString>;
7384
7384
  scheduledFor: z.ZodOptional<z.ZodString>;
7385
7385
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7386
7386
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7387
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7387
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7388
7388
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7389
7389
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7390
7390
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7423,11 +7423,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7423
7423
  createdAt: z.ZodOptional<z.ZodString>;
7424
7424
  status: z.ZodString;
7425
7425
  scheduledTriggerId: z.ZodString;
7426
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7426
7427
  scheduledFor: z.ZodString;
7427
7428
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7428
7429
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7430
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7430
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7431
7431
  attemptNumber: z.ZodOptional<z.ZodInt>;
7432
7432
  idempotencyKey: z.ZodString;
7433
7433
  id: z.ZodString;
@@ -7437,11 +7437,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7437
7437
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7438
7438
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7439
7439
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7440
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7440
7441
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7441
7442
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7442
7443
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7444
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7444
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7445
7445
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7446
7446
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7447
7447
  }, z.core.$strip>;
@@ -7449,7 +7449,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7449
7449
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7450
7450
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7451
7451
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7452
- declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7452
+ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7453
7453
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7454
7454
  name: "created_at";
7455
7455
  tableName: "tasks";
@@ -7509,7 +7509,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7509
7509
  dataType: "json";
7510
7510
  columnType: "PgJsonb";
7511
7511
  data: {
7512
- type: "commit" | "tag" | "branch";
7512
+ type: "tag" | "commit" | "branch";
7513
7513
  name: string;
7514
7514
  hash: string;
7515
7515
  };
@@ -7525,7 +7525,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7525
7525
  generated: undefined;
7526
7526
  }, {}, {
7527
7527
  $type: {
7528
- type: "commit" | "tag" | "branch";
7528
+ type: "tag" | "commit" | "branch";
7529
7529
  name: string;
7530
7530
  hash: string;
7531
7531
  };
@@ -7663,7 +7663,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7663
7663
  }, {}, {
7664
7664
  length: 256;
7665
7665
  }>;
7666
- }, drizzle_zod15.BuildRefine<{
7666
+ }, drizzle_zod19.BuildRefine<{
7667
7667
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7668
7668
  name: "created_at";
7669
7669
  tableName: "tasks";
@@ -7723,7 +7723,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7723
7723
  dataType: "json";
7724
7724
  columnType: "PgJsonb";
7725
7725
  data: {
7726
- type: "commit" | "tag" | "branch";
7726
+ type: "tag" | "commit" | "branch";
7727
7727
  name: string;
7728
7728
  hash: string;
7729
7729
  };
@@ -7739,7 +7739,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7739
7739
  generated: undefined;
7740
7740
  }, {}, {
7741
7741
  $type: {
7742
- type: "commit" | "tag" | "branch";
7742
+ type: "tag" | "commit" | "branch";
7743
7743
  name: string;
7744
7744
  hash: string;
7745
7745
  };
@@ -7892,8 +7892,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7892
7892
  conversationId: z.ZodOptional<z.ZodString>;
7893
7893
  ref: z.ZodObject<{
7894
7894
  type: z.ZodEnum<{
7895
- commit: "commit";
7896
7895
  tag: "tag";
7896
+ commit: "commit";
7897
7897
  branch: "branch";
7898
7898
  }>;
7899
7899
  name: z.ZodString;
@@ -7917,8 +7917,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7917
7917
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  ref: z.ZodOptional<z.ZodObject<{
7919
7919
  type: z.ZodEnum<{
7920
- commit: "commit";
7921
7920
  tag: "tag";
7921
+ commit: "commit";
7922
7922
  branch: "branch";
7923
7923
  }>;
7924
7924
  name: z.ZodString;
@@ -7933,19 +7933,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7933
7933
  updatedAt: z.ZodString;
7934
7934
  contextId: z.ZodString;
7935
7935
  ref: z.ZodNullable<z.ZodType<{
7936
- type: "commit" | "tag" | "branch";
7936
+ type: "tag" | "commit" | "branch";
7937
7937
  name: string;
7938
7938
  hash: string;
7939
7939
  }, {
7940
- type: "commit" | "tag" | "branch";
7940
+ type: "tag" | "commit" | "branch";
7941
7941
  name: string;
7942
7942
  hash: string;
7943
7943
  }, z.core.$ZodTypeInternals<{
7944
- type: "commit" | "tag" | "branch";
7944
+ type: "tag" | "commit" | "branch";
7945
7945
  name: string;
7946
7946
  hash: string;
7947
7947
  }, {
7948
- type: "commit" | "tag" | "branch";
7948
+ type: "tag" | "commit" | "branch";
7949
7949
  name: string;
7950
7950
  hash: string;
7951
7951
  }>>>;
@@ -7971,8 +7971,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7971
7971
  conversationId: z.ZodOptional<z.ZodString>;
7972
7972
  ref: z.ZodObject<{
7973
7973
  type: z.ZodEnum<{
7974
- commit: "commit";
7975
7974
  tag: "tag";
7975
+ commit: "commit";
7976
7976
  branch: "branch";
7977
7977
  }>;
7978
7978
  name: z.ZodString;
@@ -7981,25 +7981,25 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7985
7984
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
7985
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
7986
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7989
7987
  type: z.ZodEnum<{
7990
- commit: "commit";
7991
7988
  tag: "tag";
7989
+ commit: "commit";
7992
7990
  branch: "branch";
7993
7991
  }>;
7994
7992
  name: z.ZodString;
7995
7993
  hash: z.ZodString;
7996
7994
  }, z.core.$strip>>>;
7995
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7997
7996
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7997
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7998
7998
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7999
7999
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8000
8000
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8001
8001
  }, z.core.$strip>;
8002
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8002
+ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8003
8003
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8004
8004
  name: "created_at";
8005
8005
  tableName: "task_relations";
@@ -8148,7 +8148,7 @@ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8148
8148
  }, {}, {
8149
8149
  length: 256;
8150
8150
  }>;
8151
- }, drizzle_zod15.BuildRefine<{
8151
+ }, drizzle_zod19.BuildRefine<{
8152
8152
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8153
8153
  name: "created_at";
8154
8154
  tableName: "task_relations";
@@ -8374,7 +8374,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8374
8374
  description: z.ZodOptional<z.ZodString>;
8375
8375
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8376
8376
  }, z.core.$strip>;
8377
- declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8377
+ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8378
8378
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8379
8379
  name: "created_at";
8380
8380
  tableName: "tools";
@@ -8654,7 +8654,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8654
8654
  }, {}, {
8655
8655
  length: 256;
8656
8656
  }>;
8657
- }, drizzle_zod15.BuildRefine<{
8657
+ }, drizzle_zod19.BuildRefine<{
8658
8658
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8659
8659
  name: "created_at";
8660
8660
  tableName: "tools";
@@ -8980,7 +8980,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8980
8980
  out: {};
8981
8981
  in: {};
8982
8982
  }>;
8983
- declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8983
+ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8984
8984
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8985
8985
  name: "created_at";
8986
8986
  tableName: "conversations";
@@ -9078,7 +9078,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9078
9078
  dataType: "json";
9079
9079
  columnType: "PgJsonb";
9080
9080
  data: {
9081
- type: "commit" | "tag" | "branch";
9081
+ type: "tag" | "commit" | "branch";
9082
9082
  name: string;
9083
9083
  hash: string;
9084
9084
  };
@@ -9094,7 +9094,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9094
9094
  generated: undefined;
9095
9095
  }, {}, {
9096
9096
  $type: {
9097
- type: "commit" | "tag" | "branch";
9097
+ type: "tag" | "commit" | "branch";
9098
9098
  name: string;
9099
9099
  hash: string;
9100
9100
  };
@@ -9209,7 +9209,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9209
9209
  }, {}, {
9210
9210
  length: 256;
9211
9211
  }>;
9212
- }, drizzle_zod15.BuildRefine<{
9212
+ }, drizzle_zod19.BuildRefine<{
9213
9213
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9214
9214
  name: "created_at";
9215
9215
  tableName: "conversations";
@@ -9307,7 +9307,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9307
9307
  dataType: "json";
9308
9308
  columnType: "PgJsonb";
9309
9309
  data: {
9310
- type: "commit" | "tag" | "branch";
9310
+ type: "tag" | "commit" | "branch";
9311
9311
  name: string;
9312
9312
  hash: string;
9313
9313
  };
@@ -9323,7 +9323,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9323
9323
  generated: undefined;
9324
9324
  }, {}, {
9325
9325
  $type: {
9326
- type: "commit" | "tag" | "branch";
9326
+ type: "tag" | "commit" | "branch";
9327
9327
  name: string;
9328
9328
  hash: string;
9329
9329
  };
@@ -9454,8 +9454,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9454
9454
  contextConfigId: z.ZodOptional<z.ZodString>;
9455
9455
  ref: z.ZodObject<{
9456
9456
  type: z.ZodEnum<{
9457
- commit: "commit";
9458
9457
  tag: "tag";
9458
+ commit: "commit";
9459
9459
  branch: "branch";
9460
9460
  }>;
9461
9461
  name: z.ZodString;
@@ -9480,8 +9480,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9480
9480
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9481
9481
  ref: z.ZodOptional<z.ZodObject<{
9482
9482
  type: z.ZodEnum<{
9483
- commit: "commit";
9484
9483
  tag: "tag";
9484
+ commit: "commit";
9485
9485
  branch: "branch";
9486
9486
  }>;
9487
9487
  name: z.ZodString;
@@ -9498,19 +9498,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9498
9498
  agentId: z.ZodNullable<z.ZodString>;
9499
9499
  activeSubAgentId: z.ZodString;
9500
9500
  ref: z.ZodNullable<z.ZodType<{
9501
- type: "commit" | "tag" | "branch";
9501
+ type: "tag" | "commit" | "branch";
9502
9502
  name: string;
9503
9503
  hash: string;
9504
9504
  }, {
9505
- type: "commit" | "tag" | "branch";
9505
+ type: "tag" | "commit" | "branch";
9506
9506
  name: string;
9507
9507
  hash: string;
9508
9508
  }, z.core.$ZodTypeInternals<{
9509
- type: "commit" | "tag" | "branch";
9509
+ type: "tag" | "commit" | "branch";
9510
9510
  name: string;
9511
9511
  hash: string;
9512
9512
  }, {
9513
- type: "commit" | "tag" | "branch";
9513
+ type: "tag" | "commit" | "branch";
9514
9514
  name: string;
9515
9515
  hash: string;
9516
9516
  }>>>;
@@ -9536,8 +9536,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9536
9536
  contextConfigId: z.ZodOptional<z.ZodString>;
9537
9537
  ref: z.ZodObject<{
9538
9538
  type: z.ZodEnum<{
9539
- commit: "commit";
9540
9539
  tag: "tag";
9540
+ commit: "commit";
9541
9541
  branch: "branch";
9542
9542
  }>;
9543
9543
  name: z.ZodString;
@@ -9546,26 +9546,26 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
9548
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9549
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9551
9549
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9552
9550
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9554
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
9551
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9556
9552
  type: z.ZodEnum<{
9557
- commit: "commit";
9558
9553
  tag: "tag";
9554
+ commit: "commit";
9559
9555
  branch: "branch";
9560
9556
  }>;
9561
9557
  name: z.ZodString;
9562
9558
  hash: z.ZodString;
9563
9559
  }, z.core.$strip>>>;
9564
9560
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9561
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9562
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9563
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9564
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9565
9565
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9566
9566
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9567
9567
  }, z.core.$strip>;
9568
- declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9568
+ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9569
9569
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9570
9570
  name: "created_at";
9571
9571
  tableName: "messages";
@@ -9961,7 +9961,7 @@ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9961
9961
  }, {}, {
9962
9962
  length: 256;
9963
9963
  }>;
9964
- }, drizzle_zod15.BuildRefine<{
9964
+ }, drizzle_zod19.BuildRefine<{
9965
9965
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9966
9966
  name: "created_at";
9967
9967
  tableName: "messages";
@@ -10461,8 +10461,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10461
10461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10462
10462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10463
10463
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10464
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10465
10464
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10465
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10466
10466
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10467
10467
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10468
10468
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10477,7 +10477,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10477
10477
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10478
10478
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10479
10479
  }, z.core.$strip>;
10480
- declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10480
+ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10481
10481
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "context_cache";
@@ -10575,7 +10575,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10575
10575
  dataType: "json";
10576
10576
  columnType: "PgJsonb";
10577
10577
  data: {
10578
- type: "commit" | "tag" | "branch";
10578
+ type: "tag" | "commit" | "branch";
10579
10579
  name: string;
10580
10580
  hash: string;
10581
10581
  };
@@ -10591,7 +10591,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10591
10591
  generated: undefined;
10592
10592
  }, {}, {
10593
10593
  $type: {
10594
- type: "commit" | "tag" | "branch";
10594
+ type: "tag" | "commit" | "branch";
10595
10595
  name: string;
10596
10596
  hash: string;
10597
10597
  };
@@ -10727,7 +10727,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10727
10727
  }, {}, {
10728
10728
  length: 256;
10729
10729
  }>;
10730
- }, drizzle_zod15.BuildRefine<{
10730
+ }, drizzle_zod19.BuildRefine<{
10731
10731
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10732
10732
  name: "created_at";
10733
10733
  tableName: "context_cache";
@@ -10825,7 +10825,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10825
10825
  dataType: "json";
10826
10826
  columnType: "PgJsonb";
10827
10827
  data: {
10828
- type: "commit" | "tag" | "branch";
10828
+ type: "tag" | "commit" | "branch";
10829
10829
  name: string;
10830
10830
  hash: string;
10831
10831
  };
@@ -10841,7 +10841,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10841
10841
  generated: undefined;
10842
10842
  }, {}, {
10843
10843
  $type: {
10844
- type: "commit" | "tag" | "branch";
10844
+ type: "tag" | "commit" | "branch";
10845
10845
  name: string;
10846
10846
  hash: string;
10847
10847
  };
@@ -10984,7 +10984,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10984
10984
  conversationId: z.ZodString;
10985
10985
  contextConfigId: z.ZodString;
10986
10986
  contextVariableKey: z.ZodString;
10987
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10987
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10988
10988
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  fetchedAt: z.ZodOptional<z.ZodString>;
10990
10990
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10993,8 +10993,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10993
10993
  id: z.ZodString;
10994
10994
  ref: z.ZodObject<{
10995
10995
  type: z.ZodEnum<{
10996
- commit: "commit";
10997
10996
  tag: "tag";
10997
+ commit: "commit";
10998
10998
  branch: "branch";
10999
10999
  }>;
11000
11000
  name: z.ZodString;
@@ -11010,7 +11010,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11010
11010
  conversationId: z.ZodOptional<z.ZodString>;
11011
11011
  contextConfigId: z.ZodOptional<z.ZodString>;
11012
11012
  contextVariableKey: z.ZodOptional<z.ZodString>;
11013
- value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
11013
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11014
11014
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11015
11015
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11016
11016
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -11019,8 +11019,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11019
11019
  id: z.ZodOptional<z.ZodString>;
11020
11020
  ref: z.ZodOptional<z.ZodObject<{
11021
11021
  type: z.ZodEnum<{
11022
- commit: "commit";
11023
11022
  tag: "tag";
11023
+ commit: "commit";
11024
11024
  branch: "branch";
11025
11025
  }>;
11026
11026
  name: z.ZodString;
@@ -11037,23 +11037,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11037
11037
  contextConfigId: z.ZodString;
11038
11038
  contextVariableKey: z.ZodString;
11039
11039
  ref: z.ZodNullable<z.ZodType<{
11040
- type: "commit" | "tag" | "branch";
11040
+ type: "tag" | "commit" | "branch";
11041
11041
  name: string;
11042
11042
  hash: string;
11043
11043
  }, {
11044
- type: "commit" | "tag" | "branch";
11044
+ type: "tag" | "commit" | "branch";
11045
11045
  name: string;
11046
11046
  hash: string;
11047
11047
  }, z.core.$ZodTypeInternals<{
11048
- type: "commit" | "tag" | "branch";
11048
+ type: "tag" | "commit" | "branch";
11049
11049
  name: string;
11050
11050
  hash: string;
11051
11051
  }, {
11052
- type: "commit" | "tag" | "branch";
11052
+ type: "tag" | "commit" | "branch";
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
11056
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
11056
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
11057
11057
  requestHash: z.ZodNullable<z.ZodString>;
11058
11058
  fetchedAt: z.ZodString;
11059
11059
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -11067,7 +11067,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11067
11067
  conversationId: z.ZodString;
11068
11068
  contextConfigId: z.ZodString;
11069
11069
  contextVariableKey: z.ZodString;
11070
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
11070
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
11071
11071
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11072
11072
  fetchedAt: z.ZodOptional<z.ZodString>;
11073
11073
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11076,8 +11076,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11076
11076
  id: z.ZodString;
11077
11077
  ref: z.ZodObject<{
11078
11078
  type: z.ZodEnum<{
11079
- commit: "commit";
11080
11079
  tag: "tag";
11080
+ commit: "commit";
11081
11081
  branch: "branch";
11082
11082
  }>;
11083
11083
  name: z.ZodString;
@@ -11086,26 +11086,26 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
11088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
11090
11089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
11090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11092
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11093
11091
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11094
11092
  type: z.ZodEnum<{
11095
- commit: "commit";
11096
11093
  tag: "tag";
11094
+ commit: "commit";
11097
11095
  branch: "branch";
11098
11096
  }>;
11099
11097
  name: z.ZodString;
11100
11098
  hash: z.ZodString;
11101
11099
  }, z.core.$strip>>>;
11100
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11101
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11102
11102
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11103
11103
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11104
11104
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11105
11105
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11106
11106
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11107
11107
  }, z.core.$strip>;
11108
- declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11108
+ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11109
11109
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11110
11110
  name: "created_at";
11111
11111
  tableName: "dataset_run";
@@ -11248,7 +11248,7 @@ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11248
11248
  }, {}, {
11249
11249
  length: 256;
11250
11250
  }>;
11251
- }, drizzle_zod15.BuildRefine<{
11251
+ }, drizzle_zod19.BuildRefine<{
11252
11252
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11253
11253
  name: "created_at";
11254
11254
  tableName: "dataset_run";
@@ -11432,17 +11432,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
11432
11432
  createdAt: z.ZodOptional<z.ZodString>;
11433
11433
  updatedAt: z.ZodOptional<z.ZodString>;
11434
11434
  datasetId: z.ZodString;
11435
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
11435
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11437
11437
  }, z.core.$strip>;
11438
11438
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11439
11439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
11440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
11441
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
11442
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
11444
  }, z.core.$strip>;
11445
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11445
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11446
11446
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11447
11447
  name: "created_at";
11448
11448
  tableName: "dataset_run_conversation_relations";
@@ -11585,7 +11585,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSch
11585
11585
  }, {}, {
11586
11586
  length: 256;
11587
11587
  }>;
11588
- }, drizzle_zod15.BuildRefine<{
11588
+ }, drizzle_zod19.BuildRefine<{
11589
11589
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11590
11590
  name: "created_at";
11591
11591
  tableName: "dataset_run_conversation_relations";
@@ -11779,7 +11779,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11779
11779
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11780
11780
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11781
11781
  }, z.core.$strip>;
11782
- declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11782
+ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11783
11783
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11784
11784
  name: "created_at";
11785
11785
  tableName: "evaluation_result";
@@ -11941,7 +11941,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select",
11941
11941
  }, {}, {
11942
11942
  length: 256;
11943
11943
  }>;
11944
- }, drizzle_zod15.BuildRefine<{
11944
+ }, drizzle_zod19.BuildRefine<{
11945
11945
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11946
11946
  name: "created_at";
11947
11947
  tableName: "evaluation_result";
@@ -12144,22 +12144,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
12144
12144
  id: z.ZodString;
12145
12145
  }>, z.core.$strip>;
12146
12146
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12147
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12148
12147
  createdAt: z.ZodOptional<z.ZodString>;
12149
12148
  updatedAt: z.ZodOptional<z.ZodString>;
12150
- conversationId: z.ZodString;
12149
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12151
12150
  evaluatorId: z.ZodString;
12151
+ conversationId: z.ZodString;
12152
12152
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12153
12153
  }, z.core.$strip>;
12154
12154
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12155
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12156
12155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
12156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12158
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12157
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12159
12158
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
12160
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12161
12161
  }, z.core.$strip>;
12162
- declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12162
+ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12163
12163
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12164
12164
  name: "created_at";
12165
12165
  tableName: "evaluation_run";
@@ -12285,7 +12285,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12285
12285
  }, {}, {
12286
12286
  length: 256;
12287
12287
  }>;
12288
- }, drizzle_zod15.BuildRefine<{
12288
+ }, drizzle_zod19.BuildRefine<{
12289
12289
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12290
12290
  name: "created_at";
12291
12291
  tableName: "evaluation_run";
@@ -12448,16 +12448,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
12448
12448
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
12449
12449
  createdAt: z.ZodOptional<z.ZodString>;
12450
12450
  updatedAt: z.ZodOptional<z.ZodString>;
12451
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
12451
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12453
12453
  }, z.core.$strip>;
12454
12454
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12455
12455
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12456
12456
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12457
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
12457
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
12459
  }, z.core.$strip>;
12460
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12460
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12461
12461
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12462
12462
  name: "created_at";
12463
12463
  tableName: "evaluation_run_config";
@@ -12602,7 +12602,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12602
12602
  }, {}, {
12603
12603
  length: 256;
12604
12604
  }>;
12605
- }, drizzle_zod15.BuildRefine<{
12605
+ }, drizzle_zod19.BuildRefine<{
12606
12606
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12607
12607
  name: "created_at";
12608
12608
  tableName: "evaluation_run_config";
@@ -12786,30 +12786,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12786
12786
  }>, z.core.$strip>;
12787
12787
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
12788
  name: z.ZodString;
12789
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12790
12789
  createdAt: z.ZodOptional<z.ZodString>;
12791
12790
  updatedAt: z.ZodOptional<z.ZodString>;
12791
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12792
12792
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12793
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12794
  }, z.core.$strip>;
12795
12795
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
12796
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12797
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12798
12797
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
12798
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12800
12800
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12801
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12802
  }, z.core.$strip>;
12803
12803
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
12804
  id: z.ZodString;
12805
12805
  name: z.ZodString;
12806
- description: z.ZodNullable<z.ZodString>;
12807
12806
  createdAt: z.ZodString;
12808
12807
  updatedAt: z.ZodString;
12808
+ description: z.ZodNullable<z.ZodString>;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
12812
- declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12812
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12813
12813
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12814
12814
  name: "created_at";
12815
12815
  tableName: "evaluation_job_config";
@@ -12934,7 +12934,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12934
12934
  }, {}, {
12935
12935
  length: 256;
12936
12936
  }>;
12937
- }, drizzle_zod15.BuildRefine<{
12937
+ }, drizzle_zod19.BuildRefine<{
12938
12938
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12939
12939
  name: "created_at";
12940
12940
  tableName: "evaluation_job_config";
@@ -13241,7 +13241,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13241
13241
  } | undefined;
13242
13242
  }>>>>>>>;
13243
13243
  }, z.core.$strip>;
13244
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13244
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13245
13245
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13246
13246
  name: "created_at";
13247
13247
  tableName: "evaluation_suite_config";
@@ -13369,7 +13369,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
13369
13369
  }, {}, {
13370
13370
  length: 256;
13371
13371
  }>;
13372
- }, drizzle_zod15.BuildRefine<{
13372
+ }, drizzle_zod19.BuildRefine<{
13373
13373
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13374
13374
  name: "created_at";
13375
13375
  tableName: "evaluation_suite_config";
@@ -13545,7 +13545,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13545
13545
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13546
13546
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13547
13547
  }, z.core.$strip>;
13548
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13548
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13549
13549
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13550
13550
  name: "created_at";
13551
13551
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13675,7 +13675,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13675
13675
  }, {}, {
13676
13676
  length: 256;
13677
13677
  }>;
13678
- }, drizzle_zod15.BuildRefine<{
13678
+ }, drizzle_zod19.BuildRefine<{
13679
13679
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13680
13680
  name: "created_at";
13681
13681
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13842,16 +13842,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13842
13842
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13843
13843
  createdAt: z.ZodOptional<z.ZodString>;
13844
13844
  updatedAt: z.ZodOptional<z.ZodString>;
13845
- evaluationRunConfigId: z.ZodString;
13846
13845
  evaluationSuiteConfigId: z.ZodString;
13846
+ evaluationRunConfigId: z.ZodString;
13847
13847
  }, z.core.$strip>;
13848
13848
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13849
13849
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13850
13850
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13851
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13851
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13853
  }, z.core.$strip>;
13854
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13854
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13855
13855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13856
13856
  name: "created_at";
13857
13857
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13981,7 +13981,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.Bu
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod15.BuildRefine<{
13984
+ }, drizzle_zod19.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14148,16 +14148,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
14148
14148
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14149
14149
  createdAt: z.ZodOptional<z.ZodString>;
14150
14150
  updatedAt: z.ZodOptional<z.ZodString>;
14151
- evaluationJobConfigId: z.ZodString;
14152
14151
  evaluatorId: z.ZodString;
14152
+ evaluationJobConfigId: z.ZodString;
14153
14153
  }, z.core.$strip>;
14154
14154
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14155
14155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14156
14156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14157
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
14157
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
14159
  }, z.core.$strip>;
14160
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
14160
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14161
14161
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14162
14162
  name: "created_at";
14163
14163
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14287,7 +14287,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.
14287
14287
  }, {}, {
14288
14288
  length: 256;
14289
14289
  }>;
14290
- }, drizzle_zod15.BuildRefine<{
14290
+ }, drizzle_zod19.BuildRefine<{
14291
14291
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14292
14292
  name: "created_at";
14293
14293
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14454,16 +14454,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
14454
14454
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14455
14455
  createdAt: z.ZodOptional<z.ZodString>;
14456
14456
  updatedAt: z.ZodOptional<z.ZodString>;
14457
- evaluatorId: z.ZodString;
14458
14457
  evaluationSuiteConfigId: z.ZodString;
14458
+ evaluatorId: z.ZodString;
14459
14459
  }, z.core.$strip>;
14460
14460
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14461
14461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14462
14462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14463
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
14463
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
14465
  }, z.core.$strip>;
14466
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14466
+ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14467
14467
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14468
14468
  name: "created_at";
14469
14469
  tableName: "evaluator";
@@ -14671,7 +14671,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14671
14671
  }, {}, {
14672
14672
  length: 256;
14673
14673
  }>;
14674
- }, drizzle_zod15.BuildRefine<{
14674
+ }, drizzle_zod19.BuildRefine<{
14675
14675
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14676
14676
  name: "created_at";
14677
14677
  tableName: "evaluator";
@@ -14963,6 +14963,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14963
14963
  }>, z.core.$strip>;
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
14965
  name: z.ZodString;
14966
+ createdAt: z.ZodOptional<z.ZodString>;
14967
+ updatedAt: z.ZodOptional<z.ZodString>;
14968
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14966
14969
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
14970
  prompt: z.ZodString;
14968
14971
  model: z.ZodType<{
@@ -14978,13 +14981,13 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14978
14981
  model?: string | undefined;
14979
14982
  providerOptions?: Record<string, any> | undefined;
14980
14983
  }>>;
14981
- createdAt: z.ZodOptional<z.ZodString>;
14982
- updatedAt: z.ZodOptional<z.ZodString>;
14983
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14984
14984
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14985
  }, z.core.$strip>;
14986
14986
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
14987
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14988
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14989
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14988
14991
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
14992
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14990
14993
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
@@ -15000,12 +15003,9 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15000
15003
  model?: string | undefined;
15001
15004
  providerOptions?: Record<string, any> | undefined;
15002
15005
  }>>>>;
15003
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15005
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15006
15006
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
15007
  }, z.core.$strip>;
15008
- declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
15008
+ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
15009
15009
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15010
15010
  name: "created_at";
15011
15011
  tableName: "dataset";
@@ -15116,7 +15116,7 @@ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
15116
15116
  }, {}, {
15117
15117
  length: 256;
15118
15118
  }>;
15119
- }, drizzle_zod15.BuildRefine<{
15119
+ }, drizzle_zod19.BuildRefine<{
15120
15120
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15121
15121
  name: "created_at";
15122
15122
  tableName: "dataset";
@@ -15268,7 +15268,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15268
15268
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15269
15269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15270
15270
  }, z.core.$strip>;
15271
- declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15271
+ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15272
15272
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15273
15273
  name: "created_at";
15274
15274
  tableName: "dataset_item";
@@ -15456,7 +15456,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15456
15456
  }, {}, {
15457
15457
  length: 256;
15458
15458
  }>;
15459
- }, drizzle_zod15.BuildRefine<{
15459
+ }, drizzle_zod19.BuildRefine<{
15460
15460
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15461
15461
  name: "created_at";
15462
15462
  tableName: "dataset_item";
@@ -15805,9 +15805,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15805
15805
  id: z.ZodString;
15806
15806
  }>, z.core.$strip>;
15807
15807
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15808
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15809
15808
  createdAt: z.ZodOptional<z.ZodString>;
15810
15809
  updatedAt: z.ZodOptional<z.ZodString>;
15810
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15811
15811
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15812
15812
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15813
15813
  prompt: string;
@@ -15852,9 +15852,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15852
15852
  }>>>>;
15853
15853
  }, z.core.$strip>;
15854
15854
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15855
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15856
15855
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
15856
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15858
15858
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15859
15859
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15860
15860
  prompt: string;
@@ -16027,7 +16027,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
16027
16027
  }, z.core.$strip>>;
16028
16028
  }, z.core.$strip>>>;
16029
16029
  }, z.core.$strip>;
16030
- declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
16030
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
16031
16031
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16032
16032
  name: "created_at";
16033
16033
  tableName: "dataset_run_config";
@@ -16174,7 +16174,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select",
16174
16174
  }, {}, {
16175
16175
  length: 256;
16176
16176
  }>;
16177
- }, drizzle_zod15.BuildRefine<{
16177
+ }, drizzle_zod19.BuildRefine<{
16178
16178
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16179
16179
  name: "created_at";
16180
16180
  tableName: "dataset_run_config";
@@ -16360,19 +16360,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16360
16360
  }>, z.core.$strip>;
16361
16361
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
16362
  name: z.ZodString;
16363
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16364
16363
  createdAt: z.ZodOptional<z.ZodString>;
16365
16364
  updatedAt: z.ZodOptional<z.ZodString>;
16365
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
16366
  datasetId: z.ZodString;
16367
16367
  }, z.core.$strip>;
16368
16368
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
16369
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16370
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16371
16370
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
16371
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16375
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16376
16376
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16377
16377
  name: "created_at";
16378
16378
  tableName: "dataset_run_config_agent_relations";
@@ -16502,7 +16502,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSche
16502
16502
  }, {}, {
16503
16503
  length: 256;
16504
16504
  }>;
16505
- }, drizzle_zod15.BuildRefine<{
16505
+ }, drizzle_zod19.BuildRefine<{
16506
16506
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16507
16507
  name: "created_at";
16508
16508
  tableName: "dataset_run_config_agent_relations";
@@ -16678,20 +16678,20 @@ declare const SkillSelectSchema: z.ZodObject<{
16678
16678
  }>;
16679
16679
  declare const SkillInsertSchema: z.ZodObject<{
16680
16680
  name: z.ZodString;
16681
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16681
16682
  description: z.ZodString;
16682
16683
  tenantId: z.ZodString;
16683
16684
  projectId: z.ZodString;
16684
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16685
  content: z.ZodString;
16686
16686
  }, {
16687
16687
  out: {};
16688
16688
  in: {};
16689
16689
  }>;
16690
16690
  declare const SkillUpdateSchema: z.ZodObject<{
16691
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16691
16692
  description: z.ZodOptional<z.ZodString>;
16692
16693
  tenantId: z.ZodOptional<z.ZodString>;
16693
16694
  projectId: z.ZodOptional<z.ZodString>;
16694
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16695
  content: z.ZodOptional<z.ZodString>;
16696
16696
  }, {
16697
16697
  out: {};
@@ -16710,18 +16710,18 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16710
16710
  }>, z.core.$strip>;
16711
16711
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
16712
  name: z.ZodString;
16713
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16713
16714
  description: z.ZodString;
16714
16715
  tenantId: z.ZodString;
16715
16716
  projectId: z.ZodString;
16716
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16717
  content: z.ZodString;
16718
16718
  }>, z.core.$strip>;
16719
16719
  declare const SkillApiUpdateSchema: z.ZodObject<{
16720
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16721
16720
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16721
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16722
16722
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16723
16723
  }, z.core.$strip>;
16724
- declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16724
+ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16725
16725
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16726
16726
  name: "created_at";
16727
16727
  tableName: "data_components";
@@ -16907,7 +16907,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16907
16907
  }, {}, {
16908
16908
  length: 256;
16909
16909
  }>;
16910
- }, drizzle_zod15.BuildRefine<{
16910
+ }, drizzle_zod19.BuildRefine<{
16911
16911
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16912
16912
  name: "created_at";
16913
16913
  tableName: "data_components";
@@ -17307,7 +17307,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17307
17307
  description: z.ZodOptional<z.ZodString>;
17308
17308
  }, z.core.$loose>;
17309
17309
  }, z.core.$strip>;
17310
- declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17310
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17311
17311
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17312
17312
  name: "data_component_id";
17313
17313
  tableName: "sub_agent_data_components";
@@ -17439,7 +17439,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17439
17439
  }, {}, {
17440
17440
  length: 256;
17441
17441
  }>;
17442
- }, drizzle_zod15.BuildRefine<{
17442
+ }, drizzle_zod19.BuildRefine<{
17443
17443
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17444
17444
  name: "data_component_id";
17445
17445
  tableName: "sub_agent_data_components";
@@ -17572,7 +17572,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17572
17572
  length: 256;
17573
17573
  }>;
17574
17574
  }, undefined>, undefined>;
17575
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17575
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17576
17576
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17577
17577
  name: "data_component_id";
17578
17578
  tableName: "sub_agent_data_components";
@@ -17704,7 +17704,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17704
17704
  }, {}, {
17705
17705
  length: 256;
17706
17706
  }>;
17707
- }, drizzle_zod15.BuildRefine<Pick<{
17707
+ }, drizzle_zod19.BuildRefine<Pick<{
17708
17708
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17709
17709
  name: "data_component_id";
17710
17710
  tableName: "sub_agent_data_components";
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17840
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17841
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17842
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17872,7 +17872,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17872
17872
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17873
17873
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17874
17874
  }, z.core.$strip>;
17875
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17875
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17876
17876
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17877
17877
  name: "created_at";
17878
17878
  tableName: "artifact_components";
@@ -18058,7 +18058,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
18058
18058
  }, {}, {
18059
18059
  length: 256;
18060
18060
  }>;
18061
- }, drizzle_zod15.BuildRefine<{
18061
+ }, drizzle_zod19.BuildRefine<{
18062
18062
  createdAt: drizzle_orm_pg_core217.PgColumn<{
18063
18063
  name: "created_at";
18064
18064
  tableName: "artifact_components";
@@ -18435,9 +18435,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18435
18435
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
18436
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
18437
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18439
18438
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
18439
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18441
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18442
18442
  [x: string]: unknown;
18443
18443
  type: "object";
@@ -18481,7 +18481,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18481
18481
  mockData: Record<string, unknown>;
18482
18482
  }>>>>>>;
18483
18483
  }, z.core.$strip>;
18484
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18484
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18485
18485
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18486
18486
  name: "artifact_component_id";
18487
18487
  tableName: "sub_agent_artifact_components";
@@ -18613,7 +18613,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"
18613
18613
  }, {}, {
18614
18614
  length: 256;
18615
18615
  }>;
18616
- }, drizzle_zod15.BuildRefine<{
18616
+ }, drizzle_zod19.BuildRefine<{
18617
18617
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18618
18618
  name: "artifact_component_id";
18619
18619
  tableName: "sub_agent_artifact_components";
@@ -18872,10 +18872,10 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
18873
  id: z.ZodString;
18874
18874
  name: z.ZodString;
18875
- description: z.ZodString;
18876
18875
  createdAt: z.ZodString;
18877
18876
  updatedAt: z.ZodString;
18878
18877
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18878
+ description: z.ZodString;
18879
18879
  content: z.ZodString;
18880
18880
  subAgentSkillId: z.ZodString;
18881
18881
  subAgentId: z.ZodString;
@@ -18949,15 +18949,17 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18949
18949
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
18950
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
18951
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18953
18952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
18953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18955
18955
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18956
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18957
  }, z.core.$strip>;
18958
18958
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
18959
  id: z.ZodString;
18960
18960
  name: z.ZodString;
18961
+ createdAt: z.ZodString;
18962
+ updatedAt: z.ZodString;
18961
18963
  description: z.ZodNullable<z.ZodString>;
18962
18964
  prompt: z.ZodNullable<z.ZodString>;
18963
18965
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
@@ -19023,20 +19025,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19023
19025
  }, {
19024
19026
  stepCountIs?: number | undefined;
19025
19027
  }>>>;
19026
- createdAt: z.ZodString;
19027
- updatedAt: z.ZodString;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
19030
  id: z.ZodString;
19031
19031
  name: z.ZodString;
19032
- description: z.ZodNullable<z.ZodString>;
19033
19032
  createdAt: z.ZodString;
19034
19033
  updatedAt: z.ZodString;
19034
+ description: z.ZodNullable<z.ZodString>;
19035
19035
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
19036
  baseUrl: z.ZodString;
19037
19037
  type: z.ZodLiteral<"external">;
19038
19038
  }, z.core.$strip>], "type">;
19039
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19039
+ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
19040
19040
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19041
19041
  name: "created_at";
19042
19042
  tableName: "api_keys";
@@ -19257,7 +19257,7 @@ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19257
19257
  }, {}, {
19258
19258
  length: 256;
19259
19259
  }>;
19260
- }, drizzle_zod15.BuildRefine<{
19260
+ }, drizzle_zod19.BuildRefine<{
19261
19261
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19262
19262
  name: "created_at";
19263
19263
  tableName: "api_keys";
@@ -19498,9 +19498,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
19498
  }>;
19499
19499
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
19500
  name: z.ZodOptional<z.ZodString>;
19501
- agentId: z.ZodOptional<z.ZodString>;
19502
19501
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19503
19502
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19503
+ agentId: z.ZodOptional<z.ZodString>;
19504
19504
  }, {
19505
19505
  out: {};
19506
19506
  in: {};
@@ -19508,10 +19508,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
19509
  id: z.ZodString;
19510
19510
  name: z.ZodNullable<z.ZodString>;
19511
- agentId: z.ZodString;
19512
19511
  createdAt: z.ZodString;
19513
19512
  updatedAt: z.ZodString;
19514
19513
  expiresAt: z.ZodNullable<z.ZodString>;
19514
+ agentId: z.ZodString;
19515
19515
  publicId: z.ZodString;
19516
19516
  keyPrefix: z.ZodString;
19517
19517
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19524,10 +19524,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19524
19524
  apiKey: z.ZodObject<{
19525
19525
  id: z.ZodString;
19526
19526
  name: z.ZodNullable<z.ZodString>;
19527
- agentId: z.ZodString;
19528
19527
  createdAt: z.ZodString;
19529
19528
  updatedAt: z.ZodString;
19530
19529
  expiresAt: z.ZodNullable<z.ZodString>;
19530
+ agentId: z.ZodString;
19531
19531
  publicId: z.ZodString;
19532
19532
  keyPrefix: z.ZodString;
19533
19533
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19540,24 +19540,24 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19540
19540
  }, z.core.$strip>;
19541
19541
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
19542
  name: z.ZodString;
19543
- agentId: z.ZodString;
19544
19543
  createdAt: z.ZodOptional<z.ZodString>;
19545
19544
  updatedAt: z.ZodOptional<z.ZodString>;
19546
19545
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19546
+ agentId: z.ZodString;
19547
19547
  }, {
19548
19548
  out: {};
19549
19549
  in: {};
19550
19550
  }>;
19551
19551
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
19552
  name: z.ZodOptional<z.ZodString>;
19553
- agentId: z.ZodOptional<z.ZodString>;
19554
19553
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19555
19554
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19555
+ agentId: z.ZodOptional<z.ZodString>;
19556
19556
  }, {
19557
19557
  out: {};
19558
19558
  in: {};
19559
19559
  }>;
19560
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19560
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19561
19561
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19562
19562
  name: "created_at";
19563
19563
  tableName: "credential_references";
@@ -19782,7 +19782,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
19782
19782
  }, {}, {
19783
19783
  length: 256;
19784
19784
  }>;
19785
- }, drizzle_zod15.BuildRefine<{
19785
+ }, drizzle_zod19.BuildRefine<{
19786
19786
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19787
19787
  name: "created_at";
19788
19788
  tableName: "credential_references";
@@ -20047,17 +20047,17 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20047
20047
  name: z.ZodString;
20048
20048
  createdAt: z.ZodString;
20049
20049
  updatedAt: z.ZodString;
20050
- toolId: z.ZodNullable<z.ZodString>;
20051
20050
  userId: z.ZodNullable<z.ZodString>;
20052
- createdBy: z.ZodNullable<z.ZodString>;
20051
+ toolId: z.ZodNullable<z.ZodString>;
20053
20052
  credentialStoreId: z.ZodString;
20054
20053
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20054
+ createdBy: z.ZodNullable<z.ZodString>;
20055
20055
  type: z.ZodEnum<{
20056
20056
  readonly memory: "memory";
20057
20057
  readonly keychain: "keychain";
20058
20058
  readonly nango: "nango";
20059
20059
  }>;
20060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
20060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
20061
20061
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20062
20062
  name: "created_at";
20063
20063
  tableName: "tools";
@@ -20337,7 +20337,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20337
20337
  }, {}, {
20338
20338
  length: 256;
20339
20339
  }>;
20340
- }, drizzle_zod15.BuildRefine<{
20340
+ }, drizzle_zod19.BuildRefine<{
20341
20341
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20342
20342
  name: "created_at";
20343
20343
  tableName: "tools";
@@ -20638,11 +20638,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20638
20638
  name: z.ZodString;
20639
20639
  createdAt: z.ZodOptional<z.ZodString>;
20640
20640
  updatedAt: z.ZodOptional<z.ZodString>;
20641
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
20641
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20643
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20644
20643
  credentialStoreId: z.ZodString;
20645
20644
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20645
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20646
20646
  type: z.ZodEnum<{
20647
20647
  readonly memory: "memory";
20648
20648
  readonly keychain: "keychain";
@@ -20654,11 +20654,11 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20654
20654
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
20655
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20656
20656
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20657
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
20657
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20659
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20660
20659
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20661
20660
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20661
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20662
20662
  type: z.ZodOptional<z.ZodEnum<{
20663
20663
  readonly memory: "memory";
20664
20664
  readonly keychain: "keychain";
@@ -20783,20 +20783,20 @@ declare const McpToolSchema: z.ZodObject<{
20783
20783
  declare const MCPToolConfigSchema: z.ZodObject<{
20784
20784
  id: z.ZodString;
20785
20785
  name: z.ZodString;
20786
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20787
20786
  expiresAt: z.ZodOptional<z.ZodString>;
20788
- createdBy: z.ZodOptional<z.ZodString>;
20787
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20789
20788
  credentialScope: z.ZodOptional<z.ZodString>;
20790
20789
  imageUrl: z.ZodOptional<z.ZodString>;
20791
20790
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20792
20791
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20793
20792
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20793
+ createdBy: z.ZodOptional<z.ZodString>;
20794
+ relationshipId: z.ZodOptional<z.ZodString>;
20794
20795
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20795
20796
  name: z.ZodString;
20796
20797
  description: z.ZodOptional<z.ZodString>;
20797
20798
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20798
20799
  }, z.core.$strip>>>;
20799
- relationshipId: z.ZodOptional<z.ZodString>;
20800
20800
  tenantId: z.ZodOptional<z.ZodString>;
20801
20801
  projectId: z.ZodOptional<z.ZodString>;
20802
20802
  description: z.ZodOptional<z.ZodString>;
@@ -20821,11 +20821,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20821
20821
  name: z.ZodString;
20822
20822
  createdAt: z.ZodOptional<z.ZodString>;
20823
20823
  updatedAt: z.ZodOptional<z.ZodString>;
20824
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
20824
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20826
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20827
20826
  credentialStoreId: z.ZodString;
20828
20827
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20828
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20829
20829
  type: z.ZodEnum<{
20830
20830
  readonly memory: "memory";
20831
20831
  readonly keychain: "keychain";
@@ -20962,9 +20962,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20962
20962
  declare const ToolApiUpdateSchema: z.ZodObject<{
20963
20963
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20964
20964
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20965
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20966
20965
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
20966
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20968
20968
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20969
20969
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20970
20970
  type: z.ZodLiteral<"mcp">;
@@ -20999,7 +20999,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20999
20999
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21000
21000
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
21001
21001
  }, z.core.$strip>;
21002
- declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
21002
+ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21003
21003
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21004
21004
  name: "created_at";
21005
21005
  tableName: "function_tools";
@@ -21165,7 +21165,7 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
21165
21165
  }, {}, {
21166
21166
  length: 256;
21167
21167
  }>;
21168
- }, drizzle_zod15.BuildRefine<{
21168
+ }, drizzle_zod19.BuildRefine<{
21169
21169
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21170
21170
  name: "created_at";
21171
21171
  tableName: "function_tools";
@@ -21363,10 +21363,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21363
21363
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21364
21364
  id: z.ZodString;
21365
21365
  name: z.ZodString;
21366
- description: z.ZodNullable<z.ZodString>;
21367
- agentId: z.ZodString;
21368
21366
  createdAt: z.ZodString;
21369
21367
  updatedAt: z.ZodString;
21368
+ description: z.ZodNullable<z.ZodString>;
21369
+ agentId: z.ZodString;
21370
21370
  functionId: z.ZodString;
21371
21371
  relationshipId: z.ZodOptional<z.ZodString>;
21372
21372
  }, z.core.$strip>;
@@ -21384,13 +21384,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21384
21384
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21385
21385
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21386
21386
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21388
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21389
21387
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21390
21388
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21389
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21390
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21391
21391
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21392
21392
  }, z.core.$strip>;
21393
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21393
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21394
21394
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21395
21395
  name: "created_at";
21396
21396
  tableName: "sub_agent_function_tool_relations";
@@ -21562,7 +21562,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21562
21562
  }, {}, {
21563
21563
  length: 256;
21564
21564
  }>;
21565
- }, drizzle_zod15.BuildRefine<{
21565
+ }, drizzle_zod19.BuildRefine<{
21566
21566
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21567
21567
  name: "created_at";
21568
21568
  tableName: "sub_agent_function_tool_relations";
@@ -21738,7 +21738,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21738
21738
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21739
21739
  createdAt: z.ZodOptional<z.ZodString>;
21740
21740
  updatedAt: z.ZodOptional<z.ZodString>;
21741
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21741
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21742
21742
  agentId: z.ZodString;
21743
21743
  projectId: z.ZodString;
21744
21744
  tenantId: z.ZodString;
@@ -21753,7 +21753,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21753
21753
  createdAt: z.ZodString;
21754
21754
  updatedAt: z.ZodString;
21755
21755
  functionToolId: z.ZodString;
21756
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21756
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21757
21757
  subAgentId: z.ZodString;
21758
21758
  agentId: z.ZodString;
21759
21759
  projectId: z.ZodString;
@@ -21761,14 +21761,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21761
21761
  id: z.ZodString;
21762
21762
  }>, z.core.$strip>;
21763
21763
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21764
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21764
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21765
21765
  subAgentId: z.ZodString;
21766
21766
  functionToolId: z.ZodString;
21767
21767
  }, {
21768
21768
  out: {};
21769
21769
  in: {};
21770
21770
  }>;
21771
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21771
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21772
21772
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21773
21773
  name: "created_at";
21774
21774
  tableName: "functions";
@@ -21915,7 +21915,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21915
21915
  }, {}, {
21916
21916
  length: 256;
21917
21917
  }>;
21918
- }, drizzle_zod15.BuildRefine<{
21918
+ }, drizzle_zod19.BuildRefine<{
21919
21919
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21920
21920
  name: "created_at";
21921
21921
  tableName: "functions";
@@ -22112,8 +22112,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
22112
22112
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22113
22113
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22114
22114
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
22115
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22116
22115
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22116
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22117
22117
  }, z.core.$strip>;
22118
22118
  declare const FetchConfigSchema: z.ZodObject<{
22119
22119
  url: z.ZodString;
@@ -22159,11 +22159,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22159
22159
  name: z.ZodString;
22160
22160
  createdAt: z.ZodOptional<z.ZodString>;
22161
22161
  updatedAt: z.ZodOptional<z.ZodString>;
22162
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
22162
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22164
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22165
22164
  credentialStoreId: z.ZodString;
22166
22165
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22166
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22167
22167
  type: z.ZodEnum<{
22168
22168
  readonly memory: "memory";
22169
22169
  readonly keychain: "keychain";
@@ -22223,7 +22223,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22223
22223
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22224
22224
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22225
22225
  }, z.core.$strip>;
22226
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22226
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22227
22227
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22228
22228
  name: "created_at";
22229
22229
  tableName: "sub_agent_tool_relations";
@@ -22433,7 +22433,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
22433
22433
  }, {}, {
22434
22434
  length: 256;
22435
22435
  }>;
22436
- }, drizzle_zod15.BuildRefine<{
22436
+ }, drizzle_zod19.BuildRefine<{
22437
22437
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22438
22438
  name: "created_at";
22439
22439
  tableName: "sub_agent_tool_relations";
@@ -22684,9 +22684,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22684
22684
  createdAt: z.ZodString;
22685
22685
  updatedAt: z.ZodString;
22686
22686
  toolId: z.ZodString;
22687
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22688
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22689
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22687
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22688
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22689
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22690
22690
  subAgentId: z.ZodString;
22691
22691
  agentId: z.ZodString;
22692
22692
  projectId: z.ZodString;
@@ -22720,7 +22720,7 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22720
22720
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22721
22721
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22722
22722
  }, z.core.$strip>;
22723
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22723
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22724
22724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22725
22725
  name: "created_at";
22726
22726
  tableName: "sub_agent_external_agent_relations";
@@ -22888,7 +22888,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
22888
22888
  }, {}, {
22889
22889
  length: 256;
22890
22890
  }>;
22891
- }, drizzle_zod15.BuildRefine<{
22891
+ }, drizzle_zod19.BuildRefine<{
22892
22892
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22893
22893
  name: "created_at";
22894
22894
  tableName: "sub_agent_external_agent_relations";
@@ -23089,7 +23089,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23089
23089
  createdAt: z.ZodString;
23090
23090
  updatedAt: z.ZodString;
23091
23091
  externalAgentId: z.ZodString;
23092
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23092
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23093
23093
  subAgentId: z.ZodString;
23094
23094
  agentId: z.ZodString;
23095
23095
  projectId: z.ZodString;
@@ -23110,7 +23110,7 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23110
23110
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
23111
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23112
23112
  }, z.core.$strip>;
23113
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
23113
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23114
23114
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23115
23115
  name: "created_at";
23116
23116
  tableName: "sub_agent_team_agent_relations";
@@ -23278,7 +23278,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
23278
23278
  }, {}, {
23279
23279
  length: 256;
23280
23280
  }>;
23281
- }, drizzle_zod15.BuildRefine<{
23281
+ }, drizzle_zod19.BuildRefine<{
23282
23282
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23283
23283
  name: "created_at";
23284
23284
  tableName: "sub_agent_team_agent_relations";
@@ -23479,7 +23479,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23479
23479
  createdAt: z.ZodString;
23480
23480
  updatedAt: z.ZodString;
23481
23481
  targetAgentId: z.ZodString;
23482
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23483
23483
  subAgentId: z.ZodString;
23484
23484
  agentId: z.ZodString;
23485
23485
  projectId: z.ZodString;
@@ -23500,7 +23500,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23500
23500
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23501
23501
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23502
23502
  }, z.core.$strip>;
23503
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23503
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23504
23504
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23505
23505
  name: "created_at";
23506
23506
  tableName: "ledger_artifacts";
@@ -23835,7 +23835,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23835
23835
  }, {}, {
23836
23836
  length: 256;
23837
23837
  }>;
23838
- }, drizzle_zod15.BuildRefine<{
23838
+ }, drizzle_zod19.BuildRefine<{
23839
23839
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23840
23840
  name: "created_at";
23841
23841
  tableName: "ledger_artifacts";
@@ -24171,7 +24171,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
24171
24171
  length: 256;
24172
24172
  }>;
24173
24173
  }, undefined>, undefined>;
24174
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24174
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24175
24175
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24176
24176
  name: "created_at";
24177
24177
  tableName: "ledger_artifacts";
@@ -24506,7 +24506,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24506
24506
  }, {}, {
24507
24507
  length: 256;
24508
24508
  }>;
24509
- }, drizzle_zod15.BuildRefine<Pick<{
24509
+ }, drizzle_zod19.BuildRefine<Pick<{
24510
24510
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24511
24511
  name: "created_at";
24512
24512
  tableName: "ledger_artifacts";
@@ -24841,7 +24841,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24841
24841
  }, {}, {
24842
24842
  length: 256;
24843
24843
  }>;
24844
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24844
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "type" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24845
24845
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24846
24846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24847
24847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24851,12 +24851,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24851
24851
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24852
24852
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24853
24853
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24854
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24855
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24854
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24855
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24856
24856
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24857
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24857
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24858
24858
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24859
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24859
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24860
24860
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24861
24861
  projectId: z.ZodOptional<z.ZodString>;
24862
24862
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24874,12 +24874,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24874
24874
  type: z.ZodString;
24875
24875
  name: z.ZodNullable<z.ZodString>;
24876
24876
  description: z.ZodNullable<z.ZodString>;
24877
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24878
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24877
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24878
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24879
24879
  summary: z.ZodNullable<z.ZodString>;
24880
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24880
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24881
24881
  visibility: z.ZodNullable<z.ZodString>;
24882
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24882
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24883
24883
  derivedFrom: z.ZodNullable<z.ZodString>;
24884
24884
  projectId: z.ZodString;
24885
24885
  tenantId: z.ZodString;
@@ -24894,12 +24894,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24894
24894
  type: z.ZodOptional<z.ZodString>;
24895
24895
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24896
24896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24897
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24898
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24897
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24898
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24899
24899
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24900
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24900
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24901
24901
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24902
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24902
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24903
24903
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24904
24904
  projectId: z.ZodString;
24905
24905
  tenantId: z.ZodString;
@@ -24908,19 +24908,19 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24908
24908
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24909
24909
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24910
24910
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24911
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24913
24911
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24914
24912
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24915
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24913
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24914
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24915
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24916
24916
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24917
24917
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24918
24918
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24919
24919
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24920
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24920
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24921
24921
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24922
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24923
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24922
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24923
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24924
24924
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24925
24925
  }, z.core.$strip>;
24926
24926
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24988,6 +24988,8 @@ declare const TeamAgentSchema: z.ZodObject<{
24988
24988
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24989
24989
  id: z.ZodString;
24990
24990
  name: z.ZodString;
24991
+ createdAt: z.ZodOptional<z.ZodString>;
24992
+ updatedAt: z.ZodOptional<z.ZodString>;
24991
24993
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24992
24994
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24993
24995
  models: z.ZodOptional<z.ZodObject<{
@@ -25004,8 +25006,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25004
25006
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25005
25007
  }, z.core.$strip>>;
25006
25008
  }, z.core.$strip>>;
25007
- createdAt: z.ZodOptional<z.ZodString>;
25008
- updatedAt: z.ZodOptional<z.ZodString>;
25009
25009
  type: z.ZodLiteral<"internal">;
25010
25010
  canUse: z.ZodArray<z.ZodObject<{
25011
25011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25040,15 +25040,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25040
25040
  }, z.core.$strip>;
25041
25041
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25042
25042
  name: z.ZodString;
25043
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25044
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25045
25043
  createdAt: z.ZodOptional<z.ZodString>;
25046
25044
  updatedAt: z.ZodOptional<z.ZodString>;
25045
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25046
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25047
25047
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
25048
  id: z.ZodString;
25049
25049
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25050
25050
  id: z.ZodString;
25051
25051
  name: z.ZodString;
25052
+ createdAt: z.ZodOptional<z.ZodString>;
25053
+ updatedAt: z.ZodOptional<z.ZodString>;
25052
25054
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25053
25055
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25054
25056
  models: z.ZodOptional<z.ZodObject<{
@@ -25065,8 +25067,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25065
25067
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25066
25068
  }, z.core.$strip>>;
25067
25069
  }, z.core.$strip>>;
25068
- createdAt: z.ZodOptional<z.ZodString>;
25069
- updatedAt: z.ZodOptional<z.ZodString>;
25070
25070
  type: z.ZodLiteral<"internal">;
25071
25071
  canUse: z.ZodArray<z.ZodObject<{
25072
25072
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25178,33 +25178,33 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25178
25178
  }, z.core.$strip>>>;
25179
25179
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25180
25180
  name: z.ZodString;
25181
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25182
25181
  createdAt: z.ZodOptional<z.ZodString>;
25183
25182
  updatedAt: z.ZodOptional<z.ZodString>;
25183
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25184
25184
  enabled: z.ZodOptional<z.ZodBoolean>;
25185
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25186
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25185
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25186
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25187
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25187
25188
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25188
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25189
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25189
25190
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25190
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25191
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25191
25192
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25192
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25193
25193
  id: z.ZodOptional<z.ZodString>;
25194
25194
  }, z.core.$strip>>>;
25195
25195
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
25196
  name: z.ZodString;
25197
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25198
25197
  createdAt: z.ZodOptional<z.ZodString>;
25199
25198
  updatedAt: z.ZodOptional<z.ZodString>;
25199
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25200
25200
  enabled: z.ZodOptional<z.ZodBoolean>;
25201
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25201
25202
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25202
25203
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25203
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25204
25204
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25205
25205
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25206
25206
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25207
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25207
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25208
25208
  maxRetries: z.ZodOptional<z.ZodNumber>;
25209
25209
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25210
25210
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25363,6 +25363,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25363
25363
  declare const ProjectApiSelectSchema: z.ZodObject<{
25364
25364
  id: z.ZodString;
25365
25365
  name: z.ZodString;
25366
+ createdAt: z.ZodString;
25367
+ updatedAt: z.ZodString;
25366
25368
  description: z.ZodNullable<z.ZodString>;
25367
25369
  models: z.ZodNullable<z.ZodObject<{
25368
25370
  base: z.ZodObject<{
@@ -25382,8 +25384,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25382
25384
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25383
25385
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25384
25386
  }, z.core.$strip>>;
25385
- createdAt: z.ZodString;
25386
- updatedAt: z.ZodString;
25387
25387
  }, {
25388
25388
  out: {};
25389
25389
  in: {};
@@ -25463,15 +25463,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25463
25463
  }, z.core.$strip>>;
25464
25464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25465
25465
  name: z.ZodString;
25466
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25467
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25468
25466
  createdAt: z.ZodOptional<z.ZodString>;
25469
25467
  updatedAt: z.ZodOptional<z.ZodString>;
25468
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25469
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25470
25470
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25471
25471
  id: z.ZodString;
25472
25472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25473
25473
  id: z.ZodString;
25474
25474
  name: z.ZodString;
25475
+ createdAt: z.ZodOptional<z.ZodString>;
25476
+ updatedAt: z.ZodOptional<z.ZodString>;
25475
25477
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25476
25478
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25477
25479
  models: z.ZodOptional<z.ZodObject<{
@@ -25488,8 +25490,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25488
25490
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25489
25491
  }, z.core.$strip>>;
25490
25492
  }, z.core.$strip>>;
25491
- createdAt: z.ZodOptional<z.ZodString>;
25492
- updatedAt: z.ZodOptional<z.ZodString>;
25493
25493
  type: z.ZodLiteral<"internal">;
25494
25494
  canUse: z.ZodArray<z.ZodObject<{
25495
25495
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25601,33 +25601,33 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25601
25601
  }, z.core.$strip>>>;
25602
25602
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25603
25603
  name: z.ZodString;
25604
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25605
25604
  createdAt: z.ZodOptional<z.ZodString>;
25606
25605
  updatedAt: z.ZodOptional<z.ZodString>;
25606
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25607
25607
  enabled: z.ZodOptional<z.ZodBoolean>;
25608
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25609
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25608
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25609
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25610
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25610
25611
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25611
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25612
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25612
25613
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25613
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25614
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25614
25615
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25615
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25616
25616
  id: z.ZodOptional<z.ZodString>;
25617
25617
  }, z.core.$strip>>>;
25618
25618
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25619
25619
  name: z.ZodString;
25620
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25621
25620
  createdAt: z.ZodOptional<z.ZodString>;
25622
25621
  updatedAt: z.ZodOptional<z.ZodString>;
25622
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25623
25623
  enabled: z.ZodOptional<z.ZodBoolean>;
25624
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25624
25625
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25625
25626
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25626
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25627
25627
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25628
25628
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
25629
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25630
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25630
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25631
25631
  maxRetries: z.ZodOptional<z.ZodNumber>;
25632
25632
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25633
25633
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25735,10 +25735,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25735
25735
  }, z.core.$strip>>>;
25736
25736
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25737
25737
  name: z.ZodString;
25738
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25738
25739
  description: z.ZodString;
25739
25740
  tenantId: z.ZodString;
25740
25741
  projectId: z.ZodString;
25741
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25742
25742
  content: z.ZodString;
25743
25743
  }>, z.core.$strip>>>;
25744
25744
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25827,11 +25827,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25827
25827
  name: z.ZodString;
25828
25828
  createdAt: z.ZodOptional<z.ZodString>;
25829
25829
  updatedAt: z.ZodOptional<z.ZodString>;
25830
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
25830
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25832
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25833
25832
  credentialStoreId: z.ZodString;
25834
25833
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25834
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
25835
  type: z.ZodEnum<{
25836
25836
  readonly memory: "memory";
25837
25837
  readonly keychain: "keychain";
@@ -25847,6 +25847,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25847
25847
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25848
25848
  id: z.ZodString;
25849
25849
  name: z.ZodString;
25850
+ createdAt: z.ZodString;
25851
+ updatedAt: z.ZodString;
25850
25852
  description: z.ZodNullable<z.ZodString>;
25851
25853
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25852
25854
  models: z.ZodNullable<z.ZodType<{
@@ -25911,8 +25913,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25911
25913
  }, {
25912
25914
  stepCountIs?: number | undefined;
25913
25915
  }>>>;
25914
- createdAt: z.ZodString;
25915
- updatedAt: z.ZodString;
25916
25916
  type: z.ZodLiteral<"internal">;
25917
25917
  canUse: z.ZodArray<z.ZodObject<{
25918
25918
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25940,6 +25940,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25940
25940
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25941
25941
  id: z.ZodString;
25942
25942
  name: z.ZodString;
25943
+ createdAt: z.ZodString;
25944
+ updatedAt: z.ZodString;
25943
25945
  description: z.ZodNullable<z.ZodString>;
25944
25946
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25945
25947
  models: z.ZodNullable<z.ZodType<{
@@ -26004,8 +26006,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26004
26006
  }, {
26005
26007
  stepCountIs?: number | undefined;
26006
26008
  }>>>;
26007
- createdAt: z.ZodString;
26008
- updatedAt: z.ZodString;
26009
26009
  type: z.ZodLiteral<"internal">;
26010
26010
  canUse: z.ZodArray<z.ZodObject<{
26011
26011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26039,14 +26039,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26039
26039
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26040
26040
  id: z.ZodString;
26041
26041
  name: z.ZodString;
26042
- description: z.ZodNullable<z.ZodString>;
26043
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26044
26042
  createdAt: z.ZodString;
26045
26043
  updatedAt: z.ZodString;
26044
+ description: z.ZodNullable<z.ZodString>;
26045
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26046
26046
  contextConfigId: z.ZodNullable<z.ZodString>;
26047
26047
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26048
26048
  id: z.ZodString;
26049
26049
  name: z.ZodString;
26050
+ createdAt: z.ZodString;
26051
+ updatedAt: z.ZodString;
26050
26052
  description: z.ZodNullable<z.ZodString>;
26051
26053
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26052
26054
  models: z.ZodNullable<z.ZodType<{
@@ -26111,8 +26113,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26111
26113
  }, {
26112
26114
  stepCountIs?: number | undefined;
26113
26115
  }>>>;
26114
- createdAt: z.ZodString;
26115
- updatedAt: z.ZodString;
26116
26116
  type: z.ZodLiteral<"internal">;
26117
26117
  canUse: z.ZodArray<z.ZodObject<{
26118
26118
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26185,10 +26185,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26185
26185
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26186
26186
  id: z.ZodString;
26187
26187
  name: z.ZodString;
26188
- description: z.ZodNullable<z.ZodString>;
26189
- agentId: z.ZodString;
26190
26188
  createdAt: z.ZodString;
26191
26189
  updatedAt: z.ZodString;
26190
+ description: z.ZodNullable<z.ZodString>;
26191
+ agentId: z.ZodString;
26192
26192
  functionId: z.ZodString;
26193
26193
  relationshipId: z.ZodOptional<z.ZodString>;
26194
26194
  }, z.core.$strip>>>;
@@ -26267,10 +26267,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26267
26267
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26268
26268
  id: z.ZodString;
26269
26269
  name: z.ZodString;
26270
- description: z.ZodNullable<z.ZodString>;
26271
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26272
26270
  createdAt: z.ZodString;
26273
26271
  updatedAt: z.ZodString;
26272
+ description: z.ZodNullable<z.ZodString>;
26273
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26274
26274
  contextConfigId: z.ZodNullable<z.ZodString>;
26275
26275
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26276
26276
  createdAt: z.ZodString;
@@ -26320,10 +26320,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26320
26320
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26321
26321
  id: z.ZodString;
26322
26322
  name: z.ZodString;
26323
- description: z.ZodNullable<z.ZodString>;
26324
- agentId: z.ZodString;
26325
26323
  createdAt: z.ZodString;
26326
26324
  updatedAt: z.ZodString;
26325
+ description: z.ZodNullable<z.ZodString>;
26326
+ agentId: z.ZodString;
26327
26327
  functionId: z.ZodString;
26328
26328
  relationshipId: z.ZodOptional<z.ZodString>;
26329
26329
  }, z.core.$strip>>>;
@@ -26401,6 +26401,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26401
26401
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26402
26402
  id: z.ZodString;
26403
26403
  name: z.ZodString;
26404
+ createdAt: z.ZodString;
26405
+ updatedAt: z.ZodString;
26404
26406
  description: z.ZodNullable<z.ZodString>;
26405
26407
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26406
26408
  models: z.ZodNullable<z.ZodType<{
@@ -26465,8 +26467,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26465
26467
  }, {
26466
26468
  stepCountIs?: number | undefined;
26467
26469
  }>>>;
26468
- createdAt: z.ZodString;
26469
- updatedAt: z.ZodString;
26470
26470
  type: z.ZodLiteral<"internal">;
26471
26471
  canUse: z.ZodArray<z.ZodObject<{
26472
26472
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26501,6 +26501,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26501
26501
  declare const FullProjectSelectSchema: z.ZodObject<{
26502
26502
  id: z.ZodString;
26503
26503
  name: z.ZodString;
26504
+ createdAt: z.ZodString;
26505
+ updatedAt: z.ZodString;
26504
26506
  description: z.ZodNullable<z.ZodString>;
26505
26507
  models: z.ZodNullable<z.ZodObject<{
26506
26508
  base: z.ZodObject<{
@@ -26520,19 +26522,19 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26520
26522
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26521
26523
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26522
26524
  }, z.core.$strip>>;
26523
- createdAt: z.ZodString;
26524
- updatedAt: z.ZodString;
26525
26525
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26526
26526
  id: z.ZodString;
26527
26527
  name: z.ZodString;
26528
- description: z.ZodNullable<z.ZodString>;
26529
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26530
26528
  createdAt: z.ZodString;
26531
26529
  updatedAt: z.ZodString;
26530
+ description: z.ZodNullable<z.ZodString>;
26531
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26532
26532
  contextConfigId: z.ZodNullable<z.ZodString>;
26533
26533
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26534
26534
  id: z.ZodString;
26535
26535
  name: z.ZodString;
26536
+ createdAt: z.ZodString;
26537
+ updatedAt: z.ZodString;
26536
26538
  description: z.ZodNullable<z.ZodString>;
26537
26539
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26538
26540
  models: z.ZodNullable<z.ZodType<{
@@ -26597,8 +26599,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26597
26599
  }, {
26598
26600
  stepCountIs?: number | undefined;
26599
26601
  }>>>;
26600
- createdAt: z.ZodString;
26601
- updatedAt: z.ZodString;
26602
26602
  type: z.ZodLiteral<"internal">;
26603
26603
  canUse: z.ZodArray<z.ZodObject<{
26604
26604
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26671,10 +26671,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26671
26671
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26672
26672
  id: z.ZodString;
26673
26673
  name: z.ZodString;
26674
- description: z.ZodNullable<z.ZodString>;
26675
- agentId: z.ZodString;
26676
26674
  createdAt: z.ZodString;
26677
26675
  updatedAt: z.ZodString;
26676
+ description: z.ZodNullable<z.ZodString>;
26677
+ agentId: z.ZodString;
26678
26678
  functionId: z.ZodString;
26679
26679
  relationshipId: z.ZodOptional<z.ZodString>;
26680
26680
  }, z.core.$strip>>>;
@@ -26782,10 +26782,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26782
26782
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26783
26783
  id: z.ZodString;
26784
26784
  name: z.ZodString;
26785
- description: z.ZodNullable<z.ZodString>;
26786
- agentId: z.ZodString;
26787
26785
  createdAt: z.ZodString;
26788
26786
  updatedAt: z.ZodString;
26787
+ description: z.ZodNullable<z.ZodString>;
26788
+ agentId: z.ZodString;
26789
26789
  functionId: z.ZodString;
26790
26790
  relationshipId: z.ZodOptional<z.ZodString>;
26791
26791
  }, z.core.$strip>>>;
@@ -26932,17 +26932,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26932
26932
  name: z.ZodString;
26933
26933
  createdAt: z.ZodString;
26934
26934
  updatedAt: z.ZodString;
26935
- toolId: z.ZodNullable<z.ZodString>;
26936
26935
  userId: z.ZodNullable<z.ZodString>;
26937
- createdBy: z.ZodNullable<z.ZodString>;
26936
+ toolId: z.ZodNullable<z.ZodString>;
26938
26937
  credentialStoreId: z.ZodString;
26939
26938
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26939
+ createdBy: z.ZodNullable<z.ZodString>;
26940
26940
  type: z.ZodEnum<{
26941
26941
  readonly memory: "memory";
26942
26942
  readonly keychain: "keychain";
26943
26943
  readonly nango: "nango";
26944
26944
  }>;
26945
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26945
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26946
26946
  createdAt: drizzle_orm_pg_core217.PgColumn<{
26947
26947
  name: "created_at";
26948
26948
  tableName: "tools";
@@ -27222,7 +27222,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27222
27222
  }, {}, {
27223
27223
  length: 256;
27224
27224
  }>;
27225
- }, drizzle_zod15.BuildRefine<{
27225
+ }, drizzle_zod19.BuildRefine<{
27226
27226
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27227
27227
  name: "created_at";
27228
27228
  tableName: "tools";
@@ -27525,6 +27525,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27525
27525
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27526
27526
  id: z.ZodString;
27527
27527
  name: z.ZodString;
27528
+ createdAt: z.ZodString;
27529
+ updatedAt: z.ZodString;
27528
27530
  description: z.ZodNullable<z.ZodString>;
27529
27531
  models: z.ZodNullable<z.ZodObject<{
27530
27532
  base: z.ZodObject<{
@@ -27544,8 +27546,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27544
27546
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27545
27547
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27546
27548
  }, z.core.$strip>>;
27547
- createdAt: z.ZodString;
27548
- updatedAt: z.ZodString;
27549
27549
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27550
27550
  createdAt: z.ZodString;
27551
27551
  updatedAt: z.ZodString;
@@ -27578,10 +27578,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27578
27578
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27579
27579
  id: z.ZodString;
27580
27580
  name: z.ZodString;
27581
- description: z.ZodNullable<z.ZodString>;
27582
- agentId: z.ZodString;
27583
27581
  createdAt: z.ZodString;
27584
27582
  updatedAt: z.ZodString;
27583
+ description: z.ZodNullable<z.ZodString>;
27584
+ agentId: z.ZodString;
27585
27585
  functionId: z.ZodString;
27586
27586
  relationshipId: z.ZodOptional<z.ZodString>;
27587
27587
  }, z.core.$strip>>>;
@@ -27728,17 +27728,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27728
27728
  name: z.ZodString;
27729
27729
  createdAt: z.ZodString;
27730
27730
  updatedAt: z.ZodString;
27731
- toolId: z.ZodNullable<z.ZodString>;
27732
27731
  userId: z.ZodNullable<z.ZodString>;
27733
- createdBy: z.ZodNullable<z.ZodString>;
27732
+ toolId: z.ZodNullable<z.ZodString>;
27734
27733
  credentialStoreId: z.ZodString;
27735
27734
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27735
+ createdBy: z.ZodNullable<z.ZodString>;
27736
27736
  type: z.ZodEnum<{
27737
27737
  readonly memory: "memory";
27738
27738
  readonly keychain: "keychain";
27739
27739
  readonly nango: "nango";
27740
27740
  }>;
27741
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27741
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27742
27742
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27743
27743
  name: "created_at";
27744
27744
  tableName: "tools";
@@ -28018,7 +28018,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28018
28018
  }, {}, {
28019
28019
  length: 256;
28020
28020
  }>;
28021
- }, drizzle_zod15.BuildRefine<{
28021
+ }, drizzle_zod19.BuildRefine<{
28022
28022
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28023
28023
  name: "created_at";
28024
28024
  tableName: "tools";
@@ -28317,10 +28317,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28317
28317
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28318
28318
  id: z.ZodString;
28319
28319
  name: z.ZodString;
28320
- description: z.ZodNullable<z.ZodString>;
28321
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28322
28320
  createdAt: z.ZodString;
28323
28321
  updatedAt: z.ZodString;
28322
+ description: z.ZodNullable<z.ZodString>;
28323
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28324
28324
  contextConfigId: z.ZodNullable<z.ZodString>;
28325
28325
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28326
28326
  createdAt: z.ZodString;
@@ -28370,10 +28370,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28370
28370
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28371
28371
  id: z.ZodString;
28372
28372
  name: z.ZodString;
28373
- description: z.ZodNullable<z.ZodString>;
28374
- agentId: z.ZodString;
28375
28373
  createdAt: z.ZodString;
28376
28374
  updatedAt: z.ZodString;
28375
+ description: z.ZodNullable<z.ZodString>;
28376
+ agentId: z.ZodString;
28377
28377
  functionId: z.ZodString;
28378
28378
  relationshipId: z.ZodOptional<z.ZodString>;
28379
28379
  }, z.core.$strip>>>;
@@ -28451,6 +28451,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28451
28451
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28452
28452
  id: z.ZodString;
28453
28453
  name: z.ZodString;
28454
+ createdAt: z.ZodString;
28455
+ updatedAt: z.ZodString;
28454
28456
  description: z.ZodNullable<z.ZodString>;
28455
28457
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28456
28458
  models: z.ZodNullable<z.ZodType<{
@@ -28515,8 +28517,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28515
28517
  }, {
28516
28518
  stepCountIs?: number | undefined;
28517
28519
  }>>>;
28518
- createdAt: z.ZodString;
28519
- updatedAt: z.ZodString;
28520
28520
  type: z.ZodLiteral<"internal">;
28521
28521
  canUse: z.ZodArray<z.ZodObject<{
28522
28522
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28556,6 +28556,8 @@ declare const ProjectResponse: z.ZodObject<{
28556
28556
  data: z.ZodObject<{
28557
28557
  id: z.ZodString;
28558
28558
  name: z.ZodString;
28559
+ createdAt: z.ZodString;
28560
+ updatedAt: z.ZodString;
28559
28561
  description: z.ZodNullable<z.ZodString>;
28560
28562
  models: z.ZodNullable<z.ZodObject<{
28561
28563
  base: z.ZodObject<{
@@ -28575,8 +28577,6 @@ declare const ProjectResponse: z.ZodObject<{
28575
28577
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28576
28578
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28577
28579
  }, z.core.$strip>>;
28578
- createdAt: z.ZodString;
28579
- updatedAt: z.ZodString;
28580
28580
  }, {
28581
28581
  out: {};
28582
28582
  in: {};
@@ -28817,10 +28817,10 @@ declare const ApiKeyResponse: z.ZodObject<{
28817
28817
  data: z.ZodObject<{
28818
28818
  id: z.ZodString;
28819
28819
  name: z.ZodNullable<z.ZodString>;
28820
- agentId: z.ZodString;
28821
28820
  createdAt: z.ZodString;
28822
28821
  updatedAt: z.ZodString;
28823
28822
  expiresAt: z.ZodNullable<z.ZodString>;
28823
+ agentId: z.ZodString;
28824
28824
  publicId: z.ZodString;
28825
28825
  keyPrefix: z.ZodString;
28826
28826
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28835,17 +28835,17 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28835
28835
  name: z.ZodString;
28836
28836
  createdAt: z.ZodString;
28837
28837
  updatedAt: z.ZodString;
28838
- toolId: z.ZodNullable<z.ZodString>;
28839
28838
  userId: z.ZodNullable<z.ZodString>;
28840
- createdBy: z.ZodNullable<z.ZodString>;
28839
+ toolId: z.ZodNullable<z.ZodString>;
28841
28840
  credentialStoreId: z.ZodString;
28842
28841
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28842
+ createdBy: z.ZodNullable<z.ZodString>;
28843
28843
  type: z.ZodEnum<{
28844
28844
  readonly memory: "memory";
28845
28845
  readonly keychain: "keychain";
28846
28846
  readonly nango: "nango";
28847
28847
  }>;
28848
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28848
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28849
28849
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28850
28850
  name: "created_at";
28851
28851
  tableName: "tools";
@@ -29125,7 +29125,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29125
29125
  }, {}, {
29126
29126
  length: 256;
29127
29127
  }>;
29128
- }, drizzle_zod15.BuildRefine<{
29128
+ }, drizzle_zod19.BuildRefine<{
29129
29129
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29130
29130
  name: "created_at";
29131
29131
  tableName: "tools";
@@ -29438,10 +29438,10 @@ declare const FunctionToolResponse: z.ZodObject<{
29438
29438
  data: z.ZodObject<{
29439
29439
  id: z.ZodString;
29440
29440
  name: z.ZodString;
29441
- description: z.ZodNullable<z.ZodString>;
29442
- agentId: z.ZodString;
29443
29441
  createdAt: z.ZodString;
29444
29442
  updatedAt: z.ZodString;
29443
+ description: z.ZodNullable<z.ZodString>;
29444
+ agentId: z.ZodString;
29445
29445
  functionId: z.ZodString;
29446
29446
  relationshipId: z.ZodOptional<z.ZodString>;
29447
29447
  }, z.core.$strip>;
@@ -29451,7 +29451,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29451
29451
  createdAt: z.ZodString;
29452
29452
  updatedAt: z.ZodString;
29453
29453
  functionToolId: z.ZodString;
29454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29455
29455
  subAgentId: z.ZodString;
29456
29456
  agentId: z.ZodString;
29457
29457
  projectId: z.ZodString;
@@ -29583,9 +29583,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29583
29583
  createdAt: z.ZodString;
29584
29584
  updatedAt: z.ZodString;
29585
29585
  toolId: z.ZodString;
29586
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29587
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29588
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29586
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29587
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29588
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29589
29589
  subAgentId: z.ZodString;
29590
29590
  agentId: z.ZodString;
29591
29591
  projectId: z.ZodString;
@@ -29598,10 +29598,10 @@ declare const TriggerResponse: z.ZodObject<{
29598
29598
  createdAt: z.ZodString;
29599
29599
  updatedAt: z.ZodString;
29600
29600
  enabled: z.ZodBoolean;
29601
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29602
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29601
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29602
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29603
29603
  messageTemplate: z.ZodNullable<z.ZodString>;
29604
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29604
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29605
29605
  name: z.ZodString;
29606
29606
  description: z.ZodNullable<z.ZodString>;
29607
29607
  agentId: z.ZodString;
@@ -29663,8 +29663,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29663
29663
  triggerId: z.ZodString;
29664
29664
  conversationId: z.ZodNullable<z.ZodString>;
29665
29665
  status: z.ZodString;
29666
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29667
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29666
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29667
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29668
29668
  errorMessage: z.ZodNullable<z.ZodString>;
29669
29669
  createdAt: z.ZodString;
29670
29670
  agentId: z.ZodString;
@@ -29677,6 +29677,8 @@ declare const ProjectListResponse: z.ZodObject<{
29677
29677
  data: z.ZodArray<z.ZodObject<{
29678
29678
  id: z.ZodString;
29679
29679
  name: z.ZodString;
29680
+ createdAt: z.ZodString;
29681
+ updatedAt: z.ZodString;
29680
29682
  description: z.ZodNullable<z.ZodString>;
29681
29683
  models: z.ZodNullable<z.ZodObject<{
29682
29684
  base: z.ZodObject<{
@@ -29696,8 +29698,6 @@ declare const ProjectListResponse: z.ZodObject<{
29696
29698
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29697
29699
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29698
29700
  }, z.core.$strip>>;
29699
- createdAt: z.ZodString;
29700
- updatedAt: z.ZodString;
29701
29701
  }, {
29702
29702
  out: {};
29703
29703
  in: {};
@@ -29968,10 +29968,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
29968
29968
  data: z.ZodArray<z.ZodObject<{
29969
29969
  id: z.ZodString;
29970
29970
  name: z.ZodNullable<z.ZodString>;
29971
- agentId: z.ZodString;
29972
29971
  createdAt: z.ZodString;
29973
29972
  updatedAt: z.ZodString;
29974
29973
  expiresAt: z.ZodNullable<z.ZodString>;
29974
+ agentId: z.ZodString;
29975
29975
  publicId: z.ZodString;
29976
29976
  keyPrefix: z.ZodString;
29977
29977
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29992,17 +29992,17 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29992
29992
  name: z.ZodString;
29993
29993
  createdAt: z.ZodString;
29994
29994
  updatedAt: z.ZodString;
29995
- toolId: z.ZodNullable<z.ZodString>;
29996
29995
  userId: z.ZodNullable<z.ZodString>;
29997
- createdBy: z.ZodNullable<z.ZodString>;
29996
+ toolId: z.ZodNullable<z.ZodString>;
29998
29997
  credentialStoreId: z.ZodString;
29999
29998
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29999
+ createdBy: z.ZodNullable<z.ZodString>;
30000
30000
  type: z.ZodEnum<{
30001
30001
  readonly memory: "memory";
30002
30002
  readonly keychain: "keychain";
30003
30003
  readonly nango: "nango";
30004
30004
  }>;
30005
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
30005
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
30006
30006
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30007
30007
  name: "created_at";
30008
30008
  tableName: "tools";
@@ -30282,7 +30282,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30282
30282
  }, {}, {
30283
30283
  length: 256;
30284
30284
  }>;
30285
- }, drizzle_zod15.BuildRefine<{
30285
+ }, drizzle_zod19.BuildRefine<{
30286
30286
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30287
30287
  name: "created_at";
30288
30288
  tableName: "tools";
@@ -30607,10 +30607,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
30607
30607
  data: z.ZodArray<z.ZodObject<{
30608
30608
  id: z.ZodString;
30609
30609
  name: z.ZodString;
30610
- description: z.ZodNullable<z.ZodString>;
30611
- agentId: z.ZodString;
30612
30610
  createdAt: z.ZodString;
30613
30611
  updatedAt: z.ZodString;
30612
+ description: z.ZodNullable<z.ZodString>;
30613
+ agentId: z.ZodString;
30614
30614
  functionId: z.ZodString;
30615
30615
  relationshipId: z.ZodOptional<z.ZodString>;
30616
30616
  }, z.core.$strip>>;
@@ -30626,7 +30626,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30626
30626
  createdAt: z.ZodString;
30627
30627
  updatedAt: z.ZodString;
30628
30628
  functionToolId: z.ZodString;
30629
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30629
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30630
30630
  subAgentId: z.ZodString;
30631
30631
  agentId: z.ZodString;
30632
30632
  projectId: z.ZodString;
@@ -30814,9 +30814,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30814
30814
  createdAt: z.ZodString;
30815
30815
  updatedAt: z.ZodString;
30816
30816
  toolId: z.ZodString;
30817
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30818
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30819
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30817
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30818
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30819
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30820
30820
  subAgentId: z.ZodString;
30821
30821
  agentId: z.ZodString;
30822
30822
  projectId: z.ZodString;
@@ -30835,10 +30835,10 @@ declare const TriggerListResponse: z.ZodObject<{
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
30837
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30839
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30838
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30842
30842
  name: z.ZodString;
30843
30843
  description: z.ZodNullable<z.ZodString>;
30844
30844
  agentId: z.ZodString;
@@ -30906,8 +30906,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30906
30906
  triggerId: z.ZodString;
30907
30907
  conversationId: z.ZodNullable<z.ZodString>;
30908
30908
  status: z.ZodString;
30909
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30910
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30909
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30910
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30911
30911
  errorMessage: z.ZodNullable<z.ZodString>;
30912
30912
  createdAt: z.ZodString;
30913
30913
  agentId: z.ZodString;
@@ -30926,14 +30926,15 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30926
30926
  data: z.ZodObject<{
30927
30927
  id: z.ZodString;
30928
30928
  name: z.ZodString;
30929
- description: z.ZodNullable<z.ZodString>;
30930
30929
  createdAt: z.ZodString;
30931
30930
  updatedAt: z.ZodString;
30931
+ description: z.ZodNullable<z.ZodString>;
30932
30932
  enabled: z.ZodBoolean;
30933
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30934
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30933
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30934
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30935
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30935
30936
  messageTemplate: z.ZodNullable<z.ZodString>;
30936
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30937
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30937
30938
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30938
30939
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30939
30940
  algorithm: z.ZodEnum<{
@@ -30981,7 +30982,6 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30981
30982
  }, z.core.$strip>>;
30982
30983
  }, z.core.$strip>>>;
30983
30984
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30984
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30985
30985
  webhookUrl: z.ZodString;
30986
30986
  }, z.core.$strip>;
30987
30987
  }, z.core.$strip>;
@@ -30989,14 +30989,15 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30989
30989
  data: z.ZodObject<{
30990
30990
  id: z.ZodString;
30991
30991
  name: z.ZodString;
30992
- description: z.ZodNullable<z.ZodString>;
30993
30992
  createdAt: z.ZodString;
30994
30993
  updatedAt: z.ZodString;
30994
+ description: z.ZodNullable<z.ZodString>;
30995
30995
  enabled: z.ZodBoolean;
30996
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30997
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30996
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30997
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30998
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30998
30999
  messageTemplate: z.ZodNullable<z.ZodString>;
30999
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31000
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31000
31001
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31001
31002
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31002
31003
  algorithm: z.ZodEnum<{
@@ -31044,7 +31045,6 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31044
31045
  }, z.core.$strip>>;
31045
31046
  }, z.core.$strip>>>;
31046
31047
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31047
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31048
31048
  webhookUrl: z.ZodString;
31049
31049
  }, z.core.$strip>;
31050
31050
  warning: z.ZodOptional<z.ZodString>;
@@ -31053,14 +31053,15 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31053
31053
  data: z.ZodArray<z.ZodObject<{
31054
31054
  id: z.ZodString;
31055
31055
  name: z.ZodString;
31056
- description: z.ZodNullable<z.ZodString>;
31057
31056
  createdAt: z.ZodString;
31058
31057
  updatedAt: z.ZodString;
31058
+ description: z.ZodNullable<z.ZodString>;
31059
31059
  enabled: z.ZodBoolean;
31060
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31061
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31060
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31061
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31062
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31062
31063
  messageTemplate: z.ZodNullable<z.ZodString>;
31063
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31064
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31064
31065
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
31066
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31066
31067
  algorithm: z.ZodEnum<{
@@ -31108,7 +31109,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31108
31109
  }, z.core.$strip>>;
31109
31110
  }, z.core.$strip>>>;
31110
31111
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31111
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31112
31112
  webhookUrl: z.ZodString;
31113
31113
  }, z.core.$strip>>;
31114
31114
  pagination: z.ZodObject<{
@@ -31121,13 +31121,13 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31121
31121
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31122
31122
  id: z.ZodString;
31123
31123
  name: z.ZodString;
31124
- description: z.ZodNullable<z.ZodString>;
31125
31124
  createdAt: z.ZodString;
31126
31125
  updatedAt: z.ZodString;
31126
+ description: z.ZodNullable<z.ZodString>;
31127
31127
  enabled: z.ZodBoolean;
31128
+ createdBy: z.ZodNullable<z.ZodString>;
31128
31129
  messageTemplate: z.ZodNullable<z.ZodString>;
31129
31130
  runAsUserId: z.ZodNullable<z.ZodString>;
31130
- createdBy: z.ZodNullable<z.ZodString>;
31131
31131
  cronExpression: z.ZodNullable<z.ZodString>;
31132
31132
  cronTimezone: z.ZodNullable<z.ZodString>;
31133
31133
  runAt: z.ZodNullable<z.ZodString>;
@@ -31200,13 +31200,13 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31200
31200
  data: z.ZodArray<z.ZodObject<{
31201
31201
  id: z.ZodString;
31202
31202
  name: z.ZodString;
31203
- description: z.ZodNullable<z.ZodString>;
31204
31203
  createdAt: z.ZodString;
31205
31204
  updatedAt: z.ZodString;
31205
+ description: z.ZodNullable<z.ZodString>;
31206
31206
  enabled: z.ZodBoolean;
31207
+ createdBy: z.ZodNullable<z.ZodString>;
31207
31208
  messageTemplate: z.ZodNullable<z.ZodString>;
31208
31209
  runAsUserId: z.ZodNullable<z.ZodString>;
31209
- createdBy: z.ZodNullable<z.ZodString>;
31210
31210
  cronExpression: z.ZodNullable<z.ZodString>;
31211
31211
  cronTimezone: z.ZodNullable<z.ZodString>;
31212
31212
  runAt: z.ZodNullable<z.ZodString>;
@@ -31359,10 +31359,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31359
31359
  data: z.ZodArray<z.ZodObject<{
31360
31360
  id: z.ZodString;
31361
31361
  name: z.ZodString;
31362
- description: z.ZodString;
31363
31362
  createdAt: z.ZodString;
31364
31363
  updatedAt: z.ZodString;
31365
31364
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31365
+ description: z.ZodString;
31366
31366
  content: z.ZodString;
31367
31367
  subAgentSkillId: z.ZodString;
31368
31368
  subAgentId: z.ZodString;
@@ -31395,15 +31395,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31395
31395
  }, z.core.$strip>>;
31396
31396
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31397
31397
  name: z.ZodString;
31398
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31399
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31400
31398
  createdAt: z.ZodOptional<z.ZodString>;
31401
31399
  updatedAt: z.ZodOptional<z.ZodString>;
31400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31401
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31402
31402
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31403
31403
  id: z.ZodString;
31404
31404
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31405
31405
  id: z.ZodString;
31406
31406
  name: z.ZodString;
31407
+ createdAt: z.ZodOptional<z.ZodString>;
31408
+ updatedAt: z.ZodOptional<z.ZodString>;
31407
31409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31408
31410
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31409
31411
  models: z.ZodOptional<z.ZodObject<{
@@ -31420,8 +31422,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31420
31422
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31421
31423
  }, z.core.$strip>>;
31422
31424
  }, z.core.$strip>>;
31423
- createdAt: z.ZodOptional<z.ZodString>;
31424
- updatedAt: z.ZodOptional<z.ZodString>;
31425
31425
  type: z.ZodLiteral<"internal">;
31426
31426
  canUse: z.ZodArray<z.ZodObject<{
31427
31427
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31533,33 +31533,33 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31533
31533
  }, z.core.$strip>>>;
31534
31534
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31535
31535
  name: z.ZodString;
31536
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31537
31536
  createdAt: z.ZodOptional<z.ZodString>;
31538
31537
  updatedAt: z.ZodOptional<z.ZodString>;
31538
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31539
31539
  enabled: z.ZodOptional<z.ZodBoolean>;
31540
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31541
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31540
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31541
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31542
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31542
31543
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31543
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31544
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31544
31545
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31545
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31546
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31546
31547
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31547
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31548
31548
  id: z.ZodOptional<z.ZodString>;
31549
31549
  }, z.core.$strip>>>;
31550
31550
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31551
31551
  name: z.ZodString;
31552
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31553
31552
  createdAt: z.ZodOptional<z.ZodString>;
31554
31553
  updatedAt: z.ZodOptional<z.ZodString>;
31554
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  enabled: z.ZodOptional<z.ZodBoolean>;
31556
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31556
31557
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31557
31558
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31558
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31559
31559
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31560
31560
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31561
31561
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31562
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31562
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31563
31563
  maxRetries: z.ZodOptional<z.ZodNumber>;
31564
31564
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31565
31565
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31667,10 +31667,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31667
31667
  }, z.core.$strip>>>;
31668
31668
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31669
31669
  name: z.ZodString;
31670
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31670
31671
  description: z.ZodString;
31671
31672
  tenantId: z.ZodString;
31672
31673
  projectId: z.ZodString;
31673
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31674
31674
  content: z.ZodString;
31675
31675
  }>, z.core.$strip>>>;
31676
31676
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31759,11 +31759,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31759
31759
  name: z.ZodString;
31760
31760
  createdAt: z.ZodOptional<z.ZodString>;
31761
31761
  updatedAt: z.ZodOptional<z.ZodString>;
31762
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
31762
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31764
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31765
31764
  credentialStoreId: z.ZodString;
31766
31765
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31766
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
31767
  type: z.ZodEnum<{
31768
31768
  readonly memory: "memory";
31769
31769
  readonly keychain: "keychain";
@@ -31781,6 +31781,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31781
31781
  data: z.ZodObject<{
31782
31782
  id: z.ZodString;
31783
31783
  name: z.ZodString;
31784
+ createdAt: z.ZodString;
31785
+ updatedAt: z.ZodString;
31784
31786
  description: z.ZodNullable<z.ZodString>;
31785
31787
  models: z.ZodNullable<z.ZodObject<{
31786
31788
  base: z.ZodObject<{
@@ -31800,19 +31802,19 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31800
31802
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31801
31803
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31802
31804
  }, z.core.$strip>>;
31803
- createdAt: z.ZodString;
31804
- updatedAt: z.ZodString;
31805
31805
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31806
31806
  id: z.ZodString;
31807
31807
  name: z.ZodString;
31808
- description: z.ZodNullable<z.ZodString>;
31809
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31810
31808
  createdAt: z.ZodString;
31811
31809
  updatedAt: z.ZodString;
31810
+ description: z.ZodNullable<z.ZodString>;
31811
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31812
31812
  contextConfigId: z.ZodNullable<z.ZodString>;
31813
31813
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31814
31814
  id: z.ZodString;
31815
31815
  name: z.ZodString;
31816
+ createdAt: z.ZodString;
31817
+ updatedAt: z.ZodString;
31816
31818
  description: z.ZodNullable<z.ZodString>;
31817
31819
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31818
31820
  models: z.ZodNullable<z.ZodType<{
@@ -31877,8 +31879,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31877
31879
  }, {
31878
31880
  stepCountIs?: number | undefined;
31879
31881
  }>>>;
31880
- createdAt: z.ZodString;
31881
- updatedAt: z.ZodString;
31882
31882
  type: z.ZodLiteral<"internal">;
31883
31883
  canUse: z.ZodArray<z.ZodObject<{
31884
31884
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31951,10 +31951,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31951
31951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31952
31952
  id: z.ZodString;
31953
31953
  name: z.ZodString;
31954
- description: z.ZodNullable<z.ZodString>;
31955
- agentId: z.ZodString;
31956
31954
  createdAt: z.ZodString;
31957
31955
  updatedAt: z.ZodString;
31956
+ description: z.ZodNullable<z.ZodString>;
31957
+ agentId: z.ZodString;
31958
31958
  functionId: z.ZodString;
31959
31959
  relationshipId: z.ZodOptional<z.ZodString>;
31960
31960
  }, z.core.$strip>>>;
@@ -32062,10 +32062,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32062
32062
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32063
32063
  id: z.ZodString;
32064
32064
  name: z.ZodString;
32065
- description: z.ZodNullable<z.ZodString>;
32066
- agentId: z.ZodString;
32067
32065
  createdAt: z.ZodString;
32068
32066
  updatedAt: z.ZodString;
32067
+ description: z.ZodNullable<z.ZodString>;
32068
+ agentId: z.ZodString;
32069
32069
  functionId: z.ZodString;
32070
32070
  relationshipId: z.ZodOptional<z.ZodString>;
32071
32071
  }, z.core.$strip>>>;
@@ -32212,17 +32212,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32212
32212
  name: z.ZodString;
32213
32213
  createdAt: z.ZodString;
32214
32214
  updatedAt: z.ZodString;
32215
- toolId: z.ZodNullable<z.ZodString>;
32216
32215
  userId: z.ZodNullable<z.ZodString>;
32217
- createdBy: z.ZodNullable<z.ZodString>;
32216
+ toolId: z.ZodNullable<z.ZodString>;
32218
32217
  credentialStoreId: z.ZodString;
32219
32218
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32219
+ createdBy: z.ZodNullable<z.ZodString>;
32220
32220
  type: z.ZodEnum<{
32221
32221
  readonly memory: "memory";
32222
32222
  readonly keychain: "keychain";
32223
32223
  readonly nango: "nango";
32224
32224
  }>;
32225
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32225
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32226
32226
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32227
32227
  name: "created_at";
32228
32228
  tableName: "tools";
@@ -32502,7 +32502,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32502
32502
  }, {}, {
32503
32503
  length: 256;
32504
32504
  }>;
32505
- }, drizzle_zod15.BuildRefine<{
32505
+ }, drizzle_zod19.BuildRefine<{
32506
32506
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32507
32507
  name: "created_at";
32508
32508
  tableName: "tools";
@@ -32807,6 +32807,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32807
32807
  data: z.ZodObject<{
32808
32808
  id: z.ZodString;
32809
32809
  name: z.ZodString;
32810
+ createdAt: z.ZodString;
32811
+ updatedAt: z.ZodString;
32810
32812
  description: z.ZodNullable<z.ZodString>;
32811
32813
  models: z.ZodNullable<z.ZodObject<{
32812
32814
  base: z.ZodObject<{
@@ -32826,8 +32828,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32826
32828
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32827
32829
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32828
32830
  }, z.core.$strip>>;
32829
- createdAt: z.ZodString;
32830
- updatedAt: z.ZodString;
32831
32831
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32832
32832
  createdAt: z.ZodString;
32833
32833
  updatedAt: z.ZodString;
@@ -32860,10 +32860,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32860
32860
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32861
32861
  id: z.ZodString;
32862
32862
  name: z.ZodString;
32863
- description: z.ZodNullable<z.ZodString>;
32864
- agentId: z.ZodString;
32865
32863
  createdAt: z.ZodString;
32866
32864
  updatedAt: z.ZodString;
32865
+ description: z.ZodNullable<z.ZodString>;
32866
+ agentId: z.ZodString;
32867
32867
  functionId: z.ZodString;
32868
32868
  relationshipId: z.ZodOptional<z.ZodString>;
32869
32869
  }, z.core.$strip>>>;
@@ -33010,17 +33010,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33010
33010
  name: z.ZodString;
33011
33011
  createdAt: z.ZodString;
33012
33012
  updatedAt: z.ZodString;
33013
- toolId: z.ZodNullable<z.ZodString>;
33014
33013
  userId: z.ZodNullable<z.ZodString>;
33015
- createdBy: z.ZodNullable<z.ZodString>;
33014
+ toolId: z.ZodNullable<z.ZodString>;
33016
33015
  credentialStoreId: z.ZodString;
33017
33016
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33017
+ createdBy: z.ZodNullable<z.ZodString>;
33018
33018
  type: z.ZodEnum<{
33019
33019
  readonly memory: "memory";
33020
33020
  readonly keychain: "keychain";
33021
33021
  readonly nango: "nango";
33022
33022
  }>;
33023
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
33023
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
33024
33024
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33025
33025
  name: "created_at";
33026
33026
  tableName: "tools";
@@ -33300,7 +33300,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33300
33300
  }, {}, {
33301
33301
  length: 256;
33302
33302
  }>;
33303
- }, drizzle_zod15.BuildRefine<{
33303
+ }, drizzle_zod19.BuildRefine<{
33304
33304
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33305
33305
  name: "created_at";
33306
33306
  tableName: "tools";
@@ -33599,10 +33599,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33599
33599
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33600
33600
  id: z.ZodString;
33601
33601
  name: z.ZodString;
33602
- description: z.ZodNullable<z.ZodString>;
33603
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33604
33602
  createdAt: z.ZodString;
33605
33603
  updatedAt: z.ZodString;
33604
+ description: z.ZodNullable<z.ZodString>;
33605
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33606
33606
  contextConfigId: z.ZodNullable<z.ZodString>;
33607
33607
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33608
33608
  createdAt: z.ZodString;
@@ -33652,10 +33652,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33652
33652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33653
33653
  id: z.ZodString;
33654
33654
  name: z.ZodString;
33655
- description: z.ZodNullable<z.ZodString>;
33656
- agentId: z.ZodString;
33657
33655
  createdAt: z.ZodString;
33658
33656
  updatedAt: z.ZodString;
33657
+ description: z.ZodNullable<z.ZodString>;
33658
+ agentId: z.ZodString;
33659
33659
  functionId: z.ZodString;
33660
33660
  relationshipId: z.ZodOptional<z.ZodString>;
33661
33661
  }, z.core.$strip>>>;
@@ -33733,6 +33733,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33733
33733
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33734
33734
  id: z.ZodString;
33735
33735
  name: z.ZodString;
33736
+ createdAt: z.ZodString;
33737
+ updatedAt: z.ZodString;
33736
33738
  description: z.ZodNullable<z.ZodString>;
33737
33739
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33738
33740
  models: z.ZodNullable<z.ZodType<{
@@ -33797,8 +33799,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33797
33799
  }, {
33798
33800
  stepCountIs?: number | undefined;
33799
33801
  }>>>;
33800
- createdAt: z.ZodString;
33801
- updatedAt: z.ZodString;
33802
33802
  type: z.ZodLiteral<"internal">;
33803
33803
  canUse: z.ZodArray<z.ZodObject<{
33804
33804
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33838,15 +33838,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33838
33838
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33839
33839
  data: z.ZodObject<{
33840
33840
  name: z.ZodString;
33841
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33842
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33843
33841
  createdAt: z.ZodOptional<z.ZodString>;
33844
33842
  updatedAt: z.ZodOptional<z.ZodString>;
33843
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33844
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33845
33845
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33846
33846
  id: z.ZodString;
33847
33847
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33848
33848
  id: z.ZodString;
33849
33849
  name: z.ZodString;
33850
+ createdAt: z.ZodOptional<z.ZodString>;
33851
+ updatedAt: z.ZodOptional<z.ZodString>;
33850
33852
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33851
33853
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33852
33854
  models: z.ZodOptional<z.ZodObject<{
@@ -33863,8 +33865,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33863
33865
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33864
33866
  }, z.core.$strip>>;
33865
33867
  }, z.core.$strip>>;
33866
- createdAt: z.ZodOptional<z.ZodString>;
33867
- updatedAt: z.ZodOptional<z.ZodString>;
33868
33868
  type: z.ZodLiteral<"internal">;
33869
33869
  canUse: z.ZodArray<z.ZodObject<{
33870
33870
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33976,33 +33976,33 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33976
33976
  }, z.core.$strip>>>;
33977
33977
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33978
33978
  name: z.ZodString;
33979
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33980
33979
  createdAt: z.ZodOptional<z.ZodString>;
33981
33980
  updatedAt: z.ZodOptional<z.ZodString>;
33981
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33982
33982
  enabled: z.ZodOptional<z.ZodBoolean>;
33983
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33984
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33983
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33984
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33985
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33985
33986
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33986
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33987
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33987
33988
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33988
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33989
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33989
33990
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33990
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33991
33991
  id: z.ZodOptional<z.ZodString>;
33992
33992
  }, z.core.$strip>>>;
33993
33993
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33994
33994
  name: z.ZodString;
33995
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33996
33995
  createdAt: z.ZodOptional<z.ZodString>;
33997
33996
  updatedAt: z.ZodOptional<z.ZodString>;
33997
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33998
33998
  enabled: z.ZodOptional<z.ZodBoolean>;
33999
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33999
34000
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34000
34001
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34001
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34002
34002
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34003
34003
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34004
34004
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34005
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
34005
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34006
34006
  maxRetries: z.ZodOptional<z.ZodNumber>;
34007
34007
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
34008
34008
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -34052,14 +34052,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34052
34052
  data: z.ZodObject<{
34053
34053
  id: z.ZodString;
34054
34054
  name: z.ZodString;
34055
- description: z.ZodNullable<z.ZodString>;
34056
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34057
34055
  createdAt: z.ZodString;
34058
34056
  updatedAt: z.ZodString;
34057
+ description: z.ZodNullable<z.ZodString>;
34058
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34059
34059
  contextConfigId: z.ZodNullable<z.ZodString>;
34060
34060
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34061
34061
  id: z.ZodString;
34062
34062
  name: z.ZodString;
34063
+ createdAt: z.ZodString;
34064
+ updatedAt: z.ZodString;
34063
34065
  description: z.ZodNullable<z.ZodString>;
34064
34066
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34065
34067
  models: z.ZodNullable<z.ZodType<{
@@ -34124,8 +34126,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34124
34126
  }, {
34125
34127
  stepCountIs?: number | undefined;
34126
34128
  }>>>;
34127
- createdAt: z.ZodString;
34128
- updatedAt: z.ZodString;
34129
34129
  type: z.ZodLiteral<"internal">;
34130
34130
  canUse: z.ZodArray<z.ZodObject<{
34131
34131
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34198,10 +34198,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34198
34198
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34199
34199
  id: z.ZodString;
34200
34200
  name: z.ZodString;
34201
- description: z.ZodNullable<z.ZodString>;
34202
- agentId: z.ZodString;
34203
34201
  createdAt: z.ZodString;
34204
34202
  updatedAt: z.ZodString;
34203
+ description: z.ZodNullable<z.ZodString>;
34204
+ agentId: z.ZodString;
34205
34205
  functionId: z.ZodString;
34206
34206
  relationshipId: z.ZodOptional<z.ZodString>;
34207
34207
  }, z.core.$strip>>>;
@@ -34434,7 +34434,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34434
34434
  createdAt: z.ZodString;
34435
34435
  updatedAt: z.ZodString;
34436
34436
  targetAgentId: z.ZodString;
34437
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34437
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34438
34438
  subAgentId: z.ZodString;
34439
34439
  agentId: z.ZodString;
34440
34440
  projectId: z.ZodString;
@@ -34447,7 +34447,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34447
34447
  createdAt: z.ZodString;
34448
34448
  updatedAt: z.ZodString;
34449
34449
  targetAgentId: z.ZodString;
34450
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34450
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34451
34451
  subAgentId: z.ZodString;
34452
34452
  agentId: z.ZodString;
34453
34453
  projectId: z.ZodString;
@@ -34466,7 +34466,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34466
34466
  createdAt: z.ZodString;
34467
34467
  updatedAt: z.ZodString;
34468
34468
  externalAgentId: z.ZodString;
34469
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34469
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34470
34470
  subAgentId: z.ZodString;
34471
34471
  agentId: z.ZodString;
34472
34472
  projectId: z.ZodString;
@@ -34479,7 +34479,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34479
34479
  createdAt: z.ZodString;
34480
34480
  updatedAt: z.ZodString;
34481
34481
  externalAgentId: z.ZodString;
34482
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34483
34483
  subAgentId: z.ZodString;
34484
34484
  agentId: z.ZodString;
34485
34485
  projectId: z.ZodString;
@@ -34714,7 +34714,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34714
34714
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34715
34715
  ref: z.ZodOptional<z.ZodString>;
34716
34716
  }, z.core.$strip>;
34717
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34717
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34718
34718
  id: drizzle_orm_pg_core217.PgColumn<{
34719
34719
  name: "id";
34720
34720
  tableName: "project_metadata";
@@ -34808,7 +34808,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34808
34808
  }, {}, {
34809
34809
  length: 512;
34810
34810
  }>;
34811
- }, drizzle_zod15.BuildRefine<{
34811
+ }, drizzle_zod19.BuildRefine<{
34812
34812
  id: drizzle_orm_pg_core217.PgColumn<{
34813
34813
  name: "id";
34814
34814
  tableName: "project_metadata";
@@ -34919,10 +34919,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34919
34919
  disconnected: "disconnected";
34920
34920
  }>;
34921
34921
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34922
- Organization: "Organization";
34923
34922
  User: "User";
34923
+ Organization: "Organization";
34924
34924
  }>;
34925
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34925
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34926
34926
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34927
34927
  name: "created_at";
34928
34928
  tableName: "work_app_github_installations";
@@ -35015,7 +35015,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35015
35015
  tableName: "work_app_github_installations";
35016
35016
  dataType: "string";
35017
35017
  columnType: "PgVarchar";
35018
- data: "Organization" | "User";
35018
+ data: "User" | "Organization";
35019
35019
  driverParam: string;
35020
35020
  notNull: true;
35021
35021
  hasDefault: false;
@@ -35028,7 +35028,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35028
35028
  generated: undefined;
35029
35029
  }, {}, {
35030
35030
  length: 20;
35031
- $type: "Organization" | "User";
35031
+ $type: "User" | "Organization";
35032
35032
  }>;
35033
35033
  status: drizzle_orm_pg_core217.PgColumn<{
35034
35034
  name: "status";
@@ -35088,7 +35088,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35088
35088
  }, {}, {
35089
35089
  length: 256;
35090
35090
  }>;
35091
- }, drizzle_zod15.BuildRefine<{
35091
+ }, drizzle_zod19.BuildRefine<{
35092
35092
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35093
35093
  name: "created_at";
35094
35094
  tableName: "work_app_github_installations";
@@ -35181,7 +35181,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35181
35181
  tableName: "work_app_github_installations";
35182
35182
  dataType: "string";
35183
35183
  columnType: "PgVarchar";
35184
- data: "Organization" | "User";
35184
+ data: "User" | "Organization";
35185
35185
  driverParam: string;
35186
35186
  notNull: true;
35187
35187
  hasDefault: false;
@@ -35194,7 +35194,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35194
35194
  generated: undefined;
35195
35195
  }, {}, {
35196
35196
  length: 20;
35197
- $type: "Organization" | "User";
35197
+ $type: "User" | "Organization";
35198
35198
  }>;
35199
35199
  status: drizzle_orm_pg_core217.PgColumn<{
35200
35200
  name: "status";
@@ -35257,13 +35257,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35257
35257
  }, undefined>, undefined>;
35258
35258
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35259
35259
  id: z.ZodString;
35260
- tenantId: z.ZodString;
35261
35260
  accountId: z.ZodString;
35261
+ tenantId: z.ZodString;
35262
35262
  installationId: z.ZodString;
35263
35263
  accountLogin: z.ZodString;
35264
35264
  accountType: z.ZodEnum<{
35265
- Organization: "Organization";
35266
35265
  User: "User";
35266
+ Organization: "Organization";
35267
35267
  }>;
35268
35268
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35269
35269
  pending: "pending";
@@ -35288,13 +35288,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35288
35288
  }>, z.core.$strip>;
35289
35289
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35290
35290
  id: z.ZodString;
35291
- tenantId: z.ZodString;
35292
35291
  accountId: z.ZodString;
35292
+ tenantId: z.ZodString;
35293
35293
  installationId: z.ZodString;
35294
35294
  accountLogin: z.ZodString;
35295
35295
  accountType: z.ZodEnum<{
35296
- Organization: "Organization";
35297
35296
  User: "User";
35297
+ Organization: "Organization";
35298
35298
  }>;
35299
35299
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35300
35300
  pending: "pending";
@@ -35303,7 +35303,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35303
35303
  disconnected: "disconnected";
35304
35304
  }>>>;
35305
35305
  }>, z.core.$strip>;
35306
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35306
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35307
35307
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35308
35308
  name: "created_at";
35309
35309
  tableName: "work_app_github_repositories";
@@ -35448,7 +35448,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"se
35448
35448
  identity: undefined;
35449
35449
  generated: undefined;
35450
35450
  }, {}, {}>;
35451
- }, drizzle_zod15.BuildRefine<{
35451
+ }, drizzle_zod19.BuildRefine<{
35452
35452
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35453
35453
  name: "created_at";
35454
35454
  tableName: "work_app_github_repositories";
@@ -35614,7 +35614,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35614
35614
  repositoryFullName: z.ZodString;
35615
35615
  private: z.ZodOptional<z.ZodBoolean>;
35616
35616
  }>>, z.core.$strip>;
35617
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35617
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35618
35618
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35619
35619
  name: "created_at";
35620
35620
  tableName: "work_app_github_project_repository_access";
@@ -35725,7 +35725,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35725
35725
  }, {}, {
35726
35726
  length: 256;
35727
35727
  }>;
35728
- }, drizzle_zod15.BuildRefine<{
35728
+ }, drizzle_zod19.BuildRefine<{
35729
35729
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35730
35730
  name: "created_at";
35731
35731
  tableName: "work_app_github_project_repository_access";
@@ -35837,7 +35837,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35837
35837
  length: 256;
35838
35838
  }>;
35839
35839
  }, undefined>, undefined>;
35840
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35840
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35841
35841
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35842
35842
  name: "created_at";
35843
35843
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35967,7 +35967,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.Bu
35967
35967
  }, {}, {
35968
35968
  length: 256;
35969
35969
  }>;
35970
- }, drizzle_zod15.BuildRefine<{
35970
+ }, drizzle_zod19.BuildRefine<{
35971
35971
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35972
35972
  name: "created_at";
35973
35973
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -36121,7 +36121,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36121
36121
  all: "all";
36122
36122
  selected: "selected";
36123
36123
  }>;
36124
- repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
36124
+ repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
36125
36125
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36126
36126
  name: "created_at";
36127
36127
  tableName: "work_app_github_repositories";
@@ -36266,7 +36266,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36266
36266
  identity: undefined;
36267
36267
  generated: undefined;
36268
36268
  }, {}, {}>;
36269
- }, drizzle_zod15.BuildRefine<{
36269
+ }, drizzle_zod19.BuildRefine<{
36270
36270
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36271
36271
  name: "created_at";
36272
36272
  tableName: "work_app_github_repositories";
@@ -36413,7 +36413,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36413
36413
  }, {}, {}>;
36414
36414
  }, undefined>, undefined>>;
36415
36415
  }, z.core.$strip>;
36416
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
36416
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
36417
36417
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36418
36418
  name: "created_at";
36419
36419
  tableName: "work_app_slack_channel_agent_configs";
@@ -36651,7 +36651,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
36651
36651
  identity: undefined;
36652
36652
  generated: undefined;
36653
36653
  }, {}, {}>;
36654
- }, drizzle_zod15.BuildRefine<{
36654
+ }, drizzle_zod19.BuildRefine<{
36655
36655
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36656
36656
  name: "created_at";
36657
36657
  tableName: "work_app_slack_channel_agent_configs";
@@ -36890,7 +36890,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
36890
36890
  generated: undefined;
36891
36891
  }, {}, {}>;
36892
36892
  }, undefined>, undefined>;
36893
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
36893
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
36894
36894
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36895
36895
  name: "created_at";
36896
36896
  tableName: "work_app_slack_workspaces";
@@ -37185,7 +37185,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"sele
37185
37185
  identity: undefined;
37186
37186
  generated: undefined;
37187
37187
  }, {}, {}>;
37188
- }, drizzle_zod15.BuildRefine<{
37188
+ }, drizzle_zod19.BuildRefine<{
37189
37189
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37190
37190
  name: "created_at";
37191
37191
  tableName: "work_app_slack_workspaces";
@@ -37525,7 +37525,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
37525
37525
  dmEnabled: z.ZodBoolean;
37526
37526
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
37527
37527
  }, z.core.$strip>;
37528
- declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
37528
+ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37529
37529
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37530
37530
  name: "created_at";
37531
37531
  tableName: "user_profile";
@@ -37630,7 +37630,7 @@ declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
37630
37630
  }, {}, {
37631
37631
  $type: Record<string, unknown>;
37632
37632
  }>;
37633
- }, drizzle_zod15.BuildRefine<{
37633
+ }, drizzle_zod19.BuildRefine<{
37634
37634
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37635
37635
  name: "created_at";
37636
37636
  tableName: "user_profile";