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