@elevasis/ui 2.33.2 → 2.35.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 (116) hide show
  1. package/dist/api/index.d.ts +9 -2
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.css +452 -0
  4. package/dist/app/index.d.ts +1255 -8
  5. package/dist/app/index.js +151 -13
  6. package/dist/charts/index.js +3 -6
  7. package/dist/chunk-26HFM4MH.js +41449 -0
  8. package/dist/{chunk-52K5RFDH.js → chunk-4U3XAWCN.js} +1328 -2492
  9. package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
  10. package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
  11. package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
  12. package/dist/chunk-AUDNF2Q7.js +2050 -0
  13. package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
  14. package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
  15. package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
  16. package/dist/chunk-SIQ3P4OR.js +1764 -0
  17. package/dist/{chunk-Z2K2EAPL.js → chunk-VDOOGGBA.js} +5 -6
  18. package/dist/{chunk-3FV6HBXS.js → chunk-WF7CONXF.js} +23 -23
  19. package/dist/chunk-YYX7OPZQ.js +25 -0
  20. package/dist/components/index.d.ts +69 -92
  21. package/dist/components/index.js +20 -3216
  22. package/dist/components/navigation/index.js +25 -7
  23. package/dist/execution/index.d.ts +9 -9
  24. package/dist/execution/index.js +1 -2
  25. package/dist/features/auth/index.js +23 -2
  26. package/dist/features/clients/index.js +20 -31
  27. package/dist/features/crm/index.js +20 -35
  28. package/dist/features/dashboard/index.d.ts +68 -91
  29. package/dist/features/dashboard/index.js +20 -33
  30. package/dist/features/delivery/index.js +20 -35
  31. package/dist/features/knowledge/index.js +25 -11
  32. package/dist/features/lead-gen/index.d.ts +9 -9
  33. package/dist/features/lead-gen/index.js +20 -36
  34. package/dist/features/monitoring/index.js +20 -35
  35. package/dist/features/monitoring/requests/index.js +20 -30
  36. package/dist/features/operations/index.d.ts +197 -188
  37. package/dist/features/operations/index.js +18 -42
  38. package/dist/features/seo/index.js +3 -4
  39. package/dist/features/settings/index.js +20 -32
  40. package/dist/graph/index.js +1 -1
  41. package/dist/hooks/delivery/index.js +30 -2
  42. package/dist/hooks/index.d.ts +105 -112
  43. package/dist/hooks/index.js +20 -26
  44. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +55 -62
  45. package/dist/hooks/published.d.ts +105 -112
  46. package/dist/hooks/published.js +20 -25
  47. package/dist/index.css +532 -532
  48. package/dist/index.d.ts +10261 -6793
  49. package/dist/index.js +22 -31
  50. package/dist/knowledge/index.d.ts +51 -59
  51. package/dist/knowledge/index.js +40 -211
  52. package/dist/{knowledge-search-index-VMAW7FLR.js → knowledge-search-index-ORIJCEZX.js} +3 -3
  53. package/dist/layout/index.js +4 -10
  54. package/dist/organization/index.js +27 -2
  55. package/dist/provider/index.d.ts +71 -52
  56. package/dist/provider/index.js +20 -20
  57. package/dist/provider/published.d.ts +39 -47
  58. package/dist/provider/published.js +20 -15
  59. package/dist/test-utils/index.d.ts +2 -0
  60. package/dist/test-utils/index.js +16 -4
  61. package/dist/test-utils/setup.js +38 -0
  62. package/dist/theme/index.js +2 -3
  63. package/dist/theme/presets/index.d.ts +28 -3
  64. package/dist/theme/presets/index.js +1 -1
  65. package/dist/typeform/index.js +1 -2049
  66. package/dist/types/index.d.ts +88 -95
  67. package/dist/utils/index.d.ts +46 -69
  68. package/dist/utils/index.js +1 -1
  69. package/dist/zustand/index.d.ts +21 -8
  70. package/dist/zustand/index.js +32 -1
  71. package/package.json +5 -5
  72. package/dist/chunk-2ZZ72TAB.js +0 -2281
  73. package/dist/chunk-32I2RCGC.js +0 -85
  74. package/dist/chunk-3MEXPLWT.js +0 -265
  75. package/dist/chunk-3ZMAGTWF.js +0 -18
  76. package/dist/chunk-44I4LOH6.js +0 -1593
  77. package/dist/chunk-4DYOXEH6.js +0 -951
  78. package/dist/chunk-7M2VOCYN.js +0 -1
  79. package/dist/chunk-A4VDJJCV.js +0 -1864
  80. package/dist/chunk-BZZCNLT6.js +0 -12
  81. package/dist/chunk-CLDCYJQT.js +0 -1
  82. package/dist/chunk-E565XMTQ.js +0 -17
  83. package/dist/chunk-EPTHX4VZ.js +0 -749
  84. package/dist/chunk-GWGQI6V4.js +0 -447
  85. package/dist/chunk-HUJCU55S.js +0 -159
  86. package/dist/chunk-IBWMR4TI.js +0 -469
  87. package/dist/chunk-IIMU5YAJ.js +0 -53
  88. package/dist/chunk-IOXOPMYS.js +0 -145
  89. package/dist/chunk-J2UD7BOH.js +0 -347
  90. package/dist/chunk-JA5ECJJB.js +0 -387
  91. package/dist/chunk-JFL3GRD4.js +0 -39
  92. package/dist/chunk-KW7ZNQD7.js +0 -126
  93. package/dist/chunk-LGKLC5MG.js +0 -44
  94. package/dist/chunk-N55DVMAG.js +0 -14
  95. package/dist/chunk-O56ESZCQ.js +0 -1874
  96. package/dist/chunk-OIBHQH5Q.js +0 -96
  97. package/dist/chunk-PDHTXPSF.js +0 -12
  98. package/dist/chunk-QDFJSUG3.js +0 -13
  99. package/dist/chunk-R2XR4FCV.js +0 -48
  100. package/dist/chunk-R66W5UDG.js +0 -26
  101. package/dist/chunk-RYTEQBAO.js +0 -37
  102. package/dist/chunk-SZHARWKU.js +0 -15
  103. package/dist/chunk-T3J6U77J.js +0 -12056
  104. package/dist/chunk-TBVLQRXT.js +0 -68
  105. package/dist/chunk-TGVAIWIL.js +0 -1778
  106. package/dist/chunk-TKAYX2SP.js +0 -204
  107. package/dist/chunk-TUMSNGTX.js +0 -35
  108. package/dist/chunk-VGU4ZFYZ.js +0 -4752
  109. package/dist/chunk-VNAZTCHA.js +0 -65
  110. package/dist/chunk-VNFR57DF.js +0 -87
  111. package/dist/chunk-WKW6B5ID.js +0 -29
  112. package/dist/chunk-XCYKC6OZ.js +0 -1
  113. package/dist/chunk-XZGSCABI.js +0 -383
  114. package/dist/chunk-ZMK5Z6KE.js +0 -5198
  115. /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
  116. /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
@@ -24,14 +24,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
24
24
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
25
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
26
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ contract: z.ZodOptional<z.ZodObject<{
28
+ input: z.ZodOptional<z.ZodString>;
29
+ output: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>>;
27
31
  }, z.core.$strip>>;
28
32
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
29
33
  path: z.ZodString;
30
34
  role: z.ZodEnum<{
31
- schema: "schema";
32
35
  config: "config";
33
36
  entrypoint: "entrypoint";
34
37
  handler: "handler";
38
+ schema: "schema";
35
39
  test: "test";
36
40
  docs: "docs";
37
41
  }>;
@@ -70,14 +74,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
70
74
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
75
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
76
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
77
+ contract: z.ZodOptional<z.ZodObject<{
78
+ input: z.ZodOptional<z.ZodString>;
79
+ output: z.ZodOptional<z.ZodString>;
80
+ }, z.core.$strip>>;
73
81
  }, z.core.$strip>>;
74
82
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
75
83
  path: z.ZodString;
76
84
  role: z.ZodEnum<{
77
- schema: "schema";
78
85
  config: "config";
79
86
  entrypoint: "entrypoint";
80
87
  handler: "handler";
88
+ schema: "schema";
81
89
  test: "test";
82
90
  docs: "docs";
83
91
  }>;
@@ -147,14 +155,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
147
155
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
156
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
157
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
158
+ contract: z.ZodOptional<z.ZodObject<{
159
+ input: z.ZodOptional<z.ZodString>;
160
+ output: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strip>>;
150
162
  }, z.core.$strip>>;
151
163
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
152
164
  path: z.ZodString;
153
165
  role: z.ZodEnum<{
154
- schema: "schema";
155
166
  config: "config";
156
167
  entrypoint: "entrypoint";
157
168
  handler: "handler";
169
+ schema: "schema";
158
170
  test: "test";
159
171
  docs: "docs";
160
172
  }>;
@@ -182,14 +194,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
182
194
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
195
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
196
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ contract: z.ZodOptional<z.ZodObject<{
198
+ input: z.ZodOptional<z.ZodString>;
199
+ output: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>>;
185
201
  }, z.core.$strip>>;
186
202
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
187
203
  path: z.ZodString;
188
204
  role: z.ZodEnum<{
189
- schema: "schema";
190
205
  config: "config";
191
206
  entrypoint: "entrypoint";
192
207
  handler: "handler";
208
+ schema: "schema";
193
209
  test: "test";
194
210
  docs: "docs";
195
211
  }>;
@@ -304,35 +320,6 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
304
320
  }, z.core.$strip>>;
305
321
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
306
322
 
307
- /**
308
- * Supported integration types
309
- *
310
- * These represent the available integration adapters that can be used with tools.
311
- * Each integration type corresponds to an adapter implementation.
312
- *
313
- * Note: Concrete adapter implementations are deferred until needed.
314
- * This type provides compile-time safety and auto-completion for tool definitions.
315
- */
316
- type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
317
-
318
- /**
319
- * Placeholder discriminated union for ContentNode (Wave 1A).
320
- * Wave 2A wires concrete (kind, type) pairs via the registry.
321
- *
322
- * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
323
- * Per L14: every node carries BOTH `kind` and `type`.
324
- */
325
- declare const ContentNodeSchema: z.ZodObject<{
326
- label: z.ZodString;
327
- description: z.ZodOptional<z.ZodString>;
328
- order: z.ZodOptional<z.ZodNumber>;
329
- parentContentId: z.ZodOptional<z.ZodString>;
330
- kind: z.ZodString;
331
- type: z.ZodString;
332
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
333
- }, z.core.$strip>;
334
- type ContentNode = z.infer<typeof ContentNodeSchema>;
335
-
336
323
  type JsonPrimitive = string | number | boolean | null;
337
324
  type JsonValue = JsonPrimitive | JsonValue[] | {
338
325
  [key: string]: JsonValue;
@@ -374,14 +361,44 @@ interface SystemEntry {
374
361
  config?: Record<string, JsonValue>;
375
362
  ontology?: OntologyScope;
376
363
  systems?: Record<string, SystemEntry>;
377
- /**
378
- * @deprecated Compatibility-only bridge for old tenant data and migration readers.
379
- * Author new semantic catalogs in `ontology` and local settings in `config`.
380
- */
381
- content?: Record<string, ContentNode>;
382
364
  subsystems?: Record<string, SystemEntry>;
383
365
  }
384
366
 
367
+ declare const LinkSchema: z.ZodObject<{
368
+ nodeId: z.ZodString;
369
+ kind: z.ZodEnum<{
370
+ links: "links";
371
+ affects: "affects";
372
+ effects: "effects";
373
+ actions: "actions";
374
+ reads: "reads";
375
+ writes: "writes";
376
+ emits: "emits";
377
+ triggers: "triggers";
378
+ uses: "uses";
379
+ approval: "approval";
380
+ contains: "contains";
381
+ references: "references";
382
+ maps_to: "maps_to";
383
+ governs: "governs";
384
+ originates_from: "originates_from";
385
+ applies_to: "applies_to";
386
+ uses_catalog: "uses_catalog";
387
+ }>;
388
+ }, z.core.$strip>;
389
+ type Link = z.infer<typeof LinkSchema>;
390
+
391
+ /**
392
+ * Supported integration types
393
+ *
394
+ * These represent the available integration adapters that can be used with tools.
395
+ * Each integration type corresponds to an adapter implementation.
396
+ *
397
+ * Note: Concrete adapter implementations are deferred until needed.
398
+ * This type provides compile-time safety and auto-completion for tool definitions.
399
+ */
400
+ type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
401
+
385
402
  /**
386
403
  * Resource Registry type definitions
387
404
  */
@@ -709,30 +726,6 @@ interface CommandViewData {
709
726
  edges: CommandViewEdge$1[];
710
727
  }
711
728
 
712
- declare const LinkSchema: z.ZodObject<{
713
- nodeId: z.ZodString;
714
- kind: z.ZodEnum<{
715
- links: "links";
716
- affects: "affects";
717
- effects: "effects";
718
- actions: "actions";
719
- reads: "reads";
720
- writes: "writes";
721
- emits: "emits";
722
- triggers: "triggers";
723
- uses: "uses";
724
- approval: "approval";
725
- contains: "contains";
726
- references: "references";
727
- maps_to: "maps_to";
728
- governs: "governs";
729
- originates_from: "originates_from";
730
- applies_to: "applies_to";
731
- uses_catalog: "uses_catalog";
732
- }>;
733
- }, z.core.$strip>;
734
- type Link = z.infer<typeof LinkSchema>;
735
-
736
729
  declare const ResourceCategorySchema: z.ZodEnum<{
737
730
  diagnostic: "diagnostic";
738
731
  production: "production";
@@ -336,14 +336,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
336
336
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
337
337
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
338
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
339
+ contract: z.ZodOptional<z.ZodObject<{
340
+ input: z.ZodOptional<z.ZodString>;
341
+ output: z.ZodOptional<z.ZodString>;
342
+ }, z.core.$strip>>;
339
343
  }, z.core.$strip>>;
340
344
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
341
345
  path: z.ZodString;
342
346
  role: z.ZodEnum<{
343
- schema: "schema";
344
347
  config: "config";
345
348
  entrypoint: "entrypoint";
346
349
  handler: "handler";
350
+ schema: "schema";
347
351
  test: "test";
348
352
  docs: "docs";
349
353
  }>;
@@ -382,14 +386,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
382
386
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
383
387
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
384
388
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
+ contract: z.ZodOptional<z.ZodObject<{
390
+ input: z.ZodOptional<z.ZodString>;
391
+ output: z.ZodOptional<z.ZodString>;
392
+ }, z.core.$strip>>;
385
393
  }, z.core.$strip>>;
386
394
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
387
395
  path: z.ZodString;
388
396
  role: z.ZodEnum<{
389
- schema: "schema";
390
397
  config: "config";
391
398
  entrypoint: "entrypoint";
392
399
  handler: "handler";
400
+ schema: "schema";
393
401
  test: "test";
394
402
  docs: "docs";
395
403
  }>;
@@ -459,14 +467,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
459
467
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
460
468
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
461
469
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
470
+ contract: z.ZodOptional<z.ZodObject<{
471
+ input: z.ZodOptional<z.ZodString>;
472
+ output: z.ZodOptional<z.ZodString>;
473
+ }, z.core.$strip>>;
462
474
  }, z.core.$strip>>;
463
475
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
464
476
  path: z.ZodString;
465
477
  role: z.ZodEnum<{
466
- schema: "schema";
467
478
  config: "config";
468
479
  entrypoint: "entrypoint";
469
480
  handler: "handler";
481
+ schema: "schema";
470
482
  test: "test";
471
483
  docs: "docs";
472
484
  }>;
@@ -494,14 +506,18 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
494
506
  writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
495
507
  usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
496
508
  emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
509
+ contract: z.ZodOptional<z.ZodObject<{
510
+ input: z.ZodOptional<z.ZodString>;
511
+ output: z.ZodOptional<z.ZodString>;
512
+ }, z.core.$strip>>;
497
513
  }, z.core.$strip>>;
498
514
  codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
499
515
  path: z.ZodString;
500
516
  role: z.ZodEnum<{
501
- schema: "schema";
502
517
  config: "config";
503
518
  entrypoint: "entrypoint";
504
519
  handler: "handler";
520
+ schema: "schema";
505
521
  test: "test";
506
522
  docs: "docs";
507
523
  }>;
@@ -3844,9 +3860,9 @@ type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
3844
3860
  declare const ListStatusSchema: z.ZodEnum<{
3845
3861
  draft: "draft";
3846
3862
  archived: "archived";
3847
- closing: "closing";
3848
3863
  enriching: "enriching";
3849
3864
  launched: "launched";
3865
+ closing: "closing";
3850
3866
  }>;
3851
3867
  declare const ListCompaniesQuerySchema: z.ZodObject<{
3852
3868
  search: z.ZodOptional<z.ZodString>;
@@ -4515,6 +4531,74 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
4515
4531
  }, z.core.$strip>>;
4516
4532
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
4517
4533
 
4534
+ type JsonPrimitive = string | number | boolean | null;
4535
+ type JsonValue = JsonPrimitive | JsonValue[] | {
4536
+ [key: string]: JsonValue;
4537
+ };
4538
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
4539
+ interface SystemEntry {
4540
+ id: string;
4541
+ label?: string;
4542
+ title?: string;
4543
+ description?: string;
4544
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
4545
+ parentSystemId?: string;
4546
+ ui?: {
4547
+ path: string;
4548
+ surfaces: string[];
4549
+ icon?: string;
4550
+ order?: number;
4551
+ };
4552
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
4553
+ responsibleRoleId?: string;
4554
+ governedByKnowledge?: string[];
4555
+ actions?: {
4556
+ actionId: string;
4557
+ intent: 'exposes' | 'consumes';
4558
+ invocation?: unknown;
4559
+ }[];
4560
+ policies?: string[];
4561
+ drivesGoals?: string[];
4562
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
4563
+ status?: 'active' | 'deprecated' | 'archived';
4564
+ path?: string;
4565
+ icon?: string;
4566
+ color?: string;
4567
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
4568
+ enabled?: boolean;
4569
+ devOnly?: boolean;
4570
+ requiresAdmin?: boolean;
4571
+ order: number;
4572
+ config?: Record<string, JsonValue>;
4573
+ ontology?: OntologyScope;
4574
+ systems?: Record<string, SystemEntry>;
4575
+ subsystems?: Record<string, SystemEntry>;
4576
+ }
4577
+
4578
+ declare const LinkSchema: z.ZodObject<{
4579
+ nodeId: z.ZodString;
4580
+ kind: z.ZodEnum<{
4581
+ links: "links";
4582
+ affects: "affects";
4583
+ effects: "effects";
4584
+ actions: "actions";
4585
+ reads: "reads";
4586
+ writes: "writes";
4587
+ emits: "emits";
4588
+ triggers: "triggers";
4589
+ uses: "uses";
4590
+ approval: "approval";
4591
+ contains: "contains";
4592
+ references: "references";
4593
+ maps_to: "maps_to";
4594
+ governs: "governs";
4595
+ originates_from: "originates_from";
4596
+ applies_to: "applies_to";
4597
+ uses_catalog: "uses_catalog";
4598
+ }>;
4599
+ }, z.core.$strip>;
4600
+ type Link = z.infer<typeof LinkSchema>;
4601
+
4518
4602
  type MessageType = MessageEvent['type'];
4519
4603
  /**
4520
4604
  * Session Data Transfer Object (DTO)
@@ -5027,73 +5111,6 @@ type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefini
5027
5111
  */
5028
5112
  type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
5029
5113
 
5030
- /**
5031
- * Placeholder discriminated union for ContentNode (Wave 1A).
5032
- * Wave 2A wires concrete (kind, type) pairs via the registry.
5033
- *
5034
- * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
5035
- * Per L14: every node carries BOTH `kind` and `type`.
5036
- */
5037
- declare const ContentNodeSchema: z.ZodObject<{
5038
- label: z.ZodString;
5039
- description: z.ZodOptional<z.ZodString>;
5040
- order: z.ZodOptional<z.ZodNumber>;
5041
- parentContentId: z.ZodOptional<z.ZodString>;
5042
- kind: z.ZodString;
5043
- type: z.ZodString;
5044
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5045
- }, z.core.$strip>;
5046
- type ContentNode = z.infer<typeof ContentNodeSchema>;
5047
-
5048
- type JsonPrimitive = string | number | boolean | null;
5049
- type JsonValue = JsonPrimitive | JsonValue[] | {
5050
- [key: string]: JsonValue;
5051
- };
5052
- /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
5053
- interface SystemEntry {
5054
- id: string;
5055
- label?: string;
5056
- title?: string;
5057
- description?: string;
5058
- kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
5059
- parentSystemId?: string;
5060
- ui?: {
5061
- path: string;
5062
- surfaces: string[];
5063
- icon?: string;
5064
- order?: number;
5065
- };
5066
- lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
5067
- responsibleRoleId?: string;
5068
- governedByKnowledge?: string[];
5069
- actions?: {
5070
- actionId: string;
5071
- intent: 'exposes' | 'consumes';
5072
- invocation?: unknown;
5073
- }[];
5074
- policies?: string[];
5075
- drivesGoals?: string[];
5076
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
5077
- status?: 'active' | 'deprecated' | 'archived';
5078
- path?: string;
5079
- icon?: string;
5080
- color?: string;
5081
- uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
5082
- enabled?: boolean;
5083
- devOnly?: boolean;
5084
- requiresAdmin?: boolean;
5085
- order: number;
5086
- config?: Record<string, JsonValue>;
5087
- ontology?: OntologyScope;
5088
- systems?: Record<string, SystemEntry>;
5089
- /**
5090
- * @deprecated Compatibility-only bridge for old tenant data and migration readers.
5091
- * Author new semantic catalogs in `ontology` and local settings in `config`.
5092
- */
5093
- content?: Record<string, ContentNode>;
5094
- subsystems?: Record<string, SystemEntry>;
5095
- }
5096
-
5097
5114
  /**
5098
5115
  * Resource Registry type definitions
5099
5116
  */
@@ -5421,30 +5438,6 @@ interface CommandViewData {
5421
5438
  edges: CommandViewEdge[];
5422
5439
  }
5423
5440
 
5424
- declare const LinkSchema: z.ZodObject<{
5425
- nodeId: z.ZodString;
5426
- kind: z.ZodEnum<{
5427
- links: "links";
5428
- affects: "affects";
5429
- effects: "effects";
5430
- actions: "actions";
5431
- reads: "reads";
5432
- writes: "writes";
5433
- emits: "emits";
5434
- triggers: "triggers";
5435
- uses: "uses";
5436
- approval: "approval";
5437
- contains: "contains";
5438
- references: "references";
5439
- maps_to: "maps_to";
5440
- governs: "governs";
5441
- originates_from: "originates_from";
5442
- applies_to: "applies_to";
5443
- uses_catalog: "uses_catalog";
5444
- }>;
5445
- }, z.core.$strip>;
5446
- type Link = z.infer<typeof LinkSchema>;
5447
-
5448
5441
  declare const ResourceCategorySchema: z.ZodEnum<{
5449
5442
  diagnostic: "diagnostic";
5450
5443
  production: "production";
@@ -8187,7 +8180,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
8187
8180
  description: string | null;
8188
8181
  batchIds: string[];
8189
8182
  instantlyCampaignId: string | null;
8190
- status: "draft" | "archived" | "closing" | "enriching" | "launched";
8183
+ status: "draft" | "archived" | "enriching" | "launched" | "closing";
8191
8184
  metadata: {
8192
8185
  [x: string]: unknown;
8193
8186
  buildPlanSnapshot?: {
@@ -8214,7 +8207,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
8214
8207
  label: string;
8215
8208
  path: string;
8216
8209
  width?: string | number | undefined;
8217
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8210
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8218
8211
  badgeColor?: string | undefined;
8219
8212
  }[] | undefined;
8220
8213
  contact?: {
@@ -8222,7 +8215,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
8222
8215
  label: string;
8223
8216
  path: string;
8224
8217
  width?: string | number | undefined;
8225
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8218
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8226
8219
  badgeColor?: string | undefined;
8227
8220
  }[] | undefined;
8228
8221
  } | undefined;
@@ -8272,7 +8265,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
8272
8265
  description: string | null;
8273
8266
  batchIds: string[];
8274
8267
  instantlyCampaignId: string | null;
8275
- status: "draft" | "archived" | "closing" | "enriching" | "launched";
8268
+ status: "draft" | "archived" | "enriching" | "launched" | "closing";
8276
8269
  metadata: {
8277
8270
  [x: string]: unknown;
8278
8271
  buildPlanSnapshot?: {
@@ -8299,7 +8292,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
8299
8292
  label: string;
8300
8293
  path: string;
8301
8294
  width?: string | number | undefined;
8302
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8295
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8303
8296
  badgeColor?: string | undefined;
8304
8297
  }[] | undefined;
8305
8298
  contact?: {
@@ -8307,7 +8300,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
8307
8300
  label: string;
8308
8301
  path: string;
8309
8302
  width?: string | number | undefined;
8310
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8303
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8311
8304
  badgeColor?: string | undefined;
8312
8305
  }[] | undefined;
8313
8306
  } | undefined;
@@ -8456,7 +8449,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
8456
8449
  description: string | null;
8457
8450
  batchIds: string[];
8458
8451
  instantlyCampaignId: string | null;
8459
- status: "draft" | "archived" | "closing" | "enriching" | "launched";
8452
+ status: "draft" | "archived" | "enriching" | "launched" | "closing";
8460
8453
  metadata: {
8461
8454
  [x: string]: unknown;
8462
8455
  buildPlanSnapshot?: {
@@ -8483,7 +8476,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
8483
8476
  label: string;
8484
8477
  path: string;
8485
8478
  width?: string | number | undefined;
8486
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8479
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8487
8480
  badgeColor?: string | undefined;
8488
8481
  }[] | undefined;
8489
8482
  contact?: {
@@ -8491,7 +8484,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
8491
8484
  label: string;
8492
8485
  path: string;
8493
8486
  width?: string | number | undefined;
8494
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8487
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8495
8488
  badgeColor?: string | undefined;
8496
8489
  }[] | undefined;
8497
8490
  } | undefined;
@@ -8536,7 +8529,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
8536
8529
  }, Error, {
8537
8530
  name: string;
8538
8531
  description?: string | null | undefined;
8539
- status?: "draft" | "archived" | "closing" | "enriching" | "launched" | undefined;
8532
+ status?: "draft" | "archived" | "enriching" | "launched" | "closing" | undefined;
8540
8533
  buildTemplateId?: string | undefined;
8541
8534
  scrapingConfig?: {
8542
8535
  vertical?: string | undefined;
@@ -8568,7 +8561,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
8568
8561
  description: string | null;
8569
8562
  batchIds: string[];
8570
8563
  instantlyCampaignId: string | null;
8571
- status: "draft" | "archived" | "closing" | "enriching" | "launched";
8564
+ status: "draft" | "archived" | "enriching" | "launched" | "closing";
8572
8565
  metadata: {
8573
8566
  [x: string]: unknown;
8574
8567
  buildPlanSnapshot?: {
@@ -8595,7 +8588,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
8595
8588
  label: string;
8596
8589
  path: string;
8597
8590
  width?: string | number | undefined;
8598
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8591
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8599
8592
  badgeColor?: string | undefined;
8600
8593
  }[] | undefined;
8601
8594
  contact?: {
@@ -8603,7 +8596,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
8603
8596
  label: string;
8604
8597
  path: string;
8605
8598
  width?: string | number | undefined;
8606
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8599
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8607
8600
  badgeColor?: string | undefined;
8608
8601
  }[] | undefined;
8609
8602
  } | undefined;
@@ -8659,7 +8652,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
8659
8652
  description: string | null;
8660
8653
  batchIds: string[];
8661
8654
  instantlyCampaignId: string | null;
8662
- status: "draft" | "archived" | "closing" | "enriching" | "launched";
8655
+ status: "draft" | "archived" | "enriching" | "launched" | "closing";
8663
8656
  metadata: {
8664
8657
  [x: string]: unknown;
8665
8658
  buildPlanSnapshot?: {
@@ -8686,7 +8679,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
8686
8679
  label: string;
8687
8680
  path: string;
8688
8681
  width?: string | number | undefined;
8689
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8682
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8690
8683
  badgeColor?: string | undefined;
8691
8684
  }[] | undefined;
8692
8685
  contact?: {
@@ -8694,7 +8687,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
8694
8687
  label: string;
8695
8688
  path: string;
8696
8689
  width?: string | number | undefined;
8697
- renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
8690
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
8698
8691
  badgeColor?: string | undefined;
8699
8692
  }[] | undefined;
8700
8693
  } | undefined;