@elevasis/ui 2.22.0 → 2.24.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 (57) hide show
  1. package/dist/app/index.d.ts +2915 -0
  2. package/dist/app/index.js +5 -4
  3. package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
  4. package/dist/{chunk-GJ7EIABJ.js → chunk-4NWNS7TX.js} +1 -1
  5. package/dist/{chunk-LKVBEE63.js → chunk-FUEXGRFR.js} +2 -2
  6. package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
  7. package/dist/{chunk-IBUYJXA3.js → chunk-KCJ6VATY.js} +1133 -578
  8. package/dist/{chunk-WWJ6S2HQ.js → chunk-KLFIJDTD.js} +1 -1
  9. package/dist/{chunk-COG4ABRI.js → chunk-M2HWJY6O.js} +704 -375
  10. package/dist/{chunk-LVJGPE6H.js → chunk-MTR6AN2C.js} +3 -12
  11. package/dist/chunk-OWHQ65EQ.js +211 -0
  12. package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
  13. package/dist/{chunk-B4FHWKEF.js → chunk-QULLZ5PE.js} +193 -10
  14. package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
  15. package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
  16. package/dist/{chunk-IOTLB6ND.js → chunk-VGNAV3TH.js} +406 -195
  17. package/dist/{chunk-BSZRKBAW.js → chunk-YBZT7MJR.js} +3 -3
  18. package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
  19. package/dist/components/index.d.ts +500 -466
  20. package/dist/components/index.js +75 -32
  21. package/dist/components/navigation/index.js +2 -2
  22. package/dist/features/auth/index.d.ts +472 -389
  23. package/dist/features/crm/index.d.ts +468 -391
  24. package/dist/features/crm/index.js +8 -8
  25. package/dist/features/dashboard/index.js +8 -8
  26. package/dist/features/delivery/index.d.ts +466 -383
  27. package/dist/features/delivery/index.js +8 -8
  28. package/dist/features/lead-gen/index.d.ts +213 -65
  29. package/dist/features/lead-gen/index.js +9 -8
  30. package/dist/features/monitoring/index.js +9 -9
  31. package/dist/features/monitoring/requests/index.js +7 -7
  32. package/dist/features/operations/index.js +11 -10
  33. package/dist/features/settings/index.d.ts +472 -389
  34. package/dist/features/settings/index.js +9 -9
  35. package/dist/hooks/delivery/index.d.ts +466 -383
  36. package/dist/hooks/index.d.ts +967 -744
  37. package/dist/hooks/index.js +7 -7
  38. package/dist/hooks/published.d.ts +967 -744
  39. package/dist/hooks/published.js +7 -7
  40. package/dist/index.d.ts +1360 -1069
  41. package/dist/index.js +8 -8
  42. package/dist/initialization/index.d.ts +472 -389
  43. package/dist/organization/index.d.ts +11 -1
  44. package/dist/organization/index.js +2 -2
  45. package/dist/profile/index.d.ts +472 -389
  46. package/dist/provider/index.d.ts +3132 -169
  47. package/dist/provider/index.js +6 -6
  48. package/dist/provider/published.d.ts +3098 -168
  49. package/dist/provider/published.js +3 -3
  50. package/dist/supabase/index.d.ts +577 -413
  51. package/dist/test-utils/index.d.ts +21 -1
  52. package/dist/test-utils/index.js +13 -4
  53. package/dist/theme/index.js +2 -2
  54. package/dist/types/index.d.ts +472 -389
  55. package/package.json +2 -2
  56. package/src/test-utils/README.md +2 -0
  57. /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ReactNode, ComponentType, CSSProperties, ReactElement } from 'react';
3
+ import React__default, { ReactNode, ComponentType, CSSProperties, ReactElement, Component, ErrorInfo } from 'react';
4
4
  import { MantineSpacing, MantineColor, MantineLoaderComponent, BadgeProps } from '@mantine/core';
5
5
  import { Icon, IconCheck } from '@tabler/icons-react';
6
6
  import { Components } from 'react-markdown';
@@ -501,10 +501,57 @@ type Json = string | number | boolean | null | {
501
501
  } | Json[];
502
502
  type Database = {
503
503
  __InternalSupabase: {
504
- PostgrestVersion: "12.2.3 (519615d)";
504
+ PostgrestVersion: '12.2.3 (519615d)';
505
505
  };
506
506
  public: {
507
507
  Tables: {
508
+ acq_artifacts: {
509
+ Row: {
510
+ content: Json;
511
+ created_at: string;
512
+ created_by: string | null;
513
+ id: string;
514
+ kind: string;
515
+ organization_id: string;
516
+ owner_id: string;
517
+ owner_kind: string;
518
+ source_execution_id: string | null;
519
+ version: number;
520
+ };
521
+ Insert: {
522
+ content: Json;
523
+ created_at?: string;
524
+ created_by?: string | null;
525
+ id?: string;
526
+ kind: string;
527
+ organization_id: string;
528
+ owner_id: string;
529
+ owner_kind: string;
530
+ source_execution_id?: string | null;
531
+ version?: number;
532
+ };
533
+ Update: {
534
+ content?: Json;
535
+ created_at?: string;
536
+ created_by?: string | null;
537
+ id?: string;
538
+ kind?: string;
539
+ organization_id?: string;
540
+ owner_id?: string;
541
+ owner_kind?: string;
542
+ source_execution_id?: string | null;
543
+ version?: number;
544
+ };
545
+ Relationships: [
546
+ {
547
+ foreignKeyName: 'acq_artifacts_organization_id_fkey';
548
+ columns: ['organization_id'];
549
+ isOneToOne: false;
550
+ referencedRelation: 'organizations';
551
+ referencedColumns: ['id'];
552
+ }
553
+ ];
554
+ };
508
555
  acq_companies: {
509
556
  Row: {
510
557
  batch_id: string | null;
@@ -523,6 +570,9 @@ type Database = {
523
570
  num_employees: number | null;
524
571
  organization_id: string;
525
572
  pipeline_status: Json;
573
+ qualification_rubric_key: string | null;
574
+ qualification_score: number | null;
575
+ qualification_signals: Json | null;
526
576
  segment: string | null;
527
577
  source: string | null;
528
578
  status: string;
@@ -546,6 +596,9 @@ type Database = {
546
596
  num_employees?: number | null;
547
597
  organization_id: string;
548
598
  pipeline_status?: Json;
599
+ qualification_rubric_key?: string | null;
600
+ qualification_score?: number | null;
601
+ qualification_signals?: Json | null;
549
602
  segment?: string | null;
550
603
  source?: string | null;
551
604
  status?: string;
@@ -569,6 +622,9 @@ type Database = {
569
622
  num_employees?: number | null;
570
623
  organization_id?: string;
571
624
  pipeline_status?: Json;
625
+ qualification_rubric_key?: string | null;
626
+ qualification_score?: number | null;
627
+ qualification_signals?: Json | null;
572
628
  segment?: string | null;
573
629
  source?: string | null;
574
630
  status?: string;
@@ -577,11 +633,11 @@ type Database = {
577
633
  };
578
634
  Relationships: [
579
635
  {
580
- foreignKeyName: "acq_companies_organization_id_fkey";
581
- columns: ["organization_id"];
636
+ foreignKeyName: 'acq_companies_organization_id_fkey';
637
+ columns: ['organization_id'];
582
638
  isOneToOne: false;
583
- referencedRelation: "organizations";
584
- referencedColumns: ["id"];
639
+ referencedRelation: 'organizations';
640
+ referencedColumns: ['id'];
585
641
  }
586
642
  ];
587
643
  };
@@ -605,6 +661,9 @@ type Database = {
605
661
  opening_line: string | null;
606
662
  organization_id: string;
607
663
  pipeline_status: Json;
664
+ qualification_rubric_key: string | null;
665
+ qualification_score: number | null;
666
+ qualification_signals: Json | null;
608
667
  source: string | null;
609
668
  source_id: string | null;
610
669
  status: string;
@@ -630,6 +689,9 @@ type Database = {
630
689
  opening_line?: string | null;
631
690
  organization_id: string;
632
691
  pipeline_status?: Json;
692
+ qualification_rubric_key?: string | null;
693
+ qualification_score?: number | null;
694
+ qualification_signals?: Json | null;
633
695
  source?: string | null;
634
696
  source_id?: string | null;
635
697
  status?: string;
@@ -655,6 +717,9 @@ type Database = {
655
717
  opening_line?: string | null;
656
718
  organization_id?: string;
657
719
  pipeline_status?: Json;
720
+ qualification_rubric_key?: string | null;
721
+ qualification_score?: number | null;
722
+ qualification_signals?: Json | null;
658
723
  source?: string | null;
659
724
  source_id?: string | null;
660
725
  status?: string;
@@ -663,18 +728,18 @@ type Database = {
663
728
  };
664
729
  Relationships: [
665
730
  {
666
- foreignKeyName: "acq_contacts_company_id_fkey";
667
- columns: ["company_id"];
731
+ foreignKeyName: 'acq_contacts_company_id_fkey';
732
+ columns: ['company_id'];
668
733
  isOneToOne: false;
669
- referencedRelation: "acq_companies";
670
- referencedColumns: ["id"];
734
+ referencedRelation: 'acq_companies';
735
+ referencedColumns: ['id'];
671
736
  },
672
737
  {
673
- foreignKeyName: "acq_contacts_organization_id_fkey";
674
- columns: ["organization_id"];
738
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
739
+ columns: ['organization_id'];
675
740
  isOneToOne: false;
676
- referencedRelation: "organizations";
677
- referencedColumns: ["id"];
741
+ referencedRelation: 'organizations';
742
+ referencedColumns: ['id'];
678
743
  }
679
744
  ];
680
745
  };
@@ -711,11 +776,11 @@ type Database = {
711
776
  };
712
777
  Relationships: [
713
778
  {
714
- foreignKeyName: "acq_content_organization_id_fkey";
715
- columns: ["organization_id"];
779
+ foreignKeyName: 'acq_content_organization_id_fkey';
780
+ columns: ['organization_id'];
716
781
  isOneToOne: false;
717
- referencedRelation: "organizations";
718
- referencedColumns: ["id"];
782
+ referencedRelation: 'organizations';
783
+ referencedColumns: ['id'];
719
784
  }
720
785
  ];
721
786
  };
@@ -779,18 +844,18 @@ type Database = {
779
844
  };
780
845
  Relationships: [
781
846
  {
782
- foreignKeyName: "acq_content_distributions_content_id_fkey";
783
- columns: ["content_id"];
847
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
848
+ columns: ['content_id'];
784
849
  isOneToOne: false;
785
- referencedRelation: "acq_content";
786
- referencedColumns: ["id"];
850
+ referencedRelation: 'acq_content';
851
+ referencedColumns: ['id'];
787
852
  },
788
853
  {
789
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
790
- columns: ["organization_id"];
854
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
855
+ columns: ['organization_id'];
791
856
  isOneToOne: false;
792
- referencedRelation: "organizations";
793
- referencedColumns: ["id"];
857
+ referencedRelation: 'organizations';
858
+ referencedColumns: ['id'];
794
859
  }
795
860
  ];
796
861
  };
@@ -824,18 +889,18 @@ type Database = {
824
889
  };
825
890
  Relationships: [
826
891
  {
827
- foreignKeyName: "acq_deal_notes_deal_id_fkey";
828
- columns: ["deal_id"];
892
+ foreignKeyName: 'acq_deal_notes_deal_id_fkey';
893
+ columns: ['deal_id'];
829
894
  isOneToOne: false;
830
- referencedRelation: "acq_deals";
831
- referencedColumns: ["id"];
895
+ referencedRelation: 'acq_deals';
896
+ referencedColumns: ['id'];
832
897
  },
833
898
  {
834
- foreignKeyName: "acq_deal_notes_organization_id_fkey";
835
- columns: ["organization_id"];
899
+ foreignKeyName: 'acq_deal_notes_organization_id_fkey';
900
+ columns: ['organization_id'];
836
901
  isOneToOne: false;
837
- referencedRelation: "organizations";
838
- referencedColumns: ["id"];
902
+ referencedRelation: 'organizations';
903
+ referencedColumns: ['id'];
839
904
  }
840
905
  ];
841
906
  };
@@ -887,25 +952,24 @@ type Database = {
887
952
  };
888
953
  Relationships: [
889
954
  {
890
- foreignKeyName: "acq_deal_tasks_deal_id_fkey";
891
- columns: ["deal_id"];
955
+ foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
956
+ columns: ['deal_id'];
892
957
  isOneToOne: false;
893
- referencedRelation: "acq_deals";
894
- referencedColumns: ["id"];
958
+ referencedRelation: 'acq_deals';
959
+ referencedColumns: ['id'];
895
960
  },
896
961
  {
897
- foreignKeyName: "acq_deal_tasks_organization_id_fkey";
898
- columns: ["organization_id"];
962
+ foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
963
+ columns: ['organization_id'];
899
964
  isOneToOne: false;
900
- referencedRelation: "organizations";
901
- referencedColumns: ["id"];
965
+ referencedRelation: 'organizations';
966
+ referencedColumns: ['id'];
902
967
  }
903
968
  ];
904
969
  };
905
970
  acq_deals: {
906
971
  Row: {
907
972
  activity_log: Json;
908
- cached_stage: string | null;
909
973
  closed_lost_at: string | null;
910
974
  closed_lost_reason: string | null;
911
975
  contact_email: string;
@@ -920,6 +984,7 @@ type Database = {
920
984
  organization_id: string;
921
985
  payment_link_sent_at: string | null;
922
986
  payment_received_at: string | null;
987
+ pipeline_key: string;
923
988
  proposal_data: Json | null;
924
989
  proposal_generated_at: string | null;
925
990
  proposal_pdf_url: string | null;
@@ -927,10 +992,11 @@ type Database = {
927
992
  proposal_reviewed_by: string | null;
928
993
  proposal_sent_at: string | null;
929
994
  proposal_signed_at: string | null;
930
- proposal_status: string | null;
931
995
  signature_envelope_id: string | null;
932
996
  source_list_id: string | null;
933
997
  source_type: string | null;
998
+ stage_key: string | null;
999
+ state_key: string | null;
934
1000
  stripe_payment_id: string | null;
935
1001
  stripe_payment_link: string | null;
936
1002
  stripe_payment_link_id: string | null;
@@ -939,7 +1005,6 @@ type Database = {
939
1005
  };
940
1006
  Insert: {
941
1007
  activity_log?: Json;
942
- cached_stage?: string | null;
943
1008
  closed_lost_at?: string | null;
944
1009
  closed_lost_reason?: string | null;
945
1010
  contact_email: string;
@@ -954,6 +1019,7 @@ type Database = {
954
1019
  organization_id: string;
955
1020
  payment_link_sent_at?: string | null;
956
1021
  payment_received_at?: string | null;
1022
+ pipeline_key?: string;
957
1023
  proposal_data?: Json | null;
958
1024
  proposal_generated_at?: string | null;
959
1025
  proposal_pdf_url?: string | null;
@@ -961,10 +1027,11 @@ type Database = {
961
1027
  proposal_reviewed_by?: string | null;
962
1028
  proposal_sent_at?: string | null;
963
1029
  proposal_signed_at?: string | null;
964
- proposal_status?: string | null;
965
1030
  signature_envelope_id?: string | null;
966
1031
  source_list_id?: string | null;
967
1032
  source_type?: string | null;
1033
+ stage_key?: string | null;
1034
+ state_key?: string | null;
968
1035
  stripe_payment_id?: string | null;
969
1036
  stripe_payment_link?: string | null;
970
1037
  stripe_payment_link_id?: string | null;
@@ -973,7 +1040,6 @@ type Database = {
973
1040
  };
974
1041
  Update: {
975
1042
  activity_log?: Json;
976
- cached_stage?: string | null;
977
1043
  closed_lost_at?: string | null;
978
1044
  closed_lost_reason?: string | null;
979
1045
  contact_email?: string;
@@ -988,6 +1054,7 @@ type Database = {
988
1054
  organization_id?: string;
989
1055
  payment_link_sent_at?: string | null;
990
1056
  payment_received_at?: string | null;
1057
+ pipeline_key?: string;
991
1058
  proposal_data?: Json | null;
992
1059
  proposal_generated_at?: string | null;
993
1060
  proposal_pdf_url?: string | null;
@@ -995,10 +1062,11 @@ type Database = {
995
1062
  proposal_reviewed_by?: string | null;
996
1063
  proposal_sent_at?: string | null;
997
1064
  proposal_signed_at?: string | null;
998
- proposal_status?: string | null;
999
1065
  signature_envelope_id?: string | null;
1000
1066
  source_list_id?: string | null;
1001
1067
  source_type?: string | null;
1068
+ stage_key?: string | null;
1069
+ state_key?: string | null;
1002
1070
  stripe_payment_id?: string | null;
1003
1071
  stripe_payment_link?: string | null;
1004
1072
  stripe_payment_link_id?: string | null;
@@ -1007,86 +1075,95 @@ type Database = {
1007
1075
  };
1008
1076
  Relationships: [
1009
1077
  {
1010
- foreignKeyName: "acq_deals_contact_id_fkey";
1011
- columns: ["contact_id"];
1078
+ foreignKeyName: 'acq_deals_contact_id_fkey';
1079
+ columns: ['contact_id'];
1012
1080
  isOneToOne: false;
1013
- referencedRelation: "acq_contacts";
1014
- referencedColumns: ["id"];
1081
+ referencedRelation: 'acq_contacts';
1082
+ referencedColumns: ['id'];
1015
1083
  },
1016
1084
  {
1017
- foreignKeyName: "acq_deals_organization_id_fkey";
1018
- columns: ["organization_id"];
1085
+ foreignKeyName: 'acq_deals_organization_id_fkey';
1086
+ columns: ['organization_id'];
1019
1087
  isOneToOne: false;
1020
- referencedRelation: "organizations";
1021
- referencedColumns: ["id"];
1088
+ referencedRelation: 'organizations';
1089
+ referencedColumns: ['id'];
1022
1090
  },
1023
1091
  {
1024
- foreignKeyName: "acq_deals_source_list_id_fkey";
1025
- columns: ["source_list_id"];
1092
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
1093
+ columns: ['source_list_id'];
1026
1094
  isOneToOne: false;
1027
- referencedRelation: "acq_lists";
1028
- referencedColumns: ["id"];
1095
+ referencedRelation: 'acq_lists';
1096
+ referencedColumns: ['id'];
1029
1097
  }
1030
1098
  ];
1031
1099
  };
1032
1100
  acq_list_companies: {
1033
1101
  Row: {
1102
+ activity_log: Json;
1034
1103
  added_at: string;
1035
1104
  added_by: string | null;
1036
1105
  company_id: string;
1037
1106
  id: string;
1038
1107
  list_id: string;
1108
+ pipeline_key: string;
1109
+ processing_state: Json;
1039
1110
  source_execution_id: string | null;
1040
1111
  source_input_hash: string | null;
1041
1112
  source_resource_id: string | null;
1042
- stage: string | null;
1043
- stage_updated_at: string | null;
1113
+ stage_key: string;
1114
+ state_key: string;
1044
1115
  };
1045
1116
  Insert: {
1117
+ activity_log?: Json;
1046
1118
  added_at?: string;
1047
1119
  added_by?: string | null;
1048
1120
  company_id: string;
1049
1121
  id?: string;
1050
1122
  list_id: string;
1123
+ pipeline_key?: string;
1124
+ processing_state?: Json;
1051
1125
  source_execution_id?: string | null;
1052
1126
  source_input_hash?: string | null;
1053
1127
  source_resource_id?: string | null;
1054
- stage?: string | null;
1055
- stage_updated_at?: string | null;
1128
+ stage_key: string;
1129
+ state_key: string;
1056
1130
  };
1057
1131
  Update: {
1132
+ activity_log?: Json;
1058
1133
  added_at?: string;
1059
1134
  added_by?: string | null;
1060
1135
  company_id?: string;
1061
1136
  id?: string;
1062
1137
  list_id?: string;
1138
+ pipeline_key?: string;
1139
+ processing_state?: Json;
1063
1140
  source_execution_id?: string | null;
1064
1141
  source_input_hash?: string | null;
1065
1142
  source_resource_id?: string | null;
1066
- stage?: string | null;
1067
- stage_updated_at?: string | null;
1143
+ stage_key?: string;
1144
+ state_key?: string;
1068
1145
  };
1069
1146
  Relationships: [
1070
1147
  {
1071
- foreignKeyName: "acq_list_companies_company_id_fkey";
1072
- columns: ["company_id"];
1148
+ foreignKeyName: 'acq_list_companies_company_id_fkey';
1149
+ columns: ['company_id'];
1073
1150
  isOneToOne: false;
1074
- referencedRelation: "acq_companies";
1075
- referencedColumns: ["id"];
1151
+ referencedRelation: 'acq_companies';
1152
+ referencedColumns: ['id'];
1076
1153
  },
1077
1154
  {
1078
- foreignKeyName: "acq_list_companies_list_id_fkey";
1079
- columns: ["list_id"];
1155
+ foreignKeyName: 'acq_list_companies_list_id_fkey';
1156
+ columns: ['list_id'];
1080
1157
  isOneToOne: false;
1081
- referencedRelation: "acq_lists";
1082
- referencedColumns: ["id"];
1158
+ referencedRelation: 'acq_lists';
1159
+ referencedColumns: ['id'];
1083
1160
  },
1084
1161
  {
1085
- foreignKeyName: "acq_list_companies_source_execution_id_fkey";
1086
- columns: ["source_execution_id"];
1162
+ foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
1163
+ columns: ['source_execution_id'];
1087
1164
  isOneToOne: false;
1088
- referencedRelation: "execution_logs";
1089
- referencedColumns: ["execution_id"];
1165
+ referencedRelation: 'execution_logs';
1166
+ referencedColumns: ['execution_id'];
1090
1167
  }
1091
1168
  ];
1092
1169
  };
@@ -1114,79 +1191,88 @@ type Database = {
1114
1191
  };
1115
1192
  Relationships: [
1116
1193
  {
1117
- foreignKeyName: "acq_list_executions_execution_id_fkey";
1118
- columns: ["execution_id"];
1194
+ foreignKeyName: 'acq_list_executions_execution_id_fkey';
1195
+ columns: ['execution_id'];
1119
1196
  isOneToOne: false;
1120
- referencedRelation: "execution_logs";
1121
- referencedColumns: ["execution_id"];
1197
+ referencedRelation: 'execution_logs';
1198
+ referencedColumns: ['execution_id'];
1122
1199
  },
1123
1200
  {
1124
- foreignKeyName: "acq_list_executions_list_id_fkey";
1125
- columns: ["list_id"];
1201
+ foreignKeyName: 'acq_list_executions_list_id_fkey';
1202
+ columns: ['list_id'];
1126
1203
  isOneToOne: false;
1127
- referencedRelation: "acq_lists";
1128
- referencedColumns: ["id"];
1204
+ referencedRelation: 'acq_lists';
1205
+ referencedColumns: ['id'];
1129
1206
  }
1130
1207
  ];
1131
1208
  };
1132
1209
  acq_list_members: {
1133
1210
  Row: {
1211
+ activity_log: Json;
1134
1212
  added_at: string;
1135
1213
  added_by: string | null;
1136
1214
  contact_id: string;
1137
1215
  id: string;
1138
1216
  list_id: string;
1217
+ pipeline_key: string;
1218
+ processing_state: Json;
1139
1219
  source_execution_id: string | null;
1140
1220
  source_input_hash: string | null;
1141
1221
  source_resource_id: string | null;
1142
- stage: string | null;
1143
- stage_updated_at: string | null;
1222
+ stage_key: string;
1223
+ state_key: string;
1144
1224
  };
1145
1225
  Insert: {
1226
+ activity_log?: Json;
1146
1227
  added_at?: string;
1147
1228
  added_by?: string | null;
1148
1229
  contact_id: string;
1149
1230
  id?: string;
1150
1231
  list_id: string;
1232
+ pipeline_key?: string;
1233
+ processing_state?: Json;
1151
1234
  source_execution_id?: string | null;
1152
1235
  source_input_hash?: string | null;
1153
1236
  source_resource_id?: string | null;
1154
- stage?: string | null;
1155
- stage_updated_at?: string | null;
1237
+ stage_key: string;
1238
+ state_key: string;
1156
1239
  };
1157
1240
  Update: {
1241
+ activity_log?: Json;
1158
1242
  added_at?: string;
1159
1243
  added_by?: string | null;
1160
1244
  contact_id?: string;
1161
1245
  id?: string;
1162
1246
  list_id?: string;
1247
+ pipeline_key?: string;
1248
+ processing_state?: Json;
1163
1249
  source_execution_id?: string | null;
1164
1250
  source_input_hash?: string | null;
1165
1251
  source_resource_id?: string | null;
1166
- stage?: string | null;
1167
- stage_updated_at?: string | null;
1252
+ stage_key?: string;
1253
+ state_key?: string;
1168
1254
  };
1169
1255
  Relationships: [
1170
1256
  {
1171
- foreignKeyName: "acq_list_members_contact_id_fkey";
1172
- columns: ["contact_id"];
1257
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
1258
+ columns: ['contact_id'];
1173
1259
  isOneToOne: false;
1174
- referencedRelation: "acq_contacts";
1175
- referencedColumns: ["id"];
1260
+ referencedRelation: 'acq_contacts';
1261
+ referencedColumns: ['id'];
1176
1262
  },
1177
1263
  {
1178
- foreignKeyName: "acq_list_members_list_id_fkey";
1179
- columns: ["list_id"];
1264
+ foreignKeyName: 'acq_list_members_list_id_fkey';
1265
+ columns: ['list_id'];
1180
1266
  isOneToOne: false;
1181
- referencedRelation: "acq_lists";
1182
- referencedColumns: ["id"];
1267
+ referencedRelation: 'acq_lists';
1268
+ referencedColumns: ['id'];
1183
1269
  },
1184
1270
  {
1185
- foreignKeyName: "acq_list_members_source_execution_id_fkey";
1186
- columns: ["source_execution_id"];
1271
+ foreignKeyName: 'acq_list_members_source_execution_id_fkey';
1272
+ columns: ['source_execution_id'];
1187
1273
  isOneToOne: false;
1188
- referencedRelation: "execution_logs";
1189
- referencedColumns: ["execution_id"];
1274
+ referencedRelation: 'execution_logs';
1275
+ referencedColumns: ['execution_id'];
1190
1276
  }
1191
1277
  ];
1192
1278
  };
@@ -1194,55 +1280,58 @@ type Database = {
1194
1280
  Row: {
1195
1281
  batch_ids: string[];
1196
1282
  completed_at: string | null;
1197
- config: Json;
1198
1283
  created_at: string;
1199
1284
  description: string | null;
1285
+ icp: Json;
1200
1286
  id: string;
1201
1287
  instantly_campaign_id: string | null;
1202
1288
  launched_at: string | null;
1203
1289
  metadata: Json;
1204
1290
  name: string;
1205
1291
  organization_id: string;
1292
+ pipeline_config: Json;
1293
+ scraping_config: Json;
1206
1294
  status: string;
1207
- type: string;
1208
1295
  };
1209
1296
  Insert: {
1210
1297
  batch_ids?: string[];
1211
1298
  completed_at?: string | null;
1212
- config?: Json;
1213
1299
  created_at?: string;
1214
1300
  description?: string | null;
1301
+ icp?: Json;
1215
1302
  id?: string;
1216
1303
  instantly_campaign_id?: string | null;
1217
1304
  launched_at?: string | null;
1218
1305
  metadata?: Json;
1219
1306
  name: string;
1220
1307
  organization_id: string;
1308
+ pipeline_config?: Json;
1309
+ scraping_config?: Json;
1221
1310
  status?: string;
1222
- type?: string;
1223
1311
  };
1224
1312
  Update: {
1225
1313
  batch_ids?: string[];
1226
1314
  completed_at?: string | null;
1227
- config?: Json;
1228
1315
  created_at?: string;
1229
1316
  description?: string | null;
1317
+ icp?: Json;
1230
1318
  id?: string;
1231
1319
  instantly_campaign_id?: string | null;
1232
1320
  launched_at?: string | null;
1233
1321
  metadata?: Json;
1234
1322
  name?: string;
1235
1323
  organization_id?: string;
1324
+ pipeline_config?: Json;
1325
+ scraping_config?: Json;
1236
1326
  status?: string;
1237
- type?: string;
1238
1327
  };
1239
1328
  Relationships: [
1240
1329
  {
1241
- foreignKeyName: "acq_lists_organization_id_fkey";
1242
- columns: ["organization_id"];
1330
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1331
+ columns: ['organization_id'];
1243
1332
  isOneToOne: false;
1244
- referencedRelation: "organizations";
1245
- referencedColumns: ["id"];
1333
+ referencedRelation: 'organizations';
1334
+ referencedColumns: ['id'];
1246
1335
  }
1247
1336
  ];
1248
1337
  };
@@ -1318,18 +1407,18 @@ type Database = {
1318
1407
  };
1319
1408
  Relationships: [
1320
1409
  {
1321
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
1322
- columns: ["organization_id"];
1410
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
1411
+ columns: ['organization_id'];
1323
1412
  isOneToOne: false;
1324
- referencedRelation: "organizations";
1325
- referencedColumns: ["id"];
1413
+ referencedRelation: 'organizations';
1414
+ referencedColumns: ['id'];
1326
1415
  },
1327
1416
  {
1328
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
1329
- columns: ["seo_page_id"];
1417
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1418
+ columns: ['seo_page_id'];
1330
1419
  isOneToOne: false;
1331
- referencedRelation: "acq_seo_pages";
1332
- referencedColumns: ["id"];
1420
+ referencedRelation: 'acq_seo_pages';
1421
+ referencedColumns: ['id'];
1333
1422
  }
1334
1423
  ];
1335
1424
  };
@@ -1405,11 +1494,11 @@ type Database = {
1405
1494
  };
1406
1495
  Relationships: [
1407
1496
  {
1408
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
1409
- columns: ["organization_id"];
1497
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1498
+ columns: ['organization_id'];
1410
1499
  isOneToOne: false;
1411
- referencedRelation: "organizations";
1412
- referencedColumns: ["id"];
1500
+ referencedRelation: 'organizations';
1501
+ referencedColumns: ['id'];
1413
1502
  }
1414
1503
  ];
1415
1504
  };
@@ -1506,11 +1595,11 @@ type Database = {
1506
1595
  };
1507
1596
  Relationships: [
1508
1597
  {
1509
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1510
- columns: ["organization_id"];
1598
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1599
+ columns: ['organization_id'];
1511
1600
  isOneToOne: false;
1512
- referencedRelation: "organizations";
1513
- referencedColumns: ["id"];
1601
+ referencedRelation: 'organizations';
1602
+ referencedColumns: ['id'];
1514
1603
  }
1515
1604
  ];
1516
1605
  };
@@ -1565,11 +1654,11 @@ type Database = {
1565
1654
  };
1566
1655
  Relationships: [
1567
1656
  {
1568
- foreignKeyName: "activities_organization_id_fkey";
1569
- columns: ["organization_id"];
1657
+ foreignKeyName: 'activities_organization_id_fkey';
1658
+ columns: ['organization_id'];
1570
1659
  isOneToOne: false;
1571
- referencedRelation: "organizations";
1572
- referencedColumns: ["id"];
1660
+ referencedRelation: 'organizations';
1661
+ referencedColumns: ['id'];
1573
1662
  }
1574
1663
  ];
1575
1664
  };
@@ -1600,11 +1689,11 @@ type Database = {
1600
1689
  };
1601
1690
  Relationships: [
1602
1691
  {
1603
- foreignKeyName: "api_keys_organization_id_fkey";
1604
- columns: ["organization_id"];
1692
+ foreignKeyName: 'api_keys_organization_id_fkey';
1693
+ columns: ['organization_id'];
1605
1694
  isOneToOne: false;
1606
- referencedRelation: "organizations";
1607
- referencedColumns: ["id"];
1695
+ referencedRelation: 'organizations';
1696
+ referencedColumns: ['id'];
1608
1697
  }
1609
1698
  ];
1610
1699
  };
@@ -1683,25 +1772,25 @@ type Database = {
1683
1772
  };
1684
1773
  Relationships: [
1685
1774
  {
1686
- foreignKeyName: "command_queue_completed_by_fkey";
1687
- columns: ["completed_by"];
1775
+ foreignKeyName: 'command_queue_completed_by_fkey';
1776
+ columns: ['completed_by'];
1688
1777
  isOneToOne: false;
1689
- referencedRelation: "users";
1690
- referencedColumns: ["id"];
1778
+ referencedRelation: 'users';
1779
+ referencedColumns: ['id'];
1691
1780
  },
1692
1781
  {
1693
- foreignKeyName: "command_queue_organization_id_fkey";
1694
- columns: ["organization_id"];
1782
+ foreignKeyName: 'command_queue_organization_id_fkey';
1783
+ columns: ['organization_id'];
1695
1784
  isOneToOne: false;
1696
- referencedRelation: "organizations";
1697
- referencedColumns: ["id"];
1785
+ referencedRelation: 'organizations';
1786
+ referencedColumns: ['id'];
1698
1787
  },
1699
1788
  {
1700
- foreignKeyName: "command_queue_target_execution_id_fkey";
1701
- columns: ["target_execution_id"];
1789
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1790
+ columns: ['target_execution_id'];
1702
1791
  isOneToOne: false;
1703
- referencedRelation: "execution_logs";
1704
- referencedColumns: ["execution_id"];
1792
+ referencedRelation: 'execution_logs';
1793
+ referencedColumns: ['execution_id'];
1705
1794
  }
1706
1795
  ];
1707
1796
  };
@@ -1741,18 +1830,18 @@ type Database = {
1741
1830
  };
1742
1831
  Relationships: [
1743
1832
  {
1744
- foreignKeyName: "credentials_created_by_fkey";
1745
- columns: ["created_by"];
1833
+ foreignKeyName: 'credentials_created_by_fkey';
1834
+ columns: ['created_by'];
1746
1835
  isOneToOne: false;
1747
- referencedRelation: "users";
1748
- referencedColumns: ["id"];
1836
+ referencedRelation: 'users';
1837
+ referencedColumns: ['id'];
1749
1838
  },
1750
1839
  {
1751
- foreignKeyName: "credentials_organization_id_fkey";
1752
- columns: ["organization_id"];
1840
+ foreignKeyName: 'credentials_organization_id_fkey';
1841
+ columns: ['organization_id'];
1753
1842
  isOneToOne: false;
1754
- referencedRelation: "organizations";
1755
- referencedColumns: ["id"];
1843
+ referencedRelation: 'organizations';
1844
+ referencedColumns: ['id'];
1756
1845
  }
1757
1846
  ];
1758
1847
  };
@@ -1798,11 +1887,11 @@ type Database = {
1798
1887
  };
1799
1888
  Relationships: [
1800
1889
  {
1801
- foreignKeyName: "deployments_organization_id_fkey";
1802
- columns: ["organization_id"];
1890
+ foreignKeyName: 'deployments_organization_id_fkey';
1891
+ columns: ['organization_id'];
1803
1892
  isOneToOne: false;
1804
- referencedRelation: "organizations";
1805
- referencedColumns: ["id"];
1893
+ referencedRelation: 'organizations';
1894
+ referencedColumns: ['id'];
1806
1895
  }
1807
1896
  ];
1808
1897
  };
@@ -1857,25 +1946,25 @@ type Database = {
1857
1946
  };
1858
1947
  Relationships: [
1859
1948
  {
1860
- foreignKeyName: "execution_errors_execution_id_fkey";
1861
- columns: ["execution_id"];
1949
+ foreignKeyName: 'execution_errors_execution_id_fkey';
1950
+ columns: ['execution_id'];
1862
1951
  isOneToOne: false;
1863
- referencedRelation: "execution_logs";
1864
- referencedColumns: ["execution_id"];
1952
+ referencedRelation: 'execution_logs';
1953
+ referencedColumns: ['execution_id'];
1865
1954
  },
1866
1955
  {
1867
- foreignKeyName: "execution_errors_organization_id_fkey";
1868
- columns: ["organization_id"];
1956
+ foreignKeyName: 'execution_errors_organization_id_fkey';
1957
+ columns: ['organization_id'];
1869
1958
  isOneToOne: false;
1870
- referencedRelation: "organizations";
1871
- referencedColumns: ["id"];
1959
+ referencedRelation: 'organizations';
1960
+ referencedColumns: ['id'];
1872
1961
  },
1873
1962
  {
1874
- foreignKeyName: "execution_errors_resolved_by_fkey";
1875
- columns: ["resolved_by"];
1963
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
1964
+ columns: ['resolved_by'];
1876
1965
  isOneToOne: false;
1877
- referencedRelation: "users";
1878
- referencedColumns: ["id"];
1966
+ referencedRelation: 'users';
1967
+ referencedColumns: ['id'];
1879
1968
  }
1880
1969
  ];
1881
1970
  };
@@ -1957,32 +2046,32 @@ type Database = {
1957
2046
  };
1958
2047
  Relationships: [
1959
2048
  {
1960
- foreignKeyName: "execution_history_organization_id_fkey";
1961
- columns: ["organization_id"];
2049
+ foreignKeyName: 'execution_history_organization_id_fkey';
2050
+ columns: ['organization_id'];
1962
2051
  isOneToOne: false;
1963
- referencedRelation: "organizations";
1964
- referencedColumns: ["id"];
2052
+ referencedRelation: 'organizations';
2053
+ referencedColumns: ['id'];
1965
2054
  },
1966
2055
  {
1967
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
1968
- columns: ["origin_execution_id"];
2056
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2057
+ columns: ['origin_execution_id'];
1969
2058
  isOneToOne: false;
1970
- referencedRelation: "execution_logs";
1971
- referencedColumns: ["execution_id"];
2059
+ referencedRelation: 'execution_logs';
2060
+ referencedColumns: ['execution_id'];
1972
2061
  },
1973
2062
  {
1974
- foreignKeyName: "execution_logs_session_id_fkey";
1975
- columns: ["session_id"];
2063
+ foreignKeyName: 'execution_logs_session_id_fkey';
2064
+ columns: ['session_id'];
1976
2065
  isOneToOne: false;
1977
- referencedRelation: "sessions";
1978
- referencedColumns: ["session_id"];
2066
+ referencedRelation: 'sessions';
2067
+ referencedColumns: ['session_id'];
1979
2068
  },
1980
2069
  {
1981
- foreignKeyName: "execution_logs_user_id_fkey";
1982
- columns: ["user_id"];
2070
+ foreignKeyName: 'execution_logs_user_id_fkey';
2071
+ columns: ['user_id'];
1983
2072
  isOneToOne: false;
1984
- referencedRelation: "users";
1985
- referencedColumns: ["id"];
2073
+ referencedRelation: 'users';
2074
+ referencedColumns: ['id'];
1986
2075
  }
1987
2076
  ];
1988
2077
  };
@@ -2028,18 +2117,18 @@ type Database = {
2028
2117
  };
2029
2118
  Relationships: [
2030
2119
  {
2031
- foreignKeyName: "execution_metrics_execution_id_fkey";
2032
- columns: ["execution_id"];
2120
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2121
+ columns: ['execution_id'];
2033
2122
  isOneToOne: true;
2034
- referencedRelation: "execution_logs";
2035
- referencedColumns: ["execution_id"];
2123
+ referencedRelation: 'execution_logs';
2124
+ referencedColumns: ['execution_id'];
2036
2125
  },
2037
2126
  {
2038
- foreignKeyName: "execution_metrics_organization_id_fkey";
2039
- columns: ["organization_id"];
2127
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2128
+ columns: ['organization_id'];
2040
2129
  isOneToOne: false;
2041
- referencedRelation: "organizations";
2042
- referencedColumns: ["id"];
2130
+ referencedRelation: 'organizations';
2131
+ referencedColumns: ['id'];
2043
2132
  }
2044
2133
  ];
2045
2134
  };
@@ -2082,18 +2171,18 @@ type Database = {
2082
2171
  };
2083
2172
  Relationships: [
2084
2173
  {
2085
- foreignKeyName: "notifications_organization_id_fkey";
2086
- columns: ["organization_id"];
2174
+ foreignKeyName: 'notifications_organization_id_fkey';
2175
+ columns: ['organization_id'];
2087
2176
  isOneToOne: false;
2088
- referencedRelation: "organizations";
2089
- referencedColumns: ["id"];
2177
+ referencedRelation: 'organizations';
2178
+ referencedColumns: ['id'];
2090
2179
  },
2091
2180
  {
2092
- foreignKeyName: "notifications_user_id_fkey";
2093
- columns: ["user_id"];
2181
+ foreignKeyName: 'notifications_user_id_fkey';
2182
+ columns: ['user_id'];
2094
2183
  isOneToOne: false;
2095
- referencedRelation: "users";
2096
- referencedColumns: ["id"];
2184
+ referencedRelation: 'users';
2185
+ referencedColumns: ['id'];
2097
2186
  }
2098
2187
  ];
2099
2188
  };
@@ -2148,18 +2237,18 @@ type Database = {
2148
2237
  };
2149
2238
  Relationships: [
2150
2239
  {
2151
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
2152
- columns: ["inviter_user_id"];
2240
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2241
+ columns: ['inviter_user_id'];
2153
2242
  isOneToOne: false;
2154
- referencedRelation: "users";
2155
- referencedColumns: ["id"];
2243
+ referencedRelation: 'users';
2244
+ referencedColumns: ['id'];
2156
2245
  },
2157
2246
  {
2158
- foreignKeyName: "org_invitations_organization_id_fkey";
2159
- columns: ["organization_id"];
2247
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2248
+ columns: ['organization_id'];
2160
2249
  isOneToOne: false;
2161
- referencedRelation: "organizations";
2162
- referencedColumns: ["id"];
2250
+ referencedRelation: 'organizations';
2251
+ referencedColumns: ['id'];
2163
2252
  }
2164
2253
  ];
2165
2254
  };
@@ -2202,18 +2291,18 @@ type Database = {
2202
2291
  };
2203
2292
  Relationships: [
2204
2293
  {
2205
- foreignKeyName: "org_memberships_organization_id_fkey";
2206
- columns: ["organization_id"];
2294
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2295
+ columns: ['organization_id'];
2207
2296
  isOneToOne: false;
2208
- referencedRelation: "organizations";
2209
- referencedColumns: ["id"];
2297
+ referencedRelation: 'organizations';
2298
+ referencedColumns: ['id'];
2210
2299
  },
2211
2300
  {
2212
- foreignKeyName: "org_memberships_user_id_fkey";
2213
- columns: ["user_id"];
2301
+ foreignKeyName: 'org_memberships_user_id_fkey';
2302
+ columns: ['user_id'];
2214
2303
  isOneToOne: false;
2215
- referencedRelation: "users";
2216
- referencedColumns: ["id"];
2304
+ referencedRelation: 'users';
2305
+ referencedColumns: ['id'];
2217
2306
  }
2218
2307
  ];
2219
2308
  };
@@ -2238,25 +2327,25 @@ type Database = {
2238
2327
  };
2239
2328
  Relationships: [
2240
2329
  {
2241
- foreignKeyName: "org_rol_assignments_granted_by_fkey";
2242
- columns: ["granted_by"];
2330
+ foreignKeyName: 'org_rol_assignments_granted_by_fkey';
2331
+ columns: ['granted_by'];
2243
2332
  isOneToOne: false;
2244
- referencedRelation: "users";
2245
- referencedColumns: ["id"];
2333
+ referencedRelation: 'users';
2334
+ referencedColumns: ['id'];
2246
2335
  },
2247
2336
  {
2248
- foreignKeyName: "org_rol_assignments_membership_id_fkey";
2249
- columns: ["membership_id"];
2337
+ foreignKeyName: 'org_rol_assignments_membership_id_fkey';
2338
+ columns: ['membership_id'];
2250
2339
  isOneToOne: false;
2251
- referencedRelation: "org_memberships";
2252
- referencedColumns: ["id"];
2340
+ referencedRelation: 'org_memberships';
2341
+ referencedColumns: ['id'];
2253
2342
  },
2254
2343
  {
2255
- foreignKeyName: "org_rol_assignments_role_id_fkey";
2256
- columns: ["role_id"];
2344
+ foreignKeyName: 'org_rol_assignments_role_id_fkey';
2345
+ columns: ['role_id'];
2257
2346
  isOneToOne: false;
2258
- referencedRelation: "org_rol_definitions";
2259
- referencedColumns: ["id"];
2347
+ referencedRelation: 'org_rol_definitions';
2348
+ referencedColumns: ['id'];
2260
2349
  }
2261
2350
  ];
2262
2351
  };
@@ -2293,11 +2382,11 @@ type Database = {
2293
2382
  };
2294
2383
  Relationships: [
2295
2384
  {
2296
- foreignKeyName: "org_rol_definitions_organization_id_fkey";
2297
- columns: ["organization_id"];
2385
+ foreignKeyName: 'org_rol_definitions_organization_id_fkey';
2386
+ columns: ['organization_id'];
2298
2387
  isOneToOne: false;
2299
- referencedRelation: "organizations";
2300
- referencedColumns: ["id"];
2388
+ referencedRelation: 'organizations';
2389
+ referencedColumns: ['id'];
2301
2390
  }
2302
2391
  ];
2303
2392
  };
@@ -2319,18 +2408,18 @@ type Database = {
2319
2408
  };
2320
2409
  Relationships: [
2321
2410
  {
2322
- foreignKeyName: "org_rol_grants_permission_key_fkey";
2323
- columns: ["permission_key"];
2411
+ foreignKeyName: 'org_rol_grants_permission_key_fkey';
2412
+ columns: ['permission_key'];
2324
2413
  isOneToOne: false;
2325
- referencedRelation: "org_rol_permissions";
2326
- referencedColumns: ["key"];
2414
+ referencedRelation: 'org_rol_permissions';
2415
+ referencedColumns: ['key'];
2327
2416
  },
2328
2417
  {
2329
- foreignKeyName: "org_rol_grants_role_id_fkey";
2330
- columns: ["role_id"];
2418
+ foreignKeyName: 'org_rol_grants_role_id_fkey';
2419
+ columns: ['role_id'];
2331
2420
  isOneToOne: false;
2332
- referencedRelation: "org_rol_definitions";
2333
- referencedColumns: ["id"];
2421
+ referencedRelation: 'org_rol_definitions';
2422
+ referencedColumns: ['id'];
2334
2423
  }
2335
2424
  ];
2336
2425
  };
@@ -2442,25 +2531,25 @@ type Database = {
2442
2531
  };
2443
2532
  Relationships: [
2444
2533
  {
2445
- foreignKeyName: "fk_milestones_project";
2446
- columns: ["project_id"];
2534
+ foreignKeyName: 'fk_milestones_project';
2535
+ columns: ['project_id'];
2447
2536
  isOneToOne: false;
2448
- referencedRelation: "prj_projects";
2449
- referencedColumns: ["id"];
2537
+ referencedRelation: 'prj_projects';
2538
+ referencedColumns: ['id'];
2450
2539
  },
2451
2540
  {
2452
- foreignKeyName: "prj_milestones_organization_id_fkey";
2453
- columns: ["organization_id"];
2541
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
2542
+ columns: ['organization_id'];
2454
2543
  isOneToOne: false;
2455
- referencedRelation: "organizations";
2456
- referencedColumns: ["id"];
2544
+ referencedRelation: 'organizations';
2545
+ referencedColumns: ['id'];
2457
2546
  },
2458
2547
  {
2459
- foreignKeyName: "prj_milestones_project_id_fkey";
2460
- columns: ["project_id"];
2548
+ foreignKeyName: 'prj_milestones_project_id_fkey';
2549
+ columns: ['project_id'];
2461
2550
  isOneToOne: false;
2462
- referencedRelation: "prj_projects";
2463
- referencedColumns: ["id"];
2551
+ referencedRelation: 'prj_projects';
2552
+ referencedColumns: ['id'];
2464
2553
  }
2465
2554
  ];
2466
2555
  };
@@ -2509,67 +2598,67 @@ type Database = {
2509
2598
  };
2510
2599
  Relationships: [
2511
2600
  {
2512
- foreignKeyName: "fk_notes_created_by";
2513
- columns: ["created_by"];
2601
+ foreignKeyName: 'fk_notes_created_by';
2602
+ columns: ['created_by'];
2514
2603
  isOneToOne: false;
2515
- referencedRelation: "users";
2516
- referencedColumns: ["id"];
2604
+ referencedRelation: 'users';
2605
+ referencedColumns: ['id'];
2517
2606
  },
2518
2607
  {
2519
- foreignKeyName: "fk_notes_milestone";
2520
- columns: ["milestone_id"];
2608
+ foreignKeyName: 'fk_notes_milestone';
2609
+ columns: ['milestone_id'];
2521
2610
  isOneToOne: false;
2522
- referencedRelation: "prj_milestones";
2523
- referencedColumns: ["id"];
2611
+ referencedRelation: 'prj_milestones';
2612
+ referencedColumns: ['id'];
2524
2613
  },
2525
2614
  {
2526
- foreignKeyName: "fk_notes_project";
2527
- columns: ["project_id"];
2615
+ foreignKeyName: 'fk_notes_project';
2616
+ columns: ['project_id'];
2528
2617
  isOneToOne: false;
2529
- referencedRelation: "prj_projects";
2530
- referencedColumns: ["id"];
2618
+ referencedRelation: 'prj_projects';
2619
+ referencedColumns: ['id'];
2531
2620
  },
2532
2621
  {
2533
- foreignKeyName: "fk_notes_task";
2534
- columns: ["task_id"];
2622
+ foreignKeyName: 'fk_notes_task';
2623
+ columns: ['task_id'];
2535
2624
  isOneToOne: false;
2536
- referencedRelation: "prj_tasks";
2537
- referencedColumns: ["id"];
2625
+ referencedRelation: 'prj_tasks';
2626
+ referencedColumns: ['id'];
2538
2627
  },
2539
2628
  {
2540
- foreignKeyName: "prj_notes_created_by_fkey";
2541
- columns: ["created_by"];
2629
+ foreignKeyName: 'prj_notes_created_by_fkey';
2630
+ columns: ['created_by'];
2542
2631
  isOneToOne: false;
2543
- referencedRelation: "users";
2544
- referencedColumns: ["id"];
2632
+ referencedRelation: 'users';
2633
+ referencedColumns: ['id'];
2545
2634
  },
2546
2635
  {
2547
- foreignKeyName: "prj_notes_milestone_id_fkey";
2548
- columns: ["milestone_id"];
2636
+ foreignKeyName: 'prj_notes_milestone_id_fkey';
2637
+ columns: ['milestone_id'];
2549
2638
  isOneToOne: false;
2550
- referencedRelation: "prj_milestones";
2551
- referencedColumns: ["id"];
2639
+ referencedRelation: 'prj_milestones';
2640
+ referencedColumns: ['id'];
2552
2641
  },
2553
2642
  {
2554
- foreignKeyName: "prj_notes_organization_id_fkey";
2555
- columns: ["organization_id"];
2643
+ foreignKeyName: 'prj_notes_organization_id_fkey';
2644
+ columns: ['organization_id'];
2556
2645
  isOneToOne: false;
2557
- referencedRelation: "organizations";
2558
- referencedColumns: ["id"];
2646
+ referencedRelation: 'organizations';
2647
+ referencedColumns: ['id'];
2559
2648
  },
2560
2649
  {
2561
- foreignKeyName: "prj_notes_project_id_fkey";
2562
- columns: ["project_id"];
2650
+ foreignKeyName: 'prj_notes_project_id_fkey';
2651
+ columns: ['project_id'];
2563
2652
  isOneToOne: false;
2564
- referencedRelation: "prj_projects";
2565
- referencedColumns: ["id"];
2653
+ referencedRelation: 'prj_projects';
2654
+ referencedColumns: ['id'];
2566
2655
  },
2567
2656
  {
2568
- foreignKeyName: "prj_notes_task_id_fkey";
2569
- columns: ["task_id"];
2657
+ foreignKeyName: 'prj_notes_task_id_fkey';
2658
+ columns: ['task_id'];
2570
2659
  isOneToOne: false;
2571
- referencedRelation: "prj_tasks";
2572
- referencedColumns: ["id"];
2660
+ referencedRelation: 'prj_tasks';
2661
+ referencedColumns: ['id'];
2573
2662
  }
2574
2663
  ];
2575
2664
  };
@@ -2627,39 +2716,39 @@ type Database = {
2627
2716
  };
2628
2717
  Relationships: [
2629
2718
  {
2630
- foreignKeyName: "fk_projects_company";
2631
- columns: ["client_company_id"];
2719
+ foreignKeyName: 'fk_projects_company';
2720
+ columns: ['client_company_id'];
2632
2721
  isOneToOne: false;
2633
- referencedRelation: "acq_companies";
2634
- referencedColumns: ["id"];
2722
+ referencedRelation: 'acq_companies';
2723
+ referencedColumns: ['id'];
2635
2724
  },
2636
2725
  {
2637
- foreignKeyName: "fk_projects_deal";
2638
- columns: ["deal_id"];
2726
+ foreignKeyName: 'fk_projects_deal';
2727
+ columns: ['deal_id'];
2639
2728
  isOneToOne: false;
2640
- referencedRelation: "acq_deals";
2641
- referencedColumns: ["id"];
2729
+ referencedRelation: 'acq_deals';
2730
+ referencedColumns: ['id'];
2642
2731
  },
2643
2732
  {
2644
- foreignKeyName: "prj_projects_client_company_id_fkey";
2645
- columns: ["client_company_id"];
2733
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
2734
+ columns: ['client_company_id'];
2646
2735
  isOneToOne: false;
2647
- referencedRelation: "acq_companies";
2648
- referencedColumns: ["id"];
2736
+ referencedRelation: 'acq_companies';
2737
+ referencedColumns: ['id'];
2649
2738
  },
2650
2739
  {
2651
- foreignKeyName: "prj_projects_deal_id_fkey";
2652
- columns: ["deal_id"];
2740
+ foreignKeyName: 'prj_projects_deal_id_fkey';
2741
+ columns: ['deal_id'];
2653
2742
  isOneToOne: false;
2654
- referencedRelation: "acq_deals";
2655
- referencedColumns: ["id"];
2743
+ referencedRelation: 'acq_deals';
2744
+ referencedColumns: ['id'];
2656
2745
  },
2657
2746
  {
2658
- foreignKeyName: "prj_projects_organization_id_fkey";
2659
- columns: ["organization_id"];
2747
+ foreignKeyName: 'prj_projects_organization_id_fkey';
2748
+ columns: ['organization_id'];
2660
2749
  isOneToOne: false;
2661
- referencedRelation: "organizations";
2662
- referencedColumns: ["id"];
2750
+ referencedRelation: 'organizations';
2751
+ referencedColumns: ['id'];
2663
2752
  }
2664
2753
  ];
2665
2754
  };
@@ -2723,53 +2812,53 @@ type Database = {
2723
2812
  };
2724
2813
  Relationships: [
2725
2814
  {
2726
- foreignKeyName: "fk_tasks_milestone";
2727
- columns: ["milestone_id"];
2815
+ foreignKeyName: 'fk_tasks_milestone';
2816
+ columns: ['milestone_id'];
2728
2817
  isOneToOne: false;
2729
- referencedRelation: "prj_milestones";
2730
- referencedColumns: ["id"];
2818
+ referencedRelation: 'prj_milestones';
2819
+ referencedColumns: ['id'];
2731
2820
  },
2732
2821
  {
2733
- foreignKeyName: "fk_tasks_parent";
2734
- columns: ["parent_task_id"];
2822
+ foreignKeyName: 'fk_tasks_parent';
2823
+ columns: ['parent_task_id'];
2735
2824
  isOneToOne: false;
2736
- referencedRelation: "prj_tasks";
2737
- referencedColumns: ["id"];
2825
+ referencedRelation: 'prj_tasks';
2826
+ referencedColumns: ['id'];
2738
2827
  },
2739
2828
  {
2740
- foreignKeyName: "fk_tasks_project";
2741
- columns: ["project_id"];
2829
+ foreignKeyName: 'fk_tasks_project';
2830
+ columns: ['project_id'];
2742
2831
  isOneToOne: false;
2743
- referencedRelation: "prj_projects";
2744
- referencedColumns: ["id"];
2832
+ referencedRelation: 'prj_projects';
2833
+ referencedColumns: ['id'];
2745
2834
  },
2746
2835
  {
2747
- foreignKeyName: "prj_tasks_milestone_id_fkey";
2748
- columns: ["milestone_id"];
2836
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
2837
+ columns: ['milestone_id'];
2749
2838
  isOneToOne: false;
2750
- referencedRelation: "prj_milestones";
2751
- referencedColumns: ["id"];
2839
+ referencedRelation: 'prj_milestones';
2840
+ referencedColumns: ['id'];
2752
2841
  },
2753
2842
  {
2754
- foreignKeyName: "prj_tasks_organization_id_fkey";
2755
- columns: ["organization_id"];
2843
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
2844
+ columns: ['organization_id'];
2756
2845
  isOneToOne: false;
2757
- referencedRelation: "organizations";
2758
- referencedColumns: ["id"];
2846
+ referencedRelation: 'organizations';
2847
+ referencedColumns: ['id'];
2759
2848
  },
2760
2849
  {
2761
- foreignKeyName: "prj_tasks_parent_task_id_fkey";
2762
- columns: ["parent_task_id"];
2850
+ foreignKeyName: 'prj_tasks_parent_task_id_fkey';
2851
+ columns: ['parent_task_id'];
2763
2852
  isOneToOne: false;
2764
- referencedRelation: "prj_tasks";
2765
- referencedColumns: ["id"];
2853
+ referencedRelation: 'prj_tasks';
2854
+ referencedColumns: ['id'];
2766
2855
  },
2767
2856
  {
2768
- foreignKeyName: "prj_tasks_project_id_fkey";
2769
- columns: ["project_id"];
2857
+ foreignKeyName: 'prj_tasks_project_id_fkey';
2858
+ columns: ['project_id'];
2770
2859
  isOneToOne: false;
2771
- referencedRelation: "prj_projects";
2772
- referencedColumns: ["id"];
2860
+ referencedRelation: 'prj_projects';
2861
+ referencedColumns: ['id'];
2773
2862
  }
2774
2863
  ];
2775
2864
  };
@@ -2839,25 +2928,25 @@ type Database = {
2839
2928
  };
2840
2929
  Relationships: [
2841
2930
  {
2842
- foreignKeyName: "reported_requests_organization_id_fkey";
2843
- columns: ["organization_id"];
2931
+ foreignKeyName: 'reported_requests_organization_id_fkey';
2932
+ columns: ['organization_id'];
2844
2933
  isOneToOne: false;
2845
- referencedRelation: "organizations";
2846
- referencedColumns: ["id"];
2934
+ referencedRelation: 'organizations';
2935
+ referencedColumns: ['id'];
2847
2936
  },
2848
2937
  {
2849
- foreignKeyName: "reported_requests_project_id_fkey";
2850
- columns: ["project_id"];
2938
+ foreignKeyName: 'reported_requests_project_id_fkey';
2939
+ columns: ['project_id'];
2851
2940
  isOneToOne: false;
2852
- referencedRelation: "prj_projects";
2853
- referencedColumns: ["id"];
2941
+ referencedRelation: 'prj_projects';
2942
+ referencedColumns: ['id'];
2854
2943
  },
2855
2944
  {
2856
- foreignKeyName: "reported_requests_task_id_fkey";
2857
- columns: ["task_id"];
2945
+ foreignKeyName: 'reported_requests_task_id_fkey';
2946
+ columns: ['task_id'];
2858
2947
  isOneToOne: false;
2859
- referencedRelation: "prj_tasks";
2860
- referencedColumns: ["id"];
2948
+ referencedRelation: 'prj_tasks';
2949
+ referencedColumns: ['id'];
2861
2950
  }
2862
2951
  ];
2863
2952
  };
@@ -2897,11 +2986,11 @@ type Database = {
2897
2986
  };
2898
2987
  Relationships: [
2899
2988
  {
2900
- foreignKeyName: "session_messages_session_id_fkey";
2901
- columns: ["session_id"];
2989
+ foreignKeyName: 'session_messages_session_id_fkey';
2990
+ columns: ['session_id'];
2902
2991
  isOneToOne: false;
2903
- referencedRelation: "sessions";
2904
- referencedColumns: ["session_id"];
2992
+ referencedRelation: 'sessions';
2993
+ referencedColumns: ['session_id'];
2905
2994
  }
2906
2995
  ];
2907
2996
  };
@@ -2956,18 +3045,18 @@ type Database = {
2956
3045
  };
2957
3046
  Relationships: [
2958
3047
  {
2959
- foreignKeyName: "fk_organization";
2960
- columns: ["organization_id"];
3048
+ foreignKeyName: 'fk_organization';
3049
+ columns: ['organization_id'];
2961
3050
  isOneToOne: false;
2962
- referencedRelation: "organizations";
2963
- referencedColumns: ["id"];
3051
+ referencedRelation: 'organizations';
3052
+ referencedColumns: ['id'];
2964
3053
  },
2965
3054
  {
2966
- foreignKeyName: "fk_user";
2967
- columns: ["user_id"];
3055
+ foreignKeyName: 'fk_user';
3056
+ columns: ['user_id'];
2968
3057
  isOneToOne: false;
2969
- referencedRelation: "users";
2970
- referencedColumns: ["id"];
3058
+ referencedRelation: 'users';
3059
+ referencedColumns: ['id'];
2971
3060
  }
2972
3061
  ];
2973
3062
  };
@@ -3043,11 +3132,11 @@ type Database = {
3043
3132
  };
3044
3133
  Relationships: [
3045
3134
  {
3046
- foreignKeyName: "task_schedules_organization_id_fkey";
3047
- columns: ["organization_id"];
3135
+ foreignKeyName: 'task_schedules_organization_id_fkey';
3136
+ columns: ['organization_id'];
3048
3137
  isOneToOne: false;
3049
- referencedRelation: "organizations";
3050
- referencedColumns: ["id"];
3138
+ referencedRelation: 'organizations';
3139
+ referencedColumns: ['id'];
3051
3140
  }
3052
3141
  ];
3053
3142
  };
@@ -3102,11 +3191,11 @@ type Database = {
3102
3191
  };
3103
3192
  Relationships: [
3104
3193
  {
3105
- foreignKeyName: "user_profiles_last_visited_org_fkey";
3106
- columns: ["last_visited_org"];
3194
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
3195
+ columns: ['last_visited_org'];
3107
3196
  isOneToOne: false;
3108
- referencedRelation: "organizations";
3109
- referencedColumns: ["id"];
3197
+ referencedRelation: 'organizations';
3198
+ referencedColumns: ['id'];
3110
3199
  }
3111
3200
  ];
3112
3201
  };
@@ -3155,11 +3244,11 @@ type Database = {
3155
3244
  };
3156
3245
  Relationships: [
3157
3246
  {
3158
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
3159
- columns: ["organization_id"];
3247
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
3248
+ columns: ['organization_id'];
3160
3249
  isOneToOne: false;
3161
- referencedRelation: "organizations";
3162
- referencedColumns: ["id"];
3250
+ referencedRelation: 'organizations';
3251
+ referencedColumns: ['id'];
3163
3252
  }
3164
3253
  ];
3165
3254
  };
@@ -3247,12 +3336,6 @@ type Database = {
3247
3336
  };
3248
3337
  Returns: boolean;
3249
3338
  };
3250
- is_org_admin: {
3251
- Args: {
3252
- org_id: string;
3253
- };
3254
- Returns: boolean;
3255
- };
3256
3339
  is_org_member: {
3257
3340
  Args: {
3258
3341
  org_id: string;
@@ -3313,17 +3396,17 @@ type Database = {
3313
3396
  };
3314
3397
  };
3315
3398
  };
3316
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
3317
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3318
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
3399
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
3400
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
3401
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
3319
3402
  schema: keyof DatabaseWithoutInternals;
3320
3403
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
3321
3404
  schema: keyof DatabaseWithoutInternals;
3322
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
3405
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
3323
3406
  schema: keyof DatabaseWithoutInternals;
3324
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
3407
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
3325
3408
  Row: infer R;
3326
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
3409
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
3327
3410
  Row: infer R;
3328
3411
  } ? R : never : never;
3329
3412
 
@@ -3620,53 +3703,6 @@ interface NotificationDTO {
3620
3703
  type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row'];
3621
3704
  type TaskRow = Database['public']['Tables']['prj_tasks']['Row'];
3622
3705
 
3623
- /**
3624
- * Full ListConfig shape. `qualification` is required; everything else optional.
3625
- * Matches `acq_lists.config` jsonb and ListConfig type in types.ts.
3626
- */
3627
- declare const ListConfigSchema: z.ZodObject<{
3628
- qualification: z.ZodObject<{
3629
- targetDescription: z.ZodString;
3630
- minReviewCount: z.ZodNumber;
3631
- minRating: z.ZodNumber;
3632
- excludeFranchises: z.ZodBoolean;
3633
- customRules: z.ZodString;
3634
- }, z.core.$strip>;
3635
- enrichment: z.ZodOptional<z.ZodObject<{
3636
- emailDiscovery: z.ZodOptional<z.ZodObject<{
3637
- primary: z.ZodEnum<{
3638
- tomba: "tomba";
3639
- anymailfinder: "anymailfinder";
3640
- }>;
3641
- credentialName: z.ZodOptional<z.ZodString>;
3642
- }, z.core.$strip>>;
3643
- emailVerification: z.ZodOptional<z.ZodObject<{
3644
- provider: z.ZodLiteral<"millionverifier">;
3645
- threshold: z.ZodOptional<z.ZodEnum<{
3646
- ok: "ok";
3647
- "ok+catch_all": "ok+catch_all";
3648
- }>>;
3649
- }, z.core.$strip>>;
3650
- }, z.core.$strip>>;
3651
- personalization: z.ZodOptional<z.ZodObject<{
3652
- industryContext: z.ZodOptional<z.ZodString>;
3653
- emailBody: z.ZodOptional<z.ZodString>;
3654
- creativeDirection: z.ZodOptional<z.ZodString>;
3655
- exclusionRules: z.ZodOptional<z.ZodArray<z.ZodString>>;
3656
- }, z.core.$strip>>;
3657
- pipeline: z.ZodOptional<z.ZodObject<{
3658
- steps: z.ZodArray<z.ZodObject<{
3659
- key: z.ZodString;
3660
- label: z.ZodString;
3661
- resourceId: z.ZodString;
3662
- inputTemplate: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3663
- enabled: z.ZodBoolean;
3664
- order: z.ZodNumber;
3665
- }, z.core.$strip>>;
3666
- }, z.core.$strip>>;
3667
- }, z.core.$strip>;
3668
- type ListConfigInput = z.infer<typeof ListConfigSchema>;
3669
-
3670
3706
  declare const GetRecentActivityResponseSchema: z.ZodObject<{
3671
3707
  entries: z.ZodArray<z.ZodObject<{
3672
3708
  id: z.ZodString;
@@ -4087,7 +4123,7 @@ interface Activity {
4087
4123
  *
4088
4124
  * The DB table `org_rol_permissions` mirrors this constant. Reconciliation
4089
4125
  * runs at API boot (insert-or-update only — never auto-delete; see the
4090
- * deletion runbook in the auth-role-system-redesign doc).
4126
+ * deletion runbook in the auth-role-system doc -- review/auth-role-system/).
4091
4127
  *
4092
4128
  * Adding a permission:
4093
4129
  * 1. Add an entry below.
@@ -4107,7 +4143,8 @@ declare const PERMISSIONS: {
4107
4143
  readonly SECRETS_MANAGE: "secrets.manage";
4108
4144
  readonly OPERATIONS_READ: "operations.read";
4109
4145
  readonly OPERATIONS_MANAGE: "operations.manage";
4110
- readonly WORK_MANAGE: "work.manage";
4146
+ readonly ACQUISITION_MANAGE: "acquisition.manage";
4147
+ readonly PROJECTS_MANAGE: "projects.manage";
4111
4148
  };
4112
4149
  type PermissionKey = (typeof PERMISSIONS)[keyof typeof PERMISSIONS];
4113
4150
  /**
@@ -6233,6 +6270,28 @@ declare function buildErrorReport(opts: {
6233
6270
  }): string;
6234
6271
  declare function CrashErrorFallback({ error, componentStack, eventId, appVersion }: CrashErrorFallbackProps): react_jsx_runtime.JSX.Element;
6235
6272
 
6273
+ interface AppErrorBoundaryProps {
6274
+ children: ReactNode;
6275
+ appVersion?: string;
6276
+ /** Optional override -- defaults to CrashErrorFallback */
6277
+ fallback?: (props: {
6278
+ error: unknown;
6279
+ componentStack: string;
6280
+ }) => ReactNode;
6281
+ /** Hook for app-local error reporting (e.g. Sentry.captureException in command-center) */
6282
+ onError?: (error: unknown, errorInfo: ErrorInfo) => void;
6283
+ }
6284
+ interface AppErrorBoundaryState {
6285
+ error: unknown;
6286
+ componentStack: string;
6287
+ }
6288
+ declare class AppErrorBoundary extends Component<AppErrorBoundaryProps, AppErrorBoundaryState> {
6289
+ state: AppErrorBoundaryState;
6290
+ static getDerivedStateFromError(error: unknown): Partial<AppErrorBoundaryState>;
6291
+ componentDidCatch(error: unknown, errorInfo: ErrorInfo): void;
6292
+ render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
6293
+ }
6294
+
6236
6295
  declare function ApiKeySettings(): react_jsx_runtime.JSX.Element;
6237
6296
 
6238
6297
  interface ApiKeyListProps {
@@ -6498,12 +6557,6 @@ interface PipelineFunnelWidgetProps {
6498
6557
  }
6499
6558
  declare function PipelineFunnelWidget({ onStageClick, getDealValue }: PipelineFunnelWidgetProps): react_jsx_runtime.JSX.Element;
6500
6559
 
6501
- interface TasksDueWidgetProps {
6502
- onTaskClick: (dealId: string) => void;
6503
- onSeeAll?: () => void;
6504
- }
6505
- declare function TasksDueWidget({ onTaskClick, onSeeAll }: TasksDueWidgetProps): react_jsx_runtime.JSX.Element;
6506
-
6507
6560
  interface ActivityFeedWidgetProps {
6508
6561
  onDealClick: (dealId: string) => void;
6509
6562
  limit?: number;
@@ -6619,25 +6672,6 @@ declare function LeadGenRouteShell({ title, caption, body, links }: {
6619
6672
  }): react_jsx_runtime.JSX.Element;
6620
6673
  declare function getStatusColor(status: string | null): "green" | "red" | "gray";
6621
6674
  declare function getEnrichmentColor(status: string): "yellow" | "green" | "red" | "gray";
6622
- declare const LIST_TEMPLATE_OPTIONS: readonly [{
6623
- readonly value: "blank";
6624
- readonly label: "Blank";
6625
- readonly description: "Create an empty draft list with qualification defaults and no pipeline steps.";
6626
- }, {
6627
- readonly value: "full_pipeline";
6628
- readonly label: "Full 6-Stage";
6629
- readonly description: "Create a complete lead-gen pipeline from scrape through personalization.";
6630
- }, {
6631
- readonly value: "personalize_only";
6632
- readonly label: "Personalize Only";
6633
- readonly description: "Start with personalization and upload-focused steps for already-prepared contacts.";
6634
- }, {
6635
- readonly value: "email_refresh";
6636
- readonly label: "Email Refresh";
6637
- readonly description: "Run discovery, verification, and personalization for an existing company set.";
6638
- }];
6639
- type LeadGenListTemplateValue = (typeof LIST_TEMPLATE_OPTIONS)[number]['value'];
6640
- declare function buildListConfig(template: LeadGenListTemplateValue, targetDescription: string): ListConfigInput;
6641
6675
 
6642
6676
  declare function useDeleteLists(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
6643
6677
 
@@ -6741,5 +6775,5 @@ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
6741
6775
 
6742
6776
  declare const operationsManifest: FeatureModule;
6743
6777
 
6744
- export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, Can, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealDrawer, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TasksDueWidget, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, buildListConfig, calculateProgress, catalogItemToResourceDefinition, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
6745
- export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CreateRoleModalProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FeatureUnavailableStateProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, PermissionRow, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps, ZodFormRendererProps };
6778
+ export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, Can, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealDrawer, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, calculateProgress, catalogItemToResourceDefinition, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
6779
+ export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, AppErrorBoundaryProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CreateRoleModalProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FeatureUnavailableStateProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, PermissionRow, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps, ZodFormRendererProps };