@inkeep/agents-core 0.0.0-dev-20260106221934 → 0.0.0-dev-20260106225040

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.
@@ -63,6 +63,8 @@ declare const FunctionToolConfigSchema: z.ZodObject<{
63
63
  type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execute'> & {
64
64
  execute: ((params: any) => Promise<any>) | string;
65
65
  };
66
+ type OmitProjectScope<T> = Omit<T, 'tenantId' | 'projectId'>;
67
+ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
66
68
  declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
67
69
  createdAt: drizzle_orm_pg_core496.PgColumn<{
68
70
  name: "created_at";
@@ -642,13 +644,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
642
644
  out: {};
643
645
  in: {};
644
646
  }>;
645
- declare const SubAgentApiSelectSchema: z.ZodObject<{
646
- id: z.ZodString;
647
- name: z.ZodString;
648
- description: z.ZodNullable<z.ZodString>;
649
- prompt: z.ZodNullable<z.ZodString>;
647
+ declare const SubAgentApiSelectSchema: z.ZodObject<OmitAgentScope<{
650
648
  createdAt: z.ZodString;
651
649
  updatedAt: z.ZodString;
650
+ prompt: z.ZodNullable<z.ZodString>;
651
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
652
652
  models: z.ZodNullable<z.ZodType<{
653
653
  base?: {
654
654
  model?: string | undefined;
@@ -711,15 +711,33 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
711
711
  }, {
712
712
  stepCountIs?: number | undefined;
713
713
  }>>>;
714
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
715
- }, z.core.$strip>;
716
- declare const SubAgentApiInsertSchema: z.ZodObject<{
717
- id: z.ZodString;
718
714
  name: z.ZodString;
719
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
720
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
+ description: z.ZodNullable<z.ZodString>;
716
+ agentId: z.ZodString;
717
+ projectId: z.ZodString;
718
+ tenantId: z.ZodString;
719
+ id: z.ZodString;
720
+ }>, z.core.$strip>;
721
+ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
721
722
  createdAt: z.ZodOptional<z.ZodString>;
722
723
  updatedAt: z.ZodOptional<z.ZodString>;
724
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
726
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
727
+ stepCountIs?: number | undefined;
728
+ }, {
729
+ stepCountIs?: number | undefined;
730
+ }, z.core.$ZodTypeInternals<{
731
+ stepCountIs?: number | undefined;
732
+ }, {
733
+ stepCountIs?: number | undefined;
734
+ }>>>>;
735
+ name: z.ZodString;
736
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
737
+ agentId: z.ZodString;
738
+ projectId: z.ZodString;
739
+ tenantId: z.ZodString;
740
+ id: z.ZodString;
723
741
  models: z.ZodOptional<z.ZodObject<{
724
742
  base: z.ZodOptional<z.ZodObject<{
725
743
  model: z.ZodOptional<z.ZodString>;
@@ -734,24 +752,13 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
734
752
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
735
753
  }, z.core.$strip>>;
736
754
  }, z.core.$strip>>;
737
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
738
- stepCountIs?: number | undefined;
739
- }, {
740
- stepCountIs?: number | undefined;
741
- }, z.core.$ZodTypeInternals<{
742
- stepCountIs?: number | undefined;
743
- }, {
744
- stepCountIs?: number | undefined;
745
- }>>>>;
746
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
747
- }, z.core.$strip>;
755
+ }>, z.core.$strip>;
748
756
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
749
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
750
757
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
751
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
752
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
758
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
753
759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
754
760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
761
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
755
762
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
756
763
  base: z.ZodOptional<z.ZodObject<{
757
764
  model: z.ZodOptional<z.ZodString>;
@@ -766,6 +773,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
766
773
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
767
774
  }, z.core.$strip>>;
768
775
  }, z.core.$strip>>>>;
776
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
769
777
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
770
778
  stepCountIs?: number | undefined;
771
779
  }, {
@@ -1146,14 +1154,17 @@ declare const SubAgentRelationUpdateSchema: z.ZodObject<{
1146
1154
  out: {};
1147
1155
  in: {};
1148
1156
  }>;
1149
- declare const SubAgentRelationApiSelectSchema: z.ZodObject<{
1150
- id: z.ZodString;
1157
+ declare const SubAgentRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
1151
1158
  createdAt: z.ZodString;
1152
1159
  updatedAt: z.ZodString;
1153
1160
  sourceSubAgentId: z.ZodString;
1154
1161
  targetSubAgentId: z.ZodNullable<z.ZodString>;
1155
1162
  relationType: z.ZodNullable<z.ZodString>;
1156
- }, z.core.$strip>;
1163
+ agentId: z.ZodString;
1164
+ projectId: z.ZodString;
1165
+ tenantId: z.ZodString;
1166
+ id: z.ZodString;
1167
+ }>, z.core.$strip>;
1157
1168
  declare const SubAgentRelationApiInsertSchema: z.ZodObject<{
1158
1169
  id: z.ZodString;
1159
1170
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1201,16 +1212,18 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1201
1212
  out: {};
1202
1213
  in: {};
1203
1214
  }>;
1204
- declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1205
- id: z.ZodString;
1206
- agentId: z.ZodString;
1215
+ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectScope<{
1207
1216
  createdAt: z.ZodOptional<z.ZodString>;
1208
1217
  updatedAt: z.ZodOptional<z.ZodString>;
1209
- sourceSubAgentId: z.ZodString;
1210
1218
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1211
1219
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
+ projectId: z.ZodString;
1221
+ tenantId: z.ZodString;
1222
+ id: z.ZodString;
1223
+ agentId: z.ZodString;
1224
+ sourceSubAgentId: z.ZodString;
1212
1225
  externalSubAgentId: z.ZodString;
1213
- }, z.core.$strip>;
1226
+ }>, z.core.$strip>;
1214
1227
  declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1215
1228
  createdAt: drizzle_orm_pg_core496.PgColumn<{
1216
1229
  name: "created_at";
@@ -2404,7 +2417,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2404
2417
  }, {}, {
2405
2418
  length: 256;
2406
2419
  }>;
2407
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2420
+ }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2408
2421
  declare const AgentUpdateSchema: z.ZodObject<{
2409
2422
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2410
2423
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2539,13 +2552,13 @@ declare const AgentUpdateSchema: z.ZodObject<{
2539
2552
  out: {};
2540
2553
  in: {};
2541
2554
  }>;
2542
- declare const AgentApiSelectSchema: z.ZodObject<{
2543
- id: z.ZodString;
2544
- name: z.ZodString;
2545
- description: z.ZodNullable<z.ZodString>;
2546
- prompt: z.ZodNullable<z.ZodString>;
2555
+ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2547
2556
  createdAt: z.ZodString;
2548
2557
  updatedAt: z.ZodString;
2558
+ name: z.ZodString;
2559
+ description: z.ZodNullable<z.ZodString>;
2560
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
2561
+ contextConfigId: z.ZodNullable<z.ZodString>;
2549
2562
  models: z.ZodNullable<z.ZodType<{
2550
2563
  base?: {
2551
2564
  model?: string | undefined;
@@ -2599,17 +2612,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2599
2612
  providerOptions?: Record<string, any> | undefined;
2600
2613
  } | undefined;
2601
2614
  }>>>;
2602
- stopWhen: z.ZodNullable<z.ZodType<{
2603
- transferCountIs?: number | undefined;
2604
- }, {
2605
- transferCountIs?: number | undefined;
2606
- }, z.core.$ZodTypeInternals<{
2607
- transferCountIs?: number | undefined;
2608
- }, {
2609
- transferCountIs?: number | undefined;
2610
- }>>>;
2611
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2612
- contextConfigId: z.ZodNullable<z.ZodString>;
2613
2615
  statusUpdates: z.ZodNullable<z.ZodType<{
2614
2616
  enabled?: boolean | undefined;
2615
2617
  numEvents?: number | undefined;
@@ -2667,13 +2669,27 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2667
2669
  } | undefined;
2668
2670
  }[] | undefined;
2669
2671
  }>>>;
2670
- }, z.core.$strip>;
2672
+ prompt: z.ZodNullable<z.ZodString>;
2673
+ stopWhen: z.ZodNullable<z.ZodType<{
2674
+ transferCountIs?: number | undefined;
2675
+ }, {
2676
+ transferCountIs?: number | undefined;
2677
+ }, z.core.$ZodTypeInternals<{
2678
+ transferCountIs?: number | undefined;
2679
+ }, {
2680
+ transferCountIs?: number | undefined;
2681
+ }>>>;
2682
+ projectId: z.ZodString;
2683
+ tenantId: z.ZodString;
2684
+ id: z.ZodString;
2685
+ }>, z.core.$strip>;
2671
2686
  declare const AgentApiInsertSchema: z.ZodObject<{
2672
2687
  name: z.ZodString;
2673
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2674
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2675
2688
  createdAt: z.ZodOptional<z.ZodString>;
2676
2689
  updatedAt: z.ZodOptional<z.ZodString>;
2690
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2691
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2692
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2677
2693
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2678
2694
  base?: {
2679
2695
  model?: string | undefined;
@@ -2727,17 +2743,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2727
2743
  providerOptions?: Record<string, any> | undefined;
2728
2744
  } | undefined;
2729
2745
  }>>>>;
2730
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2731
- transferCountIs?: number | undefined;
2732
- }, {
2733
- transferCountIs?: number | undefined;
2734
- }, z.core.$ZodTypeInternals<{
2735
- transferCountIs?: number | undefined;
2736
- }, {
2737
- transferCountIs?: number | undefined;
2738
- }>>>>;
2739
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2740
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2746
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2741
2747
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2742
2748
  enabled?: boolean | undefined;
2743
2749
  numEvents?: number | undefined;
@@ -2795,15 +2801,25 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2795
2801
  } | undefined;
2796
2802
  }[] | undefined;
2797
2803
  }>>>>;
2804
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2805
+ transferCountIs?: number | undefined;
2806
+ }, {
2807
+ transferCountIs?: number | undefined;
2808
+ }, z.core.$ZodTypeInternals<{
2809
+ transferCountIs?: number | undefined;
2810
+ }, {
2811
+ transferCountIs?: number | undefined;
2812
+ }>>>>;
2798
2813
  id: z.ZodString;
2799
2814
  }, z.core.$strip>;
2800
2815
  declare const AgentApiUpdateSchema: z.ZodObject<{
2801
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2802
2816
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2803
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2804
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2817
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2805
2818
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2806
2819
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2820
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2821
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2822
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2807
2823
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2808
2824
  base?: {
2809
2825
  model?: string | undefined;
@@ -2857,17 +2873,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2857
2873
  providerOptions?: Record<string, any> | undefined;
2858
2874
  } | undefined;
2859
2875
  }>>>>>>;
2860
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2861
- transferCountIs?: number | undefined;
2862
- }, {
2863
- transferCountIs?: number | undefined;
2864
- }, z.core.$ZodTypeInternals<{
2865
- transferCountIs?: number | undefined;
2866
- }, {
2867
- transferCountIs?: number | undefined;
2868
- }>>>>>>;
2869
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2870
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2876
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2871
2877
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2872
2878
  enabled?: boolean | undefined;
2873
2879
  numEvents?: number | undefined;
@@ -2925,6 +2931,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2925
2931
  } | undefined;
2926
2932
  }[] | undefined;
2927
2933
  }>>>>>>;
2934
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2935
+ transferCountIs?: number | undefined;
2936
+ }, {
2937
+ transferCountIs?: number | undefined;
2938
+ }, z.core.$ZodTypeInternals<{
2939
+ transferCountIs?: number | undefined;
2940
+ }, {
2941
+ transferCountIs?: number | undefined;
2942
+ }>>>>>>;
2928
2943
  }, z.core.$strip>;
2929
2944
  declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
2930
2945
  createdAt: drizzle_orm_pg_core496.PgColumn<{
@@ -3333,37 +3348,41 @@ declare const TaskUpdateSchema: z.ZodObject<{
3333
3348
  out: {};
3334
3349
  in: {};
3335
3350
  }>;
3336
- declare const TaskApiSelectSchema: z.ZodObject<{
3337
- id: z.ZodString;
3338
- agentId: z.ZodString;
3351
+ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
3339
3352
  createdAt: z.ZodString;
3340
3353
  updatedAt: z.ZodString;
3341
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3354
+ contextId: z.ZodString;
3342
3355
  status: z.ZodString;
3356
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3343
3357
  subAgentId: z.ZodString;
3344
- contextId: z.ZodString;
3345
- }, z.core.$strip>;
3346
- declare const TaskApiInsertSchema: z.ZodObject<{
3347
- id: z.ZodString;
3348
3358
  agentId: z.ZodString;
3359
+ projectId: z.ZodString;
3360
+ tenantId: z.ZodString;
3361
+ id: z.ZodString;
3362
+ }>, z.core.$strip>;
3363
+ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
3349
3364
  createdAt: z.ZodOptional<z.ZodString>;
3350
3365
  updatedAt: z.ZodOptional<z.ZodString>;
3351
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3366
+ contextId: z.ZodString;
3352
3367
  status: z.ZodString;
3368
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3353
3369
  subAgentId: z.ZodString;
3370
+ agentId: z.ZodString;
3371
+ projectId: z.ZodString;
3372
+ tenantId: z.ZodString;
3373
+ id: z.ZodString;
3354
3374
  conversationId: z.ZodOptional<z.ZodString>;
3355
- contextId: z.ZodString;
3356
- }, z.core.$strip>;
3375
+ }>, z.core.$strip>;
3357
3376
  declare const TaskApiUpdateSchema: z.ZodObject<{
3358
3377
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3359
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3360
3378
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3361
3379
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3380
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3362
3381
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3363
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3364
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3365
3382
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3366
3383
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3384
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3385
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3367
3386
  }, z.core.$strip>;
3368
3387
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
3369
3388
  createdAt: drizzle_orm_pg_core496.PgColumn<{
@@ -3690,22 +3709,26 @@ declare const TaskRelationUpdateSchema: z.ZodObject<{
3690
3709
  out: {};
3691
3710
  in: {};
3692
3711
  }>;
3693
- declare const TaskRelationApiSelectSchema: z.ZodObject<{
3694
- id: z.ZodString;
3712
+ declare const TaskRelationApiSelectSchema: z.ZodObject<OmitProjectScope<{
3695
3713
  createdAt: z.ZodString;
3696
3714
  updatedAt: z.ZodString;
3697
- relationType: z.ZodNullable<z.ZodString>;
3698
3715
  parentTaskId: z.ZodString;
3699
3716
  childTaskId: z.ZodString;
3700
- }, z.core.$strip>;
3701
- declare const TaskRelationApiInsertSchema: z.ZodObject<{
3717
+ relationType: z.ZodNullable<z.ZodString>;
3718
+ projectId: z.ZodString;
3719
+ tenantId: z.ZodString;
3702
3720
  id: z.ZodString;
3721
+ }>, z.core.$strip>;
3722
+ declare const TaskRelationApiInsertSchema: z.ZodObject<OmitProjectScope<{
3703
3723
  createdAt: z.ZodOptional<z.ZodString>;
3704
3724
  updatedAt: z.ZodOptional<z.ZodString>;
3705
3725
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3726
+ projectId: z.ZodString;
3727
+ tenantId: z.ZodString;
3728
+ id: z.ZodString;
3706
3729
  parentTaskId: z.ZodString;
3707
3730
  childTaskId: z.ZodString;
3708
- }, z.core.$strip>;
3731
+ }>, z.core.$strip>;
3709
3732
  declare const TaskRelationApiUpdateSchema: z.ZodObject<{
3710
3733
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3711
3734
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -4698,35 +4721,39 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4698
4721
  out: {};
4699
4722
  in: {};
4700
4723
  }>;
4701
- declare const ConversationApiSelectSchema: z.ZodObject<{
4702
- id: z.ZodString;
4703
- title: z.ZodNullable<z.ZodString>;
4724
+ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
4704
4725
  createdAt: z.ZodString;
4705
4726
  updatedAt: z.ZodString;
4706
4727
  userId: z.ZodNullable<z.ZodString>;
4707
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4708
4728
  activeSubAgentId: z.ZodString;
4729
+ title: z.ZodNullable<z.ZodString>;
4709
4730
  lastContextResolution: z.ZodNullable<z.ZodString>;
4710
- }, z.core.$strip>;
4711
- declare const ConversationApiInsertSchema: z.ZodObject<{
4731
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4732
+ projectId: z.ZodString;
4733
+ tenantId: z.ZodString;
4712
4734
  id: z.ZodString;
4713
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4735
+ }>, z.core.$strip>;
4736
+ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
4714
4737
  createdAt: z.ZodOptional<z.ZodString>;
4715
4738
  updatedAt: z.ZodOptional<z.ZodString>;
4716
4739
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4717
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4718
- contextConfigId: z.ZodOptional<z.ZodString>;
4719
4740
  activeSubAgentId: z.ZodString;
4741
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4720
4742
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4721
- }, z.core.$strip>;
4743
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4744
+ projectId: z.ZodString;
4745
+ tenantId: z.ZodString;
4746
+ id: z.ZodString;
4747
+ contextConfigId: z.ZodOptional<z.ZodString>;
4748
+ }>, z.core.$strip>;
4722
4749
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4723
4750
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4724
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4725
4751
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4726
4752
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4727
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4728
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4729
4753
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4754
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4755
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4756
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4730
4757
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4731
4758
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4732
4759
  }, z.core.$strip>;
@@ -5575,67 +5602,71 @@ declare const MessageUpdateSchema: z.ZodObject<{
5575
5602
  out: {};
5576
5603
  in: {};
5577
5604
  }>;
5578
- declare const MessageApiSelectSchema: z.ZodObject<{
5579
- id: z.ZodString;
5605
+ declare const MessageApiSelectSchema: z.ZodObject<OmitProjectScope<{
5580
5606
  createdAt: z.ZodString;
5581
5607
  updatedAt: z.ZodString;
5582
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5583
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5608
+ conversationId: z.ZodString;
5584
5609
  role: z.ZodString;
5585
5610
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5586
5611
  toSubAgentId: z.ZodNullable<z.ZodString>;
5587
5612
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
5588
5613
  toExternalAgentId: z.ZodNullable<z.ZodString>;
5589
- taskId: z.ZodNullable<z.ZodString>;
5590
- a2aTaskId: z.ZodNullable<z.ZodString>;
5591
- conversationId: z.ZodString;
5592
5614
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
5593
5615
  toTeamAgentId: z.ZodNullable<z.ZodString>;
5616
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5594
5617
  visibility: z.ZodString;
5595
5618
  messageType: z.ZodString;
5619
+ taskId: z.ZodNullable<z.ZodString>;
5596
5620
  parentMessageId: z.ZodNullable<z.ZodString>;
5621
+ a2aTaskId: z.ZodNullable<z.ZodString>;
5597
5622
  a2aSessionId: z.ZodNullable<z.ZodString>;
5598
- }, z.core.$strip>;
5599
- declare const MessageApiInsertSchema: z.ZodObject<{
5623
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5624
+ projectId: z.ZodString;
5625
+ tenantId: z.ZodString;
5600
5626
  id: z.ZodString;
5627
+ }>, z.core.$strip>;
5628
+ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
5601
5629
  createdAt: z.ZodOptional<z.ZodString>;
5602
5630
  updatedAt: z.ZodOptional<z.ZodString>;
5603
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5604
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5605
5631
  role: z.ZodString;
5606
5632
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5607
5633
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5608
5634
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5609
5635
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5610
- taskId: z.ZodOptional<z.ZodString>;
5611
- a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5612
- conversationId: z.ZodString;
5613
5636
  fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5614
5637
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5638
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5615
5639
  visibility: z.ZodOptional<z.ZodString>;
5616
5640
  messageType: z.ZodOptional<z.ZodString>;
5617
5641
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5642
+ a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5618
5643
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5619
- }, z.core.$strip>;
5644
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5645
+ projectId: z.ZodString;
5646
+ tenantId: z.ZodString;
5647
+ id: z.ZodString;
5648
+ conversationId: z.ZodString;
5649
+ taskId: z.ZodOptional<z.ZodString>;
5650
+ }>, z.core.$strip>;
5620
5651
  declare const MessageApiUpdateSchema: z.ZodObject<{
5621
5652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5622
5653
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5623
5654
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5624
5655
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5625
5656
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5657
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5626
5658
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5627
5659
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5628
5660
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5629
5661
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5630
5662
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5631
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5632
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5633
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5634
5663
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5635
5664
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5636
5665
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5637
5666
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5667
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5638
5668
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5669
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5639
5670
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5640
5671
  }, z.core.$strip>;
5641
5672
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -6599,7 +6630,7 @@ declare const ContextCacheInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6599
6630
  }, {}, {
6600
6631
  length: 256;
6601
6632
  }>;
6602
- }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6633
+ }, "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "contextConfigId" | "value" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6603
6634
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6604
6635
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6605
6636
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6618,38 +6649,42 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6618
6649
  out: {};
6619
6650
  in: {};
6620
6651
  }>;
6621
- declare const ContextCacheApiSelectSchema: z.ZodObject<{
6622
- id: z.ZodString;
6623
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6652
+ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
6624
6653
  createdAt: z.ZodString;
6625
6654
  updatedAt: z.ZodString;
6626
- contextConfigId: z.ZodString;
6627
6655
  conversationId: z.ZodString;
6656
+ contextConfigId: z.ZodString;
6628
6657
  contextVariableKey: z.ZodString;
6658
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6629
6659
  requestHash: z.ZodNullable<z.ZodString>;
6630
6660
  fetchedAt: z.ZodString;
6631
6661
  fetchSource: z.ZodNullable<z.ZodString>;
6632
6662
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
6633
- }, z.core.$strip>;
6634
- declare const ContextCacheApiInsertSchema: z.ZodObject<{
6663
+ projectId: z.ZodString;
6664
+ tenantId: z.ZodString;
6635
6665
  id: z.ZodString;
6636
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6666
+ }>, z.core.$strip>;
6667
+ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
6637
6668
  createdAt: z.ZodOptional<z.ZodString>;
6638
6669
  updatedAt: z.ZodOptional<z.ZodString>;
6639
- contextConfigId: z.ZodString;
6640
6670
  conversationId: z.ZodString;
6671
+ contextConfigId: z.ZodString;
6641
6672
  contextVariableKey: z.ZodString;
6673
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6642
6674
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6643
6675
  fetchedAt: z.ZodOptional<z.ZodString>;
6644
6676
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6645
6677
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6646
- }, z.core.$strip>;
6678
+ projectId: z.ZodString;
6679
+ tenantId: z.ZodString;
6680
+ id: z.ZodString;
6681
+ }>, z.core.$strip>;
6647
6682
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6648
6683
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6649
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6650
6684
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6651
6685
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6652
6686
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6687
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6653
6688
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6654
6689
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6655
6690
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7029,10 +7064,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
7029
7064
  in: {};
7030
7065
  }>;
7031
7066
  declare const DataComponentBaseSchema: z.ZodObject<{
7032
- tenantId: z.ZodString;
7033
- projectId: z.ZodString;
7034
- id: z.ZodString;
7035
7067
  name: z.ZodString;
7068
+ id: z.ZodString;
7069
+ projectId: z.ZodString;
7070
+ tenantId: z.ZodString;
7036
7071
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7037
7072
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7038
7073
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -7078,10 +7113,7 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
7078
7113
  out: {};
7079
7114
  in: {};
7080
7115
  }>;
7081
- declare const DataComponentApiSelectSchema: z.ZodObject<{
7082
- id: z.ZodString;
7083
- name: z.ZodString;
7084
- description: z.ZodNullable<z.ZodString>;
7116
+ declare const DataComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
7085
7117
  createdAt: z.ZodString;
7086
7118
  updatedAt: z.ZodString;
7087
7119
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -7098,11 +7130,13 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
7098
7130
  component: string;
7099
7131
  mockData: Record<string, unknown>;
7100
7132
  }>>>;
7101
- }, z.core.$strip>;
7102
- declare const DataComponentApiInsertSchema: z.ZodObject<{
7103
- id: z.ZodString;
7104
7133
  name: z.ZodString;
7105
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7134
+ description: z.ZodNullable<z.ZodString>;
7135
+ projectId: z.ZodString;
7136
+ tenantId: z.ZodString;
7137
+ id: z.ZodString;
7138
+ }>, z.core.$strip>;
7139
+ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
7106
7140
  createdAt: z.ZodOptional<z.ZodString>;
7107
7141
  updatedAt: z.ZodOptional<z.ZodString>;
7108
7142
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -7119,13 +7153,18 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
7119
7153
  component: string;
7120
7154
  mockData: Record<string, unknown>;
7121
7155
  }>>>>;
7122
- }, z.core.$strip>;
7156
+ name: z.ZodString;
7157
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7158
+ projectId: z.ZodString;
7159
+ tenantId: z.ZodString;
7160
+ id: z.ZodString;
7161
+ }>, z.core.$strip>;
7123
7162
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
7124
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7125
7163
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7126
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7164
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7127
7165
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7128
7166
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7167
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7129
7168
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
7130
7169
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
7131
7170
  component: string;
@@ -7670,7 +7709,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
7670
7709
  }, {}, {
7671
7710
  length: 256;
7672
7711
  }>;
7673
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7712
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7674
7713
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7675
7714
  dataComponentId: z.ZodOptional<z.ZodString>;
7676
7715
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7683,12 +7722,15 @@ declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7683
7722
  out: {};
7684
7723
  in: {};
7685
7724
  }>;
7686
- declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<{
7687
- id: z.ZodString;
7725
+ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
7726
+ dataComponentId: z.ZodString;
7688
7727
  createdAt: z.ZodString;
7689
7728
  subAgentId: z.ZodString;
7690
- dataComponentId: z.ZodString;
7691
- }, z.core.$strip>;
7729
+ agentId: z.ZodString;
7730
+ projectId: z.ZodString;
7731
+ tenantId: z.ZodString;
7732
+ id: z.ZodString;
7733
+ }>, z.core.$strip>;
7692
7734
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
7693
7735
  agentId: z.ZodString;
7694
7736
  subAgentId: z.ZodString;
@@ -8100,10 +8142,7 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
8100
8142
  out: {};
8101
8143
  in: {};
8102
8144
  }>;
8103
- declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
8104
- id: z.ZodString;
8105
- name: z.ZodString;
8106
- description: z.ZodNullable<z.ZodString>;
8145
+ declare const ArtifactComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
8107
8146
  createdAt: z.ZodString;
8108
8147
  updatedAt: z.ZodString;
8109
8148
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -8120,10 +8159,15 @@ declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
8120
8159
  component: string;
8121
8160
  mockData: Record<string, unknown>;
8122
8161
  }>>>;
8123
- }, z.core.$strip>;
8124
- declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
8162
+ name: z.ZodString;
8163
+ description: z.ZodNullable<z.ZodString>;
8164
+ projectId: z.ZodString;
8165
+ tenantId: z.ZodString;
8125
8166
  id: z.ZodString;
8167
+ }>, z.core.$strip>;
8168
+ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
8126
8169
  name: z.ZodString;
8170
+ id: z.ZodString;
8127
8171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8128
8172
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8129
8173
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -8144,11 +8188,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
8144
8188
  in: {};
8145
8189
  }>;
8146
8190
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
8147
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8148
8191
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8149
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8192
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8150
8193
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8151
8194
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8195
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8152
8196
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
8153
8197
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
8154
8198
  component: string;
@@ -8453,12 +8497,15 @@ declare const SubAgentArtifactComponentUpdateSchema: z.ZodObject<{
8453
8497
  out: {};
8454
8498
  in: {};
8455
8499
  }>;
8456
- declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<{
8457
- id: z.ZodString;
8500
+ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
8501
+ artifactComponentId: z.ZodString;
8458
8502
  createdAt: z.ZodString;
8459
8503
  subAgentId: z.ZodString;
8460
- artifactComponentId: z.ZodString;
8461
- }, z.core.$strip>;
8504
+ agentId: z.ZodString;
8505
+ projectId: z.ZodString;
8506
+ tenantId: z.ZodString;
8507
+ id: z.ZodString;
8508
+ }>, z.core.$strip>;
8462
8509
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
8463
8510
  agentId: z.ZodString;
8464
8511
  subAgentId: z.ZodString;
@@ -8515,40 +8562,43 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8515
8562
  out: {};
8516
8563
  in: {};
8517
8564
  }>;
8518
- declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8519
- id: z.ZodString;
8520
- name: z.ZodString;
8521
- description: z.ZodNullable<z.ZodString>;
8522
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8565
+ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
8523
8566
  createdAt: z.ZodString;
8524
8567
  updatedAt: z.ZodString;
8525
8568
  baseUrl: z.ZodString;
8526
- }, z.core.$strip>;
8527
- declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8528
- id: z.ZodString;
8529
8569
  name: z.ZodString;
8530
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
+ description: z.ZodNullable<z.ZodString>;
8571
+ projectId: z.ZodString;
8572
+ tenantId: z.ZodString;
8573
+ id: z.ZodString;
8531
8574
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8575
+ }>, z.core.$strip>;
8576
+ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
8532
8577
  createdAt: z.ZodOptional<z.ZodString>;
8533
8578
  updatedAt: z.ZodOptional<z.ZodString>;
8534
8579
  baseUrl: z.ZodString;
8535
- }, z.core.$strip>;
8580
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8581
+ name: z.ZodString;
8582
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8583
+ projectId: z.ZodString;
8584
+ tenantId: z.ZodString;
8585
+ id: z.ZodString;
8586
+ }>, z.core.$strip>;
8536
8587
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8537
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8538
8588
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8539
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8540
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8589
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8541
8590
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8542
8591
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8592
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8543
8593
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8594
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8544
8595
  }, z.core.$strip>;
8545
8596
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8546
- id: z.ZodString;
8547
8597
  name: z.ZodString;
8548
- description: z.ZodNullable<z.ZodString>;
8549
- prompt: z.ZodNullable<z.ZodString>;
8598
+ id: z.ZodString;
8550
8599
  createdAt: z.ZodString;
8551
8600
  updatedAt: z.ZodString;
8601
+ description: z.ZodNullable<z.ZodString>;
8552
8602
  models: z.ZodNullable<z.ZodType<{
8553
8603
  base?: {
8554
8604
  model?: string | undefined;
@@ -8602,6 +8652,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8602
8652
  providerOptions?: Record<string, any> | undefined;
8603
8653
  } | undefined;
8604
8654
  }>>>;
8655
+ prompt: z.ZodNullable<z.ZodString>;
8605
8656
  stopWhen: z.ZodNullable<z.ZodType<{
8606
8657
  stepCountIs?: number | undefined;
8607
8658
  }, {
@@ -8614,13 +8665,13 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8614
8665
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8615
8666
  type: z.ZodLiteral<"internal">;
8616
8667
  }, z.core.$strip>, z.ZodObject<{
8617
- id: z.ZodString;
8618
8668
  name: z.ZodString;
8619
- description: z.ZodNullable<z.ZodString>;
8620
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8669
+ id: z.ZodString;
8621
8670
  createdAt: z.ZodString;
8622
8671
  updatedAt: z.ZodString;
8672
+ description: z.ZodNullable<z.ZodString>;
8623
8673
  baseUrl: z.ZodString;
8674
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8624
8675
  type: z.ZodLiteral<"external">;
8625
8676
  }, z.core.$strip>], "type">;
8626
8677
  declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9085,24 +9136,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
9085
9136
  }>;
9086
9137
  declare const ApiKeyUpdateSchema: z.ZodObject<{
9087
9138
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9139
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9088
9140
  agentId: z.ZodOptional<z.ZodString>;
9089
9141
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9090
9142
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9091
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9092
9143
  }, {
9093
9144
  out: {};
9094
9145
  in: {};
9095
9146
  }>;
9096
9147
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
9097
- id: z.ZodString;
9098
9148
  name: z.ZodNullable<z.ZodString>;
9149
+ id: z.ZodString;
9150
+ createdAt: z.ZodString;
9151
+ updatedAt: z.ZodString;
9099
9152
  agentId: z.ZodString;
9100
9153
  publicId: z.ZodString;
9101
9154
  keyPrefix: z.ZodString;
9102
9155
  lastUsedAt: z.ZodNullable<z.ZodString>;
9103
9156
  expiresAt: z.ZodNullable<z.ZodString>;
9104
- createdAt: z.ZodString;
9105
- updatedAt: z.ZodString;
9106
9157
  }, {
9107
9158
  out: {};
9108
9159
  in: {};
@@ -9110,15 +9161,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
9110
9161
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
9111
9162
  data: z.ZodObject<{
9112
9163
  apiKey: z.ZodObject<{
9113
- id: z.ZodString;
9114
9164
  name: z.ZodNullable<z.ZodString>;
9165
+ id: z.ZodString;
9166
+ createdAt: z.ZodString;
9167
+ updatedAt: z.ZodString;
9115
9168
  agentId: z.ZodString;
9116
9169
  publicId: z.ZodString;
9117
9170
  keyPrefix: z.ZodString;
9118
9171
  lastUsedAt: z.ZodNullable<z.ZodString>;
9119
9172
  expiresAt: z.ZodNullable<z.ZodString>;
9120
- createdAt: z.ZodString;
9121
- updatedAt: z.ZodString;
9122
9173
  }, {
9123
9174
  out: {};
9124
9175
  in: {};
@@ -9128,20 +9179,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
9128
9179
  }, z.core.$strip>;
9129
9180
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
9130
9181
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9131
- agentId: z.ZodString;
9132
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9133
9182
  createdAt: z.ZodOptional<z.ZodString>;
9134
9183
  updatedAt: z.ZodOptional<z.ZodString>;
9184
+ agentId: z.ZodString;
9185
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9135
9186
  }, {
9136
9187
  out: {};
9137
9188
  in: {};
9138
9189
  }>;
9139
9190
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
9140
9191
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9192
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9141
9193
  agentId: z.ZodOptional<z.ZodString>;
9142
9194
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9143
9195
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9144
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9145
9196
  }, {
9146
9197
  out: {};
9147
9198
  in: {};
@@ -9632,14 +9683,14 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
9632
9683
  in: {};
9633
9684
  }>;
9634
9685
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9635
- id: z.ZodString;
9636
9686
  name: z.ZodString;
9687
+ id: z.ZodString;
9637
9688
  createdAt: z.ZodString;
9638
9689
  updatedAt: z.ZodString;
9639
9690
  credentialStoreId: z.ZodString;
9640
9691
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9641
- userId: z.ZodNullable<z.ZodString>;
9642
9692
  toolId: z.ZodNullable<z.ZodString>;
9693
+ userId: z.ZodNullable<z.ZodString>;
9643
9694
  createdBy: z.ZodNullable<z.ZodString>;
9644
9695
  type: z.ZodEnum<{
9645
9696
  readonly memory: "memory";
@@ -10189,14 +10240,14 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
10189
10240
  }>>>;
10190
10241
  }, z.core.$strip>;
10191
10242
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
10192
- id: z.ZodString;
10193
10243
  name: z.ZodString;
10244
+ id: z.ZodString;
10194
10245
  createdAt: z.ZodOptional<z.ZodString>;
10195
10246
  updatedAt: z.ZodOptional<z.ZodString>;
10196
10247
  credentialStoreId: z.ZodString;
10197
10248
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10198
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10199
10249
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10250
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10200
10251
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10201
10252
  type: z.ZodEnum<{
10202
10253
  readonly memory: "memory";
@@ -10205,14 +10256,14 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
10205
10256
  }>;
10206
10257
  }, z.core.$strip>;
10207
10258
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
10208
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10209
10259
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10260
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10210
10261
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10211
10262
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10212
10263
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10213
10264
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
10214
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10215
10265
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10266
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10216
10267
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10217
10268
  type: z.ZodOptional<z.ZodEnum<{
10218
10269
  readonly memory: "memory";
@@ -10327,15 +10378,15 @@ declare const McpToolSchema: z.ZodObject<{
10327
10378
  in: {};
10328
10379
  }>;
10329
10380
  declare const MCPToolConfigSchema: z.ZodObject<{
10330
- id: z.ZodString;
10331
10381
  name: z.ZodString;
10332
- expiresAt: z.ZodOptional<z.ZodString>;
10382
+ id: z.ZodString;
10333
10383
  createdBy: z.ZodOptional<z.ZodString>;
10334
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10335
10384
  credentialScope: z.ZodOptional<z.ZodString>;
10385
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10336
10386
  imageUrl: z.ZodOptional<z.ZodString>;
10337
10387
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10338
10388
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10389
+ expiresAt: z.ZodOptional<z.ZodString>;
10339
10390
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
10340
10391
  name: z.ZodString;
10341
10392
  description: z.ZodOptional<z.ZodString>;
@@ -10362,14 +10413,14 @@ declare const MCPToolConfigSchema: z.ZodObject<{
10362
10413
  sessionId: z.ZodOptional<z.ZodString>;
10363
10414
  }, z.core.$strip>>;
10364
10415
  credential: z.ZodOptional<z.ZodObject<{
10365
- id: z.ZodString;
10366
10416
  name: z.ZodString;
10417
+ id: z.ZodString;
10367
10418
  createdAt: z.ZodOptional<z.ZodString>;
10368
10419
  updatedAt: z.ZodOptional<z.ZodString>;
10369
10420
  credentialStoreId: z.ZodString;
10370
10421
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10371
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10372
10422
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10423
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10373
10424
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10374
10425
  type: z.ZodEnum<{
10375
10426
  readonly memory: "memory";
@@ -10418,8 +10469,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
10418
10469
  out: {};
10419
10470
  in: {};
10420
10471
  }>;
10421
- declare const ToolApiSelectSchema: z.ZodObject<{
10422
- id: z.ZodString;
10472
+ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
10473
+ createdAt: z.ZodString;
10474
+ updatedAt: z.ZodString;
10423
10475
  name: z.ZodString;
10424
10476
  description: z.ZodNullable<z.ZodString>;
10425
10477
  config: z.ZodType<{
@@ -10436,18 +10488,29 @@ declare const ToolApiSelectSchema: z.ZodObject<{
10436
10488
  mcp: ToolMcpConfig;
10437
10489
  }>>;
10438
10490
  credentialReferenceId: z.ZodNullable<z.ZodString>;
10439
- createdAt: z.ZodString;
10440
- updatedAt: z.ZodString;
10441
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10442
10491
  credentialScope: z.ZodString;
10492
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10443
10493
  imageUrl: z.ZodNullable<z.ZodString>;
10444
10494
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10445
10495
  lastError: z.ZodNullable<z.ZodString>;
10446
- }, z.core.$strip>;
10447
- declare const ToolApiInsertSchema: z.ZodObject<{
10496
+ projectId: z.ZodString;
10497
+ tenantId: z.ZodString;
10448
10498
  id: z.ZodString;
10499
+ }>, z.core.$strip>;
10500
+ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
10501
+ createdAt: z.ZodOptional<z.ZodString>;
10502
+ updatedAt: z.ZodOptional<z.ZodString>;
10449
10503
  name: z.ZodString;
10450
10504
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10505
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10506
+ credentialScope: z.ZodOptional<z.ZodString>;
10507
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10508
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10509
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10510
+ projectId: z.ZodString;
10511
+ tenantId: z.ZodString;
10512
+ id: z.ZodString;
10513
+ imageUrl: z.ZodOptional<z.ZodString>;
10451
10514
  config: z.ZodObject<{
10452
10515
  type: z.ZodLiteral<"mcp">;
10453
10516
  mcp: z.ZodObject<{
@@ -10467,19 +10530,14 @@ declare const ToolApiInsertSchema: z.ZodObject<{
10467
10530
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
10468
10531
  }, z.core.$strip>;
10469
10532
  }, z.core.$strip>;
10470
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10471
- createdAt: z.ZodOptional<z.ZodString>;
10472
- updatedAt: z.ZodOptional<z.ZodString>;
10473
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10474
- credentialScope: z.ZodOptional<z.ZodString>;
10475
- imageUrl: z.ZodOptional<z.ZodString>;
10476
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10477
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10478
- }, z.core.$strip>;
10533
+ }>, z.core.$strip>;
10479
10534
  declare const ToolApiUpdateSchema: z.ZodObject<{
10480
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10481
10535
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10536
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10537
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10538
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10482
10539
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10540
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10483
10541
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10484
10542
  type: z.ZodLiteral<"mcp">;
10485
10543
  mcp: z.ZodObject<{
@@ -10499,11 +10557,8 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
10499
10557
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
10500
10558
  }, z.core.$strip>;
10501
10559
  }, z.core.$strip>>>;
10502
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10503
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10504
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10505
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
10506
10560
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10561
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
10507
10562
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10508
10563
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
10509
10564
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10869,30 +10924,35 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10869
10924
  out: {};
10870
10925
  in: {};
10871
10926
  }>;
10872
- declare const FunctionToolApiSelectSchema: z.ZodObject<{
10873
- id: z.ZodString;
10874
- name: z.ZodString;
10875
- description: z.ZodNullable<z.ZodString>;
10876
- agentId: z.ZodString;
10927
+ declare const FunctionToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
10877
10928
  createdAt: z.ZodString;
10878
10929
  updatedAt: z.ZodString;
10930
+ name: z.ZodString;
10931
+ description: z.ZodNullable<z.ZodString>;
10879
10932
  functionId: z.ZodString;
10880
- }, z.core.$strip>;
10881
- declare const FunctionToolApiInsertSchema: z.ZodObject<{
10933
+ agentId: z.ZodString;
10934
+ projectId: z.ZodString;
10935
+ tenantId: z.ZodString;
10882
10936
  id: z.ZodString;
10883
- name: z.ZodString;
10884
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10937
+ }>, z.core.$strip>;
10938
+ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
10885
10939
  createdAt: z.ZodOptional<z.ZodString>;
10886
10940
  updatedAt: z.ZodOptional<z.ZodString>;
10941
+ name: z.ZodString;
10942
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10887
10943
  functionId: z.ZodString;
10888
- }, z.core.$strip>;
10944
+ agentId: z.ZodString;
10945
+ projectId: z.ZodString;
10946
+ tenantId: z.ZodString;
10947
+ id: z.ZodString;
10948
+ }>, z.core.$strip>;
10889
10949
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10890
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10891
10950
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10892
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10893
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10951
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10894
10952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10895
10953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10954
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10955
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10896
10956
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10897
10957
  }, z.core.$strip>;
10898
10958
  declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -11216,22 +11276,26 @@ declare const FunctionUpdateSchema: z.ZodObject<{
11216
11276
  out: {};
11217
11277
  in: {};
11218
11278
  }>;
11219
- declare const FunctionApiSelectSchema: z.ZodObject<{
11220
- id: z.ZodString;
11279
+ declare const FunctionApiSelectSchema: z.ZodObject<OmitProjectScope<{
11221
11280
  createdAt: z.ZodString;
11222
11281
  updatedAt: z.ZodString;
11223
11282
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
11224
11283
  executeCode: z.ZodString;
11225
11284
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
11226
- }, z.core.$strip>;
11227
- declare const FunctionApiInsertSchema: z.ZodObject<{
11285
+ projectId: z.ZodString;
11286
+ tenantId: z.ZodString;
11228
11287
  id: z.ZodString;
11288
+ }>, z.core.$strip>;
11289
+ declare const FunctionApiInsertSchema: z.ZodObject<OmitProjectScope<{
11229
11290
  createdAt: z.ZodOptional<z.ZodString>;
11230
11291
  updatedAt: z.ZodOptional<z.ZodString>;
11231
11292
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
11232
11293
  executeCode: z.ZodString;
11233
11294
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
11234
- }, z.core.$strip>;
11295
+ projectId: z.ZodString;
11296
+ tenantId: z.ZodString;
11297
+ id: z.ZodString;
11298
+ }>, z.core.$strip>;
11235
11299
  declare const FunctionApiUpdateSchema: z.ZodObject<{
11236
11300
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11237
11301
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -11280,14 +11344,14 @@ declare const FetchDefinitionSchema: z.ZodObject<{
11280
11344
  responseSchema: z.ZodOptional<z.ZodAny>;
11281
11345
  defaultValue: z.ZodOptional<z.ZodAny>;
11282
11346
  credential: z.ZodOptional<z.ZodObject<{
11283
- id: z.ZodString;
11284
11347
  name: z.ZodString;
11348
+ id: z.ZodString;
11285
11349
  createdAt: z.ZodOptional<z.ZodString>;
11286
11350
  updatedAt: z.ZodOptional<z.ZodString>;
11287
11351
  credentialStoreId: z.ZodString;
11288
11352
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11289
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11290
11353
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11354
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11291
11355
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11292
11356
  type: z.ZodEnum<{
11293
11357
  readonly memory: "memory";
@@ -11310,33 +11374,33 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
11310
11374
  in: {};
11311
11375
  }>;
11312
11376
  declare const ContextConfigInsertSchema: z.ZodObject<{
11313
- tenantId: z.ZodString;
11314
- projectId: z.ZodString;
11315
11377
  id: z.ZodOptional<z.ZodString>;
11316
- agentId: z.ZodString;
11317
11378
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
11318
11379
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
11380
+ agentId: z.ZodString;
11381
+ projectId: z.ZodString;
11382
+ tenantId: z.ZodString;
11319
11383
  }, {
11320
11384
  out: {};
11321
11385
  in: {};
11322
11386
  }>;
11323
11387
  declare const ContextConfigUpdateSchema: z.ZodObject<{
11324
- tenantId: z.ZodOptional<z.ZodString>;
11325
- projectId: z.ZodOptional<z.ZodString>;
11326
11388
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11327
- agentId: z.ZodOptional<z.ZodString>;
11328
11389
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
11329
11390
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
11391
+ agentId: z.ZodOptional<z.ZodString>;
11392
+ projectId: z.ZodOptional<z.ZodString>;
11393
+ tenantId: z.ZodOptional<z.ZodString>;
11330
11394
  }, {
11331
11395
  out: {};
11332
11396
  in: {};
11333
11397
  }>;
11334
11398
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
11335
11399
  id: z.ZodString;
11336
- createdAt: z.ZodString;
11337
- updatedAt: z.ZodString;
11338
11400
  headersSchema: z.ZodOptional<z.ZodAny>;
11339
11401
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
11402
+ createdAt: z.ZodString;
11403
+ updatedAt: z.ZodString;
11340
11404
  }, z.core.$strip>;
11341
11405
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
11342
11406
  id: z.ZodOptional<z.ZodString>;
@@ -11805,39 +11869,45 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
11805
11869
  out: {};
11806
11870
  in: {};
11807
11871
  }>;
11808
- declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11809
- id: z.ZodString;
11872
+ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
11810
11873
  createdAt: z.ZodString;
11811
11874
  updatedAt: z.ZodString;
11812
11875
  toolId: z.ZodString;
11876
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11813
11877
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11814
11878
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11815
11879
  subAgentId: z.ZodString;
11816
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11817
- }, z.core.$strip>;
11818
- declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11880
+ agentId: z.ZodString;
11881
+ projectId: z.ZodString;
11882
+ tenantId: z.ZodString;
11819
11883
  id: z.ZodString;
11884
+ }>, z.core.$strip>;
11885
+ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
11820
11886
  createdAt: z.ZodOptional<z.ZodString>;
11821
11887
  updatedAt: z.ZodOptional<z.ZodString>;
11888
+ agentId: z.ZodString;
11889
+ projectId: z.ZodString;
11890
+ tenantId: z.ZodString;
11891
+ id: z.ZodString;
11892
+ subAgentId: z.ZodString;
11822
11893
  toolId: z.ZodString;
11894
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11823
11895
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11824
11896
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11825
11897
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11826
11898
  }, z.core.$strip>>>>;
11827
- subAgentId: z.ZodString;
11828
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11829
- }, z.core.$strip>;
11899
+ }>, z.core.$strip>;
11830
11900
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11831
11901
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11832
11902
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11833
11903
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11834
11904
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11905
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11835
11906
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11907
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11836
11908
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11837
11909
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11838
11910
  }, z.core.$strip>>>>>>;
11839
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11840
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11841
11911
  }, z.core.$strip>;
11842
11912
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11843
11913
  createdAt: drizzle_orm_pg_core496.PgColumn<{
@@ -12204,14 +12274,17 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
12204
12274
  out: {};
12205
12275
  in: {};
12206
12276
  }>;
12207
- declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
12208
- id: z.ZodString;
12277
+ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
12209
12278
  createdAt: z.ZodString;
12210
12279
  updatedAt: z.ZodString;
12211
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12212
12280
  externalAgentId: z.ZodString;
12281
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12213
12282
  subAgentId: z.ZodString;
12214
- }, z.core.$strip>;
12283
+ agentId: z.ZodString;
12284
+ projectId: z.ZodString;
12285
+ tenantId: z.ZodString;
12286
+ id: z.ZodString;
12287
+ }>, z.core.$strip>;
12215
12288
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
12216
12289
  createdAt: z.ZodOptional<z.ZodString>;
12217
12290
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -12222,9 +12295,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
12222
12295
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12223
12296
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12224
12297
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12298
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12225
12299
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
12226
12300
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12227
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12228
12301
  }, z.core.$strip>;
12229
12302
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
12230
12303
  createdAt: drizzle_orm_pg_core496.PgColumn<{
@@ -12591,14 +12664,17 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
12591
12664
  out: {};
12592
12665
  in: {};
12593
12666
  }>;
12594
- declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
12595
- id: z.ZodString;
12667
+ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
12596
12668
  createdAt: z.ZodString;
12597
12669
  updatedAt: z.ZodString;
12670
+ targetAgentId: z.ZodString;
12598
12671
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12599
12672
  subAgentId: z.ZodString;
12600
- targetAgentId: z.ZodString;
12601
- }, z.core.$strip>;
12673
+ agentId: z.ZodString;
12674
+ projectId: z.ZodString;
12675
+ tenantId: z.ZodString;
12676
+ id: z.ZodString;
12677
+ }>, z.core.$strip>;
12602
12678
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
12603
12679
  createdAt: z.ZodOptional<z.ZodString>;
12604
12680
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -12609,8 +12685,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
12609
12685
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12610
12686
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12611
12687
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12612
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
12613
12688
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12689
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
12614
12690
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12615
12691
  }, z.core.$strip>;
12616
12692
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -13954,7 +14030,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
13954
14030
  }, {}, {
13955
14031
  length: 256;
13956
14032
  }>;
13957
- }, "type" | "tenantId" | "projectId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
14033
+ }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "type" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13958
14034
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13959
14035
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13960
14036
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13978,53 +14054,57 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13978
14054
  out: {};
13979
14055
  in: {};
13980
14056
  }>;
13981
- declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13982
- type: z.ZodString;
13983
- id: z.ZodString;
13984
- name: z.ZodNullable<z.ZodString>;
13985
- description: z.ZodNullable<z.ZodString>;
14057
+ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
13986
14058
  createdAt: z.ZodString;
13987
14059
  updatedAt: z.ZodString;
13988
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13989
14060
  taskId: z.ZodString;
13990
- contextId: z.ZodString;
13991
- visibility: z.ZodNullable<z.ZodString>;
13992
14061
  toolCallId: z.ZodNullable<z.ZodString>;
14062
+ contextId: z.ZodString;
14063
+ type: z.ZodString;
14064
+ name: z.ZodNullable<z.ZodString>;
14065
+ description: z.ZodNullable<z.ZodString>;
13993
14066
  parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
14067
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13994
14068
  summary: z.ZodNullable<z.ZodString>;
13995
14069
  mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
14070
+ visibility: z.ZodNullable<z.ZodString>;
13996
14071
  allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13997
14072
  derivedFrom: z.ZodNullable<z.ZodString>;
13998
- }, z.core.$strip>;
13999
- declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
14000
- type: z.ZodOptional<z.ZodString>;
14073
+ projectId: z.ZodString;
14074
+ tenantId: z.ZodString;
14001
14075
  id: z.ZodString;
14002
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14003
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14076
+ }>, z.core.$strip>;
14077
+ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
14004
14078
  createdAt: z.ZodOptional<z.ZodString>;
14005
14079
  updatedAt: z.ZodOptional<z.ZodString>;
14006
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14007
14080
  taskId: z.ZodString;
14008
- contextId: z.ZodString;
14009
- visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14010
14081
  toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14082
+ contextId: z.ZodString;
14083
+ type: z.ZodOptional<z.ZodString>;
14084
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14085
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14011
14086
  parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14087
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14012
14088
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14013
14089
  mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14090
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14014
14091
  allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14015
14092
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14016
- }, z.core.$strip>;
14093
+ projectId: z.ZodString;
14094
+ tenantId: z.ZodString;
14095
+ id: z.ZodString;
14096
+ }>, z.core.$strip>;
14017
14097
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
14018
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14019
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14020
14098
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14021
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14099
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14022
14100
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14023
14101
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14102
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14103
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14024
14104
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
14025
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14026
14105
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14027
14106
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14107
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14028
14108
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14029
14109
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
14030
14110
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -14081,11 +14161,11 @@ declare const TeamAgentSchema: z.ZodObject<{
14081
14161
  description: z.ZodString;
14082
14162
  }, z.core.$strip>;
14083
14163
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
14084
- id: z.ZodString;
14085
14164
  name: z.ZodString;
14086
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14165
+ id: z.ZodString;
14087
14166
  createdAt: z.ZodOptional<z.ZodString>;
14088
14167
  updatedAt: z.ZodOptional<z.ZodString>;
14168
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14089
14169
  models: z.ZodOptional<z.ZodObject<{
14090
14170
  base: z.ZodOptional<z.ZodObject<{
14091
14171
  model: z.ZodOptional<z.ZodString>;
@@ -14136,18 +14216,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
14136
14216
  }, z.core.$strip>;
14137
14217
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14138
14218
  name: z.ZodString;
14139
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14140
14219
  createdAt: z.ZodOptional<z.ZodString>;
14141
14220
  updatedAt: z.ZodOptional<z.ZodString>;
14221
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14142
14222
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14143
14223
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14144
14224
  id: z.ZodString;
14145
14225
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
14146
- id: z.ZodString;
14147
14226
  name: z.ZodString;
14148
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14227
+ id: z.ZodString;
14149
14228
  createdAt: z.ZodOptional<z.ZodString>;
14150
14229
  updatedAt: z.ZodOptional<z.ZodString>;
14230
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14151
14231
  models: z.ZodOptional<z.ZodObject<{
14152
14232
  base: z.ZodOptional<z.ZodObject<{
14153
14233
  model: z.ZodOptional<z.ZodString>;
@@ -14196,10 +14276,20 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14196
14276
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
14197
14277
  }, z.core.$strip>]>>>;
14198
14278
  }, z.core.$strip>>;
14199
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14200
- id: z.ZodString;
14279
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14280
+ createdAt: z.ZodOptional<z.ZodString>;
14281
+ updatedAt: z.ZodOptional<z.ZodString>;
14201
14282
  name: z.ZodString;
14202
14283
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14284
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14285
+ credentialScope: z.ZodOptional<z.ZodString>;
14286
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14287
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14288
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14289
+ projectId: z.ZodString;
14290
+ tenantId: z.ZodString;
14291
+ id: z.ZodString;
14292
+ imageUrl: z.ZodOptional<z.ZodString>;
14203
14293
  config: z.ZodObject<{
14204
14294
  type: z.ZodLiteral<"mcp">;
14205
14295
  mcp: z.ZodObject<{
@@ -14219,45 +14309,44 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14219
14309
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14220
14310
  }, z.core.$strip>;
14221
14311
  }, z.core.$strip>;
14222
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14312
+ }>, z.core.$strip>>>;
14313
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14223
14314
  createdAt: z.ZodOptional<z.ZodString>;
14224
14315
  updatedAt: z.ZodOptional<z.ZodString>;
14225
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14226
- credentialScope: z.ZodOptional<z.ZodString>;
14227
- imageUrl: z.ZodOptional<z.ZodString>;
14228
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14229
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14230
- }, z.core.$strip>>>;
14231
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14232
- id: z.ZodString;
14316
+ baseUrl: z.ZodString;
14317
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14233
14318
  name: z.ZodString;
14234
14319
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14235
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14236
- createdAt: z.ZodOptional<z.ZodString>;
14237
- updatedAt: z.ZodOptional<z.ZodString>;
14238
- baseUrl: z.ZodString;
14239
- }, z.core.$strip>>>;
14320
+ projectId: z.ZodString;
14321
+ tenantId: z.ZodString;
14322
+ id: z.ZodString;
14323
+ }>, z.core.$strip>>>;
14240
14324
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14241
14325
  id: z.ZodString;
14242
14326
  name: z.ZodString;
14243
14327
  description: z.ZodString;
14244
14328
  }, z.core.$strip>>>;
14245
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14246
- id: z.ZodString;
14247
- name: z.ZodString;
14248
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14329
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
14249
14330
  createdAt: z.ZodOptional<z.ZodString>;
14250
14331
  updatedAt: z.ZodOptional<z.ZodString>;
14332
+ name: z.ZodString;
14333
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14251
14334
  functionId: z.ZodString;
14252
- }, z.core.$strip>>>;
14253
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14335
+ agentId: z.ZodString;
14336
+ projectId: z.ZodString;
14337
+ tenantId: z.ZodString;
14254
14338
  id: z.ZodString;
14339
+ }>, z.core.$strip>>>;
14340
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14255
14341
  createdAt: z.ZodOptional<z.ZodString>;
14256
14342
  updatedAt: z.ZodOptional<z.ZodString>;
14257
14343
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14258
14344
  executeCode: z.ZodString;
14259
14345
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14260
- }, z.core.$strip>>>;
14346
+ projectId: z.ZodString;
14347
+ tenantId: z.ZodString;
14348
+ id: z.ZodString;
14349
+ }>, z.core.$strip>>>;
14261
14350
  contextConfig: z.ZodOptional<z.ZodObject<{
14262
14351
  id: z.ZodOptional<z.ZodString>;
14263
14352
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -14357,9 +14446,9 @@ declare const ProjectSelectSchema: z.ZodObject<{
14357
14446
  in: {};
14358
14447
  }>;
14359
14448
  declare const ProjectInsertSchema: z.ZodObject<{
14360
- tenantId: z.ZodString;
14361
- id: z.ZodString;
14362
14449
  name: z.ZodString;
14450
+ id: z.ZodString;
14451
+ tenantId: z.ZodString;
14363
14452
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14364
14453
  models: z.ZodObject<{
14365
14454
  base: z.ZodObject<{
@@ -14409,11 +14498,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
14409
14498
  in: {};
14410
14499
  }>;
14411
14500
  declare const ProjectApiSelectSchema: z.ZodObject<{
14412
- id: z.ZodString;
14413
14501
  name: z.ZodString;
14414
- description: z.ZodNullable<z.ZodString>;
14502
+ id: z.ZodString;
14415
14503
  createdAt: z.ZodString;
14416
14504
  updatedAt: z.ZodString;
14505
+ description: z.ZodNullable<z.ZodString>;
14417
14506
  models: z.ZodNullable<z.ZodObject<{
14418
14507
  base: z.ZodObject<{
14419
14508
  model: z.ZodOptional<z.ZodString>;
@@ -14437,8 +14526,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
14437
14526
  in: {};
14438
14527
  }>;
14439
14528
  declare const ProjectApiInsertSchema: z.ZodObject<{
14440
- id: z.ZodString;
14441
14529
  name: z.ZodString;
14530
+ id: z.ZodString;
14442
14531
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14443
14532
  models: z.ZodObject<{
14444
14533
  base: z.ZodObject<{
@@ -14488,8 +14577,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
14488
14577
  in: {};
14489
14578
  }>;
14490
14579
  declare const FullProjectDefinitionSchema: z.ZodObject<{
14491
- id: z.ZodString;
14492
14580
  name: z.ZodString;
14581
+ id: z.ZodString;
14493
14582
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14494
14583
  models: z.ZodObject<{
14495
14584
  base: z.ZodObject<{
@@ -14511,18 +14600,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14511
14600
  }, z.core.$strip>>;
14512
14601
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
14513
14602
  name: z.ZodString;
14514
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14515
14603
  createdAt: z.ZodOptional<z.ZodString>;
14516
14604
  updatedAt: z.ZodOptional<z.ZodString>;
14605
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14517
14606
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14518
14607
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14519
14608
  id: z.ZodString;
14520
14609
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
14521
- id: z.ZodString;
14522
14610
  name: z.ZodString;
14523
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14611
+ id: z.ZodString;
14524
14612
  createdAt: z.ZodOptional<z.ZodString>;
14525
14613
  updatedAt: z.ZodOptional<z.ZodString>;
14614
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14526
14615
  models: z.ZodOptional<z.ZodObject<{
14527
14616
  base: z.ZodOptional<z.ZodObject<{
14528
14617
  model: z.ZodOptional<z.ZodString>;
@@ -14571,10 +14660,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14571
14660
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
14572
14661
  }, z.core.$strip>]>>>;
14573
14662
  }, z.core.$strip>>;
14574
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14575
- id: z.ZodString;
14663
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14664
+ createdAt: z.ZodOptional<z.ZodString>;
14665
+ updatedAt: z.ZodOptional<z.ZodString>;
14576
14666
  name: z.ZodString;
14577
14667
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14668
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14669
+ credentialScope: z.ZodOptional<z.ZodString>;
14670
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14671
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14672
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14673
+ projectId: z.ZodString;
14674
+ tenantId: z.ZodString;
14675
+ id: z.ZodString;
14676
+ imageUrl: z.ZodOptional<z.ZodString>;
14578
14677
  config: z.ZodObject<{
14579
14678
  type: z.ZodLiteral<"mcp">;
14580
14679
  mcp: z.ZodObject<{
@@ -14594,45 +14693,44 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14594
14693
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14595
14694
  }, z.core.$strip>;
14596
14695
  }, z.core.$strip>;
14597
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14696
+ }>, z.core.$strip>>>;
14697
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14598
14698
  createdAt: z.ZodOptional<z.ZodString>;
14599
14699
  updatedAt: z.ZodOptional<z.ZodString>;
14600
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14601
- credentialScope: z.ZodOptional<z.ZodString>;
14602
- imageUrl: z.ZodOptional<z.ZodString>;
14603
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14604
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14605
- }, z.core.$strip>>>;
14606
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14607
- id: z.ZodString;
14700
+ baseUrl: z.ZodString;
14701
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14608
14702
  name: z.ZodString;
14609
14703
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14610
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14611
- createdAt: z.ZodOptional<z.ZodString>;
14612
- updatedAt: z.ZodOptional<z.ZodString>;
14613
- baseUrl: z.ZodString;
14614
- }, z.core.$strip>>>;
14704
+ projectId: z.ZodString;
14705
+ tenantId: z.ZodString;
14706
+ id: z.ZodString;
14707
+ }>, z.core.$strip>>>;
14615
14708
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14616
14709
  id: z.ZodString;
14617
14710
  name: z.ZodString;
14618
14711
  description: z.ZodString;
14619
14712
  }, z.core.$strip>>>;
14620
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14621
- id: z.ZodString;
14622
- name: z.ZodString;
14623
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14713
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
14624
14714
  createdAt: z.ZodOptional<z.ZodString>;
14625
14715
  updatedAt: z.ZodOptional<z.ZodString>;
14716
+ name: z.ZodString;
14717
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14626
14718
  functionId: z.ZodString;
14627
- }, z.core.$strip>>>;
14628
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14719
+ agentId: z.ZodString;
14720
+ projectId: z.ZodString;
14721
+ tenantId: z.ZodString;
14629
14722
  id: z.ZodString;
14723
+ }>, z.core.$strip>>>;
14724
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14630
14725
  createdAt: z.ZodOptional<z.ZodString>;
14631
14726
  updatedAt: z.ZodOptional<z.ZodString>;
14632
14727
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14633
14728
  executeCode: z.ZodString;
14634
14729
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14635
- }, z.core.$strip>>>;
14730
+ projectId: z.ZodString;
14731
+ tenantId: z.ZodString;
14732
+ id: z.ZodString;
14733
+ }>, z.core.$strip>>>;
14636
14734
  contextConfig: z.ZodOptional<z.ZodObject<{
14637
14735
  id: z.ZodOptional<z.ZodString>;
14638
14736
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -14672,10 +14770,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14672
14770
  }, z.core.$strip>>;
14673
14771
  prompt: z.ZodOptional<z.ZodString>;
14674
14772
  }, z.core.$strip>>;
14675
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
14676
- id: z.ZodString;
14773
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14774
+ createdAt: z.ZodOptional<z.ZodString>;
14775
+ updatedAt: z.ZodOptional<z.ZodString>;
14677
14776
  name: z.ZodString;
14678
14777
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14778
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14779
+ credentialScope: z.ZodOptional<z.ZodString>;
14780
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14781
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14782
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14783
+ projectId: z.ZodString;
14784
+ tenantId: z.ZodString;
14785
+ id: z.ZodString;
14786
+ imageUrl: z.ZodOptional<z.ZodString>;
14679
14787
  config: z.ZodObject<{
14680
14788
  type: z.ZodLiteral<"mcp">;
14681
14789
  mcp: z.ZodObject<{
@@ -14695,35 +14803,29 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14695
14803
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14696
14804
  }, z.core.$strip>;
14697
14805
  }, z.core.$strip>;
14698
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14806
+ }>, z.core.$strip>>;
14807
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
14699
14808
  createdAt: z.ZodOptional<z.ZodString>;
14700
14809
  updatedAt: z.ZodOptional<z.ZodString>;
14701
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14702
- credentialScope: z.ZodOptional<z.ZodString>;
14703
- imageUrl: z.ZodOptional<z.ZodString>;
14704
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14705
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14706
- }, z.core.$strip>>;
14707
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14708
- id: z.ZodString;
14709
14810
  name: z.ZodString;
14710
14811
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14711
- createdAt: z.ZodOptional<z.ZodString>;
14712
- updatedAt: z.ZodOptional<z.ZodString>;
14713
14812
  functionId: z.ZodString;
14714
- }, z.core.$strip>>>;
14715
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14813
+ agentId: z.ZodString;
14814
+ projectId: z.ZodString;
14815
+ tenantId: z.ZodString;
14716
14816
  id: z.ZodString;
14817
+ }>, z.core.$strip>>>;
14818
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14717
14819
  createdAt: z.ZodOptional<z.ZodString>;
14718
14820
  updatedAt: z.ZodOptional<z.ZodString>;
14719
14821
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14720
14822
  executeCode: z.ZodString;
14721
14823
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14722
- }, z.core.$strip>>>;
14723
- dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14824
+ projectId: z.ZodString;
14825
+ tenantId: z.ZodString;
14724
14826
  id: z.ZodString;
14725
- name: z.ZodString;
14726
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14827
+ }>, z.core.$strip>>>;
14828
+ dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14727
14829
  createdAt: z.ZodOptional<z.ZodString>;
14728
14830
  updatedAt: z.ZodOptional<z.ZodString>;
14729
14831
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -14740,10 +14842,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14740
14842
  component: string;
14741
14843
  mockData: Record<string, unknown>;
14742
14844
  }>>>>;
14743
- }, z.core.$strip>>>;
14744
- artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14845
+ name: z.ZodString;
14846
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14847
+ projectId: z.ZodString;
14848
+ tenantId: z.ZodString;
14745
14849
  id: z.ZodString;
14850
+ }>, z.core.$strip>>>;
14851
+ artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14746
14852
  name: z.ZodString;
14853
+ id: z.ZodString;
14747
14854
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14748
14855
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14749
14856
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -14763,15 +14870,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14763
14870
  out: {};
14764
14871
  in: {};
14765
14872
  }>>>;
14766
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14767
- id: z.ZodString;
14768
- name: z.ZodString;
14769
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14770
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14873
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14771
14874
  createdAt: z.ZodOptional<z.ZodString>;
14772
14875
  updatedAt: z.ZodOptional<z.ZodString>;
14773
14876
  baseUrl: z.ZodString;
14774
- }, z.core.$strip>>>;
14877
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14878
+ name: z.ZodString;
14879
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14880
+ projectId: z.ZodString;
14881
+ tenantId: z.ZodString;
14882
+ id: z.ZodString;
14883
+ }>, z.core.$strip>>>;
14775
14884
  statusUpdates: z.ZodOptional<z.ZodObject<{
14776
14885
  enabled: z.ZodOptional<z.ZodBoolean>;
14777
14886
  numEvents: z.ZodOptional<z.ZodNumber>;
@@ -14788,14 +14897,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14788
14897
  }, z.core.$strip>>>;
14789
14898
  }, z.core.$strip>>;
14790
14899
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14791
- id: z.ZodString;
14792
14900
  name: z.ZodString;
14901
+ id: z.ZodString;
14793
14902
  createdAt: z.ZodOptional<z.ZodString>;
14794
14903
  updatedAt: z.ZodOptional<z.ZodString>;
14795
14904
  credentialStoreId: z.ZodString;
14796
14905
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14797
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14798
14906
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14907
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14799
14908
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14800
14909
  type: z.ZodEnum<{
14801
14910
  readonly memory: "memory";
@@ -14811,11 +14920,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14811
14920
  }>;
14812
14921
  declare const ProjectResponse: z.ZodObject<{
14813
14922
  data: z.ZodObject<{
14814
- id: z.ZodString;
14815
14923
  name: z.ZodString;
14816
- description: z.ZodNullable<z.ZodString>;
14924
+ id: z.ZodString;
14817
14925
  createdAt: z.ZodString;
14818
14926
  updatedAt: z.ZodString;
14927
+ description: z.ZodNullable<z.ZodString>;
14819
14928
  models: z.ZodNullable<z.ZodObject<{
14820
14929
  base: z.ZodObject<{
14821
14930
  model: z.ZodOptional<z.ZodString>;
@@ -14840,13 +14949,11 @@ declare const ProjectResponse: z.ZodObject<{
14840
14949
  }>;
14841
14950
  }, z.core.$strip>;
14842
14951
  declare const SubAgentResponse: z.ZodObject<{
14843
- data: z.ZodObject<{
14844
- id: z.ZodString;
14845
- name: z.ZodString;
14846
- description: z.ZodNullable<z.ZodString>;
14847
- prompt: z.ZodNullable<z.ZodString>;
14952
+ data: z.ZodObject<OmitAgentScope<{
14848
14953
  createdAt: z.ZodString;
14849
14954
  updatedAt: z.ZodString;
14955
+ prompt: z.ZodNullable<z.ZodString>;
14956
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14850
14957
  models: z.ZodNullable<z.ZodType<{
14851
14958
  base?: {
14852
14959
  model?: string | undefined;
@@ -14909,17 +15016,22 @@ declare const SubAgentResponse: z.ZodObject<{
14909
15016
  }, {
14910
15017
  stepCountIs?: number | undefined;
14911
15018
  }>>>;
14912
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14913
- }, z.core.$strip>;
14914
- }, z.core.$strip>;
14915
- declare const AgentResponse: z.ZodObject<{
14916
- data: z.ZodObject<{
14917
- id: z.ZodString;
14918
15019
  name: z.ZodString;
14919
15020
  description: z.ZodNullable<z.ZodString>;
14920
- prompt: z.ZodNullable<z.ZodString>;
15021
+ agentId: z.ZodString;
15022
+ projectId: z.ZodString;
15023
+ tenantId: z.ZodString;
15024
+ id: z.ZodString;
15025
+ }>, z.core.$strip>;
15026
+ }, z.core.$strip>;
15027
+ declare const AgentResponse: z.ZodObject<{
15028
+ data: z.ZodObject<OmitProjectScope<{
14921
15029
  createdAt: z.ZodString;
14922
15030
  updatedAt: z.ZodString;
15031
+ name: z.ZodString;
15032
+ description: z.ZodNullable<z.ZodString>;
15033
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
15034
+ contextConfigId: z.ZodNullable<z.ZodString>;
14923
15035
  models: z.ZodNullable<z.ZodType<{
14924
15036
  base?: {
14925
15037
  model?: string | undefined;
@@ -14973,17 +15085,6 @@ declare const AgentResponse: z.ZodObject<{
14973
15085
  providerOptions?: Record<string, any> | undefined;
14974
15086
  } | undefined;
14975
15087
  }>>>;
14976
- stopWhen: z.ZodNullable<z.ZodType<{
14977
- transferCountIs?: number | undefined;
14978
- }, {
14979
- transferCountIs?: number | undefined;
14980
- }, z.core.$ZodTypeInternals<{
14981
- transferCountIs?: number | undefined;
14982
- }, {
14983
- transferCountIs?: number | undefined;
14984
- }>>>;
14985
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
14986
- contextConfigId: z.ZodNullable<z.ZodString>;
14987
15088
  statusUpdates: z.ZodNullable<z.ZodType<{
14988
15089
  enabled?: boolean | undefined;
14989
15090
  numEvents?: number | undefined;
@@ -15041,11 +15142,25 @@ declare const AgentResponse: z.ZodObject<{
15041
15142
  } | undefined;
15042
15143
  }[] | undefined;
15043
15144
  }>>>;
15044
- }, z.core.$strip>;
15145
+ prompt: z.ZodNullable<z.ZodString>;
15146
+ stopWhen: z.ZodNullable<z.ZodType<{
15147
+ transferCountIs?: number | undefined;
15148
+ }, {
15149
+ transferCountIs?: number | undefined;
15150
+ }, z.core.$ZodTypeInternals<{
15151
+ transferCountIs?: number | undefined;
15152
+ }, {
15153
+ transferCountIs?: number | undefined;
15154
+ }>>>;
15155
+ projectId: z.ZodString;
15156
+ tenantId: z.ZodString;
15157
+ id: z.ZodString;
15158
+ }>, z.core.$strip>;
15045
15159
  }, z.core.$strip>;
15046
15160
  declare const ToolResponse: z.ZodObject<{
15047
- data: z.ZodObject<{
15048
- id: z.ZodString;
15161
+ data: z.ZodObject<OmitProjectScope<{
15162
+ createdAt: z.ZodString;
15163
+ updatedAt: z.ZodString;
15049
15164
  name: z.ZodString;
15050
15165
  description: z.ZodNullable<z.ZodString>;
15051
15166
  config: z.ZodType<{
@@ -15062,46 +15177,49 @@ declare const ToolResponse: z.ZodObject<{
15062
15177
  mcp: ToolMcpConfig;
15063
15178
  }>>;
15064
15179
  credentialReferenceId: z.ZodNullable<z.ZodString>;
15065
- createdAt: z.ZodString;
15066
- updatedAt: z.ZodString;
15067
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15068
15180
  credentialScope: z.ZodString;
15181
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15069
15182
  imageUrl: z.ZodNullable<z.ZodString>;
15070
15183
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15071
15184
  lastError: z.ZodNullable<z.ZodString>;
15072
- }, z.core.$strip>;
15185
+ projectId: z.ZodString;
15186
+ tenantId: z.ZodString;
15187
+ id: z.ZodString;
15188
+ }>, z.core.$strip>;
15073
15189
  }, z.core.$strip>;
15074
15190
  declare const ExternalAgentResponse: z.ZodObject<{
15075
- data: z.ZodObject<{
15076
- id: z.ZodString;
15077
- name: z.ZodString;
15078
- description: z.ZodNullable<z.ZodString>;
15079
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15191
+ data: z.ZodObject<OmitProjectScope<{
15080
15192
  createdAt: z.ZodString;
15081
15193
  updatedAt: z.ZodString;
15082
15194
  baseUrl: z.ZodString;
15083
- }, z.core.$strip>;
15195
+ name: z.ZodString;
15196
+ description: z.ZodNullable<z.ZodString>;
15197
+ projectId: z.ZodString;
15198
+ tenantId: z.ZodString;
15199
+ id: z.ZodString;
15200
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15201
+ }>, z.core.$strip>;
15084
15202
  }, z.core.$strip>;
15085
15203
  declare const ContextConfigResponse: z.ZodObject<{
15086
15204
  data: z.ZodObject<{
15087
15205
  id: z.ZodString;
15088
- createdAt: z.ZodString;
15089
- updatedAt: z.ZodString;
15090
15206
  headersSchema: z.ZodOptional<z.ZodAny>;
15091
15207
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
15208
+ createdAt: z.ZodString;
15209
+ updatedAt: z.ZodString;
15092
15210
  }, z.core.$strip>;
15093
15211
  }, z.core.$strip>;
15094
15212
  declare const ApiKeyResponse: z.ZodObject<{
15095
15213
  data: z.ZodObject<{
15096
- id: z.ZodString;
15097
15214
  name: z.ZodNullable<z.ZodString>;
15215
+ id: z.ZodString;
15216
+ createdAt: z.ZodString;
15217
+ updatedAt: z.ZodString;
15098
15218
  agentId: z.ZodString;
15099
15219
  publicId: z.ZodString;
15100
15220
  keyPrefix: z.ZodString;
15101
15221
  lastUsedAt: z.ZodNullable<z.ZodString>;
15102
15222
  expiresAt: z.ZodNullable<z.ZodString>;
15103
- createdAt: z.ZodString;
15104
- updatedAt: z.ZodString;
15105
15223
  }, {
15106
15224
  out: {};
15107
15225
  in: {};
@@ -15109,14 +15227,14 @@ declare const ApiKeyResponse: z.ZodObject<{
15109
15227
  }, z.core.$strip>;
15110
15228
  declare const CredentialReferenceResponse: z.ZodObject<{
15111
15229
  data: z.ZodObject<{
15112
- id: z.ZodString;
15113
15230
  name: z.ZodString;
15231
+ id: z.ZodString;
15114
15232
  createdAt: z.ZodString;
15115
15233
  updatedAt: z.ZodString;
15116
15234
  credentialStoreId: z.ZodString;
15117
15235
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15118
- userId: z.ZodNullable<z.ZodString>;
15119
15236
  toolId: z.ZodNullable<z.ZodString>;
15237
+ userId: z.ZodNullable<z.ZodString>;
15120
15238
  createdBy: z.ZodNullable<z.ZodString>;
15121
15239
  type: z.ZodEnum<{
15122
15240
  readonly memory: "memory";
@@ -15667,31 +15785,32 @@ declare const CredentialReferenceResponse: z.ZodObject<{
15667
15785
  }, z.core.$strip>;
15668
15786
  }, z.core.$strip>;
15669
15787
  declare const FunctionResponse: z.ZodObject<{
15670
- data: z.ZodObject<{
15671
- id: z.ZodString;
15788
+ data: z.ZodObject<OmitProjectScope<{
15672
15789
  createdAt: z.ZodString;
15673
15790
  updatedAt: z.ZodString;
15674
15791
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15675
15792
  executeCode: z.ZodString;
15676
15793
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15677
- }, z.core.$strip>;
15794
+ projectId: z.ZodString;
15795
+ tenantId: z.ZodString;
15796
+ id: z.ZodString;
15797
+ }>, z.core.$strip>;
15678
15798
  }, z.core.$strip>;
15679
15799
  declare const FunctionToolResponse: z.ZodObject<{
15680
- data: z.ZodObject<{
15681
- id: z.ZodString;
15682
- name: z.ZodString;
15683
- description: z.ZodNullable<z.ZodString>;
15684
- agentId: z.ZodString;
15800
+ data: z.ZodObject<OmitProjectScope<{
15685
15801
  createdAt: z.ZodString;
15686
15802
  updatedAt: z.ZodString;
15803
+ name: z.ZodString;
15804
+ description: z.ZodNullable<z.ZodString>;
15687
15805
  functionId: z.ZodString;
15688
- }, z.core.$strip>;
15806
+ agentId: z.ZodString;
15807
+ projectId: z.ZodString;
15808
+ tenantId: z.ZodString;
15809
+ id: z.ZodString;
15810
+ }>, z.core.$strip>;
15689
15811
  }, z.core.$strip>;
15690
15812
  declare const DataComponentResponse: z.ZodObject<{
15691
- data: z.ZodObject<{
15692
- id: z.ZodString;
15693
- name: z.ZodString;
15694
- description: z.ZodNullable<z.ZodString>;
15813
+ data: z.ZodObject<OmitProjectScope<{
15695
15814
  createdAt: z.ZodString;
15696
15815
  updatedAt: z.ZodString;
15697
15816
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -15708,13 +15827,15 @@ declare const DataComponentResponse: z.ZodObject<{
15708
15827
  component: string;
15709
15828
  mockData: Record<string, unknown>;
15710
15829
  }>>>;
15711
- }, z.core.$strip>;
15712
- }, z.core.$strip>;
15713
- declare const ArtifactComponentResponse: z.ZodObject<{
15714
- data: z.ZodObject<{
15715
- id: z.ZodString;
15716
15830
  name: z.ZodString;
15717
15831
  description: z.ZodNullable<z.ZodString>;
15832
+ projectId: z.ZodString;
15833
+ tenantId: z.ZodString;
15834
+ id: z.ZodString;
15835
+ }>, z.core.$strip>;
15836
+ }, z.core.$strip>;
15837
+ declare const ArtifactComponentResponse: z.ZodObject<{
15838
+ data: z.ZodObject<OmitProjectScope<{
15718
15839
  createdAt: z.ZodString;
15719
15840
  updatedAt: z.ZodString;
15720
15841
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -15731,72 +15852,87 @@ declare const ArtifactComponentResponse: z.ZodObject<{
15731
15852
  component: string;
15732
15853
  mockData: Record<string, unknown>;
15733
15854
  }>>>;
15734
- }, z.core.$strip>;
15855
+ name: z.ZodString;
15856
+ description: z.ZodNullable<z.ZodString>;
15857
+ projectId: z.ZodString;
15858
+ tenantId: z.ZodString;
15859
+ id: z.ZodString;
15860
+ }>, z.core.$strip>;
15735
15861
  }, z.core.$strip>;
15736
15862
  declare const SubAgentRelationResponse: z.ZodObject<{
15737
- data: z.ZodObject<{
15738
- id: z.ZodString;
15863
+ data: z.ZodObject<OmitAgentScope<{
15739
15864
  createdAt: z.ZodString;
15740
15865
  updatedAt: z.ZodString;
15741
15866
  sourceSubAgentId: z.ZodString;
15742
15867
  targetSubAgentId: z.ZodNullable<z.ZodString>;
15743
15868
  relationType: z.ZodNullable<z.ZodString>;
15744
- }, z.core.$strip>;
15869
+ agentId: z.ZodString;
15870
+ projectId: z.ZodString;
15871
+ tenantId: z.ZodString;
15872
+ id: z.ZodString;
15873
+ }>, z.core.$strip>;
15745
15874
  }, z.core.$strip>;
15746
15875
  declare const SubAgentToolRelationResponse: z.ZodObject<{
15747
- data: z.ZodObject<{
15748
- id: z.ZodString;
15876
+ data: z.ZodObject<OmitAgentScope<{
15749
15877
  createdAt: z.ZodString;
15750
15878
  updatedAt: z.ZodString;
15751
15879
  toolId: z.ZodString;
15880
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15752
15881
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15753
15882
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15754
15883
  subAgentId: z.ZodString;
15755
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15756
- }, z.core.$strip>;
15884
+ agentId: z.ZodString;
15885
+ projectId: z.ZodString;
15886
+ tenantId: z.ZodString;
15887
+ id: z.ZodString;
15888
+ }>, z.core.$strip>;
15757
15889
  }, z.core.$strip>;
15758
15890
  declare const ConversationResponse: z.ZodObject<{
15759
- data: z.ZodObject<{
15760
- id: z.ZodString;
15761
- title: z.ZodNullable<z.ZodString>;
15891
+ data: z.ZodObject<OmitProjectScope<{
15762
15892
  createdAt: z.ZodString;
15763
15893
  updatedAt: z.ZodString;
15764
15894
  userId: z.ZodNullable<z.ZodString>;
15765
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15766
15895
  activeSubAgentId: z.ZodString;
15896
+ title: z.ZodNullable<z.ZodString>;
15767
15897
  lastContextResolution: z.ZodNullable<z.ZodString>;
15768
- }, z.core.$strip>;
15898
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15899
+ projectId: z.ZodString;
15900
+ tenantId: z.ZodString;
15901
+ id: z.ZodString;
15902
+ }>, z.core.$strip>;
15769
15903
  }, z.core.$strip>;
15770
15904
  declare const MessageResponse: z.ZodObject<{
15771
- data: z.ZodObject<{
15772
- id: z.ZodString;
15905
+ data: z.ZodObject<OmitProjectScope<{
15773
15906
  createdAt: z.ZodString;
15774
15907
  updatedAt: z.ZodString;
15775
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15776
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15908
+ conversationId: z.ZodString;
15777
15909
  role: z.ZodString;
15778
15910
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15779
15911
  toSubAgentId: z.ZodNullable<z.ZodString>;
15780
15912
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
15781
15913
  toExternalAgentId: z.ZodNullable<z.ZodString>;
15782
- taskId: z.ZodNullable<z.ZodString>;
15783
- a2aTaskId: z.ZodNullable<z.ZodString>;
15784
- conversationId: z.ZodString;
15785
15914
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
15786
15915
  toTeamAgentId: z.ZodNullable<z.ZodString>;
15916
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15787
15917
  visibility: z.ZodString;
15788
15918
  messageType: z.ZodString;
15919
+ taskId: z.ZodNullable<z.ZodString>;
15789
15920
  parentMessageId: z.ZodNullable<z.ZodString>;
15921
+ a2aTaskId: z.ZodNullable<z.ZodString>;
15790
15922
  a2aSessionId: z.ZodNullable<z.ZodString>;
15791
- }, z.core.$strip>;
15923
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15924
+ projectId: z.ZodString;
15925
+ tenantId: z.ZodString;
15926
+ id: z.ZodString;
15927
+ }>, z.core.$strip>;
15792
15928
  }, z.core.$strip>;
15793
15929
  declare const ProjectListResponse: z.ZodObject<{
15794
15930
  data: z.ZodArray<z.ZodObject<{
15795
- id: z.ZodString;
15796
15931
  name: z.ZodString;
15797
- description: z.ZodNullable<z.ZodString>;
15932
+ id: z.ZodString;
15798
15933
  createdAt: z.ZodString;
15799
15934
  updatedAt: z.ZodString;
15935
+ description: z.ZodNullable<z.ZodString>;
15800
15936
  models: z.ZodNullable<z.ZodObject<{
15801
15937
  base: z.ZodObject<{
15802
15938
  model: z.ZodOptional<z.ZodString>;
@@ -15827,13 +15963,11 @@ declare const ProjectListResponse: z.ZodObject<{
15827
15963
  }, z.core.$strip>;
15828
15964
  }, z.core.$strip>;
15829
15965
  declare const SubAgentListResponse: z.ZodObject<{
15830
- data: z.ZodArray<z.ZodObject<{
15831
- id: z.ZodString;
15832
- name: z.ZodString;
15833
- description: z.ZodNullable<z.ZodString>;
15834
- prompt: z.ZodNullable<z.ZodString>;
15966
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
15835
15967
  createdAt: z.ZodString;
15836
15968
  updatedAt: z.ZodString;
15969
+ prompt: z.ZodNullable<z.ZodString>;
15970
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15837
15971
  models: z.ZodNullable<z.ZodType<{
15838
15972
  base?: {
15839
15973
  model?: string | undefined;
@@ -15896,8 +16030,13 @@ declare const SubAgentListResponse: z.ZodObject<{
15896
16030
  }, {
15897
16031
  stepCountIs?: number | undefined;
15898
16032
  }>>>;
15899
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15900
- }, z.core.$strip>>;
16033
+ name: z.ZodString;
16034
+ description: z.ZodNullable<z.ZodString>;
16035
+ agentId: z.ZodString;
16036
+ projectId: z.ZodString;
16037
+ tenantId: z.ZodString;
16038
+ id: z.ZodString;
16039
+ }>, z.core.$strip>>;
15901
16040
  pagination: z.ZodObject<{
15902
16041
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
15903
16042
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15906,13 +16045,13 @@ declare const SubAgentListResponse: z.ZodObject<{
15906
16045
  }, z.core.$strip>;
15907
16046
  }, z.core.$strip>;
15908
16047
  declare const AgentListResponse: z.ZodObject<{
15909
- data: z.ZodArray<z.ZodObject<{
15910
- id: z.ZodString;
15911
- name: z.ZodString;
15912
- description: z.ZodNullable<z.ZodString>;
15913
- prompt: z.ZodNullable<z.ZodString>;
16048
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
15914
16049
  createdAt: z.ZodString;
15915
16050
  updatedAt: z.ZodString;
16051
+ name: z.ZodString;
16052
+ description: z.ZodNullable<z.ZodString>;
16053
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
16054
+ contextConfigId: z.ZodNullable<z.ZodString>;
15916
16055
  models: z.ZodNullable<z.ZodType<{
15917
16056
  base?: {
15918
16057
  model?: string | undefined;
@@ -15966,17 +16105,6 @@ declare const AgentListResponse: z.ZodObject<{
15966
16105
  providerOptions?: Record<string, any> | undefined;
15967
16106
  } | undefined;
15968
16107
  }>>>;
15969
- stopWhen: z.ZodNullable<z.ZodType<{
15970
- transferCountIs?: number | undefined;
15971
- }, {
15972
- transferCountIs?: number | undefined;
15973
- }, z.core.$ZodTypeInternals<{
15974
- transferCountIs?: number | undefined;
15975
- }, {
15976
- transferCountIs?: number | undefined;
15977
- }>>>;
15978
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
15979
- contextConfigId: z.ZodNullable<z.ZodString>;
15980
16108
  statusUpdates: z.ZodNullable<z.ZodType<{
15981
16109
  enabled?: boolean | undefined;
15982
16110
  numEvents?: number | undefined;
@@ -16034,7 +16162,20 @@ declare const AgentListResponse: z.ZodObject<{
16034
16162
  } | undefined;
16035
16163
  }[] | undefined;
16036
16164
  }>>>;
16037
- }, z.core.$strip>>;
16165
+ prompt: z.ZodNullable<z.ZodString>;
16166
+ stopWhen: z.ZodNullable<z.ZodType<{
16167
+ transferCountIs?: number | undefined;
16168
+ }, {
16169
+ transferCountIs?: number | undefined;
16170
+ }, z.core.$ZodTypeInternals<{
16171
+ transferCountIs?: number | undefined;
16172
+ }, {
16173
+ transferCountIs?: number | undefined;
16174
+ }>>>;
16175
+ projectId: z.ZodString;
16176
+ tenantId: z.ZodString;
16177
+ id: z.ZodString;
16178
+ }>, z.core.$strip>>;
16038
16179
  pagination: z.ZodObject<{
16039
16180
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16040
16181
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16043,8 +16184,9 @@ declare const AgentListResponse: z.ZodObject<{
16043
16184
  }, z.core.$strip>;
16044
16185
  }, z.core.$strip>;
16045
16186
  declare const ToolListResponse: z.ZodObject<{
16046
- data: z.ZodArray<z.ZodObject<{
16047
- id: z.ZodString;
16187
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16188
+ createdAt: z.ZodString;
16189
+ updatedAt: z.ZodString;
16048
16190
  name: z.ZodString;
16049
16191
  description: z.ZodNullable<z.ZodString>;
16050
16192
  config: z.ZodType<{
@@ -16061,14 +16203,15 @@ declare const ToolListResponse: z.ZodObject<{
16061
16203
  mcp: ToolMcpConfig;
16062
16204
  }>>;
16063
16205
  credentialReferenceId: z.ZodNullable<z.ZodString>;
16064
- createdAt: z.ZodString;
16065
- updatedAt: z.ZodString;
16066
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
16067
16206
  credentialScope: z.ZodString;
16207
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
16068
16208
  imageUrl: z.ZodNullable<z.ZodString>;
16069
16209
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
16070
16210
  lastError: z.ZodNullable<z.ZodString>;
16071
- }, z.core.$strip>>;
16211
+ projectId: z.ZodString;
16212
+ tenantId: z.ZodString;
16213
+ id: z.ZodString;
16214
+ }>, z.core.$strip>>;
16072
16215
  pagination: z.ZodObject<{
16073
16216
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16074
16217
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16077,15 +16220,17 @@ declare const ToolListResponse: z.ZodObject<{
16077
16220
  }, z.core.$strip>;
16078
16221
  }, z.core.$strip>;
16079
16222
  declare const ExternalAgentListResponse: z.ZodObject<{
16080
- data: z.ZodArray<z.ZodObject<{
16081
- id: z.ZodString;
16082
- name: z.ZodString;
16083
- description: z.ZodNullable<z.ZodString>;
16084
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16223
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16085
16224
  createdAt: z.ZodString;
16086
16225
  updatedAt: z.ZodString;
16087
16226
  baseUrl: z.ZodString;
16088
- }, z.core.$strip>>;
16227
+ name: z.ZodString;
16228
+ description: z.ZodNullable<z.ZodString>;
16229
+ projectId: z.ZodString;
16230
+ tenantId: z.ZodString;
16231
+ id: z.ZodString;
16232
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16233
+ }>, z.core.$strip>>;
16089
16234
  pagination: z.ZodObject<{
16090
16235
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16091
16236
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16096,10 +16241,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
16096
16241
  declare const ContextConfigListResponse: z.ZodObject<{
16097
16242
  data: z.ZodArray<z.ZodObject<{
16098
16243
  id: z.ZodString;
16099
- createdAt: z.ZodString;
16100
- updatedAt: z.ZodString;
16101
16244
  headersSchema: z.ZodOptional<z.ZodAny>;
16102
16245
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
16246
+ createdAt: z.ZodString;
16247
+ updatedAt: z.ZodString;
16103
16248
  }, z.core.$strip>>;
16104
16249
  pagination: z.ZodObject<{
16105
16250
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16110,15 +16255,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
16110
16255
  }, z.core.$strip>;
16111
16256
  declare const ApiKeyListResponse: z.ZodObject<{
16112
16257
  data: z.ZodArray<z.ZodObject<{
16113
- id: z.ZodString;
16114
16258
  name: z.ZodNullable<z.ZodString>;
16259
+ id: z.ZodString;
16260
+ createdAt: z.ZodString;
16261
+ updatedAt: z.ZodString;
16115
16262
  agentId: z.ZodString;
16116
16263
  publicId: z.ZodString;
16117
16264
  keyPrefix: z.ZodString;
16118
16265
  lastUsedAt: z.ZodNullable<z.ZodString>;
16119
16266
  expiresAt: z.ZodNullable<z.ZodString>;
16120
- createdAt: z.ZodString;
16121
- updatedAt: z.ZodString;
16122
16267
  }, {
16123
16268
  out: {};
16124
16269
  in: {};
@@ -16132,14 +16277,14 @@ declare const ApiKeyListResponse: z.ZodObject<{
16132
16277
  }, z.core.$strip>;
16133
16278
  declare const CredentialReferenceListResponse: z.ZodObject<{
16134
16279
  data: z.ZodArray<z.ZodObject<{
16135
- id: z.ZodString;
16136
16280
  name: z.ZodString;
16281
+ id: z.ZodString;
16137
16282
  createdAt: z.ZodString;
16138
16283
  updatedAt: z.ZodString;
16139
16284
  credentialStoreId: z.ZodString;
16140
16285
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16141
- userId: z.ZodNullable<z.ZodString>;
16142
16286
  toolId: z.ZodNullable<z.ZodString>;
16287
+ userId: z.ZodNullable<z.ZodString>;
16143
16288
  createdBy: z.ZodNullable<z.ZodString>;
16144
16289
  type: z.ZodEnum<{
16145
16290
  readonly memory: "memory";
@@ -16696,14 +16841,16 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
16696
16841
  }, z.core.$strip>;
16697
16842
  }, z.core.$strip>;
16698
16843
  declare const FunctionListResponse: z.ZodObject<{
16699
- data: z.ZodArray<z.ZodObject<{
16700
- id: z.ZodString;
16844
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16701
16845
  createdAt: z.ZodString;
16702
16846
  updatedAt: z.ZodString;
16703
16847
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16704
16848
  executeCode: z.ZodString;
16705
16849
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
16706
- }, z.core.$strip>>;
16850
+ projectId: z.ZodString;
16851
+ tenantId: z.ZodString;
16852
+ id: z.ZodString;
16853
+ }>, z.core.$strip>>;
16707
16854
  pagination: z.ZodObject<{
16708
16855
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16709
16856
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16712,15 +16859,17 @@ declare const FunctionListResponse: z.ZodObject<{
16712
16859
  }, z.core.$strip>;
16713
16860
  }, z.core.$strip>;
16714
16861
  declare const FunctionToolListResponse: z.ZodObject<{
16715
- data: z.ZodArray<z.ZodObject<{
16716
- id: z.ZodString;
16717
- name: z.ZodString;
16718
- description: z.ZodNullable<z.ZodString>;
16719
- agentId: z.ZodString;
16862
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16720
16863
  createdAt: z.ZodString;
16721
16864
  updatedAt: z.ZodString;
16865
+ name: z.ZodString;
16866
+ description: z.ZodNullable<z.ZodString>;
16722
16867
  functionId: z.ZodString;
16723
- }, z.core.$strip>>;
16868
+ agentId: z.ZodString;
16869
+ projectId: z.ZodString;
16870
+ tenantId: z.ZodString;
16871
+ id: z.ZodString;
16872
+ }>, z.core.$strip>>;
16724
16873
  pagination: z.ZodObject<{
16725
16874
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16726
16875
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16729,10 +16878,7 @@ declare const FunctionToolListResponse: z.ZodObject<{
16729
16878
  }, z.core.$strip>;
16730
16879
  }, z.core.$strip>;
16731
16880
  declare const DataComponentListResponse: z.ZodObject<{
16732
- data: z.ZodArray<z.ZodObject<{
16733
- id: z.ZodString;
16734
- name: z.ZodString;
16735
- description: z.ZodNullable<z.ZodString>;
16881
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16736
16882
  createdAt: z.ZodString;
16737
16883
  updatedAt: z.ZodString;
16738
16884
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16749,7 +16895,12 @@ declare const DataComponentListResponse: z.ZodObject<{
16749
16895
  component: string;
16750
16896
  mockData: Record<string, unknown>;
16751
16897
  }>>>;
16752
- }, z.core.$strip>>;
16898
+ name: z.ZodString;
16899
+ description: z.ZodNullable<z.ZodString>;
16900
+ projectId: z.ZodString;
16901
+ tenantId: z.ZodString;
16902
+ id: z.ZodString;
16903
+ }>, z.core.$strip>>;
16753
16904
  pagination: z.ZodObject<{
16754
16905
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16755
16906
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16758,10 +16909,7 @@ declare const DataComponentListResponse: z.ZodObject<{
16758
16909
  }, z.core.$strip>;
16759
16910
  }, z.core.$strip>;
16760
16911
  declare const ArtifactComponentListResponse: z.ZodObject<{
16761
- data: z.ZodArray<z.ZodObject<{
16762
- id: z.ZodString;
16763
- name: z.ZodString;
16764
- description: z.ZodNullable<z.ZodString>;
16912
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16765
16913
  createdAt: z.ZodString;
16766
16914
  updatedAt: z.ZodString;
16767
16915
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16778,7 +16926,12 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
16778
16926
  component: string;
16779
16927
  mockData: Record<string, unknown>;
16780
16928
  }>>>;
16781
- }, z.core.$strip>>;
16929
+ name: z.ZodString;
16930
+ description: z.ZodNullable<z.ZodString>;
16931
+ projectId: z.ZodString;
16932
+ tenantId: z.ZodString;
16933
+ id: z.ZodString;
16934
+ }>, z.core.$strip>>;
16782
16935
  pagination: z.ZodObject<{
16783
16936
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16784
16937
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16787,14 +16940,17 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
16787
16940
  }, z.core.$strip>;
16788
16941
  }, z.core.$strip>;
16789
16942
  declare const SubAgentRelationListResponse: z.ZodObject<{
16790
- data: z.ZodArray<z.ZodObject<{
16791
- id: z.ZodString;
16943
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
16792
16944
  createdAt: z.ZodString;
16793
16945
  updatedAt: z.ZodString;
16794
16946
  sourceSubAgentId: z.ZodString;
16795
16947
  targetSubAgentId: z.ZodNullable<z.ZodString>;
16796
16948
  relationType: z.ZodNullable<z.ZodString>;
16797
- }, z.core.$strip>>;
16949
+ agentId: z.ZodString;
16950
+ projectId: z.ZodString;
16951
+ tenantId: z.ZodString;
16952
+ id: z.ZodString;
16953
+ }>, z.core.$strip>>;
16798
16954
  pagination: z.ZodObject<{
16799
16955
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16800
16956
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16803,16 +16959,19 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
16803
16959
  }, z.core.$strip>;
16804
16960
  }, z.core.$strip>;
16805
16961
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
16806
- data: z.ZodArray<z.ZodObject<{
16807
- id: z.ZodString;
16962
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
16808
16963
  createdAt: z.ZodString;
16809
16964
  updatedAt: z.ZodString;
16810
16965
  toolId: z.ZodString;
16966
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16811
16967
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16812
16968
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16813
16969
  subAgentId: z.ZodString;
16814
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16815
- }, z.core.$strip>>;
16970
+ agentId: z.ZodString;
16971
+ projectId: z.ZodString;
16972
+ tenantId: z.ZodString;
16973
+ id: z.ZodString;
16974
+ }>, z.core.$strip>>;
16816
16975
  pagination: z.ZodObject<{
16817
16976
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16818
16977
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16821,16 +16980,18 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
16821
16980
  }, z.core.$strip>;
16822
16981
  }, z.core.$strip>;
16823
16982
  declare const ConversationListResponse: z.ZodObject<{
16824
- data: z.ZodArray<z.ZodObject<{
16825
- id: z.ZodString;
16826
- title: z.ZodNullable<z.ZodString>;
16983
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16827
16984
  createdAt: z.ZodString;
16828
16985
  updatedAt: z.ZodString;
16829
16986
  userId: z.ZodNullable<z.ZodString>;
16830
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16831
16987
  activeSubAgentId: z.ZodString;
16988
+ title: z.ZodNullable<z.ZodString>;
16832
16989
  lastContextResolution: z.ZodNullable<z.ZodString>;
16833
- }, z.core.$strip>>;
16990
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16991
+ projectId: z.ZodString;
16992
+ tenantId: z.ZodString;
16993
+ id: z.ZodString;
16994
+ }>, z.core.$strip>>;
16834
16995
  pagination: z.ZodObject<{
16835
16996
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16836
16997
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16839,27 +17000,29 @@ declare const ConversationListResponse: z.ZodObject<{
16839
17000
  }, z.core.$strip>;
16840
17001
  }, z.core.$strip>;
16841
17002
  declare const MessageListResponse: z.ZodObject<{
16842
- data: z.ZodArray<z.ZodObject<{
16843
- id: z.ZodString;
17003
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16844
17004
  createdAt: z.ZodString;
16845
17005
  updatedAt: z.ZodString;
16846
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
16847
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
17006
+ conversationId: z.ZodString;
16848
17007
  role: z.ZodString;
16849
17008
  fromSubAgentId: z.ZodNullable<z.ZodString>;
16850
17009
  toSubAgentId: z.ZodNullable<z.ZodString>;
16851
17010
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
16852
17011
  toExternalAgentId: z.ZodNullable<z.ZodString>;
16853
- taskId: z.ZodNullable<z.ZodString>;
16854
- a2aTaskId: z.ZodNullable<z.ZodString>;
16855
- conversationId: z.ZodString;
16856
17012
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
16857
17013
  toTeamAgentId: z.ZodNullable<z.ZodString>;
17014
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16858
17015
  visibility: z.ZodString;
16859
17016
  messageType: z.ZodString;
17017
+ taskId: z.ZodNullable<z.ZodString>;
16860
17018
  parentMessageId: z.ZodNullable<z.ZodString>;
17019
+ a2aTaskId: z.ZodNullable<z.ZodString>;
16861
17020
  a2aSessionId: z.ZodNullable<z.ZodString>;
16862
- }, z.core.$strip>>;
17021
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
17022
+ projectId: z.ZodString;
17023
+ tenantId: z.ZodString;
17024
+ id: z.ZodString;
17025
+ }>, z.core.$strip>>;
16863
17026
  pagination: z.ZodObject<{
16864
17027
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16865
17028
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16868,28 +17031,37 @@ declare const MessageListResponse: z.ZodObject<{
16868
17031
  }, z.core.$strip>;
16869
17032
  }, z.core.$strip>;
16870
17033
  declare const SubAgentDataComponentResponse: z.ZodObject<{
16871
- data: z.ZodObject<{
16872
- id: z.ZodString;
17034
+ data: z.ZodObject<OmitAgentScope<{
17035
+ dataComponentId: z.ZodString;
16873
17036
  createdAt: z.ZodString;
16874
17037
  subAgentId: z.ZodString;
16875
- dataComponentId: z.ZodString;
16876
- }, z.core.$strip>;
17038
+ agentId: z.ZodString;
17039
+ projectId: z.ZodString;
17040
+ tenantId: z.ZodString;
17041
+ id: z.ZodString;
17042
+ }>, z.core.$strip>;
16877
17043
  }, z.core.$strip>;
16878
17044
  declare const SubAgentArtifactComponentResponse: z.ZodObject<{
16879
- data: z.ZodObject<{
16880
- id: z.ZodString;
17045
+ data: z.ZodObject<OmitAgentScope<{
17046
+ artifactComponentId: z.ZodString;
16881
17047
  createdAt: z.ZodString;
16882
17048
  subAgentId: z.ZodString;
16883
- artifactComponentId: z.ZodString;
16884
- }, z.core.$strip>;
17049
+ agentId: z.ZodString;
17050
+ projectId: z.ZodString;
17051
+ tenantId: z.ZodString;
17052
+ id: z.ZodString;
17053
+ }>, z.core.$strip>;
16885
17054
  }, z.core.$strip>;
16886
17055
  declare const SubAgentDataComponentListResponse: z.ZodObject<{
16887
- data: z.ZodArray<z.ZodObject<{
16888
- id: z.ZodString;
17056
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17057
+ dataComponentId: z.ZodString;
16889
17058
  createdAt: z.ZodString;
16890
17059
  subAgentId: z.ZodString;
16891
- dataComponentId: z.ZodString;
16892
- }, z.core.$strip>>;
17060
+ agentId: z.ZodString;
17061
+ projectId: z.ZodString;
17062
+ tenantId: z.ZodString;
17063
+ id: z.ZodString;
17064
+ }>, z.core.$strip>>;
16893
17065
  pagination: z.ZodObject<{
16894
17066
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16895
17067
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16898,12 +17070,15 @@ declare const SubAgentDataComponentListResponse: z.ZodObject<{
16898
17070
  }, z.core.$strip>;
16899
17071
  }, z.core.$strip>;
16900
17072
  declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16901
- data: z.ZodArray<z.ZodObject<{
16902
- id: z.ZodString;
17073
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17074
+ artifactComponentId: z.ZodString;
16903
17075
  createdAt: z.ZodString;
16904
17076
  subAgentId: z.ZodString;
16905
- artifactComponentId: z.ZodString;
16906
- }, z.core.$strip>>;
17077
+ agentId: z.ZodString;
17078
+ projectId: z.ZodString;
17079
+ tenantId: z.ZodString;
17080
+ id: z.ZodString;
17081
+ }>, z.core.$strip>>;
16907
17082
  pagination: z.ZodObject<{
16908
17083
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16909
17084
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16913,8 +17088,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16913
17088
  }, z.core.$strip>;
16914
17089
  declare const FullProjectDefinitionResponse: z.ZodObject<{
16915
17090
  data: z.ZodObject<{
16916
- id: z.ZodString;
16917
17091
  name: z.ZodString;
17092
+ id: z.ZodString;
16918
17093
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16919
17094
  models: z.ZodObject<{
16920
17095
  base: z.ZodObject<{
@@ -16936,18 +17111,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16936
17111
  }, z.core.$strip>>;
16937
17112
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
16938
17113
  name: z.ZodString;
16939
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16940
17114
  createdAt: z.ZodOptional<z.ZodString>;
16941
17115
  updatedAt: z.ZodOptional<z.ZodString>;
17116
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16942
17117
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16943
17118
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16944
17119
  id: z.ZodString;
16945
17120
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16946
- id: z.ZodString;
16947
17121
  name: z.ZodString;
16948
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17122
+ id: z.ZodString;
16949
17123
  createdAt: z.ZodOptional<z.ZodString>;
16950
17124
  updatedAt: z.ZodOptional<z.ZodString>;
17125
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16951
17126
  models: z.ZodOptional<z.ZodObject<{
16952
17127
  base: z.ZodOptional<z.ZodObject<{
16953
17128
  model: z.ZodOptional<z.ZodString>;
@@ -16996,10 +17171,20 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16996
17171
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
16997
17172
  }, z.core.$strip>]>>>;
16998
17173
  }, z.core.$strip>>;
16999
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17000
- id: z.ZodString;
17174
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17175
+ createdAt: z.ZodOptional<z.ZodString>;
17176
+ updatedAt: z.ZodOptional<z.ZodString>;
17001
17177
  name: z.ZodString;
17002
17178
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17179
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17180
+ credentialScope: z.ZodOptional<z.ZodString>;
17181
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17182
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17183
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17184
+ projectId: z.ZodString;
17185
+ tenantId: z.ZodString;
17186
+ id: z.ZodString;
17187
+ imageUrl: z.ZodOptional<z.ZodString>;
17003
17188
  config: z.ZodObject<{
17004
17189
  type: z.ZodLiteral<"mcp">;
17005
17190
  mcp: z.ZodObject<{
@@ -17019,45 +17204,44 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17019
17204
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17020
17205
  }, z.core.$strip>;
17021
17206
  }, z.core.$strip>;
17022
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17207
+ }>, z.core.$strip>>>;
17208
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17023
17209
  createdAt: z.ZodOptional<z.ZodString>;
17024
17210
  updatedAt: z.ZodOptional<z.ZodString>;
17025
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17026
- credentialScope: z.ZodOptional<z.ZodString>;
17027
- imageUrl: z.ZodOptional<z.ZodString>;
17028
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17029
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17030
- }, z.core.$strip>>>;
17031
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17032
- id: z.ZodString;
17211
+ baseUrl: z.ZodString;
17212
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17033
17213
  name: z.ZodString;
17034
17214
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17035
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17036
- createdAt: z.ZodOptional<z.ZodString>;
17037
- updatedAt: z.ZodOptional<z.ZodString>;
17038
- baseUrl: z.ZodString;
17039
- }, z.core.$strip>>>;
17215
+ projectId: z.ZodString;
17216
+ tenantId: z.ZodString;
17217
+ id: z.ZodString;
17218
+ }>, z.core.$strip>>>;
17040
17219
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17041
17220
  id: z.ZodString;
17042
17221
  name: z.ZodString;
17043
17222
  description: z.ZodString;
17044
17223
  }, z.core.$strip>>>;
17045
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17046
- id: z.ZodString;
17047
- name: z.ZodString;
17048
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17224
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
17049
17225
  createdAt: z.ZodOptional<z.ZodString>;
17050
17226
  updatedAt: z.ZodOptional<z.ZodString>;
17227
+ name: z.ZodString;
17228
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17051
17229
  functionId: z.ZodString;
17052
- }, z.core.$strip>>>;
17053
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17230
+ agentId: z.ZodString;
17231
+ projectId: z.ZodString;
17232
+ tenantId: z.ZodString;
17054
17233
  id: z.ZodString;
17234
+ }>, z.core.$strip>>>;
17235
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17055
17236
  createdAt: z.ZodOptional<z.ZodString>;
17056
17237
  updatedAt: z.ZodOptional<z.ZodString>;
17057
17238
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17058
17239
  executeCode: z.ZodString;
17059
17240
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17060
- }, z.core.$strip>>>;
17241
+ projectId: z.ZodString;
17242
+ tenantId: z.ZodString;
17243
+ id: z.ZodString;
17244
+ }>, z.core.$strip>>>;
17061
17245
  contextConfig: z.ZodOptional<z.ZodObject<{
17062
17246
  id: z.ZodOptional<z.ZodString>;
17063
17247
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -17097,10 +17281,20 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17097
17281
  }, z.core.$strip>>;
17098
17282
  prompt: z.ZodOptional<z.ZodString>;
17099
17283
  }, z.core.$strip>>;
17100
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
17101
- id: z.ZodString;
17284
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17285
+ createdAt: z.ZodOptional<z.ZodString>;
17286
+ updatedAt: z.ZodOptional<z.ZodString>;
17102
17287
  name: z.ZodString;
17103
17288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17289
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17290
+ credentialScope: z.ZodOptional<z.ZodString>;
17291
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17292
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17293
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17294
+ projectId: z.ZodString;
17295
+ tenantId: z.ZodString;
17296
+ id: z.ZodString;
17297
+ imageUrl: z.ZodOptional<z.ZodString>;
17104
17298
  config: z.ZodObject<{
17105
17299
  type: z.ZodLiteral<"mcp">;
17106
17300
  mcp: z.ZodObject<{
@@ -17120,35 +17314,29 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17120
17314
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17121
17315
  }, z.core.$strip>;
17122
17316
  }, z.core.$strip>;
17123
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17317
+ }>, z.core.$strip>>;
17318
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
17124
17319
  createdAt: z.ZodOptional<z.ZodString>;
17125
17320
  updatedAt: z.ZodOptional<z.ZodString>;
17126
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17127
- credentialScope: z.ZodOptional<z.ZodString>;
17128
- imageUrl: z.ZodOptional<z.ZodString>;
17129
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17130
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17131
- }, z.core.$strip>>;
17132
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17133
- id: z.ZodString;
17134
17321
  name: z.ZodString;
17135
17322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17136
- createdAt: z.ZodOptional<z.ZodString>;
17137
- updatedAt: z.ZodOptional<z.ZodString>;
17138
17323
  functionId: z.ZodString;
17139
- }, z.core.$strip>>>;
17140
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17324
+ agentId: z.ZodString;
17325
+ projectId: z.ZodString;
17326
+ tenantId: z.ZodString;
17141
17327
  id: z.ZodString;
17328
+ }>, z.core.$strip>>>;
17329
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17142
17330
  createdAt: z.ZodOptional<z.ZodString>;
17143
17331
  updatedAt: z.ZodOptional<z.ZodString>;
17144
17332
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17145
17333
  executeCode: z.ZodString;
17146
17334
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17147
- }, z.core.$strip>>>;
17148
- dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17335
+ projectId: z.ZodString;
17336
+ tenantId: z.ZodString;
17149
17337
  id: z.ZodString;
17150
- name: z.ZodString;
17151
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17338
+ }>, z.core.$strip>>>;
17339
+ dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17152
17340
  createdAt: z.ZodOptional<z.ZodString>;
17153
17341
  updatedAt: z.ZodOptional<z.ZodString>;
17154
17342
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -17165,10 +17353,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17165
17353
  component: string;
17166
17354
  mockData: Record<string, unknown>;
17167
17355
  }>>>>;
17168
- }, z.core.$strip>>>;
17169
- artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17356
+ name: z.ZodString;
17357
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17358
+ projectId: z.ZodString;
17359
+ tenantId: z.ZodString;
17170
17360
  id: z.ZodString;
17361
+ }>, z.core.$strip>>>;
17362
+ artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17171
17363
  name: z.ZodString;
17364
+ id: z.ZodString;
17172
17365
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17173
17366
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17174
17367
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -17188,15 +17381,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17188
17381
  out: {};
17189
17382
  in: {};
17190
17383
  }>>>;
17191
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17192
- id: z.ZodString;
17193
- name: z.ZodString;
17194
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17195
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17384
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17196
17385
  createdAt: z.ZodOptional<z.ZodString>;
17197
17386
  updatedAt: z.ZodOptional<z.ZodString>;
17198
17387
  baseUrl: z.ZodString;
17199
- }, z.core.$strip>>>;
17388
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17389
+ name: z.ZodString;
17390
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17391
+ projectId: z.ZodString;
17392
+ tenantId: z.ZodString;
17393
+ id: z.ZodString;
17394
+ }>, z.core.$strip>>>;
17200
17395
  statusUpdates: z.ZodOptional<z.ZodObject<{
17201
17396
  enabled: z.ZodOptional<z.ZodBoolean>;
17202
17397
  numEvents: z.ZodOptional<z.ZodNumber>;
@@ -17213,14 +17408,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17213
17408
  }, z.core.$strip>>>;
17214
17409
  }, z.core.$strip>>;
17215
17410
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17216
- id: z.ZodString;
17217
17411
  name: z.ZodString;
17412
+ id: z.ZodString;
17218
17413
  createdAt: z.ZodOptional<z.ZodString>;
17219
17414
  updatedAt: z.ZodOptional<z.ZodString>;
17220
17415
  credentialStoreId: z.ZodString;
17221
17416
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17222
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17223
17417
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17418
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17224
17419
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17225
17420
  type: z.ZodEnum<{
17226
17421
  readonly memory: "memory";
@@ -17238,18 +17433,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17238
17433
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17239
17434
  data: z.ZodObject<{
17240
17435
  name: z.ZodString;
17241
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17242
17436
  createdAt: z.ZodOptional<z.ZodString>;
17243
17437
  updatedAt: z.ZodOptional<z.ZodString>;
17438
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17244
17439
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17245
17440
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17246
17441
  id: z.ZodString;
17247
17442
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
17248
- id: z.ZodString;
17249
17443
  name: z.ZodString;
17250
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17444
+ id: z.ZodString;
17251
17445
  createdAt: z.ZodOptional<z.ZodString>;
17252
17446
  updatedAt: z.ZodOptional<z.ZodString>;
17447
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17253
17448
  models: z.ZodOptional<z.ZodObject<{
17254
17449
  base: z.ZodOptional<z.ZodObject<{
17255
17450
  model: z.ZodOptional<z.ZodString>;
@@ -17298,10 +17493,20 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17298
17493
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
17299
17494
  }, z.core.$strip>]>>>;
17300
17495
  }, z.core.$strip>>;
17301
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17302
- id: z.ZodString;
17496
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17497
+ createdAt: z.ZodOptional<z.ZodString>;
17498
+ updatedAt: z.ZodOptional<z.ZodString>;
17303
17499
  name: z.ZodString;
17304
17500
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17501
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17502
+ credentialScope: z.ZodOptional<z.ZodString>;
17503
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17504
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17505
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17506
+ projectId: z.ZodString;
17507
+ tenantId: z.ZodString;
17508
+ id: z.ZodString;
17509
+ imageUrl: z.ZodOptional<z.ZodString>;
17305
17510
  config: z.ZodObject<{
17306
17511
  type: z.ZodLiteral<"mcp">;
17307
17512
  mcp: z.ZodObject<{
@@ -17321,45 +17526,44 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17321
17526
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17322
17527
  }, z.core.$strip>;
17323
17528
  }, z.core.$strip>;
17324
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17529
+ }>, z.core.$strip>>>;
17530
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17325
17531
  createdAt: z.ZodOptional<z.ZodString>;
17326
17532
  updatedAt: z.ZodOptional<z.ZodString>;
17327
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17328
- credentialScope: z.ZodOptional<z.ZodString>;
17329
- imageUrl: z.ZodOptional<z.ZodString>;
17330
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17331
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17332
- }, z.core.$strip>>>;
17333
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17334
- id: z.ZodString;
17533
+ baseUrl: z.ZodString;
17534
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17335
17535
  name: z.ZodString;
17336
17536
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17337
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17338
- createdAt: z.ZodOptional<z.ZodString>;
17339
- updatedAt: z.ZodOptional<z.ZodString>;
17340
- baseUrl: z.ZodString;
17341
- }, z.core.$strip>>>;
17537
+ projectId: z.ZodString;
17538
+ tenantId: z.ZodString;
17539
+ id: z.ZodString;
17540
+ }>, z.core.$strip>>>;
17342
17541
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17343
17542
  id: z.ZodString;
17344
17543
  name: z.ZodString;
17345
17544
  description: z.ZodString;
17346
17545
  }, z.core.$strip>>>;
17347
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17348
- id: z.ZodString;
17349
- name: z.ZodString;
17350
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17546
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
17351
17547
  createdAt: z.ZodOptional<z.ZodString>;
17352
17548
  updatedAt: z.ZodOptional<z.ZodString>;
17549
+ name: z.ZodString;
17550
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17353
17551
  functionId: z.ZodString;
17354
- }, z.core.$strip>>>;
17355
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17552
+ agentId: z.ZodString;
17553
+ projectId: z.ZodString;
17554
+ tenantId: z.ZodString;
17356
17555
  id: z.ZodString;
17556
+ }>, z.core.$strip>>>;
17557
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17357
17558
  createdAt: z.ZodOptional<z.ZodString>;
17358
17559
  updatedAt: z.ZodOptional<z.ZodString>;
17359
17560
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17360
17561
  executeCode: z.ZodString;
17361
17562
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17362
- }, z.core.$strip>>>;
17563
+ projectId: z.ZodString;
17564
+ tenantId: z.ZodString;
17565
+ id: z.ZodString;
17566
+ }>, z.core.$strip>>>;
17363
17567
  contextConfig: z.ZodOptional<z.ZodObject<{
17364
17568
  id: z.ZodOptional<z.ZodString>;
17365
17569
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -17534,24 +17738,30 @@ declare const McpToolListResponse: z.ZodObject<{
17534
17738
  }, z.core.$strip>;
17535
17739
  }, z.core.$strip>;
17536
17740
  declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
17537
- data: z.ZodObject<{
17538
- id: z.ZodString;
17741
+ data: z.ZodObject<OmitAgentScope<{
17539
17742
  createdAt: z.ZodString;
17540
17743
  updatedAt: z.ZodString;
17744
+ targetAgentId: z.ZodString;
17541
17745
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17542
17746
  subAgentId: z.ZodString;
17543
- targetAgentId: z.ZodString;
17544
- }, z.core.$strip>;
17747
+ agentId: z.ZodString;
17748
+ projectId: z.ZodString;
17749
+ tenantId: z.ZodString;
17750
+ id: z.ZodString;
17751
+ }>, z.core.$strip>;
17545
17752
  }, z.core.$strip>;
17546
17753
  declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
17547
- data: z.ZodArray<z.ZodObject<{
17548
- id: z.ZodString;
17754
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17549
17755
  createdAt: z.ZodString;
17550
17756
  updatedAt: z.ZodString;
17757
+ targetAgentId: z.ZodString;
17551
17758
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17552
17759
  subAgentId: z.ZodString;
17553
- targetAgentId: z.ZodString;
17554
- }, z.core.$strip>>;
17760
+ agentId: z.ZodString;
17761
+ projectId: z.ZodString;
17762
+ tenantId: z.ZodString;
17763
+ id: z.ZodString;
17764
+ }>, z.core.$strip>>;
17555
17765
  pagination: z.ZodObject<{
17556
17766
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
17557
17767
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -17560,24 +17770,30 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
17560
17770
  }, z.core.$strip>;
17561
17771
  }, z.core.$strip>;
17562
17772
  declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
17563
- data: z.ZodObject<{
17564
- id: z.ZodString;
17773
+ data: z.ZodObject<OmitAgentScope<{
17565
17774
  createdAt: z.ZodString;
17566
17775
  updatedAt: z.ZodString;
17567
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17568
17776
  externalAgentId: z.ZodString;
17777
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17569
17778
  subAgentId: z.ZodString;
17570
- }, z.core.$strip>;
17779
+ agentId: z.ZodString;
17780
+ projectId: z.ZodString;
17781
+ tenantId: z.ZodString;
17782
+ id: z.ZodString;
17783
+ }>, z.core.$strip>;
17571
17784
  }, z.core.$strip>;
17572
17785
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17573
- data: z.ZodArray<z.ZodObject<{
17574
- id: z.ZodString;
17786
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17575
17787
  createdAt: z.ZodString;
17576
17788
  updatedAt: z.ZodString;
17577
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17578
17789
  externalAgentId: z.ZodString;
17790
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17579
17791
  subAgentId: z.ZodString;
17580
- }, z.core.$strip>>;
17792
+ agentId: z.ZodString;
17793
+ projectId: z.ZodString;
17794
+ tenantId: z.ZodString;
17795
+ id: z.ZodString;
17796
+ }>, z.core.$strip>>;
17581
17797
  pagination: z.ZodObject<{
17582
17798
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
17583
17799
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -17586,10 +17802,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17586
17802
  }, z.core.$strip>;
17587
17803
  }, z.core.$strip>;
17588
17804
  declare const DataComponentArrayResponse: z.ZodObject<{
17589
- data: z.ZodArray<z.ZodObject<{
17590
- id: z.ZodString;
17591
- name: z.ZodString;
17592
- description: z.ZodNullable<z.ZodString>;
17805
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
17593
17806
  createdAt: z.ZodString;
17594
17807
  updatedAt: z.ZodString;
17595
17808
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -17606,13 +17819,15 @@ declare const DataComponentArrayResponse: z.ZodObject<{
17606
17819
  component: string;
17607
17820
  mockData: Record<string, unknown>;
17608
17821
  }>>>;
17609
- }, z.core.$strip>>;
17610
- }, z.core.$strip>;
17611
- declare const ArtifactComponentArrayResponse: z.ZodObject<{
17612
- data: z.ZodArray<z.ZodObject<{
17613
- id: z.ZodString;
17614
17822
  name: z.ZodString;
17615
17823
  description: z.ZodNullable<z.ZodString>;
17824
+ projectId: z.ZodString;
17825
+ tenantId: z.ZodString;
17826
+ id: z.ZodString;
17827
+ }>, z.core.$strip>>;
17828
+ }, z.core.$strip>;
17829
+ declare const ArtifactComponentArrayResponse: z.ZodObject<{
17830
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
17616
17831
  createdAt: z.ZodString;
17617
17832
  updatedAt: z.ZodString;
17618
17833
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -17629,7 +17844,12 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
17629
17844
  component: string;
17630
17845
  mockData: Record<string, unknown>;
17631
17846
  }>>>;
17632
- }, z.core.$strip>>;
17847
+ name: z.ZodString;
17848
+ description: z.ZodNullable<z.ZodString>;
17849
+ projectId: z.ZodString;
17850
+ tenantId: z.ZodString;
17851
+ id: z.ZodString;
17852
+ }>, z.core.$strip>>;
17633
17853
  }, z.core.$strip>;
17634
17854
  declare const HeadersScopeSchema: z.ZodObject<{
17635
17855
  'x-inkeep-tenant-id': z.ZodOptional<z.ZodString>;