@mdxui/do 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +80 -275
  2. package/dist/app/index.d.ts +125 -125
  3. package/dist/app/index.js +8 -7
  4. package/dist/breadcrumbs-C9Qn3S7d.d.ts +81 -0
  5. package/dist/capnweb-client-Bq78FtEA.d.ts +229 -0
  6. package/dist/chunk-3XKYQRXY.js +192 -0
  7. package/dist/chunk-3XKYQRXY.js.map +1 -0
  8. package/dist/{chunk-JWKIONEO.js → chunk-5SHZZC7L.js} +3 -3
  9. package/dist/{chunk-JWKIONEO.js.map → chunk-5SHZZC7L.js.map} +1 -1
  10. package/dist/{chunk-YGIBMNRH.js → chunk-7UFINK3Q.js} +30 -27
  11. package/dist/chunk-7UFINK3Q.js.map +1 -0
  12. package/dist/{chunk-5AWTQDRF.js → chunk-JJLAES6W.js} +2 -2
  13. package/dist/{chunk-5AWTQDRF.js.map → chunk-JJLAES6W.js.map} +1 -1
  14. package/dist/{chunk-NTSEARBC.js → chunk-KT52UU3U.js} +473 -203
  15. package/dist/chunk-KT52UU3U.js.map +1 -0
  16. package/dist/{chunk-EQVOEEQO.js → chunk-LJIWB7KE.js} +2 -2
  17. package/dist/{chunk-EQVOEEQO.js.map → chunk-LJIWB7KE.js.map} +1 -1
  18. package/dist/{chunk-IESVTECE.js → chunk-NA652ART.js} +64 -4
  19. package/dist/chunk-NA652ART.js.map +1 -0
  20. package/dist/chunk-OVLO7UOH.js +1071 -0
  21. package/dist/chunk-OVLO7UOH.js.map +1 -0
  22. package/dist/chunk-WMNT4OIE.js +249 -0
  23. package/dist/chunk-WMNT4OIE.js.map +1 -0
  24. package/dist/components/index.d.ts +20 -1
  25. package/dist/components/index.js +2 -1
  26. package/dist/{config-CmZBQQaT.d.ts → config-CxvpD8Y6.d.ts} +2 -13
  27. package/dist/{do-C-t9UgjT.d.ts → do-D27i5bU0.d.ts} +2 -1
  28. package/dist/{errors-B4Oyyj4Z.d.ts → errors-DratdVIz.d.ts} +1 -1
  29. package/dist/hooks/index.d.ts +30 -3
  30. package/dist/hooks/index.js +4 -4
  31. package/dist/hooks/things/index.d.ts +2 -2
  32. package/dist/hooks/things/index.js +3 -3
  33. package/dist/index.d.ts +76 -14
  34. package/dist/index.js +9 -8
  35. package/dist/lib/index.d.ts +703 -5
  36. package/dist/lib/index.js +2 -2
  37. package/dist/providers/index.d.ts +7 -123
  38. package/dist/providers/index.js +2 -2
  39. package/dist/{query-keys-BC901wog.d.ts → query-keys-CZNFikIi.d.ts} +3 -3
  40. package/dist/schemas/index.d.ts +5 -5
  41. package/dist/{thing-BVhCTzOi.d.ts → thing-BF25aUtJ.d.ts} +68 -68
  42. package/dist/types/index.d.ts +445 -445
  43. package/dist/views/index.d.ts +1 -1
  44. package/dist/views/index.js +6 -6
  45. package/package.json +2 -2
  46. package/dist/chunk-FO3N7SXV.js +0 -469
  47. package/dist/chunk-FO3N7SXV.js.map +0 -1
  48. package/dist/chunk-IESVTECE.js.map +0 -1
  49. package/dist/chunk-NTSEARBC.js.map +0 -1
  50. package/dist/chunk-OWEAW4U6.js +0 -116
  51. package/dist/chunk-OWEAW4U6.js.map +0 -1
  52. package/dist/chunk-YGIBMNRH.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { ExecutionError, TokenUsage, EntityReference, SortDirection } from '../schemas/index.js';
2
2
  export { PaginatedResponse, Pagination } from '../schemas/index.js';
3
- export { i as DOAdminConfig, c as DOAlarm, e as DOBinding, a as DOClassType, g as DOHealthCheck, b as DOInstance, h as DOMetrics, f as DORPCMethod, D as DOStatus, d as DOStorageEntry, S as SyncStatus } from '../do-C-t9UgjT.js';
4
- export { N as Namespace, b as SemanticProperty, S as SemanticType, T as Thing, g as ThingCreateInput, a as ThingData, i as ThingDeleteOptions, c as ThingFilter, e as ThingPagination, f as ThingQueryResult, d as ThingSort, h as ThingUpdateInput, j as ThingVersion, k as TypeStats } from '../thing-BVhCTzOi.js';
3
+ export { i as DOAdminConfig, c as DOAlarm, e as DOBinding, a as DOClassType, g as DOHealthCheck, b as DOInstance, h as DOMetrics, f as DORPCMethod, D as DOStatus, d as DOStorageEntry, S as SyncStatus } from '../do-D27i5bU0.js';
4
+ export { N as Namespace, b as SemanticProperty, S as SemanticType, T as Thing, g as ThingCreateInput, a as ThingData, i as ThingDeleteOptions, c as ThingFilter, e as ThingPagination, f as ThingQueryResult, d as ThingSort, h as ThingUpdateInput, j as ThingVersion, k as TypeStats } from '../thing-BF25aUtJ.js';
5
5
  export { A as AIStepConfig, I as Agent, a0 as AgentArtifact, L as AgentClassification, Y as AgentExecution, a6 as AgentExecutionFilter, Z as AgentExecutionStatus, a4 as AgentFeedback, a5 as AgentFilter, Q as AgentGuardrail, a2 as AgentHandoff, _ as AgentInput, X as AgentMetrics, $ as AgentOutput, V as AgentStatus, a1 as AgentTrace, J as AgentType, O as CharacterBible, C as ChoiceCondition, t as CompensationConfig, D as DatabaseStepConfig, s as ErrorHandlingConfig, q as EventStepConfig, E as EventTrigger, y as ExecutionContext, F as ExecutionFilter, v as ExecutionStatus, g as GraphPath, G as GraphPattern, h as GraphStats, f as GraphTraversalResult, a3 as GuardrailViolation, U as HandoffRule, H as HttpStepConfig, M as ManualTrigger, N as NotificationConfig, P as PredicateDefinition, R as Relationship, d as RelationshipCreateInput, e as RelationshipFilter, b as RelationshipMetadata, r as RetryConfig, K as RoleCategory, k as ScheduleTrigger, a as SemanticPredicate, S as SemanticPredicateCategory, c as SemanticTriple, p as StepConfig, z as StepExecution, n as StepType, j as TriggerBase, x as TriggerData, T as TriggerType, l as WebhookTrigger, i as Workflow, u as WorkflowConfig, w as WorkflowExecution, B as WorkflowFilter, W as WorkflowStatus, o as WorkflowStep, m as WorkflowTrigger } from '../agents-2_r9e9i7.js';
6
6
  import { z } from 'zod';
7
7
  import { ComponentType, ReactNode } from 'react';
8
- export { a as DOBranding, c as DOCustomRoute, D as DOIdentity, d as DOShellConfig, e as DOShellContextValue, b as DOTheme } from '../config-CmZBQQaT.js';
8
+ export { a as DOBranding, c as DOCustomRoute, D as DOIdentity, d as DOShellConfig, b as DOTheme } from '../config-CxvpD8Y6.js';
9
9
 
10
10
  /**
11
11
  * Filter Types for @mdxui/do
@@ -2723,11 +2723,11 @@ declare const ThingSortSchema: z.ZodObject<{
2723
2723
  /** Sort direction */
2724
2724
  order: z.ZodEnum<["asc", "desc"]>;
2725
2725
  }, "strip", z.ZodTypeAny, {
2726
+ order: "desc" | "asc";
2726
2727
  field: "type" | "name" | "ts" | "createdAt" | "updatedAt";
2727
- order: "asc" | "desc";
2728
2728
  }, {
2729
+ order: "desc" | "asc";
2729
2730
  field: "type" | "name" | "ts" | "createdAt" | "updatedAt";
2730
- order: "asc" | "desc";
2731
2731
  }>;
2732
2732
  /**
2733
2733
  * Schema for ThingPagination - validates pagination parameters
@@ -2807,9 +2807,6 @@ declare const ThingCreateInputSchema: z.ZodObject<{
2807
2807
  /** Variant for A/B testing */
2808
2808
  variant: z.ZodOptional<z.ZodString>;
2809
2809
  }, "strip", z.ZodTypeAny, {
2810
- type: string;
2811
- ns: string;
2812
- name: string;
2813
2810
  data: {
2814
2811
  '@context'?: string | Record<string, unknown> | undefined;
2815
2812
  '@type'?: string | undefined;
@@ -2817,12 +2814,12 @@ declare const ThingCreateInputSchema: z.ZodObject<{
2817
2814
  } & {
2818
2815
  [k: string]: unknown;
2819
2816
  };
2817
+ type: string;
2818
+ name: string;
2819
+ ns: string;
2820
2820
  id?: string | undefined;
2821
2821
  variant?: string | undefined;
2822
2822
  }, {
2823
- type: string;
2824
- ns: string;
2825
- name: string;
2826
2823
  data: {
2827
2824
  '@context'?: string | Record<string, unknown> | undefined;
2828
2825
  '@type'?: string | undefined;
@@ -2830,6 +2827,9 @@ declare const ThingCreateInputSchema: z.ZodObject<{
2830
2827
  } & {
2831
2828
  [k: string]: unknown;
2832
2829
  };
2830
+ type: string;
2831
+ name: string;
2832
+ ns: string;
2833
2833
  id?: string | undefined;
2834
2834
  variant?: string | undefined;
2835
2835
  }>;
@@ -2856,20 +2856,20 @@ declare const ThingUpdateInputSchema: z.ZodObject<{
2856
2856
  /** Updated variant */
2857
2857
  variant: z.ZodOptional<z.ZodString>;
2858
2858
  }, "strip", z.ZodTypeAny, {
2859
- name?: string | undefined;
2860
2859
  data?: z.objectOutputType<{
2861
2860
  '@context': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
2862
2861
  '@type': z.ZodOptional<z.ZodOptional<z.ZodString>>;
2863
2862
  '@id': z.ZodOptional<z.ZodOptional<z.ZodString>>;
2864
2863
  }, z.ZodTypeAny, "passthrough"> | undefined;
2864
+ name?: string | undefined;
2865
2865
  variant?: string | undefined;
2866
2866
  }, {
2867
- name?: string | undefined;
2868
2867
  data?: z.objectInputType<{
2869
2868
  '@context': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
2870
2869
  '@type': z.ZodOptional<z.ZodOptional<z.ZodString>>;
2871
2870
  '@id': z.ZodOptional<z.ZodOptional<z.ZodString>>;
2872
2871
  }, z.ZodTypeAny, "passthrough"> | undefined;
2872
+ name?: string | undefined;
2873
2873
  variant?: string | undefined;
2874
2874
  }>;
2875
2875
  /**
@@ -3014,12 +3014,12 @@ declare const AgentFeedbackInputSchema: z.ZodObject<{
3014
3014
  categories: z.ZodOptional<z.ZodArray<z.ZodEnum<["accurate", "helpful", "fast", "clear", "wrong", "slow", "confusing"]>, "many">>;
3015
3015
  }, "strip", z.ZodTypeAny, {
3016
3016
  rating: number;
3017
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
3017
3018
  comment?: string | undefined;
3018
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
3019
3019
  }, {
3020
3020
  rating: number;
3021
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
3021
3022
  comment?: string | undefined;
3022
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
3023
3023
  }>;
3024
3024
  /**
3025
3025
  * Schema for WorkflowFilter - validates query parameters for listing workflows
@@ -3126,17 +3126,17 @@ declare const EntityReferenceSchema: z.ZodObject<{
3126
3126
  /** Display name (if loaded) */
3127
3127
  name: z.ZodOptional<z.ZodString>;
3128
3128
  }, "strip", z.ZodTypeAny, {
3129
+ id: string;
3129
3130
  type: string;
3130
3131
  ns: string;
3131
- id: string;
3132
- semanticId?: string | undefined;
3133
3132
  name?: string | undefined;
3133
+ semanticId?: string | undefined;
3134
3134
  }, {
3135
+ id: string;
3135
3136
  type: string;
3136
3137
  ns: string;
3137
- id: string;
3138
- semanticId?: string | undefined;
3139
3138
  name?: string | undefined;
3139
+ semanticId?: string | undefined;
3140
3140
  }>;
3141
3141
  /**
3142
3142
  * Schema for partial EntityReference (used in filters)
@@ -3400,17 +3400,17 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
3400
3400
  /** Display name (if loaded) */
3401
3401
  name: z.ZodOptional<z.ZodString>;
3402
3402
  }, "strip", z.ZodTypeAny, {
3403
+ id: string;
3403
3404
  type: string;
3404
3405
  ns: string;
3405
- id: string;
3406
- semanticId?: string | undefined;
3407
3406
  name?: string | undefined;
3407
+ semanticId?: string | undefined;
3408
3408
  }, {
3409
+ id: string;
3409
3410
  type: string;
3410
3411
  ns: string;
3411
- id: string;
3412
- semanticId?: string | undefined;
3413
3412
  name?: string | undefined;
3413
+ semanticId?: string | undefined;
3414
3414
  }>;
3415
3415
  /** Target entity (required) */
3416
3416
  to: z.ZodObject<{
@@ -3425,17 +3425,17 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
3425
3425
  /** Display name (if loaded) */
3426
3426
  name: z.ZodOptional<z.ZodString>;
3427
3427
  }, "strip", z.ZodTypeAny, {
3428
+ id: string;
3428
3429
  type: string;
3429
3430
  ns: string;
3430
- id: string;
3431
- semanticId?: string | undefined;
3432
3431
  name?: string | undefined;
3432
+ semanticId?: string | undefined;
3433
3433
  }, {
3434
+ id: string;
3434
3435
  type: string;
3435
3436
  ns: string;
3436
- id: string;
3437
- semanticId?: string | undefined;
3438
3437
  name?: string | undefined;
3438
+ semanticId?: string | undefined;
3439
3439
  }>;
3440
3440
  /** Metadata */
3441
3441
  metadata: z.ZodOptional<z.ZodObject<{
@@ -3473,19 +3473,19 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
3473
3473
  endDate: z.ZodOptional<z.ZodDate>;
3474
3474
  }, z.ZodTypeAny, "passthrough">>>;
3475
3475
  }, "strip", z.ZodTypeAny, {
3476
- to: {
3476
+ from: {
3477
+ id: string;
3477
3478
  type: string;
3478
3479
  ns: string;
3479
- id: string;
3480
- semanticId?: string | undefined;
3481
3480
  name?: string | undefined;
3481
+ semanticId?: string | undefined;
3482
3482
  };
3483
- from: {
3483
+ to: {
3484
+ id: string;
3484
3485
  type: string;
3485
3486
  ns: string;
3486
- id: string;
3487
- semanticId?: string | undefined;
3488
3487
  name?: string | undefined;
3488
+ semanticId?: string | undefined;
3489
3489
  };
3490
3490
  relationshipType: string;
3491
3491
  metadata?: z.objectOutputType<{
@@ -3501,19 +3501,19 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
3501
3501
  endDate: z.ZodOptional<z.ZodDate>;
3502
3502
  }, z.ZodTypeAny, "passthrough"> | undefined;
3503
3503
  }, {
3504
- to: {
3504
+ from: {
3505
+ id: string;
3505
3506
  type: string;
3506
3507
  ns: string;
3507
- id: string;
3508
- semanticId?: string | undefined;
3509
3508
  name?: string | undefined;
3509
+ semanticId?: string | undefined;
3510
3510
  };
3511
- from: {
3511
+ to: {
3512
+ id: string;
3512
3513
  type: string;
3513
3514
  ns: string;
3514
- id: string;
3515
- semanticId?: string | undefined;
3516
3515
  name?: string | undefined;
3516
+ semanticId?: string | undefined;
3517
3517
  };
3518
3518
  relationshipType: string;
3519
3519
  metadata?: z.objectInputType<{
@@ -3793,10 +3793,6 @@ declare const ThingResponseSchema: z.ZodObject<{
3793
3793
  '@id': z.ZodOptional<z.ZodString>;
3794
3794
  }, z.ZodTypeAny, "passthrough">>;
3795
3795
  }, "strip", z.ZodTypeAny, {
3796
- type: string;
3797
- ns: string;
3798
- id: string;
3799
- name: string;
3800
3796
  data: {
3801
3797
  '@context'?: string | Record<string, unknown> | undefined;
3802
3798
  '@type'?: string | undefined;
@@ -3804,18 +3800,18 @@ declare const ThingResponseSchema: z.ZodObject<{
3804
3800
  } & {
3805
3801
  [k: string]: unknown;
3806
3802
  };
3803
+ id: string;
3804
+ type: string;
3805
+ name: string;
3806
+ ns: string;
3807
3807
  ts: Date;
3808
3808
  createdAt: Date;
3809
3809
  updatedAt: Date;
3810
+ variant?: string | undefined;
3810
3811
  createdBy?: string | undefined;
3811
3812
  updatedBy?: string | undefined;
3812
3813
  deletedAt?: Date | null | undefined;
3813
- variant?: string | undefined;
3814
3814
  }, {
3815
- type: string;
3816
- ns: string;
3817
- id: string;
3818
- name: string;
3819
3815
  data: {
3820
3816
  '@context'?: string | Record<string, unknown> | undefined;
3821
3817
  '@type'?: string | undefined;
@@ -3823,13 +3819,17 @@ declare const ThingResponseSchema: z.ZodObject<{
3823
3819
  } & {
3824
3820
  [k: string]: unknown;
3825
3821
  };
3822
+ id: string;
3823
+ type: string;
3824
+ name: string;
3825
+ ns: string;
3826
3826
  ts: string | Date;
3827
3827
  createdAt: string | Date;
3828
3828
  updatedAt: string | Date;
3829
+ variant?: string | undefined;
3829
3830
  createdBy?: string | undefined;
3830
3831
  updatedBy?: string | undefined;
3831
3832
  deletedAt?: string | Date | null | undefined;
3832
- variant?: string | undefined;
3833
3833
  }>;
3834
3834
  /**
3835
3835
  * Schema for ThingQueryResult response
@@ -3870,10 +3870,6 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
3870
3870
  '@id': z.ZodOptional<z.ZodString>;
3871
3871
  }, z.ZodTypeAny, "passthrough">>;
3872
3872
  }, "strip", z.ZodTypeAny, {
3873
- type: string;
3874
- ns: string;
3875
- id: string;
3876
- name: string;
3877
3873
  data: {
3878
3874
  '@context'?: string | Record<string, unknown> | undefined;
3879
3875
  '@type'?: string | undefined;
@@ -3881,18 +3877,18 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
3881
3877
  } & {
3882
3878
  [k: string]: unknown;
3883
3879
  };
3880
+ id: string;
3881
+ type: string;
3882
+ name: string;
3883
+ ns: string;
3884
3884
  ts: Date;
3885
3885
  createdAt: Date;
3886
3886
  updatedAt: Date;
3887
+ variant?: string | undefined;
3887
3888
  createdBy?: string | undefined;
3888
3889
  updatedBy?: string | undefined;
3889
3890
  deletedAt?: Date | null | undefined;
3890
- variant?: string | undefined;
3891
3891
  }, {
3892
- type: string;
3893
- ns: string;
3894
- id: string;
3895
- name: string;
3896
3892
  data: {
3897
3893
  '@context'?: string | Record<string, unknown> | undefined;
3898
3894
  '@type'?: string | undefined;
@@ -3900,26 +3896,24 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
3900
3896
  } & {
3901
3897
  [k: string]: unknown;
3902
3898
  };
3899
+ id: string;
3900
+ type: string;
3901
+ name: string;
3902
+ ns: string;
3903
3903
  ts: string | Date;
3904
3904
  createdAt: string | Date;
3905
3905
  updatedAt: string | Date;
3906
+ variant?: string | undefined;
3906
3907
  createdBy?: string | undefined;
3907
3908
  updatedBy?: string | undefined;
3908
3909
  deletedAt?: string | Date | null | undefined;
3909
- variant?: string | undefined;
3910
3910
  }>, "many">;
3911
3911
  total: z.ZodNumber;
3912
3912
  page: z.ZodNumber;
3913
3913
  perPage: z.ZodNumber;
3914
3914
  totalPages: z.ZodNumber;
3915
3915
  }, "strip", z.ZodTypeAny, {
3916
- page: number;
3917
- perPage: number;
3918
3916
  data: {
3919
- type: string;
3920
- ns: string;
3921
- id: string;
3922
- name: string;
3923
3917
  data: {
3924
3918
  '@context'?: string | Record<string, unknown> | undefined;
3925
3919
  '@type'?: string | undefined;
@@ -3927,24 +3921,24 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
3927
3921
  } & {
3928
3922
  [k: string]: unknown;
3929
3923
  };
3924
+ id: string;
3925
+ type: string;
3926
+ name: string;
3927
+ ns: string;
3930
3928
  ts: Date;
3931
3929
  createdAt: Date;
3932
3930
  updatedAt: Date;
3931
+ variant?: string | undefined;
3933
3932
  createdBy?: string | undefined;
3934
3933
  updatedBy?: string | undefined;
3935
3934
  deletedAt?: Date | null | undefined;
3936
- variant?: string | undefined;
3937
3935
  }[];
3936
+ page: number;
3937
+ perPage: number;
3938
3938
  total: number;
3939
3939
  totalPages: number;
3940
3940
  }, {
3941
- page: number;
3942
- perPage: number;
3943
3941
  data: {
3944
- type: string;
3945
- ns: string;
3946
- id: string;
3947
- name: string;
3948
3942
  data: {
3949
3943
  '@context'?: string | Record<string, unknown> | undefined;
3950
3944
  '@type'?: string | undefined;
@@ -3952,14 +3946,20 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
3952
3946
  } & {
3953
3947
  [k: string]: unknown;
3954
3948
  };
3949
+ id: string;
3950
+ type: string;
3951
+ name: string;
3952
+ ns: string;
3955
3953
  ts: string | Date;
3956
3954
  createdAt: string | Date;
3957
3955
  updatedAt: string | Date;
3956
+ variant?: string | undefined;
3958
3957
  createdBy?: string | undefined;
3959
3958
  updatedBy?: string | undefined;
3960
3959
  deletedAt?: string | Date | null | undefined;
3961
- variant?: string | undefined;
3962
3960
  }[];
3961
+ page: number;
3962
+ perPage: number;
3963
3963
  total: number;
3964
3964
  totalPages: number;
3965
3965
  }>;
@@ -4024,11 +4024,11 @@ declare const ThingVersionResponseSchema: z.ZodObject<{
4024
4024
  } & {
4025
4025
  [k: string]: unknown;
4026
4026
  };
4027
+ metadata: Record<string, unknown>;
4027
4028
  ts: Date;
4028
4029
  eventId: string;
4029
- eventType: "create" | "update" | "delete" | "create_version" | "update_version";
4030
+ eventType: "delete" | "create" | "update" | "create_version" | "update_version";
4030
4031
  userId: string;
4031
- metadata: Record<string, unknown>;
4032
4032
  delta?: z.objectOutputType<{
4033
4033
  /** JSON-LD context */
4034
4034
  '@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -4045,11 +4045,11 @@ declare const ThingVersionResponseSchema: z.ZodObject<{
4045
4045
  } & {
4046
4046
  [k: string]: unknown;
4047
4047
  };
4048
+ metadata: Record<string, unknown>;
4048
4049
  ts: string | Date;
4049
4050
  eventId: string;
4050
- eventType: "create" | "update" | "delete" | "create_version" | "update_version";
4051
+ eventType: "delete" | "create" | "update" | "create_version" | "update_version";
4051
4052
  userId: string;
4052
- metadata: Record<string, unknown>;
4053
4053
  delta?: z.objectInputType<{
4054
4054
  /** JSON-LD context */
4055
4055
  '@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -4073,8 +4073,8 @@ declare const TypeStatsResponseSchema: z.ZodObject<{
4073
4073
  lastUpdatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
4074
4074
  }, "strip", z.ZodTypeAny, {
4075
4075
  type: string;
4076
- ns: string;
4077
4076
  count: number;
4077
+ ns: string;
4078
4078
  activeCount: number;
4079
4079
  createdToday: number;
4080
4080
  updatedToday: number;
@@ -4082,8 +4082,8 @@ declare const TypeStatsResponseSchema: z.ZodObject<{
4082
4082
  lastUpdatedAt?: Date | undefined;
4083
4083
  }, {
4084
4084
  type: string;
4085
- ns: string;
4086
4085
  count: number;
4086
+ ns: string;
4087
4087
  activeCount: number;
4088
4088
  createdToday: number;
4089
4089
  updatedToday: number;
@@ -4101,14 +4101,14 @@ declare const AgentTypeResponseSchema: z.ZodObject<{
4101
4101
  customType: z.ZodOptional<z.ZodString>;
4102
4102
  roleCategory: z.ZodEnum<["sdr", "csm", "engineer", "devops", "content", "design", "security", "compliance", "finance", "hr", "legal", "support", "analyst", "researcher", "manager", "executive", "specialist", "custom"]>;
4103
4103
  }, "strip", z.ZodTypeAny, {
4104
- roleCategory: "custom" | "content" | "sdr" | "csm" | "engineer" | "devops" | "design" | "security" | "compliance" | "finance" | "hr" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4104
+ roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4105
4105
  onetCode?: string | undefined;
4106
4106
  onetTitle?: string | undefined;
4107
4107
  naicsCode?: string | undefined;
4108
4108
  naicsTitle?: string | undefined;
4109
4109
  customType?: string | undefined;
4110
4110
  }, {
4111
- roleCategory: "custom" | "content" | "sdr" | "csm" | "engineer" | "devops" | "design" | "security" | "compliance" | "finance" | "hr" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4111
+ roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4112
4112
  onetCode?: string | undefined;
4113
4113
  onetTitle?: string | undefined;
4114
4114
  naicsCode?: string | undefined;
@@ -4158,10 +4158,10 @@ declare const CharacterBibleResponseSchema: z.ZodObject<{
4158
4158
  avatarUrl: z.ZodOptional<z.ZodString>;
4159
4159
  voiceCharacteristics: z.ZodOptional<z.ZodString>;
4160
4160
  }, "strip", z.ZodTypeAny, {
4161
+ traits: string[];
4161
4162
  fullName: string;
4162
- pronouns: string;
4163
4163
  background: string;
4164
- traits: string[];
4164
+ pronouns: string;
4165
4165
  communicationStyle: string;
4166
4166
  expertise: string[];
4167
4167
  limitations: string[];
@@ -4169,10 +4169,10 @@ declare const CharacterBibleResponseSchema: z.ZodObject<{
4169
4169
  avatarUrl?: string | undefined;
4170
4170
  voiceCharacteristics?: string | undefined;
4171
4171
  }, {
4172
+ traits: string[];
4172
4173
  fullName: string;
4173
- pronouns: string;
4174
4174
  background: string;
4175
- traits: string[];
4175
+ pronouns: string;
4176
4176
  communicationStyle: string;
4177
4177
  expertise: string[];
4178
4178
  limitations: string[];
@@ -4191,18 +4191,18 @@ declare const AgentGuardrailResponseSchema: z.ZodObject<{
4191
4191
  validator: z.ZodOptional<z.ZodString>;
4192
4192
  severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
4193
4193
  }, "strip", z.ZodTypeAny, {
4194
- type: "input" | "output" | "action" | "content" | "safety";
4195
4194
  id: string;
4195
+ type: "input" | "output" | "content" | "action" | "safety";
4196
4196
  check: string;
4197
- onViolation: "block" | "warn" | "log" | "escalate";
4198
- severity: "low" | "medium" | "high" | "critical";
4197
+ onViolation: "log" | "block" | "warn" | "escalate";
4198
+ severity: "medium" | "high" | "low" | "critical";
4199
4199
  validator?: string | undefined;
4200
4200
  }, {
4201
- type: "input" | "output" | "action" | "content" | "safety";
4202
4201
  id: string;
4202
+ type: "input" | "output" | "content" | "action" | "safety";
4203
4203
  check: string;
4204
- onViolation: "block" | "warn" | "log" | "escalate";
4205
- severity: "low" | "medium" | "high" | "critical";
4204
+ onViolation: "log" | "block" | "warn" | "escalate";
4205
+ severity: "medium" | "high" | "low" | "critical";
4206
4206
  validator?: string | undefined;
4207
4207
  }>;
4208
4208
  /**
@@ -4218,18 +4218,18 @@ declare const HandoffRuleResponseSchema: z.ZodObject<{
4218
4218
  priority: z.ZodNumber;
4219
4219
  }, "strip", z.ZodTypeAny, {
4220
4220
  id: string;
4221
+ target: string;
4221
4222
  required: boolean;
4222
4223
  context: string[];
4223
4224
  condition: string;
4224
- target: string;
4225
4225
  targetType: "human" | "workflow" | "agent";
4226
4226
  priority: number;
4227
4227
  }, {
4228
4228
  id: string;
4229
+ target: string;
4229
4230
  required: boolean;
4230
4231
  context: string[];
4231
4232
  condition: string;
4232
- target: string;
4233
4233
  targetType: "human" | "workflow" | "agent";
4234
4234
  priority: number;
4235
4235
  }>;
@@ -4293,14 +4293,14 @@ declare const AgentResponseSchema: z.ZodObject<{
4293
4293
  customType: z.ZodOptional<z.ZodString>;
4294
4294
  roleCategory: z.ZodEnum<["sdr", "csm", "engineer", "devops", "content", "design", "security", "compliance", "finance", "hr", "legal", "support", "analyst", "researcher", "manager", "executive", "specialist", "custom"]>;
4295
4295
  }, "strip", z.ZodTypeAny, {
4296
- roleCategory: "custom" | "content" | "sdr" | "csm" | "engineer" | "devops" | "design" | "security" | "compliance" | "finance" | "hr" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4296
+ roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4297
4297
  onetCode?: string | undefined;
4298
4298
  onetTitle?: string | undefined;
4299
4299
  naicsCode?: string | undefined;
4300
4300
  naicsTitle?: string | undefined;
4301
4301
  customType?: string | undefined;
4302
4302
  }, {
4303
- roleCategory: "custom" | "content" | "sdr" | "csm" | "engineer" | "devops" | "design" | "security" | "compliance" | "finance" | "hr" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4303
+ roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4304
4304
  onetCode?: string | undefined;
4305
4305
  onetTitle?: string | undefined;
4306
4306
  naicsCode?: string | undefined;
@@ -4345,10 +4345,10 @@ declare const AgentResponseSchema: z.ZodObject<{
4345
4345
  avatarUrl: z.ZodOptional<z.ZodString>;
4346
4346
  voiceCharacteristics: z.ZodOptional<z.ZodString>;
4347
4347
  }, "strip", z.ZodTypeAny, {
4348
+ traits: string[];
4348
4349
  fullName: string;
4349
- pronouns: string;
4350
4350
  background: string;
4351
- traits: string[];
4351
+ pronouns: string;
4352
4352
  communicationStyle: string;
4353
4353
  expertise: string[];
4354
4354
  limitations: string[];
@@ -4356,10 +4356,10 @@ declare const AgentResponseSchema: z.ZodObject<{
4356
4356
  avatarUrl?: string | undefined;
4357
4357
  voiceCharacteristics?: string | undefined;
4358
4358
  }, {
4359
+ traits: string[];
4359
4360
  fullName: string;
4360
- pronouns: string;
4361
4361
  background: string;
4362
- traits: string[];
4362
+ pronouns: string;
4363
4363
  communicationStyle: string;
4364
4364
  expertise: string[];
4365
4365
  limitations: string[];
@@ -4379,18 +4379,18 @@ declare const AgentResponseSchema: z.ZodObject<{
4379
4379
  validator: z.ZodOptional<z.ZodString>;
4380
4380
  severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
4381
4381
  }, "strip", z.ZodTypeAny, {
4382
- type: "input" | "output" | "action" | "content" | "safety";
4383
4382
  id: string;
4383
+ type: "input" | "output" | "content" | "action" | "safety";
4384
4384
  check: string;
4385
- onViolation: "block" | "warn" | "log" | "escalate";
4386
- severity: "low" | "medium" | "high" | "critical";
4385
+ onViolation: "log" | "block" | "warn" | "escalate";
4386
+ severity: "medium" | "high" | "low" | "critical";
4387
4387
  validator?: string | undefined;
4388
4388
  }, {
4389
- type: "input" | "output" | "action" | "content" | "safety";
4390
4389
  id: string;
4390
+ type: "input" | "output" | "content" | "action" | "safety";
4391
4391
  check: string;
4392
- onViolation: "block" | "warn" | "log" | "escalate";
4393
- severity: "low" | "medium" | "high" | "critical";
4392
+ onViolation: "log" | "block" | "warn" | "escalate";
4393
+ severity: "medium" | "high" | "low" | "critical";
4394
4394
  validator?: string | undefined;
4395
4395
  }>, "many">;
4396
4396
  handoffRules: z.ZodArray<z.ZodObject<{
@@ -4403,18 +4403,18 @@ declare const AgentResponseSchema: z.ZodObject<{
4403
4403
  priority: z.ZodNumber;
4404
4404
  }, "strip", z.ZodTypeAny, {
4405
4405
  id: string;
4406
+ target: string;
4406
4407
  required: boolean;
4407
4408
  context: string[];
4408
4409
  condition: string;
4409
- target: string;
4410
4410
  targetType: "human" | "workflow" | "agent";
4411
4411
  priority: number;
4412
4412
  }, {
4413
4413
  id: string;
4414
+ target: string;
4414
4415
  required: boolean;
4415
4416
  context: string[];
4416
4417
  condition: string;
4417
- target: string;
4418
4418
  targetType: "human" | "workflow" | "agent";
4419
4419
  priority: number;
4420
4420
  }>, "many">;
@@ -4463,22 +4463,22 @@ declare const AgentResponseSchema: z.ZodObject<{
4463
4463
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
4464
4464
  createdBy: z.ZodString;
4465
4465
  }, "strip", z.ZodTypeAny, {
4466
+ id: string;
4467
+ status: "paused" | "active" | "draft" | "deprecated" | "archived";
4466
4468
  type: {
4467
- roleCategory: "custom" | "content" | "sdr" | "csm" | "engineer" | "devops" | "design" | "security" | "compliance" | "finance" | "hr" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4469
+ roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4468
4470
  onetCode?: string | undefined;
4469
4471
  onetTitle?: string | undefined;
4470
4472
  naicsCode?: string | undefined;
4471
4473
  naicsTitle?: string | undefined;
4472
4474
  customType?: string | undefined;
4473
4475
  };
4474
- status: "active" | "draft" | "deprecated" | "archived" | "paused";
4475
- ns: string;
4476
- id: string;
4477
4476
  name: string;
4477
+ description: string;
4478
+ ns: string;
4478
4479
  createdAt: Date;
4479
4480
  updatedAt: Date;
4480
4481
  createdBy: string;
4481
- description: string;
4482
4482
  tools: string[];
4483
4483
  slug: string;
4484
4484
  classification: {
@@ -4494,27 +4494,27 @@ declare const AgentResponseSchema: z.ZodObject<{
4494
4494
  model: string;
4495
4495
  maxIterations: number;
4496
4496
  guardrails: {
4497
- type: "input" | "output" | "action" | "content" | "safety";
4498
4497
  id: string;
4498
+ type: "input" | "output" | "content" | "action" | "safety";
4499
4499
  check: string;
4500
- onViolation: "block" | "warn" | "log" | "escalate";
4501
- severity: "low" | "medium" | "high" | "critical";
4500
+ onViolation: "log" | "block" | "warn" | "escalate";
4501
+ severity: "medium" | "high" | "low" | "critical";
4502
4502
  validator?: string | undefined;
4503
4503
  }[];
4504
4504
  handoffRules: {
4505
4505
  id: string;
4506
+ target: string;
4506
4507
  required: boolean;
4507
4508
  context: string[];
4508
4509
  condition: string;
4509
- target: string;
4510
4510
  targetType: "human" | "workflow" | "agent";
4511
4511
  priority: number;
4512
4512
  }[];
4513
4513
  characterBible?: {
4514
+ traits: string[];
4514
4515
  fullName: string;
4515
- pronouns: string;
4516
4516
  background: string;
4517
- traits: string[];
4517
+ pronouns: string;
4518
4518
  communicationStyle: string;
4519
4519
  expertise: string[];
4520
4520
  limitations: string[];
@@ -4538,22 +4538,22 @@ declare const AgentResponseSchema: z.ZodObject<{
4538
4538
  lastExecutedAt?: Date | undefined;
4539
4539
  } | undefined;
4540
4540
  }, {
4541
+ id: string;
4542
+ status: "paused" | "active" | "draft" | "deprecated" | "archived";
4541
4543
  type: {
4542
- roleCategory: "custom" | "content" | "sdr" | "csm" | "engineer" | "devops" | "design" | "security" | "compliance" | "finance" | "hr" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4544
+ roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
4543
4545
  onetCode?: string | undefined;
4544
4546
  onetTitle?: string | undefined;
4545
4547
  naicsCode?: string | undefined;
4546
4548
  naicsTitle?: string | undefined;
4547
4549
  customType?: string | undefined;
4548
4550
  };
4549
- status: "active" | "draft" | "deprecated" | "archived" | "paused";
4550
- ns: string;
4551
- id: string;
4552
4551
  name: string;
4552
+ description: string;
4553
+ ns: string;
4553
4554
  createdAt: string | Date;
4554
4555
  updatedAt: string | Date;
4555
4556
  createdBy: string;
4556
- description: string;
4557
4557
  tools: string[];
4558
4558
  slug: string;
4559
4559
  classification: {
@@ -4569,27 +4569,27 @@ declare const AgentResponseSchema: z.ZodObject<{
4569
4569
  model: string;
4570
4570
  maxIterations: number;
4571
4571
  guardrails: {
4572
- type: "input" | "output" | "action" | "content" | "safety";
4573
4572
  id: string;
4573
+ type: "input" | "output" | "content" | "action" | "safety";
4574
4574
  check: string;
4575
- onViolation: "block" | "warn" | "log" | "escalate";
4576
- severity: "low" | "medium" | "high" | "critical";
4575
+ onViolation: "log" | "block" | "warn" | "escalate";
4576
+ severity: "medium" | "high" | "low" | "critical";
4577
4577
  validator?: string | undefined;
4578
4578
  }[];
4579
4579
  handoffRules: {
4580
4580
  id: string;
4581
+ target: string;
4581
4582
  required: boolean;
4582
4583
  context: string[];
4583
4584
  condition: string;
4584
- target: string;
4585
4585
  targetType: "human" | "workflow" | "agent";
4586
4586
  priority: number;
4587
4587
  }[];
4588
4588
  characterBible?: {
4589
+ traits: string[];
4589
4590
  fullName: string;
4590
- pronouns: string;
4591
4591
  background: string;
4592
- traits: string[];
4592
+ pronouns: string;
4593
4593
  communicationStyle: string;
4594
4594
  expertise: string[];
4595
4595
  limitations: string[];
@@ -4660,14 +4660,14 @@ declare const AgentArtifactResponseSchema: z.ZodObject<{
4660
4660
  content: z.ZodString;
4661
4661
  mimeType: z.ZodOptional<z.ZodString>;
4662
4662
  }, "strip", z.ZodTypeAny, {
4663
- type: "code" | "data" | "image" | "file" | "document";
4664
- name: string;
4665
4663
  content: string;
4664
+ type: "code" | "data" | "image" | "document" | "file";
4665
+ name: string;
4666
4666
  mimeType?: string | undefined;
4667
4667
  }, {
4668
- type: "code" | "data" | "image" | "file" | "document";
4669
- name: string;
4670
4668
  content: string;
4669
+ type: "code" | "data" | "image" | "document" | "file";
4670
+ name: string;
4671
4671
  mimeType?: string | undefined;
4672
4672
  }>;
4673
4673
  /**
@@ -4683,36 +4683,36 @@ declare const AgentOutputResponseSchema: z.ZodObject<{
4683
4683
  content: z.ZodString;
4684
4684
  mimeType: z.ZodOptional<z.ZodString>;
4685
4685
  }, "strip", z.ZodTypeAny, {
4686
- type: "code" | "data" | "image" | "file" | "document";
4687
- name: string;
4688
4686
  content: string;
4687
+ type: "code" | "data" | "image" | "document" | "file";
4688
+ name: string;
4689
4689
  mimeType?: string | undefined;
4690
4690
  }, {
4691
- type: "code" | "data" | "image" | "file" | "document";
4692
- name: string;
4693
4691
  content: string;
4692
+ type: "code" | "data" | "image" | "document" | "file";
4693
+ name: string;
4694
4694
  mimeType?: string | undefined;
4695
4695
  }>, "many">>;
4696
4696
  recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4697
4697
  }, "strip", z.ZodTypeAny, {
4698
4698
  summary: string;
4699
- confidence?: number | undefined;
4700
4699
  result?: unknown;
4700
+ confidence?: number | undefined;
4701
4701
  artifacts?: {
4702
- type: "code" | "data" | "image" | "file" | "document";
4703
- name: string;
4704
4702
  content: string;
4703
+ type: "code" | "data" | "image" | "document" | "file";
4704
+ name: string;
4705
4705
  mimeType?: string | undefined;
4706
4706
  }[] | undefined;
4707
4707
  recommendations?: string[] | undefined;
4708
4708
  }, {
4709
4709
  summary: string;
4710
- confidence?: number | undefined;
4711
4710
  result?: unknown;
4711
+ confidence?: number | undefined;
4712
4712
  artifacts?: {
4713
- type: "code" | "data" | "image" | "file" | "document";
4714
- name: string;
4715
4713
  content: string;
4714
+ type: "code" | "data" | "image" | "document" | "file";
4715
+ name: string;
4716
4716
  mimeType?: string | undefined;
4717
4717
  }[] | undefined;
4718
4718
  recommendations?: string[] | undefined;
@@ -4745,8 +4745,8 @@ declare const AgentTraceResponseSchema: z.ZodObject<{
4745
4745
  thinkingTokens?: number | undefined;
4746
4746
  }>>;
4747
4747
  }, "strip", z.ZodTypeAny, {
4748
- type: "action" | "decision" | "thought" | "observation";
4749
4748
  content: string;
4749
+ type: "action" | "decision" | "thought" | "observation";
4750
4750
  timestamp: Date;
4751
4751
  iteration: number;
4752
4752
  tool?: string | undefined;
@@ -4759,8 +4759,8 @@ declare const AgentTraceResponseSchema: z.ZodObject<{
4759
4759
  thinkingTokens?: number | undefined;
4760
4760
  } | undefined;
4761
4761
  }, {
4762
- type: "action" | "decision" | "thought" | "observation";
4763
4762
  content: string;
4763
+ type: "action" | "decision" | "thought" | "observation";
4764
4764
  timestamp: string | Date;
4765
4765
  iteration: number;
4766
4766
  tool?: string | undefined;
@@ -4785,16 +4785,16 @@ declare const AgentHandoffResponseSchema: z.ZodObject<{
4785
4785
  context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4786
4786
  successful: z.ZodBoolean;
4787
4787
  }, "strip", z.ZodTypeAny, {
4788
- timestamp: Date;
4789
4788
  context: Record<string, unknown>;
4789
+ timestamp: Date;
4790
4790
  targetType: "human" | "workflow" | "agent";
4791
4791
  ruleId: string;
4792
4792
  fromAgent: string;
4793
4793
  toTarget: string;
4794
4794
  successful: boolean;
4795
4795
  }, {
4796
- timestamp: string | Date;
4797
4796
  context: Record<string, unknown>;
4797
+ timestamp: string | Date;
4798
4798
  targetType: "human" | "workflow" | "agent";
4799
4799
  ruleId: string;
4800
4800
  fromAgent: string;
@@ -4812,18 +4812,18 @@ declare const GuardrailViolationResponseSchema: z.ZodObject<{
4812
4812
  actionTaken: z.ZodEnum<["blocked", "warned", "logged", "escalated"]>;
4813
4813
  severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
4814
4814
  }, "strip", z.ZodTypeAny, {
4815
+ details: string;
4815
4816
  type: string;
4816
4817
  timestamp: Date;
4817
- severity: "low" | "medium" | "high" | "critical";
4818
+ severity: "medium" | "high" | "low" | "critical";
4818
4819
  guardrailId: string;
4819
- details: string;
4820
4820
  actionTaken: "blocked" | "warned" | "logged" | "escalated";
4821
4821
  }, {
4822
+ details: string;
4822
4823
  type: string;
4823
4824
  timestamp: string | Date;
4824
- severity: "low" | "medium" | "high" | "critical";
4825
+ severity: "medium" | "high" | "low" | "critical";
4825
4826
  guardrailId: string;
4826
- details: string;
4827
4827
  actionTaken: "blocked" | "warned" | "logged" | "escalated";
4828
4828
  }>;
4829
4829
  /**
@@ -4836,17 +4836,17 @@ declare const AgentFeedbackResponseSchema: z.ZodObject<{
4836
4836
  submittedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
4837
4837
  submittedBy: z.ZodString;
4838
4838
  }, "strip", z.ZodTypeAny, {
4839
- rating: number;
4840
4839
  submittedAt: Date;
4840
+ rating: number;
4841
4841
  submittedBy: string;
4842
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
4842
4843
  comment?: string | undefined;
4843
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
4844
4844
  }, {
4845
- rating: number;
4846
4845
  submittedAt: string | Date;
4846
+ rating: number;
4847
4847
  submittedBy: string;
4848
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
4848
4849
  comment?: string | undefined;
4849
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
4850
4850
  }>;
4851
4851
  /**
4852
4852
  * Schema for AgentExecution response
@@ -4881,36 +4881,36 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
4881
4881
  content: z.ZodString;
4882
4882
  mimeType: z.ZodOptional<z.ZodString>;
4883
4883
  }, "strip", z.ZodTypeAny, {
4884
- type: "code" | "data" | "image" | "file" | "document";
4885
- name: string;
4886
4884
  content: string;
4885
+ type: "code" | "data" | "image" | "document" | "file";
4886
+ name: string;
4887
4887
  mimeType?: string | undefined;
4888
4888
  }, {
4889
- type: "code" | "data" | "image" | "file" | "document";
4890
- name: string;
4891
4889
  content: string;
4890
+ type: "code" | "data" | "image" | "document" | "file";
4891
+ name: string;
4892
4892
  mimeType?: string | undefined;
4893
4893
  }>, "many">>;
4894
4894
  recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4895
4895
  }, "strip", z.ZodTypeAny, {
4896
4896
  summary: string;
4897
- confidence?: number | undefined;
4898
4897
  result?: unknown;
4898
+ confidence?: number | undefined;
4899
4899
  artifacts?: {
4900
- type: "code" | "data" | "image" | "file" | "document";
4901
- name: string;
4902
4900
  content: string;
4901
+ type: "code" | "data" | "image" | "document" | "file";
4902
+ name: string;
4903
4903
  mimeType?: string | undefined;
4904
4904
  }[] | undefined;
4905
4905
  recommendations?: string[] | undefined;
4906
4906
  }, {
4907
4907
  summary: string;
4908
- confidence?: number | undefined;
4909
4908
  result?: unknown;
4909
+ confidence?: number | undefined;
4910
4910
  artifacts?: {
4911
- type: "code" | "data" | "image" | "file" | "document";
4912
- name: string;
4913
4911
  content: string;
4912
+ type: "code" | "data" | "image" | "document" | "file";
4913
+ name: string;
4914
4914
  mimeType?: string | undefined;
4915
4915
  }[] | undefined;
4916
4916
  recommendations?: string[] | undefined;
@@ -4940,8 +4940,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
4940
4940
  thinkingTokens?: number | undefined;
4941
4941
  }>>;
4942
4942
  }, "strip", z.ZodTypeAny, {
4943
- type: "action" | "decision" | "thought" | "observation";
4944
4943
  content: string;
4944
+ type: "action" | "decision" | "thought" | "observation";
4945
4945
  timestamp: Date;
4946
4946
  iteration: number;
4947
4947
  tool?: string | undefined;
@@ -4954,8 +4954,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
4954
4954
  thinkingTokens?: number | undefined;
4955
4955
  } | undefined;
4956
4956
  }, {
4957
- type: "action" | "decision" | "thought" | "observation";
4958
4957
  content: string;
4958
+ type: "action" | "decision" | "thought" | "observation";
4959
4959
  timestamp: string | Date;
4960
4960
  iteration: number;
4961
4961
  tool?: string | undefined;
@@ -4977,16 +4977,16 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
4977
4977
  context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4978
4978
  successful: z.ZodBoolean;
4979
4979
  }, "strip", z.ZodTypeAny, {
4980
- timestamp: Date;
4981
4980
  context: Record<string, unknown>;
4981
+ timestamp: Date;
4982
4982
  targetType: "human" | "workflow" | "agent";
4983
4983
  ruleId: string;
4984
4984
  fromAgent: string;
4985
4985
  toTarget: string;
4986
4986
  successful: boolean;
4987
4987
  }, {
4988
- timestamp: string | Date;
4989
4988
  context: Record<string, unknown>;
4989
+ timestamp: string | Date;
4990
4990
  targetType: "human" | "workflow" | "agent";
4991
4991
  ruleId: string;
4992
4992
  fromAgent: string;
@@ -5001,18 +5001,18 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5001
5001
  actionTaken: z.ZodEnum<["blocked", "warned", "logged", "escalated"]>;
5002
5002
  severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
5003
5003
  }, "strip", z.ZodTypeAny, {
5004
+ details: string;
5004
5005
  type: string;
5005
5006
  timestamp: Date;
5006
- severity: "low" | "medium" | "high" | "critical";
5007
+ severity: "medium" | "high" | "low" | "critical";
5007
5008
  guardrailId: string;
5008
- details: string;
5009
5009
  actionTaken: "blocked" | "warned" | "logged" | "escalated";
5010
5010
  }, {
5011
+ details: string;
5011
5012
  type: string;
5012
5013
  timestamp: string | Date;
5013
- severity: "low" | "medium" | "high" | "critical";
5014
+ severity: "medium" | "high" | "low" | "critical";
5014
5015
  guardrailId: string;
5015
- details: string;
5016
5016
  actionTaken: "blocked" | "warned" | "logged" | "escalated";
5017
5017
  }>, "many">;
5018
5018
  startedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
@@ -5043,31 +5043,31 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5043
5043
  submittedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
5044
5044
  submittedBy: z.ZodString;
5045
5045
  }, "strip", z.ZodTypeAny, {
5046
- rating: number;
5047
5046
  submittedAt: Date;
5047
+ rating: number;
5048
5048
  submittedBy: string;
5049
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
5049
5050
  comment?: string | undefined;
5050
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
5051
5051
  }, {
5052
- rating: number;
5053
5052
  submittedAt: string | Date;
5053
+ rating: number;
5054
5054
  submittedBy: string;
5055
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
5055
5056
  comment?: string | undefined;
5056
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
5057
5057
  }>>;
5058
5058
  ns: z.ZodString;
5059
5059
  triggeredBy: z.ZodString;
5060
5060
  }, "strip", z.ZodTypeAny, {
5061
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
5062
- ns: string;
5063
- id: string;
5064
- costUsd: number;
5065
5061
  input: {
5066
5062
  task: string;
5067
5063
  context?: Record<string, unknown> | undefined;
5068
5064
  constraints?: string[] | undefined;
5069
5065
  outputFormat?: string | undefined;
5070
5066
  };
5067
+ id: string;
5068
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
5069
+ ns: string;
5070
+ costUsd: number;
5071
5071
  agentId: string;
5072
5072
  triggeredBy: string;
5073
5073
  tokenUsage: {
@@ -5077,8 +5077,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5077
5077
  thinkingTokens?: number | undefined;
5078
5078
  };
5079
5079
  trace: {
5080
- type: "action" | "decision" | "thought" | "observation";
5081
5080
  content: string;
5081
+ type: "action" | "decision" | "thought" | "observation";
5082
5082
  timestamp: Date;
5083
5083
  iteration: number;
5084
5084
  tool?: string | undefined;
@@ -5092,8 +5092,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5092
5092
  } | undefined;
5093
5093
  }[];
5094
5094
  handoffs: {
5095
- timestamp: Date;
5096
5095
  context: Record<string, unknown>;
5096
+ timestamp: Date;
5097
5097
  targetType: "human" | "workflow" | "agent";
5098
5098
  ruleId: string;
5099
5099
  fromAgent: string;
@@ -5101,23 +5101,23 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5101
5101
  successful: boolean;
5102
5102
  }[];
5103
5103
  violations: {
5104
+ details: string;
5104
5105
  type: string;
5105
5106
  timestamp: Date;
5106
- severity: "low" | "medium" | "high" | "critical";
5107
+ severity: "medium" | "high" | "low" | "critical";
5107
5108
  guardrailId: string;
5108
- details: string;
5109
5109
  actionTaken: "blocked" | "warned" | "logged" | "escalated";
5110
5110
  }[];
5111
5111
  startedAt: Date;
5112
5112
  iterations: number;
5113
5113
  output?: {
5114
5114
  summary: string;
5115
- confidence?: number | undefined;
5116
5115
  result?: unknown;
5116
+ confidence?: number | undefined;
5117
5117
  artifacts?: {
5118
- type: "code" | "data" | "image" | "file" | "document";
5119
- name: string;
5120
5118
  content: string;
5119
+ type: "code" | "data" | "image" | "document" | "file";
5120
+ name: string;
5121
5121
  mimeType?: string | undefined;
5122
5122
  }[] | undefined;
5123
5123
  recommendations?: string[] | undefined;
@@ -5125,23 +5125,23 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5125
5125
  completedAt?: Date | undefined;
5126
5126
  durationMs?: number | undefined;
5127
5127
  feedback?: {
5128
- rating: number;
5129
5128
  submittedAt: Date;
5129
+ rating: number;
5130
5130
  submittedBy: string;
5131
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
5131
5132
  comment?: string | undefined;
5132
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
5133
5133
  } | undefined;
5134
5134
  }, {
5135
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
5136
- ns: string;
5137
- id: string;
5138
- costUsd: number;
5139
5135
  input: {
5140
5136
  task: string;
5141
5137
  context?: Record<string, unknown> | undefined;
5142
5138
  constraints?: string[] | undefined;
5143
5139
  outputFormat?: string | undefined;
5144
5140
  };
5141
+ id: string;
5142
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
5143
+ ns: string;
5144
+ costUsd: number;
5145
5145
  agentId: string;
5146
5146
  triggeredBy: string;
5147
5147
  tokenUsage: {
@@ -5151,8 +5151,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5151
5151
  thinkingTokens?: number | undefined;
5152
5152
  };
5153
5153
  trace: {
5154
- type: "action" | "decision" | "thought" | "observation";
5155
5154
  content: string;
5155
+ type: "action" | "decision" | "thought" | "observation";
5156
5156
  timestamp: string | Date;
5157
5157
  iteration: number;
5158
5158
  tool?: string | undefined;
@@ -5166,8 +5166,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5166
5166
  } | undefined;
5167
5167
  }[];
5168
5168
  handoffs: {
5169
- timestamp: string | Date;
5170
5169
  context: Record<string, unknown>;
5170
+ timestamp: string | Date;
5171
5171
  targetType: "human" | "workflow" | "agent";
5172
5172
  ruleId: string;
5173
5173
  fromAgent: string;
@@ -5175,23 +5175,23 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5175
5175
  successful: boolean;
5176
5176
  }[];
5177
5177
  violations: {
5178
+ details: string;
5178
5179
  type: string;
5179
5180
  timestamp: string | Date;
5180
- severity: "low" | "medium" | "high" | "critical";
5181
+ severity: "medium" | "high" | "low" | "critical";
5181
5182
  guardrailId: string;
5182
- details: string;
5183
5183
  actionTaken: "blocked" | "warned" | "logged" | "escalated";
5184
5184
  }[];
5185
5185
  startedAt: string | Date;
5186
5186
  iterations: number;
5187
5187
  output?: {
5188
5188
  summary: string;
5189
- confidence?: number | undefined;
5190
5189
  result?: unknown;
5190
+ confidence?: number | undefined;
5191
5191
  artifacts?: {
5192
- type: "code" | "data" | "image" | "file" | "document";
5193
- name: string;
5194
5192
  content: string;
5193
+ type: "code" | "data" | "image" | "document" | "file";
5194
+ name: string;
5195
5195
  mimeType?: string | undefined;
5196
5196
  }[] | undefined;
5197
5197
  recommendations?: string[] | undefined;
@@ -5199,11 +5199,11 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
5199
5199
  completedAt?: string | Date | undefined;
5200
5200
  durationMs?: number | undefined;
5201
5201
  feedback?: {
5202
- rating: number;
5203
5202
  submittedAt: string | Date;
5203
+ rating: number;
5204
5204
  submittedBy: string;
5205
+ categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
5205
5206
  comment?: string | undefined;
5206
- categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
5207
5207
  } | undefined;
5208
5208
  }>;
5209
5209
  /**
@@ -5217,13 +5217,13 @@ declare const RetryConfigResponseSchema: z.ZodObject<{
5217
5217
  retryOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5218
5218
  }, "strip", z.ZodTypeAny, {
5219
5219
  maxAttempts: number;
5220
- backoff: "exponential" | "linear" | "fixed";
5220
+ backoff: "fixed" | "linear" | "exponential";
5221
5221
  initialDelayMs: number;
5222
5222
  maxDelayMs: number;
5223
5223
  retryOn?: string[] | undefined;
5224
5224
  }, {
5225
5225
  maxAttempts: number;
5226
- backoff: "exponential" | "linear" | "fixed";
5226
+ backoff: "fixed" | "linear" | "exponential";
5227
5227
  initialDelayMs: number;
5228
5228
  maxDelayMs: number;
5229
5229
  retryOn?: string[] | undefined;
@@ -5268,9 +5268,9 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
5268
5268
  maxWaitMs: number;
5269
5269
  }>>;
5270
5270
  }, "strip", z.ZodTypeAny, {
5271
+ pattern: string;
5271
5272
  type: "event";
5272
5273
  name: string;
5273
- pattern: string;
5274
5274
  enabled: boolean;
5275
5275
  filter?: Record<string, unknown> | undefined;
5276
5276
  batch?: {
@@ -5278,9 +5278,9 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
5278
5278
  maxWaitMs: number;
5279
5279
  } | undefined;
5280
5280
  }, {
5281
+ pattern: string;
5281
5282
  type: "event";
5282
5283
  name: string;
5283
- pattern: string;
5284
5284
  enabled: boolean;
5285
5285
  filter?: Record<string, unknown> | undefined;
5286
5286
  batch?: {
@@ -5345,7 +5345,7 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
5345
5345
  type: "webhook";
5346
5346
  name: string;
5347
5347
  enabled: boolean;
5348
- methods: ("GET" | "POST" | "PUT" | "DELETE")[];
5348
+ methods: ("POST" | "GET" | "PUT" | "DELETE")[];
5349
5349
  authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
5350
5350
  hmacSecret?: string | undefined;
5351
5351
  }, {
@@ -5353,7 +5353,7 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
5353
5353
  type: "webhook";
5354
5354
  name: string;
5355
5355
  enabled: boolean;
5356
- methods: ("GET" | "POST" | "PUT" | "DELETE")[];
5356
+ methods: ("POST" | "GET" | "PUT" | "DELETE")[];
5357
5357
  authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
5358
5358
  hmacSecret?: string | undefined;
5359
5359
  }>]>;
@@ -5370,13 +5370,13 @@ declare const ErrorHandlingConfigResponseSchema: z.ZodObject<{
5370
5370
  retryOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5371
5371
  }, "strip", z.ZodTypeAny, {
5372
5372
  maxAttempts: number;
5373
- backoff: "exponential" | "linear" | "fixed";
5373
+ backoff: "fixed" | "linear" | "exponential";
5374
5374
  initialDelayMs: number;
5375
5375
  maxDelayMs: number;
5376
5376
  retryOn?: string[] | undefined;
5377
5377
  }, {
5378
5378
  maxAttempts: number;
5379
- backoff: "exponential" | "linear" | "fixed";
5379
+ backoff: "fixed" | "linear" | "exponential";
5380
5380
  initialDelayMs: number;
5381
5381
  maxDelayMs: number;
5382
5382
  retryOn?: string[] | undefined;
@@ -5396,10 +5396,10 @@ declare const ErrorHandlingConfigResponseSchema: z.ZodObject<{
5396
5396
  }>>;
5397
5397
  errorHandler: z.ZodOptional<z.ZodString>;
5398
5398
  }, "strip", z.ZodTypeAny, {
5399
- strategy: "retry" | "compensate" | "ignore" | "fail";
5399
+ strategy: "ignore" | "retry" | "compensate" | "fail";
5400
5400
  retry?: {
5401
5401
  maxAttempts: number;
5402
- backoff: "exponential" | "linear" | "fixed";
5402
+ backoff: "fixed" | "linear" | "exponential";
5403
5403
  initialDelayMs: number;
5404
5404
  maxDelayMs: number;
5405
5405
  retryOn?: string[] | undefined;
@@ -5411,10 +5411,10 @@ declare const ErrorHandlingConfigResponseSchema: z.ZodObject<{
5411
5411
  } | undefined;
5412
5412
  errorHandler?: string | undefined;
5413
5413
  }, {
5414
- strategy: "retry" | "compensate" | "ignore" | "fail";
5414
+ strategy: "ignore" | "retry" | "compensate" | "fail";
5415
5415
  retry?: {
5416
5416
  maxAttempts: number;
5417
- backoff: "exponential" | "linear" | "fixed";
5417
+ backoff: "fixed" | "linear" | "exponential";
5418
5418
  initialDelayMs: number;
5419
5419
  maxDelayMs: number;
5420
5420
  retryOn?: string[] | undefined;
@@ -5456,7 +5456,6 @@ declare const CompensationConfigResponseSchema: z.ZodObject<{
5456
5456
  strategy: z.ZodEnum<["sequential", "parallel"]>;
5457
5457
  continueOnFailure: z.ZodBoolean;
5458
5458
  }, "strip", z.ZodTypeAny, {
5459
- strategy: "parallel" | "sequential";
5460
5459
  steps: {
5461
5460
  id: string;
5462
5461
  name: string;
@@ -5469,9 +5468,9 @@ declare const CompensationConfigResponseSchema: z.ZodObject<{
5469
5468
  timeout?: number;
5470
5469
  outputMapping?: Record<string, string>;
5471
5470
  }[];
5471
+ strategy: "parallel" | "sequential";
5472
5472
  continueOnFailure: boolean;
5473
5473
  }, {
5474
- strategy: "parallel" | "sequential";
5475
5474
  steps: {
5476
5475
  id: string;
5477
5476
  name: string;
@@ -5484,6 +5483,7 @@ declare const CompensationConfigResponseSchema: z.ZodObject<{
5484
5483
  timeout?: number;
5485
5484
  outputMapping?: Record<string, string>;
5486
5485
  }[];
5486
+ strategy: "parallel" | "sequential";
5487
5487
  continueOnFailure: boolean;
5488
5488
  }>;
5489
5489
  /**
@@ -5555,9 +5555,9 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5555
5555
  maxWaitMs: number;
5556
5556
  }>>;
5557
5557
  }, "strip", z.ZodTypeAny, {
5558
+ pattern: string;
5558
5559
  type: "event";
5559
5560
  name: string;
5560
- pattern: string;
5561
5561
  enabled: boolean;
5562
5562
  filter?: Record<string, unknown> | undefined;
5563
5563
  batch?: {
@@ -5565,9 +5565,9 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5565
5565
  maxWaitMs: number;
5566
5566
  } | undefined;
5567
5567
  }, {
5568
+ pattern: string;
5568
5569
  type: "event";
5569
5570
  name: string;
5570
- pattern: string;
5571
5571
  enabled: boolean;
5572
5572
  filter?: Record<string, unknown> | undefined;
5573
5573
  batch?: {
@@ -5632,7 +5632,7 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5632
5632
  type: "webhook";
5633
5633
  name: string;
5634
5634
  enabled: boolean;
5635
- methods: ("GET" | "POST" | "PUT" | "DELETE")[];
5635
+ methods: ("POST" | "GET" | "PUT" | "DELETE")[];
5636
5636
  authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
5637
5637
  hmacSecret?: string | undefined;
5638
5638
  }, {
@@ -5640,7 +5640,7 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5640
5640
  type: "webhook";
5641
5641
  name: string;
5642
5642
  enabled: boolean;
5643
- methods: ("GET" | "POST" | "PUT" | "DELETE")[];
5643
+ methods: ("POST" | "GET" | "PUT" | "DELETE")[];
5644
5644
  authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
5645
5645
  hmacSecret?: string | undefined;
5646
5646
  }>]>;
@@ -5677,13 +5677,13 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5677
5677
  retryOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5678
5678
  }, "strip", z.ZodTypeAny, {
5679
5679
  maxAttempts: number;
5680
- backoff: "exponential" | "linear" | "fixed";
5680
+ backoff: "fixed" | "linear" | "exponential";
5681
5681
  initialDelayMs: number;
5682
5682
  maxDelayMs: number;
5683
5683
  retryOn?: string[] | undefined;
5684
5684
  }, {
5685
5685
  maxAttempts: number;
5686
- backoff: "exponential" | "linear" | "fixed";
5686
+ backoff: "fixed" | "linear" | "exponential";
5687
5687
  initialDelayMs: number;
5688
5688
  maxDelayMs: number;
5689
5689
  retryOn?: string[] | undefined;
@@ -5703,10 +5703,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5703
5703
  }>>;
5704
5704
  errorHandler: z.ZodOptional<z.ZodString>;
5705
5705
  }, "strip", z.ZodTypeAny, {
5706
- strategy: "retry" | "compensate" | "ignore" | "fail";
5706
+ strategy: "ignore" | "retry" | "compensate" | "fail";
5707
5707
  retry?: {
5708
5708
  maxAttempts: number;
5709
- backoff: "exponential" | "linear" | "fixed";
5709
+ backoff: "fixed" | "linear" | "exponential";
5710
5710
  initialDelayMs: number;
5711
5711
  maxDelayMs: number;
5712
5712
  retryOn?: string[] | undefined;
@@ -5718,10 +5718,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5718
5718
  } | undefined;
5719
5719
  errorHandler?: string | undefined;
5720
5720
  }, {
5721
- strategy: "retry" | "compensate" | "ignore" | "fail";
5721
+ strategy: "ignore" | "retry" | "compensate" | "fail";
5722
5722
  retry?: {
5723
5723
  maxAttempts: number;
5724
- backoff: "exponential" | "linear" | "fixed";
5724
+ backoff: "fixed" | "linear" | "exponential";
5725
5725
  initialDelayMs: number;
5726
5726
  maxDelayMs: number;
5727
5727
  retryOn?: string[] | undefined;
@@ -5760,7 +5760,6 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5760
5760
  strategy: z.ZodEnum<["sequential", "parallel"]>;
5761
5761
  continueOnFailure: z.ZodBoolean;
5762
5762
  }, "strip", z.ZodTypeAny, {
5763
- strategy: "parallel" | "sequential";
5764
5763
  steps: {
5765
5764
  id: string;
5766
5765
  name: string;
@@ -5773,9 +5772,9 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5773
5772
  timeout?: number;
5774
5773
  outputMapping?: Record<string, string>;
5775
5774
  }[];
5775
+ strategy: "parallel" | "sequential";
5776
5776
  continueOnFailure: boolean;
5777
5777
  }, {
5778
- strategy: "parallel" | "sequential";
5779
5778
  steps: {
5780
5779
  id: string;
5781
5780
  name: string;
@@ -5788,6 +5787,7 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5788
5787
  timeout?: number;
5789
5788
  outputMapping?: Record<string, string>;
5790
5789
  }[];
5790
+ strategy: "parallel" | "sequential";
5791
5791
  continueOnFailure: boolean;
5792
5792
  }>>;
5793
5793
  config: z.ZodObject<{
@@ -5832,17 +5832,15 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5832
5832
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
5833
5833
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
5834
5834
  }, "strip", z.ZodTypeAny, {
5835
- status: "active" | "draft" | "deprecated" | "archived";
5836
- ns: string;
5837
5835
  id: string;
5836
+ status: "active" | "draft" | "deprecated" | "archived";
5838
5837
  name: string;
5839
- createdAt: Date;
5840
- updatedAt: Date;
5838
+ version: string;
5841
5839
  description: string;
5842
5840
  trigger: {
5841
+ pattern: string;
5843
5842
  type: "event";
5844
5843
  name: string;
5845
- pattern: string;
5846
5844
  enabled: boolean;
5847
5845
  filter?: Record<string, unknown> | undefined;
5848
5846
  batch?: {
@@ -5868,24 +5866,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5868
5866
  type: "webhook";
5869
5867
  name: string;
5870
5868
  enabled: boolean;
5871
- methods: ("GET" | "POST" | "PUT" | "DELETE")[];
5869
+ methods: ("POST" | "GET" | "PUT" | "DELETE")[];
5872
5870
  authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
5873
5871
  hmacSecret?: string | undefined;
5874
5872
  };
5875
- owner: string;
5876
- tags: string[];
5877
- slug: string;
5878
- config: {
5879
- timeout: number;
5880
- executionMode: "async" | "sync";
5881
- storeHistory: boolean;
5882
- historyRetentionDays: number;
5883
- maxConcurrency?: number | undefined;
5884
- rateLimit?: {
5885
- strategy: "fixed" | "sliding";
5886
- maxPerMinute: number;
5887
- } | undefined;
5888
- };
5889
5873
  steps: {
5890
5874
  id: string;
5891
5875
  name: string;
@@ -5898,12 +5882,28 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5898
5882
  timeout?: number;
5899
5883
  outputMapping?: Record<string, string>;
5900
5884
  }[];
5901
- version: string;
5885
+ tags: string[];
5886
+ config: {
5887
+ timeout: number;
5888
+ executionMode: "async" | "sync";
5889
+ storeHistory: boolean;
5890
+ historyRetentionDays: number;
5891
+ maxConcurrency?: number | undefined;
5892
+ rateLimit?: {
5893
+ strategy: "fixed" | "sliding";
5894
+ maxPerMinute: number;
5895
+ } | undefined;
5896
+ };
5897
+ ns: string;
5898
+ createdAt: Date;
5899
+ updatedAt: Date;
5900
+ owner: string;
5901
+ slug: string;
5902
5902
  errorHandling: {
5903
- strategy: "retry" | "compensate" | "ignore" | "fail";
5903
+ strategy: "ignore" | "retry" | "compensate" | "fail";
5904
5904
  retry?: {
5905
5905
  maxAttempts: number;
5906
- backoff: "exponential" | "linear" | "fixed";
5906
+ backoff: "fixed" | "linear" | "exponential";
5907
5907
  initialDelayMs: number;
5908
5908
  maxDelayMs: number;
5909
5909
  retryOn?: string[] | undefined;
@@ -5916,7 +5916,6 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5916
5916
  errorHandler?: string | undefined;
5917
5917
  };
5918
5918
  compensation?: {
5919
- strategy: "parallel" | "sequential";
5920
5919
  steps: {
5921
5920
  id: string;
5922
5921
  name: string;
@@ -5929,20 +5928,19 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5929
5928
  timeout?: number;
5930
5929
  outputMapping?: Record<string, string>;
5931
5930
  }[];
5931
+ strategy: "parallel" | "sequential";
5932
5932
  continueOnFailure: boolean;
5933
5933
  } | undefined;
5934
5934
  }, {
5935
- status: "active" | "draft" | "deprecated" | "archived";
5936
- ns: string;
5937
5935
  id: string;
5936
+ status: "active" | "draft" | "deprecated" | "archived";
5938
5937
  name: string;
5939
- createdAt: string | Date;
5940
- updatedAt: string | Date;
5938
+ version: string;
5941
5939
  description: string;
5942
5940
  trigger: {
5941
+ pattern: string;
5943
5942
  type: "event";
5944
5943
  name: string;
5945
- pattern: string;
5946
5944
  enabled: boolean;
5947
5945
  filter?: Record<string, unknown> | undefined;
5948
5946
  batch?: {
@@ -5968,24 +5966,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5968
5966
  type: "webhook";
5969
5967
  name: string;
5970
5968
  enabled: boolean;
5971
- methods: ("GET" | "POST" | "PUT" | "DELETE")[];
5969
+ methods: ("POST" | "GET" | "PUT" | "DELETE")[];
5972
5970
  authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
5973
5971
  hmacSecret?: string | undefined;
5974
5972
  };
5975
- owner: string;
5976
- tags: string[];
5977
- slug: string;
5978
- config: {
5979
- timeout: number;
5980
- executionMode: "async" | "sync";
5981
- storeHistory: boolean;
5982
- historyRetentionDays: number;
5983
- maxConcurrency?: number | undefined;
5984
- rateLimit?: {
5985
- strategy: "fixed" | "sliding";
5986
- maxPerMinute: number;
5987
- } | undefined;
5988
- };
5989
5973
  steps: {
5990
5974
  id: string;
5991
5975
  name: string;
@@ -5998,12 +5982,28 @@ declare const WorkflowResponseSchema: z.ZodObject<{
5998
5982
  timeout?: number;
5999
5983
  outputMapping?: Record<string, string>;
6000
5984
  }[];
6001
- version: string;
5985
+ tags: string[];
5986
+ config: {
5987
+ timeout: number;
5988
+ executionMode: "async" | "sync";
5989
+ storeHistory: boolean;
5990
+ historyRetentionDays: number;
5991
+ maxConcurrency?: number | undefined;
5992
+ rateLimit?: {
5993
+ strategy: "fixed" | "sliding";
5994
+ maxPerMinute: number;
5995
+ } | undefined;
5996
+ };
5997
+ ns: string;
5998
+ createdAt: string | Date;
5999
+ updatedAt: string | Date;
6000
+ owner: string;
6001
+ slug: string;
6002
6002
  errorHandling: {
6003
- strategy: "retry" | "compensate" | "ignore" | "fail";
6003
+ strategy: "ignore" | "retry" | "compensate" | "fail";
6004
6004
  retry?: {
6005
6005
  maxAttempts: number;
6006
- backoff: "exponential" | "linear" | "fixed";
6006
+ backoff: "fixed" | "linear" | "exponential";
6007
6007
  initialDelayMs: number;
6008
6008
  maxDelayMs: number;
6009
6009
  retryOn?: string[] | undefined;
@@ -6016,7 +6016,6 @@ declare const WorkflowResponseSchema: z.ZodObject<{
6016
6016
  errorHandler?: string | undefined;
6017
6017
  };
6018
6018
  compensation?: {
6019
- strategy: "parallel" | "sequential";
6020
6019
  steps: {
6021
6020
  id: string;
6022
6021
  name: string;
@@ -6029,6 +6028,7 @@ declare const WorkflowResponseSchema: z.ZodObject<{
6029
6028
  timeout?: number;
6030
6029
  outputMapping?: Record<string, string>;
6031
6030
  }[];
6031
+ strategy: "parallel" | "sequential";
6032
6032
  continueOnFailure: boolean;
6033
6033
  } | undefined;
6034
6034
  }>;
@@ -6041,14 +6041,14 @@ declare const TriggerDataResponseSchema: z.ZodObject<{
6041
6041
  triggeredAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
6042
6042
  source: z.ZodString;
6043
6043
  }, "strip", z.ZodTypeAny, {
6044
- type: "manual" | "event" | "schedule" | "webhook";
6045
6044
  data: Record<string, unknown>;
6046
6045
  source: string;
6046
+ type: "manual" | "event" | "schedule" | "webhook";
6047
6047
  triggeredAt: Date;
6048
6048
  }, {
6049
- type: "manual" | "event" | "schedule" | "webhook";
6050
6049
  data: Record<string, unknown>;
6051
6050
  source: string;
6051
+ type: "manual" | "event" | "schedule" | "webhook";
6052
6052
  triggeredAt: string | Date;
6053
6053
  }>;
6054
6054
  /**
@@ -6116,35 +6116,35 @@ declare const StepExecutionResponseSchema: z.ZodObject<{
6116
6116
  durationMs: z.ZodOptional<z.ZodNumber>;
6117
6117
  retryCount: z.ZodNumber;
6118
6118
  }, "strip", z.ZodTypeAny, {
6119
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6120
- retryCount: number;
6121
6119
  input: Record<string, unknown>;
6120
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6121
+ retryCount: number;
6122
6122
  startedAt: Date;
6123
6123
  stepId: string;
6124
6124
  stepName: string;
6125
+ output?: Record<string, unknown> | undefined;
6125
6126
  error?: {
6126
6127
  code: string;
6127
6128
  message: string;
6128
6129
  stack?: string | undefined;
6129
6130
  failedStep?: string | undefined;
6130
6131
  } | undefined;
6131
- output?: Record<string, unknown> | undefined;
6132
6132
  completedAt?: Date | undefined;
6133
6133
  durationMs?: number | undefined;
6134
6134
  }, {
6135
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6136
- retryCount: number;
6137
6135
  input: Record<string, unknown>;
6136
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6137
+ retryCount: number;
6138
6138
  startedAt: string | Date;
6139
6139
  stepId: string;
6140
6140
  stepName: string;
6141
+ output?: Record<string, unknown> | undefined;
6141
6142
  error?: {
6142
6143
  code: string;
6143
6144
  message: string;
6144
6145
  stack?: string | undefined;
6145
6146
  failedStep?: string | undefined;
6146
6147
  } | undefined;
6147
- output?: Record<string, unknown> | undefined;
6148
6148
  completedAt?: string | Date | undefined;
6149
6149
  durationMs?: number | undefined;
6150
6150
  }>;
@@ -6162,14 +6162,14 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
6162
6162
  triggeredAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
6163
6163
  source: z.ZodString;
6164
6164
  }, "strip", z.ZodTypeAny, {
6165
- type: "manual" | "event" | "schedule" | "webhook";
6166
6165
  data: Record<string, unknown>;
6167
6166
  source: string;
6167
+ type: "manual" | "event" | "schedule" | "webhook";
6168
6168
  triggeredAt: Date;
6169
6169
  }, {
6170
- type: "manual" | "event" | "schedule" | "webhook";
6171
6170
  data: Record<string, unknown>;
6172
6171
  source: string;
6172
+ type: "manual" | "event" | "schedule" | "webhook";
6173
6173
  triggeredAt: string | Date;
6174
6174
  }>;
6175
6175
  context: z.ZodObject<{
@@ -6212,35 +6212,35 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
6212
6212
  durationMs: z.ZodOptional<z.ZodNumber>;
6213
6213
  retryCount: z.ZodNumber;
6214
6214
  }, "strip", z.ZodTypeAny, {
6215
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6216
- retryCount: number;
6217
6215
  input: Record<string, unknown>;
6216
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6217
+ retryCount: number;
6218
6218
  startedAt: Date;
6219
6219
  stepId: string;
6220
6220
  stepName: string;
6221
+ output?: Record<string, unknown> | undefined;
6221
6222
  error?: {
6222
6223
  code: string;
6223
6224
  message: string;
6224
6225
  stack?: string | undefined;
6225
6226
  failedStep?: string | undefined;
6226
6227
  } | undefined;
6227
- output?: Record<string, unknown> | undefined;
6228
6228
  completedAt?: Date | undefined;
6229
6229
  durationMs?: number | undefined;
6230
6230
  }, {
6231
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6232
- retryCount: number;
6233
6231
  input: Record<string, unknown>;
6232
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6233
+ retryCount: number;
6234
6234
  startedAt: string | Date;
6235
6235
  stepId: string;
6236
6236
  stepName: string;
6237
+ output?: Record<string, unknown> | undefined;
6237
6238
  error?: {
6238
6239
  code: string;
6239
6240
  message: string;
6240
6241
  stack?: string | undefined;
6241
6242
  failedStep?: string | undefined;
6242
6243
  } | undefined;
6243
- output?: Record<string, unknown> | undefined;
6244
6244
  completedAt?: string | Date | undefined;
6245
6245
  durationMs?: number | undefined;
6246
6246
  }>, "many">;
@@ -6265,39 +6265,39 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
6265
6265
  }>>;
6266
6266
  ns: z.ZodString;
6267
6267
  }, "strip", z.ZodTypeAny, {
6268
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6269
- ns: string;
6270
6268
  id: string;
6271
- trigger: {
6272
- type: "manual" | "event" | "schedule" | "webhook";
6273
- data: Record<string, unknown>;
6274
- source: string;
6275
- triggeredAt: Date;
6276
- };
6269
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6277
6270
  context: {
6278
6271
  metadata: Record<string, unknown>;
6279
6272
  variables: Record<string, unknown>;
6280
6273
  stepOutputs: Record<string, unknown>;
6281
6274
  };
6282
- workflowId: string;
6283
- startedAt: Date;
6275
+ trigger: {
6276
+ data: Record<string, unknown>;
6277
+ source: string;
6278
+ type: "manual" | "event" | "schedule" | "webhook";
6279
+ triggeredAt: Date;
6280
+ };
6284
6281
  steps: {
6285
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6286
- retryCount: number;
6287
6282
  input: Record<string, unknown>;
6283
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6284
+ retryCount: number;
6288
6285
  startedAt: Date;
6289
6286
  stepId: string;
6290
6287
  stepName: string;
6288
+ output?: Record<string, unknown> | undefined;
6291
6289
  error?: {
6292
6290
  code: string;
6293
6291
  message: string;
6294
6292
  stack?: string | undefined;
6295
6293
  failedStep?: string | undefined;
6296
6294
  } | undefined;
6297
- output?: Record<string, unknown> | undefined;
6298
6295
  completedAt?: Date | undefined;
6299
6296
  durationMs?: number | undefined;
6300
6297
  }[];
6298
+ ns: string;
6299
+ workflowId: string;
6300
+ startedAt: Date;
6301
6301
  workflowVersion: string;
6302
6302
  error?: {
6303
6303
  code: string;
@@ -6308,39 +6308,39 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
6308
6308
  completedAt?: Date | undefined;
6309
6309
  durationMs?: number | undefined;
6310
6310
  }, {
6311
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6312
- ns: string;
6313
6311
  id: string;
6314
- trigger: {
6315
- type: "manual" | "event" | "schedule" | "webhook";
6316
- data: Record<string, unknown>;
6317
- source: string;
6318
- triggeredAt: string | Date;
6319
- };
6312
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6320
6313
  context: {
6321
6314
  metadata: Record<string, unknown>;
6322
6315
  variables: Record<string, unknown>;
6323
6316
  stepOutputs: Record<string, unknown>;
6324
6317
  };
6325
- workflowId: string;
6326
- startedAt: string | Date;
6318
+ trigger: {
6319
+ data: Record<string, unknown>;
6320
+ source: string;
6321
+ type: "manual" | "event" | "schedule" | "webhook";
6322
+ triggeredAt: string | Date;
6323
+ };
6327
6324
  steps: {
6328
- status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6329
- retryCount: number;
6330
6325
  input: Record<string, unknown>;
6326
+ status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
6327
+ retryCount: number;
6331
6328
  startedAt: string | Date;
6332
6329
  stepId: string;
6333
6330
  stepName: string;
6331
+ output?: Record<string, unknown> | undefined;
6334
6332
  error?: {
6335
6333
  code: string;
6336
6334
  message: string;
6337
6335
  stack?: string | undefined;
6338
6336
  failedStep?: string | undefined;
6339
6337
  } | undefined;
6340
- output?: Record<string, unknown> | undefined;
6341
6338
  completedAt?: string | Date | undefined;
6342
6339
  durationMs?: number | undefined;
6343
6340
  }[];
6341
+ ns: string;
6342
+ workflowId: string;
6343
+ startedAt: string | Date;
6344
6344
  workflowVersion: string;
6345
6345
  error?: {
6346
6346
  code: string;
@@ -6409,17 +6409,17 @@ declare const RelationshipResponseSchema: z.ZodObject<{
6409
6409
  endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
6410
6410
  }, z.ZodUnknown, "strip">>;
6411
6411
  }, "strip", z.ZodTypeAny, {
6412
- createdAt: Date;
6413
- createdBy: string;
6414
6412
  metadata: {
6413
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6415
6414
  weight?: number | undefined;
6416
6415
  confidence?: number | undefined;
6417
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6418
6416
  startDate?: Date | undefined;
6419
6417
  endDate?: Date | undefined;
6420
6418
  } & {
6421
6419
  [k: string]: unknown;
6422
6420
  };
6421
+ createdAt: Date;
6422
+ createdBy: string;
6423
6423
  relationshipType: string;
6424
6424
  relationshipId: string;
6425
6425
  fromNs: string;
@@ -6431,17 +6431,17 @@ declare const RelationshipResponseSchema: z.ZodObject<{
6431
6431
  deletedAt?: Date | null | undefined;
6432
6432
  deletedBy?: string | undefined;
6433
6433
  }, {
6434
- createdAt: string | Date;
6435
- createdBy: string;
6436
6434
  metadata: {
6435
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6437
6436
  weight?: number | undefined;
6438
6437
  confidence?: number | undefined;
6439
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6440
6438
  startDate?: string | Date | undefined;
6441
6439
  endDate?: string | Date | undefined;
6442
6440
  } & {
6443
6441
  [k: string]: unknown;
6444
6442
  };
6443
+ createdAt: string | Date;
6444
+ createdBy: string;
6445
6445
  relationshipType: string;
6446
6446
  relationshipId: string;
6447
6447
  fromNs: string;
@@ -6463,15 +6463,15 @@ declare const EntityReferenceResponseSchema: z.ZodObject<{
6463
6463
  semanticId: z.ZodString;
6464
6464
  name: z.ZodOptional<z.ZodString>;
6465
6465
  }, "strip", z.ZodTypeAny, {
6466
+ id: string;
6466
6467
  type: string;
6467
6468
  ns: string;
6468
- id: string;
6469
6469
  semanticId: string;
6470
6470
  name?: string | undefined;
6471
6471
  }, {
6472
+ id: string;
6472
6473
  type: string;
6473
6474
  ns: string;
6474
- id: string;
6475
6475
  semanticId: string;
6476
6476
  name?: string | undefined;
6477
6477
  }>;
@@ -6486,15 +6486,15 @@ declare const GraphPathResponseSchema: z.ZodObject<{
6486
6486
  semanticId: z.ZodString;
6487
6487
  name: z.ZodOptional<z.ZodString>;
6488
6488
  }, "strip", z.ZodTypeAny, {
6489
+ id: string;
6489
6490
  type: string;
6490
6491
  ns: string;
6491
- id: string;
6492
6492
  semanticId: string;
6493
6493
  name?: string | undefined;
6494
6494
  }, {
6495
+ id: string;
6495
6496
  type: string;
6496
6497
  ns: string;
6497
- id: string;
6498
6498
  semanticId: string;
6499
6499
  name?: string | undefined;
6500
6500
  }>;
@@ -6505,15 +6505,15 @@ declare const GraphPathResponseSchema: z.ZodObject<{
6505
6505
  semanticId: z.ZodString;
6506
6506
  name: z.ZodOptional<z.ZodString>;
6507
6507
  }, "strip", z.ZodTypeAny, {
6508
+ id: string;
6508
6509
  type: string;
6509
6510
  ns: string;
6510
- id: string;
6511
6511
  semanticId: string;
6512
6512
  name?: string | undefined;
6513
6513
  }, {
6514
+ id: string;
6514
6515
  type: string;
6515
6516
  ns: string;
6516
- id: string;
6517
6517
  semanticId: string;
6518
6518
  name?: string | undefined;
6519
6519
  }>;
@@ -6550,17 +6550,17 @@ declare const GraphPathResponseSchema: z.ZodObject<{
6550
6550
  endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
6551
6551
  }, z.ZodUnknown, "strip">>;
6552
6552
  }, "strip", z.ZodTypeAny, {
6553
- createdAt: Date;
6554
- createdBy: string;
6555
6553
  metadata: {
6554
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6556
6555
  weight?: number | undefined;
6557
6556
  confidence?: number | undefined;
6558
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6559
6557
  startDate?: Date | undefined;
6560
6558
  endDate?: Date | undefined;
6561
6559
  } & {
6562
6560
  [k: string]: unknown;
6563
6561
  };
6562
+ createdAt: Date;
6563
+ createdBy: string;
6564
6564
  relationshipType: string;
6565
6565
  relationshipId: string;
6566
6566
  fromNs: string;
@@ -6572,17 +6572,17 @@ declare const GraphPathResponseSchema: z.ZodObject<{
6572
6572
  deletedAt?: Date | null | undefined;
6573
6573
  deletedBy?: string | undefined;
6574
6574
  }, {
6575
- createdAt: string | Date;
6576
- createdBy: string;
6577
6575
  metadata: {
6576
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6578
6577
  weight?: number | undefined;
6579
6578
  confidence?: number | undefined;
6580
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6581
6579
  startDate?: string | Date | undefined;
6582
6580
  endDate?: string | Date | undefined;
6583
6581
  } & {
6584
6582
  [k: string]: unknown;
6585
6583
  };
6584
+ createdAt: string | Date;
6585
+ createdBy: string;
6586
6586
  relationshipType: string;
6587
6587
  relationshipId: string;
6588
6588
  fromNs: string;
@@ -6598,32 +6598,32 @@ declare const GraphPathResponseSchema: z.ZodObject<{
6598
6598
  length: z.ZodNumber;
6599
6599
  }, "strip", z.ZodTypeAny, {
6600
6600
  length: number;
6601
- start: {
6601
+ end: {
6602
+ id: string;
6602
6603
  type: string;
6603
6604
  ns: string;
6604
- id: string;
6605
6605
  semanticId: string;
6606
6606
  name?: string | undefined;
6607
6607
  };
6608
- end: {
6608
+ start: {
6609
+ id: string;
6609
6610
  type: string;
6610
6611
  ns: string;
6611
- id: string;
6612
6612
  semanticId: string;
6613
6613
  name?: string | undefined;
6614
6614
  };
6615
6615
  edges: {
6616
- createdAt: Date;
6617
- createdBy: string;
6618
6616
  metadata: {
6617
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6619
6618
  weight?: number | undefined;
6620
6619
  confidence?: number | undefined;
6621
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6622
6620
  startDate?: Date | undefined;
6623
6621
  endDate?: Date | undefined;
6624
6622
  } & {
6625
6623
  [k: string]: unknown;
6626
6624
  };
6625
+ createdAt: Date;
6626
+ createdBy: string;
6627
6627
  relationshipType: string;
6628
6628
  relationshipId: string;
6629
6629
  fromNs: string;
@@ -6638,32 +6638,32 @@ declare const GraphPathResponseSchema: z.ZodObject<{
6638
6638
  totalWeight: number;
6639
6639
  }, {
6640
6640
  length: number;
6641
- start: {
6641
+ end: {
6642
+ id: string;
6642
6643
  type: string;
6643
6644
  ns: string;
6644
- id: string;
6645
6645
  semanticId: string;
6646
6646
  name?: string | undefined;
6647
6647
  };
6648
- end: {
6648
+ start: {
6649
+ id: string;
6649
6650
  type: string;
6650
6651
  ns: string;
6651
- id: string;
6652
6652
  semanticId: string;
6653
6653
  name?: string | undefined;
6654
6654
  };
6655
6655
  edges: {
6656
- createdAt: string | Date;
6657
- createdBy: string;
6658
6656
  metadata: {
6657
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6659
6658
  weight?: number | undefined;
6660
6659
  confidence?: number | undefined;
6661
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6662
6660
  startDate?: string | Date | undefined;
6663
6661
  endDate?: string | Date | undefined;
6664
6662
  } & {
6665
6663
  [k: string]: unknown;
6666
6664
  };
6665
+ createdAt: string | Date;
6666
+ createdBy: string;
6667
6667
  relationshipType: string;
6668
6668
  relationshipId: string;
6669
6669
  fromNs: string;
@@ -6688,15 +6688,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6688
6688
  semanticId: z.ZodString;
6689
6689
  name: z.ZodOptional<z.ZodString>;
6690
6690
  }, "strip", z.ZodTypeAny, {
6691
+ id: string;
6691
6692
  type: string;
6692
6693
  ns: string;
6693
- id: string;
6694
6694
  semanticId: string;
6695
6695
  name?: string | undefined;
6696
6696
  }, {
6697
+ id: string;
6697
6698
  type: string;
6698
6699
  ns: string;
6699
- id: string;
6700
6700
  semanticId: string;
6701
6701
  name?: string | undefined;
6702
6702
  }>;
@@ -6707,15 +6707,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6707
6707
  semanticId: z.ZodString;
6708
6708
  name: z.ZodOptional<z.ZodString>;
6709
6709
  }, "strip", z.ZodTypeAny, {
6710
+ id: string;
6710
6711
  type: string;
6711
6712
  ns: string;
6712
- id: string;
6713
6713
  semanticId: string;
6714
6714
  name?: string | undefined;
6715
6715
  }, {
6716
+ id: string;
6716
6717
  type: string;
6717
6718
  ns: string;
6718
- id: string;
6719
6719
  semanticId: string;
6720
6720
  name?: string | undefined;
6721
6721
  }>, "many">;
@@ -6752,17 +6752,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6752
6752
  endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
6753
6753
  }, z.ZodUnknown, "strip">>;
6754
6754
  }, "strip", z.ZodTypeAny, {
6755
- createdAt: Date;
6756
- createdBy: string;
6757
6755
  metadata: {
6756
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6758
6757
  weight?: number | undefined;
6759
6758
  confidence?: number | undefined;
6760
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6761
6759
  startDate?: Date | undefined;
6762
6760
  endDate?: Date | undefined;
6763
6761
  } & {
6764
6762
  [k: string]: unknown;
6765
6763
  };
6764
+ createdAt: Date;
6765
+ createdBy: string;
6766
6766
  relationshipType: string;
6767
6767
  relationshipId: string;
6768
6768
  fromNs: string;
@@ -6774,17 +6774,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6774
6774
  deletedAt?: Date | null | undefined;
6775
6775
  deletedBy?: string | undefined;
6776
6776
  }, {
6777
- createdAt: string | Date;
6778
- createdBy: string;
6779
6777
  metadata: {
6778
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6780
6779
  weight?: number | undefined;
6781
6780
  confidence?: number | undefined;
6782
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6783
6781
  startDate?: string | Date | undefined;
6784
6782
  endDate?: string | Date | undefined;
6785
6783
  } & {
6786
6784
  [k: string]: unknown;
6787
6785
  };
6786
+ createdAt: string | Date;
6787
+ createdBy: string;
6788
6788
  relationshipType: string;
6789
6789
  relationshipId: string;
6790
6790
  fromNs: string;
@@ -6805,15 +6805,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6805
6805
  semanticId: z.ZodString;
6806
6806
  name: z.ZodOptional<z.ZodString>;
6807
6807
  }, "strip", z.ZodTypeAny, {
6808
+ id: string;
6808
6809
  type: string;
6809
6810
  ns: string;
6810
- id: string;
6811
6811
  semanticId: string;
6812
6812
  name?: string | undefined;
6813
6813
  }, {
6814
+ id: string;
6814
6815
  type: string;
6815
6816
  ns: string;
6816
- id: string;
6817
6817
  semanticId: string;
6818
6818
  name?: string | undefined;
6819
6819
  }>;
@@ -6824,15 +6824,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6824
6824
  semanticId: z.ZodString;
6825
6825
  name: z.ZodOptional<z.ZodString>;
6826
6826
  }, "strip", z.ZodTypeAny, {
6827
+ id: string;
6827
6828
  type: string;
6828
6829
  ns: string;
6829
- id: string;
6830
6830
  semanticId: string;
6831
6831
  name?: string | undefined;
6832
6832
  }, {
6833
+ id: string;
6833
6834
  type: string;
6834
6835
  ns: string;
6835
- id: string;
6836
6836
  semanticId: string;
6837
6837
  name?: string | undefined;
6838
6838
  }>;
@@ -6869,17 +6869,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6869
6869
  endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
6870
6870
  }, z.ZodUnknown, "strip">>;
6871
6871
  }, "strip", z.ZodTypeAny, {
6872
- createdAt: Date;
6873
- createdBy: string;
6874
6872
  metadata: {
6873
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6875
6874
  weight?: number | undefined;
6876
6875
  confidence?: number | undefined;
6877
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6878
6876
  startDate?: Date | undefined;
6879
6877
  endDate?: Date | undefined;
6880
6878
  } & {
6881
6879
  [k: string]: unknown;
6882
6880
  };
6881
+ createdAt: Date;
6882
+ createdBy: string;
6883
6883
  relationshipType: string;
6884
6884
  relationshipId: string;
6885
6885
  fromNs: string;
@@ -6891,17 +6891,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6891
6891
  deletedAt?: Date | null | undefined;
6892
6892
  deletedBy?: string | undefined;
6893
6893
  }, {
6894
- createdAt: string | Date;
6895
- createdBy: string;
6896
6894
  metadata: {
6895
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6897
6896
  weight?: number | undefined;
6898
6897
  confidence?: number | undefined;
6899
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6900
6898
  startDate?: string | Date | undefined;
6901
6899
  endDate?: string | Date | undefined;
6902
6900
  } & {
6903
6901
  [k: string]: unknown;
6904
6902
  };
6903
+ createdAt: string | Date;
6904
+ createdBy: string;
6905
6905
  relationshipType: string;
6906
6906
  relationshipId: string;
6907
6907
  fromNs: string;
@@ -6917,32 +6917,32 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6917
6917
  length: z.ZodNumber;
6918
6918
  }, "strip", z.ZodTypeAny, {
6919
6919
  length: number;
6920
- start: {
6920
+ end: {
6921
+ id: string;
6921
6922
  type: string;
6922
6923
  ns: string;
6923
- id: string;
6924
6924
  semanticId: string;
6925
6925
  name?: string | undefined;
6926
6926
  };
6927
- end: {
6927
+ start: {
6928
+ id: string;
6928
6929
  type: string;
6929
6930
  ns: string;
6930
- id: string;
6931
6931
  semanticId: string;
6932
6932
  name?: string | undefined;
6933
6933
  };
6934
6934
  edges: {
6935
- createdAt: Date;
6936
- createdBy: string;
6937
6935
  metadata: {
6936
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6938
6937
  weight?: number | undefined;
6939
6938
  confidence?: number | undefined;
6940
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6941
6939
  startDate?: Date | undefined;
6942
6940
  endDate?: Date | undefined;
6943
6941
  } & {
6944
6942
  [k: string]: unknown;
6945
6943
  };
6944
+ createdAt: Date;
6945
+ createdBy: string;
6946
6946
  relationshipType: string;
6947
6947
  relationshipId: string;
6948
6948
  fromNs: string;
@@ -6957,32 +6957,32 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6957
6957
  totalWeight: number;
6958
6958
  }, {
6959
6959
  length: number;
6960
- start: {
6960
+ end: {
6961
+ id: string;
6961
6962
  type: string;
6962
6963
  ns: string;
6963
- id: string;
6964
6964
  semanticId: string;
6965
6965
  name?: string | undefined;
6966
6966
  };
6967
- end: {
6967
+ start: {
6968
+ id: string;
6968
6969
  type: string;
6969
6970
  ns: string;
6970
- id: string;
6971
6971
  semanticId: string;
6972
6972
  name?: string | undefined;
6973
6973
  };
6974
6974
  edges: {
6975
- createdAt: string | Date;
6976
- createdBy: string;
6977
6975
  metadata: {
6976
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
6978
6977
  weight?: number | undefined;
6979
6978
  confidence?: number | undefined;
6980
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
6981
6979
  startDate?: string | Date | undefined;
6982
6980
  endDate?: string | Date | undefined;
6983
6981
  } & {
6984
6982
  [k: string]: unknown;
6985
6983
  };
6984
+ createdAt: string | Date;
6985
+ createdBy: string;
6986
6986
  relationshipType: string;
6987
6987
  relationshipId: string;
6988
6988
  fromNs: string;
@@ -6997,19 +6997,18 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
6997
6997
  totalWeight: number;
6998
6998
  }>, "many">;
6999
6999
  }, "strip", z.ZodTypeAny, {
7000
- depth: number;
7001
7000
  edges: {
7002
- createdAt: Date;
7003
- createdBy: string;
7004
7001
  metadata: {
7002
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7005
7003
  weight?: number | undefined;
7006
7004
  confidence?: number | undefined;
7007
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7008
7005
  startDate?: Date | undefined;
7009
7006
  endDate?: Date | undefined;
7010
7007
  } & {
7011
7008
  [k: string]: unknown;
7012
7009
  };
7010
+ createdAt: Date;
7011
+ createdBy: string;
7013
7012
  relationshipType: string;
7014
7013
  relationshipId: string;
7015
7014
  fromNs: string;
@@ -7022,47 +7021,48 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
7022
7021
  deletedBy?: string | undefined;
7023
7022
  }[];
7024
7023
  root: {
7024
+ id: string;
7025
7025
  type: string;
7026
7026
  ns: string;
7027
- id: string;
7028
7027
  semanticId: string;
7029
7028
  name?: string | undefined;
7030
7029
  };
7030
+ depth: number;
7031
7031
  nodes: {
7032
+ id: string;
7032
7033
  type: string;
7033
7034
  ns: string;
7034
- id: string;
7035
7035
  semanticId: string;
7036
7036
  name?: string | undefined;
7037
7037
  }[];
7038
7038
  paths: {
7039
7039
  length: number;
7040
- start: {
7040
+ end: {
7041
+ id: string;
7041
7042
  type: string;
7042
7043
  ns: string;
7043
- id: string;
7044
7044
  semanticId: string;
7045
7045
  name?: string | undefined;
7046
7046
  };
7047
- end: {
7047
+ start: {
7048
+ id: string;
7048
7049
  type: string;
7049
7050
  ns: string;
7050
- id: string;
7051
7051
  semanticId: string;
7052
7052
  name?: string | undefined;
7053
7053
  };
7054
7054
  edges: {
7055
- createdAt: Date;
7056
- createdBy: string;
7057
7055
  metadata: {
7056
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7058
7057
  weight?: number | undefined;
7059
7058
  confidence?: number | undefined;
7060
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7061
7059
  startDate?: Date | undefined;
7062
7060
  endDate?: Date | undefined;
7063
7061
  } & {
7064
7062
  [k: string]: unknown;
7065
7063
  };
7064
+ createdAt: Date;
7065
+ createdBy: string;
7066
7066
  relationshipType: string;
7067
7067
  relationshipId: string;
7068
7068
  fromNs: string;
@@ -7077,19 +7077,18 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
7077
7077
  totalWeight: number;
7078
7078
  }[];
7079
7079
  }, {
7080
- depth: number;
7081
7080
  edges: {
7082
- createdAt: string | Date;
7083
- createdBy: string;
7084
7081
  metadata: {
7082
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7085
7083
  weight?: number | undefined;
7086
7084
  confidence?: number | undefined;
7087
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7088
7085
  startDate?: string | Date | undefined;
7089
7086
  endDate?: string | Date | undefined;
7090
7087
  } & {
7091
7088
  [k: string]: unknown;
7092
7089
  };
7090
+ createdAt: string | Date;
7091
+ createdBy: string;
7093
7092
  relationshipType: string;
7094
7093
  relationshipId: string;
7095
7094
  fromNs: string;
@@ -7102,47 +7101,48 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
7102
7101
  deletedBy?: string | undefined;
7103
7102
  }[];
7104
7103
  root: {
7104
+ id: string;
7105
7105
  type: string;
7106
7106
  ns: string;
7107
- id: string;
7108
7107
  semanticId: string;
7109
7108
  name?: string | undefined;
7110
7109
  };
7110
+ depth: number;
7111
7111
  nodes: {
7112
+ id: string;
7112
7113
  type: string;
7113
7114
  ns: string;
7114
- id: string;
7115
7115
  semanticId: string;
7116
7116
  name?: string | undefined;
7117
7117
  }[];
7118
7118
  paths: {
7119
7119
  length: number;
7120
- start: {
7120
+ end: {
7121
+ id: string;
7121
7122
  type: string;
7122
7123
  ns: string;
7123
- id: string;
7124
7124
  semanticId: string;
7125
7125
  name?: string | undefined;
7126
7126
  };
7127
- end: {
7127
+ start: {
7128
+ id: string;
7128
7129
  type: string;
7129
7130
  ns: string;
7130
- id: string;
7131
7131
  semanticId: string;
7132
7132
  name?: string | undefined;
7133
7133
  };
7134
7134
  edges: {
7135
- createdAt: string | Date;
7136
- createdBy: string;
7137
7135
  metadata: {
7136
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7138
7137
  weight?: number | undefined;
7139
7138
  confidence?: number | undefined;
7140
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7141
7139
  startDate?: string | Date | undefined;
7142
7140
  endDate?: string | Date | undefined;
7143
7141
  } & {
7144
7142
  [k: string]: unknown;
7145
7143
  };
7144
+ createdAt: string | Date;
7145
+ createdBy: string;
7146
7146
  relationshipType: string;
7147
7147
  relationshipId: string;
7148
7148
  fromNs: string;
@@ -7174,33 +7174,33 @@ declare const GraphStatsResponseSchema: z.ZodObject<{
7174
7174
  semanticId: z.ZodString;
7175
7175
  name: z.ZodOptional<z.ZodString>;
7176
7176
  }, "strip", z.ZodTypeAny, {
7177
+ id: string;
7177
7178
  type: string;
7178
7179
  ns: string;
7179
- id: string;
7180
7180
  semanticId: string;
7181
7181
  name?: string | undefined;
7182
7182
  }, {
7183
+ id: string;
7183
7184
  type: string;
7184
7185
  ns: string;
7185
- id: string;
7186
7186
  semanticId: string;
7187
7187
  name?: string | undefined;
7188
7188
  }>;
7189
7189
  degree: z.ZodNumber;
7190
7190
  }, "strip", z.ZodTypeAny, {
7191
7191
  entity: {
7192
+ id: string;
7192
7193
  type: string;
7193
7194
  ns: string;
7194
- id: string;
7195
7195
  semanticId: string;
7196
7196
  name?: string | undefined;
7197
7197
  };
7198
7198
  degree: number;
7199
7199
  }, {
7200
7200
  entity: {
7201
+ id: string;
7201
7202
  type: string;
7202
7203
  ns: string;
7203
- id: string;
7204
7204
  semanticId: string;
7205
7205
  name?: string | undefined;
7206
7206
  };
@@ -7214,9 +7214,9 @@ declare const GraphStatsResponseSchema: z.ZodObject<{
7214
7214
  averageDegree: number;
7215
7215
  topConnectedNodes: {
7216
7216
  entity: {
7217
+ id: string;
7217
7218
  type: string;
7218
7219
  ns: string;
7219
- id: string;
7220
7220
  semanticId: string;
7221
7221
  name?: string | undefined;
7222
7222
  };
@@ -7230,9 +7230,9 @@ declare const GraphStatsResponseSchema: z.ZodObject<{
7230
7230
  averageDegree: number;
7231
7231
  topConnectedNodes: {
7232
7232
  entity: {
7233
+ id: string;
7233
7234
  type: string;
7234
7235
  ns: string;
7235
- id: string;
7236
7236
  semanticId: string;
7237
7237
  name?: string | undefined;
7238
7238
  };
@@ -7276,17 +7276,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7276
7276
  endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
7277
7277
  }, z.ZodUnknown, "strip">>;
7278
7278
  }, "strip", z.ZodTypeAny, {
7279
- createdAt: Date;
7280
- createdBy: string;
7281
7279
  metadata: {
7280
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7282
7281
  weight?: number | undefined;
7283
7282
  confidence?: number | undefined;
7284
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7285
7283
  startDate?: Date | undefined;
7286
7284
  endDate?: Date | undefined;
7287
7285
  } & {
7288
7286
  [k: string]: unknown;
7289
7287
  };
7288
+ createdAt: Date;
7289
+ createdBy: string;
7290
7290
  relationshipType: string;
7291
7291
  relationshipId: string;
7292
7292
  fromNs: string;
@@ -7298,17 +7298,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7298
7298
  deletedAt?: Date | null | undefined;
7299
7299
  deletedBy?: string | undefined;
7300
7300
  }, {
7301
- createdAt: string | Date;
7302
- createdBy: string;
7303
7301
  metadata: {
7302
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7304
7303
  weight?: number | undefined;
7305
7304
  confidence?: number | undefined;
7306
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7307
7305
  startDate?: string | Date | undefined;
7308
7306
  endDate?: string | Date | undefined;
7309
7307
  } & {
7310
7308
  [k: string]: unknown;
7311
7309
  };
7310
+ createdAt: string | Date;
7311
+ createdBy: string;
7312
7312
  relationshipType: string;
7313
7313
  relationshipId: string;
7314
7314
  fromNs: string;
@@ -7353,17 +7353,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7353
7353
  endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
7354
7354
  }, z.ZodUnknown, "strip">>;
7355
7355
  }, "strip", z.ZodTypeAny, {
7356
- createdAt: Date;
7357
- createdBy: string;
7358
7356
  metadata: {
7357
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7359
7358
  weight?: number | undefined;
7360
7359
  confidence?: number | undefined;
7361
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7362
7360
  startDate?: Date | undefined;
7363
7361
  endDate?: Date | undefined;
7364
7362
  } & {
7365
7363
  [k: string]: unknown;
7366
7364
  };
7365
+ createdAt: Date;
7366
+ createdBy: string;
7367
7367
  relationshipType: string;
7368
7368
  relationshipId: string;
7369
7369
  fromNs: string;
@@ -7375,17 +7375,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7375
7375
  deletedAt?: Date | null | undefined;
7376
7376
  deletedBy?: string | undefined;
7377
7377
  }, {
7378
- createdAt: string | Date;
7379
- createdBy: string;
7380
7378
  metadata: {
7379
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7381
7380
  weight?: number | undefined;
7382
7381
  confidence?: number | undefined;
7383
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7384
7382
  startDate?: string | Date | undefined;
7385
7383
  endDate?: string | Date | undefined;
7386
7384
  } & {
7387
7385
  [k: string]: unknown;
7388
7386
  };
7387
+ createdAt: string | Date;
7388
+ createdBy: string;
7389
7389
  relationshipType: string;
7390
7390
  relationshipId: string;
7391
7391
  fromNs: string;
@@ -7399,17 +7399,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7399
7399
  }>, "many">;
7400
7400
  }, "strip", z.ZodTypeAny, {
7401
7401
  outgoing: {
7402
- createdAt: Date;
7403
- createdBy: string;
7404
7402
  metadata: {
7403
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7405
7404
  weight?: number | undefined;
7406
7405
  confidence?: number | undefined;
7407
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7408
7406
  startDate?: Date | undefined;
7409
7407
  endDate?: Date | undefined;
7410
7408
  } & {
7411
7409
  [k: string]: unknown;
7412
7410
  };
7411
+ createdAt: Date;
7412
+ createdBy: string;
7413
7413
  relationshipType: string;
7414
7414
  relationshipId: string;
7415
7415
  fromNs: string;
@@ -7422,17 +7422,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7422
7422
  deletedBy?: string | undefined;
7423
7423
  }[];
7424
7424
  incoming: {
7425
- createdAt: Date;
7426
- createdBy: string;
7427
7425
  metadata: {
7426
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7428
7427
  weight?: number | undefined;
7429
7428
  confidence?: number | undefined;
7430
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7431
7429
  startDate?: Date | undefined;
7432
7430
  endDate?: Date | undefined;
7433
7431
  } & {
7434
7432
  [k: string]: unknown;
7435
7433
  };
7434
+ createdAt: Date;
7435
+ createdBy: string;
7436
7436
  relationshipType: string;
7437
7437
  relationshipId: string;
7438
7438
  fromNs: string;
@@ -7446,17 +7446,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7446
7446
  }[];
7447
7447
  }, {
7448
7448
  outgoing: {
7449
- createdAt: string | Date;
7450
- createdBy: string;
7451
7449
  metadata: {
7450
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7452
7451
  weight?: number | undefined;
7453
7452
  confidence?: number | undefined;
7454
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7455
7453
  startDate?: string | Date | undefined;
7456
7454
  endDate?: string | Date | undefined;
7457
7455
  } & {
7458
7456
  [k: string]: unknown;
7459
7457
  };
7458
+ createdAt: string | Date;
7459
+ createdBy: string;
7460
7460
  relationshipType: string;
7461
7461
  relationshipId: string;
7462
7462
  fromNs: string;
@@ -7469,17 +7469,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
7469
7469
  deletedBy?: string | undefined;
7470
7470
  }[];
7471
7471
  incoming: {
7472
- createdAt: string | Date;
7473
- createdBy: string;
7474
7472
  metadata: {
7473
+ source?: "manual" | "system" | "inferred" | "imported" | undefined;
7475
7474
  weight?: number | undefined;
7476
7475
  confidence?: number | undefined;
7477
- source?: "manual" | "inferred" | "imported" | "system" | undefined;
7478
7476
  startDate?: string | Date | undefined;
7479
7477
  endDate?: string | Date | undefined;
7480
7478
  } & {
7481
7479
  [k: string]: unknown;
7482
7480
  };
7481
+ createdAt: string | Date;
7482
+ createdBy: string;
7483
7483
  relationshipType: string;
7484
7484
  relationshipId: string;
7485
7485
  fromNs: string;
@@ -7504,21 +7504,21 @@ declare const PaginatedResultResponseSchema: <T extends z.ZodTypeAny>(dataSchema
7504
7504
  hasMore: z.ZodOptional<z.ZodBoolean>;
7505
7505
  cursor: z.ZodOptional<z.ZodString>;
7506
7506
  }, "strip", z.ZodTypeAny, {
7507
+ data: T["_output"][];
7507
7508
  page: number;
7508
7509
  perPage: number;
7509
- data: T["_output"][];
7510
7510
  total: number;
7511
7511
  totalPages: number;
7512
- hasMore?: boolean | undefined;
7513
7512
  cursor?: string | undefined;
7513
+ hasMore?: boolean | undefined;
7514
7514
  }, {
7515
+ data: T["_input"][];
7515
7516
  page: number;
7516
7517
  perPage: number;
7517
- data: T["_input"][];
7518
7518
  total: number;
7519
7519
  totalPages: number;
7520
- hasMore?: boolean | undefined;
7521
7520
  cursor?: string | undefined;
7521
+ hasMore?: boolean | undefined;
7522
7522
  }>;
7523
7523
  /** Inferred type for Thing response */
7524
7524
  type ThingResponse = z.infer<typeof ThingResponseSchema>;