@elevasis/ui 2.23.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.
- package/dist/app/index.d.ts +2915 -0
- package/dist/app/index.js +5 -4
- package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
- package/dist/{chunk-D3KQAABP.js → chunk-4NWNS7TX.js} +1 -1
- package/dist/{chunk-7PGEGSUM.js → chunk-FUEXGRFR.js} +2 -2
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-YU6MBDVO.js → chunk-KCJ6VATY.js} +4 -68
- package/dist/{chunk-FXWETLEB.js → chunk-KLFIJDTD.js} +1 -1
- package/dist/{chunk-PXGSJNBH.js → chunk-M2HWJY6O.js} +704 -375
- package/dist/{chunk-N6WLOWOD.js → chunk-MTR6AN2C.js} +3 -12
- package/dist/chunk-OWHQ65EQ.js +211 -0
- package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
- package/dist/{chunk-GUJUK6EH.js → chunk-QULLZ5PE.js} +172 -2
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
- package/dist/{chunk-EPV7NU2E.js → chunk-VGNAV3TH.js} +385 -188
- package/dist/{chunk-PTUOINQ2.js → chunk-YBZT7MJR.js} +3 -3
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/components/index.d.ts +488 -452
- package/dist/components/index.js +58 -22
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +463 -377
- package/dist/features/crm/index.d.ts +459 -379
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +457 -371
- package/dist/features/delivery/index.js +8 -8
- package/dist/features/lead-gen/index.d.ts +213 -65
- package/dist/features/lead-gen/index.js +9 -8
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/operations/index.js +11 -10
- package/dist/features/settings/index.d.ts +463 -377
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/delivery/index.d.ts +457 -371
- package/dist/hooks/index.d.ts +936 -718
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +936 -718
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1313 -1027
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +463 -377
- package/dist/organization/index.d.ts +11 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +463 -377
- package/dist/provider/index.d.ts +3132 -169
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +3098 -168
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +559 -389
- package/dist/test-utils/index.d.ts +21 -1
- package/dist/test-utils/index.js +13 -4
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +463 -377
- package/package.json +4 -4
- package/src/test-utils/README.md +2 -0
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
|
@@ -471,10 +471,57 @@ type Json = string | number | boolean | null | {
|
|
|
471
471
|
} | Json[];
|
|
472
472
|
type Database = {
|
|
473
473
|
__InternalSupabase: {
|
|
474
|
-
PostgrestVersion:
|
|
474
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
475
475
|
};
|
|
476
476
|
public: {
|
|
477
477
|
Tables: {
|
|
478
|
+
acq_artifacts: {
|
|
479
|
+
Row: {
|
|
480
|
+
content: Json;
|
|
481
|
+
created_at: string;
|
|
482
|
+
created_by: string | null;
|
|
483
|
+
id: string;
|
|
484
|
+
kind: string;
|
|
485
|
+
organization_id: string;
|
|
486
|
+
owner_id: string;
|
|
487
|
+
owner_kind: string;
|
|
488
|
+
source_execution_id: string | null;
|
|
489
|
+
version: number;
|
|
490
|
+
};
|
|
491
|
+
Insert: {
|
|
492
|
+
content: Json;
|
|
493
|
+
created_at?: string;
|
|
494
|
+
created_by?: string | null;
|
|
495
|
+
id?: string;
|
|
496
|
+
kind: string;
|
|
497
|
+
organization_id: string;
|
|
498
|
+
owner_id: string;
|
|
499
|
+
owner_kind: string;
|
|
500
|
+
source_execution_id?: string | null;
|
|
501
|
+
version?: number;
|
|
502
|
+
};
|
|
503
|
+
Update: {
|
|
504
|
+
content?: Json;
|
|
505
|
+
created_at?: string;
|
|
506
|
+
created_by?: string | null;
|
|
507
|
+
id?: string;
|
|
508
|
+
kind?: string;
|
|
509
|
+
organization_id?: string;
|
|
510
|
+
owner_id?: string;
|
|
511
|
+
owner_kind?: string;
|
|
512
|
+
source_execution_id?: string | null;
|
|
513
|
+
version?: number;
|
|
514
|
+
};
|
|
515
|
+
Relationships: [
|
|
516
|
+
{
|
|
517
|
+
foreignKeyName: 'acq_artifacts_organization_id_fkey';
|
|
518
|
+
columns: ['organization_id'];
|
|
519
|
+
isOneToOne: false;
|
|
520
|
+
referencedRelation: 'organizations';
|
|
521
|
+
referencedColumns: ['id'];
|
|
522
|
+
}
|
|
523
|
+
];
|
|
524
|
+
};
|
|
478
525
|
acq_companies: {
|
|
479
526
|
Row: {
|
|
480
527
|
batch_id: string | null;
|
|
@@ -493,6 +540,9 @@ type Database = {
|
|
|
493
540
|
num_employees: number | null;
|
|
494
541
|
organization_id: string;
|
|
495
542
|
pipeline_status: Json;
|
|
543
|
+
qualification_rubric_key: string | null;
|
|
544
|
+
qualification_score: number | null;
|
|
545
|
+
qualification_signals: Json | null;
|
|
496
546
|
segment: string | null;
|
|
497
547
|
source: string | null;
|
|
498
548
|
status: string;
|
|
@@ -516,6 +566,9 @@ type Database = {
|
|
|
516
566
|
num_employees?: number | null;
|
|
517
567
|
organization_id: string;
|
|
518
568
|
pipeline_status?: Json;
|
|
569
|
+
qualification_rubric_key?: string | null;
|
|
570
|
+
qualification_score?: number | null;
|
|
571
|
+
qualification_signals?: Json | null;
|
|
519
572
|
segment?: string | null;
|
|
520
573
|
source?: string | null;
|
|
521
574
|
status?: string;
|
|
@@ -539,6 +592,9 @@ type Database = {
|
|
|
539
592
|
num_employees?: number | null;
|
|
540
593
|
organization_id?: string;
|
|
541
594
|
pipeline_status?: Json;
|
|
595
|
+
qualification_rubric_key?: string | null;
|
|
596
|
+
qualification_score?: number | null;
|
|
597
|
+
qualification_signals?: Json | null;
|
|
542
598
|
segment?: string | null;
|
|
543
599
|
source?: string | null;
|
|
544
600
|
status?: string;
|
|
@@ -547,11 +603,11 @@ type Database = {
|
|
|
547
603
|
};
|
|
548
604
|
Relationships: [
|
|
549
605
|
{
|
|
550
|
-
foreignKeyName:
|
|
551
|
-
columns: [
|
|
606
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
607
|
+
columns: ['organization_id'];
|
|
552
608
|
isOneToOne: false;
|
|
553
|
-
referencedRelation:
|
|
554
|
-
referencedColumns: [
|
|
609
|
+
referencedRelation: 'organizations';
|
|
610
|
+
referencedColumns: ['id'];
|
|
555
611
|
}
|
|
556
612
|
];
|
|
557
613
|
};
|
|
@@ -575,6 +631,9 @@ type Database = {
|
|
|
575
631
|
opening_line: string | null;
|
|
576
632
|
organization_id: string;
|
|
577
633
|
pipeline_status: Json;
|
|
634
|
+
qualification_rubric_key: string | null;
|
|
635
|
+
qualification_score: number | null;
|
|
636
|
+
qualification_signals: Json | null;
|
|
578
637
|
source: string | null;
|
|
579
638
|
source_id: string | null;
|
|
580
639
|
status: string;
|
|
@@ -600,6 +659,9 @@ type Database = {
|
|
|
600
659
|
opening_line?: string | null;
|
|
601
660
|
organization_id: string;
|
|
602
661
|
pipeline_status?: Json;
|
|
662
|
+
qualification_rubric_key?: string | null;
|
|
663
|
+
qualification_score?: number | null;
|
|
664
|
+
qualification_signals?: Json | null;
|
|
603
665
|
source?: string | null;
|
|
604
666
|
source_id?: string | null;
|
|
605
667
|
status?: string;
|
|
@@ -625,6 +687,9 @@ type Database = {
|
|
|
625
687
|
opening_line?: string | null;
|
|
626
688
|
organization_id?: string;
|
|
627
689
|
pipeline_status?: Json;
|
|
690
|
+
qualification_rubric_key?: string | null;
|
|
691
|
+
qualification_score?: number | null;
|
|
692
|
+
qualification_signals?: Json | null;
|
|
628
693
|
source?: string | null;
|
|
629
694
|
source_id?: string | null;
|
|
630
695
|
status?: string;
|
|
@@ -633,18 +698,18 @@ type Database = {
|
|
|
633
698
|
};
|
|
634
699
|
Relationships: [
|
|
635
700
|
{
|
|
636
|
-
foreignKeyName:
|
|
637
|
-
columns: [
|
|
701
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
702
|
+
columns: ['company_id'];
|
|
638
703
|
isOneToOne: false;
|
|
639
|
-
referencedRelation:
|
|
640
|
-
referencedColumns: [
|
|
704
|
+
referencedRelation: 'acq_companies';
|
|
705
|
+
referencedColumns: ['id'];
|
|
641
706
|
},
|
|
642
707
|
{
|
|
643
|
-
foreignKeyName:
|
|
644
|
-
columns: [
|
|
708
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
709
|
+
columns: ['organization_id'];
|
|
645
710
|
isOneToOne: false;
|
|
646
|
-
referencedRelation:
|
|
647
|
-
referencedColumns: [
|
|
711
|
+
referencedRelation: 'organizations';
|
|
712
|
+
referencedColumns: ['id'];
|
|
648
713
|
}
|
|
649
714
|
];
|
|
650
715
|
};
|
|
@@ -681,11 +746,11 @@ type Database = {
|
|
|
681
746
|
};
|
|
682
747
|
Relationships: [
|
|
683
748
|
{
|
|
684
|
-
foreignKeyName:
|
|
685
|
-
columns: [
|
|
749
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
750
|
+
columns: ['organization_id'];
|
|
686
751
|
isOneToOne: false;
|
|
687
|
-
referencedRelation:
|
|
688
|
-
referencedColumns: [
|
|
752
|
+
referencedRelation: 'organizations';
|
|
753
|
+
referencedColumns: ['id'];
|
|
689
754
|
}
|
|
690
755
|
];
|
|
691
756
|
};
|
|
@@ -749,18 +814,18 @@ type Database = {
|
|
|
749
814
|
};
|
|
750
815
|
Relationships: [
|
|
751
816
|
{
|
|
752
|
-
foreignKeyName:
|
|
753
|
-
columns: [
|
|
817
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
818
|
+
columns: ['content_id'];
|
|
754
819
|
isOneToOne: false;
|
|
755
|
-
referencedRelation:
|
|
756
|
-
referencedColumns: [
|
|
820
|
+
referencedRelation: 'acq_content';
|
|
821
|
+
referencedColumns: ['id'];
|
|
757
822
|
},
|
|
758
823
|
{
|
|
759
|
-
foreignKeyName:
|
|
760
|
-
columns: [
|
|
824
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
825
|
+
columns: ['organization_id'];
|
|
761
826
|
isOneToOne: false;
|
|
762
|
-
referencedRelation:
|
|
763
|
-
referencedColumns: [
|
|
827
|
+
referencedRelation: 'organizations';
|
|
828
|
+
referencedColumns: ['id'];
|
|
764
829
|
}
|
|
765
830
|
];
|
|
766
831
|
};
|
|
@@ -794,18 +859,18 @@ type Database = {
|
|
|
794
859
|
};
|
|
795
860
|
Relationships: [
|
|
796
861
|
{
|
|
797
|
-
foreignKeyName:
|
|
798
|
-
columns: [
|
|
862
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
863
|
+
columns: ['deal_id'];
|
|
799
864
|
isOneToOne: false;
|
|
800
|
-
referencedRelation:
|
|
801
|
-
referencedColumns: [
|
|
865
|
+
referencedRelation: 'acq_deals';
|
|
866
|
+
referencedColumns: ['id'];
|
|
802
867
|
},
|
|
803
868
|
{
|
|
804
|
-
foreignKeyName:
|
|
805
|
-
columns: [
|
|
869
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
870
|
+
columns: ['organization_id'];
|
|
806
871
|
isOneToOne: false;
|
|
807
|
-
referencedRelation:
|
|
808
|
-
referencedColumns: [
|
|
872
|
+
referencedRelation: 'organizations';
|
|
873
|
+
referencedColumns: ['id'];
|
|
809
874
|
}
|
|
810
875
|
];
|
|
811
876
|
};
|
|
@@ -857,18 +922,18 @@ type Database = {
|
|
|
857
922
|
};
|
|
858
923
|
Relationships: [
|
|
859
924
|
{
|
|
860
|
-
foreignKeyName:
|
|
861
|
-
columns: [
|
|
925
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
926
|
+
columns: ['deal_id'];
|
|
862
927
|
isOneToOne: false;
|
|
863
|
-
referencedRelation:
|
|
864
|
-
referencedColumns: [
|
|
928
|
+
referencedRelation: 'acq_deals';
|
|
929
|
+
referencedColumns: ['id'];
|
|
865
930
|
},
|
|
866
931
|
{
|
|
867
|
-
foreignKeyName:
|
|
868
|
-
columns: [
|
|
932
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
933
|
+
columns: ['organization_id'];
|
|
869
934
|
isOneToOne: false;
|
|
870
|
-
referencedRelation:
|
|
871
|
-
referencedColumns: [
|
|
935
|
+
referencedRelation: 'organizations';
|
|
936
|
+
referencedColumns: ['id'];
|
|
872
937
|
}
|
|
873
938
|
];
|
|
874
939
|
};
|
|
@@ -980,86 +1045,95 @@ type Database = {
|
|
|
980
1045
|
};
|
|
981
1046
|
Relationships: [
|
|
982
1047
|
{
|
|
983
|
-
foreignKeyName:
|
|
984
|
-
columns: [
|
|
1048
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
1049
|
+
columns: ['contact_id'];
|
|
985
1050
|
isOneToOne: false;
|
|
986
|
-
referencedRelation:
|
|
987
|
-
referencedColumns: [
|
|
1051
|
+
referencedRelation: 'acq_contacts';
|
|
1052
|
+
referencedColumns: ['id'];
|
|
988
1053
|
},
|
|
989
1054
|
{
|
|
990
|
-
foreignKeyName:
|
|
991
|
-
columns: [
|
|
1055
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
1056
|
+
columns: ['organization_id'];
|
|
992
1057
|
isOneToOne: false;
|
|
993
|
-
referencedRelation:
|
|
994
|
-
referencedColumns: [
|
|
1058
|
+
referencedRelation: 'organizations';
|
|
1059
|
+
referencedColumns: ['id'];
|
|
995
1060
|
},
|
|
996
1061
|
{
|
|
997
|
-
foreignKeyName:
|
|
998
|
-
columns: [
|
|
1062
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
1063
|
+
columns: ['source_list_id'];
|
|
999
1064
|
isOneToOne: false;
|
|
1000
|
-
referencedRelation:
|
|
1001
|
-
referencedColumns: [
|
|
1065
|
+
referencedRelation: 'acq_lists';
|
|
1066
|
+
referencedColumns: ['id'];
|
|
1002
1067
|
}
|
|
1003
1068
|
];
|
|
1004
1069
|
};
|
|
1005
1070
|
acq_list_companies: {
|
|
1006
1071
|
Row: {
|
|
1072
|
+
activity_log: Json;
|
|
1007
1073
|
added_at: string;
|
|
1008
1074
|
added_by: string | null;
|
|
1009
1075
|
company_id: string;
|
|
1010
1076
|
id: string;
|
|
1011
1077
|
list_id: string;
|
|
1078
|
+
pipeline_key: string;
|
|
1079
|
+
processing_state: Json;
|
|
1012
1080
|
source_execution_id: string | null;
|
|
1013
1081
|
source_input_hash: string | null;
|
|
1014
1082
|
source_resource_id: string | null;
|
|
1015
|
-
|
|
1016
|
-
|
|
1083
|
+
stage_key: string;
|
|
1084
|
+
state_key: string;
|
|
1017
1085
|
};
|
|
1018
1086
|
Insert: {
|
|
1087
|
+
activity_log?: Json;
|
|
1019
1088
|
added_at?: string;
|
|
1020
1089
|
added_by?: string | null;
|
|
1021
1090
|
company_id: string;
|
|
1022
1091
|
id?: string;
|
|
1023
1092
|
list_id: string;
|
|
1093
|
+
pipeline_key?: string;
|
|
1094
|
+
processing_state?: Json;
|
|
1024
1095
|
source_execution_id?: string | null;
|
|
1025
1096
|
source_input_hash?: string | null;
|
|
1026
1097
|
source_resource_id?: string | null;
|
|
1027
|
-
|
|
1028
|
-
|
|
1098
|
+
stage_key: string;
|
|
1099
|
+
state_key: string;
|
|
1029
1100
|
};
|
|
1030
1101
|
Update: {
|
|
1102
|
+
activity_log?: Json;
|
|
1031
1103
|
added_at?: string;
|
|
1032
1104
|
added_by?: string | null;
|
|
1033
1105
|
company_id?: string;
|
|
1034
1106
|
id?: string;
|
|
1035
1107
|
list_id?: string;
|
|
1108
|
+
pipeline_key?: string;
|
|
1109
|
+
processing_state?: Json;
|
|
1036
1110
|
source_execution_id?: string | null;
|
|
1037
1111
|
source_input_hash?: string | null;
|
|
1038
1112
|
source_resource_id?: string | null;
|
|
1039
|
-
|
|
1040
|
-
|
|
1113
|
+
stage_key?: string;
|
|
1114
|
+
state_key?: string;
|
|
1041
1115
|
};
|
|
1042
1116
|
Relationships: [
|
|
1043
1117
|
{
|
|
1044
|
-
foreignKeyName:
|
|
1045
|
-
columns: [
|
|
1118
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
1119
|
+
columns: ['company_id'];
|
|
1046
1120
|
isOneToOne: false;
|
|
1047
|
-
referencedRelation:
|
|
1048
|
-
referencedColumns: [
|
|
1121
|
+
referencedRelation: 'acq_companies';
|
|
1122
|
+
referencedColumns: ['id'];
|
|
1049
1123
|
},
|
|
1050
1124
|
{
|
|
1051
|
-
foreignKeyName:
|
|
1052
|
-
columns: [
|
|
1125
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
1126
|
+
columns: ['list_id'];
|
|
1053
1127
|
isOneToOne: false;
|
|
1054
|
-
referencedRelation:
|
|
1055
|
-
referencedColumns: [
|
|
1128
|
+
referencedRelation: 'acq_lists';
|
|
1129
|
+
referencedColumns: ['id'];
|
|
1056
1130
|
},
|
|
1057
1131
|
{
|
|
1058
|
-
foreignKeyName:
|
|
1059
|
-
columns: [
|
|
1132
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
1133
|
+
columns: ['source_execution_id'];
|
|
1060
1134
|
isOneToOne: false;
|
|
1061
|
-
referencedRelation:
|
|
1062
|
-
referencedColumns: [
|
|
1135
|
+
referencedRelation: 'execution_logs';
|
|
1136
|
+
referencedColumns: ['execution_id'];
|
|
1063
1137
|
}
|
|
1064
1138
|
];
|
|
1065
1139
|
};
|
|
@@ -1087,79 +1161,88 @@ type Database = {
|
|
|
1087
1161
|
};
|
|
1088
1162
|
Relationships: [
|
|
1089
1163
|
{
|
|
1090
|
-
foreignKeyName:
|
|
1091
|
-
columns: [
|
|
1164
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
1165
|
+
columns: ['execution_id'];
|
|
1092
1166
|
isOneToOne: false;
|
|
1093
|
-
referencedRelation:
|
|
1094
|
-
referencedColumns: [
|
|
1167
|
+
referencedRelation: 'execution_logs';
|
|
1168
|
+
referencedColumns: ['execution_id'];
|
|
1095
1169
|
},
|
|
1096
1170
|
{
|
|
1097
|
-
foreignKeyName:
|
|
1098
|
-
columns: [
|
|
1171
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
1172
|
+
columns: ['list_id'];
|
|
1099
1173
|
isOneToOne: false;
|
|
1100
|
-
referencedRelation:
|
|
1101
|
-
referencedColumns: [
|
|
1174
|
+
referencedRelation: 'acq_lists';
|
|
1175
|
+
referencedColumns: ['id'];
|
|
1102
1176
|
}
|
|
1103
1177
|
];
|
|
1104
1178
|
};
|
|
1105
1179
|
acq_list_members: {
|
|
1106
1180
|
Row: {
|
|
1181
|
+
activity_log: Json;
|
|
1107
1182
|
added_at: string;
|
|
1108
1183
|
added_by: string | null;
|
|
1109
1184
|
contact_id: string;
|
|
1110
1185
|
id: string;
|
|
1111
1186
|
list_id: string;
|
|
1187
|
+
pipeline_key: string;
|
|
1188
|
+
processing_state: Json;
|
|
1112
1189
|
source_execution_id: string | null;
|
|
1113
1190
|
source_input_hash: string | null;
|
|
1114
1191
|
source_resource_id: string | null;
|
|
1115
|
-
|
|
1116
|
-
|
|
1192
|
+
stage_key: string;
|
|
1193
|
+
state_key: string;
|
|
1117
1194
|
};
|
|
1118
1195
|
Insert: {
|
|
1196
|
+
activity_log?: Json;
|
|
1119
1197
|
added_at?: string;
|
|
1120
1198
|
added_by?: string | null;
|
|
1121
1199
|
contact_id: string;
|
|
1122
1200
|
id?: string;
|
|
1123
1201
|
list_id: string;
|
|
1202
|
+
pipeline_key?: string;
|
|
1203
|
+
processing_state?: Json;
|
|
1124
1204
|
source_execution_id?: string | null;
|
|
1125
1205
|
source_input_hash?: string | null;
|
|
1126
1206
|
source_resource_id?: string | null;
|
|
1127
|
-
|
|
1128
|
-
|
|
1207
|
+
stage_key: string;
|
|
1208
|
+
state_key: string;
|
|
1129
1209
|
};
|
|
1130
1210
|
Update: {
|
|
1211
|
+
activity_log?: Json;
|
|
1131
1212
|
added_at?: string;
|
|
1132
1213
|
added_by?: string | null;
|
|
1133
1214
|
contact_id?: string;
|
|
1134
1215
|
id?: string;
|
|
1135
1216
|
list_id?: string;
|
|
1217
|
+
pipeline_key?: string;
|
|
1218
|
+
processing_state?: Json;
|
|
1136
1219
|
source_execution_id?: string | null;
|
|
1137
1220
|
source_input_hash?: string | null;
|
|
1138
1221
|
source_resource_id?: string | null;
|
|
1139
|
-
|
|
1140
|
-
|
|
1222
|
+
stage_key?: string;
|
|
1223
|
+
state_key?: string;
|
|
1141
1224
|
};
|
|
1142
1225
|
Relationships: [
|
|
1143
1226
|
{
|
|
1144
|
-
foreignKeyName:
|
|
1145
|
-
columns: [
|
|
1227
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
1228
|
+
columns: ['contact_id'];
|
|
1146
1229
|
isOneToOne: false;
|
|
1147
|
-
referencedRelation:
|
|
1148
|
-
referencedColumns: [
|
|
1230
|
+
referencedRelation: 'acq_contacts';
|
|
1231
|
+
referencedColumns: ['id'];
|
|
1149
1232
|
},
|
|
1150
1233
|
{
|
|
1151
|
-
foreignKeyName:
|
|
1152
|
-
columns: [
|
|
1234
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
1235
|
+
columns: ['list_id'];
|
|
1153
1236
|
isOneToOne: false;
|
|
1154
|
-
referencedRelation:
|
|
1155
|
-
referencedColumns: [
|
|
1237
|
+
referencedRelation: 'acq_lists';
|
|
1238
|
+
referencedColumns: ['id'];
|
|
1156
1239
|
},
|
|
1157
1240
|
{
|
|
1158
|
-
foreignKeyName:
|
|
1159
|
-
columns: [
|
|
1241
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
1242
|
+
columns: ['source_execution_id'];
|
|
1160
1243
|
isOneToOne: false;
|
|
1161
|
-
referencedRelation:
|
|
1162
|
-
referencedColumns: [
|
|
1244
|
+
referencedRelation: 'execution_logs';
|
|
1245
|
+
referencedColumns: ['execution_id'];
|
|
1163
1246
|
}
|
|
1164
1247
|
];
|
|
1165
1248
|
};
|
|
@@ -1167,55 +1250,58 @@ type Database = {
|
|
|
1167
1250
|
Row: {
|
|
1168
1251
|
batch_ids: string[];
|
|
1169
1252
|
completed_at: string | null;
|
|
1170
|
-
config: Json;
|
|
1171
1253
|
created_at: string;
|
|
1172
1254
|
description: string | null;
|
|
1255
|
+
icp: Json;
|
|
1173
1256
|
id: string;
|
|
1174
1257
|
instantly_campaign_id: string | null;
|
|
1175
1258
|
launched_at: string | null;
|
|
1176
1259
|
metadata: Json;
|
|
1177
1260
|
name: string;
|
|
1178
1261
|
organization_id: string;
|
|
1262
|
+
pipeline_config: Json;
|
|
1263
|
+
scraping_config: Json;
|
|
1179
1264
|
status: string;
|
|
1180
|
-
type: string;
|
|
1181
1265
|
};
|
|
1182
1266
|
Insert: {
|
|
1183
1267
|
batch_ids?: string[];
|
|
1184
1268
|
completed_at?: string | null;
|
|
1185
|
-
config?: Json;
|
|
1186
1269
|
created_at?: string;
|
|
1187
1270
|
description?: string | null;
|
|
1271
|
+
icp?: Json;
|
|
1188
1272
|
id?: string;
|
|
1189
1273
|
instantly_campaign_id?: string | null;
|
|
1190
1274
|
launched_at?: string | null;
|
|
1191
1275
|
metadata?: Json;
|
|
1192
1276
|
name: string;
|
|
1193
1277
|
organization_id: string;
|
|
1278
|
+
pipeline_config?: Json;
|
|
1279
|
+
scraping_config?: Json;
|
|
1194
1280
|
status?: string;
|
|
1195
|
-
type?: string;
|
|
1196
1281
|
};
|
|
1197
1282
|
Update: {
|
|
1198
1283
|
batch_ids?: string[];
|
|
1199
1284
|
completed_at?: string | null;
|
|
1200
|
-
config?: Json;
|
|
1201
1285
|
created_at?: string;
|
|
1202
1286
|
description?: string | null;
|
|
1287
|
+
icp?: Json;
|
|
1203
1288
|
id?: string;
|
|
1204
1289
|
instantly_campaign_id?: string | null;
|
|
1205
1290
|
launched_at?: string | null;
|
|
1206
1291
|
metadata?: Json;
|
|
1207
1292
|
name?: string;
|
|
1208
1293
|
organization_id?: string;
|
|
1294
|
+
pipeline_config?: Json;
|
|
1295
|
+
scraping_config?: Json;
|
|
1209
1296
|
status?: string;
|
|
1210
|
-
type?: string;
|
|
1211
1297
|
};
|
|
1212
1298
|
Relationships: [
|
|
1213
1299
|
{
|
|
1214
|
-
foreignKeyName:
|
|
1215
|
-
columns: [
|
|
1300
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
1301
|
+
columns: ['organization_id'];
|
|
1216
1302
|
isOneToOne: false;
|
|
1217
|
-
referencedRelation:
|
|
1218
|
-
referencedColumns: [
|
|
1303
|
+
referencedRelation: 'organizations';
|
|
1304
|
+
referencedColumns: ['id'];
|
|
1219
1305
|
}
|
|
1220
1306
|
];
|
|
1221
1307
|
};
|
|
@@ -1291,18 +1377,18 @@ type Database = {
|
|
|
1291
1377
|
};
|
|
1292
1378
|
Relationships: [
|
|
1293
1379
|
{
|
|
1294
|
-
foreignKeyName:
|
|
1295
|
-
columns: [
|
|
1380
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
1381
|
+
columns: ['organization_id'];
|
|
1296
1382
|
isOneToOne: false;
|
|
1297
|
-
referencedRelation:
|
|
1298
|
-
referencedColumns: [
|
|
1383
|
+
referencedRelation: 'organizations';
|
|
1384
|
+
referencedColumns: ['id'];
|
|
1299
1385
|
},
|
|
1300
1386
|
{
|
|
1301
|
-
foreignKeyName:
|
|
1302
|
-
columns: [
|
|
1387
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
1388
|
+
columns: ['seo_page_id'];
|
|
1303
1389
|
isOneToOne: false;
|
|
1304
|
-
referencedRelation:
|
|
1305
|
-
referencedColumns: [
|
|
1390
|
+
referencedRelation: 'acq_seo_pages';
|
|
1391
|
+
referencedColumns: ['id'];
|
|
1306
1392
|
}
|
|
1307
1393
|
];
|
|
1308
1394
|
};
|
|
@@ -1378,11 +1464,11 @@ type Database = {
|
|
|
1378
1464
|
};
|
|
1379
1465
|
Relationships: [
|
|
1380
1466
|
{
|
|
1381
|
-
foreignKeyName:
|
|
1382
|
-
columns: [
|
|
1467
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1468
|
+
columns: ['organization_id'];
|
|
1383
1469
|
isOneToOne: false;
|
|
1384
|
-
referencedRelation:
|
|
1385
|
-
referencedColumns: [
|
|
1470
|
+
referencedRelation: 'organizations';
|
|
1471
|
+
referencedColumns: ['id'];
|
|
1386
1472
|
}
|
|
1387
1473
|
];
|
|
1388
1474
|
};
|
|
@@ -1479,11 +1565,11 @@ type Database = {
|
|
|
1479
1565
|
};
|
|
1480
1566
|
Relationships: [
|
|
1481
1567
|
{
|
|
1482
|
-
foreignKeyName:
|
|
1483
|
-
columns: [
|
|
1568
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
1569
|
+
columns: ['organization_id'];
|
|
1484
1570
|
isOneToOne: false;
|
|
1485
|
-
referencedRelation:
|
|
1486
|
-
referencedColumns: [
|
|
1571
|
+
referencedRelation: 'organizations';
|
|
1572
|
+
referencedColumns: ['id'];
|
|
1487
1573
|
}
|
|
1488
1574
|
];
|
|
1489
1575
|
};
|
|
@@ -1538,11 +1624,11 @@ type Database = {
|
|
|
1538
1624
|
};
|
|
1539
1625
|
Relationships: [
|
|
1540
1626
|
{
|
|
1541
|
-
foreignKeyName:
|
|
1542
|
-
columns: [
|
|
1627
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1628
|
+
columns: ['organization_id'];
|
|
1543
1629
|
isOneToOne: false;
|
|
1544
|
-
referencedRelation:
|
|
1545
|
-
referencedColumns: [
|
|
1630
|
+
referencedRelation: 'organizations';
|
|
1631
|
+
referencedColumns: ['id'];
|
|
1546
1632
|
}
|
|
1547
1633
|
];
|
|
1548
1634
|
};
|
|
@@ -1573,11 +1659,11 @@ type Database = {
|
|
|
1573
1659
|
};
|
|
1574
1660
|
Relationships: [
|
|
1575
1661
|
{
|
|
1576
|
-
foreignKeyName:
|
|
1577
|
-
columns: [
|
|
1662
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1663
|
+
columns: ['organization_id'];
|
|
1578
1664
|
isOneToOne: false;
|
|
1579
|
-
referencedRelation:
|
|
1580
|
-
referencedColumns: [
|
|
1665
|
+
referencedRelation: 'organizations';
|
|
1666
|
+
referencedColumns: ['id'];
|
|
1581
1667
|
}
|
|
1582
1668
|
];
|
|
1583
1669
|
};
|
|
@@ -1656,25 +1742,25 @@ type Database = {
|
|
|
1656
1742
|
};
|
|
1657
1743
|
Relationships: [
|
|
1658
1744
|
{
|
|
1659
|
-
foreignKeyName:
|
|
1660
|
-
columns: [
|
|
1745
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1746
|
+
columns: ['completed_by'];
|
|
1661
1747
|
isOneToOne: false;
|
|
1662
|
-
referencedRelation:
|
|
1663
|
-
referencedColumns: [
|
|
1748
|
+
referencedRelation: 'users';
|
|
1749
|
+
referencedColumns: ['id'];
|
|
1664
1750
|
},
|
|
1665
1751
|
{
|
|
1666
|
-
foreignKeyName:
|
|
1667
|
-
columns: [
|
|
1752
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1753
|
+
columns: ['organization_id'];
|
|
1668
1754
|
isOneToOne: false;
|
|
1669
|
-
referencedRelation:
|
|
1670
|
-
referencedColumns: [
|
|
1755
|
+
referencedRelation: 'organizations';
|
|
1756
|
+
referencedColumns: ['id'];
|
|
1671
1757
|
},
|
|
1672
1758
|
{
|
|
1673
|
-
foreignKeyName:
|
|
1674
|
-
columns: [
|
|
1759
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1760
|
+
columns: ['target_execution_id'];
|
|
1675
1761
|
isOneToOne: false;
|
|
1676
|
-
referencedRelation:
|
|
1677
|
-
referencedColumns: [
|
|
1762
|
+
referencedRelation: 'execution_logs';
|
|
1763
|
+
referencedColumns: ['execution_id'];
|
|
1678
1764
|
}
|
|
1679
1765
|
];
|
|
1680
1766
|
};
|
|
@@ -1714,18 +1800,18 @@ type Database = {
|
|
|
1714
1800
|
};
|
|
1715
1801
|
Relationships: [
|
|
1716
1802
|
{
|
|
1717
|
-
foreignKeyName:
|
|
1718
|
-
columns: [
|
|
1803
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1804
|
+
columns: ['created_by'];
|
|
1719
1805
|
isOneToOne: false;
|
|
1720
|
-
referencedRelation:
|
|
1721
|
-
referencedColumns: [
|
|
1806
|
+
referencedRelation: 'users';
|
|
1807
|
+
referencedColumns: ['id'];
|
|
1722
1808
|
},
|
|
1723
1809
|
{
|
|
1724
|
-
foreignKeyName:
|
|
1725
|
-
columns: [
|
|
1810
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1811
|
+
columns: ['organization_id'];
|
|
1726
1812
|
isOneToOne: false;
|
|
1727
|
-
referencedRelation:
|
|
1728
|
-
referencedColumns: [
|
|
1813
|
+
referencedRelation: 'organizations';
|
|
1814
|
+
referencedColumns: ['id'];
|
|
1729
1815
|
}
|
|
1730
1816
|
];
|
|
1731
1817
|
};
|
|
@@ -1771,11 +1857,11 @@ type Database = {
|
|
|
1771
1857
|
};
|
|
1772
1858
|
Relationships: [
|
|
1773
1859
|
{
|
|
1774
|
-
foreignKeyName:
|
|
1775
|
-
columns: [
|
|
1860
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1861
|
+
columns: ['organization_id'];
|
|
1776
1862
|
isOneToOne: false;
|
|
1777
|
-
referencedRelation:
|
|
1778
|
-
referencedColumns: [
|
|
1863
|
+
referencedRelation: 'organizations';
|
|
1864
|
+
referencedColumns: ['id'];
|
|
1779
1865
|
}
|
|
1780
1866
|
];
|
|
1781
1867
|
};
|
|
@@ -1830,25 +1916,25 @@ type Database = {
|
|
|
1830
1916
|
};
|
|
1831
1917
|
Relationships: [
|
|
1832
1918
|
{
|
|
1833
|
-
foreignKeyName:
|
|
1834
|
-
columns: [
|
|
1919
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
1920
|
+
columns: ['execution_id'];
|
|
1835
1921
|
isOneToOne: false;
|
|
1836
|
-
referencedRelation:
|
|
1837
|
-
referencedColumns: [
|
|
1922
|
+
referencedRelation: 'execution_logs';
|
|
1923
|
+
referencedColumns: ['execution_id'];
|
|
1838
1924
|
},
|
|
1839
1925
|
{
|
|
1840
|
-
foreignKeyName:
|
|
1841
|
-
columns: [
|
|
1926
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
1927
|
+
columns: ['organization_id'];
|
|
1842
1928
|
isOneToOne: false;
|
|
1843
|
-
referencedRelation:
|
|
1844
|
-
referencedColumns: [
|
|
1929
|
+
referencedRelation: 'organizations';
|
|
1930
|
+
referencedColumns: ['id'];
|
|
1845
1931
|
},
|
|
1846
1932
|
{
|
|
1847
|
-
foreignKeyName:
|
|
1848
|
-
columns: [
|
|
1933
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
1934
|
+
columns: ['resolved_by'];
|
|
1849
1935
|
isOneToOne: false;
|
|
1850
|
-
referencedRelation:
|
|
1851
|
-
referencedColumns: [
|
|
1936
|
+
referencedRelation: 'users';
|
|
1937
|
+
referencedColumns: ['id'];
|
|
1852
1938
|
}
|
|
1853
1939
|
];
|
|
1854
1940
|
};
|
|
@@ -1930,32 +2016,32 @@ type Database = {
|
|
|
1930
2016
|
};
|
|
1931
2017
|
Relationships: [
|
|
1932
2018
|
{
|
|
1933
|
-
foreignKeyName:
|
|
1934
|
-
columns: [
|
|
2019
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
2020
|
+
columns: ['organization_id'];
|
|
1935
2021
|
isOneToOne: false;
|
|
1936
|
-
referencedRelation:
|
|
1937
|
-
referencedColumns: [
|
|
2022
|
+
referencedRelation: 'organizations';
|
|
2023
|
+
referencedColumns: ['id'];
|
|
1938
2024
|
},
|
|
1939
2025
|
{
|
|
1940
|
-
foreignKeyName:
|
|
1941
|
-
columns: [
|
|
2026
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
2027
|
+
columns: ['origin_execution_id'];
|
|
1942
2028
|
isOneToOne: false;
|
|
1943
|
-
referencedRelation:
|
|
1944
|
-
referencedColumns: [
|
|
2029
|
+
referencedRelation: 'execution_logs';
|
|
2030
|
+
referencedColumns: ['execution_id'];
|
|
1945
2031
|
},
|
|
1946
2032
|
{
|
|
1947
|
-
foreignKeyName:
|
|
1948
|
-
columns: [
|
|
2033
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
2034
|
+
columns: ['session_id'];
|
|
1949
2035
|
isOneToOne: false;
|
|
1950
|
-
referencedRelation:
|
|
1951
|
-
referencedColumns: [
|
|
2036
|
+
referencedRelation: 'sessions';
|
|
2037
|
+
referencedColumns: ['session_id'];
|
|
1952
2038
|
},
|
|
1953
2039
|
{
|
|
1954
|
-
foreignKeyName:
|
|
1955
|
-
columns: [
|
|
2040
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
2041
|
+
columns: ['user_id'];
|
|
1956
2042
|
isOneToOne: false;
|
|
1957
|
-
referencedRelation:
|
|
1958
|
-
referencedColumns: [
|
|
2043
|
+
referencedRelation: 'users';
|
|
2044
|
+
referencedColumns: ['id'];
|
|
1959
2045
|
}
|
|
1960
2046
|
];
|
|
1961
2047
|
};
|
|
@@ -2001,18 +2087,18 @@ type Database = {
|
|
|
2001
2087
|
};
|
|
2002
2088
|
Relationships: [
|
|
2003
2089
|
{
|
|
2004
|
-
foreignKeyName:
|
|
2005
|
-
columns: [
|
|
2090
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
2091
|
+
columns: ['execution_id'];
|
|
2006
2092
|
isOneToOne: true;
|
|
2007
|
-
referencedRelation:
|
|
2008
|
-
referencedColumns: [
|
|
2093
|
+
referencedRelation: 'execution_logs';
|
|
2094
|
+
referencedColumns: ['execution_id'];
|
|
2009
2095
|
},
|
|
2010
2096
|
{
|
|
2011
|
-
foreignKeyName:
|
|
2012
|
-
columns: [
|
|
2097
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
2098
|
+
columns: ['organization_id'];
|
|
2013
2099
|
isOneToOne: false;
|
|
2014
|
-
referencedRelation:
|
|
2015
|
-
referencedColumns: [
|
|
2100
|
+
referencedRelation: 'organizations';
|
|
2101
|
+
referencedColumns: ['id'];
|
|
2016
2102
|
}
|
|
2017
2103
|
];
|
|
2018
2104
|
};
|
|
@@ -2055,18 +2141,18 @@ type Database = {
|
|
|
2055
2141
|
};
|
|
2056
2142
|
Relationships: [
|
|
2057
2143
|
{
|
|
2058
|
-
foreignKeyName:
|
|
2059
|
-
columns: [
|
|
2144
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
2145
|
+
columns: ['organization_id'];
|
|
2060
2146
|
isOneToOne: false;
|
|
2061
|
-
referencedRelation:
|
|
2062
|
-
referencedColumns: [
|
|
2147
|
+
referencedRelation: 'organizations';
|
|
2148
|
+
referencedColumns: ['id'];
|
|
2063
2149
|
},
|
|
2064
2150
|
{
|
|
2065
|
-
foreignKeyName:
|
|
2066
|
-
columns: [
|
|
2151
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
2152
|
+
columns: ['user_id'];
|
|
2067
2153
|
isOneToOne: false;
|
|
2068
|
-
referencedRelation:
|
|
2069
|
-
referencedColumns: [
|
|
2154
|
+
referencedRelation: 'users';
|
|
2155
|
+
referencedColumns: ['id'];
|
|
2070
2156
|
}
|
|
2071
2157
|
];
|
|
2072
2158
|
};
|
|
@@ -2121,18 +2207,18 @@ type Database = {
|
|
|
2121
2207
|
};
|
|
2122
2208
|
Relationships: [
|
|
2123
2209
|
{
|
|
2124
|
-
foreignKeyName:
|
|
2125
|
-
columns: [
|
|
2210
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
2211
|
+
columns: ['inviter_user_id'];
|
|
2126
2212
|
isOneToOne: false;
|
|
2127
|
-
referencedRelation:
|
|
2128
|
-
referencedColumns: [
|
|
2213
|
+
referencedRelation: 'users';
|
|
2214
|
+
referencedColumns: ['id'];
|
|
2129
2215
|
},
|
|
2130
2216
|
{
|
|
2131
|
-
foreignKeyName:
|
|
2132
|
-
columns: [
|
|
2217
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
2218
|
+
columns: ['organization_id'];
|
|
2133
2219
|
isOneToOne: false;
|
|
2134
|
-
referencedRelation:
|
|
2135
|
-
referencedColumns: [
|
|
2220
|
+
referencedRelation: 'organizations';
|
|
2221
|
+
referencedColumns: ['id'];
|
|
2136
2222
|
}
|
|
2137
2223
|
];
|
|
2138
2224
|
};
|
|
@@ -2175,18 +2261,18 @@ type Database = {
|
|
|
2175
2261
|
};
|
|
2176
2262
|
Relationships: [
|
|
2177
2263
|
{
|
|
2178
|
-
foreignKeyName:
|
|
2179
|
-
columns: [
|
|
2264
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
2265
|
+
columns: ['organization_id'];
|
|
2180
2266
|
isOneToOne: false;
|
|
2181
|
-
referencedRelation:
|
|
2182
|
-
referencedColumns: [
|
|
2267
|
+
referencedRelation: 'organizations';
|
|
2268
|
+
referencedColumns: ['id'];
|
|
2183
2269
|
},
|
|
2184
2270
|
{
|
|
2185
|
-
foreignKeyName:
|
|
2186
|
-
columns: [
|
|
2271
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
2272
|
+
columns: ['user_id'];
|
|
2187
2273
|
isOneToOne: false;
|
|
2188
|
-
referencedRelation:
|
|
2189
|
-
referencedColumns: [
|
|
2274
|
+
referencedRelation: 'users';
|
|
2275
|
+
referencedColumns: ['id'];
|
|
2190
2276
|
}
|
|
2191
2277
|
];
|
|
2192
2278
|
};
|
|
@@ -2211,25 +2297,25 @@ type Database = {
|
|
|
2211
2297
|
};
|
|
2212
2298
|
Relationships: [
|
|
2213
2299
|
{
|
|
2214
|
-
foreignKeyName:
|
|
2215
|
-
columns: [
|
|
2300
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
2301
|
+
columns: ['granted_by'];
|
|
2216
2302
|
isOneToOne: false;
|
|
2217
|
-
referencedRelation:
|
|
2218
|
-
referencedColumns: [
|
|
2303
|
+
referencedRelation: 'users';
|
|
2304
|
+
referencedColumns: ['id'];
|
|
2219
2305
|
},
|
|
2220
2306
|
{
|
|
2221
|
-
foreignKeyName:
|
|
2222
|
-
columns: [
|
|
2307
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
2308
|
+
columns: ['membership_id'];
|
|
2223
2309
|
isOneToOne: false;
|
|
2224
|
-
referencedRelation:
|
|
2225
|
-
referencedColumns: [
|
|
2310
|
+
referencedRelation: 'org_memberships';
|
|
2311
|
+
referencedColumns: ['id'];
|
|
2226
2312
|
},
|
|
2227
2313
|
{
|
|
2228
|
-
foreignKeyName:
|
|
2229
|
-
columns: [
|
|
2314
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
2315
|
+
columns: ['role_id'];
|
|
2230
2316
|
isOneToOne: false;
|
|
2231
|
-
referencedRelation:
|
|
2232
|
-
referencedColumns: [
|
|
2317
|
+
referencedRelation: 'org_rol_definitions';
|
|
2318
|
+
referencedColumns: ['id'];
|
|
2233
2319
|
}
|
|
2234
2320
|
];
|
|
2235
2321
|
};
|
|
@@ -2266,11 +2352,11 @@ type Database = {
|
|
|
2266
2352
|
};
|
|
2267
2353
|
Relationships: [
|
|
2268
2354
|
{
|
|
2269
|
-
foreignKeyName:
|
|
2270
|
-
columns: [
|
|
2355
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
2356
|
+
columns: ['organization_id'];
|
|
2271
2357
|
isOneToOne: false;
|
|
2272
|
-
referencedRelation:
|
|
2273
|
-
referencedColumns: [
|
|
2358
|
+
referencedRelation: 'organizations';
|
|
2359
|
+
referencedColumns: ['id'];
|
|
2274
2360
|
}
|
|
2275
2361
|
];
|
|
2276
2362
|
};
|
|
@@ -2292,18 +2378,18 @@ type Database = {
|
|
|
2292
2378
|
};
|
|
2293
2379
|
Relationships: [
|
|
2294
2380
|
{
|
|
2295
|
-
foreignKeyName:
|
|
2296
|
-
columns: [
|
|
2381
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
2382
|
+
columns: ['permission_key'];
|
|
2297
2383
|
isOneToOne: false;
|
|
2298
|
-
referencedRelation:
|
|
2299
|
-
referencedColumns: [
|
|
2384
|
+
referencedRelation: 'org_rol_permissions';
|
|
2385
|
+
referencedColumns: ['key'];
|
|
2300
2386
|
},
|
|
2301
2387
|
{
|
|
2302
|
-
foreignKeyName:
|
|
2303
|
-
columns: [
|
|
2388
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
2389
|
+
columns: ['role_id'];
|
|
2304
2390
|
isOneToOne: false;
|
|
2305
|
-
referencedRelation:
|
|
2306
|
-
referencedColumns: [
|
|
2391
|
+
referencedRelation: 'org_rol_definitions';
|
|
2392
|
+
referencedColumns: ['id'];
|
|
2307
2393
|
}
|
|
2308
2394
|
];
|
|
2309
2395
|
};
|
|
@@ -2415,25 +2501,25 @@ type Database = {
|
|
|
2415
2501
|
};
|
|
2416
2502
|
Relationships: [
|
|
2417
2503
|
{
|
|
2418
|
-
foreignKeyName:
|
|
2419
|
-
columns: [
|
|
2504
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2505
|
+
columns: ['project_id'];
|
|
2420
2506
|
isOneToOne: false;
|
|
2421
|
-
referencedRelation:
|
|
2422
|
-
referencedColumns: [
|
|
2507
|
+
referencedRelation: 'prj_projects';
|
|
2508
|
+
referencedColumns: ['id'];
|
|
2423
2509
|
},
|
|
2424
2510
|
{
|
|
2425
|
-
foreignKeyName:
|
|
2426
|
-
columns: [
|
|
2511
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2512
|
+
columns: ['organization_id'];
|
|
2427
2513
|
isOneToOne: false;
|
|
2428
|
-
referencedRelation:
|
|
2429
|
-
referencedColumns: [
|
|
2514
|
+
referencedRelation: 'organizations';
|
|
2515
|
+
referencedColumns: ['id'];
|
|
2430
2516
|
},
|
|
2431
2517
|
{
|
|
2432
|
-
foreignKeyName:
|
|
2433
|
-
columns: [
|
|
2518
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2519
|
+
columns: ['project_id'];
|
|
2434
2520
|
isOneToOne: false;
|
|
2435
|
-
referencedRelation:
|
|
2436
|
-
referencedColumns: [
|
|
2521
|
+
referencedRelation: 'prj_projects';
|
|
2522
|
+
referencedColumns: ['id'];
|
|
2437
2523
|
}
|
|
2438
2524
|
];
|
|
2439
2525
|
};
|
|
@@ -2482,67 +2568,67 @@ type Database = {
|
|
|
2482
2568
|
};
|
|
2483
2569
|
Relationships: [
|
|
2484
2570
|
{
|
|
2485
|
-
foreignKeyName:
|
|
2486
|
-
columns: [
|
|
2571
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2572
|
+
columns: ['created_by'];
|
|
2487
2573
|
isOneToOne: false;
|
|
2488
|
-
referencedRelation:
|
|
2489
|
-
referencedColumns: [
|
|
2574
|
+
referencedRelation: 'users';
|
|
2575
|
+
referencedColumns: ['id'];
|
|
2490
2576
|
},
|
|
2491
2577
|
{
|
|
2492
|
-
foreignKeyName:
|
|
2493
|
-
columns: [
|
|
2578
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2579
|
+
columns: ['milestone_id'];
|
|
2494
2580
|
isOneToOne: false;
|
|
2495
|
-
referencedRelation:
|
|
2496
|
-
referencedColumns: [
|
|
2581
|
+
referencedRelation: 'prj_milestones';
|
|
2582
|
+
referencedColumns: ['id'];
|
|
2497
2583
|
},
|
|
2498
2584
|
{
|
|
2499
|
-
foreignKeyName:
|
|
2500
|
-
columns: [
|
|
2585
|
+
foreignKeyName: 'fk_notes_project';
|
|
2586
|
+
columns: ['project_id'];
|
|
2501
2587
|
isOneToOne: false;
|
|
2502
|
-
referencedRelation:
|
|
2503
|
-
referencedColumns: [
|
|
2588
|
+
referencedRelation: 'prj_projects';
|
|
2589
|
+
referencedColumns: ['id'];
|
|
2504
2590
|
},
|
|
2505
2591
|
{
|
|
2506
|
-
foreignKeyName:
|
|
2507
|
-
columns: [
|
|
2592
|
+
foreignKeyName: 'fk_notes_task';
|
|
2593
|
+
columns: ['task_id'];
|
|
2508
2594
|
isOneToOne: false;
|
|
2509
|
-
referencedRelation:
|
|
2510
|
-
referencedColumns: [
|
|
2595
|
+
referencedRelation: 'prj_tasks';
|
|
2596
|
+
referencedColumns: ['id'];
|
|
2511
2597
|
},
|
|
2512
2598
|
{
|
|
2513
|
-
foreignKeyName:
|
|
2514
|
-
columns: [
|
|
2599
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2600
|
+
columns: ['created_by'];
|
|
2515
2601
|
isOneToOne: false;
|
|
2516
|
-
referencedRelation:
|
|
2517
|
-
referencedColumns: [
|
|
2602
|
+
referencedRelation: 'users';
|
|
2603
|
+
referencedColumns: ['id'];
|
|
2518
2604
|
},
|
|
2519
2605
|
{
|
|
2520
|
-
foreignKeyName:
|
|
2521
|
-
columns: [
|
|
2606
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2607
|
+
columns: ['milestone_id'];
|
|
2522
2608
|
isOneToOne: false;
|
|
2523
|
-
referencedRelation:
|
|
2524
|
-
referencedColumns: [
|
|
2609
|
+
referencedRelation: 'prj_milestones';
|
|
2610
|
+
referencedColumns: ['id'];
|
|
2525
2611
|
},
|
|
2526
2612
|
{
|
|
2527
|
-
foreignKeyName:
|
|
2528
|
-
columns: [
|
|
2613
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2614
|
+
columns: ['organization_id'];
|
|
2529
2615
|
isOneToOne: false;
|
|
2530
|
-
referencedRelation:
|
|
2531
|
-
referencedColumns: [
|
|
2616
|
+
referencedRelation: 'organizations';
|
|
2617
|
+
referencedColumns: ['id'];
|
|
2532
2618
|
},
|
|
2533
2619
|
{
|
|
2534
|
-
foreignKeyName:
|
|
2535
|
-
columns: [
|
|
2620
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2621
|
+
columns: ['project_id'];
|
|
2536
2622
|
isOneToOne: false;
|
|
2537
|
-
referencedRelation:
|
|
2538
|
-
referencedColumns: [
|
|
2623
|
+
referencedRelation: 'prj_projects';
|
|
2624
|
+
referencedColumns: ['id'];
|
|
2539
2625
|
},
|
|
2540
2626
|
{
|
|
2541
|
-
foreignKeyName:
|
|
2542
|
-
columns: [
|
|
2627
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2628
|
+
columns: ['task_id'];
|
|
2543
2629
|
isOneToOne: false;
|
|
2544
|
-
referencedRelation:
|
|
2545
|
-
referencedColumns: [
|
|
2630
|
+
referencedRelation: 'prj_tasks';
|
|
2631
|
+
referencedColumns: ['id'];
|
|
2546
2632
|
}
|
|
2547
2633
|
];
|
|
2548
2634
|
};
|
|
@@ -2600,39 +2686,39 @@ type Database = {
|
|
|
2600
2686
|
};
|
|
2601
2687
|
Relationships: [
|
|
2602
2688
|
{
|
|
2603
|
-
foreignKeyName:
|
|
2604
|
-
columns: [
|
|
2689
|
+
foreignKeyName: 'fk_projects_company';
|
|
2690
|
+
columns: ['client_company_id'];
|
|
2605
2691
|
isOneToOne: false;
|
|
2606
|
-
referencedRelation:
|
|
2607
|
-
referencedColumns: [
|
|
2692
|
+
referencedRelation: 'acq_companies';
|
|
2693
|
+
referencedColumns: ['id'];
|
|
2608
2694
|
},
|
|
2609
2695
|
{
|
|
2610
|
-
foreignKeyName:
|
|
2611
|
-
columns: [
|
|
2696
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2697
|
+
columns: ['deal_id'];
|
|
2612
2698
|
isOneToOne: false;
|
|
2613
|
-
referencedRelation:
|
|
2614
|
-
referencedColumns: [
|
|
2699
|
+
referencedRelation: 'acq_deals';
|
|
2700
|
+
referencedColumns: ['id'];
|
|
2615
2701
|
},
|
|
2616
2702
|
{
|
|
2617
|
-
foreignKeyName:
|
|
2618
|
-
columns: [
|
|
2703
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2704
|
+
columns: ['client_company_id'];
|
|
2619
2705
|
isOneToOne: false;
|
|
2620
|
-
referencedRelation:
|
|
2621
|
-
referencedColumns: [
|
|
2706
|
+
referencedRelation: 'acq_companies';
|
|
2707
|
+
referencedColumns: ['id'];
|
|
2622
2708
|
},
|
|
2623
2709
|
{
|
|
2624
|
-
foreignKeyName:
|
|
2625
|
-
columns: [
|
|
2710
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2711
|
+
columns: ['deal_id'];
|
|
2626
2712
|
isOneToOne: false;
|
|
2627
|
-
referencedRelation:
|
|
2628
|
-
referencedColumns: [
|
|
2713
|
+
referencedRelation: 'acq_deals';
|
|
2714
|
+
referencedColumns: ['id'];
|
|
2629
2715
|
},
|
|
2630
2716
|
{
|
|
2631
|
-
foreignKeyName:
|
|
2632
|
-
columns: [
|
|
2717
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2718
|
+
columns: ['organization_id'];
|
|
2633
2719
|
isOneToOne: false;
|
|
2634
|
-
referencedRelation:
|
|
2635
|
-
referencedColumns: [
|
|
2720
|
+
referencedRelation: 'organizations';
|
|
2721
|
+
referencedColumns: ['id'];
|
|
2636
2722
|
}
|
|
2637
2723
|
];
|
|
2638
2724
|
};
|
|
@@ -2696,53 +2782,53 @@ type Database = {
|
|
|
2696
2782
|
};
|
|
2697
2783
|
Relationships: [
|
|
2698
2784
|
{
|
|
2699
|
-
foreignKeyName:
|
|
2700
|
-
columns: [
|
|
2785
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2786
|
+
columns: ['milestone_id'];
|
|
2701
2787
|
isOneToOne: false;
|
|
2702
|
-
referencedRelation:
|
|
2703
|
-
referencedColumns: [
|
|
2788
|
+
referencedRelation: 'prj_milestones';
|
|
2789
|
+
referencedColumns: ['id'];
|
|
2704
2790
|
},
|
|
2705
2791
|
{
|
|
2706
|
-
foreignKeyName:
|
|
2707
|
-
columns: [
|
|
2792
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2793
|
+
columns: ['parent_task_id'];
|
|
2708
2794
|
isOneToOne: false;
|
|
2709
|
-
referencedRelation:
|
|
2710
|
-
referencedColumns: [
|
|
2795
|
+
referencedRelation: 'prj_tasks';
|
|
2796
|
+
referencedColumns: ['id'];
|
|
2711
2797
|
},
|
|
2712
2798
|
{
|
|
2713
|
-
foreignKeyName:
|
|
2714
|
-
columns: [
|
|
2799
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2800
|
+
columns: ['project_id'];
|
|
2715
2801
|
isOneToOne: false;
|
|
2716
|
-
referencedRelation:
|
|
2717
|
-
referencedColumns: [
|
|
2802
|
+
referencedRelation: 'prj_projects';
|
|
2803
|
+
referencedColumns: ['id'];
|
|
2718
2804
|
},
|
|
2719
2805
|
{
|
|
2720
|
-
foreignKeyName:
|
|
2721
|
-
columns: [
|
|
2806
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2807
|
+
columns: ['milestone_id'];
|
|
2722
2808
|
isOneToOne: false;
|
|
2723
|
-
referencedRelation:
|
|
2724
|
-
referencedColumns: [
|
|
2809
|
+
referencedRelation: 'prj_milestones';
|
|
2810
|
+
referencedColumns: ['id'];
|
|
2725
2811
|
},
|
|
2726
2812
|
{
|
|
2727
|
-
foreignKeyName:
|
|
2728
|
-
columns: [
|
|
2813
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2814
|
+
columns: ['organization_id'];
|
|
2729
2815
|
isOneToOne: false;
|
|
2730
|
-
referencedRelation:
|
|
2731
|
-
referencedColumns: [
|
|
2816
|
+
referencedRelation: 'organizations';
|
|
2817
|
+
referencedColumns: ['id'];
|
|
2732
2818
|
},
|
|
2733
2819
|
{
|
|
2734
|
-
foreignKeyName:
|
|
2735
|
-
columns: [
|
|
2820
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
2821
|
+
columns: ['parent_task_id'];
|
|
2736
2822
|
isOneToOne: false;
|
|
2737
|
-
referencedRelation:
|
|
2738
|
-
referencedColumns: [
|
|
2823
|
+
referencedRelation: 'prj_tasks';
|
|
2824
|
+
referencedColumns: ['id'];
|
|
2739
2825
|
},
|
|
2740
2826
|
{
|
|
2741
|
-
foreignKeyName:
|
|
2742
|
-
columns: [
|
|
2827
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2828
|
+
columns: ['project_id'];
|
|
2743
2829
|
isOneToOne: false;
|
|
2744
|
-
referencedRelation:
|
|
2745
|
-
referencedColumns: [
|
|
2830
|
+
referencedRelation: 'prj_projects';
|
|
2831
|
+
referencedColumns: ['id'];
|
|
2746
2832
|
}
|
|
2747
2833
|
];
|
|
2748
2834
|
};
|
|
@@ -2812,25 +2898,25 @@ type Database = {
|
|
|
2812
2898
|
};
|
|
2813
2899
|
Relationships: [
|
|
2814
2900
|
{
|
|
2815
|
-
foreignKeyName:
|
|
2816
|
-
columns: [
|
|
2901
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
2902
|
+
columns: ['organization_id'];
|
|
2817
2903
|
isOneToOne: false;
|
|
2818
|
-
referencedRelation:
|
|
2819
|
-
referencedColumns: [
|
|
2904
|
+
referencedRelation: 'organizations';
|
|
2905
|
+
referencedColumns: ['id'];
|
|
2820
2906
|
},
|
|
2821
2907
|
{
|
|
2822
|
-
foreignKeyName:
|
|
2823
|
-
columns: [
|
|
2908
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
2909
|
+
columns: ['project_id'];
|
|
2824
2910
|
isOneToOne: false;
|
|
2825
|
-
referencedRelation:
|
|
2826
|
-
referencedColumns: [
|
|
2911
|
+
referencedRelation: 'prj_projects';
|
|
2912
|
+
referencedColumns: ['id'];
|
|
2827
2913
|
},
|
|
2828
2914
|
{
|
|
2829
|
-
foreignKeyName:
|
|
2830
|
-
columns: [
|
|
2915
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
2916
|
+
columns: ['task_id'];
|
|
2831
2917
|
isOneToOne: false;
|
|
2832
|
-
referencedRelation:
|
|
2833
|
-
referencedColumns: [
|
|
2918
|
+
referencedRelation: 'prj_tasks';
|
|
2919
|
+
referencedColumns: ['id'];
|
|
2834
2920
|
}
|
|
2835
2921
|
];
|
|
2836
2922
|
};
|
|
@@ -2870,11 +2956,11 @@ type Database = {
|
|
|
2870
2956
|
};
|
|
2871
2957
|
Relationships: [
|
|
2872
2958
|
{
|
|
2873
|
-
foreignKeyName:
|
|
2874
|
-
columns: [
|
|
2959
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
2960
|
+
columns: ['session_id'];
|
|
2875
2961
|
isOneToOne: false;
|
|
2876
|
-
referencedRelation:
|
|
2877
|
-
referencedColumns: [
|
|
2962
|
+
referencedRelation: 'sessions';
|
|
2963
|
+
referencedColumns: ['session_id'];
|
|
2878
2964
|
}
|
|
2879
2965
|
];
|
|
2880
2966
|
};
|
|
@@ -2929,18 +3015,18 @@ type Database = {
|
|
|
2929
3015
|
};
|
|
2930
3016
|
Relationships: [
|
|
2931
3017
|
{
|
|
2932
|
-
foreignKeyName:
|
|
2933
|
-
columns: [
|
|
3018
|
+
foreignKeyName: 'fk_organization';
|
|
3019
|
+
columns: ['organization_id'];
|
|
2934
3020
|
isOneToOne: false;
|
|
2935
|
-
referencedRelation:
|
|
2936
|
-
referencedColumns: [
|
|
3021
|
+
referencedRelation: 'organizations';
|
|
3022
|
+
referencedColumns: ['id'];
|
|
2937
3023
|
},
|
|
2938
3024
|
{
|
|
2939
|
-
foreignKeyName:
|
|
2940
|
-
columns: [
|
|
3025
|
+
foreignKeyName: 'fk_user';
|
|
3026
|
+
columns: ['user_id'];
|
|
2941
3027
|
isOneToOne: false;
|
|
2942
|
-
referencedRelation:
|
|
2943
|
-
referencedColumns: [
|
|
3028
|
+
referencedRelation: 'users';
|
|
3029
|
+
referencedColumns: ['id'];
|
|
2944
3030
|
}
|
|
2945
3031
|
];
|
|
2946
3032
|
};
|
|
@@ -3016,11 +3102,11 @@ type Database = {
|
|
|
3016
3102
|
};
|
|
3017
3103
|
Relationships: [
|
|
3018
3104
|
{
|
|
3019
|
-
foreignKeyName:
|
|
3020
|
-
columns: [
|
|
3105
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
3106
|
+
columns: ['organization_id'];
|
|
3021
3107
|
isOneToOne: false;
|
|
3022
|
-
referencedRelation:
|
|
3023
|
-
referencedColumns: [
|
|
3108
|
+
referencedRelation: 'organizations';
|
|
3109
|
+
referencedColumns: ['id'];
|
|
3024
3110
|
}
|
|
3025
3111
|
];
|
|
3026
3112
|
};
|
|
@@ -3075,11 +3161,11 @@ type Database = {
|
|
|
3075
3161
|
};
|
|
3076
3162
|
Relationships: [
|
|
3077
3163
|
{
|
|
3078
|
-
foreignKeyName:
|
|
3079
|
-
columns: [
|
|
3164
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
3165
|
+
columns: ['last_visited_org'];
|
|
3080
3166
|
isOneToOne: false;
|
|
3081
|
-
referencedRelation:
|
|
3082
|
-
referencedColumns: [
|
|
3167
|
+
referencedRelation: 'organizations';
|
|
3168
|
+
referencedColumns: ['id'];
|
|
3083
3169
|
}
|
|
3084
3170
|
];
|
|
3085
3171
|
};
|
|
@@ -3128,11 +3214,11 @@ type Database = {
|
|
|
3128
3214
|
};
|
|
3129
3215
|
Relationships: [
|
|
3130
3216
|
{
|
|
3131
|
-
foreignKeyName:
|
|
3132
|
-
columns: [
|
|
3217
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
3218
|
+
columns: ['organization_id'];
|
|
3133
3219
|
isOneToOne: false;
|
|
3134
|
-
referencedRelation:
|
|
3135
|
-
referencedColumns: [
|
|
3220
|
+
referencedRelation: 'organizations';
|
|
3221
|
+
referencedColumns: ['id'];
|
|
3136
3222
|
}
|
|
3137
3223
|
];
|
|
3138
3224
|
};
|
|
@@ -3280,17 +3366,17 @@ type Database = {
|
|
|
3280
3366
|
};
|
|
3281
3367
|
};
|
|
3282
3368
|
};
|
|
3283
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
3284
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
3285
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3369
|
+
type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
|
|
3370
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
|
|
3371
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
|
|
3286
3372
|
schema: keyof DatabaseWithoutInternals;
|
|
3287
3373
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3288
3374
|
schema: keyof DatabaseWithoutInternals;
|
|
3289
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3375
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3290
3376
|
schema: keyof DatabaseWithoutInternals;
|
|
3291
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3377
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
|
|
3292
3378
|
Row: infer R;
|
|
3293
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3379
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
|
|
3294
3380
|
Row: infer R;
|
|
3295
3381
|
} ? R : never : never;
|
|
3296
3382
|
|
|
@@ -3383,6 +3469,138 @@ interface ListTelemetry {
|
|
|
3383
3469
|
activeWorkflows?: string[];
|
|
3384
3470
|
}
|
|
3385
3471
|
|
|
3472
|
+
declare const TransitionItemRequestSchema: z.ZodObject<{
|
|
3473
|
+
pipelineKey: z.ZodString;
|
|
3474
|
+
stageKey: z.ZodString;
|
|
3475
|
+
stateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3476
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3477
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
3478
|
+
}, z.core.$strict>;
|
|
3479
|
+
type TransitionItemRequest = z.infer<typeof TransitionItemRequestSchema>;
|
|
3480
|
+
/**
|
|
3481
|
+
* Lifecycle status enum for `acq_lists.status` (mirrors DB CHECK constraint
|
|
3482
|
+
* from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
|
|
3483
|
+
*/
|
|
3484
|
+
declare const ListStatusSchema: z.ZodEnum<{
|
|
3485
|
+
closing: "closing";
|
|
3486
|
+
draft: "draft";
|
|
3487
|
+
enriching: "enriching";
|
|
3488
|
+
launched: "launched";
|
|
3489
|
+
archived: "archived";
|
|
3490
|
+
}>;
|
|
3491
|
+
declare const ListCompaniesQuerySchema: z.ZodObject<{
|
|
3492
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3493
|
+
listId: z.ZodOptional<z.ZodString>;
|
|
3494
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
3495
|
+
website: z.ZodOptional<z.ZodString>;
|
|
3496
|
+
segment: z.ZodOptional<z.ZodString>;
|
|
3497
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3498
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
3499
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3500
|
+
active: "active";
|
|
3501
|
+
invalid: "invalid";
|
|
3502
|
+
}>>;
|
|
3503
|
+
includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3504
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3505
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3506
|
+
}, z.core.$strict>;
|
|
3507
|
+
declare const ListContactsQuerySchema: z.ZodObject<{
|
|
3508
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3509
|
+
listId: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3511
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
3512
|
+
contactStatus: z.ZodOptional<z.ZodEnum<{
|
|
3513
|
+
active: "active";
|
|
3514
|
+
invalid: "invalid";
|
|
3515
|
+
}>>;
|
|
3516
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3517
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3518
|
+
}, z.core.$strict>;
|
|
3519
|
+
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
3520
|
+
id: z.ZodString;
|
|
3521
|
+
organizationId: z.ZodString;
|
|
3522
|
+
name: z.ZodString;
|
|
3523
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
3524
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3525
|
+
website: z.ZodNullable<z.ZodString>;
|
|
3526
|
+
numEmployees: z.ZodNullable<z.ZodNumber>;
|
|
3527
|
+
foundedYear: z.ZodNullable<z.ZodNumber>;
|
|
3528
|
+
locationCity: z.ZodNullable<z.ZodString>;
|
|
3529
|
+
locationState: z.ZodNullable<z.ZodString>;
|
|
3530
|
+
category: z.ZodNullable<z.ZodString>;
|
|
3531
|
+
categoryPain: z.ZodNullable<z.ZodString>;
|
|
3532
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
3533
|
+
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3534
|
+
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3535
|
+
source: z.ZodNullable<z.ZodString>;
|
|
3536
|
+
batchId: z.ZodNullable<z.ZodString>;
|
|
3537
|
+
status: z.ZodEnum<{
|
|
3538
|
+
active: "active";
|
|
3539
|
+
invalid: "invalid";
|
|
3540
|
+
}>;
|
|
3541
|
+
contactCount: z.ZodNumber;
|
|
3542
|
+
verticalResearch: z.ZodNullable<z.ZodString>;
|
|
3543
|
+
createdAt: z.ZodString;
|
|
3544
|
+
updatedAt: z.ZodString;
|
|
3545
|
+
}, z.core.$strip>;
|
|
3546
|
+
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
3547
|
+
id: z.ZodString;
|
|
3548
|
+
organizationId: z.ZodString;
|
|
3549
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
3550
|
+
email: z.ZodString;
|
|
3551
|
+
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
3552
|
+
VALID: "VALID";
|
|
3553
|
+
INVALID: "INVALID";
|
|
3554
|
+
RISKY: "RISKY";
|
|
3555
|
+
UNKNOWN: "UNKNOWN";
|
|
3556
|
+
}>>;
|
|
3557
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
3558
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
3559
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3560
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3561
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
3562
|
+
filterReason: z.ZodNullable<z.ZodString>;
|
|
3563
|
+
openingLine: z.ZodNullable<z.ZodString>;
|
|
3564
|
+
source: z.ZodNullable<z.ZodString>;
|
|
3565
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
3566
|
+
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3567
|
+
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3568
|
+
attioPersonId: z.ZodNullable<z.ZodString>;
|
|
3569
|
+
batchId: z.ZodNullable<z.ZodString>;
|
|
3570
|
+
status: z.ZodEnum<{
|
|
3571
|
+
active: "active";
|
|
3572
|
+
invalid: "invalid";
|
|
3573
|
+
}>;
|
|
3574
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3575
|
+
id: z.ZodString;
|
|
3576
|
+
name: z.ZodString;
|
|
3577
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
3578
|
+
website: z.ZodNullable<z.ZodString>;
|
|
3579
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3580
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
3581
|
+
category: z.ZodNullable<z.ZodString>;
|
|
3582
|
+
status: z.ZodEnum<{
|
|
3583
|
+
active: "active";
|
|
3584
|
+
invalid: "invalid";
|
|
3585
|
+
}>;
|
|
3586
|
+
}, z.core.$strip>>>;
|
|
3587
|
+
createdAt: z.ZodString;
|
|
3588
|
+
updatedAt: z.ZodString;
|
|
3589
|
+
}, z.core.$strip>;
|
|
3590
|
+
declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
|
|
3591
|
+
company: "company";
|
|
3592
|
+
contact: "contact";
|
|
3593
|
+
list: "list";
|
|
3594
|
+
deal: "deal";
|
|
3595
|
+
list_member: "list_member";
|
|
3596
|
+
}>;
|
|
3597
|
+
type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
|
|
3598
|
+
type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
|
|
3599
|
+
type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
|
|
3600
|
+
type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
|
|
3601
|
+
type AcqArtifactOwnerKind = z.infer<typeof AcqArtifactOwnerKindSchema>;
|
|
3602
|
+
type ListStatus = z.infer<typeof ListStatusSchema>;
|
|
3603
|
+
|
|
3386
3604
|
/**
|
|
3387
3605
|
* Lead Service Types
|
|
3388
3606
|
* CRUD operation types for the acquisition platform (lists, companies, contacts, deals)
|
|
@@ -3697,109 +3915,11 @@ interface ProjectDetail extends ProjectRow {
|
|
|
3697
3915
|
} | null;
|
|
3698
3916
|
}
|
|
3699
3917
|
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
segment: z.ZodOptional<z.ZodString>;
|
|
3706
|
-
category: z.ZodOptional<z.ZodString>;
|
|
3707
|
-
batchId: z.ZodOptional<z.ZodString>;
|
|
3708
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
3709
|
-
active: "active";
|
|
3710
|
-
invalid: "invalid";
|
|
3711
|
-
}>>;
|
|
3712
|
-
includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3713
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3714
|
-
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3715
|
-
}, z.core.$strict>;
|
|
3716
|
-
declare const ListContactsQuerySchema: z.ZodObject<{
|
|
3717
|
-
search: z.ZodOptional<z.ZodString>;
|
|
3718
|
-
listId: z.ZodOptional<z.ZodString>;
|
|
3719
|
-
openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3720
|
-
batchId: z.ZodOptional<z.ZodString>;
|
|
3721
|
-
contactStatus: z.ZodOptional<z.ZodEnum<{
|
|
3722
|
-
active: "active";
|
|
3723
|
-
invalid: "invalid";
|
|
3724
|
-
}>>;
|
|
3725
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3726
|
-
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3727
|
-
}, z.core.$strict>;
|
|
3728
|
-
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
3729
|
-
id: z.ZodString;
|
|
3730
|
-
organizationId: z.ZodString;
|
|
3731
|
-
name: z.ZodString;
|
|
3732
|
-
domain: z.ZodNullable<z.ZodString>;
|
|
3733
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3734
|
-
website: z.ZodNullable<z.ZodString>;
|
|
3735
|
-
numEmployees: z.ZodNullable<z.ZodNumber>;
|
|
3736
|
-
foundedYear: z.ZodNullable<z.ZodNumber>;
|
|
3737
|
-
locationCity: z.ZodNullable<z.ZodString>;
|
|
3738
|
-
locationState: z.ZodNullable<z.ZodString>;
|
|
3739
|
-
category: z.ZodNullable<z.ZodString>;
|
|
3740
|
-
categoryPain: z.ZodNullable<z.ZodString>;
|
|
3741
|
-
segment: z.ZodNullable<z.ZodString>;
|
|
3742
|
-
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3743
|
-
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3744
|
-
source: z.ZodNullable<z.ZodString>;
|
|
3745
|
-
batchId: z.ZodNullable<z.ZodString>;
|
|
3746
|
-
status: z.ZodEnum<{
|
|
3747
|
-
active: "active";
|
|
3748
|
-
invalid: "invalid";
|
|
3749
|
-
}>;
|
|
3750
|
-
contactCount: z.ZodNumber;
|
|
3751
|
-
verticalResearch: z.ZodNullable<z.ZodString>;
|
|
3752
|
-
createdAt: z.ZodString;
|
|
3753
|
-
updatedAt: z.ZodString;
|
|
3754
|
-
}, z.core.$strip>;
|
|
3755
|
-
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
3756
|
-
id: z.ZodString;
|
|
3757
|
-
organizationId: z.ZodString;
|
|
3758
|
-
companyId: z.ZodNullable<z.ZodString>;
|
|
3759
|
-
email: z.ZodString;
|
|
3760
|
-
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
3761
|
-
VALID: "VALID";
|
|
3762
|
-
INVALID: "INVALID";
|
|
3763
|
-
RISKY: "RISKY";
|
|
3764
|
-
UNKNOWN: "UNKNOWN";
|
|
3765
|
-
}>>;
|
|
3766
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
3767
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
3768
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3769
|
-
title: z.ZodNullable<z.ZodString>;
|
|
3770
|
-
headline: z.ZodNullable<z.ZodString>;
|
|
3771
|
-
filterReason: z.ZodNullable<z.ZodString>;
|
|
3772
|
-
openingLine: z.ZodNullable<z.ZodString>;
|
|
3773
|
-
source: z.ZodNullable<z.ZodString>;
|
|
3774
|
-
sourceId: z.ZodNullable<z.ZodString>;
|
|
3775
|
-
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3776
|
-
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3777
|
-
attioPersonId: z.ZodNullable<z.ZodString>;
|
|
3778
|
-
batchId: z.ZodNullable<z.ZodString>;
|
|
3779
|
-
status: z.ZodEnum<{
|
|
3780
|
-
active: "active";
|
|
3781
|
-
invalid: "invalid";
|
|
3782
|
-
}>;
|
|
3783
|
-
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3784
|
-
id: z.ZodString;
|
|
3785
|
-
name: z.ZodString;
|
|
3786
|
-
domain: z.ZodNullable<z.ZodString>;
|
|
3787
|
-
website: z.ZodNullable<z.ZodString>;
|
|
3788
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3789
|
-
segment: z.ZodNullable<z.ZodString>;
|
|
3790
|
-
category: z.ZodNullable<z.ZodString>;
|
|
3791
|
-
status: z.ZodEnum<{
|
|
3792
|
-
active: "active";
|
|
3793
|
-
invalid: "invalid";
|
|
3794
|
-
}>;
|
|
3795
|
-
}, z.core.$strip>>>;
|
|
3796
|
-
createdAt: z.ZodString;
|
|
3797
|
-
updatedAt: z.ZodString;
|
|
3798
|
-
}, z.core.$strip>;
|
|
3799
|
-
type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
|
|
3800
|
-
type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
|
|
3801
|
-
type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
|
|
3802
|
-
type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
|
|
3918
|
+
interface Action {
|
|
3919
|
+
key: string;
|
|
3920
|
+
label: string;
|
|
3921
|
+
payloadSchema?: z.ZodTypeAny;
|
|
3922
|
+
}
|
|
3803
3923
|
|
|
3804
3924
|
type MessageType = MessageEvent['type'];
|
|
3805
3925
|
/**
|
|
@@ -6896,6 +7016,23 @@ interface TransitionItemInput {
|
|
|
6896
7016
|
*/
|
|
6897
7017
|
declare function useTransitionItem(): _tanstack_react_query.UseMutationResult<void, Error, TransitionItemInput, unknown>;
|
|
6898
7018
|
|
|
7019
|
+
interface ExecuteActionInput {
|
|
7020
|
+
key: string;
|
|
7021
|
+
payload?: Record<string, unknown>;
|
|
7022
|
+
}
|
|
7023
|
+
/**
|
|
7024
|
+
* Execute a CRM deal action via POST /deals/:dealId/actions/:key.
|
|
7025
|
+
*
|
|
7026
|
+
* The server validates availability server-authoritatively, dispatches through
|
|
7027
|
+
* the unified workflow path via the action definition's workflowId, and emits an
|
|
7028
|
+
* action_taken activity event.
|
|
7029
|
+
*
|
|
7030
|
+
* On success invalidates the deal detail and deals list queries.
|
|
7031
|
+
*/
|
|
7032
|
+
declare function useExecuteAction({ dealId }: {
|
|
7033
|
+
dealId: string;
|
|
7034
|
+
}): _tanstack_react_query.UseMutationResult<void, Error, ExecuteActionInput, unknown>;
|
|
7035
|
+
|
|
6899
7036
|
/**
|
|
6900
7037
|
* Query keys for deal notes
|
|
6901
7038
|
*/
|
|
@@ -6988,45 +7125,32 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
6988
7125
|
type: string;
|
|
6989
7126
|
batchIds: string[];
|
|
6990
7127
|
instantlyCampaignId: string | null;
|
|
6991
|
-
status:
|
|
7128
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
6992
7129
|
metadata: Record<string, unknown>;
|
|
6993
7130
|
launchedAt: string | null;
|
|
6994
7131
|
completedAt: string | null;
|
|
6995
7132
|
createdAt: string;
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
creativeDirection?: string | undefined;
|
|
7018
|
-
exclusionRules?: string[] | undefined;
|
|
7019
|
-
} | undefined;
|
|
7020
|
-
pipeline?: {
|
|
7021
|
-
steps: {
|
|
7022
|
-
key: string;
|
|
7023
|
-
label: string;
|
|
7024
|
-
resourceId: string;
|
|
7025
|
-
inputTemplate: Record<string, unknown>;
|
|
7026
|
-
enabled: boolean;
|
|
7027
|
-
order: number;
|
|
7028
|
-
}[];
|
|
7029
|
-
} | undefined;
|
|
7133
|
+
scrapingConfig: {
|
|
7134
|
+
vertical?: string | undefined;
|
|
7135
|
+
geography?: string | undefined;
|
|
7136
|
+
size?: string | undefined;
|
|
7137
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7138
|
+
};
|
|
7139
|
+
icp: {
|
|
7140
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7141
|
+
targetDescription?: string | undefined;
|
|
7142
|
+
minReviewCount?: number | undefined;
|
|
7143
|
+
minRating?: number | undefined;
|
|
7144
|
+
excludeFranchises?: boolean | undefined;
|
|
7145
|
+
customRules?: string | undefined;
|
|
7146
|
+
};
|
|
7147
|
+
pipelineConfig: {
|
|
7148
|
+
stages?: {
|
|
7149
|
+
key: string;
|
|
7150
|
+
label?: string | undefined;
|
|
7151
|
+
enabled?: boolean | undefined;
|
|
7152
|
+
order?: number | undefined;
|
|
7153
|
+
}[] | undefined;
|
|
7030
7154
|
};
|
|
7031
7155
|
}[], Error>;
|
|
7032
7156
|
declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
@@ -7037,49 +7161,47 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
7037
7161
|
type: string;
|
|
7038
7162
|
batchIds: string[];
|
|
7039
7163
|
instantlyCampaignId: string | null;
|
|
7040
|
-
status:
|
|
7164
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
7041
7165
|
metadata: Record<string, unknown>;
|
|
7042
7166
|
launchedAt: string | null;
|
|
7043
7167
|
completedAt: string | null;
|
|
7044
7168
|
createdAt: string;
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
creativeDirection?: string | undefined;
|
|
7067
|
-
exclusionRules?: string[] | undefined;
|
|
7068
|
-
} | undefined;
|
|
7069
|
-
pipeline?: {
|
|
7070
|
-
steps: {
|
|
7071
|
-
key: string;
|
|
7072
|
-
label: string;
|
|
7073
|
-
resourceId: string;
|
|
7074
|
-
inputTemplate: Record<string, unknown>;
|
|
7075
|
-
enabled: boolean;
|
|
7076
|
-
order: number;
|
|
7077
|
-
}[];
|
|
7078
|
-
} | undefined;
|
|
7169
|
+
scrapingConfig: {
|
|
7170
|
+
vertical?: string | undefined;
|
|
7171
|
+
geography?: string | undefined;
|
|
7172
|
+
size?: string | undefined;
|
|
7173
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7174
|
+
};
|
|
7175
|
+
icp: {
|
|
7176
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7177
|
+
targetDescription?: string | undefined;
|
|
7178
|
+
minReviewCount?: number | undefined;
|
|
7179
|
+
minRating?: number | undefined;
|
|
7180
|
+
excludeFranchises?: boolean | undefined;
|
|
7181
|
+
customRules?: string | undefined;
|
|
7182
|
+
};
|
|
7183
|
+
pipelineConfig: {
|
|
7184
|
+
stages?: {
|
|
7185
|
+
key: string;
|
|
7186
|
+
label?: string | undefined;
|
|
7187
|
+
enabled?: boolean | undefined;
|
|
7188
|
+
order?: number | undefined;
|
|
7189
|
+
}[] | undefined;
|
|
7079
7190
|
};
|
|
7080
7191
|
}, Error>;
|
|
7081
7192
|
declare function useListsTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
|
|
7082
|
-
declare function useListProgress(listId: string): _tanstack_react_query.UseQueryResult<
|
|
7193
|
+
declare function useListProgress(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
7194
|
+
totalMembers: number;
|
|
7195
|
+
totalCompanies: number;
|
|
7196
|
+
byCompanyStage: Record<string, {
|
|
7197
|
+
done: number;
|
|
7198
|
+
total: number;
|
|
7199
|
+
}>;
|
|
7200
|
+
byContactStage: Record<string, {
|
|
7201
|
+
done: number;
|
|
7202
|
+
total: number;
|
|
7203
|
+
}>;
|
|
7204
|
+
}, Error>;
|
|
7083
7205
|
declare function useListExecutions(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
7084
7206
|
executionId: string;
|
|
7085
7207
|
resourceId: string;
|
|
@@ -7096,84 +7218,58 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
7096
7218
|
type: string;
|
|
7097
7219
|
batchIds: string[];
|
|
7098
7220
|
instantlyCampaignId: string | null;
|
|
7099
|
-
status:
|
|
7221
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
7100
7222
|
metadata: Record<string, unknown>;
|
|
7101
7223
|
launchedAt: string | null;
|
|
7102
7224
|
completedAt: string | null;
|
|
7103
7225
|
createdAt: string;
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
creativeDirection?: string | undefined;
|
|
7126
|
-
exclusionRules?: string[] | undefined;
|
|
7127
|
-
} | undefined;
|
|
7128
|
-
pipeline?: {
|
|
7129
|
-
steps: {
|
|
7130
|
-
key: string;
|
|
7131
|
-
label: string;
|
|
7132
|
-
resourceId: string;
|
|
7133
|
-
inputTemplate: Record<string, unknown>;
|
|
7134
|
-
enabled: boolean;
|
|
7135
|
-
order: number;
|
|
7136
|
-
}[];
|
|
7137
|
-
} | undefined;
|
|
7226
|
+
scrapingConfig: {
|
|
7227
|
+
vertical?: string | undefined;
|
|
7228
|
+
geography?: string | undefined;
|
|
7229
|
+
size?: string | undefined;
|
|
7230
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7231
|
+
};
|
|
7232
|
+
icp: {
|
|
7233
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7234
|
+
targetDescription?: string | undefined;
|
|
7235
|
+
minReviewCount?: number | undefined;
|
|
7236
|
+
minRating?: number | undefined;
|
|
7237
|
+
excludeFranchises?: boolean | undefined;
|
|
7238
|
+
customRules?: string | undefined;
|
|
7239
|
+
};
|
|
7240
|
+
pipelineConfig: {
|
|
7241
|
+
stages?: {
|
|
7242
|
+
key: string;
|
|
7243
|
+
label?: string | undefined;
|
|
7244
|
+
enabled?: boolean | undefined;
|
|
7245
|
+
order?: number | undefined;
|
|
7246
|
+
}[] | undefined;
|
|
7138
7247
|
};
|
|
7139
7248
|
}, Error, {
|
|
7140
7249
|
name: string;
|
|
7141
|
-
type: string;
|
|
7142
7250
|
description?: string | null | undefined;
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
exclusionRules?: string[] | undefined;
|
|
7166
|
-
} | undefined;
|
|
7167
|
-
pipeline?: {
|
|
7168
|
-
steps: {
|
|
7169
|
-
key: string;
|
|
7170
|
-
label: string;
|
|
7171
|
-
resourceId: string;
|
|
7172
|
-
inputTemplate: Record<string, unknown>;
|
|
7173
|
-
enabled: boolean;
|
|
7174
|
-
order: number;
|
|
7175
|
-
}[];
|
|
7176
|
-
} | undefined;
|
|
7251
|
+
status?: "closing" | "draft" | "enriching" | "launched" | "archived" | undefined;
|
|
7252
|
+
scrapingConfig?: {
|
|
7253
|
+
vertical?: string | undefined;
|
|
7254
|
+
geography?: string | undefined;
|
|
7255
|
+
size?: string | undefined;
|
|
7256
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7257
|
+
} | undefined;
|
|
7258
|
+
icp?: {
|
|
7259
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7260
|
+
targetDescription?: string | undefined;
|
|
7261
|
+
minReviewCount?: number | undefined;
|
|
7262
|
+
minRating?: number | undefined;
|
|
7263
|
+
excludeFranchises?: boolean | undefined;
|
|
7264
|
+
customRules?: string | undefined;
|
|
7265
|
+
} | undefined;
|
|
7266
|
+
pipelineConfig?: {
|
|
7267
|
+
stages?: {
|
|
7268
|
+
key: string;
|
|
7269
|
+
label?: string | undefined;
|
|
7270
|
+
enabled?: boolean | undefined;
|
|
7271
|
+
order?: number | undefined;
|
|
7272
|
+
}[] | undefined;
|
|
7177
7273
|
} | undefined;
|
|
7178
7274
|
}, unknown>;
|
|
7179
7275
|
declare function useUpdateList(listId: string): _tanstack_react_query.UseMutationResult<{
|
|
@@ -7184,50 +7280,36 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
7184
7280
|
type: string;
|
|
7185
7281
|
batchIds: string[];
|
|
7186
7282
|
instantlyCampaignId: string | null;
|
|
7187
|
-
status:
|
|
7283
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
7188
7284
|
metadata: Record<string, unknown>;
|
|
7189
7285
|
launchedAt: string | null;
|
|
7190
7286
|
completedAt: string | null;
|
|
7191
7287
|
createdAt: string;
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
creativeDirection?: string | undefined;
|
|
7214
|
-
exclusionRules?: string[] | undefined;
|
|
7215
|
-
} | undefined;
|
|
7216
|
-
pipeline?: {
|
|
7217
|
-
steps: {
|
|
7218
|
-
key: string;
|
|
7219
|
-
label: string;
|
|
7220
|
-
resourceId: string;
|
|
7221
|
-
inputTemplate: Record<string, unknown>;
|
|
7222
|
-
enabled: boolean;
|
|
7223
|
-
order: number;
|
|
7224
|
-
}[];
|
|
7225
|
-
} | undefined;
|
|
7288
|
+
scrapingConfig: {
|
|
7289
|
+
vertical?: string | undefined;
|
|
7290
|
+
geography?: string | undefined;
|
|
7291
|
+
size?: string | undefined;
|
|
7292
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7293
|
+
};
|
|
7294
|
+
icp: {
|
|
7295
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7296
|
+
targetDescription?: string | undefined;
|
|
7297
|
+
minReviewCount?: number | undefined;
|
|
7298
|
+
minRating?: number | undefined;
|
|
7299
|
+
excludeFranchises?: boolean | undefined;
|
|
7300
|
+
customRules?: string | undefined;
|
|
7301
|
+
};
|
|
7302
|
+
pipelineConfig: {
|
|
7303
|
+
stages?: {
|
|
7304
|
+
key: string;
|
|
7305
|
+
label?: string | undefined;
|
|
7306
|
+
enabled?: boolean | undefined;
|
|
7307
|
+
order?: number | undefined;
|
|
7308
|
+
}[] | undefined;
|
|
7226
7309
|
};
|
|
7227
7310
|
}, Error, {
|
|
7228
7311
|
name?: string | undefined;
|
|
7229
7312
|
description?: string | null | undefined;
|
|
7230
|
-
status?: string | undefined;
|
|
7231
7313
|
batchIds?: string[] | undefined;
|
|
7232
7314
|
}, unknown>;
|
|
7233
7315
|
declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseMutationResult<{
|
|
@@ -7238,78 +7320,54 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
7238
7320
|
type: string;
|
|
7239
7321
|
batchIds: string[];
|
|
7240
7322
|
instantlyCampaignId: string | null;
|
|
7241
|
-
status:
|
|
7323
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
7242
7324
|
metadata: Record<string, unknown>;
|
|
7243
7325
|
launchedAt: string | null;
|
|
7244
7326
|
completedAt: string | null;
|
|
7245
7327
|
createdAt: string;
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
excludeFranchises: boolean;
|
|
7252
|
-
customRules: string;
|
|
7253
|
-
};
|
|
7254
|
-
enrichment?: {
|
|
7255
|
-
emailDiscovery?: {
|
|
7256
|
-
primary: "tomba" | "anymailfinder";
|
|
7257
|
-
credentialName?: string | undefined;
|
|
7258
|
-
} | undefined;
|
|
7259
|
-
emailVerification?: {
|
|
7260
|
-
provider: "millionverifier";
|
|
7261
|
-
threshold?: "ok" | "ok+catch_all" | undefined;
|
|
7262
|
-
} | undefined;
|
|
7263
|
-
} | undefined;
|
|
7264
|
-
personalization?: {
|
|
7265
|
-
industryContext?: string | undefined;
|
|
7266
|
-
emailBody?: string | undefined;
|
|
7267
|
-
creativeDirection?: string | undefined;
|
|
7268
|
-
exclusionRules?: string[] | undefined;
|
|
7269
|
-
} | undefined;
|
|
7270
|
-
pipeline?: {
|
|
7271
|
-
steps: {
|
|
7272
|
-
key: string;
|
|
7273
|
-
label: string;
|
|
7274
|
-
resourceId: string;
|
|
7275
|
-
inputTemplate: Record<string, unknown>;
|
|
7276
|
-
enabled: boolean;
|
|
7277
|
-
order: number;
|
|
7278
|
-
}[];
|
|
7279
|
-
} | undefined;
|
|
7328
|
+
scrapingConfig: {
|
|
7329
|
+
vertical?: string | undefined;
|
|
7330
|
+
geography?: string | undefined;
|
|
7331
|
+
size?: string | undefined;
|
|
7332
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7280
7333
|
};
|
|
7281
|
-
|
|
7282
|
-
|
|
7334
|
+
icp: {
|
|
7335
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7283
7336
|
targetDescription?: string | undefined;
|
|
7284
7337
|
minReviewCount?: number | undefined;
|
|
7285
7338
|
minRating?: number | undefined;
|
|
7286
7339
|
excludeFranchises?: boolean | undefined;
|
|
7287
7340
|
customRules?: string | undefined;
|
|
7341
|
+
};
|
|
7342
|
+
pipelineConfig: {
|
|
7343
|
+
stages?: {
|
|
7344
|
+
key: string;
|
|
7345
|
+
label?: string | undefined;
|
|
7346
|
+
enabled?: boolean | undefined;
|
|
7347
|
+
order?: number | undefined;
|
|
7348
|
+
}[] | undefined;
|
|
7349
|
+
};
|
|
7350
|
+
}, Error, {
|
|
7351
|
+
scrapingConfig?: {
|
|
7352
|
+
vertical?: string | undefined;
|
|
7353
|
+
geography?: string | undefined;
|
|
7354
|
+
size?: string | undefined;
|
|
7355
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
7288
7356
|
} | undefined;
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
threshold?: "ok" | "ok+catch_all" | undefined;
|
|
7297
|
-
} | undefined;
|
|
7298
|
-
} | undefined;
|
|
7299
|
-
personalization?: {
|
|
7300
|
-
industryContext?: string | undefined;
|
|
7301
|
-
emailBody?: string | undefined;
|
|
7302
|
-
creativeDirection?: string | undefined;
|
|
7303
|
-
exclusionRules?: string[] | undefined;
|
|
7357
|
+
icp?: {
|
|
7358
|
+
qualificationRubricKey?: string | null | undefined;
|
|
7359
|
+
targetDescription?: string | undefined;
|
|
7360
|
+
minReviewCount?: number | undefined;
|
|
7361
|
+
minRating?: number | undefined;
|
|
7362
|
+
excludeFranchises?: boolean | undefined;
|
|
7363
|
+
customRules?: string | undefined;
|
|
7304
7364
|
} | undefined;
|
|
7305
|
-
|
|
7306
|
-
|
|
7365
|
+
pipelineConfig?: {
|
|
7366
|
+
stages?: {
|
|
7307
7367
|
key: string;
|
|
7308
|
-
label
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
enabled: boolean;
|
|
7312
|
-
order: number;
|
|
7368
|
+
label?: string | undefined;
|
|
7369
|
+
enabled?: boolean | undefined;
|
|
7370
|
+
order?: number | undefined;
|
|
7313
7371
|
}[] | undefined;
|
|
7314
7372
|
} | undefined;
|
|
7315
7373
|
}, unknown>;
|
|
@@ -7654,6 +7712,166 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
7654
7712
|
}, unknown>;
|
|
7655
7713
|
declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
7656
7714
|
|
|
7715
|
+
declare const leadGenArtifactKeys: {
|
|
7716
|
+
all: readonly ["lead-gen-artifacts"];
|
|
7717
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "company" | "contact" | "list" | "deal" | "list_member", string];
|
|
7718
|
+
};
|
|
7719
|
+
interface UseArtifactsParams {
|
|
7720
|
+
ownerKind: AcqArtifactOwnerKind;
|
|
7721
|
+
ownerId: string;
|
|
7722
|
+
}
|
|
7723
|
+
declare function useArtifacts({ ownerKind, ownerId }: UseArtifactsParams): _tanstack_react_query.UseQueryResult<{
|
|
7724
|
+
artifacts: {
|
|
7725
|
+
id: string;
|
|
7726
|
+
organizationId: string;
|
|
7727
|
+
ownerKind: string;
|
|
7728
|
+
ownerId: string;
|
|
7729
|
+
kind: string;
|
|
7730
|
+
content: Record<string, unknown>;
|
|
7731
|
+
sourceExecutionId: string | null;
|
|
7732
|
+
createdBy: string | null;
|
|
7733
|
+
createdAt: string;
|
|
7734
|
+
version: number;
|
|
7735
|
+
}[];
|
|
7736
|
+
}, Error>;
|
|
7737
|
+
declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
7738
|
+
id: string;
|
|
7739
|
+
organizationId: string;
|
|
7740
|
+
ownerKind: string;
|
|
7741
|
+
ownerId: string;
|
|
7742
|
+
kind: string;
|
|
7743
|
+
content: Record<string, unknown>;
|
|
7744
|
+
sourceExecutionId: string | null;
|
|
7745
|
+
createdBy: string | null;
|
|
7746
|
+
createdAt: string;
|
|
7747
|
+
version: number;
|
|
7748
|
+
}, Error, {
|
|
7749
|
+
ownerKind: "company" | "contact" | "list" | "deal" | "list_member";
|
|
7750
|
+
ownerId: string;
|
|
7751
|
+
kind: string;
|
|
7752
|
+
content: Record<string, unknown>;
|
|
7753
|
+
sourceExecutionId?: string | undefined;
|
|
7754
|
+
}, unknown>;
|
|
7755
|
+
|
|
7756
|
+
declare const leadGenListMemberKeys: {
|
|
7757
|
+
all: readonly ["lead-gen-list-members"];
|
|
7758
|
+
list: (organizationId: string | null, listId: string) => readonly ["lead-gen-list-members", string | null, "list", string];
|
|
7759
|
+
detail: (organizationId: string | null, memberId: string) => readonly ["lead-gen-list-members", string | null, "detail", string];
|
|
7760
|
+
};
|
|
7761
|
+
declare function useListMembers({ listId }: {
|
|
7762
|
+
listId: string;
|
|
7763
|
+
}): _tanstack_react_query.UseQueryResult<{
|
|
7764
|
+
members: {
|
|
7765
|
+
id: string;
|
|
7766
|
+
listId: string;
|
|
7767
|
+
contactId: string;
|
|
7768
|
+
pipelineKey: string;
|
|
7769
|
+
stageKey: string;
|
|
7770
|
+
stateKey: string;
|
|
7771
|
+
activityLog: unknown;
|
|
7772
|
+
addedAt: string;
|
|
7773
|
+
addedBy: string | null;
|
|
7774
|
+
sourceExecutionId: string | null;
|
|
7775
|
+
contact: {
|
|
7776
|
+
id: string;
|
|
7777
|
+
email: string;
|
|
7778
|
+
firstName: string | null;
|
|
7779
|
+
lastName: string | null;
|
|
7780
|
+
title: string | null;
|
|
7781
|
+
linkedinUrl: string | null;
|
|
7782
|
+
companyId: string | null;
|
|
7783
|
+
} | null;
|
|
7784
|
+
}[];
|
|
7785
|
+
}, Error>;
|
|
7786
|
+
declare function useListMember(memberId: string): _tanstack_react_query.UseQueryResult<{
|
|
7787
|
+
id: string;
|
|
7788
|
+
listId: string;
|
|
7789
|
+
contactId: string;
|
|
7790
|
+
pipelineKey: string;
|
|
7791
|
+
stageKey: string;
|
|
7792
|
+
stateKey: string;
|
|
7793
|
+
activityLog: unknown;
|
|
7794
|
+
addedAt: string;
|
|
7795
|
+
addedBy: string | null;
|
|
7796
|
+
sourceExecutionId: string | null;
|
|
7797
|
+
contact: {
|
|
7798
|
+
id: string;
|
|
7799
|
+
email: string;
|
|
7800
|
+
firstName: string | null;
|
|
7801
|
+
lastName: string | null;
|
|
7802
|
+
title: string | null;
|
|
7803
|
+
linkedinUrl: string | null;
|
|
7804
|
+
companyId: string | null;
|
|
7805
|
+
} | null;
|
|
7806
|
+
}, Error>;
|
|
7807
|
+
|
|
7808
|
+
interface TransitionListMemberInput extends TransitionItemRequest {
|
|
7809
|
+
memberId: string;
|
|
7810
|
+
/** Used to invalidate the parent list's member roster after transition. */
|
|
7811
|
+
listId?: string;
|
|
7812
|
+
}
|
|
7813
|
+
/**
|
|
7814
|
+
* Transition a list-member's stage/state via PATCH /acquisition/list-members/:memberId/transition.
|
|
7815
|
+
*
|
|
7816
|
+
* On success invalidates the member detail and, if listId is provided, the member
|
|
7817
|
+
* roster for that list. Mirrors useTransitionItem.ts structure.
|
|
7818
|
+
*/
|
|
7819
|
+
declare function useTransitionListMember(): _tanstack_react_query.UseMutationResult<void, Error, TransitionListMemberInput, unknown>;
|
|
7820
|
+
|
|
7821
|
+
declare const leadGenListCompanyKeys: {
|
|
7822
|
+
all: readonly ["lead-gen-list-companies"];
|
|
7823
|
+
detail: (organizationId: string | null, listCompanyId: string) => readonly ["lead-gen-list-companies", string | null, "detail", string];
|
|
7824
|
+
};
|
|
7825
|
+
interface TransitionListCompanyInput extends TransitionItemRequest {
|
|
7826
|
+
listCompanyId: string;
|
|
7827
|
+
/** Used to invalidate the parent list telemetry after transition. */
|
|
7828
|
+
listId?: string;
|
|
7829
|
+
}
|
|
7830
|
+
/**
|
|
7831
|
+
* Transition a list-company's stage/state via PATCH /acquisition/list-companies/:listCompanyId/transition.
|
|
7832
|
+
*
|
|
7833
|
+
* On success invalidates the list-company detail and, if listId is provided, the
|
|
7834
|
+
* parent list telemetry. Mirrors useTransitionItem.ts structure.
|
|
7835
|
+
*/
|
|
7836
|
+
declare function useTransitionListCompany(): _tanstack_react_query.UseMutationResult<void, Error, TransitionListCompanyInput, unknown>;
|
|
7837
|
+
|
|
7838
|
+
/**
|
|
7839
|
+
* Stateful item shape accepted by useDeriveActions.
|
|
7840
|
+
*
|
|
7841
|
+
* Currently deriveActions() is typed for AcqDealRow (CRM HITL deals). For lists
|
|
7842
|
+
* and list-members we accept the Stateful quartet + id so callers can pass those
|
|
7843
|
+
* items without a cast. When a third pipeline appears, consolidate into a shared
|
|
7844
|
+
* trait method on deriveActions itself.
|
|
7845
|
+
*
|
|
7846
|
+
* Decision C3: duplicate per-entity logic until a third pipeline warrants abstraction.
|
|
7847
|
+
*/
|
|
7848
|
+
interface StatefulItem {
|
|
7849
|
+
id: string;
|
|
7850
|
+
pipeline_key: string;
|
|
7851
|
+
stage_key: string | null;
|
|
7852
|
+
state_key: string | null;
|
|
7853
|
+
activity_log: unknown;
|
|
7854
|
+
organization_id?: string;
|
|
7855
|
+
}
|
|
7856
|
+
/**
|
|
7857
|
+
* Derives contextual action buttons for a Stateful item.
|
|
7858
|
+
*
|
|
7859
|
+
* For deal items the full deriveActions() logic from @repo/core runs.
|
|
7860
|
+
* For non-deal items (lists, list-members, list-companies) the pipeline key
|
|
7861
|
+
* is 'lead-gen' and the action set will be wired in Track C Step 5+6 once
|
|
7862
|
+
* the lead-gen pipeline definition ships action configs. Returns [] until then.
|
|
7863
|
+
*
|
|
7864
|
+
* @param item - Any Stateful item (deal, list, list-member, etc.)
|
|
7865
|
+
* @returns Derived Action[] for rendering in an action toolbar.
|
|
7866
|
+
*/
|
|
7867
|
+
declare function useDeriveActions(item: StatefulItem | null | undefined): Action[];
|
|
7868
|
+
|
|
7869
|
+
interface UpdateListStatusInput {
|
|
7870
|
+
listId: string;
|
|
7871
|
+
status: ListStatus;
|
|
7872
|
+
}
|
|
7873
|
+
declare function useUpdateListStatus(): _tanstack_react_query.UseMutationResult<void, Error, UpdateListStatusInput, unknown>;
|
|
7874
|
+
|
|
7657
7875
|
interface CreateApiKeyRequest {
|
|
7658
7876
|
name: string;
|
|
7659
7877
|
}
|
|
@@ -8560,5 +8778,5 @@ declare function useCreateNote(): _tanstack_react_query.UseMutationResult<{
|
|
|
8560
8778
|
type?: string;
|
|
8561
8779
|
}, "organization_id">, unknown>;
|
|
8562
8780
|
|
|
8563
|
-
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, createFeatureAccessHook, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useHasPermission, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
|
|
8564
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, FeatureAccessResult, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, RequestRow, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatusFilter, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
|
|
8781
|
+
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, createFeatureAccessHook, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, 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, 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, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useHasPermission, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
|
|
8782
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, FeatureAccessResult, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, RequestRow, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
|