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