@elevasis/ui 2.32.0 → 2.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/app/index.d.ts +3 -0
  2. package/dist/app/index.js +3 -3
  3. package/dist/{chunk-LLRXA7D7.js → chunk-2VYMDNJ3.js} +1 -1
  4. package/dist/{chunk-7KZINJLP.js → chunk-3YZRKADM.js} +4 -4
  5. package/dist/{chunk-MOY4VOHF.js → chunk-4AAZXKLL.js} +1 -1
  6. package/dist/{chunk-RQTWIXJ5.js → chunk-53436UTQ.js} +1 -1
  7. package/dist/{chunk-WQPX44YM.js → chunk-AV2TKVVV.js} +673 -168
  8. package/dist/chunk-CLDCYJQT.js +1 -0
  9. package/dist/chunk-DWXDNT7P.js +145 -0
  10. package/dist/{chunk-T35FWDAB.js → chunk-DYIDXUJS.js} +1089 -158
  11. package/dist/{chunk-IQHU7O5Y.js → chunk-F3MXFE72.js} +1 -1
  12. package/dist/{chunk-5FJJ72HU.js → chunk-FOUYP4JX.js} +1 -1
  13. package/dist/{chunk-QQHOKTJA.js → chunk-H6EFQP2P.js} +39 -2
  14. package/dist/{chunk-5J4PDX26.js → chunk-KW7ZNQD7.js} +16 -2
  15. package/dist/{chunk-ZQOKIGZP.js → chunk-NCEQGEW5.js} +4 -4
  16. package/dist/{chunk-6DWD423K.js → chunk-PIS24NIV.js} +1 -1
  17. package/dist/{chunk-4MFNGNHF.js → chunk-QVTIOT73.js} +2 -2
  18. package/dist/{chunk-GCOQ3TBG.js → chunk-SWMQTF2H.js} +2 -2
  19. package/dist/{chunk-4QK76KIF.js → chunk-UNVRVCXZ.js} +1 -1
  20. package/dist/{chunk-VRNMNB3O.js → chunk-UYRT7SPM.js} +1 -1
  21. package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
  22. package/dist/{chunk-YLQEVSOR.js → chunk-WGUEIGPC.js} +202 -54
  23. package/dist/{chunk-QXCDKE2O.js → chunk-WJOE76FI.js} +9 -28
  24. package/dist/{chunk-QTI3KC7D.js → chunk-YENKDBUU.js} +106 -43
  25. package/dist/components/index.d.ts +117 -4
  26. package/dist/components/index.js +24 -23
  27. package/dist/components/navigation/index.js +4 -3
  28. package/dist/execution/index.d.ts +8 -3
  29. package/dist/features/auth/index.d.ts +3 -0
  30. package/dist/features/clients/index.js +8 -7
  31. package/dist/features/crm/index.d.ts +3 -0
  32. package/dist/features/crm/index.js +10 -9
  33. package/dist/features/dashboard/index.d.ts +113 -3
  34. package/dist/features/dashboard/index.js +9 -8
  35. package/dist/features/delivery/index.d.ts +3 -0
  36. package/dist/features/delivery/index.js +9 -8
  37. package/dist/features/knowledge/index.js +8 -18
  38. package/dist/features/lead-gen/index.js +10 -9
  39. package/dist/features/monitoring/index.js +10 -9
  40. package/dist/features/monitoring/requests/index.d.ts +2 -2
  41. package/dist/features/monitoring/requests/index.js +8 -7
  42. package/dist/features/operations/index.d.ts +560 -93
  43. package/dist/features/operations/index.js +13 -12
  44. package/dist/features/settings/index.d.ts +3 -0
  45. package/dist/features/settings/index.js +9 -8
  46. package/dist/hooks/delivery/index.d.ts +3 -0
  47. package/dist/hooks/index.d.ts +210 -6
  48. package/dist/hooks/index.js +8 -7
  49. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +205 -4
  50. package/dist/hooks/published.d.ts +210 -6
  51. package/dist/hooks/published.js +8 -7
  52. package/dist/index.d.ts +565 -95
  53. package/dist/index.js +8 -7
  54. package/dist/initialization/index.d.ts +3 -0
  55. package/dist/knowledge/index.d.ts +577 -215
  56. package/dist/knowledge/index.js +1180 -689
  57. package/dist/knowledge-search-index-P7PR626V.js +1514 -0
  58. package/dist/layout/index.js +1 -1
  59. package/dist/profile/index.d.ts +3 -0
  60. package/dist/provider/index.d.ts +447 -73
  61. package/dist/provider/index.js +7 -6
  62. package/dist/provider/published.d.ts +447 -73
  63. package/dist/provider/published.js +5 -4
  64. package/dist/supabase/index.d.ts +6 -0
  65. package/dist/types/index.d.ts +208 -4
  66. package/dist/utils/index.d.ts +113 -3
  67. package/package.json +39 -39
  68. package/src/README.md +29 -29
  69. package/src/api/README.md +18 -18
  70. package/src/app/README.md +24 -24
  71. package/src/auth/README.md +18 -18
  72. package/src/components/README.md +24 -24
  73. package/src/execution/README.md +16 -16
  74. package/src/features/README.md +28 -28
  75. package/src/graph/README.md +16 -16
  76. package/src/hooks/README.md +23 -23
  77. package/src/initialization/README.md +19 -19
  78. package/src/knowledge/README.md +31 -31
  79. package/src/organization/README.md +18 -18
  80. package/src/profile/README.md +19 -19
  81. package/src/provider/README.md +32 -32
  82. package/src/router/README.md +18 -18
  83. package/src/sse/README.md +13 -13
  84. package/src/test-utils/README.md +7 -7
  85. package/src/theme/README.md +23 -23
  86. package/src/theme/presets/README.md +19 -19
  87. package/src/types/README.md +16 -16
  88. package/src/utils/README.md +18 -18
  89. package/src/zustand/README.md +18 -18
  90. package/dist/chunk-UROTM5OR.js +0 -172
  91. package/dist/knowledge-search-index-5KYPO746.js +0 -1479
@@ -122,14 +122,36 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
122
122
  id: z.ZodString;
123
123
  order: z.ZodDefault<z.ZodNumber>;
124
124
  systemPath: z.ZodString;
125
+ title: z.ZodOptional<z.ZodString>;
126
+ description: z.ZodOptional<z.ZodString>;
125
127
  ownerRoleId: z.ZodOptional<z.ZodString>;
126
128
  status: z.ZodEnum<{
127
129
  deprecated: "deprecated";
128
130
  active: "active";
129
131
  archived: "archived";
130
132
  }>;
133
+ ontology: z.ZodOptional<z.ZodObject<{
134
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
135
+ primaryAction: z.ZodOptional<z.ZodString>;
136
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ }, z.core.$strip>>;
141
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
142
+ path: z.ZodString;
143
+ role: z.ZodEnum<{
144
+ schema: "schema";
145
+ config: "config";
146
+ entrypoint: "entrypoint";
147
+ handler: "handler";
148
+ test: "test";
149
+ docs: "docs";
150
+ }>;
151
+ symbol: z.ZodOptional<z.ZodString>;
152
+ description: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strip>>>;
131
154
  kind: z.ZodLiteral<"workflow">;
132
- actionKey: z.ZodOptional<z.ZodString>;
133
155
  emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
156
  eventKey: z.ZodString;
135
157
  label: z.ZodString;
@@ -146,12 +168,35 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
146
168
  id: z.ZodString;
147
169
  order: z.ZodDefault<z.ZodNumber>;
148
170
  systemPath: z.ZodString;
171
+ title: z.ZodOptional<z.ZodString>;
172
+ description: z.ZodOptional<z.ZodString>;
149
173
  ownerRoleId: z.ZodOptional<z.ZodString>;
150
174
  status: z.ZodEnum<{
151
175
  deprecated: "deprecated";
152
176
  active: "active";
153
177
  archived: "archived";
154
178
  }>;
179
+ ontology: z.ZodOptional<z.ZodObject<{
180
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
+ primaryAction: z.ZodOptional<z.ZodString>;
182
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
185
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
+ }, z.core.$strip>>;
187
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
188
+ path: z.ZodString;
189
+ role: z.ZodEnum<{
190
+ schema: "schema";
191
+ config: "config";
192
+ entrypoint: "entrypoint";
193
+ handler: "handler";
194
+ test: "test";
195
+ docs: "docs";
196
+ }>;
197
+ symbol: z.ZodOptional<z.ZodString>;
198
+ description: z.ZodOptional<z.ZodString>;
199
+ }, z.core.$strip>>>;
155
200
  kind: z.ZodLiteral<"agent">;
156
201
  agentKind: z.ZodEnum<{
157
202
  platform: "platform";
@@ -200,24 +245,70 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
200
245
  id: z.ZodString;
201
246
  order: z.ZodDefault<z.ZodNumber>;
202
247
  systemPath: z.ZodString;
248
+ title: z.ZodOptional<z.ZodString>;
249
+ description: z.ZodOptional<z.ZodString>;
203
250
  ownerRoleId: z.ZodOptional<z.ZodString>;
204
251
  status: z.ZodEnum<{
205
252
  deprecated: "deprecated";
206
253
  active: "active";
207
254
  archived: "archived";
208
255
  }>;
256
+ ontology: z.ZodOptional<z.ZodObject<{
257
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
258
+ primaryAction: z.ZodOptional<z.ZodString>;
259
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
260
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
261
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
+ }, z.core.$strip>>;
264
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
265
+ path: z.ZodString;
266
+ role: z.ZodEnum<{
267
+ schema: "schema";
268
+ config: "config";
269
+ entrypoint: "entrypoint";
270
+ handler: "handler";
271
+ test: "test";
272
+ docs: "docs";
273
+ }>;
274
+ symbol: z.ZodOptional<z.ZodString>;
275
+ description: z.ZodOptional<z.ZodString>;
276
+ }, z.core.$strip>>>;
209
277
  kind: z.ZodLiteral<"integration">;
210
278
  provider: z.ZodString;
211
279
  }, z.core.$strip>, z.ZodObject<{
212
280
  id: z.ZodString;
213
281
  order: z.ZodDefault<z.ZodNumber>;
214
282
  systemPath: z.ZodString;
283
+ title: z.ZodOptional<z.ZodString>;
284
+ description: z.ZodOptional<z.ZodString>;
215
285
  ownerRoleId: z.ZodOptional<z.ZodString>;
216
286
  status: z.ZodEnum<{
217
287
  deprecated: "deprecated";
218
288
  active: "active";
219
289
  archived: "archived";
220
290
  }>;
291
+ ontology: z.ZodOptional<z.ZodObject<{
292
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
293
+ primaryAction: z.ZodOptional<z.ZodString>;
294
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
295
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
296
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
+ }, z.core.$strip>>;
299
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
300
+ path: z.ZodString;
301
+ role: z.ZodEnum<{
302
+ schema: "schema";
303
+ config: "config";
304
+ entrypoint: "entrypoint";
305
+ handler: "handler";
306
+ test: "test";
307
+ docs: "docs";
308
+ }>;
309
+ symbol: z.ZodOptional<z.ZodString>;
310
+ description: z.ZodOptional<z.ZodString>;
311
+ }, z.core.$strip>>>;
221
312
  kind: z.ZodLiteral<"script">;
222
313
  language: z.ZodEnum<{
223
314
  shell: "shell";
@@ -274,6 +365,100 @@ interface AgentMemory {
274
365
  history: MemoryEntry[];
275
366
  }
276
367
 
368
+ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
369
+ objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
370
+ id: z.ZodString;
371
+ label: z.ZodOptional<z.ZodString>;
372
+ description: z.ZodOptional<z.ZodString>;
373
+ ownerSystemId: z.ZodOptional<z.ZodString>;
374
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
375
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
376
+ storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
377
+ }, z.core.$loose>>>>;
378
+ linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
379
+ id: z.ZodString;
380
+ label: z.ZodOptional<z.ZodString>;
381
+ description: z.ZodOptional<z.ZodString>;
382
+ ownerSystemId: z.ZodOptional<z.ZodString>;
383
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
384
+ from: z.ZodString;
385
+ to: z.ZodString;
386
+ cardinality: z.ZodOptional<z.ZodString>;
387
+ via: z.ZodOptional<z.ZodString>;
388
+ }, z.core.$loose>>>>;
389
+ actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
390
+ id: z.ZodString;
391
+ label: z.ZodOptional<z.ZodString>;
392
+ description: z.ZodOptional<z.ZodString>;
393
+ ownerSystemId: z.ZodOptional<z.ZodString>;
394
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
395
+ actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
396
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
397
+ effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
398
+ }, z.core.$loose>>>>;
399
+ catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
400
+ id: z.ZodString;
401
+ label: z.ZodOptional<z.ZodString>;
402
+ description: z.ZodOptional<z.ZodString>;
403
+ ownerSystemId: z.ZodOptional<z.ZodString>;
404
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
405
+ kind: z.ZodOptional<z.ZodString>;
406
+ appliesTo: z.ZodOptional<z.ZodString>;
407
+ entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
408
+ }, z.core.$loose>>>>;
409
+ eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
410
+ id: z.ZodString;
411
+ label: z.ZodOptional<z.ZodString>;
412
+ description: z.ZodOptional<z.ZodString>;
413
+ ownerSystemId: z.ZodOptional<z.ZodString>;
414
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
415
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
416
+ }, z.core.$loose>>>>;
417
+ interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
418
+ id: z.ZodString;
419
+ label: z.ZodOptional<z.ZodString>;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ ownerSystemId: z.ZodOptional<z.ZodString>;
422
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
423
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
424
+ }, z.core.$loose>>>>;
425
+ valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
426
+ id: z.ZodString;
427
+ label: z.ZodOptional<z.ZodString>;
428
+ description: z.ZodOptional<z.ZodString>;
429
+ ownerSystemId: z.ZodOptional<z.ZodString>;
430
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
431
+ primitive: z.ZodOptional<z.ZodString>;
432
+ }, z.core.$loose>>>>;
433
+ sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
434
+ id: z.ZodString;
435
+ label: z.ZodOptional<z.ZodString>;
436
+ description: z.ZodOptional<z.ZodString>;
437
+ ownerSystemId: z.ZodOptional<z.ZodString>;
438
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
439
+ valueType: z.ZodOptional<z.ZodString>;
440
+ searchable: z.ZodOptional<z.ZodBoolean>;
441
+ pii: z.ZodOptional<z.ZodBoolean>;
442
+ }, z.core.$loose>>>>;
443
+ groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
444
+ id: z.ZodString;
445
+ label: z.ZodOptional<z.ZodString>;
446
+ description: z.ZodOptional<z.ZodString>;
447
+ ownerSystemId: z.ZodOptional<z.ZodString>;
448
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
449
+ members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
450
+ }, z.core.$loose>>>>;
451
+ surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
452
+ id: z.ZodString;
453
+ label: z.ZodOptional<z.ZodString>;
454
+ description: z.ZodOptional<z.ZodString>;
455
+ ownerSystemId: z.ZodOptional<z.ZodString>;
456
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
457
+ route: z.ZodOptional<z.ZodString>;
458
+ }, z.core.$loose>>>>;
459
+ }, z.core.$strip>>;
460
+ type OntologyScope = z.infer<typeof OntologyScopeSchema>;
461
+
277
462
  /**
278
463
  * Session Data Transfer Object (DTO)
279
464
  * Transform type for API responses (snake_case DB → camelCase frontend)
@@ -394,6 +579,10 @@ declare const ContentNodeSchema: z.ZodObject<{
394
579
  }, z.core.$strip>;
395
580
  type ContentNode = z.infer<typeof ContentNodeSchema>;
396
581
 
582
+ type JsonPrimitive = string | number | boolean | null;
583
+ type JsonValue = JsonPrimitive | JsonValue[] | {
584
+ [key: string]: JsonValue;
585
+ };
397
586
  /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
398
587
  interface SystemEntry {
399
588
  id: string;
@@ -428,6 +617,13 @@ interface SystemEntry {
428
617
  devOnly?: boolean;
429
618
  requiresAdmin?: boolean;
430
619
  order: number;
620
+ config?: Record<string, JsonValue>;
621
+ ontology?: OntologyScope;
622
+ systems?: Record<string, SystemEntry>;
623
+ /**
624
+ * @deprecated Compatibility-only bridge for old tenant data and migration readers.
625
+ * Author new semantic catalogs in `ontology` and local settings in `config`.
626
+ */
431
627
  content?: Record<string, ContentNode>;
432
628
  subsystems?: Record<string, SystemEntry>;
433
629
  }
@@ -482,12 +678,12 @@ interface ResourceDefinition {
482
678
  }
483
679
 
484
680
  declare const SurfaceTypeSchema: z.ZodEnum<{
485
- list: "list";
681
+ dashboard: "dashboard";
682
+ settings: "settings";
486
683
  graph: "graph";
684
+ list: "list";
487
685
  page: "page";
488
- dashboard: "dashboard";
489
686
  detail: "detail";
490
- settings: "settings";
491
687
  }>;
492
688
  interface SidebarSurfaceNode {
493
689
  type: 'surface';
@@ -516,6 +712,30 @@ interface SidebarGroupNode {
516
712
  }
517
713
  type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
518
714
 
715
+ declare const LinkSchema: z.ZodObject<{
716
+ nodeId: z.ZodString;
717
+ kind: z.ZodEnum<{
718
+ links: "links";
719
+ affects: "affects";
720
+ effects: "effects";
721
+ actions: "actions";
722
+ reads: "reads";
723
+ writes: "writes";
724
+ emits: "emits";
725
+ triggers: "triggers";
726
+ uses: "uses";
727
+ approval: "approval";
728
+ contains: "contains";
729
+ references: "references";
730
+ maps_to: "maps_to";
731
+ governs: "governs";
732
+ originates_from: "originates_from";
733
+ applies_to: "applies_to";
734
+ uses_catalog: "uses_catalog";
735
+ }>;
736
+ }, z.core.$strip>;
737
+ type Link = z.infer<typeof LinkSchema>;
738
+
519
739
  declare const OrganizationModelSchema: z.ZodObject<{
520
740
  version: z.ZodDefault<z.ZodLiteral<1>>;
521
741
  domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
@@ -547,10 +767,18 @@ declare const OrganizationModelSchema: z.ZodObject<{
547
767
  version: z.ZodDefault<z.ZodLiteral<1>>;
548
768
  lastModified: z.ZodString;
549
769
  }, z.core.$strip>>;
770
+ ontology: z.ZodOptional<z.ZodObject<{
771
+ version: z.ZodDefault<z.ZodLiteral<1>>;
772
+ lastModified: z.ZodString;
773
+ }, z.core.$strip>>;
550
774
  resources: z.ZodOptional<z.ZodObject<{
551
775
  version: z.ZodDefault<z.ZodLiteral<1>>;
552
776
  lastModified: z.ZodString;
553
777
  }, z.core.$strip>>;
778
+ topology: z.ZodOptional<z.ZodObject<{
779
+ version: z.ZodDefault<z.ZodLiteral<1>>;
780
+ lastModified: z.ZodString;
781
+ }, z.core.$strip>>;
554
782
  actions: z.ZodOptional<z.ZodObject<{
555
783
  version: z.ZodDefault<z.ZodLiteral<1>>;
556
784
  lastModified: z.ZodString;
@@ -596,10 +824,18 @@ declare const OrganizationModelSchema: z.ZodObject<{
596
824
  version: 1;
597
825
  lastModified: string;
598
826
  };
827
+ ontology: {
828
+ version: 1;
829
+ lastModified: string;
830
+ };
599
831
  resources: {
600
832
  version: 1;
601
833
  lastModified: string;
602
834
  };
835
+ topology: {
836
+ version: 1;
837
+ lastModified: string;
838
+ };
603
839
  actions: {
604
840
  version: 1;
605
841
  lastModified: string;
@@ -645,10 +881,18 @@ declare const OrganizationModelSchema: z.ZodObject<{
645
881
  version: 1;
646
882
  lastModified: string;
647
883
  } | undefined;
884
+ ontology?: {
885
+ version: 1;
886
+ lastModified: string;
887
+ } | undefined;
648
888
  resources?: {
649
889
  version: 1;
650
890
  lastModified: string;
651
891
  } | undefined;
892
+ topology?: {
893
+ version: 1;
894
+ lastModified: string;
895
+ } | undefined;
652
896
  actions?: {
653
897
  version: 1;
654
898
  lastModified: string;
@@ -796,18 +1040,132 @@ declare const OrganizationModelSchema: z.ZodObject<{
796
1040
  }, z.core.$strip>>>;
797
1041
  }, z.core.$strip>>>>;
798
1042
  systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
1043
+ ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
1044
+ objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1045
+ id: z.ZodString;
1046
+ label: z.ZodOptional<z.ZodString>;
1047
+ description: z.ZodOptional<z.ZodString>;
1048
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1049
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1050
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1051
+ storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1052
+ }, z.core.$loose>>>>;
1053
+ linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1054
+ id: z.ZodString;
1055
+ label: z.ZodOptional<z.ZodString>;
1056
+ description: z.ZodOptional<z.ZodString>;
1057
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1058
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1059
+ from: z.ZodString;
1060
+ to: z.ZodString;
1061
+ cardinality: z.ZodOptional<z.ZodString>;
1062
+ via: z.ZodOptional<z.ZodString>;
1063
+ }, z.core.$loose>>>>;
1064
+ actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1065
+ id: z.ZodString;
1066
+ label: z.ZodOptional<z.ZodString>;
1067
+ description: z.ZodOptional<z.ZodString>;
1068
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1069
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1070
+ actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
1071
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1072
+ effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1073
+ }, z.core.$loose>>>>;
1074
+ catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1075
+ id: z.ZodString;
1076
+ label: z.ZodOptional<z.ZodString>;
1077
+ description: z.ZodOptional<z.ZodString>;
1078
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1079
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1080
+ kind: z.ZodOptional<z.ZodString>;
1081
+ appliesTo: z.ZodOptional<z.ZodString>;
1082
+ entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1083
+ }, z.core.$loose>>>>;
1084
+ eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1085
+ id: z.ZodString;
1086
+ label: z.ZodOptional<z.ZodString>;
1087
+ description: z.ZodOptional<z.ZodString>;
1088
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1089
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1090
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1091
+ }, z.core.$loose>>>>;
1092
+ interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1093
+ id: z.ZodString;
1094
+ label: z.ZodOptional<z.ZodString>;
1095
+ description: z.ZodOptional<z.ZodString>;
1096
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1097
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1098
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1099
+ }, z.core.$loose>>>>;
1100
+ valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1101
+ id: z.ZodString;
1102
+ label: z.ZodOptional<z.ZodString>;
1103
+ description: z.ZodOptional<z.ZodString>;
1104
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1105
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1106
+ primitive: z.ZodOptional<z.ZodString>;
1107
+ }, z.core.$loose>>>>;
1108
+ sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1109
+ id: z.ZodString;
1110
+ label: z.ZodOptional<z.ZodString>;
1111
+ description: z.ZodOptional<z.ZodString>;
1112
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1113
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1114
+ valueType: z.ZodOptional<z.ZodString>;
1115
+ searchable: z.ZodOptional<z.ZodBoolean>;
1116
+ pii: z.ZodOptional<z.ZodBoolean>;
1117
+ }, z.core.$loose>>>>;
1118
+ groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1119
+ id: z.ZodString;
1120
+ label: z.ZodOptional<z.ZodString>;
1121
+ description: z.ZodOptional<z.ZodString>;
1122
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1123
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1124
+ members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
1125
+ }, z.core.$loose>>>>;
1126
+ surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1127
+ id: z.ZodString;
1128
+ label: z.ZodOptional<z.ZodString>;
1129
+ description: z.ZodOptional<z.ZodString>;
1130
+ ownerSystemId: z.ZodOptional<z.ZodString>;
1131
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1132
+ route: z.ZodOptional<z.ZodString>;
1133
+ }, z.core.$loose>>>>;
1134
+ }, z.core.$strip>>>;
799
1135
  resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
800
1136
  id: z.ZodString;
801
1137
  order: z.ZodDefault<z.ZodNumber>;
802
1138
  systemPath: z.ZodString;
1139
+ title: z.ZodOptional<z.ZodString>;
1140
+ description: z.ZodOptional<z.ZodString>;
803
1141
  ownerRoleId: z.ZodOptional<z.ZodString>;
804
1142
  status: z.ZodEnum<{
805
1143
  deprecated: "deprecated";
806
1144
  active: "active";
807
1145
  archived: "archived";
808
1146
  }>;
1147
+ ontology: z.ZodOptional<z.ZodObject<{
1148
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1149
+ primaryAction: z.ZodOptional<z.ZodString>;
1150
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
1151
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1152
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1153
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
1154
+ }, z.core.$strip>>;
1155
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1156
+ path: z.ZodString;
1157
+ role: z.ZodEnum<{
1158
+ schema: "schema";
1159
+ config: "config";
1160
+ entrypoint: "entrypoint";
1161
+ handler: "handler";
1162
+ test: "test";
1163
+ docs: "docs";
1164
+ }>;
1165
+ symbol: z.ZodOptional<z.ZodString>;
1166
+ description: z.ZodOptional<z.ZodString>;
1167
+ }, z.core.$strip>>>;
809
1168
  kind: z.ZodLiteral<"workflow">;
810
- actionKey: z.ZodOptional<z.ZodString>;
811
1169
  emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
812
1170
  eventKey: z.ZodString;
813
1171
  label: z.ZodString;
@@ -824,12 +1182,35 @@ declare const OrganizationModelSchema: z.ZodObject<{
824
1182
  id: z.ZodString;
825
1183
  order: z.ZodDefault<z.ZodNumber>;
826
1184
  systemPath: z.ZodString;
1185
+ title: z.ZodOptional<z.ZodString>;
1186
+ description: z.ZodOptional<z.ZodString>;
827
1187
  ownerRoleId: z.ZodOptional<z.ZodString>;
828
1188
  status: z.ZodEnum<{
829
1189
  deprecated: "deprecated";
830
1190
  active: "active";
831
1191
  archived: "archived";
832
1192
  }>;
1193
+ ontology: z.ZodOptional<z.ZodObject<{
1194
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1195
+ primaryAction: z.ZodOptional<z.ZodString>;
1196
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
1197
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1198
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1199
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
1200
+ }, z.core.$strip>>;
1201
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1202
+ path: z.ZodString;
1203
+ role: z.ZodEnum<{
1204
+ schema: "schema";
1205
+ config: "config";
1206
+ entrypoint: "entrypoint";
1207
+ handler: "handler";
1208
+ test: "test";
1209
+ docs: "docs";
1210
+ }>;
1211
+ symbol: z.ZodOptional<z.ZodString>;
1212
+ description: z.ZodOptional<z.ZodString>;
1213
+ }, z.core.$strip>>>;
833
1214
  kind: z.ZodLiteral<"agent">;
834
1215
  agentKind: z.ZodEnum<{
835
1216
  platform: "platform";
@@ -878,24 +1259,70 @@ declare const OrganizationModelSchema: z.ZodObject<{
878
1259
  id: z.ZodString;
879
1260
  order: z.ZodDefault<z.ZodNumber>;
880
1261
  systemPath: z.ZodString;
1262
+ title: z.ZodOptional<z.ZodString>;
1263
+ description: z.ZodOptional<z.ZodString>;
881
1264
  ownerRoleId: z.ZodOptional<z.ZodString>;
882
1265
  status: z.ZodEnum<{
883
1266
  deprecated: "deprecated";
884
1267
  active: "active";
885
1268
  archived: "archived";
886
1269
  }>;
1270
+ ontology: z.ZodOptional<z.ZodObject<{
1271
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1272
+ primaryAction: z.ZodOptional<z.ZodString>;
1273
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
1274
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1275
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1276
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
1277
+ }, z.core.$strip>>;
1278
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1279
+ path: z.ZodString;
1280
+ role: z.ZodEnum<{
1281
+ schema: "schema";
1282
+ config: "config";
1283
+ entrypoint: "entrypoint";
1284
+ handler: "handler";
1285
+ test: "test";
1286
+ docs: "docs";
1287
+ }>;
1288
+ symbol: z.ZodOptional<z.ZodString>;
1289
+ description: z.ZodOptional<z.ZodString>;
1290
+ }, z.core.$strip>>>;
887
1291
  kind: z.ZodLiteral<"integration">;
888
1292
  provider: z.ZodString;
889
1293
  }, z.core.$strip>, z.ZodObject<{
890
1294
  id: z.ZodString;
891
1295
  order: z.ZodDefault<z.ZodNumber>;
892
1296
  systemPath: z.ZodString;
1297
+ title: z.ZodOptional<z.ZodString>;
1298
+ description: z.ZodOptional<z.ZodString>;
893
1299
  ownerRoleId: z.ZodOptional<z.ZodString>;
894
1300
  status: z.ZodEnum<{
895
1301
  deprecated: "deprecated";
896
1302
  active: "active";
897
1303
  archived: "archived";
898
1304
  }>;
1305
+ ontology: z.ZodOptional<z.ZodObject<{
1306
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1307
+ primaryAction: z.ZodOptional<z.ZodString>;
1308
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
1309
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1310
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1311
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
1312
+ }, z.core.$strip>>;
1313
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1314
+ path: z.ZodString;
1315
+ role: z.ZodEnum<{
1316
+ schema: "schema";
1317
+ config: "config";
1318
+ entrypoint: "entrypoint";
1319
+ handler: "handler";
1320
+ test: "test";
1321
+ docs: "docs";
1322
+ }>;
1323
+ symbol: z.ZodOptional<z.ZodString>;
1324
+ description: z.ZodOptional<z.ZodString>;
1325
+ }, z.core.$strip>>>;
899
1326
  kind: z.ZodLiteral<"script">;
900
1327
  language: z.ZodEnum<{
901
1328
  shell: "shell";
@@ -907,6 +1334,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
907
1334
  file: z.ZodString;
908
1335
  }, z.core.$strip>]>;
909
1336
  }, z.core.$strip>], "kind">>>>;
1337
+ topology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
1338
+ version: z.ZodDefault<z.ZodLiteral<1>>;
1339
+ relationships: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1340
+ from: z.ZodDiscriminatedUnion<[z.ZodObject<{
1341
+ kind: z.ZodLiteral<"system">;
1342
+ id: z.ZodString;
1343
+ }, z.core.$strip>, z.ZodObject<{
1344
+ kind: z.ZodLiteral<"resource">;
1345
+ id: z.ZodString;
1346
+ }, z.core.$strip>, z.ZodObject<{
1347
+ kind: z.ZodLiteral<"ontology">;
1348
+ id: z.ZodString;
1349
+ }, z.core.$strip>, z.ZodObject<{
1350
+ kind: z.ZodLiteral<"policy">;
1351
+ id: z.ZodString;
1352
+ }, z.core.$strip>, z.ZodObject<{
1353
+ kind: z.ZodLiteral<"role">;
1354
+ id: z.ZodString;
1355
+ }, z.core.$strip>, z.ZodObject<{
1356
+ kind: z.ZodLiteral<"trigger">;
1357
+ id: z.ZodString;
1358
+ }, z.core.$strip>, z.ZodObject<{
1359
+ kind: z.ZodLiteral<"humanCheckpoint">;
1360
+ id: z.ZodString;
1361
+ }, z.core.$strip>, z.ZodObject<{
1362
+ kind: z.ZodLiteral<"externalResource">;
1363
+ id: z.ZodString;
1364
+ }, z.core.$strip>], "kind">;
1365
+ kind: z.ZodEnum<{
1366
+ triggers: "triggers";
1367
+ uses: "uses";
1368
+ approval: "approval";
1369
+ }>;
1370
+ to: z.ZodDiscriminatedUnion<[z.ZodObject<{
1371
+ kind: z.ZodLiteral<"system">;
1372
+ id: z.ZodString;
1373
+ }, z.core.$strip>, z.ZodObject<{
1374
+ kind: z.ZodLiteral<"resource">;
1375
+ id: z.ZodString;
1376
+ }, z.core.$strip>, z.ZodObject<{
1377
+ kind: z.ZodLiteral<"ontology">;
1378
+ id: z.ZodString;
1379
+ }, z.core.$strip>, z.ZodObject<{
1380
+ kind: z.ZodLiteral<"policy">;
1381
+ id: z.ZodString;
1382
+ }, z.core.$strip>, z.ZodObject<{
1383
+ kind: z.ZodLiteral<"role">;
1384
+ id: z.ZodString;
1385
+ }, z.core.$strip>, z.ZodObject<{
1386
+ kind: z.ZodLiteral<"trigger">;
1387
+ id: z.ZodString;
1388
+ }, z.core.$strip>, z.ZodObject<{
1389
+ kind: z.ZodLiteral<"humanCheckpoint">;
1390
+ id: z.ZodString;
1391
+ }, z.core.$strip>, z.ZodObject<{
1392
+ kind: z.ZodLiteral<"externalResource">;
1393
+ id: z.ZodString;
1394
+ }, z.core.$strip>], "kind">;
1395
+ systemPath: z.ZodOptional<z.ZodString>;
1396
+ required: z.ZodOptional<z.ZodBoolean>;
1397
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1398
+ }, z.core.$strip>>>;
1399
+ }, z.core.$strip>>>;
910
1400
  actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
911
1401
  id: z.ZodString;
912
1402
  order: z.ZodNumber;
@@ -1040,80 +1530,76 @@ declare const OrganizationModelSchema: z.ZodObject<{
1040
1530
  title: z.ZodString;
1041
1531
  summary: z.ZodString;
1042
1532
  icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1043
- "nav.dashboard": "nav.dashboard";
1044
- "nav.calendar": "nav.calendar";
1045
- "nav.sales": "nav.sales";
1046
- "nav.crm": "nav.crm";
1047
- "nav.lead-gen": "nav.lead-gen";
1048
- "nav.projects": "nav.projects";
1049
- "nav.operations": "nav.operations";
1050
- "nav.monitoring": "nav.monitoring";
1051
- "nav.knowledge": "nav.knowledge";
1052
- "nav.settings": "nav.settings";
1053
- "nav.admin": "nav.admin";
1054
- "nav.archive": "nav.archive";
1055
- "knowledge.playbook": "knowledge.playbook";
1056
- "knowledge.strategy": "knowledge.strategy";
1057
- "knowledge.reference": "knowledge.reference";
1058
- "feature.dashboard": "feature.dashboard";
1059
- "feature.calendar": "feature.calendar";
1060
- "feature.business": "feature.business";
1061
- "feature.sales": "feature.sales";
1062
- "feature.crm": "feature.crm";
1063
- "feature.finance": "feature.finance";
1064
- "feature.lead-gen": "feature.lead-gen";
1065
- "feature.platform": "feature.platform";
1066
- "feature.projects": "feature.projects";
1067
- "feature.operations": "feature.operations";
1068
- "feature.knowledge": "feature.knowledge";
1069
- "feature.monitoring": "feature.monitoring";
1070
- "feature.settings": "feature.settings";
1071
- "feature.admin": "feature.admin";
1072
- "feature.archive": "feature.archive";
1073
- "feature.seo": "feature.seo";
1074
- "resource.agent": "resource.agent";
1075
- "resource.workflow": "resource.workflow";
1076
- "resource.integration": "resource.integration";
1077
- "resource.database": "resource.database";
1078
- "resource.user": "resource.user";
1079
- "resource.team": "resource.team";
1080
- "integration.gmail": "integration.gmail";
1081
- "integration.google-sheets": "integration.google-sheets";
1082
- "integration.attio": "integration.attio";
1083
- "surface.dashboard": "surface.dashboard";
1084
- "surface.calendar": "surface.calendar";
1085
- "surface.overview": "surface.overview";
1086
- "surface.command-view": "surface.command-view";
1087
- "surface.command-queue": "surface.command-queue";
1088
- "surface.pipeline": "surface.pipeline";
1089
- "surface.lists": "surface.lists";
1090
- "surface.resources": "surface.resources";
1091
- "surface.settings": "surface.settings";
1092
- "status.success": "status.success";
1093
- "status.error": "status.error";
1094
- "status.warning": "status.warning";
1095
- "status.info": "status.info";
1096
- "status.pending": "status.pending";
1097
- "action.approve": "action.approve";
1098
- "action.reject": "action.reject";
1099
- "action.retry": "action.retry";
1100
- "action.edit": "action.edit";
1101
- "action.view": "action.view";
1102
- "action.launch": "action.launch";
1103
- "action.message": "action.message";
1104
- "action.escalate": "action.escalate";
1105
- "action.promote": "action.promote";
1106
- "action.submit": "action.submit";
1107
- "action.email": "action.email";
1533
+ message: "message";
1534
+ error: "error";
1535
+ agent: "agent";
1536
+ workflow: "workflow";
1537
+ "google-sheets": "google-sheets";
1538
+ dashboard: "dashboard";
1539
+ calendar: "calendar";
1540
+ sales: "sales";
1541
+ crm: "crm";
1542
+ "lead-gen": "lead-gen";
1543
+ projects: "projects";
1544
+ operations: "operations";
1545
+ monitoring: "monitoring";
1546
+ knowledge: "knowledge";
1547
+ settings: "settings";
1548
+ admin: "admin";
1549
+ archive: "archive";
1550
+ business: "business";
1551
+ finance: "finance";
1552
+ platform: "platform";
1553
+ seo: "seo";
1554
+ playbook: "playbook";
1555
+ strategy: "strategy";
1556
+ reference: "reference";
1557
+ integration: "integration";
1558
+ database: "database";
1559
+ user: "user";
1560
+ team: "team";
1561
+ gmail: "gmail";
1562
+ attio: "attio";
1563
+ overview: "overview";
1564
+ "command-view": "command-view";
1565
+ "command-queue": "command-queue";
1566
+ pipeline: "pipeline";
1567
+ lists: "lists";
1568
+ resources: "resources";
1569
+ approve: "approve";
1570
+ reject: "reject";
1571
+ retry: "retry";
1572
+ edit: "edit";
1573
+ view: "view";
1574
+ launch: "launch";
1575
+ escalate: "escalate";
1576
+ promote: "promote";
1577
+ submit: "submit";
1578
+ email: "email";
1579
+ success: "success";
1580
+ warning: "warning";
1581
+ info: "info";
1582
+ pending: "pending";
1583
+ bolt: "bolt";
1584
+ building: "building";
1585
+ briefcase: "briefcase";
1586
+ apps: "apps";
1587
+ graph: "graph";
1588
+ shield: "shield";
1589
+ users: "users";
1590
+ "chart-bar": "chart-bar";
1591
+ search: "search";
1108
1592
  }>, z.ZodString]>>;
1109
1593
  externalUrl: z.ZodOptional<z.ZodString>;
1594
+ sourceFilePath: z.ZodOptional<z.ZodString>;
1110
1595
  body: z.ZodString;
1111
1596
  links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1112
1597
  target: z.ZodObject<{
1113
1598
  kind: z.ZodEnum<{
1599
+ knowledge: "knowledge";
1114
1600
  system: "system";
1115
1601
  action: "action";
1116
- knowledge: "knowledge";
1602
+ ontology: "ontology";
1117
1603
  role: "role";
1118
1604
  goal: "goal";
1119
1605
  stage: "stage";
@@ -1125,10 +1611,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
1125
1611
  id: z.ZodString;
1126
1612
  }, z.core.$strip>;
1127
1613
  }, z.core.$strip>, z.ZodObject<{
1128
- nodeId: z.ZodString;
1614
+ nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
1129
1615
  }, z.core.$strip>]>, z.ZodTransform<{
1130
1616
  target: {
1131
- kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
1617
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
1132
1618
  id: string;
1133
1619
  };
1134
1620
  nodeId: string;
@@ -1136,7 +1622,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
1136
1622
  nodeId: string;
1137
1623
  } | {
1138
1624
  target: {
1139
- kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
1625
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
1140
1626
  id: string;
1141
1627
  };
1142
1628
  }>>>>;
@@ -1147,25 +1633,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
1147
1633
 
1148
1634
  type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
1149
1635
 
1150
- declare const LinkSchema: z.ZodObject<{
1151
- nodeId: z.ZodString;
1152
- kind: z.ZodEnum<{
1153
- links: "links";
1154
- affects: "affects";
1155
- emits: "emits";
1156
- contains: "contains";
1157
- references: "references";
1158
- maps_to: "maps_to";
1159
- uses: "uses";
1160
- governs: "governs";
1161
- originates_from: "originates_from";
1162
- triggers: "triggers";
1163
- applies_to: "applies_to";
1164
- effects: "effects";
1165
- }>;
1166
- }, z.core.$strip>;
1167
- type Link = z.infer<typeof LinkSchema>;
1168
-
1169
1636
  declare const ResourceCategorySchema: z.ZodEnum<{
1170
1637
  diagnostic: "diagnostic";
1171
1638
  production: "production";