@inkeep/agents-core 0.0.0-dev-20260401161215 → 0.0.0-dev-20260401162720

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.
@@ -740,10 +740,10 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
740
740
  }>;
741
741
  declare const SubAgentApiSelectSchema: z.ZodObject<{
742
742
  id: z.ZodString;
743
- createdAt: z.ZodString;
744
743
  name: z.ZodString;
745
- updatedAt: z.ZodString;
746
744
  description: z.ZodNullable<z.ZodString>;
745
+ createdAt: z.ZodString;
746
+ updatedAt: z.ZodString;
747
747
  models: z.ZodNullable<z.ZodType<{
748
748
  base?: {
749
749
  model?: string | undefined;
@@ -821,7 +821,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
821
821
  allowedProviders?: string[] | undefined;
822
822
  } | undefined;
823
823
  }>>>;
824
- prompt: z.ZodNullable<z.ZodString>;
825
824
  stopWhen: z.ZodNullable<z.ZodType<{
826
825
  stepCountIs?: number | undefined;
827
826
  }, {
@@ -831,14 +830,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
831
830
  }, {
832
831
  stepCountIs?: number | undefined;
833
832
  }>>>;
833
+ prompt: z.ZodNullable<z.ZodString>;
834
834
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
835
835
  }, z.core.$strip>;
836
836
  declare const SubAgentApiInsertSchema: z.ZodObject<{
837
837
  id: z.ZodString;
838
- createdAt: z.ZodOptional<z.ZodString>;
839
838
  name: z.ZodString;
840
- updatedAt: z.ZodOptional<z.ZodString>;
841
839
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
+ createdAt: z.ZodOptional<z.ZodString>;
841
+ updatedAt: z.ZodOptional<z.ZodString>;
842
842
  models: z.ZodOptional<z.ZodObject<{
843
843
  base: z.ZodOptional<z.ZodObject<{
844
844
  model: z.ZodOptional<z.ZodString>;
@@ -859,7 +859,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
859
859
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
860
860
  }, z.core.$strip>>;
861
861
  }, z.core.$strip>>;
862
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
863
862
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
864
863
  stepCountIs?: number | undefined;
865
864
  }, {
@@ -869,14 +868,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
869
868
  }, {
870
869
  stepCountIs?: number | undefined;
871
870
  }>>>>;
871
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
872
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
873
873
  }, z.core.$strip>;
874
874
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
875
875
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
877
876
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
878
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
879
877
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
878
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
879
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
880
880
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
881
881
  base: z.ZodOptional<z.ZodObject<{
882
882
  model: z.ZodOptional<z.ZodString>;
@@ -897,7 +897,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
897
897
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
898
  }, z.core.$strip>>;
899
899
  }, z.core.$strip>>>>;
900
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
901
900
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
902
901
  stepCountIs?: number | undefined;
903
902
  }, {
@@ -907,6 +906,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
907
906
  }, {
908
907
  stepCountIs?: number | undefined;
909
908
  }>>>>>>;
909
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
910
910
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
911
911
  }, z.core.$strip>;
912
912
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "tenantId" | "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen" | "executionMode">, undefined>, undefined>;
2667
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2668
2668
  declare const AgentUpdateSchema: z.ZodObject<{
2669
2669
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2670
2670
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2826,12 +2826,10 @@ declare const AgentUpdateSchema: z.ZodObject<{
2826
2826
  }>;
2827
2827
  declare const AgentApiSelectSchema: z.ZodObject<{
2828
2828
  id: z.ZodString;
2829
- createdAt: z.ZodString;
2830
2829
  name: z.ZodString;
2831
- updatedAt: z.ZodString;
2832
2830
  description: z.ZodNullable<z.ZodString>;
2833
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2834
- contextConfigId: z.ZodNullable<z.ZodString>;
2831
+ createdAt: z.ZodString;
2832
+ updatedAt: z.ZodString;
2835
2833
  models: z.ZodNullable<z.ZodType<{
2836
2834
  base?: {
2837
2835
  model?: string | undefined;
@@ -2909,6 +2907,17 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2909
2907
  allowedProviders?: string[] | undefined;
2910
2908
  } | undefined;
2911
2909
  }>>>;
2910
+ stopWhen: z.ZodNullable<z.ZodType<{
2911
+ transferCountIs?: number | undefined;
2912
+ }, {
2913
+ transferCountIs?: number | undefined;
2914
+ }, z.core.$ZodTypeInternals<{
2915
+ transferCountIs?: number | undefined;
2916
+ }, {
2917
+ transferCountIs?: number | undefined;
2918
+ }>>>;
2919
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
2920
+ contextConfigId: z.ZodNullable<z.ZodString>;
2912
2921
  prompt: z.ZodNullable<z.ZodString>;
2913
2922
  statusUpdates: z.ZodNullable<z.ZodType<{
2914
2923
  enabled?: boolean | undefined;
@@ -2967,23 +2976,12 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2967
2976
  } | undefined;
2968
2977
  }[] | undefined;
2969
2978
  }>>>;
2970
- stopWhen: z.ZodNullable<z.ZodType<{
2971
- transferCountIs?: number | undefined;
2972
- }, {
2973
- transferCountIs?: number | undefined;
2974
- }, z.core.$ZodTypeInternals<{
2975
- transferCountIs?: number | undefined;
2976
- }, {
2977
- transferCountIs?: number | undefined;
2978
- }>>>;
2979
2979
  executionMode: z.ZodString;
2980
2980
  }, z.core.$strip>;
2981
2981
  declare const AgentApiInsertSchema: z.ZodObject<{
2982
2982
  id: z.ZodString;
2983
2983
  name: z.ZodString;
2984
2984
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2987
2985
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2988
2986
  base?: {
2989
2987
  model?: string | undefined;
@@ -3061,6 +3059,17 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3061
3059
  allowedProviders?: string[] | undefined;
3062
3060
  } | undefined;
3063
3061
  }>>>>;
3062
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
3063
+ transferCountIs?: number | undefined;
3064
+ }, {
3065
+ transferCountIs?: number | undefined;
3066
+ }, z.core.$ZodTypeInternals<{
3067
+ transferCountIs?: number | undefined;
3068
+ }, {
3069
+ transferCountIs?: number | undefined;
3070
+ }>>>>;
3071
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3064
3073
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3065
3074
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3066
3075
  enabled?: boolean | undefined;
@@ -3119,22 +3128,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3119
3128
  } | undefined;
3120
3129
  }[] | undefined;
3121
3130
  }>>>>;
3122
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
3123
- transferCountIs?: number | undefined;
3124
- }, {
3125
- transferCountIs?: number | undefined;
3126
- }, z.core.$ZodTypeInternals<{
3127
- transferCountIs?: number | undefined;
3128
- }, {
3129
- transferCountIs?: number | undefined;
3130
- }>>>>;
3131
3131
  executionMode: z.ZodOptional<z.ZodString>;
3132
3132
  }, z.core.$strip>;
3133
3133
  declare const AgentApiUpdateSchema: z.ZodObject<{
3134
3134
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3135
3135
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3136
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3137
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3138
3136
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3139
3137
  base?: {
3140
3138
  model?: string | undefined;
@@ -3212,6 +3210,17 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3212
3210
  allowedProviders?: string[] | undefined;
3213
3211
  } | undefined;
3214
3212
  }>>>>>>;
3213
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3214
+ transferCountIs?: number | undefined;
3215
+ }, {
3216
+ transferCountIs?: number | undefined;
3217
+ }, z.core.$ZodTypeInternals<{
3218
+ transferCountIs?: number | undefined;
3219
+ }, {
3220
+ transferCountIs?: number | undefined;
3221
+ }>>>>>>;
3222
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3215
3224
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3216
3225
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3217
3226
  enabled?: boolean | undefined;
@@ -3270,15 +3279,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3270
3279
  } | undefined;
3271
3280
  }[] | undefined;
3272
3281
  }>>>>>>;
3273
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3274
- transferCountIs?: number | undefined;
3275
- }, {
3276
- transferCountIs?: number | undefined;
3277
- }, z.core.$ZodTypeInternals<{
3278
- transferCountIs?: number | undefined;
3279
- }, {
3280
- transferCountIs?: number | undefined;
3281
- }>>>>>>;
3282
3282
  executionMode: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3283
3283
  }, z.core.$strip>;
3284
3284
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
@@ -4358,7 +4358,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4358
4358
  }, {}, {
4359
4359
  length: 256;
4360
4360
  }>;
4361
- }, "tenantId" | "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "description" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4361
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "createdBy" | "agentId" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4362
4362
  declare const TriggerUpdateSchema: z.ZodObject<{
4363
4363
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4364
4364
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4383,10 +4383,11 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4383
4383
  }>;
4384
4384
  declare const TriggerApiSelectSchema: z.ZodObject<{
4385
4385
  id: z.ZodString;
4386
- createdAt: z.ZodString;
4387
4386
  name: z.ZodString;
4388
- updatedAt: z.ZodString;
4389
4387
  description: z.ZodNullable<z.ZodString>;
4388
+ createdAt: z.ZodString;
4389
+ updatedAt: z.ZodString;
4390
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4390
4391
  enabled: z.ZodBoolean;
4391
4392
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4392
4393
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4439,12 +4440,12 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4439
4440
  }, z.core.$strip>>;
4440
4441
  }, z.core.$strip>>>;
4441
4442
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4442
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4443
4443
  }, z.core.$strip>;
4444
4444
  declare const TriggerApiInsertSchema: z.ZodObject<{
4445
4445
  id: z.ZodOptional<z.ZodString>;
4446
4446
  name: z.ZodString;
4447
4447
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4448
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4448
4449
  enabled: z.ZodOptional<z.ZodBoolean>;
4449
4450
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4450
4451
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4453,14 +4454,14 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4453
4454
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4454
4455
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4455
4456
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4456
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4457
4457
  }, z.core.$strip>;
4458
4458
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4459
4459
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4460
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4461
4460
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4462
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4463
4461
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4462
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4463
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4464
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4464
4465
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4465
4466
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4466
4467
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -4469,14 +4470,14 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4469
4470
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4470
4471
  signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4471
4472
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4472
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4473
4473
  }, z.core.$strip>;
4474
4474
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4475
4475
  id: z.ZodString;
4476
- createdAt: z.ZodString;
4477
4476
  name: z.ZodString;
4478
- updatedAt: z.ZodString;
4479
4477
  description: z.ZodNullable<z.ZodString>;
4478
+ createdAt: z.ZodString;
4479
+ updatedAt: z.ZodString;
4480
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4480
4481
  enabled: z.ZodBoolean;
4481
4482
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4482
4483
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4529,7 +4530,6 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4529
4530
  }, z.core.$strip>>;
4530
4531
  }, z.core.$strip>>>;
4531
4532
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4532
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4533
4533
  webhookUrl: z.ZodString;
4534
4534
  }, z.core.$strip>;
4535
4535
  declare const TriggerInvocationSelectSchema: z.ZodObject<{
@@ -5015,7 +5015,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5015
5015
  }, {}, {
5016
5016
  length: 256;
5017
5017
  }>;
5018
- }, "tenantId" | "id" | "createdAt" | "agentId" | "projectId" | "status" | "ref" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5018
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "ref" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5019
5019
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5020
5020
  triggerId: z.ZodOptional<z.ZodString>;
5021
5021
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5052,7 +5052,6 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5052
5052
  declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5053
5053
  id: z.ZodString;
5054
5054
  createdAt: z.ZodString;
5055
- status: z.ZodString;
5056
5055
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5057
5056
  type: z.ZodEnum<{
5058
5057
  commit: "commit";
@@ -5062,6 +5061,7 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5062
5061
  name: z.ZodString;
5063
5062
  hash: z.ZodString;
5064
5063
  }, z.core.$strip>>>;
5064
+ status: z.ZodString;
5065
5065
  triggerId: z.ZodString;
5066
5066
  conversationId: z.ZodNullable<z.ZodString>;
5067
5067
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
@@ -5070,7 +5070,6 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5070
5070
  }, z.core.$strip>;
5071
5071
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5072
5072
  createdAt: z.ZodOptional<z.ZodString>;
5073
- status: z.ZodOptional<z.ZodString>;
5074
5073
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
5075
5074
  type: "commit" | "tag" | "branch";
5076
5075
  name: string;
@@ -5088,6 +5087,7 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5088
5087
  name: string;
5089
5088
  hash: string;
5090
5089
  }>>>>;
5090
+ status: z.ZodOptional<z.ZodString>;
5091
5091
  triggerId: z.ZodString;
5092
5092
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5093
5093
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
@@ -5098,7 +5098,6 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5098
5098
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5099
5099
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5100
5100
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5101
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5102
5101
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
5103
5102
  type: "commit" | "tag" | "branch";
5104
5103
  name: string;
@@ -5116,6 +5115,7 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5116
5115
  name: string;
5117
5116
  hash: string;
5118
5117
  }>>>>>>;
5118
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5119
5119
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5120
5120
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5121
5121
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -5150,17 +5150,17 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5150
5150
  in: {};
5151
5151
  }>;
5152
5152
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5153
- tenantId: z.ZodString;
5154
5153
  id: z.ZodString;
5155
5154
  name: z.ZodString;
5156
- agentId: z.ZodString;
5157
- projectId: z.ZodString;
5158
5155
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
+ projectId: z.ZodString;
5157
+ tenantId: z.ZodString;
5158
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
+ agentId: z.ZodString;
5159
5160
  enabled: z.ZodOptional<z.ZodBoolean>;
5160
5161
  ref: z.ZodOptional<z.ZodString>;
5161
5162
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
5163
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5164
5164
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5165
5165
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
5166
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5173,15 +5173,15 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5173
5173
  in: {};
5174
5174
  }>;
5175
5175
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5176
- tenantId: z.ZodOptional<z.ZodString>;
5177
5176
  id: z.ZodOptional<z.ZodString>;
5178
5177
  name: z.ZodOptional<z.ZodString>;
5179
- agentId: z.ZodOptional<z.ZodString>;
5180
- projectId: z.ZodOptional<z.ZodString>;
5181
5178
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
+ projectId: z.ZodOptional<z.ZodString>;
5180
+ tenantId: z.ZodOptional<z.ZodString>;
5181
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5182
+ agentId: z.ZodOptional<z.ZodString>;
5182
5183
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
5184
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5184
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5185
5185
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5186
5186
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5187
5187
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -5197,15 +5197,15 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5197
5197
  }>;
5198
5198
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5199
5199
  id: z.ZodString;
5200
- createdAt: z.ZodString;
5201
5200
  name: z.ZodString;
5202
- updatedAt: z.ZodString;
5203
5201
  description: z.ZodNullable<z.ZodString>;
5202
+ createdAt: z.ZodString;
5203
+ updatedAt: z.ZodString;
5204
+ createdBy: z.ZodNullable<z.ZodString>;
5204
5205
  enabled: z.ZodBoolean;
5205
5206
  ref: z.ZodString;
5206
5207
  messageTemplate: z.ZodNullable<z.ZodString>;
5207
5208
  runAsUserId: z.ZodNullable<z.ZodString>;
5208
- createdBy: z.ZodNullable<z.ZodString>;
5209
5209
  cronExpression: z.ZodNullable<z.ZodString>;
5210
5210
  cronTimezone: z.ZodNullable<z.ZodString>;
5211
5211
  runAt: z.ZodNullable<z.ZodString>;
@@ -5218,11 +5218,11 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5218
5218
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5219
5219
  name: z.ZodString;
5220
5220
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
5222
  enabled: z.ZodOptional<z.ZodBoolean>;
5222
5223
  ref: z.ZodOptional<z.ZodString>;
5223
5224
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5224
5225
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5225
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5226
5226
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5227
5227
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5228
5228
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5235,11 +5235,11 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5235
5235
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5236
5236
  name: z.ZodString;
5237
5237
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5239
  enabled: z.ZodOptional<z.ZodBoolean>;
5239
5240
  ref: z.ZodOptional<z.ZodString>;
5240
5241
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5241
5242
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5242
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5243
5243
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5244
5244
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5245
5245
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5253,11 +5253,11 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5253
5253
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5254
5254
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5255
5255
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5256
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5256
5257
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5257
5258
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5258
5259
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5259
5260
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5260
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5261
5261
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5262
5262
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5263
5263
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5877,7 +5877,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5877
5877
  }, {}, {
5878
5878
  length: 256;
5879
5879
  }>;
5880
- }, "tenantId" | "id" | "createdAt" | "agentId" | "projectId" | "status" | "ref" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5880
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "ref" | "status" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5881
5881
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5882
5882
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
5883
5883
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -5917,13 +5917,6 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5917
5917
  declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
5918
5918
  id: z.ZodString;
5919
5919
  createdAt: z.ZodString;
5920
- status: z.ZodEnum<{
5921
- pending: "pending";
5922
- failed: "failed";
5923
- running: "running";
5924
- completed: "completed";
5925
- cancelled: "cancelled";
5926
- }>;
5927
5920
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5928
5921
  type: z.ZodEnum<{
5929
5922
  commit: "commit";
@@ -5933,18 +5926,24 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
5933
5926
  name: z.ZodString;
5934
5927
  hash: z.ZodString;
5935
5928
  }, z.core.$strip>>>;
5929
+ status: z.ZodEnum<{
5930
+ pending: "pending";
5931
+ failed: "failed";
5932
+ running: "running";
5933
+ completed: "completed";
5934
+ cancelled: "cancelled";
5935
+ }>;
5936
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5936
5937
  scheduledTriggerId: z.ZodString;
5937
5938
  scheduledFor: z.ZodString;
5938
5939
  startedAt: z.ZodNullable<z.ZodString>;
5939
5940
  completedAt: z.ZodNullable<z.ZodString>;
5940
5941
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5941
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5942
5942
  attemptNumber: z.ZodInt;
5943
5943
  idempotencyKey: z.ZodString;
5944
5944
  }, z.core.$strip>;
5945
5945
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5946
5946
  createdAt: z.ZodOptional<z.ZodString>;
5947
- status: z.ZodString;
5948
5947
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
5949
5948
  type: "commit" | "tag" | "branch";
5950
5949
  name: string;
@@ -5962,12 +5961,13 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5962
5961
  name: string;
5963
5962
  hash: string;
5964
5963
  }>>>>;
5964
+ status: z.ZodString;
5965
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5965
5966
  scheduledTriggerId: z.ZodString;
5966
5967
  scheduledFor: z.ZodString;
5967
5968
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5968
5969
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5969
5970
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5970
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5971
5971
  attemptNumber: z.ZodOptional<z.ZodInt>;
5972
5972
  idempotencyKey: z.ZodString;
5973
5973
  id: z.ZodString;
@@ -5975,7 +5975,6 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5975
5975
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
5976
5976
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5977
5977
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5978
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5979
5978
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
5980
5979
  type: "commit" | "tag" | "branch";
5981
5980
  name: string;
@@ -5993,12 +5992,13 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
5993
5992
  name: string;
5994
5993
  hash: string;
5995
5994
  }>>>>>>;
5995
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5996
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
5996
5997
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5997
5998
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5998
5999
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5999
6000
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6000
6001
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6001
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6002
6002
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6003
6003
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6004
6004
  }, z.core.$strip>;
@@ -6229,9 +6229,7 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6229
6229
  createdAt: z.ZodString;
6230
6230
  updatedAt: z.ZodString;
6231
6231
  agentId: z.ZodString;
6232
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6233
6232
  subAgentId: z.ZodString;
6234
- status: z.ZodString;
6235
6233
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6236
6234
  type: z.ZodEnum<{
6237
6235
  commit: "commit";
@@ -6241,6 +6239,8 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6241
6239
  name: z.ZodString;
6242
6240
  hash: z.ZodString;
6243
6241
  }, z.core.$strip>>>;
6242
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6243
+ status: z.ZodString;
6244
6244
  contextId: z.ZodString;
6245
6245
  }, z.core.$strip>;
6246
6246
  declare const TaskApiInsertSchema: z.ZodObject<{
@@ -6248,9 +6248,7 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6248
6248
  createdAt: z.ZodOptional<z.ZodString>;
6249
6249
  updatedAt: z.ZodOptional<z.ZodString>;
6250
6250
  agentId: z.ZodString;
6251
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6252
6251
  subAgentId: z.ZodString;
6253
- status: z.ZodString;
6254
6252
  ref: z.ZodObject<{
6255
6253
  type: z.ZodEnum<{
6256
6254
  commit: "commit";
@@ -6260,6 +6258,8 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6260
6258
  name: z.ZodString;
6261
6259
  hash: z.ZodString;
6262
6260
  }, z.core.$strip>;
6261
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6262
+ status: z.ZodString;
6263
6263
  conversationId: z.ZodOptional<z.ZodString>;
6264
6264
  contextId: z.ZodString;
6265
6265
  }, z.core.$strip>;
@@ -6268,9 +6268,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6268
6268
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6269
6269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6270
6270
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6271
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6272
6271
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6273
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6274
6272
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6275
6273
  type: z.ZodEnum<{
6276
6274
  commit: "commit";
@@ -6280,6 +6278,8 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6280
6278
  name: z.ZodString;
6281
6279
  hash: z.ZodString;
6282
6280
  }, z.core.$strip>>>;
6281
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6282
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6283
6283
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6284
6284
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6285
6285
  }, z.core.$strip>;
@@ -7216,12 +7216,9 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
7216
7216
  }>;
7217
7217
  }, undefined>, undefined>;
7218
7218
  declare const ToolInsertSchema: z.ZodObject<{
7219
- tenantId: z.ZodString;
7220
7219
  id: z.ZodString;
7221
7220
  name: z.ZodString;
7222
- projectId: z.ZodString;
7223
7221
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7224
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7225
7222
  config: z.ZodObject<{
7226
7223
  type: z.ZodLiteral<"mcp">;
7227
7224
  mcp: z.ZodObject<{
@@ -7250,10 +7247,13 @@ declare const ToolInsertSchema: z.ZodObject<{
7250
7247
  }, z.core.$strip>;
7251
7248
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
7249
  credentialScope: z.ZodOptional<z.ZodString>;
7250
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7253
7251
  imageUrl: z.ZodOptional<z.ZodString>;
7254
7252
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7255
7253
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7256
7254
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
7255
+ projectId: z.ZodString;
7256
+ tenantId: z.ZodString;
7257
7257
  }, {
7258
7258
  out: {};
7259
7259
  in: {};
@@ -7336,13 +7336,12 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7336
7336
  in: {};
7337
7337
  }>;
7338
7338
  declare const ConversationApiSelectSchema: z.ZodObject<{
7339
- userId: z.ZodNullable<z.ZodString>;
7340
7339
  id: z.ZodString;
7341
7340
  createdAt: z.ZodString;
7342
7341
  updatedAt: z.ZodString;
7343
- agentId: z.ZodNullable<z.ZodString>;
7344
7342
  title: z.ZodNullable<z.ZodString>;
7345
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7343
+ userId: z.ZodNullable<z.ZodString>;
7344
+ agentId: z.ZodNullable<z.ZodString>;
7346
7345
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7347
7346
  type: z.ZodEnum<{
7348
7347
  commit: "commit";
@@ -7352,18 +7351,18 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7352
7351
  name: z.ZodString;
7353
7352
  hash: z.ZodString;
7354
7353
  }, z.core.$strip>>>;
7354
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7355
7355
  activeSubAgentId: z.ZodString;
7356
7356
  lastContextResolution: z.ZodNullable<z.ZodString>;
7357
7357
  }, z.core.$strip>;
7358
7358
  declare const ConversationApiInsertSchema: z.ZodObject<{
7359
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7360
7359
  id: z.ZodString;
7361
7360
  createdAt: z.ZodOptional<z.ZodString>;
7362
7361
  updatedAt: z.ZodOptional<z.ZodString>;
7362
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7363
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7363
7364
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7364
7365
  contextConfigId: z.ZodOptional<z.ZodString>;
7365
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7366
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7367
7366
  ref: z.ZodObject<{
7368
7367
  type: z.ZodEnum<{
7369
7368
  commit: "commit";
@@ -7373,18 +7372,18 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7373
7372
  name: z.ZodString;
7374
7373
  hash: z.ZodString;
7375
7374
  }, z.core.$strip>;
7375
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7376
7376
  activeSubAgentId: z.ZodString;
7377
7377
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7378
7378
  }, z.core.$strip>;
7379
7379
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7380
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7381
7380
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7382
7381
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7383
7382
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7383
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7384
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7384
7385
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7385
7386
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7386
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7387
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7388
7387
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7389
7388
  type: z.ZodEnum<{
7390
7389
  commit: "commit";
@@ -7394,6 +7393,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7394
7393
  name: z.ZodString;
7395
7394
  hash: z.ZodString;
7396
7395
  }, z.core.$strip>>>;
7396
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7397
7397
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7398
7398
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7399
7399
  }, z.core.$strip>;
@@ -8247,8 +8247,8 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8247
8247
  createdAt: z.ZodString;
8248
8248
  updatedAt: z.ZodString;
8249
8249
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8250
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8251
8250
  role: z.ZodString;
8251
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8252
8252
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8253
8253
  toSubAgentId: z.ZodNullable<z.ZodString>;
8254
8254
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
@@ -8268,8 +8268,8 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8268
8268
  createdAt: z.ZodOptional<z.ZodString>;
8269
8269
  updatedAt: z.ZodOptional<z.ZodString>;
8270
8270
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8271
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8272
8271
  role: z.ZodString;
8272
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8273
8273
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8274
8274
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8275
8275
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8289,8 +8289,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8289
8289
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8290
8290
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8291
8291
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8292
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8293
8292
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8293
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8294
8294
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8295
8295
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8296
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8387,8 +8387,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
8387
8387
  id: z.ZodString;
8388
8388
  createdAt: z.ZodString;
8389
8389
  updatedAt: z.ZodString;
8390
- contextConfigId: z.ZodString;
8391
8390
  value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8391
+ contextConfigId: z.ZodString;
8392
8392
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8393
8393
  type: z.ZodEnum<{
8394
8394
  commit: "commit";
@@ -8408,8 +8408,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
8408
8408
  id: z.ZodString;
8409
8409
  createdAt: z.ZodOptional<z.ZodString>;
8410
8410
  updatedAt: z.ZodOptional<z.ZodString>;
8411
- contextConfigId: z.ZodString;
8412
8411
  value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8412
+ contextConfigId: z.ZodString;
8413
8413
  ref: z.ZodObject<{
8414
8414
  type: z.ZodEnum<{
8415
8415
  commit: "commit";
@@ -8429,8 +8429,8 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8429
8429
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8430
8430
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8431
8431
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8432
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8433
8432
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8433
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8434
8434
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8435
8435
  type: z.ZodEnum<{
8436
8436
  commit: "commit";
@@ -8542,8 +8542,8 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
8542
8542
  hash: z.ZodString;
8543
8543
  }, z.core.$strip>>>;
8544
8544
  datasetId: z.ZodString;
8545
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
8546
8545
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8546
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
8547
8547
  }, z.core.$strip>;
8548
8548
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
8549
8549
  createdAt: z.ZodOptional<z.ZodString>;
@@ -8566,8 +8566,8 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8566
8566
  hash: string;
8567
8567
  }>>>>;
8568
8568
  datasetId: z.ZodString;
8569
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
8569
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8571
8571
  }, z.core.$strip>;
8572
8572
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8573
8573
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8590,8 +8590,8 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8590
8590
  hash: string;
8591
8591
  }>>>>>>;
8592
8592
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8593
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
8593
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8595
8595
  }, z.core.$strip>;
8596
8596
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8597
8597
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -9282,28 +9282,28 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
9282
9282
  in: {};
9283
9283
  }>;
9284
9284
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9285
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9286
9285
  id: z.ZodString;
9287
9286
  createdAt: z.ZodString;
9288
9287
  updatedAt: z.ZodString;
9289
- conversationId: z.ZodString;
9288
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9290
9289
  evaluatorId: z.ZodString;
9290
+ conversationId: z.ZodString;
9291
9291
  evaluationRunId: z.ZodNullable<z.ZodString>;
9292
9292
  }, z.core.$strip>;
9293
9293
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9294
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9295
9294
  createdAt: z.ZodOptional<z.ZodString>;
9296
9295
  updatedAt: z.ZodOptional<z.ZodString>;
9297
- conversationId: z.ZodString;
9296
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9298
9297
  evaluatorId: z.ZodString;
9298
+ conversationId: z.ZodString;
9299
9299
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9300
9300
  }, z.core.$strip>;
9301
9301
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9302
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9303
9302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9304
9303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9305
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9304
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9306
9305
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9306
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9307
9307
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9308
9308
  }, z.core.$strip>;
9309
9309
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -9398,8 +9398,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
9398
9398
  name: z.ZodString;
9399
9399
  hash: z.ZodString;
9400
9400
  }, z.core.$strip>>>;
9401
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9402
9401
  evaluationRunConfigId: z.ZodNullable<z.ZodString>;
9402
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9403
9403
  }, z.core.$strip>;
9404
9404
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9405
9405
  createdAt: z.ZodOptional<z.ZodString>;
@@ -9421,8 +9421,8 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9421
9421
  name: string;
9422
9422
  hash: string;
9423
9423
  }>>>>;
9424
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9425
9424
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9425
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9426
9426
  }, z.core.$strip>;
9427
9427
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9428
9428
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9444,8 +9444,8 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9444
9444
  name: string;
9445
9445
  hash: string;
9446
9446
  }>>>>>>;
9447
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9448
9447
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9448
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9449
9449
  }, z.core.$strip>;
9450
9450
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9451
9451
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -9766,34 +9766,34 @@ declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{
9766
9766
  }>;
9767
9767
  declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{
9768
9768
  id: z.ZodString;
9769
- createdAt: z.ZodString;
9770
9769
  name: z.ZodString;
9771
- updatedAt: z.ZodString;
9772
9770
  description: z.ZodNullable<z.ZodString>;
9771
+ createdAt: z.ZodString;
9772
+ updatedAt: z.ZodString;
9773
9773
  isActive: z.ZodBoolean;
9774
9774
  }, z.core.$strip>;
9775
9775
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
9776
- createdAt: z.ZodOptional<z.ZodString>;
9777
9776
  name: z.ZodString;
9778
- updatedAt: z.ZodOptional<z.ZodString>;
9779
9777
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9778
+ createdAt: z.ZodOptional<z.ZodString>;
9779
+ updatedAt: z.ZodOptional<z.ZodString>;
9780
9780
  isActive: z.ZodOptional<z.ZodBoolean>;
9781
9781
  suiteConfigIds: z.ZodArray<z.ZodString>;
9782
9782
  }, z.core.$strip>;
9783
9783
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
9784
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9785
9784
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9786
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
9785
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9786
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9788
9788
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
9789
9789
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
9790
9790
  }, z.core.$strip>;
9791
9791
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
9792
9792
  id: z.ZodString;
9793
- createdAt: z.ZodString;
9794
9793
  name: z.ZodString;
9795
- updatedAt: z.ZodString;
9796
9794
  description: z.ZodNullable<z.ZodString>;
9795
+ createdAt: z.ZodString;
9796
+ updatedAt: z.ZodString;
9797
9797
  isActive: z.ZodBoolean;
9798
9798
  suiteConfigIds: z.ZodArray<z.ZodString>;
9799
9799
  }, z.core.$strip>;
@@ -10818,20 +10818,20 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
10818
10818
  id: z.ZodString;
10819
10819
  createdAt: z.ZodString;
10820
10820
  updatedAt: z.ZodString;
10821
- evaluationRunConfigId: z.ZodString;
10822
10821
  evaluationSuiteConfigId: z.ZodString;
10822
+ evaluationRunConfigId: z.ZodString;
10823
10823
  }, z.core.$strip>;
10824
10824
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
10825
10825
  createdAt: z.ZodOptional<z.ZodString>;
10826
10826
  updatedAt: z.ZodOptional<z.ZodString>;
10827
- evaluationRunConfigId: z.ZodString;
10828
10827
  evaluationSuiteConfigId: z.ZodString;
10828
+ evaluationRunConfigId: z.ZodString;
10829
10829
  }, z.core.$strip>;
10830
10830
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
10831
10831
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10832
10832
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10833
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10834
10833
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10834
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10835
10835
  }, z.core.$strip>;
10836
10836
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10837
10837
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -11122,20 +11122,20 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{
11122
11122
  id: z.ZodString;
11123
11123
  createdAt: z.ZodString;
11124
11124
  updatedAt: z.ZodString;
11125
- evaluationJobConfigId: z.ZodString;
11126
11125
  evaluatorId: z.ZodString;
11126
+ evaluationJobConfigId: z.ZodString;
11127
11127
  }, z.core.$strip>;
11128
11128
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11129
11129
  createdAt: z.ZodOptional<z.ZodString>;
11130
11130
  updatedAt: z.ZodOptional<z.ZodString>;
11131
- evaluationJobConfigId: z.ZodString;
11132
11131
  evaluatorId: z.ZodString;
11132
+ evaluationJobConfigId: z.ZodString;
11133
11133
  }, z.core.$strip>;
11134
11134
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11135
11135
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11136
11136
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11137
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11138
11137
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11138
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11139
11139
  }, z.core.$strip>;
11140
11140
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11141
11141
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -11426,20 +11426,20 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11426
11426
  id: z.ZodString;
11427
11427
  createdAt: z.ZodString;
11428
11428
  updatedAt: z.ZodString;
11429
- evaluatorId: z.ZodString;
11430
11429
  evaluationSuiteConfigId: z.ZodString;
11430
+ evaluatorId: z.ZodString;
11431
11431
  }, z.core.$strip>;
11432
11432
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11433
11433
  createdAt: z.ZodOptional<z.ZodString>;
11434
11434
  updatedAt: z.ZodOptional<z.ZodString>;
11435
- evaluatorId: z.ZodString;
11436
11435
  evaluationSuiteConfigId: z.ZodString;
11436
+ evaluatorId: z.ZodString;
11437
11437
  }, z.core.$strip>;
11438
11438
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11439
11439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
11440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
11441
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11443
11443
  }, z.core.$strip>;
11444
11444
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
11445
11445
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -11940,10 +11940,10 @@ declare const EvaluatorUpdateSchema: z.ZodObject<{
11940
11940
  }>;
11941
11941
  declare const EvaluatorApiSelectSchema: z.ZodObject<{
11942
11942
  id: z.ZodString;
11943
- createdAt: z.ZodString;
11944
11943
  name: z.ZodString;
11945
- updatedAt: z.ZodString;
11946
11944
  description: z.ZodNullable<z.ZodString>;
11945
+ createdAt: z.ZodString;
11946
+ updatedAt: z.ZodString;
11947
11947
  model: z.ZodType<{
11948
11948
  model?: string | undefined;
11949
11949
  providerOptions?: Record<string, unknown> | undefined;
@@ -11965,15 +11965,15 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
11965
11965
  fallbackModels?: string[] | undefined;
11966
11966
  allowedProviders?: string[] | undefined;
11967
11967
  }>>;
11968
- prompt: z.ZodString;
11969
11968
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
11969
+ prompt: z.ZodString;
11970
11970
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
11971
11971
  }, z.core.$strip>;
11972
11972
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
11973
- createdAt: z.ZodOptional<z.ZodString>;
11974
11973
  name: z.ZodString;
11975
- updatedAt: z.ZodOptional<z.ZodString>;
11976
11974
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11975
+ createdAt: z.ZodOptional<z.ZodString>;
11976
+ updatedAt: z.ZodOptional<z.ZodString>;
11977
11977
  model: z.ZodType<{
11978
11978
  model?: string | undefined;
11979
11979
  providerOptions?: Record<string, unknown> | undefined;
@@ -11995,15 +11995,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
11995
11995
  fallbackModels?: string[] | undefined;
11996
11996
  allowedProviders?: string[] | undefined;
11997
11997
  }>>;
11998
- prompt: z.ZodString;
11999
11998
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
11999
+ prompt: z.ZodString;
12000
12000
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12001
12001
  }, z.core.$strip>;
12002
12002
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12003
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12004
12003
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12005
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12006
12004
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12005
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12006
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12007
12007
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12008
12008
  model?: string | undefined;
12009
12009
  providerOptions?: Record<string, unknown> | undefined;
@@ -12025,8 +12025,8 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12025
12025
  fallbackModels?: string[] | undefined;
12026
12026
  allowedProviders?: string[] | undefined;
12027
12027
  }>>>>;
12028
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12029
12028
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12029
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12030
12030
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12031
12031
  }, z.core.$strip>;
12032
12032
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -12276,18 +12276,18 @@ declare const DatasetUpdateSchema: z.ZodObject<{
12276
12276
  }>;
12277
12277
  declare const DatasetApiSelectSchema: z.ZodObject<{
12278
12278
  id: z.ZodString;
12279
- createdAt: z.ZodString;
12280
12279
  name: z.ZodString;
12280
+ createdAt: z.ZodString;
12281
12281
  updatedAt: z.ZodString;
12282
12282
  }, z.core.$strip>;
12283
12283
  declare const DatasetApiInsertSchema: z.ZodObject<{
12284
- createdAt: z.ZodOptional<z.ZodString>;
12285
12284
  name: z.ZodString;
12285
+ createdAt: z.ZodOptional<z.ZodString>;
12286
12286
  updatedAt: z.ZodOptional<z.ZodString>;
12287
12287
  }, z.core.$strip>;
12288
12288
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12289
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12290
12289
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12290
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12291
12291
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12292
12292
  }, z.core.$strip>;
12293
12293
  declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -12616,28 +12616,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
12616
12616
  in: {};
12617
12617
  }>;
12618
12618
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
12619
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12620
12619
  id: z.ZodString;
12621
12620
  createdAt: z.ZodString;
12622
12621
  updatedAt: z.ZodString;
12622
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12623
12623
  datasetId: z.ZodString;
12624
12624
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
12627
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12628
12627
  createdAt: z.ZodOptional<z.ZodString>;
12629
12628
  updatedAt: z.ZodOptional<z.ZodString>;
12629
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12630
12630
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12631
12631
  }, z.core.$strip>;
12632
12632
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
12633
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12634
12633
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
12634
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12636
12636
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
12637
12637
  }, z.core.$strip>;
12638
12638
  declare const DatasetRunItemSchema: z.ZodObject<{
12639
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12640
12639
  id: z.ZodOptional<z.ZodString>;
12640
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12641
12641
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12642
12642
  agentId: z.ZodString;
12643
12643
  }, z.core.$strip>;
@@ -12994,24 +12994,24 @@ declare const DatasetRunConfigUpdateSchema: z.ZodObject<{
12994
12994
  }>;
12995
12995
  declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{
12996
12996
  id: z.ZodString;
12997
- createdAt: z.ZodString;
12998
12997
  name: z.ZodString;
12999
- updatedAt: z.ZodString;
13000
12998
  description: z.ZodNullable<z.ZodString>;
12999
+ createdAt: z.ZodString;
13000
+ updatedAt: z.ZodString;
13001
13001
  datasetId: z.ZodString;
13002
13002
  }, z.core.$strip>;
13003
13003
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13004
- createdAt: z.ZodOptional<z.ZodString>;
13005
13004
  name: z.ZodString;
13006
- updatedAt: z.ZodOptional<z.ZodString>;
13007
13005
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13006
+ createdAt: z.ZodOptional<z.ZodString>;
13007
+ updatedAt: z.ZodOptional<z.ZodString>;
13008
13008
  datasetId: z.ZodString;
13009
13009
  }, z.core.$strip>;
13010
13010
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13011
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13012
13011
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13013
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13014
13012
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13013
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13014
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13015
13015
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13016
13016
  }, z.core.$strip>;
13017
13017
  declare const AgentDatasetRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14269,11 +14269,11 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14269
14269
  }>;
14270
14270
  }, undefined>, undefined>;
14271
14271
  declare const DataComponentInsertSchema: z.ZodObject<{
14272
- tenantId: z.ZodString;
14273
14272
  id: z.ZodString;
14274
14273
  name: z.ZodString;
14275
- projectId: z.ZodString;
14276
14274
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14275
+ projectId: z.ZodString;
14276
+ tenantId: z.ZodString;
14277
14277
  props: z.ZodType<{
14278
14278
  [x: string]: unknown;
14279
14279
  type: "object";
@@ -14321,11 +14321,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14321
14321
  in: {};
14322
14322
  }>;
14323
14323
  declare const DataComponentUpdateSchema: z.ZodObject<{
14324
- tenantId: z.ZodOptional<z.ZodString>;
14325
14324
  id: z.ZodOptional<z.ZodString>;
14326
14325
  name: z.ZodOptional<z.ZodString>;
14327
- projectId: z.ZodOptional<z.ZodString>;
14328
14326
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14327
+ projectId: z.ZodOptional<z.ZodString>;
14328
+ tenantId: z.ZodOptional<z.ZodString>;
14329
14329
  props: z.ZodOptional<z.ZodType<{
14330
14330
  [x: string]: unknown;
14331
14331
  type: "object";
@@ -14374,10 +14374,10 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
14374
14374
  }>;
14375
14375
  declare const DataComponentApiSelectSchema: z.ZodObject<{
14376
14376
  id: z.ZodString;
14377
- createdAt: z.ZodString;
14378
14377
  name: z.ZodString;
14379
- updatedAt: z.ZodString;
14380
14378
  description: z.ZodNullable<z.ZodString>;
14379
+ createdAt: z.ZodString;
14380
+ updatedAt: z.ZodString;
14381
14381
  props: z.ZodType<{
14382
14382
  [x: string]: unknown;
14383
14383
  type: "object";
@@ -15000,7 +15000,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15000
15000
  }, {}, {
15001
15001
  length: 256;
15002
15002
  }>;
15003
- }, "tenantId" | "id" | "createdAt" | "agentId" | "projectId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15003
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15004
15004
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15005
15005
  dataComponentId: z.ZodOptional<z.ZodString>;
15006
15006
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15516,10 +15516,10 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
15516
15516
  }>;
15517
15517
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
15518
15518
  id: z.ZodString;
15519
- createdAt: z.ZodString;
15520
15519
  name: z.ZodString;
15521
- updatedAt: z.ZodString;
15522
15520
  description: z.ZodNullable<z.ZodString>;
15521
+ createdAt: z.ZodString;
15522
+ updatedAt: z.ZodString;
15523
15523
  props: z.ZodNullable<z.ZodType<{
15524
15524
  [x: string]: unknown;
15525
15525
  type: "object";
@@ -15593,10 +15593,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15593
15593
  }>;
15594
15594
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15595
15595
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15596
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15597
15596
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15598
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15599
15597
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15598
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15599
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15600
15600
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15601
15601
  [x: string]: unknown;
15602
15602
  type: "object";
@@ -15964,24 +15964,24 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
15964
15964
  in: {};
15965
15965
  }>;
15966
15966
  declare const ExternalAgentInsertSchema: z.ZodObject<{
15967
- tenantId: z.ZodString;
15968
15967
  id: z.ZodString;
15969
15968
  name: z.ZodString;
15970
- projectId: z.ZodString;
15971
15969
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15972
15970
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15971
+ projectId: z.ZodString;
15972
+ tenantId: z.ZodString;
15973
15973
  baseUrl: z.ZodURL;
15974
15974
  }, {
15975
15975
  out: {};
15976
15976
  in: {};
15977
15977
  }>;
15978
15978
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
15979
- tenantId: z.ZodOptional<z.ZodString>;
15980
15979
  id: z.ZodOptional<z.ZodString>;
15981
15980
  name: z.ZodOptional<z.ZodString>;
15982
- projectId: z.ZodOptional<z.ZodString>;
15983
15981
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15984
15982
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15983
+ projectId: z.ZodOptional<z.ZodString>;
15984
+ tenantId: z.ZodOptional<z.ZodString>;
15985
15985
  baseUrl: z.ZodOptional<z.ZodURL>;
15986
15986
  }, {
15987
15987
  out: {};
@@ -15989,11 +15989,11 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
15989
15989
  }>;
15990
15990
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
15991
15991
  id: z.ZodString;
15992
- createdAt: z.ZodString;
15993
15992
  name: z.ZodString;
15994
- updatedAt: z.ZodString;
15995
15993
  description: z.ZodNullable<z.ZodString>;
15996
15994
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15995
+ createdAt: z.ZodString;
15996
+ updatedAt: z.ZodString;
15997
15997
  baseUrl: z.ZodString;
15998
15998
  }, z.core.$strip>;
15999
15999
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
@@ -16012,10 +16012,10 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16012
16012
  }, z.core.$strip>;
16013
16013
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16014
16014
  id: z.ZodString;
16015
- createdAt: z.ZodString;
16016
16015
  name: z.ZodString;
16017
- updatedAt: z.ZodString;
16018
16016
  description: z.ZodNullable<z.ZodString>;
16017
+ createdAt: z.ZodString;
16018
+ updatedAt: z.ZodString;
16019
16019
  models: z.ZodNullable<z.ZodType<{
16020
16020
  base?: {
16021
16021
  model?: string | undefined;
@@ -16093,7 +16093,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16093
16093
  allowedProviders?: string[] | undefined;
16094
16094
  } | undefined;
16095
16095
  }>>>;
16096
- prompt: z.ZodNullable<z.ZodString>;
16097
16096
  stopWhen: z.ZodNullable<z.ZodType<{
16098
16097
  stepCountIs?: number | undefined;
16099
16098
  }, {
@@ -16103,15 +16102,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16103
16102
  }, {
16104
16103
  stepCountIs?: number | undefined;
16105
16104
  }>>>;
16105
+ prompt: z.ZodNullable<z.ZodString>;
16106
16106
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16107
16107
  type: z.ZodLiteral<"internal">;
16108
16108
  }, z.core.$strip>, z.ZodObject<{
16109
16109
  id: z.ZodString;
16110
- createdAt: z.ZodString;
16111
16110
  name: z.ZodString;
16112
- updatedAt: z.ZodString;
16113
16111
  description: z.ZodNullable<z.ZodString>;
16114
16112
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16113
+ createdAt: z.ZodString;
16114
+ updatedAt: z.ZodString;
16115
16115
  baseUrl: z.ZodString;
16116
16116
  type: z.ZodLiteral<"external">;
16117
16117
  }, z.core.$strip>], "type">;
@@ -16586,8 +16586,8 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16586
16586
  }>;
16587
16587
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16588
16588
  id: z.ZodString;
16589
- createdAt: z.ZodString;
16590
16589
  name: z.ZodNullable<z.ZodString>;
16590
+ createdAt: z.ZodString;
16591
16591
  updatedAt: z.ZodString;
16592
16592
  agentId: z.ZodString;
16593
16593
  expiresAt: z.ZodNullable<z.ZodString>;
@@ -16602,8 +16602,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16602
16602
  data: z.ZodObject<{
16603
16603
  apiKey: z.ZodObject<{
16604
16604
  id: z.ZodString;
16605
- createdAt: z.ZodString;
16606
16605
  name: z.ZodNullable<z.ZodString>;
16606
+ createdAt: z.ZodString;
16607
16607
  updatedAt: z.ZodString;
16608
16608
  agentId: z.ZodString;
16609
16609
  expiresAt: z.ZodNullable<z.ZodString>;
@@ -16618,8 +16618,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16618
16618
  }, z.core.$strip>;
16619
16619
  }, z.core.$strip>;
16620
16620
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16621
- createdAt: z.ZodOptional<z.ZodString>;
16622
16621
  name: z.ZodString;
16622
+ createdAt: z.ZodOptional<z.ZodString>;
16623
16623
  updatedAt: z.ZodOptional<z.ZodString>;
16624
16624
  agentId: z.ZodString;
16625
16625
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17427,13 +17427,8 @@ declare const AppInsertSchema: z.ZodObject<{
17427
17427
  in: {};
17428
17428
  }>;
17429
17429
  declare const AppUpdateSchema: z.ZodObject<{
17430
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17431
17430
  name: z.ZodOptional<z.ZodString>;
17432
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17433
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17434
17431
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17435
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17436
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17437
17432
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17438
17433
  type: z.ZodLiteral<"web_client">;
17439
17434
  webClient: z.ZodObject<{
@@ -17459,6 +17454,11 @@ declare const AppUpdateSchema: z.ZodObject<{
17459
17454
  type: z.ZodLiteral<"api">;
17460
17455
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17461
17456
  }, z.core.$strip>], "type">>;
17457
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17458
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17459
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17460
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17461
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17462
17462
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17463
17463
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17464
17464
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -18044,14 +18044,14 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18044
18044
  }, {}, {}>;
18045
18045
  }, undefined>, undefined>;
18046
18046
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18047
- type: z.ZodString;
18048
- tenantId: z.ZodNullable<z.ZodString>;
18049
18047
  id: z.ZodString;
18050
- createdAt: z.ZodString;
18051
18048
  name: z.ZodString;
18049
+ description: z.ZodNullable<z.ZodString>;
18050
+ createdAt: z.ZodString;
18052
18051
  updatedAt: z.ZodString;
18053
18052
  projectId: z.ZodNullable<z.ZodString>;
18054
- description: z.ZodNullable<z.ZodString>;
18053
+ tenantId: z.ZodNullable<z.ZodString>;
18054
+ type: z.ZodString;
18055
18055
  enabled: z.ZodBoolean;
18056
18056
  prompt: z.ZodNullable<z.ZodString>;
18057
18057
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18087,18 +18087,8 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18087
18087
  in: {};
18088
18088
  }>;
18089
18089
  declare const AppApiInsertSchema: z.ZodObject<{
18090
- type: z.ZodEnum<{
18091
- web_client: "web_client";
18092
- api: "api";
18093
- }>;
18094
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18095
- createdAt: z.ZodOptional<z.ZodString>;
18096
18090
  name: z.ZodString;
18097
- updatedAt: z.ZodOptional<z.ZodString>;
18098
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18099
18091
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18100
- enabled: z.ZodOptional<z.ZodBoolean>;
18101
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18102
18092
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18103
18093
  type: z.ZodLiteral<"web_client">;
18104
18094
  webClient: z.ZodObject<{
@@ -18124,6 +18114,16 @@ declare const AppApiInsertSchema: z.ZodObject<{
18124
18114
  type: z.ZodLiteral<"api">;
18125
18115
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18126
18116
  }, z.core.$strip>], "type">;
18117
+ createdAt: z.ZodOptional<z.ZodString>;
18118
+ updatedAt: z.ZodOptional<z.ZodString>;
18119
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18120
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18121
+ type: z.ZodEnum<{
18122
+ web_client: "web_client";
18123
+ api: "api";
18124
+ }>;
18125
+ enabled: z.ZodOptional<z.ZodBoolean>;
18126
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18127
18127
  defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18128
18128
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18129
18129
  }, {
@@ -18131,13 +18131,8 @@ declare const AppApiInsertSchema: z.ZodObject<{
18131
18131
  in: {};
18132
18132
  }>;
18133
18133
  declare const AppApiUpdateSchema: z.ZodObject<{
18134
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18135
18134
  name: z.ZodOptional<z.ZodString>;
18136
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18137
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18138
18135
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18139
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18140
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18141
18136
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18142
18137
  type: z.ZodLiteral<"web_client">;
18143
18138
  webClient: z.ZodObject<{
@@ -18163,6 +18158,11 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18163
18158
  type: z.ZodLiteral<"api">;
18164
18159
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18165
18160
  }, z.core.$strip>], "type">>;
18161
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18162
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18163
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18164
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18165
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18166
18166
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18167
18167
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18168
18168
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -18173,14 +18173,14 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18173
18173
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18174
18174
  data: z.ZodObject<{
18175
18175
  app: z.ZodObject<{
18176
- type: z.ZodString;
18177
- tenantId: z.ZodNullable<z.ZodString>;
18178
18176
  id: z.ZodString;
18179
- createdAt: z.ZodString;
18180
18177
  name: z.ZodString;
18178
+ description: z.ZodNullable<z.ZodString>;
18179
+ createdAt: z.ZodString;
18181
18180
  updatedAt: z.ZodString;
18182
18181
  projectId: z.ZodNullable<z.ZodString>;
18183
- description: z.ZodNullable<z.ZodString>;
18182
+ tenantId: z.ZodNullable<z.ZodString>;
18183
+ type: z.ZodString;
18184
18184
  enabled: z.ZodBoolean;
18185
18185
  prompt: z.ZodNullable<z.ZodString>;
18186
18186
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18669,45 +18669,45 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
18669
18669
  }>;
18670
18670
  }, undefined>, undefined>;
18671
18671
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18672
- type: z.ZodString;
18673
- tenantId: z.ZodString;
18674
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18675
18672
  id: z.ZodString;
18676
18673
  name: z.ZodString;
18677
18674
  projectId: z.ZodString;
18678
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18679
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18675
+ tenantId: z.ZodString;
18676
+ type: z.ZodString;
18680
18677
  credentialStoreId: z.ZodString;
18681
18678
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18679
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18680
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18681
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
18685
18685
  }>;
18686
18686
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18687
- type: z.ZodOptional<z.ZodString>;
18688
- tenantId: z.ZodOptional<z.ZodString>;
18689
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18690
18687
  id: z.ZodOptional<z.ZodString>;
18691
18688
  name: z.ZodOptional<z.ZodString>;
18692
18689
  projectId: z.ZodOptional<z.ZodString>;
18693
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18694
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18690
+ tenantId: z.ZodOptional<z.ZodString>;
18691
+ type: z.ZodOptional<z.ZodString>;
18695
18692
  credentialStoreId: z.ZodOptional<z.ZodString>;
18696
18693
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18694
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18695
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18696
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18697
18697
  }, {
18698
18698
  out: {};
18699
18699
  in: {};
18700
18700
  }>;
18701
18701
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18702
- userId: z.ZodNullable<z.ZodString>;
18703
18702
  id: z.ZodString;
18704
- createdAt: z.ZodString;
18705
18703
  name: z.ZodString;
18704
+ createdAt: z.ZodString;
18706
18705
  updatedAt: z.ZodString;
18707
- toolId: z.ZodNullable<z.ZodString>;
18708
- createdBy: z.ZodNullable<z.ZodString>;
18709
18706
  credentialStoreId: z.ZodString;
18710
18707
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
18708
+ toolId: z.ZodNullable<z.ZodString>;
18709
+ userId: z.ZodNullable<z.ZodString>;
18710
+ createdBy: z.ZodNullable<z.ZodString>;
18711
18711
  type: z.ZodEnum<{
18712
18712
  readonly memory: "memory";
18713
18713
  readonly keychain: "keychain";
@@ -19291,13 +19291,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19291
19291
  }>>>;
19292
19292
  }, z.core.$strip>;
19293
19293
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19294
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19295
19294
  id: z.ZodString;
19296
19295
  name: z.ZodString;
19297
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19298
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19299
19296
  credentialStoreId: z.ZodString;
19300
19297
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19298
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19299
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19300
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19301
19301
  type: z.ZodEnum<{
19302
19302
  readonly memory: "memory";
19303
19303
  readonly keychain: "keychain";
@@ -19306,13 +19306,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19306
19306
  }>;
19307
19307
  }, z.core.$strip>;
19308
19308
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19309
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19310
19309
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19311
19310
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19312
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19313
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19314
19311
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19315
19312
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19313
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19314
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19315
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19316
19316
  type: z.ZodOptional<z.ZodEnum<{
19317
19317
  readonly memory: "memory";
19318
19318
  readonly keychain: "keychain";
@@ -19377,12 +19377,9 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
19377
19377
  error_description: z.ZodOptional<z.ZodString>;
19378
19378
  }, z.core.$strip>;
19379
19379
  declare const McpToolSchema: z.ZodObject<{
19380
- tenantId: z.ZodString;
19381
19380
  id: z.ZodString;
19382
19381
  name: z.ZodString;
19383
- projectId: z.ZodString;
19384
19382
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19385
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19386
19383
  config: z.ZodObject<{
19387
19384
  type: z.ZodLiteral<"mcp">;
19388
19385
  mcp: z.ZodObject<{
@@ -19411,9 +19408,12 @@ declare const McpToolSchema: z.ZodObject<{
19411
19408
  }, z.core.$strip>;
19412
19409
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19413
19410
  credentialScope: z.ZodOptional<z.ZodString>;
19411
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19414
19412
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19415
19413
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19416
19414
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19415
+ projectId: z.ZodString;
19416
+ tenantId: z.ZodString;
19417
19417
  imageUrl: z.ZodOptional<z.ZodString>;
19418
19418
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19419
19419
  name: z.ZodString;
@@ -19438,14 +19438,14 @@ declare const McpToolSchema: z.ZodObject<{
19438
19438
  declare const MCPToolConfigSchema: z.ZodObject<{
19439
19439
  id: z.ZodString;
19440
19440
  name: z.ZodString;
19441
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19442
- expiresAt: z.ZodOptional<z.ZodString>;
19443
- createdBy: z.ZodOptional<z.ZodString>;
19444
19441
  credentialScope: z.ZodOptional<z.ZodString>;
19442
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19445
19443
  imageUrl: z.ZodOptional<z.ZodString>;
19446
19444
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19447
19445
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19448
19446
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19447
+ createdBy: z.ZodOptional<z.ZodString>;
19448
+ expiresAt: z.ZodOptional<z.ZodString>;
19449
19449
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19450
19450
  name: z.ZodString;
19451
19451
  description: z.ZodOptional<z.ZodString>;
@@ -19472,13 +19472,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19472
19472
  sessionId: z.ZodOptional<z.ZodString>;
19473
19473
  }, z.core.$strip>>;
19474
19474
  credential: z.ZodOptional<z.ZodObject<{
19475
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19476
19475
  id: z.ZodString;
19477
19476
  name: z.ZodString;
19478
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19479
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19480
19477
  credentialStoreId: z.ZodString;
19481
19478
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19479
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19480
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19481
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19482
19482
  type: z.ZodEnum<{
19483
19483
  readonly memory: "memory";
19484
19484
  readonly keychain: "keychain";
@@ -19498,12 +19498,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19498
19498
  in: {};
19499
19499
  }>;
19500
19500
  declare const ToolUpdateSchema: z.ZodObject<{
19501
- tenantId: z.ZodOptional<z.ZodString>;
19502
19501
  id: z.ZodOptional<z.ZodString>;
19503
19502
  name: z.ZodOptional<z.ZodString>;
19504
- projectId: z.ZodOptional<z.ZodString>;
19505
19503
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19506
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19507
19504
  config: z.ZodOptional<z.ZodObject<{
19508
19505
  type: z.ZodLiteral<"mcp">;
19509
19506
  mcp: z.ZodObject<{
@@ -19532,21 +19529,21 @@ declare const ToolUpdateSchema: z.ZodObject<{
19532
19529
  }, z.core.$strip>>;
19533
19530
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19534
19531
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19532
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19535
19533
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19536
19534
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
19537
19535
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19538
19536
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19537
+ projectId: z.ZodOptional<z.ZodString>;
19538
+ tenantId: z.ZodOptional<z.ZodString>;
19539
19539
  }, {
19540
19540
  out: {};
19541
19541
  in: {};
19542
19542
  }>;
19543
19543
  declare const ToolApiSelectSchema: z.ZodObject<{
19544
19544
  id: z.ZodString;
19545
- createdAt: z.ZodString;
19546
19545
  name: z.ZodString;
19547
- updatedAt: z.ZodString;
19548
19546
  description: z.ZodNullable<z.ZodString>;
19549
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19550
19547
  config: z.ZodType<{
19551
19548
  type: "mcp";
19552
19549
  mcp: ToolMcpConfig;
@@ -19562,16 +19559,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19562
19559
  }>>;
19563
19560
  credentialReferenceId: z.ZodNullable<z.ZodString>;
19564
19561
  credentialScope: z.ZodString;
19562
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19565
19563
  imageUrl: z.ZodNullable<z.ZodString>;
19566
19564
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
19567
19565
  lastError: z.ZodNullable<z.ZodString>;
19568
19566
  isWorkApp: z.ZodBoolean;
19567
+ createdAt: z.ZodString;
19568
+ updatedAt: z.ZodString;
19569
19569
  }, z.core.$strip>;
19570
19570
  declare const ToolApiInsertSchema: z.ZodObject<{
19571
19571
  id: z.ZodString;
19572
19572
  name: z.ZodString;
19573
19573
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19574
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19575
19574
  config: z.ZodObject<{
19576
19575
  type: z.ZodLiteral<"mcp">;
19577
19576
  mcp: z.ZodObject<{
@@ -19600,6 +19599,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
19600
19599
  }, z.core.$strip>;
19601
19600
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19602
19601
  credentialScope: z.ZodOptional<z.ZodString>;
19602
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19603
19603
  imageUrl: z.ZodOptional<z.ZodString>;
19604
19604
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19605
19605
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19609,7 +19609,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19609
19609
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19610
19610
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19611
19611
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19612
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19613
19612
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
19614
19613
  type: z.ZodLiteral<"mcp">;
19615
19614
  mcp: z.ZodObject<{
@@ -19638,6 +19637,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19638
19637
  }, z.core.$strip>>>;
19639
19638
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19640
19639
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19640
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19641
19641
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19642
19642
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
19643
19643
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -19977,24 +19977,24 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
19977
19977
  }>;
19978
19978
  }, undefined>, undefined>;
19979
19979
  declare const FunctionToolInsertSchema: z.ZodObject<{
19980
- tenantId: z.ZodString;
19981
19980
  id: z.ZodString;
19982
19981
  name: z.ZodString;
19983
- agentId: z.ZodString;
19984
- projectId: z.ZodString;
19985
19982
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19983
+ projectId: z.ZodString;
19984
+ tenantId: z.ZodString;
19985
+ agentId: z.ZodString;
19986
19986
  functionId: z.ZodString;
19987
19987
  }, {
19988
19988
  out: {};
19989
19989
  in: {};
19990
19990
  }>;
19991
19991
  declare const FunctionToolUpdateSchema: z.ZodObject<{
19992
- tenantId: z.ZodOptional<z.ZodString>;
19993
19992
  id: z.ZodOptional<z.ZodString>;
19994
19993
  name: z.ZodOptional<z.ZodString>;
19995
- agentId: z.ZodOptional<z.ZodString>;
19996
- projectId: z.ZodOptional<z.ZodString>;
19997
19994
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19995
+ projectId: z.ZodOptional<z.ZodString>;
19996
+ tenantId: z.ZodOptional<z.ZodString>;
19997
+ agentId: z.ZodOptional<z.ZodString>;
19998
19998
  functionId: z.ZodOptional<z.ZodString>;
19999
19999
  }, {
20000
20000
  out: {};
@@ -20002,11 +20002,11 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
20002
20002
  }>;
20003
20003
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20004
20004
  id: z.ZodString;
20005
- createdAt: z.ZodString;
20006
20005
  name: z.ZodString;
20006
+ description: z.ZodNullable<z.ZodString>;
20007
+ createdAt: z.ZodString;
20007
20008
  updatedAt: z.ZodString;
20008
20009
  agentId: z.ZodString;
20009
- description: z.ZodNullable<z.ZodString>;
20010
20010
  functionId: z.ZodString;
20011
20011
  relationshipId: z.ZodOptional<z.ZodString>;
20012
20012
  }, z.core.$strip>;
@@ -20019,8 +20019,8 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<{
20019
20019
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20020
20020
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20021
20021
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20022
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20023
20022
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20023
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20024
20024
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20025
20025
  }, z.core.$strip>;
20026
20026
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -20387,13 +20387,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
20387
20387
  createdAt: z.ZodString;
20388
20388
  updatedAt: z.ZodString;
20389
20389
  subAgentId: z.ZodString;
20390
- functionToolId: z.ZodString;
20391
20390
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20391
+ functionToolId: z.ZodString;
20392
20392
  }, z.core.$strip>;
20393
20393
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20394
20394
  subAgentId: z.ZodString;
20395
- functionToolId: z.ZodString;
20396
20395
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20396
+ functionToolId: z.ZodString;
20397
20397
  }, {
20398
20398
  out: {};
20399
20399
  in: {};
@@ -20724,22 +20724,22 @@ declare const FunctionApiSelectSchema: z.ZodObject<{
20724
20724
  createdAt: z.ZodString;
20725
20725
  updatedAt: z.ZodString;
20726
20726
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20727
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20728
20727
  executeCode: z.ZodString;
20728
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20729
20729
  }, z.core.$strip>;
20730
20730
  declare const FunctionApiInsertSchema: z.ZodObject<{
20731
20731
  id: z.ZodString;
20732
20732
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20733
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20734
20733
  executeCode: z.ZodString;
20734
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20735
20735
  }, z.core.$strip>;
20736
20736
  declare const FunctionApiUpdateSchema: z.ZodObject<{
20737
20737
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20738
20738
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20739
20739
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20740
20740
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20741
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20742
20741
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20742
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20743
20743
  }, z.core.$strip>;
20744
20744
  declare const FetchConfigSchema: z.ZodObject<{
20745
20745
  url: z.ZodString;
@@ -20781,13 +20781,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
20781
20781
  responseSchema: z.ZodOptional<z.ZodAny>;
20782
20782
  defaultValue: z.ZodOptional<z.ZodAny>;
20783
20783
  credential: z.ZodOptional<z.ZodObject<{
20784
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20785
20784
  id: z.ZodString;
20786
20785
  name: z.ZodString;
20787
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20788
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20789
20786
  credentialStoreId: z.ZodString;
20790
20787
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20788
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20789
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20790
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20791
20791
  type: z.ZodEnum<{
20792
20792
  readonly memory: "memory";
20793
20793
  readonly keychain: "keychain";
@@ -20810,33 +20810,33 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
20810
20810
  in: {};
20811
20811
  }>;
20812
20812
  declare const ContextConfigInsertSchema: z.ZodObject<{
20813
- tenantId: z.ZodString;
20814
20813
  id: z.ZodOptional<z.ZodString>;
20814
+ projectId: z.ZodString;
20815
+ tenantId: z.ZodString;
20816
+ agentId: z.ZodString;
20815
20817
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20816
20818
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20817
- agentId: z.ZodString;
20818
- projectId: z.ZodString;
20819
20819
  }, {
20820
20820
  out: {};
20821
20821
  in: {};
20822
20822
  }>;
20823
20823
  declare const ContextConfigUpdateSchema: z.ZodObject<{
20824
- tenantId: z.ZodOptional<z.ZodString>;
20825
20824
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20825
+ projectId: z.ZodOptional<z.ZodString>;
20826
+ tenantId: z.ZodOptional<z.ZodString>;
20827
+ agentId: z.ZodOptional<z.ZodString>;
20826
20828
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20827
20829
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20828
- agentId: z.ZodOptional<z.ZodString>;
20829
- projectId: z.ZodOptional<z.ZodString>;
20830
20830
  }, {
20831
20831
  out: {};
20832
20832
  in: {};
20833
20833
  }>;
20834
20834
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
20835
20835
  id: z.ZodString;
20836
- headersSchema: z.ZodOptional<z.ZodAny>;
20837
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
20838
20836
  createdAt: z.ZodString;
20839
20837
  updatedAt: z.ZodString;
20838
+ headersSchema: z.ZodOptional<z.ZodAny>;
20839
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
20840
20840
  }, z.core.$strip>;
20841
20841
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
20842
20842
  id: z.ZodOptional<z.ZodString>;
@@ -21307,37 +21307,37 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
21307
21307
  }>;
21308
21308
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21309
21309
  id: z.ZodString;
21310
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21310
21311
  createdAt: z.ZodString;
21311
21312
  updatedAt: z.ZodString;
21312
- subAgentId: z.ZodString;
21313
21313
  toolId: z.ZodString;
21314
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21315
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21314
+ subAgentId: z.ZodString;
21316
21315
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21316
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21317
21317
  }, z.core.$strip>;
21318
21318
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21319
21319
  id: z.ZodString;
21320
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21320
21321
  createdAt: z.ZodOptional<z.ZodString>;
21321
21322
  updatedAt: z.ZodOptional<z.ZodString>;
21322
- subAgentId: z.ZodString;
21323
21323
  toolId: z.ZodString;
21324
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21324
+ subAgentId: z.ZodString;
21325
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21325
21326
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21326
21327
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21327
21328
  }, z.core.$strip>>>>;
21328
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21329
21329
  }, z.core.$strip>;
21330
21330
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21331
21331
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21332
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21332
21333
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21333
21334
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21334
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21335
21335
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21336
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21337
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21337
21338
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21338
21339
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21339
21340
  }, z.core.$strip>>>>>>;
21340
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21341
21341
  }, z.core.$strip>;
21342
21342
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21343
21343
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -21706,24 +21706,24 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
21706
21706
  }>;
21707
21707
  declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
21708
21708
  id: z.ZodString;
21709
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21709
21710
  createdAt: z.ZodString;
21710
21711
  updatedAt: z.ZodString;
21711
21712
  subAgentId: z.ZodString;
21712
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21713
21713
  externalAgentId: z.ZodString;
21714
21714
  }, z.core.$strip>;
21715
21715
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
21716
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21716
21717
  createdAt: z.ZodOptional<z.ZodString>;
21717
21718
  updatedAt: z.ZodOptional<z.ZodString>;
21718
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21719
21719
  externalAgentId: z.ZodString;
21720
21720
  }, z.core.$strip>;
21721
21721
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
21722
21722
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21723
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21723
21724
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21724
21725
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21725
21726
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21726
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21727
21727
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21728
21728
  }, z.core.$strip>;
21729
21729
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -22093,24 +22093,24 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
22093
22093
  }>;
22094
22094
  declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22095
22095
  id: z.ZodString;
22096
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22096
22097
  createdAt: z.ZodString;
22097
22098
  updatedAt: z.ZodString;
22098
22099
  subAgentId: z.ZodString;
22099
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22100
22100
  targetAgentId: z.ZodString;
22101
22101
  }, z.core.$strip>;
22102
22102
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
22103
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22103
22104
  createdAt: z.ZodOptional<z.ZodString>;
22104
22105
  updatedAt: z.ZodOptional<z.ZodString>;
22105
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22106
22106
  targetAgentId: z.ZodString;
22107
22107
  }, z.core.$strip>;
22108
22108
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22109
22109
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22110
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22110
22111
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22111
22112
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22112
22113
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22113
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22114
22114
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22115
22115
  }, z.core.$strip>;
22116
22116
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -23454,7 +23454,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23454
23454
  }, {}, {
23455
23455
  length: 256;
23456
23456
  }>;
23457
- }, "type" | "tenantId" | "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "description" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23457
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "type" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23458
23458
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23459
23459
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23460
23460
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23479,12 +23479,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23479
23479
  in: {};
23480
23480
  }>;
23481
23481
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23482
- type: z.ZodString;
23483
23482
  id: z.ZodString;
23484
- createdAt: z.ZodString;
23485
23483
  name: z.ZodNullable<z.ZodString>;
23486
- updatedAt: z.ZodString;
23487
23484
  description: z.ZodNullable<z.ZodString>;
23485
+ createdAt: z.ZodString;
23486
+ updatedAt: z.ZodString;
23487
+ type: z.ZodString;
23488
23488
  metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23489
23489
  taskId: z.ZodString;
23490
23490
  contextId: z.ZodString;
@@ -23497,12 +23497,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23497
23497
  derivedFrom: z.ZodNullable<z.ZodString>;
23498
23498
  }, z.core.$strip>;
23499
23499
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23500
- type: z.ZodOptional<z.ZodString>;
23501
23500
  id: z.ZodString;
23502
- createdAt: z.ZodOptional<z.ZodString>;
23503
23501
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23504
- updatedAt: z.ZodOptional<z.ZodString>;
23505
23502
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23503
+ createdAt: z.ZodOptional<z.ZodString>;
23504
+ updatedAt: z.ZodOptional<z.ZodString>;
23505
+ type: z.ZodOptional<z.ZodString>;
23506
23506
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23507
23507
  taskId: z.ZodString;
23508
23508
  contextId: z.ZodString;
@@ -23515,12 +23515,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23515
23515
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23516
23516
  }, z.core.$strip>;
23517
23517
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23518
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23519
23518
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23520
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23521
23519
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23522
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23523
23520
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23521
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23522
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23523
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23524
23524
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23525
23525
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23526
23526
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23596,10 +23596,10 @@ declare const TeamAgentSchema: z.ZodObject<{
23596
23596
  }, z.core.$strip>;
23597
23597
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
23598
23598
  id: z.ZodString;
23599
- createdAt: z.ZodOptional<z.ZodString>;
23600
23599
  name: z.ZodString;
23601
- updatedAt: z.ZodOptional<z.ZodString>;
23602
23600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23601
+ createdAt: z.ZodOptional<z.ZodString>;
23602
+ updatedAt: z.ZodOptional<z.ZodString>;
23603
23603
  models: z.ZodOptional<z.ZodObject<{
23604
23604
  base: z.ZodOptional<z.ZodObject<{
23605
23605
  model: z.ZodOptional<z.ZodString>;
@@ -23662,197 +23662,10 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23662
23662
  executionMode: z.ZodOptional<z.ZodString>;
23663
23663
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23664
23664
  id: z.ZodString;
23665
- createdAt: z.ZodOptional<z.ZodString>;
23666
23665
  name: z.ZodString;
23667
- updatedAt: z.ZodOptional<z.ZodString>;
23668
23666
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23669
- models: z.ZodOptional<z.ZodObject<{
23670
- base: z.ZodOptional<z.ZodObject<{
23671
- model: z.ZodOptional<z.ZodString>;
23672
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23673
- fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23674
- allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23675
- }, z.core.$strip>>;
23676
- structuredOutput: z.ZodOptional<z.ZodObject<{
23677
- model: z.ZodOptional<z.ZodString>;
23678
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23679
- fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23680
- allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23681
- }, z.core.$strip>>;
23682
- summarizer: z.ZodOptional<z.ZodObject<{
23683
- model: z.ZodOptional<z.ZodString>;
23684
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23685
- fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23686
- allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23687
- }, z.core.$strip>>;
23688
- }, z.core.$strip>>;
23689
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23690
- type: z.ZodLiteral<"internal">;
23691
- canUse: z.ZodArray<z.ZodObject<{
23692
- agentToolRelationId: z.ZodOptional<z.ZodString>;
23693
- toolId: z.ZodString;
23694
- toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23695
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23696
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23697
- needsApproval: z.ZodOptional<z.ZodBoolean>;
23698
- }, z.core.$strip>>>>;
23699
- }, z.core.$strip>>;
23700
- dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
23701
- artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
23702
- skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
23703
- id: z.ZodString;
23704
- index: z.ZodInt;
23705
- alwaysLoaded: z.ZodOptional<z.ZodBoolean>;
23706
- }, z.core.$strict>>>;
23707
- canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
23708
- prompt: z.ZodOptional<z.ZodString>;
23709
- canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
23710
- externalAgentId: z.ZodString;
23711
- subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
23712
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23713
- }, z.core.$strip>, z.ZodObject<{
23714
- agentId: z.ZodString;
23715
- subAgentTeamAgentRelationId: z.ZodOptional<z.ZodString>;
23716
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23717
- }, z.core.$strip>]>>>;
23718
- stopWhen: z.ZodOptional<z.ZodObject<{
23719
- stepCountIs: z.ZodOptional<z.ZodInt>;
23720
- }, z.core.$strip>>;
23721
- }, z.core.$strip>>;
23722
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23723
- id: z.ZodString;
23724
- name: z.ZodString;
23725
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23726
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23727
- config: z.ZodObject<{
23728
- type: z.ZodLiteral<"mcp">;
23729
- mcp: z.ZodObject<{
23730
- server: z.ZodObject<{
23731
- url: z.ZodURL;
23732
- }, z.core.$strip>;
23733
- transport: z.ZodOptional<z.ZodObject<{
23734
- type: z.ZodEnum<{
23735
- readonly streamableHttp: "streamable_http";
23736
- readonly sse: "sse";
23737
- }>;
23738
- requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23739
- eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23740
- reconnectionOptions: z.ZodOptional<z.ZodAny>;
23741
- sessionId: z.ZodOptional<z.ZodString>;
23742
- }, z.core.$strip>>;
23743
- activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
23744
- toolOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23745
- displayName: z.ZodOptional<z.ZodString>;
23746
- description: z.ZodOptional<z.ZodString>;
23747
- schema: z.ZodOptional<z.ZodAny>;
23748
- transformation: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
23749
- }, z.core.$strip>>>;
23750
- prompt: z.ZodOptional<z.ZodString>;
23751
- }, z.core.$strip>;
23752
- }, z.core.$strip>;
23753
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23754
- credentialScope: z.ZodOptional<z.ZodString>;
23755
- imageUrl: z.ZodOptional<z.ZodString>;
23756
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23757
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23758
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
23759
- }, z.core.$strip>>>;
23760
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23761
- id: z.ZodString;
23762
- name: z.ZodString;
23763
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23764
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23765
- baseUrl: z.ZodURL;
23766
- }, z.core.$strip>>>;
23767
- teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23768
- id: z.ZodString;
23769
- name: z.ZodString;
23770
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23771
- }, z.core.$strip>>>;
23772
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23773
- id: z.ZodString;
23774
- name: z.ZodString;
23775
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23776
- functionId: z.ZodString;
23777
- }, z.core.$strip>>>;
23778
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23779
- id: z.ZodString;
23780
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23781
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23782
- executeCode: z.ZodString;
23783
- }, z.core.$strip>>>;
23784
- triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23785
- id: z.ZodOptional<z.ZodString>;
23786
- name: z.ZodString;
23787
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23788
- enabled: z.ZodOptional<z.ZodBoolean>;
23789
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23790
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23791
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23792
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23793
- signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23794
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23795
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23796
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23797
- }, z.core.$strip>>>;
23798
- contextConfig: z.ZodOptional<z.ZodObject<{
23799
- id: z.ZodOptional<z.ZodString>;
23800
- headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23801
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23802
- }, z.core.$strip>>;
23803
- statusUpdates: z.ZodOptional<z.ZodObject<{
23804
- enabled: z.ZodOptional<z.ZodBoolean>;
23805
- numEvents: z.ZodOptional<z.ZodInt>;
23806
- timeInSeconds: z.ZodOptional<z.ZodInt>;
23807
- prompt: z.ZodOptional<z.ZodString>;
23808
- statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
23809
- type: z.ZodString;
23810
- description: z.ZodOptional<z.ZodString>;
23811
- detailsSchema: z.ZodOptional<z.ZodObject<{
23812
- type: z.ZodLiteral<"object">;
23813
- properties: z.ZodRecord<z.ZodString, z.ZodAny>;
23814
- required: z.ZodOptional<z.ZodArray<z.ZodString>>;
23815
- }, z.core.$strip>>;
23816
- }, z.core.$strip>>>;
23817
- }, z.core.$strict>>;
23818
- models: z.ZodOptional<z.ZodObject<{
23819
- base: z.ZodOptional<z.ZodObject<{
23820
- model: z.ZodOptional<z.ZodString>;
23821
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23822
- fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23823
- allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23824
- }, z.core.$strip>>;
23825
- structuredOutput: z.ZodOptional<z.ZodObject<{
23826
- model: z.ZodOptional<z.ZodString>;
23827
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23828
- fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23829
- allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23830
- }, z.core.$strip>>;
23831
- summarizer: z.ZodOptional<z.ZodObject<{
23832
- model: z.ZodOptional<z.ZodString>;
23833
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23834
- fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23835
- allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23836
- }, z.core.$strip>>;
23837
- }, z.core.$strip>>;
23838
- stopWhen: z.ZodOptional<z.ZodObject<{
23839
- transferCountIs: z.ZodOptional<z.ZodInt>;
23840
- }, z.core.$strip>>;
23841
- prompt: z.ZodOptional<z.ZodString>;
23842
- }, z.core.$strip>;
23843
- declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23844
- id: z.ZodString;
23845
- name: z.ZodString;
23846
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23847
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23848
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23849
- executionMode: z.ZodOptional<z.ZodString>;
23850
- subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23851
- id: z.ZodString;
23852
23667
  createdAt: z.ZodOptional<z.ZodString>;
23853
- name: z.ZodString;
23854
23668
  updatedAt: z.ZodOptional<z.ZodString>;
23855
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23856
23669
  models: z.ZodOptional<z.ZodObject<{
23857
23670
  base: z.ZodOptional<z.ZodObject<{
23858
23671
  model: z.ZodOptional<z.ZodString>;
@@ -23910,7 +23723,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23910
23723
  id: z.ZodString;
23911
23724
  name: z.ZodString;
23912
23725
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23914
23726
  config: z.ZodObject<{
23915
23727
  type: z.ZodLiteral<"mcp">;
23916
23728
  mcp: z.ZodObject<{
@@ -23939,6 +23751,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23939
23751
  }, z.core.$strip>;
23940
23752
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23941
23753
  credentialScope: z.ZodOptional<z.ZodString>;
23754
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23942
23755
  imageUrl: z.ZodOptional<z.ZodString>;
23943
23756
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23944
23757
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23965,13 +23778,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23965
23778
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23966
23779
  id: z.ZodString;
23967
23780
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23968
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23969
23781
  executeCode: z.ZodString;
23782
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23970
23783
  }, z.core.$strip>>>;
23971
23784
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23972
23785
  id: z.ZodOptional<z.ZodString>;
23973
23786
  name: z.ZodString;
23974
23787
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23788
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23975
23789
  enabled: z.ZodOptional<z.ZodBoolean>;
23976
23790
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23977
23791
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -23980,7 +23794,193 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23980
23794
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23981
23795
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23982
23796
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23797
+ }, z.core.$strip>>>;
23798
+ contextConfig: z.ZodOptional<z.ZodObject<{
23799
+ id: z.ZodOptional<z.ZodString>;
23800
+ headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23801
+ contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23802
+ }, z.core.$strip>>;
23803
+ statusUpdates: z.ZodOptional<z.ZodObject<{
23804
+ enabled: z.ZodOptional<z.ZodBoolean>;
23805
+ numEvents: z.ZodOptional<z.ZodInt>;
23806
+ timeInSeconds: z.ZodOptional<z.ZodInt>;
23807
+ prompt: z.ZodOptional<z.ZodString>;
23808
+ statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
23809
+ type: z.ZodString;
23810
+ description: z.ZodOptional<z.ZodString>;
23811
+ detailsSchema: z.ZodOptional<z.ZodObject<{
23812
+ type: z.ZodLiteral<"object">;
23813
+ properties: z.ZodRecord<z.ZodString, z.ZodAny>;
23814
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
23815
+ }, z.core.$strip>>;
23816
+ }, z.core.$strip>>>;
23817
+ }, z.core.$strict>>;
23818
+ models: z.ZodOptional<z.ZodObject<{
23819
+ base: z.ZodOptional<z.ZodObject<{
23820
+ model: z.ZodOptional<z.ZodString>;
23821
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23822
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23823
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23824
+ }, z.core.$strip>>;
23825
+ structuredOutput: z.ZodOptional<z.ZodObject<{
23826
+ model: z.ZodOptional<z.ZodString>;
23827
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23828
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23829
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23830
+ }, z.core.$strip>>;
23831
+ summarizer: z.ZodOptional<z.ZodObject<{
23832
+ model: z.ZodOptional<z.ZodString>;
23833
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23834
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23835
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23836
+ }, z.core.$strip>>;
23837
+ }, z.core.$strip>>;
23838
+ stopWhen: z.ZodOptional<z.ZodObject<{
23839
+ transferCountIs: z.ZodOptional<z.ZodInt>;
23840
+ }, z.core.$strip>>;
23841
+ prompt: z.ZodOptional<z.ZodString>;
23842
+ }, z.core.$strip>;
23843
+ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23844
+ id: z.ZodString;
23845
+ name: z.ZodString;
23846
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23847
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23848
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23849
+ executionMode: z.ZodOptional<z.ZodString>;
23850
+ subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23851
+ id: z.ZodString;
23852
+ name: z.ZodString;
23853
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23854
+ createdAt: z.ZodOptional<z.ZodString>;
23855
+ updatedAt: z.ZodOptional<z.ZodString>;
23856
+ models: z.ZodOptional<z.ZodObject<{
23857
+ base: z.ZodOptional<z.ZodObject<{
23858
+ model: z.ZodOptional<z.ZodString>;
23859
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23860
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23861
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23862
+ }, z.core.$strip>>;
23863
+ structuredOutput: z.ZodOptional<z.ZodObject<{
23864
+ model: z.ZodOptional<z.ZodString>;
23865
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23866
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23867
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23868
+ }, z.core.$strip>>;
23869
+ summarizer: z.ZodOptional<z.ZodObject<{
23870
+ model: z.ZodOptional<z.ZodString>;
23871
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23872
+ fallbackModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
23873
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23874
+ }, z.core.$strip>>;
23875
+ }, z.core.$strip>>;
23876
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23877
+ type: z.ZodLiteral<"internal">;
23878
+ canUse: z.ZodArray<z.ZodObject<{
23879
+ agentToolRelationId: z.ZodOptional<z.ZodString>;
23880
+ toolId: z.ZodString;
23881
+ toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23882
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23883
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23884
+ needsApproval: z.ZodOptional<z.ZodBoolean>;
23885
+ }, z.core.$strip>>>>;
23886
+ }, z.core.$strip>>;
23887
+ dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
23888
+ artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
23889
+ skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
23890
+ id: z.ZodString;
23891
+ index: z.ZodInt;
23892
+ alwaysLoaded: z.ZodOptional<z.ZodBoolean>;
23893
+ }, z.core.$strict>>>;
23894
+ canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
23895
+ prompt: z.ZodOptional<z.ZodString>;
23896
+ canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
23897
+ externalAgentId: z.ZodString;
23898
+ subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
23899
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23900
+ }, z.core.$strip>, z.ZodObject<{
23901
+ agentId: z.ZodString;
23902
+ subAgentTeamAgentRelationId: z.ZodOptional<z.ZodString>;
23903
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23904
+ }, z.core.$strip>]>>>;
23905
+ stopWhen: z.ZodOptional<z.ZodObject<{
23906
+ stepCountIs: z.ZodOptional<z.ZodInt>;
23907
+ }, z.core.$strip>>;
23908
+ }, z.core.$strip>>;
23909
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23910
+ id: z.ZodString;
23911
+ name: z.ZodString;
23912
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
+ config: z.ZodObject<{
23914
+ type: z.ZodLiteral<"mcp">;
23915
+ mcp: z.ZodObject<{
23916
+ server: z.ZodObject<{
23917
+ url: z.ZodURL;
23918
+ }, z.core.$strip>;
23919
+ transport: z.ZodOptional<z.ZodObject<{
23920
+ type: z.ZodEnum<{
23921
+ readonly streamableHttp: "streamable_http";
23922
+ readonly sse: "sse";
23923
+ }>;
23924
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23925
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23926
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
23927
+ sessionId: z.ZodOptional<z.ZodString>;
23928
+ }, z.core.$strip>>;
23929
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
23930
+ toolOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23931
+ displayName: z.ZodOptional<z.ZodString>;
23932
+ description: z.ZodOptional<z.ZodString>;
23933
+ schema: z.ZodOptional<z.ZodAny>;
23934
+ transformation: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
23935
+ }, z.core.$strip>>>;
23936
+ prompt: z.ZodOptional<z.ZodString>;
23937
+ }, z.core.$strip>;
23938
+ }, z.core.$strip>;
23939
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23940
+ credentialScope: z.ZodOptional<z.ZodString>;
23941
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23942
+ imageUrl: z.ZodOptional<z.ZodString>;
23943
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23944
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23945
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
23946
+ }, z.core.$strip>>>;
23947
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23948
+ id: z.ZodString;
23949
+ name: z.ZodString;
23950
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23951
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23952
+ baseUrl: z.ZodURL;
23953
+ }, z.core.$strip>>>;
23954
+ teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23955
+ id: z.ZodString;
23956
+ name: z.ZodString;
23957
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23958
+ }, z.core.$strip>>>;
23959
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23960
+ id: z.ZodString;
23961
+ name: z.ZodString;
23962
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23963
+ functionId: z.ZodString;
23964
+ }, z.core.$strip>>>;
23965
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23966
+ id: z.ZodString;
23967
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23968
+ executeCode: z.ZodString;
23969
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23970
+ }, z.core.$strip>>>;
23971
+ triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23972
+ id: z.ZodOptional<z.ZodString>;
23973
+ name: z.ZodString;
23974
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23983
23975
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23976
+ enabled: z.ZodOptional<z.ZodBoolean>;
23977
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23978
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23979
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23980
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23981
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23982
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23983
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23984
23984
  }, z.core.$strip>>>;
23985
23985
  contextConfig: z.ZodOptional<z.ZodObject<{
23986
23986
  id: z.ZodOptional<z.ZodString>;
@@ -24087,10 +24087,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
24087
24087
  in: {};
24088
24088
  }>;
24089
24089
  declare const ProjectInsertSchema: z.ZodObject<{
24090
- tenantId: z.ZodString;
24091
24090
  id: z.ZodString;
24092
24091
  name: z.ZodString;
24093
24092
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24093
+ tenantId: z.ZodString;
24094
24094
  models: z.ZodObject<{
24095
24095
  base: z.ZodObject<{
24096
24096
  model: z.ZodOptional<z.ZodString>;
@@ -24152,10 +24152,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
24152
24152
  }>;
24153
24153
  declare const ProjectApiSelectSchema: z.ZodObject<{
24154
24154
  id: z.ZodString;
24155
- createdAt: z.ZodString;
24156
24155
  name: z.ZodString;
24157
- updatedAt: z.ZodString;
24158
24156
  description: z.ZodNullable<z.ZodString>;
24157
+ createdAt: z.ZodString;
24158
+ updatedAt: z.ZodString;
24159
24159
  models: z.ZodNullable<z.ZodObject<{
24160
24160
  base: z.ZodObject<{
24161
24161
  model: z.ZodOptional<z.ZodString>;
@@ -24284,10 +24284,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24284
24284
  executionMode: z.ZodOptional<z.ZodString>;
24285
24285
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24286
24286
  id: z.ZodString;
24287
- createdAt: z.ZodOptional<z.ZodString>;
24288
24287
  name: z.ZodString;
24289
- updatedAt: z.ZodOptional<z.ZodString>;
24290
24288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24289
+ createdAt: z.ZodOptional<z.ZodString>;
24290
+ updatedAt: z.ZodOptional<z.ZodString>;
24291
24291
  models: z.ZodOptional<z.ZodObject<{
24292
24292
  base: z.ZodOptional<z.ZodObject<{
24293
24293
  model: z.ZodOptional<z.ZodString>;
@@ -24345,7 +24345,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24345
24345
  id: z.ZodString;
24346
24346
  name: z.ZodString;
24347
24347
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24348
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24349
24348
  config: z.ZodObject<{
24350
24349
  type: z.ZodLiteral<"mcp">;
24351
24350
  mcp: z.ZodObject<{
@@ -24374,6 +24373,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24374
24373
  }, z.core.$strip>;
24375
24374
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24376
24375
  credentialScope: z.ZodOptional<z.ZodString>;
24376
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24377
24377
  imageUrl: z.ZodOptional<z.ZodString>;
24378
24378
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24379
24379
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24400,13 +24400,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24400
24400
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24401
24401
  id: z.ZodString;
24402
24402
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24403
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24404
24403
  executeCode: z.ZodString;
24404
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24405
24405
  }, z.core.$strip>>>;
24406
24406
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24407
24407
  id: z.ZodOptional<z.ZodString>;
24408
24408
  name: z.ZodString;
24409
24409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24410
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24410
24411
  enabled: z.ZodOptional<z.ZodBoolean>;
24411
24412
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24412
24413
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -24415,7 +24416,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24415
24416
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24416
24417
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24417
24418
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24418
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24419
24419
  }, z.core.$strip>>>;
24420
24420
  contextConfig: z.ZodOptional<z.ZodObject<{
24421
24421
  id: z.ZodOptional<z.ZodString>;
@@ -24466,7 +24466,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24466
24466
  id: z.ZodString;
24467
24467
  name: z.ZodString;
24468
24468
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24469
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24470
24469
  config: z.ZodObject<{
24471
24470
  type: z.ZodLiteral<"mcp">;
24472
24471
  mcp: z.ZodObject<{
@@ -24495,6 +24494,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24495
24494
  }, z.core.$strip>;
24496
24495
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24497
24496
  credentialScope: z.ZodOptional<z.ZodString>;
24497
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24498
24498
  imageUrl: z.ZodOptional<z.ZodString>;
24499
24499
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24500
24500
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24509,8 +24509,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24509
24509
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24510
24510
  id: z.ZodString;
24511
24511
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24512
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24513
24512
  executeCode: z.ZodString;
24513
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24514
24514
  }, z.core.$strip>>>;
24515
24515
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
24516
24516
  files: z.ZodArray<z.ZodObject<{
@@ -24617,13 +24617,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24617
24617
  }, z.core.$strip>>>;
24618
24618
  }, z.core.$strict>>;
24619
24619
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24620
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24621
24620
  id: z.ZodString;
24622
24621
  name: z.ZodString;
24623
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24624
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24625
24622
  credentialStoreId: z.ZodString;
24626
24623
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24624
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24625
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24626
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24627
24627
  type: z.ZodEnum<{
24628
24628
  readonly memory: "memory";
24629
24629
  readonly keychain: "keychain";
@@ -24639,10 +24639,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24639
24639
  }>;
24640
24640
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24641
24641
  id: z.ZodString;
24642
- createdAt: z.ZodString;
24643
24642
  name: z.ZodString;
24644
- updatedAt: z.ZodString;
24645
24643
  description: z.ZodNullable<z.ZodString>;
24644
+ createdAt: z.ZodString;
24645
+ updatedAt: z.ZodString;
24646
24646
  models: z.ZodNullable<z.ZodType<{
24647
24647
  base?: {
24648
24648
  model?: string | undefined;
@@ -24756,10 +24756,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24756
24756
  }, z.core.$strip>;
24757
24757
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24758
24758
  id: z.ZodString;
24759
- createdAt: z.ZodString;
24760
24759
  name: z.ZodString;
24761
- updatedAt: z.ZodString;
24762
24760
  description: z.ZodNullable<z.ZodString>;
24761
+ createdAt: z.ZodString;
24762
+ updatedAt: z.ZodString;
24763
24763
  models: z.ZodNullable<z.ZodType<{
24764
24764
  base?: {
24765
24765
  model?: string | undefined;
@@ -24879,19 +24879,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24879
24879
  }, z.core.$strip>;
24880
24880
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24881
24881
  id: z.ZodString;
24882
- createdAt: z.ZodString;
24883
24882
  name: z.ZodString;
24884
- updatedAt: z.ZodString;
24885
24883
  description: z.ZodNullable<z.ZodString>;
24884
+ createdAt: z.ZodString;
24885
+ updatedAt: z.ZodString;
24886
24886
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
24887
24887
  contextConfigId: z.ZodNullable<z.ZodString>;
24888
24888
  executionMode: z.ZodString;
24889
24889
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24890
24890
  id: z.ZodString;
24891
- createdAt: z.ZodString;
24892
24891
  name: z.ZodString;
24893
- updatedAt: z.ZodString;
24894
24892
  description: z.ZodNullable<z.ZodString>;
24893
+ createdAt: z.ZodString;
24894
+ updatedAt: z.ZodString;
24895
24895
  models: z.ZodNullable<z.ZodType<{
24896
24896
  base?: {
24897
24897
  model?: string | undefined;
@@ -25005,11 +25005,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25005
25005
  }, z.core.$strip>>;
25006
25006
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25007
25007
  id: z.ZodString;
25008
- createdAt: z.ZodString;
25009
25008
  name: z.ZodString;
25010
- updatedAt: z.ZodString;
25011
25009
  description: z.ZodNullable<z.ZodString>;
25012
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25013
25010
  config: z.ZodType<{
25014
25011
  type: "mcp";
25015
25012
  mcp: ToolMcpConfig;
@@ -25025,18 +25022,21 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25025
25022
  }>>;
25026
25023
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25027
25024
  credentialScope: z.ZodString;
25025
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25028
25026
  imageUrl: z.ZodNullable<z.ZodString>;
25029
25027
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25030
25028
  lastError: z.ZodNullable<z.ZodString>;
25031
25029
  isWorkApp: z.ZodBoolean;
25030
+ createdAt: z.ZodString;
25031
+ updatedAt: z.ZodString;
25032
25032
  }, z.core.$strip>>>;
25033
25033
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25034
25034
  id: z.ZodString;
25035
- createdAt: z.ZodString;
25036
25035
  name: z.ZodString;
25037
- updatedAt: z.ZodString;
25038
25036
  description: z.ZodNullable<z.ZodString>;
25039
25037
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25038
+ createdAt: z.ZodString;
25039
+ updatedAt: z.ZodString;
25040
25040
  baseUrl: z.ZodString;
25041
25041
  }, z.core.$strip>>>;
25042
25042
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25046,11 +25046,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25046
25046
  }, z.core.$strip>>>;
25047
25047
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25048
25048
  id: z.ZodString;
25049
- createdAt: z.ZodString;
25050
25049
  name: z.ZodString;
25050
+ description: z.ZodNullable<z.ZodString>;
25051
+ createdAt: z.ZodString;
25051
25052
  updatedAt: z.ZodString;
25052
25053
  agentId: z.ZodString;
25053
- description: z.ZodNullable<z.ZodString>;
25054
25054
  functionId: z.ZodString;
25055
25055
  relationshipId: z.ZodOptional<z.ZodString>;
25056
25056
  }, z.core.$strip>>>;
@@ -25059,15 +25059,15 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25059
25059
  createdAt: z.ZodString;
25060
25060
  updatedAt: z.ZodString;
25061
25061
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25062
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25063
25062
  executeCode: z.ZodString;
25063
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25064
25064
  }, z.core.$strip>>>;
25065
25065
  contextConfig: z.ZodNullable<z.ZodObject<{
25066
25066
  id: z.ZodString;
25067
- headersSchema: z.ZodOptional<z.ZodAny>;
25068
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25069
25067
  createdAt: z.ZodString;
25070
25068
  updatedAt: z.ZodString;
25069
+ headersSchema: z.ZodOptional<z.ZodAny>;
25070
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25071
25071
  }, z.core.$strip>>;
25072
25072
  statusUpdates: z.ZodNullable<z.ZodObject<{
25073
25073
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25111,20 +25111,17 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25111
25111
  }, z.core.$strip>;
25112
25112
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
25113
25113
  id: z.ZodString;
25114
- createdAt: z.ZodString;
25115
25114
  name: z.ZodString;
25116
- updatedAt: z.ZodString;
25117
25115
  description: z.ZodNullable<z.ZodString>;
25116
+ createdAt: z.ZodString;
25117
+ updatedAt: z.ZodString;
25118
25118
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25119
25119
  contextConfigId: z.ZodNullable<z.ZodString>;
25120
25120
  executionMode: z.ZodString;
25121
25121
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25122
25122
  id: z.ZodString;
25123
- createdAt: z.ZodString;
25124
25123
  name: z.ZodString;
25125
- updatedAt: z.ZodString;
25126
25124
  description: z.ZodNullable<z.ZodString>;
25127
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25128
25125
  config: z.ZodType<{
25129
25126
  type: "mcp";
25130
25127
  mcp: ToolMcpConfig;
@@ -25140,18 +25137,21 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25140
25137
  }>>;
25141
25138
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25142
25139
  credentialScope: z.ZodString;
25140
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25143
25141
  imageUrl: z.ZodNullable<z.ZodString>;
25144
25142
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25145
25143
  lastError: z.ZodNullable<z.ZodString>;
25146
25144
  isWorkApp: z.ZodBoolean;
25145
+ createdAt: z.ZodString;
25146
+ updatedAt: z.ZodString;
25147
25147
  }, z.core.$strip>>>;
25148
25148
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25149
25149
  id: z.ZodString;
25150
- createdAt: z.ZodString;
25151
25150
  name: z.ZodString;
25152
- updatedAt: z.ZodString;
25153
25151
  description: z.ZodNullable<z.ZodString>;
25154
25152
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25153
+ createdAt: z.ZodString;
25154
+ updatedAt: z.ZodString;
25155
25155
  baseUrl: z.ZodString;
25156
25156
  }, z.core.$strip>>>;
25157
25157
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25161,11 +25161,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25161
25161
  }, z.core.$strip>>>;
25162
25162
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25163
25163
  id: z.ZodString;
25164
- createdAt: z.ZodString;
25165
25164
  name: z.ZodString;
25165
+ description: z.ZodNullable<z.ZodString>;
25166
+ createdAt: z.ZodString;
25166
25167
  updatedAt: z.ZodString;
25167
25168
  agentId: z.ZodString;
25168
- description: z.ZodNullable<z.ZodString>;
25169
25169
  functionId: z.ZodString;
25170
25170
  relationshipId: z.ZodOptional<z.ZodString>;
25171
25171
  }, z.core.$strip>>>;
@@ -25174,15 +25174,15 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25174
25174
  createdAt: z.ZodString;
25175
25175
  updatedAt: z.ZodString;
25176
25176
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25177
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25178
25177
  executeCode: z.ZodString;
25178
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25179
25179
  }, z.core.$strip>>>;
25180
25180
  contextConfig: z.ZodNullable<z.ZodObject<{
25181
25181
  id: z.ZodString;
25182
- headersSchema: z.ZodOptional<z.ZodAny>;
25183
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25184
25182
  createdAt: z.ZodString;
25185
25183
  updatedAt: z.ZodString;
25184
+ headersSchema: z.ZodOptional<z.ZodAny>;
25185
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25186
25186
  }, z.core.$strip>>;
25187
25187
  statusUpdates: z.ZodNullable<z.ZodObject<{
25188
25188
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25225,10 +25225,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25225
25225
  prompt: z.ZodNullable<z.ZodString>;
25226
25226
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25227
25227
  id: z.ZodString;
25228
- createdAt: z.ZodString;
25229
25228
  name: z.ZodString;
25230
- updatedAt: z.ZodString;
25231
25229
  description: z.ZodNullable<z.ZodString>;
25230
+ createdAt: z.ZodString;
25231
+ updatedAt: z.ZodString;
25232
25232
  models: z.ZodNullable<z.ZodType<{
25233
25233
  base?: {
25234
25234
  model?: string | undefined;
@@ -25349,10 +25349,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25349
25349
  }, z.core.$strip>;
25350
25350
  declare const FullProjectSelectSchema: z.ZodObject<{
25351
25351
  id: z.ZodString;
25352
- createdAt: z.ZodString;
25353
25352
  name: z.ZodString;
25354
- updatedAt: z.ZodString;
25355
25353
  description: z.ZodNullable<z.ZodString>;
25354
+ createdAt: z.ZodString;
25355
+ updatedAt: z.ZodString;
25356
25356
  models: z.ZodNullable<z.ZodObject<{
25357
25357
  base: z.ZodObject<{
25358
25358
  model: z.ZodOptional<z.ZodString>;
@@ -25379,19 +25379,19 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25379
25379
  }, z.core.$strip>>;
25380
25380
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25381
25381
  id: z.ZodString;
25382
- createdAt: z.ZodString;
25383
25382
  name: z.ZodString;
25384
- updatedAt: z.ZodString;
25385
25383
  description: z.ZodNullable<z.ZodString>;
25384
+ createdAt: z.ZodString;
25385
+ updatedAt: z.ZodString;
25386
25386
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25387
25387
  contextConfigId: z.ZodNullable<z.ZodString>;
25388
25388
  executionMode: z.ZodString;
25389
25389
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25390
25390
  id: z.ZodString;
25391
- createdAt: z.ZodString;
25392
25391
  name: z.ZodString;
25393
- updatedAt: z.ZodString;
25394
25392
  description: z.ZodNullable<z.ZodString>;
25393
+ createdAt: z.ZodString;
25394
+ updatedAt: z.ZodString;
25395
25395
  models: z.ZodNullable<z.ZodType<{
25396
25396
  base?: {
25397
25397
  model?: string | undefined;
@@ -25505,11 +25505,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25505
25505
  }, z.core.$strip>>;
25506
25506
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25507
25507
  id: z.ZodString;
25508
- createdAt: z.ZodString;
25509
25508
  name: z.ZodString;
25510
- updatedAt: z.ZodString;
25511
25509
  description: z.ZodNullable<z.ZodString>;
25512
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25513
25510
  config: z.ZodType<{
25514
25511
  type: "mcp";
25515
25512
  mcp: ToolMcpConfig;
@@ -25525,18 +25522,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25525
25522
  }>>;
25526
25523
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25527
25524
  credentialScope: z.ZodString;
25525
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25528
25526
  imageUrl: z.ZodNullable<z.ZodString>;
25529
25527
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25530
25528
  lastError: z.ZodNullable<z.ZodString>;
25531
25529
  isWorkApp: z.ZodBoolean;
25530
+ createdAt: z.ZodString;
25531
+ updatedAt: z.ZodString;
25532
25532
  }, z.core.$strip>>>;
25533
25533
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25534
25534
  id: z.ZodString;
25535
- createdAt: z.ZodString;
25536
25535
  name: z.ZodString;
25537
- updatedAt: z.ZodString;
25538
25536
  description: z.ZodNullable<z.ZodString>;
25539
25537
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25538
+ createdAt: z.ZodString;
25539
+ updatedAt: z.ZodString;
25540
25540
  baseUrl: z.ZodString;
25541
25541
  }, z.core.$strip>>>;
25542
25542
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25546,11 +25546,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25546
25546
  }, z.core.$strip>>>;
25547
25547
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25548
25548
  id: z.ZodString;
25549
- createdAt: z.ZodString;
25550
25549
  name: z.ZodString;
25550
+ description: z.ZodNullable<z.ZodString>;
25551
+ createdAt: z.ZodString;
25551
25552
  updatedAt: z.ZodString;
25552
25553
  agentId: z.ZodString;
25553
- description: z.ZodNullable<z.ZodString>;
25554
25554
  functionId: z.ZodString;
25555
25555
  relationshipId: z.ZodOptional<z.ZodString>;
25556
25556
  }, z.core.$strip>>>;
@@ -25559,15 +25559,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25559
25559
  createdAt: z.ZodString;
25560
25560
  updatedAt: z.ZodString;
25561
25561
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25562
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25563
25562
  executeCode: z.ZodString;
25563
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25564
25564
  }, z.core.$strip>>>;
25565
25565
  contextConfig: z.ZodNullable<z.ZodObject<{
25566
25566
  id: z.ZodString;
25567
- headersSchema: z.ZodOptional<z.ZodAny>;
25568
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25569
25567
  createdAt: z.ZodString;
25570
25568
  updatedAt: z.ZodString;
25569
+ headersSchema: z.ZodOptional<z.ZodAny>;
25570
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
25571
25571
  }, z.core.$strip>>;
25572
25572
  statusUpdates: z.ZodNullable<z.ZodObject<{
25573
25573
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25611,11 +25611,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25611
25611
  }, z.core.$strip>>;
25612
25612
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
25613
25613
  id: z.ZodString;
25614
- createdAt: z.ZodString;
25615
25614
  name: z.ZodString;
25616
- updatedAt: z.ZodString;
25617
25615
  description: z.ZodNullable<z.ZodString>;
25618
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25619
25616
  config: z.ZodType<{
25620
25617
  type: "mcp";
25621
25618
  mcp: ToolMcpConfig;
@@ -25631,18 +25628,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25631
25628
  }>>;
25632
25629
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25633
25630
  credentialScope: z.ZodString;
25631
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25634
25632
  imageUrl: z.ZodNullable<z.ZodString>;
25635
25633
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25636
25634
  lastError: z.ZodNullable<z.ZodString>;
25637
25635
  isWorkApp: z.ZodBoolean;
25636
+ createdAt: z.ZodString;
25637
+ updatedAt: z.ZodString;
25638
25638
  }, z.core.$strip>>;
25639
25639
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25640
25640
  id: z.ZodString;
25641
- createdAt: z.ZodString;
25642
25641
  name: z.ZodString;
25642
+ description: z.ZodNullable<z.ZodString>;
25643
+ createdAt: z.ZodString;
25643
25644
  updatedAt: z.ZodString;
25644
25645
  agentId: z.ZodString;
25645
- description: z.ZodNullable<z.ZodString>;
25646
25646
  functionId: z.ZodString;
25647
25647
  relationshipId: z.ZodOptional<z.ZodString>;
25648
25648
  }, z.core.$strip>>>;
@@ -25651,15 +25651,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25651
25651
  createdAt: z.ZodString;
25652
25652
  updatedAt: z.ZodString;
25653
25653
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25654
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25655
25654
  executeCode: z.ZodString;
25655
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25656
25656
  }, z.core.$strip>>>;
25657
25657
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25658
25658
  id: z.ZodString;
25659
- createdAt: z.ZodString;
25660
25659
  name: z.ZodString;
25661
- updatedAt: z.ZodString;
25662
25660
  description: z.ZodNullable<z.ZodString>;
25661
+ createdAt: z.ZodString;
25662
+ updatedAt: z.ZodString;
25663
25663
  props: z.ZodType<{
25664
25664
  [x: string]: unknown;
25665
25665
  type: "object";
@@ -25705,10 +25705,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25705
25705
  }, z.core.$strip>>>;
25706
25706
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25707
25707
  id: z.ZodString;
25708
- createdAt: z.ZodString;
25709
25708
  name: z.ZodString;
25710
- updatedAt: z.ZodString;
25711
25709
  description: z.ZodNullable<z.ZodString>;
25710
+ createdAt: z.ZodString;
25711
+ updatedAt: z.ZodString;
25712
25712
  props: z.ZodNullable<z.ZodType<{
25713
25713
  [x: string]: unknown;
25714
25714
  type: "object";
@@ -25754,11 +25754,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25754
25754
  }, z.core.$strip>>>;
25755
25755
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25756
25756
  id: z.ZodString;
25757
- createdAt: z.ZodString;
25758
25757
  name: z.ZodString;
25759
- updatedAt: z.ZodString;
25760
25758
  description: z.ZodNullable<z.ZodString>;
25761
25759
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25760
+ createdAt: z.ZodString;
25761
+ updatedAt: z.ZodString;
25762
25762
  baseUrl: z.ZodString;
25763
25763
  }, z.core.$strip>>>;
25764
25764
  statusUpdates: z.ZodNullable<z.ZodObject<{
@@ -25777,15 +25777,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25777
25777
  }, z.core.$strip>>>;
25778
25778
  }, z.core.$strict>>;
25779
25779
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25780
- userId: z.ZodNullable<z.ZodString>;
25781
25780
  id: z.ZodString;
25782
- createdAt: z.ZodString;
25783
25781
  name: z.ZodString;
25782
+ createdAt: z.ZodString;
25784
25783
  updatedAt: z.ZodString;
25785
- toolId: z.ZodNullable<z.ZodString>;
25786
- createdBy: z.ZodNullable<z.ZodString>;
25787
25784
  credentialStoreId: z.ZodString;
25788
25785
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25786
+ toolId: z.ZodNullable<z.ZodString>;
25787
+ userId: z.ZodNullable<z.ZodString>;
25788
+ createdBy: z.ZodNullable<z.ZodString>;
25789
25789
  type: z.ZodEnum<{
25790
25790
  readonly memory: "memory";
25791
25791
  readonly keychain: "keychain";
@@ -26374,10 +26374,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26374
26374
  }>;
26375
26375
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26376
26376
  id: z.ZodString;
26377
- createdAt: z.ZodString;
26378
26377
  name: z.ZodString;
26379
- updatedAt: z.ZodString;
26380
26378
  description: z.ZodNullable<z.ZodString>;
26379
+ createdAt: z.ZodString;
26380
+ updatedAt: z.ZodString;
26381
26381
  models: z.ZodNullable<z.ZodObject<{
26382
26382
  base: z.ZodObject<{
26383
26383
  model: z.ZodOptional<z.ZodString>;
@@ -26404,11 +26404,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26404
26404
  }, z.core.$strip>>;
26405
26405
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26406
26406
  id: z.ZodString;
26407
- createdAt: z.ZodString;
26408
26407
  name: z.ZodString;
26409
- updatedAt: z.ZodString;
26410
26408
  description: z.ZodNullable<z.ZodString>;
26411
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26412
26409
  config: z.ZodType<{
26413
26410
  type: "mcp";
26414
26411
  mcp: ToolMcpConfig;
@@ -26424,18 +26421,21 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26424
26421
  }>>;
26425
26422
  credentialReferenceId: z.ZodNullable<z.ZodString>;
26426
26423
  credentialScope: z.ZodString;
26424
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26427
26425
  imageUrl: z.ZodNullable<z.ZodString>;
26428
26426
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26429
26427
  lastError: z.ZodNullable<z.ZodString>;
26430
26428
  isWorkApp: z.ZodBoolean;
26429
+ createdAt: z.ZodString;
26430
+ updatedAt: z.ZodString;
26431
26431
  }, z.core.$strip>>;
26432
26432
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26433
26433
  id: z.ZodString;
26434
- createdAt: z.ZodString;
26435
26434
  name: z.ZodString;
26435
+ description: z.ZodNullable<z.ZodString>;
26436
+ createdAt: z.ZodString;
26436
26437
  updatedAt: z.ZodString;
26437
26438
  agentId: z.ZodString;
26438
- description: z.ZodNullable<z.ZodString>;
26439
26439
  functionId: z.ZodString;
26440
26440
  relationshipId: z.ZodOptional<z.ZodString>;
26441
26441
  }, z.core.$strip>>>;
@@ -26444,15 +26444,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26444
26444
  createdAt: z.ZodString;
26445
26445
  updatedAt: z.ZodString;
26446
26446
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26447
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26448
26447
  executeCode: z.ZodString;
26448
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26449
26449
  }, z.core.$strip>>>;
26450
26450
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26451
26451
  id: z.ZodString;
26452
- createdAt: z.ZodString;
26453
26452
  name: z.ZodString;
26454
- updatedAt: z.ZodString;
26455
26453
  description: z.ZodNullable<z.ZodString>;
26454
+ createdAt: z.ZodString;
26455
+ updatedAt: z.ZodString;
26456
26456
  props: z.ZodType<{
26457
26457
  [x: string]: unknown;
26458
26458
  type: "object";
@@ -26498,10 +26498,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26498
26498
  }, z.core.$strip>>>;
26499
26499
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26500
26500
  id: z.ZodString;
26501
- createdAt: z.ZodString;
26502
26501
  name: z.ZodString;
26503
- updatedAt: z.ZodString;
26504
26502
  description: z.ZodNullable<z.ZodString>;
26503
+ createdAt: z.ZodString;
26504
+ updatedAt: z.ZodString;
26505
26505
  props: z.ZodNullable<z.ZodType<{
26506
26506
  [x: string]: unknown;
26507
26507
  type: "object";
@@ -26547,11 +26547,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26547
26547
  }, z.core.$strip>>>;
26548
26548
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26549
26549
  id: z.ZodString;
26550
- createdAt: z.ZodString;
26551
26550
  name: z.ZodString;
26552
- updatedAt: z.ZodString;
26553
26551
  description: z.ZodNullable<z.ZodString>;
26554
26552
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26553
+ createdAt: z.ZodString;
26554
+ updatedAt: z.ZodString;
26555
26555
  baseUrl: z.ZodString;
26556
26556
  }, z.core.$strip>>>;
26557
26557
  statusUpdates: z.ZodNullable<z.ZodObject<{
@@ -26570,15 +26570,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26570
26570
  }, z.core.$strip>>>;
26571
26571
  }, z.core.$strict>>;
26572
26572
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26573
- userId: z.ZodNullable<z.ZodString>;
26574
26573
  id: z.ZodString;
26575
- createdAt: z.ZodString;
26576
26574
  name: z.ZodString;
26575
+ createdAt: z.ZodString;
26577
26576
  updatedAt: z.ZodString;
26578
- toolId: z.ZodNullable<z.ZodString>;
26579
- createdBy: z.ZodNullable<z.ZodString>;
26580
26577
  credentialStoreId: z.ZodString;
26581
26578
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26579
+ toolId: z.ZodNullable<z.ZodString>;
26580
+ userId: z.ZodNullable<z.ZodString>;
26581
+ createdBy: z.ZodNullable<z.ZodString>;
26582
26582
  type: z.ZodEnum<{
26583
26583
  readonly memory: "memory";
26584
26584
  readonly keychain: "keychain";
@@ -27163,20 +27163,17 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27163
27163
  }, z.core.$strip>>>;
27164
27164
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27165
27165
  id: z.ZodString;
27166
- createdAt: z.ZodString;
27167
27166
  name: z.ZodString;
27168
- updatedAt: z.ZodString;
27169
27167
  description: z.ZodNullable<z.ZodString>;
27168
+ createdAt: z.ZodString;
27169
+ updatedAt: z.ZodString;
27170
27170
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27171
27171
  contextConfigId: z.ZodNullable<z.ZodString>;
27172
27172
  executionMode: z.ZodString;
27173
27173
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27174
27174
  id: z.ZodString;
27175
- createdAt: z.ZodString;
27176
27175
  name: z.ZodString;
27177
- updatedAt: z.ZodString;
27178
27176
  description: z.ZodNullable<z.ZodString>;
27179
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27180
27177
  config: z.ZodType<{
27181
27178
  type: "mcp";
27182
27179
  mcp: ToolMcpConfig;
@@ -27192,18 +27189,21 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27192
27189
  }>>;
27193
27190
  credentialReferenceId: z.ZodNullable<z.ZodString>;
27194
27191
  credentialScope: z.ZodString;
27192
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27195
27193
  imageUrl: z.ZodNullable<z.ZodString>;
27196
27194
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
27197
27195
  lastError: z.ZodNullable<z.ZodString>;
27198
27196
  isWorkApp: z.ZodBoolean;
27197
+ createdAt: z.ZodString;
27198
+ updatedAt: z.ZodString;
27199
27199
  }, z.core.$strip>>>;
27200
27200
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27201
27201
  id: z.ZodString;
27202
- createdAt: z.ZodString;
27203
27202
  name: z.ZodString;
27204
- updatedAt: z.ZodString;
27205
27203
  description: z.ZodNullable<z.ZodString>;
27206
27204
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27205
+ createdAt: z.ZodString;
27206
+ updatedAt: z.ZodString;
27207
27207
  baseUrl: z.ZodString;
27208
27208
  }, z.core.$strip>>>;
27209
27209
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -27213,11 +27213,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27213
27213
  }, z.core.$strip>>>;
27214
27214
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27215
27215
  id: z.ZodString;
27216
- createdAt: z.ZodString;
27217
27216
  name: z.ZodString;
27217
+ description: z.ZodNullable<z.ZodString>;
27218
+ createdAt: z.ZodString;
27218
27219
  updatedAt: z.ZodString;
27219
27220
  agentId: z.ZodString;
27220
- description: z.ZodNullable<z.ZodString>;
27221
27221
  functionId: z.ZodString;
27222
27222
  relationshipId: z.ZodOptional<z.ZodString>;
27223
27223
  }, z.core.$strip>>>;
@@ -27226,15 +27226,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27226
27226
  createdAt: z.ZodString;
27227
27227
  updatedAt: z.ZodString;
27228
27228
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27229
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27230
27229
  executeCode: z.ZodString;
27230
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27231
27231
  }, z.core.$strip>>>;
27232
27232
  contextConfig: z.ZodNullable<z.ZodObject<{
27233
27233
  id: z.ZodString;
27234
- headersSchema: z.ZodOptional<z.ZodAny>;
27235
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27236
27234
  createdAt: z.ZodString;
27237
27235
  updatedAt: z.ZodString;
27236
+ headersSchema: z.ZodOptional<z.ZodAny>;
27237
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27238
27238
  }, z.core.$strip>>;
27239
27239
  statusUpdates: z.ZodNullable<z.ZodObject<{
27240
27240
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27277,10 +27277,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27277
27277
  prompt: z.ZodNullable<z.ZodString>;
27278
27278
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27279
27279
  id: z.ZodString;
27280
- createdAt: z.ZodString;
27281
27280
  name: z.ZodString;
27282
- updatedAt: z.ZodString;
27283
27281
  description: z.ZodNullable<z.ZodString>;
27282
+ createdAt: z.ZodString;
27283
+ updatedAt: z.ZodString;
27284
27284
  models: z.ZodNullable<z.ZodType<{
27285
27285
  base?: {
27286
27286
  model?: string | undefined;
@@ -27406,10 +27406,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27406
27406
  declare const ProjectResponse: z.ZodObject<{
27407
27407
  data: z.ZodObject<{
27408
27408
  id: z.ZodString;
27409
- createdAt: z.ZodString;
27410
27409
  name: z.ZodString;
27411
- updatedAt: z.ZodString;
27412
27410
  description: z.ZodNullable<z.ZodString>;
27411
+ createdAt: z.ZodString;
27412
+ updatedAt: z.ZodString;
27413
27413
  models: z.ZodNullable<z.ZodObject<{
27414
27414
  base: z.ZodObject<{
27415
27415
  model: z.ZodOptional<z.ZodString>;
@@ -27442,10 +27442,10 @@ declare const ProjectResponse: z.ZodObject<{
27442
27442
  declare const SubAgentResponse: z.ZodObject<{
27443
27443
  data: z.ZodObject<{
27444
27444
  id: z.ZodString;
27445
- createdAt: z.ZodString;
27446
27445
  name: z.ZodString;
27447
- updatedAt: z.ZodString;
27448
27446
  description: z.ZodNullable<z.ZodString>;
27447
+ createdAt: z.ZodString;
27448
+ updatedAt: z.ZodString;
27449
27449
  models: z.ZodNullable<z.ZodType<{
27450
27450
  base?: {
27451
27451
  model?: string | undefined;
@@ -27523,7 +27523,6 @@ declare const SubAgentResponse: z.ZodObject<{
27523
27523
  allowedProviders?: string[] | undefined;
27524
27524
  } | undefined;
27525
27525
  }>>>;
27526
- prompt: z.ZodNullable<z.ZodString>;
27527
27526
  stopWhen: z.ZodNullable<z.ZodType<{
27528
27527
  stepCountIs?: number | undefined;
27529
27528
  }, {
@@ -27533,18 +27532,17 @@ declare const SubAgentResponse: z.ZodObject<{
27533
27532
  }, {
27534
27533
  stepCountIs?: number | undefined;
27535
27534
  }>>>;
27535
+ prompt: z.ZodNullable<z.ZodString>;
27536
27536
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27537
27537
  }, z.core.$strip>;
27538
27538
  }, z.core.$strip>;
27539
27539
  declare const AgentResponse: z.ZodObject<{
27540
27540
  data: z.ZodObject<{
27541
27541
  id: z.ZodString;
27542
- createdAt: z.ZodString;
27543
27542
  name: z.ZodString;
27544
- updatedAt: z.ZodString;
27545
27543
  description: z.ZodNullable<z.ZodString>;
27546
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27547
- contextConfigId: z.ZodNullable<z.ZodString>;
27544
+ createdAt: z.ZodString;
27545
+ updatedAt: z.ZodString;
27548
27546
  models: z.ZodNullable<z.ZodType<{
27549
27547
  base?: {
27550
27548
  model?: string | undefined;
@@ -27622,6 +27620,17 @@ declare const AgentResponse: z.ZodObject<{
27622
27620
  allowedProviders?: string[] | undefined;
27623
27621
  } | undefined;
27624
27622
  }>>>;
27623
+ stopWhen: z.ZodNullable<z.ZodType<{
27624
+ transferCountIs?: number | undefined;
27625
+ }, {
27626
+ transferCountIs?: number | undefined;
27627
+ }, z.core.$ZodTypeInternals<{
27628
+ transferCountIs?: number | undefined;
27629
+ }, {
27630
+ transferCountIs?: number | undefined;
27631
+ }>>>;
27632
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27633
+ contextConfigId: z.ZodNullable<z.ZodString>;
27625
27634
  prompt: z.ZodNullable<z.ZodString>;
27626
27635
  statusUpdates: z.ZodNullable<z.ZodType<{
27627
27636
  enabled?: boolean | undefined;
@@ -27680,43 +27689,34 @@ declare const AgentResponse: z.ZodObject<{
27680
27689
  } | undefined;
27681
27690
  }[] | undefined;
27682
27691
  }>>>;
27683
- stopWhen: z.ZodNullable<z.ZodType<{
27684
- transferCountIs?: number | undefined;
27685
- }, {
27686
- transferCountIs?: number | undefined;
27687
- }, z.core.$ZodTypeInternals<{
27688
- transferCountIs?: number | undefined;
27689
- }, {
27690
- transferCountIs?: number | undefined;
27691
- }>>>;
27692
27692
  executionMode: z.ZodString;
27693
27693
  }, z.core.$strip>;
27694
27694
  }, z.core.$strip>;
27695
27695
  declare const ExternalAgentResponse: z.ZodObject<{
27696
27696
  data: z.ZodObject<{
27697
27697
  id: z.ZodString;
27698
- createdAt: z.ZodString;
27699
27698
  name: z.ZodString;
27700
- updatedAt: z.ZodString;
27701
27699
  description: z.ZodNullable<z.ZodString>;
27702
27700
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27701
+ createdAt: z.ZodString;
27702
+ updatedAt: z.ZodString;
27703
27703
  baseUrl: z.ZodString;
27704
27704
  }, z.core.$strip>;
27705
27705
  }, z.core.$strip>;
27706
27706
  declare const ContextConfigResponse: z.ZodObject<{
27707
27707
  data: z.ZodObject<{
27708
27708
  id: z.ZodString;
27709
- headersSchema: z.ZodOptional<z.ZodAny>;
27710
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27711
27709
  createdAt: z.ZodString;
27712
27710
  updatedAt: z.ZodString;
27711
+ headersSchema: z.ZodOptional<z.ZodAny>;
27712
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27713
27713
  }, z.core.$strip>;
27714
27714
  }, z.core.$strip>;
27715
27715
  declare const ApiKeyResponse: z.ZodObject<{
27716
27716
  data: z.ZodObject<{
27717
27717
  id: z.ZodString;
27718
- createdAt: z.ZodString;
27719
27718
  name: z.ZodNullable<z.ZodString>;
27719
+ createdAt: z.ZodString;
27720
27720
  updatedAt: z.ZodString;
27721
27721
  agentId: z.ZodString;
27722
27722
  expiresAt: z.ZodNullable<z.ZodString>;
@@ -27730,15 +27730,15 @@ declare const ApiKeyResponse: z.ZodObject<{
27730
27730
  }, z.core.$strip>;
27731
27731
  declare const CredentialReferenceResponse: z.ZodObject<{
27732
27732
  data: z.ZodObject<{
27733
- userId: z.ZodNullable<z.ZodString>;
27734
27733
  id: z.ZodString;
27735
- createdAt: z.ZodString;
27736
27734
  name: z.ZodString;
27735
+ createdAt: z.ZodString;
27737
27736
  updatedAt: z.ZodString;
27738
- toolId: z.ZodNullable<z.ZodString>;
27739
- createdBy: z.ZodNullable<z.ZodString>;
27740
27737
  credentialStoreId: z.ZodString;
27741
27738
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27739
+ toolId: z.ZodNullable<z.ZodString>;
27740
+ userId: z.ZodNullable<z.ZodString>;
27741
+ createdBy: z.ZodNullable<z.ZodString>;
27742
27742
  type: z.ZodEnum<{
27743
27743
  readonly memory: "memory";
27744
27744
  readonly keychain: "keychain";
@@ -28328,18 +28328,18 @@ declare const FunctionResponse: z.ZodObject<{
28328
28328
  createdAt: z.ZodString;
28329
28329
  updatedAt: z.ZodString;
28330
28330
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28331
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28332
28331
  executeCode: z.ZodString;
28332
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28333
28333
  }, z.core.$strip>;
28334
28334
  }, z.core.$strip>;
28335
28335
  declare const FunctionToolResponse: z.ZodObject<{
28336
28336
  data: z.ZodObject<{
28337
28337
  id: z.ZodString;
28338
- createdAt: z.ZodString;
28339
28338
  name: z.ZodString;
28339
+ description: z.ZodNullable<z.ZodString>;
28340
+ createdAt: z.ZodString;
28340
28341
  updatedAt: z.ZodString;
28341
28342
  agentId: z.ZodString;
28342
- description: z.ZodNullable<z.ZodString>;
28343
28343
  functionId: z.ZodString;
28344
28344
  relationshipId: z.ZodOptional<z.ZodString>;
28345
28345
  }, z.core.$strip>;
@@ -28350,17 +28350,17 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28350
28350
  createdAt: z.ZodString;
28351
28351
  updatedAt: z.ZodString;
28352
28352
  subAgentId: z.ZodString;
28353
- functionToolId: z.ZodString;
28354
28353
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28354
+ functionToolId: z.ZodString;
28355
28355
  }, z.core.$strip>;
28356
28356
  }, z.core.$strip>;
28357
28357
  declare const DataComponentResponse: z.ZodObject<{
28358
28358
  data: z.ZodObject<{
28359
28359
  id: z.ZodString;
28360
- createdAt: z.ZodString;
28361
28360
  name: z.ZodString;
28362
- updatedAt: z.ZodString;
28363
28361
  description: z.ZodNullable<z.ZodString>;
28362
+ createdAt: z.ZodString;
28363
+ updatedAt: z.ZodString;
28364
28364
  props: z.ZodType<{
28365
28365
  [x: string]: unknown;
28366
28366
  type: "object";
@@ -28408,10 +28408,10 @@ declare const DataComponentResponse: z.ZodObject<{
28408
28408
  declare const ArtifactComponentResponse: z.ZodObject<{
28409
28409
  data: z.ZodObject<{
28410
28410
  id: z.ZodString;
28411
- createdAt: z.ZodString;
28412
28411
  name: z.ZodString;
28413
- updatedAt: z.ZodString;
28414
28412
  description: z.ZodNullable<z.ZodString>;
28413
+ createdAt: z.ZodString;
28414
+ updatedAt: z.ZodString;
28415
28415
  props: z.ZodNullable<z.ZodType<{
28416
28416
  [x: string]: unknown;
28417
28417
  type: "object";
@@ -28469,22 +28469,23 @@ declare const SubAgentRelationResponse: z.ZodObject<{
28469
28469
  declare const SubAgentToolRelationResponse: z.ZodObject<{
28470
28470
  data: z.ZodObject<{
28471
28471
  id: z.ZodString;
28472
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28472
28473
  createdAt: z.ZodString;
28473
28474
  updatedAt: z.ZodString;
28474
- subAgentId: z.ZodString;
28475
28475
  toolId: z.ZodString;
28476
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28477
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28476
+ subAgentId: z.ZodString;
28478
28477
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28478
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28479
28479
  }, z.core.$strip>;
28480
28480
  }, z.core.$strip>;
28481
28481
  declare const TriggerResponse: z.ZodObject<{
28482
28482
  data: z.ZodObject<{
28483
28483
  id: z.ZodString;
28484
- createdAt: z.ZodString;
28485
28484
  name: z.ZodString;
28486
- updatedAt: z.ZodString;
28487
28485
  description: z.ZodNullable<z.ZodString>;
28486
+ createdAt: z.ZodString;
28487
+ updatedAt: z.ZodString;
28488
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28488
28489
  enabled: z.ZodBoolean;
28489
28490
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28490
28491
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -28537,14 +28538,12 @@ declare const TriggerResponse: z.ZodObject<{
28537
28538
  }, z.core.$strip>>;
28538
28539
  }, z.core.$strip>>>;
28539
28540
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28540
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28541
28541
  }, z.core.$strip>;
28542
28542
  }, z.core.$strip>;
28543
28543
  declare const TriggerInvocationResponse: z.ZodObject<{
28544
28544
  data: z.ZodObject<{
28545
28545
  id: z.ZodString;
28546
28546
  createdAt: z.ZodString;
28547
- status: z.ZodString;
28548
28547
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28549
28548
  type: z.ZodEnum<{
28550
28549
  commit: "commit";
@@ -28554,6 +28553,7 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28554
28553
  name: z.ZodString;
28555
28554
  hash: z.ZodString;
28556
28555
  }, z.core.$strip>>>;
28556
+ status: z.ZodString;
28557
28557
  triggerId: z.ZodString;
28558
28558
  conversationId: z.ZodNullable<z.ZodString>;
28559
28559
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
@@ -28564,10 +28564,10 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28564
28564
  declare const ProjectListResponse: z.ZodObject<{
28565
28565
  data: z.ZodArray<z.ZodObject<{
28566
28566
  id: z.ZodString;
28567
- createdAt: z.ZodString;
28568
28567
  name: z.ZodString;
28569
- updatedAt: z.ZodString;
28570
28568
  description: z.ZodNullable<z.ZodString>;
28569
+ createdAt: z.ZodString;
28570
+ updatedAt: z.ZodString;
28571
28571
  models: z.ZodNullable<z.ZodObject<{
28572
28572
  base: z.ZodObject<{
28573
28573
  model: z.ZodOptional<z.ZodString>;
@@ -28606,10 +28606,10 @@ declare const ProjectListResponse: z.ZodObject<{
28606
28606
  declare const SubAgentListResponse: z.ZodObject<{
28607
28607
  data: z.ZodArray<z.ZodObject<{
28608
28608
  id: z.ZodString;
28609
- createdAt: z.ZodString;
28610
28609
  name: z.ZodString;
28611
- updatedAt: z.ZodString;
28612
28610
  description: z.ZodNullable<z.ZodString>;
28611
+ createdAt: z.ZodString;
28612
+ updatedAt: z.ZodString;
28613
28613
  models: z.ZodNullable<z.ZodType<{
28614
28614
  base?: {
28615
28615
  model?: string | undefined;
@@ -28687,7 +28687,6 @@ declare const SubAgentListResponse: z.ZodObject<{
28687
28687
  allowedProviders?: string[] | undefined;
28688
28688
  } | undefined;
28689
28689
  }>>>;
28690
- prompt: z.ZodNullable<z.ZodString>;
28691
28690
  stopWhen: z.ZodNullable<z.ZodType<{
28692
28691
  stepCountIs?: number | undefined;
28693
28692
  }, {
@@ -28697,6 +28696,7 @@ declare const SubAgentListResponse: z.ZodObject<{
28697
28696
  }, {
28698
28697
  stepCountIs?: number | undefined;
28699
28698
  }>>>;
28699
+ prompt: z.ZodNullable<z.ZodString>;
28700
28700
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28701
28701
  }, z.core.$strip>>;
28702
28702
  pagination: z.ZodObject<{
@@ -28709,12 +28709,10 @@ declare const SubAgentListResponse: z.ZodObject<{
28709
28709
  declare const AgentListResponse: z.ZodObject<{
28710
28710
  data: z.ZodArray<z.ZodObject<{
28711
28711
  id: z.ZodString;
28712
- createdAt: z.ZodString;
28713
28712
  name: z.ZodString;
28714
- updatedAt: z.ZodString;
28715
28713
  description: z.ZodNullable<z.ZodString>;
28716
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28717
- contextConfigId: z.ZodNullable<z.ZodString>;
28714
+ createdAt: z.ZodString;
28715
+ updatedAt: z.ZodString;
28718
28716
  models: z.ZodNullable<z.ZodType<{
28719
28717
  base?: {
28720
28718
  model?: string | undefined;
@@ -28792,6 +28790,17 @@ declare const AgentListResponse: z.ZodObject<{
28792
28790
  allowedProviders?: string[] | undefined;
28793
28791
  } | undefined;
28794
28792
  }>>>;
28793
+ stopWhen: z.ZodNullable<z.ZodType<{
28794
+ transferCountIs?: number | undefined;
28795
+ }, {
28796
+ transferCountIs?: number | undefined;
28797
+ }, z.core.$ZodTypeInternals<{
28798
+ transferCountIs?: number | undefined;
28799
+ }, {
28800
+ transferCountIs?: number | undefined;
28801
+ }>>>;
28802
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28803
+ contextConfigId: z.ZodNullable<z.ZodString>;
28795
28804
  prompt: z.ZodNullable<z.ZodString>;
28796
28805
  statusUpdates: z.ZodNullable<z.ZodType<{
28797
28806
  enabled?: boolean | undefined;
@@ -28850,15 +28859,6 @@ declare const AgentListResponse: z.ZodObject<{
28850
28859
  } | undefined;
28851
28860
  }[] | undefined;
28852
28861
  }>>>;
28853
- stopWhen: z.ZodNullable<z.ZodType<{
28854
- transferCountIs?: number | undefined;
28855
- }, {
28856
- transferCountIs?: number | undefined;
28857
- }, z.core.$ZodTypeInternals<{
28858
- transferCountIs?: number | undefined;
28859
- }, {
28860
- transferCountIs?: number | undefined;
28861
- }>>>;
28862
28862
  executionMode: z.ZodString;
28863
28863
  }, z.core.$strip>>;
28864
28864
  pagination: z.ZodObject<{
@@ -28871,11 +28871,11 @@ declare const AgentListResponse: z.ZodObject<{
28871
28871
  declare const ExternalAgentListResponse: z.ZodObject<{
28872
28872
  data: z.ZodArray<z.ZodObject<{
28873
28873
  id: z.ZodString;
28874
- createdAt: z.ZodString;
28875
28874
  name: z.ZodString;
28876
- updatedAt: z.ZodString;
28877
28875
  description: z.ZodNullable<z.ZodString>;
28878
28876
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28877
+ createdAt: z.ZodString;
28878
+ updatedAt: z.ZodString;
28879
28879
  baseUrl: z.ZodString;
28880
28880
  }, z.core.$strip>>;
28881
28881
  pagination: z.ZodObject<{
@@ -28888,10 +28888,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
28888
28888
  declare const ContextConfigListResponse: z.ZodObject<{
28889
28889
  data: z.ZodArray<z.ZodObject<{
28890
28890
  id: z.ZodString;
28891
- headersSchema: z.ZodOptional<z.ZodAny>;
28892
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28893
28891
  createdAt: z.ZodString;
28894
28892
  updatedAt: z.ZodString;
28893
+ headersSchema: z.ZodOptional<z.ZodAny>;
28894
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28895
28895
  }, z.core.$strip>>;
28896
28896
  pagination: z.ZodObject<{
28897
28897
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -28903,8 +28903,8 @@ declare const ContextConfigListResponse: z.ZodObject<{
28903
28903
  declare const ApiKeyListResponse: z.ZodObject<{
28904
28904
  data: z.ZodArray<z.ZodObject<{
28905
28905
  id: z.ZodString;
28906
- createdAt: z.ZodString;
28907
28906
  name: z.ZodNullable<z.ZodString>;
28907
+ createdAt: z.ZodString;
28908
28908
  updatedAt: z.ZodString;
28909
28909
  agentId: z.ZodString;
28910
28910
  expiresAt: z.ZodNullable<z.ZodString>;
@@ -28924,14 +28924,14 @@ declare const ApiKeyListResponse: z.ZodObject<{
28924
28924
  }, z.core.$strip>;
28925
28925
  declare const AppResponse: z.ZodObject<{
28926
28926
  data: z.ZodObject<{
28927
- type: z.ZodString;
28928
- tenantId: z.ZodNullable<z.ZodString>;
28929
28927
  id: z.ZodString;
28930
- createdAt: z.ZodString;
28931
28928
  name: z.ZodString;
28929
+ description: z.ZodNullable<z.ZodString>;
28930
+ createdAt: z.ZodString;
28932
28931
  updatedAt: z.ZodString;
28933
28932
  projectId: z.ZodNullable<z.ZodString>;
28934
- description: z.ZodNullable<z.ZodString>;
28933
+ tenantId: z.ZodNullable<z.ZodString>;
28934
+ type: z.ZodString;
28935
28935
  enabled: z.ZodBoolean;
28936
28936
  prompt: z.ZodNullable<z.ZodString>;
28937
28937
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28969,14 +28969,14 @@ declare const AppResponse: z.ZodObject<{
28969
28969
  }, z.core.$strip>;
28970
28970
  declare const AppListResponse: z.ZodObject<{
28971
28971
  data: z.ZodArray<z.ZodObject<{
28972
- type: z.ZodString;
28973
- tenantId: z.ZodNullable<z.ZodString>;
28974
28972
  id: z.ZodString;
28975
- createdAt: z.ZodString;
28976
28973
  name: z.ZodString;
28974
+ description: z.ZodNullable<z.ZodString>;
28975
+ createdAt: z.ZodString;
28977
28976
  updatedAt: z.ZodString;
28978
28977
  projectId: z.ZodNullable<z.ZodString>;
28979
- description: z.ZodNullable<z.ZodString>;
28978
+ tenantId: z.ZodNullable<z.ZodString>;
28979
+ type: z.ZodString;
28980
28980
  enabled: z.ZodBoolean;
28981
28981
  prompt: z.ZodNullable<z.ZodString>;
28982
28982
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29020,15 +29020,15 @@ declare const AppListResponse: z.ZodObject<{
29020
29020
  }, z.core.$strip>;
29021
29021
  declare const CredentialReferenceListResponse: z.ZodObject<{
29022
29022
  data: z.ZodArray<z.ZodObject<{
29023
- userId: z.ZodNullable<z.ZodString>;
29024
29023
  id: z.ZodString;
29025
- createdAt: z.ZodString;
29026
29024
  name: z.ZodString;
29025
+ createdAt: z.ZodString;
29027
29026
  updatedAt: z.ZodString;
29028
- toolId: z.ZodNullable<z.ZodString>;
29029
- createdBy: z.ZodNullable<z.ZodString>;
29030
29027
  credentialStoreId: z.ZodString;
29031
29028
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29029
+ toolId: z.ZodNullable<z.ZodString>;
29030
+ userId: z.ZodNullable<z.ZodString>;
29031
+ createdBy: z.ZodNullable<z.ZodString>;
29032
29032
  type: z.ZodEnum<{
29033
29033
  readonly memory: "memory";
29034
29034
  readonly keychain: "keychain";
@@ -29624,8 +29624,8 @@ declare const FunctionListResponse: z.ZodObject<{
29624
29624
  createdAt: z.ZodString;
29625
29625
  updatedAt: z.ZodString;
29626
29626
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29627
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29628
29627
  executeCode: z.ZodString;
29628
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29629
29629
  }, z.core.$strip>>;
29630
29630
  pagination: z.ZodObject<{
29631
29631
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29637,11 +29637,11 @@ declare const FunctionListResponse: z.ZodObject<{
29637
29637
  declare const FunctionToolListResponse: z.ZodObject<{
29638
29638
  data: z.ZodArray<z.ZodObject<{
29639
29639
  id: z.ZodString;
29640
- createdAt: z.ZodString;
29641
29640
  name: z.ZodString;
29641
+ description: z.ZodNullable<z.ZodString>;
29642
+ createdAt: z.ZodString;
29642
29643
  updatedAt: z.ZodString;
29643
29644
  agentId: z.ZodString;
29644
- description: z.ZodNullable<z.ZodString>;
29645
29645
  functionId: z.ZodString;
29646
29646
  relationshipId: z.ZodOptional<z.ZodString>;
29647
29647
  }, z.core.$strip>>;
@@ -29658,8 +29658,8 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
29658
29658
  createdAt: z.ZodString;
29659
29659
  updatedAt: z.ZodString;
29660
29660
  subAgentId: z.ZodString;
29661
- functionToolId: z.ZodString;
29662
29661
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29662
+ functionToolId: z.ZodString;
29663
29663
  }, z.core.$strip>>;
29664
29664
  pagination: z.ZodObject<{
29665
29665
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29671,10 +29671,10 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
29671
29671
  declare const DataComponentListResponse: z.ZodObject<{
29672
29672
  data: z.ZodArray<z.ZodObject<{
29673
29673
  id: z.ZodString;
29674
- createdAt: z.ZodString;
29675
29674
  name: z.ZodString;
29676
- updatedAt: z.ZodString;
29677
29675
  description: z.ZodNullable<z.ZodString>;
29676
+ createdAt: z.ZodString;
29677
+ updatedAt: z.ZodString;
29678
29678
  props: z.ZodType<{
29679
29679
  [x: string]: unknown;
29680
29680
  type: "object";
@@ -29728,10 +29728,10 @@ declare const DataComponentListResponse: z.ZodObject<{
29728
29728
  declare const ArtifactComponentListResponse: z.ZodObject<{
29729
29729
  data: z.ZodArray<z.ZodObject<{
29730
29730
  id: z.ZodString;
29731
- createdAt: z.ZodString;
29732
29731
  name: z.ZodString;
29733
- updatedAt: z.ZodString;
29734
29732
  description: z.ZodNullable<z.ZodString>;
29733
+ createdAt: z.ZodString;
29734
+ updatedAt: z.ZodString;
29735
29735
  props: z.ZodNullable<z.ZodType<{
29736
29736
  [x: string]: unknown;
29737
29737
  type: "object";
@@ -29801,13 +29801,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
29801
29801
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
29802
29802
  data: z.ZodArray<z.ZodObject<{
29803
29803
  id: z.ZodString;
29804
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29804
29805
  createdAt: z.ZodString;
29805
29806
  updatedAt: z.ZodString;
29806
- subAgentId: z.ZodString;
29807
29807
  toolId: z.ZodString;
29808
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29809
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29808
+ subAgentId: z.ZodString;
29810
29809
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29810
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29811
29811
  }, z.core.$strip>>;
29812
29812
  pagination: z.ZodObject<{
29813
29813
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29819,10 +29819,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
29819
29819
  declare const TriggerListResponse: z.ZodObject<{
29820
29820
  data: z.ZodArray<z.ZodObject<{
29821
29821
  id: z.ZodString;
29822
- createdAt: z.ZodString;
29823
29822
  name: z.ZodString;
29824
- updatedAt: z.ZodString;
29825
29823
  description: z.ZodNullable<z.ZodString>;
29824
+ createdAt: z.ZodString;
29825
+ updatedAt: z.ZodString;
29826
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29826
29827
  enabled: z.ZodBoolean;
29827
29828
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29828
29829
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -29875,7 +29876,6 @@ declare const TriggerListResponse: z.ZodObject<{
29875
29876
  }, z.core.$strip>>;
29876
29877
  }, z.core.$strip>>>;
29877
29878
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29878
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29879
29879
  }, z.core.$strip>>;
29880
29880
  pagination: z.ZodObject<{
29881
29881
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29888,7 +29888,6 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29888
29888
  data: z.ZodArray<z.ZodObject<{
29889
29889
  id: z.ZodString;
29890
29890
  createdAt: z.ZodString;
29891
- status: z.ZodString;
29892
29891
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29893
29892
  type: z.ZodEnum<{
29894
29893
  commit: "commit";
@@ -29898,6 +29897,7 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29898
29897
  name: z.ZodString;
29899
29898
  hash: z.ZodString;
29900
29899
  }, z.core.$strip>>>;
29900
+ status: z.ZodString;
29901
29901
  triggerId: z.ZodString;
29902
29902
  conversationId: z.ZodNullable<z.ZodString>;
29903
29903
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
@@ -29914,10 +29914,11 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29914
29914
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29915
29915
  data: z.ZodObject<{
29916
29916
  id: z.ZodString;
29917
- createdAt: z.ZodString;
29918
29917
  name: z.ZodString;
29919
- updatedAt: z.ZodString;
29920
29918
  description: z.ZodNullable<z.ZodString>;
29919
+ createdAt: z.ZodString;
29920
+ updatedAt: z.ZodString;
29921
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29921
29922
  enabled: z.ZodBoolean;
29922
29923
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29923
29924
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -29970,17 +29971,17 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29970
29971
  }, z.core.$strip>>;
29971
29972
  }, z.core.$strip>>>;
29972
29973
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29973
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29974
29974
  webhookUrl: z.ZodString;
29975
29975
  }, z.core.$strip>;
29976
29976
  }, z.core.$strip>;
29977
29977
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29978
29978
  data: z.ZodObject<{
29979
29979
  id: z.ZodString;
29980
- createdAt: z.ZodString;
29981
29980
  name: z.ZodString;
29982
- updatedAt: z.ZodString;
29983
29981
  description: z.ZodNullable<z.ZodString>;
29982
+ createdAt: z.ZodString;
29983
+ updatedAt: z.ZodString;
29984
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29984
29985
  enabled: z.ZodBoolean;
29985
29986
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29986
29987
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30033,7 +30034,6 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30033
30034
  }, z.core.$strip>>;
30034
30035
  }, z.core.$strip>>>;
30035
30036
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30036
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30037
30037
  webhookUrl: z.ZodString;
30038
30038
  }, z.core.$strip>;
30039
30039
  warning: z.ZodOptional<z.ZodString>;
@@ -30041,10 +30041,11 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30041
30041
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30042
30042
  data: z.ZodArray<z.ZodObject<{
30043
30043
  id: z.ZodString;
30044
- createdAt: z.ZodString;
30045
30044
  name: z.ZodString;
30046
- updatedAt: z.ZodString;
30047
30045
  description: z.ZodNullable<z.ZodString>;
30046
+ createdAt: z.ZodString;
30047
+ updatedAt: z.ZodString;
30048
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30048
30049
  enabled: z.ZodBoolean;
30049
30050
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30050
30051
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30097,7 +30098,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30097
30098
  }, z.core.$strip>>;
30098
30099
  }, z.core.$strip>>>;
30099
30100
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30100
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30101
30101
  webhookUrl: z.ZodString;
30102
30102
  }, z.core.$strip>>;
30103
30103
  pagination: z.ZodObject<{
@@ -30109,15 +30109,15 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30109
30109
  }, z.core.$strip>;
30110
30110
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30111
30111
  id: z.ZodString;
30112
- createdAt: z.ZodString;
30113
30112
  name: z.ZodString;
30114
- updatedAt: z.ZodString;
30115
30113
  description: z.ZodNullable<z.ZodString>;
30114
+ createdAt: z.ZodString;
30115
+ updatedAt: z.ZodString;
30116
+ createdBy: z.ZodNullable<z.ZodString>;
30116
30117
  enabled: z.ZodBoolean;
30117
30118
  ref: z.ZodString;
30118
30119
  messageTemplate: z.ZodNullable<z.ZodString>;
30119
30120
  runAsUserId: z.ZodNullable<z.ZodString>;
30120
- createdBy: z.ZodNullable<z.ZodString>;
30121
30121
  cronExpression: z.ZodNullable<z.ZodString>;
30122
30122
  cronTimezone: z.ZodNullable<z.ZodString>;
30123
30123
  runAt: z.ZodNullable<z.ZodString>;
@@ -30137,15 +30137,15 @@ type ScheduledTriggerWithRunInfo = z.infer<typeof ScheduledTriggerWithRunInfoSch
30137
30137
  declare const ScheduledTriggerResponse: z.ZodObject<{
30138
30138
  data: z.ZodObject<{
30139
30139
  id: z.ZodString;
30140
- createdAt: z.ZodString;
30141
30140
  name: z.ZodString;
30142
- updatedAt: z.ZodString;
30143
30141
  description: z.ZodNullable<z.ZodString>;
30142
+ createdAt: z.ZodString;
30143
+ updatedAt: z.ZodString;
30144
+ createdBy: z.ZodNullable<z.ZodString>;
30144
30145
  enabled: z.ZodBoolean;
30145
30146
  ref: z.ZodString;
30146
30147
  messageTemplate: z.ZodNullable<z.ZodString>;
30147
30148
  runAsUserId: z.ZodNullable<z.ZodString>;
30148
- createdBy: z.ZodNullable<z.ZodString>;
30149
30149
  cronExpression: z.ZodNullable<z.ZodString>;
30150
30150
  cronTimezone: z.ZodNullable<z.ZodString>;
30151
30151
  runAt: z.ZodNullable<z.ZodString>;
@@ -30159,15 +30159,15 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
30159
30159
  declare const ScheduledTriggerListResponse: z.ZodObject<{
30160
30160
  data: z.ZodArray<z.ZodObject<{
30161
30161
  id: z.ZodString;
30162
- createdAt: z.ZodString;
30163
30162
  name: z.ZodString;
30164
- updatedAt: z.ZodString;
30165
30163
  description: z.ZodNullable<z.ZodString>;
30164
+ createdAt: z.ZodString;
30165
+ updatedAt: z.ZodString;
30166
+ createdBy: z.ZodNullable<z.ZodString>;
30166
30167
  enabled: z.ZodBoolean;
30167
30168
  ref: z.ZodString;
30168
30169
  messageTemplate: z.ZodNullable<z.ZodString>;
30169
30170
  runAsUserId: z.ZodNullable<z.ZodString>;
30170
- createdBy: z.ZodNullable<z.ZodString>;
30171
30171
  cronExpression: z.ZodNullable<z.ZodString>;
30172
30172
  cronTimezone: z.ZodNullable<z.ZodString>;
30173
30173
  runAt: z.ZodNullable<z.ZodString>;
@@ -30187,15 +30187,15 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30187
30187
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30188
30188
  data: z.ZodArray<z.ZodObject<{
30189
30189
  id: z.ZodString;
30190
- createdAt: z.ZodString;
30191
30190
  name: z.ZodString;
30192
- updatedAt: z.ZodString;
30193
30191
  description: z.ZodNullable<z.ZodString>;
30192
+ createdAt: z.ZodString;
30193
+ updatedAt: z.ZodString;
30194
+ createdBy: z.ZodNullable<z.ZodString>;
30194
30195
  enabled: z.ZodBoolean;
30195
30196
  ref: z.ZodString;
30196
30197
  messageTemplate: z.ZodNullable<z.ZodString>;
30197
30198
  runAsUserId: z.ZodNullable<z.ZodString>;
30198
- createdBy: z.ZodNullable<z.ZodString>;
30199
30199
  cronExpression: z.ZodNullable<z.ZodString>;
30200
30200
  cronTimezone: z.ZodNullable<z.ZodString>;
30201
30201
  runAt: z.ZodNullable<z.ZodString>;
@@ -30222,13 +30222,6 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30222
30222
  data: z.ZodObject<{
30223
30223
  id: z.ZodString;
30224
30224
  createdAt: z.ZodString;
30225
- status: z.ZodEnum<{
30226
- pending: "pending";
30227
- failed: "failed";
30228
- running: "running";
30229
- completed: "completed";
30230
- cancelled: "cancelled";
30231
- }>;
30232
30225
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30233
30226
  type: z.ZodEnum<{
30234
30227
  commit: "commit";
@@ -30238,12 +30231,19 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30238
30231
  name: z.ZodString;
30239
30232
  hash: z.ZodString;
30240
30233
  }, z.core.$strip>>>;
30234
+ status: z.ZodEnum<{
30235
+ pending: "pending";
30236
+ failed: "failed";
30237
+ running: "running";
30238
+ completed: "completed";
30239
+ cancelled: "cancelled";
30240
+ }>;
30241
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30241
30242
  scheduledTriggerId: z.ZodString;
30242
30243
  scheduledFor: z.ZodString;
30243
30244
  startedAt: z.ZodNullable<z.ZodString>;
30244
30245
  completedAt: z.ZodNullable<z.ZodString>;
30245
30246
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30246
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30247
30247
  attemptNumber: z.ZodInt;
30248
30248
  idempotencyKey: z.ZodString;
30249
30249
  }, z.core.$strip>;
@@ -30252,13 +30252,6 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30252
30252
  data: z.ZodArray<z.ZodObject<{
30253
30253
  id: z.ZodString;
30254
30254
  createdAt: z.ZodString;
30255
- status: z.ZodEnum<{
30256
- pending: "pending";
30257
- failed: "failed";
30258
- running: "running";
30259
- completed: "completed";
30260
- cancelled: "cancelled";
30261
- }>;
30262
30255
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30263
30256
  type: z.ZodEnum<{
30264
30257
  commit: "commit";
@@ -30268,12 +30261,19 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30268
30261
  name: z.ZodString;
30269
30262
  hash: z.ZodString;
30270
30263
  }, z.core.$strip>>>;
30264
+ status: z.ZodEnum<{
30265
+ pending: "pending";
30266
+ failed: "failed";
30267
+ running: "running";
30268
+ completed: "completed";
30269
+ cancelled: "cancelled";
30270
+ }>;
30271
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30271
30272
  scheduledTriggerId: z.ZodString;
30272
30273
  scheduledFor: z.ZodString;
30273
30274
  startedAt: z.ZodNullable<z.ZodString>;
30274
30275
  completedAt: z.ZodNullable<z.ZodString>;
30275
30276
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30276
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30277
30277
  attemptNumber: z.ZodInt;
30278
30278
  idempotencyKey: z.ZodString;
30279
30279
  }, z.core.$strip>>;
@@ -30338,10 +30338,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30338
30338
  executionMode: z.ZodOptional<z.ZodString>;
30339
30339
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30340
30340
  id: z.ZodString;
30341
- createdAt: z.ZodOptional<z.ZodString>;
30342
30341
  name: z.ZodString;
30343
- updatedAt: z.ZodOptional<z.ZodString>;
30344
30342
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30343
+ createdAt: z.ZodOptional<z.ZodString>;
30344
+ updatedAt: z.ZodOptional<z.ZodString>;
30345
30345
  models: z.ZodOptional<z.ZodObject<{
30346
30346
  base: z.ZodOptional<z.ZodObject<{
30347
30347
  model: z.ZodOptional<z.ZodString>;
@@ -30399,7 +30399,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
30400
  name: z.ZodString;
30401
30401
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30402
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30403
30402
  config: z.ZodObject<{
30404
30403
  type: z.ZodLiteral<"mcp">;
30405
30404
  mcp: z.ZodObject<{
@@ -30428,6 +30427,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30428
30427
  }, z.core.$strip>;
30429
30428
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30430
30429
  credentialScope: z.ZodOptional<z.ZodString>;
30430
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30431
30431
  imageUrl: z.ZodOptional<z.ZodString>;
30432
30432
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30433
30433
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30454,13 +30454,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30454
30454
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30455
30455
  id: z.ZodString;
30456
30456
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30457
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30458
30457
  executeCode: z.ZodString;
30458
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30459
30459
  }, z.core.$strip>>>;
30460
30460
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30461
30461
  id: z.ZodOptional<z.ZodString>;
30462
30462
  name: z.ZodString;
30463
30463
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30464
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30464
30465
  enabled: z.ZodOptional<z.ZodBoolean>;
30465
30466
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30466
30467
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -30469,7 +30470,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30469
30470
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30470
30471
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30471
30472
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30472
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30473
30473
  }, z.core.$strip>>>;
30474
30474
  contextConfig: z.ZodOptional<z.ZodObject<{
30475
30475
  id: z.ZodOptional<z.ZodString>;
@@ -30520,7 +30520,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30520
30520
  id: z.ZodString;
30521
30521
  name: z.ZodString;
30522
30522
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30523
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30524
30523
  config: z.ZodObject<{
30525
30524
  type: z.ZodLiteral<"mcp">;
30526
30525
  mcp: z.ZodObject<{
@@ -30549,6 +30548,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30549
30548
  }, z.core.$strip>;
30550
30549
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30551
30550
  credentialScope: z.ZodOptional<z.ZodString>;
30551
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30552
30552
  imageUrl: z.ZodOptional<z.ZodString>;
30553
30553
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30554
30554
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30563,8 +30563,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30563
30563
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30564
30564
  id: z.ZodString;
30565
30565
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30566
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30567
30566
  executeCode: z.ZodString;
30567
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30568
30568
  }, z.core.$strip>>>;
30569
30569
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
30570
30570
  files: z.ZodArray<z.ZodObject<{
@@ -30671,13 +30671,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30671
30671
  }, z.core.$strip>>>;
30672
30672
  }, z.core.$strict>>;
30673
30673
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30674
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30675
30674
  id: z.ZodString;
30676
30675
  name: z.ZodString;
30677
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30678
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30679
30676
  credentialStoreId: z.ZodString;
30680
30677
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30678
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30679
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30680
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30681
30681
  type: z.ZodEnum<{
30682
30682
  readonly memory: "memory";
30683
30683
  readonly keychain: "keychain";
@@ -30695,10 +30695,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30695
30695
  declare const FullProjectSelectResponse: z.ZodObject<{
30696
30696
  data: z.ZodObject<{
30697
30697
  id: z.ZodString;
30698
- createdAt: z.ZodString;
30699
30698
  name: z.ZodString;
30700
- updatedAt: z.ZodString;
30701
30699
  description: z.ZodNullable<z.ZodString>;
30700
+ createdAt: z.ZodString;
30701
+ updatedAt: z.ZodString;
30702
30702
  models: z.ZodNullable<z.ZodObject<{
30703
30703
  base: z.ZodObject<{
30704
30704
  model: z.ZodOptional<z.ZodString>;
@@ -30725,19 +30725,19 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30725
30725
  }, z.core.$strip>>;
30726
30726
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30727
30727
  id: z.ZodString;
30728
- createdAt: z.ZodString;
30729
30728
  name: z.ZodString;
30730
- updatedAt: z.ZodString;
30731
30729
  description: z.ZodNullable<z.ZodString>;
30730
+ createdAt: z.ZodString;
30731
+ updatedAt: z.ZodString;
30732
30732
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30733
30733
  contextConfigId: z.ZodNullable<z.ZodString>;
30734
30734
  executionMode: z.ZodString;
30735
30735
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30736
30736
  id: z.ZodString;
30737
- createdAt: z.ZodString;
30738
30737
  name: z.ZodString;
30739
- updatedAt: z.ZodString;
30740
30738
  description: z.ZodNullable<z.ZodString>;
30739
+ createdAt: z.ZodString;
30740
+ updatedAt: z.ZodString;
30741
30741
  models: z.ZodNullable<z.ZodType<{
30742
30742
  base?: {
30743
30743
  model?: string | undefined;
@@ -30851,11 +30851,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30851
30851
  }, z.core.$strip>>;
30852
30852
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30853
30853
  id: z.ZodString;
30854
- createdAt: z.ZodString;
30855
30854
  name: z.ZodString;
30856
- updatedAt: z.ZodString;
30857
30855
  description: z.ZodNullable<z.ZodString>;
30858
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30859
30856
  config: z.ZodType<{
30860
30857
  type: "mcp";
30861
30858
  mcp: ToolMcpConfig;
@@ -30871,18 +30868,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30871
30868
  }>>;
30872
30869
  credentialReferenceId: z.ZodNullable<z.ZodString>;
30873
30870
  credentialScope: z.ZodString;
30871
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30874
30872
  imageUrl: z.ZodNullable<z.ZodString>;
30875
30873
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
30876
30874
  lastError: z.ZodNullable<z.ZodString>;
30877
30875
  isWorkApp: z.ZodBoolean;
30876
+ createdAt: z.ZodString;
30877
+ updatedAt: z.ZodString;
30878
30878
  }, z.core.$strip>>>;
30879
30879
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30880
30880
  id: z.ZodString;
30881
- createdAt: z.ZodString;
30882
30881
  name: z.ZodString;
30883
- updatedAt: z.ZodString;
30884
30882
  description: z.ZodNullable<z.ZodString>;
30885
30883
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30884
+ createdAt: z.ZodString;
30885
+ updatedAt: z.ZodString;
30886
30886
  baseUrl: z.ZodString;
30887
30887
  }, z.core.$strip>>>;
30888
30888
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30892,11 +30892,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30892
30892
  }, z.core.$strip>>>;
30893
30893
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30894
30894
  id: z.ZodString;
30895
- createdAt: z.ZodString;
30896
30895
  name: z.ZodString;
30896
+ description: z.ZodNullable<z.ZodString>;
30897
+ createdAt: z.ZodString;
30897
30898
  updatedAt: z.ZodString;
30898
30899
  agentId: z.ZodString;
30899
- description: z.ZodNullable<z.ZodString>;
30900
30900
  functionId: z.ZodString;
30901
30901
  relationshipId: z.ZodOptional<z.ZodString>;
30902
30902
  }, z.core.$strip>>>;
@@ -30905,15 +30905,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30905
30905
  createdAt: z.ZodString;
30906
30906
  updatedAt: z.ZodString;
30907
30907
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30908
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30909
30908
  executeCode: z.ZodString;
30909
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30910
30910
  }, z.core.$strip>>>;
30911
30911
  contextConfig: z.ZodNullable<z.ZodObject<{
30912
30912
  id: z.ZodString;
30913
- headersSchema: z.ZodOptional<z.ZodAny>;
30914
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30915
30913
  createdAt: z.ZodString;
30916
30914
  updatedAt: z.ZodString;
30915
+ headersSchema: z.ZodOptional<z.ZodAny>;
30916
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30917
30917
  }, z.core.$strip>>;
30918
30918
  statusUpdates: z.ZodNullable<z.ZodObject<{
30919
30919
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30957,11 +30957,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30957
30957
  }, z.core.$strip>>;
30958
30958
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
30959
30959
  id: z.ZodString;
30960
- createdAt: z.ZodString;
30961
30960
  name: z.ZodString;
30962
- updatedAt: z.ZodString;
30963
30961
  description: z.ZodNullable<z.ZodString>;
30964
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30965
30962
  config: z.ZodType<{
30966
30963
  type: "mcp";
30967
30964
  mcp: ToolMcpConfig;
@@ -30977,18 +30974,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30977
30974
  }>>;
30978
30975
  credentialReferenceId: z.ZodNullable<z.ZodString>;
30979
30976
  credentialScope: z.ZodString;
30977
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30980
30978
  imageUrl: z.ZodNullable<z.ZodString>;
30981
30979
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
30982
30980
  lastError: z.ZodNullable<z.ZodString>;
30983
30981
  isWorkApp: z.ZodBoolean;
30982
+ createdAt: z.ZodString;
30983
+ updatedAt: z.ZodString;
30984
30984
  }, z.core.$strip>>;
30985
30985
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30986
30986
  id: z.ZodString;
30987
- createdAt: z.ZodString;
30988
30987
  name: z.ZodString;
30988
+ description: z.ZodNullable<z.ZodString>;
30989
+ createdAt: z.ZodString;
30989
30990
  updatedAt: z.ZodString;
30990
30991
  agentId: z.ZodString;
30991
- description: z.ZodNullable<z.ZodString>;
30992
30992
  functionId: z.ZodString;
30993
30993
  relationshipId: z.ZodOptional<z.ZodString>;
30994
30994
  }, z.core.$strip>>>;
@@ -30997,15 +30997,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30997
30997
  createdAt: z.ZodString;
30998
30998
  updatedAt: z.ZodString;
30999
30999
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31000
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31001
31000
  executeCode: z.ZodString;
31001
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31002
31002
  }, z.core.$strip>>>;
31003
31003
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31004
31004
  id: z.ZodString;
31005
- createdAt: z.ZodString;
31006
31005
  name: z.ZodString;
31007
- updatedAt: z.ZodString;
31008
31006
  description: z.ZodNullable<z.ZodString>;
31007
+ createdAt: z.ZodString;
31008
+ updatedAt: z.ZodString;
31009
31009
  props: z.ZodType<{
31010
31010
  [x: string]: unknown;
31011
31011
  type: "object";
@@ -31051,10 +31051,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31051
31051
  }, z.core.$strip>>>;
31052
31052
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31053
31053
  id: z.ZodString;
31054
- createdAt: z.ZodString;
31055
31054
  name: z.ZodString;
31056
- updatedAt: z.ZodString;
31057
31055
  description: z.ZodNullable<z.ZodString>;
31056
+ createdAt: z.ZodString;
31057
+ updatedAt: z.ZodString;
31058
31058
  props: z.ZodNullable<z.ZodType<{
31059
31059
  [x: string]: unknown;
31060
31060
  type: "object";
@@ -31100,11 +31100,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31100
31100
  }, z.core.$strip>>>;
31101
31101
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31102
31102
  id: z.ZodString;
31103
- createdAt: z.ZodString;
31104
31103
  name: z.ZodString;
31105
- updatedAt: z.ZodString;
31106
31104
  description: z.ZodNullable<z.ZodString>;
31107
31105
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31106
+ createdAt: z.ZodString;
31107
+ updatedAt: z.ZodString;
31108
31108
  baseUrl: z.ZodString;
31109
31109
  }, z.core.$strip>>>;
31110
31110
  statusUpdates: z.ZodNullable<z.ZodObject<{
@@ -31123,15 +31123,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31123
31123
  }, z.core.$strip>>>;
31124
31124
  }, z.core.$strict>>;
31125
31125
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31126
- userId: z.ZodNullable<z.ZodString>;
31127
31126
  id: z.ZodString;
31128
- createdAt: z.ZodString;
31129
31127
  name: z.ZodString;
31128
+ createdAt: z.ZodString;
31130
31129
  updatedAt: z.ZodString;
31131
- toolId: z.ZodNullable<z.ZodString>;
31132
- createdBy: z.ZodNullable<z.ZodString>;
31133
31130
  credentialStoreId: z.ZodString;
31134
31131
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31132
+ toolId: z.ZodNullable<z.ZodString>;
31133
+ userId: z.ZodNullable<z.ZodString>;
31134
+ createdBy: z.ZodNullable<z.ZodString>;
31135
31135
  type: z.ZodEnum<{
31136
31136
  readonly memory: "memory";
31137
31137
  readonly keychain: "keychain";
@@ -31722,10 +31722,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31722
31722
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31723
31723
  data: z.ZodObject<{
31724
31724
  id: z.ZodString;
31725
- createdAt: z.ZodString;
31726
31725
  name: z.ZodString;
31727
- updatedAt: z.ZodString;
31728
31726
  description: z.ZodNullable<z.ZodString>;
31727
+ createdAt: z.ZodString;
31728
+ updatedAt: z.ZodString;
31729
31729
  models: z.ZodNullable<z.ZodObject<{
31730
31730
  base: z.ZodObject<{
31731
31731
  model: z.ZodOptional<z.ZodString>;
@@ -31752,11 +31752,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31752
31752
  }, z.core.$strip>>;
31753
31753
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31754
31754
  id: z.ZodString;
31755
- createdAt: z.ZodString;
31756
31755
  name: z.ZodString;
31757
- updatedAt: z.ZodString;
31758
31756
  description: z.ZodNullable<z.ZodString>;
31759
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31760
31757
  config: z.ZodType<{
31761
31758
  type: "mcp";
31762
31759
  mcp: ToolMcpConfig;
@@ -31772,18 +31769,21 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31772
31769
  }>>;
31773
31770
  credentialReferenceId: z.ZodNullable<z.ZodString>;
31774
31771
  credentialScope: z.ZodString;
31772
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31775
31773
  imageUrl: z.ZodNullable<z.ZodString>;
31776
31774
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
31777
31775
  lastError: z.ZodNullable<z.ZodString>;
31778
31776
  isWorkApp: z.ZodBoolean;
31777
+ createdAt: z.ZodString;
31778
+ updatedAt: z.ZodString;
31779
31779
  }, z.core.$strip>>;
31780
31780
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31781
31781
  id: z.ZodString;
31782
- createdAt: z.ZodString;
31783
31782
  name: z.ZodString;
31783
+ description: z.ZodNullable<z.ZodString>;
31784
+ createdAt: z.ZodString;
31784
31785
  updatedAt: z.ZodString;
31785
31786
  agentId: z.ZodString;
31786
- description: z.ZodNullable<z.ZodString>;
31787
31787
  functionId: z.ZodString;
31788
31788
  relationshipId: z.ZodOptional<z.ZodString>;
31789
31789
  }, z.core.$strip>>>;
@@ -31792,15 +31792,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31792
31792
  createdAt: z.ZodString;
31793
31793
  updatedAt: z.ZodString;
31794
31794
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31795
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31796
31795
  executeCode: z.ZodString;
31796
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31797
31797
  }, z.core.$strip>>>;
31798
31798
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31799
31799
  id: z.ZodString;
31800
- createdAt: z.ZodString;
31801
31800
  name: z.ZodString;
31802
- updatedAt: z.ZodString;
31803
31801
  description: z.ZodNullable<z.ZodString>;
31802
+ createdAt: z.ZodString;
31803
+ updatedAt: z.ZodString;
31804
31804
  props: z.ZodType<{
31805
31805
  [x: string]: unknown;
31806
31806
  type: "object";
@@ -31846,10 +31846,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31846
31846
  }, z.core.$strip>>>;
31847
31847
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31848
31848
  id: z.ZodString;
31849
- createdAt: z.ZodString;
31850
31849
  name: z.ZodString;
31851
- updatedAt: z.ZodString;
31852
31850
  description: z.ZodNullable<z.ZodString>;
31851
+ createdAt: z.ZodString;
31852
+ updatedAt: z.ZodString;
31853
31853
  props: z.ZodNullable<z.ZodType<{
31854
31854
  [x: string]: unknown;
31855
31855
  type: "object";
@@ -31895,11 +31895,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31895
31895
  }, z.core.$strip>>>;
31896
31896
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31897
31897
  id: z.ZodString;
31898
- createdAt: z.ZodString;
31899
31898
  name: z.ZodString;
31900
- updatedAt: z.ZodString;
31901
31899
  description: z.ZodNullable<z.ZodString>;
31902
31900
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31901
+ createdAt: z.ZodString;
31902
+ updatedAt: z.ZodString;
31903
31903
  baseUrl: z.ZodString;
31904
31904
  }, z.core.$strip>>>;
31905
31905
  statusUpdates: z.ZodNullable<z.ZodObject<{
@@ -31918,15 +31918,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31918
31918
  }, z.core.$strip>>>;
31919
31919
  }, z.core.$strict>>;
31920
31920
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31921
- userId: z.ZodNullable<z.ZodString>;
31922
31921
  id: z.ZodString;
31923
- createdAt: z.ZodString;
31924
31922
  name: z.ZodString;
31923
+ createdAt: z.ZodString;
31925
31924
  updatedAt: z.ZodString;
31926
- toolId: z.ZodNullable<z.ZodString>;
31927
- createdBy: z.ZodNullable<z.ZodString>;
31928
31925
  credentialStoreId: z.ZodString;
31929
31926
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31927
+ toolId: z.ZodNullable<z.ZodString>;
31928
+ userId: z.ZodNullable<z.ZodString>;
31929
+ createdBy: z.ZodNullable<z.ZodString>;
31930
31930
  type: z.ZodEnum<{
31931
31931
  readonly memory: "memory";
31932
31932
  readonly keychain: "keychain";
@@ -32511,20 +32511,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32511
32511
  }, z.core.$strip>>>;
32512
32512
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32513
32513
  id: z.ZodString;
32514
- createdAt: z.ZodString;
32515
32514
  name: z.ZodString;
32516
- updatedAt: z.ZodString;
32517
32515
  description: z.ZodNullable<z.ZodString>;
32516
+ createdAt: z.ZodString;
32517
+ updatedAt: z.ZodString;
32518
32518
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32519
32519
  contextConfigId: z.ZodNullable<z.ZodString>;
32520
32520
  executionMode: z.ZodString;
32521
32521
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32522
32522
  id: z.ZodString;
32523
- createdAt: z.ZodString;
32524
32523
  name: z.ZodString;
32525
- updatedAt: z.ZodString;
32526
32524
  description: z.ZodNullable<z.ZodString>;
32527
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32528
32525
  config: z.ZodType<{
32529
32526
  type: "mcp";
32530
32527
  mcp: ToolMcpConfig;
@@ -32540,18 +32537,21 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32540
32537
  }>>;
32541
32538
  credentialReferenceId: z.ZodNullable<z.ZodString>;
32542
32539
  credentialScope: z.ZodString;
32540
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32543
32541
  imageUrl: z.ZodNullable<z.ZodString>;
32544
32542
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
32545
32543
  lastError: z.ZodNullable<z.ZodString>;
32546
32544
  isWorkApp: z.ZodBoolean;
32545
+ createdAt: z.ZodString;
32546
+ updatedAt: z.ZodString;
32547
32547
  }, z.core.$strip>>>;
32548
32548
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32549
32549
  id: z.ZodString;
32550
- createdAt: z.ZodString;
32551
32550
  name: z.ZodString;
32552
- updatedAt: z.ZodString;
32553
32551
  description: z.ZodNullable<z.ZodString>;
32554
32552
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32553
+ createdAt: z.ZodString;
32554
+ updatedAt: z.ZodString;
32555
32555
  baseUrl: z.ZodString;
32556
32556
  }, z.core.$strip>>>;
32557
32557
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32561,11 +32561,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32561
32561
  }, z.core.$strip>>>;
32562
32562
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32563
32563
  id: z.ZodString;
32564
- createdAt: z.ZodString;
32565
32564
  name: z.ZodString;
32565
+ description: z.ZodNullable<z.ZodString>;
32566
+ createdAt: z.ZodString;
32566
32567
  updatedAt: z.ZodString;
32567
32568
  agentId: z.ZodString;
32568
- description: z.ZodNullable<z.ZodString>;
32569
32569
  functionId: z.ZodString;
32570
32570
  relationshipId: z.ZodOptional<z.ZodString>;
32571
32571
  }, z.core.$strip>>>;
@@ -32574,15 +32574,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32574
32574
  createdAt: z.ZodString;
32575
32575
  updatedAt: z.ZodString;
32576
32576
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32577
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32578
32577
  executeCode: z.ZodString;
32578
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32579
32579
  }, z.core.$strip>>>;
32580
32580
  contextConfig: z.ZodNullable<z.ZodObject<{
32581
32581
  id: z.ZodString;
32582
- headersSchema: z.ZodOptional<z.ZodAny>;
32583
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
32584
32582
  createdAt: z.ZodString;
32585
32583
  updatedAt: z.ZodString;
32584
+ headersSchema: z.ZodOptional<z.ZodAny>;
32585
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
32586
32586
  }, z.core.$strip>>;
32587
32587
  statusUpdates: z.ZodNullable<z.ZodObject<{
32588
32588
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32625,10 +32625,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32625
32625
  prompt: z.ZodNullable<z.ZodString>;
32626
32626
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32627
32627
  id: z.ZodString;
32628
- createdAt: z.ZodString;
32629
32628
  name: z.ZodString;
32630
- updatedAt: z.ZodString;
32631
32629
  description: z.ZodNullable<z.ZodString>;
32630
+ createdAt: z.ZodString;
32631
+ updatedAt: z.ZodString;
32632
32632
  models: z.ZodNullable<z.ZodType<{
32633
32633
  base?: {
32634
32634
  model?: string | undefined;
@@ -32762,10 +32762,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32762
32762
  executionMode: z.ZodOptional<z.ZodString>;
32763
32763
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32764
32764
  id: z.ZodString;
32765
- createdAt: z.ZodOptional<z.ZodString>;
32766
32765
  name: z.ZodString;
32767
- updatedAt: z.ZodOptional<z.ZodString>;
32768
32766
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32767
+ createdAt: z.ZodOptional<z.ZodString>;
32768
+ updatedAt: z.ZodOptional<z.ZodString>;
32769
32769
  models: z.ZodOptional<z.ZodObject<{
32770
32770
  base: z.ZodOptional<z.ZodObject<{
32771
32771
  model: z.ZodOptional<z.ZodString>;
@@ -32823,7 +32823,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32823
32823
  id: z.ZodString;
32824
32824
  name: z.ZodString;
32825
32825
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32826
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32827
32826
  config: z.ZodObject<{
32828
32827
  type: z.ZodLiteral<"mcp">;
32829
32828
  mcp: z.ZodObject<{
@@ -32852,6 +32851,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32852
32851
  }, z.core.$strip>;
32853
32852
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32854
32853
  credentialScope: z.ZodOptional<z.ZodString>;
32854
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32855
32855
  imageUrl: z.ZodOptional<z.ZodString>;
32856
32856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32857
32857
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32878,13 +32878,14 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32878
32878
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32879
32879
  id: z.ZodString;
32880
32880
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32881
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32882
32881
  executeCode: z.ZodString;
32882
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32883
32883
  }, z.core.$strip>>>;
32884
32884
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32885
32885
  id: z.ZodOptional<z.ZodString>;
32886
32886
  name: z.ZodString;
32887
32887
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32888
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32888
32889
  enabled: z.ZodOptional<z.ZodBoolean>;
32889
32890
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32890
32891
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -32893,7 +32894,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32893
32894
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32894
32895
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32895
32896
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32896
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32897
32897
  }, z.core.$strip>>>;
32898
32898
  contextConfig: z.ZodOptional<z.ZodObject<{
32899
32899
  id: z.ZodOptional<z.ZodString>;
@@ -32944,19 +32944,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32944
32944
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32945
32945
  data: z.ZodObject<{
32946
32946
  id: z.ZodString;
32947
- createdAt: z.ZodString;
32948
32947
  name: z.ZodString;
32949
- updatedAt: z.ZodString;
32950
32948
  description: z.ZodNullable<z.ZodString>;
32949
+ createdAt: z.ZodString;
32950
+ updatedAt: z.ZodString;
32951
32951
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32952
32952
  contextConfigId: z.ZodNullable<z.ZodString>;
32953
32953
  executionMode: z.ZodString;
32954
32954
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32955
32955
  id: z.ZodString;
32956
- createdAt: z.ZodString;
32957
32956
  name: z.ZodString;
32958
- updatedAt: z.ZodString;
32959
32957
  description: z.ZodNullable<z.ZodString>;
32958
+ createdAt: z.ZodString;
32959
+ updatedAt: z.ZodString;
32960
32960
  models: z.ZodNullable<z.ZodType<{
32961
32961
  base?: {
32962
32962
  model?: string | undefined;
@@ -33070,11 +33070,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33070
33070
  }, z.core.$strip>>;
33071
33071
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33072
33072
  id: z.ZodString;
33073
- createdAt: z.ZodString;
33074
33073
  name: z.ZodString;
33075
- updatedAt: z.ZodString;
33076
33074
  description: z.ZodNullable<z.ZodString>;
33077
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33078
33075
  config: z.ZodType<{
33079
33076
  type: "mcp";
33080
33077
  mcp: ToolMcpConfig;
@@ -33090,18 +33087,21 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33090
33087
  }>>;
33091
33088
  credentialReferenceId: z.ZodNullable<z.ZodString>;
33092
33089
  credentialScope: z.ZodString;
33090
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33093
33091
  imageUrl: z.ZodNullable<z.ZodString>;
33094
33092
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
33095
33093
  lastError: z.ZodNullable<z.ZodString>;
33096
33094
  isWorkApp: z.ZodBoolean;
33095
+ createdAt: z.ZodString;
33096
+ updatedAt: z.ZodString;
33097
33097
  }, z.core.$strip>>>;
33098
33098
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33099
33099
  id: z.ZodString;
33100
- createdAt: z.ZodString;
33101
33100
  name: z.ZodString;
33102
- updatedAt: z.ZodString;
33103
33101
  description: z.ZodNullable<z.ZodString>;
33104
33102
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33103
+ createdAt: z.ZodString;
33104
+ updatedAt: z.ZodString;
33105
33105
  baseUrl: z.ZodString;
33106
33106
  }, z.core.$strip>>>;
33107
33107
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -33111,11 +33111,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33111
33111
  }, z.core.$strip>>>;
33112
33112
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33113
33113
  id: z.ZodString;
33114
- createdAt: z.ZodString;
33115
33114
  name: z.ZodString;
33115
+ description: z.ZodNullable<z.ZodString>;
33116
+ createdAt: z.ZodString;
33116
33117
  updatedAt: z.ZodString;
33117
33118
  agentId: z.ZodString;
33118
- description: z.ZodNullable<z.ZodString>;
33119
33119
  functionId: z.ZodString;
33120
33120
  relationshipId: z.ZodOptional<z.ZodString>;
33121
33121
  }, z.core.$strip>>>;
@@ -33124,15 +33124,15 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33124
33124
  createdAt: z.ZodString;
33125
33125
  updatedAt: z.ZodString;
33126
33126
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33127
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33128
33127
  executeCode: z.ZodString;
33128
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33129
33129
  }, z.core.$strip>>>;
33130
33130
  contextConfig: z.ZodNullable<z.ZodObject<{
33131
33131
  id: z.ZodString;
33132
- headersSchema: z.ZodOptional<z.ZodAny>;
33133
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33134
33132
  createdAt: z.ZodString;
33135
33133
  updatedAt: z.ZodString;
33134
+ headersSchema: z.ZodOptional<z.ZodAny>;
33135
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33136
33136
  }, z.core.$strip>>;
33137
33137
  statusUpdates: z.ZodNullable<z.ZodObject<{
33138
33138
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33196,12 +33196,9 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
33196
33196
  }, z.core.$strip>;
33197
33197
  declare const McpToolResponse: z.ZodObject<{
33198
33198
  data: z.ZodObject<{
33199
- tenantId: z.ZodString;
33200
33199
  id: z.ZodString;
33201
33200
  name: z.ZodString;
33202
- projectId: z.ZodString;
33203
33201
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33204
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33205
33202
  config: z.ZodObject<{
33206
33203
  type: z.ZodLiteral<"mcp">;
33207
33204
  mcp: z.ZodObject<{
@@ -33230,9 +33227,12 @@ declare const McpToolResponse: z.ZodObject<{
33230
33227
  }, z.core.$strip>;
33231
33228
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33232
33229
  credentialScope: z.ZodOptional<z.ZodString>;
33230
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33233
33231
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33234
33232
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33235
33233
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
33234
+ projectId: z.ZodString;
33235
+ tenantId: z.ZodString;
33236
33236
  imageUrl: z.ZodOptional<z.ZodString>;
33237
33237
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
33238
33238
  name: z.ZodString;
@@ -33257,12 +33257,9 @@ declare const McpToolResponse: z.ZodObject<{
33257
33257
  }, z.core.$strip>;
33258
33258
  declare const McpToolListResponse: z.ZodObject<{
33259
33259
  data: z.ZodArray<z.ZodObject<{
33260
- tenantId: z.ZodString;
33261
33260
  id: z.ZodString;
33262
33261
  name: z.ZodString;
33263
- projectId: z.ZodString;
33264
33262
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33265
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33266
33263
  config: z.ZodObject<{
33267
33264
  type: z.ZodLiteral<"mcp">;
33268
33265
  mcp: z.ZodObject<{
@@ -33291,9 +33288,12 @@ declare const McpToolListResponse: z.ZodObject<{
33291
33288
  }, z.core.$strip>;
33292
33289
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33293
33290
  credentialScope: z.ZodOptional<z.ZodString>;
33291
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33294
33292
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33295
33293
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33296
33294
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
33295
+ projectId: z.ZodString;
33296
+ tenantId: z.ZodString;
33297
33297
  imageUrl: z.ZodOptional<z.ZodString>;
33298
33298
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
33299
33299
  name: z.ZodString;
@@ -33325,20 +33325,20 @@ declare const McpToolListResponse: z.ZodObject<{
33325
33325
  declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
33326
33326
  data: z.ZodObject<{
33327
33327
  id: z.ZodString;
33328
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33328
33329
  createdAt: z.ZodString;
33329
33330
  updatedAt: z.ZodString;
33330
33331
  subAgentId: z.ZodString;
33331
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33332
33332
  targetAgentId: z.ZodString;
33333
33333
  }, z.core.$strip>;
33334
33334
  }, z.core.$strip>;
33335
33335
  declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33336
33336
  data: z.ZodArray<z.ZodObject<{
33337
33337
  id: z.ZodString;
33338
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33338
33339
  createdAt: z.ZodString;
33339
33340
  updatedAt: z.ZodString;
33340
33341
  subAgentId: z.ZodString;
33341
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33342
33342
  targetAgentId: z.ZodString;
33343
33343
  }, z.core.$strip>>;
33344
33344
  pagination: z.ZodObject<{
@@ -33351,20 +33351,20 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33351
33351
  declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
33352
33352
  data: z.ZodObject<{
33353
33353
  id: z.ZodString;
33354
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33354
33355
  createdAt: z.ZodString;
33355
33356
  updatedAt: z.ZodString;
33356
33357
  subAgentId: z.ZodString;
33357
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33358
33358
  externalAgentId: z.ZodString;
33359
33359
  }, z.core.$strip>;
33360
33360
  }, z.core.$strip>;
33361
33361
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33362
33362
  data: z.ZodArray<z.ZodObject<{
33363
33363
  id: z.ZodString;
33364
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33364
33365
  createdAt: z.ZodString;
33365
33366
  updatedAt: z.ZodString;
33366
33367
  subAgentId: z.ZodString;
33367
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
33368
33368
  externalAgentId: z.ZodString;
33369
33369
  }, z.core.$strip>>;
33370
33370
  pagination: z.ZodObject<{
@@ -33377,10 +33377,10 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33377
33377
  declare const DataComponentArrayResponse: z.ZodObject<{
33378
33378
  data: z.ZodArray<z.ZodObject<{
33379
33379
  id: z.ZodString;
33380
- createdAt: z.ZodString;
33381
33380
  name: z.ZodString;
33382
- updatedAt: z.ZodString;
33383
33381
  description: z.ZodNullable<z.ZodString>;
33382
+ createdAt: z.ZodString;
33383
+ updatedAt: z.ZodString;
33384
33384
  props: z.ZodType<{
33385
33385
  [x: string]: unknown;
33386
33386
  type: "object";
@@ -33428,10 +33428,10 @@ declare const DataComponentArrayResponse: z.ZodObject<{
33428
33428
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
33429
33429
  data: z.ZodArray<z.ZodObject<{
33430
33430
  id: z.ZodString;
33431
- createdAt: z.ZodString;
33432
33431
  name: z.ZodString;
33433
- updatedAt: z.ZodString;
33434
33432
  description: z.ZodNullable<z.ZodString>;
33433
+ createdAt: z.ZodString;
33434
+ updatedAt: z.ZodString;
33435
33435
  props: z.ZodNullable<z.ZodType<{
33436
33436
  [x: string]: unknown;
33437
33437
  type: "object";
@@ -33783,8 +33783,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
33783
33783
  }>;
33784
33784
  }, undefined>, undefined>;
33785
33785
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
33786
- tenantId: z.ZodString;
33787
33786
  id: z.ZodString;
33787
+ tenantId: z.ZodString;
33788
33788
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33789
33789
  mainBranchName: z.ZodString;
33790
33790
  }, {
@@ -34135,8 +34135,8 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34135
34135
  }>;
34136
34136
  }, undefined>, undefined>;
34137
34137
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34138
- tenantId: z.ZodString;
34139
34138
  id: z.ZodString;
34139
+ tenantId: z.ZodString;
34140
34140
  accountId: z.ZodString;
34141
34141
  installationId: z.ZodString;
34142
34142
  accountLogin: z.ZodString;
@@ -34158,21 +34158,21 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<{
34158
34158
  id: z.ZodString;
34159
34159
  createdAt: z.ZodString;
34160
34160
  updatedAt: z.ZodString;
34161
- status: z.ZodString;
34162
34161
  accountId: z.ZodString;
34162
+ status: z.ZodString;
34163
34163
  installationId: z.ZodString;
34164
34164
  accountLogin: z.ZodString;
34165
34165
  accountType: z.ZodString;
34166
34166
  }, z.core.$strip>;
34167
34167
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34168
34168
  tenantId: z.ZodString;
34169
+ accountId: z.ZodString;
34169
34170
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34170
34171
  pending: "pending";
34171
34172
  active: "active";
34172
34173
  suspended: "suspended";
34173
34174
  disconnected: "disconnected";
34174
34175
  }>>>;
34175
- accountId: z.ZodString;
34176
34176
  installationId: z.ZodString;
34177
34177
  accountLogin: z.ZodString;
34178
34178
  accountType: z.ZodEnum<{
@@ -36354,16 +36354,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
36354
36354
  }, {}, {}>;
36355
36355
  }, undefined>, undefined>;
36356
36356
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
36357
- agentId: z.ZodString;
36358
36357
  projectId: z.ZodString;
36358
+ agentId: z.ZodString;
36359
36359
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36360
36360
  }, {
36361
36361
  out: {};
36362
36362
  in: {};
36363
36363
  }>;
36364
36364
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
36365
- agentId: z.ZodString;
36366
36365
  projectId: z.ZodString;
36366
+ agentId: z.ZodString;
36367
36367
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36368
36368
  agentName: z.ZodString;
36369
36369
  projectName: z.ZodOptional<z.ZodString>;
@@ -36379,8 +36379,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
36379
36379
  selected: "selected";
36380
36380
  }>;
36381
36381
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
36382
- tenantId: z.ZodString;
36383
36382
  projectId: z.ZodString;
36383
+ tenantId: z.ZodString;
36384
36384
  toolId: z.ZodString;
36385
36385
  channelAccessMode: z.ZodEnum<{
36386
36386
  all: "all";
@@ -36609,8 +36609,8 @@ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
36609
36609
  }>;
36610
36610
  }, undefined>, undefined>;
36611
36611
  declare const UserProfileInsertSchema: z.ZodObject<{
36612
- userId: z.ZodString;
36613
36612
  id: z.ZodString;
36613
+ userId: z.ZodString;
36614
36614
  attributes: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36615
36615
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36616
36616
  }, {
@@ -36618,8 +36618,8 @@ declare const UserProfileInsertSchema: z.ZodObject<{
36618
36618
  in: {};
36619
36619
  }>;
36620
36620
  declare const UserProfileUpdateSchema: z.ZodObject<{
36621
- userId: z.ZodOptional<z.ZodString>;
36622
36621
  id: z.ZodOptional<z.ZodString>;
36622
+ userId: z.ZodOptional<z.ZodString>;
36623
36623
  attributes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36624
36624
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36625
36625
  }, {
@@ -36669,13 +36669,13 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
36669
36669
  in: {};
36670
36670
  }>;
36671
36671
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36672
- tenantId: z.ZodString;
36673
36672
  id: z.ZodString;
36674
- agentId: z.ZodString;
36675
36673
  projectId: z.ZodString;
36674
+ tenantId: z.ZodString;
36675
+ agentId: z.ZodString;
36676
36676
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36677
- conversationId: z.ZodString;
36678
36677
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36678
+ conversationId: z.ZodString;
36679
36679
  status: z.ZodDefault<z.ZodEnum<{
36680
36680
  failed: "failed";
36681
36681
  running: "running";
@@ -36687,13 +36687,13 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36687
36687
  in: {};
36688
36688
  }>;
36689
36689
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
36690
- tenantId: z.ZodOptional<z.ZodString>;
36691
36690
  id: z.ZodOptional<z.ZodString>;
36692
- agentId: z.ZodOptional<z.ZodString>;
36693
36691
  projectId: z.ZodOptional<z.ZodString>;
36692
+ tenantId: z.ZodOptional<z.ZodString>;
36693
+ agentId: z.ZodOptional<z.ZodString>;
36694
36694
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36695
- conversationId: z.ZodOptional<z.ZodString>;
36696
36695
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
36696
+ conversationId: z.ZodOptional<z.ZodString>;
36697
36697
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
36698
36698
  failed: "failed";
36699
36699
  running: "running";