@inkeep/agents-core 0.69.0 → 0.70.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/auth/auth-schema.d.ts +227 -227
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/allowed-file-formats.d.ts +6 -1
  6. package/dist/constants/allowed-file-formats.js +256 -24
  7. package/dist/constants/index.d.ts +2 -2
  8. package/dist/constants/index.js +2 -2
  9. package/dist/constants/signoz-queries.d.ts +1 -0
  10. package/dist/constants/signoz-queries.js +2 -1
  11. package/dist/data-access/manage/agents.d.ts +20 -20
  12. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  13. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  14. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  15. package/dist/data-access/manage/functionTools.d.ts +12 -12
  16. package/dist/data-access/manage/skills.d.ts +11 -11
  17. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  18. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  19. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  20. package/dist/data-access/manage/subAgents.d.ts +12 -12
  21. package/dist/data-access/manage/tools.d.ts +24 -24
  22. package/dist/data-access/manage/triggers.d.ts +2 -2
  23. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  24. package/dist/data-access/runtime/apps.d.ts +10 -10
  25. package/dist/data-access/runtime/conversations.d.ts +16 -16
  26. package/dist/data-access/runtime/feedback.d.ts +6 -6
  27. package/dist/data-access/runtime/messages.d.ts +24 -24
  28. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  29. package/dist/data-access/runtime/tasks.d.ts +5 -5
  30. package/dist/db/manage/manage-schema.d.ts +453 -453
  31. package/dist/db/runtime/runtime-schema.d.ts +413 -413
  32. package/dist/middleware/no-auth.d.ts +2 -2
  33. package/dist/utils/error.d.ts +51 -51
  34. package/dist/validation/schemas/skills.d.ts +24 -24
  35. package/dist/validation/schemas.d.ts +545 -545
  36. package/package.json +1 -1
@@ -739,9 +739,9 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
739
739
  in: {};
740
740
  }>;
741
741
  declare const SubAgentApiSelectSchema: z.ZodObject<{
742
+ id: z.ZodString;
742
743
  name: z.ZodString;
743
744
  description: z.ZodNullable<z.ZodString>;
744
- id: z.ZodString;
745
745
  createdAt: z.ZodString;
746
746
  updatedAt: z.ZodString;
747
747
  models: z.ZodNullable<z.ZodType<{
@@ -834,9 +834,9 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
834
834
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
835
835
  }, z.core.$strip>;
836
836
  declare const SubAgentApiInsertSchema: z.ZodObject<{
837
+ id: z.ZodString;
837
838
  name: z.ZodString;
838
839
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
839
- id: z.ZodString;
840
840
  createdAt: z.ZodOptional<z.ZodString>;
841
841
  updatedAt: z.ZodOptional<z.ZodString>;
842
842
  models: z.ZodOptional<z.ZodObject<{
@@ -872,9 +872,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
872
872
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
873
873
  }, z.core.$strip>;
874
874
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
875
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
875
876
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
877
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
877
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
878
878
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
879
879
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
880
880
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "name" | "description" | "tenantId" | "projectId" | "id" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2668
2668
  declare const AgentUpdateSchema: z.ZodObject<{
2669
2669
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2670
2670
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2825,9 +2825,9 @@ declare const AgentUpdateSchema: z.ZodObject<{
2825
2825
  in: {};
2826
2826
  }>;
2827
2827
  declare const AgentApiSelectSchema: z.ZodObject<{
2828
+ id: z.ZodString;
2828
2829
  name: z.ZodString;
2829
2830
  description: z.ZodNullable<z.ZodString>;
2830
- id: z.ZodString;
2831
2831
  createdAt: z.ZodString;
2832
2832
  updatedAt: z.ZodString;
2833
2833
  models: z.ZodNullable<z.ZodType<{
@@ -2916,9 +2916,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2916
2916
  }, {
2917
2917
  transferCountIs?: number | undefined;
2918
2918
  }>>>;
2919
- prompt: z.ZodNullable<z.ZodString>;
2920
2919
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2921
2920
  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;
@@ -2979,9 +2979,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2979
2979
  executionMode: z.ZodString;
2980
2980
  }, z.core.$strip>;
2981
2981
  declare const AgentApiInsertSchema: z.ZodObject<{
2982
+ id: z.ZodString;
2982
2983
  name: z.ZodString;
2983
2984
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2984
- id: z.ZodString;
2985
2985
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2986
2986
  base?: {
2987
2987
  model?: string | 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>>;
3072
3071
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
3072
  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>>>>;
3223
3222
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
3223
  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;
@@ -4394,7 +4394,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4394
4394
  }, {}, {
4395
4395
  length: 256;
4396
4396
  }>;
4397
- }, "name" | "description" | "tenantId" | "projectId" | "id" | "createdAt" | "updatedAt" | "inputSchema" | "agentId" | "enabled" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs" | "createdBy">, undefined>, undefined>;
4397
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "createdBy" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs">, undefined>, undefined>;
4398
4398
  declare const runAsUserIdsSchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
4399
4399
  declare const TriggerUpdateSchema: z.ZodObject<{
4400
4400
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4426,13 +4426,14 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4426
4426
  in: {};
4427
4427
  }>;
4428
4428
  declare const TriggerApiSelectSchema: z.ZodObject<{
4429
+ id: z.ZodString;
4429
4430
  name: z.ZodString;
4430
4431
  description: z.ZodNullable<z.ZodString>;
4431
- id: z.ZodString;
4432
4432
  createdAt: z.ZodString;
4433
4433
  updatedAt: z.ZodString;
4434
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4434
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4435
4435
  enabled: z.ZodBoolean;
4436
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4436
4437
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4437
4438
  messageTemplate: z.ZodNullable<z.ZodString>;
4438
4439
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -4484,14 +4485,14 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4484
4485
  }, z.core.$strip>>>;
4485
4486
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4486
4487
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4487
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4488
4488
  }, z.core.$strip>;
4489
4489
  declare const TriggerApiInsertBaseSchema: z.ZodObject<{
4490
+ id: z.ZodOptional<z.ZodString>;
4490
4491
  name: z.ZodString;
4491
4492
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4492
- id: z.ZodOptional<z.ZodString>;
4493
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4493
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4494
4494
  enabled: z.ZodOptional<z.ZodBoolean>;
4495
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4495
4496
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4496
4497
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4497
4498
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -4499,15 +4500,15 @@ declare const TriggerApiInsertBaseSchema: z.ZodObject<{
4499
4500
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4500
4501
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4501
4502
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4502
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4503
4503
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4504
4504
  }, z.core.$strip>;
4505
4505
  declare const TriggerApiInsertSchema: z.ZodObject<{
4506
+ id: z.ZodOptional<z.ZodString>;
4506
4507
  name: z.ZodString;
4507
4508
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4508
- id: z.ZodOptional<z.ZodString>;
4509
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4509
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4510
4510
  enabled: z.ZodOptional<z.ZodBoolean>;
4511
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4511
4512
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4512
4513
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4513
4514
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -4515,17 +4516,17 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4515
4516
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4516
4517
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4517
4518
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4518
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4519
4519
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4520
4520
  }, z.core.$strip>;
4521
4521
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4522
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4522
4523
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4523
4524
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4524
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4525
4525
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4526
4526
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4527
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4527
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4528
4528
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4529
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4529
4530
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4530
4531
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4531
4532
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -4539,17 +4540,17 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4539
4540
  signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
4540
4541
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4541
4542
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
4542
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4543
4543
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4544
4544
  }, z.core.$strip>;
4545
4545
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4546
+ id: z.ZodString;
4546
4547
  name: z.ZodString;
4547
4548
  description: z.ZodNullable<z.ZodString>;
4548
- id: z.ZodString;
4549
4549
  createdAt: z.ZodString;
4550
4550
  updatedAt: z.ZodString;
4551
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4551
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4552
4552
  enabled: z.ZodBoolean;
4553
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4553
4554
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4554
4555
  messageTemplate: z.ZodNullable<z.ZodString>;
4555
4556
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -4601,7 +4602,6 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4601
4602
  }, z.core.$strip>>>;
4602
4603
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4603
4604
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4604
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4605
4605
  runAsUserIds: z.ZodArray<z.ZodString>;
4606
4606
  userCount: z.ZodNumber;
4607
4607
  webhookUrl: z.ZodString;
@@ -5167,7 +5167,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
5167
5167
  }, {}, {
5168
5168
  length: 256;
5169
5169
  }>;
5170
- }, "tenantId" | "projectId" | "status" | "id" | "createdAt" | "agentId" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "ref" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5170
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "ref" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5171
5171
  declare const SetTriggerUsersRequestSchema: z.ZodObject<{
5172
5172
  userIds: z.ZodArray<z.ZodString>;
5173
5173
  }, z.core.$strip>;
@@ -5213,9 +5213,9 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5213
5213
  in: {};
5214
5214
  }>;
5215
5215
  declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5216
- status: z.ZodString;
5217
5216
  id: z.ZodString;
5218
5217
  createdAt: z.ZodString;
5218
+ status: z.ZodString;
5219
5219
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
5220
  triggerId: z.ZodString;
5221
5221
  conversationId: z.ZodNullable<z.ZodString>;
@@ -5234,8 +5234,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5234
5234
  errorMessage: z.ZodNullable<z.ZodString>;
5235
5235
  }, z.core.$strip>;
5236
5236
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5237
- status: z.ZodOptional<z.ZodString>;
5238
5237
  createdAt: z.ZodOptional<z.ZodString>;
5238
+ status: z.ZodOptional<z.ZodString>;
5239
5239
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5240
5240
  triggerId: z.ZodString;
5241
5241
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5263,9 +5263,9 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5263
5263
  id: z.ZodString;
5264
5264
  }, z.core.$strip>;
5265
5265
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5266
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5267
5266
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5268
5267
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5268
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5269
5269
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5270
5270
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5271
5271
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5321,17 +5321,17 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5321
5321
  in: {};
5322
5322
  }>;
5323
5323
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5324
+ id: z.ZodString;
5324
5325
  name: z.ZodString;
5325
5326
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5326
- tenantId: z.ZodString;
5327
5327
  projectId: z.ZodString;
5328
- id: z.ZodString;
5328
+ tenantId: z.ZodString;
5329
5329
  agentId: z.ZodString;
5330
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5330
5331
  enabled: z.ZodOptional<z.ZodBoolean>;
5331
5332
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5332
5333
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5333
5334
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5334
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5335
5335
  ref: z.ZodOptional<z.ZodString>;
5336
5336
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5337
5337
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5345,16 +5345,16 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5345
5345
  in: {};
5346
5346
  }>;
5347
5347
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5348
+ id: z.ZodOptional<z.ZodString>;
5348
5349
  name: z.ZodOptional<z.ZodString>;
5349
5350
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5350
- tenantId: z.ZodOptional<z.ZodString>;
5351
5351
  projectId: z.ZodOptional<z.ZodString>;
5352
- id: z.ZodOptional<z.ZodString>;
5352
+ tenantId: z.ZodOptional<z.ZodString>;
5353
5353
  agentId: z.ZodOptional<z.ZodString>;
5354
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5354
5355
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5355
5356
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5356
5357
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
5357
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5358
5358
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5359
5359
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5360
5360
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -5369,16 +5369,16 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5369
5369
  in: {};
5370
5370
  }>;
5371
5371
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5372
+ id: z.ZodString;
5372
5373
  name: z.ZodString;
5373
5374
  description: z.ZodNullable<z.ZodString>;
5374
- id: z.ZodString;
5375
5375
  createdAt: z.ZodString;
5376
5376
  updatedAt: z.ZodString;
5377
+ createdBy: z.ZodNullable<z.ZodString>;
5377
5378
  enabled: z.ZodBoolean;
5378
5379
  messageTemplate: z.ZodNullable<z.ZodString>;
5379
5380
  runAsUserId: z.ZodNullable<z.ZodString>;
5380
5381
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
5381
- createdBy: z.ZodNullable<z.ZodString>;
5382
5382
  ref: z.ZodString;
5383
5383
  cronExpression: z.ZodNullable<z.ZodString>;
5384
5384
  cronTimezone: z.ZodNullable<z.ZodString>;
@@ -5392,10 +5392,10 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5392
5392
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5393
5393
  name: z.ZodString;
5394
5394
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5395
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5395
5396
  enabled: z.ZodOptional<z.ZodBoolean>;
5396
5397
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5397
5398
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5398
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5399
5399
  ref: z.ZodOptional<z.ZodString>;
5400
5400
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5401
5401
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5411,10 +5411,10 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5411
5411
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5412
5412
  name: z.ZodString;
5413
5413
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5414
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5414
5415
  enabled: z.ZodOptional<z.ZodBoolean>;
5415
5416
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5416
5417
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5417
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5418
5418
  ref: z.ZodOptional<z.ZodString>;
5419
5419
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5420
5420
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5428,13 +5428,13 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5428
5428
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
5429
5429
  }, z.core.$strip>;
5430
5430
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5431
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5431
5432
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5432
5433
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5433
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5434
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5434
5435
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5435
5436
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5436
5437
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5437
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5438
5438
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5439
5439
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5440
5440
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6105,7 +6105,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
6105
6105
  }, {}, {
6106
6106
  length: 256;
6107
6107
  }>;
6108
- }, "tenantId" | "projectId" | "status" | "id" | "createdAt" | "agentId" | "runAsUserId" | "ref" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6108
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "runAsUserId" | "conversationIds" | "ref" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6109
6109
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6110
6110
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6111
6111
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6144,6 +6144,8 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6144
6144
  in: {};
6145
6145
  }>;
6146
6146
  declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6147
+ id: z.ZodString;
6148
+ createdAt: z.ZodString;
6147
6149
  status: z.ZodEnum<{
6148
6150
  pending: "pending";
6149
6151
  failed: "failed";
@@ -6151,9 +6153,8 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6151
6153
  completed: "completed";
6152
6154
  cancelled: "cancelled";
6153
6155
  }>;
6154
- id: z.ZodString;
6155
- createdAt: z.ZodString;
6156
6156
  runAsUserId: z.ZodNullable<z.ZodString>;
6157
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
6157
6158
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6158
6159
  type: z.ZodEnum<{
6159
6160
  commit: "commit";
@@ -6168,14 +6169,14 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6168
6169
  startedAt: z.ZodNullable<z.ZodString>;
6169
6170
  completedAt: z.ZodNullable<z.ZodString>;
6170
6171
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6171
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
6172
6172
  attemptNumber: z.ZodInt;
6173
6173
  idempotencyKey: z.ZodString;
6174
6174
  }, z.core.$strip>;
6175
6175
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6176
- status: z.ZodString;
6177
6176
  createdAt: z.ZodOptional<z.ZodString>;
6177
+ status: z.ZodString;
6178
6178
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6179
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6179
6180
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
6180
6181
  type: "commit" | "tag" | "branch";
6181
6182
  name: string;
@@ -6198,16 +6199,16 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6198
6199
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6199
6200
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6200
6201
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
6201
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6202
6202
  attemptNumber: z.ZodOptional<z.ZodInt>;
6203
6203
  idempotencyKey: z.ZodString;
6204
6204
  id: z.ZodString;
6205
6205
  }, z.core.$strip>;
6206
6206
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6207
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6208
6207
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6209
6208
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6209
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6210
6210
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6211
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6211
6212
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6212
6213
  type: "commit" | "tag" | "branch";
6213
6214
  name: string;
@@ -6230,7 +6231,6 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6230
6231
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6231
6232
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6232
6233
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
6233
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6234
6234
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6235
6235
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6236
6236
  }, z.core.$strip>;
@@ -6457,12 +6457,13 @@ declare const TaskUpdateSchema: z.ZodObject<{
6457
6457
  in: {};
6458
6458
  }>;
6459
6459
  declare const TaskApiSelectSchema: z.ZodObject<{
6460
- status: z.ZodString;
6461
6460
  id: z.ZodString;
6461
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6462
6462
  createdAt: z.ZodString;
6463
6463
  updatedAt: z.ZodString;
6464
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6465
6464
  agentId: z.ZodString;
6465
+ status: z.ZodString;
6466
+ subAgentId: z.ZodString;
6466
6467
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6467
6468
  type: z.ZodEnum<{
6468
6469
  commit: "commit";
@@ -6473,15 +6474,15 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6473
6474
  hash: z.ZodString;
6474
6475
  }, z.core.$strip>>>;
6475
6476
  contextId: z.ZodString;
6476
- subAgentId: z.ZodString;
6477
6477
  }, z.core.$strip>;
6478
6478
  declare const TaskApiInsertSchema: z.ZodObject<{
6479
- status: z.ZodString;
6480
6479
  id: z.ZodString;
6480
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6481
6481
  createdAt: z.ZodOptional<z.ZodString>;
6482
6482
  updatedAt: z.ZodOptional<z.ZodString>;
6483
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6484
6483
  agentId: z.ZodString;
6484
+ status: z.ZodString;
6485
+ subAgentId: z.ZodString;
6485
6486
  conversationId: z.ZodOptional<z.ZodString>;
6486
6487
  ref: z.ZodObject<{
6487
6488
  type: z.ZodEnum<{
@@ -6493,15 +6494,15 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6493
6494
  hash: z.ZodString;
6494
6495
  }, z.core.$strip>;
6495
6496
  contextId: z.ZodString;
6496
- subAgentId: z.ZodString;
6497
6497
  }, z.core.$strip>;
6498
6498
  declare const TaskApiUpdateSchema: z.ZodObject<{
6499
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6500
6499
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6500
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6501
6501
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6502
6502
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6503
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6504
6503
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6504
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6505
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6505
6506
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6506
6507
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6507
6508
  type: z.ZodEnum<{
@@ -6513,7 +6514,6 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6513
6514
  hash: z.ZodString;
6514
6515
  }, z.core.$strip>>>;
6515
6516
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6516
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6517
6517
  }, z.core.$strip>;
6518
6518
  declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
6519
6519
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -6875,9 +6875,9 @@ declare const McpTransportConfigSchema: z.ZodObject<{
6875
6875
  sessionId: z.ZodOptional<z.ZodString>;
6876
6876
  }, z.core.$strip>;
6877
6877
  declare const ToolStatusSchema: z.ZodEnum<{
6878
- unknown: "unknown";
6879
6878
  healthy: "healthy";
6880
6879
  unhealthy: "unhealthy";
6880
+ unknown: "unknown";
6881
6881
  needs_auth: "needs_auth";
6882
6882
  unavailable: "unavailable";
6883
6883
  }>;
@@ -7448,12 +7448,11 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
7448
7448
  }>;
7449
7449
  }, undefined>, undefined>;
7450
7450
  declare const ToolInsertSchema: z.ZodObject<{
7451
+ id: z.ZodString;
7451
7452
  name: z.ZodString;
7452
7453
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7453
- tenantId: z.ZodString;
7454
7454
  projectId: z.ZodString;
7455
- id: z.ZodString;
7456
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7455
+ tenantId: z.ZodString;
7457
7456
  config: z.ZodObject<{
7458
7457
  type: z.ZodLiteral<"mcp">;
7459
7458
  mcp: z.ZodObject<{
@@ -7482,6 +7481,7 @@ declare const ToolInsertSchema: z.ZodObject<{
7482
7481
  }, z.core.$strip>;
7483
7482
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7484
7483
  credentialScope: z.ZodOptional<z.ZodString>;
7484
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7485
7485
  imageUrl: z.ZodOptional<z.ZodString>;
7486
7486
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7487
7487
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7568,11 +7568,11 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7568
7568
  in: {};
7569
7569
  }>;
7570
7570
  declare const ConversationApiSelectSchema: z.ZodObject<{
7571
- title: z.ZodNullable<z.ZodString>;
7572
7571
  id: z.ZodString;
7572
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7573
7573
  createdAt: z.ZodString;
7574
7574
  updatedAt: z.ZodString;
7575
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7575
+ title: z.ZodNullable<z.ZodString>;
7576
7576
  agentId: z.ZodNullable<z.ZodString>;
7577
7577
  userId: z.ZodNullable<z.ZodString>;
7578
7578
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -7588,14 +7588,14 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7588
7588
  lastContextResolution: z.ZodNullable<z.ZodString>;
7589
7589
  }, z.core.$strip>;
7590
7590
  declare const ConversationApiInsertSchema: z.ZodObject<{
7591
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7592
7591
  id: z.ZodString;
7592
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7593
7593
  createdAt: z.ZodOptional<z.ZodString>;
7594
7594
  updatedAt: z.ZodOptional<z.ZodString>;
7595
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7595
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7596
7596
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7597
- contextConfigId: z.ZodOptional<z.ZodString>;
7598
7597
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7598
+ contextConfigId: z.ZodOptional<z.ZodString>;
7599
7599
  ref: z.ZodObject<{
7600
7600
  type: z.ZodEnum<{
7601
7601
  commit: "commit";
@@ -7609,14 +7609,14 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7609
7609
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7610
7610
  }, z.core.$strip>;
7611
7611
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7612
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7613
7612
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7613
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7614
7614
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7615
7615
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7616
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7616
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7617
7617
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7618
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7619
7618
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7619
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7620
7620
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7621
7621
  type: z.ZodEnum<{
7622
7622
  commit: "commit";
@@ -8475,66 +8475,66 @@ declare const MessageUpdateSchema: z.ZodObject<{
8475
8475
  in: {};
8476
8476
  }>;
8477
8477
  declare const MessageApiSelectSchema: z.ZodObject<{
8478
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8479
8478
  id: z.ZodString;
8479
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8480
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8480
8481
  createdAt: z.ZodString;
8481
8482
  updatedAt: z.ZodString;
8482
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8483
- conversationId: z.ZodString;
8484
- role: z.ZodString;
8485
8483
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8486
8484
  toSubAgentId: z.ZodNullable<z.ZodString>;
8487
8485
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
8488
8486
  toExternalAgentId: z.ZodNullable<z.ZodString>;
8487
+ taskId: z.ZodNullable<z.ZodString>;
8488
+ a2aTaskId: z.ZodNullable<z.ZodString>;
8489
+ conversationId: z.ZodString;
8490
+ role: z.ZodString;
8489
8491
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
8490
8492
  toTeamAgentId: z.ZodNullable<z.ZodString>;
8491
8493
  visibility: z.ZodString;
8492
8494
  messageType: z.ZodString;
8493
- taskId: z.ZodNullable<z.ZodString>;
8494
8495
  parentMessageId: z.ZodNullable<z.ZodString>;
8495
- a2aTaskId: z.ZodNullable<z.ZodString>;
8496
8496
  a2aSessionId: z.ZodNullable<z.ZodString>;
8497
8497
  }, z.core.$strip>;
8498
8498
  declare const MessageApiInsertSchema: z.ZodObject<{
8499
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8500
8499
  id: z.ZodString;
8500
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8501
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8501
8502
  createdAt: z.ZodOptional<z.ZodString>;
8502
8503
  updatedAt: z.ZodOptional<z.ZodString>;
8503
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8504
- conversationId: z.ZodString;
8505
- role: z.ZodString;
8506
8504
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8507
8505
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8508
8506
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8509
8507
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8508
+ taskId: z.ZodOptional<z.ZodString>;
8509
+ a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8510
+ conversationId: z.ZodString;
8511
+ role: z.ZodString;
8510
8512
  fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8511
8513
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8512
8514
  visibility: z.ZodOptional<z.ZodString>;
8513
8515
  messageType: z.ZodOptional<z.ZodString>;
8514
- taskId: z.ZodOptional<z.ZodString>;
8515
8516
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8516
- a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8517
8517
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8518
8518
  }, z.core.$strip>;
8519
8519
  declare const MessageApiUpdateSchema: z.ZodObject<{
8520
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8521
8520
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8521
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8522
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8522
8523
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8523
8524
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8524
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8525
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8526
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8527
8525
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8528
8526
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8529
8527
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8530
8528
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8529
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8530
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8531
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8532
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8531
8533
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8532
8534
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8533
8535
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8534
8536
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8535
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8536
8537
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8537
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8538
8538
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8539
8539
  }, z.core.$strip>;
8540
8540
  declare const FeedbackSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -8911,9 +8911,9 @@ declare const FeedbackApiSelectSchema: z.ZodObject<{
8911
8911
  id: z.ZodString;
8912
8912
  createdAt: z.ZodString;
8913
8913
  updatedAt: z.ZodString;
8914
+ details: z.ZodNullable<z.ZodString>;
8914
8915
  conversationId: z.ZodString;
8915
8916
  messageId: z.ZodNullable<z.ZodString>;
8916
- details: z.ZodNullable<z.ZodString>;
8917
8917
  }, z.core.$strip>;
8918
8918
  declare const FeedbackApiInsertSchema: z.ZodObject<{
8919
8919
  type: z.ZodEnum<{
@@ -8922,9 +8922,9 @@ declare const FeedbackApiInsertSchema: z.ZodObject<{
8922
8922
  }>;
8923
8923
  createdAt: z.ZodOptional<z.ZodString>;
8924
8924
  updatedAt: z.ZodOptional<z.ZodString>;
8925
+ details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8925
8926
  conversationId: z.ZodString;
8926
8927
  messageId: z.ZodOptional<z.ZodString>;
8927
- details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8928
8928
  id: z.ZodOptional<z.ZodString>;
8929
8929
  }, z.core.$strip>;
8930
8930
  declare const FeedbackApiUpdateSchema: z.ZodObject<{
@@ -9163,6 +9163,9 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
9163
9163
  id: z.ZodString;
9164
9164
  createdAt: z.ZodString;
9165
9165
  updatedAt: z.ZodString;
9166
+ datasetId: z.ZodString;
9167
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9168
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
9166
9169
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9167
9170
  type: z.ZodEnum<{
9168
9171
  commit: "commit";
@@ -9172,13 +9175,13 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
9172
9175
  name: z.ZodString;
9173
9176
  hash: z.ZodString;
9174
9177
  }, z.core.$strip>>>;
9175
- datasetId: z.ZodString;
9176
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
9177
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9178
9178
  }, z.core.$strip>;
9179
9179
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
9180
9180
  createdAt: z.ZodOptional<z.ZodString>;
9181
9181
  updatedAt: z.ZodOptional<z.ZodString>;
9182
+ datasetId: z.ZodString;
9183
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9184
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9182
9185
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9183
9186
  type: "commit" | "tag" | "branch";
9184
9187
  name: string;
@@ -9196,13 +9199,13 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9196
9199
  name: string;
9197
9200
  hash: string;
9198
9201
  }>>>>;
9199
- datasetId: z.ZodString;
9200
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9201
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9202
9202
  }, z.core.$strip>;
9203
9203
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9204
9204
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9205
9205
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9206
+ datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9207
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9208
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9206
9209
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9207
9210
  type: "commit" | "tag" | "branch";
9208
9211
  name: string;
@@ -9220,9 +9223,6 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9220
9223
  name: string;
9221
9224
  hash: string;
9222
9225
  }>>>>>>;
9223
- datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9224
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9225
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9226
9226
  }, z.core.$strip>;
9227
9227
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9228
9228
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -9917,24 +9917,24 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9917
9917
  id: z.ZodString;
9918
9918
  createdAt: z.ZodString;
9919
9919
  updatedAt: z.ZodString;
9920
- conversationId: z.ZodString;
9921
9920
  evaluatorId: z.ZodString;
9921
+ conversationId: z.ZodString;
9922
9922
  evaluationRunId: z.ZodNullable<z.ZodString>;
9923
9923
  }, z.core.$strip>;
9924
9924
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9925
9925
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9926
9926
  createdAt: z.ZodOptional<z.ZodString>;
9927
9927
  updatedAt: z.ZodOptional<z.ZodString>;
9928
- conversationId: z.ZodString;
9929
9928
  evaluatorId: z.ZodString;
9929
+ conversationId: z.ZodString;
9930
9930
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9931
9931
  }, z.core.$strip>;
9932
9932
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9933
9933
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9934
9934
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9935
9935
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9936
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9937
9936
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9937
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9938
9938
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9939
9939
  }, z.core.$strip>;
9940
9940
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -10020,6 +10020,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
10020
10020
  id: z.ZodString;
10021
10021
  createdAt: z.ZodString;
10022
10022
  updatedAt: z.ZodString;
10023
+ evaluationRunConfigId: z.ZodNullable<z.ZodString>;
10024
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
10023
10025
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10024
10026
  type: z.ZodEnum<{
10025
10027
  commit: "commit";
@@ -10029,12 +10031,12 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
10029
10031
  name: z.ZodString;
10030
10032
  hash: z.ZodString;
10031
10033
  }, z.core.$strip>>>;
10032
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
10033
- evaluationRunConfigId: z.ZodNullable<z.ZodString>;
10034
10034
  }, z.core.$strip>;
10035
10035
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10036
10036
  createdAt: z.ZodOptional<z.ZodString>;
10037
10037
  updatedAt: z.ZodOptional<z.ZodString>;
10038
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10039
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10038
10040
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
10039
10041
  type: "commit" | "tag" | "branch";
10040
10042
  name: string;
@@ -10052,12 +10054,12 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10052
10054
  name: string;
10053
10055
  hash: string;
10054
10056
  }>>>>;
10055
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10056
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10057
10057
  }, z.core.$strip>;
10058
10058
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10059
10059
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10060
10060
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10061
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10062
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10061
10063
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
10062
10064
  type: "commit" | "tag" | "branch";
10063
10065
  name: string;
@@ -10075,8 +10077,6 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10075
10077
  name: string;
10076
10078
  hash: string;
10077
10079
  }>>>>>>;
10078
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10079
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10080
10080
  }, z.core.$strip>;
10081
10081
  declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
10082
10082
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -10396,9 +10396,9 @@ declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{
10396
10396
  in: {};
10397
10397
  }>;
10398
10398
  declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{
10399
+ id: z.ZodString;
10399
10400
  name: z.ZodString;
10400
10401
  description: z.ZodNullable<z.ZodString>;
10401
- id: z.ZodString;
10402
10402
  createdAt: z.ZodString;
10403
10403
  updatedAt: z.ZodString;
10404
10404
  isActive: z.ZodBoolean;
@@ -10420,9 +10420,9 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10420
10420
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10421
10421
  }, z.core.$strip>;
10422
10422
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10423
+ id: z.ZodString;
10423
10424
  name: z.ZodString;
10424
10425
  description: z.ZodNullable<z.ZodString>;
10425
- id: z.ZodString;
10426
10426
  createdAt: z.ZodString;
10427
10427
  updatedAt: z.ZodString;
10428
10428
  isActive: z.ZodBoolean;
@@ -11449,20 +11449,20 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11449
11449
  id: z.ZodString;
11450
11450
  createdAt: z.ZodString;
11451
11451
  updatedAt: z.ZodString;
11452
- evaluationRunConfigId: z.ZodString;
11453
11452
  evaluationSuiteConfigId: z.ZodString;
11453
+ evaluationRunConfigId: z.ZodString;
11454
11454
  }, z.core.$strip>;
11455
11455
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11456
11456
  createdAt: z.ZodOptional<z.ZodString>;
11457
11457
  updatedAt: z.ZodOptional<z.ZodString>;
11458
- evaluationRunConfigId: z.ZodString;
11459
11458
  evaluationSuiteConfigId: z.ZodString;
11459
+ evaluationRunConfigId: z.ZodString;
11460
11460
  }, z.core.$strip>;
11461
11461
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11462
11462
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11463
11463
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11464
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11465
11464
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11465
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11466
11466
  }, z.core.$strip>;
11467
11467
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11468
11468
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -11753,20 +11753,20 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{
11753
11753
  id: z.ZodString;
11754
11754
  createdAt: z.ZodString;
11755
11755
  updatedAt: z.ZodString;
11756
- evaluationJobConfigId: z.ZodString;
11757
11756
  evaluatorId: z.ZodString;
11757
+ evaluationJobConfigId: z.ZodString;
11758
11758
  }, z.core.$strip>;
11759
11759
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11760
11760
  createdAt: z.ZodOptional<z.ZodString>;
11761
11761
  updatedAt: z.ZodOptional<z.ZodString>;
11762
- evaluationJobConfigId: z.ZodString;
11763
11762
  evaluatorId: z.ZodString;
11763
+ evaluationJobConfigId: z.ZodString;
11764
11764
  }, z.core.$strip>;
11765
11765
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11766
11766
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11767
11767
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11768
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11769
11768
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11769
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11770
11770
  }, z.core.$strip>;
11771
11771
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11772
11772
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -12057,20 +12057,20 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
12057
12057
  id: z.ZodString;
12058
12058
  createdAt: z.ZodString;
12059
12059
  updatedAt: z.ZodString;
12060
- evaluatorId: z.ZodString;
12061
12060
  evaluationSuiteConfigId: z.ZodString;
12061
+ evaluatorId: z.ZodString;
12062
12062
  }, z.core.$strip>;
12063
12063
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
12064
12064
  createdAt: z.ZodOptional<z.ZodString>;
12065
12065
  updatedAt: z.ZodOptional<z.ZodString>;
12066
- evaluatorId: z.ZodString;
12067
12066
  evaluationSuiteConfigId: z.ZodString;
12067
+ evaluatorId: z.ZodString;
12068
12068
  }, z.core.$strip>;
12069
12069
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12070
12070
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12071
12071
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12072
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12073
12072
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12073
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12074
12074
  }, z.core.$strip>;
12075
12075
  declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
12076
12076
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -12570,10 +12570,9 @@ declare const EvaluatorUpdateSchema: z.ZodObject<{
12570
12570
  in: {};
12571
12571
  }>;
12572
12572
  declare const EvaluatorApiSelectSchema: z.ZodObject<{
12573
+ id: z.ZodString;
12573
12574
  name: z.ZodString;
12574
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12575
12575
  description: z.ZodNullable<z.ZodString>;
12576
- id: z.ZodString;
12577
12576
  createdAt: z.ZodString;
12578
12577
  updatedAt: z.ZodString;
12579
12578
  model: z.ZodType<{
@@ -12597,12 +12596,12 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
12597
12596
  fallbackModels?: string[] | undefined;
12598
12597
  allowedProviders?: string[] | undefined;
12599
12598
  }>>;
12599
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12600
12600
  prompt: z.ZodString;
12601
12601
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
12602
12602
  }, z.core.$strip>;
12603
12603
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12604
12604
  name: z.ZodString;
12605
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12606
12605
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12607
12606
  createdAt: z.ZodOptional<z.ZodString>;
12608
12607
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -12627,12 +12626,12 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12627
12626
  fallbackModels?: string[] | undefined;
12628
12627
  allowedProviders?: string[] | undefined;
12629
12628
  }>>;
12629
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12630
12630
  prompt: z.ZodString;
12631
12631
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12632
12632
  }, z.core.$strip>;
12633
12633
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12634
12634
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12635
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12636
12635
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12637
12636
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12638
12637
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -12657,6 +12656,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12657
12656
  fallbackModels?: string[] | undefined;
12658
12657
  allowedProviders?: string[] | undefined;
12659
12658
  }>>>>;
12659
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12660
12660
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12661
12661
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12662
12662
  }, z.core.$strip>;
@@ -12906,8 +12906,8 @@ declare const DatasetUpdateSchema: z.ZodObject<{
12906
12906
  in: {};
12907
12907
  }>;
12908
12908
  declare const DatasetApiSelectSchema: z.ZodObject<{
12909
- name: z.ZodString;
12910
12909
  id: z.ZodString;
12910
+ name: z.ZodString;
12911
12911
  createdAt: z.ZodString;
12912
12912
  updatedAt: z.ZodString;
12913
12913
  }, z.core.$strip>;
@@ -13624,9 +13624,9 @@ declare const DatasetRunConfigUpdateSchema: z.ZodObject<{
13624
13624
  in: {};
13625
13625
  }>;
13626
13626
  declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{
13627
+ id: z.ZodString;
13627
13628
  name: z.ZodString;
13628
13629
  description: z.ZodNullable<z.ZodString>;
13629
- id: z.ZodString;
13630
13630
  createdAt: z.ZodString;
13631
13631
  updatedAt: z.ZodString;
13632
13632
  datasetId: z.ZodString;
@@ -14900,11 +14900,11 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
14900
14900
  }>;
14901
14901
  }, undefined>, undefined>;
14902
14902
  declare const DataComponentInsertSchema: z.ZodObject<{
14903
+ id: z.ZodString;
14903
14904
  name: z.ZodString;
14904
14905
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14905
- tenantId: z.ZodString;
14906
14906
  projectId: z.ZodString;
14907
- id: z.ZodString;
14907
+ tenantId: z.ZodString;
14908
14908
  props: z.ZodType<{
14909
14909
  [x: string]: unknown;
14910
14910
  type: "object";
@@ -14952,11 +14952,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14952
14952
  in: {};
14953
14953
  }>;
14954
14954
  declare const DataComponentUpdateSchema: z.ZodObject<{
14955
+ id: z.ZodOptional<z.ZodString>;
14955
14956
  name: z.ZodOptional<z.ZodString>;
14956
14957
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14957
- tenantId: z.ZodOptional<z.ZodString>;
14958
14958
  projectId: z.ZodOptional<z.ZodString>;
14959
- id: z.ZodOptional<z.ZodString>;
14959
+ tenantId: z.ZodOptional<z.ZodString>;
14960
14960
  props: z.ZodOptional<z.ZodType<{
14961
14961
  [x: string]: unknown;
14962
14962
  type: "object";
@@ -15004,9 +15004,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
15004
15004
  in: {};
15005
15005
  }>;
15006
15006
  declare const DataComponentApiSelectSchema: z.ZodObject<{
15007
+ id: z.ZodString;
15007
15008
  name: z.ZodString;
15008
15009
  description: z.ZodNullable<z.ZodString>;
15009
- id: z.ZodString;
15010
+ createdAt: z.ZodString;
15011
+ updatedAt: z.ZodString;
15010
15012
  props: z.ZodType<{
15011
15013
  [x: string]: unknown;
15012
15014
  type: "object";
@@ -15049,8 +15051,6 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
15049
15051
  component: string;
15050
15052
  mockData: Record<string, unknown>;
15051
15053
  }>>>;
15052
- createdAt: z.ZodString;
15053
- updatedAt: z.ZodString;
15054
15054
  }, z.core.$strip>;
15055
15055
  declare const DataComponentApiInsertSchema: z.ZodObject<{
15056
15056
  id: z.ZodString;
@@ -15631,7 +15631,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
15631
15631
  }, {}, {
15632
15632
  length: 256;
15633
15633
  }>;
15634
- }, "tenantId" | "projectId" | "id" | "createdAt" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15634
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15635
15635
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15636
15636
  dataComponentId: z.ZodOptional<z.ZodString>;
15637
15637
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -16146,9 +16146,11 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
16146
16146
  in: {};
16147
16147
  }>;
16148
16148
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
16149
+ id: z.ZodString;
16149
16150
  name: z.ZodString;
16150
16151
  description: z.ZodNullable<z.ZodString>;
16151
- id: z.ZodString;
16152
+ createdAt: z.ZodString;
16153
+ updatedAt: z.ZodString;
16152
16154
  props: z.ZodNullable<z.ZodType<{
16153
16155
  [x: string]: unknown;
16154
16156
  type: "object";
@@ -16191,8 +16193,6 @@ declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
16191
16193
  component: string;
16192
16194
  mockData: Record<string, unknown>;
16193
16195
  }>>>;
16194
- createdAt: z.ZodString;
16195
- updatedAt: z.ZodString;
16196
16196
  }, z.core.$strip>;
16197
16197
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
16198
16198
  id: z.ZodString;
@@ -16223,9 +16223,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
16223
16223
  in: {};
16224
16224
  }>;
16225
16225
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16226
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16226
16227
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16227
16228
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16228
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16229
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16230
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16229
16231
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
16230
16232
  [x: string]: unknown;
16231
16233
  type: "object";
@@ -16268,8 +16270,6 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16268
16270
  component: string;
16269
16271
  mockData: Record<string, unknown>;
16270
16272
  }>>>>>>;
16271
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16272
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16273
16273
  }, z.core.$strip>;
16274
16274
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16275
16275
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
@@ -16595,11 +16595,11 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
16595
16595
  in: {};
16596
16596
  }>;
16597
16597
  declare const ExternalAgentInsertSchema: z.ZodObject<{
16598
+ id: z.ZodString;
16598
16599
  name: z.ZodString;
16599
16600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16600
- tenantId: z.ZodString;
16601
16601
  projectId: z.ZodString;
16602
- id: z.ZodString;
16602
+ tenantId: z.ZodString;
16603
16603
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16604
16604
  baseUrl: z.ZodURL;
16605
16605
  }, {
@@ -16607,11 +16607,11 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16607
16607
  in: {};
16608
16608
  }>;
16609
16609
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
16610
+ id: z.ZodOptional<z.ZodString>;
16610
16611
  name: z.ZodOptional<z.ZodString>;
16611
16612
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16612
- tenantId: z.ZodOptional<z.ZodString>;
16613
16613
  projectId: z.ZodOptional<z.ZodString>;
16614
- id: z.ZodOptional<z.ZodString>;
16614
+ tenantId: z.ZodOptional<z.ZodString>;
16615
16615
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16616
16616
  baseUrl: z.ZodOptional<z.ZodURL>;
16617
16617
  }, {
@@ -16619,32 +16619,32 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
16619
16619
  in: {};
16620
16620
  }>;
16621
16621
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
16622
+ id: z.ZodString;
16622
16623
  name: z.ZodString;
16623
16624
  description: z.ZodNullable<z.ZodString>;
16624
- id: z.ZodString;
16625
16625
  createdAt: z.ZodString;
16626
16626
  updatedAt: z.ZodString;
16627
16627
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16628
16628
  baseUrl: z.ZodString;
16629
16629
  }, z.core.$strip>;
16630
16630
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
16631
+ id: z.ZodString;
16631
16632
  name: z.ZodString;
16632
16633
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16633
- id: z.ZodString;
16634
16634
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16635
16635
  baseUrl: z.ZodURL;
16636
16636
  }, z.core.$strip>;
16637
16637
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16638
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16638
16639
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16639
16640
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16640
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16641
16641
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16642
16642
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16643
16643
  }, z.core.$strip>;
16644
16644
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16645
+ id: z.ZodString;
16645
16646
  name: z.ZodString;
16646
16647
  description: z.ZodNullable<z.ZodString>;
16647
- id: z.ZodString;
16648
16648
  createdAt: z.ZodString;
16649
16649
  updatedAt: z.ZodString;
16650
16650
  models: z.ZodNullable<z.ZodType<{
@@ -16737,9 +16737,9 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16737
16737
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16738
16738
  type: z.ZodLiteral<"internal">;
16739
16739
  }, z.core.$strip>, z.ZodObject<{
16740
+ id: z.ZodString;
16740
16741
  name: z.ZodString;
16741
16742
  description: z.ZodNullable<z.ZodString>;
16742
- id: z.ZodString;
16743
16743
  createdAt: z.ZodString;
16744
16744
  updatedAt: z.ZodString;
16745
16745
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17216,8 +17216,8 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
17216
17216
  in: {};
17217
17217
  }>;
17218
17218
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
17219
- name: z.ZodNullable<z.ZodString>;
17220
17219
  id: z.ZodString;
17220
+ name: z.ZodNullable<z.ZodString>;
17221
17221
  createdAt: z.ZodString;
17222
17222
  updatedAt: z.ZodString;
17223
17223
  agentId: z.ZodString;
@@ -17232,8 +17232,8 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
17232
17232
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17233
17233
  data: z.ZodObject<{
17234
17234
  apiKey: z.ZodObject<{
17235
- name: z.ZodNullable<z.ZodString>;
17236
17235
  id: z.ZodString;
17236
+ name: z.ZodNullable<z.ZodString>;
17237
17237
  createdAt: z.ZodString;
17238
17238
  updatedAt: z.ZodString;
17239
17239
  agentId: z.ZodString;
@@ -18188,11 +18188,9 @@ declare const AppInsertSchema: z.ZodObject<{
18188
18188
  declare const AppUpdateSchema: z.ZodObject<{
18189
18189
  name: z.ZodOptional<z.ZodString>;
18190
18190
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18191
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18192
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18193
18191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18194
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18195
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18192
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18193
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18196
18194
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18197
18195
  type: z.ZodLiteral<"web_client">;
18198
18196
  webClient: z.ZodObject<{
@@ -18233,6 +18231,8 @@ declare const AppUpdateSchema: z.ZodObject<{
18233
18231
  }, z.core.$strip>>>;
18234
18232
  }, z.core.$strip>;
18235
18233
  }, z.core.$strip>], "type">>;
18234
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18235
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18236
18236
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18237
18237
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18238
18238
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -18871,15 +18871,15 @@ declare const AppApiSelectSchema: drizzle_zod3.BuildSchema<"select", {
18871
18871
  }, undefined>, undefined>;
18872
18872
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18873
18873
  type: z.ZodString;
18874
+ id: z.ZodString;
18874
18875
  name: z.ZodString;
18875
18876
  description: z.ZodNullable<z.ZodString>;
18876
- tenantId: z.ZodNullable<z.ZodString>;
18877
- projectId: z.ZodNullable<z.ZodString>;
18878
- id: z.ZodString;
18879
18877
  createdAt: z.ZodString;
18880
18878
  updatedAt: z.ZodString;
18881
- prompt: z.ZodNullable<z.ZodString>;
18879
+ projectId: z.ZodNullable<z.ZodString>;
18880
+ tenantId: z.ZodNullable<z.ZodString>;
18882
18881
  enabled: z.ZodBoolean;
18882
+ prompt: z.ZodNullable<z.ZodString>;
18883
18883
  lastUsedAt: z.ZodNullable<z.ZodString>;
18884
18884
  defaultProjectId: z.ZodNullable<z.ZodString>;
18885
18885
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18935,12 +18935,10 @@ declare const AppApiInsertSchema: z.ZodObject<{
18935
18935
  }>;
18936
18936
  name: z.ZodString;
18937
18937
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18938
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18939
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18940
18938
  createdAt: z.ZodOptional<z.ZodString>;
18941
18939
  updatedAt: z.ZodOptional<z.ZodString>;
18942
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18943
- enabled: z.ZodOptional<z.ZodBoolean>;
18940
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18941
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18944
18942
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18945
18943
  type: z.ZodLiteral<"web_client">;
18946
18944
  webClient: z.ZodObject<{
@@ -18981,6 +18979,8 @@ declare const AppApiInsertSchema: z.ZodObject<{
18981
18979
  }, z.core.$strip>>>;
18982
18980
  }, z.core.$strip>;
18983
18981
  }, z.core.$strip>], "type">;
18982
+ enabled: z.ZodOptional<z.ZodBoolean>;
18983
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18984
18984
  defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18985
18985
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18986
18986
  }, {
@@ -18990,11 +18990,9 @@ declare const AppApiInsertSchema: z.ZodObject<{
18990
18990
  declare const AppApiUpdateSchema: z.ZodObject<{
18991
18991
  name: z.ZodOptional<z.ZodString>;
18992
18992
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18993
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18994
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18995
18993
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18996
- prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18997
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18994
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18995
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18998
18996
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18999
18997
  type: z.ZodLiteral<"web_client">;
19000
18998
  webClient: z.ZodObject<{
@@ -19035,6 +19033,8 @@ declare const AppApiUpdateSchema: z.ZodObject<{
19035
19033
  }, z.core.$strip>>>;
19036
19034
  }, z.core.$strip>;
19037
19035
  }, z.core.$strip>], "type">>;
19036
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19037
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19038
19038
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19039
19039
  defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19040
19040
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -19046,15 +19046,15 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
19046
19046
  data: z.ZodObject<{
19047
19047
  app: z.ZodObject<{
19048
19048
  type: z.ZodString;
19049
+ id: z.ZodString;
19049
19050
  name: z.ZodString;
19050
19051
  description: z.ZodNullable<z.ZodString>;
19051
- tenantId: z.ZodNullable<z.ZodString>;
19052
- projectId: z.ZodNullable<z.ZodString>;
19053
- id: z.ZodString;
19054
19052
  createdAt: z.ZodString;
19055
19053
  updatedAt: z.ZodString;
19056
- prompt: z.ZodNullable<z.ZodString>;
19054
+ projectId: z.ZodNullable<z.ZodString>;
19055
+ tenantId: z.ZodNullable<z.ZodString>;
19057
19056
  enabled: z.ZodBoolean;
19057
+ prompt: z.ZodNullable<z.ZodString>;
19058
19058
  lastUsedAt: z.ZodNullable<z.ZodString>;
19059
19059
  defaultProjectId: z.ZodNullable<z.ZodString>;
19060
19060
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -19557,44 +19557,44 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19557
19557
  }, undefined>, undefined>;
19558
19558
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
19559
19559
  type: z.ZodString;
19560
+ id: z.ZodString;
19560
19561
  name: z.ZodString;
19561
- tenantId: z.ZodString;
19562
19562
  projectId: z.ZodString;
19563
- id: z.ZodString;
19564
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19563
+ tenantId: z.ZodString;
19564
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19565
19565
  credentialStoreId: z.ZodString;
19566
19566
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19567
19567
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19568
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19568
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19569
19569
  }, {
19570
19570
  out: {};
19571
19571
  in: {};
19572
19572
  }>;
19573
19573
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19574
19574
  type: z.ZodOptional<z.ZodString>;
19575
+ id: z.ZodOptional<z.ZodString>;
19575
19576
  name: z.ZodOptional<z.ZodString>;
19576
- tenantId: z.ZodOptional<z.ZodString>;
19577
19577
  projectId: z.ZodOptional<z.ZodString>;
19578
- id: z.ZodOptional<z.ZodString>;
19579
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19578
+ tenantId: z.ZodOptional<z.ZodString>;
19579
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19580
19580
  credentialStoreId: z.ZodOptional<z.ZodString>;
19581
19581
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19582
19582
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19583
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19583
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19584
19584
  }, {
19585
19585
  out: {};
19586
19586
  in: {};
19587
19587
  }>;
19588
19588
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19589
- name: z.ZodString;
19590
19589
  id: z.ZodString;
19590
+ name: z.ZodString;
19591
19591
  createdAt: z.ZodString;
19592
19592
  updatedAt: z.ZodString;
19593
- createdBy: z.ZodNullable<z.ZodString>;
19593
+ userId: z.ZodNullable<z.ZodString>;
19594
19594
  credentialStoreId: z.ZodString;
19595
19595
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19596
19596
  toolId: z.ZodNullable<z.ZodString>;
19597
- userId: z.ZodNullable<z.ZodString>;
19597
+ createdBy: z.ZodNullable<z.ZodString>;
19598
19598
  type: z.ZodEnum<{
19599
19599
  readonly memory: "memory";
19600
19600
  readonly keychain: "keychain";
@@ -20178,13 +20178,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20178
20178
  }>>>;
20179
20179
  }, z.core.$strip>;
20180
20180
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20181
- name: z.ZodString;
20182
20181
  id: z.ZodString;
20183
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20182
+ name: z.ZodString;
20183
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20184
20184
  credentialStoreId: z.ZodString;
20185
20185
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20186
20186
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20187
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20187
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20188
20188
  type: z.ZodEnum<{
20189
20189
  readonly memory: "memory";
20190
20190
  readonly keychain: "keychain";
@@ -20193,13 +20193,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20193
20193
  }>;
20194
20194
  }, z.core.$strip>;
20195
20195
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20196
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20197
20196
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20198
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20197
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20198
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20199
20199
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20200
20200
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20201
20201
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20202
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20202
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20203
20203
  type: z.ZodOptional<z.ZodEnum<{
20204
20204
  readonly memory: "memory";
20205
20205
  readonly keychain: "keychain";
@@ -20264,12 +20264,11 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
20264
20264
  error_description: z.ZodOptional<z.ZodString>;
20265
20265
  }, z.core.$strip>;
20266
20266
  declare const McpToolSchema: z.ZodObject<{
20267
+ id: z.ZodString;
20267
20268
  name: z.ZodString;
20268
20269
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20269
- tenantId: z.ZodString;
20270
20270
  projectId: z.ZodString;
20271
- id: z.ZodString;
20272
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20271
+ tenantId: z.ZodString;
20273
20272
  config: z.ZodObject<{
20274
20273
  type: z.ZodLiteral<"mcp">;
20275
20274
  mcp: z.ZodObject<{
@@ -20298,6 +20297,7 @@ declare const McpToolSchema: z.ZodObject<{
20298
20297
  }, z.core.$strip>;
20299
20298
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20300
20299
  credentialScope: z.ZodOptional<z.ZodString>;
20300
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20301
20301
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20302
20302
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20303
20303
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -20308,9 +20308,9 @@ declare const McpToolSchema: z.ZodObject<{
20308
20308
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20309
20309
  }, z.core.$strip>>>;
20310
20310
  status: z.ZodDefault<z.ZodEnum<{
20311
- unknown: "unknown";
20312
20311
  healthy: "healthy";
20313
20312
  unhealthy: "unhealthy";
20313
+ unknown: "unknown";
20314
20314
  needs_auth: "needs_auth";
20315
20315
  unavailable: "unavailable";
20316
20316
  }>>;
@@ -20323,15 +20323,15 @@ declare const McpToolSchema: z.ZodObject<{
20323
20323
  in: {};
20324
20324
  }>;
20325
20325
  declare const MCPToolConfigSchema: z.ZodObject<{
20326
- name: z.ZodString;
20327
20326
  id: z.ZodString;
20328
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20329
- createdBy: z.ZodOptional<z.ZodString>;
20327
+ name: z.ZodString;
20330
20328
  credentialScope: z.ZodOptional<z.ZodString>;
20329
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20331
20330
  imageUrl: z.ZodOptional<z.ZodString>;
20332
20331
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20333
20332
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20334
20333
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20334
+ createdBy: z.ZodOptional<z.ZodString>;
20335
20335
  expiresAt: z.ZodOptional<z.ZodString>;
20336
20336
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20337
20337
  name: z.ZodString;
@@ -20359,13 +20359,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20359
20359
  sessionId: z.ZodOptional<z.ZodString>;
20360
20360
  }, z.core.$strip>>;
20361
20361
  credential: z.ZodOptional<z.ZodObject<{
20362
- name: z.ZodString;
20363
20362
  id: z.ZodString;
20364
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20363
+ name: z.ZodString;
20364
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20365
20365
  credentialStoreId: z.ZodString;
20366
20366
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20367
20367
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20368
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20368
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20369
20369
  type: z.ZodEnum<{
20370
20370
  readonly memory: "memory";
20371
20371
  readonly keychain: "keychain";
@@ -20385,12 +20385,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20385
20385
  in: {};
20386
20386
  }>;
20387
20387
  declare const ToolUpdateSchema: z.ZodObject<{
20388
+ id: z.ZodOptional<z.ZodString>;
20388
20389
  name: z.ZodOptional<z.ZodString>;
20389
20390
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20390
- tenantId: z.ZodOptional<z.ZodString>;
20391
20391
  projectId: z.ZodOptional<z.ZodString>;
20392
- id: z.ZodOptional<z.ZodString>;
20393
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20392
+ tenantId: z.ZodOptional<z.ZodString>;
20394
20393
  config: z.ZodOptional<z.ZodObject<{
20395
20394
  type: z.ZodLiteral<"mcp">;
20396
20395
  mcp: z.ZodObject<{
@@ -20419,6 +20418,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
20419
20418
  }, z.core.$strip>>;
20420
20419
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20421
20420
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20421
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20422
20422
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20423
20423
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
20424
20424
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -20428,12 +20428,11 @@ declare const ToolUpdateSchema: z.ZodObject<{
20428
20428
  in: {};
20429
20429
  }>;
20430
20430
  declare const ToolApiSelectSchema: z.ZodObject<{
20431
+ id: z.ZodString;
20431
20432
  name: z.ZodString;
20432
20433
  description: z.ZodNullable<z.ZodString>;
20433
- id: z.ZodString;
20434
20434
  createdAt: z.ZodString;
20435
20435
  updatedAt: z.ZodString;
20436
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20437
20436
  config: z.ZodType<{
20438
20437
  type: "mcp";
20439
20438
  mcp: ToolMcpConfig;
@@ -20449,16 +20448,16 @@ declare const ToolApiSelectSchema: z.ZodObject<{
20449
20448
  }>>;
20450
20449
  credentialReferenceId: z.ZodNullable<z.ZodString>;
20451
20450
  credentialScope: z.ZodString;
20451
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20452
20452
  imageUrl: z.ZodNullable<z.ZodString>;
20453
20453
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
20454
20454
  lastError: z.ZodNullable<z.ZodString>;
20455
20455
  isWorkApp: z.ZodBoolean;
20456
20456
  }, z.core.$strip>;
20457
20457
  declare const ToolApiInsertSchema: z.ZodObject<{
20458
+ id: z.ZodString;
20458
20459
  name: z.ZodString;
20459
20460
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20460
- id: z.ZodString;
20461
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20462
20461
  config: z.ZodObject<{
20463
20462
  type: z.ZodLiteral<"mcp">;
20464
20463
  mcp: z.ZodObject<{
@@ -20487,16 +20486,16 @@ declare const ToolApiInsertSchema: z.ZodObject<{
20487
20486
  }, z.core.$strip>;
20488
20487
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20489
20488
  credentialScope: z.ZodOptional<z.ZodString>;
20489
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20490
20490
  imageUrl: z.ZodOptional<z.ZodString>;
20491
20491
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20492
20492
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20493
20493
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20494
20494
  }, z.core.$strip>;
20495
20495
  declare const ToolApiUpdateSchema: z.ZodObject<{
20496
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20496
20497
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20497
20498
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20498
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20499
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20500
20499
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20501
20500
  type: z.ZodLiteral<"mcp">;
20502
20501
  mcp: z.ZodObject<{
@@ -20525,6 +20524,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20525
20524
  }, z.core.$strip>>>;
20526
20525
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20527
20526
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20527
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20528
20528
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20529
20529
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
20530
20530
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -20864,11 +20864,11 @@ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
20864
20864
  }>;
20865
20865
  }, undefined>, undefined>;
20866
20866
  declare const FunctionToolInsertSchema: z.ZodObject<{
20867
+ id: z.ZodString;
20867
20868
  name: z.ZodString;
20868
20869
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20869
- tenantId: z.ZodString;
20870
20870
  projectId: z.ZodString;
20871
- id: z.ZodString;
20871
+ tenantId: z.ZodString;
20872
20872
  agentId: z.ZodString;
20873
20873
  functionId: z.ZodString;
20874
20874
  }, {
@@ -20876,11 +20876,11 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
20876
20876
  in: {};
20877
20877
  }>;
20878
20878
  declare const FunctionToolUpdateSchema: z.ZodObject<{
20879
+ id: z.ZodOptional<z.ZodString>;
20879
20880
  name: z.ZodOptional<z.ZodString>;
20880
20881
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20881
- tenantId: z.ZodOptional<z.ZodString>;
20882
20882
  projectId: z.ZodOptional<z.ZodString>;
20883
- id: z.ZodOptional<z.ZodString>;
20883
+ tenantId: z.ZodOptional<z.ZodString>;
20884
20884
  agentId: z.ZodOptional<z.ZodString>;
20885
20885
  functionId: z.ZodOptional<z.ZodString>;
20886
20886
  }, {
@@ -20888,9 +20888,9 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
20888
20888
  in: {};
20889
20889
  }>;
20890
20890
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20891
+ id: z.ZodString;
20891
20892
  name: z.ZodString;
20892
20893
  description: z.ZodNullable<z.ZodString>;
20893
- id: z.ZodString;
20894
20894
  createdAt: z.ZodString;
20895
20895
  updatedAt: z.ZodString;
20896
20896
  agentId: z.ZodString;
@@ -20898,15 +20898,15 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
20898
20898
  relationshipId: z.ZodOptional<z.ZodString>;
20899
20899
  }, z.core.$strip>;
20900
20900
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
20901
+ id: z.ZodString;
20901
20902
  name: z.ZodString;
20902
20903
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20903
- id: z.ZodString;
20904
20904
  functionId: z.ZodString;
20905
20905
  }, z.core.$strip>;
20906
20906
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20907
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20907
20908
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20908
20909
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20909
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20910
20910
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20911
20911
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20912
20912
  }, z.core.$strip>;
@@ -21274,13 +21274,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
21274
21274
  createdAt: z.ZodString;
21275
21275
  updatedAt: z.ZodString;
21276
21276
  subAgentId: z.ZodString;
21277
- functionToolId: z.ZodString;
21278
21277
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21278
+ functionToolId: z.ZodString;
21279
21279
  }, z.core.$strip>;
21280
21280
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21281
21281
  subAgentId: z.ZodString;
21282
- functionToolId: z.ZodString;
21283
21282
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21283
+ functionToolId: z.ZodString;
21284
21284
  }, {
21285
21285
  out: {};
21286
21286
  in: {};
@@ -21611,22 +21611,22 @@ declare const FunctionApiSelectSchema: z.ZodObject<{
21611
21611
  createdAt: z.ZodString;
21612
21612
  updatedAt: z.ZodString;
21613
21613
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
21614
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
21615
21614
  executeCode: z.ZodString;
21615
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
21616
21616
  }, z.core.$strip>;
21617
21617
  declare const FunctionApiInsertSchema: z.ZodObject<{
21618
21618
  id: z.ZodString;
21619
21619
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21620
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21621
21620
  executeCode: z.ZodString;
21621
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21622
21622
  }, z.core.$strip>;
21623
21623
  declare const FunctionApiUpdateSchema: z.ZodObject<{
21624
21624
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21625
21625
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21626
21626
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21627
21627
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21628
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21629
21628
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21629
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21630
21630
  }, z.core.$strip>;
21631
21631
  declare const FetchConfigSchema: z.ZodObject<{
21632
21632
  url: z.ZodString;
@@ -21668,13 +21668,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21668
21668
  responseSchema: z.ZodOptional<z.ZodAny>;
21669
21669
  defaultValue: z.ZodOptional<z.ZodAny>;
21670
21670
  credential: z.ZodOptional<z.ZodObject<{
21671
- name: z.ZodString;
21672
21671
  id: z.ZodString;
21673
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21672
+ name: z.ZodString;
21673
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21674
21674
  credentialStoreId: z.ZodString;
21675
21675
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21676
21676
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21677
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21677
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21678
21678
  type: z.ZodEnum<{
21679
21679
  readonly memory: "memory";
21680
21680
  readonly keychain: "keychain";
@@ -21697,9 +21697,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
21697
21697
  in: {};
21698
21698
  }>;
21699
21699
  declare const ContextConfigInsertSchema: z.ZodObject<{
21700
- tenantId: z.ZodString;
21701
- projectId: z.ZodString;
21702
21700
  id: z.ZodOptional<z.ZodString>;
21701
+ projectId: z.ZodString;
21702
+ tenantId: z.ZodString;
21703
21703
  agentId: z.ZodString;
21704
21704
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21705
21705
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21708,9 +21708,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
21708
21708
  in: {};
21709
21709
  }>;
21710
21710
  declare const ContextConfigUpdateSchema: z.ZodObject<{
21711
- tenantId: z.ZodOptional<z.ZodString>;
21712
- projectId: z.ZodOptional<z.ZodString>;
21713
21711
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21712
+ projectId: z.ZodOptional<z.ZodString>;
21713
+ tenantId: z.ZodOptional<z.ZodString>;
21714
21714
  agentId: z.ZodOptional<z.ZodString>;
21715
21715
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21716
21716
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -22196,35 +22196,35 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
22196
22196
  id: z.ZodString;
22197
22197
  createdAt: z.ZodString;
22198
22198
  updatedAt: z.ZodString;
22199
+ subAgentId: z.ZodString;
22199
22200
  headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22200
22201
  toolId: z.ZodString;
22201
- subAgentId: z.ZodString;
22202
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22203
22202
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22203
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22204
22204
  }, z.core.$strip>;
22205
22205
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
22206
22206
  id: z.ZodString;
22207
22207
  createdAt: z.ZodOptional<z.ZodString>;
22208
22208
  updatedAt: z.ZodOptional<z.ZodString>;
22209
+ subAgentId: z.ZodString;
22209
22210
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22210
22211
  toolId: z.ZodString;
22211
- subAgentId: z.ZodString;
22212
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22212
22213
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22213
22214
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22214
22215
  }, z.core.$strip>>>>;
22215
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22216
22216
  }, z.core.$strip>;
22217
22217
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22218
22218
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22219
22219
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22220
22220
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22221
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22221
22222
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22222
22223
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22223
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22224
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22224
22225
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22225
22226
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22226
22227
  }, z.core.$strip>>>>>>;
22227
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22228
22228
  }, z.core.$strip>;
22229
22229
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22230
22230
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -22595,8 +22595,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
22595
22595
  id: z.ZodString;
22596
22596
  createdAt: z.ZodString;
22597
22597
  updatedAt: z.ZodString;
22598
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22599
22598
  subAgentId: z.ZodString;
22599
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22600
22600
  externalAgentId: z.ZodString;
22601
22601
  }, z.core.$strip>;
22602
22602
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
@@ -22609,8 +22609,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22609
22609
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22610
22610
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22611
22611
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22612
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22613
22612
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22613
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22614
22614
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22615
22615
  }, z.core.$strip>;
22616
22616
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -22982,8 +22982,8 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22982
22982
  id: z.ZodString;
22983
22983
  createdAt: z.ZodString;
22984
22984
  updatedAt: z.ZodString;
22985
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22986
22985
  subAgentId: z.ZodString;
22986
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22987
22987
  targetAgentId: z.ZodString;
22988
22988
  }, z.core.$strip>;
22989
22989
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
@@ -22996,8 +22996,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22996
22996
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22997
22997
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22998
22998
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22999
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23000
22999
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23000
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23001
23001
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23002
23002
  }, z.core.$strip>;
23003
23003
  declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -24341,7 +24341,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24341
24341
  }, {}, {
24342
24342
  length: 256;
24343
24343
  }>;
24344
- }, "type" | "name" | "description" | "tenantId" | "projectId" | "id" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24344
+ }, "type" | "id" | "name" | "description" | "metadata" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24345
24345
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24346
24346
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24347
24347
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24367,16 +24367,16 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24367
24367
  }>;
24368
24368
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24369
24369
  type: z.ZodString;
24370
+ id: z.ZodString;
24370
24371
  name: z.ZodNullable<z.ZodString>;
24371
24372
  description: z.ZodNullable<z.ZodString>;
24372
- id: z.ZodString;
24373
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24373
24374
  createdAt: z.ZodString;
24374
24375
  updatedAt: z.ZodString;
24375
- metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24376
- toolCallId: z.ZodNullable<z.ZodString>;
24376
+ taskId: z.ZodString;
24377
24377
  contextId: z.ZodString;
24378
24378
  visibility: z.ZodNullable<z.ZodString>;
24379
- taskId: z.ZodString;
24379
+ toolCallId: z.ZodNullable<z.ZodString>;
24380
24380
  parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24381
24381
  summary: z.ZodNullable<z.ZodString>;
24382
24382
  mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -24385,16 +24385,16 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24385
24385
  }, z.core.$strip>;
24386
24386
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24387
24387
  type: z.ZodOptional<z.ZodString>;
24388
+ id: z.ZodString;
24388
24389
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24389
24390
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24390
- id: z.ZodString;
24391
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24391
24392
  createdAt: z.ZodOptional<z.ZodString>;
24392
24393
  updatedAt: z.ZodOptional<z.ZodString>;
24393
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24394
- toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24394
+ taskId: z.ZodString;
24395
24395
  contextId: z.ZodString;
24396
24396
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24397
- taskId: z.ZodString;
24397
+ toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24398
24398
  parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24399
24399
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24400
24400
  mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -24403,16 +24403,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24403
24403
  }, z.core.$strip>;
24404
24404
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24405
24405
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24406
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24406
24407
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24407
24408
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24408
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24409
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24409
24410
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24410
24411
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24411
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24412
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24412
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24413
24413
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24414
24414
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24415
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24415
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24416
24416
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24417
24417
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24418
24418
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
@@ -24482,9 +24482,9 @@ declare const TeamAgentSchema: z.ZodObject<{
24482
24482
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24483
24483
  }, z.core.$strip>;
24484
24484
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24485
+ id: z.ZodString;
24485
24486
  name: z.ZodString;
24486
24487
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24487
- id: z.ZodString;
24488
24488
  createdAt: z.ZodOptional<z.ZodString>;
24489
24489
  updatedAt: z.ZodOptional<z.ZodString>;
24490
24490
  models: z.ZodOptional<z.ZodObject<{
@@ -24541,16 +24541,16 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24541
24541
  }, z.core.$strip>>;
24542
24542
  }, z.core.$strip>;
24543
24543
  declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24544
+ id: z.ZodString;
24544
24545
  name: z.ZodString;
24545
24546
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24546
- id: z.ZodString;
24547
24547
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24548
24548
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24549
24549
  executionMode: z.ZodOptional<z.ZodString>;
24550
24550
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24551
+ id: z.ZodString;
24551
24552
  name: z.ZodString;
24552
24553
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24553
- id: z.ZodString;
24554
24554
  createdAt: z.ZodOptional<z.ZodString>;
24555
24555
  updatedAt: z.ZodOptional<z.ZodString>;
24556
24556
  models: z.ZodOptional<z.ZodObject<{
@@ -24607,10 +24607,9 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24607
24607
  }, z.core.$strip>>;
24608
24608
  }, z.core.$strip>>;
24609
24609
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24610
+ id: z.ZodString;
24610
24611
  name: z.ZodString;
24611
24612
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24612
- id: z.ZodString;
24613
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24614
24613
  config: z.ZodObject<{
24615
24614
  type: z.ZodLiteral<"mcp">;
24616
24615
  mcp: z.ZodObject<{
@@ -24639,15 +24638,16 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24639
24638
  }, z.core.$strip>;
24640
24639
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24641
24640
  credentialScope: z.ZodOptional<z.ZodString>;
24641
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24642
24642
  imageUrl: z.ZodOptional<z.ZodString>;
24643
24643
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24644
24644
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24645
24645
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24646
24646
  }, z.core.$strip>>>;
24647
24647
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24648
+ id: z.ZodString;
24648
24649
  name: z.ZodString;
24649
24650
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24650
- id: z.ZodString;
24651
24651
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24652
24652
  baseUrl: z.ZodURL;
24653
24653
  }, z.core.$strip>>>;
@@ -24657,23 +24657,24 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24657
24657
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24658
24658
  }, z.core.$strip>>>;
24659
24659
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24660
+ id: z.ZodString;
24660
24661
  name: z.ZodString;
24661
24662
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24662
- id: z.ZodString;
24663
24663
  functionId: z.ZodString;
24664
24664
  }, z.core.$strip>>>;
24665
24665
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24666
24666
  id: z.ZodString;
24667
24667
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24668
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24669
24668
  executeCode: z.ZodString;
24669
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24670
24670
  }, z.core.$strip>>>;
24671
24671
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24672
+ id: z.ZodOptional<z.ZodString>;
24672
24673
  name: z.ZodString;
24673
24674
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24674
- id: z.ZodOptional<z.ZodString>;
24675
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24675
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24676
24676
  enabled: z.ZodOptional<z.ZodBoolean>;
24677
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24677
24678
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24678
24679
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24679
24680
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -24681,7 +24682,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24681
24682
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24682
24683
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24683
24684
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24684
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24685
24685
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
24686
24686
  }, z.core.$strip>>>;
24687
24687
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -24730,16 +24730,16 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24730
24730
  prompt: z.ZodOptional<z.ZodString>;
24731
24731
  }, z.core.$strip>;
24732
24732
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24733
+ id: z.ZodString;
24733
24734
  name: z.ZodString;
24734
24735
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24735
- id: z.ZodString;
24736
24736
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24737
24737
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24738
24738
  executionMode: z.ZodOptional<z.ZodString>;
24739
24739
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24740
+ id: z.ZodString;
24740
24741
  name: z.ZodString;
24741
24742
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24742
- id: z.ZodString;
24743
24743
  createdAt: z.ZodOptional<z.ZodString>;
24744
24744
  updatedAt: z.ZodOptional<z.ZodString>;
24745
24745
  models: z.ZodOptional<z.ZodObject<{
@@ -24796,10 +24796,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24796
24796
  }, z.core.$strip>>;
24797
24797
  }, z.core.$strip>>;
24798
24798
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24799
+ id: z.ZodString;
24799
24800
  name: z.ZodString;
24800
24801
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24801
- id: z.ZodString;
24802
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24803
24802
  config: z.ZodObject<{
24804
24803
  type: z.ZodLiteral<"mcp">;
24805
24804
  mcp: z.ZodObject<{
@@ -24828,15 +24827,16 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24828
24827
  }, z.core.$strip>;
24829
24828
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24830
24829
  credentialScope: z.ZodOptional<z.ZodString>;
24830
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24831
24831
  imageUrl: z.ZodOptional<z.ZodString>;
24832
24832
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24833
24833
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24834
24834
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24835
24835
  }, z.core.$strip>>>;
24836
24836
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24837
+ id: z.ZodString;
24837
24838
  name: z.ZodString;
24838
24839
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24839
- id: z.ZodString;
24840
24840
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24841
24841
  baseUrl: z.ZodURL;
24842
24842
  }, z.core.$strip>>>;
@@ -24846,23 +24846,24 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24846
24846
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24847
24847
  }, z.core.$strip>>>;
24848
24848
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24849
+ id: z.ZodString;
24849
24850
  name: z.ZodString;
24850
24851
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24851
- id: z.ZodString;
24852
24852
  functionId: z.ZodString;
24853
24853
  }, z.core.$strip>>>;
24854
24854
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24855
24855
  id: z.ZodString;
24856
24856
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24857
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24858
24857
  executeCode: z.ZodString;
24858
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24859
24859
  }, z.core.$strip>>>;
24860
24860
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24861
+ id: z.ZodOptional<z.ZodString>;
24861
24862
  name: z.ZodString;
24862
24863
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24863
- id: z.ZodOptional<z.ZodString>;
24864
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24864
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24865
24865
  enabled: z.ZodOptional<z.ZodBoolean>;
24866
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24866
24867
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24867
24868
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24868
24869
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -24870,7 +24871,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24870
24871
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24871
24872
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24872
24873
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24873
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24874
24874
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
24875
24875
  }, z.core.$strip>>>;
24876
24876
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -24978,10 +24978,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
24978
24978
  in: {};
24979
24979
  }>;
24980
24980
  declare const ProjectInsertSchema: z.ZodObject<{
24981
+ id: z.ZodString;
24981
24982
  name: z.ZodString;
24982
24983
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24983
24984
  tenantId: z.ZodString;
24984
- id: z.ZodString;
24985
24985
  models: z.ZodObject<{
24986
24986
  base: z.ZodObject<{
24987
24987
  model: z.ZodOptional<z.ZodString>;
@@ -25042,9 +25042,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25042
25042
  in: {};
25043
25043
  }>;
25044
25044
  declare const ProjectApiSelectSchema: z.ZodObject<{
25045
+ id: z.ZodString;
25045
25046
  name: z.ZodString;
25046
25047
  description: z.ZodNullable<z.ZodString>;
25047
- id: z.ZodString;
25048
25048
  createdAt: z.ZodString;
25049
25049
  updatedAt: z.ZodString;
25050
25050
  models: z.ZodNullable<z.ZodObject<{
@@ -25076,9 +25076,9 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25076
25076
  in: {};
25077
25077
  }>;
25078
25078
  declare const ProjectApiInsertSchema: z.ZodObject<{
25079
+ id: z.ZodString;
25079
25080
  name: z.ZodString;
25080
25081
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25081
- id: z.ZodString;
25082
25082
  models: z.ZodObject<{
25083
25083
  base: z.ZodObject<{
25084
25084
  model: z.ZodOptional<z.ZodString>;
@@ -25139,9 +25139,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25139
25139
  in: {};
25140
25140
  }>;
25141
25141
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25142
+ id: z.ZodString;
25142
25143
  name: z.ZodString;
25143
25144
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25144
- id: z.ZodString;
25145
25145
  models: z.ZodObject<{
25146
25146
  base: z.ZodObject<{
25147
25147
  model: z.ZodOptional<z.ZodString>;
@@ -25167,16 +25167,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25167
25167
  stepCountIs: z.ZodOptional<z.ZodInt>;
25168
25168
  }, z.core.$strip>>;
25169
25169
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25170
+ id: z.ZodString;
25170
25171
  name: z.ZodString;
25171
25172
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25172
- id: z.ZodString;
25173
25173
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25174
25174
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25175
25175
  executionMode: z.ZodOptional<z.ZodString>;
25176
25176
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25177
+ id: z.ZodString;
25177
25178
  name: z.ZodString;
25178
25179
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25179
- id: z.ZodString;
25180
25180
  createdAt: z.ZodOptional<z.ZodString>;
25181
25181
  updatedAt: z.ZodOptional<z.ZodString>;
25182
25182
  models: z.ZodOptional<z.ZodObject<{
@@ -25233,10 +25233,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25233
25233
  }, z.core.$strip>>;
25234
25234
  }, z.core.$strip>>;
25235
25235
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25236
+ id: z.ZodString;
25236
25237
  name: z.ZodString;
25237
25238
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25238
- id: z.ZodString;
25239
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25240
25239
  config: z.ZodObject<{
25241
25240
  type: z.ZodLiteral<"mcp">;
25242
25241
  mcp: z.ZodObject<{
@@ -25265,15 +25264,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25265
25264
  }, z.core.$strip>;
25266
25265
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25267
25266
  credentialScope: z.ZodOptional<z.ZodString>;
25267
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25268
25268
  imageUrl: z.ZodOptional<z.ZodString>;
25269
25269
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
25270
25270
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25271
25271
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
25272
25272
  }, z.core.$strip>>>;
25273
25273
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25274
+ id: z.ZodString;
25274
25275
  name: z.ZodString;
25275
25276
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25276
- id: z.ZodString;
25277
25277
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25278
25278
  baseUrl: z.ZodURL;
25279
25279
  }, z.core.$strip>>>;
@@ -25283,23 +25283,24 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25283
25283
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25284
25284
  }, z.core.$strip>>>;
25285
25285
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25286
+ id: z.ZodString;
25286
25287
  name: z.ZodString;
25287
25288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25288
- id: z.ZodString;
25289
25289
  functionId: z.ZodString;
25290
25290
  }, z.core.$strip>>>;
25291
25291
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25292
25292
  id: z.ZodString;
25293
25293
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25294
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25295
25294
  executeCode: z.ZodString;
25295
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25296
25296
  }, z.core.$strip>>>;
25297
25297
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25298
+ id: z.ZodOptional<z.ZodString>;
25298
25299
  name: z.ZodString;
25299
25300
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25300
- id: z.ZodOptional<z.ZodString>;
25301
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25301
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25302
25302
  enabled: z.ZodOptional<z.ZodBoolean>;
25303
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25303
25304
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25304
25305
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25305
25306
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -25307,7 +25308,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25307
25308
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25308
25309
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25309
25310
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25310
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25311
25311
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
25312
25312
  }, z.core.$strip>>>;
25313
25313
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -25356,10 +25356,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25356
25356
  prompt: z.ZodOptional<z.ZodString>;
25357
25357
  }, z.core.$strip>>;
25358
25358
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
25359
+ id: z.ZodString;
25359
25360
  name: z.ZodString;
25360
25361
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25361
- id: z.ZodString;
25362
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25363
25362
  config: z.ZodObject<{
25364
25363
  type: z.ZodLiteral<"mcp">;
25365
25364
  mcp: z.ZodObject<{
@@ -25388,22 +25387,23 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25388
25387
  }, z.core.$strip>;
25389
25388
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25390
25389
  credentialScope: z.ZodOptional<z.ZodString>;
25390
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25391
25391
  imageUrl: z.ZodOptional<z.ZodString>;
25392
25392
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
25393
25393
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25394
25394
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
25395
25395
  }, z.core.$strip>>;
25396
25396
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25397
+ id: z.ZodString;
25397
25398
  name: z.ZodString;
25398
25399
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25399
- id: z.ZodString;
25400
25400
  functionId: z.ZodString;
25401
25401
  }, z.core.$strip>>>;
25402
25402
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25403
25403
  id: z.ZodString;
25404
25404
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25405
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25406
25405
  executeCode: z.ZodString;
25406
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25407
25407
  }, z.core.$strip>>>;
25408
25408
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
25409
25409
  files: z.ZodArray<z.ZodObject<{
@@ -25488,9 +25488,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25488
25488
  in: {};
25489
25489
  }>>>;
25490
25490
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25491
+ id: z.ZodString;
25491
25492
  name: z.ZodString;
25492
25493
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25493
- id: z.ZodString;
25494
25494
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25495
25495
  baseUrl: z.ZodURL;
25496
25496
  }, z.core.$strip>>>;
@@ -25510,13 +25510,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25510
25510
  }, z.core.$strip>>>;
25511
25511
  }, z.core.$strict>>;
25512
25512
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25513
- name: z.ZodString;
25514
25513
  id: z.ZodString;
25515
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25514
+ name: z.ZodString;
25515
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25516
25516
  credentialStoreId: z.ZodString;
25517
25517
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25518
25518
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25519
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25519
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25520
25520
  type: z.ZodEnum<{
25521
25521
  readonly memory: "memory";
25522
25522
  readonly keychain: "keychain";
@@ -25531,9 +25531,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25531
25531
  in: {};
25532
25532
  }>;
25533
25533
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25534
+ id: z.ZodString;
25534
25535
  name: z.ZodString;
25535
25536
  description: z.ZodNullable<z.ZodString>;
25536
- id: z.ZodString;
25537
25537
  createdAt: z.ZodString;
25538
25538
  updatedAt: z.ZodString;
25539
25539
  models: z.ZodNullable<z.ZodType<{
@@ -25648,9 +25648,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25648
25648
  }, z.core.$strip>]>>>;
25649
25649
  }, z.core.$strip>;
25650
25650
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25651
+ id: z.ZodString;
25651
25652
  name: z.ZodString;
25652
25653
  description: z.ZodNullable<z.ZodString>;
25653
- id: z.ZodString;
25654
25654
  createdAt: z.ZodString;
25655
25655
  updatedAt: z.ZodString;
25656
25656
  models: z.ZodNullable<z.ZodType<{
@@ -25771,18 +25771,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25771
25771
  }, z.core.$strip>]>>>;
25772
25772
  }, z.core.$strip>;
25773
25773
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25774
+ id: z.ZodString;
25774
25775
  name: z.ZodString;
25775
25776
  description: z.ZodNullable<z.ZodString>;
25776
- id: z.ZodString;
25777
25777
  createdAt: z.ZodString;
25778
25778
  updatedAt: z.ZodString;
25779
25779
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25780
25780
  contextConfigId: z.ZodNullable<z.ZodString>;
25781
25781
  executionMode: z.ZodString;
25782
25782
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25783
+ id: z.ZodString;
25783
25784
  name: z.ZodString;
25784
25785
  description: z.ZodNullable<z.ZodString>;
25785
- id: z.ZodString;
25786
25786
  createdAt: z.ZodString;
25787
25787
  updatedAt: z.ZodString;
25788
25788
  models: z.ZodNullable<z.ZodType<{
@@ -25897,12 +25897,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25897
25897
  }, z.core.$strip>]>>>;
25898
25898
  }, z.core.$strip>>;
25899
25899
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25900
+ id: z.ZodString;
25900
25901
  name: z.ZodString;
25901
25902
  description: z.ZodNullable<z.ZodString>;
25902
- id: z.ZodString;
25903
25903
  createdAt: z.ZodString;
25904
25904
  updatedAt: z.ZodString;
25905
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25906
25905
  config: z.ZodType<{
25907
25906
  type: "mcp";
25908
25907
  mcp: ToolMcpConfig;
@@ -25918,15 +25917,16 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25918
25917
  }>>;
25919
25918
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25920
25919
  credentialScope: z.ZodString;
25920
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25921
25921
  imageUrl: z.ZodNullable<z.ZodString>;
25922
25922
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25923
25923
  lastError: z.ZodNullable<z.ZodString>;
25924
25924
  isWorkApp: z.ZodBoolean;
25925
25925
  }, z.core.$strip>>>;
25926
25926
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25927
+ id: z.ZodString;
25927
25928
  name: z.ZodString;
25928
25929
  description: z.ZodNullable<z.ZodString>;
25929
- id: z.ZodString;
25930
25930
  createdAt: z.ZodString;
25931
25931
  updatedAt: z.ZodString;
25932
25932
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25938,9 +25938,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25938
25938
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25939
25939
  }, z.core.$strip>>>;
25940
25940
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25941
+ id: z.ZodString;
25941
25942
  name: z.ZodString;
25942
25943
  description: z.ZodNullable<z.ZodString>;
25943
- id: z.ZodString;
25944
25944
  createdAt: z.ZodString;
25945
25945
  updatedAt: z.ZodString;
25946
25946
  agentId: z.ZodString;
@@ -25952,8 +25952,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25952
25952
  createdAt: z.ZodString;
25953
25953
  updatedAt: z.ZodString;
25954
25954
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25955
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25956
25955
  executeCode: z.ZodString;
25956
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25957
25957
  }, z.core.$strip>>>;
25958
25958
  contextConfig: z.ZodNullable<z.ZodObject<{
25959
25959
  id: z.ZodString;
@@ -26003,21 +26003,20 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26003
26003
  prompt: z.ZodNullable<z.ZodString>;
26004
26004
  }, z.core.$strip>;
26005
26005
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26006
+ id: z.ZodString;
26006
26007
  name: z.ZodString;
26007
26008
  description: z.ZodNullable<z.ZodString>;
26008
- id: z.ZodString;
26009
26009
  createdAt: z.ZodString;
26010
26010
  updatedAt: z.ZodString;
26011
26011
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26012
26012
  contextConfigId: z.ZodNullable<z.ZodString>;
26013
26013
  executionMode: z.ZodString;
26014
26014
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26015
+ id: z.ZodString;
26015
26016
  name: z.ZodString;
26016
26017
  description: z.ZodNullable<z.ZodString>;
26017
- id: z.ZodString;
26018
26018
  createdAt: z.ZodString;
26019
26019
  updatedAt: z.ZodString;
26020
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26021
26020
  config: z.ZodType<{
26022
26021
  type: "mcp";
26023
26022
  mcp: ToolMcpConfig;
@@ -26033,15 +26032,16 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26033
26032
  }>>;
26034
26033
  credentialReferenceId: z.ZodNullable<z.ZodString>;
26035
26034
  credentialScope: z.ZodString;
26035
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26036
26036
  imageUrl: z.ZodNullable<z.ZodString>;
26037
26037
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26038
26038
  lastError: z.ZodNullable<z.ZodString>;
26039
26039
  isWorkApp: z.ZodBoolean;
26040
26040
  }, z.core.$strip>>>;
26041
26041
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26042
+ id: z.ZodString;
26042
26043
  name: z.ZodString;
26043
26044
  description: z.ZodNullable<z.ZodString>;
26044
- id: z.ZodString;
26045
26045
  createdAt: z.ZodString;
26046
26046
  updatedAt: z.ZodString;
26047
26047
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26053,9 +26053,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26053
26053
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26054
26054
  }, z.core.$strip>>>;
26055
26055
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26056
+ id: z.ZodString;
26056
26057
  name: z.ZodString;
26057
26058
  description: z.ZodNullable<z.ZodString>;
26058
- id: z.ZodString;
26059
26059
  createdAt: z.ZodString;
26060
26060
  updatedAt: z.ZodString;
26061
26061
  agentId: z.ZodString;
@@ -26067,8 +26067,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26067
26067
  createdAt: z.ZodString;
26068
26068
  updatedAt: z.ZodString;
26069
26069
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26070
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26071
26070
  executeCode: z.ZodString;
26071
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26072
26072
  }, z.core.$strip>>>;
26073
26073
  contextConfig: z.ZodNullable<z.ZodObject<{
26074
26074
  id: z.ZodString;
@@ -26117,9 +26117,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26117
26117
  }, z.core.$strip>>;
26118
26118
  prompt: z.ZodNullable<z.ZodString>;
26119
26119
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26120
+ id: z.ZodString;
26120
26121
  name: z.ZodString;
26121
26122
  description: z.ZodNullable<z.ZodString>;
26122
- id: z.ZodString;
26123
26123
  createdAt: z.ZodString;
26124
26124
  updatedAt: z.ZodString;
26125
26125
  models: z.ZodNullable<z.ZodType<{
@@ -26241,9 +26241,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26241
26241
  }, z.core.$strip>>;
26242
26242
  }, z.core.$strip>;
26243
26243
  declare const FullProjectSelectSchema: z.ZodObject<{
26244
+ id: z.ZodString;
26244
26245
  name: z.ZodString;
26245
26246
  description: z.ZodNullable<z.ZodString>;
26246
- id: z.ZodString;
26247
26247
  createdAt: z.ZodString;
26248
26248
  updatedAt: z.ZodString;
26249
26249
  models: z.ZodNullable<z.ZodObject<{
@@ -26271,18 +26271,18 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26271
26271
  stepCountIs: z.ZodOptional<z.ZodInt>;
26272
26272
  }, z.core.$strip>>;
26273
26273
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26274
+ id: z.ZodString;
26274
26275
  name: z.ZodString;
26275
26276
  description: z.ZodNullable<z.ZodString>;
26276
- id: z.ZodString;
26277
26277
  createdAt: z.ZodString;
26278
26278
  updatedAt: z.ZodString;
26279
26279
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26280
26280
  contextConfigId: z.ZodNullable<z.ZodString>;
26281
26281
  executionMode: z.ZodString;
26282
26282
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26283
+ id: z.ZodString;
26283
26284
  name: z.ZodString;
26284
26285
  description: z.ZodNullable<z.ZodString>;
26285
- id: z.ZodString;
26286
26286
  createdAt: z.ZodString;
26287
26287
  updatedAt: z.ZodString;
26288
26288
  models: z.ZodNullable<z.ZodType<{
@@ -26397,12 +26397,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26397
26397
  }, z.core.$strip>]>>>;
26398
26398
  }, z.core.$strip>>;
26399
26399
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26400
+ id: z.ZodString;
26400
26401
  name: z.ZodString;
26401
26402
  description: z.ZodNullable<z.ZodString>;
26402
- id: z.ZodString;
26403
26403
  createdAt: z.ZodString;
26404
26404
  updatedAt: z.ZodString;
26405
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26406
26405
  config: z.ZodType<{
26407
26406
  type: "mcp";
26408
26407
  mcp: ToolMcpConfig;
@@ -26418,15 +26417,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26418
26417
  }>>;
26419
26418
  credentialReferenceId: z.ZodNullable<z.ZodString>;
26420
26419
  credentialScope: z.ZodString;
26420
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26421
26421
  imageUrl: z.ZodNullable<z.ZodString>;
26422
26422
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26423
26423
  lastError: z.ZodNullable<z.ZodString>;
26424
26424
  isWorkApp: z.ZodBoolean;
26425
26425
  }, z.core.$strip>>>;
26426
26426
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26427
+ id: z.ZodString;
26427
26428
  name: z.ZodString;
26428
26429
  description: z.ZodNullable<z.ZodString>;
26429
- id: z.ZodString;
26430
26430
  createdAt: z.ZodString;
26431
26431
  updatedAt: z.ZodString;
26432
26432
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26438,9 +26438,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26438
26438
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26439
26439
  }, z.core.$strip>>>;
26440
26440
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26441
+ id: z.ZodString;
26441
26442
  name: z.ZodString;
26442
26443
  description: z.ZodNullable<z.ZodString>;
26443
- id: z.ZodString;
26444
26444
  createdAt: z.ZodString;
26445
26445
  updatedAt: z.ZodString;
26446
26446
  agentId: z.ZodString;
@@ -26452,8 +26452,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26452
26452
  createdAt: z.ZodString;
26453
26453
  updatedAt: z.ZodString;
26454
26454
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26455
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26456
26455
  executeCode: z.ZodString;
26456
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26457
26457
  }, z.core.$strip>>>;
26458
26458
  contextConfig: z.ZodNullable<z.ZodObject<{
26459
26459
  id: z.ZodString;
@@ -26503,12 +26503,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26503
26503
  prompt: z.ZodNullable<z.ZodString>;
26504
26504
  }, z.core.$strip>>;
26505
26505
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26506
+ id: z.ZodString;
26506
26507
  name: z.ZodString;
26507
26508
  description: z.ZodNullable<z.ZodString>;
26508
- id: z.ZodString;
26509
26509
  createdAt: z.ZodString;
26510
26510
  updatedAt: z.ZodString;
26511
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26512
26511
  config: z.ZodType<{
26513
26512
  type: "mcp";
26514
26513
  mcp: ToolMcpConfig;
@@ -26524,15 +26523,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26524
26523
  }>>;
26525
26524
  credentialReferenceId: z.ZodNullable<z.ZodString>;
26526
26525
  credentialScope: z.ZodString;
26526
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26527
26527
  imageUrl: z.ZodNullable<z.ZodString>;
26528
26528
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26529
26529
  lastError: z.ZodNullable<z.ZodString>;
26530
26530
  isWorkApp: z.ZodBoolean;
26531
26531
  }, z.core.$strip>>;
26532
26532
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26533
+ id: z.ZodString;
26533
26534
  name: z.ZodString;
26534
26535
  description: z.ZodNullable<z.ZodString>;
26535
- id: z.ZodString;
26536
26536
  createdAt: z.ZodString;
26537
26537
  updatedAt: z.ZodString;
26538
26538
  agentId: z.ZodString;
@@ -26544,13 +26544,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26544
26544
  createdAt: z.ZodString;
26545
26545
  updatedAt: z.ZodString;
26546
26546
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26547
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26548
26547
  executeCode: z.ZodString;
26548
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26549
26549
  }, z.core.$strip>>>;
26550
26550
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26551
+ id: z.ZodString;
26551
26552
  name: z.ZodString;
26552
26553
  description: z.ZodNullable<z.ZodString>;
26553
- id: z.ZodString;
26554
+ createdAt: z.ZodString;
26555
+ updatedAt: z.ZodString;
26554
26556
  props: z.ZodType<{
26555
26557
  [x: string]: unknown;
26556
26558
  type: "object";
@@ -26593,13 +26595,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26593
26595
  component: string;
26594
26596
  mockData: Record<string, unknown>;
26595
26597
  }>>>;
26596
- createdAt: z.ZodString;
26597
- updatedAt: z.ZodString;
26598
26598
  }, z.core.$strip>>>;
26599
26599
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26600
+ id: z.ZodString;
26600
26601
  name: z.ZodString;
26601
26602
  description: z.ZodNullable<z.ZodString>;
26602
- id: z.ZodString;
26603
+ createdAt: z.ZodString;
26604
+ updatedAt: z.ZodString;
26603
26605
  props: z.ZodNullable<z.ZodType<{
26604
26606
  [x: string]: unknown;
26605
26607
  type: "object";
@@ -26642,13 +26644,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26642
26644
  component: string;
26643
26645
  mockData: Record<string, unknown>;
26644
26646
  }>>>;
26645
- createdAt: z.ZodString;
26646
- updatedAt: z.ZodString;
26647
26647
  }, z.core.$strip>>>;
26648
26648
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26649
+ id: z.ZodString;
26649
26650
  name: z.ZodString;
26650
26651
  description: z.ZodNullable<z.ZodString>;
26651
- id: z.ZodString;
26652
26652
  createdAt: z.ZodString;
26653
26653
  updatedAt: z.ZodString;
26654
26654
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26670,15 +26670,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26670
26670
  }, z.core.$strip>>>;
26671
26671
  }, z.core.$strict>>;
26672
26672
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26673
- name: z.ZodString;
26674
26673
  id: z.ZodString;
26674
+ name: z.ZodString;
26675
26675
  createdAt: z.ZodString;
26676
26676
  updatedAt: z.ZodString;
26677
- createdBy: z.ZodNullable<z.ZodString>;
26677
+ userId: z.ZodNullable<z.ZodString>;
26678
26678
  credentialStoreId: z.ZodString;
26679
26679
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26680
26680
  toolId: z.ZodNullable<z.ZodString>;
26681
- userId: z.ZodNullable<z.ZodString>;
26681
+ createdBy: z.ZodNullable<z.ZodString>;
26682
26682
  type: z.ZodEnum<{
26683
26683
  readonly memory: "memory";
26684
26684
  readonly keychain: "keychain";
@@ -27266,9 +27266,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27266
27266
  in: {};
27267
27267
  }>;
27268
27268
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27269
+ id: z.ZodString;
27269
27270
  name: z.ZodString;
27270
27271
  description: z.ZodNullable<z.ZodString>;
27271
- id: z.ZodString;
27272
27272
  createdAt: z.ZodString;
27273
27273
  updatedAt: z.ZodString;
27274
27274
  models: z.ZodNullable<z.ZodObject<{
@@ -27296,12 +27296,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27296
27296
  stepCountIs: z.ZodOptional<z.ZodInt>;
27297
27297
  }, z.core.$strip>>;
27298
27298
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
27299
+ id: z.ZodString;
27299
27300
  name: z.ZodString;
27300
27301
  description: z.ZodNullable<z.ZodString>;
27301
- id: z.ZodString;
27302
27302
  createdAt: z.ZodString;
27303
27303
  updatedAt: z.ZodString;
27304
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27305
27304
  config: z.ZodType<{
27306
27305
  type: "mcp";
27307
27306
  mcp: ToolMcpConfig;
@@ -27317,15 +27316,16 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27317
27316
  }>>;
27318
27317
  credentialReferenceId: z.ZodNullable<z.ZodString>;
27319
27318
  credentialScope: z.ZodString;
27319
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27320
27320
  imageUrl: z.ZodNullable<z.ZodString>;
27321
27321
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
27322
27322
  lastError: z.ZodNullable<z.ZodString>;
27323
27323
  isWorkApp: z.ZodBoolean;
27324
27324
  }, z.core.$strip>>;
27325
27325
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27326
+ id: z.ZodString;
27326
27327
  name: z.ZodString;
27327
27328
  description: z.ZodNullable<z.ZodString>;
27328
- id: z.ZodString;
27329
27329
  createdAt: z.ZodString;
27330
27330
  updatedAt: z.ZodString;
27331
27331
  agentId: z.ZodString;
@@ -27337,13 +27337,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27337
27337
  createdAt: z.ZodString;
27338
27338
  updatedAt: z.ZodString;
27339
27339
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27340
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27341
27340
  executeCode: z.ZodString;
27341
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27342
27342
  }, z.core.$strip>>>;
27343
27343
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27344
+ id: z.ZodString;
27344
27345
  name: z.ZodString;
27345
27346
  description: z.ZodNullable<z.ZodString>;
27346
- id: z.ZodString;
27347
+ createdAt: z.ZodString;
27348
+ updatedAt: z.ZodString;
27347
27349
  props: z.ZodType<{
27348
27350
  [x: string]: unknown;
27349
27351
  type: "object";
@@ -27386,13 +27388,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27386
27388
  component: string;
27387
27389
  mockData: Record<string, unknown>;
27388
27390
  }>>>;
27389
- createdAt: z.ZodString;
27390
- updatedAt: z.ZodString;
27391
27391
  }, z.core.$strip>>>;
27392
27392
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27393
+ id: z.ZodString;
27393
27394
  name: z.ZodString;
27394
27395
  description: z.ZodNullable<z.ZodString>;
27395
- id: z.ZodString;
27396
+ createdAt: z.ZodString;
27397
+ updatedAt: z.ZodString;
27396
27398
  props: z.ZodNullable<z.ZodType<{
27397
27399
  [x: string]: unknown;
27398
27400
  type: "object";
@@ -27435,13 +27437,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27435
27437
  component: string;
27436
27438
  mockData: Record<string, unknown>;
27437
27439
  }>>>;
27438
- createdAt: z.ZodString;
27439
- updatedAt: z.ZodString;
27440
27440
  }, z.core.$strip>>>;
27441
27441
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27442
+ id: z.ZodString;
27442
27443
  name: z.ZodString;
27443
27444
  description: z.ZodNullable<z.ZodString>;
27444
- id: z.ZodString;
27445
27445
  createdAt: z.ZodString;
27446
27446
  updatedAt: z.ZodString;
27447
27447
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27463,15 +27463,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27463
27463
  }, z.core.$strip>>>;
27464
27464
  }, z.core.$strict>>;
27465
27465
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27466
- name: z.ZodString;
27467
27466
  id: z.ZodString;
27467
+ name: z.ZodString;
27468
27468
  createdAt: z.ZodString;
27469
27469
  updatedAt: z.ZodString;
27470
- createdBy: z.ZodNullable<z.ZodString>;
27470
+ userId: z.ZodNullable<z.ZodString>;
27471
27471
  credentialStoreId: z.ZodString;
27472
27472
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27473
27473
  toolId: z.ZodNullable<z.ZodString>;
27474
- userId: z.ZodNullable<z.ZodString>;
27474
+ createdBy: z.ZodNullable<z.ZodString>;
27475
27475
  type: z.ZodEnum<{
27476
27476
  readonly memory: "memory";
27477
27477
  readonly keychain: "keychain";
@@ -28055,21 +28055,20 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28055
28055
  }>>>;
28056
28056
  }, z.core.$strip>>>;
28057
28057
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28058
+ id: z.ZodString;
28058
28059
  name: z.ZodString;
28059
28060
  description: z.ZodNullable<z.ZodString>;
28060
- id: z.ZodString;
28061
28061
  createdAt: z.ZodString;
28062
28062
  updatedAt: z.ZodString;
28063
28063
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28064
28064
  contextConfigId: z.ZodNullable<z.ZodString>;
28065
28065
  executionMode: z.ZodString;
28066
28066
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28067
+ id: z.ZodString;
28067
28068
  name: z.ZodString;
28068
28069
  description: z.ZodNullable<z.ZodString>;
28069
- id: z.ZodString;
28070
28070
  createdAt: z.ZodString;
28071
28071
  updatedAt: z.ZodString;
28072
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28073
28072
  config: z.ZodType<{
28074
28073
  type: "mcp";
28075
28074
  mcp: ToolMcpConfig;
@@ -28085,15 +28084,16 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28085
28084
  }>>;
28086
28085
  credentialReferenceId: z.ZodNullable<z.ZodString>;
28087
28086
  credentialScope: z.ZodString;
28087
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28088
28088
  imageUrl: z.ZodNullable<z.ZodString>;
28089
28089
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
28090
28090
  lastError: z.ZodNullable<z.ZodString>;
28091
28091
  isWorkApp: z.ZodBoolean;
28092
28092
  }, z.core.$strip>>>;
28093
28093
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28094
+ id: z.ZodString;
28094
28095
  name: z.ZodString;
28095
28096
  description: z.ZodNullable<z.ZodString>;
28096
- id: z.ZodString;
28097
28097
  createdAt: z.ZodString;
28098
28098
  updatedAt: z.ZodString;
28099
28099
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28105,9 +28105,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28105
28105
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28106
28106
  }, z.core.$strip>>>;
28107
28107
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28108
+ id: z.ZodString;
28108
28109
  name: z.ZodString;
28109
28110
  description: z.ZodNullable<z.ZodString>;
28110
- id: z.ZodString;
28111
28111
  createdAt: z.ZodString;
28112
28112
  updatedAt: z.ZodString;
28113
28113
  agentId: z.ZodString;
@@ -28119,8 +28119,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28119
28119
  createdAt: z.ZodString;
28120
28120
  updatedAt: z.ZodString;
28121
28121
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28122
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28123
28122
  executeCode: z.ZodString;
28123
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28124
28124
  }, z.core.$strip>>>;
28125
28125
  contextConfig: z.ZodNullable<z.ZodObject<{
28126
28126
  id: z.ZodString;
@@ -28169,9 +28169,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28169
28169
  }, z.core.$strip>>;
28170
28170
  prompt: z.ZodNullable<z.ZodString>;
28171
28171
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28172
+ id: z.ZodString;
28172
28173
  name: z.ZodString;
28173
28174
  description: z.ZodNullable<z.ZodString>;
28174
- id: z.ZodString;
28175
28175
  createdAt: z.ZodString;
28176
28176
  updatedAt: z.ZodString;
28177
28177
  models: z.ZodNullable<z.ZodType<{
@@ -28298,9 +28298,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28298
28298
  }>;
28299
28299
  declare const ProjectResponse: z.ZodObject<{
28300
28300
  data: z.ZodObject<{
28301
+ id: z.ZodString;
28301
28302
  name: z.ZodString;
28302
28303
  description: z.ZodNullable<z.ZodString>;
28303
- id: z.ZodString;
28304
28304
  createdAt: z.ZodString;
28305
28305
  updatedAt: z.ZodString;
28306
28306
  models: z.ZodNullable<z.ZodObject<{
@@ -28334,9 +28334,9 @@ declare const ProjectResponse: z.ZodObject<{
28334
28334
  }, z.core.$strip>;
28335
28335
  declare const SubAgentResponse: z.ZodObject<{
28336
28336
  data: z.ZodObject<{
28337
+ id: z.ZodString;
28337
28338
  name: z.ZodString;
28338
28339
  description: z.ZodNullable<z.ZodString>;
28339
- id: z.ZodString;
28340
28340
  createdAt: z.ZodString;
28341
28341
  updatedAt: z.ZodString;
28342
28342
  models: z.ZodNullable<z.ZodType<{
@@ -28431,9 +28431,9 @@ declare const SubAgentResponse: z.ZodObject<{
28431
28431
  }, z.core.$strip>;
28432
28432
  declare const AgentResponse: z.ZodObject<{
28433
28433
  data: z.ZodObject<{
28434
+ id: z.ZodString;
28434
28435
  name: z.ZodString;
28435
28436
  description: z.ZodNullable<z.ZodString>;
28436
- id: z.ZodString;
28437
28437
  createdAt: z.ZodString;
28438
28438
  updatedAt: z.ZodString;
28439
28439
  models: z.ZodNullable<z.ZodType<{
@@ -28522,9 +28522,9 @@ declare const AgentResponse: z.ZodObject<{
28522
28522
  }, {
28523
28523
  transferCountIs?: number | undefined;
28524
28524
  }>>>;
28525
- prompt: z.ZodNullable<z.ZodString>;
28526
28525
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28527
28526
  contextConfigId: z.ZodNullable<z.ZodString>;
28527
+ prompt: z.ZodNullable<z.ZodString>;
28528
28528
  statusUpdates: z.ZodNullable<z.ZodType<{
28529
28529
  enabled?: boolean | undefined;
28530
28530
  numEvents?: number | undefined;
@@ -28587,9 +28587,9 @@ declare const AgentResponse: z.ZodObject<{
28587
28587
  }, z.core.$strip>;
28588
28588
  declare const ExternalAgentResponse: z.ZodObject<{
28589
28589
  data: z.ZodObject<{
28590
+ id: z.ZodString;
28590
28591
  name: z.ZodString;
28591
28592
  description: z.ZodNullable<z.ZodString>;
28592
- id: z.ZodString;
28593
28593
  createdAt: z.ZodString;
28594
28594
  updatedAt: z.ZodString;
28595
28595
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28607,8 +28607,8 @@ declare const ContextConfigResponse: z.ZodObject<{
28607
28607
  }, z.core.$strip>;
28608
28608
  declare const ApiKeyResponse: z.ZodObject<{
28609
28609
  data: z.ZodObject<{
28610
- name: z.ZodNullable<z.ZodString>;
28611
28610
  id: z.ZodString;
28611
+ name: z.ZodNullable<z.ZodString>;
28612
28612
  createdAt: z.ZodString;
28613
28613
  updatedAt: z.ZodString;
28614
28614
  agentId: z.ZodString;
@@ -28623,15 +28623,15 @@ declare const ApiKeyResponse: z.ZodObject<{
28623
28623
  }, z.core.$strip>;
28624
28624
  declare const CredentialReferenceResponse: z.ZodObject<{
28625
28625
  data: z.ZodObject<{
28626
- name: z.ZodString;
28627
28626
  id: z.ZodString;
28627
+ name: z.ZodString;
28628
28628
  createdAt: z.ZodString;
28629
28629
  updatedAt: z.ZodString;
28630
- createdBy: z.ZodNullable<z.ZodString>;
28630
+ userId: z.ZodNullable<z.ZodString>;
28631
28631
  credentialStoreId: z.ZodString;
28632
28632
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28633
28633
  toolId: z.ZodNullable<z.ZodString>;
28634
- userId: z.ZodNullable<z.ZodString>;
28634
+ createdBy: z.ZodNullable<z.ZodString>;
28635
28635
  type: z.ZodEnum<{
28636
28636
  readonly memory: "memory";
28637
28637
  readonly keychain: "keychain";
@@ -29221,15 +29221,15 @@ declare const FunctionResponse: z.ZodObject<{
29221
29221
  createdAt: z.ZodString;
29222
29222
  updatedAt: z.ZodString;
29223
29223
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29224
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29225
29224
  executeCode: z.ZodString;
29225
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29226
29226
  }, z.core.$strip>;
29227
29227
  }, z.core.$strip>;
29228
29228
  declare const FunctionToolResponse: z.ZodObject<{
29229
29229
  data: z.ZodObject<{
29230
+ id: z.ZodString;
29230
29231
  name: z.ZodString;
29231
29232
  description: z.ZodNullable<z.ZodString>;
29232
- id: z.ZodString;
29233
29233
  createdAt: z.ZodString;
29234
29234
  updatedAt: z.ZodString;
29235
29235
  agentId: z.ZodString;
@@ -29243,15 +29243,17 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29243
29243
  createdAt: z.ZodString;
29244
29244
  updatedAt: z.ZodString;
29245
29245
  subAgentId: z.ZodString;
29246
- functionToolId: z.ZodString;
29247
29246
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29247
+ functionToolId: z.ZodString;
29248
29248
  }, z.core.$strip>;
29249
29249
  }, z.core.$strip>;
29250
29250
  declare const DataComponentResponse: z.ZodObject<{
29251
29251
  data: z.ZodObject<{
29252
+ id: z.ZodString;
29252
29253
  name: z.ZodString;
29253
29254
  description: z.ZodNullable<z.ZodString>;
29254
- id: z.ZodString;
29255
+ createdAt: z.ZodString;
29256
+ updatedAt: z.ZodString;
29255
29257
  props: z.ZodType<{
29256
29258
  [x: string]: unknown;
29257
29259
  type: "object";
@@ -29294,15 +29296,15 @@ declare const DataComponentResponse: z.ZodObject<{
29294
29296
  component: string;
29295
29297
  mockData: Record<string, unknown>;
29296
29298
  }>>>;
29297
- createdAt: z.ZodString;
29298
- updatedAt: z.ZodString;
29299
29299
  }, z.core.$strip>;
29300
29300
  }, z.core.$strip>;
29301
29301
  declare const ArtifactComponentResponse: z.ZodObject<{
29302
29302
  data: z.ZodObject<{
29303
+ id: z.ZodString;
29303
29304
  name: z.ZodString;
29304
29305
  description: z.ZodNullable<z.ZodString>;
29305
- id: z.ZodString;
29306
+ createdAt: z.ZodString;
29307
+ updatedAt: z.ZodString;
29306
29308
  props: z.ZodNullable<z.ZodType<{
29307
29309
  [x: string]: unknown;
29308
29310
  type: "object";
@@ -29345,8 +29347,6 @@ declare const ArtifactComponentResponse: z.ZodObject<{
29345
29347
  component: string;
29346
29348
  mockData: Record<string, unknown>;
29347
29349
  }>>>;
29348
- createdAt: z.ZodString;
29349
- updatedAt: z.ZodString;
29350
29350
  }, z.core.$strip>;
29351
29351
  }, z.core.$strip>;
29352
29352
  declare const SubAgentRelationResponse: z.ZodObject<{
@@ -29364,22 +29364,23 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29364
29364
  id: z.ZodString;
29365
29365
  createdAt: z.ZodString;
29366
29366
  updatedAt: z.ZodString;
29367
+ subAgentId: z.ZodString;
29367
29368
  headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29368
29369
  toolId: z.ZodString;
29369
- subAgentId: z.ZodString;
29370
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29371
29370
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29371
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29372
29372
  }, z.core.$strip>;
29373
29373
  }, z.core.$strip>;
29374
29374
  declare const TriggerResponse: z.ZodObject<{
29375
29375
  data: z.ZodObject<{
29376
+ id: z.ZodString;
29376
29377
  name: z.ZodString;
29377
29378
  description: z.ZodNullable<z.ZodString>;
29378
- id: z.ZodString;
29379
29379
  createdAt: z.ZodString;
29380
29380
  updatedAt: z.ZodString;
29381
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29381
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29382
29382
  enabled: z.ZodBoolean;
29383
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29383
29384
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29384
29385
  messageTemplate: z.ZodNullable<z.ZodString>;
29385
29386
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -29431,14 +29432,13 @@ declare const TriggerResponse: z.ZodObject<{
29431
29432
  }, z.core.$strip>>>;
29432
29433
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29433
29434
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29434
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29435
29435
  }, z.core.$strip>;
29436
29436
  }, z.core.$strip>;
29437
29437
  declare const TriggerInvocationResponse: z.ZodObject<{
29438
29438
  data: z.ZodObject<{
29439
- status: z.ZodString;
29440
29439
  id: z.ZodString;
29441
29440
  createdAt: z.ZodString;
29441
+ status: z.ZodString;
29442
29442
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29443
29443
  triggerId: z.ZodString;
29444
29444
  conversationId: z.ZodNullable<z.ZodString>;
@@ -29463,16 +29463,16 @@ declare const FeedbackResponse: z.ZodObject<{
29463
29463
  id: z.ZodString;
29464
29464
  createdAt: z.ZodString;
29465
29465
  updatedAt: z.ZodString;
29466
+ details: z.ZodNullable<z.ZodString>;
29466
29467
  conversationId: z.ZodString;
29467
29468
  messageId: z.ZodNullable<z.ZodString>;
29468
- details: z.ZodNullable<z.ZodString>;
29469
29469
  }, z.core.$strip>;
29470
29470
  }, z.core.$strip>;
29471
29471
  declare const ProjectListResponse: z.ZodObject<{
29472
29472
  data: z.ZodArray<z.ZodObject<{
29473
+ id: z.ZodString;
29473
29474
  name: z.ZodString;
29474
29475
  description: z.ZodNullable<z.ZodString>;
29475
- id: z.ZodString;
29476
29476
  createdAt: z.ZodString;
29477
29477
  updatedAt: z.ZodString;
29478
29478
  models: z.ZodNullable<z.ZodObject<{
@@ -29512,9 +29512,9 @@ declare const ProjectListResponse: z.ZodObject<{
29512
29512
  }, z.core.$strip>;
29513
29513
  declare const SubAgentListResponse: z.ZodObject<{
29514
29514
  data: z.ZodArray<z.ZodObject<{
29515
+ id: z.ZodString;
29515
29516
  name: z.ZodString;
29516
29517
  description: z.ZodNullable<z.ZodString>;
29517
- id: z.ZodString;
29518
29518
  createdAt: z.ZodString;
29519
29519
  updatedAt: z.ZodString;
29520
29520
  models: z.ZodNullable<z.ZodType<{
@@ -29615,9 +29615,9 @@ declare const SubAgentListResponse: z.ZodObject<{
29615
29615
  }, z.core.$strip>;
29616
29616
  declare const AgentListResponse: z.ZodObject<{
29617
29617
  data: z.ZodArray<z.ZodObject<{
29618
+ id: z.ZodString;
29618
29619
  name: z.ZodString;
29619
29620
  description: z.ZodNullable<z.ZodString>;
29620
- id: z.ZodString;
29621
29621
  createdAt: z.ZodString;
29622
29622
  updatedAt: z.ZodString;
29623
29623
  models: z.ZodNullable<z.ZodType<{
@@ -29706,9 +29706,9 @@ declare const AgentListResponse: z.ZodObject<{
29706
29706
  }, {
29707
29707
  transferCountIs?: number | undefined;
29708
29708
  }>>>;
29709
- prompt: z.ZodNullable<z.ZodString>;
29710
29709
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29711
29710
  contextConfigId: z.ZodNullable<z.ZodString>;
29711
+ prompt: z.ZodNullable<z.ZodString>;
29712
29712
  statusUpdates: z.ZodNullable<z.ZodType<{
29713
29713
  enabled?: boolean | undefined;
29714
29714
  numEvents?: number | undefined;
@@ -29777,9 +29777,9 @@ declare const AgentListResponse: z.ZodObject<{
29777
29777
  }, z.core.$strip>;
29778
29778
  declare const ExternalAgentListResponse: z.ZodObject<{
29779
29779
  data: z.ZodArray<z.ZodObject<{
29780
+ id: z.ZodString;
29780
29781
  name: z.ZodString;
29781
29782
  description: z.ZodNullable<z.ZodString>;
29782
- id: z.ZodString;
29783
29783
  createdAt: z.ZodString;
29784
29784
  updatedAt: z.ZodString;
29785
29785
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29809,8 +29809,8 @@ declare const ContextConfigListResponse: z.ZodObject<{
29809
29809
  }, z.core.$strip>;
29810
29810
  declare const ApiKeyListResponse: z.ZodObject<{
29811
29811
  data: z.ZodArray<z.ZodObject<{
29812
- name: z.ZodNullable<z.ZodString>;
29813
29812
  id: z.ZodString;
29813
+ name: z.ZodNullable<z.ZodString>;
29814
29814
  createdAt: z.ZodString;
29815
29815
  updatedAt: z.ZodString;
29816
29816
  agentId: z.ZodString;
@@ -29832,15 +29832,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
29832
29832
  declare const AppResponse: z.ZodObject<{
29833
29833
  data: z.ZodObject<{
29834
29834
  type: z.ZodString;
29835
+ id: z.ZodString;
29835
29836
  name: z.ZodString;
29836
29837
  description: z.ZodNullable<z.ZodString>;
29837
- tenantId: z.ZodNullable<z.ZodString>;
29838
- projectId: z.ZodNullable<z.ZodString>;
29839
- id: z.ZodString;
29840
29838
  createdAt: z.ZodString;
29841
29839
  updatedAt: z.ZodString;
29842
- prompt: z.ZodNullable<z.ZodString>;
29840
+ projectId: z.ZodNullable<z.ZodString>;
29841
+ tenantId: z.ZodNullable<z.ZodString>;
29843
29842
  enabled: z.ZodBoolean;
29843
+ prompt: z.ZodNullable<z.ZodString>;
29844
29844
  lastUsedAt: z.ZodNullable<z.ZodString>;
29845
29845
  defaultProjectId: z.ZodNullable<z.ZodString>;
29846
29846
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -29892,15 +29892,15 @@ declare const AppResponse: z.ZodObject<{
29892
29892
  declare const AppListResponse: z.ZodObject<{
29893
29893
  data: z.ZodArray<z.ZodObject<{
29894
29894
  type: z.ZodString;
29895
+ id: z.ZodString;
29895
29896
  name: z.ZodString;
29896
29897
  description: z.ZodNullable<z.ZodString>;
29897
- tenantId: z.ZodNullable<z.ZodString>;
29898
- projectId: z.ZodNullable<z.ZodString>;
29899
- id: z.ZodString;
29900
29898
  createdAt: z.ZodString;
29901
29899
  updatedAt: z.ZodString;
29902
- prompt: z.ZodNullable<z.ZodString>;
29900
+ projectId: z.ZodNullable<z.ZodString>;
29901
+ tenantId: z.ZodNullable<z.ZodString>;
29903
29902
  enabled: z.ZodBoolean;
29903
+ prompt: z.ZodNullable<z.ZodString>;
29904
29904
  lastUsedAt: z.ZodNullable<z.ZodString>;
29905
29905
  defaultProjectId: z.ZodNullable<z.ZodString>;
29906
29906
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -29957,15 +29957,15 @@ declare const AppListResponse: z.ZodObject<{
29957
29957
  }, z.core.$strip>;
29958
29958
  declare const CredentialReferenceListResponse: z.ZodObject<{
29959
29959
  data: z.ZodArray<z.ZodObject<{
29960
- name: z.ZodString;
29961
29960
  id: z.ZodString;
29961
+ name: z.ZodString;
29962
29962
  createdAt: z.ZodString;
29963
29963
  updatedAt: z.ZodString;
29964
- createdBy: z.ZodNullable<z.ZodString>;
29964
+ userId: z.ZodNullable<z.ZodString>;
29965
29965
  credentialStoreId: z.ZodString;
29966
29966
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29967
29967
  toolId: z.ZodNullable<z.ZodString>;
29968
- userId: z.ZodNullable<z.ZodString>;
29968
+ createdBy: z.ZodNullable<z.ZodString>;
29969
29969
  type: z.ZodEnum<{
29970
29970
  readonly memory: "memory";
29971
29971
  readonly keychain: "keychain";
@@ -30561,8 +30561,8 @@ declare const FunctionListResponse: z.ZodObject<{
30561
30561
  createdAt: z.ZodString;
30562
30562
  updatedAt: z.ZodString;
30563
30563
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30564
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30565
30564
  executeCode: z.ZodString;
30565
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30566
30566
  }, z.core.$strip>>;
30567
30567
  pagination: z.ZodObject<{
30568
30568
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30573,9 +30573,9 @@ declare const FunctionListResponse: z.ZodObject<{
30573
30573
  }, z.core.$strip>;
30574
30574
  declare const FunctionToolListResponse: z.ZodObject<{
30575
30575
  data: z.ZodArray<z.ZodObject<{
30576
+ id: z.ZodString;
30576
30577
  name: z.ZodString;
30577
30578
  description: z.ZodNullable<z.ZodString>;
30578
- id: z.ZodString;
30579
30579
  createdAt: z.ZodString;
30580
30580
  updatedAt: z.ZodString;
30581
30581
  agentId: z.ZodString;
@@ -30595,8 +30595,8 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30595
30595
  createdAt: z.ZodString;
30596
30596
  updatedAt: z.ZodString;
30597
30597
  subAgentId: z.ZodString;
30598
- functionToolId: z.ZodString;
30599
30598
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30599
+ functionToolId: z.ZodString;
30600
30600
  }, z.core.$strip>>;
30601
30601
  pagination: z.ZodObject<{
30602
30602
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30611,9 +30611,9 @@ declare const FeedbackListResponse: z.ZodObject<{
30611
30611
  id: z.ZodString;
30612
30612
  createdAt: z.ZodString;
30613
30613
  updatedAt: z.ZodString;
30614
+ details: z.ZodNullable<z.ZodString>;
30614
30615
  conversationId: z.ZodString;
30615
30616
  messageId: z.ZodNullable<z.ZodString>;
30616
- details: z.ZodNullable<z.ZodString>;
30617
30617
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30618
30618
  }, z.core.$strip>>;
30619
30619
  pagination: z.ZodObject<{
@@ -30625,9 +30625,11 @@ declare const FeedbackListResponse: z.ZodObject<{
30625
30625
  }, z.core.$strip>;
30626
30626
  declare const DataComponentListResponse: z.ZodObject<{
30627
30627
  data: z.ZodArray<z.ZodObject<{
30628
+ id: z.ZodString;
30628
30629
  name: z.ZodString;
30629
30630
  description: z.ZodNullable<z.ZodString>;
30630
- id: z.ZodString;
30631
+ createdAt: z.ZodString;
30632
+ updatedAt: z.ZodString;
30631
30633
  props: z.ZodType<{
30632
30634
  [x: string]: unknown;
30633
30635
  type: "object";
@@ -30670,8 +30672,6 @@ declare const DataComponentListResponse: z.ZodObject<{
30670
30672
  component: string;
30671
30673
  mockData: Record<string, unknown>;
30672
30674
  }>>>;
30673
- createdAt: z.ZodString;
30674
- updatedAt: z.ZodString;
30675
30675
  }, z.core.$strip>>;
30676
30676
  pagination: z.ZodObject<{
30677
30677
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30682,9 +30682,11 @@ declare const DataComponentListResponse: z.ZodObject<{
30682
30682
  }, z.core.$strip>;
30683
30683
  declare const ArtifactComponentListResponse: z.ZodObject<{
30684
30684
  data: z.ZodArray<z.ZodObject<{
30685
+ id: z.ZodString;
30685
30686
  name: z.ZodString;
30686
30687
  description: z.ZodNullable<z.ZodString>;
30687
- id: z.ZodString;
30688
+ createdAt: z.ZodString;
30689
+ updatedAt: z.ZodString;
30688
30690
  props: z.ZodNullable<z.ZodType<{
30689
30691
  [x: string]: unknown;
30690
30692
  type: "object";
@@ -30727,8 +30729,6 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
30727
30729
  component: string;
30728
30730
  mockData: Record<string, unknown>;
30729
30731
  }>>>;
30730
- createdAt: z.ZodString;
30731
- updatedAt: z.ZodString;
30732
30732
  }, z.core.$strip>>;
30733
30733
  pagination: z.ZodObject<{
30734
30734
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30758,11 +30758,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30758
30758
  id: z.ZodString;
30759
30759
  createdAt: z.ZodString;
30760
30760
  updatedAt: z.ZodString;
30761
+ subAgentId: z.ZodString;
30761
30762
  headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30762
30763
  toolId: z.ZodString;
30763
- subAgentId: z.ZodString;
30764
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30765
30764
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30765
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30766
30766
  }, z.core.$strip>>;
30767
30767
  pagination: z.ZodObject<{
30768
30768
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30773,13 +30773,14 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30773
30773
  }, z.core.$strip>;
30774
30774
  declare const TriggerListResponse: z.ZodObject<{
30775
30775
  data: z.ZodArray<z.ZodObject<{
30776
+ id: z.ZodString;
30776
30777
  name: z.ZodString;
30777
30778
  description: z.ZodNullable<z.ZodString>;
30778
- id: z.ZodString;
30779
30779
  createdAt: z.ZodString;
30780
30780
  updatedAt: z.ZodString;
30781
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30781
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30782
30782
  enabled: z.ZodBoolean;
30783
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30783
30784
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30784
30785
  messageTemplate: z.ZodNullable<z.ZodString>;
30785
30786
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30831,7 +30832,6 @@ declare const TriggerListResponse: z.ZodObject<{
30831
30832
  }, z.core.$strip>>>;
30832
30833
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30833
30834
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30834
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30835
30835
  }, z.core.$strip>>;
30836
30836
  pagination: z.ZodObject<{
30837
30837
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30842,9 +30842,9 @@ declare const TriggerListResponse: z.ZodObject<{
30842
30842
  }, z.core.$strip>;
30843
30843
  declare const TriggerInvocationListResponse: z.ZodObject<{
30844
30844
  data: z.ZodArray<z.ZodObject<{
30845
- status: z.ZodString;
30846
30845
  id: z.ZodString;
30847
30846
  createdAt: z.ZodString;
30847
+ status: z.ZodString;
30848
30848
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30849
30849
  triggerId: z.ZodString;
30850
30850
  conversationId: z.ZodNullable<z.ZodString>;
@@ -30871,13 +30871,14 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30871
30871
  }, z.core.$strip>;
30872
30872
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30873
30873
  data: z.ZodObject<{
30874
+ id: z.ZodString;
30874
30875
  name: z.ZodString;
30875
30876
  description: z.ZodNullable<z.ZodString>;
30876
- id: z.ZodString;
30877
30877
  createdAt: z.ZodString;
30878
30878
  updatedAt: z.ZodString;
30879
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30879
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30880
30880
  enabled: z.ZodBoolean;
30881
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30881
30882
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30882
30883
  messageTemplate: z.ZodNullable<z.ZodString>;
30883
30884
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30929,7 +30930,6 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30929
30930
  }, z.core.$strip>>>;
30930
30931
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30931
30932
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30932
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30933
30933
  runAsUserIds: z.ZodArray<z.ZodString>;
30934
30934
  userCount: z.ZodNumber;
30935
30935
  webhookUrl: z.ZodString;
@@ -30937,13 +30937,14 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30937
30937
  }, z.core.$strip>;
30938
30938
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30939
30939
  data: z.ZodObject<{
30940
+ id: z.ZodString;
30940
30941
  name: z.ZodString;
30941
30942
  description: z.ZodNullable<z.ZodString>;
30942
- id: z.ZodString;
30943
30943
  createdAt: z.ZodString;
30944
30944
  updatedAt: z.ZodString;
30945
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30945
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30946
30946
  enabled: z.ZodBoolean;
30947
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30947
30948
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30948
30949
  messageTemplate: z.ZodNullable<z.ZodString>;
30949
30950
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30995,7 +30996,6 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30995
30996
  }, z.core.$strip>>>;
30996
30997
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30997
30998
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30998
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30999
30999
  runAsUserIds: z.ZodArray<z.ZodString>;
31000
31000
  userCount: z.ZodNumber;
31001
31001
  webhookUrl: z.ZodString;
@@ -31004,13 +31004,14 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31004
31004
  }, z.core.$strip>;
31005
31005
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31006
31006
  data: z.ZodArray<z.ZodObject<{
31007
+ id: z.ZodString;
31007
31008
  name: z.ZodString;
31008
31009
  description: z.ZodNullable<z.ZodString>;
31009
- id: z.ZodString;
31010
31010
  createdAt: z.ZodString;
31011
31011
  updatedAt: z.ZodString;
31012
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31012
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31013
31013
  enabled: z.ZodBoolean;
31014
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31014
31015
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31015
31016
  messageTemplate: z.ZodNullable<z.ZodString>;
31016
31017
  authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -31062,7 +31063,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31062
31063
  }, z.core.$strip>>>;
31063
31064
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31064
31065
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31065
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31066
31066
  runAsUserIds: z.ZodArray<z.ZodString>;
31067
31067
  userCount: z.ZodNumber;
31068
31068
  webhookUrl: z.ZodString;
@@ -31082,16 +31082,16 @@ declare const LastRunSummarySchema: z.ZodObject<{
31082
31082
  pending: z.ZodNumber;
31083
31083
  }, z.core.$strip>;
31084
31084
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31085
+ id: z.ZodString;
31085
31086
  name: z.ZodString;
31086
31087
  description: z.ZodNullable<z.ZodString>;
31087
- id: z.ZodString;
31088
31088
  createdAt: z.ZodString;
31089
31089
  updatedAt: z.ZodString;
31090
+ createdBy: z.ZodNullable<z.ZodString>;
31090
31091
  enabled: z.ZodBoolean;
31091
31092
  messageTemplate: z.ZodNullable<z.ZodString>;
31092
31093
  runAsUserId: z.ZodNullable<z.ZodString>;
31093
31094
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
31094
- createdBy: z.ZodNullable<z.ZodString>;
31095
31095
  ref: z.ZodString;
31096
31096
  cronExpression: z.ZodNullable<z.ZodString>;
31097
31097
  cronTimezone: z.ZodNullable<z.ZodString>;
@@ -31120,16 +31120,16 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31120
31120
  type ScheduledTriggerWithRunInfo = z.infer<typeof ScheduledTriggerWithRunInfoSchema>;
31121
31121
  declare const ScheduledTriggerResponse: z.ZodObject<{
31122
31122
  data: z.ZodObject<{
31123
+ id: z.ZodString;
31123
31124
  name: z.ZodString;
31124
31125
  description: z.ZodNullable<z.ZodString>;
31125
- id: z.ZodString;
31126
31126
  createdAt: z.ZodString;
31127
31127
  updatedAt: z.ZodString;
31128
+ createdBy: z.ZodNullable<z.ZodString>;
31128
31129
  enabled: z.ZodBoolean;
31129
31130
  messageTemplate: z.ZodNullable<z.ZodString>;
31130
31131
  runAsUserId: z.ZodNullable<z.ZodString>;
31131
31132
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
31132
- createdBy: z.ZodNullable<z.ZodString>;
31133
31133
  ref: z.ZodString;
31134
31134
  cronExpression: z.ZodNullable<z.ZodString>;
31135
31135
  cronTimezone: z.ZodNullable<z.ZodString>;
@@ -31143,16 +31143,16 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
31143
31143
  }, z.core.$strip>;
31144
31144
  declare const ScheduledTriggerListResponse: z.ZodObject<{
31145
31145
  data: z.ZodArray<z.ZodObject<{
31146
+ id: z.ZodString;
31146
31147
  name: z.ZodString;
31147
31148
  description: z.ZodNullable<z.ZodString>;
31148
- id: z.ZodString;
31149
31149
  createdAt: z.ZodString;
31150
31150
  updatedAt: z.ZodString;
31151
+ createdBy: z.ZodNullable<z.ZodString>;
31151
31152
  enabled: z.ZodBoolean;
31152
31153
  messageTemplate: z.ZodNullable<z.ZodString>;
31153
31154
  runAsUserId: z.ZodNullable<z.ZodString>;
31154
31155
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
31155
- createdBy: z.ZodNullable<z.ZodString>;
31156
31156
  ref: z.ZodString;
31157
31157
  cronExpression: z.ZodNullable<z.ZodString>;
31158
31158
  cronTimezone: z.ZodNullable<z.ZodString>;
@@ -31172,16 +31172,16 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31172
31172
  }, z.core.$strip>;
31173
31173
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31174
31174
  data: z.ZodArray<z.ZodObject<{
31175
+ id: z.ZodString;
31175
31176
  name: z.ZodString;
31176
31177
  description: z.ZodNullable<z.ZodString>;
31177
- id: z.ZodString;
31178
31178
  createdAt: z.ZodString;
31179
31179
  updatedAt: z.ZodString;
31180
+ createdBy: z.ZodNullable<z.ZodString>;
31180
31181
  enabled: z.ZodBoolean;
31181
31182
  messageTemplate: z.ZodNullable<z.ZodString>;
31182
31183
  runAsUserId: z.ZodNullable<z.ZodString>;
31183
31184
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
31184
- createdBy: z.ZodNullable<z.ZodString>;
31185
31185
  ref: z.ZodString;
31186
31186
  cronExpression: z.ZodNullable<z.ZodString>;
31187
31187
  cronTimezone: z.ZodNullable<z.ZodString>;
@@ -31216,6 +31216,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31216
31216
  }, z.core.$strip>;
31217
31217
  declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
31218
31218
  data: z.ZodObject<{
31219
+ id: z.ZodString;
31220
+ createdAt: z.ZodString;
31219
31221
  status: z.ZodEnum<{
31220
31222
  pending: "pending";
31221
31223
  failed: "failed";
@@ -31223,9 +31225,8 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
31223
31225
  completed: "completed";
31224
31226
  cancelled: "cancelled";
31225
31227
  }>;
31226
- id: z.ZodString;
31227
- createdAt: z.ZodString;
31228
31228
  runAsUserId: z.ZodNullable<z.ZodString>;
31229
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
31229
31230
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31230
31231
  type: z.ZodEnum<{
31231
31232
  commit: "commit";
@@ -31240,13 +31241,14 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
31240
31241
  startedAt: z.ZodNullable<z.ZodString>;
31241
31242
  completedAt: z.ZodNullable<z.ZodString>;
31242
31243
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31243
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
31244
31244
  attemptNumber: z.ZodInt;
31245
31245
  idempotencyKey: z.ZodString;
31246
31246
  }, z.core.$strip>;
31247
31247
  }, z.core.$strip>;
31248
31248
  declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31249
31249
  data: z.ZodArray<z.ZodObject<{
31250
+ id: z.ZodString;
31251
+ createdAt: z.ZodString;
31250
31252
  status: z.ZodEnum<{
31251
31253
  pending: "pending";
31252
31254
  failed: "failed";
@@ -31254,9 +31256,8 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31254
31256
  completed: "completed";
31255
31257
  cancelled: "cancelled";
31256
31258
  }>;
31257
- id: z.ZodString;
31258
- createdAt: z.ZodString;
31259
31259
  runAsUserId: z.ZodNullable<z.ZodString>;
31260
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
31260
31261
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31261
31262
  type: z.ZodEnum<{
31262
31263
  commit: "commit";
@@ -31271,7 +31272,6 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31271
31272
  startedAt: z.ZodNullable<z.ZodString>;
31272
31273
  completedAt: z.ZodNullable<z.ZodString>;
31273
31274
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31274
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
31275
31275
  attemptNumber: z.ZodInt;
31276
31276
  idempotencyKey: z.ZodString;
31277
31277
  }, z.core.$strip>>;
@@ -31300,9 +31300,9 @@ declare const SubAgentArtifactComponentResponse: z.ZodObject<{
31300
31300
  }, z.core.$strip>;
31301
31301
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31302
31302
  data: z.ZodObject<{
31303
+ id: z.ZodString;
31303
31304
  name: z.ZodString;
31304
31305
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31305
- id: z.ZodString;
31306
31306
  models: z.ZodObject<{
31307
31307
  base: z.ZodObject<{
31308
31308
  model: z.ZodOptional<z.ZodString>;
@@ -31328,16 +31328,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31328
31328
  stepCountIs: z.ZodOptional<z.ZodInt>;
31329
31329
  }, z.core.$strip>>;
31330
31330
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31331
+ id: z.ZodString;
31331
31332
  name: z.ZodString;
31332
31333
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31333
- id: z.ZodString;
31334
31334
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31335
31335
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31336
31336
  executionMode: z.ZodOptional<z.ZodString>;
31337
31337
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31338
+ id: z.ZodString;
31338
31339
  name: z.ZodString;
31339
31340
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31340
- id: z.ZodString;
31341
31341
  createdAt: z.ZodOptional<z.ZodString>;
31342
31342
  updatedAt: z.ZodOptional<z.ZodString>;
31343
31343
  models: z.ZodOptional<z.ZodObject<{
@@ -31394,10 +31394,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31394
31394
  }, z.core.$strip>>;
31395
31395
  }, z.core.$strip>>;
31396
31396
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31397
+ id: z.ZodString;
31397
31398
  name: z.ZodString;
31398
31399
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31399
- id: z.ZodString;
31400
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31401
31400
  config: z.ZodObject<{
31402
31401
  type: z.ZodLiteral<"mcp">;
31403
31402
  mcp: z.ZodObject<{
@@ -31426,15 +31425,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31426
31425
  }, z.core.$strip>;
31427
31426
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31428
31427
  credentialScope: z.ZodOptional<z.ZodString>;
31428
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31429
31429
  imageUrl: z.ZodOptional<z.ZodString>;
31430
31430
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
31431
31431
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31432
31432
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
31433
31433
  }, z.core.$strip>>>;
31434
31434
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31435
+ id: z.ZodString;
31435
31436
  name: z.ZodString;
31436
31437
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31437
- id: z.ZodString;
31438
31438
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31439
31439
  baseUrl: z.ZodURL;
31440
31440
  }, z.core.$strip>>>;
@@ -31444,23 +31444,24 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31444
31444
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31445
31445
  }, z.core.$strip>>>;
31446
31446
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31447
+ id: z.ZodString;
31447
31448
  name: z.ZodString;
31448
31449
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31449
- id: z.ZodString;
31450
31450
  functionId: z.ZodString;
31451
31451
  }, z.core.$strip>>>;
31452
31452
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31453
31453
  id: z.ZodString;
31454
31454
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31455
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31456
31455
  executeCode: z.ZodString;
31456
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31457
31457
  }, z.core.$strip>>>;
31458
31458
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31459
+ id: z.ZodOptional<z.ZodString>;
31459
31460
  name: z.ZodString;
31460
31461
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31461
- id: z.ZodOptional<z.ZodString>;
31462
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31462
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31463
31463
  enabled: z.ZodOptional<z.ZodBoolean>;
31464
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31464
31465
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31465
31466
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31466
31467
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -31468,7 +31469,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31468
31469
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31469
31470
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31470
31471
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
31471
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31472
31472
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
31473
31473
  }, z.core.$strip>>>;
31474
31474
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -31517,10 +31517,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31517
31517
  prompt: z.ZodOptional<z.ZodString>;
31518
31518
  }, z.core.$strip>>;
31519
31519
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31520
+ id: z.ZodString;
31520
31521
  name: z.ZodString;
31521
31522
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31522
- id: z.ZodString;
31523
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31524
31523
  config: z.ZodObject<{
31525
31524
  type: z.ZodLiteral<"mcp">;
31526
31525
  mcp: z.ZodObject<{
@@ -31549,22 +31548,23 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31549
31548
  }, z.core.$strip>;
31550
31549
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31551
31550
  credentialScope: z.ZodOptional<z.ZodString>;
31551
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31552
31552
  imageUrl: z.ZodOptional<z.ZodString>;
31553
31553
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
31554
31554
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
31556
31556
  }, z.core.$strip>>;
31557
31557
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31558
+ id: z.ZodString;
31558
31559
  name: z.ZodString;
31559
31560
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31560
- id: z.ZodString;
31561
31561
  functionId: z.ZodString;
31562
31562
  }, z.core.$strip>>>;
31563
31563
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31564
31564
  id: z.ZodString;
31565
31565
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31566
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31567
31566
  executeCode: z.ZodString;
31567
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31568
31568
  }, z.core.$strip>>>;
31569
31569
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodObject<{
31570
31570
  files: z.ZodArray<z.ZodObject<{
@@ -31649,9 +31649,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31649
31649
  in: {};
31650
31650
  }>>>;
31651
31651
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31652
+ id: z.ZodString;
31652
31653
  name: z.ZodString;
31653
31654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31654
- id: z.ZodString;
31655
31655
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31656
31656
  baseUrl: z.ZodURL;
31657
31657
  }, z.core.$strip>>>;
@@ -31671,13 +31671,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31671
31671
  }, z.core.$strip>>>;
31672
31672
  }, z.core.$strict>>;
31673
31673
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31674
- name: z.ZodString;
31675
31674
  id: z.ZodString;
31676
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31675
+ name: z.ZodString;
31676
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31677
31677
  credentialStoreId: z.ZodString;
31678
31678
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31679
31679
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31680
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31680
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31681
31681
  type: z.ZodEnum<{
31682
31682
  readonly memory: "memory";
31683
31683
  readonly keychain: "keychain";
@@ -31694,9 +31694,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31694
31694
  }, z.core.$strip>;
31695
31695
  declare const FullProjectSelectResponse: z.ZodObject<{
31696
31696
  data: z.ZodObject<{
31697
+ id: z.ZodString;
31697
31698
  name: z.ZodString;
31698
31699
  description: z.ZodNullable<z.ZodString>;
31699
- id: z.ZodString;
31700
31700
  createdAt: z.ZodString;
31701
31701
  updatedAt: z.ZodString;
31702
31702
  models: z.ZodNullable<z.ZodObject<{
@@ -31724,18 +31724,18 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31724
31724
  stepCountIs: z.ZodOptional<z.ZodInt>;
31725
31725
  }, z.core.$strip>>;
31726
31726
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31727
+ id: z.ZodString;
31727
31728
  name: z.ZodString;
31728
31729
  description: z.ZodNullable<z.ZodString>;
31729
- id: z.ZodString;
31730
31730
  createdAt: z.ZodString;
31731
31731
  updatedAt: z.ZodString;
31732
31732
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31733
31733
  contextConfigId: z.ZodNullable<z.ZodString>;
31734
31734
  executionMode: z.ZodString;
31735
31735
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31736
+ id: z.ZodString;
31736
31737
  name: z.ZodString;
31737
31738
  description: z.ZodNullable<z.ZodString>;
31738
- id: z.ZodString;
31739
31739
  createdAt: z.ZodString;
31740
31740
  updatedAt: z.ZodString;
31741
31741
  models: z.ZodNullable<z.ZodType<{
@@ -31850,12 +31850,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31850
31850
  }, z.core.$strip>]>>>;
31851
31851
  }, z.core.$strip>>;
31852
31852
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31853
+ id: z.ZodString;
31853
31854
  name: z.ZodString;
31854
31855
  description: z.ZodNullable<z.ZodString>;
31855
- id: z.ZodString;
31856
31856
  createdAt: z.ZodString;
31857
31857
  updatedAt: z.ZodString;
31858
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31859
31858
  config: z.ZodType<{
31860
31859
  type: "mcp";
31861
31860
  mcp: ToolMcpConfig;
@@ -31871,15 +31870,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31871
31870
  }>>;
31872
31871
  credentialReferenceId: z.ZodNullable<z.ZodString>;
31873
31872
  credentialScope: z.ZodString;
31873
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31874
31874
  imageUrl: z.ZodNullable<z.ZodString>;
31875
31875
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
31876
31876
  lastError: z.ZodNullable<z.ZodString>;
31877
31877
  isWorkApp: z.ZodBoolean;
31878
31878
  }, z.core.$strip>>>;
31879
31879
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31880
+ id: z.ZodString;
31880
31881
  name: z.ZodString;
31881
31882
  description: z.ZodNullable<z.ZodString>;
31882
- id: z.ZodString;
31883
31883
  createdAt: z.ZodString;
31884
31884
  updatedAt: z.ZodString;
31885
31885
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31891,9 +31891,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31891
31891
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31892
31892
  }, z.core.$strip>>>;
31893
31893
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31894
+ id: z.ZodString;
31894
31895
  name: z.ZodString;
31895
31896
  description: z.ZodNullable<z.ZodString>;
31896
- id: z.ZodString;
31897
31897
  createdAt: z.ZodString;
31898
31898
  updatedAt: z.ZodString;
31899
31899
  agentId: z.ZodString;
@@ -31905,8 +31905,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31905
31905
  createdAt: z.ZodString;
31906
31906
  updatedAt: z.ZodString;
31907
31907
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31908
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31909
31908
  executeCode: z.ZodString;
31909
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31910
31910
  }, z.core.$strip>>>;
31911
31911
  contextConfig: z.ZodNullable<z.ZodObject<{
31912
31912
  id: z.ZodString;
@@ -31956,12 +31956,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31956
31956
  prompt: z.ZodNullable<z.ZodString>;
31957
31957
  }, z.core.$strip>>;
31958
31958
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31959
+ id: z.ZodString;
31959
31960
  name: z.ZodString;
31960
31961
  description: z.ZodNullable<z.ZodString>;
31961
- id: z.ZodString;
31962
31962
  createdAt: z.ZodString;
31963
31963
  updatedAt: z.ZodString;
31964
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31965
31964
  config: z.ZodType<{
31966
31965
  type: "mcp";
31967
31966
  mcp: ToolMcpConfig;
@@ -31977,15 +31976,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31977
31976
  }>>;
31978
31977
  credentialReferenceId: z.ZodNullable<z.ZodString>;
31979
31978
  credentialScope: z.ZodString;
31979
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31980
31980
  imageUrl: z.ZodNullable<z.ZodString>;
31981
31981
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
31982
31982
  lastError: z.ZodNullable<z.ZodString>;
31983
31983
  isWorkApp: z.ZodBoolean;
31984
31984
  }, z.core.$strip>>;
31985
31985
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31986
+ id: z.ZodString;
31986
31987
  name: z.ZodString;
31987
31988
  description: z.ZodNullable<z.ZodString>;
31988
- id: z.ZodString;
31989
31989
  createdAt: z.ZodString;
31990
31990
  updatedAt: z.ZodString;
31991
31991
  agentId: z.ZodString;
@@ -31997,13 +31997,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31997
31997
  createdAt: z.ZodString;
31998
31998
  updatedAt: z.ZodString;
31999
31999
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32000
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32001
32000
  executeCode: z.ZodString;
32001
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32002
32002
  }, z.core.$strip>>>;
32003
32003
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32004
+ id: z.ZodString;
32004
32005
  name: z.ZodString;
32005
32006
  description: z.ZodNullable<z.ZodString>;
32006
- id: z.ZodString;
32007
+ createdAt: z.ZodString;
32008
+ updatedAt: z.ZodString;
32007
32009
  props: z.ZodType<{
32008
32010
  [x: string]: unknown;
32009
32011
  type: "object";
@@ -32046,13 +32048,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32046
32048
  component: string;
32047
32049
  mockData: Record<string, unknown>;
32048
32050
  }>>>;
32049
- createdAt: z.ZodString;
32050
- updatedAt: z.ZodString;
32051
32051
  }, z.core.$strip>>>;
32052
32052
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32053
+ id: z.ZodString;
32053
32054
  name: z.ZodString;
32054
32055
  description: z.ZodNullable<z.ZodString>;
32055
- id: z.ZodString;
32056
+ createdAt: z.ZodString;
32057
+ updatedAt: z.ZodString;
32056
32058
  props: z.ZodNullable<z.ZodType<{
32057
32059
  [x: string]: unknown;
32058
32060
  type: "object";
@@ -32095,13 +32097,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32095
32097
  component: string;
32096
32098
  mockData: Record<string, unknown>;
32097
32099
  }>>>;
32098
- createdAt: z.ZodString;
32099
- updatedAt: z.ZodString;
32100
32100
  }, z.core.$strip>>>;
32101
32101
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32102
+ id: z.ZodString;
32102
32103
  name: z.ZodString;
32103
32104
  description: z.ZodNullable<z.ZodString>;
32104
- id: z.ZodString;
32105
32105
  createdAt: z.ZodString;
32106
32106
  updatedAt: z.ZodString;
32107
32107
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32123,15 +32123,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32123
32123
  }, z.core.$strip>>>;
32124
32124
  }, z.core.$strict>>;
32125
32125
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32126
- name: z.ZodString;
32127
32126
  id: z.ZodString;
32127
+ name: z.ZodString;
32128
32128
  createdAt: z.ZodString;
32129
32129
  updatedAt: z.ZodString;
32130
- createdBy: z.ZodNullable<z.ZodString>;
32130
+ userId: z.ZodNullable<z.ZodString>;
32131
32131
  credentialStoreId: z.ZodString;
32132
32132
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32133
32133
  toolId: z.ZodNullable<z.ZodString>;
32134
- userId: z.ZodNullable<z.ZodString>;
32134
+ createdBy: z.ZodNullable<z.ZodString>;
32135
32135
  type: z.ZodEnum<{
32136
32136
  readonly memory: "memory";
32137
32137
  readonly keychain: "keychain";
@@ -32721,9 +32721,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32721
32721
  }, z.core.$strip>;
32722
32722
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32723
32723
  data: z.ZodObject<{
32724
+ id: z.ZodString;
32724
32725
  name: z.ZodString;
32725
32726
  description: z.ZodNullable<z.ZodString>;
32726
- id: z.ZodString;
32727
32727
  createdAt: z.ZodString;
32728
32728
  updatedAt: z.ZodString;
32729
32729
  models: z.ZodNullable<z.ZodObject<{
@@ -32751,12 +32751,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32751
32751
  stepCountIs: z.ZodOptional<z.ZodInt>;
32752
32752
  }, z.core.$strip>>;
32753
32753
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
32754
+ id: z.ZodString;
32754
32755
  name: z.ZodString;
32755
32756
  description: z.ZodNullable<z.ZodString>;
32756
- id: z.ZodString;
32757
32757
  createdAt: z.ZodString;
32758
32758
  updatedAt: z.ZodString;
32759
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32760
32759
  config: z.ZodType<{
32761
32760
  type: "mcp";
32762
32761
  mcp: ToolMcpConfig;
@@ -32772,15 +32771,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32772
32771
  }>>;
32773
32772
  credentialReferenceId: z.ZodNullable<z.ZodString>;
32774
32773
  credentialScope: z.ZodString;
32774
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32775
32775
  imageUrl: z.ZodNullable<z.ZodString>;
32776
32776
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
32777
32777
  lastError: z.ZodNullable<z.ZodString>;
32778
32778
  isWorkApp: z.ZodBoolean;
32779
32779
  }, z.core.$strip>>;
32780
32780
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32781
+ id: z.ZodString;
32781
32782
  name: z.ZodString;
32782
32783
  description: z.ZodNullable<z.ZodString>;
32783
- id: z.ZodString;
32784
32784
  createdAt: z.ZodString;
32785
32785
  updatedAt: z.ZodString;
32786
32786
  agentId: z.ZodString;
@@ -32792,13 +32792,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32792
32792
  createdAt: z.ZodString;
32793
32793
  updatedAt: z.ZodString;
32794
32794
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32795
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32796
32795
  executeCode: z.ZodString;
32796
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32797
32797
  }, z.core.$strip>>>;
32798
32798
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32799
+ id: z.ZodString;
32799
32800
  name: z.ZodString;
32800
32801
  description: z.ZodNullable<z.ZodString>;
32801
- id: z.ZodString;
32802
+ createdAt: z.ZodString;
32803
+ updatedAt: z.ZodString;
32802
32804
  props: z.ZodType<{
32803
32805
  [x: string]: unknown;
32804
32806
  type: "object";
@@ -32841,13 +32843,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32841
32843
  component: string;
32842
32844
  mockData: Record<string, unknown>;
32843
32845
  }>>>;
32844
- createdAt: z.ZodString;
32845
- updatedAt: z.ZodString;
32846
32846
  }, z.core.$strip>>>;
32847
32847
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32848
+ id: z.ZodString;
32848
32849
  name: z.ZodString;
32849
32850
  description: z.ZodNullable<z.ZodString>;
32850
- id: z.ZodString;
32851
+ createdAt: z.ZodString;
32852
+ updatedAt: z.ZodString;
32851
32853
  props: z.ZodNullable<z.ZodType<{
32852
32854
  [x: string]: unknown;
32853
32855
  type: "object";
@@ -32890,13 +32892,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32890
32892
  component: string;
32891
32893
  mockData: Record<string, unknown>;
32892
32894
  }>>>;
32893
- createdAt: z.ZodString;
32894
- updatedAt: z.ZodString;
32895
32895
  }, z.core.$strip>>>;
32896
32896
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32897
+ id: z.ZodString;
32897
32898
  name: z.ZodString;
32898
32899
  description: z.ZodNullable<z.ZodString>;
32899
- id: z.ZodString;
32900
32900
  createdAt: z.ZodString;
32901
32901
  updatedAt: z.ZodString;
32902
32902
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32918,15 +32918,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32918
32918
  }, z.core.$strip>>>;
32919
32919
  }, z.core.$strict>>;
32920
32920
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32921
- name: z.ZodString;
32922
32921
  id: z.ZodString;
32922
+ name: z.ZodString;
32923
32923
  createdAt: z.ZodString;
32924
32924
  updatedAt: z.ZodString;
32925
- createdBy: z.ZodNullable<z.ZodString>;
32925
+ userId: z.ZodNullable<z.ZodString>;
32926
32926
  credentialStoreId: z.ZodString;
32927
32927
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32928
32928
  toolId: z.ZodNullable<z.ZodString>;
32929
- userId: z.ZodNullable<z.ZodString>;
32929
+ createdBy: z.ZodNullable<z.ZodString>;
32930
32930
  type: z.ZodEnum<{
32931
32931
  readonly memory: "memory";
32932
32932
  readonly keychain: "keychain";
@@ -33510,21 +33510,20 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33510
33510
  }>>>;
33511
33511
  }, z.core.$strip>>>;
33512
33512
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33513
+ id: z.ZodString;
33513
33514
  name: z.ZodString;
33514
33515
  description: z.ZodNullable<z.ZodString>;
33515
- id: z.ZodString;
33516
33516
  createdAt: z.ZodString;
33517
33517
  updatedAt: z.ZodString;
33518
33518
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33519
33519
  contextConfigId: z.ZodNullable<z.ZodString>;
33520
33520
  executionMode: z.ZodString;
33521
33521
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33522
+ id: z.ZodString;
33522
33523
  name: z.ZodString;
33523
33524
  description: z.ZodNullable<z.ZodString>;
33524
- id: z.ZodString;
33525
33525
  createdAt: z.ZodString;
33526
33526
  updatedAt: z.ZodString;
33527
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33528
33527
  config: z.ZodType<{
33529
33528
  type: "mcp";
33530
33529
  mcp: ToolMcpConfig;
@@ -33540,15 +33539,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33540
33539
  }>>;
33541
33540
  credentialReferenceId: z.ZodNullable<z.ZodString>;
33542
33541
  credentialScope: z.ZodString;
33542
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33543
33543
  imageUrl: z.ZodNullable<z.ZodString>;
33544
33544
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
33545
33545
  lastError: z.ZodNullable<z.ZodString>;
33546
33546
  isWorkApp: z.ZodBoolean;
33547
33547
  }, z.core.$strip>>>;
33548
33548
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33549
+ id: z.ZodString;
33549
33550
  name: z.ZodString;
33550
33551
  description: z.ZodNullable<z.ZodString>;
33551
- id: z.ZodString;
33552
33552
  createdAt: z.ZodString;
33553
33553
  updatedAt: z.ZodString;
33554
33554
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33560,9 +33560,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33560
33560
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33561
33561
  }, z.core.$strip>>>;
33562
33562
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33563
+ id: z.ZodString;
33563
33564
  name: z.ZodString;
33564
33565
  description: z.ZodNullable<z.ZodString>;
33565
- id: z.ZodString;
33566
33566
  createdAt: z.ZodString;
33567
33567
  updatedAt: z.ZodString;
33568
33568
  agentId: z.ZodString;
@@ -33574,8 +33574,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33574
33574
  createdAt: z.ZodString;
33575
33575
  updatedAt: z.ZodString;
33576
33576
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33577
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33578
33577
  executeCode: z.ZodString;
33578
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33579
33579
  }, z.core.$strip>>>;
33580
33580
  contextConfig: z.ZodNullable<z.ZodObject<{
33581
33581
  id: z.ZodString;
@@ -33624,9 +33624,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33624
33624
  }, z.core.$strip>>;
33625
33625
  prompt: z.ZodNullable<z.ZodString>;
33626
33626
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33627
+ id: z.ZodString;
33627
33628
  name: z.ZodString;
33628
33629
  description: z.ZodNullable<z.ZodString>;
33629
- id: z.ZodString;
33630
33630
  createdAt: z.ZodString;
33631
33631
  updatedAt: z.ZodString;
33632
33632
  models: z.ZodNullable<z.ZodType<{
@@ -33754,16 +33754,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33754
33754
  }, z.core.$strip>;
33755
33755
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33756
33756
  data: z.ZodObject<{
33757
+ id: z.ZodString;
33757
33758
  name: z.ZodString;
33758
33759
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33759
- id: z.ZodString;
33760
33760
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33761
33761
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33762
33762
  executionMode: z.ZodOptional<z.ZodString>;
33763
33763
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33764
+ id: z.ZodString;
33764
33765
  name: z.ZodString;
33765
33766
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33766
- id: z.ZodString;
33767
33767
  createdAt: z.ZodOptional<z.ZodString>;
33768
33768
  updatedAt: z.ZodOptional<z.ZodString>;
33769
33769
  models: z.ZodOptional<z.ZodObject<{
@@ -33820,10 +33820,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33820
33820
  }, z.core.$strip>>;
33821
33821
  }, z.core.$strip>>;
33822
33822
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33823
+ id: z.ZodString;
33823
33824
  name: z.ZodString;
33824
33825
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33825
- id: z.ZodString;
33826
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33827
33826
  config: z.ZodObject<{
33828
33827
  type: z.ZodLiteral<"mcp">;
33829
33828
  mcp: z.ZodObject<{
@@ -33852,15 +33851,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33852
33851
  }, z.core.$strip>;
33853
33852
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33854
33853
  credentialScope: z.ZodOptional<z.ZodString>;
33854
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33855
33855
  imageUrl: z.ZodOptional<z.ZodString>;
33856
33856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33857
33857
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33858
33858
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
33859
33859
  }, z.core.$strip>>>;
33860
33860
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33861
+ id: z.ZodString;
33861
33862
  name: z.ZodString;
33862
33863
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33863
- id: z.ZodString;
33864
33864
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33865
33865
  baseUrl: z.ZodURL;
33866
33866
  }, z.core.$strip>>>;
@@ -33870,23 +33870,24 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33870
33870
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33871
33871
  }, z.core.$strip>>>;
33872
33872
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33873
+ id: z.ZodString;
33873
33874
  name: z.ZodString;
33874
33875
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33875
- id: z.ZodString;
33876
33876
  functionId: z.ZodString;
33877
33877
  }, z.core.$strip>>>;
33878
33878
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33879
33879
  id: z.ZodString;
33880
33880
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33881
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33882
33881
  executeCode: z.ZodString;
33882
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33883
33883
  }, z.core.$strip>>>;
33884
33884
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33885
+ id: z.ZodOptional<z.ZodString>;
33885
33886
  name: z.ZodString;
33886
33887
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33887
- id: z.ZodOptional<z.ZodString>;
33888
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33888
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33889
33889
  enabled: z.ZodOptional<z.ZodBoolean>;
33890
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33890
33891
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33891
33892
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33892
33893
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -33894,7 +33895,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33894
33895
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33895
33896
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33896
33897
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
33897
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33898
33898
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
33899
33899
  }, z.core.$strip>>>;
33900
33900
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -33945,18 +33945,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33945
33945
  }, z.core.$strip>;
33946
33946
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33947
33947
  data: z.ZodObject<{
33948
+ id: z.ZodString;
33948
33949
  name: z.ZodString;
33949
33950
  description: z.ZodNullable<z.ZodString>;
33950
- id: z.ZodString;
33951
33951
  createdAt: z.ZodString;
33952
33952
  updatedAt: z.ZodString;
33953
33953
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33954
33954
  contextConfigId: z.ZodNullable<z.ZodString>;
33955
33955
  executionMode: z.ZodString;
33956
33956
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33957
+ id: z.ZodString;
33957
33958
  name: z.ZodString;
33958
33959
  description: z.ZodNullable<z.ZodString>;
33959
- id: z.ZodString;
33960
33960
  createdAt: z.ZodString;
33961
33961
  updatedAt: z.ZodString;
33962
33962
  models: z.ZodNullable<z.ZodType<{
@@ -34071,12 +34071,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34071
34071
  }, z.core.$strip>]>>>;
34072
34072
  }, z.core.$strip>>;
34073
34073
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34074
+ id: z.ZodString;
34074
34075
  name: z.ZodString;
34075
34076
  description: z.ZodNullable<z.ZodString>;
34076
- id: z.ZodString;
34077
34077
  createdAt: z.ZodString;
34078
34078
  updatedAt: z.ZodString;
34079
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
34080
34079
  config: z.ZodType<{
34081
34080
  type: "mcp";
34082
34081
  mcp: ToolMcpConfig;
@@ -34092,15 +34091,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34092
34091
  }>>;
34093
34092
  credentialReferenceId: z.ZodNullable<z.ZodString>;
34094
34093
  credentialScope: z.ZodString;
34094
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
34095
34095
  imageUrl: z.ZodNullable<z.ZodString>;
34096
34096
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
34097
34097
  lastError: z.ZodNullable<z.ZodString>;
34098
34098
  isWorkApp: z.ZodBoolean;
34099
34099
  }, z.core.$strip>>>;
34100
34100
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34101
+ id: z.ZodString;
34101
34102
  name: z.ZodString;
34102
34103
  description: z.ZodNullable<z.ZodString>;
34103
- id: z.ZodString;
34104
34104
  createdAt: z.ZodString;
34105
34105
  updatedAt: z.ZodString;
34106
34106
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34112,9 +34112,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34112
34112
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34113
34113
  }, z.core.$strip>>>;
34114
34114
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34115
+ id: z.ZodString;
34115
34116
  name: z.ZodString;
34116
34117
  description: z.ZodNullable<z.ZodString>;
34117
- id: z.ZodString;
34118
34118
  createdAt: z.ZodString;
34119
34119
  updatedAt: z.ZodString;
34120
34120
  agentId: z.ZodString;
@@ -34126,8 +34126,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34126
34126
  createdAt: z.ZodString;
34127
34127
  updatedAt: z.ZodString;
34128
34128
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
34129
- dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
34130
34129
  executeCode: z.ZodString;
34130
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
34131
34131
  }, z.core.$strip>>>;
34132
34132
  contextConfig: z.ZodNullable<z.ZodObject<{
34133
34133
  id: z.ZodString;
@@ -34198,12 +34198,11 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
34198
34198
  }, z.core.$strip>;
34199
34199
  declare const McpToolResponse: z.ZodObject<{
34200
34200
  data: z.ZodObject<{
34201
+ id: z.ZodString;
34201
34202
  name: z.ZodString;
34202
34203
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34203
- tenantId: z.ZodString;
34204
34204
  projectId: z.ZodString;
34205
- id: z.ZodString;
34206
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
34205
+ tenantId: z.ZodString;
34207
34206
  config: z.ZodObject<{
34208
34207
  type: z.ZodLiteral<"mcp">;
34209
34208
  mcp: z.ZodObject<{
@@ -34232,6 +34231,7 @@ declare const McpToolResponse: z.ZodObject<{
34232
34231
  }, z.core.$strip>;
34233
34232
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34234
34233
  credentialScope: z.ZodOptional<z.ZodString>;
34234
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
34235
34235
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34236
34236
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34237
34237
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -34242,9 +34242,9 @@ declare const McpToolResponse: z.ZodObject<{
34242
34242
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34243
34243
  }, z.core.$strip>>>;
34244
34244
  status: z.ZodDefault<z.ZodEnum<{
34245
- unknown: "unknown";
34246
34245
  healthy: "healthy";
34247
34246
  unhealthy: "unhealthy";
34247
+ unknown: "unknown";
34248
34248
  needs_auth: "needs_auth";
34249
34249
  unavailable: "unavailable";
34250
34250
  }>>;
@@ -34259,12 +34259,11 @@ declare const McpToolResponse: z.ZodObject<{
34259
34259
  }, z.core.$strip>;
34260
34260
  declare const McpToolListResponse: z.ZodObject<{
34261
34261
  data: z.ZodArray<z.ZodObject<{
34262
+ id: z.ZodString;
34262
34263
  name: z.ZodString;
34263
34264
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34264
- tenantId: z.ZodString;
34265
34265
  projectId: z.ZodString;
34266
- id: z.ZodString;
34267
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
34266
+ tenantId: z.ZodString;
34268
34267
  config: z.ZodObject<{
34269
34268
  type: z.ZodLiteral<"mcp">;
34270
34269
  mcp: z.ZodObject<{
@@ -34293,6 +34292,7 @@ declare const McpToolListResponse: z.ZodObject<{
34293
34292
  }, z.core.$strip>;
34294
34293
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34295
34294
  credentialScope: z.ZodOptional<z.ZodString>;
34295
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
34296
34296
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34297
34297
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34298
34298
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -34303,9 +34303,9 @@ declare const McpToolListResponse: z.ZodObject<{
34303
34303
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34304
34304
  }, z.core.$strip>>>;
34305
34305
  status: z.ZodDefault<z.ZodEnum<{
34306
- unknown: "unknown";
34307
34306
  healthy: "healthy";
34308
34307
  unhealthy: "unhealthy";
34308
+ unknown: "unknown";
34309
34309
  needs_auth: "needs_auth";
34310
34310
  unavailable: "unavailable";
34311
34311
  }>>;
@@ -34329,8 +34329,8 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34329
34329
  id: z.ZodString;
34330
34330
  createdAt: z.ZodString;
34331
34331
  updatedAt: z.ZodString;
34332
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34333
34332
  subAgentId: z.ZodString;
34333
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34334
34334
  targetAgentId: z.ZodString;
34335
34335
  }, z.core.$strip>;
34336
34336
  }, z.core.$strip>;
@@ -34339,8 +34339,8 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34339
34339
  id: z.ZodString;
34340
34340
  createdAt: z.ZodString;
34341
34341
  updatedAt: z.ZodString;
34342
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34343
34342
  subAgentId: z.ZodString;
34343
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34344
34344
  targetAgentId: z.ZodString;
34345
34345
  }, z.core.$strip>>;
34346
34346
  pagination: z.ZodObject<{
@@ -34355,8 +34355,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34355
34355
  id: z.ZodString;
34356
34356
  createdAt: z.ZodString;
34357
34357
  updatedAt: z.ZodString;
34358
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34359
34358
  subAgentId: z.ZodString;
34359
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34360
34360
  externalAgentId: z.ZodString;
34361
34361
  }, z.core.$strip>;
34362
34362
  }, z.core.$strip>;
@@ -34365,8 +34365,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34365
34365
  id: z.ZodString;
34366
34366
  createdAt: z.ZodString;
34367
34367
  updatedAt: z.ZodString;
34368
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34369
34368
  subAgentId: z.ZodString;
34369
+ headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34370
34370
  externalAgentId: z.ZodString;
34371
34371
  }, z.core.$strip>>;
34372
34372
  pagination: z.ZodObject<{
@@ -34378,9 +34378,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34378
34378
  }, z.core.$strip>;
34379
34379
  declare const DataComponentArrayResponse: z.ZodObject<{
34380
34380
  data: z.ZodArray<z.ZodObject<{
34381
+ id: z.ZodString;
34381
34382
  name: z.ZodString;
34382
34383
  description: z.ZodNullable<z.ZodString>;
34383
- id: z.ZodString;
34384
+ createdAt: z.ZodString;
34385
+ updatedAt: z.ZodString;
34384
34386
  props: z.ZodType<{
34385
34387
  [x: string]: unknown;
34386
34388
  type: "object";
@@ -34423,15 +34425,15 @@ declare const DataComponentArrayResponse: z.ZodObject<{
34423
34425
  component: string;
34424
34426
  mockData: Record<string, unknown>;
34425
34427
  }>>>;
34426
- createdAt: z.ZodString;
34427
- updatedAt: z.ZodString;
34428
34428
  }, z.core.$strip>>;
34429
34429
  }, z.core.$strip>;
34430
34430
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
34431
34431
  data: z.ZodArray<z.ZodObject<{
34432
+ id: z.ZodString;
34432
34433
  name: z.ZodString;
34433
34434
  description: z.ZodNullable<z.ZodString>;
34434
- id: z.ZodString;
34435
+ createdAt: z.ZodString;
34436
+ updatedAt: z.ZodString;
34435
34437
  props: z.ZodNullable<z.ZodType<{
34436
34438
  [x: string]: unknown;
34437
34439
  type: "object";
@@ -34474,8 +34476,6 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
34474
34476
  component: string;
34475
34477
  mockData: Record<string, unknown>;
34476
34478
  }>>>;
34477
- createdAt: z.ZodString;
34478
- updatedAt: z.ZodString;
34479
34479
  }, z.core.$strip>>;
34480
34480
  }, z.core.$strip>;
34481
34481
  declare const HeadersScopeSchema: z.ZodObject<{
@@ -34785,8 +34785,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34785
34785
  }>;
34786
34786
  }, undefined>, undefined>;
34787
34787
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
34788
- tenantId: z.ZodString;
34789
34788
  id: z.ZodString;
34789
+ tenantId: z.ZodString;
34790
34790
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34791
34791
  mainBranchName: z.ZodString;
34792
34792
  }, {
@@ -34800,8 +34800,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34800
34800
  disconnected: "disconnected";
34801
34801
  }>;
34802
34802
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34803
- User: "User";
34804
34803
  Organization: "Organization";
34804
+ User: "User";
34805
34805
  }>;
34806
34806
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
34807
34807
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -34896,7 +34896,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34896
34896
  tableName: "work_app_github_installations";
34897
34897
  dataType: "string";
34898
34898
  columnType: "PgVarchar";
34899
- data: "User" | "Organization";
34899
+ data: "Organization" | "User";
34900
34900
  driverParam: string;
34901
34901
  notNull: true;
34902
34902
  hasDefault: false;
@@ -34909,7 +34909,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34909
34909
  generated: undefined;
34910
34910
  }, {}, {
34911
34911
  length: 20;
34912
- $type: "User" | "Organization";
34912
+ $type: "Organization" | "User";
34913
34913
  }>;
34914
34914
  status: drizzle_orm_pg_core0.PgColumn<{
34915
34915
  name: "status";
@@ -35062,7 +35062,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35062
35062
  tableName: "work_app_github_installations";
35063
35063
  dataType: "string";
35064
35064
  columnType: "PgVarchar";
35065
- data: "User" | "Organization";
35065
+ data: "Organization" | "User";
35066
35066
  driverParam: string;
35067
35067
  notNull: true;
35068
35068
  hasDefault: false;
@@ -35075,7 +35075,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35075
35075
  generated: undefined;
35076
35076
  }, {}, {
35077
35077
  length: 20;
35078
- $type: "User" | "Organization";
35078
+ $type: "Organization" | "User";
35079
35079
  }>;
35080
35080
  status: drizzle_orm_pg_core0.PgColumn<{
35081
35081
  name: "status";
@@ -35137,14 +35137,14 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35137
35137
  }>;
35138
35138
  }, undefined>, undefined>;
35139
35139
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35140
- tenantId: z.ZodString;
35141
35140
  id: z.ZodString;
35141
+ tenantId: z.ZodString;
35142
35142
  installationId: z.ZodString;
35143
35143
  accountLogin: z.ZodString;
35144
35144
  accountId: z.ZodString;
35145
35145
  accountType: z.ZodEnum<{
35146
- User: "User";
35147
35146
  Organization: "Organization";
35147
+ User: "User";
35148
35148
  }>;
35149
35149
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35150
35150
  pending: "pending";
@@ -35157,10 +35157,10 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35157
35157
  in: {};
35158
35158
  }>;
35159
35159
  declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<{
35160
- status: z.ZodString;
35161
35160
  id: z.ZodString;
35162
35161
  createdAt: z.ZodString;
35163
35162
  updatedAt: z.ZodString;
35163
+ status: z.ZodString;
35164
35164
  installationId: z.ZodString;
35165
35165
  accountLogin: z.ZodString;
35166
35166
  accountId: z.ZodString;
@@ -35178,8 +35178,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
35178
35178
  accountLogin: z.ZodString;
35179
35179
  accountId: z.ZodString;
35180
35180
  accountType: z.ZodEnum<{
35181
- User: "User";
35182
35181
  Organization: "Organization";
35182
+ User: "User";
35183
35183
  }>;
35184
35184
  }, z.core.$strip>;
35185
35185
  declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -37381,8 +37381,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37381
37381
  selected: "selected";
37382
37382
  }>;
37383
37383
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37384
- tenantId: z.ZodString;
37385
37384
  projectId: z.ZodString;
37385
+ tenantId: z.ZodString;
37386
37386
  toolId: z.ZodString;
37387
37387
  channelAccessMode: z.ZodEnum<{
37388
37388
  all: "all";
@@ -37671,10 +37671,10 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37671
37671
  in: {};
37672
37672
  }>;
37673
37673
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37674
- tenantId: z.ZodString;
37675
- projectId: z.ZodString;
37676
37674
  id: z.ZodString;
37677
37675
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37676
+ projectId: z.ZodString;
37677
+ tenantId: z.ZodString;
37678
37678
  agentId: z.ZodString;
37679
37679
  conversationId: z.ZodString;
37680
37680
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -37689,10 +37689,10 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37689
37689
  in: {};
37690
37690
  }>;
37691
37691
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37692
- tenantId: z.ZodOptional<z.ZodString>;
37693
- projectId: z.ZodOptional<z.ZodString>;
37694
37692
  id: z.ZodOptional<z.ZodString>;
37695
37693
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37694
+ projectId: z.ZodOptional<z.ZodString>;
37695
+ tenantId: z.ZodOptional<z.ZodString>;
37696
37696
  agentId: z.ZodOptional<z.ZodString>;
37697
37697
  conversationId: z.ZodOptional<z.ZodString>;
37698
37698
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;