@elevasis/ui 2.29.0 → 2.31.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 (125) hide show
  1. package/dist/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-KSEGSB67.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.d.ts +176 -1
  4. package/dist/app/index.js +11 -11
  5. package/dist/auth/context.js +1 -1
  6. package/dist/auth/index.js +5 -5
  7. package/dist/charts/index.d.ts +2 -1
  8. package/dist/charts/index.js +9 -9
  9. package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
  10. package/dist/{chunk-LH4GPYDX.js → chunk-3BAPR3KA.js} +19 -3
  11. package/dist/{chunk-HLFFKKT3.js → chunk-3FV6HBXS.js} +17 -17
  12. package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
  13. package/dist/{chunk-SZWXQHKO.js → chunk-542WPQU2.js} +9 -8
  14. package/dist/{chunk-5CW2HXQA.js → chunk-5LJAEZMA.js} +7 -28
  15. package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
  16. package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
  17. package/dist/{chunk-CEHUFNAL.js → chunk-7HMCB26R.js} +12 -12
  18. package/dist/chunk-7KC4P3AU.js +357 -0
  19. package/dist/{chunk-OWESKPTJ.js → chunk-CQZ3DNQY.js} +30 -11
  20. package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
  21. package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
  22. package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
  23. package/dist/{chunk-FGDUK74A.js → chunk-HQGF4ATG.js} +10 -56
  24. package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
  25. package/dist/{chunk-OIMPGKDB.js → chunk-HYNYEBHM.js} +4 -4
  26. package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
  27. package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
  28. package/dist/{chunk-HNFQCOD2.js → chunk-JKSUN5GN.js} +1107 -370
  29. package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
  30. package/dist/{chunk-OHGNCWJP.js → chunk-L2NVFLXU.js} +3 -3
  31. package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
  32. package/dist/{chunk-3DUOPXOJ.js → chunk-MVFCLZSK.js} +691 -222
  33. package/dist/{chunk-A7R2URMV.js → chunk-ND42LPY4.js} +44 -10
  34. package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
  35. package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
  36. package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
  37. package/dist/{chunk-QNL7UI5G.js → chunk-Q6OYNEGR.js} +6 -6
  38. package/dist/{chunk-Y3YJKKEB.js → chunk-QDEETKYT.js} +5 -2
  39. package/dist/{chunk-XBMCDGHA.js → chunk-QHEWXU7I.js} +1 -1
  40. package/dist/chunk-R2XR4FCV.js +48 -0
  41. package/dist/chunk-R66W5UDG.js +26 -0
  42. package/dist/{chunk-65RQE3XF.js → chunk-SHQXMW4F.js} +1051 -380
  43. package/dist/{chunk-AK5E6ILJ.js → chunk-T3IPHEYJ.js} +1893 -305
  44. package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
  45. package/dist/{chunk-FFDAE2QI.js → chunk-TVRQ6AQI.js} +172 -26
  46. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  47. package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
  48. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  49. package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
  50. package/dist/{chunk-6NHCE7JM.js → chunk-Y4FWCG7Y.js} +159 -314
  51. package/dist/components/chat/index.d.ts +2 -1
  52. package/dist/components/chat/index.js +2 -2
  53. package/dist/components/index.d.ts +205 -11
  54. package/dist/components/index.js +51 -48
  55. package/dist/components/navigation/index.js +9 -9
  56. package/dist/execution/index.d.ts +2 -1
  57. package/dist/execution/index.js +1 -1
  58. package/dist/features/auth/index.d.ts +121 -0
  59. package/dist/features/auth/index.js +6 -6
  60. package/dist/features/clients/index.css +611 -0
  61. package/dist/features/clients/index.d.ts +86 -0
  62. package/dist/features/clients/index.js +719 -0
  63. package/dist/features/crm/index.d.ts +148 -2
  64. package/dist/features/crm/index.js +27 -25
  65. package/dist/features/dashboard/index.d.ts +36 -1
  66. package/dist/features/dashboard/index.js +23 -23
  67. package/dist/features/delivery/index.d.ts +121 -0
  68. package/dist/features/delivery/index.js +27 -25
  69. package/dist/features/knowledge/index.js +52 -29
  70. package/dist/features/lead-gen/index.d.ts +116 -12
  71. package/dist/features/lead-gen/index.js +28 -26
  72. package/dist/features/monitoring/index.js +26 -25
  73. package/dist/features/monitoring/requests/index.js +23 -22
  74. package/dist/features/operations/index.d.ts +38 -2
  75. package/dist/features/operations/index.js +32 -31
  76. package/dist/features/seo/index.js +1 -1
  77. package/dist/features/settings/index.d.ts +121 -0
  78. package/dist/features/settings/index.js +25 -24
  79. package/dist/graph/index.js +1 -1
  80. package/dist/hooks/delivery/index.d.ts +140 -0
  81. package/dist/hooks/delivery/index.js +4 -4
  82. package/dist/hooks/index.d.ts +844 -21
  83. package/dist/hooks/index.js +21 -21
  84. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
  85. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  86. package/dist/hooks/published.d.ts +844 -21
  87. package/dist/hooks/published.js +21 -21
  88. package/dist/index.d.ts +1056 -27
  89. package/dist/index.js +22 -22
  90. package/dist/initialization/index.d.ts +121 -0
  91. package/dist/initialization/index.js +5 -5
  92. package/dist/knowledge/index.d.ts +151 -1
  93. package/dist/knowledge/index.js +1692 -1039
  94. package/dist/layout/index.d.ts +6 -0
  95. package/dist/layout/index.js +4 -4
  96. package/dist/organization/index.js +5 -5
  97. package/dist/profile/index.d.ts +121 -0
  98. package/dist/profile/index.js +3 -3
  99. package/dist/provider/ElevasisServiceContext.d.ts +11 -5
  100. package/dist/provider/ElevasisServiceContext.js +2 -2
  101. package/dist/provider/index.d.ts +337 -7
  102. package/dist/provider/index.js +18 -18
  103. package/dist/provider/published.d.ts +337 -7
  104. package/dist/provider/published.js +14 -14
  105. package/dist/router/context.js +1 -1
  106. package/dist/router/index.js +1 -1
  107. package/dist/sse/index.js +1 -1
  108. package/dist/supabase/index.d.ts +232 -0
  109. package/dist/supabase/index.js +1 -1
  110. package/dist/test-utils/index.d.ts +3 -0
  111. package/dist/test-utils/index.js +31 -7
  112. package/dist/test-utils/setup-integration.js +1 -1
  113. package/dist/test-utils/setup.js +2 -2
  114. package/dist/theme/index.js +4 -4
  115. package/dist/theme/presets/index.js +2 -2
  116. package/dist/typeform/index.js +1 -1
  117. package/dist/typeform/schemas.js +1 -1
  118. package/dist/types/index.d.ts +204 -1
  119. package/dist/utils/index.d.ts +36 -1
  120. package/dist/utils/index.js +2 -2
  121. package/dist/vite/index.js +3 -3
  122. package/dist/vite-plugin-knowledge/index.js +2 -2
  123. package/dist/zustand/index.js +1 -1
  124. package/package.json +14 -5
  125. /package/dist/{chunk-HXZQWMKE.js → chunk-XQHZBA65.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -354,6 +354,7 @@ interface SerializedAgentDefinition {
354
354
  description: string;
355
355
  version: string;
356
356
  type: 'agent';
357
+ kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
357
358
  status: 'dev' | 'prod';
358
359
  links?: ResourceLink[];
359
360
  category?: ResourceCategory;
@@ -439,6 +440,55 @@ interface SerializedWorkflowDefinition {
439
440
  metricsConfig?: object;
440
441
  }
441
442
 
443
+ declare const ResourceGovernanceStatusSchema: z$1.ZodEnum<{
444
+ active: "active";
445
+ deprecated: "deprecated";
446
+ archived: "archived";
447
+ }>;
448
+ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
449
+ id: z$1.ZodString;
450
+ systemId: z$1.ZodString;
451
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
452
+ status: z$1.ZodEnum<{
453
+ active: "active";
454
+ deprecated: "deprecated";
455
+ archived: "archived";
456
+ }>;
457
+ kind: z$1.ZodLiteral<"workflow">;
458
+ capabilityKey: z$1.ZodOptional<z$1.ZodString>;
459
+ }, z$1.core.$strip>, z$1.ZodObject<{
460
+ id: z$1.ZodString;
461
+ systemId: z$1.ZodString;
462
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
463
+ status: z$1.ZodEnum<{
464
+ active: "active";
465
+ deprecated: "deprecated";
466
+ archived: "archived";
467
+ }>;
468
+ kind: z$1.ZodLiteral<"agent">;
469
+ agentKind: z$1.ZodEnum<{
470
+ orchestrator: "orchestrator";
471
+ specialist: "specialist";
472
+ utility: "utility";
473
+ system: "system";
474
+ }>;
475
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
476
+ sessionCapable: z$1.ZodBoolean;
477
+ }, z$1.core.$strip>, z$1.ZodObject<{
478
+ id: z$1.ZodString;
479
+ systemId: z$1.ZodString;
480
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
481
+ status: z$1.ZodEnum<{
482
+ active: "active";
483
+ deprecated: "deprecated";
484
+ archived: "archived";
485
+ }>;
486
+ kind: z$1.ZodLiteral<"integration">;
487
+ provider: z$1.ZodString;
488
+ }, z$1.core.$strip>], "kind">;
489
+ type ResourceGovernanceStatus = z$1.infer<typeof ResourceGovernanceStatusSchema>;
490
+ type ResourceEntry = z$1.infer<typeof ResourceEntrySchema>;
491
+
442
492
  /**
443
493
  * Shared form field types for dynamic form generation
444
494
  * Used by: Command Queue, Execution Runner UI, future form-based features
@@ -664,6 +714,7 @@ type Database = {
664
714
  batch_id: string | null;
665
715
  category: string | null;
666
716
  category_pain: string | null;
717
+ client_id: string | null;
667
718
  created_at: string;
668
719
  domain: string | null;
669
720
  enrichment_data: Json | null;
@@ -690,6 +741,7 @@ type Database = {
690
741
  batch_id?: string | null;
691
742
  category?: string | null;
692
743
  category_pain?: string | null;
744
+ client_id?: string | null;
693
745
  created_at?: string;
694
746
  domain?: string | null;
695
747
  enrichment_data?: Json | null;
@@ -716,6 +768,7 @@ type Database = {
716
768
  batch_id?: string | null;
717
769
  category?: string | null;
718
770
  category_pain?: string | null;
771
+ client_id?: string | null;
719
772
  created_at?: string;
720
773
  domain?: string | null;
721
774
  enrichment_data?: Json | null;
@@ -739,6 +792,13 @@ type Database = {
739
792
  website?: string | null;
740
793
  };
741
794
  Relationships: [
795
+ {
796
+ foreignKeyName: "acq_companies_client_id_fkey";
797
+ columns: ["client_id"];
798
+ isOneToOne: false;
799
+ referencedRelation: "clients";
800
+ referencedColumns: ["id"];
801
+ },
742
802
  {
743
803
  foreignKeyName: "acq_companies_organization_id_fkey";
744
804
  columns: ["organization_id"];
@@ -753,6 +813,7 @@ type Database = {
753
813
  batch_id: string | null;
754
814
  brochure_first_viewed_at: string | null;
755
815
  brochure_view_count: number;
816
+ client_id: string | null;
756
817
  company_id: string | null;
757
818
  created_at: string;
758
819
  email: string;
@@ -781,6 +842,7 @@ type Database = {
781
842
  batch_id?: string | null;
782
843
  brochure_first_viewed_at?: string | null;
783
844
  brochure_view_count?: number;
845
+ client_id?: string | null;
784
846
  company_id?: string | null;
785
847
  created_at?: string;
786
848
  email: string;
@@ -809,6 +871,7 @@ type Database = {
809
871
  batch_id?: string | null;
810
872
  brochure_first_viewed_at?: string | null;
811
873
  brochure_view_count?: number;
874
+ client_id?: string | null;
812
875
  company_id?: string | null;
813
876
  created_at?: string;
814
877
  email?: string;
@@ -834,6 +897,13 @@ type Database = {
834
897
  updated_at?: string;
835
898
  };
836
899
  Relationships: [
900
+ {
901
+ foreignKeyName: "acq_contacts_client_id_fkey";
902
+ columns: ["client_id"];
903
+ isOneToOne: false;
904
+ referencedRelation: "clients";
905
+ referencedColumns: ["id"];
906
+ },
837
907
  {
838
908
  foreignKeyName: "acq_contacts_company_id_fkey";
839
909
  columns: ["company_id"];
@@ -1077,8 +1147,10 @@ type Database = {
1077
1147
  acq_deals: {
1078
1148
  Row: {
1079
1149
  activity_log: Json;
1150
+ client_id: string | null;
1080
1151
  closed_lost_at: string | null;
1081
1152
  closed_lost_reason: string | null;
1153
+ company_id: string | null;
1082
1154
  contact_email: string;
1083
1155
  contact_id: string | null;
1084
1156
  created_at: string;
@@ -1114,8 +1186,10 @@ type Database = {
1114
1186
  };
1115
1187
  Insert: {
1116
1188
  activity_log?: Json;
1189
+ client_id?: string | null;
1117
1190
  closed_lost_at?: string | null;
1118
1191
  closed_lost_reason?: string | null;
1192
+ company_id?: string | null;
1119
1193
  contact_email: string;
1120
1194
  contact_id?: string | null;
1121
1195
  created_at?: string;
@@ -1151,8 +1225,10 @@ type Database = {
1151
1225
  };
1152
1226
  Update: {
1153
1227
  activity_log?: Json;
1228
+ client_id?: string | null;
1154
1229
  closed_lost_at?: string | null;
1155
1230
  closed_lost_reason?: string | null;
1231
+ company_id?: string | null;
1156
1232
  contact_email?: string;
1157
1233
  contact_id?: string | null;
1158
1234
  created_at?: string;
@@ -1187,6 +1263,20 @@ type Database = {
1187
1263
  updated_at?: string;
1188
1264
  };
1189
1265
  Relationships: [
1266
+ {
1267
+ foreignKeyName: "acq_deals_client_id_fkey";
1268
+ columns: ["client_id"];
1269
+ isOneToOne: false;
1270
+ referencedRelation: "clients";
1271
+ referencedColumns: ["id"];
1272
+ },
1273
+ {
1274
+ foreignKeyName: "acq_deals_company_id_fkey";
1275
+ columns: ["company_id"];
1276
+ isOneToOne: false;
1277
+ referencedRelation: "acq_companies";
1278
+ referencedColumns: ["id"];
1279
+ },
1190
1280
  {
1191
1281
  foreignKeyName: "acq_deals_contact_id_fkey";
1192
1282
  columns: ["contact_id"];
@@ -1804,6 +1894,77 @@ type Database = {
1804
1894
  }
1805
1895
  ];
1806
1896
  };
1897
+ clients: {
1898
+ Row: {
1899
+ converted_at: string | null;
1900
+ created_at: string;
1901
+ id: string;
1902
+ metadata: Json;
1903
+ name: string;
1904
+ organization_id: string;
1905
+ primary_company_id: string | null;
1906
+ primary_contact_id: string | null;
1907
+ source_deal_id: string | null;
1908
+ status: string;
1909
+ updated_at: string;
1910
+ };
1911
+ Insert: {
1912
+ converted_at?: string | null;
1913
+ created_at?: string;
1914
+ id?: string;
1915
+ metadata?: Json;
1916
+ name: string;
1917
+ organization_id: string;
1918
+ primary_company_id?: string | null;
1919
+ primary_contact_id?: string | null;
1920
+ source_deal_id?: string | null;
1921
+ status?: string;
1922
+ updated_at?: string;
1923
+ };
1924
+ Update: {
1925
+ converted_at?: string | null;
1926
+ created_at?: string;
1927
+ id?: string;
1928
+ metadata?: Json;
1929
+ name?: string;
1930
+ organization_id?: string;
1931
+ primary_company_id?: string | null;
1932
+ primary_contact_id?: string | null;
1933
+ source_deal_id?: string | null;
1934
+ status?: string;
1935
+ updated_at?: string;
1936
+ };
1937
+ Relationships: [
1938
+ {
1939
+ foreignKeyName: "clients_organization_id_fkey";
1940
+ columns: ["organization_id"];
1941
+ isOneToOne: false;
1942
+ referencedRelation: "organizations";
1943
+ referencedColumns: ["id"];
1944
+ },
1945
+ {
1946
+ foreignKeyName: "clients_primary_company_id_fkey";
1947
+ columns: ["primary_company_id"];
1948
+ isOneToOne: false;
1949
+ referencedRelation: "acq_companies";
1950
+ referencedColumns: ["id"];
1951
+ },
1952
+ {
1953
+ foreignKeyName: "clients_primary_contact_id_fkey";
1954
+ columns: ["primary_contact_id"];
1955
+ isOneToOne: false;
1956
+ referencedRelation: "acq_contacts";
1957
+ referencedColumns: ["id"];
1958
+ },
1959
+ {
1960
+ foreignKeyName: "clients_source_deal_id_fkey";
1961
+ columns: ["source_deal_id"];
1962
+ isOneToOne: false;
1963
+ referencedRelation: "acq_deals";
1964
+ referencedColumns: ["id"];
1965
+ }
1966
+ ];
1967
+ };
1807
1968
  command_queue: {
1808
1969
  Row: {
1809
1970
  action_payload: Json | null;
@@ -2773,6 +2934,7 @@ type Database = {
2773
2934
  Row: {
2774
2935
  actual_end_date: string | null;
2775
2936
  client_company_id: string | null;
2937
+ client_id: string | null;
2776
2938
  contract_value: number | null;
2777
2939
  created_at: string;
2778
2940
  deal_id: string | null;
@@ -2790,6 +2952,7 @@ type Database = {
2790
2952
  Insert: {
2791
2953
  actual_end_date?: string | null;
2792
2954
  client_company_id?: string | null;
2955
+ client_id?: string | null;
2793
2956
  contract_value?: number | null;
2794
2957
  created_at?: string;
2795
2958
  deal_id?: string | null;
@@ -2807,6 +2970,7 @@ type Database = {
2807
2970
  Update: {
2808
2971
  actual_end_date?: string | null;
2809
2972
  client_company_id?: string | null;
2973
+ client_id?: string | null;
2810
2974
  contract_value?: number | null;
2811
2975
  created_at?: string;
2812
2976
  deal_id?: string | null;
@@ -2843,6 +3007,13 @@ type Database = {
2843
3007
  referencedRelation: "acq_companies";
2844
3008
  referencedColumns: ["id"];
2845
3009
  },
3010
+ {
3011
+ foreignKeyName: "prj_projects_client_id_fkey";
3012
+ columns: ["client_id"];
3013
+ isOneToOne: false;
3014
+ referencedRelation: "clients";
3015
+ referencedColumns: ["id"];
3016
+ },
2846
3017
  {
2847
3018
  foreignKeyName: "prj_projects_deal_id_fkey";
2848
3019
  columns: ["deal_id"];
@@ -3592,6 +3763,7 @@ declare const TransitionItemRequestSchema: z$1.ZodObject<{
3592
3763
  declare const DealDetailResponseSchema: z$1.ZodObject<{
3593
3764
  id: z$1.ZodString;
3594
3765
  organization_id: z$1.ZodString;
3766
+ client_id: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3595
3767
  contact_id: z$1.ZodNullable<z$1.ZodString>;
3596
3768
  contact_email: z$1.ZodString;
3597
3769
  pipeline_key: z$1.ZodString;
@@ -3676,6 +3848,25 @@ declare const DealDetailResponseSchema: z$1.ZodObject<{
3676
3848
  sentAt: z$1.ZodNullable<z$1.ZodString>;
3677
3849
  }, z$1.core.$strip>>;
3678
3850
  }, z$1.core.$strip>;
3851
+ lineage: z$1.ZodOptional<z$1.ZodObject<{
3852
+ list: z$1.ZodNullable<z$1.ZodObject<{
3853
+ id: z$1.ZodString;
3854
+ name: z$1.ZodString;
3855
+ status: z$1.ZodString;
3856
+ }, z$1.core.$strip>>;
3857
+ projects: z$1.ZodArray<z$1.ZodObject<{
3858
+ id: z$1.ZodString;
3859
+ name: z$1.ZodString;
3860
+ kind: z$1.ZodString;
3861
+ status: z$1.ZodString;
3862
+ updatedAt: z$1.ZodString;
3863
+ }, z$1.core.$strip>>;
3864
+ client: z$1.ZodNullable<z$1.ZodObject<{
3865
+ id: z$1.ZodString;
3866
+ name: z$1.ZodString;
3867
+ status: z$1.ZodString;
3868
+ }, z$1.core.$strip>>;
3869
+ }, z$1.core.$strip>>;
3679
3870
  }, z$1.core.$strip>;
3680
3871
  type TransitionItemRequest = z$1.infer<typeof TransitionItemRequestSchema>;
3681
3872
  type DealDetailResponse = z$1.infer<typeof DealDetailResponseSchema>;
@@ -3685,10 +3876,10 @@ type DealDetailResponse = z$1.infer<typeof DealDetailResponseSchema>;
3685
3876
  */
3686
3877
  declare const ListStatusSchema: z$1.ZodEnum<{
3687
3878
  closing: "closing";
3879
+ archived: "archived";
3688
3880
  draft: "draft";
3689
3881
  enriching: "enriching";
3690
3882
  launched: "launched";
3691
- archived: "archived";
3692
3883
  }>;
3693
3884
  /**
3694
3885
  * Single list as returned by /api/acquisition/lists/:id etc.
@@ -3703,10 +3894,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3703
3894
  instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3704
3895
  status: z$1.ZodEnum<{
3705
3896
  closing: "closing";
3897
+ archived: "archived";
3706
3898
  draft: "draft";
3707
3899
  enriching: "enriching";
3708
3900
  launched: "launched";
3709
- archived: "archived";
3710
3901
  }>;
3711
3902
  metadata: z$1.ZodObject<{
3712
3903
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3726,11 +3917,65 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3726
3917
  export: "export";
3727
3918
  }>>;
3728
3919
  stageKey: z$1.ZodString;
3920
+ recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3921
+ company: "company";
3922
+ contact: "contact";
3923
+ }>>;
3924
+ recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3925
+ recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3729
3926
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3730
3927
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3731
3928
  capabilityKey: z$1.ZodString;
3732
3929
  defaultBatchSize: z$1.ZodNumber;
3733
3930
  maxBatchSize: z$1.ZodNumber;
3931
+ recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3932
+ company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3933
+ key: z$1.ZodString;
3934
+ label: z$1.ZodString;
3935
+ path: z$1.ZodString;
3936
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3937
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3938
+ text: "text";
3939
+ badge: "badge";
3940
+ datetime: "datetime";
3941
+ count: "count";
3942
+ json: "json";
3943
+ }>>;
3944
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3945
+ }, z$1.core.$strip>>>;
3946
+ contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3947
+ key: z$1.ZodString;
3948
+ label: z$1.ZodString;
3949
+ path: z$1.ZodString;
3950
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3951
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3952
+ text: "text";
3953
+ badge: "badge";
3954
+ datetime: "datetime";
3955
+ count: "count";
3956
+ json: "json";
3957
+ }>>;
3958
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3959
+ }, z$1.core.$strip>>>;
3960
+ }, z$1.core.$strip>>;
3961
+ credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3962
+ key: z$1.ZodString;
3963
+ provider: z$1.ZodString;
3964
+ credentialType: z$1.ZodEnum<{
3965
+ "api-key": "api-key";
3966
+ "api-key-secret": "api-key-secret";
3967
+ oauth: "oauth";
3968
+ "webhook-secret": "webhook-secret";
3969
+ }>;
3970
+ label: z$1.ZodString;
3971
+ required: z$1.ZodBoolean;
3972
+ selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3973
+ single: "single";
3974
+ multiple: "multiple";
3975
+ }>>;
3976
+ inputPath: z$1.ZodString;
3977
+ verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
3978
+ }, z$1.core.$strip>>>;
3734
3979
  }, z$1.core.$strip>>;
3735
3980
  }, z$1.core.$strip>>;
3736
3981
  }, z$1.core.$catchall<z$1.ZodUnknown>>;
@@ -3792,6 +4037,7 @@ declare const ListContactsQuerySchema: z$1.ZodObject<{
3792
4037
  declare const AcqCompanyResponseSchema: z$1.ZodObject<{
3793
4038
  id: z$1.ZodString;
3794
4039
  organizationId: z$1.ZodString;
4040
+ clientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3795
4041
  name: z$1.ZodString;
3796
4042
  domain: z$1.ZodNullable<z$1.ZodString>;
3797
4043
  linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -3828,6 +4074,7 @@ declare const AcqCompanyResponseSchema: z$1.ZodObject<{
3828
4074
  declare const AcqContactResponseSchema: z$1.ZodObject<{
3829
4075
  id: z$1.ZodString;
3830
4076
  organizationId: z$1.ZodString;
4077
+ clientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3831
4078
  companyId: z$1.ZodNullable<z$1.ZodString>;
3832
4079
  email: z$1.ZodString;
3833
4080
  emailValid: z$1.ZodNullable<z$1.ZodEnum<{
@@ -3885,11 +4132,16 @@ declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
3885
4132
  deal: "deal";
3886
4133
  list_member: "list_member";
3887
4134
  }>;
4135
+ declare const ListRecordEntitySchema: z$1.ZodEnum<{
4136
+ company: "company";
4137
+ contact: "contact";
4138
+ }>;
3888
4139
  type ListCompaniesQuery = z$1.infer<typeof ListCompaniesQuerySchema>;
3889
4140
  type ListContactsQuery = z$1.infer<typeof ListContactsQuerySchema>;
3890
4141
  type AcqCompanyResponse = z$1.infer<typeof AcqCompanyResponseSchema>;
3891
4142
  type AcqContactResponse = z$1.infer<typeof AcqContactResponseSchema>;
3892
4143
  type AcqArtifactOwnerKind = z$1.infer<typeof AcqArtifactOwnerKindSchema>;
4144
+ type ListRecordEntity = z$1.infer<typeof ListRecordEntitySchema>;
3893
4145
  type ListStatus = z$1.infer<typeof ListStatusSchema>;
3894
4146
  type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
3895
4147
 
@@ -4303,6 +4555,22 @@ interface ProjectDetail extends ProjectRow {
4303
4555
  name: string;
4304
4556
  domain: string | null;
4305
4557
  } | null;
4558
+ deal: ProjectSourceDealRef | null;
4559
+ client: ProjectClientRef | null;
4560
+ }
4561
+ interface ProjectSourceDealRef {
4562
+ id: string;
4563
+ clientId?: string | null;
4564
+ contactEmail: string;
4565
+ stageKey: string | null;
4566
+ stateKey: string | null;
4567
+ sourceListId: string | null;
4568
+ updatedAt: string;
4569
+ }
4570
+ interface ProjectClientRef {
4571
+ id: string;
4572
+ name: string;
4573
+ status: string;
4306
4574
  }
4307
4575
 
4308
4576
  interface Action {
@@ -4841,6 +5109,27 @@ declare const ResourceStatusColors: {
4841
5109
  */
4842
5110
  type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
4843
5111
 
5112
+ declare const SystemEntrySchema: z$1.ZodObject<{
5113
+ id: z$1.ZodString;
5114
+ title: z$1.ZodString;
5115
+ description: z$1.ZodString;
5116
+ kind: z$1.ZodEnum<{
5117
+ platform: "platform";
5118
+ product: "product";
5119
+ operational: "operational";
5120
+ diagnostic: "diagnostic";
5121
+ }>;
5122
+ responsibleRoleId: z$1.ZodOptional<z$1.ZodString>;
5123
+ governedByKnowledge: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5124
+ drivesGoals: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5125
+ status: z$1.ZodEnum<{
5126
+ active: "active";
5127
+ deprecated: "deprecated";
5128
+ archived: "archived";
5129
+ }>;
5130
+ }, z$1.core.$strip>;
5131
+ type SystemEntry = z$1.infer<typeof SystemEntrySchema>;
5132
+
4844
5133
  /**
4845
5134
  * Resource Registry type definitions
4846
5135
  */
@@ -4854,6 +5143,7 @@ type ResourceStatus = 'dev' | 'prod';
4854
5143
  * Used as the discriminator field in ResourceDefinition
4855
5144
  */
4856
5145
  type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
5146
+ type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'status'>;
4857
5147
  /**
4858
5148
  * Base interface for ALL platform resources
4859
5149
  * Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
@@ -4879,6 +5169,12 @@ interface ResourceDefinition {
4879
5169
  sessionCapable?: boolean;
4880
5170
  /** Whether the resource is local (monorepo) or remote (externally deployed) */
4881
5171
  origin?: 'local' | 'remote';
5172
+ /** OM System membership, when backed by a Resource descriptor */
5173
+ systemId?: string;
5174
+ /** Display metadata for the owning OM System */
5175
+ system?: ResourceSystemSummary;
5176
+ /** Governance lifecycle status from the OM Resource descriptor */
5177
+ governanceStatus?: ResourceGovernanceStatus;
4882
5178
  /** Whether this resource is archived and should be excluded from registration and deployment */
4883
5179
  archived?: boolean;
4884
5180
  }
@@ -4984,6 +5280,10 @@ interface TriggerDefinition extends ResourceDefinition {
4984
5280
  interface IntegrationDefinition extends ResourceDefinition {
4985
5281
  /** Resource type discriminator (narrowed from base union) */
4986
5282
  type: 'integration';
5283
+ /** OM descriptor that owns canonical identity and governance metadata. */
5284
+ resource?: Extract<ResourceEntry, {
5285
+ kind: 'integration';
5286
+ }>;
4987
5287
  /** Integration provider type */
4988
5288
  provider: IntegrationType;
4989
5289
  /** References credentials table (e.g., 'shopify-prod', 'zendesk-api') */
@@ -5181,6 +5481,7 @@ declare const FeatureSchema: z$1.ZodObject<{
5181
5481
  "knowledge.reference": "knowledge.reference";
5182
5482
  "feature.dashboard": "feature.dashboard";
5183
5483
  "feature.calendar": "feature.calendar";
5484
+ "feature.business": "feature.business";
5184
5485
  "feature.sales": "feature.sales";
5185
5486
  "feature.crm": "feature.crm";
5186
5487
  "feature.finance": "feature.finance";
@@ -5264,6 +5565,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5264
5565
  "knowledge.reference": "knowledge.reference";
5265
5566
  "feature.dashboard": "feature.dashboard";
5266
5567
  "feature.calendar": "feature.calendar";
5568
+ "feature.business": "feature.business";
5267
5569
  "feature.sales": "feature.sales";
5268
5570
  "feature.crm": "feature.crm";
5269
5571
  "feature.finance": "feature.finance";
@@ -5365,6 +5667,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5365
5667
  "knowledge.reference": "knowledge.reference";
5366
5668
  "feature.dashboard": "feature.dashboard";
5367
5669
  "feature.calendar": "feature.calendar";
5670
+ "feature.business": "feature.business";
5368
5671
  "feature.sales": "feature.sales";
5369
5672
  "feature.crm": "feature.crm";
5370
5673
  "feature.finance": "feature.finance";
@@ -5457,6 +5760,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5457
5760
  "knowledge.reference": "knowledge.reference";
5458
5761
  "feature.dashboard": "feature.dashboard";
5459
5762
  "feature.calendar": "feature.calendar";
5763
+ "feature.business": "feature.business";
5460
5764
  "feature.sales": "feature.sales";
5461
5765
  "feature.crm": "feature.crm";
5462
5766
  "feature.finance": "feature.finance";
@@ -5546,6 +5850,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5546
5850
  "knowledge.reference": "knowledge.reference";
5547
5851
  "feature.dashboard": "feature.dashboard";
5548
5852
  "feature.calendar": "feature.calendar";
5853
+ "feature.business": "feature.business";
5549
5854
  "feature.sales": "feature.sales";
5550
5855
  "feature.crm": "feature.crm";
5551
5856
  "feature.finance": "feature.finance";
@@ -5619,6 +5924,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5619
5924
  "knowledge.reference": "knowledge.reference";
5620
5925
  "feature.dashboard": "feature.dashboard";
5621
5926
  "feature.calendar": "feature.calendar";
5927
+ "feature.business": "feature.business";
5622
5928
  "feature.sales": "feature.sales";
5623
5929
  "feature.crm": "feature.crm";
5624
5930
  "feature.finance": "feature.finance";
@@ -5693,6 +5999,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5693
5999
  "knowledge.reference": "knowledge.reference";
5694
6000
  "feature.dashboard": "feature.dashboard";
5695
6001
  "feature.calendar": "feature.calendar";
6002
+ "feature.business": "feature.business";
5696
6003
  "feature.sales": "feature.sales";
5697
6004
  "feature.crm": "feature.crm";
5698
6005
  "feature.finance": "feature.finance";
@@ -5764,6 +6071,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5764
6071
  "knowledge.reference": "knowledge.reference";
5765
6072
  "feature.dashboard": "feature.dashboard";
5766
6073
  "feature.calendar": "feature.calendar";
6074
+ "feature.business": "feature.business";
5767
6075
  "feature.sales": "feature.sales";
5768
6076
  "feature.crm": "feature.crm";
5769
6077
  "feature.finance": "feature.finance";
@@ -5823,11 +6131,65 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5823
6131
  export: "export";
5824
6132
  }>>;
5825
6133
  stageKey: z$1.ZodString;
6134
+ recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
6135
+ company: "company";
6136
+ contact: "contact";
6137
+ }>>;
6138
+ recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
6139
+ recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
5826
6140
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5827
6141
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
5828
6142
  capabilityKey: z$1.ZodString;
5829
6143
  defaultBatchSize: z$1.ZodNumber;
5830
6144
  maxBatchSize: z$1.ZodNumber;
6145
+ recordColumns: z$1.ZodOptional<z$1.ZodObject<{
6146
+ company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
6147
+ key: z$1.ZodString;
6148
+ label: z$1.ZodString;
6149
+ path: z$1.ZodString;
6150
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
6151
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
6152
+ text: "text";
6153
+ badge: "badge";
6154
+ datetime: "datetime";
6155
+ count: "count";
6156
+ json: "json";
6157
+ }>>;
6158
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
6159
+ }, z$1.core.$strip>>>;
6160
+ contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
6161
+ key: z$1.ZodString;
6162
+ label: z$1.ZodString;
6163
+ path: z$1.ZodString;
6164
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
6165
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
6166
+ text: "text";
6167
+ badge: "badge";
6168
+ datetime: "datetime";
6169
+ count: "count";
6170
+ json: "json";
6171
+ }>>;
6172
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
6173
+ }, z$1.core.$strip>>>;
6174
+ }, z$1.core.$strip>>;
6175
+ credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
6176
+ key: z$1.ZodString;
6177
+ provider: z$1.ZodString;
6178
+ credentialType: z$1.ZodEnum<{
6179
+ "api-key": "api-key";
6180
+ "api-key-secret": "api-key-secret";
6181
+ oauth: "oauth";
6182
+ "webhook-secret": "webhook-secret";
6183
+ }>;
6184
+ label: z$1.ZodString;
6185
+ required: z$1.ZodBoolean;
6186
+ selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
6187
+ single: "single";
6188
+ multiple: "multiple";
6189
+ }>>;
6190
+ inputPath: z$1.ZodString;
6191
+ verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
6192
+ }, z$1.core.$strip>>>;
5831
6193
  }, z$1.core.$strip>>;
5832
6194
  }, z$1.core.$strip>>;
5833
6195
  }, z$1.core.$strip>;
@@ -5857,6 +6219,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5857
6219
  "knowledge.reference": "knowledge.reference";
5858
6220
  "feature.dashboard": "feature.dashboard";
5859
6221
  "feature.calendar": "feature.calendar";
6222
+ "feature.business": "feature.business";
5860
6223
  "feature.sales": "feature.sales";
5861
6224
  "feature.crm": "feature.crm";
5862
6225
  "feature.finance": "feature.finance";
@@ -5930,6 +6293,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
5930
6293
  "knowledge.reference": "knowledge.reference";
5931
6294
  "feature.dashboard": "feature.dashboard";
5932
6295
  "feature.calendar": "feature.calendar";
6296
+ "feature.business": "feature.business";
5933
6297
  "feature.sales": "feature.sales";
5934
6298
  "feature.crm": "feature.crm";
5935
6299
  "feature.finance": "feature.finance";
@@ -6003,6 +6367,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
6003
6367
  "knowledge.reference": "knowledge.reference";
6004
6368
  "feature.dashboard": "feature.dashboard";
6005
6369
  "feature.calendar": "feature.calendar";
6370
+ "feature.business": "feature.business";
6006
6371
  "feature.sales": "feature.sales";
6007
6372
  "feature.crm": "feature.crm";
6008
6373
  "feature.finance": "feature.finance";
@@ -6135,7 +6500,26 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
6135
6500
  title: z$1.ZodString;
6136
6501
  responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6137
6502
  reportsToId: z$1.ZodOptional<z$1.ZodString>;
6138
- heldBy: z$1.ZodOptional<z$1.ZodString>;
6503
+ heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6504
+ kind: z$1.ZodLiteral<"human">;
6505
+ userId: z$1.ZodString;
6506
+ }, z$1.core.$strip>, z$1.ZodObject<{
6507
+ kind: z$1.ZodLiteral<"agent">;
6508
+ agentId: z$1.ZodString;
6509
+ }, z$1.core.$strip>, z$1.ZodObject<{
6510
+ kind: z$1.ZodLiteral<"team">;
6511
+ memberIds: z$1.ZodArray<z$1.ZodString>;
6512
+ }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6513
+ kind: z$1.ZodLiteral<"human">;
6514
+ userId: z$1.ZodString;
6515
+ }, z$1.core.$strip>, z$1.ZodObject<{
6516
+ kind: z$1.ZodLiteral<"agent">;
6517
+ agentId: z$1.ZodString;
6518
+ }, z$1.core.$strip>, z$1.ZodObject<{
6519
+ kind: z$1.ZodLiteral<"team">;
6520
+ memberIds: z$1.ZodArray<z$1.ZodString>;
6521
+ }, z$1.core.$strip>], "kind">>]>>;
6522
+ responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6139
6523
  }, z$1.core.$strip>>>;
6140
6524
  }, z$1.core.$strip>>;
6141
6525
  goals: z$1.ZodDefault<z$1.ZodObject<{
@@ -6153,6 +6537,70 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
6153
6537
  }, z$1.core.$strip>>>;
6154
6538
  }, z$1.core.$strip>>>;
6155
6539
  }, z$1.core.$strip>>;
6540
+ systems: z$1.ZodDefault<z$1.ZodObject<{
6541
+ systems: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6542
+ id: z$1.ZodString;
6543
+ title: z$1.ZodString;
6544
+ description: z$1.ZodString;
6545
+ kind: z$1.ZodEnum<{
6546
+ platform: "platform";
6547
+ product: "product";
6548
+ operational: "operational";
6549
+ diagnostic: "diagnostic";
6550
+ }>;
6551
+ responsibleRoleId: z$1.ZodOptional<z$1.ZodString>;
6552
+ governedByKnowledge: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6553
+ drivesGoals: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6554
+ status: z$1.ZodEnum<{
6555
+ active: "active";
6556
+ deprecated: "deprecated";
6557
+ archived: "archived";
6558
+ }>;
6559
+ }, z$1.core.$strip>>>;
6560
+ }, z$1.core.$strip>>;
6561
+ resources: z$1.ZodDefault<z$1.ZodObject<{
6562
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6563
+ id: z$1.ZodString;
6564
+ systemId: z$1.ZodString;
6565
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
6566
+ status: z$1.ZodEnum<{
6567
+ active: "active";
6568
+ deprecated: "deprecated";
6569
+ archived: "archived";
6570
+ }>;
6571
+ kind: z$1.ZodLiteral<"workflow">;
6572
+ capabilityKey: z$1.ZodOptional<z$1.ZodString>;
6573
+ }, z$1.core.$strip>, z$1.ZodObject<{
6574
+ id: z$1.ZodString;
6575
+ systemId: z$1.ZodString;
6576
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
6577
+ status: z$1.ZodEnum<{
6578
+ active: "active";
6579
+ deprecated: "deprecated";
6580
+ archived: "archived";
6581
+ }>;
6582
+ kind: z$1.ZodLiteral<"agent">;
6583
+ agentKind: z$1.ZodEnum<{
6584
+ orchestrator: "orchestrator";
6585
+ specialist: "specialist";
6586
+ utility: "utility";
6587
+ system: "system";
6588
+ }>;
6589
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
6590
+ sessionCapable: z$1.ZodBoolean;
6591
+ }, z$1.core.$strip>, z$1.ZodObject<{
6592
+ id: z$1.ZodString;
6593
+ systemId: z$1.ZodString;
6594
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
6595
+ status: z$1.ZodEnum<{
6596
+ active: "active";
6597
+ deprecated: "deprecated";
6598
+ archived: "archived";
6599
+ }>;
6600
+ kind: z$1.ZodLiteral<"integration">;
6601
+ provider: z$1.ZodString;
6602
+ }, z$1.core.$strip>], "kind">>>;
6603
+ }, z$1.core.$strip>>;
6156
6604
  statuses: z$1.ZodDefault<z$1.ZodObject<{
6157
6605
  entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6158
6606
  id: z$1.ZodString;
@@ -6213,6 +6661,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
6213
6661
  "knowledge.reference": "knowledge.reference";
6214
6662
  "feature.dashboard": "feature.dashboard";
6215
6663
  "feature.calendar": "feature.calendar";
6664
+ "feature.business": "feature.business";
6216
6665
  "feature.sales": "feature.sales";
6217
6666
  "feature.crm": "feature.crm";
6218
6667
  "feature.finance": "feature.finance";
@@ -6291,8 +6740,8 @@ declare const LinkSchema: z$1.ZodObject<{
6291
6740
  type Link = z$1.infer<typeof LinkSchema>;
6292
6741
 
6293
6742
  declare const ResourceCategorySchema: z$1.ZodEnum<{
6294
- production: "production";
6295
6743
  diagnostic: "diagnostic";
6744
+ production: "production";
6296
6745
  internal: "internal";
6297
6746
  testing: "testing";
6298
6747
  }>;
@@ -6491,13 +6940,18 @@ type APIErrorCode = 'VALIDATION_ERROR' | 'AUTHENTICATION_FAILED' | 'FORBIDDEN' |
6491
6940
  * - API middleware (via requireOrganizationPermission(key))
6492
6941
  * - UI hooks (via useOrganizationPermissions().hasPermission(key))
6493
6942
  *
6494
- * The DB table `org_rol_permissions` mirrors this constant. Reconciliation
6495
- * runs at API boot (insert-or-update only — never auto-delete; see the
6496
- * deletion runbook in the auth-role-system doc -- review/auth-role-system/).
6943
+ * The DB table `org_rol_permissions` mirrors this constant. There is no
6944
+ * runtime reconciler; parity is enforced two ways:
6945
+ * 1. Each migration that adds/removes/modifies a permission must INSERT
6946
+ * (or UPDATE / DELETE) the corresponding `org_rol_permissions` row in
6947
+ * the same transaction.
6948
+ * 2. `apps/api/src/auth/multi-tenancy/__tests__/permissions-catalog-sync.integration.test.ts`
6949
+ * asserts the TS catalog and the DB rows agree; CI fails on drift.
6497
6950
  *
6498
6951
  * Adding a permission:
6499
6952
  * 1. Add an entry below.
6500
- * 2. Add a row to the migration / via reconcilePermissionCatalog at boot.
6953
+ * 2. Add a row to the migration (INSERT INTO org_rol_permissions ...) in
6954
+ * the same transaction as any policies/grants that reference the key.
6501
6955
  * 3. Reference it in RLS / middleware as needed.
6502
6956
  * 4. Optionally grant it to one or more system roles in org_rol_grants.
6503
6957
  *
@@ -6515,12 +6969,14 @@ declare const PERMISSIONS: {
6515
6969
  readonly OPERATIONS_MANAGE: "operations.manage";
6516
6970
  readonly ACQUISITION_MANAGE: "acquisition.manage";
6517
6971
  readonly PROJECTS_MANAGE: "projects.manage";
6972
+ readonly CLIENTS_MANAGE: "clients.manage";
6518
6973
  };
6519
6974
  type PermissionKey = (typeof PERMISSIONS)[keyof typeof PERMISSIONS];
6520
6975
  /**
6521
- * Static metadata for each permission. Mirrored into org_rol_permissions on
6522
- * boot reconciliation. is_org_grantable=false means the permission is reserved
6523
- * to system roles only custom roles cannot include it (privilege-escalation guard).
6976
+ * Static metadata for each permission. Mirrored into org_rol_permissions by
6977
+ * a migration `INSERT` in the same transaction as any change to this catalog.
6978
+ * is_org_grantable=false means the permission is reserved to system roles
6979
+ * only — custom roles cannot include it (privilege-escalation guard).
6524
6980
  */
6525
6981
  interface PermissionDescriptor {
6526
6982
  key: PermissionKey;
@@ -6611,6 +7067,131 @@ declare function getTimeRangeDates(range: TimeRange): TimeRangeDates;
6611
7067
  */
6612
7068
  declare function getTimeRangeLabel(range: TimeRange): string;
6613
7069
 
7070
+ declare const ClientStatusSchema: z$1.ZodEnum<{
7071
+ active: "active";
7072
+ paused: "paused";
7073
+ completed: "completed";
7074
+ onboarding: "onboarding";
7075
+ churned: "churned";
7076
+ }>;
7077
+ declare const ClientResponseSchema: z$1.ZodObject<{
7078
+ id: z$1.ZodString;
7079
+ organizationId: z$1.ZodString;
7080
+ name: z$1.ZodString;
7081
+ status: z$1.ZodEnum<{
7082
+ active: "active";
7083
+ paused: "paused";
7084
+ completed: "completed";
7085
+ onboarding: "onboarding";
7086
+ churned: "churned";
7087
+ }>;
7088
+ sourceDealId: z$1.ZodNullable<z$1.ZodString>;
7089
+ primaryCompanyId: z$1.ZodNullable<z$1.ZodString>;
7090
+ primaryContactId: z$1.ZodNullable<z$1.ZodString>;
7091
+ convertedAt: z$1.ZodNullable<z$1.ZodString>;
7092
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
7093
+ createdAt: z$1.ZodString;
7094
+ updatedAt: z$1.ZodString;
7095
+ }, z$1.core.$strip>;
7096
+ declare const ClientDetailResponseSchema: z$1.ZodObject<{
7097
+ id: z$1.ZodString;
7098
+ organizationId: z$1.ZodString;
7099
+ name: z$1.ZodString;
7100
+ status: z$1.ZodEnum<{
7101
+ active: "active";
7102
+ paused: "paused";
7103
+ completed: "completed";
7104
+ onboarding: "onboarding";
7105
+ churned: "churned";
7106
+ }>;
7107
+ sourceDealId: z$1.ZodNullable<z$1.ZodString>;
7108
+ primaryCompanyId: z$1.ZodNullable<z$1.ZodString>;
7109
+ primaryContactId: z$1.ZodNullable<z$1.ZodString>;
7110
+ convertedAt: z$1.ZodNullable<z$1.ZodString>;
7111
+ metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
7112
+ createdAt: z$1.ZodString;
7113
+ updatedAt: z$1.ZodString;
7114
+ lineage: z$1.ZodObject<{
7115
+ deals: z$1.ZodArray<z$1.ZodObject<{
7116
+ id: z$1.ZodString;
7117
+ contactEmail: z$1.ZodString;
7118
+ stageKey: z$1.ZodNullable<z$1.ZodString>;
7119
+ stateKey: z$1.ZodNullable<z$1.ZodString>;
7120
+ updatedAt: z$1.ZodString;
7121
+ }, z$1.core.$strip>>;
7122
+ projects: z$1.ZodArray<z$1.ZodObject<{
7123
+ id: z$1.ZodString;
7124
+ name: z$1.ZodString;
7125
+ kind: z$1.ZodString;
7126
+ status: z$1.ZodString;
7127
+ updatedAt: z$1.ZodString;
7128
+ }, z$1.core.$strip>>;
7129
+ companies: z$1.ZodArray<z$1.ZodObject<{
7130
+ id: z$1.ZodString;
7131
+ name: z$1.ZodString;
7132
+ domain: z$1.ZodNullable<z$1.ZodString>;
7133
+ status: z$1.ZodString;
7134
+ }, z$1.core.$strip>>;
7135
+ contacts: z$1.ZodArray<z$1.ZodObject<{
7136
+ id: z$1.ZodString;
7137
+ email: z$1.ZodString;
7138
+ firstName: z$1.ZodNullable<z$1.ZodString>;
7139
+ lastName: z$1.ZodNullable<z$1.ZodString>;
7140
+ title: z$1.ZodNullable<z$1.ZodString>;
7141
+ companyId: z$1.ZodNullable<z$1.ZodString>;
7142
+ status: z$1.ZodString;
7143
+ }, z$1.core.$strip>>;
7144
+ }, z$1.core.$strip>;
7145
+ }, z$1.core.$strip>;
7146
+ declare const ClientStatusResponseSchema: z$1.ZodObject<{
7147
+ totalClients: z$1.ZodNumber;
7148
+ byStatus: z$1.ZodRecord<z$1.ZodEnum<{
7149
+ active: "active";
7150
+ paused: "paused";
7151
+ completed: "completed";
7152
+ onboarding: "onboarding";
7153
+ churned: "churned";
7154
+ }>, z$1.ZodNumber>;
7155
+ linkedDeals: z$1.ZodNumber;
7156
+ linkedProjects: z$1.ZodNumber;
7157
+ linkedCompanies: z$1.ZodNumber;
7158
+ linkedContacts: z$1.ZodNumber;
7159
+ }, z$1.core.$strip>;
7160
+ declare const CreateClientRequestSchema: z$1.ZodObject<{
7161
+ name: z$1.ZodString;
7162
+ status: z$1.ZodOptional<z$1.ZodEnum<{
7163
+ active: "active";
7164
+ paused: "paused";
7165
+ completed: "completed";
7166
+ onboarding: "onboarding";
7167
+ churned: "churned";
7168
+ }>>;
7169
+ sourceDealId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
7170
+ primaryCompanyId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
7171
+ primaryContactId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
7172
+ metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
7173
+ }, z$1.core.$strict>;
7174
+ declare const UpdateClientRequestSchema: z$1.ZodObject<{
7175
+ name: z$1.ZodOptional<z$1.ZodString>;
7176
+ status: z$1.ZodOptional<z$1.ZodEnum<{
7177
+ active: "active";
7178
+ paused: "paused";
7179
+ completed: "completed";
7180
+ onboarding: "onboarding";
7181
+ churned: "churned";
7182
+ }>>;
7183
+ sourceDealId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
7184
+ primaryCompanyId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
7185
+ primaryContactId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
7186
+ metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
7187
+ }, z$1.core.$strict>;
7188
+ type ClientStatus = z$1.infer<typeof ClientStatusSchema>;
7189
+ type ClientResponse = z$1.infer<typeof ClientResponseSchema>;
7190
+ type ClientDetailResponse = z$1.infer<typeof ClientDetailResponseSchema>;
7191
+ type ClientStatusResponse = z$1.infer<typeof ClientStatusResponseSchema>;
7192
+ type CreateClientRequest = z$1.infer<typeof CreateClientRequestSchema>;
7193
+ type UpdateClientRequest = z$1.infer<typeof UpdateClientRequestSchema>;
7194
+
6614
7195
  /**
6615
7196
  * GET /api/credentials - List credentials
6616
7197
  */
@@ -6867,12 +7448,18 @@ interface ElevasisCoreProviderProps {
6867
7448
  */
6868
7449
  interface ElevasisServiceContextValue {
6869
7450
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
7451
+ /** Organization ID alias retained for existing query-key consumers. */
6870
7452
  organizationId: string | null;
7453
+ /** WorkOS `org_xxx` string for the current organization. */
7454
+ workOSOrganizationId: string | null;
6871
7455
  isReady: boolean;
6872
7456
  }
6873
7457
  interface ElevasisServiceProviderProps {
6874
7458
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
6875
- organizationId: string | null;
7459
+ /** Organization ID alias retained for existing query-key consumers. */
7460
+ organizationId?: string | null;
7461
+ /** WorkOS `org_xxx` string for the current organization. */
7462
+ workOSOrganizationId?: string | null;
6876
7463
  isReady: boolean;
6877
7464
  children: ReactNode;
6878
7465
  }
@@ -7987,7 +8574,7 @@ declare function useAppearance(): Required<AppearanceConfig>;
7987
8574
 
7988
8575
  /**
7989
8576
  * Hook to access the ElevasisServiceProvider context.
7990
- * Provides apiRequest, organizationId, and isReady.
8577
+ * Provides apiRequest, workOSOrganizationId, and isReady.
7991
8578
  *
7992
8579
  * Throws if used outside of an ElevasisServiceProvider or ElevasisUIProvider (with apiUrl).
7993
8580
  */
@@ -8000,19 +8587,19 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
8000
8587
  *
8001
8588
  * @example Testing
8002
8589
  * ```tsx
8003
- * <ElevasisServiceProvider apiRequest={mockApiRequest} organizationId="org-1" isReady={true}>
8590
+ * <ElevasisServiceProvider apiRequest={mockApiRequest} workOSOrganizationId="org-1" isReady={true}>
8004
8591
  * <ComponentUnderTest />
8005
8592
  * </ElevasisServiceProvider>
8006
8593
  * ```
8007
8594
  *
8008
8595
  * @example Embedding
8009
8596
  * ```tsx
8010
- * <ElevasisServiceProvider apiRequest={myFetcher} organizationId={orgId} isReady={!!orgId}>
8597
+ * <ElevasisServiceProvider apiRequest={myFetcher} workOSOrganizationId={orgId} isReady={!!orgId}>
8011
8598
  * <CommandQueuePanel />
8012
8599
  * </ElevasisServiceProvider>
8013
8600
  * ```
8014
8601
  */
8015
- declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
8602
+ declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
8016
8603
 
8017
8604
  /**
8018
8605
  * Mantine-specific theme config — extends the headless core config with
@@ -8079,6 +8666,14 @@ declare const executionsKeys: {
8079
8666
  */
8080
8667
  declare function useExecutions(resourceId: string, resourceStatus?: ResourceStatus | 'all', limit?: number, offset?: number): _tanstack_react_query.UseQueryResult<APIExecutionListResponse, Error>;
8081
8668
 
8669
+ interface UseInFlightExecutionsOptions {
8670
+ enabled?: boolean;
8671
+ refetchInterval?: number | false;
8672
+ limit?: number;
8673
+ offset?: number;
8674
+ }
8675
+ declare function useInFlightExecutions(resourceId: string, options?: UseInFlightExecutionsOptions): _tanstack_react_query.UseQueryResult<APIExecutionListResponse, Error>;
8676
+
8082
8677
  /**
8083
8678
  * Fetch a single execution detail.
8084
8679
  * Automatically polls every 2 seconds while the execution status is 'running'.
@@ -9561,6 +10156,136 @@ declare function useUpdateRequestStatus(): _tanstack_react_query.UseMutationResu
9561
10156
 
9562
10157
  declare function useDeleteRequest(): _tanstack_react_query.UseMutationResult<string, Error, string, unknown>;
9563
10158
 
10159
+ interface ClientsListFilters {
10160
+ status?: ClientStatus;
10161
+ search?: string;
10162
+ limit?: number;
10163
+ offset?: number;
10164
+ }
10165
+ declare const clientsKeys: {
10166
+ all: readonly ["clients"];
10167
+ lists: () => readonly ["clients", "list"];
10168
+ list: (organizationId: string | null | undefined, filters: ClientsListFilters) => readonly ["clients", "list", string | null | undefined, ClientsListFilters];
10169
+ statuses: () => readonly ["clients", "status"];
10170
+ status: (organizationId: string | null | undefined) => readonly ["clients", "status", string | null | undefined];
10171
+ details: () => readonly ["clients", "detail"];
10172
+ detail: (organizationId: string | null | undefined, id: string | undefined) => readonly ["clients", "detail", string | null | undefined, string | undefined];
10173
+ };
10174
+
10175
+ declare function useClients(filters?: ClientsListFilters): _tanstack_react_query.UseQueryResult<{
10176
+ data: {
10177
+ id: string;
10178
+ organizationId: string;
10179
+ name: string;
10180
+ status: "active" | "paused" | "completed" | "onboarding" | "churned";
10181
+ sourceDealId: string | null;
10182
+ primaryCompanyId: string | null;
10183
+ primaryContactId: string | null;
10184
+ convertedAt: string | null;
10185
+ metadata: Record<string, unknown>;
10186
+ createdAt: string;
10187
+ updatedAt: string;
10188
+ }[];
10189
+ total: number;
10190
+ limit: number;
10191
+ offset: number;
10192
+ }, Error>;
10193
+
10194
+ declare function useClientStatus(): _tanstack_react_query.UseQueryResult<{
10195
+ totalClients: number;
10196
+ byStatus: Record<"active" | "paused" | "completed" | "onboarding" | "churned", number>;
10197
+ linkedDeals: number;
10198
+ linkedProjects: number;
10199
+ linkedCompanies: number;
10200
+ linkedContacts: number;
10201
+ }, Error>;
10202
+
10203
+ declare function useClient(clientId: string | undefined): _tanstack_react_query.UseQueryResult<{
10204
+ id: string;
10205
+ organizationId: string;
10206
+ name: string;
10207
+ status: "active" | "paused" | "completed" | "onboarding" | "churned";
10208
+ sourceDealId: string | null;
10209
+ primaryCompanyId: string | null;
10210
+ primaryContactId: string | null;
10211
+ convertedAt: string | null;
10212
+ metadata: Record<string, unknown>;
10213
+ createdAt: string;
10214
+ updatedAt: string;
10215
+ lineage: {
10216
+ deals: {
10217
+ id: string;
10218
+ contactEmail: string;
10219
+ stageKey: string | null;
10220
+ stateKey: string | null;
10221
+ updatedAt: string;
10222
+ }[];
10223
+ projects: {
10224
+ id: string;
10225
+ name: string;
10226
+ kind: string;
10227
+ status: string;
10228
+ updatedAt: string;
10229
+ }[];
10230
+ companies: {
10231
+ id: string;
10232
+ name: string;
10233
+ domain: string | null;
10234
+ status: string;
10235
+ }[];
10236
+ contacts: {
10237
+ id: string;
10238
+ email: string;
10239
+ firstName: string | null;
10240
+ lastName: string | null;
10241
+ title: string | null;
10242
+ companyId: string | null;
10243
+ status: string;
10244
+ }[];
10245
+ };
10246
+ }, Error>;
10247
+
10248
+ declare function useCreateClient(): _tanstack_react_query.UseMutationResult<{
10249
+ id: string;
10250
+ organizationId: string;
10251
+ name: string;
10252
+ status: "active" | "paused" | "completed" | "onboarding" | "churned";
10253
+ sourceDealId: string | null;
10254
+ primaryCompanyId: string | null;
10255
+ primaryContactId: string | null;
10256
+ convertedAt: string | null;
10257
+ metadata: Record<string, unknown>;
10258
+ createdAt: string;
10259
+ updatedAt: string;
10260
+ }, Error, {
10261
+ name: string;
10262
+ status?: "active" | "paused" | "completed" | "onboarding" | "churned" | undefined;
10263
+ sourceDealId?: string | null | undefined;
10264
+ primaryCompanyId?: string | null | undefined;
10265
+ primaryContactId?: string | null | undefined;
10266
+ metadata?: Record<string, unknown> | null | undefined;
10267
+ }, unknown>;
10268
+
10269
+ interface UpdateClientParams {
10270
+ clientId: string;
10271
+ updates: UpdateClientRequest;
10272
+ }
10273
+ declare function useUpdateClient(): _tanstack_react_query.UseMutationResult<{
10274
+ id: string;
10275
+ organizationId: string;
10276
+ name: string;
10277
+ status: "active" | "paused" | "completed" | "onboarding" | "churned";
10278
+ sourceDealId: string | null;
10279
+ primaryCompanyId: string | null;
10280
+ primaryContactId: string | null;
10281
+ convertedAt: string | null;
10282
+ metadata: Record<string, unknown>;
10283
+ createdAt: string;
10284
+ updatedAt: string;
10285
+ }, Error, UpdateClientParams, unknown>;
10286
+
10287
+ declare function useDeleteClient(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
10288
+
9564
10289
  /**
9565
10290
  * Query key factories for Operations TanStack Query hooks.
9566
10291
  *
@@ -9666,7 +10391,7 @@ interface UseCommandViewStatsOptions {
9666
10391
  */
9667
10392
  declare function useCommandViewStats(timeRange?: StatsTimeRange, options?: UseCommandViewStatsOptions): _tanstack_react_query.UseQueryResult<CommandViewStatsResponse, Error>;
9668
10393
 
9669
- type CommandViewVisualizationMode = 'cluster' | 'swimlane' | 'focus' | 'network' | 'spatial';
10394
+ type CommandViewVisualizationMode = 'cluster' | 'swimlane' | 'focus' | 'network' | 'force' | 'explore';
9670
10395
 
9671
10396
  type StatusFilter$1 = ResourceStatus | 'all';
9672
10397
 
@@ -9679,6 +10404,16 @@ interface CommandViewStore {
9679
10404
  setFitViewOnFilter: (v: boolean) => void;
9680
10405
  visualizationMode: CommandViewVisualizationMode;
9681
10406
  setVisualizationMode: (v: CommandViewVisualizationMode) => void;
10407
+ /**
10408
+ * The last visualization mode the user explicitly selected via setVisualizationMode.
10409
+ * Null for brand-new sessions that have never called setVisualizationMode.
10410
+ * Persisted so returning users can be confirmed to have a stored preference.
10411
+ * Wave 5 tests assert against this field for default-mode observability.
10412
+ */
10413
+ lastUsedVisualizationMode: CommandViewVisualizationMode | null;
10414
+ /** Last bottom-panel tab the user opened; null means the panel is collapsed. Persisted. */
10415
+ lastOpenBottomTab: string | null;
10416
+ setLastOpenBottomTab: (tab: string | null) => void;
9682
10417
  selectedNodeId: string | null;
9683
10418
  setSelectedNodeId: (id: string | null) => void;
9684
10419
  resourcesHidden: boolean;
@@ -9692,13 +10427,41 @@ interface CommandViewStore {
9692
10427
  hasVisibilityInteraction: boolean;
9693
10428
  markVisibilityInteraction: () => void;
9694
10429
  resetVisibilityInteraction: () => void;
10430
+ /**
10431
+ * Domains whose member nodes are currently expanded in Cluster mode.
10432
+ * Stored as an array of strings (not Set) for Zustand persist serialization.
10433
+ * Default is [] — all domains start collapsed (domain-card view).
10434
+ * Persisted to localStorage.
10435
+ */
10436
+ expandedClusterDomains: string[];
10437
+ toggleClusterDomain: (domain: string) => void;
10438
+ setExpandedClusterDomains: (domains: string[]) => void;
10439
+ /**
10440
+ * Node IDs currently expanded in Explore mode.
10441
+ * Stored as an array of strings for Zustand persist serialization.
10442
+ * Derived Set is expandedNodeIds. Not persisted (reset on reload).
10443
+ * Same-parent sibling auto-collapse applies on toggleNodeExpansion.
10444
+ */
10445
+ expandedNodeIdsArray: string[];
10446
+ /** Derived Set view of expandedNodeIdsArray — convenient for callers that need Set semantics. */
10447
+ expandedNodeIds: Set<string>;
10448
+ toggleNodeExpansion: (nodeId: string) => void;
10449
+ clearExpandedNodes: () => void;
9695
10450
  }
9696
10451
  /**
9697
10452
  * Shared store for Command View filter/settings state.
9698
10453
  * Allows CommandViewPage (graph) and CommandViewSidebarContent (sidebar) to share state.
9699
10454
  *
9700
- * Persisted to localStorage: showIntegrations, fitViewOnFilter, resource/diagnostic visibility preferences.
10455
+ * Persisted to localStorage: showIntegrations, fitViewOnFilter, visualizationMode,
10456
+ * lastUsedVisualizationMode, resource/diagnostic visibility preferences.
9701
10457
  * Not persisted (reset on reload): statusFilter, selectedNodeId, revealedIds, CTA interaction state.
10458
+ *
10459
+ * Default-mode logic:
10460
+ * - New sessions (no localStorage entry): visualizationMode initializes to 'explore'.
10461
+ * - Returning sessions: persist middleware merges stored visualizationMode over the initial value,
10462
+ * so the user lands on whatever mode they last used. lastUsedVisualizationMode provides an
10463
+ * explicit observable for this preference (Wave 5 test assertions).
10464
+ * - VALID_VISUALIZATION_MODES guards against stale localStorage values from old mode names.
9702
10465
  */
9703
10466
  declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<CommandViewStore>, "setState" | "persist"> & {
9704
10467
  setState(partial: CommandViewStore | Partial<CommandViewStore> | ((state: CommandViewStore) => CommandViewStore | Partial<CommandViewStore>), replace?: false | undefined): unknown;
@@ -9708,8 +10471,11 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
9708
10471
  showIntegrations: boolean;
9709
10472
  fitViewOnFilter: boolean;
9710
10473
  visualizationMode: CommandViewVisualizationMode;
10474
+ lastUsedVisualizationMode: CommandViewVisualizationMode | null;
9711
10475
  resourcesHidden: boolean;
9712
10476
  diagnosticsHidden: boolean;
10477
+ lastOpenBottomTab: string | null;
10478
+ expandedClusterDomains: string[];
9713
10479
  }, unknown>>) => void;
9714
10480
  clearStorage: () => void;
9715
10481
  rehydrate: () => Promise<void> | void;
@@ -9720,8 +10486,11 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
9720
10486
  showIntegrations: boolean;
9721
10487
  fitViewOnFilter: boolean;
9722
10488
  visualizationMode: CommandViewVisualizationMode;
10489
+ lastUsedVisualizationMode: CommandViewVisualizationMode | null;
9723
10490
  resourcesHidden: boolean;
9724
10491
  diagnosticsHidden: boolean;
10492
+ lastOpenBottomTab: string | null;
10493
+ expandedClusterDomains: string[];
9725
10494
  }, unknown>>;
9726
10495
  };
9727
10496
  }>;
@@ -9930,6 +10699,7 @@ declare function useDeals(filters?: DealFilters): {
9930
10699
  num_employees: number | null;
9931
10700
  } | null;
9932
10701
  } | null;
10702
+ client_id?: string | null | undefined;
9933
10703
  }[];
9934
10704
  total: number;
9935
10705
  limit: number;
@@ -9998,6 +10768,7 @@ declare function useDeals(filters?: DealFilters): {
9998
10768
  num_employees: number | null;
9999
10769
  } | null;
10000
10770
  } | null;
10771
+ client_id?: string | null | undefined;
10001
10772
  }[];
10002
10773
  total: number;
10003
10774
  limit: number;
@@ -10149,12 +10920,23 @@ declare const acquisitionListKeys: {
10149
10920
  detail: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", string | null, string];
10150
10921
  telemetry: (organizationId: string | null) => readonly ["acquisition-lists", "telemetry", string | null];
10151
10922
  progress: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "progress", string | null, string];
10923
+ records: (organizationId: string | null, listId: string, filters: ListRecordsFilters) => readonly ["acquisition-lists", "records", string | null, string, "company" | "contact", string | null, number | null, number | null];
10152
10924
  executions: (organizationId: string | null, listId: string, filters?: ListExecutionsFilters) => readonly ["acquisition-lists", "executions", string | null, string, string | null, number | null];
10153
10925
  };
10926
+ interface ListRecordsFilters {
10927
+ entity: ListRecordEntity;
10928
+ stage?: string | null;
10929
+ limit?: number;
10930
+ offset?: number;
10931
+ }
10154
10932
  interface ListExecutionsFilters {
10155
10933
  resourceId?: string | null;
10156
10934
  limit?: number;
10157
10935
  }
10936
+ interface UseListProgressOptions {
10937
+ enabled?: boolean;
10938
+ refetchInterval?: number | false;
10939
+ }
10158
10940
  declare function useLists(): _tanstack_react_query.UseQueryResult<{
10159
10941
  id: string;
10160
10942
  organizationId: string;
@@ -10162,7 +10944,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
10162
10944
  description: string | null;
10163
10945
  batchIds: string[];
10164
10946
  instantlyCampaignId: string | null;
10165
- status: "closing" | "draft" | "enriching" | "launched" | "archived";
10947
+ status: "closing" | "archived" | "draft" | "enriching" | "launched";
10166
10948
  metadata: {
10167
10949
  [x: string]: unknown;
10168
10950
  buildPlanSnapshot?: {
@@ -10179,7 +10961,38 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
10179
10961
  defaultBatchSize: number;
10180
10962
  maxBatchSize: number;
10181
10963
  description?: string | undefined;
10964
+ recordEntity?: "company" | "contact" | undefined;
10965
+ recordsStageKey?: string | undefined;
10966
+ recordSourceStageKey?: string | undefined;
10182
10967
  dependsOn?: string[] | undefined;
10968
+ recordColumns?: {
10969
+ company?: {
10970
+ key: string;
10971
+ label: string;
10972
+ path: string;
10973
+ width?: string | number | undefined;
10974
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
10975
+ badgeColor?: string | undefined;
10976
+ }[] | undefined;
10977
+ contact?: {
10978
+ key: string;
10979
+ label: string;
10980
+ path: string;
10981
+ width?: string | number | undefined;
10982
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
10983
+ badgeColor?: string | undefined;
10984
+ }[] | undefined;
10985
+ } | undefined;
10986
+ credentialRequirements?: {
10987
+ key: string;
10988
+ provider: string;
10989
+ credentialType: "api-key" | "api-key-secret" | "oauth" | "webhook-secret";
10990
+ label: string;
10991
+ required: boolean;
10992
+ inputPath: string;
10993
+ selectionMode?: "single" | "multiple" | undefined;
10994
+ verifyOnRun?: boolean | undefined;
10995
+ }[] | undefined;
10183
10996
  }[];
10184
10997
  } | undefined;
10185
10998
  };
@@ -10216,7 +11029,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
10216
11029
  description: string | null;
10217
11030
  batchIds: string[];
10218
11031
  instantlyCampaignId: string | null;
10219
- status: "closing" | "draft" | "enriching" | "launched" | "archived";
11032
+ status: "closing" | "archived" | "draft" | "enriching" | "launched";
10220
11033
  metadata: {
10221
11034
  [x: string]: unknown;
10222
11035
  buildPlanSnapshot?: {
@@ -10233,7 +11046,38 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
10233
11046
  defaultBatchSize: number;
10234
11047
  maxBatchSize: number;
10235
11048
  description?: string | undefined;
11049
+ recordEntity?: "company" | "contact" | undefined;
11050
+ recordsStageKey?: string | undefined;
11051
+ recordSourceStageKey?: string | undefined;
10236
11052
  dependsOn?: string[] | undefined;
11053
+ recordColumns?: {
11054
+ company?: {
11055
+ key: string;
11056
+ label: string;
11057
+ path: string;
11058
+ width?: string | number | undefined;
11059
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11060
+ badgeColor?: string | undefined;
11061
+ }[] | undefined;
11062
+ contact?: {
11063
+ key: string;
11064
+ label: string;
11065
+ path: string;
11066
+ width?: string | number | undefined;
11067
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11068
+ badgeColor?: string | undefined;
11069
+ }[] | undefined;
11070
+ } | undefined;
11071
+ credentialRequirements?: {
11072
+ key: string;
11073
+ provider: string;
11074
+ credentialType: "api-key" | "api-key-secret" | "oauth" | "webhook-secret";
11075
+ label: string;
11076
+ required: boolean;
11077
+ inputPath: string;
11078
+ selectionMode?: "single" | "multiple" | undefined;
11079
+ verifyOnRun?: boolean | undefined;
11080
+ }[] | undefined;
10237
11081
  }[];
10238
11082
  } | undefined;
10239
11083
  };
@@ -10264,7 +11108,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
10264
11108
  };
10265
11109
  }, Error>;
10266
11110
  declare function useListsTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
10267
- declare function useListProgress(listId: string): _tanstack_react_query.UseQueryResult<{
11111
+ declare function useListProgress(listId: string, options?: UseListProgressOptions): _tanstack_react_query.UseQueryResult<{
10268
11112
  totalMembers: number;
10269
11113
  totalCompanies: number;
10270
11114
  byCompanyStage: Record<string, {
@@ -10288,6 +11132,71 @@ declare function useListProgress(listId: string): _tanstack_react_query.UseQuery
10288
11132
  notAttempted: number;
10289
11133
  }>;
10290
11134
  }, Error>;
11135
+ declare function useListRecords(listId: string, filters: ListRecordsFilters): _tanstack_react_query.UseQueryResult<{
11136
+ data: ({
11137
+ id: string;
11138
+ listId: string;
11139
+ pipelineKey: string;
11140
+ stageKey: string;
11141
+ stateKey: string;
11142
+ activityLog: unknown;
11143
+ addedAt: string;
11144
+ addedBy: string | null;
11145
+ sourceExecutionId: string | null;
11146
+ processingState: Record<string, unknown> | null;
11147
+ enrichmentData: Record<string, unknown> | null;
11148
+ entity: "company";
11149
+ companyId: string;
11150
+ company: {
11151
+ id: string;
11152
+ name: string;
11153
+ domain: string | null;
11154
+ website: string | null;
11155
+ linkedinUrl: string | null;
11156
+ numEmployees: number | null;
11157
+ foundedYear: number | null;
11158
+ locationCity: string | null;
11159
+ locationState: string | null;
11160
+ category: string | null;
11161
+ segment: string | null;
11162
+ status: "active" | "invalid";
11163
+ qualificationScore: number | null;
11164
+ qualificationSignals: Record<string, unknown> | null;
11165
+ qualificationRubricKey: string | null;
11166
+ } | null;
11167
+ } | {
11168
+ id: string;
11169
+ listId: string;
11170
+ pipelineKey: string;
11171
+ stageKey: string;
11172
+ stateKey: string;
11173
+ activityLog: unknown;
11174
+ addedAt: string;
11175
+ addedBy: string | null;
11176
+ sourceExecutionId: string | null;
11177
+ processingState: Record<string, unknown> | null;
11178
+ enrichmentData: Record<string, unknown> | null;
11179
+ entity: "contact";
11180
+ contactId: string;
11181
+ contact: {
11182
+ id: string;
11183
+ email: string;
11184
+ firstName: string | null;
11185
+ lastName: string | null;
11186
+ title: string | null;
11187
+ headline: string | null;
11188
+ linkedinUrl: string | null;
11189
+ companyId: string | null;
11190
+ status: "active" | "invalid";
11191
+ qualificationScore: number | null;
11192
+ qualificationSignals: Record<string, unknown> | null;
11193
+ qualificationRubricKey: string | null;
11194
+ } | null;
11195
+ })[];
11196
+ total: number;
11197
+ limit: number;
11198
+ offset: number;
11199
+ }, Error>;
10291
11200
  declare function useListExecutions(listId: string, filters?: ListExecutionsFilters): _tanstack_react_query.UseQueryResult<{
10292
11201
  executionId: string;
10293
11202
  resourceId: string;
@@ -10304,7 +11213,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
10304
11213
  description: string | null;
10305
11214
  batchIds: string[];
10306
11215
  instantlyCampaignId: string | null;
10307
- status: "closing" | "draft" | "enriching" | "launched" | "archived";
11216
+ status: "closing" | "archived" | "draft" | "enriching" | "launched";
10308
11217
  metadata: {
10309
11218
  [x: string]: unknown;
10310
11219
  buildPlanSnapshot?: {
@@ -10321,7 +11230,38 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
10321
11230
  defaultBatchSize: number;
10322
11231
  maxBatchSize: number;
10323
11232
  description?: string | undefined;
11233
+ recordEntity?: "company" | "contact" | undefined;
11234
+ recordsStageKey?: string | undefined;
11235
+ recordSourceStageKey?: string | undefined;
10324
11236
  dependsOn?: string[] | undefined;
11237
+ recordColumns?: {
11238
+ company?: {
11239
+ key: string;
11240
+ label: string;
11241
+ path: string;
11242
+ width?: string | number | undefined;
11243
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11244
+ badgeColor?: string | undefined;
11245
+ }[] | undefined;
11246
+ contact?: {
11247
+ key: string;
11248
+ label: string;
11249
+ path: string;
11250
+ width?: string | number | undefined;
11251
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11252
+ badgeColor?: string | undefined;
11253
+ }[] | undefined;
11254
+ } | undefined;
11255
+ credentialRequirements?: {
11256
+ key: string;
11257
+ provider: string;
11258
+ credentialType: "api-key" | "api-key-secret" | "oauth" | "webhook-secret";
11259
+ label: string;
11260
+ required: boolean;
11261
+ inputPath: string;
11262
+ selectionMode?: "single" | "multiple" | undefined;
11263
+ verifyOnRun?: boolean | undefined;
11264
+ }[] | undefined;
10325
11265
  }[];
10326
11266
  } | undefined;
10327
11267
  };
@@ -10353,7 +11293,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
10353
11293
  }, Error, {
10354
11294
  name: string;
10355
11295
  description?: string | null | undefined;
10356
- status?: "closing" | "draft" | "enriching" | "launched" | "archived" | undefined;
11296
+ status?: "closing" | "archived" | "draft" | "enriching" | "launched" | undefined;
10357
11297
  buildTemplateId?: string | undefined;
10358
11298
  scrapingConfig?: {
10359
11299
  vertical?: string | undefined;
@@ -10385,7 +11325,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
10385
11325
  description: string | null;
10386
11326
  batchIds: string[];
10387
11327
  instantlyCampaignId: string | null;
10388
- status: "closing" | "draft" | "enriching" | "launched" | "archived";
11328
+ status: "closing" | "archived" | "draft" | "enriching" | "launched";
10389
11329
  metadata: {
10390
11330
  [x: string]: unknown;
10391
11331
  buildPlanSnapshot?: {
@@ -10402,7 +11342,38 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
10402
11342
  defaultBatchSize: number;
10403
11343
  maxBatchSize: number;
10404
11344
  description?: string | undefined;
11345
+ recordEntity?: "company" | "contact" | undefined;
11346
+ recordsStageKey?: string | undefined;
11347
+ recordSourceStageKey?: string | undefined;
10405
11348
  dependsOn?: string[] | undefined;
11349
+ recordColumns?: {
11350
+ company?: {
11351
+ key: string;
11352
+ label: string;
11353
+ path: string;
11354
+ width?: string | number | undefined;
11355
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11356
+ badgeColor?: string | undefined;
11357
+ }[] | undefined;
11358
+ contact?: {
11359
+ key: string;
11360
+ label: string;
11361
+ path: string;
11362
+ width?: string | number | undefined;
11363
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11364
+ badgeColor?: string | undefined;
11365
+ }[] | undefined;
11366
+ } | undefined;
11367
+ credentialRequirements?: {
11368
+ key: string;
11369
+ provider: string;
11370
+ credentialType: "api-key" | "api-key-secret" | "oauth" | "webhook-secret";
11371
+ label: string;
11372
+ required: boolean;
11373
+ inputPath: string;
11374
+ selectionMode?: "single" | "multiple" | undefined;
11375
+ verifyOnRun?: boolean | undefined;
11376
+ }[] | undefined;
10406
11377
  }[];
10407
11378
  } | undefined;
10408
11379
  };
@@ -10445,7 +11416,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
10445
11416
  description: string | null;
10446
11417
  batchIds: string[];
10447
11418
  instantlyCampaignId: string | null;
10448
- status: "closing" | "draft" | "enriching" | "launched" | "archived";
11419
+ status: "closing" | "archived" | "draft" | "enriching" | "launched";
10449
11420
  metadata: {
10450
11421
  [x: string]: unknown;
10451
11422
  buildPlanSnapshot?: {
@@ -10462,7 +11433,38 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
10462
11433
  defaultBatchSize: number;
10463
11434
  maxBatchSize: number;
10464
11435
  description?: string | undefined;
11436
+ recordEntity?: "company" | "contact" | undefined;
11437
+ recordsStageKey?: string | undefined;
11438
+ recordSourceStageKey?: string | undefined;
10465
11439
  dependsOn?: string[] | undefined;
11440
+ recordColumns?: {
11441
+ company?: {
11442
+ key: string;
11443
+ label: string;
11444
+ path: string;
11445
+ width?: string | number | undefined;
11446
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11447
+ badgeColor?: string | undefined;
11448
+ }[] | undefined;
11449
+ contact?: {
11450
+ key: string;
11451
+ label: string;
11452
+ path: string;
11453
+ width?: string | number | undefined;
11454
+ renderType?: "text" | "badge" | "datetime" | "count" | "json" | undefined;
11455
+ badgeColor?: string | undefined;
11456
+ }[] | undefined;
11457
+ } | undefined;
11458
+ credentialRequirements?: {
11459
+ key: string;
11460
+ provider: string;
11461
+ credentialType: "api-key" | "api-key-secret" | "oauth" | "webhook-secret";
11462
+ label: string;
11463
+ required: boolean;
11464
+ inputPath: string;
11465
+ selectionMode?: "single" | "multiple" | undefined;
11466
+ verifyOnRun?: boolean | undefined;
11467
+ }[] | undefined;
10466
11468
  }[];
10467
11469
  } | undefined;
10468
11470
  };
@@ -10598,6 +11600,7 @@ declare function useCompanies(filters?: Partial<ListCompaniesQuery>): _tanstack_
10598
11600
  verticalResearch: string | null;
10599
11601
  createdAt: string;
10600
11602
  updatedAt: string;
11603
+ clientId?: string | null | undefined;
10601
11604
  pipelineStatus?: unknown;
10602
11605
  }[];
10603
11606
  total: number;
@@ -10632,6 +11635,7 @@ declare function useCompany(companyId: string): _tanstack_react_query.UseQueryRe
10632
11635
  verticalResearch: string | null;
10633
11636
  createdAt: string;
10634
11637
  updatedAt: string;
11638
+ clientId?: string | null | undefined;
10635
11639
  pipelineStatus?: unknown;
10636
11640
  } | null, Error>;
10637
11641
  declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
@@ -10661,9 +11665,11 @@ declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
10661
11665
  verticalResearch: string | null;
10662
11666
  createdAt: string;
10663
11667
  updatedAt: string;
11668
+ clientId?: string | null | undefined;
10664
11669
  pipelineStatus?: unknown;
10665
11670
  }, Error, {
10666
11671
  name: string;
11672
+ clientId?: string | null | undefined;
10667
11673
  domain?: string | undefined;
10668
11674
  linkedinUrl?: string | undefined;
10669
11675
  website?: string | undefined;
@@ -10704,9 +11710,11 @@ declare function useUpdateCompany(companyId: string): _tanstack_react_query.UseM
10704
11710
  verticalResearch: string | null;
10705
11711
  createdAt: string;
10706
11712
  updatedAt: string;
11713
+ clientId?: string | null | undefined;
10707
11714
  pipelineStatus?: unknown;
10708
11715
  }, Error, {
10709
11716
  name?: string | undefined;
11717
+ clientId?: string | null | undefined;
10710
11718
  domain?: string | undefined;
10711
11719
  linkedinUrl?: string | undefined;
10712
11720
  website?: string | undefined;
@@ -10771,6 +11779,7 @@ declare function useContacts(filters?: Partial<ListContactsQuery>): _tanstack_re
10771
11779
  status: "active" | "invalid";
10772
11780
  createdAt: string;
10773
11781
  updatedAt: string;
11782
+ clientId?: string | null | undefined;
10774
11783
  pipelineStatus?: unknown;
10775
11784
  company?: {
10776
11785
  id: string;
@@ -10813,6 +11822,7 @@ declare function useContact(contactId: string): _tanstack_react_query.UseQueryRe
10813
11822
  status: "active" | "invalid";
10814
11823
  createdAt: string;
10815
11824
  updatedAt: string;
11825
+ clientId?: string | null | undefined;
10816
11826
  pipelineStatus?: unknown;
10817
11827
  company?: {
10818
11828
  id: string;
@@ -10851,6 +11861,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
10851
11861
  status: "active" | "invalid";
10852
11862
  createdAt: string;
10853
11863
  updatedAt: string;
11864
+ clientId?: string | null | undefined;
10854
11865
  pipelineStatus?: unknown;
10855
11866
  company?: {
10856
11867
  id: string;
@@ -10864,6 +11875,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
10864
11875
  } | null | undefined;
10865
11876
  }, Error, {
10866
11877
  email: string;
11878
+ clientId?: string | null | undefined;
10867
11879
  companyId?: string | undefined;
10868
11880
  firstName?: string | undefined;
10869
11881
  lastName?: string | undefined;
@@ -10900,6 +11912,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
10900
11912
  status: "active" | "invalid";
10901
11913
  createdAt: string;
10902
11914
  updatedAt: string;
11915
+ clientId?: string | null | undefined;
10903
11916
  pipelineStatus?: unknown;
10904
11917
  company?: {
10905
11918
  id: string;
@@ -10913,6 +11926,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
10913
11926
  } | null | undefined;
10914
11927
  }, Error, {
10915
11928
  companyId?: string | undefined;
11929
+ clientId?: string | null | undefined;
10916
11930
  emailValid?: "VALID" | "INVALID" | "RISKY" | "UNKNOWN" | undefined;
10917
11931
  firstName?: string | undefined;
10918
11932
  lastName?: string | undefined;
@@ -11151,6 +12165,13 @@ interface CreateCredentialResponse {
11151
12165
  interface ListCredentialsResponse {
11152
12166
  credentials: CredentialListItem[];
11153
12167
  }
12168
+ interface VerifyCredentialResponse {
12169
+ ok: boolean;
12170
+ provider: string;
12171
+ checkedAt: string;
12172
+ message?: string;
12173
+ details?: Record<string, unknown>;
12174
+ }
11154
12175
  type ApiRequest$2 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
11155
12176
  declare class CredentialService {
11156
12177
  private apiRequest;
@@ -11178,6 +12199,10 @@ declare class CredentialService {
11178
12199
  * Organization context is provided via workos-organization-id header
11179
12200
  */
11180
12201
  deleteCredential(credentialId: string): Promise<void>;
12202
+ /**
12203
+ * Verify a credential server-side without exposing secret material
12204
+ */
12205
+ verifyCredential(credentialId: string): Promise<VerifyCredentialResponse>;
11181
12206
  }
11182
12207
 
11183
12208
  declare function useCredentials(): _tanstack_react_query.UseQueryResult<{
@@ -11187,6 +12212,7 @@ declare function useCredentials(): _tanstack_react_query.UseQueryResult<{
11187
12212
  provider: string | null;
11188
12213
  createdAt: string;
11189
12214
  }[], Error>;
12215
+ declare function useVerifyCredential(): _tanstack_react_query.UseMutationResult<VerifyCredentialResponse, Error, string, unknown>;
11190
12216
 
11191
12217
  declare function useCreateCredential(): _tanstack_react_query.UseMutationResult<CreateCredentialResponse, Error, CreateCredentialRequest, unknown>;
11192
12218
 
@@ -11676,6 +12702,7 @@ declare function useProjectTasks(projectId: string): _tanstack_react_query.UseQu
11676
12702
  declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
11677
12703
  actual_end_date: string | null;
11678
12704
  client_company_id: string | null;
12705
+ client_id: string | null;
11679
12706
  contract_value: number | null;
11680
12707
  created_at: string;
11681
12708
  deal_id: string | null;
@@ -11692,6 +12719,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
11692
12719
  }, Error, Omit<{
11693
12720
  actual_end_date?: string | null;
11694
12721
  client_company_id?: string | null;
12722
+ client_id?: string | null;
11695
12723
  contract_value?: number | null;
11696
12724
  created_at?: string;
11697
12725
  deal_id?: string | null;
@@ -11709,6 +12737,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
11709
12737
  declare function useUpdateProject(): _tanstack_react_query.UseMutationResult<{
11710
12738
  actual_end_date: string | null;
11711
12739
  client_company_id: string | null;
12740
+ client_id: string | null;
11712
12741
  contract_value: number | null;
11713
12742
  created_at: string;
11714
12743
  deal_id: string | null;
@@ -12460,5 +13489,5 @@ declare function InitializationProvider({ children }: {
12460
13489
  children: ReactNode;
12461
13490
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
12462
13491
 
12463
- export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, 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, ListActionsProvider, NotificationProvider, OAUTH_FLOW_TIMEOUT, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, 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, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, 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, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useHasPermission, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, 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, useRemoveCompaniesFromList, 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, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
12464
- export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, 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, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LeadGenStageKey, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListCredentialsResponse, ListExecutionsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
13492
+ export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, 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, ListActionsProvider, NotificationProvider, OAUTH_FLOW_TIMEOUT, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, 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, clientsKeys, 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, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useHasPermission, useInFlightExecutions, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, 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, useRemoveCompaniesFromList, 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, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
13493
+ export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, 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, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LeadGenStageKey, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateClientRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };