@inkeep/agents-core 0.64.7 → 0.64.10

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.
@@ -742,6 +742,8 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
742
742
  id: z.ZodString;
743
743
  name: z.ZodString;
744
744
  description: z.ZodNullable<z.ZodString>;
745
+ createdAt: z.ZodString;
746
+ updatedAt: z.ZodString;
745
747
  models: z.ZodNullable<z.ZodType<{
746
748
  base?: {
747
749
  model?: string | undefined;
@@ -828,8 +830,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
828
830
  }, {
829
831
  stepCountIs?: number | undefined;
830
832
  }>>>;
831
- createdAt: z.ZodString;
832
- updatedAt: z.ZodString;
833
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>;
@@ -837,6 +837,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
837
837
  id: z.ZodString;
838
838
  name: z.ZodString;
839
839
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
+ createdAt: z.ZodOptional<z.ZodString>;
841
+ updatedAt: z.ZodOptional<z.ZodString>;
840
842
  models: z.ZodOptional<z.ZodObject<{
841
843
  base: z.ZodOptional<z.ZodObject<{
842
844
  model: z.ZodOptional<z.ZodString>;
@@ -866,8 +868,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
866
868
  }, {
867
869
  stepCountIs?: number | undefined;
868
870
  }>>>>;
869
- createdAt: z.ZodOptional<z.ZodString>;
870
- updatedAt: z.ZodOptional<z.ZodString>;
871
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>;
@@ -875,6 +875,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
875
875
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
876
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
877
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>>>;
878
880
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
879
881
  base: z.ZodOptional<z.ZodObject<{
880
882
  model: z.ZodOptional<z.ZodString>;
@@ -904,8 +906,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
904
906
  }, {
905
907
  stepCountIs?: number | undefined;
906
908
  }>>>>>>;
907
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
908
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
909
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>;
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod21.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "id" | "name" | "description" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "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>>;
@@ -2828,6 +2828,8 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2828
2828
  id: z.ZodString;
2829
2829
  name: z.ZodString;
2830
2830
  description: z.ZodNullable<z.ZodString>;
2831
+ createdAt: z.ZodString;
2832
+ updatedAt: z.ZodString;
2831
2833
  models: z.ZodNullable<z.ZodType<{
2832
2834
  base?: {
2833
2835
  model?: string | undefined;
@@ -2914,11 +2916,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2914
2916
  }, {
2915
2917
  transferCountIs?: number | undefined;
2916
2918
  }>>>;
2917
- createdAt: z.ZodString;
2918
- updatedAt: z.ZodString;
2919
+ prompt: z.ZodNullable<z.ZodString>;
2919
2920
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2920
2921
  contextConfigId: z.ZodNullable<z.ZodString>;
2921
- prompt: z.ZodNullable<z.ZodString>;
2922
2922
  statusUpdates: z.ZodNullable<z.ZodType<{
2923
2923
  enabled?: boolean | undefined;
2924
2924
  numEvents?: number | undefined;
@@ -3068,9 +3068,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3068
3068
  }, {
3069
3069
  transferCountIs?: number | undefined;
3070
3070
  }>>>>;
3071
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3071
3072
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
3073
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3074
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3075
3075
  enabled?: boolean | undefined;
3076
3076
  numEvents?: number | undefined;
@@ -3219,9 +3219,9 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3219
3219
  }, {
3220
3220
  transferCountIs?: number | undefined;
3221
3221
  }>>>>>>;
3222
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3222
3223
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
3224
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3225
3225
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3226
3226
  enabled?: boolean | undefined;
3227
3227
  numEvents?: number | undefined;
@@ -3473,15 +3473,15 @@ declare const SignatureValidationOptionsSchema: z.ZodObject<{
3473
3473
  */
3474
3474
  declare const SignatureVerificationConfigSchema: z.ZodObject<{
3475
3475
  algorithm: z.ZodEnum<{
3476
+ md5: "md5";
3476
3477
  sha256: "sha256";
3477
3478
  sha512: "sha512";
3478
3479
  sha384: "sha384";
3479
3480
  sha1: "sha1";
3480
- md5: "md5";
3481
3481
  }>;
3482
3482
  encoding: z.ZodEnum<{
3483
- hex: "hex";
3484
3483
  base64: "base64";
3484
+ hex: "hex";
3485
3485
  }>;
3486
3486
  signature: z.ZodObject<{
3487
3487
  source: z.ZodEnum<{
@@ -3569,15 +3569,15 @@ declare const TriggerSelectSchema: z.ZodObject<{
3569
3569
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3570
3570
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3571
3571
  algorithm: z.ZodEnum<{
3572
+ md5: "md5";
3572
3573
  sha256: "sha256";
3573
3574
  sha512: "sha512";
3574
3575
  sha384: "sha384";
3575
3576
  sha1: "sha1";
3576
- md5: "md5";
3577
3577
  }>;
3578
3578
  encoding: z.ZodEnum<{
3579
- hex: "hex";
3580
3579
  base64: "base64";
3580
+ hex: "hex";
3581
3581
  }>;
3582
3582
  signature: z.ZodObject<{
3583
3583
  source: z.ZodEnum<{
@@ -3775,8 +3775,8 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
3775
3775
  dataType: "json";
3776
3776
  columnType: "PgJsonb";
3777
3777
  data: {
3778
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3779
- encoding: "hex" | "base64";
3778
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
3779
+ encoding: "base64" | "hex";
3780
3780
  signature: {
3781
3781
  source: "query" | "header" | "body";
3782
3782
  key: string;
@@ -3812,8 +3812,8 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
3812
3812
  generated: undefined;
3813
3813
  }, {}, {
3814
3814
  $type: {
3815
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3816
- encoding: "hex" | "base64";
3815
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
3816
+ encoding: "base64" | "hex";
3817
3817
  signature: {
3818
3818
  source: "query" | "header" | "body";
3819
3819
  key: string;
@@ -4145,8 +4145,8 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4145
4145
  dataType: "json";
4146
4146
  columnType: "PgJsonb";
4147
4147
  data: {
4148
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4149
- encoding: "hex" | "base64";
4148
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
4149
+ encoding: "base64" | "hex";
4150
4150
  signature: {
4151
4151
  source: "query" | "header" | "body";
4152
4152
  key: string;
@@ -4182,8 +4182,8 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4182
4182
  generated: undefined;
4183
4183
  }, {}, {
4184
4184
  $type: {
4185
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4186
- encoding: "hex" | "base64";
4185
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
4186
+ encoding: "base64" | "hex";
4187
4187
  signature: {
4188
4188
  source: "query" | "header" | "body";
4189
4189
  key: string;
@@ -4358,7 +4358,7 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4358
4358
  }, {}, {
4359
4359
  length: 256;
4360
4360
  }>;
4361
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "enabled" | "agentId" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4361
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "createdBy" | "createdAt" | "updatedAt" | "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>>;
@@ -4385,10 +4385,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4385
4385
  id: z.ZodString;
4386
4386
  name: z.ZodString;
4387
4387
  description: z.ZodNullable<z.ZodString>;
4388
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4388
4389
  createdAt: z.ZodString;
4389
4390
  updatedAt: z.ZodString;
4390
4391
  enabled: z.ZodBoolean;
4391
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4392
4392
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4393
4393
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4394
4394
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -4396,15 +4396,15 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4396
4396
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4397
4397
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4398
4398
  algorithm: z.ZodEnum<{
4399
+ md5: "md5";
4399
4400
  sha256: "sha256";
4400
4401
  sha512: "sha512";
4401
4402
  sha384: "sha384";
4402
4403
  sha1: "sha1";
4403
- md5: "md5";
4404
4404
  }>;
4405
4405
  encoding: z.ZodEnum<{
4406
- hex: "hex";
4407
4406
  base64: "base64";
4407
+ hex: "hex";
4408
4408
  }>;
4409
4409
  signature: z.ZodObject<{
4410
4410
  source: z.ZodEnum<{
@@ -4445,8 +4445,8 @@ 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
- enabled: z.ZodOptional<z.ZodBoolean>;
4449
4448
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4449
+ enabled: z.ZodOptional<z.ZodBoolean>;
4450
4450
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4451
4451
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4452
4452
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4459,10 +4459,10 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4459
4459
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4460
4460
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4461
4461
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4462
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4462
4463
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4463
4464
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4464
4465
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4465
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4466
4466
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4467
4467
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4468
4468
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4475,10 +4475,10 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4475
4475
  id: z.ZodString;
4476
4476
  name: z.ZodString;
4477
4477
  description: z.ZodNullable<z.ZodString>;
4478
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4478
4479
  createdAt: z.ZodString;
4479
4480
  updatedAt: z.ZodString;
4480
4481
  enabled: z.ZodBoolean;
4481
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4482
4482
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4483
4483
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4484
4484
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -4486,15 +4486,15 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4486
4486
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4487
4487
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4488
4488
  algorithm: z.ZodEnum<{
4489
+ md5: "md5";
4489
4490
  sha256: "sha256";
4490
4491
  sha512: "sha512";
4491
4492
  sha384: "sha384";
4492
4493
  sha1: "sha1";
4493
- md5: "md5";
4494
4494
  }>;
4495
4495
  encoding: z.ZodEnum<{
4496
- hex: "hex";
4497
4496
  base64: "base64";
4497
+ hex: "hex";
4498
4498
  }>;
4499
4499
  signature: z.ZodObject<{
4500
4500
  source: z.ZodEnum<{
@@ -5015,7 +5015,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<"insert",
5015
5015
  }, {}, {
5016
5016
  length: 256;
5017
5017
  }>;
5018
- }, "id" | "ref" | "createdAt" | "tenantId" | "projectId" | "agentId" | "status" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5018
+ }, "tenantId" | "projectId" | "id" | "ref" | "createdAt" | "agentId" | "conversationId" | "status" | "triggerId" | "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>>>;
@@ -5061,8 +5061,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5061
5061
  hash: z.ZodString;
5062
5062
  }, z.core.$strip>>>;
5063
5063
  createdAt: z.ZodString;
5064
- status: z.ZodString;
5065
5064
  conversationId: z.ZodNullable<z.ZodString>;
5065
+ status: z.ZodString;
5066
5066
  triggerId: z.ZodString;
5067
5067
  requestPayload: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
5068
5068
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
@@ -5087,8 +5087,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5087
5087
  hash: string;
5088
5088
  }>>>>;
5089
5089
  createdAt: z.ZodOptional<z.ZodString>;
5090
- status: z.ZodOptional<z.ZodString>;
5091
5090
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5091
+ status: z.ZodOptional<z.ZodString>;
5092
5092
  triggerId: z.ZodString;
5093
5093
  requestPayload: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
5094
5094
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
@@ -5115,8 +5115,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5115
5115
  hash: string;
5116
5116
  }>>>>>>;
5117
5117
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5118
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5119
5118
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5119
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5120
5120
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5121
5121
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
5122
5122
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
@@ -5150,15 +5150,15 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5150
5150
  in: {};
5151
5151
  }>;
5152
5152
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5153
+ tenantId: z.ZodString;
5154
+ projectId: z.ZodString;
5153
5155
  id: z.ZodString;
5154
5156
  name: z.ZodString;
5155
5157
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
5158
  ref: z.ZodOptional<z.ZodString>;
5157
- tenantId: z.ZodString;
5158
- projectId: z.ZodString;
5159
- enabled: z.ZodOptional<z.ZodBoolean>;
5160
- agentId: z.ZodString;
5161
5159
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
+ agentId: z.ZodString;
5161
+ enabled: z.ZodOptional<z.ZodBoolean>;
5162
5162
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
5163
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5164
5164
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5173,13 +5173,13 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5173
5173
  in: {};
5174
5174
  }>;
5175
5175
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5176
+ tenantId: z.ZodOptional<z.ZodString>;
5177
+ projectId: z.ZodOptional<z.ZodString>;
5176
5178
  id: z.ZodOptional<z.ZodString>;
5177
5179
  name: z.ZodOptional<z.ZodString>;
5178
5180
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
- tenantId: z.ZodOptional<z.ZodString>;
5180
- projectId: z.ZodOptional<z.ZodString>;
5181
- agentId: z.ZodOptional<z.ZodString>;
5182
5181
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5182
+ agentId: z.ZodOptional<z.ZodString>;
5183
5183
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5184
5184
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5185
5185
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5200,10 +5200,10 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5200
5200
  name: z.ZodString;
5201
5201
  description: z.ZodNullable<z.ZodString>;
5202
5202
  ref: z.ZodString;
5203
+ createdBy: z.ZodNullable<z.ZodString>;
5203
5204
  createdAt: z.ZodString;
5204
5205
  updatedAt: z.ZodString;
5205
5206
  enabled: z.ZodBoolean;
5206
- createdBy: z.ZodNullable<z.ZodString>;
5207
5207
  messageTemplate: z.ZodNullable<z.ZodString>;
5208
5208
  runAsUserId: z.ZodNullable<z.ZodString>;
5209
5209
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -5219,8 +5219,8 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5219
5219
  name: z.ZodString;
5220
5220
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
5221
  ref: z.ZodOptional<z.ZodString>;
5222
- enabled: z.ZodOptional<z.ZodBoolean>;
5223
5222
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5223
+ enabled: z.ZodOptional<z.ZodBoolean>;
5224
5224
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5225
5225
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5226
5226
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5236,8 +5236,8 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5236
5236
  name: z.ZodString;
5237
5237
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5238
  ref: z.ZodOptional<z.ZodString>;
5239
- enabled: z.ZodOptional<z.ZodBoolean>;
5240
5239
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5240
+ enabled: z.ZodOptional<z.ZodBoolean>;
5241
5241
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5242
5242
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5243
5243
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5254,8 +5254,8 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5254
5254
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5255
5255
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5256
5256
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5257
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5258
5257
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5258
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5259
5259
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5260
5260
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5261
5261
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5877,7 +5877,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5877
5877
  }, {}, {
5878
5878
  length: 256;
5879
5879
  }>;
5880
- }, "id" | "ref" | "createdAt" | "tenantId" | "projectId" | "agentId" | "conversationIds" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5880
+ }, "tenantId" | "projectId" | "id" | "ref" | "createdAt" | "agentId" | "conversationIds" | "status" | "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<{
@@ -6226,6 +6226,7 @@ declare const TaskUpdateSchema: z.ZodObject<{
6226
6226
  }>;
6227
6227
  declare const TaskApiSelectSchema: z.ZodObject<{
6228
6228
  id: z.ZodString;
6229
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6229
6230
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6230
6231
  type: z.ZodEnum<{
6231
6232
  commit: "commit";
@@ -6237,7 +6238,6 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6237
6238
  }, z.core.$strip>>>;
6238
6239
  createdAt: z.ZodString;
6239
6240
  updatedAt: z.ZodString;
6240
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6241
6241
  agentId: z.ZodString;
6242
6242
  subAgentId: z.ZodString;
6243
6243
  status: z.ZodString;
@@ -6245,6 +6245,7 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6245
6245
  }, z.core.$strip>;
6246
6246
  declare const TaskApiInsertSchema: z.ZodObject<{
6247
6247
  id: z.ZodString;
6248
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6248
6249
  ref: z.ZodObject<{
6249
6250
  type: z.ZodEnum<{
6250
6251
  commit: "commit";
@@ -6256,15 +6257,15 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6256
6257
  }, z.core.$strip>;
6257
6258
  createdAt: z.ZodOptional<z.ZodString>;
6258
6259
  updatedAt: z.ZodOptional<z.ZodString>;
6259
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6260
6260
  agentId: z.ZodString;
6261
6261
  subAgentId: z.ZodString;
6262
+ conversationId: z.ZodOptional<z.ZodString>;
6262
6263
  status: z.ZodString;
6263
6264
  contextId: z.ZodString;
6264
- conversationId: z.ZodOptional<z.ZodString>;
6265
6265
  }, z.core.$strip>;
6266
6266
  declare const TaskApiUpdateSchema: z.ZodObject<{
6267
6267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6268
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6268
6269
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6269
6270
  type: z.ZodEnum<{
6270
6271
  commit: "commit";
@@ -6276,12 +6277,11 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6276
6277
  }, z.core.$strip>>>;
6277
6278
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6278
6279
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6279
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6280
6280
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6281
6281
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6282
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6282
6283
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6283
6284
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6284
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6285
6285
  }, z.core.$strip>;
6286
6286
  declare const TaskRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
6287
6287
  createdAt: drizzle_orm_pg_core937.PgColumn<{
@@ -7216,11 +7216,12 @@ declare const ToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
7216
7216
  }>;
7217
7217
  }, undefined>, undefined>;
7218
7218
  declare const ToolInsertSchema: z.ZodObject<{
7219
+ tenantId: z.ZodString;
7220
+ projectId: z.ZodString;
7219
7221
  id: z.ZodString;
7220
7222
  name: z.ZodString;
7221
7223
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7222
- tenantId: z.ZodString;
7223
- projectId: z.ZodString;
7224
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7224
7225
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7225
7226
  config: z.ZodObject<{
7226
7227
  type: z.ZodLiteral<"mcp">;
@@ -7248,7 +7249,6 @@ declare const ToolInsertSchema: z.ZodObject<{
7248
7249
  prompt: z.ZodOptional<z.ZodString>;
7249
7250
  }, z.core.$strip>;
7250
7251
  }, z.core.$strip>;
7251
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
7252
  credentialScope: z.ZodOptional<z.ZodString>;
7253
7253
  imageUrl: z.ZodOptional<z.ZodString>;
7254
7254
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -7337,6 +7337,7 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7337
7337
  }>;
7338
7338
  declare const ConversationApiSelectSchema: z.ZodObject<{
7339
7339
  id: z.ZodString;
7340
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7340
7341
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7341
7342
  type: z.ZodEnum<{
7342
7343
  commit: "commit";
@@ -7346,17 +7347,17 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7346
7347
  name: z.ZodString;
7347
7348
  hash: z.ZodString;
7348
7349
  }, z.core.$strip>>>;
7349
- title: z.ZodNullable<z.ZodString>;
7350
+ userId: z.ZodNullable<z.ZodString>;
7350
7351
  createdAt: z.ZodString;
7351
7352
  updatedAt: z.ZodString;
7352
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7353
+ title: z.ZodNullable<z.ZodString>;
7353
7354
  agentId: z.ZodNullable<z.ZodString>;
7354
- userId: z.ZodNullable<z.ZodString>;
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
7359
  id: z.ZodString;
7360
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7360
7361
  ref: z.ZodObject<{
7361
7362
  type: z.ZodEnum<{
7362
7363
  commit: "commit";
@@ -7366,18 +7367,18 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7366
7367
  name: z.ZodString;
7367
7368
  hash: z.ZodString;
7368
7369
  }, z.core.$strip>;
7369
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7370
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7370
7371
  createdAt: z.ZodOptional<z.ZodString>;
7371
7372
  updatedAt: z.ZodOptional<z.ZodString>;
7372
- contextConfigId: z.ZodOptional<z.ZodString>;
7373
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7373
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7374
7374
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7375
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7375
+ contextConfigId: z.ZodOptional<z.ZodString>;
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
7380
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7381
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7381
7382
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7382
7383
  type: z.ZodEnum<{
7383
7384
  commit: "commit";
@@ -7387,13 +7388,12 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7387
7388
  name: z.ZodString;
7388
7389
  hash: z.ZodString;
7389
7390
  }, z.core.$strip>>>;
7390
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7391
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7391
7392
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7392
7393
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7393
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7394
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7394
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7395
7395
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7396
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7396
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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>;
@@ -8244,12 +8244,12 @@ declare const MessageUpdateSchema: z.ZodObject<{
8244
8244
  }>;
8245
8245
  declare const MessageApiSelectSchema: z.ZodObject<{
8246
8246
  id: z.ZodString;
8247
- createdAt: z.ZodString;
8248
- updatedAt: z.ZodString;
8249
8247
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8250
8248
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8251
- role: z.ZodString;
8249
+ createdAt: z.ZodString;
8250
+ updatedAt: z.ZodString;
8252
8251
  conversationId: z.ZodString;
8252
+ role: z.ZodString;
8253
8253
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8254
8254
  toSubAgentId: z.ZodNullable<z.ZodString>;
8255
8255
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
@@ -8265,12 +8265,12 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8265
8265
  }, z.core.$strip>;
8266
8266
  declare const MessageApiInsertSchema: z.ZodObject<{
8267
8267
  id: z.ZodString;
8268
- createdAt: z.ZodOptional<z.ZodString>;
8269
- updatedAt: z.ZodOptional<z.ZodString>;
8270
8268
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8271
8269
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8272
- role: z.ZodString;
8270
+ createdAt: z.ZodOptional<z.ZodString>;
8271
+ updatedAt: z.ZodOptional<z.ZodString>;
8273
8272
  conversationId: z.ZodString;
8273
+ role: z.ZodString;
8274
8274
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8275
8275
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8276
8276
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8286,12 +8286,12 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8286
8286
  }, z.core.$strip>;
8287
8287
  declare const MessageApiUpdateSchema: z.ZodObject<{
8288
8288
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8289
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8290
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8291
8289
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8292
8290
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8293
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8292
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8294
8293
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8294
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8295
8295
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8296
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8297
8297
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8394,9 +8394,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
8394
8394
  name: z.ZodString;
8395
8395
  hash: z.ZodString;
8396
8396
  }, z.core.$strip>>>;
8397
- value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8398
8397
  createdAt: z.ZodString;
8399
8398
  updatedAt: z.ZodString;
8399
+ value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8400
8400
  contextConfigId: z.ZodString;
8401
8401
  conversationId: z.ZodString;
8402
8402
  contextVariableKey: z.ZodString;
@@ -8415,9 +8415,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
8415
8415
  name: z.ZodString;
8416
8416
  hash: z.ZodString;
8417
8417
  }, z.core.$strip>;
8418
- value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8419
8418
  createdAt: z.ZodOptional<z.ZodString>;
8420
8419
  updatedAt: z.ZodOptional<z.ZodString>;
8420
+ value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8421
8421
  contextConfigId: z.ZodString;
8422
8422
  conversationId: z.ZodString;
8423
8423
  contextVariableKey: z.ZodString;
@@ -8436,9 +8436,9 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8436
8436
  name: z.ZodString;
8437
8437
  hash: z.ZodString;
8438
8438
  }, z.core.$strip>>>;
8439
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
8440
8439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8441
8440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8441
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
8442
8442
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8443
8443
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8444
8444
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -8542,8 +8542,8 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
8542
8542
  createdAt: z.ZodString;
8543
8543
  updatedAt: z.ZodString;
8544
8544
  datasetId: z.ZodString;
8545
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8546
8545
  datasetRunConfigId: z.ZodNullable<z.ZodString>;
8546
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8547
8547
  }, z.core.$strip>;
8548
8548
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
8549
8549
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -8566,8 +8566,8 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8566
8566
  createdAt: z.ZodOptional<z.ZodString>;
8567
8567
  updatedAt: z.ZodOptional<z.ZodString>;
8568
8568
  datasetId: z.ZodString;
8569
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
8569
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8571
8571
  }, z.core.$strip>;
8572
8572
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8573
8573
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -8590,8 +8590,8 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8590
8590
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8591
8591
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8592
8592
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8593
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
8593
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8595
8595
  }, z.core.$strip>;
8596
8596
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
8597
8597
  createdAt: drizzle_orm_pg_core937.PgColumn<{
@@ -9282,26 +9282,26 @@ 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;
9288
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9289
9289
  evaluatorId: z.ZodString;
9290
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>;
9296
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9297
9297
  evaluatorId: z.ZodString;
9298
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>>>;
9304
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9305
9305
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9306
9306
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9307
9307
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -11942,6 +11942,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
11942
11942
  id: z.ZodString;
11943
11943
  name: z.ZodString;
11944
11944
  description: z.ZodNullable<z.ZodString>;
11945
+ createdAt: z.ZodString;
11946
+ updatedAt: z.ZodString;
11945
11947
  model: z.ZodType<{
11946
11948
  model?: string | undefined;
11947
11949
  providerOptions?: Record<string, unknown> | undefined;
@@ -11963,8 +11965,6 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
11963
11965
  fallbackModels?: string[] | undefined;
11964
11966
  allowedProviders?: string[] | undefined;
11965
11967
  }>>;
11966
- createdAt: z.ZodString;
11967
- updatedAt: z.ZodString;
11968
11968
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
11969
11969
  prompt: z.ZodString;
11970
11970
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
@@ -11972,6 +11972,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
11972
11972
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
11973
11973
  name: z.ZodString;
11974
11974
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11975
+ createdAt: z.ZodOptional<z.ZodString>;
11976
+ updatedAt: z.ZodOptional<z.ZodString>;
11975
11977
  model: z.ZodType<{
11976
11978
  model?: string | undefined;
11977
11979
  providerOptions?: Record<string, unknown> | undefined;
@@ -11993,8 +11995,6 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
11993
11995
  fallbackModels?: string[] | undefined;
11994
11996
  allowedProviders?: string[] | undefined;
11995
11997
  }>>;
11996
- createdAt: z.ZodOptional<z.ZodString>;
11997
- updatedAt: z.ZodOptional<z.ZodString>;
11998
11998
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
11999
11999
  prompt: z.ZodString;
12000
12000
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
@@ -12002,6 +12002,8 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12002
12002
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12003
12003
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12004
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>>>;
12005
12007
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12006
12008
  model?: string | undefined;
12007
12009
  providerOptions?: Record<string, unknown> | undefined;
@@ -12023,8 +12025,6 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12023
12025
  fallbackModels?: string[] | undefined;
12024
12026
  allowedProviders?: string[] | undefined;
12025
12027
  }>>>>;
12026
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12027
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12028
12028
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12029
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>>>>>>;
@@ -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>;
@@ -14269,11 +14269,11 @@ declare const DataComponentSelectSchema: drizzle_zod21.BuildSchema<"select", {
14269
14269
  }>;
14270
14270
  }, undefined>, undefined>;
14271
14271
  declare const DataComponentInsertSchema: z.ZodObject<{
14272
+ tenantId: z.ZodString;
14273
+ projectId: z.ZodString;
14272
14274
  id: z.ZodString;
14273
14275
  name: z.ZodString;
14274
14276
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14275
- tenantId: z.ZodString;
14276
- projectId: 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
+ projectId: z.ZodOptional<z.ZodString>;
14324
14326
  id: z.ZodOptional<z.ZodString>;
14325
14327
  name: z.ZodOptional<z.ZodString>;
14326
14328
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14327
- tenantId: z.ZodOptional<z.ZodString>;
14328
- projectId: z.ZodOptional<z.ZodString>;
14329
14329
  props: z.ZodOptional<z.ZodType<{
14330
14330
  [x: string]: unknown;
14331
14331
  type: "object";
@@ -15000,7 +15000,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod21.BuildSchema<"inse
15000
15000
  }, {}, {
15001
15001
  length: 256;
15002
15002
  }>;
15003
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15003
+ }, "tenantId" | "projectId" | "id" | "createdAt" | "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>>;
@@ -15964,25 +15964,25 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
15964
15964
  in: {};
15965
15965
  }>;
15966
15966
  declare const ExternalAgentInsertSchema: z.ZodObject<{
15967
+ tenantId: z.ZodString;
15968
+ projectId: z.ZodString;
15967
15969
  id: z.ZodString;
15968
15970
  name: z.ZodString;
15969
15971
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15970
- tenantId: z.ZodString;
15971
- projectId: z.ZodString;
15972
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15973
15972
  baseUrl: z.ZodURL;
15973
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15974
15974
  }, {
15975
15975
  out: {};
15976
15976
  in: {};
15977
15977
  }>;
15978
15978
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
15979
+ tenantId: z.ZodOptional<z.ZodString>;
15980
+ projectId: z.ZodOptional<z.ZodString>;
15979
15981
  id: z.ZodOptional<z.ZodString>;
15980
15982
  name: z.ZodOptional<z.ZodString>;
15981
15983
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15982
- tenantId: z.ZodOptional<z.ZodString>;
15983
- projectId: z.ZodOptional<z.ZodString>;
15984
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15985
15984
  baseUrl: z.ZodOptional<z.ZodURL>;
15985
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15986
15986
  }, {
15987
15987
  out: {};
15988
15988
  in: {};
@@ -15993,27 +15993,29 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<{
15993
15993
  description: z.ZodNullable<z.ZodString>;
15994
15994
  createdAt: z.ZodString;
15995
15995
  updatedAt: z.ZodString;
15996
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15997
15996
  baseUrl: z.ZodString;
15997
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15998
15998
  }, z.core.$strip>;
15999
15999
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
16000
16000
  id: z.ZodString;
16001
16001
  name: z.ZodString;
16002
16002
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16003
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16004
16003
  baseUrl: z.ZodURL;
16004
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16005
16005
  }, z.core.$strip>;
16006
16006
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16007
16007
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16008
16008
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16009
16009
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16010
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16011
16010
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16011
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16012
16012
  }, z.core.$strip>;
16013
16013
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16014
16014
  id: z.ZodString;
16015
16015
  name: z.ZodString;
16016
16016
  description: z.ZodNullable<z.ZodString>;
16017
+ createdAt: z.ZodString;
16018
+ updatedAt: z.ZodString;
16017
16019
  models: z.ZodNullable<z.ZodType<{
16018
16020
  base?: {
16019
16021
  model?: string | undefined;
@@ -16100,8 +16102,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16100
16102
  }, {
16101
16103
  stepCountIs?: number | undefined;
16102
16104
  }>>>;
16103
- createdAt: z.ZodString;
16104
- updatedAt: z.ZodString;
16105
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">;
@@ -16111,8 +16111,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16111
16111
  description: z.ZodNullable<z.ZodString>;
16112
16112
  createdAt: z.ZodString;
16113
16113
  updatedAt: z.ZodString;
16114
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16115
16114
  baseUrl: z.ZodString;
16115
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16116
16116
  type: z.ZodLiteral<"external">;
16117
16117
  }, z.core.$strip>], "type">;
16118
16118
  declare const ApiKeySelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -17427,13 +17427,13 @@ 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
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17430
17432
  name: z.ZodOptional<z.ZodString>;
17431
17433
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17432
17434
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17433
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17434
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17435
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17436
17435
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17436
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17437
17437
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17438
17438
  type: z.ZodLiteral<"web_client">;
17439
17439
  webClient: z.ZodObject<{
@@ -18044,16 +18044,16 @@ declare const AppApiSelectSchema: drizzle_zod21.BuildSchema<"select", {
18044
18044
  }, {}, {}>;
18045
18045
  }, undefined>, undefined>;
18046
18046
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18047
- type: z.ZodString;
18047
+ tenantId: z.ZodNullable<z.ZodString>;
18048
+ projectId: z.ZodNullable<z.ZodString>;
18048
18049
  id: z.ZodString;
18049
18050
  name: z.ZodString;
18050
18051
  description: z.ZodNullable<z.ZodString>;
18052
+ type: z.ZodString;
18051
18053
  createdAt: z.ZodString;
18052
18054
  updatedAt: z.ZodString;
18053
- tenantId: z.ZodNullable<z.ZodString>;
18054
- projectId: z.ZodNullable<z.ZodString>;
18055
- enabled: z.ZodBoolean;
18056
18055
  prompt: z.ZodNullable<z.ZodString>;
18056
+ enabled: z.ZodBoolean;
18057
18057
  lastUsedAt: z.ZodNullable<z.ZodString>;
18058
18058
  defaultProjectId: z.ZodNullable<z.ZodString>;
18059
18059
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18087,18 +18087,18 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18087
18087
  in: {};
18088
18088
  }>;
18089
18089
  declare const AppApiInsertSchema: z.ZodObject<{
18090
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18091
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18092
+ name: z.ZodString;
18093
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18090
18094
  type: z.ZodEnum<{
18091
18095
  web_client: "web_client";
18092
18096
  api: "api";
18093
18097
  }>;
18094
- name: z.ZodString;
18095
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18096
18098
  createdAt: z.ZodOptional<z.ZodString>;
18097
18099
  updatedAt: z.ZodOptional<z.ZodString>;
18098
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18099
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18100
- enabled: z.ZodOptional<z.ZodBoolean>;
18101
18100
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18101
+ enabled: z.ZodOptional<z.ZodBoolean>;
18102
18102
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18103
18103
  type: z.ZodLiteral<"web_client">;
18104
18104
  webClient: z.ZodObject<{
@@ -18131,13 +18131,13 @@ 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
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18134
18136
  name: z.ZodOptional<z.ZodString>;
18135
18137
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18136
18138
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18137
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18138
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18139
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18140
18139
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18140
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18141
18141
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18142
18142
  type: z.ZodLiteral<"web_client">;
18143
18143
  webClient: z.ZodObject<{
@@ -18173,16 +18173,16 @@ 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;
18176
+ tenantId: z.ZodNullable<z.ZodString>;
18177
+ projectId: z.ZodNullable<z.ZodString>;
18177
18178
  id: z.ZodString;
18178
18179
  name: z.ZodString;
18179
18180
  description: z.ZodNullable<z.ZodString>;
18181
+ type: z.ZodString;
18180
18182
  createdAt: z.ZodString;
18181
18183
  updatedAt: z.ZodString;
18182
- tenantId: z.ZodNullable<z.ZodString>;
18183
- projectId: z.ZodNullable<z.ZodString>;
18184
- enabled: z.ZodBoolean;
18185
18184
  prompt: z.ZodNullable<z.ZodString>;
18185
+ enabled: z.ZodBoolean;
18186
18186
  lastUsedAt: z.ZodNullable<z.ZodString>;
18187
18187
  defaultProjectId: z.ZodNullable<z.ZodString>;
18188
18188
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18669,14 +18669,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod21.BuildSchema<"select
18669
18669
  }>;
18670
18670
  }, undefined>, undefined>;
18671
18671
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18672
- type: z.ZodString;
18673
- id: z.ZodString;
18674
- name: z.ZodString;
18675
18672
  tenantId: z.ZodString;
18676
18673
  projectId: z.ZodString;
18677
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18674
+ id: z.ZodString;
18675
+ name: z.ZodString;
18676
+ type: z.ZodString;
18678
18677
  credentialStoreId: z.ZodString;
18679
18678
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18679
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18680
18680
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18681
18681
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18682
18682
  }, {
@@ -18684,14 +18684,14 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
18684
18684
  in: {};
18685
18685
  }>;
18686
18686
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18687
- type: z.ZodOptional<z.ZodString>;
18688
- id: z.ZodOptional<z.ZodString>;
18689
- name: z.ZodOptional<z.ZodString>;
18690
18687
  tenantId: z.ZodOptional<z.ZodString>;
18691
18688
  projectId: z.ZodOptional<z.ZodString>;
18692
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18689
+ id: z.ZodOptional<z.ZodString>;
18690
+ name: z.ZodOptional<z.ZodString>;
18691
+ type: z.ZodOptional<z.ZodString>;
18693
18692
  credentialStoreId: z.ZodOptional<z.ZodString>;
18694
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
18695
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18696
18696
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18697
18697
  }, {
@@ -18701,13 +18701,13 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18701
18701
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18702
18702
  id: z.ZodString;
18703
18703
  name: z.ZodString;
18704
- createdAt: z.ZodString;
18705
- updatedAt: z.ZodString;
18706
- toolId: z.ZodNullable<z.ZodString>;
18707
18704
  credentialStoreId: z.ZodString;
18708
18705
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
18706
+ toolId: z.ZodNullable<z.ZodString>;
18709
18707
  userId: z.ZodNullable<z.ZodString>;
18710
18708
  createdBy: z.ZodNullable<z.ZodString>;
18709
+ createdAt: z.ZodString;
18710
+ updatedAt: z.ZodString;
18711
18711
  type: z.ZodEnum<{
18712
18712
  readonly memory: "memory";
18713
18713
  readonly keychain: "keychain";
@@ -19293,9 +19293,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19293
19293
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19294
19294
  id: z.ZodString;
19295
19295
  name: z.ZodString;
19296
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19297
19296
  credentialStoreId: z.ZodString;
19298
19297
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19298
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19299
19299
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19300
19300
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19301
19301
  type: z.ZodEnum<{
@@ -19308,9 +19308,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19308
19308
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19309
19309
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19310
19310
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19311
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19312
19311
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19313
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
19314
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19315
19315
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19316
19316
  type: z.ZodOptional<z.ZodEnum<{
@@ -19377,11 +19377,12 @@ 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
+ projectId: z.ZodString;
19380
19382
  id: z.ZodString;
19381
19383
  name: z.ZodString;
19382
19384
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19383
- tenantId: z.ZodString;
19384
- projectId: z.ZodString;
19385
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19385
19386
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19386
19387
  config: z.ZodObject<{
19387
19388
  type: z.ZodLiteral<"mcp">;
@@ -19409,7 +19410,6 @@ declare const McpToolSchema: z.ZodObject<{
19409
19410
  prompt: z.ZodOptional<z.ZodString>;
19410
19411
  }, z.core.$strip>;
19411
19412
  }, z.core.$strip>;
19412
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19413
19413
  credentialScope: z.ZodOptional<z.ZodString>;
19414
19414
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19415
19415
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19438,20 +19438,20 @@ declare const McpToolSchema: z.ZodObject<{
19438
19438
  declare const MCPToolConfigSchema: z.ZodObject<{
19439
19439
  id: z.ZodString;
19440
19440
  name: z.ZodString;
19441
+ createdBy: z.ZodOptional<z.ZodString>;
19442
+ relationshipId: z.ZodOptional<z.ZodString>;
19441
19443
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19442
19444
  credentialScope: z.ZodOptional<z.ZodString>;
19443
19445
  imageUrl: z.ZodOptional<z.ZodString>;
19444
19446
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19445
19447
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19446
19448
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19447
- createdBy: z.ZodOptional<z.ZodString>;
19448
- relationshipId: z.ZodOptional<z.ZodString>;
19449
+ expiresAt: z.ZodOptional<z.ZodString>;
19449
19450
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19450
19451
  name: z.ZodString;
19451
19452
  description: z.ZodOptional<z.ZodString>;
19452
19453
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19453
19454
  }, z.core.$strip>>>;
19454
- expiresAt: z.ZodOptional<z.ZodString>;
19455
19455
  tenantId: z.ZodOptional<z.ZodString>;
19456
19456
  projectId: z.ZodOptional<z.ZodString>;
19457
19457
  description: z.ZodOptional<z.ZodString>;
@@ -19474,9 +19474,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19474
19474
  credential: z.ZodOptional<z.ZodObject<{
19475
19475
  id: z.ZodString;
19476
19476
  name: z.ZodString;
19477
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19478
19477
  credentialStoreId: z.ZodString;
19479
19478
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19479
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19480
19480
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19481
19481
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19482
19482
  type: z.ZodEnum<{
@@ -19498,11 +19498,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19498
19498
  in: {};
19499
19499
  }>;
19500
19500
  declare const ToolUpdateSchema: z.ZodObject<{
19501
+ tenantId: z.ZodOptional<z.ZodString>;
19502
+ projectId: z.ZodOptional<z.ZodString>;
19501
19503
  id: z.ZodOptional<z.ZodString>;
19502
19504
  name: z.ZodOptional<z.ZodString>;
19503
19505
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
- tenantId: z.ZodOptional<z.ZodString>;
19505
- projectId: z.ZodOptional<z.ZodString>;
19506
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19506
19507
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19507
19508
  config: z.ZodOptional<z.ZodObject<{
19508
19509
  type: z.ZodLiteral<"mcp">;
@@ -19530,7 +19531,6 @@ declare const ToolUpdateSchema: z.ZodObject<{
19530
19531
  prompt: z.ZodOptional<z.ZodString>;
19531
19532
  }, z.core.$strip>;
19532
19533
  }, z.core.$strip>>;
19533
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19534
19534
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19535
19535
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19536
19536
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
@@ -19546,6 +19546,7 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19546
19546
  description: z.ZodNullable<z.ZodString>;
19547
19547
  createdAt: z.ZodString;
19548
19548
  updatedAt: z.ZodString;
19549
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
19549
19550
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19550
19551
  config: z.ZodType<{
19551
19552
  type: "mcp";
@@ -19560,7 +19561,6 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19560
19561
  type: "mcp";
19561
19562
  mcp: ToolMcpConfig;
19562
19563
  }>>;
19563
- credentialReferenceId: z.ZodNullable<z.ZodString>;
19564
19564
  credentialScope: z.ZodString;
19565
19565
  imageUrl: z.ZodNullable<z.ZodString>;
19566
19566
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -19571,6 +19571,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19574
19575
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19575
19576
  config: z.ZodObject<{
19576
19577
  type: z.ZodLiteral<"mcp">;
@@ -19598,7 +19599,6 @@ declare const ToolApiInsertSchema: z.ZodObject<{
19598
19599
  prompt: z.ZodOptional<z.ZodString>;
19599
19600
  }, z.core.$strip>;
19600
19601
  }, z.core.$strip>;
19601
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19602
19602
  credentialScope: z.ZodOptional<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>>>>;
@@ -19609,6 +19609,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19612
19613
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19613
19614
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
19614
19615
  type: z.ZodLiteral<"mcp">;
@@ -19636,7 +19637,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19636
19637
  prompt: z.ZodOptional<z.ZodString>;
19637
19638
  }, z.core.$strip>;
19638
19639
  }, z.core.$strip>>>;
19639
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19640
19640
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<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>>>>>>;
@@ -19977,11 +19977,11 @@ declare const FunctionToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
19977
19977
  }>;
19978
19978
  }, undefined>, undefined>;
19979
19979
  declare const FunctionToolInsertSchema: z.ZodObject<{
19980
+ tenantId: z.ZodString;
19981
+ projectId: z.ZodString;
19980
19982
  id: z.ZodString;
19981
19983
  name: z.ZodString;
19982
19984
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19983
- tenantId: z.ZodString;
19984
- projectId: z.ZodString;
19985
19985
  agentId: z.ZodString;
19986
19986
  functionId: z.ZodString;
19987
19987
  }, {
@@ -19989,11 +19989,11 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
19989
19989
  in: {};
19990
19990
  }>;
19991
19991
  declare const FunctionToolUpdateSchema: z.ZodObject<{
19992
+ tenantId: z.ZodOptional<z.ZodString>;
19993
+ projectId: z.ZodOptional<z.ZodString>;
19992
19994
  id: z.ZodOptional<z.ZodString>;
19993
19995
  name: z.ZodOptional<z.ZodString>;
19994
19996
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19995
- tenantId: z.ZodOptional<z.ZodString>;
19996
- projectId: z.ZodOptional<z.ZodString>;
19997
19997
  agentId: z.ZodOptional<z.ZodString>;
19998
19998
  functionId: z.ZodOptional<z.ZodString>;
19999
19999
  }, {
@@ -20386,14 +20386,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
20386
20386
  id: z.ZodString;
20387
20387
  createdAt: z.ZodString;
20388
20388
  updatedAt: z.ZodString;
20389
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
20390
20389
  subAgentId: z.ZodString;
20391
20390
  functionToolId: z.ZodString;
20391
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
20392
20392
  }, z.core.$strip>;
20393
20393
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20394
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
20395
20394
  subAgentId: z.ZodString;
20396
20395
  functionToolId: z.ZodString;
20396
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
20397
20397
  }, {
20398
20398
  out: {};
20399
20399
  in: {};
@@ -20783,9 +20783,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
20783
20783
  credential: z.ZodOptional<z.ZodObject<{
20784
20784
  id: z.ZodString;
20785
20785
  name: z.ZodString;
20786
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20787
20786
  credentialStoreId: z.ZodString;
20788
20787
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20788
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20789
20789
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20790
20790
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20791
20791
  type: z.ZodEnum<{
@@ -20810,9 +20810,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
20810
20810
  in: {};
20811
20811
  }>;
20812
20812
  declare const ContextConfigInsertSchema: z.ZodObject<{
20813
- id: z.ZodOptional<z.ZodString>;
20814
20813
  tenantId: z.ZodString;
20815
20814
  projectId: z.ZodString;
20815
+ id: z.ZodOptional<z.ZodString>;
20816
20816
  agentId: z.ZodString;
20817
20817
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20818
20818
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20821,9 +20821,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
20821
20821
  in: {};
20822
20822
  }>;
20823
20823
  declare const ContextConfigUpdateSchema: z.ZodObject<{
20824
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20825
20824
  tenantId: z.ZodOptional<z.ZodString>;
20826
20825
  projectId: z.ZodOptional<z.ZodString>;
20826
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20827
20827
  agentId: z.ZodOptional<z.ZodString>;
20828
20828
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20829
20829
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -21307,36 +21307,36 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
21307
21307
  }>;
21308
21308
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21309
21309
  id: z.ZodString;
21310
+ toolId: z.ZodString;
21310
21311
  createdAt: z.ZodString;
21311
21312
  updatedAt: z.ZodString;
21312
- toolId: z.ZodString;
21313
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21314
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21315
21313
  subAgentId: z.ZodString;
21314
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21315
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21316
21316
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21317
21317
  }, z.core.$strip>;
21318
21318
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21319
21319
  id: z.ZodString;
21320
+ toolId: z.ZodString;
21320
21321
  createdAt: z.ZodOptional<z.ZodString>;
21321
21322
  updatedAt: z.ZodOptional<z.ZodString>;
21322
- toolId: z.ZodString;
21323
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21323
+ subAgentId: z.ZodString;
21324
21324
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21325
21325
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21326
21326
  }, z.core.$strip>>>>;
21327
- subAgentId: z.ZodString;
21327
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21328
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
+ toolId: z.ZodOptional<z.ZodOptional<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
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21335
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21335
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
21336
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21337
21337
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21338
21338
  }, z.core.$strip>>>>>>;
21339
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21339
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21340
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_zod21.BuildSchema<"select", {
@@ -21708,9 +21708,9 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
21708
21708
  id: z.ZodString;
21709
21709
  createdAt: z.ZodString;
21710
21710
  updatedAt: z.ZodString;
21711
+ subAgentId: z.ZodString;
21711
21712
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21712
21713
  externalAgentId: z.ZodString;
21713
- subAgentId: z.ZodString;
21714
21714
  }, z.core.$strip>;
21715
21715
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
21716
21716
  createdAt: z.ZodOptional<z.ZodString>;
@@ -21722,9 +21722,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
21722
21722
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21723
21723
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21724
21724
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21725
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21725
21726
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21726
21727
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21727
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21728
21728
  }, z.core.$strip>;
21729
21729
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
21730
21730
  createdAt: drizzle_orm_pg_core937.PgColumn<{
@@ -22095,8 +22095,8 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22095
22095
  id: z.ZodString;
22096
22096
  createdAt: z.ZodString;
22097
22097
  updatedAt: z.ZodString;
22098
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22099
22098
  subAgentId: z.ZodString;
22099
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22100
22100
  targetAgentId: z.ZodString;
22101
22101
  }, z.core.$strip>;
22102
22102
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
@@ -22109,8 +22109,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22109
22109
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22110
22110
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22111
22111
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22112
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22113
22112
  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_zod21.BuildSchema<"select", {
@@ -23454,7 +23454,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod21.BuildSchema<"insert", {
23454
23454
  }, {}, {
23455
23455
  length: 256;
23456
23456
  }>;
23457
- }, "type" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23457
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "metadata" | "type" | "createdAt" | "updatedAt" | "contextId" | "visibility" | "taskId" | "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,13 +23479,13 @@ 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
23483
  name: z.ZodNullable<z.ZodString>;
23485
23484
  description: z.ZodNullable<z.ZodString>;
23485
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
23486
+ type: z.ZodString;
23486
23487
  createdAt: z.ZodString;
23487
23488
  updatedAt: z.ZodString;
23488
- metadata: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
23489
23489
  contextId: z.ZodString;
23490
23490
  visibility: z.ZodNullable<z.ZodString>;
23491
23491
  taskId: z.ZodString;
@@ -23497,13 +23497,13 @@ 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
23501
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23503
23502
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23503
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23504
+ type: z.ZodOptional<z.ZodString>;
23504
23505
  createdAt: z.ZodOptional<z.ZodString>;
23505
23506
  updatedAt: z.ZodOptional<z.ZodString>;
23506
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23507
23507
  contextId: z.ZodString;
23508
23508
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23509
23509
  taskId: z.ZodString;
@@ -23515,13 +23515,13 @@ 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
23519
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23521
23520
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23521
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
23522
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23522
23523
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23523
23524
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23524
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
23525
23525
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23526
23526
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23527
23527
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23598,6 +23598,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
23598
23598
  id: z.ZodString;
23599
23599
  name: z.ZodString;
23600
23600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23601
+ createdAt: z.ZodOptional<z.ZodString>;
23602
+ updatedAt: z.ZodOptional<z.ZodString>;
23601
23603
  models: z.ZodOptional<z.ZodObject<{
23602
23604
  base: z.ZodOptional<z.ZodObject<{
23603
23605
  model: z.ZodOptional<z.ZodString>;
@@ -23618,8 +23620,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
23618
23620
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23619
23621
  }, z.core.$strip>>;
23620
23622
  }, z.core.$strip>>;
23621
- createdAt: z.ZodOptional<z.ZodString>;
23622
- updatedAt: z.ZodOptional<z.ZodString>;
23623
23623
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23624
23624
  type: z.ZodLiteral<"internal">;
23625
23625
  canUse: z.ZodArray<z.ZodObject<{
@@ -23664,6 +23664,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23664
23664
  id: z.ZodString;
23665
23665
  name: z.ZodString;
23666
23666
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23667
+ createdAt: z.ZodOptional<z.ZodString>;
23668
+ updatedAt: z.ZodOptional<z.ZodString>;
23667
23669
  models: z.ZodOptional<z.ZodObject<{
23668
23670
  base: z.ZodOptional<z.ZodObject<{
23669
23671
  model: z.ZodOptional<z.ZodString>;
@@ -23684,8 +23686,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23684
23686
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23685
23687
  }, z.core.$strip>>;
23686
23688
  }, z.core.$strip>>;
23687
- createdAt: z.ZodOptional<z.ZodString>;
23688
- updatedAt: z.ZodOptional<z.ZodString>;
23689
23689
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23690
23690
  type: z.ZodLiteral<"internal">;
23691
23691
  canUse: z.ZodArray<z.ZodObject<{
@@ -23723,6 +23723,7 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23723
23723
  id: z.ZodString;
23724
23724
  name: z.ZodString;
23725
23725
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23726
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23726
23727
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23727
23728
  config: z.ZodObject<{
23728
23729
  type: z.ZodLiteral<"mcp">;
@@ -23750,7 +23751,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23750
23751
  prompt: z.ZodOptional<z.ZodString>;
23751
23752
  }, z.core.$strip>;
23752
23753
  }, z.core.$strip>;
23753
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23754
23754
  credentialScope: z.ZodOptional<z.ZodString>;
23755
23755
  imageUrl: z.ZodOptional<z.ZodString>;
23756
23756
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -23761,8 +23761,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23761
23761
  id: z.ZodString;
23762
23762
  name: z.ZodString;
23763
23763
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23764
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23765
23764
  baseUrl: z.ZodURL;
23765
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23766
23766
  }, z.core.$strip>>>;
23767
23767
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23768
23768
  id: z.ZodString;
@@ -23785,8 +23785,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23785
23785
  id: z.ZodOptional<z.ZodString>;
23786
23786
  name: z.ZodString;
23787
23787
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23788
- enabled: z.ZodOptional<z.ZodBoolean>;
23789
23788
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23789
+ enabled: z.ZodOptional<z.ZodBoolean>;
23790
23790
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23791
23791
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23792
23792
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23851,6 +23851,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23851
23851
  id: z.ZodString;
23852
23852
  name: z.ZodString;
23853
23853
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23854
+ createdAt: z.ZodOptional<z.ZodString>;
23855
+ updatedAt: z.ZodOptional<z.ZodString>;
23854
23856
  models: z.ZodOptional<z.ZodObject<{
23855
23857
  base: z.ZodOptional<z.ZodObject<{
23856
23858
  model: z.ZodOptional<z.ZodString>;
@@ -23871,8 +23873,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23871
23873
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
23872
23874
  }, z.core.$strip>>;
23873
23875
  }, z.core.$strip>>;
23874
- createdAt: z.ZodOptional<z.ZodString>;
23875
- updatedAt: z.ZodOptional<z.ZodString>;
23876
23876
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23877
23877
  type: z.ZodLiteral<"internal">;
23878
23878
  canUse: z.ZodArray<z.ZodObject<{
@@ -23910,6 +23910,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23910
23910
  id: z.ZodString;
23911
23911
  name: z.ZodString;
23912
23912
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
23914
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23914
23915
  config: z.ZodObject<{
23915
23916
  type: z.ZodLiteral<"mcp">;
@@ -23937,7 +23938,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23937
23938
  prompt: z.ZodOptional<z.ZodString>;
23938
23939
  }, z.core.$strip>;
23939
23940
  }, z.core.$strip>;
23940
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23941
23941
  credentialScope: z.ZodOptional<z.ZodString>;
23942
23942
  imageUrl: z.ZodOptional<z.ZodString>;
23943
23943
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -23948,8 +23948,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23948
23948
  id: z.ZodString;
23949
23949
  name: z.ZodString;
23950
23950
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23951
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23952
23951
  baseUrl: z.ZodURL;
23952
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23953
23953
  }, z.core.$strip>>>;
23954
23954
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23955
23955
  id: z.ZodString;
@@ -23972,8 +23972,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23972
23972
  id: z.ZodOptional<z.ZodString>;
23973
23973
  name: z.ZodString;
23974
23974
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23975
- enabled: z.ZodOptional<z.ZodBoolean>;
23976
23975
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23976
+ enabled: z.ZodOptional<z.ZodBoolean>;
23977
23977
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23978
23978
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23979
23979
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24087,6 +24087,7 @@ declare const ProjectSelectSchema: z.ZodObject<{
24087
24087
  in: {};
24088
24088
  }>;
24089
24089
  declare const ProjectInsertSchema: z.ZodObject<{
24090
+ tenantId: z.ZodString;
24090
24091
  id: z.ZodString;
24091
24092
  name: z.ZodString;
24092
24093
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24114,7 +24115,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
24114
24115
  transferCountIs: z.ZodOptional<z.ZodInt>;
24115
24116
  stepCountIs: z.ZodOptional<z.ZodInt>;
24116
24117
  }, z.core.$strip>>;
24117
- tenantId: z.ZodString;
24118
24118
  }, {
24119
24119
  out: {};
24120
24120
  in: {};
@@ -24154,6 +24154,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
24154
24154
  id: z.ZodString;
24155
24155
  name: z.ZodString;
24156
24156
  description: z.ZodNullable<z.ZodString>;
24157
+ createdAt: z.ZodString;
24158
+ updatedAt: z.ZodString;
24157
24159
  models: z.ZodNullable<z.ZodObject<{
24158
24160
  base: z.ZodObject<{
24159
24161
  model: z.ZodOptional<z.ZodString>;
@@ -24178,8 +24180,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
24178
24180
  transferCountIs: z.ZodOptional<z.ZodInt>;
24179
24181
  stepCountIs: z.ZodOptional<z.ZodInt>;
24180
24182
  }, z.core.$strip>>;
24181
- createdAt: z.ZodString;
24182
- updatedAt: z.ZodString;
24183
24183
  }, {
24184
24184
  out: {};
24185
24185
  in: {};
@@ -24286,6 +24286,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24286
24286
  id: z.ZodString;
24287
24287
  name: z.ZodString;
24288
24288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24289
+ createdAt: z.ZodOptional<z.ZodString>;
24290
+ updatedAt: z.ZodOptional<z.ZodString>;
24289
24291
  models: z.ZodOptional<z.ZodObject<{
24290
24292
  base: z.ZodOptional<z.ZodObject<{
24291
24293
  model: z.ZodOptional<z.ZodString>;
@@ -24306,8 +24308,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24306
24308
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24307
24309
  }, z.core.$strip>>;
24308
24310
  }, z.core.$strip>>;
24309
- createdAt: z.ZodOptional<z.ZodString>;
24310
- updatedAt: z.ZodOptional<z.ZodString>;
24311
24311
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24312
24312
  type: z.ZodLiteral<"internal">;
24313
24313
  canUse: z.ZodArray<z.ZodObject<{
@@ -24345,6 +24345,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24348
24349
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24349
24350
  config: z.ZodObject<{
24350
24351
  type: z.ZodLiteral<"mcp">;
@@ -24372,7 +24373,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24372
24373
  prompt: z.ZodOptional<z.ZodString>;
24373
24374
  }, z.core.$strip>;
24374
24375
  }, z.core.$strip>;
24375
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24376
24376
  credentialScope: z.ZodOptional<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>>>>;
@@ -24383,8 +24383,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24383
24383
  id: z.ZodString;
24384
24384
  name: z.ZodString;
24385
24385
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24386
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24387
24386
  baseUrl: z.ZodURL;
24387
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24388
24388
  }, z.core.$strip>>>;
24389
24389
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24390
24390
  id: z.ZodString;
@@ -24407,8 +24407,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24407
24407
  id: z.ZodOptional<z.ZodString>;
24408
24408
  name: z.ZodString;
24409
24409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24410
- enabled: z.ZodOptional<z.ZodBoolean>;
24411
24410
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24411
+ enabled: z.ZodOptional<z.ZodBoolean>;
24412
24412
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24413
24413
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24414
24414
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24466,6 +24466,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24469
24470
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24470
24471
  config: z.ZodObject<{
24471
24472
  type: z.ZodLiteral<"mcp">;
@@ -24493,7 +24494,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24493
24494
  prompt: z.ZodOptional<z.ZodString>;
24494
24495
  }, z.core.$strip>;
24495
24496
  }, z.core.$strip>;
24496
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24497
24497
  credentialScope: z.ZodOptional<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>>>>;
@@ -24598,8 +24598,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24598
24598
  id: z.ZodString;
24599
24599
  name: z.ZodString;
24600
24600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24601
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24602
24601
  baseUrl: z.ZodURL;
24602
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24603
24603
  }, z.core.$strip>>>;
24604
24604
  statusUpdates: z.ZodOptional<z.ZodObject<{
24605
24605
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -24619,9 +24619,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24619
24619
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24620
24620
  id: z.ZodString;
24621
24621
  name: z.ZodString;
24622
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24623
24622
  credentialStoreId: z.ZodString;
24624
24623
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24624
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24625
24625
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24626
24626
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24627
24627
  type: z.ZodEnum<{
@@ -24641,6 +24641,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24641
24641
  id: z.ZodString;
24642
24642
  name: z.ZodString;
24643
24643
  description: z.ZodNullable<z.ZodString>;
24644
+ createdAt: z.ZodString;
24645
+ updatedAt: z.ZodString;
24644
24646
  models: z.ZodNullable<z.ZodType<{
24645
24647
  base?: {
24646
24648
  model?: string | undefined;
@@ -24727,8 +24729,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24727
24729
  }, {
24728
24730
  stepCountIs?: number | undefined;
24729
24731
  }>>>;
24730
- createdAt: z.ZodString;
24731
- updatedAt: z.ZodString;
24732
24732
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24733
24733
  type: z.ZodLiteral<"internal">;
24734
24734
  canUse: z.ZodArray<z.ZodObject<{
@@ -24758,6 +24758,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24758
24758
  id: z.ZodString;
24759
24759
  name: z.ZodString;
24760
24760
  description: z.ZodNullable<z.ZodString>;
24761
+ createdAt: z.ZodString;
24762
+ updatedAt: z.ZodString;
24761
24763
  models: z.ZodNullable<z.ZodType<{
24762
24764
  base?: {
24763
24765
  model?: string | undefined;
@@ -24844,8 +24846,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24844
24846
  }, {
24845
24847
  stepCountIs?: number | undefined;
24846
24848
  }>>>;
24847
- createdAt: z.ZodString;
24848
- updatedAt: z.ZodString;
24849
24849
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24850
24850
  type: z.ZodLiteral<"internal">;
24851
24851
  canUse: z.ZodArray<z.ZodObject<{
@@ -24890,6 +24890,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24890
24890
  id: z.ZodString;
24891
24891
  name: z.ZodString;
24892
24892
  description: z.ZodNullable<z.ZodString>;
24893
+ createdAt: z.ZodString;
24894
+ updatedAt: z.ZodString;
24893
24895
  models: z.ZodNullable<z.ZodType<{
24894
24896
  base?: {
24895
24897
  model?: string | undefined;
@@ -24976,8 +24978,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24976
24978
  }, {
24977
24979
  stepCountIs?: number | undefined;
24978
24980
  }>>>;
24979
- createdAt: z.ZodString;
24980
- updatedAt: z.ZodString;
24981
24981
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24982
24982
  type: z.ZodLiteral<"internal">;
24983
24983
  canUse: z.ZodArray<z.ZodObject<{
@@ -25009,6 +25009,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25009
25009
  description: z.ZodNullable<z.ZodString>;
25010
25010
  createdAt: z.ZodString;
25011
25011
  updatedAt: z.ZodString;
25012
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25012
25013
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25013
25014
  config: z.ZodType<{
25014
25015
  type: "mcp";
@@ -25023,7 +25024,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25023
25024
  type: "mcp";
25024
25025
  mcp: ToolMcpConfig;
25025
25026
  }>>;
25026
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25027
25027
  credentialScope: z.ZodString;
25028
25028
  imageUrl: z.ZodNullable<z.ZodString>;
25029
25029
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25036,8 +25036,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25036
25036
  description: z.ZodNullable<z.ZodString>;
25037
25037
  createdAt: z.ZodString;
25038
25038
  updatedAt: z.ZodString;
25039
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25040
25039
  baseUrl: z.ZodString;
25040
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25041
25041
  }, z.core.$strip>>>;
25042
25042
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25043
25043
  id: z.ZodString;
@@ -25124,6 +25124,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25124
25124
  description: z.ZodNullable<z.ZodString>;
25125
25125
  createdAt: z.ZodString;
25126
25126
  updatedAt: z.ZodString;
25127
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25127
25128
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25128
25129
  config: z.ZodType<{
25129
25130
  type: "mcp";
@@ -25138,7 +25139,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25138
25139
  type: "mcp";
25139
25140
  mcp: ToolMcpConfig;
25140
25141
  }>>;
25141
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25142
25142
  credentialScope: z.ZodString;
25143
25143
  imageUrl: z.ZodNullable<z.ZodString>;
25144
25144
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25151,8 +25151,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25151
25151
  description: z.ZodNullable<z.ZodString>;
25152
25152
  createdAt: z.ZodString;
25153
25153
  updatedAt: z.ZodString;
25154
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25155
25154
  baseUrl: z.ZodString;
25155
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25156
25156
  }, z.core.$strip>>>;
25157
25157
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25158
25158
  id: z.ZodString;
@@ -25227,6 +25227,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25227
25227
  id: z.ZodString;
25228
25228
  name: z.ZodString;
25229
25229
  description: z.ZodNullable<z.ZodString>;
25230
+ createdAt: z.ZodString;
25231
+ updatedAt: z.ZodString;
25230
25232
  models: z.ZodNullable<z.ZodType<{
25231
25233
  base?: {
25232
25234
  model?: string | undefined;
@@ -25313,8 +25315,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25313
25315
  }, {
25314
25316
  stepCountIs?: number | undefined;
25315
25317
  }>>>;
25316
- createdAt: z.ZodString;
25317
- updatedAt: z.ZodString;
25318
25318
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25319
25319
  type: z.ZodLiteral<"internal">;
25320
25320
  canUse: z.ZodArray<z.ZodObject<{
@@ -25351,6 +25351,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25351
25351
  id: z.ZodString;
25352
25352
  name: z.ZodString;
25353
25353
  description: z.ZodNullable<z.ZodString>;
25354
+ createdAt: z.ZodString;
25355
+ updatedAt: z.ZodString;
25354
25356
  models: z.ZodNullable<z.ZodObject<{
25355
25357
  base: z.ZodObject<{
25356
25358
  model: z.ZodOptional<z.ZodString>;
@@ -25375,8 +25377,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25375
25377
  transferCountIs: z.ZodOptional<z.ZodInt>;
25376
25378
  stepCountIs: z.ZodOptional<z.ZodInt>;
25377
25379
  }, z.core.$strip>>;
25378
- createdAt: z.ZodString;
25379
- updatedAt: z.ZodString;
25380
25380
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25381
25381
  id: z.ZodString;
25382
25382
  name: z.ZodString;
@@ -25390,6 +25390,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25390
25390
  id: z.ZodString;
25391
25391
  name: z.ZodString;
25392
25392
  description: z.ZodNullable<z.ZodString>;
25393
+ createdAt: z.ZodString;
25394
+ updatedAt: z.ZodString;
25393
25395
  models: z.ZodNullable<z.ZodType<{
25394
25396
  base?: {
25395
25397
  model?: string | undefined;
@@ -25476,8 +25478,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25476
25478
  }, {
25477
25479
  stepCountIs?: number | undefined;
25478
25480
  }>>>;
25479
- createdAt: z.ZodString;
25480
- updatedAt: z.ZodString;
25481
25481
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25482
25482
  type: z.ZodLiteral<"internal">;
25483
25483
  canUse: z.ZodArray<z.ZodObject<{
@@ -25509,6 +25509,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25509
25509
  description: z.ZodNullable<z.ZodString>;
25510
25510
  createdAt: z.ZodString;
25511
25511
  updatedAt: z.ZodString;
25512
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25512
25513
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25513
25514
  config: z.ZodType<{
25514
25515
  type: "mcp";
@@ -25523,7 +25524,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25523
25524
  type: "mcp";
25524
25525
  mcp: ToolMcpConfig;
25525
25526
  }>>;
25526
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25527
25527
  credentialScope: z.ZodString;
25528
25528
  imageUrl: z.ZodNullable<z.ZodString>;
25529
25529
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25536,8 +25536,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25536
25536
  description: z.ZodNullable<z.ZodString>;
25537
25537
  createdAt: z.ZodString;
25538
25538
  updatedAt: z.ZodString;
25539
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25540
25539
  baseUrl: z.ZodString;
25540
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25541
25541
  }, z.core.$strip>>>;
25542
25542
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25543
25543
  id: z.ZodString;
@@ -25615,6 +25615,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25615
25615
  description: z.ZodNullable<z.ZodString>;
25616
25616
  createdAt: z.ZodString;
25617
25617
  updatedAt: z.ZodString;
25618
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25618
25619
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25619
25620
  config: z.ZodType<{
25620
25621
  type: "mcp";
@@ -25629,7 +25630,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25629
25630
  type: "mcp";
25630
25631
  mcp: ToolMcpConfig;
25631
25632
  }>>;
25632
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25633
25633
  credentialScope: z.ZodString;
25634
25634
  imageUrl: z.ZodNullable<z.ZodString>;
25635
25635
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -25758,8 +25758,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25758
25758
  description: z.ZodNullable<z.ZodString>;
25759
25759
  createdAt: z.ZodString;
25760
25760
  updatedAt: z.ZodString;
25761
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25762
25761
  baseUrl: z.ZodString;
25762
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25763
25763
  }, z.core.$strip>>>;
25764
25764
  statusUpdates: z.ZodNullable<z.ZodObject<{
25765
25765
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25779,13 +25779,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25779
25779
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25780
25780
  id: z.ZodString;
25781
25781
  name: z.ZodString;
25782
- createdAt: z.ZodString;
25783
- updatedAt: z.ZodString;
25784
- toolId: z.ZodNullable<z.ZodString>;
25785
25782
  credentialStoreId: z.ZodString;
25786
25783
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25784
+ toolId: z.ZodNullable<z.ZodString>;
25787
25785
  userId: z.ZodNullable<z.ZodString>;
25788
25786
  createdBy: z.ZodNullable<z.ZodString>;
25787
+ createdAt: z.ZodString;
25788
+ updatedAt: z.ZodString;
25789
25789
  type: z.ZodEnum<{
25790
25790
  readonly memory: "memory";
25791
25791
  readonly keychain: "keychain";
@@ -26376,6 +26376,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26376
26376
  id: z.ZodString;
26377
26377
  name: z.ZodString;
26378
26378
  description: z.ZodNullable<z.ZodString>;
26379
+ createdAt: z.ZodString;
26380
+ updatedAt: z.ZodString;
26379
26381
  models: z.ZodNullable<z.ZodObject<{
26380
26382
  base: z.ZodObject<{
26381
26383
  model: z.ZodOptional<z.ZodString>;
@@ -26400,14 +26402,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26400
26402
  transferCountIs: z.ZodOptional<z.ZodInt>;
26401
26403
  stepCountIs: z.ZodOptional<z.ZodInt>;
26402
26404
  }, z.core.$strip>>;
26403
- createdAt: z.ZodString;
26404
- updatedAt: z.ZodString;
26405
26405
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26406
26406
  id: z.ZodString;
26407
26407
  name: z.ZodString;
26408
26408
  description: z.ZodNullable<z.ZodString>;
26409
26409
  createdAt: z.ZodString;
26410
26410
  updatedAt: z.ZodString;
26411
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
26411
26412
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26412
26413
  config: z.ZodType<{
26413
26414
  type: "mcp";
@@ -26422,7 +26423,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26422
26423
  type: "mcp";
26423
26424
  mcp: ToolMcpConfig;
26424
26425
  }>>;
26425
- credentialReferenceId: z.ZodNullable<z.ZodString>;
26426
26426
  credentialScope: z.ZodString;
26427
26427
  imageUrl: z.ZodNullable<z.ZodString>;
26428
26428
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -26551,8 +26551,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26551
26551
  description: z.ZodNullable<z.ZodString>;
26552
26552
  createdAt: z.ZodString;
26553
26553
  updatedAt: z.ZodString;
26554
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26555
26554
  baseUrl: z.ZodString;
26555
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26556
26556
  }, z.core.$strip>>>;
26557
26557
  statusUpdates: z.ZodNullable<z.ZodObject<{
26558
26558
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26572,13 +26572,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26572
26572
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26573
26573
  id: z.ZodString;
26574
26574
  name: z.ZodString;
26575
- createdAt: z.ZodString;
26576
- updatedAt: z.ZodString;
26577
- toolId: z.ZodNullable<z.ZodString>;
26578
26575
  credentialStoreId: z.ZodString;
26579
26576
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26577
+ toolId: z.ZodNullable<z.ZodString>;
26580
26578
  userId: z.ZodNullable<z.ZodString>;
26581
26579
  createdBy: z.ZodNullable<z.ZodString>;
26580
+ createdAt: z.ZodString;
26581
+ updatedAt: z.ZodString;
26582
26582
  type: z.ZodEnum<{
26583
26583
  readonly memory: "memory";
26584
26584
  readonly keychain: "keychain";
@@ -27176,6 +27176,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27176
27176
  description: z.ZodNullable<z.ZodString>;
27177
27177
  createdAt: z.ZodString;
27178
27178
  updatedAt: z.ZodString;
27179
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
27179
27180
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27180
27181
  config: z.ZodType<{
27181
27182
  type: "mcp";
@@ -27190,7 +27191,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27190
27191
  type: "mcp";
27191
27192
  mcp: ToolMcpConfig;
27192
27193
  }>>;
27193
- credentialReferenceId: z.ZodNullable<z.ZodString>;
27194
27194
  credentialScope: z.ZodString;
27195
27195
  imageUrl: z.ZodNullable<z.ZodString>;
27196
27196
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -27203,8 +27203,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27203
27203
  description: z.ZodNullable<z.ZodString>;
27204
27204
  createdAt: z.ZodString;
27205
27205
  updatedAt: z.ZodString;
27206
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27207
27206
  baseUrl: z.ZodString;
27207
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27208
27208
  }, z.core.$strip>>>;
27209
27209
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27210
27210
  id: z.ZodString;
@@ -27279,6 +27279,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27279
27279
  id: z.ZodString;
27280
27280
  name: z.ZodString;
27281
27281
  description: z.ZodNullable<z.ZodString>;
27282
+ createdAt: z.ZodString;
27283
+ updatedAt: z.ZodString;
27282
27284
  models: z.ZodNullable<z.ZodType<{
27283
27285
  base?: {
27284
27286
  model?: string | undefined;
@@ -27365,8 +27367,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27365
27367
  }, {
27366
27368
  stepCountIs?: number | undefined;
27367
27369
  }>>>;
27368
- createdAt: z.ZodString;
27369
- updatedAt: z.ZodString;
27370
27370
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27371
27371
  type: z.ZodLiteral<"internal">;
27372
27372
  canUse: z.ZodArray<z.ZodObject<{
@@ -27408,6 +27408,8 @@ declare const ProjectResponse: z.ZodObject<{
27408
27408
  id: z.ZodString;
27409
27409
  name: z.ZodString;
27410
27410
  description: z.ZodNullable<z.ZodString>;
27411
+ createdAt: z.ZodString;
27412
+ updatedAt: z.ZodString;
27411
27413
  models: z.ZodNullable<z.ZodObject<{
27412
27414
  base: z.ZodObject<{
27413
27415
  model: z.ZodOptional<z.ZodString>;
@@ -27432,8 +27434,6 @@ declare const ProjectResponse: z.ZodObject<{
27432
27434
  transferCountIs: z.ZodOptional<z.ZodInt>;
27433
27435
  stepCountIs: z.ZodOptional<z.ZodInt>;
27434
27436
  }, z.core.$strip>>;
27435
- createdAt: z.ZodString;
27436
- updatedAt: z.ZodString;
27437
27437
  }, {
27438
27438
  out: {};
27439
27439
  in: {};
@@ -27444,6 +27444,8 @@ declare const SubAgentResponse: z.ZodObject<{
27444
27444
  id: z.ZodString;
27445
27445
  name: z.ZodString;
27446
27446
  description: z.ZodNullable<z.ZodString>;
27447
+ createdAt: z.ZodString;
27448
+ updatedAt: z.ZodString;
27447
27449
  models: z.ZodNullable<z.ZodType<{
27448
27450
  base?: {
27449
27451
  model?: string | undefined;
@@ -27530,8 +27532,6 @@ declare const SubAgentResponse: z.ZodObject<{
27530
27532
  }, {
27531
27533
  stepCountIs?: number | undefined;
27532
27534
  }>>>;
27533
- createdAt: z.ZodString;
27534
- updatedAt: z.ZodString;
27535
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>;
@@ -27541,6 +27541,8 @@ declare const AgentResponse: z.ZodObject<{
27541
27541
  id: z.ZodString;
27542
27542
  name: z.ZodString;
27543
27543
  description: z.ZodNullable<z.ZodString>;
27544
+ createdAt: z.ZodString;
27545
+ updatedAt: z.ZodString;
27544
27546
  models: z.ZodNullable<z.ZodType<{
27545
27547
  base?: {
27546
27548
  model?: string | undefined;
@@ -27627,11 +27629,9 @@ declare const AgentResponse: z.ZodObject<{
27627
27629
  }, {
27628
27630
  transferCountIs?: number | undefined;
27629
27631
  }>>>;
27630
- createdAt: z.ZodString;
27631
- updatedAt: z.ZodString;
27632
+ prompt: z.ZodNullable<z.ZodString>;
27632
27633
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27633
27634
  contextConfigId: z.ZodNullable<z.ZodString>;
27634
- prompt: z.ZodNullable<z.ZodString>;
27635
27635
  statusUpdates: z.ZodNullable<z.ZodType<{
27636
27636
  enabled?: boolean | undefined;
27637
27637
  numEvents?: number | undefined;
@@ -27699,8 +27699,8 @@ declare const ExternalAgentResponse: z.ZodObject<{
27699
27699
  description: z.ZodNullable<z.ZodString>;
27700
27700
  createdAt: z.ZodString;
27701
27701
  updatedAt: z.ZodString;
27702
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27703
27702
  baseUrl: z.ZodString;
27703
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27704
27704
  }, z.core.$strip>;
27705
27705
  }, z.core.$strip>;
27706
27706
  declare const ContextConfigResponse: z.ZodObject<{
@@ -27732,13 +27732,13 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27732
27732
  data: z.ZodObject<{
27733
27733
  id: z.ZodString;
27734
27734
  name: z.ZodString;
27735
- createdAt: z.ZodString;
27736
- updatedAt: z.ZodString;
27737
- toolId: z.ZodNullable<z.ZodString>;
27738
27735
  credentialStoreId: z.ZodString;
27739
27736
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27737
+ toolId: z.ZodNullable<z.ZodString>;
27740
27738
  userId: z.ZodNullable<z.ZodString>;
27741
27739
  createdBy: z.ZodNullable<z.ZodString>;
27740
+ createdAt: z.ZodString;
27741
+ updatedAt: z.ZodString;
27742
27742
  type: z.ZodEnum<{
27743
27743
  readonly memory: "memory";
27744
27744
  readonly keychain: "keychain";
@@ -28349,9 +28349,9 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28349
28349
  id: z.ZodString;
28350
28350
  createdAt: z.ZodString;
28351
28351
  updatedAt: z.ZodString;
28352
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28353
28352
  subAgentId: z.ZodString;
28354
28353
  functionToolId: z.ZodString;
28354
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28355
28355
  }, z.core.$strip>;
28356
28356
  }, z.core.$strip>;
28357
28357
  declare const DataComponentResponse: z.ZodObject<{
@@ -28469,12 +28469,12 @@ declare const SubAgentRelationResponse: z.ZodObject<{
28469
28469
  declare const SubAgentToolRelationResponse: z.ZodObject<{
28470
28470
  data: z.ZodObject<{
28471
28471
  id: z.ZodString;
28472
+ toolId: z.ZodString;
28472
28473
  createdAt: z.ZodString;
28473
28474
  updatedAt: z.ZodString;
28474
- toolId: z.ZodString;
28475
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28476
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28477
28475
  subAgentId: z.ZodString;
28476
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28477
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28478
28478
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28479
28479
  }, z.core.$strip>;
28480
28480
  }, z.core.$strip>;
@@ -28483,10 +28483,10 @@ declare const TriggerResponse: z.ZodObject<{
28483
28483
  id: z.ZodString;
28484
28484
  name: z.ZodString;
28485
28485
  description: z.ZodNullable<z.ZodString>;
28486
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28486
28487
  createdAt: z.ZodString;
28487
28488
  updatedAt: z.ZodString;
28488
28489
  enabled: z.ZodBoolean;
28489
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28490
28490
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28491
28491
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28492
28492
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -28494,15 +28494,15 @@ declare const TriggerResponse: z.ZodObject<{
28494
28494
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28495
28495
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28496
28496
  algorithm: z.ZodEnum<{
28497
+ md5: "md5";
28497
28498
  sha256: "sha256";
28498
28499
  sha512: "sha512";
28499
28500
  sha384: "sha384";
28500
28501
  sha1: "sha1";
28501
- md5: "md5";
28502
28502
  }>;
28503
28503
  encoding: z.ZodEnum<{
28504
- hex: "hex";
28505
28504
  base64: "base64";
28505
+ hex: "hex";
28506
28506
  }>;
28507
28507
  signature: z.ZodObject<{
28508
28508
  source: z.ZodEnum<{
@@ -28553,8 +28553,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28553
28553
  hash: z.ZodString;
28554
28554
  }, z.core.$strip>>>;
28555
28555
  createdAt: z.ZodString;
28556
- status: z.ZodString;
28557
28556
  conversationId: z.ZodNullable<z.ZodString>;
28557
+ status: z.ZodString;
28558
28558
  triggerId: z.ZodString;
28559
28559
  requestPayload: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
28560
28560
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
@@ -28566,6 +28566,8 @@ declare const ProjectListResponse: z.ZodObject<{
28566
28566
  id: z.ZodString;
28567
28567
  name: z.ZodString;
28568
28568
  description: z.ZodNullable<z.ZodString>;
28569
+ createdAt: z.ZodString;
28570
+ updatedAt: z.ZodString;
28569
28571
  models: z.ZodNullable<z.ZodObject<{
28570
28572
  base: z.ZodObject<{
28571
28573
  model: z.ZodOptional<z.ZodString>;
@@ -28590,8 +28592,6 @@ declare const ProjectListResponse: z.ZodObject<{
28590
28592
  transferCountIs: z.ZodOptional<z.ZodInt>;
28591
28593
  stepCountIs: z.ZodOptional<z.ZodInt>;
28592
28594
  }, z.core.$strip>>;
28593
- createdAt: z.ZodString;
28594
- updatedAt: z.ZodString;
28595
28595
  }, {
28596
28596
  out: {};
28597
28597
  in: {};
@@ -28608,6 +28608,8 @@ declare const SubAgentListResponse: z.ZodObject<{
28608
28608
  id: z.ZodString;
28609
28609
  name: z.ZodString;
28610
28610
  description: z.ZodNullable<z.ZodString>;
28611
+ createdAt: z.ZodString;
28612
+ updatedAt: z.ZodString;
28611
28613
  models: z.ZodNullable<z.ZodType<{
28612
28614
  base?: {
28613
28615
  model?: string | undefined;
@@ -28694,8 +28696,6 @@ declare const SubAgentListResponse: z.ZodObject<{
28694
28696
  }, {
28695
28697
  stepCountIs?: number | undefined;
28696
28698
  }>>>;
28697
- createdAt: z.ZodString;
28698
- updatedAt: z.ZodString;
28699
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>>;
@@ -28711,6 +28711,8 @@ declare const AgentListResponse: z.ZodObject<{
28711
28711
  id: z.ZodString;
28712
28712
  name: z.ZodString;
28713
28713
  description: z.ZodNullable<z.ZodString>;
28714
+ createdAt: z.ZodString;
28715
+ updatedAt: z.ZodString;
28714
28716
  models: z.ZodNullable<z.ZodType<{
28715
28717
  base?: {
28716
28718
  model?: string | undefined;
@@ -28797,11 +28799,9 @@ declare const AgentListResponse: z.ZodObject<{
28797
28799
  }, {
28798
28800
  transferCountIs?: number | undefined;
28799
28801
  }>>>;
28800
- createdAt: z.ZodString;
28801
- updatedAt: z.ZodString;
28802
+ prompt: z.ZodNullable<z.ZodString>;
28802
28803
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28803
28804
  contextConfigId: z.ZodNullable<z.ZodString>;
28804
- prompt: z.ZodNullable<z.ZodString>;
28805
28805
  statusUpdates: z.ZodNullable<z.ZodType<{
28806
28806
  enabled?: boolean | undefined;
28807
28807
  numEvents?: number | undefined;
@@ -28875,8 +28875,8 @@ declare const ExternalAgentListResponse: z.ZodObject<{
28875
28875
  description: z.ZodNullable<z.ZodString>;
28876
28876
  createdAt: z.ZodString;
28877
28877
  updatedAt: z.ZodString;
28878
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28879
28878
  baseUrl: z.ZodString;
28879
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28880
28880
  }, z.core.$strip>>;
28881
28881
  pagination: z.ZodObject<{
28882
28882
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -28924,16 +28924,16 @@ 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;
28927
+ tenantId: z.ZodNullable<z.ZodString>;
28928
+ projectId: z.ZodNullable<z.ZodString>;
28928
28929
  id: z.ZodString;
28929
28930
  name: z.ZodString;
28930
28931
  description: z.ZodNullable<z.ZodString>;
28932
+ type: z.ZodString;
28931
28933
  createdAt: z.ZodString;
28932
28934
  updatedAt: z.ZodString;
28933
- tenantId: z.ZodNullable<z.ZodString>;
28934
- projectId: z.ZodNullable<z.ZodString>;
28935
- enabled: z.ZodBoolean;
28936
28935
  prompt: z.ZodNullable<z.ZodString>;
28936
+ enabled: z.ZodBoolean;
28937
28937
  lastUsedAt: z.ZodNullable<z.ZodString>;
28938
28938
  defaultProjectId: z.ZodNullable<z.ZodString>;
28939
28939
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -28969,16 +28969,16 @@ 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;
28972
+ tenantId: z.ZodNullable<z.ZodString>;
28973
+ projectId: z.ZodNullable<z.ZodString>;
28973
28974
  id: z.ZodString;
28974
28975
  name: z.ZodString;
28975
28976
  description: z.ZodNullable<z.ZodString>;
28977
+ type: z.ZodString;
28976
28978
  createdAt: z.ZodString;
28977
28979
  updatedAt: z.ZodString;
28978
- tenantId: z.ZodNullable<z.ZodString>;
28979
- projectId: z.ZodNullable<z.ZodString>;
28980
- enabled: z.ZodBoolean;
28981
28980
  prompt: z.ZodNullable<z.ZodString>;
28981
+ enabled: z.ZodBoolean;
28982
28982
  lastUsedAt: z.ZodNullable<z.ZodString>;
28983
28983
  defaultProjectId: z.ZodNullable<z.ZodString>;
28984
28984
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -29022,13 +29022,13 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29022
29022
  data: z.ZodArray<z.ZodObject<{
29023
29023
  id: z.ZodString;
29024
29024
  name: z.ZodString;
29025
- createdAt: z.ZodString;
29026
- updatedAt: z.ZodString;
29027
- toolId: z.ZodNullable<z.ZodString>;
29028
29025
  credentialStoreId: z.ZodString;
29029
29026
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29027
+ toolId: z.ZodNullable<z.ZodString>;
29030
29028
  userId: z.ZodNullable<z.ZodString>;
29031
29029
  createdBy: z.ZodNullable<z.ZodString>;
29030
+ createdAt: z.ZodString;
29031
+ updatedAt: z.ZodString;
29032
29032
  type: z.ZodEnum<{
29033
29033
  readonly memory: "memory";
29034
29034
  readonly keychain: "keychain";
@@ -29657,9 +29657,9 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
29657
29657
  id: z.ZodString;
29658
29658
  createdAt: z.ZodString;
29659
29659
  updatedAt: z.ZodString;
29660
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29661
29660
  subAgentId: z.ZodString;
29662
29661
  functionToolId: z.ZodString;
29662
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29663
29663
  }, z.core.$strip>>;
29664
29664
  pagination: z.ZodObject<{
29665
29665
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29801,12 +29801,12 @@ 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
+ toolId: z.ZodString;
29804
29805
  createdAt: z.ZodString;
29805
29806
  updatedAt: z.ZodString;
29806
- toolId: z.ZodString;
29807
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29808
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29809
29807
  subAgentId: z.ZodString;
29808
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29809
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29810
29810
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29811
29811
  }, z.core.$strip>>;
29812
29812
  pagination: z.ZodObject<{
@@ -29821,10 +29821,10 @@ declare const TriggerListResponse: z.ZodObject<{
29821
29821
  id: z.ZodString;
29822
29822
  name: z.ZodString;
29823
29823
  description: z.ZodNullable<z.ZodString>;
29824
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29824
29825
  createdAt: z.ZodString;
29825
29826
  updatedAt: z.ZodString;
29826
29827
  enabled: z.ZodBoolean;
29827
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29828
29828
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29829
29829
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29830
29830
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -29832,15 +29832,15 @@ declare const TriggerListResponse: z.ZodObject<{
29832
29832
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29833
29833
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29834
29834
  algorithm: z.ZodEnum<{
29835
+ md5: "md5";
29835
29836
  sha256: "sha256";
29836
29837
  sha512: "sha512";
29837
29838
  sha384: "sha384";
29838
29839
  sha1: "sha1";
29839
- md5: "md5";
29840
29840
  }>;
29841
29841
  encoding: z.ZodEnum<{
29842
- hex: "hex";
29843
29842
  base64: "base64";
29843
+ hex: "hex";
29844
29844
  }>;
29845
29845
  signature: z.ZodObject<{
29846
29846
  source: z.ZodEnum<{
@@ -29897,8 +29897,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29897
29897
  hash: z.ZodString;
29898
29898
  }, z.core.$strip>>>;
29899
29899
  createdAt: z.ZodString;
29900
- status: z.ZodString;
29901
29900
  conversationId: z.ZodNullable<z.ZodString>;
29901
+ status: z.ZodString;
29902
29902
  triggerId: z.ZodString;
29903
29903
  requestPayload: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
29904
29904
  transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
@@ -29916,10 +29916,10 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29916
29916
  id: z.ZodString;
29917
29917
  name: z.ZodString;
29918
29918
  description: z.ZodNullable<z.ZodString>;
29919
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29919
29920
  createdAt: z.ZodString;
29920
29921
  updatedAt: z.ZodString;
29921
29922
  enabled: z.ZodBoolean;
29922
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29923
29923
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29924
29924
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29925
29925
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -29927,15 +29927,15 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29927
29927
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29928
29928
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29929
29929
  algorithm: z.ZodEnum<{
29930
+ md5: "md5";
29930
29931
  sha256: "sha256";
29931
29932
  sha512: "sha512";
29932
29933
  sha384: "sha384";
29933
29934
  sha1: "sha1";
29934
- md5: "md5";
29935
29935
  }>;
29936
29936
  encoding: z.ZodEnum<{
29937
- hex: "hex";
29938
29937
  base64: "base64";
29938
+ hex: "hex";
29939
29939
  }>;
29940
29940
  signature: z.ZodObject<{
29941
29941
  source: z.ZodEnum<{
@@ -29979,10 +29979,10 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29979
29979
  id: z.ZodString;
29980
29980
  name: z.ZodString;
29981
29981
  description: z.ZodNullable<z.ZodString>;
29982
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29982
29983
  createdAt: z.ZodString;
29983
29984
  updatedAt: z.ZodString;
29984
29985
  enabled: z.ZodBoolean;
29985
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29986
29986
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29987
29987
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29988
29988
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -29990,15 +29990,15 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29990
29990
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29991
29991
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29992
29992
  algorithm: z.ZodEnum<{
29993
+ md5: "md5";
29993
29994
  sha256: "sha256";
29994
29995
  sha512: "sha512";
29995
29996
  sha384: "sha384";
29996
29997
  sha1: "sha1";
29997
- md5: "md5";
29998
29998
  }>;
29999
29999
  encoding: z.ZodEnum<{
30000
- hex: "hex";
30001
30000
  base64: "base64";
30001
+ hex: "hex";
30002
30002
  }>;
30003
30003
  signature: z.ZodObject<{
30004
30004
  source: z.ZodEnum<{
@@ -30043,10 +30043,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30043
30043
  id: z.ZodString;
30044
30044
  name: z.ZodString;
30045
30045
  description: z.ZodNullable<z.ZodString>;
30046
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30046
30047
  createdAt: z.ZodString;
30047
30048
  updatedAt: z.ZodString;
30048
30049
  enabled: z.ZodBoolean;
30049
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30050
30050
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30051
30051
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30052
30052
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -30054,15 +30054,15 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30054
30054
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30055
30055
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30056
30056
  algorithm: z.ZodEnum<{
30057
+ md5: "md5";
30057
30058
  sha256: "sha256";
30058
30059
  sha512: "sha512";
30059
30060
  sha384: "sha384";
30060
30061
  sha1: "sha1";
30061
- md5: "md5";
30062
30062
  }>;
30063
30063
  encoding: z.ZodEnum<{
30064
- hex: "hex";
30065
30064
  base64: "base64";
30065
+ hex: "hex";
30066
30066
  }>;
30067
30067
  signature: z.ZodObject<{
30068
30068
  source: z.ZodEnum<{
@@ -30112,10 +30112,10 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30112
30112
  name: z.ZodString;
30113
30113
  description: z.ZodNullable<z.ZodString>;
30114
30114
  ref: z.ZodString;
30115
+ createdBy: z.ZodNullable<z.ZodString>;
30115
30116
  createdAt: z.ZodString;
30116
30117
  updatedAt: z.ZodString;
30117
30118
  enabled: z.ZodBoolean;
30118
- createdBy: z.ZodNullable<z.ZodString>;
30119
30119
  messageTemplate: z.ZodNullable<z.ZodString>;
30120
30120
  runAsUserId: z.ZodNullable<z.ZodString>;
30121
30121
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30140,10 +30140,10 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
30140
30140
  name: z.ZodString;
30141
30141
  description: z.ZodNullable<z.ZodString>;
30142
30142
  ref: z.ZodString;
30143
+ createdBy: z.ZodNullable<z.ZodString>;
30143
30144
  createdAt: z.ZodString;
30144
30145
  updatedAt: z.ZodString;
30145
30146
  enabled: z.ZodBoolean;
30146
- createdBy: z.ZodNullable<z.ZodString>;
30147
30147
  messageTemplate: z.ZodNullable<z.ZodString>;
30148
30148
  runAsUserId: z.ZodNullable<z.ZodString>;
30149
30149
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30162,10 +30162,10 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30162
30162
  name: z.ZodString;
30163
30163
  description: z.ZodNullable<z.ZodString>;
30164
30164
  ref: z.ZodString;
30165
+ createdBy: z.ZodNullable<z.ZodString>;
30165
30166
  createdAt: z.ZodString;
30166
30167
  updatedAt: z.ZodString;
30167
30168
  enabled: z.ZodBoolean;
30168
- createdBy: z.ZodNullable<z.ZodString>;
30169
30169
  messageTemplate: z.ZodNullable<z.ZodString>;
30170
30170
  runAsUserId: z.ZodNullable<z.ZodString>;
30171
30171
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30190,10 +30190,10 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30190
30190
  name: z.ZodString;
30191
30191
  description: z.ZodNullable<z.ZodString>;
30192
30192
  ref: z.ZodString;
30193
+ createdBy: z.ZodNullable<z.ZodString>;
30193
30194
  createdAt: z.ZodString;
30194
30195
  updatedAt: z.ZodString;
30195
30196
  enabled: z.ZodBoolean;
30196
- createdBy: z.ZodNullable<z.ZodString>;
30197
30197
  messageTemplate: z.ZodNullable<z.ZodString>;
30198
30198
  runAsUserId: z.ZodNullable<z.ZodString>;
30199
30199
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30340,6 +30340,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30340
30340
  id: z.ZodString;
30341
30341
  name: z.ZodString;
30342
30342
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30343
+ createdAt: z.ZodOptional<z.ZodString>;
30344
+ updatedAt: z.ZodOptional<z.ZodString>;
30343
30345
  models: z.ZodOptional<z.ZodObject<{
30344
30346
  base: z.ZodOptional<z.ZodObject<{
30345
30347
  model: z.ZodOptional<z.ZodString>;
@@ -30360,8 +30362,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30360
30362
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
30361
30363
  }, z.core.$strip>>;
30362
30364
  }, z.core.$strip>>;
30363
- createdAt: z.ZodOptional<z.ZodString>;
30364
- updatedAt: z.ZodOptional<z.ZodString>;
30365
30365
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30366
30366
  type: z.ZodLiteral<"internal">;
30367
30367
  canUse: z.ZodArray<z.ZodObject<{
@@ -30399,6 +30399,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30402
30403
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30403
30404
  config: z.ZodObject<{
30404
30405
  type: z.ZodLiteral<"mcp">;
@@ -30426,7 +30427,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30426
30427
  prompt: z.ZodOptional<z.ZodString>;
30427
30428
  }, z.core.$strip>;
30428
30429
  }, z.core.$strip>;
30429
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30430
30430
  credentialScope: z.ZodOptional<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>>>>;
@@ -30437,8 +30437,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30437
30437
  id: z.ZodString;
30438
30438
  name: z.ZodString;
30439
30439
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30440
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30441
30440
  baseUrl: z.ZodURL;
30441
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30442
30442
  }, z.core.$strip>>>;
30443
30443
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30444
30444
  id: z.ZodString;
@@ -30461,8 +30461,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30461
30461
  id: z.ZodOptional<z.ZodString>;
30462
30462
  name: z.ZodString;
30463
30463
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30464
- enabled: z.ZodOptional<z.ZodBoolean>;
30465
30464
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30465
+ enabled: z.ZodOptional<z.ZodBoolean>;
30466
30466
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30467
30467
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30468
30468
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30520,6 +30520,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30523
30524
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30524
30525
  config: z.ZodObject<{
30525
30526
  type: z.ZodLiteral<"mcp">;
@@ -30547,7 +30548,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30547
30548
  prompt: z.ZodOptional<z.ZodString>;
30548
30549
  }, z.core.$strip>;
30549
30550
  }, z.core.$strip>;
30550
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30551
30551
  credentialScope: z.ZodOptional<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>>>>;
@@ -30652,8 +30652,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30652
30652
  id: z.ZodString;
30653
30653
  name: z.ZodString;
30654
30654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30655
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30656
30655
  baseUrl: z.ZodURL;
30656
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30657
30657
  }, z.core.$strip>>>;
30658
30658
  statusUpdates: z.ZodOptional<z.ZodObject<{
30659
30659
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30673,9 +30673,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30673
30673
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30674
30674
  id: z.ZodString;
30675
30675
  name: z.ZodString;
30676
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30677
30676
  credentialStoreId: z.ZodString;
30678
30677
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30678
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30679
30679
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30680
30680
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30681
30681
  type: z.ZodEnum<{
@@ -30697,6 +30697,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30697
30697
  id: z.ZodString;
30698
30698
  name: z.ZodString;
30699
30699
  description: z.ZodNullable<z.ZodString>;
30700
+ createdAt: z.ZodString;
30701
+ updatedAt: z.ZodString;
30700
30702
  models: z.ZodNullable<z.ZodObject<{
30701
30703
  base: z.ZodObject<{
30702
30704
  model: z.ZodOptional<z.ZodString>;
@@ -30721,8 +30723,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30721
30723
  transferCountIs: z.ZodOptional<z.ZodInt>;
30722
30724
  stepCountIs: z.ZodOptional<z.ZodInt>;
30723
30725
  }, z.core.$strip>>;
30724
- createdAt: z.ZodString;
30725
- updatedAt: z.ZodString;
30726
30726
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30727
30727
  id: z.ZodString;
30728
30728
  name: z.ZodString;
@@ -30736,6 +30736,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30736
30736
  id: z.ZodString;
30737
30737
  name: z.ZodString;
30738
30738
  description: z.ZodNullable<z.ZodString>;
30739
+ createdAt: z.ZodString;
30740
+ updatedAt: z.ZodString;
30739
30741
  models: z.ZodNullable<z.ZodType<{
30740
30742
  base?: {
30741
30743
  model?: string | undefined;
@@ -30822,8 +30824,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30822
30824
  }, {
30823
30825
  stepCountIs?: number | undefined;
30824
30826
  }>>>;
30825
- createdAt: z.ZodString;
30826
- updatedAt: z.ZodString;
30827
30827
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30828
30828
  type: z.ZodLiteral<"internal">;
30829
30829
  canUse: z.ZodArray<z.ZodObject<{
@@ -30855,6 +30855,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30855
30855
  description: z.ZodNullable<z.ZodString>;
30856
30856
  createdAt: z.ZodString;
30857
30857
  updatedAt: z.ZodString;
30858
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
30858
30859
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30859
30860
  config: z.ZodType<{
30860
30861
  type: "mcp";
@@ -30869,7 +30870,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30869
30870
  type: "mcp";
30870
30871
  mcp: ToolMcpConfig;
30871
30872
  }>>;
30872
- credentialReferenceId: z.ZodNullable<z.ZodString>;
30873
30873
  credentialScope: z.ZodString;
30874
30874
  imageUrl: z.ZodNullable<z.ZodString>;
30875
30875
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -30882,8 +30882,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30882
30882
  description: z.ZodNullable<z.ZodString>;
30883
30883
  createdAt: z.ZodString;
30884
30884
  updatedAt: z.ZodString;
30885
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30886
30885
  baseUrl: z.ZodString;
30886
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30887
30887
  }, z.core.$strip>>>;
30888
30888
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30889
30889
  id: z.ZodString;
@@ -30961,6 +30961,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30961
30961
  description: z.ZodNullable<z.ZodString>;
30962
30962
  createdAt: z.ZodString;
30963
30963
  updatedAt: z.ZodString;
30964
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
30964
30965
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30965
30966
  config: z.ZodType<{
30966
30967
  type: "mcp";
@@ -30975,7 +30976,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30975
30976
  type: "mcp";
30976
30977
  mcp: ToolMcpConfig;
30977
30978
  }>>;
30978
- credentialReferenceId: z.ZodNullable<z.ZodString>;
30979
30979
  credentialScope: z.ZodString;
30980
30980
  imageUrl: z.ZodNullable<z.ZodString>;
30981
30981
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -31104,8 +31104,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31104
31104
  description: z.ZodNullable<z.ZodString>;
31105
31105
  createdAt: z.ZodString;
31106
31106
  updatedAt: z.ZodString;
31107
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31108
31107
  baseUrl: z.ZodString;
31108
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31109
31109
  }, z.core.$strip>>>;
31110
31110
  statusUpdates: z.ZodNullable<z.ZodObject<{
31111
31111
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31125,13 +31125,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31125
31125
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31126
31126
  id: z.ZodString;
31127
31127
  name: z.ZodString;
31128
- createdAt: z.ZodString;
31129
- updatedAt: z.ZodString;
31130
- toolId: z.ZodNullable<z.ZodString>;
31131
31128
  credentialStoreId: z.ZodString;
31132
31129
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31130
+ toolId: z.ZodNullable<z.ZodString>;
31133
31131
  userId: z.ZodNullable<z.ZodString>;
31134
31132
  createdBy: z.ZodNullable<z.ZodString>;
31133
+ createdAt: z.ZodString;
31134
+ updatedAt: z.ZodString;
31135
31135
  type: z.ZodEnum<{
31136
31136
  readonly memory: "memory";
31137
31137
  readonly keychain: "keychain";
@@ -31724,6 +31724,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31724
31724
  id: z.ZodString;
31725
31725
  name: z.ZodString;
31726
31726
  description: z.ZodNullable<z.ZodString>;
31727
+ createdAt: z.ZodString;
31728
+ updatedAt: z.ZodString;
31727
31729
  models: z.ZodNullable<z.ZodObject<{
31728
31730
  base: z.ZodObject<{
31729
31731
  model: z.ZodOptional<z.ZodString>;
@@ -31748,14 +31750,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31748
31750
  transferCountIs: z.ZodOptional<z.ZodInt>;
31749
31751
  stepCountIs: z.ZodOptional<z.ZodInt>;
31750
31752
  }, z.core.$strip>>;
31751
- createdAt: z.ZodString;
31752
- updatedAt: z.ZodString;
31753
31753
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31754
31754
  id: z.ZodString;
31755
31755
  name: z.ZodString;
31756
31756
  description: z.ZodNullable<z.ZodString>;
31757
31757
  createdAt: z.ZodString;
31758
31758
  updatedAt: z.ZodString;
31759
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
31759
31760
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31760
31761
  config: z.ZodType<{
31761
31762
  type: "mcp";
@@ -31770,7 +31771,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31770
31771
  type: "mcp";
31771
31772
  mcp: ToolMcpConfig;
31772
31773
  }>>;
31773
- credentialReferenceId: z.ZodNullable<z.ZodString>;
31774
31774
  credentialScope: z.ZodString;
31775
31775
  imageUrl: z.ZodNullable<z.ZodString>;
31776
31776
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -31899,8 +31899,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31899
31899
  description: z.ZodNullable<z.ZodString>;
31900
31900
  createdAt: z.ZodString;
31901
31901
  updatedAt: z.ZodString;
31902
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31903
31902
  baseUrl: z.ZodString;
31903
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31904
31904
  }, z.core.$strip>>>;
31905
31905
  statusUpdates: z.ZodNullable<z.ZodObject<{
31906
31906
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31920,13 +31920,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31920
31920
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31921
31921
  id: z.ZodString;
31922
31922
  name: z.ZodString;
31923
- createdAt: z.ZodString;
31924
- updatedAt: z.ZodString;
31925
- toolId: z.ZodNullable<z.ZodString>;
31926
31923
  credentialStoreId: z.ZodString;
31927
31924
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31925
+ toolId: z.ZodNullable<z.ZodString>;
31928
31926
  userId: z.ZodNullable<z.ZodString>;
31929
31927
  createdBy: z.ZodNullable<z.ZodString>;
31928
+ createdAt: z.ZodString;
31929
+ updatedAt: z.ZodString;
31930
31930
  type: z.ZodEnum<{
31931
31931
  readonly memory: "memory";
31932
31932
  readonly keychain: "keychain";
@@ -32524,6 +32524,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32524
32524
  description: z.ZodNullable<z.ZodString>;
32525
32525
  createdAt: z.ZodString;
32526
32526
  updatedAt: z.ZodString;
32527
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
32527
32528
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32528
32529
  config: z.ZodType<{
32529
32530
  type: "mcp";
@@ -32538,7 +32539,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32538
32539
  type: "mcp";
32539
32540
  mcp: ToolMcpConfig;
32540
32541
  }>>;
32541
- credentialReferenceId: z.ZodNullable<z.ZodString>;
32542
32542
  credentialScope: z.ZodString;
32543
32543
  imageUrl: z.ZodNullable<z.ZodString>;
32544
32544
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -32551,8 +32551,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32551
32551
  description: z.ZodNullable<z.ZodString>;
32552
32552
  createdAt: z.ZodString;
32553
32553
  updatedAt: z.ZodString;
32554
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32555
32554
  baseUrl: z.ZodString;
32555
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32556
32556
  }, z.core.$strip>>>;
32557
32557
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32558
32558
  id: z.ZodString;
@@ -32627,6 +32627,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32627
32627
  id: z.ZodString;
32628
32628
  name: z.ZodString;
32629
32629
  description: z.ZodNullable<z.ZodString>;
32630
+ createdAt: z.ZodString;
32631
+ updatedAt: z.ZodString;
32630
32632
  models: z.ZodNullable<z.ZodType<{
32631
32633
  base?: {
32632
32634
  model?: string | undefined;
@@ -32713,8 +32715,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32713
32715
  }, {
32714
32716
  stepCountIs?: number | undefined;
32715
32717
  }>>>;
32716
- createdAt: z.ZodString;
32717
- updatedAt: z.ZodString;
32718
32718
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32719
32719
  type: z.ZodLiteral<"internal">;
32720
32720
  canUse: z.ZodArray<z.ZodObject<{
@@ -32764,6 +32764,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32764
32764
  id: z.ZodString;
32765
32765
  name: z.ZodString;
32766
32766
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32767
+ createdAt: z.ZodOptional<z.ZodString>;
32768
+ updatedAt: z.ZodOptional<z.ZodString>;
32767
32769
  models: z.ZodOptional<z.ZodObject<{
32768
32770
  base: z.ZodOptional<z.ZodObject<{
32769
32771
  model: z.ZodOptional<z.ZodString>;
@@ -32784,8 +32786,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32784
32786
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
32785
32787
  }, z.core.$strip>>;
32786
32788
  }, z.core.$strip>>;
32787
- createdAt: z.ZodOptional<z.ZodString>;
32788
- updatedAt: z.ZodOptional<z.ZodString>;
32789
32789
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32790
32790
  type: z.ZodLiteral<"internal">;
32791
32791
  canUse: z.ZodArray<z.ZodObject<{
@@ -32823,6 +32823,7 @@ 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
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32826
32827
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32827
32828
  config: z.ZodObject<{
32828
32829
  type: z.ZodLiteral<"mcp">;
@@ -32850,7 +32851,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32850
32851
  prompt: z.ZodOptional<z.ZodString>;
32851
32852
  }, z.core.$strip>;
32852
32853
  }, z.core.$strip>;
32853
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32854
32854
  credentialScope: z.ZodOptional<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>>>>;
@@ -32861,8 +32861,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32861
32861
  id: z.ZodString;
32862
32862
  name: z.ZodString;
32863
32863
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32864
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32865
32864
  baseUrl: z.ZodURL;
32865
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32866
32866
  }, z.core.$strip>>>;
32867
32867
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32868
32868
  id: z.ZodString;
@@ -32885,8 +32885,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32885
32885
  id: z.ZodOptional<z.ZodString>;
32886
32886
  name: z.ZodString;
32887
32887
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32888
- enabled: z.ZodOptional<z.ZodBoolean>;
32889
32888
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32889
+ enabled: z.ZodOptional<z.ZodBoolean>;
32890
32890
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
32891
32891
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
32892
32892
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32955,6 +32955,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32955
32955
  id: z.ZodString;
32956
32956
  name: z.ZodString;
32957
32957
  description: z.ZodNullable<z.ZodString>;
32958
+ createdAt: z.ZodString;
32959
+ updatedAt: z.ZodString;
32958
32960
  models: z.ZodNullable<z.ZodType<{
32959
32961
  base?: {
32960
32962
  model?: string | undefined;
@@ -33041,8 +33043,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33041
33043
  }, {
33042
33044
  stepCountIs?: number | undefined;
33043
33045
  }>>>;
33044
- createdAt: z.ZodString;
33045
- updatedAt: z.ZodString;
33046
33046
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33047
33047
  type: z.ZodLiteral<"internal">;
33048
33048
  canUse: z.ZodArray<z.ZodObject<{
@@ -33074,6 +33074,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33074
33074
  description: z.ZodNullable<z.ZodString>;
33075
33075
  createdAt: z.ZodString;
33076
33076
  updatedAt: z.ZodString;
33077
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
33077
33078
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33078
33079
  config: z.ZodType<{
33079
33080
  type: "mcp";
@@ -33088,7 +33089,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33088
33089
  type: "mcp";
33089
33090
  mcp: ToolMcpConfig;
33090
33091
  }>>;
33091
- credentialReferenceId: z.ZodNullable<z.ZodString>;
33092
33092
  credentialScope: z.ZodString;
33093
33093
  imageUrl: z.ZodNullable<z.ZodString>;
33094
33094
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
@@ -33101,8 +33101,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33101
33101
  description: z.ZodNullable<z.ZodString>;
33102
33102
  createdAt: z.ZodString;
33103
33103
  updatedAt: z.ZodString;
33104
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33105
33104
  baseUrl: z.ZodString;
33105
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33106
33106
  }, z.core.$strip>>>;
33107
33107
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33108
33108
  id: z.ZodString;
@@ -33196,11 +33196,12 @@ 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
+ projectId: z.ZodString;
33199
33201
  id: z.ZodString;
33200
33202
  name: z.ZodString;
33201
33203
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33202
- tenantId: z.ZodString;
33203
- projectId: z.ZodString;
33204
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33204
33205
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33205
33206
  config: z.ZodObject<{
33206
33207
  type: z.ZodLiteral<"mcp">;
@@ -33228,7 +33229,6 @@ declare const McpToolResponse: z.ZodObject<{
33228
33229
  prompt: z.ZodOptional<z.ZodString>;
33229
33230
  }, z.core.$strip>;
33230
33231
  }, z.core.$strip>;
33231
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33232
33232
  credentialScope: z.ZodOptional<z.ZodString>;
33233
33233
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33234
33234
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33257,11 +33257,12 @@ 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
+ projectId: z.ZodString;
33260
33262
  id: z.ZodString;
33261
33263
  name: z.ZodString;
33262
33264
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33263
- tenantId: z.ZodString;
33264
- projectId: z.ZodString;
33265
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33265
33266
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33266
33267
  config: z.ZodObject<{
33267
33268
  type: z.ZodLiteral<"mcp">;
@@ -33289,7 +33290,6 @@ declare const McpToolListResponse: z.ZodObject<{
33289
33290
  prompt: z.ZodOptional<z.ZodString>;
33290
33291
  }, z.core.$strip>;
33291
33292
  }, z.core.$strip>;
33292
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33293
33293
  credentialScope: z.ZodOptional<z.ZodString>;
33294
33294
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33295
33295
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33327,8 +33327,8 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
33327
33327
  id: z.ZodString;
33328
33328
  createdAt: z.ZodString;
33329
33329
  updatedAt: z.ZodString;
33330
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33331
33330
  subAgentId: z.ZodString;
33331
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33332
33332
  targetAgentId: z.ZodString;
33333
33333
  }, z.core.$strip>;
33334
33334
  }, z.core.$strip>;
@@ -33337,8 +33337,8 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33337
33337
  id: z.ZodString;
33338
33338
  createdAt: z.ZodString;
33339
33339
  updatedAt: z.ZodString;
33340
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33341
33340
  subAgentId: z.ZodString;
33341
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33342
33342
  targetAgentId: z.ZodString;
33343
33343
  }, z.core.$strip>>;
33344
33344
  pagination: z.ZodObject<{
@@ -33353,9 +33353,9 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
33353
33353
  id: z.ZodString;
33354
33354
  createdAt: z.ZodString;
33355
33355
  updatedAt: z.ZodString;
33356
+ subAgentId: z.ZodString;
33356
33357
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33357
33358
  externalAgentId: z.ZodString;
33358
- subAgentId: z.ZodString;
33359
33359
  }, z.core.$strip>;
33360
33360
  }, z.core.$strip>;
33361
33361
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -33363,9 +33363,9 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33363
33363
  id: z.ZodString;
33364
33364
  createdAt: z.ZodString;
33365
33365
  updatedAt: z.ZodString;
33366
+ subAgentId: z.ZodString;
33366
33367
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33367
33368
  externalAgentId: z.ZodString;
33368
- subAgentId: z.ZodString;
33369
33369
  }, z.core.$strip>>;
33370
33370
  pagination: z.ZodObject<{
33371
33371
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -33783,8 +33783,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod21.BuildSchema<"select", {
33783
33783
  }>;
33784
33784
  }, undefined>, undefined>;
33785
33785
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
33786
- id: z.ZodString;
33787
33786
  tenantId: z.ZodString;
33787
+ id: 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_zod21.BuildSchema<"
34135
34135
  }>;
34136
34136
  }, undefined>, undefined>;
34137
34137
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34138
- id: z.ZodString;
34139
34138
  tenantId: z.ZodString;
34139
+ id: 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<{
@@ -36669,9 +36669,9 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
36669
36669
  in: {};
36670
36670
  }>;
36671
36671
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36672
- id: z.ZodString;
36673
36672
  tenantId: z.ZodString;
36674
36673
  projectId: z.ZodString;
36674
+ id: z.ZodString;
36675
36675
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36676
36676
  agentId: z.ZodString;
36677
36677
  conversationId: z.ZodString;
@@ -36687,9 +36687,9 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36687
36687
  in: {};
36688
36688
  }>;
36689
36689
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
36690
- id: z.ZodOptional<z.ZodString>;
36691
36690
  tenantId: z.ZodOptional<z.ZodString>;
36692
36691
  projectId: z.ZodOptional<z.ZodString>;
36692
+ id: z.ZodOptional<z.ZodString>;
36693
36693
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36694
36694
  agentId: z.ZodOptional<z.ZodString>;
36695
36695
  conversationId: z.ZodOptional<z.ZodString>;