@inkeep/agents-core 0.62.0 → 0.62.1

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 (27) hide show
  1. package/dist/auth/permissions.d.ts +9 -9
  2. package/dist/constants/allowed-file-formats.d.ts +3 -1
  3. package/dist/constants/allowed-file-formats.js +27 -3
  4. package/dist/data-access/manage/agents.d.ts +32 -32
  5. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  6. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  7. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +12 -12
  9. package/dist/data-access/manage/skills.d.ts +14 -14
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  11. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgents.d.ts +12 -12
  14. package/dist/data-access/manage/tools.d.ts +21 -21
  15. package/dist/data-access/manage/triggers.d.ts +1 -1
  16. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  17. package/dist/data-access/runtime/apps.d.ts +6 -6
  18. package/dist/data-access/runtime/conversations.d.ts +20 -20
  19. package/dist/data-access/runtime/messages.d.ts +21 -21
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  21. package/dist/data-access/runtime/tasks.d.ts +4 -4
  22. package/dist/db/manage/manage-schema.d.ts +2 -2
  23. package/dist/db/runtime/runtime-schema.d.ts +2 -2
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  26. package/dist/validation/schemas.d.ts +687 -687
  27. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core220 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod19 from "drizzle-zod";
7
+ import * as drizzle_zod15 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_zod19.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core220.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod19.BuildRefine<{
385
+ }, drizzle_zod15.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core220.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -820,8 +820,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
825
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
826
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
827
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -839,6 +839,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
842
843
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
843
844
  stepCountIs?: number | undefined;
844
845
  }, {
@@ -848,10 +849,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
849
  }, {
849
850
  stepCountIs?: number | undefined;
850
851
  }>>>>>>;
851
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
852
852
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
853
853
  }, z.core.$strip>;
854
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core220.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod19.BuildRefine<{
1022
+ }, drizzle_zod15.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core220.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_zod19.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core220.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1608,7 +1608,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1608
1608
  }, {}, {
1609
1609
  length: 256;
1610
1610
  }>;
1611
- }, drizzle_zod19.BuildRefine<{
1611
+ }, drizzle_zod15.BuildRefine<{
1612
1612
  createdAt: drizzle_orm_pg_core220.PgColumn<{
1613
1613
  name: "created_at";
1614
1614
  tableName: "agent";
@@ -1927,7 +1927,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1927
1927
  length: 256;
1928
1928
  }>;
1929
1929
  }, undefined>, undefined>;
1930
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1930
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1931
1931
  createdAt: drizzle_orm_pg_core220.PgColumn<{
1932
1932
  name: "created_at";
1933
1933
  tableName: "agent";
@@ -2245,7 +2245,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2245
2245
  }, {}, {
2246
2246
  length: 256;
2247
2247
  }>;
2248
- }, drizzle_zod19.BuildRefine<Pick<{
2248
+ }, drizzle_zod15.BuildRefine<Pick<{
2249
2249
  createdAt: drizzle_orm_pg_core220.PgColumn<{
2250
2250
  name: "created_at";
2251
2251
  tableName: "agent";
@@ -2563,7 +2563,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2563
2563
  }, {}, {
2564
2564
  length: 256;
2565
2565
  }>;
2566
- }, "name" | "id" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2566
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen" | "executionMode">, undefined>, undefined>;
2567
2567
  declare const AgentUpdateSchema: z.ZodObject<{
2568
2568
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2569
2569
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2832,9 +2832,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2832
2832
  id: z.ZodString;
2833
2833
  }>, z.core.$strip>;
2834
2834
  declare const AgentApiInsertSchema: z.ZodObject<{
2835
- name: z.ZodString;
2836
2835
  id: z.ZodString;
2836
+ name: z.ZodString;
2837
2837
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2838
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2839
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2838
2840
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2839
2841
  base?: {
2840
2842
  model?: string | undefined;
@@ -2888,17 +2890,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2888
2890
  providerOptions?: Record<string, unknown> | undefined;
2889
2891
  } | undefined;
2890
2892
  }>>>>;
2891
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2892
- transferCountIs?: number | undefined;
2893
- }, {
2894
- transferCountIs?: number | undefined;
2895
- }, z.core.$ZodTypeInternals<{
2896
- transferCountIs?: number | undefined;
2897
- }, {
2898
- transferCountIs?: number | undefined;
2899
- }>>>>;
2900
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2901
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2902
2893
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2903
2894
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2904
2895
  enabled?: boolean | undefined;
@@ -2957,11 +2948,22 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2957
2948
  } | undefined;
2958
2949
  }[] | undefined;
2959
2950
  }>>>>;
2951
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
+ transferCountIs?: number | undefined;
2953
+ }, {
2954
+ transferCountIs?: number | undefined;
2955
+ }, z.core.$ZodTypeInternals<{
2956
+ transferCountIs?: number | undefined;
2957
+ }, {
2958
+ transferCountIs?: number | undefined;
2959
+ }>>>>;
2960
2960
  executionMode: z.ZodOptional<z.ZodString>;
2961
2961
  }, z.core.$strip>;
2962
2962
  declare const AgentApiUpdateSchema: z.ZodObject<{
2963
2963
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2964
2964
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2965
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2966
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2965
2967
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2966
2968
  base?: {
2967
2969
  model?: string | undefined;
@@ -3015,17 +3017,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3015
3017
  providerOptions?: Record<string, unknown> | undefined;
3016
3018
  } | undefined;
3017
3019
  }>>>>>>;
3018
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3019
- transferCountIs?: number | undefined;
3020
- }, {
3021
- transferCountIs?: number | undefined;
3022
- }, z.core.$ZodTypeInternals<{
3023
- transferCountIs?: number | undefined;
3024
- }, {
3025
- transferCountIs?: number | undefined;
3026
- }>>>>>>;
3027
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3028
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3029
3020
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3030
3021
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3031
3022
  enabled?: boolean | undefined;
@@ -3084,6 +3075,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3084
3075
  } | undefined;
3085
3076
  }[] | undefined;
3086
3077
  }>>>>>>;
3078
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3079
+ transferCountIs?: number | undefined;
3080
+ }, {
3081
+ transferCountIs?: number | undefined;
3082
+ }, z.core.$ZodTypeInternals<{
3083
+ transferCountIs?: number | undefined;
3084
+ }, {
3085
+ transferCountIs?: number | undefined;
3086
+ }>>>>>>;
3087
3087
  executionMode: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3088
3088
  }, z.core.$strip>;
3089
3089
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
@@ -3150,8 +3150,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3150
3150
  */
3151
3151
  declare const SignatureSourceSchema: z.ZodObject<{
3152
3152
  source: z.ZodEnum<{
3153
- body: "body";
3154
3153
  query: "query";
3154
+ body: "body";
3155
3155
  header: "header";
3156
3156
  }>;
3157
3157
  key: z.ZodString;
@@ -3290,8 +3290,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3290
3290
  }>;
3291
3291
  signature: z.ZodObject<{
3292
3292
  source: z.ZodEnum<{
3293
- body: "body";
3294
3293
  query: "query";
3294
+ body: "body";
3295
3295
  header: "header";
3296
3296
  }>;
3297
3297
  key: z.ZodString;
@@ -3353,18 +3353,18 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3353
3353
  */
3354
3354
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3355
3355
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3356
- success: "success";
3357
3356
  pending: "pending";
3357
+ success: "success";
3358
3358
  failed: "failed";
3359
3359
  }>;
3360
3360
  declare const TriggerSelectSchema: z.ZodObject<{
3361
3361
  createdAt: z.ZodString;
3362
3362
  updatedAt: z.ZodString;
3363
3363
  enabled: z.ZodBoolean;
3364
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3365
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3364
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3365
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3366
3366
  messageTemplate: z.ZodNullable<z.ZodString>;
3367
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3367
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3368
3368
  name: z.ZodString;
3369
3369
  description: z.ZodNullable<z.ZodString>;
3370
3370
  agentId: z.ZodString;
@@ -3386,8 +3386,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3386
3386
  }>;
3387
3387
  signature: z.ZodObject<{
3388
3388
  source: z.ZodEnum<{
3389
- body: "body";
3390
3389
  query: "query";
3390
+ body: "body";
3391
3391
  header: "header";
3392
3392
  }>;
3393
3393
  key: z.ZodString;
@@ -3423,7 +3423,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3423
3423
  out: {};
3424
3424
  in: {};
3425
3425
  }>;
3426
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3426
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3427
3427
  createdAt: drizzle_orm_pg_core220.PgColumn<{
3428
3428
  name: "created_at";
3429
3429
  tableName: "triggers";
@@ -3583,7 +3583,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3583
3583
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3584
3584
  encoding: "hex" | "base64";
3585
3585
  signature: {
3586
- source: "body" | "query" | "header";
3586
+ source: "query" | "body" | "header";
3587
3587
  key: string;
3588
3588
  prefix?: string | undefined;
3589
3589
  regex?: string | undefined;
@@ -3620,7 +3620,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3620
3620
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3621
3621
  encoding: "hex" | "base64";
3622
3622
  signature: {
3623
- source: "body" | "query" | "header";
3623
+ source: "query" | "body" | "header";
3624
3624
  key: string;
3625
3625
  prefix?: string | undefined;
3626
3626
  regex?: string | undefined;
@@ -3793,7 +3793,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3793
3793
  }, {}, {
3794
3794
  length: 256;
3795
3795
  }>;
3796
- }, drizzle_zod19.BuildRefine<Pick<{
3796
+ }, drizzle_zod15.BuildRefine<Pick<{
3797
3797
  createdAt: drizzle_orm_pg_core220.PgColumn<{
3798
3798
  name: "created_at";
3799
3799
  tableName: "triggers";
@@ -3953,7 +3953,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3953
3953
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3954
3954
  encoding: "hex" | "base64";
3955
3955
  signature: {
3956
- source: "body" | "query" | "header";
3956
+ source: "query" | "body" | "header";
3957
3957
  key: string;
3958
3958
  prefix?: string | undefined;
3959
3959
  regex?: string | undefined;
@@ -3990,7 +3990,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3990
3990
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3991
3991
  encoding: "hex" | "base64";
3992
3992
  signature: {
3993
- source: "body" | "query" | "header";
3993
+ source: "query" | "body" | "header";
3994
3994
  key: string;
3995
3995
  prefix?: string | undefined;
3996
3996
  regex?: string | undefined;
@@ -4163,16 +4163,16 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4163
4163
  }, {}, {
4164
4164
  length: 256;
4165
4165
  }>;
4166
- }, "enabled" | "name" | "id" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4166
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4167
4167
  declare const TriggerUpdateSchema: z.ZodObject<{
4168
4168
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4169
4169
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4170
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4171
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4170
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4171
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4172
4172
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4173
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4173
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4174
4174
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4175
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4175
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4176
4176
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4177
4177
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4178
4178
  name: z.ZodOptional<z.ZodString>;
@@ -4190,10 +4190,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4190
4190
  createdAt: z.ZodString;
4191
4191
  updatedAt: z.ZodString;
4192
4192
  enabled: z.ZodBoolean;
4193
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4194
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4193
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4194
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4195
4195
  messageTemplate: z.ZodNullable<z.ZodString>;
4196
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4196
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4197
4197
  name: z.ZodString;
4198
4198
  description: z.ZodNullable<z.ZodString>;
4199
4199
  agentId: z.ZodString;
@@ -4215,8 +4215,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4215
4215
  }>;
4216
4216
  signature: z.ZodObject<{
4217
4217
  source: z.ZodEnum<{
4218
- body: "body";
4219
4218
  query: "query";
4219
+ body: "body";
4220
4220
  header: "header";
4221
4221
  }>;
4222
4222
  key: z.ZodString;
@@ -4250,47 +4250,46 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4250
4250
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4251
4251
  }>, z.core.$strip>;
4252
4252
  declare const TriggerApiInsertSchema: z.ZodObject<{
4253
- enabled: z.ZodOptional<z.ZodBoolean>;
4254
- name: z.ZodString;
4255
4253
  id: z.ZodOptional<z.ZodString>;
4254
+ name: z.ZodString;
4256
4255
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4257
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4258
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4259
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4256
+ enabled: z.ZodOptional<z.ZodBoolean>;
4257
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4258
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4260
4259
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4261
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4260
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4262
4261
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4262
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4264
4263
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4264
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4265
4265
  }, z.core.$strip>;
4266
4266
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4267
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4268
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4269
4267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4268
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4270
4269
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4271
4270
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4272
4271
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4273
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4274
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4275
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4272
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4273
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4274
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4276
4275
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4277
- authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4276
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4278
4277
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4279
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4278
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4280
4279
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4280
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4281
4281
  }, z.core.$strip>;
4282
4282
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4283
- enabled: z.ZodBoolean;
4284
- name: z.ZodString;
4285
4283
  id: z.ZodString;
4284
+ name: z.ZodString;
4286
4285
  createdAt: z.ZodString;
4287
4286
  updatedAt: z.ZodString;
4288
4287
  description: z.ZodNullable<z.ZodString>;
4289
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4290
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4291
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4288
+ enabled: z.ZodBoolean;
4289
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4290
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4292
4291
  messageTemplate: z.ZodNullable<z.ZodString>;
4293
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4292
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4294
4293
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4295
4294
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4296
4295
  algorithm: z.ZodEnum<{
@@ -4306,8 +4305,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4306
4305
  }>;
4307
4306
  signature: z.ZodObject<{
4308
4307
  source: z.ZodEnum<{
4309
- body: "body";
4310
4308
  query: "query";
4309
+ body: "body";
4311
4310
  header: "header";
4312
4311
  }>;
4313
4312
  key: z.ZodString;
@@ -4338,14 +4337,15 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4338
4337
  }, z.core.$strip>>;
4339
4338
  }, z.core.$strip>>>;
4340
4339
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4340
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4341
4341
  webhookUrl: z.ZodString;
4342
4342
  }, z.core.$strip>;
4343
4343
  declare const TriggerInvocationSelectSchema: z.ZodObject<{
4344
4344
  triggerId: z.ZodString;
4345
4345
  conversationId: z.ZodNullable<z.ZodString>;
4346
4346
  status: z.ZodString;
4347
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4348
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4347
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4348
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4349
4349
  errorMessage: z.ZodNullable<z.ZodString>;
4350
4350
  createdAt: z.ZodString;
4351
4351
  agentId: z.ZodString;
@@ -4365,7 +4365,7 @@ declare const TriggerInvocationSelectSchema: z.ZodObject<{
4365
4365
  out: {};
4366
4366
  in: {};
4367
4367
  }>;
4368
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4368
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4369
4369
  triggerId: drizzle_orm_pg_core220.PgColumn<{
4370
4370
  name: "trigger_id";
4371
4371
  tableName: "trigger_invocations";
@@ -4594,7 +4594,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4594
4594
  }, {}, {
4595
4595
  length: 256;
4596
4596
  }>;
4597
- }, drizzle_zod19.BuildRefine<Pick<{
4597
+ }, drizzle_zod15.BuildRefine<Pick<{
4598
4598
  triggerId: drizzle_orm_pg_core220.PgColumn<{
4599
4599
  name: "trigger_id";
4600
4600
  tableName: "trigger_invocations";
@@ -4823,7 +4823,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4823
4823
  }, {}, {
4824
4824
  length: 256;
4825
4825
  }>;
4826
- }, "id" | "createdAt" | "status" | "ref" | "tenantId" | "projectId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4826
+ }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4827
4827
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4828
4828
  triggerId: z.ZodOptional<z.ZodString>;
4829
4829
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4845,8 +4845,8 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4845
4845
  hash: string;
4846
4846
  }>>>>>;
4847
4847
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4848
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4849
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4848
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4849
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4850
4850
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4851
4851
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4852
4852
  agentId: z.ZodOptional<z.ZodString>;
@@ -4861,8 +4861,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4861
4861
  triggerId: z.ZodString;
4862
4862
  conversationId: z.ZodNullable<z.ZodString>;
4863
4863
  status: z.ZodString;
4864
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4865
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4864
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4865
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4866
4866
  errorMessage: z.ZodNullable<z.ZodString>;
4867
4867
  createdAt: z.ZodString;
4868
4868
  agentId: z.ZodString;
@@ -4881,7 +4881,6 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4881
4881
  }>, z.core.$strip>;
4882
4882
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4883
4883
  createdAt: z.ZodOptional<z.ZodString>;
4884
- status: z.ZodOptional<z.ZodString>;
4885
4884
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
4886
4885
  type: "commit" | "tag" | "branch";
4887
4886
  name: string;
@@ -4899,17 +4898,17 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4899
4898
  name: string;
4900
4899
  hash: string;
4901
4900
  }>>>>;
4902
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4901
+ status: z.ZodOptional<z.ZodString>;
4903
4902
  triggerId: z.ZodString;
4904
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4905
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4903
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4904
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4905
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4906
4906
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4907
4907
  id: z.ZodString;
4908
4908
  }, z.core.$strip>;
4909
4909
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4910
4910
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4911
4911
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4912
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4913
4912
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4914
4913
  type: "commit" | "tag" | "branch";
4915
4914
  name: string;
@@ -4927,10 +4926,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4927
4926
  name: string;
4928
4927
  hash: string;
4929
4928
  }>>>>>>;
4930
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4929
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4931
4930
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4932
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4933
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4931
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4932
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4933
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4934
4934
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4935
4935
  }, z.core.$strip>;
4936
4936
  declare const CronExpressionSchema: z.ZodString;
@@ -4959,20 +4959,20 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
4959
4959
  in: {};
4960
4960
  }>;
4961
4961
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4962
- enabled: z.ZodOptional<z.ZodBoolean>;
4963
- name: z.ZodString;
4964
4962
  id: z.ZodString;
4963
+ name: z.ZodString;
4965
4964
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4966
- tenantId: z.ZodString;
4967
- projectId: z.ZodString;
4965
+ enabled: z.ZodOptional<z.ZodBoolean>;
4968
4966
  agentId: z.ZodString;
4969
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4967
+ projectId: z.ZodString;
4968
+ tenantId: z.ZodString;
4970
4969
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4971
4970
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4971
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4972
4972
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4973
4973
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4974
4974
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4975
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4975
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4976
4976
  maxRetries: z.ZodOptional<z.ZodNumber>;
4977
4977
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
4978
4978
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -4981,18 +4981,18 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4981
4981
  in: {};
4982
4982
  }>;
4983
4983
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
4984
- name: z.ZodOptional<z.ZodString>;
4985
4984
  id: z.ZodOptional<z.ZodString>;
4985
+ name: z.ZodOptional<z.ZodString>;
4986
4986
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4987
- tenantId: z.ZodOptional<z.ZodString>;
4988
- projectId: z.ZodOptional<z.ZodString>;
4989
4987
  agentId: z.ZodOptional<z.ZodString>;
4990
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4988
+ projectId: z.ZodOptional<z.ZodString>;
4989
+ tenantId: z.ZodOptional<z.ZodString>;
4991
4990
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4992
4991
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4992
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4993
4993
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4994
4994
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4995
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4995
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4996
4996
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4997
4997
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4998
4998
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5024,49 +5024,49 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5024
5024
  createdBy: z.ZodNullable<z.ZodString>;
5025
5025
  }>, z.core.$strip>;
5026
5026
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5027
- enabled: z.ZodOptional<z.ZodBoolean>;
5028
5027
  name: z.ZodString;
5029
5028
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5029
+ enabled: z.ZodOptional<z.ZodBoolean>;
5031
5030
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5032
5031
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5032
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5033
5033
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5034
5034
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5035
5035
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5036
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5036
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5037
5037
  maxRetries: z.ZodOptional<z.ZodNumber>;
5038
5038
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5039
5039
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5040
5040
  id: z.ZodOptional<z.ZodString>;
5041
5041
  }, z.core.$strip>;
5042
5042
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5043
- enabled: z.ZodOptional<z.ZodBoolean>;
5044
5043
  name: z.ZodString;
5045
5044
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5046
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5045
+ enabled: z.ZodOptional<z.ZodBoolean>;
5047
5046
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5048
5047
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5048
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5049
5049
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5050
5050
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5051
5051
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5052
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5052
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5053
5053
  maxRetries: z.ZodOptional<z.ZodNumber>;
5054
5054
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5055
5055
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5056
5056
  id: z.ZodOptional<z.ZodString>;
5057
5057
  }, z.core.$strip>;
5058
5058
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5059
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5060
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5061
5059
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5060
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5062
5061
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5063
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5062
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5064
5063
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5065
5064
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5065
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5066
5066
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5067
5067
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5068
5068
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5069
- payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5069
+ payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5070
5070
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5071
5071
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5072
5072
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
@@ -5077,7 +5077,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5077
5077
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5078
5078
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5079
5079
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5080
- declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5080
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5081
5081
  createdAt: drizzle_orm_pg_core220.PgColumn<{
5082
5082
  name: "created_at";
5083
5083
  tableName: "scheduled_workflows";
@@ -5281,7 +5281,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
5281
5281
  }, {}, {
5282
5282
  length: 256;
5283
5283
  }>;
5284
- }, drizzle_zod19.BuildRefine<{
5284
+ }, drizzle_zod15.BuildRefine<{
5285
5285
  createdAt: drizzle_orm_pg_core220.PgColumn<{
5286
5286
  name: "created_at";
5287
5287
  tableName: "scheduled_workflows";
@@ -5486,7 +5486,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
5486
5486
  length: 256;
5487
5487
  }>;
5488
5488
  }, undefined>, undefined>;
5489
- declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5489
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5490
5490
  createdAt: drizzle_orm_pg_core220.PgColumn<{
5491
5491
  name: "created_at";
5492
5492
  tableName: "scheduled_workflows";
@@ -5690,7 +5690,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
5690
5690
  }, {}, {
5691
5691
  length: 256;
5692
5692
  }>;
5693
- }, drizzle_zod19.BuildRefine<Pick<{
5693
+ }, drizzle_zod15.BuildRefine<Pick<{
5694
5694
  createdAt: drizzle_orm_pg_core220.PgColumn<{
5695
5695
  name: "created_at";
5696
5696
  tableName: "scheduled_workflows";
@@ -5894,7 +5894,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
5894
5894
  }, {}, {
5895
5895
  length: 256;
5896
5896
  }>;
5897
- }, "name" | "id" | "createdAt" | "status" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
5897
+ }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "agentId" | "projectId" | "tenantId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
5898
5898
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
5899
5899
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5900
5900
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5927,19 +5927,19 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
5927
5927
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
5928
5928
  name: z.ZodString;
5929
5929
  createdAt: z.ZodOptional<z.ZodString>;
5930
- status: z.ZodOptional<z.ZodString>;
5931
5930
  updatedAt: z.ZodOptional<z.ZodString>;
5931
+ status: z.ZodOptional<z.ZodString>;
5932
5932
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5933
5933
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5934
5934
  scheduledTriggerId: z.ZodString;
5935
5935
  id: z.ZodOptional<z.ZodString>;
5936
5936
  }, z.core.$strip>;
5937
5937
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
5938
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5939
5938
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5939
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5940
5940
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5941
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5942
5941
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5942
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5943
5943
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5944
5944
  workflowRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5945
5945
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -5949,9 +5949,9 @@ type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
5949
5949
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
5950
5950
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5951
5951
  pending: "pending";
5952
+ failed: "failed";
5952
5953
  running: "running";
5953
5954
  completed: "completed";
5954
- failed: "failed";
5955
5955
  cancelled: "cancelled";
5956
5956
  }>;
5957
5957
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -5979,16 +5979,16 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5979
5979
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5980
5980
  status: z.ZodEnum<{
5981
5981
  pending: "pending";
5982
+ failed: "failed";
5982
5983
  running: "running";
5983
5984
  completed: "completed";
5984
- failed: "failed";
5985
5985
  cancelled: "cancelled";
5986
5986
  }>;
5987
5987
  }, {
5988
5988
  out: {};
5989
5989
  in: {};
5990
5990
  }>;
5991
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5991
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5992
5992
  scheduledTriggerId: drizzle_orm_pg_core220.PgColumn<{
5993
5993
  name: "scheduled_trigger_id";
5994
5994
  tableName: "scheduled_trigger_invocations";
@@ -6040,7 +6040,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6040
6040
  tableName: "scheduled_trigger_invocations";
6041
6041
  dataType: "string";
6042
6042
  columnType: "PgVarchar";
6043
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6043
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6044
6044
  driverParam: string;
6045
6045
  notNull: true;
6046
6046
  hasDefault: false;
@@ -6053,7 +6053,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6053
6053
  generated: undefined;
6054
6054
  }, {}, {
6055
6055
  length: 50;
6056
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6056
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6057
6057
  }>;
6058
6058
  scheduledFor: drizzle_orm_pg_core220.PgColumn<{
6059
6059
  name: "scheduled_for";
@@ -6273,7 +6273,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6273
6273
  }, {}, {
6274
6274
  length: 256;
6275
6275
  }>;
6276
- }, drizzle_zod19.BuildRefine<Pick<{
6276
+ }, drizzle_zod15.BuildRefine<Pick<{
6277
6277
  scheduledTriggerId: drizzle_orm_pg_core220.PgColumn<{
6278
6278
  name: "scheduled_trigger_id";
6279
6279
  tableName: "scheduled_trigger_invocations";
@@ -6325,7 +6325,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6325
6325
  tableName: "scheduled_trigger_invocations";
6326
6326
  dataType: "string";
6327
6327
  columnType: "PgVarchar";
6328
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6328
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6329
6329
  driverParam: string;
6330
6330
  notNull: true;
6331
6331
  hasDefault: false;
@@ -6338,7 +6338,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6338
6338
  generated: undefined;
6339
6339
  }, {}, {
6340
6340
  length: 50;
6341
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6341
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6342
6342
  }>;
6343
6343
  scheduledFor: drizzle_orm_pg_core220.PgColumn<{
6344
6344
  name: "scheduled_for";
@@ -6558,7 +6558,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6558
6558
  }, {}, {
6559
6559
  length: 256;
6560
6560
  }>;
6561
- }, "id" | "createdAt" | "status" | "ref" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6561
+ }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6562
6562
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6563
6563
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6564
6564
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6582,7 +6582,7 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6582
6582
  scheduledFor: z.ZodOptional<z.ZodString>;
6583
6583
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6584
6584
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6585
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
6585
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
6586
6586
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
6587
6587
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
6588
6588
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -6620,15 +6620,14 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6620
6620
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6621
6621
  status: z.ZodEnum<{
6622
6622
  pending: "pending";
6623
+ failed: "failed";
6623
6624
  running: "running";
6624
6625
  completed: "completed";
6625
- failed: "failed";
6626
6626
  cancelled: "cancelled";
6627
6627
  }>;
6628
6628
  }>, z.core.$strip>;
6629
6629
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6630
6630
  createdAt: z.ZodOptional<z.ZodString>;
6631
- status: z.ZodString;
6632
6631
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
6633
6632
  type: "commit" | "tag" | "branch";
6634
6633
  name: string;
@@ -6646,12 +6645,13 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6646
6645
  name: string;
6647
6646
  hash: string;
6648
6647
  }>>>>;
6648
+ status: z.ZodString;
6649
6649
  scheduledTriggerId: z.ZodString;
6650
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6651
6650
  scheduledFor: z.ZodString;
6652
6651
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6653
6652
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6654
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6653
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
6654
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6655
6655
  attemptNumber: z.ZodOptional<z.ZodInt>;
6656
6656
  idempotencyKey: z.ZodString;
6657
6657
  id: z.ZodString;
@@ -6659,7 +6659,6 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6659
6659
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6660
6660
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6661
6661
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6662
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6663
6662
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6664
6663
  type: "commit" | "tag" | "branch";
6665
6664
  name: string;
@@ -6677,12 +6676,13 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6677
6676
  name: string;
6678
6677
  hash: string;
6679
6678
  }>>>>>>;
6679
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6680
6680
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6681
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6682
6681
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6683
6682
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6684
6683
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6685
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6684
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
6685
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6686
6686
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6687
6687
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6688
6688
  }, z.core.$strip>;
@@ -6808,10 +6808,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
6808
6808
  }, z.core.$strip>;
6809
6809
  }>, z.core.$strip>;
6810
6810
  declare const TaskApiUpdateSchema: z.ZodObject<{
6811
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6812
6811
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6813
6812
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6814
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6815
6813
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6816
6814
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6817
6815
  type: z.ZodEnum<{
@@ -6822,12 +6820,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6822
6820
  name: z.ZodString;
6823
6821
  hash: z.ZodString;
6824
6822
  }, z.core.$strip>>>;
6825
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6823
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6824
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6826
6825
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6827
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6826
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6828
6827
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6828
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6829
6829
  }, z.core.$strip>;
6830
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6830
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6831
6831
  createdAt: drizzle_orm_pg_core220.PgColumn<{
6832
6832
  name: "created_at";
6833
6833
  tableName: "task_relations";
@@ -6976,7 +6976,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6976
6976
  }, {}, {
6977
6977
  length: 256;
6978
6978
  }>;
6979
- }, drizzle_zod19.BuildRefine<{
6979
+ }, drizzle_zod15.BuildRefine<{
6980
6980
  createdAt: drizzle_orm_pg_core220.PgColumn<{
6981
6981
  name: "created_at";
6982
6982
  tableName: "task_relations";
@@ -7202,7 +7202,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
7202
7202
  description: z.ZodOptional<z.ZodString>;
7203
7203
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7204
7204
  }, z.core.$strip>;
7205
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
7205
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
7206
7206
  createdAt: drizzle_orm_pg_core220.PgColumn<{
7207
7207
  name: "created_at";
7208
7208
  tableName: "tools";
@@ -7482,7 +7482,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
7482
7482
  }, {}, {
7483
7483
  length: 256;
7484
7484
  }>;
7485
- }, drizzle_zod19.BuildRefine<{
7485
+ }, drizzle_zod15.BuildRefine<{
7486
7486
  createdAt: drizzle_orm_pg_core220.PgColumn<{
7487
7487
  name: "created_at";
7488
7488
  tableName: "tools";
@@ -7764,12 +7764,12 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
7764
7764
  }>;
7765
7765
  }, undefined>, undefined>;
7766
7766
  declare const ToolInsertSchema: z.ZodObject<{
7767
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7768
- name: z.ZodString;
7769
7767
  id: z.ZodString;
7768
+ name: z.ZodString;
7770
7769
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7771
- tenantId: z.ZodString;
7770
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7772
7771
  projectId: z.ZodString;
7772
+ tenantId: z.ZodString;
7773
7773
  config: z.ZodObject<{
7774
7774
  type: z.ZodLiteral<"mcp">;
7775
7775
  mcp: z.ZodObject<{
@@ -7929,8 +7929,6 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7929
7929
  }, z.core.$strip>;
7930
7930
  }>, z.core.$strip>;
7931
7931
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7932
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7933
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7934
7932
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7935
7933
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7936
7934
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -7943,13 +7941,15 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7943
7941
  name: z.ZodString;
7944
7942
  hash: z.ZodString;
7945
7943
  }, z.core.$strip>>>;
7946
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7944
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7945
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7947
7946
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7948
7947
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7948
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7949
7949
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7950
7950
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7951
7951
  }, z.core.$strip>;
7952
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7952
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7953
7953
  createdAt: drizzle_orm_pg_core220.PgColumn<{
7954
7954
  name: "created_at";
7955
7955
  tableName: "messages";
@@ -8345,7 +8345,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
8345
8345
  }, {}, {
8346
8346
  length: 256;
8347
8347
  }>;
8348
- }, drizzle_zod19.BuildRefine<{
8348
+ }, drizzle_zod15.BuildRefine<{
8349
8349
  createdAt: drizzle_orm_pg_core220.PgColumn<{
8350
8350
  name: "created_at";
8351
8351
  tableName: "messages";
@@ -8841,24 +8841,24 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
8841
8841
  taskId: z.ZodOptional<z.ZodString>;
8842
8842
  }>, z.core.$strip>;
8843
8843
  declare const MessageApiUpdateSchema: z.ZodObject<{
8844
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8845
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8846
8844
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8847
8845
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8848
8846
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8847
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8848
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8849
8849
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8850
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8850
8851
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8851
8852
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8852
8853
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8853
8854
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8854
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8855
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8856
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8857
8855
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8858
8856
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8859
8857
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8860
8858
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8859
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8861
8860
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8861
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8862
8862
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8863
8863
  }, z.core.$strip>;
8864
8864
  declare const ContextCacheSelectSchema: z.ZodObject<{
@@ -8867,7 +8867,7 @@ declare const ContextCacheSelectSchema: z.ZodObject<{
8867
8867
  conversationId: z.ZodString;
8868
8868
  contextConfigId: z.ZodString;
8869
8869
  contextVariableKey: z.ZodString;
8870
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8870
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8871
8871
  requestHash: z.ZodNullable<z.ZodString>;
8872
8872
  fetchedAt: z.ZodString;
8873
8873
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8893,7 +8893,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8893
8893
  conversationId: z.ZodString;
8894
8894
  contextConfigId: z.ZodString;
8895
8895
  contextVariableKey: z.ZodString;
8896
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8896
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8897
8897
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8898
8898
  fetchedAt: z.ZodOptional<z.ZodString>;
8899
8899
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8919,7 +8919,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8919
8919
  conversationId: z.ZodOptional<z.ZodString>;
8920
8920
  contextConfigId: z.ZodOptional<z.ZodString>;
8921
8921
  contextVariableKey: z.ZodOptional<z.ZodString>;
8922
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8922
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8923
8923
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8924
8924
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8925
8925
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8945,7 +8945,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8945
8945
  conversationId: z.ZodString;
8946
8946
  contextConfigId: z.ZodString;
8947
8947
  contextVariableKey: z.ZodString;
8948
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8948
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8949
8949
  requestHash: z.ZodNullable<z.ZodString>;
8950
8950
  fetchedAt: z.ZodString;
8951
8951
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8968,7 +8968,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8968
8968
  conversationId: z.ZodString;
8969
8969
  contextConfigId: z.ZodString;
8970
8970
  contextVariableKey: z.ZodString;
8971
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8971
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8972
8972
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8973
8973
  fetchedAt: z.ZodOptional<z.ZodString>;
8974
8974
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8986,7 +8986,6 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8986
8986
  }, z.core.$strip>;
8987
8987
  }>, z.core.$strip>;
8988
8988
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8989
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8990
8989
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8991
8990
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8992
8991
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8999,6 +8998,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8999
8998
  name: z.ZodString;
9000
8999
  hash: z.ZodString;
9001
9000
  }, z.core.$strip>>>;
9001
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
9002
9002
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9003
9003
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9004
9004
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -9128,8 +9128,8 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9128
9128
  hash: string;
9129
9129
  }>>>>;
9130
9130
  datasetId: z.ZodString;
9131
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9132
9131
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9132
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9133
9133
  }, z.core.$strip>;
9134
9134
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9135
9135
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9152,10 +9152,10 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9152
9152
  hash: string;
9153
9153
  }>>>>>>;
9154
9154
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9155
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9156
9155
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9156
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9157
9157
  }, z.core.$strip>;
9158
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9158
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9159
9159
  createdAt: drizzle_orm_pg_core220.PgColumn<{
9160
9160
  name: "created_at";
9161
9161
  tableName: "dataset_run_conversation_relations";
@@ -9298,7 +9298,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
9298
9298
  }, {}, {
9299
9299
  length: 256;
9300
9300
  }>;
9301
- }, drizzle_zod19.BuildRefine<{
9301
+ }, drizzle_zod15.BuildRefine<{
9302
9302
  createdAt: drizzle_orm_pg_core220.PgColumn<{
9303
9303
  name: "created_at";
9304
9304
  tableName: "dataset_run_conversation_relations";
@@ -9492,7 +9492,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9492
9492
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9493
9493
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9494
9494
  }, z.core.$strip>;
9495
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9495
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9496
9496
  createdAt: drizzle_orm_pg_core220.PgColumn<{
9497
9497
  name: "created_at";
9498
9498
  tableName: "evaluation_result";
@@ -9654,7 +9654,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
9654
9654
  }, {}, {
9655
9655
  length: 256;
9656
9656
  }>;
9657
- }, drizzle_zod19.BuildRefine<{
9657
+ }, drizzle_zod15.BuildRefine<{
9658
9658
  createdAt: drizzle_orm_pg_core220.PgColumn<{
9659
9659
  name: "created_at";
9660
9660
  tableName: "evaluation_result";
@@ -9860,16 +9860,16 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9860
9860
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9861
9861
  createdAt: z.ZodOptional<z.ZodString>;
9862
9862
  updatedAt: z.ZodOptional<z.ZodString>;
9863
- evaluatorId: z.ZodString;
9864
9863
  conversationId: z.ZodString;
9864
+ evaluatorId: z.ZodString;
9865
9865
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9866
9866
  }, z.core.$strip>;
9867
9867
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9868
9868
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9869
9869
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9870
9870
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9871
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9872
9871
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9872
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9873
9873
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9874
9874
  }, z.core.$strip>;
9875
9875
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -9989,8 +9989,8 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9989
9989
  name: string;
9990
9990
  hash: string;
9991
9991
  }>>>>;
9992
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9993
9992
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9993
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9994
9994
  }, z.core.$strip>;
9995
9995
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9996
9996
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -10012,10 +10012,10 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10012
10012
  name: string;
10013
10013
  hash: string;
10014
10014
  }>>>>>>;
10015
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10016
10015
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10016
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10017
10017
  }, z.core.$strip>;
10018
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10018
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10019
10019
  createdAt: drizzle_orm_pg_core220.PgColumn<{
10020
10020
  name: "created_at";
10021
10021
  tableName: "evaluation_run_config";
@@ -10160,7 +10160,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10160
10160
  }, {}, {
10161
10161
  length: 256;
10162
10162
  }>;
10163
- }, drizzle_zod19.BuildRefine<{
10163
+ }, drizzle_zod15.BuildRefine<{
10164
10164
  createdAt: drizzle_orm_pg_core220.PgColumn<{
10165
10165
  name: "created_at";
10166
10166
  tableName: "evaluation_run_config";
@@ -10359,15 +10359,15 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10359
10359
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10360
10360
  }, z.core.$strip>;
10361
10361
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10362
- name: z.ZodString;
10363
10362
  id: z.ZodString;
10363
+ name: z.ZodString;
10364
10364
  createdAt: z.ZodString;
10365
10365
  updatedAt: z.ZodString;
10366
10366
  description: z.ZodNullable<z.ZodString>;
10367
10367
  isActive: z.ZodBoolean;
10368
10368
  suiteConfigIds: z.ZodArray<z.ZodString>;
10369
10369
  }, z.core.$strip>;
10370
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10370
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10371
10371
  createdAt: drizzle_orm_pg_core220.PgColumn<{
10372
10372
  name: "created_at";
10373
10373
  tableName: "evaluation_job_config";
@@ -10492,7 +10492,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10492
10492
  }, {}, {
10493
10493
  length: 256;
10494
10494
  }>;
10495
- }, drizzle_zod19.BuildRefine<{
10495
+ }, drizzle_zod15.BuildRefine<{
10496
10496
  createdAt: drizzle_orm_pg_core220.PgColumn<{
10497
10497
  name: "created_at";
10498
10498
  tableName: "evaluation_job_config";
@@ -10799,7 +10799,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10799
10799
  } | undefined;
10800
10800
  }>>>>>>>;
10801
10801
  }, z.core.$strip>;
10802
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10802
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10803
10803
  createdAt: drizzle_orm_pg_core220.PgColumn<{
10804
10804
  name: "created_at";
10805
10805
  tableName: "evaluation_suite_config";
@@ -10927,7 +10927,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
10927
10927
  }, {}, {
10928
10928
  length: 256;
10929
10929
  }>;
10930
- }, drizzle_zod19.BuildRefine<{
10930
+ }, drizzle_zod15.BuildRefine<{
10931
10931
  createdAt: drizzle_orm_pg_core220.PgColumn<{
10932
10932
  name: "created_at";
10933
10933
  tableName: "evaluation_suite_config";
@@ -11103,7 +11103,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11103
11103
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11104
11104
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11105
11105
  }, z.core.$strip>;
11106
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11106
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11107
11107
  createdAt: drizzle_orm_pg_core220.PgColumn<{
11108
11108
  name: "created_at";
11109
11109
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11233,7 +11233,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11233
11233
  }, {}, {
11234
11234
  length: 256;
11235
11235
  }>;
11236
- }, drizzle_zod19.BuildRefine<{
11236
+ }, drizzle_zod15.BuildRefine<{
11237
11237
  createdAt: drizzle_orm_pg_core220.PgColumn<{
11238
11238
  name: "created_at";
11239
11239
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11400,16 +11400,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11400
11400
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11401
11401
  createdAt: z.ZodOptional<z.ZodString>;
11402
11402
  updatedAt: z.ZodOptional<z.ZodString>;
11403
- evaluationSuiteConfigId: z.ZodString;
11404
11403
  evaluationRunConfigId: z.ZodString;
11404
+ evaluationSuiteConfigId: z.ZodString;
11405
11405
  }, z.core.$strip>;
11406
11406
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11407
11407
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11408
11408
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11409
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11410
11409
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11410
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11411
11411
  }, z.core.$strip>;
11412
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11412
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11413
11413
  createdAt: drizzle_orm_pg_core220.PgColumn<{
11414
11414
  name: "created_at";
11415
11415
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11539,7 +11539,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
11539
11539
  }, {}, {
11540
11540
  length: 256;
11541
11541
  }>;
11542
- }, drizzle_zod19.BuildRefine<{
11542
+ }, drizzle_zod15.BuildRefine<{
11543
11543
  createdAt: drizzle_orm_pg_core220.PgColumn<{
11544
11544
  name: "created_at";
11545
11545
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11706,16 +11706,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11706
11706
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11707
11707
  createdAt: z.ZodOptional<z.ZodString>;
11708
11708
  updatedAt: z.ZodOptional<z.ZodString>;
11709
- evaluatorId: z.ZodString;
11710
11709
  evaluationJobConfigId: z.ZodString;
11710
+ evaluatorId: z.ZodString;
11711
11711
  }, z.core.$strip>;
11712
11712
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11713
11713
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11714
11714
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11715
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11716
11715
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11716
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11717
11717
  }, z.core.$strip>;
11718
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11718
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11719
11719
  createdAt: drizzle_orm_pg_core220.PgColumn<{
11720
11720
  name: "created_at";
11721
11721
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11845,7 +11845,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
11845
11845
  }, {}, {
11846
11846
  length: 256;
11847
11847
  }>;
11848
- }, drizzle_zod19.BuildRefine<{
11848
+ }, drizzle_zod15.BuildRefine<{
11849
11849
  createdAt: drizzle_orm_pg_core220.PgColumn<{
11850
11850
  name: "created_at";
11851
11851
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -12012,16 +12012,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
12012
12012
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
12013
12013
  createdAt: z.ZodOptional<z.ZodString>;
12014
12014
  updatedAt: z.ZodOptional<z.ZodString>;
12015
- evaluationSuiteConfigId: z.ZodString;
12016
12015
  evaluatorId: z.ZodString;
12016
+ evaluationSuiteConfigId: z.ZodString;
12017
12017
  }, z.core.$strip>;
12018
12018
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12019
12019
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12020
12020
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12021
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12022
12021
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12022
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12023
12023
  }, z.core.$strip>;
12024
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12024
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
12025
12025
  createdAt: drizzle_orm_pg_core220.PgColumn<{
12026
12026
  name: "created_at";
12027
12027
  tableName: "evaluator";
@@ -12229,7 +12229,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12229
12229
  }, {}, {
12230
12230
  length: 256;
12231
12231
  }>;
12232
- }, drizzle_zod19.BuildRefine<{
12232
+ }, drizzle_zod15.BuildRefine<{
12233
12233
  createdAt: drizzle_orm_pg_core220.PgColumn<{
12234
12234
  name: "created_at";
12235
12235
  tableName: "evaluator";
@@ -12520,10 +12520,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12520
12520
  id: z.ZodString;
12521
12521
  }>, z.core.$strip>;
12522
12522
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12523
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12524
12523
  name: z.ZodString;
12525
12524
  createdAt: z.ZodOptional<z.ZodString>;
12526
12525
  updatedAt: z.ZodOptional<z.ZodString>;
12526
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12527
12527
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12528
12528
  model: z.ZodType<{
12529
12529
  model?: string | undefined;
@@ -12542,10 +12542,10 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12542
12542
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12543
12543
  }, z.core.$strip>;
12544
12544
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12545
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12546
12545
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12547
12546
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12548
12547
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12548
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12549
12549
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12550
12550
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12551
12551
  model?: string | undefined;
@@ -12563,7 +12563,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12563
12563
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12564
12564
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12565
12565
  }, z.core.$strip>;
12566
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12566
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12567
12567
  createdAt: drizzle_orm_pg_core220.PgColumn<{
12568
12568
  name: "created_at";
12569
12569
  tableName: "dataset";
@@ -12674,7 +12674,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12674
12674
  }, {}, {
12675
12675
  length: 256;
12676
12676
  }>;
12677
- }, drizzle_zod19.BuildRefine<{
12677
+ }, drizzle_zod15.BuildRefine<{
12678
12678
  createdAt: drizzle_orm_pg_core220.PgColumn<{
12679
12679
  name: "created_at";
12680
12680
  tableName: "dataset";
@@ -12826,7 +12826,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12826
12826
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12827
12827
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12828
12828
  }, z.core.$strip>;
12829
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12829
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12830
12830
  createdAt: drizzle_orm_pg_core220.PgColumn<{
12831
12831
  name: "created_at";
12832
12832
  tableName: "dataset_item";
@@ -13014,7 +13014,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
13014
13014
  }, {}, {
13015
13015
  length: 256;
13016
13016
  }>;
13017
- }, drizzle_zod19.BuildRefine<{
13017
+ }, drizzle_zod15.BuildRefine<{
13018
13018
  createdAt: drizzle_orm_pg_core220.PgColumn<{
13019
13019
  name: "created_at";
13020
13020
  tableName: "dataset_item";
@@ -13585,7 +13585,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13585
13585
  }, z.core.$strip>>;
13586
13586
  }, z.core.$strip>>>;
13587
13587
  }, z.core.$strip>;
13588
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13588
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13589
13589
  createdAt: drizzle_orm_pg_core220.PgColumn<{
13590
13590
  name: "created_at";
13591
13591
  tableName: "dataset_run_config";
@@ -13732,7 +13732,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
13732
13732
  }, {}, {
13733
13733
  length: 256;
13734
13734
  }>;
13735
- }, drizzle_zod19.BuildRefine<{
13735
+ }, drizzle_zod15.BuildRefine<{
13736
13736
  createdAt: drizzle_orm_pg_core220.PgColumn<{
13737
13737
  name: "created_at";
13738
13738
  tableName: "dataset_run_config";
@@ -13930,7 +13930,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13930
13930
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13931
13931
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13932
13932
  }, z.core.$strip>;
13933
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13933
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13934
13934
  createdAt: drizzle_orm_pg_core220.PgColumn<{
13935
13935
  name: "created_at";
13936
13936
  tableName: "dataset_run_config_agent_relations";
@@ -14060,7 +14060,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
14060
14060
  }, {}, {
14061
14061
  length: 256;
14062
14062
  }>;
14063
- }, drizzle_zod19.BuildRefine<{
14063
+ }, drizzle_zod15.BuildRefine<{
14064
14064
  createdAt: drizzle_orm_pg_core220.PgColumn<{
14065
14065
  name: "created_at";
14066
14066
  tableName: "dataset_run_config_agent_relations";
@@ -14235,12 +14235,12 @@ declare const SkillSelectSchema: z.ZodObject<{
14235
14235
  in: {};
14236
14236
  }>;
14237
14237
  declare const SkillInsertSchema: z.ZodObject<{
14238
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14239
14238
  name: z.ZodString;
14239
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14240
14240
  description: z.ZodString;
14241
- content: z.ZodString;
14242
- tenantId: z.ZodString;
14243
14241
  projectId: z.ZodString;
14242
+ tenantId: z.ZodString;
14243
+ content: z.ZodString;
14244
14244
  }, {
14245
14245
  out: {};
14246
14246
  in: {};
@@ -14248,9 +14248,9 @@ declare const SkillInsertSchema: z.ZodObject<{
14248
14248
  declare const SkillUpdateSchema: z.ZodObject<{
14249
14249
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
14250
14250
  description: z.ZodOptional<z.ZodString>;
14251
- content: z.ZodOptional<z.ZodString>;
14252
- tenantId: z.ZodOptional<z.ZodString>;
14253
14251
  projectId: z.ZodOptional<z.ZodString>;
14252
+ tenantId: z.ZodOptional<z.ZodString>;
14253
+ content: z.ZodOptional<z.ZodString>;
14254
14254
  }, {
14255
14255
  out: {};
14256
14256
  in: {};
@@ -14267,19 +14267,19 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
14267
14267
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
14268
14268
  }>, z.core.$strip>;
14269
14269
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
14270
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14271
14270
  name: z.ZodString;
14271
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14272
14272
  description: z.ZodString;
14273
- content: z.ZodString;
14274
- tenantId: z.ZodString;
14275
14273
  projectId: z.ZodString;
14274
+ tenantId: z.ZodString;
14275
+ content: z.ZodString;
14276
14276
  }>, z.core.$strip>;
14277
14277
  declare const SkillApiUpdateSchema: z.ZodObject<{
14278
14278
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
14279
14279
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14280
14280
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14281
14281
  }, z.core.$strip>;
14282
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14282
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14283
14283
  createdAt: drizzle_orm_pg_core220.PgColumn<{
14284
14284
  name: "created_at";
14285
14285
  tableName: "data_components";
@@ -14465,7 +14465,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14465
14465
  }, {}, {
14466
14466
  length: 256;
14467
14467
  }>;
14468
- }, drizzle_zod19.BuildRefine<{
14468
+ }, drizzle_zod15.BuildRefine<{
14469
14469
  createdAt: drizzle_orm_pg_core220.PgColumn<{
14470
14470
  name: "created_at";
14471
14471
  tableName: "data_components";
@@ -14653,11 +14653,11 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14653
14653
  }>;
14654
14654
  }, undefined>, undefined>;
14655
14655
  declare const DataComponentInsertSchema: z.ZodObject<{
14656
- name: z.ZodString;
14657
14656
  id: z.ZodString;
14657
+ name: z.ZodString;
14658
14658
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14659
- tenantId: z.ZodString;
14660
14659
  projectId: z.ZodString;
14660
+ tenantId: z.ZodString;
14661
14661
  props: z.ZodType<{
14662
14662
  [x: string]: unknown;
14663
14663
  type: "object";
@@ -14705,11 +14705,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14705
14705
  in: {};
14706
14706
  }>;
14707
14707
  declare const DataComponentUpdateSchema: z.ZodObject<{
14708
- name: z.ZodOptional<z.ZodString>;
14709
14708
  id: z.ZodOptional<z.ZodString>;
14709
+ name: z.ZodOptional<z.ZodString>;
14710
14710
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14711
- tenantId: z.ZodOptional<z.ZodString>;
14712
14711
  projectId: z.ZodOptional<z.ZodString>;
14712
+ tenantId: z.ZodOptional<z.ZodString>;
14713
14713
  props: z.ZodOptional<z.ZodType<{
14714
14714
  [x: string]: unknown;
14715
14715
  type: "object";
@@ -14857,7 +14857,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14857
14857
  description: z.ZodOptional<z.ZodString>;
14858
14858
  }, z.core.$loose>;
14859
14859
  }, z.core.$strip>;
14860
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14860
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14861
14861
  dataComponentId: drizzle_orm_pg_core220.PgColumn<{
14862
14862
  name: "data_component_id";
14863
14863
  tableName: "sub_agent_data_components";
@@ -14989,7 +14989,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14989
14989
  }, {}, {
14990
14990
  length: 256;
14991
14991
  }>;
14992
- }, drizzle_zod19.BuildRefine<{
14992
+ }, drizzle_zod15.BuildRefine<{
14993
14993
  dataComponentId: drizzle_orm_pg_core220.PgColumn<{
14994
14994
  name: "data_component_id";
14995
14995
  tableName: "sub_agent_data_components";
@@ -15122,7 +15122,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
15122
15122
  length: 256;
15123
15123
  }>;
15124
15124
  }, undefined>, undefined>;
15125
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
15125
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
15126
15126
  dataComponentId: drizzle_orm_pg_core220.PgColumn<{
15127
15127
  name: "data_component_id";
15128
15128
  tableName: "sub_agent_data_components";
@@ -15254,7 +15254,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15254
15254
  }, {}, {
15255
15255
  length: 256;
15256
15256
  }>;
15257
- }, drizzle_zod19.BuildRefine<Pick<{
15257
+ }, drizzle_zod15.BuildRefine<Pick<{
15258
15258
  dataComponentId: drizzle_orm_pg_core220.PgColumn<{
15259
15259
  name: "data_component_id";
15260
15260
  tableName: "sub_agent_data_components";
@@ -15386,7 +15386,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15386
15386
  }, {}, {
15387
15387
  length: 256;
15388
15388
  }>;
15389
- }, "id" | "createdAt" | "tenantId" | "projectId" | "subAgentId" | "agentId" | "dataComponentId">, undefined>, undefined>;
15389
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15390
15390
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15391
15391
  dataComponentId: z.ZodOptional<z.ZodString>;
15392
15392
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15409,8 +15409,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15409
15409
  id: z.ZodString;
15410
15410
  }>, z.core.$strip>;
15411
15411
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15412
- subAgentId: z.ZodString;
15413
15412
  agentId: z.ZodString;
15413
+ subAgentId: z.ZodString;
15414
15414
  dataComponentId: z.ZodString;
15415
15415
  }, {
15416
15416
  out: {};
@@ -15422,7 +15422,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15422
15422
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15423
15423
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15424
15424
  }, z.core.$strip>;
15425
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15425
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15426
15426
  createdAt: drizzle_orm_pg_core220.PgColumn<{
15427
15427
  name: "created_at";
15428
15428
  tableName: "artifact_components";
@@ -15608,7 +15608,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
15608
15608
  }, {}, {
15609
15609
  length: 256;
15610
15610
  }>;
15611
- }, drizzle_zod19.BuildRefine<{
15611
+ }, drizzle_zod15.BuildRefine<{
15612
15612
  createdAt: drizzle_orm_pg_core220.PgColumn<{
15613
15613
  name: "created_at";
15614
15614
  tableName: "artifact_components";
@@ -15983,8 +15983,8 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15983
15983
  in: {};
15984
15984
  }>;
15985
15985
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15986
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15987
15986
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15987
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15988
15988
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15989
15989
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15990
15990
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -16031,7 +16031,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16031
16031
  mockData: Record<string, unknown>;
16032
16032
  }>>>>>>;
16033
16033
  }, z.core.$strip>;
16034
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16034
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16035
16035
  artifactComponentId: drizzle_orm_pg_core220.PgColumn<{
16036
16036
  name: "artifact_component_id";
16037
16037
  tableName: "sub_agent_artifact_components";
@@ -16163,7 +16163,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
16163
16163
  }, {}, {
16164
16164
  length: 256;
16165
16165
  }>;
16166
- }, drizzle_zod19.BuildRefine<{
16166
+ }, drizzle_zod15.BuildRefine<{
16167
16167
  artifactComponentId: drizzle_orm_pg_core220.PgColumn<{
16168
16168
  name: "artifact_component_id";
16169
16169
  tableName: "sub_agent_artifact_components";
@@ -16330,8 +16330,8 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
16330
16330
  id: z.ZodString;
16331
16331
  }>, z.core.$strip>;
16332
16332
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
16333
- subAgentId: z.ZodString;
16334
16333
  agentId: z.ZodString;
16334
+ subAgentId: z.ZodString;
16335
16335
  artifactComponentId: z.ZodString;
16336
16336
  }, {
16337
16337
  out: {};
@@ -16401,8 +16401,8 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
16401
16401
  index: z.ZodInt;
16402
16402
  }>, z.core.$strip>;
16403
16403
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
16404
- subAgentId: z.ZodString;
16405
16404
  agentId: z.ZodString;
16405
+ subAgentId: z.ZodString;
16406
16406
  skillId: z.ZodString;
16407
16407
  index: z.ZodInt;
16408
16408
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -16420,11 +16420,11 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
16420
16420
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
16421
16421
  }, z.core.$strip>;
16422
16422
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
16423
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16424
- name: z.ZodString;
16425
16423
  id: z.ZodString;
16424
+ name: z.ZodString;
16426
16425
  createdAt: z.ZodString;
16427
16426
  updatedAt: z.ZodString;
16427
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16428
16428
  description: z.ZodString;
16429
16429
  content: z.ZodString;
16430
16430
  subAgentSkillId: z.ZodString;
@@ -16447,11 +16447,11 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
16447
16447
  in: {};
16448
16448
  }>;
16449
16449
  declare const ExternalAgentInsertSchema: z.ZodObject<{
16450
- name: z.ZodString;
16451
16450
  id: z.ZodString;
16451
+ name: z.ZodString;
16452
16452
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16453
- tenantId: z.ZodString;
16454
16453
  projectId: z.ZodString;
16454
+ tenantId: z.ZodString;
16455
16455
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16456
16456
  baseUrl: z.ZodURL;
16457
16457
  }, {
@@ -16459,11 +16459,11 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16459
16459
  in: {};
16460
16460
  }>;
16461
16461
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
16462
- name: z.ZodOptional<z.ZodString>;
16463
16462
  id: z.ZodOptional<z.ZodString>;
16463
+ name: z.ZodOptional<z.ZodString>;
16464
16464
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16465
- tenantId: z.ZodOptional<z.ZodString>;
16466
16465
  projectId: z.ZodOptional<z.ZodString>;
16466
+ tenantId: z.ZodOptional<z.ZodString>;
16467
16467
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16468
16468
  baseUrl: z.ZodOptional<z.ZodURL>;
16469
16469
  }, {
@@ -16482,24 +16482,24 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
16482
16482
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16483
16483
  }>, z.core.$strip>;
16484
16484
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16485
- name: z.ZodString;
16486
16485
  id: z.ZodString;
16486
+ name: z.ZodString;
16487
16487
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16488
- tenantId: z.ZodString;
16489
16488
  projectId: z.ZodString;
16489
+ tenantId: z.ZodString;
16490
16490
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16491
16491
  baseUrl: z.ZodURL;
16492
16492
  }>, z.core.$strip>;
16493
16493
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16494
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16495
16494
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16495
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16496
16496
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16497
16497
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16498
16498
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16499
16499
  }, z.core.$strip>;
16500
16500
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16501
- name: z.ZodString;
16502
16501
  id: z.ZodString;
16502
+ name: z.ZodString;
16503
16503
  createdAt: z.ZodString;
16504
16504
  updatedAt: z.ZodString;
16505
16505
  description: z.ZodNullable<z.ZodString>;
@@ -16556,6 +16556,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16556
16556
  providerOptions?: Record<string, unknown> | undefined;
16557
16557
  } | undefined;
16558
16558
  }>>>;
16559
+ prompt: z.ZodNullable<z.ZodString>;
16559
16560
  stopWhen: z.ZodNullable<z.ZodType<{
16560
16561
  stepCountIs?: number | undefined;
16561
16562
  }, {
@@ -16565,12 +16566,11 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16565
16566
  }, {
16566
16567
  stepCountIs?: number | undefined;
16567
16568
  }>>>;
16568
- prompt: z.ZodNullable<z.ZodString>;
16569
16569
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16570
16570
  type: z.ZodLiteral<"internal">;
16571
16571
  }, z.core.$strip>, z.ZodObject<{
16572
- name: z.ZodString;
16573
16572
  id: z.ZodString;
16573
+ name: z.ZodString;
16574
16574
  createdAt: z.ZodString;
16575
16575
  updatedAt: z.ZodString;
16576
16576
  description: z.ZodNullable<z.ZodString>;
@@ -16578,7 +16578,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16578
16578
  baseUrl: z.ZodString;
16579
16579
  type: z.ZodLiteral<"external">;
16580
16580
  }, z.core.$strip>], "type">;
16581
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16581
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16582
16582
  createdAt: drizzle_orm_pg_core220.PgColumn<{
16583
16583
  name: "created_at";
16584
16584
  tableName: "api_keys";
@@ -16799,7 +16799,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16799
16799
  }, {}, {
16800
16800
  length: 256;
16801
16801
  }>;
16802
- }, drizzle_zod19.BuildRefine<{
16802
+ }, drizzle_zod15.BuildRefine<{
16803
16803
  createdAt: drizzle_orm_pg_core220.PgColumn<{
16804
16804
  name: "created_at";
16805
16805
  tableName: "api_keys";
@@ -17040,19 +17040,19 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
17040
17040
  }>;
17041
17041
  declare const ApiKeyUpdateSchema: z.ZodObject<{
17042
17042
  name: z.ZodOptional<z.ZodString>;
17043
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17044
17043
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17044
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17045
17045
  agentId: z.ZodOptional<z.ZodString>;
17046
17046
  }, {
17047
17047
  out: {};
17048
17048
  in: {};
17049
17049
  }>;
17050
17050
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
17051
- name: z.ZodNullable<z.ZodString>;
17052
17051
  id: z.ZodString;
17052
+ name: z.ZodNullable<z.ZodString>;
17053
17053
  createdAt: z.ZodString;
17054
- expiresAt: z.ZodNullable<z.ZodString>;
17055
17054
  updatedAt: z.ZodString;
17055
+ expiresAt: z.ZodNullable<z.ZodString>;
17056
17056
  agentId: z.ZodString;
17057
17057
  publicId: z.ZodString;
17058
17058
  keyPrefix: z.ZodString;
@@ -17064,11 +17064,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
17064
17064
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17065
17065
  data: z.ZodObject<{
17066
17066
  apiKey: z.ZodObject<{
17067
- name: z.ZodNullable<z.ZodString>;
17068
17067
  id: z.ZodString;
17068
+ name: z.ZodNullable<z.ZodString>;
17069
17069
  createdAt: z.ZodString;
17070
- expiresAt: z.ZodNullable<z.ZodString>;
17071
17070
  updatedAt: z.ZodString;
17071
+ expiresAt: z.ZodNullable<z.ZodString>;
17072
17072
  agentId: z.ZodString;
17073
17073
  publicId: z.ZodString;
17074
17074
  keyPrefix: z.ZodString;
@@ -17083,8 +17083,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17083
17083
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
17084
17084
  name: z.ZodString;
17085
17085
  createdAt: z.ZodOptional<z.ZodString>;
17086
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17087
17086
  updatedAt: z.ZodOptional<z.ZodString>;
17087
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17088
17088
  agentId: z.ZodString;
17089
17089
  }, {
17090
17090
  out: {};
@@ -17092,8 +17092,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
17092
17092
  }>;
17093
17093
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
17094
17094
  name: z.ZodOptional<z.ZodString>;
17095
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17096
17095
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17096
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17097
17097
  agentId: z.ZodOptional<z.ZodString>;
17098
17098
  }, {
17099
17099
  out: {};
@@ -17297,7 +17297,7 @@ declare const AppConfigResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17297
17297
  type: z.ZodLiteral<"api">;
17298
17298
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17299
17299
  }, z.core.$strip>], "type">;
17300
- declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17300
+ declare const AppSelectSchema: drizzle_zod15.BuildSchema<"select", {
17301
17301
  createdAt: drizzle_orm_pg_core220.PgColumn<{
17302
17302
  name: "created_at";
17303
17303
  tableName: "apps";
@@ -17591,7 +17591,7 @@ declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", {
17591
17591
  identity: undefined;
17592
17592
  generated: undefined;
17593
17593
  }, {}, {}>;
17594
- }, drizzle_zod19.BuildRefine<{
17594
+ }, drizzle_zod15.BuildRefine<{
17595
17595
  createdAt: drizzle_orm_pg_core220.PgColumn<{
17596
17596
  name: "created_at";
17597
17597
  tableName: "apps";
@@ -17936,12 +17936,12 @@ declare const AppInsertSchema: z.ZodObject<{
17936
17936
  in: {};
17937
17937
  }>;
17938
17938
  declare const AppUpdateSchema: z.ZodObject<{
17939
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17940
17939
  name: z.ZodOptional<z.ZodString>;
17941
17940
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17942
17941
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17943
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17942
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17944
17943
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17944
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17945
17945
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17946
17946
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17947
17947
  type: z.ZodLiteral<"web_client">;
@@ -17978,7 +17978,7 @@ declare const AppUpdateSchema: z.ZodObject<{
17978
17978
  out: {};
17979
17979
  in: {};
17980
17980
  }>;
17981
- declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
17981
+ declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
17982
17982
  createdAt: drizzle_orm_pg_core220.PgColumn<{
17983
17983
  name: "created_at";
17984
17984
  tableName: "apps";
@@ -18272,7 +18272,7 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18272
18272
  identity: undefined;
18273
18273
  generated: undefined;
18274
18274
  }, {}, {}>;
18275
- }, drizzle_zod19.BuildRefine<{
18275
+ }, drizzle_zod15.BuildRefine<{
18276
18276
  createdAt: drizzle_orm_pg_core220.PgColumn<{
18277
18277
  name: "created_at";
18278
18278
  tableName: "apps";
@@ -18568,15 +18568,15 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18568
18568
  }, {}, {}>;
18569
18569
  }, undefined>, undefined>;
18570
18570
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18571
- enabled: z.ZodBoolean;
18572
18571
  type: z.ZodString;
18573
- name: z.ZodString;
18574
18572
  id: z.ZodString;
18573
+ name: z.ZodString;
18575
18574
  createdAt: z.ZodString;
18576
18575
  updatedAt: z.ZodString;
18577
18576
  description: z.ZodNullable<z.ZodString>;
18578
- tenantId: z.ZodNullable<z.ZodString>;
18577
+ enabled: z.ZodBoolean;
18579
18578
  projectId: z.ZodNullable<z.ZodString>;
18579
+ tenantId: z.ZodNullable<z.ZodString>;
18580
18580
  prompt: z.ZodNullable<z.ZodString>;
18581
18581
  lastUsedAt: z.ZodNullable<z.ZodString>;
18582
18582
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18614,7 +18614,6 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18614
18614
  in: {};
18615
18615
  }>;
18616
18616
  declare const AppApiInsertSchema: z.ZodObject<{
18617
- enabled: z.ZodOptional<z.ZodBoolean>;
18618
18617
  type: z.ZodEnum<{
18619
18618
  web_client: "web_client";
18620
18619
  api: "api";
@@ -18623,8 +18622,9 @@ declare const AppApiInsertSchema: z.ZodObject<{
18623
18622
  createdAt: z.ZodOptional<z.ZodString>;
18624
18623
  updatedAt: z.ZodOptional<z.ZodString>;
18625
18624
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18626
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18625
+ enabled: z.ZodOptional<z.ZodBoolean>;
18627
18626
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18627
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18628
18628
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18629
18629
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18630
18630
  type: z.ZodLiteral<"web_client">;
@@ -18661,12 +18661,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
18661
18661
  in: {};
18662
18662
  }>;
18663
18663
  declare const AppApiUpdateSchema: z.ZodObject<{
18664
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18665
18664
  name: z.ZodOptional<z.ZodString>;
18666
18665
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18667
18666
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18668
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18667
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18669
18668
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18669
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18670
18670
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18671
18671
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18672
18672
  type: z.ZodLiteral<"web_client">;
@@ -18706,15 +18706,15 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18706
18706
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18707
18707
  data: z.ZodObject<{
18708
18708
  app: z.ZodObject<{
18709
- enabled: z.ZodBoolean;
18710
18709
  type: z.ZodString;
18711
- name: z.ZodString;
18712
18710
  id: z.ZodString;
18711
+ name: z.ZodString;
18713
18712
  createdAt: z.ZodString;
18714
18713
  updatedAt: z.ZodString;
18715
18714
  description: z.ZodNullable<z.ZodString>;
18716
- tenantId: z.ZodNullable<z.ZodString>;
18715
+ enabled: z.ZodBoolean;
18717
18716
  projectId: z.ZodNullable<z.ZodString>;
18717
+ tenantId: z.ZodNullable<z.ZodString>;
18718
18718
  prompt: z.ZodNullable<z.ZodString>;
18719
18719
  lastUsedAt: z.ZodNullable<z.ZodString>;
18720
18720
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18753,7 +18753,7 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
18753
18753
  }>;
18754
18754
  }, z.core.$strip>;
18755
18755
  }, z.core.$strip>;
18756
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
18756
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
18757
18757
  createdAt: drizzle_orm_pg_core220.PgColumn<{
18758
18758
  name: "created_at";
18759
18759
  tableName: "credential_references";
@@ -18978,7 +18978,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
18978
18978
  }, {}, {
18979
18979
  length: 256;
18980
18980
  }>;
18981
- }, drizzle_zod19.BuildRefine<{
18981
+ }, drizzle_zod15.BuildRefine<{
18982
18982
  createdAt: drizzle_orm_pg_core220.PgColumn<{
18983
18983
  name: "created_at";
18984
18984
  tableName: "credential_references";
@@ -19206,51 +19206,51 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
19206
19206
  }, undefined>, undefined>;
19207
19207
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
19208
19208
  type: z.ZodString;
19209
+ id: z.ZodString;
19209
19210
  name: z.ZodString;
19210
19211
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19211
- id: z.ZodString;
19212
- tenantId: z.ZodString;
19213
19212
  projectId: z.ZodString;
19213
+ tenantId: z.ZodString;
19214
19214
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19215
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19215
19216
  credentialStoreId: z.ZodString;
19216
19217
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19217
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19218
19218
  }, {
19219
19219
  out: {};
19220
19220
  in: {};
19221
19221
  }>;
19222
19222
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19223
19223
  type: z.ZodOptional<z.ZodString>;
19224
+ id: z.ZodOptional<z.ZodString>;
19224
19225
  name: z.ZodOptional<z.ZodString>;
19225
19226
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19226
- id: z.ZodOptional<z.ZodString>;
19227
- tenantId: z.ZodOptional<z.ZodString>;
19228
19227
  projectId: z.ZodOptional<z.ZodString>;
19228
+ tenantId: z.ZodOptional<z.ZodString>;
19229
19229
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19230
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19230
19231
  credentialStoreId: z.ZodOptional<z.ZodString>;
19231
19232
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19232
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19233
19233
  }, {
19234
19234
  out: {};
19235
19235
  in: {};
19236
19236
  }>;
19237
19237
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19238
- name: z.ZodString;
19239
- userId: z.ZodNullable<z.ZodString>;
19240
19238
  id: z.ZodString;
19239
+ name: z.ZodString;
19241
19240
  createdAt: z.ZodString;
19242
19241
  updatedAt: z.ZodString;
19242
+ userId: z.ZodNullable<z.ZodString>;
19243
19243
  toolId: z.ZodNullable<z.ZodString>;
19244
+ createdBy: z.ZodNullable<z.ZodString>;
19244
19245
  credentialStoreId: z.ZodString;
19245
19246
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19246
- createdBy: z.ZodNullable<z.ZodString>;
19247
19247
  type: z.ZodEnum<{
19248
19248
  readonly memory: "memory";
19249
19249
  readonly keychain: "keychain";
19250
19250
  readonly nango: "nango";
19251
19251
  readonly composio: "composio";
19252
19252
  }>;
19253
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
19253
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
19254
19254
  createdAt: drizzle_orm_pg_core220.PgColumn<{
19255
19255
  name: "created_at";
19256
19256
  tableName: "tools";
@@ -19530,7 +19530,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19530
19530
  }, {}, {
19531
19531
  length: 256;
19532
19532
  }>;
19533
- }, drizzle_zod19.BuildRefine<{
19533
+ }, drizzle_zod15.BuildRefine<{
19534
19534
  createdAt: drizzle_orm_pg_core220.PgColumn<{
19535
19535
  name: "created_at";
19536
19536
  tableName: "tools";
@@ -19827,13 +19827,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19827
19827
  }>>>;
19828
19828
  }, z.core.$strip>;
19829
19829
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19830
+ id: z.ZodString;
19830
19831
  name: z.ZodString;
19831
19832
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19832
- id: z.ZodString;
19833
19833
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19834
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19834
19835
  credentialStoreId: z.ZodString;
19835
19836
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19836
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19837
19837
  type: z.ZodEnum<{
19838
19838
  readonly memory: "memory";
19839
19839
  readonly keychain: "keychain";
@@ -19842,13 +19842,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19842
19842
  }>;
19843
19843
  }, z.core.$strip>;
19844
19844
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19845
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19845
19846
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19846
19847
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19847
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19848
19848
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19849
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19849
19850
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19850
19851
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19851
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19852
19852
  type: z.ZodOptional<z.ZodEnum<{
19853
19853
  readonly memory: "memory";
19854
19854
  readonly keychain: "keychain";
@@ -19913,12 +19913,12 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
19913
19913
  error_description: z.ZodOptional<z.ZodString>;
19914
19914
  }, z.core.$strip>;
19915
19915
  declare const McpToolSchema: z.ZodObject<{
19916
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19917
- name: z.ZodString;
19918
19916
  id: z.ZodString;
19917
+ name: z.ZodString;
19919
19918
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19920
- tenantId: z.ZodString;
19919
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19921
19920
  projectId: z.ZodString;
19921
+ tenantId: z.ZodString;
19922
19922
  config: z.ZodObject<{
19923
19923
  type: z.ZodLiteral<"mcp">;
19924
19924
  mcp: z.ZodObject<{
@@ -19972,10 +19972,10 @@ declare const McpToolSchema: z.ZodObject<{
19972
19972
  in: {};
19973
19973
  }>;
19974
19974
  declare const MCPToolConfigSchema: z.ZodObject<{
19975
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19976
- name: z.ZodString;
19977
19975
  id: z.ZodString;
19976
+ name: z.ZodString;
19978
19977
  expiresAt: z.ZodOptional<z.ZodString>;
19978
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19979
19979
  createdBy: z.ZodOptional<z.ZodString>;
19980
19980
  credentialScope: z.ZodOptional<z.ZodString>;
19981
19981
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -20008,13 +20008,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20008
20008
  sessionId: z.ZodOptional<z.ZodString>;
20009
20009
  }, z.core.$strip>>;
20010
20010
  credential: z.ZodOptional<z.ZodObject<{
20011
+ id: z.ZodString;
20011
20012
  name: z.ZodString;
20012
20013
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20013
- id: z.ZodString;
20014
20014
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20015
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20015
20016
  credentialStoreId: z.ZodString;
20016
20017
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20017
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20018
20018
  type: z.ZodEnum<{
20019
20019
  readonly memory: "memory";
20020
20020
  readonly keychain: "keychain";
@@ -20034,12 +20034,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20034
20034
  in: {};
20035
20035
  }>;
20036
20036
  declare const ToolUpdateSchema: z.ZodObject<{
20037
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20038
- name: z.ZodOptional<z.ZodString>;
20039
20037
  id: z.ZodOptional<z.ZodString>;
20038
+ name: z.ZodOptional<z.ZodString>;
20040
20039
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20041
- tenantId: z.ZodOptional<z.ZodString>;
20040
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20042
20041
  projectId: z.ZodOptional<z.ZodString>;
20042
+ tenantId: z.ZodOptional<z.ZodString>;
20043
20043
  config: z.ZodOptional<z.ZodObject<{
20044
20044
  type: z.ZodLiteral<"mcp">;
20045
20045
  mcp: z.ZodObject<{
@@ -20106,12 +20106,12 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
20106
20106
  id: z.ZodString;
20107
20107
  }>, z.core.$strip>;
20108
20108
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20109
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20110
- name: z.ZodString;
20111
20109
  id: z.ZodString;
20110
+ name: z.ZodString;
20112
20111
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20113
- tenantId: z.ZodString;
20112
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20114
20113
  projectId: z.ZodString;
20114
+ tenantId: z.ZodString;
20115
20115
  config: z.ZodObject<{
20116
20116
  type: z.ZodLiteral<"mcp">;
20117
20117
  mcp: z.ZodObject<{
@@ -20146,10 +20146,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20146
20146
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20147
20147
  }>, z.core.$strip>;
20148
20148
  declare const ToolApiUpdateSchema: z.ZodObject<{
20149
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20150
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20151
20149
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20150
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20152
20151
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20152
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20153
20153
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20154
20154
  type: z.ZodLiteral<"mcp">;
20155
20155
  mcp: z.ZodObject<{
@@ -20183,7 +20183,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20183
20183
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20184
20184
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20185
20185
  }, z.core.$strip>;
20186
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20186
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20187
20187
  createdAt: drizzle_orm_pg_core220.PgColumn<{
20188
20188
  name: "created_at";
20189
20189
  tableName: "function_tools";
@@ -20349,7 +20349,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20349
20349
  }, {}, {
20350
20350
  length: 256;
20351
20351
  }>;
20352
- }, drizzle_zod19.BuildRefine<{
20352
+ }, drizzle_zod15.BuildRefine<{
20353
20353
  createdAt: drizzle_orm_pg_core220.PgColumn<{
20354
20354
  name: "created_at";
20355
20355
  tableName: "function_tools";
@@ -20517,32 +20517,32 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20517
20517
  }>;
20518
20518
  }, undefined>, undefined>;
20519
20519
  declare const FunctionToolInsertSchema: z.ZodObject<{
20520
- name: z.ZodString;
20521
20520
  id: z.ZodString;
20521
+ name: z.ZodString;
20522
20522
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20523
- tenantId: z.ZodString;
20524
- projectId: z.ZodString;
20525
20523
  agentId: z.ZodString;
20524
+ projectId: z.ZodString;
20525
+ tenantId: z.ZodString;
20526
20526
  functionId: z.ZodString;
20527
20527
  }, {
20528
20528
  out: {};
20529
20529
  in: {};
20530
20530
  }>;
20531
20531
  declare const FunctionToolUpdateSchema: z.ZodObject<{
20532
- name: z.ZodOptional<z.ZodString>;
20533
20532
  id: z.ZodOptional<z.ZodString>;
20533
+ name: z.ZodOptional<z.ZodString>;
20534
20534
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20535
- tenantId: z.ZodOptional<z.ZodString>;
20536
- projectId: z.ZodOptional<z.ZodString>;
20537
20535
  agentId: z.ZodOptional<z.ZodString>;
20536
+ projectId: z.ZodOptional<z.ZodString>;
20537
+ tenantId: z.ZodOptional<z.ZodString>;
20538
20538
  functionId: z.ZodOptional<z.ZodString>;
20539
20539
  }, {
20540
20540
  out: {};
20541
20541
  in: {};
20542
20542
  }>;
20543
20543
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20544
- name: z.ZodString;
20545
20544
  id: z.ZodString;
20545
+ name: z.ZodString;
20546
20546
  createdAt: z.ZodString;
20547
20547
  updatedAt: z.ZodString;
20548
20548
  description: z.ZodNullable<z.ZodString>;
@@ -20551,22 +20551,22 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
20551
20551
  relationshipId: z.ZodOptional<z.ZodString>;
20552
20552
  }, z.core.$strip>;
20553
20553
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
20554
- name: z.ZodString;
20555
20554
  id: z.ZodString;
20555
+ name: z.ZodString;
20556
20556
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20557
- tenantId: z.ZodString;
20558
- projectId: z.ZodString;
20559
20557
  agentId: z.ZodString;
20558
+ projectId: z.ZodString;
20559
+ tenantId: z.ZodString;
20560
20560
  functionId: z.ZodString;
20561
20561
  }>, z.core.$strip>;
20562
20562
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20563
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20564
20563
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20564
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20565
20565
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20566
20566
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20567
20567
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20568
20568
  }, z.core.$strip>;
20569
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20569
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20570
20570
  createdAt: drizzle_orm_pg_core220.PgColumn<{
20571
20571
  name: "created_at";
20572
20572
  tableName: "sub_agent_function_tool_relations";
@@ -20738,7 +20738,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
20738
20738
  }, {}, {
20739
20739
  length: 256;
20740
20740
  }>;
20741
- }, drizzle_zod19.BuildRefine<{
20741
+ }, drizzle_zod15.BuildRefine<{
20742
20742
  createdAt: drizzle_orm_pg_core220.PgColumn<{
20743
20743
  name: "created_at";
20744
20744
  tableName: "sub_agent_function_tool_relations";
@@ -20914,7 +20914,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
20914
20914
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
20915
20915
  createdAt: z.ZodOptional<z.ZodString>;
20916
20916
  updatedAt: z.ZodOptional<z.ZodString>;
20917
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20917
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
20918
20918
  agentId: z.ZodString;
20919
20919
  projectId: z.ZodString;
20920
20920
  tenantId: z.ZodString;
@@ -20929,7 +20929,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
20929
20929
  createdAt: z.ZodString;
20930
20930
  updatedAt: z.ZodString;
20931
20931
  functionToolId: z.ZodString;
20932
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20932
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20933
20933
  subAgentId: z.ZodString;
20934
20934
  agentId: z.ZodString;
20935
20935
  projectId: z.ZodString;
@@ -20938,13 +20938,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
20938
20938
  }>, z.core.$strip>;
20939
20939
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20940
20940
  subAgentId: z.ZodString;
20941
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20942
20941
  functionToolId: z.ZodString;
20942
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
20943
20943
  }, {
20944
20944
  out: {};
20945
20945
  in: {};
20946
20946
  }>;
20947
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
20947
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
20948
20948
  createdAt: drizzle_orm_pg_core220.PgColumn<{
20949
20949
  name: "created_at";
20950
20950
  tableName: "functions";
@@ -21091,7 +21091,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21091
21091
  }, {}, {
21092
21092
  length: 256;
21093
21093
  }>;
21094
- }, drizzle_zod19.BuildRefine<{
21094
+ }, drizzle_zod15.BuildRefine<{
21095
21095
  createdAt: drizzle_orm_pg_core220.PgColumn<{
21096
21096
  name: "created_at";
21097
21097
  tableName: "functions";
@@ -21278,16 +21278,16 @@ declare const FunctionApiSelectSchema: z.ZodObject<OmitProjectScope<{
21278
21278
  declare const FunctionApiInsertSchema: z.ZodObject<{
21279
21279
  id: z.ZodString;
21280
21280
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21281
- executeCode: z.ZodString;
21282
21281
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21282
+ executeCode: z.ZodString;
21283
21283
  }, z.core.$strip>;
21284
21284
  declare const FunctionApiUpdateSchema: z.ZodObject<{
21285
21285
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21286
21286
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21287
21287
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21288
21288
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21289
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21290
21289
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21290
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21291
21291
  }, z.core.$strip>;
21292
21292
  declare const FetchConfigSchema: z.ZodObject<{
21293
21293
  url: z.ZodString;
@@ -21329,13 +21329,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21329
21329
  responseSchema: z.ZodOptional<z.ZodAny>;
21330
21330
  defaultValue: z.ZodOptional<z.ZodAny>;
21331
21331
  credential: z.ZodOptional<z.ZodObject<{
21332
+ id: z.ZodString;
21332
21333
  name: z.ZodString;
21333
21334
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21334
- id: z.ZodString;
21335
21335
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21336
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21336
21337
  credentialStoreId: z.ZodString;
21337
21338
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21338
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21339
21339
  type: z.ZodEnum<{
21340
21340
  readonly memory: "memory";
21341
21341
  readonly keychain: "keychain";
@@ -21359,22 +21359,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
21359
21359
  }>;
21360
21360
  declare const ContextConfigInsertSchema: z.ZodObject<{
21361
21361
  id: z.ZodOptional<z.ZodString>;
21362
- tenantId: z.ZodString;
21363
- projectId: z.ZodString;
21364
21362
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21365
21363
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21366
21364
  agentId: z.ZodString;
21365
+ projectId: z.ZodString;
21366
+ tenantId: z.ZodString;
21367
21367
  }, {
21368
21368
  out: {};
21369
21369
  in: {};
21370
21370
  }>;
21371
21371
  declare const ContextConfigUpdateSchema: z.ZodObject<{
21372
21372
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21373
- tenantId: z.ZodOptional<z.ZodString>;
21374
- projectId: z.ZodOptional<z.ZodString>;
21375
21373
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21376
21374
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21377
21375
  agentId: z.ZodOptional<z.ZodString>;
21376
+ projectId: z.ZodOptional<z.ZodString>;
21377
+ tenantId: z.ZodOptional<z.ZodString>;
21378
21378
  }, {
21379
21379
  out: {};
21380
21380
  in: {};
@@ -21396,7 +21396,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
21396
21396
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21397
21397
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21398
21398
  }, z.core.$strip>;
21399
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21399
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21400
21400
  createdAt: drizzle_orm_pg_core220.PgColumn<{
21401
21401
  name: "created_at";
21402
21402
  tableName: "sub_agent_tool_relations";
@@ -21606,7 +21606,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
21606
21606
  }, {}, {
21607
21607
  length: 256;
21608
21608
  }>;
21609
- }, drizzle_zod19.BuildRefine<{
21609
+ }, drizzle_zod15.BuildRefine<{
21610
21610
  createdAt: drizzle_orm_pg_core220.PgColumn<{
21611
21611
  name: "created_at";
21612
21612
  tableName: "sub_agent_tool_relations";
@@ -21857,9 +21857,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
21857
21857
  createdAt: z.ZodString;
21858
21858
  updatedAt: z.ZodString;
21859
21859
  toolId: z.ZodString;
21860
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21861
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21862
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21860
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21861
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21862
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21863
21863
  subAgentId: z.ZodString;
21864
21864
  agentId: z.ZodString;
21865
21865
  projectId: z.ZodString;
@@ -21882,18 +21882,18 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
21882
21882
  }, z.core.$strip>>>>;
21883
21883
  }>, z.core.$strip>;
21884
21884
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21885
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21886
21885
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21887
21886
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21888
21887
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21888
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21889
21889
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21890
21890
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21891
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21892
21891
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21893
21892
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21894
21893
  }, z.core.$strip>>>>>>;
21894
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21895
21895
  }, z.core.$strip>;
21896
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21896
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21897
21897
  createdAt: drizzle_orm_pg_core220.PgColumn<{
21898
21898
  name: "created_at";
21899
21899
  tableName: "sub_agent_external_agent_relations";
@@ -22061,7 +22061,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
22061
22061
  }, {}, {
22062
22062
  length: 256;
22063
22063
  }>;
22064
- }, drizzle_zod19.BuildRefine<{
22064
+ }, drizzle_zod15.BuildRefine<{
22065
22065
  createdAt: drizzle_orm_pg_core220.PgColumn<{
22066
22066
  name: "created_at";
22067
22067
  tableName: "sub_agent_external_agent_relations";
@@ -22262,7 +22262,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
22262
22262
  createdAt: z.ZodString;
22263
22263
  updatedAt: z.ZodString;
22264
22264
  externalAgentId: z.ZodString;
22265
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22265
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22266
22266
  subAgentId: z.ZodString;
22267
22267
  agentId: z.ZodString;
22268
22268
  projectId: z.ZodString;
@@ -22270,20 +22270,20 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
22270
22270
  id: z.ZodString;
22271
22271
  }>, z.core.$strip>;
22272
22272
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
22273
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22274
22273
  createdAt: z.ZodOptional<z.ZodString>;
22275
22274
  updatedAt: z.ZodOptional<z.ZodString>;
22275
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22276
22276
  externalAgentId: z.ZodString;
22277
22277
  }, z.core.$strip>;
22278
22278
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22279
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22280
22279
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22281
22280
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22282
22281
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22282
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22283
22283
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22284
22284
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22285
22285
  }, z.core.$strip>;
22286
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22286
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22287
22287
  createdAt: drizzle_orm_pg_core220.PgColumn<{
22288
22288
  name: "created_at";
22289
22289
  tableName: "sub_agent_team_agent_relations";
@@ -22451,7 +22451,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
22451
22451
  }, {}, {
22452
22452
  length: 256;
22453
22453
  }>;
22454
- }, drizzle_zod19.BuildRefine<{
22454
+ }, drizzle_zod15.BuildRefine<{
22455
22455
  createdAt: drizzle_orm_pg_core220.PgColumn<{
22456
22456
  name: "created_at";
22457
22457
  tableName: "sub_agent_team_agent_relations";
@@ -22652,7 +22652,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
22652
22652
  createdAt: z.ZodString;
22653
22653
  updatedAt: z.ZodString;
22654
22654
  targetAgentId: z.ZodString;
22655
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22655
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22656
22656
  subAgentId: z.ZodString;
22657
22657
  agentId: z.ZodString;
22658
22658
  projectId: z.ZodString;
@@ -22660,20 +22660,20 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
22660
22660
  id: z.ZodString;
22661
22661
  }>, z.core.$strip>;
22662
22662
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
22663
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22664
22663
  createdAt: z.ZodOptional<z.ZodString>;
22665
22664
  updatedAt: z.ZodOptional<z.ZodString>;
22665
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22666
22666
  targetAgentId: z.ZodString;
22667
22667
  }, z.core.$strip>;
22668
22668
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22669
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22670
22669
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22671
22670
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22672
22671
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22672
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22673
22673
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22674
22674
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22675
22675
  }, z.core.$strip>;
22676
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
22676
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
22677
22677
  createdAt: drizzle_orm_pg_core220.PgColumn<{
22678
22678
  name: "created_at";
22679
22679
  tableName: "ledger_artifacts";
@@ -23008,7 +23008,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23008
23008
  }, {}, {
23009
23009
  length: 256;
23010
23010
  }>;
23011
- }, drizzle_zod19.BuildRefine<{
23011
+ }, drizzle_zod15.BuildRefine<{
23012
23012
  createdAt: drizzle_orm_pg_core220.PgColumn<{
23013
23013
  name: "created_at";
23014
23014
  tableName: "ledger_artifacts";
@@ -23344,7 +23344,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23344
23344
  length: 256;
23345
23345
  }>;
23346
23346
  }, undefined>, undefined>;
23347
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23347
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
23348
23348
  createdAt: drizzle_orm_pg_core220.PgColumn<{
23349
23349
  name: "created_at";
23350
23350
  tableName: "ledger_artifacts";
@@ -23679,7 +23679,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23679
23679
  }, {}, {
23680
23680
  length: 256;
23681
23681
  }>;
23682
- }, drizzle_zod19.BuildRefine<Pick<{
23682
+ }, drizzle_zod15.BuildRefine<Pick<{
23683
23683
  createdAt: drizzle_orm_pg_core220.PgColumn<{
23684
23684
  name: "created_at";
23685
23685
  tableName: "ledger_artifacts";
@@ -24014,7 +24014,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24014
24014
  }, {}, {
24015
24015
  length: 256;
24016
24016
  }>;
24017
- }, "metadata" | "type" | "name" | "id" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24017
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24018
24018
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24019
24019
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24020
24020
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24024,12 +24024,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24024
24024
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24025
24025
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24026
24026
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24027
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24028
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24027
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24028
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24029
24029
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24030
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24030
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24031
24031
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24032
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24032
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24033
24033
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24034
24034
  projectId: z.ZodOptional<z.ZodString>;
24035
24035
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24047,12 +24047,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24047
24047
  type: z.ZodString;
24048
24048
  name: z.ZodNullable<z.ZodString>;
24049
24049
  description: z.ZodNullable<z.ZodString>;
24050
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24051
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24050
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24051
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24052
24052
  summary: z.ZodNullable<z.ZodString>;
24053
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24053
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24054
24054
  visibility: z.ZodNullable<z.ZodString>;
24055
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24055
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24056
24056
  derivedFrom: z.ZodNullable<z.ZodString>;
24057
24057
  projectId: z.ZodString;
24058
24058
  tenantId: z.ZodString;
@@ -24067,33 +24067,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24067
24067
  type: z.ZodOptional<z.ZodString>;
24068
24068
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24069
24069
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24070
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24071
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24070
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24071
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24072
24072
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24073
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24073
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24074
24074
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24075
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24075
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24076
24076
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24077
24077
  projectId: z.ZodString;
24078
24078
  tenantId: z.ZodString;
24079
24079
  id: z.ZodString;
24080
24080
  }>, z.core.$strip>;
24081
24081
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24082
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24083
24082
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24084
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24085
24083
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24084
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24086
24085
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24087
24086
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24087
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24088
24088
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24089
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24090
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24091
24089
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24092
24090
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24093
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24091
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24092
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24093
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24094
24094
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24095
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24096
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24095
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24096
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24097
24097
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24098
24098
  }, z.core.$strip>;
24099
24099
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24159,8 +24159,8 @@ declare const TeamAgentSchema: z.ZodObject<{
24159
24159
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24160
24160
  }, z.core.$strip>;
24161
24161
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24162
- name: z.ZodString;
24163
24162
  id: z.ZodString;
24163
+ name: z.ZodString;
24164
24164
  createdAt: z.ZodOptional<z.ZodString>;
24165
24165
  updatedAt: z.ZodOptional<z.ZodString>;
24166
24166
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24212,8 +24212,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24212
24212
  }, z.core.$strip>>;
24213
24213
  }, z.core.$strip>;
24214
24214
  declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24215
- name: z.ZodString;
24216
24215
  id: z.ZodString;
24216
+ name: z.ZodString;
24217
24217
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24218
24218
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24219
24219
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24257,8 +24257,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24257
24257
  }, z.core.$strip>>;
24258
24258
  prompt: z.ZodOptional<z.ZodString>;
24259
24259
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24260
- name: z.ZodString;
24261
24260
  id: z.ZodString;
24261
+ name: z.ZodString;
24262
24262
  createdAt: z.ZodOptional<z.ZodString>;
24263
24263
  updatedAt: z.ZodOptional<z.ZodString>;
24264
24264
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24310,26 +24310,26 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24310
24310
  }, z.core.$strip>>;
24311
24311
  }, z.core.$strip>>;
24312
24312
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24313
- name: z.ZodString;
24314
24313
  id: z.ZodString;
24314
+ name: z.ZodString;
24315
24315
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24316
- tenantId: z.ZodString;
24317
- projectId: z.ZodString;
24318
24316
  agentId: z.ZodString;
24317
+ projectId: z.ZodString;
24318
+ tenantId: z.ZodString;
24319
24319
  functionId: z.ZodString;
24320
24320
  }>, z.core.$strip>>>;
24321
24321
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24322
24322
  id: z.ZodString;
24323
24323
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24324
- executeCode: z.ZodString;
24325
24324
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24325
+ executeCode: z.ZodString;
24326
24326
  }, z.core.$strip>>>;
24327
24327
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24328
- name: z.ZodString;
24329
24328
  id: z.ZodString;
24329
+ name: z.ZodString;
24330
24330
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24331
- tenantId: z.ZodString;
24332
24331
  projectId: z.ZodString;
24332
+ tenantId: z.ZodString;
24333
24333
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24334
24334
  baseUrl: z.ZodURL;
24335
24335
  }>, z.core.$strip>>>;
@@ -24339,12 +24339,12 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24339
24339
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24340
24340
  }, z.core.$strip>>>;
24341
24341
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24342
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24343
- name: z.ZodString;
24344
24342
  id: z.ZodString;
24343
+ name: z.ZodString;
24345
24344
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24346
- tenantId: z.ZodString;
24345
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24347
24346
  projectId: z.ZodString;
24347
+ tenantId: z.ZodString;
24348
24348
  config: z.ZodObject<{
24349
24349
  type: z.ZodLiteral<"mcp">;
24350
24350
  mcp: z.ZodObject<{
@@ -24379,30 +24379,30 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24379
24379
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24380
24380
  }>, z.core.$strip>>>;
24381
24381
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24382
- enabled: z.ZodOptional<z.ZodBoolean>;
24383
- name: z.ZodString;
24384
24382
  id: z.ZodOptional<z.ZodString>;
24383
+ name: z.ZodString;
24385
24384
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24386
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24387
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24388
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24385
+ enabled: z.ZodOptional<z.ZodBoolean>;
24386
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24387
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24389
24388
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24390
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24389
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24391
24390
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24392
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24391
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24393
24392
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24393
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24394
24394
  }, z.core.$strip>>>;
24395
24395
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24396
- enabled: z.ZodOptional<z.ZodBoolean>;
24397
24396
  name: z.ZodString;
24398
24397
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24399
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24398
+ enabled: z.ZodOptional<z.ZodBoolean>;
24400
24399
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24401
24400
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24401
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24402
24402
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24403
24403
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24404
24404
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24405
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24405
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24406
24406
  maxRetries: z.ZodOptional<z.ZodNumber>;
24407
24407
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
24408
24408
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -24410,8 +24410,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24410
24410
  }, z.core.$strip>>>;
24411
24411
  }, z.core.$strip>;
24412
24412
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24413
- name: z.ZodString;
24414
24413
  id: z.ZodString;
24414
+ name: z.ZodString;
24415
24415
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24416
24416
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24417
24417
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24455,8 +24455,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24455
24455
  }, z.core.$strip>>;
24456
24456
  prompt: z.ZodOptional<z.ZodString>;
24457
24457
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24458
- name: z.ZodString;
24459
24458
  id: z.ZodString;
24459
+ name: z.ZodString;
24460
24460
  createdAt: z.ZodOptional<z.ZodString>;
24461
24461
  updatedAt: z.ZodOptional<z.ZodString>;
24462
24462
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24508,26 +24508,26 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24508
24508
  }, z.core.$strip>>;
24509
24509
  }, z.core.$strip>>;
24510
24510
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24511
- name: z.ZodString;
24512
24511
  id: z.ZodString;
24512
+ name: z.ZodString;
24513
24513
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24514
- tenantId: z.ZodString;
24515
- projectId: z.ZodString;
24516
24514
  agentId: z.ZodString;
24515
+ projectId: z.ZodString;
24516
+ tenantId: z.ZodString;
24517
24517
  functionId: z.ZodString;
24518
24518
  }>, z.core.$strip>>>;
24519
24519
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24520
24520
  id: z.ZodString;
24521
24521
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24522
- executeCode: z.ZodString;
24523
24522
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24523
+ executeCode: z.ZodString;
24524
24524
  }, z.core.$strip>>>;
24525
24525
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24526
- name: z.ZodString;
24527
24526
  id: z.ZodString;
24527
+ name: z.ZodString;
24528
24528
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24529
- tenantId: z.ZodString;
24530
24529
  projectId: z.ZodString;
24530
+ tenantId: z.ZodString;
24531
24531
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24532
24532
  baseUrl: z.ZodURL;
24533
24533
  }>, z.core.$strip>>>;
@@ -24537,12 +24537,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24537
24537
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24538
24538
  }, z.core.$strip>>>;
24539
24539
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24540
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24541
- name: z.ZodString;
24542
24540
  id: z.ZodString;
24541
+ name: z.ZodString;
24543
24542
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24544
- tenantId: z.ZodString;
24543
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24545
24544
  projectId: z.ZodString;
24545
+ tenantId: z.ZodString;
24546
24546
  config: z.ZodObject<{
24547
24547
  type: z.ZodLiteral<"mcp">;
24548
24548
  mcp: z.ZodObject<{
@@ -24577,30 +24577,30 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24577
24577
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24578
24578
  }>, z.core.$strip>>>;
24579
24579
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24580
- enabled: z.ZodOptional<z.ZodBoolean>;
24581
- name: z.ZodString;
24582
24580
  id: z.ZodOptional<z.ZodString>;
24581
+ name: z.ZodString;
24583
24582
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24584
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24585
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24586
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24583
+ enabled: z.ZodOptional<z.ZodBoolean>;
24584
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24585
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24587
24586
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24588
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24587
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24589
24588
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24590
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24589
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24591
24590
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24591
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24592
24592
  }, z.core.$strip>>>;
24593
24593
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24594
- enabled: z.ZodOptional<z.ZodBoolean>;
24595
24594
  name: z.ZodString;
24596
24595
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24597
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24596
+ enabled: z.ZodOptional<z.ZodBoolean>;
24598
24597
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24599
24598
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24599
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24600
24600
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24601
24601
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24602
24602
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24603
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24603
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24604
24604
  maxRetries: z.ZodOptional<z.ZodNumber>;
24605
24605
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
24606
24606
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -24667,8 +24667,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
24667
24667
  in: {};
24668
24668
  }>;
24669
24669
  declare const ProjectInsertSchema: z.ZodObject<{
24670
- name: z.ZodString;
24671
24670
  id: z.ZodString;
24671
+ name: z.ZodString;
24672
24672
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24673
24673
  tenantId: z.ZodString;
24674
24674
  models: z.ZodObject<{
@@ -24719,8 +24719,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
24719
24719
  in: {};
24720
24720
  }>;
24721
24721
  declare const ProjectApiSelectSchema: z.ZodObject<{
24722
- name: z.ZodString;
24723
24722
  id: z.ZodString;
24723
+ name: z.ZodString;
24724
24724
  createdAt: z.ZodString;
24725
24725
  updatedAt: z.ZodString;
24726
24726
  description: z.ZodNullable<z.ZodString>;
@@ -24747,8 +24747,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
24747
24747
  in: {};
24748
24748
  }>;
24749
24749
  declare const ProjectApiInsertSchema: z.ZodObject<{
24750
- name: z.ZodString;
24751
24750
  id: z.ZodString;
24751
+ name: z.ZodString;
24752
24752
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24753
24753
  models: z.ZodObject<{
24754
24754
  base: z.ZodObject<{
@@ -24798,8 +24798,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
24798
24798
  in: {};
24799
24799
  }>;
24800
24800
  declare const FullProjectDefinitionSchema: z.ZodObject<{
24801
- name: z.ZodString;
24802
24801
  id: z.ZodString;
24802
+ name: z.ZodString;
24803
24803
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24804
24804
  models: z.ZodObject<{
24805
24805
  base: z.ZodObject<{
@@ -24820,8 +24820,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24820
24820
  stepCountIs: z.ZodOptional<z.ZodInt>;
24821
24821
  }, z.core.$strip>>;
24822
24822
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
24823
- name: z.ZodString;
24824
24823
  id: z.ZodString;
24824
+ name: z.ZodString;
24825
24825
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24826
24826
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24827
24827
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24865,8 +24865,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24865
24865
  }, z.core.$strip>>;
24866
24866
  prompt: z.ZodOptional<z.ZodString>;
24867
24867
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24868
- name: z.ZodString;
24869
24868
  id: z.ZodString;
24869
+ name: z.ZodString;
24870
24870
  createdAt: z.ZodOptional<z.ZodString>;
24871
24871
  updatedAt: z.ZodOptional<z.ZodString>;
24872
24872
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24918,26 +24918,26 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24918
24918
  }, z.core.$strip>>;
24919
24919
  }, z.core.$strip>>;
24920
24920
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24921
- name: z.ZodString;
24922
24921
  id: z.ZodString;
24922
+ name: z.ZodString;
24923
24923
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24924
- tenantId: z.ZodString;
24925
- projectId: z.ZodString;
24926
24924
  agentId: z.ZodString;
24925
+ projectId: z.ZodString;
24926
+ tenantId: z.ZodString;
24927
24927
  functionId: z.ZodString;
24928
24928
  }>, z.core.$strip>>>;
24929
24929
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24930
24930
  id: z.ZodString;
24931
24931
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24932
- executeCode: z.ZodString;
24933
24932
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24933
+ executeCode: z.ZodString;
24934
24934
  }, z.core.$strip>>>;
24935
24935
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24936
- name: z.ZodString;
24937
24936
  id: z.ZodString;
24937
+ name: z.ZodString;
24938
24938
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24939
- tenantId: z.ZodString;
24940
24939
  projectId: z.ZodString;
24940
+ tenantId: z.ZodString;
24941
24941
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24942
24942
  baseUrl: z.ZodURL;
24943
24943
  }>, z.core.$strip>>>;
@@ -24947,12 +24947,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24947
24947
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24948
24948
  }, z.core.$strip>>>;
24949
24949
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24950
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24951
- name: z.ZodString;
24952
24950
  id: z.ZodString;
24951
+ name: z.ZodString;
24953
24952
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24954
- tenantId: z.ZodString;
24953
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24955
24954
  projectId: z.ZodString;
24955
+ tenantId: z.ZodString;
24956
24956
  config: z.ZodObject<{
24957
24957
  type: z.ZodLiteral<"mcp">;
24958
24958
  mcp: z.ZodObject<{
@@ -24987,30 +24987,30 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24987
24987
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24988
24988
  }>, z.core.$strip>>>;
24989
24989
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24990
- enabled: z.ZodOptional<z.ZodBoolean>;
24991
- name: z.ZodString;
24992
24990
  id: z.ZodOptional<z.ZodString>;
24991
+ name: z.ZodString;
24993
24992
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24994
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24995
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24996
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24993
+ enabled: z.ZodOptional<z.ZodBoolean>;
24994
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24995
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24997
24996
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24998
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24997
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24999
24998
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25000
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24999
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25001
25000
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25001
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25002
25002
  }, z.core.$strip>>>;
25003
25003
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25004
- enabled: z.ZodOptional<z.ZodBoolean>;
25005
25004
  name: z.ZodString;
25006
25005
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25007
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25006
+ enabled: z.ZodOptional<z.ZodBoolean>;
25008
25007
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25009
25008
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25009
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25010
25010
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25011
25011
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25012
25012
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25013
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25013
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25014
25014
  maxRetries: z.ZodOptional<z.ZodNumber>;
25015
25015
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25016
25016
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25018,12 +25018,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25018
25018
  }, z.core.$strip>>>;
25019
25019
  }, z.core.$strip>>;
25020
25020
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25021
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25022
- name: z.ZodString;
25023
25021
  id: z.ZodString;
25022
+ name: z.ZodString;
25024
25023
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25025
- tenantId: z.ZodString;
25024
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25026
25025
  projectId: z.ZodString;
25026
+ tenantId: z.ZodString;
25027
25027
  config: z.ZodObject<{
25028
25028
  type: z.ZodLiteral<"mcp">;
25029
25029
  mcp: z.ZodObject<{
@@ -25058,27 +25058,27 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25058
25058
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
25059
25059
  }>, z.core.$strip>>;
25060
25060
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
25061
- name: z.ZodString;
25062
25061
  id: z.ZodString;
25062
+ name: z.ZodString;
25063
25063
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25064
- tenantId: z.ZodString;
25065
- projectId: z.ZodString;
25066
25064
  agentId: z.ZodString;
25065
+ projectId: z.ZodString;
25066
+ tenantId: z.ZodString;
25067
25067
  functionId: z.ZodString;
25068
25068
  }>, z.core.$strip>>>;
25069
25069
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25070
25070
  id: z.ZodString;
25071
25071
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25072
- executeCode: z.ZodString;
25073
25072
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25073
+ executeCode: z.ZodString;
25074
25074
  }, z.core.$strip>>>;
25075
25075
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25076
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25077
25076
  name: z.ZodString;
25077
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25078
25078
  description: z.ZodString;
25079
- content: z.ZodString;
25080
- tenantId: z.ZodString;
25081
25079
  projectId: z.ZodString;
25080
+ tenantId: z.ZodString;
25081
+ content: z.ZodString;
25082
25082
  }>, z.core.$strip>>>;
25083
25083
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25084
25084
  id: z.ZodString;
@@ -25134,11 +25134,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25134
25134
  in: {};
25135
25135
  }>>>;
25136
25136
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25137
- name: z.ZodString;
25138
25137
  id: z.ZodString;
25138
+ name: z.ZodString;
25139
25139
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25140
- tenantId: z.ZodString;
25141
25140
  projectId: z.ZodString;
25141
+ tenantId: z.ZodString;
25142
25142
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25143
25143
  baseUrl: z.ZodURL;
25144
25144
  }>, z.core.$strip>>>;
@@ -25158,13 +25158,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25158
25158
  }, z.core.$strip>>>;
25159
25159
  }, z.core.$strict>>;
25160
25160
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25161
+ id: z.ZodString;
25161
25162
  name: z.ZodString;
25162
25163
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25163
- id: z.ZodString;
25164
25164
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25165
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25165
25166
  credentialStoreId: z.ZodString;
25166
25167
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25167
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25168
25168
  type: z.ZodEnum<{
25169
25169
  readonly memory: "memory";
25170
25170
  readonly keychain: "keychain";
@@ -25179,8 +25179,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25179
25179
  in: {};
25180
25180
  }>;
25181
25181
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25182
- name: z.ZodString;
25183
25182
  id: z.ZodString;
25183
+ name: z.ZodString;
25184
25184
  createdAt: z.ZodString;
25185
25185
  updatedAt: z.ZodString;
25186
25186
  description: z.ZodNullable<z.ZodString>;
@@ -25272,8 +25272,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25272
25272
  }, z.core.$strip>]>>>;
25273
25273
  }, z.core.$strip>;
25274
25274
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25275
- name: z.ZodString;
25276
25275
  id: z.ZodString;
25276
+ name: z.ZodString;
25277
25277
  createdAt: z.ZodString;
25278
25278
  updatedAt: z.ZodString;
25279
25279
  description: z.ZodNullable<z.ZodString>;
@@ -25371,8 +25371,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25371
25371
  }, z.core.$strip>]>>>;
25372
25372
  }, z.core.$strip>;
25373
25373
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25374
- name: z.ZodString;
25375
25374
  id: z.ZodString;
25375
+ name: z.ZodString;
25376
25376
  createdAt: z.ZodString;
25377
25377
  updatedAt: z.ZodString;
25378
25378
  description: z.ZodNullable<z.ZodString>;
@@ -25380,8 +25380,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25380
25380
  contextConfigId: z.ZodNullable<z.ZodString>;
25381
25381
  executionMode: z.ZodString;
25382
25382
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25383
- name: z.ZodString;
25384
25383
  id: z.ZodString;
25384
+ name: z.ZodString;
25385
25385
  createdAt: z.ZodString;
25386
25386
  updatedAt: z.ZodString;
25387
25387
  description: z.ZodNullable<z.ZodString>;
@@ -25518,8 +25518,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25518
25518
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25519
25519
  }, z.core.$strip>>>;
25520
25520
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25521
- name: z.ZodString;
25522
25521
  id: z.ZodString;
25522
+ name: z.ZodString;
25523
25523
  createdAt: z.ZodString;
25524
25524
  updatedAt: z.ZodString;
25525
25525
  description: z.ZodNullable<z.ZodString>;
@@ -25600,8 +25600,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25600
25600
  prompt: z.ZodNullable<z.ZodString>;
25601
25601
  }, z.core.$strip>;
25602
25602
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
25603
- name: z.ZodString;
25604
25603
  id: z.ZodString;
25604
+ name: z.ZodString;
25605
25605
  createdAt: z.ZodString;
25606
25606
  updatedAt: z.ZodString;
25607
25607
  description: z.ZodNullable<z.ZodString>;
@@ -25654,8 +25654,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25654
25654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25655
25655
  }, z.core.$strip>>>;
25656
25656
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25657
- name: z.ZodString;
25658
25657
  id: z.ZodString;
25658
+ name: z.ZodString;
25659
25659
  createdAt: z.ZodString;
25660
25660
  updatedAt: z.ZodString;
25661
25661
  description: z.ZodNullable<z.ZodString>;
@@ -25735,8 +25735,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25735
25735
  }, z.core.$strip>>;
25736
25736
  prompt: z.ZodNullable<z.ZodString>;
25737
25737
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25738
- name: z.ZodString;
25739
25738
  id: z.ZodString;
25739
+ name: z.ZodString;
25740
25740
  createdAt: z.ZodString;
25741
25741
  updatedAt: z.ZodString;
25742
25742
  description: z.ZodNullable<z.ZodString>;
@@ -25835,8 +25835,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25835
25835
  }, z.core.$strip>>;
25836
25836
  }, z.core.$strip>;
25837
25837
  declare const FullProjectSelectSchema: z.ZodObject<{
25838
- name: z.ZodString;
25839
25838
  id: z.ZodString;
25839
+ name: z.ZodString;
25840
25840
  createdAt: z.ZodString;
25841
25841
  updatedAt: z.ZodString;
25842
25842
  description: z.ZodNullable<z.ZodString>;
@@ -25859,8 +25859,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25859
25859
  stepCountIs: z.ZodOptional<z.ZodInt>;
25860
25860
  }, z.core.$strip>>;
25861
25861
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25862
- name: z.ZodString;
25863
25862
  id: z.ZodString;
25863
+ name: z.ZodString;
25864
25864
  createdAt: z.ZodString;
25865
25865
  updatedAt: z.ZodString;
25866
25866
  description: z.ZodNullable<z.ZodString>;
@@ -25868,8 +25868,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25868
25868
  contextConfigId: z.ZodNullable<z.ZodString>;
25869
25869
  executionMode: z.ZodString;
25870
25870
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25871
- name: z.ZodString;
25872
25871
  id: z.ZodString;
25872
+ name: z.ZodString;
25873
25873
  createdAt: z.ZodString;
25874
25874
  updatedAt: z.ZodString;
25875
25875
  description: z.ZodNullable<z.ZodString>;
@@ -26006,8 +26006,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26006
26006
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26007
26007
  }, z.core.$strip>>>;
26008
26008
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26009
- name: z.ZodString;
26010
26009
  id: z.ZodString;
26010
+ name: z.ZodString;
26011
26011
  createdAt: z.ZodString;
26012
26012
  updatedAt: z.ZodString;
26013
26013
  description: z.ZodNullable<z.ZodString>;
@@ -26117,8 +26117,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26117
26117
  id: z.ZodString;
26118
26118
  }>, z.core.$strip>>;
26119
26119
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26120
- name: z.ZodString;
26121
26120
  id: z.ZodString;
26121
+ name: z.ZodString;
26122
26122
  createdAt: z.ZodString;
26123
26123
  updatedAt: z.ZodString;
26124
26124
  description: z.ZodNullable<z.ZodString>;
@@ -26265,22 +26265,22 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26265
26265
  }, z.core.$strip>>>;
26266
26266
  }, z.core.$strict>>;
26267
26267
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26268
- name: z.ZodString;
26269
- userId: z.ZodNullable<z.ZodString>;
26270
26268
  id: z.ZodString;
26269
+ name: z.ZodString;
26271
26270
  createdAt: z.ZodString;
26272
26271
  updatedAt: z.ZodString;
26272
+ userId: z.ZodNullable<z.ZodString>;
26273
26273
  toolId: z.ZodNullable<z.ZodString>;
26274
+ createdBy: z.ZodNullable<z.ZodString>;
26274
26275
  credentialStoreId: z.ZodString;
26275
26276
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26276
- createdBy: z.ZodNullable<z.ZodString>;
26277
26277
  type: z.ZodEnum<{
26278
26278
  readonly memory: "memory";
26279
26279
  readonly keychain: "keychain";
26280
26280
  readonly nango: "nango";
26281
26281
  readonly composio: "composio";
26282
26282
  }>;
26283
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26283
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26284
26284
  createdAt: drizzle_orm_pg_core220.PgColumn<{
26285
26285
  name: "created_at";
26286
26286
  tableName: "tools";
@@ -26560,7 +26560,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26560
26560
  }, {}, {
26561
26561
  length: 256;
26562
26562
  }>;
26563
- }, drizzle_zod19.BuildRefine<{
26563
+ }, drizzle_zod15.BuildRefine<{
26564
26564
  createdAt: drizzle_orm_pg_core220.PgColumn<{
26565
26565
  name: "created_at";
26566
26566
  tableName: "tools";
@@ -26861,8 +26861,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26861
26861
  in: {};
26862
26862
  }>;
26863
26863
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26864
- name: z.ZodString;
26865
26864
  id: z.ZodString;
26865
+ name: z.ZodString;
26866
26866
  createdAt: z.ZodString;
26867
26867
  updatedAt: z.ZodString;
26868
26868
  description: z.ZodNullable<z.ZodString>;
@@ -26914,8 +26914,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26914
26914
  id: z.ZodString;
26915
26915
  }>, z.core.$strip>>;
26916
26916
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26917
- name: z.ZodString;
26918
26917
  id: z.ZodString;
26918
+ name: z.ZodString;
26919
26919
  createdAt: z.ZodString;
26920
26920
  updatedAt: z.ZodString;
26921
26921
  description: z.ZodNullable<z.ZodString>;
@@ -27062,22 +27062,22 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27062
27062
  }, z.core.$strip>>>;
27063
27063
  }, z.core.$strict>>;
27064
27064
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27065
- name: z.ZodString;
27066
- userId: z.ZodNullable<z.ZodString>;
27067
27065
  id: z.ZodString;
27066
+ name: z.ZodString;
27068
27067
  createdAt: z.ZodString;
27069
27068
  updatedAt: z.ZodString;
27069
+ userId: z.ZodNullable<z.ZodString>;
27070
27070
  toolId: z.ZodNullable<z.ZodString>;
27071
+ createdBy: z.ZodNullable<z.ZodString>;
27071
27072
  credentialStoreId: z.ZodString;
27072
27073
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27073
- createdBy: z.ZodNullable<z.ZodString>;
27074
27074
  type: z.ZodEnum<{
27075
27075
  readonly memory: "memory";
27076
27076
  readonly keychain: "keychain";
27077
27077
  readonly nango: "nango";
27078
27078
  readonly composio: "composio";
27079
27079
  }>;
27080
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27080
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27081
27081
  createdAt: drizzle_orm_pg_core220.PgColumn<{
27082
27082
  name: "created_at";
27083
27083
  tableName: "tools";
@@ -27357,7 +27357,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27357
27357
  }, {}, {
27358
27358
  length: 256;
27359
27359
  }>;
27360
- }, drizzle_zod19.BuildRefine<{
27360
+ }, drizzle_zod15.BuildRefine<{
27361
27361
  createdAt: drizzle_orm_pg_core220.PgColumn<{
27362
27362
  name: "created_at";
27363
27363
  tableName: "tools";
@@ -27654,8 +27654,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27654
27654
  }>>>;
27655
27655
  }, z.core.$strip>>>;
27656
27656
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27657
- name: z.ZodString;
27658
27657
  id: z.ZodString;
27658
+ name: z.ZodString;
27659
27659
  createdAt: z.ZodString;
27660
27660
  updatedAt: z.ZodString;
27661
27661
  description: z.ZodNullable<z.ZodString>;
@@ -27708,8 +27708,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27708
27708
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27709
27709
  }, z.core.$strip>>>;
27710
27710
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27711
- name: z.ZodString;
27712
27711
  id: z.ZodString;
27712
+ name: z.ZodString;
27713
27713
  createdAt: z.ZodString;
27714
27714
  updatedAt: z.ZodString;
27715
27715
  description: z.ZodNullable<z.ZodString>;
@@ -27789,8 +27789,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27789
27789
  }, z.core.$strip>>;
27790
27790
  prompt: z.ZodNullable<z.ZodString>;
27791
27791
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27792
- name: z.ZodString;
27793
27792
  id: z.ZodString;
27793
+ name: z.ZodString;
27794
27794
  createdAt: z.ZodString;
27795
27795
  updatedAt: z.ZodString;
27796
27796
  description: z.ZodNullable<z.ZodString>;
@@ -27894,8 +27894,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27894
27894
  }>;
27895
27895
  declare const ProjectResponse: z.ZodObject<{
27896
27896
  data: z.ZodObject<{
27897
- name: z.ZodString;
27898
27897
  id: z.ZodString;
27898
+ name: z.ZodString;
27899
27899
  createdAt: z.ZodString;
27900
27900
  updatedAt: z.ZodString;
27901
27901
  description: z.ZodNullable<z.ZodString>;
@@ -28156,11 +28156,11 @@ declare const ContextConfigResponse: z.ZodObject<{
28156
28156
  }, z.core.$strip>;
28157
28157
  declare const ApiKeyResponse: z.ZodObject<{
28158
28158
  data: z.ZodObject<{
28159
- name: z.ZodNullable<z.ZodString>;
28160
28159
  id: z.ZodString;
28160
+ name: z.ZodNullable<z.ZodString>;
28161
28161
  createdAt: z.ZodString;
28162
- expiresAt: z.ZodNullable<z.ZodString>;
28163
28162
  updatedAt: z.ZodString;
28163
+ expiresAt: z.ZodNullable<z.ZodString>;
28164
28164
  agentId: z.ZodString;
28165
28165
  publicId: z.ZodString;
28166
28166
  keyPrefix: z.ZodString;
@@ -28172,22 +28172,22 @@ declare const ApiKeyResponse: z.ZodObject<{
28172
28172
  }, z.core.$strip>;
28173
28173
  declare const CredentialReferenceResponse: z.ZodObject<{
28174
28174
  data: z.ZodObject<{
28175
- name: z.ZodString;
28176
- userId: z.ZodNullable<z.ZodString>;
28177
28175
  id: z.ZodString;
28176
+ name: z.ZodString;
28178
28177
  createdAt: z.ZodString;
28179
28178
  updatedAt: z.ZodString;
28179
+ userId: z.ZodNullable<z.ZodString>;
28180
28180
  toolId: z.ZodNullable<z.ZodString>;
28181
+ createdBy: z.ZodNullable<z.ZodString>;
28181
28182
  credentialStoreId: z.ZodString;
28182
28183
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28183
- createdBy: z.ZodNullable<z.ZodString>;
28184
28184
  type: z.ZodEnum<{
28185
28185
  readonly memory: "memory";
28186
28186
  readonly keychain: "keychain";
28187
28187
  readonly nango: "nango";
28188
28188
  readonly composio: "composio";
28189
28189
  }>;
28190
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28190
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28191
28191
  createdAt: drizzle_orm_pg_core220.PgColumn<{
28192
28192
  name: "created_at";
28193
28193
  tableName: "tools";
@@ -28467,7 +28467,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28467
28467
  }, {}, {
28468
28468
  length: 256;
28469
28469
  }>;
28470
- }, drizzle_zod19.BuildRefine<{
28470
+ }, drizzle_zod15.BuildRefine<{
28471
28471
  createdAt: drizzle_orm_pg_core220.PgColumn<{
28472
28472
  name: "created_at";
28473
28473
  tableName: "tools";
@@ -28778,8 +28778,8 @@ declare const FunctionResponse: z.ZodObject<{
28778
28778
  }, z.core.$strip>;
28779
28779
  declare const FunctionToolResponse: z.ZodObject<{
28780
28780
  data: z.ZodObject<{
28781
- name: z.ZodString;
28782
28781
  id: z.ZodString;
28782
+ name: z.ZodString;
28783
28783
  createdAt: z.ZodString;
28784
28784
  updatedAt: z.ZodString;
28785
28785
  description: z.ZodNullable<z.ZodString>;
@@ -28793,7 +28793,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28793
28793
  createdAt: z.ZodString;
28794
28794
  updatedAt: z.ZodString;
28795
28795
  functionToolId: z.ZodString;
28796
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28796
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28797
28797
  subAgentId: z.ZodString;
28798
28798
  agentId: z.ZodString;
28799
28799
  projectId: z.ZodString;
@@ -28925,9 +28925,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
28925
28925
  createdAt: z.ZodString;
28926
28926
  updatedAt: z.ZodString;
28927
28927
  toolId: z.ZodString;
28928
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28929
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28930
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28928
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28929
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28930
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28931
28931
  subAgentId: z.ZodString;
28932
28932
  agentId: z.ZodString;
28933
28933
  projectId: z.ZodString;
@@ -28940,10 +28940,10 @@ declare const TriggerResponse: z.ZodObject<{
28940
28940
  createdAt: z.ZodString;
28941
28941
  updatedAt: z.ZodString;
28942
28942
  enabled: z.ZodBoolean;
28943
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28944
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28943
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28944
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28945
28945
  messageTemplate: z.ZodNullable<z.ZodString>;
28946
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28946
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28947
28947
  name: z.ZodString;
28948
28948
  description: z.ZodNullable<z.ZodString>;
28949
28949
  agentId: z.ZodString;
@@ -28965,8 +28965,8 @@ declare const TriggerResponse: z.ZodObject<{
28965
28965
  }>;
28966
28966
  signature: z.ZodObject<{
28967
28967
  source: z.ZodEnum<{
28968
- body: "body";
28969
28968
  query: "query";
28969
+ body: "body";
28970
28970
  header: "header";
28971
28971
  }>;
28972
28972
  key: z.ZodString;
@@ -29005,8 +29005,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29005
29005
  triggerId: z.ZodString;
29006
29006
  conversationId: z.ZodNullable<z.ZodString>;
29007
29007
  status: z.ZodString;
29008
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29009
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29008
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29009
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29010
29010
  errorMessage: z.ZodNullable<z.ZodString>;
29011
29011
  createdAt: z.ZodString;
29012
29012
  agentId: z.ZodString;
@@ -29026,8 +29026,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29026
29026
  }, z.core.$strip>;
29027
29027
  declare const ProjectListResponse: z.ZodObject<{
29028
29028
  data: z.ZodArray<z.ZodObject<{
29029
- name: z.ZodString;
29030
29029
  id: z.ZodString;
29030
+ name: z.ZodString;
29031
29031
  createdAt: z.ZodString;
29032
29032
  updatedAt: z.ZodString;
29033
29033
  description: z.ZodNullable<z.ZodString>;
@@ -29318,11 +29318,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
29318
29318
  }, z.core.$strip>;
29319
29319
  declare const ApiKeyListResponse: z.ZodObject<{
29320
29320
  data: z.ZodArray<z.ZodObject<{
29321
- name: z.ZodNullable<z.ZodString>;
29322
29321
  id: z.ZodString;
29322
+ name: z.ZodNullable<z.ZodString>;
29323
29323
  createdAt: z.ZodString;
29324
- expiresAt: z.ZodNullable<z.ZodString>;
29325
29324
  updatedAt: z.ZodString;
29325
+ expiresAt: z.ZodNullable<z.ZodString>;
29326
29326
  agentId: z.ZodString;
29327
29327
  publicId: z.ZodString;
29328
29328
  keyPrefix: z.ZodString;
@@ -29340,15 +29340,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
29340
29340
  }, z.core.$strip>;
29341
29341
  declare const AppResponse: z.ZodObject<{
29342
29342
  data: z.ZodObject<{
29343
- enabled: z.ZodBoolean;
29344
29343
  type: z.ZodString;
29345
- name: z.ZodString;
29346
29344
  id: z.ZodString;
29345
+ name: z.ZodString;
29347
29346
  createdAt: z.ZodString;
29348
29347
  updatedAt: z.ZodString;
29349
29348
  description: z.ZodNullable<z.ZodString>;
29350
- tenantId: z.ZodNullable<z.ZodString>;
29349
+ enabled: z.ZodBoolean;
29351
29350
  projectId: z.ZodNullable<z.ZodString>;
29351
+ tenantId: z.ZodNullable<z.ZodString>;
29352
29352
  prompt: z.ZodNullable<z.ZodString>;
29353
29353
  lastUsedAt: z.ZodNullable<z.ZodString>;
29354
29354
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -29388,15 +29388,15 @@ declare const AppResponse: z.ZodObject<{
29388
29388
  }, z.core.$strip>;
29389
29389
  declare const AppListResponse: z.ZodObject<{
29390
29390
  data: z.ZodArray<z.ZodObject<{
29391
- enabled: z.ZodBoolean;
29392
29391
  type: z.ZodString;
29393
- name: z.ZodString;
29394
29392
  id: z.ZodString;
29393
+ name: z.ZodString;
29395
29394
  createdAt: z.ZodString;
29396
29395
  updatedAt: z.ZodString;
29397
29396
  description: z.ZodNullable<z.ZodString>;
29398
- tenantId: z.ZodNullable<z.ZodString>;
29397
+ enabled: z.ZodBoolean;
29399
29398
  projectId: z.ZodNullable<z.ZodString>;
29399
+ tenantId: z.ZodNullable<z.ZodString>;
29400
29400
  prompt: z.ZodNullable<z.ZodString>;
29401
29401
  lastUsedAt: z.ZodNullable<z.ZodString>;
29402
29402
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -29442,22 +29442,22 @@ declare const AppListResponse: z.ZodObject<{
29442
29442
  }, z.core.$strip>;
29443
29443
  declare const CredentialReferenceListResponse: z.ZodObject<{
29444
29444
  data: z.ZodArray<z.ZodObject<{
29445
- name: z.ZodString;
29446
- userId: z.ZodNullable<z.ZodString>;
29447
29445
  id: z.ZodString;
29446
+ name: z.ZodString;
29448
29447
  createdAt: z.ZodString;
29449
29448
  updatedAt: z.ZodString;
29449
+ userId: z.ZodNullable<z.ZodString>;
29450
29450
  toolId: z.ZodNullable<z.ZodString>;
29451
+ createdBy: z.ZodNullable<z.ZodString>;
29451
29452
  credentialStoreId: z.ZodString;
29452
29453
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29453
- createdBy: z.ZodNullable<z.ZodString>;
29454
29454
  type: z.ZodEnum<{
29455
29455
  readonly memory: "memory";
29456
29456
  readonly keychain: "keychain";
29457
29457
  readonly nango: "nango";
29458
29458
  readonly composio: "composio";
29459
29459
  }>;
29460
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29460
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29461
29461
  createdAt: drizzle_orm_pg_core220.PgColumn<{
29462
29462
  name: "created_at";
29463
29463
  tableName: "tools";
@@ -29737,7 +29737,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29737
29737
  }, {}, {
29738
29738
  length: 256;
29739
29739
  }>;
29740
- }, drizzle_zod19.BuildRefine<{
29740
+ }, drizzle_zod15.BuildRefine<{
29741
29741
  createdAt: drizzle_orm_pg_core220.PgColumn<{
29742
29742
  name: "created_at";
29743
29743
  tableName: "tools";
@@ -30060,8 +30060,8 @@ declare const FunctionListResponse: z.ZodObject<{
30060
30060
  }, z.core.$strip>;
30061
30061
  declare const FunctionToolListResponse: z.ZodObject<{
30062
30062
  data: z.ZodArray<z.ZodObject<{
30063
- name: z.ZodString;
30064
30063
  id: z.ZodString;
30064
+ name: z.ZodString;
30065
30065
  createdAt: z.ZodString;
30066
30066
  updatedAt: z.ZodString;
30067
30067
  description: z.ZodNullable<z.ZodString>;
@@ -30081,7 +30081,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30081
30081
  createdAt: z.ZodString;
30082
30082
  updatedAt: z.ZodString;
30083
30083
  functionToolId: z.ZodString;
30084
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30084
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30085
30085
  subAgentId: z.ZodString;
30086
30086
  agentId: z.ZodString;
30087
30087
  projectId: z.ZodString;
@@ -30269,9 +30269,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30269
30269
  createdAt: z.ZodString;
30270
30270
  updatedAt: z.ZodString;
30271
30271
  toolId: z.ZodString;
30272
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30273
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30274
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30272
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30273
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30274
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30275
30275
  subAgentId: z.ZodString;
30276
30276
  agentId: z.ZodString;
30277
30277
  projectId: z.ZodString;
@@ -30290,10 +30290,10 @@ declare const TriggerListResponse: z.ZodObject<{
30290
30290
  createdAt: z.ZodString;
30291
30291
  updatedAt: z.ZodString;
30292
30292
  enabled: z.ZodBoolean;
30293
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30294
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30293
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30294
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30295
30295
  messageTemplate: z.ZodNullable<z.ZodString>;
30296
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30296
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30297
30297
  name: z.ZodString;
30298
30298
  description: z.ZodNullable<z.ZodString>;
30299
30299
  agentId: z.ZodString;
@@ -30315,8 +30315,8 @@ declare const TriggerListResponse: z.ZodObject<{
30315
30315
  }>;
30316
30316
  signature: z.ZodObject<{
30317
30317
  source: z.ZodEnum<{
30318
- body: "body";
30319
30318
  query: "query";
30319
+ body: "body";
30320
30320
  header: "header";
30321
30321
  }>;
30322
30322
  key: z.ZodString;
@@ -30361,8 +30361,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30361
30361
  triggerId: z.ZodString;
30362
30362
  conversationId: z.ZodNullable<z.ZodString>;
30363
30363
  status: z.ZodString;
30364
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30365
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30364
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30365
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30366
30366
  errorMessage: z.ZodNullable<z.ZodString>;
30367
30367
  createdAt: z.ZodString;
30368
30368
  agentId: z.ZodString;
@@ -30388,17 +30388,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30388
30388
  }, z.core.$strip>;
30389
30389
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30390
30390
  data: z.ZodObject<{
30391
- enabled: z.ZodBoolean;
30392
- name: z.ZodString;
30393
30391
  id: z.ZodString;
30392
+ name: z.ZodString;
30394
30393
  createdAt: z.ZodString;
30395
30394
  updatedAt: z.ZodString;
30396
30395
  description: z.ZodNullable<z.ZodString>;
30397
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30398
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30399
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30396
+ enabled: z.ZodBoolean;
30397
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30398
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30400
30399
  messageTemplate: z.ZodNullable<z.ZodString>;
30401
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30400
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30402
30401
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30403
30402
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30404
30403
  algorithm: z.ZodEnum<{
@@ -30414,8 +30413,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30414
30413
  }>;
30415
30414
  signature: z.ZodObject<{
30416
30415
  source: z.ZodEnum<{
30417
- body: "body";
30418
30416
  query: "query";
30417
+ body: "body";
30419
30418
  header: "header";
30420
30419
  }>;
30421
30420
  key: z.ZodString;
@@ -30446,22 +30445,22 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30446
30445
  }, z.core.$strip>>;
30447
30446
  }, z.core.$strip>>>;
30448
30447
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30448
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30449
30449
  webhookUrl: z.ZodString;
30450
30450
  }, z.core.$strip>;
30451
30451
  }, z.core.$strip>;
30452
30452
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30453
30453
  data: z.ZodObject<{
30454
- enabled: z.ZodBoolean;
30455
- name: z.ZodString;
30456
30454
  id: z.ZodString;
30455
+ name: z.ZodString;
30457
30456
  createdAt: z.ZodString;
30458
30457
  updatedAt: z.ZodString;
30459
30458
  description: z.ZodNullable<z.ZodString>;
30460
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30461
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30462
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30459
+ enabled: z.ZodBoolean;
30460
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30461
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30463
30462
  messageTemplate: z.ZodNullable<z.ZodString>;
30464
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30463
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30465
30464
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30466
30465
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30467
30466
  algorithm: z.ZodEnum<{
@@ -30477,8 +30476,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30477
30476
  }>;
30478
30477
  signature: z.ZodObject<{
30479
30478
  source: z.ZodEnum<{
30480
- body: "body";
30481
30479
  query: "query";
30480
+ body: "body";
30482
30481
  header: "header";
30483
30482
  }>;
30484
30483
  key: z.ZodString;
@@ -30509,23 +30508,23 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30509
30508
  }, z.core.$strip>>;
30510
30509
  }, z.core.$strip>>>;
30511
30510
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30511
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30512
30512
  webhookUrl: z.ZodString;
30513
30513
  }, z.core.$strip>;
30514
30514
  warning: z.ZodOptional<z.ZodString>;
30515
30515
  }, z.core.$strip>;
30516
30516
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30517
30517
  data: z.ZodArray<z.ZodObject<{
30518
- enabled: z.ZodBoolean;
30519
- name: z.ZodString;
30520
30518
  id: z.ZodString;
30519
+ name: z.ZodString;
30521
30520
  createdAt: z.ZodString;
30522
30521
  updatedAt: z.ZodString;
30523
30522
  description: z.ZodNullable<z.ZodString>;
30524
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30525
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30526
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30523
+ enabled: z.ZodBoolean;
30524
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30525
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30527
30526
  messageTemplate: z.ZodNullable<z.ZodString>;
30528
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30527
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30529
30528
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30530
30529
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30531
30530
  algorithm: z.ZodEnum<{
@@ -30541,8 +30540,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30541
30540
  }>;
30542
30541
  signature: z.ZodObject<{
30543
30542
  source: z.ZodEnum<{
30544
- body: "body";
30545
30543
  query: "query";
30544
+ body: "body";
30546
30545
  header: "header";
30547
30546
  }>;
30548
30547
  key: z.ZodString;
@@ -30573,6 +30572,7 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30573
30572
  }, z.core.$strip>>;
30574
30573
  }, z.core.$strip>>>;
30575
30574
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30575
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30576
30576
  webhookUrl: z.ZodString;
30577
30577
  }, z.core.$strip>>;
30578
30578
  pagination: z.ZodObject<{
@@ -30583,15 +30583,15 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30583
30583
  }, z.core.$strip>;
30584
30584
  }, z.core.$strip>;
30585
30585
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30586
- enabled: z.ZodBoolean;
30587
- name: z.ZodString;
30588
30586
  id: z.ZodString;
30587
+ name: z.ZodString;
30589
30588
  createdAt: z.ZodString;
30590
30589
  updatedAt: z.ZodString;
30591
30590
  description: z.ZodNullable<z.ZodString>;
30592
- createdBy: z.ZodNullable<z.ZodString>;
30591
+ enabled: z.ZodBoolean;
30593
30592
  messageTemplate: z.ZodNullable<z.ZodString>;
30594
30593
  runAsUserId: z.ZodNullable<z.ZodString>;
30594
+ createdBy: z.ZodNullable<z.ZodString>;
30595
30595
  cronExpression: z.ZodNullable<z.ZodString>;
30596
30596
  cronTimezone: z.ZodNullable<z.ZodString>;
30597
30597
  runAt: z.ZodNullable<z.ZodString>;
@@ -30601,8 +30601,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30601
30601
  timeoutSeconds: z.ZodNumber;
30602
30602
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30603
30603
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30604
- completed: "completed";
30605
30604
  failed: "failed";
30605
+ completed: "completed";
30606
30606
  }>>;
30607
30607
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30608
30608
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30662,15 +30662,15 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30662
30662
  }, z.core.$strip>;
30663
30663
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30664
30664
  data: z.ZodArray<z.ZodObject<{
30665
- enabled: z.ZodBoolean;
30666
- name: z.ZodString;
30667
30665
  id: z.ZodString;
30666
+ name: z.ZodString;
30668
30667
  createdAt: z.ZodString;
30669
30668
  updatedAt: z.ZodString;
30670
30669
  description: z.ZodNullable<z.ZodString>;
30671
- createdBy: z.ZodNullable<z.ZodString>;
30670
+ enabled: z.ZodBoolean;
30672
30671
  messageTemplate: z.ZodNullable<z.ZodString>;
30673
30672
  runAsUserId: z.ZodNullable<z.ZodString>;
30673
+ createdBy: z.ZodNullable<z.ZodString>;
30674
30674
  cronExpression: z.ZodNullable<z.ZodString>;
30675
30675
  cronTimezone: z.ZodNullable<z.ZodString>;
30676
30676
  runAt: z.ZodNullable<z.ZodString>;
@@ -30680,8 +30680,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30680
30680
  timeoutSeconds: z.ZodNumber;
30681
30681
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30682
30682
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30683
- completed: "completed";
30684
30683
  failed: "failed";
30684
+ completed: "completed";
30685
30685
  }>>;
30686
30686
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30687
30687
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30719,9 +30719,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30719
30719
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30720
30720
  status: z.ZodEnum<{
30721
30721
  pending: "pending";
30722
+ failed: "failed";
30722
30723
  running: "running";
30723
30724
  completed: "completed";
30724
- failed: "failed";
30725
30725
  cancelled: "cancelled";
30726
30726
  }>;
30727
30727
  }>, z.core.$strip>;
@@ -30752,9 +30752,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30752
30752
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30753
30753
  status: z.ZodEnum<{
30754
30754
  pending: "pending";
30755
+ failed: "failed";
30755
30756
  running: "running";
30756
30757
  completed: "completed";
30757
- failed: "failed";
30758
30758
  cancelled: "cancelled";
30759
30759
  }>;
30760
30760
  }>, z.core.$strip>>;
@@ -30839,11 +30839,11 @@ declare const SubAgentSkillResponse: z.ZodObject<{
30839
30839
  }, z.core.$strip>;
30840
30840
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
30841
30841
  data: z.ZodArray<z.ZodObject<{
30842
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
30843
- name: z.ZodString;
30844
30842
  id: z.ZodString;
30843
+ name: z.ZodString;
30845
30844
  createdAt: z.ZodString;
30846
30845
  updatedAt: z.ZodString;
30846
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
30847
30847
  description: z.ZodString;
30848
30848
  content: z.ZodString;
30849
30849
  subAgentSkillId: z.ZodString;
@@ -30854,8 +30854,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
30854
30854
  }, z.core.$strip>;
30855
30855
  declare const FullProjectDefinitionResponse: z.ZodObject<{
30856
30856
  data: z.ZodObject<{
30857
- name: z.ZodString;
30858
30857
  id: z.ZodString;
30858
+ name: z.ZodString;
30859
30859
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30860
30860
  models: z.ZodObject<{
30861
30861
  base: z.ZodObject<{
@@ -30876,8 +30876,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30876
30876
  stepCountIs: z.ZodOptional<z.ZodInt>;
30877
30877
  }, z.core.$strip>>;
30878
30878
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30879
- name: z.ZodString;
30880
30879
  id: z.ZodString;
30880
+ name: z.ZodString;
30881
30881
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30882
30882
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30883
30883
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30921,8 +30921,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30921
30921
  }, z.core.$strip>>;
30922
30922
  prompt: z.ZodOptional<z.ZodString>;
30923
30923
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30924
- name: z.ZodString;
30925
30924
  id: z.ZodString;
30925
+ name: z.ZodString;
30926
30926
  createdAt: z.ZodOptional<z.ZodString>;
30927
30927
  updatedAt: z.ZodOptional<z.ZodString>;
30928
30928
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30974,26 +30974,26 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30974
30974
  }, z.core.$strip>>;
30975
30975
  }, z.core.$strip>>;
30976
30976
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
30977
- name: z.ZodString;
30978
30977
  id: z.ZodString;
30978
+ name: z.ZodString;
30979
30979
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30980
- tenantId: z.ZodString;
30981
- projectId: z.ZodString;
30982
30980
  agentId: z.ZodString;
30981
+ projectId: z.ZodString;
30982
+ tenantId: z.ZodString;
30983
30983
  functionId: z.ZodString;
30984
30984
  }>, z.core.$strip>>>;
30985
30985
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30986
30986
  id: z.ZodString;
30987
30987
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30988
- executeCode: z.ZodString;
30989
30988
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30989
+ executeCode: z.ZodString;
30990
30990
  }, z.core.$strip>>>;
30991
30991
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30992
- name: z.ZodString;
30993
30992
  id: z.ZodString;
30993
+ name: z.ZodString;
30994
30994
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30995
- tenantId: z.ZodString;
30996
30995
  projectId: z.ZodString;
30996
+ tenantId: z.ZodString;
30997
30997
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30998
30998
  baseUrl: z.ZodURL;
30999
30999
  }>, z.core.$strip>>>;
@@ -31003,12 +31003,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31003
31003
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31004
31004
  }, z.core.$strip>>>;
31005
31005
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31006
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31007
- name: z.ZodString;
31008
31006
  id: z.ZodString;
31007
+ name: z.ZodString;
31009
31008
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31010
- tenantId: z.ZodString;
31009
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31011
31010
  projectId: z.ZodString;
31011
+ tenantId: z.ZodString;
31012
31012
  config: z.ZodObject<{
31013
31013
  type: z.ZodLiteral<"mcp">;
31014
31014
  mcp: z.ZodObject<{
@@ -31043,30 +31043,30 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31043
31043
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
31044
31044
  }>, z.core.$strip>>>;
31045
31045
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31046
- enabled: z.ZodOptional<z.ZodBoolean>;
31047
- name: z.ZodString;
31048
31046
  id: z.ZodOptional<z.ZodString>;
31047
+ name: z.ZodString;
31049
31048
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31050
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31051
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31052
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31049
+ enabled: z.ZodOptional<z.ZodBoolean>;
31050
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31051
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31053
31052
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31054
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31053
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31055
31054
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31056
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31055
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31057
31056
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31057
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31058
31058
  }, z.core.$strip>>>;
31059
31059
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31060
- enabled: z.ZodOptional<z.ZodBoolean>;
31061
31060
  name: z.ZodString;
31062
31061
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31063
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31062
+ enabled: z.ZodOptional<z.ZodBoolean>;
31064
31063
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
31064
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31066
31066
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31067
31067
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31068
31068
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31069
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31069
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31070
31070
  maxRetries: z.ZodOptional<z.ZodNumber>;
31071
31071
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31072
31072
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31074,12 +31074,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31074
31074
  }, z.core.$strip>>>;
31075
31075
  }, z.core.$strip>>;
31076
31076
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31077
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31078
- name: z.ZodString;
31079
31077
  id: z.ZodString;
31078
+ name: z.ZodString;
31080
31079
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31081
- tenantId: z.ZodString;
31080
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31082
31081
  projectId: z.ZodString;
31082
+ tenantId: z.ZodString;
31083
31083
  config: z.ZodObject<{
31084
31084
  type: z.ZodLiteral<"mcp">;
31085
31085
  mcp: z.ZodObject<{
@@ -31114,27 +31114,27 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31114
31114
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
31115
31115
  }>, z.core.$strip>>;
31116
31116
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
31117
- name: z.ZodString;
31118
31117
  id: z.ZodString;
31118
+ name: z.ZodString;
31119
31119
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31120
- tenantId: z.ZodString;
31121
- projectId: z.ZodString;
31122
31120
  agentId: z.ZodString;
31121
+ projectId: z.ZodString;
31122
+ tenantId: z.ZodString;
31123
31123
  functionId: z.ZodString;
31124
31124
  }>, z.core.$strip>>>;
31125
31125
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31126
31126
  id: z.ZodString;
31127
31127
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31128
- executeCode: z.ZodString;
31129
31128
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31129
+ executeCode: z.ZodString;
31130
31130
  }, z.core.$strip>>>;
31131
31131
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31132
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31133
31132
  name: z.ZodString;
31133
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31134
31134
  description: z.ZodString;
31135
- content: z.ZodString;
31136
- tenantId: z.ZodString;
31137
31135
  projectId: z.ZodString;
31136
+ tenantId: z.ZodString;
31137
+ content: z.ZodString;
31138
31138
  }>, z.core.$strip>>>;
31139
31139
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31140
31140
  id: z.ZodString;
@@ -31190,11 +31190,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31190
31190
  in: {};
31191
31191
  }>>>;
31192
31192
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31193
- name: z.ZodString;
31194
31193
  id: z.ZodString;
31194
+ name: z.ZodString;
31195
31195
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31196
- tenantId: z.ZodString;
31197
31196
  projectId: z.ZodString;
31197
+ tenantId: z.ZodString;
31198
31198
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31199
31199
  baseUrl: z.ZodURL;
31200
31200
  }>, z.core.$strip>>>;
@@ -31214,13 +31214,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31214
31214
  }, z.core.$strip>>>;
31215
31215
  }, z.core.$strict>>;
31216
31216
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31217
+ id: z.ZodString;
31217
31218
  name: z.ZodString;
31218
31219
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31219
- id: z.ZodString;
31220
31220
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31221
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31221
31222
  credentialStoreId: z.ZodString;
31222
31223
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31223
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31224
31224
  type: z.ZodEnum<{
31225
31225
  readonly memory: "memory";
31226
31226
  readonly keychain: "keychain";
@@ -31237,8 +31237,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31237
31237
  }, z.core.$strip>;
31238
31238
  declare const FullProjectSelectResponse: z.ZodObject<{
31239
31239
  data: z.ZodObject<{
31240
- name: z.ZodString;
31241
31240
  id: z.ZodString;
31241
+ name: z.ZodString;
31242
31242
  createdAt: z.ZodString;
31243
31243
  updatedAt: z.ZodString;
31244
31244
  description: z.ZodNullable<z.ZodString>;
@@ -31261,8 +31261,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31261
31261
  stepCountIs: z.ZodOptional<z.ZodInt>;
31262
31262
  }, z.core.$strip>>;
31263
31263
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31264
- name: z.ZodString;
31265
31264
  id: z.ZodString;
31265
+ name: z.ZodString;
31266
31266
  createdAt: z.ZodString;
31267
31267
  updatedAt: z.ZodString;
31268
31268
  description: z.ZodNullable<z.ZodString>;
@@ -31270,8 +31270,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31270
31270
  contextConfigId: z.ZodNullable<z.ZodString>;
31271
31271
  executionMode: z.ZodString;
31272
31272
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31273
- name: z.ZodString;
31274
31273
  id: z.ZodString;
31274
+ name: z.ZodString;
31275
31275
  createdAt: z.ZodString;
31276
31276
  updatedAt: z.ZodString;
31277
31277
  description: z.ZodNullable<z.ZodString>;
@@ -31408,8 +31408,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31408
31408
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31409
31409
  }, z.core.$strip>>>;
31410
31410
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31411
- name: z.ZodString;
31412
31411
  id: z.ZodString;
31412
+ name: z.ZodString;
31413
31413
  createdAt: z.ZodString;
31414
31414
  updatedAt: z.ZodString;
31415
31415
  description: z.ZodNullable<z.ZodString>;
@@ -31519,8 +31519,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31519
31519
  id: z.ZodString;
31520
31520
  }>, z.core.$strip>>;
31521
31521
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31522
- name: z.ZodString;
31523
31522
  id: z.ZodString;
31523
+ name: z.ZodString;
31524
31524
  createdAt: z.ZodString;
31525
31525
  updatedAt: z.ZodString;
31526
31526
  description: z.ZodNullable<z.ZodString>;
@@ -31667,22 +31667,22 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31667
31667
  }, z.core.$strip>>>;
31668
31668
  }, z.core.$strict>>;
31669
31669
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31670
- name: z.ZodString;
31671
- userId: z.ZodNullable<z.ZodString>;
31672
31670
  id: z.ZodString;
31671
+ name: z.ZodString;
31673
31672
  createdAt: z.ZodString;
31674
31673
  updatedAt: z.ZodString;
31674
+ userId: z.ZodNullable<z.ZodString>;
31675
31675
  toolId: z.ZodNullable<z.ZodString>;
31676
+ createdBy: z.ZodNullable<z.ZodString>;
31676
31677
  credentialStoreId: z.ZodString;
31677
31678
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31678
- createdBy: z.ZodNullable<z.ZodString>;
31679
31679
  type: z.ZodEnum<{
31680
31680
  readonly memory: "memory";
31681
31681
  readonly keychain: "keychain";
31682
31682
  readonly nango: "nango";
31683
31683
  readonly composio: "composio";
31684
31684
  }>;
31685
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
31685
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
31686
31686
  createdAt: drizzle_orm_pg_core220.PgColumn<{
31687
31687
  name: "created_at";
31688
31688
  tableName: "tools";
@@ -31962,7 +31962,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31962
31962
  }, {}, {
31963
31963
  length: 256;
31964
31964
  }>;
31965
- }, drizzle_zod19.BuildRefine<{
31965
+ }, drizzle_zod15.BuildRefine<{
31966
31966
  createdAt: drizzle_orm_pg_core220.PgColumn<{
31967
31967
  name: "created_at";
31968
31968
  tableName: "tools";
@@ -32265,8 +32265,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32265
32265
  }, z.core.$strip>;
32266
32266
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32267
32267
  data: z.ZodObject<{
32268
- name: z.ZodString;
32269
32268
  id: z.ZodString;
32269
+ name: z.ZodString;
32270
32270
  createdAt: z.ZodString;
32271
32271
  updatedAt: z.ZodString;
32272
32272
  description: z.ZodNullable<z.ZodString>;
@@ -32318,8 +32318,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32318
32318
  id: z.ZodString;
32319
32319
  }>, z.core.$strip>>;
32320
32320
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32321
- name: z.ZodString;
32322
32321
  id: z.ZodString;
32322
+ name: z.ZodString;
32323
32323
  createdAt: z.ZodString;
32324
32324
  updatedAt: z.ZodString;
32325
32325
  description: z.ZodNullable<z.ZodString>;
@@ -32466,22 +32466,22 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32466
32466
  }, z.core.$strip>>>;
32467
32467
  }, z.core.$strict>>;
32468
32468
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32469
- name: z.ZodString;
32470
- userId: z.ZodNullable<z.ZodString>;
32471
32469
  id: z.ZodString;
32470
+ name: z.ZodString;
32472
32471
  createdAt: z.ZodString;
32473
32472
  updatedAt: z.ZodString;
32473
+ userId: z.ZodNullable<z.ZodString>;
32474
32474
  toolId: z.ZodNullable<z.ZodString>;
32475
+ createdBy: z.ZodNullable<z.ZodString>;
32475
32476
  credentialStoreId: z.ZodString;
32476
32477
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32477
- createdBy: z.ZodNullable<z.ZodString>;
32478
32478
  type: z.ZodEnum<{
32479
32479
  readonly memory: "memory";
32480
32480
  readonly keychain: "keychain";
32481
32481
  readonly nango: "nango";
32482
32482
  readonly composio: "composio";
32483
32483
  }>;
32484
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32484
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32485
32485
  createdAt: drizzle_orm_pg_core220.PgColumn<{
32486
32486
  name: "created_at";
32487
32487
  tableName: "tools";
@@ -32761,7 +32761,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32761
32761
  }, {}, {
32762
32762
  length: 256;
32763
32763
  }>;
32764
- }, drizzle_zod19.BuildRefine<{
32764
+ }, drizzle_zod15.BuildRefine<{
32765
32765
  createdAt: drizzle_orm_pg_core220.PgColumn<{
32766
32766
  name: "created_at";
32767
32767
  tableName: "tools";
@@ -33058,8 +33058,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33058
33058
  }>>>;
33059
33059
  }, z.core.$strip>>>;
33060
33060
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33061
- name: z.ZodString;
33062
33061
  id: z.ZodString;
33062
+ name: z.ZodString;
33063
33063
  createdAt: z.ZodString;
33064
33064
  updatedAt: z.ZodString;
33065
33065
  description: z.ZodNullable<z.ZodString>;
@@ -33112,8 +33112,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33112
33112
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33113
33113
  }, z.core.$strip>>>;
33114
33114
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33115
- name: z.ZodString;
33116
33115
  id: z.ZodString;
33116
+ name: z.ZodString;
33117
33117
  createdAt: z.ZodString;
33118
33118
  updatedAt: z.ZodString;
33119
33119
  description: z.ZodNullable<z.ZodString>;
@@ -33193,8 +33193,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33193
33193
  }, z.core.$strip>>;
33194
33194
  prompt: z.ZodNullable<z.ZodString>;
33195
33195
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33196
- name: z.ZodString;
33197
33196
  id: z.ZodString;
33197
+ name: z.ZodString;
33198
33198
  createdAt: z.ZodString;
33199
33199
  updatedAt: z.ZodString;
33200
33200
  description: z.ZodNullable<z.ZodString>;
@@ -33299,8 +33299,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33299
33299
  }, z.core.$strip>;
33300
33300
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33301
33301
  data: z.ZodObject<{
33302
- name: z.ZodString;
33303
33302
  id: z.ZodString;
33303
+ name: z.ZodString;
33304
33304
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33305
33305
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33306
33306
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33344,8 +33344,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33344
33344
  }, z.core.$strip>>;
33345
33345
  prompt: z.ZodOptional<z.ZodString>;
33346
33346
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33347
- name: z.ZodString;
33348
33347
  id: z.ZodString;
33348
+ name: z.ZodString;
33349
33349
  createdAt: z.ZodOptional<z.ZodString>;
33350
33350
  updatedAt: z.ZodOptional<z.ZodString>;
33351
33351
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33397,26 +33397,26 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33397
33397
  }, z.core.$strip>>;
33398
33398
  }, z.core.$strip>>;
33399
33399
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
33400
- name: z.ZodString;
33401
33400
  id: z.ZodString;
33401
+ name: z.ZodString;
33402
33402
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33403
- tenantId: z.ZodString;
33404
- projectId: z.ZodString;
33405
33403
  agentId: z.ZodString;
33404
+ projectId: z.ZodString;
33405
+ tenantId: z.ZodString;
33406
33406
  functionId: z.ZodString;
33407
33407
  }>, z.core.$strip>>>;
33408
33408
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33409
33409
  id: z.ZodString;
33410
33410
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33411
- executeCode: z.ZodString;
33412
33411
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33412
+ executeCode: z.ZodString;
33413
33413
  }, z.core.$strip>>>;
33414
33414
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33415
- name: z.ZodString;
33416
33415
  id: z.ZodString;
33416
+ name: z.ZodString;
33417
33417
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33418
- tenantId: z.ZodString;
33419
33418
  projectId: z.ZodString;
33419
+ tenantId: z.ZodString;
33420
33420
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33421
33421
  baseUrl: z.ZodURL;
33422
33422
  }>, z.core.$strip>>>;
@@ -33426,12 +33426,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33426
33426
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33427
33427
  }, z.core.$strip>>>;
33428
33428
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33429
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33430
- name: z.ZodString;
33431
33429
  id: z.ZodString;
33430
+ name: z.ZodString;
33432
33431
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33433
- tenantId: z.ZodString;
33432
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33434
33433
  projectId: z.ZodString;
33434
+ tenantId: z.ZodString;
33435
33435
  config: z.ZodObject<{
33436
33436
  type: z.ZodLiteral<"mcp">;
33437
33437
  mcp: z.ZodObject<{
@@ -33466,30 +33466,30 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33466
33466
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
33467
33467
  }>, z.core.$strip>>>;
33468
33468
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33469
- enabled: z.ZodOptional<z.ZodBoolean>;
33470
- name: z.ZodString;
33471
33469
  id: z.ZodOptional<z.ZodString>;
33470
+ name: z.ZodString;
33472
33471
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33473
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33474
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33475
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33472
+ enabled: z.ZodOptional<z.ZodBoolean>;
33473
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33474
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33476
33475
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33477
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33476
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33478
33477
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33479
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33478
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33480
33479
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33480
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33481
33481
  }, z.core.$strip>>>;
33482
33482
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33483
- enabled: z.ZodOptional<z.ZodBoolean>;
33484
33483
  name: z.ZodString;
33485
33484
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33486
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33485
+ enabled: z.ZodOptional<z.ZodBoolean>;
33487
33486
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33488
33487
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33488
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33489
33489
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33490
33490
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33491
33491
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33492
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33492
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33493
33493
  maxRetries: z.ZodOptional<z.ZodNumber>;
33494
33494
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33495
33495
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33499,8 +33499,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33499
33499
  }, z.core.$strip>;
33500
33500
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33501
33501
  data: z.ZodObject<{
33502
- name: z.ZodString;
33503
33502
  id: z.ZodString;
33503
+ name: z.ZodString;
33504
33504
  createdAt: z.ZodString;
33505
33505
  updatedAt: z.ZodString;
33506
33506
  description: z.ZodNullable<z.ZodString>;
@@ -33508,8 +33508,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33508
33508
  contextConfigId: z.ZodNullable<z.ZodString>;
33509
33509
  executionMode: z.ZodString;
33510
33510
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33511
- name: z.ZodString;
33512
33511
  id: z.ZodString;
33512
+ name: z.ZodString;
33513
33513
  createdAt: z.ZodString;
33514
33514
  updatedAt: z.ZodString;
33515
33515
  description: z.ZodNullable<z.ZodString>;
@@ -33646,8 +33646,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33646
33646
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33647
33647
  }, z.core.$strip>>>;
33648
33648
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33649
- name: z.ZodString;
33650
33649
  id: z.ZodString;
33650
+ name: z.ZodString;
33651
33651
  createdAt: z.ZodString;
33652
33652
  updatedAt: z.ZodString;
33653
33653
  description: z.ZodNullable<z.ZodString>;
@@ -33749,12 +33749,12 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
33749
33749
  }, z.core.$strip>;
33750
33750
  declare const McpToolResponse: z.ZodObject<{
33751
33751
  data: z.ZodObject<{
33752
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33753
- name: z.ZodString;
33754
33752
  id: z.ZodString;
33753
+ name: z.ZodString;
33755
33754
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33756
- tenantId: z.ZodString;
33755
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33757
33756
  projectId: z.ZodString;
33757
+ tenantId: z.ZodString;
33758
33758
  config: z.ZodObject<{
33759
33759
  type: z.ZodLiteral<"mcp">;
33760
33760
  mcp: z.ZodObject<{
@@ -33810,12 +33810,12 @@ declare const McpToolResponse: z.ZodObject<{
33810
33810
  }, z.core.$strip>;
33811
33811
  declare const McpToolListResponse: z.ZodObject<{
33812
33812
  data: z.ZodArray<z.ZodObject<{
33813
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33814
- name: z.ZodString;
33815
33813
  id: z.ZodString;
33814
+ name: z.ZodString;
33816
33815
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33817
- tenantId: z.ZodString;
33816
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33818
33817
  projectId: z.ZodString;
33818
+ tenantId: z.ZodString;
33819
33819
  config: z.ZodObject<{
33820
33820
  type: z.ZodLiteral<"mcp">;
33821
33821
  mcp: z.ZodObject<{
@@ -33880,7 +33880,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
33880
33880
  createdAt: z.ZodString;
33881
33881
  updatedAt: z.ZodString;
33882
33882
  targetAgentId: z.ZodString;
33883
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33883
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
33884
33884
  subAgentId: z.ZodString;
33885
33885
  agentId: z.ZodString;
33886
33886
  projectId: z.ZodString;
@@ -33893,7 +33893,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33893
33893
  createdAt: z.ZodString;
33894
33894
  updatedAt: z.ZodString;
33895
33895
  targetAgentId: z.ZodString;
33896
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33896
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
33897
33897
  subAgentId: z.ZodString;
33898
33898
  agentId: z.ZodString;
33899
33899
  projectId: z.ZodString;
@@ -33912,7 +33912,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
33912
33912
  createdAt: z.ZodString;
33913
33913
  updatedAt: z.ZodString;
33914
33914
  externalAgentId: z.ZodString;
33915
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33915
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
33916
33916
  subAgentId: z.ZodString;
33917
33917
  agentId: z.ZodString;
33918
33918
  projectId: z.ZodString;
@@ -33925,7 +33925,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33925
33925
  createdAt: z.ZodString;
33926
33926
  updatedAt: z.ZodString;
33927
33927
  externalAgentId: z.ZodString;
33928
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33928
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
33929
33929
  subAgentId: z.ZodString;
33930
33930
  agentId: z.ZodString;
33931
33931
  projectId: z.ZodString;
@@ -34166,7 +34166,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34166
34166
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34167
34167
  ref: z.ZodOptional<z.ZodString>;
34168
34168
  }, z.core.$strip>;
34169
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34169
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34170
34170
  id: drizzle_orm_pg_core220.PgColumn<{
34171
34171
  name: "id";
34172
34172
  tableName: "project_metadata";
@@ -34260,7 +34260,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34260
34260
  }, {}, {
34261
34261
  length: 512;
34262
34262
  }>;
34263
- }, drizzle_zod19.BuildRefine<{
34263
+ }, drizzle_zod15.BuildRefine<{
34264
34264
  id: drizzle_orm_pg_core220.PgColumn<{
34265
34265
  name: "id";
34266
34266
  tableName: "project_metadata";
@@ -34374,7 +34374,7 @@ declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34374
34374
  User: "User";
34375
34375
  Organization: "Organization";
34376
34376
  }>;
34377
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34377
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34378
34378
  createdAt: drizzle_orm_pg_core220.PgColumn<{
34379
34379
  name: "created_at";
34380
34380
  tableName: "work_app_github_installations";
@@ -34540,7 +34540,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34540
34540
  }, {}, {
34541
34541
  length: 256;
34542
34542
  }>;
34543
- }, drizzle_zod19.BuildRefine<{
34543
+ }, drizzle_zod15.BuildRefine<{
34544
34544
  createdAt: drizzle_orm_pg_core220.PgColumn<{
34545
34545
  name: "created_at";
34546
34546
  tableName: "work_app_github_installations";
@@ -34755,7 +34755,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
34755
34755
  disconnected: "disconnected";
34756
34756
  }>>>;
34757
34757
  }>, z.core.$strip>;
34758
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
34758
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
34759
34759
  createdAt: drizzle_orm_pg_core220.PgColumn<{
34760
34760
  name: "created_at";
34761
34761
  tableName: "work_app_github_repositories";
@@ -34900,7 +34900,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
34900
34900
  identity: undefined;
34901
34901
  generated: undefined;
34902
34902
  }, {}, {}>;
34903
- }, drizzle_zod19.BuildRefine<{
34903
+ }, drizzle_zod15.BuildRefine<{
34904
34904
  createdAt: drizzle_orm_pg_core220.PgColumn<{
34905
34905
  name: "created_at";
34906
34906
  tableName: "work_app_github_repositories";
@@ -35066,7 +35066,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35066
35066
  repositoryFullName: z.ZodString;
35067
35067
  private: z.ZodOptional<z.ZodBoolean>;
35068
35068
  }>>, z.core.$strip>;
35069
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35069
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35070
35070
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35071
35071
  name: "created_at";
35072
35072
  tableName: "work_app_github_project_repository_access";
@@ -35177,7 +35177,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35177
35177
  }, {}, {
35178
35178
  length: 256;
35179
35179
  }>;
35180
- }, drizzle_zod19.BuildRefine<{
35180
+ }, drizzle_zod15.BuildRefine<{
35181
35181
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35182
35182
  name: "created_at";
35183
35183
  tableName: "work_app_github_project_repository_access";
@@ -35289,7 +35289,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35289
35289
  length: 256;
35290
35290
  }>;
35291
35291
  }, undefined>, undefined>;
35292
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35292
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35293
35293
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35294
35294
  name: "created_at";
35295
35295
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35419,7 +35419,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
35419
35419
  }, {}, {
35420
35420
  length: 256;
35421
35421
  }>;
35422
- }, drizzle_zod19.BuildRefine<{
35422
+ }, drizzle_zod15.BuildRefine<{
35423
35423
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35424
35424
  name: "created_at";
35425
35425
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35573,7 +35573,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35573
35573
  all: "all";
35574
35574
  selected: "selected";
35575
35575
  }>;
35576
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
35576
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
35577
35577
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35578
35578
  name: "created_at";
35579
35579
  tableName: "work_app_github_repositories";
@@ -35718,7 +35718,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35718
35718
  identity: undefined;
35719
35719
  generated: undefined;
35720
35720
  }, {}, {}>;
35721
- }, drizzle_zod19.BuildRefine<{
35721
+ }, drizzle_zod15.BuildRefine<{
35722
35722
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35723
35723
  name: "created_at";
35724
35724
  tableName: "work_app_github_repositories";
@@ -35865,7 +35865,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35865
35865
  }, {}, {}>;
35866
35866
  }, undefined>, undefined>>;
35867
35867
  }, z.core.$strip>;
35868
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
35868
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
35869
35869
  createdAt: drizzle_orm_pg_core220.PgColumn<{
35870
35870
  name: "created_at";
35871
35871
  tableName: "work_app_slack_channel_agent_configs";
@@ -36103,7 +36103,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSch
36103
36103
  identity: undefined;
36104
36104
  generated: undefined;
36105
36105
  }, {}, {}>;
36106
- }, drizzle_zod19.BuildRefine<{
36106
+ }, drizzle_zod15.BuildRefine<{
36107
36107
  createdAt: drizzle_orm_pg_core220.PgColumn<{
36108
36108
  name: "created_at";
36109
36109
  tableName: "work_app_slack_channel_agent_configs";
@@ -36342,7 +36342,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSch
36342
36342
  generated: undefined;
36343
36343
  }, {}, {}>;
36344
36344
  }, undefined>, undefined>;
36345
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
36345
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
36346
36346
  createdAt: drizzle_orm_pg_core220.PgColumn<{
36347
36347
  name: "created_at";
36348
36348
  tableName: "work_app_slack_workspaces";
@@ -36637,7 +36637,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
36637
36637
  identity: undefined;
36638
36638
  generated: undefined;
36639
36639
  }, {}, {}>;
36640
- }, drizzle_zod19.BuildRefine<{
36640
+ }, drizzle_zod15.BuildRefine<{
36641
36641
  createdAt: drizzle_orm_pg_core220.PgColumn<{
36642
36642
  name: "created_at";
36643
36643
  tableName: "work_app_slack_workspaces";
@@ -36934,16 +36934,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
36934
36934
  }, {}, {}>;
36935
36935
  }, undefined>, undefined>;
36936
36936
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
36937
- projectId: z.ZodString;
36938
36937
  agentId: z.ZodString;
36938
+ projectId: z.ZodString;
36939
36939
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36940
36940
  }, {
36941
36941
  out: {};
36942
36942
  in: {};
36943
36943
  }>;
36944
36944
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
36945
- projectId: z.ZodString;
36946
36945
  agentId: z.ZodString;
36946
+ projectId: z.ZodString;
36947
36947
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36948
36948
  agentName: z.ZodString;
36949
36949
  projectName: z.ZodOptional<z.ZodString>;
@@ -36959,8 +36959,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
36959
36959
  selected: "selected";
36960
36960
  }>;
36961
36961
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
36962
- tenantId: z.ZodString;
36963
36962
  projectId: z.ZodString;
36963
+ tenantId: z.ZodString;
36964
36964
  toolId: z.ZodString;
36965
36965
  channelAccessMode: z.ZodEnum<{
36966
36966
  all: "all";
@@ -36977,7 +36977,7 @@ declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{
36977
36977
  dmEnabled: z.ZodBoolean;
36978
36978
  channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
36979
36979
  }, z.core.$strip>;
36980
- declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
36980
+ declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
36981
36981
  createdAt: drizzle_orm_pg_core220.PgColumn<{
36982
36982
  name: "created_at";
36983
36983
  tableName: "user_profile";
@@ -37082,7 +37082,7 @@ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37082
37082
  }, {}, {
37083
37083
  $type: Record<string, unknown>;
37084
37084
  }>;
37085
- }, drizzle_zod19.BuildRefine<{
37085
+ }, drizzle_zod15.BuildRefine<{
37086
37086
  createdAt: drizzle_orm_pg_core220.PgColumn<{
37087
37087
  name: "created_at";
37088
37088
  tableName: "user_profile";
@@ -37189,8 +37189,8 @@ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37189
37189
  }>;
37190
37190
  }, undefined>, undefined>;
37191
37191
  declare const UserProfileInsertSchema: z.ZodObject<{
37192
- userId: z.ZodString;
37193
37192
  id: z.ZodString;
37193
+ userId: z.ZodString;
37194
37194
  attributes: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37195
37195
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37196
37196
  }, {
@@ -37198,8 +37198,8 @@ declare const UserProfileInsertSchema: z.ZodObject<{
37198
37198
  in: {};
37199
37199
  }>;
37200
37200
  declare const UserProfileUpdateSchema: z.ZodObject<{
37201
- userId: z.ZodOptional<z.ZodString>;
37202
37201
  id: z.ZodOptional<z.ZodString>;
37202
+ userId: z.ZodOptional<z.ZodString>;
37203
37203
  attributes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37204
37204
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37205
37205
  }, {
@@ -37207,8 +37207,8 @@ declare const UserProfileUpdateSchema: z.ZodObject<{
37207
37207
  in: {};
37208
37208
  }>;
37209
37209
  declare const UserProfileApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
37210
- userId: z.ZodString;
37211
37210
  id: z.ZodString;
37211
+ userId: z.ZodString;
37212
37212
  attributes: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37213
37213
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37214
37214
  }>, z.core.$strip>;
@@ -37224,9 +37224,9 @@ declare const AnonymousSessionResponseSchema: z.ZodObject<{
37224
37224
  expiresAt: z.ZodString;
37225
37225
  }, z.core.$strip>;
37226
37226
  declare const WorkflowExecutionStatusEnum: z.ZodEnum<{
37227
+ failed: "failed";
37227
37228
  running: "running";
37228
37229
  completed: "completed";
37229
- failed: "failed";
37230
37230
  suspended: "suspended";
37231
37231
  }>;
37232
37232
  declare const WorkflowExecutionSelectSchema: z.ZodObject<{
@@ -37240,9 +37240,9 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37240
37240
  tenantId: z.ZodString;
37241
37241
  id: z.ZodString;
37242
37242
  status: z.ZodEnum<{
37243
+ failed: "failed";
37243
37244
  running: "running";
37244
37245
  completed: "completed";
37245
- failed: "failed";
37246
37246
  suspended: "suspended";
37247
37247
  }>;
37248
37248
  }, {
@@ -37250,17 +37250,17 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37250
37250
  in: {};
37251
37251
  }>;
37252
37252
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37253
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37254
37253
  id: z.ZodString;
37255
- requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37256
- tenantId: z.ZodString;
37257
- projectId: z.ZodString;
37254
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37258
37255
  agentId: z.ZodString;
37256
+ projectId: z.ZodString;
37257
+ tenantId: z.ZodString;
37258
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37259
37259
  conversationId: z.ZodString;
37260
37260
  status: z.ZodDefault<z.ZodEnum<{
37261
+ failed: "failed";
37261
37262
  running: "running";
37262
37263
  completed: "completed";
37263
- failed: "failed";
37264
37264
  suspended: "suspended";
37265
37265
  }>>;
37266
37266
  }, {
@@ -37268,17 +37268,17 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37268
37268
  in: {};
37269
37269
  }>;
37270
37270
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37271
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37272
37271
  id: z.ZodOptional<z.ZodString>;
37273
- requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37274
- tenantId: z.ZodOptional<z.ZodString>;
37275
- projectId: z.ZodOptional<z.ZodString>;
37272
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37276
37273
  agentId: z.ZodOptional<z.ZodString>;
37274
+ projectId: z.ZodOptional<z.ZodString>;
37275
+ tenantId: z.ZodOptional<z.ZodString>;
37276
+ requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37277
37277
  conversationId: z.ZodOptional<z.ZodString>;
37278
37278
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
37279
+ failed: "failed";
37279
37280
  running: "running";
37280
37281
  completed: "completed";
37281
- failed: "failed";
37282
37282
  suspended: "suspended";
37283
37283
  }>>>;
37284
37284
  }, {