@elevasis/ui 2.30.0 → 2.32.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 (130) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +38 -0
  3. package/dist/app/index.d.ts +190 -9
  4. package/dist/app/index.js +7 -6
  5. package/dist/charts/index.js +4 -5
  6. package/dist/{chunk-HXZQWMKE.js → chunk-2RJMVWFJ.js} +1 -6
  7. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  8. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  9. package/dist/{chunk-JKTPRYGV.js → chunk-4MFNGNHF.js} +123 -192
  10. package/dist/{chunk-HYLERWRO.js → chunk-4QK76KIF.js} +7 -7
  11. package/dist/chunk-5FJJ72HU.js +13 -0
  12. package/dist/chunk-5J4PDX26.js +112 -0
  13. package/dist/{chunk-4SY6BTVZ.js → chunk-6DWD423K.js} +12 -9
  14. package/dist/{chunk-3GV5NHSS.js → chunk-7KZINJLP.js} +78 -232
  15. package/dist/{chunk-6WXDE5LZ.js → chunk-EPTHX4VZ.js} +1 -1
  16. package/dist/{chunk-6EFVZV6X.js → chunk-GCOQ3TBG.js} +243 -254
  17. package/dist/{chunk-LRZFLK2F.js → chunk-IQHU7O5Y.js} +4 -4
  18. package/dist/{chunk-X2SUMO3P.js → chunk-IZWTVFJ2.js} +16 -3
  19. package/dist/{chunk-IKQ42WHU.js → chunk-JFL3GRD4.js} +1 -1
  20. package/dist/{chunk-4FZYEEPK.js → chunk-LLRXA7D7.js} +5 -6
  21. package/dist/chunk-MOY4VOHF.js +347 -0
  22. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  23. package/dist/{chunk-7E3FUTND.js → chunk-ND5TDV2J.js} +1 -1
  24. package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
  25. package/dist/{chunk-A7B7HLDF.js → chunk-QTI3KC7D.js} +5884 -515
  26. package/dist/chunk-QXCDKE2O.js +486 -0
  27. package/dist/chunk-R2XR4FCV.js +48 -0
  28. package/dist/chunk-R66W5UDG.js +26 -0
  29. package/dist/{chunk-T5Z7G2J2.js → chunk-RQA2EVN3.js} +6 -16
  30. package/dist/{chunk-SKXXT3E2.js → chunk-RQTWIXJ5.js} +4 -4
  31. package/dist/chunk-T35FWDAB.js +4342 -0
  32. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  33. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  34. package/dist/{chunk-JCGD4GM6.js → chunk-UROTM5OR.js} +14 -1
  35. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-SBCIB5TZ.js → chunk-VRNMNB3O.js} +6 -7
  38. package/dist/chunk-WQPX44YM.js +1626 -0
  39. package/dist/{chunk-T2PAD63Y.js → chunk-XZGSCABI.js} +1 -1
  40. package/dist/chunk-YLQEVSOR.js +299 -0
  41. package/dist/{chunk-P5WYW2GI.js → chunk-ZQOKIGZP.js} +152 -306
  42. package/dist/components/index.css +38 -0
  43. package/dist/components/index.d.ts +334 -38
  44. package/dist/components/index.js +42 -42
  45. package/dist/components/navigation/index.css +38 -0
  46. package/dist/components/navigation/index.js +3 -2
  47. package/dist/execution/index.d.ts +9 -3
  48. package/dist/features/auth/index.css +38 -0
  49. package/dist/features/auth/index.d.ts +212 -14
  50. package/dist/features/auth/index.js +41 -9
  51. package/dist/features/clients/index.css +649 -0
  52. package/dist/features/clients/index.d.ts +86 -0
  53. package/dist/features/clients/index.js +720 -0
  54. package/dist/features/crm/index.css +38 -0
  55. package/dist/features/crm/index.d.ts +228 -20
  56. package/dist/features/crm/index.js +20 -17
  57. package/dist/features/dashboard/index.css +38 -0
  58. package/dist/features/dashboard/index.d.ts +78 -3
  59. package/dist/features/dashboard/index.js +16 -16
  60. package/dist/features/delivery/index.css +38 -0
  61. package/dist/features/delivery/index.d.ts +201 -18
  62. package/dist/features/delivery/index.js +20 -18
  63. package/dist/features/knowledge/index.css +38 -0
  64. package/dist/features/knowledge/index.d.ts +20 -18
  65. package/dist/features/knowledge/index.js +116 -578
  66. package/dist/features/lead-gen/index.css +38 -0
  67. package/dist/features/lead-gen/index.d.ts +59 -51
  68. package/dist/features/lead-gen/index.js +20 -18
  69. package/dist/features/monitoring/index.css +38 -0
  70. package/dist/features/monitoring/index.d.ts +20 -18
  71. package/dist/features/monitoring/index.js +19 -18
  72. package/dist/features/monitoring/requests/index.css +38 -0
  73. package/dist/features/monitoring/requests/index.d.ts +21 -19
  74. package/dist/features/monitoring/requests/index.js +17 -15
  75. package/dist/features/operations/index.css +38 -0
  76. package/dist/features/operations/index.d.ts +945 -45
  77. package/dist/features/operations/index.js +24 -26
  78. package/dist/features/seo/index.d.ts +20 -18
  79. package/dist/features/seo/index.js +1 -1
  80. package/dist/features/settings/index.css +38 -0
  81. package/dist/features/settings/index.d.ts +201 -18
  82. package/dist/features/settings/index.js +18 -16
  83. package/dist/hooks/delivery/index.css +38 -0
  84. package/dist/hooks/delivery/index.d.ts +200 -0
  85. package/dist/hooks/delivery/index.js +2 -2
  86. package/dist/hooks/index.css +38 -0
  87. package/dist/hooks/index.d.ts +825 -47
  88. package/dist/hooks/index.js +14 -13
  89. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +194 -3
  90. package/dist/hooks/published.css +38 -0
  91. package/dist/hooks/published.d.ts +825 -47
  92. package/dist/hooks/published.js +14 -13
  93. package/dist/index.css +38 -0
  94. package/dist/index.d.ts +1506 -1212
  95. package/dist/index.js +15 -14
  96. package/dist/initialization/index.d.ts +181 -0
  97. package/dist/knowledge/index.d.ts +813 -1068
  98. package/dist/knowledge/index.js +7370 -2869
  99. package/dist/{chunk-CLUP5H3C.js → knowledge-search-index-5KYPO746.js} +441 -963
  100. package/dist/layout/index.d.ts +6 -0
  101. package/dist/layout/index.js +4 -5
  102. package/dist/organization/index.css +38 -0
  103. package/dist/profile/index.d.ts +181 -0
  104. package/dist/provider/index.css +38 -0
  105. package/dist/provider/index.d.ts +909 -1156
  106. package/dist/provider/index.js +11 -10
  107. package/dist/provider/published.css +38 -0
  108. package/dist/provider/published.d.ts +906 -1153
  109. package/dist/provider/published.js +7 -6
  110. package/dist/supabase/index.d.ts +349 -0
  111. package/dist/test-utils/index.d.ts +16 -9
  112. package/dist/test-utils/index.js +39 -32
  113. package/dist/test-utils/setup.js +1 -1
  114. package/dist/theme/index.js +3 -3
  115. package/dist/theme/presets/index.js +1 -1
  116. package/dist/types/index.d.ts +378 -5
  117. package/dist/utils/index.d.ts +78 -3
  118. package/dist/utils/index.js +1 -1
  119. package/dist/vite/index.js +2 -2
  120. package/dist/vite-plugin-knowledge/index.js +1 -1
  121. package/package.json +47 -37
  122. package/src/provider/README.md +5 -5
  123. package/dist/chunk-2DIYILF7.js +0 -413
  124. package/dist/chunk-3MDNBHVB.js +0 -3868
  125. package/dist/chunk-6IXOKUBC.js +0 -347
  126. package/dist/chunk-AKOD52HS.js +0 -739
  127. package/dist/chunk-ECNNI3NT.js +0 -6
  128. package/dist/chunk-JDNEWB5F.js +0 -10
  129. package/dist/chunk-NITGGYH2.js +0 -476
  130. package/dist/chunk-OAVTMITG.js +0 -13
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, ComponentType } from 'react';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
4
  import * as z from 'zod';
5
- import { z as z$1 } from 'zod';
5
+ import { z as z$1, ZodType } from 'zod';
6
6
  import { EventSourceMessage } from '@microsoft/fetch-event-source';
7
7
  import { MantineThemeOverride } from '@mantine/core';
8
8
 
@@ -164,6 +164,7 @@ type Database = {
164
164
  batch_id: string | null;
165
165
  category: string | null;
166
166
  category_pain: string | null;
167
+ client_id: string | null;
167
168
  created_at: string;
168
169
  domain: string | null;
169
170
  enrichment_data: Json | null;
@@ -190,6 +191,7 @@ type Database = {
190
191
  batch_id?: string | null;
191
192
  category?: string | null;
192
193
  category_pain?: string | null;
194
+ client_id?: string | null;
193
195
  created_at?: string;
194
196
  domain?: string | null;
195
197
  enrichment_data?: Json | null;
@@ -216,6 +218,7 @@ type Database = {
216
218
  batch_id?: string | null;
217
219
  category?: string | null;
218
220
  category_pain?: string | null;
221
+ client_id?: string | null;
219
222
  created_at?: string;
220
223
  domain?: string | null;
221
224
  enrichment_data?: Json | null;
@@ -239,6 +242,13 @@ type Database = {
239
242
  website?: string | null;
240
243
  };
241
244
  Relationships: [
245
+ {
246
+ foreignKeyName: "acq_companies_client_id_fkey";
247
+ columns: ["client_id"];
248
+ isOneToOne: false;
249
+ referencedRelation: "clients";
250
+ referencedColumns: ["id"];
251
+ },
242
252
  {
243
253
  foreignKeyName: "acq_companies_organization_id_fkey";
244
254
  columns: ["organization_id"];
@@ -253,6 +263,7 @@ type Database = {
253
263
  batch_id: string | null;
254
264
  brochure_first_viewed_at: string | null;
255
265
  brochure_view_count: number;
266
+ client_id: string | null;
256
267
  company_id: string | null;
257
268
  created_at: string;
258
269
  email: string;
@@ -281,6 +292,7 @@ type Database = {
281
292
  batch_id?: string | null;
282
293
  brochure_first_viewed_at?: string | null;
283
294
  brochure_view_count?: number;
295
+ client_id?: string | null;
284
296
  company_id?: string | null;
285
297
  created_at?: string;
286
298
  email: string;
@@ -309,6 +321,7 @@ type Database = {
309
321
  batch_id?: string | null;
310
322
  brochure_first_viewed_at?: string | null;
311
323
  brochure_view_count?: number;
324
+ client_id?: string | null;
312
325
  company_id?: string | null;
313
326
  created_at?: string;
314
327
  email?: string;
@@ -334,6 +347,13 @@ type Database = {
334
347
  updated_at?: string;
335
348
  };
336
349
  Relationships: [
350
+ {
351
+ foreignKeyName: "acq_contacts_client_id_fkey";
352
+ columns: ["client_id"];
353
+ isOneToOne: false;
354
+ referencedRelation: "clients";
355
+ referencedColumns: ["id"];
356
+ },
337
357
  {
338
358
  foreignKeyName: "acq_contacts_company_id_fkey";
339
359
  columns: ["company_id"];
@@ -577,8 +597,10 @@ type Database = {
577
597
  acq_deals: {
578
598
  Row: {
579
599
  activity_log: Json;
600
+ client_id: string | null;
580
601
  closed_lost_at: string | null;
581
602
  closed_lost_reason: string | null;
603
+ company_id: string | null;
582
604
  contact_email: string;
583
605
  contact_id: string | null;
584
606
  created_at: string;
@@ -614,8 +636,10 @@ type Database = {
614
636
  };
615
637
  Insert: {
616
638
  activity_log?: Json;
639
+ client_id?: string | null;
617
640
  closed_lost_at?: string | null;
618
641
  closed_lost_reason?: string | null;
642
+ company_id?: string | null;
619
643
  contact_email: string;
620
644
  contact_id?: string | null;
621
645
  created_at?: string;
@@ -651,8 +675,10 @@ type Database = {
651
675
  };
652
676
  Update: {
653
677
  activity_log?: Json;
678
+ client_id?: string | null;
654
679
  closed_lost_at?: string | null;
655
680
  closed_lost_reason?: string | null;
681
+ company_id?: string | null;
656
682
  contact_email?: string;
657
683
  contact_id?: string | null;
658
684
  created_at?: string;
@@ -687,6 +713,20 @@ type Database = {
687
713
  updated_at?: string;
688
714
  };
689
715
  Relationships: [
716
+ {
717
+ foreignKeyName: "acq_deals_client_id_fkey";
718
+ columns: ["client_id"];
719
+ isOneToOne: false;
720
+ referencedRelation: "clients";
721
+ referencedColumns: ["id"];
722
+ },
723
+ {
724
+ foreignKeyName: "acq_deals_company_id_fkey";
725
+ columns: ["company_id"];
726
+ isOneToOne: false;
727
+ referencedRelation: "acq_companies";
728
+ referencedColumns: ["id"];
729
+ },
690
730
  {
691
731
  foreignKeyName: "acq_deals_contact_id_fkey";
692
732
  columns: ["contact_id"];
@@ -1304,6 +1344,77 @@ type Database = {
1304
1344
  }
1305
1345
  ];
1306
1346
  };
1347
+ clients: {
1348
+ Row: {
1349
+ converted_at: string | null;
1350
+ created_at: string;
1351
+ id: string;
1352
+ metadata: Json;
1353
+ name: string;
1354
+ organization_id: string;
1355
+ primary_company_id: string | null;
1356
+ primary_contact_id: string | null;
1357
+ source_deal_id: string | null;
1358
+ status: string;
1359
+ updated_at: string;
1360
+ };
1361
+ Insert: {
1362
+ converted_at?: string | null;
1363
+ created_at?: string;
1364
+ id?: string;
1365
+ metadata?: Json;
1366
+ name: string;
1367
+ organization_id: string;
1368
+ primary_company_id?: string | null;
1369
+ primary_contact_id?: string | null;
1370
+ source_deal_id?: string | null;
1371
+ status?: string;
1372
+ updated_at?: string;
1373
+ };
1374
+ Update: {
1375
+ converted_at?: string | null;
1376
+ created_at?: string;
1377
+ id?: string;
1378
+ metadata?: Json;
1379
+ name?: string;
1380
+ organization_id?: string;
1381
+ primary_company_id?: string | null;
1382
+ primary_contact_id?: string | null;
1383
+ source_deal_id?: string | null;
1384
+ status?: string;
1385
+ updated_at?: string;
1386
+ };
1387
+ Relationships: [
1388
+ {
1389
+ foreignKeyName: "clients_organization_id_fkey";
1390
+ columns: ["organization_id"];
1391
+ isOneToOne: false;
1392
+ referencedRelation: "organizations";
1393
+ referencedColumns: ["id"];
1394
+ },
1395
+ {
1396
+ foreignKeyName: "clients_primary_company_id_fkey";
1397
+ columns: ["primary_company_id"];
1398
+ isOneToOne: false;
1399
+ referencedRelation: "acq_companies";
1400
+ referencedColumns: ["id"];
1401
+ },
1402
+ {
1403
+ foreignKeyName: "clients_primary_contact_id_fkey";
1404
+ columns: ["primary_contact_id"];
1405
+ isOneToOne: false;
1406
+ referencedRelation: "acq_contacts";
1407
+ referencedColumns: ["id"];
1408
+ },
1409
+ {
1410
+ foreignKeyName: "clients_source_deal_id_fkey";
1411
+ columns: ["source_deal_id"];
1412
+ isOneToOne: false;
1413
+ referencedRelation: "acq_deals";
1414
+ referencedColumns: ["id"];
1415
+ }
1416
+ ];
1417
+ };
1307
1418
  command_queue: {
1308
1419
  Row: {
1309
1420
  action_payload: Json | null;
@@ -2273,6 +2384,7 @@ type Database = {
2273
2384
  Row: {
2274
2385
  actual_end_date: string | null;
2275
2386
  client_company_id: string | null;
2387
+ client_id: string | null;
2276
2388
  contract_value: number | null;
2277
2389
  created_at: string;
2278
2390
  deal_id: string | null;
@@ -2290,6 +2402,7 @@ type Database = {
2290
2402
  Insert: {
2291
2403
  actual_end_date?: string | null;
2292
2404
  client_company_id?: string | null;
2405
+ client_id?: string | null;
2293
2406
  contract_value?: number | null;
2294
2407
  created_at?: string;
2295
2408
  deal_id?: string | null;
@@ -2307,6 +2420,7 @@ type Database = {
2307
2420
  Update: {
2308
2421
  actual_end_date?: string | null;
2309
2422
  client_company_id?: string | null;
2423
+ client_id?: string | null;
2310
2424
  contract_value?: number | null;
2311
2425
  created_at?: string;
2312
2426
  deal_id?: string | null;
@@ -2343,6 +2457,13 @@ type Database = {
2343
2457
  referencedRelation: "acq_companies";
2344
2458
  referencedColumns: ["id"];
2345
2459
  },
2460
+ {
2461
+ foreignKeyName: "prj_projects_client_id_fkey";
2462
+ columns: ["client_id"];
2463
+ isOneToOne: false;
2464
+ referencedRelation: "clients";
2465
+ referencedColumns: ["id"];
2466
+ },
2346
2467
  {
2347
2468
  foreignKeyName: "prj_projects_deal_id_fkey";
2348
2469
  columns: ["deal_id"];
@@ -2747,6 +2868,66 @@ type Database = {
2747
2868
  }
2748
2869
  ];
2749
2870
  };
2871
+ user_notes: {
2872
+ Row: {
2873
+ content: string;
2874
+ created_at: string;
2875
+ created_by: string;
2876
+ id: string;
2877
+ metadata: Json;
2878
+ organization_id: string | null;
2879
+ pinned: boolean;
2880
+ priority: string;
2881
+ source: string | null;
2882
+ title: string | null;
2883
+ updated_at: string;
2884
+ user_id: string;
2885
+ };
2886
+ Insert: {
2887
+ content: string;
2888
+ created_at?: string;
2889
+ created_by?: string;
2890
+ id?: string;
2891
+ metadata?: Json;
2892
+ organization_id?: string | null;
2893
+ pinned?: boolean;
2894
+ priority?: string;
2895
+ source?: string | null;
2896
+ title?: string | null;
2897
+ updated_at?: string;
2898
+ user_id: string;
2899
+ };
2900
+ Update: {
2901
+ content?: string;
2902
+ created_at?: string;
2903
+ created_by?: string;
2904
+ id?: string;
2905
+ metadata?: Json;
2906
+ organization_id?: string | null;
2907
+ pinned?: boolean;
2908
+ priority?: string;
2909
+ source?: string | null;
2910
+ title?: string | null;
2911
+ updated_at?: string;
2912
+ user_id?: string;
2913
+ };
2914
+ Relationships: [
2915
+ {
2916
+ foreignKeyName: "user_notes_organization_id_fkey";
2917
+ columns: ["organization_id"];
2918
+ isOneToOne: false;
2919
+ referencedRelation: "organizations";
2920
+ referencedColumns: ["id"];
2921
+ },
2922
+ {
2923
+ foreignKeyName: "user_notes_user_id_fkey";
2924
+ columns: ["user_id"];
2925
+ isOneToOne: false;
2926
+ referencedRelation: "users";
2927
+ referencedColumns: ["id"];
2928
+ }
2929
+ ];
2930
+ };
2750
2931
  users: {
2751
2932
  Row: {
2752
2933
  config: Json;
@@ -3016,11 +3197,11 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3016
3197
  batchIds: z$1.ZodArray<z$1.ZodString>;
3017
3198
  instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3018
3199
  status: z$1.ZodEnum<{
3019
- closing: "closing";
3020
3200
  draft: "draft";
3201
+ archived: "archived";
3202
+ closing: "closing";
3021
3203
  enriching: "enriching";
3022
3204
  launched: "launched";
3023
- archived: "archived";
3024
3205
  }>;
3025
3206
  metadata: z$1.ZodObject<{
3026
3207
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3048,7 +3229,7 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3048
3229
  recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3049
3230
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3050
3231
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3051
- capabilityKey: z$1.ZodString;
3232
+ actionKey: z$1.ZodString;
3052
3233
  defaultBatchSize: z$1.ZodNumber;
3053
3234
  maxBatchSize: z$1.ZodNumber;
3054
3235
  recordColumns: z$1.ZodOptional<z$1.ZodObject<{
@@ -3059,10 +3240,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3059
3240
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3060
3241
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3061
3242
  text: "text";
3062
- badge: "badge";
3063
- datetime: "datetime";
3064
3243
  count: "count";
3065
3244
  json: "json";
3245
+ badge: "badge";
3246
+ datetime: "datetime";
3066
3247
  }>>;
3067
3248
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3068
3249
  }, z$1.core.$strip>>>;
@@ -3073,10 +3254,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3073
3254
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3074
3255
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3075
3256
  text: "text";
3076
- badge: "badge";
3077
- datetime: "datetime";
3078
3257
  count: "count";
3079
3258
  json: "json";
3259
+ badge: "badge";
3260
+ datetime: "datetime";
3080
3261
  }>>;
3081
3262
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3082
3263
  }, z$1.core.$strip>>>;
@@ -3146,95 +3327,621 @@ interface ActionDef {
3146
3327
  */
3147
3328
  type TimeRange = '1h' | '24h' | '7d' | '30d';
3148
3329
 
3149
- declare const FeatureSchema: z$1.ZodObject<{
3150
- id: z$1.ZodString;
3330
+ /**
3331
+ * Placeholder discriminated union for ContentNode (Wave 1A).
3332
+ * Wave 2A wires concrete (kind, type) pairs via the registry.
3333
+ *
3334
+ * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
3335
+ * Per L14: every node carries BOTH `kind` and `type`.
3336
+ */
3337
+ declare const ContentNodeSchema: z$1.ZodObject<{
3151
3338
  label: z$1.ZodString;
3152
3339
  description: z$1.ZodOptional<z$1.ZodString>;
3153
- enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3154
- path: z$1.ZodOptional<z$1.ZodString>;
3155
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3156
- "nav.dashboard": "nav.dashboard";
3157
- "nav.calendar": "nav.calendar";
3158
- "nav.sales": "nav.sales";
3159
- "nav.crm": "nav.crm";
3160
- "nav.lead-gen": "nav.lead-gen";
3161
- "nav.projects": "nav.projects";
3162
- "nav.operations": "nav.operations";
3163
- "nav.monitoring": "nav.monitoring";
3164
- "nav.knowledge": "nav.knowledge";
3165
- "nav.settings": "nav.settings";
3166
- "nav.admin": "nav.admin";
3167
- "nav.archive": "nav.archive";
3168
- "knowledge.playbook": "knowledge.playbook";
3169
- "knowledge.strategy": "knowledge.strategy";
3170
- "knowledge.reference": "knowledge.reference";
3171
- "feature.dashboard": "feature.dashboard";
3172
- "feature.calendar": "feature.calendar";
3173
- "feature.sales": "feature.sales";
3174
- "feature.crm": "feature.crm";
3175
- "feature.finance": "feature.finance";
3176
- "feature.lead-gen": "feature.lead-gen";
3177
- "feature.platform": "feature.platform";
3178
- "feature.projects": "feature.projects";
3179
- "feature.operations": "feature.operations";
3180
- "feature.knowledge": "feature.knowledge";
3181
- "feature.monitoring": "feature.monitoring";
3182
- "feature.settings": "feature.settings";
3183
- "feature.admin": "feature.admin";
3184
- "feature.archive": "feature.archive";
3185
- "feature.seo": "feature.seo";
3186
- "resource.agent": "resource.agent";
3187
- "resource.workflow": "resource.workflow";
3188
- "resource.integration": "resource.integration";
3189
- "resource.database": "resource.database";
3190
- "resource.user": "resource.user";
3191
- "resource.team": "resource.team";
3192
- "integration.gmail": "integration.gmail";
3193
- "integration.google-sheets": "integration.google-sheets";
3194
- "integration.attio": "integration.attio";
3195
- "surface.dashboard": "surface.dashboard";
3196
- "surface.calendar": "surface.calendar";
3197
- "surface.overview": "surface.overview";
3198
- "surface.command-view": "surface.command-view";
3199
- "surface.command-queue": "surface.command-queue";
3200
- "surface.pipeline": "surface.pipeline";
3201
- "surface.lists": "surface.lists";
3202
- "surface.resources": "surface.resources";
3203
- "surface.settings": "surface.settings";
3204
- "status.success": "status.success";
3205
- "status.error": "status.error";
3206
- "status.warning": "status.warning";
3207
- "status.info": "status.info";
3208
- "status.pending": "status.pending";
3209
- "action.approve": "action.approve";
3210
- "action.reject": "action.reject";
3211
- "action.retry": "action.retry";
3212
- "action.edit": "action.edit";
3213
- "action.view": "action.view";
3214
- "action.launch": "action.launch";
3215
- "action.message": "action.message";
3216
- "action.escalate": "action.escalate";
3217
- "action.promote": "action.promote";
3218
- "action.submit": "action.submit";
3219
- "action.email": "action.email";
3220
- }>, z$1.ZodString]>>;
3221
- color: z$1.ZodOptional<z$1.ZodString>;
3222
- uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
3223
- "sidebar-primary": "sidebar-primary";
3224
- "sidebar-bottom": "sidebar-bottom";
3225
- }>>;
3226
- requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
3227
- devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3340
+ order: z$1.ZodOptional<z$1.ZodNumber>;
3341
+ parentContentId: z$1.ZodOptional<z$1.ZodString>;
3342
+ kind: z$1.ZodString;
3343
+ type: z$1.ZodString;
3344
+ data: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3228
3345
  }, z$1.core.$strip>;
3346
+ type ContentNode = z$1.infer<typeof ContentNodeSchema>;
3347
+
3348
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
3349
+ interface SystemEntry {
3350
+ id: string;
3351
+ label?: string;
3352
+ title?: string;
3353
+ description?: string;
3354
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
3355
+ parentSystemId?: string;
3356
+ ui?: {
3357
+ path: string;
3358
+ surfaces: string[];
3359
+ icon?: string;
3360
+ order?: number;
3361
+ };
3362
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
3363
+ responsibleRoleId?: string;
3364
+ governedByKnowledge?: string[];
3365
+ actions?: {
3366
+ actionId: string;
3367
+ intent: 'exposes' | 'consumes';
3368
+ invocation?: unknown;
3369
+ }[];
3370
+ policies?: string[];
3371
+ drivesGoals?: string[];
3372
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3373
+ status?: 'active' | 'deprecated' | 'archived';
3374
+ path?: string;
3375
+ icon?: string;
3376
+ color?: string;
3377
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
3378
+ enabled?: boolean;
3379
+ devOnly?: boolean;
3380
+ requiresAdmin?: boolean;
3381
+ order: number;
3382
+ content?: Record<string, ContentNode>;
3383
+ subsystems?: Record<string, SystemEntry>;
3384
+ }
3385
+ declare const SystemEntrySchema: ZodType<SystemEntry>;
3386
+
3387
+ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3388
+ list: "list";
3389
+ graph: "graph";
3390
+ page: "page";
3391
+ dashboard: "dashboard";
3392
+ detail: "detail";
3393
+ settings: "settings";
3394
+ }>;
3395
+ interface SidebarSurfaceNode {
3396
+ type: 'surface';
3397
+ label: string;
3398
+ path: string;
3399
+ surfaceType: z$1.infer<typeof SurfaceTypeSchema>;
3400
+ description?: string;
3401
+ icon?: string;
3402
+ order?: number;
3403
+ targets?: {
3404
+ systems?: string[];
3405
+ entities?: string[];
3406
+ resources?: string[];
3407
+ actions?: string[];
3408
+ };
3409
+ devOnly?: boolean;
3410
+ requiresAdmin?: boolean;
3411
+ }
3412
+ interface SidebarGroupNode {
3413
+ type: 'group';
3414
+ label: string;
3415
+ description?: string;
3416
+ icon?: string;
3417
+ order?: number;
3418
+ children: Record<string, SidebarNode>;
3419
+ }
3420
+ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
3229
3421
 
3230
3422
  declare const OrganizationModelSchema: z$1.ZodObject<{
3231
3423
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3232
- features: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3424
+ domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
3425
+ branding: z$1.ZodOptional<z$1.ZodObject<{
3426
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3427
+ lastModified: z$1.ZodString;
3428
+ }, z$1.core.$strip>>;
3429
+ identity: z$1.ZodOptional<z$1.ZodObject<{
3430
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3431
+ lastModified: z$1.ZodString;
3432
+ }, z$1.core.$strip>>;
3433
+ customers: z$1.ZodOptional<z$1.ZodObject<{
3434
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3435
+ lastModified: z$1.ZodString;
3436
+ }, z$1.core.$strip>>;
3437
+ offerings: z$1.ZodOptional<z$1.ZodObject<{
3438
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3439
+ lastModified: z$1.ZodString;
3440
+ }, z$1.core.$strip>>;
3441
+ roles: z$1.ZodOptional<z$1.ZodObject<{
3442
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3443
+ lastModified: z$1.ZodString;
3444
+ }, z$1.core.$strip>>;
3445
+ goals: z$1.ZodOptional<z$1.ZodObject<{
3446
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3447
+ lastModified: z$1.ZodString;
3448
+ }, z$1.core.$strip>>;
3449
+ systems: z$1.ZodOptional<z$1.ZodObject<{
3450
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3451
+ lastModified: z$1.ZodString;
3452
+ }, z$1.core.$strip>>;
3453
+ resources: z$1.ZodOptional<z$1.ZodObject<{
3454
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3455
+ lastModified: z$1.ZodString;
3456
+ }, z$1.core.$strip>>;
3457
+ actions: z$1.ZodOptional<z$1.ZodObject<{
3458
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3459
+ lastModified: z$1.ZodString;
3460
+ }, z$1.core.$strip>>;
3461
+ entities: z$1.ZodOptional<z$1.ZodObject<{
3462
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3463
+ lastModified: z$1.ZodString;
3464
+ }, z$1.core.$strip>>;
3465
+ policies: z$1.ZodOptional<z$1.ZodObject<{
3466
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3467
+ lastModified: z$1.ZodString;
3468
+ }, z$1.core.$strip>>;
3469
+ knowledge: z$1.ZodOptional<z$1.ZodObject<{
3470
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3471
+ lastModified: z$1.ZodString;
3472
+ }, z$1.core.$strip>>;
3473
+ }, z$1.core.$strip>>, z$1.ZodTransform<{
3474
+ branding: {
3475
+ version: 1;
3476
+ lastModified: string;
3477
+ };
3478
+ identity: {
3479
+ version: 1;
3480
+ lastModified: string;
3481
+ };
3482
+ customers: {
3483
+ version: 1;
3484
+ lastModified: string;
3485
+ };
3486
+ offerings: {
3487
+ version: 1;
3488
+ lastModified: string;
3489
+ };
3490
+ roles: {
3491
+ version: 1;
3492
+ lastModified: string;
3493
+ };
3494
+ goals: {
3495
+ version: 1;
3496
+ lastModified: string;
3497
+ };
3498
+ systems: {
3499
+ version: 1;
3500
+ lastModified: string;
3501
+ };
3502
+ resources: {
3503
+ version: 1;
3504
+ lastModified: string;
3505
+ };
3506
+ actions: {
3507
+ version: 1;
3508
+ lastModified: string;
3509
+ };
3510
+ entities: {
3511
+ version: 1;
3512
+ lastModified: string;
3513
+ };
3514
+ policies: {
3515
+ version: 1;
3516
+ lastModified: string;
3517
+ };
3518
+ knowledge: {
3519
+ version: 1;
3520
+ lastModified: string;
3521
+ };
3522
+ }, {
3523
+ branding?: {
3524
+ version: 1;
3525
+ lastModified: string;
3526
+ } | undefined;
3527
+ identity?: {
3528
+ version: 1;
3529
+ lastModified: string;
3530
+ } | undefined;
3531
+ customers?: {
3532
+ version: 1;
3533
+ lastModified: string;
3534
+ } | undefined;
3535
+ offerings?: {
3536
+ version: 1;
3537
+ lastModified: string;
3538
+ } | undefined;
3539
+ roles?: {
3540
+ version: 1;
3541
+ lastModified: string;
3542
+ } | undefined;
3543
+ goals?: {
3544
+ version: 1;
3545
+ lastModified: string;
3546
+ } | undefined;
3547
+ systems?: {
3548
+ version: 1;
3549
+ lastModified: string;
3550
+ } | undefined;
3551
+ resources?: {
3552
+ version: 1;
3553
+ lastModified: string;
3554
+ } | undefined;
3555
+ actions?: {
3556
+ version: 1;
3557
+ lastModified: string;
3558
+ } | undefined;
3559
+ entities?: {
3560
+ version: 1;
3561
+ lastModified: string;
3562
+ } | undefined;
3563
+ policies?: {
3564
+ version: 1;
3565
+ lastModified: string;
3566
+ } | undefined;
3567
+ knowledge?: {
3568
+ version: 1;
3569
+ lastModified: string;
3570
+ } | undefined;
3571
+ }>>;
3572
+ branding: z$1.ZodObject<{
3573
+ organizationName: z$1.ZodString;
3574
+ productName: z$1.ZodString;
3575
+ shortName: z$1.ZodString;
3576
+ description: z$1.ZodOptional<z$1.ZodString>;
3577
+ logos: z$1.ZodDefault<z$1.ZodObject<{
3578
+ light: z$1.ZodOptional<z$1.ZodString>;
3579
+ dark: z$1.ZodOptional<z$1.ZodString>;
3580
+ }, z$1.core.$strip>>;
3581
+ }, z$1.core.$strip>;
3582
+ navigation: z$1.ZodDefault<z$1.ZodObject<{
3583
+ sidebar: z$1.ZodDefault<z$1.ZodObject<{
3584
+ primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3585
+ bottom: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3586
+ }, z$1.core.$strip>>;
3587
+ }, z$1.core.$strip>>;
3588
+ identity: z$1.ZodDefault<z$1.ZodObject<{
3589
+ mission: z$1.ZodDefault<z$1.ZodString>;
3590
+ vision: z$1.ZodDefault<z$1.ZodString>;
3591
+ legalName: z$1.ZodDefault<z$1.ZodString>;
3592
+ entityType: z$1.ZodDefault<z$1.ZodString>;
3593
+ jurisdiction: z$1.ZodDefault<z$1.ZodString>;
3594
+ industryCategory: z$1.ZodDefault<z$1.ZodString>;
3595
+ geographicFocus: z$1.ZodDefault<z$1.ZodString>;
3596
+ timeZone: z$1.ZodDefault<z$1.ZodString>;
3597
+ businessHours: z$1.ZodDefault<z$1.ZodObject<{
3598
+ monday: z$1.ZodOptional<z$1.ZodObject<{
3599
+ open: z$1.ZodString;
3600
+ close: z$1.ZodString;
3601
+ }, z$1.core.$strip>>;
3602
+ tuesday: z$1.ZodOptional<z$1.ZodObject<{
3603
+ open: z$1.ZodString;
3604
+ close: z$1.ZodString;
3605
+ }, z$1.core.$strip>>;
3606
+ wednesday: z$1.ZodOptional<z$1.ZodObject<{
3607
+ open: z$1.ZodString;
3608
+ close: z$1.ZodString;
3609
+ }, z$1.core.$strip>>;
3610
+ thursday: z$1.ZodOptional<z$1.ZodObject<{
3611
+ open: z$1.ZodString;
3612
+ close: z$1.ZodString;
3613
+ }, z$1.core.$strip>>;
3614
+ friday: z$1.ZodOptional<z$1.ZodObject<{
3615
+ open: z$1.ZodString;
3616
+ close: z$1.ZodString;
3617
+ }, z$1.core.$strip>>;
3618
+ saturday: z$1.ZodOptional<z$1.ZodObject<{
3619
+ open: z$1.ZodString;
3620
+ close: z$1.ZodString;
3621
+ }, z$1.core.$strip>>;
3622
+ sunday: z$1.ZodOptional<z$1.ZodObject<{
3623
+ open: z$1.ZodString;
3624
+ close: z$1.ZodString;
3625
+ }, z$1.core.$strip>>;
3626
+ }, z$1.core.$strip>>;
3627
+ clientBrief: z$1.ZodDefault<z$1.ZodString>;
3628
+ }, z$1.core.$strip>>;
3629
+ customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3630
+ id: z$1.ZodString;
3631
+ order: z$1.ZodNumber;
3632
+ name: z$1.ZodDefault<z$1.ZodString>;
3633
+ description: z$1.ZodDefault<z$1.ZodString>;
3634
+ jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
3635
+ pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3636
+ gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3637
+ firmographics: z$1.ZodDefault<z$1.ZodObject<{
3638
+ industry: z$1.ZodOptional<z$1.ZodString>;
3639
+ companySize: z$1.ZodOptional<z$1.ZodString>;
3640
+ region: z$1.ZodOptional<z$1.ZodString>;
3641
+ }, z$1.core.$strip>>;
3642
+ valueProp: z$1.ZodDefault<z$1.ZodString>;
3643
+ }, z$1.core.$strip>>>>;
3644
+ offerings: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3645
+ id: z$1.ZodString;
3646
+ order: z$1.ZodNumber;
3647
+ name: z$1.ZodDefault<z$1.ZodString>;
3648
+ description: z$1.ZodDefault<z$1.ZodString>;
3649
+ pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
3650
+ custom: "custom";
3651
+ "one-time": "one-time";
3652
+ subscription: "subscription";
3653
+ "usage-based": "usage-based";
3654
+ }>>;
3655
+ price: z$1.ZodDefault<z$1.ZodNumber>;
3656
+ currency: z$1.ZodDefault<z$1.ZodString>;
3657
+ targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3658
+ deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
3659
+ }, z$1.core.$strip>>>>;
3660
+ roles: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3233
3661
  id: z$1.ZodString;
3662
+ order: z$1.ZodNumber;
3663
+ title: z$1.ZodString;
3664
+ responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3665
+ reportsToId: z$1.ZodOptional<z$1.ZodString>;
3666
+ heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3667
+ kind: z$1.ZodLiteral<"human">;
3668
+ userId: z$1.ZodString;
3669
+ }, z$1.core.$strip>, z$1.ZodObject<{
3670
+ kind: z$1.ZodLiteral<"agent">;
3671
+ agentId: z$1.ZodString;
3672
+ }, z$1.core.$strip>, z$1.ZodObject<{
3673
+ kind: z$1.ZodLiteral<"team">;
3674
+ memberIds: z$1.ZodArray<z$1.ZodString>;
3675
+ }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3676
+ kind: z$1.ZodLiteral<"human">;
3677
+ userId: z$1.ZodString;
3678
+ }, z$1.core.$strip>, z$1.ZodObject<{
3679
+ kind: z$1.ZodLiteral<"agent">;
3680
+ agentId: z$1.ZodString;
3681
+ }, z$1.core.$strip>, z$1.ZodObject<{
3682
+ kind: z$1.ZodLiteral<"team">;
3683
+ memberIds: z$1.ZodArray<z$1.ZodString>;
3684
+ }, z$1.core.$strip>], "kind">>]>>;
3685
+ responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3686
+ }, z$1.core.$strip>>>>;
3687
+ goals: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3688
+ id: z$1.ZodString;
3689
+ order: z$1.ZodNumber;
3690
+ description: z$1.ZodString;
3691
+ periodStart: z$1.ZodString;
3692
+ periodEnd: z$1.ZodString;
3693
+ keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3694
+ id: z$1.ZodString;
3695
+ description: z$1.ZodString;
3696
+ targetMetric: z$1.ZodString;
3697
+ currentValue: z$1.ZodDefault<z$1.ZodNumber>;
3698
+ targetValue: z$1.ZodOptional<z$1.ZodNumber>;
3699
+ }, z$1.core.$strip>>>;
3700
+ }, z$1.core.$strip>>>>;
3701
+ systems: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SystemEntry, unknown, z$1.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
3702
+ resources: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3703
+ id: z$1.ZodString;
3704
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3705
+ systemPath: z$1.ZodString;
3706
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3707
+ status: z$1.ZodEnum<{
3708
+ deprecated: "deprecated";
3709
+ active: "active";
3710
+ archived: "archived";
3711
+ }>;
3712
+ kind: z$1.ZodLiteral<"workflow">;
3713
+ actionKey: z$1.ZodOptional<z$1.ZodString>;
3714
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3715
+ eventKey: z$1.ZodString;
3716
+ label: z$1.ZodString;
3717
+ payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3718
+ lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3719
+ deprecated: "deprecated";
3720
+ draft: "draft";
3721
+ beta: "beta";
3722
+ active: "active";
3723
+ archived: "archived";
3724
+ }>>;
3725
+ }, z$1.core.$strip>>>;
3726
+ }, z$1.core.$strip>, z$1.ZodObject<{
3727
+ id: z$1.ZodString;
3728
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3729
+ systemPath: z$1.ZodString;
3730
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3731
+ status: z$1.ZodEnum<{
3732
+ deprecated: "deprecated";
3733
+ active: "active";
3734
+ archived: "archived";
3735
+ }>;
3736
+ kind: z$1.ZodLiteral<"agent">;
3737
+ agentKind: z$1.ZodEnum<{
3738
+ platform: "platform";
3739
+ orchestrator: "orchestrator";
3740
+ specialist: "specialist";
3741
+ utility: "utility";
3742
+ }>;
3743
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
3744
+ sessionCapable: z$1.ZodBoolean;
3745
+ invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3746
+ kind: z$1.ZodLiteral<"slash-command">;
3747
+ command: z$1.ZodString;
3748
+ toolFactory: z$1.ZodOptional<z$1.ZodString>;
3749
+ }, z$1.core.$strip>, z$1.ZodObject<{
3750
+ kind: z$1.ZodLiteral<"mcp-tool">;
3751
+ server: z$1.ZodString;
3752
+ name: z$1.ZodString;
3753
+ }, z$1.core.$strip>, z$1.ZodObject<{
3754
+ kind: z$1.ZodLiteral<"api-endpoint">;
3755
+ method: z$1.ZodEnum<{
3756
+ GET: "GET";
3757
+ POST: "POST";
3758
+ PATCH: "PATCH";
3759
+ DELETE: "DELETE";
3760
+ }>;
3761
+ path: z$1.ZodString;
3762
+ requestSchema: z$1.ZodOptional<z$1.ZodString>;
3763
+ responseSchema: z$1.ZodOptional<z$1.ZodString>;
3764
+ }, z$1.core.$strip>, z$1.ZodObject<{
3765
+ kind: z$1.ZodLiteral<"script-execution">;
3766
+ resourceId: z$1.ZodString;
3767
+ }, z$1.core.$strip>], "kind">>>;
3768
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3769
+ eventKey: z$1.ZodString;
3770
+ label: z$1.ZodString;
3771
+ payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3772
+ lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3773
+ deprecated: "deprecated";
3774
+ draft: "draft";
3775
+ beta: "beta";
3776
+ active: "active";
3777
+ archived: "archived";
3778
+ }>>;
3779
+ }, z$1.core.$strip>>>;
3780
+ }, z$1.core.$strip>, z$1.ZodObject<{
3781
+ id: z$1.ZodString;
3782
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3783
+ systemPath: z$1.ZodString;
3784
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3785
+ status: z$1.ZodEnum<{
3786
+ deprecated: "deprecated";
3787
+ active: "active";
3788
+ archived: "archived";
3789
+ }>;
3790
+ kind: z$1.ZodLiteral<"integration">;
3791
+ provider: z$1.ZodString;
3792
+ }, z$1.core.$strip>, z$1.ZodObject<{
3793
+ id: z$1.ZodString;
3794
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3795
+ systemPath: z$1.ZodString;
3796
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3797
+ status: z$1.ZodEnum<{
3798
+ deprecated: "deprecated";
3799
+ active: "active";
3800
+ archived: "archived";
3801
+ }>;
3802
+ kind: z$1.ZodLiteral<"script">;
3803
+ language: z$1.ZodEnum<{
3804
+ shell: "shell";
3805
+ sql: "sql";
3806
+ typescript: "typescript";
3807
+ python: "python";
3808
+ }>;
3809
+ source: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
3810
+ file: z$1.ZodString;
3811
+ }, z$1.core.$strip>]>;
3812
+ }, z$1.core.$strip>], "kind">>>>;
3813
+ actions: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3814
+ id: z$1.ZodString;
3815
+ order: z$1.ZodNumber;
3816
+ label: z$1.ZodString;
3817
+ description: z$1.ZodOptional<z$1.ZodString>;
3818
+ scope: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodLiteral<"global">, z$1.ZodObject<{
3819
+ domain: z$1.ZodString;
3820
+ }, z$1.core.$strip>]>>;
3821
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
3822
+ affects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3823
+ invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3824
+ kind: z$1.ZodLiteral<"slash-command">;
3825
+ command: z$1.ZodString;
3826
+ toolFactory: z$1.ZodOptional<z$1.ZodString>;
3827
+ }, z$1.core.$strip>, z$1.ZodObject<{
3828
+ kind: z$1.ZodLiteral<"mcp-tool">;
3829
+ server: z$1.ZodString;
3830
+ name: z$1.ZodString;
3831
+ }, z$1.core.$strip>, z$1.ZodObject<{
3832
+ kind: z$1.ZodLiteral<"api-endpoint">;
3833
+ method: z$1.ZodEnum<{
3834
+ GET: "GET";
3835
+ POST: "POST";
3836
+ PATCH: "PATCH";
3837
+ DELETE: "DELETE";
3838
+ }>;
3839
+ path: z$1.ZodString;
3840
+ requestSchema: z$1.ZodOptional<z$1.ZodString>;
3841
+ responseSchema: z$1.ZodOptional<z$1.ZodString>;
3842
+ }, z$1.core.$strip>, z$1.ZodObject<{
3843
+ kind: z$1.ZodLiteral<"script-execution">;
3844
+ resourceId: z$1.ZodString;
3845
+ }, z$1.core.$strip>], "kind">>>;
3846
+ knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3847
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
3848
+ deprecated: "deprecated";
3849
+ draft: "draft";
3850
+ beta: "beta";
3851
+ active: "active";
3852
+ archived: "archived";
3853
+ }>>;
3854
+ }, z$1.core.$strip>>>>;
3855
+ entities: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3856
+ id: z$1.ZodString;
3857
+ order: z$1.ZodNumber;
3858
+ label: z$1.ZodString;
3859
+ description: z$1.ZodOptional<z$1.ZodString>;
3860
+ ownedBySystemId: z$1.ZodString;
3861
+ table: z$1.ZodOptional<z$1.ZodString>;
3862
+ rowSchema: z$1.ZodOptional<z$1.ZodString>;
3863
+ stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
3864
+ links: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3865
+ toEntity: z$1.ZodString;
3866
+ kind: z$1.ZodEnum<{
3867
+ "belongs-to": "belongs-to";
3868
+ "has-many": "has-many";
3869
+ "has-one": "has-one";
3870
+ "many-to-many": "many-to-many";
3871
+ }>;
3872
+ via: z$1.ZodOptional<z$1.ZodString>;
3873
+ label: z$1.ZodOptional<z$1.ZodString>;
3874
+ }, z$1.core.$strip>>>;
3875
+ }, z$1.core.$strip>>>>;
3876
+ policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3877
+ id: z$1.ZodString;
3878
+ order: z$1.ZodNumber;
3234
3879
  label: z$1.ZodString;
3235
3880
  description: z$1.ZodOptional<z$1.ZodString>;
3236
- enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3237
- path: z$1.ZodOptional<z$1.ZodString>;
3881
+ trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3882
+ kind: z$1.ZodLiteral<"event">;
3883
+ eventId: z$1.ZodString;
3884
+ }, z$1.core.$strip>, z$1.ZodObject<{
3885
+ kind: z$1.ZodLiteral<"action-invocation">;
3886
+ actionId: z$1.ZodString;
3887
+ }, z$1.core.$strip>, z$1.ZodObject<{
3888
+ kind: z$1.ZodLiteral<"schedule">;
3889
+ cron: z$1.ZodString;
3890
+ }, z$1.core.$strip>, z$1.ZodObject<{
3891
+ kind: z$1.ZodLiteral<"manual">;
3892
+ }, z$1.core.$strip>], "kind">;
3893
+ predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3894
+ kind: z$1.ZodLiteral<"always">;
3895
+ }, z$1.core.$strip>, z$1.ZodObject<{
3896
+ kind: z$1.ZodLiteral<"expression">;
3897
+ expression: z$1.ZodString;
3898
+ }, z$1.core.$strip>, z$1.ZodObject<{
3899
+ kind: z$1.ZodLiteral<"threshold">;
3900
+ metric: z$1.ZodString;
3901
+ operator: z$1.ZodEnum<{
3902
+ lt: "lt";
3903
+ lte: "lte";
3904
+ eq: "eq";
3905
+ gte: "gte";
3906
+ gt: "gt";
3907
+ }>;
3908
+ value: z$1.ZodNumber;
3909
+ }, z$1.core.$strip>], "kind">>;
3910
+ actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3911
+ kind: z$1.ZodLiteral<"require-approval">;
3912
+ roleId: z$1.ZodOptional<z$1.ZodString>;
3913
+ }, z$1.core.$strip>, z$1.ZodObject<{
3914
+ kind: z$1.ZodLiteral<"invoke-action">;
3915
+ actionId: z$1.ZodString;
3916
+ }, z$1.core.$strip>, z$1.ZodObject<{
3917
+ kind: z$1.ZodLiteral<"notify-role">;
3918
+ roleId: z$1.ZodString;
3919
+ }, z$1.core.$strip>, z$1.ZodObject<{
3920
+ kind: z$1.ZodLiteral<"block">;
3921
+ }, z$1.core.$strip>], "kind">>;
3922
+ appliesTo: z$1.ZodDefault<z$1.ZodObject<{
3923
+ systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3924
+ actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3925
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3926
+ roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3927
+ }, z$1.core.$strip>>;
3928
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
3929
+ deprecated: "deprecated";
3930
+ draft: "draft";
3931
+ beta: "beta";
3932
+ active: "active";
3933
+ archived: "archived";
3934
+ }>>;
3935
+ }, z$1.core.$strip>>>>;
3936
+ knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3937
+ id: z$1.ZodString;
3938
+ kind: z$1.ZodEnum<{
3939
+ playbook: "playbook";
3940
+ strategy: "strategy";
3941
+ reference: "reference";
3942
+ }>;
3943
+ title: z$1.ZodString;
3944
+ summary: z$1.ZodString;
3238
3945
  icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3239
3946
  "nav.dashboard": "nav.dashboard";
3240
3947
  "nav.calendar": "nav.calendar";
@@ -3253,6 +3960,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3253
3960
  "knowledge.reference": "knowledge.reference";
3254
3961
  "feature.dashboard": "feature.dashboard";
3255
3962
  "feature.calendar": "feature.calendar";
3963
+ "feature.business": "feature.business";
3256
3964
  "feature.sales": "feature.sales";
3257
3965
  "feature.crm": "feature.crm";
3258
3966
  "feature.finance": "feature.finance";
@@ -3301,1023 +4009,47 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3301
4009
  "action.submit": "action.submit";
3302
4010
  "action.email": "action.email";
3303
4011
  }>, z$1.ZodString]>>;
3304
- color: z$1.ZodOptional<z$1.ZodString>;
3305
- uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
3306
- "sidebar-primary": "sidebar-primary";
3307
- "sidebar-bottom": "sidebar-bottom";
3308
- }>>;
3309
- requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
3310
- devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3311
- }, z$1.core.$strip>>>;
3312
- branding: z$1.ZodObject<{
3313
- organizationName: z$1.ZodString;
3314
- productName: z$1.ZodString;
3315
- shortName: z$1.ZodString;
3316
- description: z$1.ZodOptional<z$1.ZodString>;
3317
- logos: z$1.ZodDefault<z$1.ZodObject<{
3318
- light: z$1.ZodOptional<z$1.ZodString>;
3319
- dark: z$1.ZodOptional<z$1.ZodString>;
3320
- }, z$1.core.$strip>>;
3321
- }, z$1.core.$strip>;
3322
- navigation: z$1.ZodDefault<z$1.ZodObject<{
3323
- defaultSurfaceId: z$1.ZodOptional<z$1.ZodString>;
3324
- surfaces: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3325
- id: z$1.ZodString;
3326
- label: z$1.ZodString;
3327
- path: z$1.ZodString;
3328
- surfaceType: z$1.ZodEnum<{
3329
- settings: "settings";
3330
- page: "page";
3331
- dashboard: "dashboard";
3332
- graph: "graph";
3333
- detail: "detail";
3334
- list: "list";
3335
- }>;
3336
- description: z$1.ZodOptional<z$1.ZodString>;
3337
- enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3338
- devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3339
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3340
- "nav.dashboard": "nav.dashboard";
3341
- "nav.calendar": "nav.calendar";
3342
- "nav.sales": "nav.sales";
3343
- "nav.crm": "nav.crm";
3344
- "nav.lead-gen": "nav.lead-gen";
3345
- "nav.projects": "nav.projects";
3346
- "nav.operations": "nav.operations";
3347
- "nav.monitoring": "nav.monitoring";
3348
- "nav.knowledge": "nav.knowledge";
3349
- "nav.settings": "nav.settings";
3350
- "nav.admin": "nav.admin";
3351
- "nav.archive": "nav.archive";
3352
- "knowledge.playbook": "knowledge.playbook";
3353
- "knowledge.strategy": "knowledge.strategy";
3354
- "knowledge.reference": "knowledge.reference";
3355
- "feature.dashboard": "feature.dashboard";
3356
- "feature.calendar": "feature.calendar";
3357
- "feature.sales": "feature.sales";
3358
- "feature.crm": "feature.crm";
3359
- "feature.finance": "feature.finance";
3360
- "feature.lead-gen": "feature.lead-gen";
3361
- "feature.platform": "feature.platform";
3362
- "feature.projects": "feature.projects";
3363
- "feature.operations": "feature.operations";
3364
- "feature.knowledge": "feature.knowledge";
3365
- "feature.monitoring": "feature.monitoring";
3366
- "feature.settings": "feature.settings";
3367
- "feature.admin": "feature.admin";
3368
- "feature.archive": "feature.archive";
3369
- "feature.seo": "feature.seo";
3370
- "resource.agent": "resource.agent";
3371
- "resource.workflow": "resource.workflow";
3372
- "resource.integration": "resource.integration";
3373
- "resource.database": "resource.database";
3374
- "resource.user": "resource.user";
3375
- "resource.team": "resource.team";
3376
- "integration.gmail": "integration.gmail";
3377
- "integration.google-sheets": "integration.google-sheets";
3378
- "integration.attio": "integration.attio";
3379
- "surface.dashboard": "surface.dashboard";
3380
- "surface.calendar": "surface.calendar";
3381
- "surface.overview": "surface.overview";
3382
- "surface.command-view": "surface.command-view";
3383
- "surface.command-queue": "surface.command-queue";
3384
- "surface.pipeline": "surface.pipeline";
3385
- "surface.lists": "surface.lists";
3386
- "surface.resources": "surface.resources";
3387
- "surface.settings": "surface.settings";
3388
- "status.success": "status.success";
3389
- "status.error": "status.error";
3390
- "status.warning": "status.warning";
3391
- "status.info": "status.info";
3392
- "status.pending": "status.pending";
3393
- "action.approve": "action.approve";
3394
- "action.reject": "action.reject";
3395
- "action.retry": "action.retry";
3396
- "action.edit": "action.edit";
3397
- "action.view": "action.view";
3398
- "action.launch": "action.launch";
3399
- "action.message": "action.message";
3400
- "action.escalate": "action.escalate";
3401
- "action.promote": "action.promote";
3402
- "action.submit": "action.submit";
3403
- "action.email": "action.email";
3404
- }>, z$1.ZodString]>>;
3405
- featureId: z$1.ZodOptional<z$1.ZodString>;
3406
- featureIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3407
- entityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3408
- resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3409
- capabilityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3410
- parentId: z$1.ZodOptional<z$1.ZodString>;
3411
- }, z$1.core.$strip>>>;
3412
- groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3413
- id: z$1.ZodString;
3414
- label: z$1.ZodString;
3415
- placement: z$1.ZodString;
3416
- surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3417
- }, z$1.core.$strip>>>;
3418
- }, z$1.core.$strip>>;
3419
- sales: z$1.ZodObject<{
3420
- entityId: z$1.ZodString;
3421
- defaultPipelineId: z$1.ZodString;
3422
- pipelines: z$1.ZodArray<z$1.ZodObject<{
3423
- id: z$1.ZodString;
3424
- label: z$1.ZodString;
3425
- description: z$1.ZodOptional<z$1.ZodString>;
3426
- entityId: z$1.ZodString;
3427
- stages: z$1.ZodArray<z$1.ZodObject<{
3428
- label: z$1.ZodString;
3429
- description: z$1.ZodOptional<z$1.ZodString>;
3430
- color: z$1.ZodOptional<z$1.ZodString>;
3431
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3432
- "nav.dashboard": "nav.dashboard";
3433
- "nav.calendar": "nav.calendar";
3434
- "nav.sales": "nav.sales";
3435
- "nav.crm": "nav.crm";
3436
- "nav.lead-gen": "nav.lead-gen";
3437
- "nav.projects": "nav.projects";
3438
- "nav.operations": "nav.operations";
3439
- "nav.monitoring": "nav.monitoring";
3440
- "nav.knowledge": "nav.knowledge";
3441
- "nav.settings": "nav.settings";
3442
- "nav.admin": "nav.admin";
3443
- "nav.archive": "nav.archive";
3444
- "knowledge.playbook": "knowledge.playbook";
3445
- "knowledge.strategy": "knowledge.strategy";
3446
- "knowledge.reference": "knowledge.reference";
3447
- "feature.dashboard": "feature.dashboard";
3448
- "feature.calendar": "feature.calendar";
3449
- "feature.sales": "feature.sales";
3450
- "feature.crm": "feature.crm";
3451
- "feature.finance": "feature.finance";
3452
- "feature.lead-gen": "feature.lead-gen";
3453
- "feature.platform": "feature.platform";
3454
- "feature.projects": "feature.projects";
3455
- "feature.operations": "feature.operations";
3456
- "feature.knowledge": "feature.knowledge";
3457
- "feature.monitoring": "feature.monitoring";
3458
- "feature.settings": "feature.settings";
3459
- "feature.admin": "feature.admin";
3460
- "feature.archive": "feature.archive";
3461
- "feature.seo": "feature.seo";
3462
- "resource.agent": "resource.agent";
3463
- "resource.workflow": "resource.workflow";
3464
- "resource.integration": "resource.integration";
3465
- "resource.database": "resource.database";
3466
- "resource.user": "resource.user";
3467
- "resource.team": "resource.team";
3468
- "integration.gmail": "integration.gmail";
3469
- "integration.google-sheets": "integration.google-sheets";
3470
- "integration.attio": "integration.attio";
3471
- "surface.dashboard": "surface.dashboard";
3472
- "surface.calendar": "surface.calendar";
3473
- "surface.overview": "surface.overview";
3474
- "surface.command-view": "surface.command-view";
3475
- "surface.command-queue": "surface.command-queue";
3476
- "surface.pipeline": "surface.pipeline";
3477
- "surface.lists": "surface.lists";
3478
- "surface.resources": "surface.resources";
3479
- "surface.settings": "surface.settings";
3480
- "status.success": "status.success";
3481
- "status.error": "status.error";
3482
- "status.warning": "status.warning";
3483
- "status.info": "status.info";
3484
- "status.pending": "status.pending";
3485
- "action.approve": "action.approve";
3486
- "action.reject": "action.reject";
3487
- "action.retry": "action.retry";
3488
- "action.edit": "action.edit";
3489
- "action.view": "action.view";
3490
- "action.launch": "action.launch";
3491
- "action.message": "action.message";
3492
- "action.escalate": "action.escalate";
3493
- "action.promote": "action.promote";
3494
- "action.submit": "action.submit";
3495
- "action.email": "action.email";
3496
- }>, z$1.ZodString]>>;
3497
- id: z$1.ZodString;
3498
- order: z$1.ZodNumber;
3499
- semanticClass: z$1.ZodEnum<{
3500
- open: "open";
3501
- active: "active";
3502
- nurturing: "nurturing";
3503
- closed_won: "closed_won";
3504
- closed_lost: "closed_lost";
3505
- }>;
3506
- surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3507
- resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3508
- }, z$1.core.$strip>>;
3509
- }, z$1.core.$strip>>;
3510
- }, z$1.core.$strip>;
3511
- prospecting: z$1.ZodObject<{
3512
- listEntityId: z$1.ZodString;
3513
- companyEntityId: z$1.ZodString;
3514
- contactEntityId: z$1.ZodString;
3515
- description: z$1.ZodOptional<z$1.ZodString>;
3516
- companyStages: z$1.ZodArray<z$1.ZodObject<{
3517
- label: z$1.ZodString;
3518
- description: z$1.ZodOptional<z$1.ZodString>;
3519
- color: z$1.ZodOptional<z$1.ZodString>;
3520
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3521
- "nav.dashboard": "nav.dashboard";
3522
- "nav.calendar": "nav.calendar";
3523
- "nav.sales": "nav.sales";
3524
- "nav.crm": "nav.crm";
3525
- "nav.lead-gen": "nav.lead-gen";
3526
- "nav.projects": "nav.projects";
3527
- "nav.operations": "nav.operations";
3528
- "nav.monitoring": "nav.monitoring";
3529
- "nav.knowledge": "nav.knowledge";
3530
- "nav.settings": "nav.settings";
3531
- "nav.admin": "nav.admin";
3532
- "nav.archive": "nav.archive";
3533
- "knowledge.playbook": "knowledge.playbook";
3534
- "knowledge.strategy": "knowledge.strategy";
3535
- "knowledge.reference": "knowledge.reference";
3536
- "feature.dashboard": "feature.dashboard";
3537
- "feature.calendar": "feature.calendar";
3538
- "feature.sales": "feature.sales";
3539
- "feature.crm": "feature.crm";
3540
- "feature.finance": "feature.finance";
3541
- "feature.lead-gen": "feature.lead-gen";
3542
- "feature.platform": "feature.platform";
3543
- "feature.projects": "feature.projects";
3544
- "feature.operations": "feature.operations";
3545
- "feature.knowledge": "feature.knowledge";
3546
- "feature.monitoring": "feature.monitoring";
3547
- "feature.settings": "feature.settings";
3548
- "feature.admin": "feature.admin";
3549
- "feature.archive": "feature.archive";
3550
- "feature.seo": "feature.seo";
3551
- "resource.agent": "resource.agent";
3552
- "resource.workflow": "resource.workflow";
3553
- "resource.integration": "resource.integration";
3554
- "resource.database": "resource.database";
3555
- "resource.user": "resource.user";
3556
- "resource.team": "resource.team";
3557
- "integration.gmail": "integration.gmail";
3558
- "integration.google-sheets": "integration.google-sheets";
3559
- "integration.attio": "integration.attio";
3560
- "surface.dashboard": "surface.dashboard";
3561
- "surface.calendar": "surface.calendar";
3562
- "surface.overview": "surface.overview";
3563
- "surface.command-view": "surface.command-view";
3564
- "surface.command-queue": "surface.command-queue";
3565
- "surface.pipeline": "surface.pipeline";
3566
- "surface.lists": "surface.lists";
3567
- "surface.resources": "surface.resources";
3568
- "surface.settings": "surface.settings";
3569
- "status.success": "status.success";
3570
- "status.error": "status.error";
3571
- "status.warning": "status.warning";
3572
- "status.info": "status.info";
3573
- "status.pending": "status.pending";
3574
- "action.approve": "action.approve";
3575
- "action.reject": "action.reject";
3576
- "action.retry": "action.retry";
3577
- "action.edit": "action.edit";
3578
- "action.view": "action.view";
3579
- "action.launch": "action.launch";
3580
- "action.message": "action.message";
3581
- "action.escalate": "action.escalate";
3582
- "action.promote": "action.promote";
3583
- "action.submit": "action.submit";
3584
- "action.email": "action.email";
3585
- }>, z$1.ZodString]>>;
3586
- id: z$1.ZodString;
3587
- order: z$1.ZodNumber;
3588
- }, z$1.core.$strip>>;
3589
- contactStages: z$1.ZodArray<z$1.ZodObject<{
3590
- label: z$1.ZodString;
3591
- description: z$1.ZodOptional<z$1.ZodString>;
3592
- color: z$1.ZodOptional<z$1.ZodString>;
3593
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3594
- "nav.dashboard": "nav.dashboard";
3595
- "nav.calendar": "nav.calendar";
3596
- "nav.sales": "nav.sales";
3597
- "nav.crm": "nav.crm";
3598
- "nav.lead-gen": "nav.lead-gen";
3599
- "nav.projects": "nav.projects";
3600
- "nav.operations": "nav.operations";
3601
- "nav.monitoring": "nav.monitoring";
3602
- "nav.knowledge": "nav.knowledge";
3603
- "nav.settings": "nav.settings";
3604
- "nav.admin": "nav.admin";
3605
- "nav.archive": "nav.archive";
3606
- "knowledge.playbook": "knowledge.playbook";
3607
- "knowledge.strategy": "knowledge.strategy";
3608
- "knowledge.reference": "knowledge.reference";
3609
- "feature.dashboard": "feature.dashboard";
3610
- "feature.calendar": "feature.calendar";
3611
- "feature.sales": "feature.sales";
3612
- "feature.crm": "feature.crm";
3613
- "feature.finance": "feature.finance";
3614
- "feature.lead-gen": "feature.lead-gen";
3615
- "feature.platform": "feature.platform";
3616
- "feature.projects": "feature.projects";
3617
- "feature.operations": "feature.operations";
3618
- "feature.knowledge": "feature.knowledge";
3619
- "feature.monitoring": "feature.monitoring";
3620
- "feature.settings": "feature.settings";
3621
- "feature.admin": "feature.admin";
3622
- "feature.archive": "feature.archive";
3623
- "feature.seo": "feature.seo";
3624
- "resource.agent": "resource.agent";
3625
- "resource.workflow": "resource.workflow";
3626
- "resource.integration": "resource.integration";
3627
- "resource.database": "resource.database";
3628
- "resource.user": "resource.user";
3629
- "resource.team": "resource.team";
3630
- "integration.gmail": "integration.gmail";
3631
- "integration.google-sheets": "integration.google-sheets";
3632
- "integration.attio": "integration.attio";
3633
- "surface.dashboard": "surface.dashboard";
3634
- "surface.calendar": "surface.calendar";
3635
- "surface.overview": "surface.overview";
3636
- "surface.command-view": "surface.command-view";
3637
- "surface.command-queue": "surface.command-queue";
3638
- "surface.pipeline": "surface.pipeline";
3639
- "surface.lists": "surface.lists";
3640
- "surface.resources": "surface.resources";
3641
- "surface.settings": "surface.settings";
3642
- "status.success": "status.success";
3643
- "status.error": "status.error";
3644
- "status.warning": "status.warning";
3645
- "status.info": "status.info";
3646
- "status.pending": "status.pending";
3647
- "action.approve": "action.approve";
3648
- "action.reject": "action.reject";
3649
- "action.retry": "action.retry";
3650
- "action.edit": "action.edit";
3651
- "action.view": "action.view";
3652
- "action.launch": "action.launch";
3653
- "action.message": "action.message";
3654
- "action.escalate": "action.escalate";
3655
- "action.promote": "action.promote";
3656
- "action.submit": "action.submit";
3657
- "action.email": "action.email";
3658
- }>, z$1.ZodString]>>;
3659
- id: z$1.ZodString;
3660
- order: z$1.ZodNumber;
3661
- }, z$1.core.$strip>>;
3662
- defaultBuildTemplateId: z$1.ZodString;
3663
- buildTemplates: z$1.ZodArray<z$1.ZodObject<{
3664
- label: z$1.ZodString;
3665
- description: z$1.ZodOptional<z$1.ZodString>;
3666
- color: z$1.ZodOptional<z$1.ZodString>;
3667
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3668
- "nav.dashboard": "nav.dashboard";
3669
- "nav.calendar": "nav.calendar";
3670
- "nav.sales": "nav.sales";
3671
- "nav.crm": "nav.crm";
3672
- "nav.lead-gen": "nav.lead-gen";
3673
- "nav.projects": "nav.projects";
3674
- "nav.operations": "nav.operations";
3675
- "nav.monitoring": "nav.monitoring";
3676
- "nav.knowledge": "nav.knowledge";
3677
- "nav.settings": "nav.settings";
3678
- "nav.admin": "nav.admin";
3679
- "nav.archive": "nav.archive";
3680
- "knowledge.playbook": "knowledge.playbook";
3681
- "knowledge.strategy": "knowledge.strategy";
3682
- "knowledge.reference": "knowledge.reference";
3683
- "feature.dashboard": "feature.dashboard";
3684
- "feature.calendar": "feature.calendar";
3685
- "feature.sales": "feature.sales";
3686
- "feature.crm": "feature.crm";
3687
- "feature.finance": "feature.finance";
3688
- "feature.lead-gen": "feature.lead-gen";
3689
- "feature.platform": "feature.platform";
3690
- "feature.projects": "feature.projects";
3691
- "feature.operations": "feature.operations";
3692
- "feature.knowledge": "feature.knowledge";
3693
- "feature.monitoring": "feature.monitoring";
3694
- "feature.settings": "feature.settings";
3695
- "feature.admin": "feature.admin";
3696
- "feature.archive": "feature.archive";
3697
- "feature.seo": "feature.seo";
3698
- "resource.agent": "resource.agent";
3699
- "resource.workflow": "resource.workflow";
3700
- "resource.integration": "resource.integration";
3701
- "resource.database": "resource.database";
3702
- "resource.user": "resource.user";
3703
- "resource.team": "resource.team";
3704
- "integration.gmail": "integration.gmail";
3705
- "integration.google-sheets": "integration.google-sheets";
3706
- "integration.attio": "integration.attio";
3707
- "surface.dashboard": "surface.dashboard";
3708
- "surface.calendar": "surface.calendar";
3709
- "surface.overview": "surface.overview";
3710
- "surface.command-view": "surface.command-view";
3711
- "surface.command-queue": "surface.command-queue";
3712
- "surface.pipeline": "surface.pipeline";
3713
- "surface.lists": "surface.lists";
3714
- "surface.resources": "surface.resources";
3715
- "surface.settings": "surface.settings";
3716
- "status.success": "status.success";
3717
- "status.error": "status.error";
3718
- "status.warning": "status.warning";
3719
- "status.info": "status.info";
3720
- "status.pending": "status.pending";
3721
- "action.approve": "action.approve";
3722
- "action.reject": "action.reject";
3723
- "action.retry": "action.retry";
3724
- "action.edit": "action.edit";
3725
- "action.view": "action.view";
3726
- "action.launch": "action.launch";
3727
- "action.message": "action.message";
3728
- "action.escalate": "action.escalate";
3729
- "action.promote": "action.promote";
3730
- "action.submit": "action.submit";
3731
- "action.email": "action.email";
3732
- }>, z$1.ZodString]>>;
3733
- id: z$1.ZodString;
3734
- steps: z$1.ZodArray<z$1.ZodObject<{
3735
- label: z$1.ZodString;
3736
- description: z$1.ZodOptional<z$1.ZodString>;
3737
- color: z$1.ZodOptional<z$1.ZodString>;
3738
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3739
- "nav.dashboard": "nav.dashboard";
3740
- "nav.calendar": "nav.calendar";
3741
- "nav.sales": "nav.sales";
3742
- "nav.crm": "nav.crm";
3743
- "nav.lead-gen": "nav.lead-gen";
3744
- "nav.projects": "nav.projects";
3745
- "nav.operations": "nav.operations";
3746
- "nav.monitoring": "nav.monitoring";
3747
- "nav.knowledge": "nav.knowledge";
3748
- "nav.settings": "nav.settings";
3749
- "nav.admin": "nav.admin";
3750
- "nav.archive": "nav.archive";
3751
- "knowledge.playbook": "knowledge.playbook";
3752
- "knowledge.strategy": "knowledge.strategy";
3753
- "knowledge.reference": "knowledge.reference";
3754
- "feature.dashboard": "feature.dashboard";
3755
- "feature.calendar": "feature.calendar";
3756
- "feature.sales": "feature.sales";
3757
- "feature.crm": "feature.crm";
3758
- "feature.finance": "feature.finance";
3759
- "feature.lead-gen": "feature.lead-gen";
3760
- "feature.platform": "feature.platform";
3761
- "feature.projects": "feature.projects";
3762
- "feature.operations": "feature.operations";
3763
- "feature.knowledge": "feature.knowledge";
3764
- "feature.monitoring": "feature.monitoring";
3765
- "feature.settings": "feature.settings";
3766
- "feature.admin": "feature.admin";
3767
- "feature.archive": "feature.archive";
3768
- "feature.seo": "feature.seo";
3769
- "resource.agent": "resource.agent";
3770
- "resource.workflow": "resource.workflow";
3771
- "resource.integration": "resource.integration";
3772
- "resource.database": "resource.database";
3773
- "resource.user": "resource.user";
3774
- "resource.team": "resource.team";
3775
- "integration.gmail": "integration.gmail";
3776
- "integration.google-sheets": "integration.google-sheets";
3777
- "integration.attio": "integration.attio";
3778
- "surface.dashboard": "surface.dashboard";
3779
- "surface.calendar": "surface.calendar";
3780
- "surface.overview": "surface.overview";
3781
- "surface.command-view": "surface.command-view";
3782
- "surface.command-queue": "surface.command-queue";
3783
- "surface.pipeline": "surface.pipeline";
3784
- "surface.lists": "surface.lists";
3785
- "surface.resources": "surface.resources";
3786
- "surface.settings": "surface.settings";
3787
- "status.success": "status.success";
3788
- "status.error": "status.error";
3789
- "status.warning": "status.warning";
3790
- "status.info": "status.info";
3791
- "status.pending": "status.pending";
3792
- "action.approve": "action.approve";
3793
- "action.reject": "action.reject";
3794
- "action.retry": "action.retry";
3795
- "action.edit": "action.edit";
3796
- "action.view": "action.view";
3797
- "action.launch": "action.launch";
3798
- "action.message": "action.message";
3799
- "action.escalate": "action.escalate";
3800
- "action.promote": "action.promote";
3801
- "action.submit": "action.submit";
3802
- "action.email": "action.email";
3803
- }>, z$1.ZodString]>>;
3804
- id: z$1.ZodString;
3805
- primaryEntity: z$1.ZodEnum<{
3806
- company: "company";
3807
- contact: "contact";
4012
+ externalUrl: z$1.ZodOptional<z$1.ZodString>;
4013
+ body: z$1.ZodString;
4014
+ links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodObject<{
4015
+ target: z$1.ZodObject<{
4016
+ kind: z$1.ZodEnum<{
4017
+ system: "system";
4018
+ action: "action";
4019
+ knowledge: "knowledge";
4020
+ role: "role";
4021
+ goal: "goal";
4022
+ stage: "stage";
4023
+ resource: "resource";
4024
+ "customer-segment": "customer-segment";
4025
+ offering: "offering";
4026
+ "content-node": "content-node";
3808
4027
  }>;
3809
- outputs: z$1.ZodArray<z$1.ZodEnum<{
3810
- company: "company";
3811
- contact: "contact";
3812
- export: "export";
3813
- }>>;
3814
- stageKey: z$1.ZodString;
3815
- recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3816
- company: "company";
3817
- contact: "contact";
3818
- }>>;
3819
- recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3820
- recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3821
- dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3822
- dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3823
- capabilityKey: z$1.ZodString;
3824
- defaultBatchSize: z$1.ZodNumber;
3825
- maxBatchSize: z$1.ZodNumber;
3826
- recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3827
- company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3828
- key: z$1.ZodString;
3829
- label: z$1.ZodString;
3830
- path: z$1.ZodString;
3831
- width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3832
- renderType: z$1.ZodOptional<z$1.ZodEnum<{
3833
- text: "text";
3834
- badge: "badge";
3835
- datetime: "datetime";
3836
- count: "count";
3837
- json: "json";
3838
- }>>;
3839
- badgeColor: z$1.ZodOptional<z$1.ZodString>;
3840
- }, z$1.core.$strip>>>;
3841
- contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3842
- key: z$1.ZodString;
3843
- label: z$1.ZodString;
3844
- path: z$1.ZodString;
3845
- width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3846
- renderType: z$1.ZodOptional<z$1.ZodEnum<{
3847
- text: "text";
3848
- badge: "badge";
3849
- datetime: "datetime";
3850
- count: "count";
3851
- json: "json";
3852
- }>>;
3853
- badgeColor: z$1.ZodOptional<z$1.ZodString>;
3854
- }, z$1.core.$strip>>>;
3855
- }, z$1.core.$strip>>;
3856
- credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3857
- key: z$1.ZodString;
3858
- provider: z$1.ZodString;
3859
- credentialType: z$1.ZodEnum<{
3860
- "api-key": "api-key";
3861
- "api-key-secret": "api-key-secret";
3862
- oauth: "oauth";
3863
- "webhook-secret": "webhook-secret";
3864
- }>;
3865
- label: z$1.ZodString;
3866
- required: z$1.ZodBoolean;
3867
- selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3868
- single: "single";
3869
- multiple: "multiple";
3870
- }>>;
3871
- inputPath: z$1.ZodString;
3872
- verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
3873
- }, z$1.core.$strip>>>;
3874
- }, z$1.core.$strip>>;
3875
- }, z$1.core.$strip>>;
3876
- }, z$1.core.$strip>;
3877
- projects: z$1.ZodObject<{
3878
- projectEntityId: z$1.ZodString;
3879
- milestoneEntityId: z$1.ZodString;
3880
- taskEntityId: z$1.ZodString;
3881
- projectStatuses: z$1.ZodArray<z$1.ZodObject<{
3882
- label: z$1.ZodString;
3883
- description: z$1.ZodOptional<z$1.ZodString>;
3884
- color: z$1.ZodOptional<z$1.ZodString>;
3885
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3886
- "nav.dashboard": "nav.dashboard";
3887
- "nav.calendar": "nav.calendar";
3888
- "nav.sales": "nav.sales";
3889
- "nav.crm": "nav.crm";
3890
- "nav.lead-gen": "nav.lead-gen";
3891
- "nav.projects": "nav.projects";
3892
- "nav.operations": "nav.operations";
3893
- "nav.monitoring": "nav.monitoring";
3894
- "nav.knowledge": "nav.knowledge";
3895
- "nav.settings": "nav.settings";
3896
- "nav.admin": "nav.admin";
3897
- "nav.archive": "nav.archive";
3898
- "knowledge.playbook": "knowledge.playbook";
3899
- "knowledge.strategy": "knowledge.strategy";
3900
- "knowledge.reference": "knowledge.reference";
3901
- "feature.dashboard": "feature.dashboard";
3902
- "feature.calendar": "feature.calendar";
3903
- "feature.sales": "feature.sales";
3904
- "feature.crm": "feature.crm";
3905
- "feature.finance": "feature.finance";
3906
- "feature.lead-gen": "feature.lead-gen";
3907
- "feature.platform": "feature.platform";
3908
- "feature.projects": "feature.projects";
3909
- "feature.operations": "feature.operations";
3910
- "feature.knowledge": "feature.knowledge";
3911
- "feature.monitoring": "feature.monitoring";
3912
- "feature.settings": "feature.settings";
3913
- "feature.admin": "feature.admin";
3914
- "feature.archive": "feature.archive";
3915
- "feature.seo": "feature.seo";
3916
- "resource.agent": "resource.agent";
3917
- "resource.workflow": "resource.workflow";
3918
- "resource.integration": "resource.integration";
3919
- "resource.database": "resource.database";
3920
- "resource.user": "resource.user";
3921
- "resource.team": "resource.team";
3922
- "integration.gmail": "integration.gmail";
3923
- "integration.google-sheets": "integration.google-sheets";
3924
- "integration.attio": "integration.attio";
3925
- "surface.dashboard": "surface.dashboard";
3926
- "surface.calendar": "surface.calendar";
3927
- "surface.overview": "surface.overview";
3928
- "surface.command-view": "surface.command-view";
3929
- "surface.command-queue": "surface.command-queue";
3930
- "surface.pipeline": "surface.pipeline";
3931
- "surface.lists": "surface.lists";
3932
- "surface.resources": "surface.resources";
3933
- "surface.settings": "surface.settings";
3934
- "status.success": "status.success";
3935
- "status.error": "status.error";
3936
- "status.warning": "status.warning";
3937
- "status.info": "status.info";
3938
- "status.pending": "status.pending";
3939
- "action.approve": "action.approve";
3940
- "action.reject": "action.reject";
3941
- "action.retry": "action.retry";
3942
- "action.edit": "action.edit";
3943
- "action.view": "action.view";
3944
- "action.launch": "action.launch";
3945
- "action.message": "action.message";
3946
- "action.escalate": "action.escalate";
3947
- "action.promote": "action.promote";
3948
- "action.submit": "action.submit";
3949
- "action.email": "action.email";
3950
- }>, z$1.ZodString]>>;
3951
- id: z$1.ZodString;
3952
- order: z$1.ZodNumber;
3953
- }, z$1.core.$strip>>;
3954
- milestoneStatuses: z$1.ZodArray<z$1.ZodObject<{
3955
- label: z$1.ZodString;
3956
- description: z$1.ZodOptional<z$1.ZodString>;
3957
- color: z$1.ZodOptional<z$1.ZodString>;
3958
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3959
- "nav.dashboard": "nav.dashboard";
3960
- "nav.calendar": "nav.calendar";
3961
- "nav.sales": "nav.sales";
3962
- "nav.crm": "nav.crm";
3963
- "nav.lead-gen": "nav.lead-gen";
3964
- "nav.projects": "nav.projects";
3965
- "nav.operations": "nav.operations";
3966
- "nav.monitoring": "nav.monitoring";
3967
- "nav.knowledge": "nav.knowledge";
3968
- "nav.settings": "nav.settings";
3969
- "nav.admin": "nav.admin";
3970
- "nav.archive": "nav.archive";
3971
- "knowledge.playbook": "knowledge.playbook";
3972
- "knowledge.strategy": "knowledge.strategy";
3973
- "knowledge.reference": "knowledge.reference";
3974
- "feature.dashboard": "feature.dashboard";
3975
- "feature.calendar": "feature.calendar";
3976
- "feature.sales": "feature.sales";
3977
- "feature.crm": "feature.crm";
3978
- "feature.finance": "feature.finance";
3979
- "feature.lead-gen": "feature.lead-gen";
3980
- "feature.platform": "feature.platform";
3981
- "feature.projects": "feature.projects";
3982
- "feature.operations": "feature.operations";
3983
- "feature.knowledge": "feature.knowledge";
3984
- "feature.monitoring": "feature.monitoring";
3985
- "feature.settings": "feature.settings";
3986
- "feature.admin": "feature.admin";
3987
- "feature.archive": "feature.archive";
3988
- "feature.seo": "feature.seo";
3989
- "resource.agent": "resource.agent";
3990
- "resource.workflow": "resource.workflow";
3991
- "resource.integration": "resource.integration";
3992
- "resource.database": "resource.database";
3993
- "resource.user": "resource.user";
3994
- "resource.team": "resource.team";
3995
- "integration.gmail": "integration.gmail";
3996
- "integration.google-sheets": "integration.google-sheets";
3997
- "integration.attio": "integration.attio";
3998
- "surface.dashboard": "surface.dashboard";
3999
- "surface.calendar": "surface.calendar";
4000
- "surface.overview": "surface.overview";
4001
- "surface.command-view": "surface.command-view";
4002
- "surface.command-queue": "surface.command-queue";
4003
- "surface.pipeline": "surface.pipeline";
4004
- "surface.lists": "surface.lists";
4005
- "surface.resources": "surface.resources";
4006
- "surface.settings": "surface.settings";
4007
- "status.success": "status.success";
4008
- "status.error": "status.error";
4009
- "status.warning": "status.warning";
4010
- "status.info": "status.info";
4011
- "status.pending": "status.pending";
4012
- "action.approve": "action.approve";
4013
- "action.reject": "action.reject";
4014
- "action.retry": "action.retry";
4015
- "action.edit": "action.edit";
4016
- "action.view": "action.view";
4017
- "action.launch": "action.launch";
4018
- "action.message": "action.message";
4019
- "action.escalate": "action.escalate";
4020
- "action.promote": "action.promote";
4021
- "action.submit": "action.submit";
4022
- "action.email": "action.email";
4023
- }>, z$1.ZodString]>>;
4024
- id: z$1.ZodString;
4025
- order: z$1.ZodNumber;
4026
- }, z$1.core.$strip>>;
4027
- taskStatuses: z$1.ZodArray<z$1.ZodObject<{
4028
- label: z$1.ZodString;
4029
- description: z$1.ZodOptional<z$1.ZodString>;
4030
- color: z$1.ZodOptional<z$1.ZodString>;
4031
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4032
- "nav.dashboard": "nav.dashboard";
4033
- "nav.calendar": "nav.calendar";
4034
- "nav.sales": "nav.sales";
4035
- "nav.crm": "nav.crm";
4036
- "nav.lead-gen": "nav.lead-gen";
4037
- "nav.projects": "nav.projects";
4038
- "nav.operations": "nav.operations";
4039
- "nav.monitoring": "nav.monitoring";
4040
- "nav.knowledge": "nav.knowledge";
4041
- "nav.settings": "nav.settings";
4042
- "nav.admin": "nav.admin";
4043
- "nav.archive": "nav.archive";
4044
- "knowledge.playbook": "knowledge.playbook";
4045
- "knowledge.strategy": "knowledge.strategy";
4046
- "knowledge.reference": "knowledge.reference";
4047
- "feature.dashboard": "feature.dashboard";
4048
- "feature.calendar": "feature.calendar";
4049
- "feature.sales": "feature.sales";
4050
- "feature.crm": "feature.crm";
4051
- "feature.finance": "feature.finance";
4052
- "feature.lead-gen": "feature.lead-gen";
4053
- "feature.platform": "feature.platform";
4054
- "feature.projects": "feature.projects";
4055
- "feature.operations": "feature.operations";
4056
- "feature.knowledge": "feature.knowledge";
4057
- "feature.monitoring": "feature.monitoring";
4058
- "feature.settings": "feature.settings";
4059
- "feature.admin": "feature.admin";
4060
- "feature.archive": "feature.archive";
4061
- "feature.seo": "feature.seo";
4062
- "resource.agent": "resource.agent";
4063
- "resource.workflow": "resource.workflow";
4064
- "resource.integration": "resource.integration";
4065
- "resource.database": "resource.database";
4066
- "resource.user": "resource.user";
4067
- "resource.team": "resource.team";
4068
- "integration.gmail": "integration.gmail";
4069
- "integration.google-sheets": "integration.google-sheets";
4070
- "integration.attio": "integration.attio";
4071
- "surface.dashboard": "surface.dashboard";
4072
- "surface.calendar": "surface.calendar";
4073
- "surface.overview": "surface.overview";
4074
- "surface.command-view": "surface.command-view";
4075
- "surface.command-queue": "surface.command-queue";
4076
- "surface.pipeline": "surface.pipeline";
4077
- "surface.lists": "surface.lists";
4078
- "surface.resources": "surface.resources";
4079
- "surface.settings": "surface.settings";
4080
- "status.success": "status.success";
4081
- "status.error": "status.error";
4082
- "status.warning": "status.warning";
4083
- "status.info": "status.info";
4084
- "status.pending": "status.pending";
4085
- "action.approve": "action.approve";
4086
- "action.reject": "action.reject";
4087
- "action.retry": "action.retry";
4088
- "action.edit": "action.edit";
4089
- "action.view": "action.view";
4090
- "action.launch": "action.launch";
4091
- "action.message": "action.message";
4092
- "action.escalate": "action.escalate";
4093
- "action.promote": "action.promote";
4094
- "action.submit": "action.submit";
4095
- "action.email": "action.email";
4096
- }>, z$1.ZodString]>>;
4097
- id: z$1.ZodString;
4098
- order: z$1.ZodNumber;
4099
- }, z$1.core.$strip>>;
4100
- }, z$1.core.$strip>;
4101
- identity: z$1.ZodDefault<z$1.ZodObject<{
4102
- mission: z$1.ZodDefault<z$1.ZodString>;
4103
- vision: z$1.ZodDefault<z$1.ZodString>;
4104
- legalName: z$1.ZodDefault<z$1.ZodString>;
4105
- entityType: z$1.ZodDefault<z$1.ZodString>;
4106
- jurisdiction: z$1.ZodDefault<z$1.ZodString>;
4107
- industryCategory: z$1.ZodDefault<z$1.ZodString>;
4108
- geographicFocus: z$1.ZodDefault<z$1.ZodString>;
4109
- timeZone: z$1.ZodDefault<z$1.ZodString>;
4110
- businessHours: z$1.ZodDefault<z$1.ZodObject<{
4111
- monday: z$1.ZodOptional<z$1.ZodObject<{
4112
- open: z$1.ZodString;
4113
- close: z$1.ZodString;
4114
- }, z$1.core.$strip>>;
4115
- tuesday: z$1.ZodOptional<z$1.ZodObject<{
4116
- open: z$1.ZodString;
4117
- close: z$1.ZodString;
4118
- }, z$1.core.$strip>>;
4119
- wednesday: z$1.ZodOptional<z$1.ZodObject<{
4120
- open: z$1.ZodString;
4121
- close: z$1.ZodString;
4122
- }, z$1.core.$strip>>;
4123
- thursday: z$1.ZodOptional<z$1.ZodObject<{
4124
- open: z$1.ZodString;
4125
- close: z$1.ZodString;
4126
- }, z$1.core.$strip>>;
4127
- friday: z$1.ZodOptional<z$1.ZodObject<{
4128
- open: z$1.ZodString;
4129
- close: z$1.ZodString;
4130
- }, z$1.core.$strip>>;
4131
- saturday: z$1.ZodOptional<z$1.ZodObject<{
4132
- open: z$1.ZodString;
4133
- close: z$1.ZodString;
4134
- }, z$1.core.$strip>>;
4135
- sunday: z$1.ZodOptional<z$1.ZodObject<{
4136
- open: z$1.ZodString;
4137
- close: z$1.ZodString;
4138
- }, z$1.core.$strip>>;
4139
- }, z$1.core.$strip>>;
4140
- clientBrief: z$1.ZodDefault<z$1.ZodString>;
4141
- }, z$1.core.$strip>>;
4142
- customers: z$1.ZodDefault<z$1.ZodObject<{
4143
- segments: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4144
- id: z$1.ZodString;
4145
- name: z$1.ZodDefault<z$1.ZodString>;
4146
- description: z$1.ZodDefault<z$1.ZodString>;
4147
- jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
4148
- pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4149
- gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4150
- firmographics: z$1.ZodDefault<z$1.ZodObject<{
4151
- industry: z$1.ZodOptional<z$1.ZodString>;
4152
- companySize: z$1.ZodOptional<z$1.ZodString>;
4153
- region: z$1.ZodOptional<z$1.ZodString>;
4154
- }, z$1.core.$strip>>;
4155
- valueProp: z$1.ZodDefault<z$1.ZodString>;
4156
- }, z$1.core.$strip>>>;
4157
- }, z$1.core.$strip>>;
4158
- offerings: z$1.ZodDefault<z$1.ZodObject<{
4159
- products: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4160
- id: z$1.ZodString;
4161
- name: z$1.ZodDefault<z$1.ZodString>;
4162
- description: z$1.ZodDefault<z$1.ZodString>;
4163
- pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
4164
- custom: "custom";
4165
- "one-time": "one-time";
4166
- subscription: "subscription";
4167
- "usage-based": "usage-based";
4168
- }>>;
4169
- price: z$1.ZodDefault<z$1.ZodNumber>;
4170
- currency: z$1.ZodDefault<z$1.ZodString>;
4171
- targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4172
- deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
4173
- }, z$1.core.$strip>>>;
4174
- }, z$1.core.$strip>>;
4175
- roles: z$1.ZodDefault<z$1.ZodObject<{
4176
- roles: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4177
- id: z$1.ZodString;
4178
- title: z$1.ZodString;
4179
- responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4180
- reportsToId: z$1.ZodOptional<z$1.ZodString>;
4181
- heldBy: z$1.ZodOptional<z$1.ZodString>;
4182
- }, z$1.core.$strip>>>;
4183
- }, z$1.core.$strip>>;
4184
- goals: z$1.ZodDefault<z$1.ZodObject<{
4185
- objectives: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4186
- id: z$1.ZodString;
4187
- description: z$1.ZodString;
4188
- periodStart: z$1.ZodString;
4189
- periodEnd: z$1.ZodString;
4190
- keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4191
4028
  id: z$1.ZodString;
4192
- description: z$1.ZodString;
4193
- targetMetric: z$1.ZodString;
4194
- currentValue: z$1.ZodDefault<z$1.ZodNumber>;
4195
- targetValue: z$1.ZodOptional<z$1.ZodNumber>;
4196
- }, z$1.core.$strip>>>;
4197
- }, z$1.core.$strip>>>;
4198
- }, z$1.core.$strip>>;
4199
- statuses: z$1.ZodDefault<z$1.ZodObject<{
4200
- entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4201
- id: z$1.ZodString;
4202
- label: z$1.ZodString;
4203
- semanticClass: z$1.ZodEnum<{
4204
- "delivery.project": "delivery.project";
4205
- "delivery.milestone": "delivery.milestone";
4206
- "delivery.task": "delivery.task";
4207
- queue: "queue";
4208
- execution: "execution";
4209
- schedule: "schedule";
4210
- "schedule.run": "schedule.run";
4211
- request: "request";
4212
- }>;
4213
- category: z$1.ZodOptional<z$1.ZodString>;
4214
- }, z$1.core.$strip>>>;
4215
- }, z$1.core.$strip>>;
4216
- operations: z$1.ZodDefault<z$1.ZodObject<{
4217
- entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4218
- id: z$1.ZodString;
4219
- label: z$1.ZodString;
4220
- semanticClass: z$1.ZodEnum<{
4221
- queue: "queue";
4222
- executions: "executions";
4223
- sessions: "sessions";
4224
- notifications: "notifications";
4225
- schedules: "schedules";
4226
- }>;
4227
- featureId: z$1.ZodOptional<z$1.ZodString>;
4228
- supportedStatusSemanticClass: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4229
- }, z$1.core.$strip>>>;
4230
- }, z$1.core.$strip>>;
4231
- knowledge: z$1.ZodDefault<z$1.ZodObject<{
4232
- nodes: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4233
- id: z$1.ZodString;
4234
- kind: z$1.ZodEnum<{
4235
- playbook: "playbook";
4236
- strategy: "strategy";
4237
- reference: "reference";
4238
- }>;
4239
- title: z$1.ZodString;
4240
- summary: z$1.ZodString;
4241
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4242
- "nav.dashboard": "nav.dashboard";
4243
- "nav.calendar": "nav.calendar";
4244
- "nav.sales": "nav.sales";
4245
- "nav.crm": "nav.crm";
4246
- "nav.lead-gen": "nav.lead-gen";
4247
- "nav.projects": "nav.projects";
4248
- "nav.operations": "nav.operations";
4249
- "nav.monitoring": "nav.monitoring";
4250
- "nav.knowledge": "nav.knowledge";
4251
- "nav.settings": "nav.settings";
4252
- "nav.admin": "nav.admin";
4253
- "nav.archive": "nav.archive";
4254
- "knowledge.playbook": "knowledge.playbook";
4255
- "knowledge.strategy": "knowledge.strategy";
4256
- "knowledge.reference": "knowledge.reference";
4257
- "feature.dashboard": "feature.dashboard";
4258
- "feature.calendar": "feature.calendar";
4259
- "feature.sales": "feature.sales";
4260
- "feature.crm": "feature.crm";
4261
- "feature.finance": "feature.finance";
4262
- "feature.lead-gen": "feature.lead-gen";
4263
- "feature.platform": "feature.platform";
4264
- "feature.projects": "feature.projects";
4265
- "feature.operations": "feature.operations";
4266
- "feature.knowledge": "feature.knowledge";
4267
- "feature.monitoring": "feature.monitoring";
4268
- "feature.settings": "feature.settings";
4269
- "feature.admin": "feature.admin";
4270
- "feature.archive": "feature.archive";
4271
- "feature.seo": "feature.seo";
4272
- "resource.agent": "resource.agent";
4273
- "resource.workflow": "resource.workflow";
4274
- "resource.integration": "resource.integration";
4275
- "resource.database": "resource.database";
4276
- "resource.user": "resource.user";
4277
- "resource.team": "resource.team";
4278
- "integration.gmail": "integration.gmail";
4279
- "integration.google-sheets": "integration.google-sheets";
4280
- "integration.attio": "integration.attio";
4281
- "surface.dashboard": "surface.dashboard";
4282
- "surface.calendar": "surface.calendar";
4283
- "surface.overview": "surface.overview";
4284
- "surface.command-view": "surface.command-view";
4285
- "surface.command-queue": "surface.command-queue";
4286
- "surface.pipeline": "surface.pipeline";
4287
- "surface.lists": "surface.lists";
4288
- "surface.resources": "surface.resources";
4289
- "surface.settings": "surface.settings";
4290
- "status.success": "status.success";
4291
- "status.error": "status.error";
4292
- "status.warning": "status.warning";
4293
- "status.info": "status.info";
4294
- "status.pending": "status.pending";
4295
- "action.approve": "action.approve";
4296
- "action.reject": "action.reject";
4297
- "action.retry": "action.retry";
4298
- "action.edit": "action.edit";
4299
- "action.view": "action.view";
4300
- "action.launch": "action.launch";
4301
- "action.message": "action.message";
4302
- "action.escalate": "action.escalate";
4303
- "action.promote": "action.promote";
4304
- "action.submit": "action.submit";
4305
- "action.email": "action.email";
4306
- }>, z$1.ZodString]>>;
4307
- body: z$1.ZodString;
4308
- links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4309
- nodeId: z$1.ZodString;
4310
- }, z$1.core.$strip>>>;
4311
- skills: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4312
- domain: z$1.ZodOptional<z$1.ZodString>;
4313
- ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4314
- updatedAt: z$1.ZodString;
4315
- }, z$1.core.$strip>>>;
4316
- }, z$1.core.$strip>>;
4029
+ }, z$1.core.$strip>;
4030
+ }, z$1.core.$strip>, z$1.ZodObject<{
4031
+ nodeId: z$1.ZodString;
4032
+ }, z$1.core.$strip>]>, z$1.ZodTransform<{
4033
+ target: {
4034
+ kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
4035
+ id: string;
4036
+ };
4037
+ nodeId: string;
4038
+ }, {
4039
+ nodeId: string;
4040
+ } | {
4041
+ target: {
4042
+ kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
4043
+ id: string;
4044
+ };
4045
+ }>>>>;
4046
+ ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4047
+ updatedAt: z$1.ZodString;
4048
+ }, z$1.core.$strip>>>>;
4317
4049
  }, z$1.core.$strip>;
4318
4050
 
4319
4051
  type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4320
- type OrganizationModelFeature = z$1.infer<typeof FeatureSchema>;
4052
+ type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
4321
4053
 
4322
4054
  /**
4323
4055
  * All valid dotted paths into T.
@@ -4377,11 +4109,11 @@ interface StepConfigLayout<T> {
4377
4109
 
4378
4110
  type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
4379
4111
  type LeadGenStageKey = string;
4380
- type LeadGenCapabilityKey = string;
4112
+ type LeadGenActionKey = string;
4381
4113
  interface ListBuilderWorkflow {
4382
4114
  resourceId: string;
4383
4115
  workflowId?: string;
4384
- capabilityKey?: LeadGenCapabilityKey;
4116
+ actionKey?: LeadGenActionKey;
4385
4117
  label: string;
4386
4118
  description: string;
4387
4119
  category: ListBuilderWorkflowCategory;
@@ -4655,76 +4387,96 @@ interface SSEConnectionManagerLike {
4655
4387
  type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
4656
4388
  knowledge?: OrganizationModel['knowledge'];
4657
4389
  };
4658
- type FeatureSidebarComponent = ComponentType;
4659
- type FeatureIconComponent = ComponentType<{
4390
+ type SystemSidebarComponent = ComponentType;
4391
+ type SystemIconComponent = ComponentType<{
4660
4392
  size?: number;
4661
4393
  stroke?: number;
4662
4394
  }>;
4663
- type FeatureSidebarWidthResolver = number | ((context: {
4395
+ type SystemSidebarWidthResolver = number | ((context: {
4664
4396
  currentPath: string;
4665
4397
  }) => number);
4666
- interface FeatureModule {
4667
- /** Unique stable identifier for this feature module. */
4398
+ interface SystemModule {
4399
+ /** Unique stable identifier for this UI system module. */
4668
4400
  key: string;
4669
- /** Organization Model feature id this module presents. */
4670
- featureId: string;
4671
- /** Capability identifiers contributed by this feature module. */
4401
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
4402
+ systemId?: string;
4403
+ /** Route prefixes owned by navigation-only app surfaces. */
4404
+ routePrefixes?: string[];
4405
+ /** Capability identifiers contributed by this system module. */
4672
4406
  capabilityIds?: string[];
4673
- /** Icon used when this feature node appears in shell navigation. */
4674
- icon?: FeatureIconComponent;
4675
- /** Sidebar component rendered when this feature's subtree route is active. */
4676
- sidebar?: FeatureSidebarComponent;
4407
+ /** Icon used when this system node appears in shell navigation. */
4408
+ icon?: SystemIconComponent;
4409
+ /** Sidebar component rendered when this system's subtree route is active. */
4410
+ sidebar?: SystemSidebarComponent;
4677
4411
  /** Optional shell sidebar width override. Defaults to 250px. */
4678
- sidebarWidth?: FeatureSidebarWidthResolver;
4679
- /** Operations-only bridge connecting this feature to the organization graph node. */
4680
- organizationGraph?: OrganizationGraphFeatureBridge;
4412
+ sidebarWidth?: SystemSidebarWidthResolver;
4413
+ /** Operations-only bridge connecting this system to the organization graph node. */
4414
+ organizationGraph?: OrganizationGraphSystemBridge;
4681
4415
  }
4682
- interface ResolvedFeatureAccess {
4683
- featureId: string;
4416
+ interface ResolvedSystemAccess {
4417
+ featureKey: string;
4418
+ systemId?: string;
4684
4419
  enabled: boolean;
4685
4420
  }
4686
- interface ResolvedFeatureSemantics {
4421
+ interface ResolvedSystemSemantics {
4687
4422
  capabilityIds: string[];
4688
4423
  }
4689
- interface ResolvedFeatureModule extends FeatureModule {
4690
- access: ResolvedFeatureAccess;
4691
- semantics: ResolvedFeatureSemantics;
4692
- }
4693
- interface ResolvedShellFeature extends OrganizationModelFeature {
4694
- iconComponent?: FeatureIconComponent;
4424
+ interface ResolvedSystemModule extends SystemModule {
4425
+ access: ResolvedSystemAccess;
4426
+ semantics: ResolvedSystemSemantics;
4695
4427
  }
4428
+ type ResolvedShellSystem = OrganizationModelSystemEntry & {
4429
+ label: string;
4430
+ iconComponent?: SystemIconComponent;
4431
+ };
4696
4432
  interface ResolvedShellModel {
4697
- features: readonly ResolvedShellFeature[];
4698
- findByPath: (path: string) => ResolvedShellFeature | undefined;
4699
- findById: (id: string) => ResolvedShellFeature | undefined;
4700
- childrenOf: (id: string) => ResolvedShellFeature[];
4701
- ancestorsOf: (id: string) => ResolvedShellFeature[];
4702
- parentOf: (id: string) => ResolvedShellFeature | undefined;
4703
- topLevel: () => ResolvedShellFeature[];
4704
- uiPositionFor: (id: string) => OrganizationModelFeature['uiPosition'] | undefined;
4433
+ systems: readonly ResolvedShellSystem[];
4434
+ findByPath: (path: string) => ResolvedShellSystem | undefined;
4435
+ findById: (id: string) => ResolvedShellSystem | undefined;
4436
+ childrenOf: (id: string) => ResolvedShellSystem[];
4437
+ ancestorsOf: (id: string) => ResolvedShellSystem[];
4438
+ parentOf: (id: string) => ResolvedShellSystem | undefined;
4439
+ topLevel: () => ResolvedShellSystem[];
4705
4440
  requiresAdminFor: (id: string) => boolean;
4706
4441
  devOnlyFor: (id: string) => boolean;
4707
4442
  }
4443
+ interface ShellSidebarLinkItem {
4444
+ label: string;
4445
+ link: string;
4446
+ exact?: boolean;
4447
+ activeMatchPaths?: string[];
4448
+ }
4449
+ interface ShellSidebarLinkGroup {
4450
+ icon: SystemIconComponent;
4451
+ label: string;
4452
+ links?: ShellSidebarLinkItem[];
4453
+ link?: string;
4454
+ }
4455
+ interface ShellSidebarProjectionOptions {
4456
+ isPlatformAdmin?: boolean;
4457
+ isDev?: boolean;
4458
+ section?: 'primary' | 'bottom';
4459
+ }
4708
4460
  type ShellRouteMatchStatus = 'matched' | 'hidden' | 'unmatched';
4709
4461
  interface ResolvedShellRouteMatch {
4710
4462
  status: ShellRouteMatchStatus;
4711
4463
  path: string;
4712
- feature?: ResolvedFeatureModule;
4713
- node?: ResolvedShellFeature;
4464
+ system?: ResolvedSystemModule;
4465
+ node?: ResolvedShellSystem;
4714
4466
  }
4715
4467
  interface ShellRuntime {
4716
4468
  resolveRoute: (path: string) => ResolvedShellRouteMatch;
4717
4469
  }
4718
- interface OrganizationGraphFeatureBridge {
4719
- featureId: string;
4470
+ interface OrganizationGraphSystemBridge {
4471
+ systemId?: string;
4720
4472
  }
4721
4473
  interface OrganizationGraphContextValue {
4722
4474
  available: boolean;
4723
- featureId?: string;
4724
- featurePath?: string;
4475
+ systemId?: string;
4476
+ systemPath?: string;
4725
4477
  }
4726
- interface ElevasisFeaturesProviderProps {
4727
- features: FeatureModule[];
4478
+ interface ElevasisSystemsProviderProps {
4479
+ systems?: SystemModule[];
4728
4480
  organizationModel?: ElevasisOrganizationModel;
4729
4481
  timeRange?: TimeRange;
4730
4482
  operationsApiUrl?: string;
@@ -4734,11 +4486,12 @@ interface ElevasisFeaturesProviderProps {
4734
4486
  disabledSubsectionPaths?: string[];
4735
4487
  children: ReactNode;
4736
4488
  }
4737
- interface ElevasisFeaturesContextValue {
4489
+ interface ElevasisSystemsContextValue {
4738
4490
  shellModel: ResolvedShellModel;
4739
4491
  shellRuntime: ShellRuntime;
4740
- enabledResolvedFeatures: ResolvedFeatureModule[];
4741
- resolvedFeatures: ResolvedFeatureModule[];
4492
+ getSidebarLinks: (options?: ShellSidebarProjectionOptions) => ShellSidebarLinkGroup[];
4493
+ enabledResolvedSystems: ResolvedSystemModule[];
4494
+ resolvedSystems: ResolvedSystemModule[];
4742
4495
  organizationGraph: OrganizationGraphContextValue;
4743
4496
  organizationModel?: OrganizationModel;
4744
4497
  timeRange?: TimeRange;
@@ -4747,15 +4500,15 @@ interface ElevasisFeaturesContextValue {
4747
4500
  deliveryApiUrl?: string;
4748
4501
  deliverySSEManager?: SSEConnectionManagerLike;
4749
4502
  disabledSubsectionPaths: string[];
4750
- isFeatureEnabled: (key: string) => boolean;
4751
- getResolvedFeature: (key: string) => ResolvedFeatureModule | undefined;
4503
+ isSystemEnabled: (key: string) => boolean;
4504
+ getResolvedSystem: (key: string) => ResolvedSystemModule | undefined;
4752
4505
  }
4753
4506
 
4754
- declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
4755
- declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
4756
- declare function ElevasisFeaturesProvider({ features, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
4507
+ declare function useElevasisSystems(): ElevasisSystemsContextValue;
4508
+ declare function useOptionalElevasisSystems(): ElevasisSystemsContextValue | null;
4509
+ declare function ElevasisSystemsProvider({ systems, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisSystemsProviderProps): react_jsx_runtime.JSX.Element;
4757
4510
 
4758
- declare function FeatureShell({ children }: {
4511
+ declare function SystemShell({ children }: {
4759
4512
  children: ReactNode;
4760
4513
  }): react_jsx_runtime.JSX.Element;
4761
4514
 
@@ -4825,13 +4578,13 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
4825
4578
  }
4826
4579
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
4827
4580
 
4828
- interface CreateTestFeaturesProviderOptions {
4581
+ interface CreateTestSystemsProviderOptions {
4829
4582
  organizationModel?: OrganizationModel;
4830
- features?: FeatureModule[];
4583
+ systems?: SystemModule[];
4831
4584
  }
4832
- declare function createTestFeaturesProvider({ organizationModel, features }?: CreateTestFeaturesProviderOptions): ({ children }: {
4585
+ declare function createTestSystemsProvider({ organizationModel, systems }?: CreateTestSystemsProviderOptions): ({ children }: {
4833
4586
  children: ReactNode;
4834
4587
  }) => react_jsx_runtime.JSX.Element;
4835
4588
 
4836
- export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, ListActionsProvider, NotificationProvider, createTestFeaturesProvider, useAppearance, useCrmActions, useElevasisFeatures, useElevasisServices, useListActions, useNotificationAdapter, useOptionalElevasisFeatures };
4837
- export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
4589
+ export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems };
4590
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestSystemsProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, PresetName, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, WithSchemes };