@elevasis/ui 2.21.0 → 2.23.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 (81) hide show
  1. package/dist/app/index.js +2 -2
  2. package/dist/{chunk-DMYELNGA.js → chunk-3HEUGBOT.js} +1 -1
  3. package/dist/{chunk-EGKNRM6P.js → chunk-7PGEGSUM.js} +2 -2
  4. package/dist/{chunk-KVW56ERD.js → chunk-AXXTN44Z.js} +5 -3
  5. package/dist/{chunk-I5WRKH25.js → chunk-D3KQAABP.js} +1 -1
  6. package/dist/{chunk-S7RL77QS.js → chunk-DDZOHLHB.js} +1 -1
  7. package/dist/{chunk-EDX6WIN3.js → chunk-EPV7NU2E.js} +24 -10
  8. package/dist/{chunk-ATEHYDL3.js → chunk-FXWETLEB.js} +6 -2
  9. package/dist/{chunk-7GG6OSD7.js → chunk-GUJUK6EH.js} +2830 -2381
  10. package/dist/{chunk-GBMNCNHX.js → chunk-KVJ3LFH2.js} +3 -1
  11. package/dist/{chunk-VQESMHQV.js → chunk-LJWV4TWV.js} +1 -2
  12. package/dist/{chunk-BJWIKEQG.js → chunk-N6WLOWOD.js} +6 -14
  13. package/dist/{chunk-XLZZOFGM.js → chunk-PTUOINQ2.js} +275 -76
  14. package/dist/{chunk-CZK67OHH.js → chunk-PXGSJNBH.js} +3 -3
  15. package/dist/{chunk-TIIPYB2Z.js → chunk-QZJM3RYI.js} +1 -1
  16. package/dist/{chunk-7YQKVWSD.js → chunk-SQ5JGELM.js} +25 -5
  17. package/dist/{chunk-RX4UWZZR.js → chunk-TKAYX2SP.js} +8 -3
  18. package/dist/{chunk-Q5HC6ENG.js → chunk-XOTJNW4Q.js} +1 -1
  19. package/dist/{chunk-LQU62KHD.js → chunk-YU6MBDVO.js} +1993 -870
  20. package/dist/{chunk-ULZ2B3NC.js → chunk-ZBCTB5CA.js} +1 -1
  21. package/dist/components/index.css +85 -85
  22. package/dist/components/index.d.ts +1651 -1388
  23. package/dist/components/index.js +253 -40
  24. package/dist/components/navigation/index.css +589 -0
  25. package/dist/components/navigation/index.js +3 -3
  26. package/dist/features/auth/index.css +2 -2
  27. package/dist/features/auth/index.d.ts +188 -10
  28. package/dist/features/crm/index.css +2 -2
  29. package/dist/features/crm/index.d.ts +193 -10
  30. package/dist/features/crm/index.js +10 -10
  31. package/dist/features/dashboard/index.css +2 -2
  32. package/dist/features/dashboard/index.js +9 -9
  33. package/dist/features/delivery/index.css +85 -85
  34. package/dist/features/delivery/index.d.ts +193 -10
  35. package/dist/features/delivery/index.js +10 -10
  36. package/dist/features/lead-gen/index.css +2 -2
  37. package/dist/features/lead-gen/index.d.ts +5 -0
  38. package/dist/features/lead-gen/index.js +10 -10
  39. package/dist/features/monitoring/index.css +85 -85
  40. package/dist/features/monitoring/index.d.ts +6 -1
  41. package/dist/features/monitoring/index.js +11 -11
  42. package/dist/features/monitoring/requests/index.css +2 -2
  43. package/dist/features/monitoring/requests/index.d.ts +5 -0
  44. package/dist/features/monitoring/requests/index.js +9 -9
  45. package/dist/features/operations/index.css +2 -2
  46. package/dist/features/operations/index.d.ts +7 -4
  47. package/dist/features/operations/index.js +12 -12
  48. package/dist/features/seo/index.d.ts +5 -0
  49. package/dist/features/settings/index.css +2 -2
  50. package/dist/features/settings/index.d.ts +214 -16
  51. package/dist/features/settings/index.js +11 -11
  52. package/dist/graph/index.css +2 -2
  53. package/dist/hooks/delivery/index.css +2 -2
  54. package/dist/hooks/delivery/index.d.ts +188 -10
  55. package/dist/hooks/index.css +85 -85
  56. package/dist/hooks/index.d.ts +1843 -1538
  57. package/dist/hooks/index.js +8 -8
  58. package/dist/hooks/published.css +85 -85
  59. package/dist/hooks/published.d.ts +1843 -1538
  60. package/dist/hooks/published.js +8 -8
  61. package/dist/index.css +12 -12
  62. package/dist/index.d.ts +346 -35
  63. package/dist/index.js +9 -9
  64. package/dist/initialization/index.d.ts +188 -10
  65. package/dist/layout/index.js +2 -2
  66. package/dist/organization/index.css +589 -0
  67. package/dist/organization/index.js +1 -1
  68. package/dist/profile/index.d.ts +188 -10
  69. package/dist/provider/index.css +384 -0
  70. package/dist/provider/index.d.ts +6 -0
  71. package/dist/provider/index.js +7 -7
  72. package/dist/provider/published.css +463 -0
  73. package/dist/provider/published.d.ts +6 -0
  74. package/dist/provider/published.js +4 -4
  75. package/dist/supabase/index.d.ts +367 -20
  76. package/dist/test-utils/index.d.ts +46 -2
  77. package/dist/test-utils/index.js +102 -1
  78. package/dist/theme/index.js +2 -2
  79. package/dist/types/index.d.ts +199 -13
  80. package/package.json +4 -4
  81. /package/dist/{chunk-6GUW5GGF.js → chunk-6Z3G4U2R.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1311,7 +1311,6 @@ type Database = {
1311
1311
  acq_deals: {
1312
1312
  Row: {
1313
1313
  activity_log: Json;
1314
- cached_stage: string | null;
1315
1314
  closed_lost_at: string | null;
1316
1315
  closed_lost_reason: string | null;
1317
1316
  contact_email: string;
@@ -1326,6 +1325,7 @@ type Database = {
1326
1325
  organization_id: string;
1327
1326
  payment_link_sent_at: string | null;
1328
1327
  payment_received_at: string | null;
1328
+ pipeline_key: string;
1329
1329
  proposal_data: Json | null;
1330
1330
  proposal_generated_at: string | null;
1331
1331
  proposal_pdf_url: string | null;
@@ -1333,10 +1333,11 @@ type Database = {
1333
1333
  proposal_reviewed_by: string | null;
1334
1334
  proposal_sent_at: string | null;
1335
1335
  proposal_signed_at: string | null;
1336
- proposal_status: string | null;
1337
1336
  signature_envelope_id: string | null;
1338
1337
  source_list_id: string | null;
1339
1338
  source_type: string | null;
1339
+ stage_key: string | null;
1340
+ state_key: string | null;
1340
1341
  stripe_payment_id: string | null;
1341
1342
  stripe_payment_link: string | null;
1342
1343
  stripe_payment_link_id: string | null;
@@ -1345,7 +1346,6 @@ type Database = {
1345
1346
  };
1346
1347
  Insert: {
1347
1348
  activity_log?: Json;
1348
- cached_stage?: string | null;
1349
1349
  closed_lost_at?: string | null;
1350
1350
  closed_lost_reason?: string | null;
1351
1351
  contact_email: string;
@@ -1360,6 +1360,7 @@ type Database = {
1360
1360
  organization_id: string;
1361
1361
  payment_link_sent_at?: string | null;
1362
1362
  payment_received_at?: string | null;
1363
+ pipeline_key?: string;
1363
1364
  proposal_data?: Json | null;
1364
1365
  proposal_generated_at?: string | null;
1365
1366
  proposal_pdf_url?: string | null;
@@ -1367,10 +1368,11 @@ type Database = {
1367
1368
  proposal_reviewed_by?: string | null;
1368
1369
  proposal_sent_at?: string | null;
1369
1370
  proposal_signed_at?: string | null;
1370
- proposal_status?: string | null;
1371
1371
  signature_envelope_id?: string | null;
1372
1372
  source_list_id?: string | null;
1373
1373
  source_type?: string | null;
1374
+ stage_key?: string | null;
1375
+ state_key?: string | null;
1374
1376
  stripe_payment_id?: string | null;
1375
1377
  stripe_payment_link?: string | null;
1376
1378
  stripe_payment_link_id?: string | null;
@@ -1379,7 +1381,6 @@ type Database = {
1379
1381
  };
1380
1382
  Update: {
1381
1383
  activity_log?: Json;
1382
- cached_stage?: string | null;
1383
1384
  closed_lost_at?: string | null;
1384
1385
  closed_lost_reason?: string | null;
1385
1386
  contact_email?: string;
@@ -1394,6 +1395,7 @@ type Database = {
1394
1395
  organization_id?: string;
1395
1396
  payment_link_sent_at?: string | null;
1396
1397
  payment_received_at?: string | null;
1398
+ pipeline_key?: string;
1397
1399
  proposal_data?: Json | null;
1398
1400
  proposal_generated_at?: string | null;
1399
1401
  proposal_pdf_url?: string | null;
@@ -1401,10 +1403,11 @@ type Database = {
1401
1403
  proposal_reviewed_by?: string | null;
1402
1404
  proposal_sent_at?: string | null;
1403
1405
  proposal_signed_at?: string | null;
1404
- proposal_status?: string | null;
1405
1406
  signature_envelope_id?: string | null;
1406
1407
  source_list_id?: string | null;
1407
1408
  source_type?: string | null;
1409
+ stage_key?: string | null;
1410
+ state_key?: string | null;
1408
1411
  stripe_payment_id?: string | null;
1409
1412
  stripe_payment_link?: string | null;
1410
1413
  stripe_payment_link_id?: string | null;
@@ -2573,6 +2576,7 @@ type Database = {
2573
2576
  Row: {
2574
2577
  config: Json;
2575
2578
  created_at: string | null;
2579
+ effective_permissions: string[];
2576
2580
  id: string;
2577
2581
  membership_status: string | null;
2578
2582
  organization_id: string;
@@ -2584,6 +2588,7 @@ type Database = {
2584
2588
  Insert: {
2585
2589
  config?: Json;
2586
2590
  created_at?: string | null;
2591
+ effective_permissions?: string[];
2587
2592
  id?: string;
2588
2593
  membership_status?: string | null;
2589
2594
  organization_id: string;
@@ -2595,6 +2600,7 @@ type Database = {
2595
2600
  Update: {
2596
2601
  config?: Json;
2597
2602
  created_at?: string | null;
2603
+ effective_permissions?: string[];
2598
2604
  id?: string;
2599
2605
  membership_status?: string | null;
2600
2606
  organization_id?: string;
@@ -2620,6 +2626,147 @@ type Database = {
2620
2626
  }
2621
2627
  ];
2622
2628
  };
2629
+ org_rol_assignments: {
2630
+ Row: {
2631
+ granted_at: string;
2632
+ granted_by: string | null;
2633
+ membership_id: string;
2634
+ role_id: string;
2635
+ };
2636
+ Insert: {
2637
+ granted_at?: string;
2638
+ granted_by?: string | null;
2639
+ membership_id: string;
2640
+ role_id: string;
2641
+ };
2642
+ Update: {
2643
+ granted_at?: string;
2644
+ granted_by?: string | null;
2645
+ membership_id?: string;
2646
+ role_id?: string;
2647
+ };
2648
+ Relationships: [
2649
+ {
2650
+ foreignKeyName: "org_rol_assignments_granted_by_fkey";
2651
+ columns: ["granted_by"];
2652
+ isOneToOne: false;
2653
+ referencedRelation: "users";
2654
+ referencedColumns: ["id"];
2655
+ },
2656
+ {
2657
+ foreignKeyName: "org_rol_assignments_membership_id_fkey";
2658
+ columns: ["membership_id"];
2659
+ isOneToOne: false;
2660
+ referencedRelation: "org_memberships";
2661
+ referencedColumns: ["id"];
2662
+ },
2663
+ {
2664
+ foreignKeyName: "org_rol_assignments_role_id_fkey";
2665
+ columns: ["role_id"];
2666
+ isOneToOne: false;
2667
+ referencedRelation: "org_rol_definitions";
2668
+ referencedColumns: ["id"];
2669
+ }
2670
+ ];
2671
+ };
2672
+ org_rol_definitions: {
2673
+ Row: {
2674
+ created_at: string;
2675
+ description: string | null;
2676
+ id: string;
2677
+ is_system: boolean;
2678
+ name: string;
2679
+ organization_id: string | null;
2680
+ slug: string;
2681
+ updated_at: string;
2682
+ };
2683
+ Insert: {
2684
+ created_at?: string;
2685
+ description?: string | null;
2686
+ id?: string;
2687
+ is_system?: boolean;
2688
+ name: string;
2689
+ organization_id?: string | null;
2690
+ slug: string;
2691
+ updated_at?: string;
2692
+ };
2693
+ Update: {
2694
+ created_at?: string;
2695
+ description?: string | null;
2696
+ id?: string;
2697
+ is_system?: boolean;
2698
+ name?: string;
2699
+ organization_id?: string | null;
2700
+ slug?: string;
2701
+ updated_at?: string;
2702
+ };
2703
+ Relationships: [
2704
+ {
2705
+ foreignKeyName: "org_rol_definitions_organization_id_fkey";
2706
+ columns: ["organization_id"];
2707
+ isOneToOne: false;
2708
+ referencedRelation: "organizations";
2709
+ referencedColumns: ["id"];
2710
+ }
2711
+ ];
2712
+ };
2713
+ org_rol_grants: {
2714
+ Row: {
2715
+ granted_at: string;
2716
+ permission_key: string;
2717
+ role_id: string;
2718
+ };
2719
+ Insert: {
2720
+ granted_at?: string;
2721
+ permission_key: string;
2722
+ role_id: string;
2723
+ };
2724
+ Update: {
2725
+ granted_at?: string;
2726
+ permission_key?: string;
2727
+ role_id?: string;
2728
+ };
2729
+ Relationships: [
2730
+ {
2731
+ foreignKeyName: "org_rol_grants_permission_key_fkey";
2732
+ columns: ["permission_key"];
2733
+ isOneToOne: false;
2734
+ referencedRelation: "org_rol_permissions";
2735
+ referencedColumns: ["key"];
2736
+ },
2737
+ {
2738
+ foreignKeyName: "org_rol_grants_role_id_fkey";
2739
+ columns: ["role_id"];
2740
+ isOneToOne: false;
2741
+ referencedRelation: "org_rol_definitions";
2742
+ referencedColumns: ["id"];
2743
+ }
2744
+ ];
2745
+ };
2746
+ org_rol_permissions: {
2747
+ Row: {
2748
+ created_at: string;
2749
+ description: string;
2750
+ is_org_grantable: boolean;
2751
+ key: string;
2752
+ updated_at: string;
2753
+ };
2754
+ Insert: {
2755
+ created_at?: string;
2756
+ description: string;
2757
+ is_org_grantable?: boolean;
2758
+ key: string;
2759
+ updated_at?: string;
2760
+ };
2761
+ Update: {
2762
+ created_at?: string;
2763
+ description?: string;
2764
+ is_org_grantable?: boolean;
2765
+ key?: string;
2766
+ updated_at?: string;
2767
+ };
2768
+ Relationships: [];
2769
+ };
2623
2770
  organizations: {
2624
2771
  Row: {
2625
2772
  config: Json;
@@ -3377,7 +3524,8 @@ type Database = {
3377
3524
  created_at: string;
3378
3525
  description: string | null;
3379
3526
  id: string;
3380
- key: string;
3527
+ key_hash: string;
3528
+ key_prefix: string | null;
3381
3529
  last_triggered_at: string | null;
3382
3530
  name: string;
3383
3531
  organization_id: string;
@@ -3390,7 +3538,8 @@ type Database = {
3390
3538
  created_at?: string;
3391
3539
  description?: string | null;
3392
3540
  id?: string;
3393
- key: string;
3541
+ key_hash: string;
3542
+ key_prefix?: string | null;
3394
3543
  last_triggered_at?: string | null;
3395
3544
  name: string;
3396
3545
  organization_id: string;
@@ -3403,7 +3552,8 @@ type Database = {
3403
3552
  created_at?: string;
3404
3553
  description?: string | null;
3405
3554
  id?: string;
3406
- key?: string;
3555
+ key_hash?: string;
3556
+ key_prefix?: string | null;
3407
3557
  last_triggered_at?: string | null;
3408
3558
  name?: string;
3409
3559
  organization_id?: string;
@@ -3449,6 +3599,13 @@ type Database = {
3449
3599
  Args: never;
3450
3600
  Returns: string;
3451
3601
  };
3602
+ can_assign_role_in_org: {
3603
+ Args: {
3604
+ p_role_id: string;
3605
+ p_target_membership_id: string;
3606
+ };
3607
+ Returns: boolean;
3608
+ };
3452
3609
  current_user_is_platform_admin: {
3453
3610
  Args: never;
3454
3611
  Returns: boolean;
@@ -3478,6 +3635,10 @@ type Database = {
3478
3635
  user_id: string;
3479
3636
  }[];
3480
3637
  };
3638
+ get_platform_credential_kek: {
3639
+ Args: never;
3640
+ Returns: string;
3641
+ };
3481
3642
  get_storage_org_id: {
3482
3643
  Args: {
3483
3644
  file_path: string;
@@ -3488,9 +3649,10 @@ type Database = {
3488
3649
  Args: never;
3489
3650
  Returns: string;
3490
3651
  };
3491
- is_org_admin: {
3652
+ has_org_permission: {
3492
3653
  Args: {
3493
3654
  org_id: string;
3655
+ perm_key: string;
3494
3656
  };
3495
3657
  Returns: boolean;
3496
3658
  };
@@ -3520,6 +3682,22 @@ type Database = {
3520
3682
  Args: never;
3521
3683
  Returns: Json;
3522
3684
  };
3685
+ recompute_all_memberships: {
3686
+ Args: never;
3687
+ Returns: undefined;
3688
+ };
3689
+ sync_all_memberships_with_role: {
3690
+ Args: {
3691
+ p_role_id: string;
3692
+ };
3693
+ Returns: undefined;
3694
+ };
3695
+ sync_one_membership: {
3696
+ Args: {
3697
+ p_membership_id: string;
3698
+ };
3699
+ Returns: undefined;
3700
+ };
3523
3701
  upsert_user_profile: {
3524
3702
  Args: never;
3525
3703
  Returns: {
@@ -4996,6 +5174,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
4996
5174
  }>;
4997
5175
  description: z.ZodOptional<z.ZodString>;
4998
5176
  enabled: z.ZodDefault<z.ZodBoolean>;
5177
+ devOnly: z.ZodOptional<z.ZodBoolean>;
4999
5178
  icon: z.ZodOptional<z.ZodString>;
5000
5179
  featureId: z.ZodOptional<z.ZodString>;
5001
5180
  featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -5354,7 +5533,7 @@ type NodeColorType = 'violet' | 'blue' | 'orange' | 'teal' | 'gray' | 'yellow';
5354
5533
  */
5355
5534
  declare function getResourceColor(type: ResourceDefinitionType): NodeColorType;
5356
5535
 
5357
- type ActivityType = 'workflow_execution' | 'agent_run' | 'hitl_action' | 'webhook_received' | 'webhook_executed' | 'webhook_failed' | 'credential_change' | 'api_key_change' | 'deployment_change' | 'membership_change';
5536
+ type ActivityType = 'workflow_execution' | 'agent_run' | 'hitl_action' | 'webhook_received' | 'webhook_executed' | 'webhook_failed' | 'credential_change' | 'credential_read' | 'api_key_change' | 'deployment_change' | 'membership_change';
5358
5537
  type ActivityStatus = 'success' | 'failure' | 'pending' | 'approved' | 'rejected' | 'completed';
5359
5538
  interface Activity {
5360
5539
  id: string;
@@ -5379,6 +5558,51 @@ interface Activity {
5379
5558
  */
5380
5559
  type APIErrorCode = 'VALIDATION_ERROR' | 'AUTHENTICATION_FAILED' | 'FORBIDDEN' | 'NOT_FOUND' | 'CONFLICT' | 'RATE_LIMIT_EXCEEDED' | 'INTERNAL_SERVER_ERROR' | 'SERVICE_UNAVAILABLE';
5381
5560
 
5561
+ /**
5562
+ * Canonical permission catalog.
5563
+ *
5564
+ * Source of truth for the permission keys used by:
5565
+ * - RLS policies in Supabase (via has_org_permission(org_id, key))
5566
+ * - API middleware (via requireOrganizationPermission(key))
5567
+ * - UI hooks (via useOrganizationPermissions().hasPermission(key))
5568
+ *
5569
+ * The DB table `org_rol_permissions` mirrors this constant. Reconciliation
5570
+ * runs at API boot (insert-or-update only — never auto-delete; see the
5571
+ * deletion runbook in the auth-role-system doc -- review/auth-role-system/).
5572
+ *
5573
+ * Adding a permission:
5574
+ * 1. Add an entry below.
5575
+ * 2. Add a row to the migration / via reconcilePermissionCatalog at boot.
5576
+ * 3. Reference it in RLS / middleware as needed.
5577
+ * 4. Optionally grant it to one or more system roles in org_rol_grants.
5578
+ *
5579
+ * Removing a permission: follow the deletion runbook — never just delete
5580
+ * the entry. Existing role grants and policy references must be cleared first.
5581
+ */
5582
+ declare const PERMISSIONS: {
5583
+ readonly ORG_READ: "org.read";
5584
+ readonly ORG_MANAGE: "org.manage";
5585
+ readonly ORG_DELETE: "org.delete";
5586
+ readonly MEMBERS_MANAGE: "members.manage";
5587
+ readonly ROLES_MANAGE: "roles.manage";
5588
+ readonly SECRETS_MANAGE: "secrets.manage";
5589
+ readonly OPERATIONS_READ: "operations.read";
5590
+ readonly OPERATIONS_MANAGE: "operations.manage";
5591
+ readonly ACQUISITION_MANAGE: "acquisition.manage";
5592
+ readonly PROJECTS_MANAGE: "projects.manage";
5593
+ };
5594
+ type PermissionKey = (typeof PERMISSIONS)[keyof typeof PERMISSIONS];
5595
+ /**
5596
+ * Static metadata for each permission. Mirrored into org_rol_permissions on
5597
+ * boot reconciliation. is_org_grantable=false means the permission is reserved
5598
+ * to system roles only — custom roles cannot include it (privilege-escalation guard).
5599
+ */
5600
+ interface PermissionDescriptor {
5601
+ key: PermissionKey;
5602
+ description: string;
5603
+ isOrgGrantable: boolean;
5604
+ }
5605
+
5382
5606
  /**
5383
5607
  * Execution history item.
5384
5608
  * Represents a single execution triggered by a schedule.
@@ -6353,6 +6577,9 @@ type FeatureIconComponent = ComponentType<{
6353
6577
  size?: number;
6354
6578
  stroke?: number;
6355
6579
  }>;
6580
+ type FeatureSidebarWidthResolver = number | ((context: {
6581
+ currentPath: string;
6582
+ }) => number);
6356
6583
  interface FeatureModule {
6357
6584
  /** Unique stable identifier for this feature module. */
6358
6585
  key: string;
@@ -6364,6 +6591,8 @@ interface FeatureModule {
6364
6591
  icon?: FeatureIconComponent;
6365
6592
  /** Sidebar component rendered when this feature's subtree route is active. */
6366
6593
  sidebar?: FeatureSidebarComponent;
6594
+ /** Optional shell sidebar width override. Defaults to 250px. */
6595
+ sidebarWidth?: FeatureSidebarWidthResolver;
6367
6596
  /** Operations-only bridge connecting this feature to the organization graph node. */
6368
6597
  organizationGraph?: OrganizationGraphFeatureBridge;
6369
6598
  }
@@ -6517,6 +6746,14 @@ declare function createTestFeaturesProvider({ organizationModel, features }?: Cr
6517
6746
  children: ReactNode;
6518
6747
  }) => react_jsx_runtime.JSX.Element;
6519
6748
 
6749
+ declare function useOrganizationPermissions(): {
6750
+ hasPermission: (key: PermissionKey | string) => boolean;
6751
+ permissions: string[];
6752
+ isPlatformAdmin: boolean;
6753
+ isReady: boolean;
6754
+ };
6755
+ declare function useHasPermission(key: PermissionKey | string): boolean;
6756
+
6520
6757
  /**
6521
6758
  * Query key factory for executions TanStack Query hooks.
6522
6759
  * Uses organization UUID (not name) for cache isolation.
@@ -7628,10 +7865,6 @@ declare function createFeatureAccessHook({ useInitialization, useOrganization }:
7628
7865
  checkFeature: (featureKey: string) => FeatureAccessResult;
7629
7866
  isReady: boolean;
7630
7867
  };
7631
- /**
7632
- * @deprecated Use `createFeatureAccessHook` instead. This alias will be removed in a future release.
7633
- */
7634
- declare const createUseFeatureAccess: typeof createFeatureAccessHook;
7635
7868
 
7636
7869
  interface UseSSEConnectionOptions {
7637
7870
  manager: SSEConnectionManagerLike;
@@ -8080,6 +8313,8 @@ interface UseCommandViewStatsOptions {
8080
8313
  */
8081
8314
  declare function useCommandViewStats(timeRange?: StatsTimeRange, options?: UseCommandViewStatsOptions): _tanstack_react_query.UseQueryResult<CommandViewStatsResponse, Error>;
8082
8315
 
8316
+ type CommandViewVisualizationMode = 'cluster' | 'swimlane' | 'focus' | 'network' | 'spatial';
8317
+
8083
8318
  /**
8084
8319
  * Command View Types
8085
8320
  *
@@ -8201,15 +8436,28 @@ interface CommandViewStore {
8201
8436
  setShowIntegrations: (v: boolean) => void;
8202
8437
  fitViewOnFilter: boolean;
8203
8438
  setFitViewOnFilter: (v: boolean) => void;
8439
+ visualizationMode: CommandViewVisualizationMode;
8440
+ setVisualizationMode: (v: CommandViewVisualizationMode) => void;
8204
8441
  selectedNodeId: string | null;
8205
8442
  setSelectedNodeId: (id: string | null) => void;
8443
+ resourcesHidden: boolean;
8444
+ setResourcesHidden: (v: boolean) => void;
8445
+ diagnosticsHidden: boolean;
8446
+ setDiagnosticsHidden: (v: boolean) => void;
8447
+ diagnosticCategories: string[];
8448
+ revealedIds: Set<string>;
8449
+ setRevealedIds: (ids: Iterable<string>) => void;
8450
+ clearRevealedIds: () => void;
8451
+ hasVisibilityInteraction: boolean;
8452
+ markVisibilityInteraction: () => void;
8453
+ resetVisibilityInteraction: () => void;
8206
8454
  }
8207
8455
  /**
8208
8456
  * Shared store for Command View filter/settings state.
8209
8457
  * Allows CommandViewPage (graph) and CommandViewSidebarContent (sidebar) to share state.
8210
8458
  *
8211
- * Persisted to localStorage: showIntegrations, fitViewOnFilter
8212
- * Not persisted (reset on reload): statusFilter, selectedNodeId
8459
+ * Persisted to localStorage: showIntegrations, fitViewOnFilter, resource/diagnostic visibility preferences.
8460
+ * Not persisted (reset on reload): statusFilter, selectedNodeId, revealedIds, CTA interaction state.
8213
8461
  */
8214
8462
  declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<CommandViewStore>, "setState" | "persist"> & {
8215
8463
  setState(partial: CommandViewStore | Partial<CommandViewStore> | ((state: CommandViewStore) => CommandViewStore | Partial<CommandViewStore>), replace?: false | undefined): unknown;
@@ -8218,6 +8466,9 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
8218
8466
  setOptions: (options: Partial<zustand_middleware.PersistOptions<CommandViewStore, {
8219
8467
  showIntegrations: boolean;
8220
8468
  fitViewOnFilter: boolean;
8469
+ visualizationMode: CommandViewVisualizationMode;
8470
+ resourcesHidden: boolean;
8471
+ diagnosticsHidden: boolean;
8221
8472
  }, unknown>>) => void;
8222
8473
  clearStorage: () => void;
8223
8474
  rehydrate: () => Promise<void> | void;
@@ -8227,6 +8478,9 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
8227
8478
  getOptions: () => Partial<zustand_middleware.PersistOptions<CommandViewStore, {
8228
8479
  showIntegrations: boolean;
8229
8480
  fitViewOnFilter: boolean;
8481
+ visualizationMode: CommandViewVisualizationMode;
8482
+ resourcesHidden: boolean;
8483
+ diagnosticsHidden: boolean;
8230
8484
  }, unknown>>;
8231
8485
  };
8232
8486
  }>;
@@ -8348,7 +8602,7 @@ interface DealSummaryStageItem {
8348
8602
  interface StaleDealSummaryItem {
8349
8603
  id: string;
8350
8604
  contactEmail: string;
8351
- cachedStage: string;
8605
+ stageKey: string;
8352
8606
  updatedAt: string;
8353
8607
  daysStale: number;
8354
8608
  }
@@ -8366,7 +8620,7 @@ interface DealsSummaryResponse {
8366
8620
  interface DealLookupItem {
8367
8621
  id: string;
8368
8622
  contactEmail: string;
8369
- cachedStage: string | null;
8623
+ stageKey: string | null;
8370
8624
  updatedAt: string;
8371
8625
  contactName: string | null;
8372
8626
  companyName: string | null;
@@ -8423,13 +8677,14 @@ declare function useDeals(filters?: DealFilters): {
8423
8677
  organization_id: string;
8424
8678
  contact_id: string | null;
8425
8679
  contact_email: string;
8426
- cached_stage: string | null;
8680
+ pipeline_key: string;
8681
+ stage_key: string | null;
8682
+ state_key: string | null;
8427
8683
  activity_log: unknown;
8428
8684
  discovery_data: unknown;
8429
8685
  discovery_submitted_at: string | null;
8430
8686
  discovery_submitted_by: string | null;
8431
8687
  proposal_data: unknown;
8432
- proposal_status: string | null;
8433
8688
  proposal_sent_at: string | null;
8434
8689
  proposal_pdf_url: string | null;
8435
8690
  signature_envelope_id: string | null;
@@ -8475,13 +8730,14 @@ declare function useDeals(filters?: DealFilters): {
8475
8730
  organization_id: string;
8476
8731
  contact_id: string | null;
8477
8732
  contact_email: string;
8478
- cached_stage: string | null;
8733
+ pipeline_key: string;
8734
+ stage_key: string | null;
8735
+ state_key: string | null;
8479
8736
  activity_log: unknown;
8480
8737
  discovery_data: unknown;
8481
8738
  discovery_submitted_at: string | null;
8482
8739
  discovery_submitted_by: string | null;
8483
8740
  proposal_data: unknown;
8484
- proposal_status: string | null;
8485
8741
  proposal_sent_at: string | null;
8486
8742
  proposal_pdf_url: string | null;
8487
8743
  signature_envelope_id: string | null;
@@ -8540,17 +8796,22 @@ declare function useDeleteDeal(): _tanstack_react_query.UseMutationResult<void,
8540
8796
 
8541
8797
  declare function useDealDetail(acqDealId: string): _tanstack_react_query.UseQueryResult<DealListItem | null, Error>;
8542
8798
 
8543
- interface SyncDealStageParams {
8799
+ interface TransitionItemInput {
8544
8800
  dealId: string;
8545
- stage: DealStage;
8801
+ pipelineKey: string;
8802
+ stageKey: string;
8803
+ stateKey?: string | null;
8804
+ reason?: string;
8805
+ expectedUpdatedAt?: string;
8546
8806
  }
8547
8807
  /**
8548
- * Sync a deal's cached_stage via the API.
8808
+ * Transition a deal's stage/state via the PATCH /deals/:dealId/transition endpoint.
8549
8809
  *
8550
- * The backend syncDealStage method additionally logs a stage_change activity entry.
8551
- * On success invalidates the deals list and the specific deal detail query.
8810
+ * The backend transitionItem handler logs a stage_change activity entry and enforces
8811
+ * optimistic-concurrency via expectedUpdatedAt (optional).
8812
+ * On success invalidates the deals list, summaries, and the specific deal detail query.
8552
8813
  */
8553
- declare function useSyncDealStage(): _tanstack_react_query.UseMutationResult<void, Error, SyncDealStageParams, unknown>;
8814
+ declare function useTransitionItem(): _tanstack_react_query.UseMutationResult<void, Error, TransitionItemInput, unknown>;
8554
8815
 
8555
8816
  /**
8556
8817
  * Query keys for deal notes
@@ -9504,10 +9765,56 @@ declare function useReactivateMembership(): _tanstack_react_query.UseMutationRes
9504
9765
  previousData: unknown;
9505
9766
  }>;
9506
9767
 
9768
+ type OrgRolDefinitionRow = Database['public']['Tables']['org_rol_definitions']['Row'];
9769
+ type OrgRole = OrgRolDefinitionRow & {
9770
+ grants?: string[];
9771
+ memberCount?: number;
9772
+ };
9773
+ type CreateOrgRoleInput = {
9774
+ name: string;
9775
+ slug: string;
9776
+ description?: string;
9777
+ permissionKeys: string[];
9778
+ };
9779
+ type UpdateOrgRoleInput = Partial<CreateOrgRoleInput>;
9780
+ type AssignRoleInput = {
9781
+ membershipId: string;
9782
+ roleId: string;
9783
+ };
9784
+ type RevokeRoleInput = {
9785
+ membershipId: string;
9786
+ roleId: string;
9787
+ };
9788
+
9789
+ declare function useOrgRoles(orgId?: string): _tanstack_react_query.UseQueryResult<{
9790
+ roles: OrgRole[];
9791
+ }, Error>;
9792
+
9793
+ declare function usePermissionCatalog(): _tanstack_react_query.UseQueryResult<{
9794
+ permissions: PermissionDescriptor[];
9795
+ }, Error>;
9796
+
9797
+ declare function useCreateOrgRole(): _tanstack_react_query.UseMutationResult<OrgRole, Error, CreateOrgRoleInput, unknown>;
9798
+
9799
+ interface UpdateOrgRoleParams {
9800
+ roleId: string;
9801
+ input: UpdateOrgRoleInput;
9802
+ }
9803
+ declare function useUpdateOrgRole(): _tanstack_react_query.UseMutationResult<OrgRole, Error, UpdateOrgRoleParams, unknown>;
9804
+
9805
+ declare function useDeleteOrgRole(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
9806
+
9807
+ declare function useAssignRole(): _tanstack_react_query.UseMutationResult<void, Error, AssignRoleInput, unknown>;
9808
+ declare function useRevokeRole(): _tanstack_react_query.UseMutationResult<void, Error, RevokeRoleInput, unknown>;
9809
+
9810
+ declare function useEffectivePermissions(membershipId: string | undefined): _tanstack_react_query.UseQueryResult<{
9811
+ permissions: string[];
9812
+ }, Error>;
9813
+
9507
9814
  declare function useListWebhookEndpoints(): _tanstack_react_query.UseQueryResult<{
9508
9815
  id: string;
9509
9816
  organizationId: string;
9510
- key: string;
9817
+ keyPrefix: string | null;
9511
9818
  name: string;
9512
9819
  description: string | null;
9513
9820
  resourceId: string | null;
@@ -9516,12 +9823,13 @@ declare function useListWebhookEndpoints(): _tanstack_react_query.UseQueryResult
9516
9823
  requestCount: number;
9517
9824
  createdAt: string;
9518
9825
  updatedAt: string;
9826
+ key?: string | undefined;
9519
9827
  }[], Error>;
9520
9828
 
9521
9829
  declare function useCreateWebhookEndpoint(): _tanstack_react_query.UseMutationResult<{
9522
9830
  id: string;
9523
9831
  organizationId: string;
9524
- key: string;
9832
+ keyPrefix: string | null;
9525
9833
  name: string;
9526
9834
  description: string | null;
9527
9835
  resourceId: string | null;
@@ -9530,6 +9838,7 @@ declare function useCreateWebhookEndpoint(): _tanstack_react_query.UseMutationRe
9530
9838
  requestCount: number;
9531
9839
  createdAt: string;
9532
9840
  updatedAt: string;
9841
+ key?: string | undefined;
9533
9842
  }, Error, {
9534
9843
  name: string;
9535
9844
  resourceId?: string | undefined;
@@ -9571,7 +9880,8 @@ type UpdateWebhookEndpointRequest = z.infer<typeof UpdateWebhookEndpointRequestS
9571
9880
  declare const WebhookEndpointResponseSchema: z.ZodObject<{
9572
9881
  id: z.ZodString;
9573
9882
  organizationId: z.ZodString;
9574
- key: z.ZodString;
9883
+ key: z.ZodOptional<z.ZodString>;
9884
+ keyPrefix: z.ZodNullable<z.ZodString>;
9575
9885
  name: z.ZodString;
9576
9886
  description: z.ZodNullable<z.ZodString>;
9577
9887
  resourceId: z.ZodNullable<z.ZodString>;
@@ -9589,7 +9899,7 @@ type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
9589
9899
  declare function useUpdateWebhookEndpoint(): _tanstack_react_query.UseMutationResult<{
9590
9900
  id: string;
9591
9901
  organizationId: string;
9592
- key: string;
9902
+ keyPrefix: string | null;
9593
9903
  name: string;
9594
9904
  description: string | null;
9595
9905
  resourceId: string | null;
@@ -9598,6 +9908,7 @@ declare function useUpdateWebhookEndpoint(): _tanstack_react_query.UseMutationRe
9598
9908
  requestCount: number;
9599
9909
  createdAt: string;
9600
9910
  updatedAt: string;
9911
+ key?: string | undefined;
9601
9912
  }, Error, {
9602
9913
  endpointId: string;
9603
9914
  data: UpdateWebhookEndpointRequest;
@@ -10618,5 +10929,5 @@ declare function InitializationProvider({ children }: {
10618
10929
  children: ReactNode;
10619
10930
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
10620
10931
 
10621
- export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestFeaturesProvider, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDirectedChainHighlighting, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useInitialization, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
10622
- export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CreateTestFeaturesProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
10932
+ export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestFeaturesProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useHasPermission, useInitialization, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrgRoles, useOrganization, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
10933
+ export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CreateTestFeaturesProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };