@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
package/dist/types/index.d.ts
CHANGED
|
@@ -595,10 +595,57 @@ type Json = string | number | boolean | null | {
|
|
|
595
595
|
} | Json[];
|
|
596
596
|
type Database = {
|
|
597
597
|
__InternalSupabase: {
|
|
598
|
-
PostgrestVersion:
|
|
598
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
599
599
|
};
|
|
600
600
|
public: {
|
|
601
601
|
Tables: {
|
|
602
|
+
acq_artifacts: {
|
|
603
|
+
Row: {
|
|
604
|
+
content: Json;
|
|
605
|
+
created_at: string;
|
|
606
|
+
created_by: string | null;
|
|
607
|
+
id: string;
|
|
608
|
+
kind: string;
|
|
609
|
+
organization_id: string;
|
|
610
|
+
owner_id: string;
|
|
611
|
+
owner_kind: string;
|
|
612
|
+
source_execution_id: string | null;
|
|
613
|
+
version: number;
|
|
614
|
+
};
|
|
615
|
+
Insert: {
|
|
616
|
+
content: Json;
|
|
617
|
+
created_at?: string;
|
|
618
|
+
created_by?: string | null;
|
|
619
|
+
id?: string;
|
|
620
|
+
kind: string;
|
|
621
|
+
organization_id: string;
|
|
622
|
+
owner_id: string;
|
|
623
|
+
owner_kind: string;
|
|
624
|
+
source_execution_id?: string | null;
|
|
625
|
+
version?: number;
|
|
626
|
+
};
|
|
627
|
+
Update: {
|
|
628
|
+
content?: Json;
|
|
629
|
+
created_at?: string;
|
|
630
|
+
created_by?: string | null;
|
|
631
|
+
id?: string;
|
|
632
|
+
kind?: string;
|
|
633
|
+
organization_id?: string;
|
|
634
|
+
owner_id?: string;
|
|
635
|
+
owner_kind?: string;
|
|
636
|
+
source_execution_id?: string | null;
|
|
637
|
+
version?: number;
|
|
638
|
+
};
|
|
639
|
+
Relationships: [
|
|
640
|
+
{
|
|
641
|
+
foreignKeyName: 'acq_artifacts_organization_id_fkey';
|
|
642
|
+
columns: ['organization_id'];
|
|
643
|
+
isOneToOne: false;
|
|
644
|
+
referencedRelation: 'organizations';
|
|
645
|
+
referencedColumns: ['id'];
|
|
646
|
+
}
|
|
647
|
+
];
|
|
648
|
+
};
|
|
602
649
|
acq_companies: {
|
|
603
650
|
Row: {
|
|
604
651
|
batch_id: string | null;
|
|
@@ -617,6 +664,9 @@ type Database = {
|
|
|
617
664
|
num_employees: number | null;
|
|
618
665
|
organization_id: string;
|
|
619
666
|
pipeline_status: Json;
|
|
667
|
+
qualification_rubric_key: string | null;
|
|
668
|
+
qualification_score: number | null;
|
|
669
|
+
qualification_signals: Json | null;
|
|
620
670
|
segment: string | null;
|
|
621
671
|
source: string | null;
|
|
622
672
|
status: string;
|
|
@@ -640,6 +690,9 @@ type Database = {
|
|
|
640
690
|
num_employees?: number | null;
|
|
641
691
|
organization_id: string;
|
|
642
692
|
pipeline_status?: Json;
|
|
693
|
+
qualification_rubric_key?: string | null;
|
|
694
|
+
qualification_score?: number | null;
|
|
695
|
+
qualification_signals?: Json | null;
|
|
643
696
|
segment?: string | null;
|
|
644
697
|
source?: string | null;
|
|
645
698
|
status?: string;
|
|
@@ -663,6 +716,9 @@ type Database = {
|
|
|
663
716
|
num_employees?: number | null;
|
|
664
717
|
organization_id?: string;
|
|
665
718
|
pipeline_status?: Json;
|
|
719
|
+
qualification_rubric_key?: string | null;
|
|
720
|
+
qualification_score?: number | null;
|
|
721
|
+
qualification_signals?: Json | null;
|
|
666
722
|
segment?: string | null;
|
|
667
723
|
source?: string | null;
|
|
668
724
|
status?: string;
|
|
@@ -671,11 +727,11 @@ type Database = {
|
|
|
671
727
|
};
|
|
672
728
|
Relationships: [
|
|
673
729
|
{
|
|
674
|
-
foreignKeyName:
|
|
675
|
-
columns: [
|
|
730
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
731
|
+
columns: ['organization_id'];
|
|
676
732
|
isOneToOne: false;
|
|
677
|
-
referencedRelation:
|
|
678
|
-
referencedColumns: [
|
|
733
|
+
referencedRelation: 'organizations';
|
|
734
|
+
referencedColumns: ['id'];
|
|
679
735
|
}
|
|
680
736
|
];
|
|
681
737
|
};
|
|
@@ -699,6 +755,9 @@ type Database = {
|
|
|
699
755
|
opening_line: string | null;
|
|
700
756
|
organization_id: string;
|
|
701
757
|
pipeline_status: Json;
|
|
758
|
+
qualification_rubric_key: string | null;
|
|
759
|
+
qualification_score: number | null;
|
|
760
|
+
qualification_signals: Json | null;
|
|
702
761
|
source: string | null;
|
|
703
762
|
source_id: string | null;
|
|
704
763
|
status: string;
|
|
@@ -724,6 +783,9 @@ type Database = {
|
|
|
724
783
|
opening_line?: string | null;
|
|
725
784
|
organization_id: string;
|
|
726
785
|
pipeline_status?: Json;
|
|
786
|
+
qualification_rubric_key?: string | null;
|
|
787
|
+
qualification_score?: number | null;
|
|
788
|
+
qualification_signals?: Json | null;
|
|
727
789
|
source?: string | null;
|
|
728
790
|
source_id?: string | null;
|
|
729
791
|
status?: string;
|
|
@@ -749,6 +811,9 @@ type Database = {
|
|
|
749
811
|
opening_line?: string | null;
|
|
750
812
|
organization_id?: string;
|
|
751
813
|
pipeline_status?: Json;
|
|
814
|
+
qualification_rubric_key?: string | null;
|
|
815
|
+
qualification_score?: number | null;
|
|
816
|
+
qualification_signals?: Json | null;
|
|
752
817
|
source?: string | null;
|
|
753
818
|
source_id?: string | null;
|
|
754
819
|
status?: string;
|
|
@@ -757,18 +822,18 @@ type Database = {
|
|
|
757
822
|
};
|
|
758
823
|
Relationships: [
|
|
759
824
|
{
|
|
760
|
-
foreignKeyName:
|
|
761
|
-
columns: [
|
|
825
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
826
|
+
columns: ['company_id'];
|
|
762
827
|
isOneToOne: false;
|
|
763
|
-
referencedRelation:
|
|
764
|
-
referencedColumns: [
|
|
828
|
+
referencedRelation: 'acq_companies';
|
|
829
|
+
referencedColumns: ['id'];
|
|
765
830
|
},
|
|
766
831
|
{
|
|
767
|
-
foreignKeyName:
|
|
768
|
-
columns: [
|
|
832
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
833
|
+
columns: ['organization_id'];
|
|
769
834
|
isOneToOne: false;
|
|
770
|
-
referencedRelation:
|
|
771
|
-
referencedColumns: [
|
|
835
|
+
referencedRelation: 'organizations';
|
|
836
|
+
referencedColumns: ['id'];
|
|
772
837
|
}
|
|
773
838
|
];
|
|
774
839
|
};
|
|
@@ -805,11 +870,11 @@ type Database = {
|
|
|
805
870
|
};
|
|
806
871
|
Relationships: [
|
|
807
872
|
{
|
|
808
|
-
foreignKeyName:
|
|
809
|
-
columns: [
|
|
873
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
874
|
+
columns: ['organization_id'];
|
|
810
875
|
isOneToOne: false;
|
|
811
|
-
referencedRelation:
|
|
812
|
-
referencedColumns: [
|
|
876
|
+
referencedRelation: 'organizations';
|
|
877
|
+
referencedColumns: ['id'];
|
|
813
878
|
}
|
|
814
879
|
];
|
|
815
880
|
};
|
|
@@ -873,18 +938,18 @@ type Database = {
|
|
|
873
938
|
};
|
|
874
939
|
Relationships: [
|
|
875
940
|
{
|
|
876
|
-
foreignKeyName:
|
|
877
|
-
columns: [
|
|
941
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
942
|
+
columns: ['content_id'];
|
|
878
943
|
isOneToOne: false;
|
|
879
|
-
referencedRelation:
|
|
880
|
-
referencedColumns: [
|
|
944
|
+
referencedRelation: 'acq_content';
|
|
945
|
+
referencedColumns: ['id'];
|
|
881
946
|
},
|
|
882
947
|
{
|
|
883
|
-
foreignKeyName:
|
|
884
|
-
columns: [
|
|
948
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
949
|
+
columns: ['organization_id'];
|
|
885
950
|
isOneToOne: false;
|
|
886
|
-
referencedRelation:
|
|
887
|
-
referencedColumns: [
|
|
951
|
+
referencedRelation: 'organizations';
|
|
952
|
+
referencedColumns: ['id'];
|
|
888
953
|
}
|
|
889
954
|
];
|
|
890
955
|
};
|
|
@@ -918,18 +983,18 @@ type Database = {
|
|
|
918
983
|
};
|
|
919
984
|
Relationships: [
|
|
920
985
|
{
|
|
921
|
-
foreignKeyName:
|
|
922
|
-
columns: [
|
|
986
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
987
|
+
columns: ['deal_id'];
|
|
923
988
|
isOneToOne: false;
|
|
924
|
-
referencedRelation:
|
|
925
|
-
referencedColumns: [
|
|
989
|
+
referencedRelation: 'acq_deals';
|
|
990
|
+
referencedColumns: ['id'];
|
|
926
991
|
},
|
|
927
992
|
{
|
|
928
|
-
foreignKeyName:
|
|
929
|
-
columns: [
|
|
993
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
994
|
+
columns: ['organization_id'];
|
|
930
995
|
isOneToOne: false;
|
|
931
|
-
referencedRelation:
|
|
932
|
-
referencedColumns: [
|
|
996
|
+
referencedRelation: 'organizations';
|
|
997
|
+
referencedColumns: ['id'];
|
|
933
998
|
}
|
|
934
999
|
];
|
|
935
1000
|
};
|
|
@@ -981,18 +1046,18 @@ type Database = {
|
|
|
981
1046
|
};
|
|
982
1047
|
Relationships: [
|
|
983
1048
|
{
|
|
984
|
-
foreignKeyName:
|
|
985
|
-
columns: [
|
|
1049
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
1050
|
+
columns: ['deal_id'];
|
|
986
1051
|
isOneToOne: false;
|
|
987
|
-
referencedRelation:
|
|
988
|
-
referencedColumns: [
|
|
1052
|
+
referencedRelation: 'acq_deals';
|
|
1053
|
+
referencedColumns: ['id'];
|
|
989
1054
|
},
|
|
990
1055
|
{
|
|
991
|
-
foreignKeyName:
|
|
992
|
-
columns: [
|
|
1056
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
1057
|
+
columns: ['organization_id'];
|
|
993
1058
|
isOneToOne: false;
|
|
994
|
-
referencedRelation:
|
|
995
|
-
referencedColumns: [
|
|
1059
|
+
referencedRelation: 'organizations';
|
|
1060
|
+
referencedColumns: ['id'];
|
|
996
1061
|
}
|
|
997
1062
|
];
|
|
998
1063
|
};
|
|
@@ -1104,86 +1169,95 @@ type Database = {
|
|
|
1104
1169
|
};
|
|
1105
1170
|
Relationships: [
|
|
1106
1171
|
{
|
|
1107
|
-
foreignKeyName:
|
|
1108
|
-
columns: [
|
|
1172
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
1173
|
+
columns: ['contact_id'];
|
|
1109
1174
|
isOneToOne: false;
|
|
1110
|
-
referencedRelation:
|
|
1111
|
-
referencedColumns: [
|
|
1175
|
+
referencedRelation: 'acq_contacts';
|
|
1176
|
+
referencedColumns: ['id'];
|
|
1112
1177
|
},
|
|
1113
1178
|
{
|
|
1114
|
-
foreignKeyName:
|
|
1115
|
-
columns: [
|
|
1179
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
1180
|
+
columns: ['organization_id'];
|
|
1116
1181
|
isOneToOne: false;
|
|
1117
|
-
referencedRelation:
|
|
1118
|
-
referencedColumns: [
|
|
1182
|
+
referencedRelation: 'organizations';
|
|
1183
|
+
referencedColumns: ['id'];
|
|
1119
1184
|
},
|
|
1120
1185
|
{
|
|
1121
|
-
foreignKeyName:
|
|
1122
|
-
columns: [
|
|
1186
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
1187
|
+
columns: ['source_list_id'];
|
|
1123
1188
|
isOneToOne: false;
|
|
1124
|
-
referencedRelation:
|
|
1125
|
-
referencedColumns: [
|
|
1189
|
+
referencedRelation: 'acq_lists';
|
|
1190
|
+
referencedColumns: ['id'];
|
|
1126
1191
|
}
|
|
1127
1192
|
];
|
|
1128
1193
|
};
|
|
1129
1194
|
acq_list_companies: {
|
|
1130
1195
|
Row: {
|
|
1196
|
+
activity_log: Json;
|
|
1131
1197
|
added_at: string;
|
|
1132
1198
|
added_by: string | null;
|
|
1133
1199
|
company_id: string;
|
|
1134
1200
|
id: string;
|
|
1135
1201
|
list_id: string;
|
|
1202
|
+
pipeline_key: string;
|
|
1203
|
+
processing_state: Json;
|
|
1136
1204
|
source_execution_id: string | null;
|
|
1137
1205
|
source_input_hash: string | null;
|
|
1138
1206
|
source_resource_id: string | null;
|
|
1139
|
-
|
|
1140
|
-
|
|
1207
|
+
stage_key: string;
|
|
1208
|
+
state_key: string;
|
|
1141
1209
|
};
|
|
1142
1210
|
Insert: {
|
|
1211
|
+
activity_log?: Json;
|
|
1143
1212
|
added_at?: string;
|
|
1144
1213
|
added_by?: string | null;
|
|
1145
1214
|
company_id: string;
|
|
1146
1215
|
id?: string;
|
|
1147
1216
|
list_id: string;
|
|
1217
|
+
pipeline_key?: string;
|
|
1218
|
+
processing_state?: Json;
|
|
1148
1219
|
source_execution_id?: string | null;
|
|
1149
1220
|
source_input_hash?: string | null;
|
|
1150
1221
|
source_resource_id?: string | null;
|
|
1151
|
-
|
|
1152
|
-
|
|
1222
|
+
stage_key: string;
|
|
1223
|
+
state_key: string;
|
|
1153
1224
|
};
|
|
1154
1225
|
Update: {
|
|
1226
|
+
activity_log?: Json;
|
|
1155
1227
|
added_at?: string;
|
|
1156
1228
|
added_by?: string | null;
|
|
1157
1229
|
company_id?: string;
|
|
1158
1230
|
id?: string;
|
|
1159
1231
|
list_id?: string;
|
|
1232
|
+
pipeline_key?: string;
|
|
1233
|
+
processing_state?: Json;
|
|
1160
1234
|
source_execution_id?: string | null;
|
|
1161
1235
|
source_input_hash?: string | null;
|
|
1162
1236
|
source_resource_id?: string | null;
|
|
1163
|
-
|
|
1164
|
-
|
|
1237
|
+
stage_key?: string;
|
|
1238
|
+
state_key?: string;
|
|
1165
1239
|
};
|
|
1166
1240
|
Relationships: [
|
|
1167
1241
|
{
|
|
1168
|
-
foreignKeyName:
|
|
1169
|
-
columns: [
|
|
1242
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
1243
|
+
columns: ['company_id'];
|
|
1170
1244
|
isOneToOne: false;
|
|
1171
|
-
referencedRelation:
|
|
1172
|
-
referencedColumns: [
|
|
1245
|
+
referencedRelation: 'acq_companies';
|
|
1246
|
+
referencedColumns: ['id'];
|
|
1173
1247
|
},
|
|
1174
1248
|
{
|
|
1175
|
-
foreignKeyName:
|
|
1176
|
-
columns: [
|
|
1249
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
1250
|
+
columns: ['list_id'];
|
|
1177
1251
|
isOneToOne: false;
|
|
1178
|
-
referencedRelation:
|
|
1179
|
-
referencedColumns: [
|
|
1252
|
+
referencedRelation: 'acq_lists';
|
|
1253
|
+
referencedColumns: ['id'];
|
|
1180
1254
|
},
|
|
1181
1255
|
{
|
|
1182
|
-
foreignKeyName:
|
|
1183
|
-
columns: [
|
|
1256
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
1257
|
+
columns: ['source_execution_id'];
|
|
1184
1258
|
isOneToOne: false;
|
|
1185
|
-
referencedRelation:
|
|
1186
|
-
referencedColumns: [
|
|
1259
|
+
referencedRelation: 'execution_logs';
|
|
1260
|
+
referencedColumns: ['execution_id'];
|
|
1187
1261
|
}
|
|
1188
1262
|
];
|
|
1189
1263
|
};
|
|
@@ -1211,79 +1285,88 @@ type Database = {
|
|
|
1211
1285
|
};
|
|
1212
1286
|
Relationships: [
|
|
1213
1287
|
{
|
|
1214
|
-
foreignKeyName:
|
|
1215
|
-
columns: [
|
|
1288
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
1289
|
+
columns: ['execution_id'];
|
|
1216
1290
|
isOneToOne: false;
|
|
1217
|
-
referencedRelation:
|
|
1218
|
-
referencedColumns: [
|
|
1291
|
+
referencedRelation: 'execution_logs';
|
|
1292
|
+
referencedColumns: ['execution_id'];
|
|
1219
1293
|
},
|
|
1220
1294
|
{
|
|
1221
|
-
foreignKeyName:
|
|
1222
|
-
columns: [
|
|
1295
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
1296
|
+
columns: ['list_id'];
|
|
1223
1297
|
isOneToOne: false;
|
|
1224
|
-
referencedRelation:
|
|
1225
|
-
referencedColumns: [
|
|
1298
|
+
referencedRelation: 'acq_lists';
|
|
1299
|
+
referencedColumns: ['id'];
|
|
1226
1300
|
}
|
|
1227
1301
|
];
|
|
1228
1302
|
};
|
|
1229
1303
|
acq_list_members: {
|
|
1230
1304
|
Row: {
|
|
1305
|
+
activity_log: Json;
|
|
1231
1306
|
added_at: string;
|
|
1232
1307
|
added_by: string | null;
|
|
1233
1308
|
contact_id: string;
|
|
1234
1309
|
id: string;
|
|
1235
1310
|
list_id: string;
|
|
1311
|
+
pipeline_key: string;
|
|
1312
|
+
processing_state: Json;
|
|
1236
1313
|
source_execution_id: string | null;
|
|
1237
1314
|
source_input_hash: string | null;
|
|
1238
1315
|
source_resource_id: string | null;
|
|
1239
|
-
|
|
1240
|
-
|
|
1316
|
+
stage_key: string;
|
|
1317
|
+
state_key: string;
|
|
1241
1318
|
};
|
|
1242
1319
|
Insert: {
|
|
1320
|
+
activity_log?: Json;
|
|
1243
1321
|
added_at?: string;
|
|
1244
1322
|
added_by?: string | null;
|
|
1245
1323
|
contact_id: string;
|
|
1246
1324
|
id?: string;
|
|
1247
1325
|
list_id: string;
|
|
1326
|
+
pipeline_key?: string;
|
|
1327
|
+
processing_state?: Json;
|
|
1248
1328
|
source_execution_id?: string | null;
|
|
1249
1329
|
source_input_hash?: string | null;
|
|
1250
1330
|
source_resource_id?: string | null;
|
|
1251
|
-
|
|
1252
|
-
|
|
1331
|
+
stage_key: string;
|
|
1332
|
+
state_key: string;
|
|
1253
1333
|
};
|
|
1254
1334
|
Update: {
|
|
1335
|
+
activity_log?: Json;
|
|
1255
1336
|
added_at?: string;
|
|
1256
1337
|
added_by?: string | null;
|
|
1257
1338
|
contact_id?: string;
|
|
1258
1339
|
id?: string;
|
|
1259
1340
|
list_id?: string;
|
|
1341
|
+
pipeline_key?: string;
|
|
1342
|
+
processing_state?: Json;
|
|
1260
1343
|
source_execution_id?: string | null;
|
|
1261
1344
|
source_input_hash?: string | null;
|
|
1262
1345
|
source_resource_id?: string | null;
|
|
1263
|
-
|
|
1264
|
-
|
|
1346
|
+
stage_key?: string;
|
|
1347
|
+
state_key?: string;
|
|
1265
1348
|
};
|
|
1266
1349
|
Relationships: [
|
|
1267
1350
|
{
|
|
1268
|
-
foreignKeyName:
|
|
1269
|
-
columns: [
|
|
1351
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
1352
|
+
columns: ['contact_id'];
|
|
1270
1353
|
isOneToOne: false;
|
|
1271
|
-
referencedRelation:
|
|
1272
|
-
referencedColumns: [
|
|
1354
|
+
referencedRelation: 'acq_contacts';
|
|
1355
|
+
referencedColumns: ['id'];
|
|
1273
1356
|
},
|
|
1274
1357
|
{
|
|
1275
|
-
foreignKeyName:
|
|
1276
|
-
columns: [
|
|
1358
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
1359
|
+
columns: ['list_id'];
|
|
1277
1360
|
isOneToOne: false;
|
|
1278
|
-
referencedRelation:
|
|
1279
|
-
referencedColumns: [
|
|
1361
|
+
referencedRelation: 'acq_lists';
|
|
1362
|
+
referencedColumns: ['id'];
|
|
1280
1363
|
},
|
|
1281
1364
|
{
|
|
1282
|
-
foreignKeyName:
|
|
1283
|
-
columns: [
|
|
1365
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
1366
|
+
columns: ['source_execution_id'];
|
|
1284
1367
|
isOneToOne: false;
|
|
1285
|
-
referencedRelation:
|
|
1286
|
-
referencedColumns: [
|
|
1368
|
+
referencedRelation: 'execution_logs';
|
|
1369
|
+
referencedColumns: ['execution_id'];
|
|
1287
1370
|
}
|
|
1288
1371
|
];
|
|
1289
1372
|
};
|
|
@@ -1291,55 +1374,58 @@ type Database = {
|
|
|
1291
1374
|
Row: {
|
|
1292
1375
|
batch_ids: string[];
|
|
1293
1376
|
completed_at: string | null;
|
|
1294
|
-
config: Json;
|
|
1295
1377
|
created_at: string;
|
|
1296
1378
|
description: string | null;
|
|
1379
|
+
icp: Json;
|
|
1297
1380
|
id: string;
|
|
1298
1381
|
instantly_campaign_id: string | null;
|
|
1299
1382
|
launched_at: string | null;
|
|
1300
1383
|
metadata: Json;
|
|
1301
1384
|
name: string;
|
|
1302
1385
|
organization_id: string;
|
|
1386
|
+
pipeline_config: Json;
|
|
1387
|
+
scraping_config: Json;
|
|
1303
1388
|
status: string;
|
|
1304
|
-
type: string;
|
|
1305
1389
|
};
|
|
1306
1390
|
Insert: {
|
|
1307
1391
|
batch_ids?: string[];
|
|
1308
1392
|
completed_at?: string | null;
|
|
1309
|
-
config?: Json;
|
|
1310
1393
|
created_at?: string;
|
|
1311
1394
|
description?: string | null;
|
|
1395
|
+
icp?: Json;
|
|
1312
1396
|
id?: string;
|
|
1313
1397
|
instantly_campaign_id?: string | null;
|
|
1314
1398
|
launched_at?: string | null;
|
|
1315
1399
|
metadata?: Json;
|
|
1316
1400
|
name: string;
|
|
1317
1401
|
organization_id: string;
|
|
1402
|
+
pipeline_config?: Json;
|
|
1403
|
+
scraping_config?: Json;
|
|
1318
1404
|
status?: string;
|
|
1319
|
-
type?: string;
|
|
1320
1405
|
};
|
|
1321
1406
|
Update: {
|
|
1322
1407
|
batch_ids?: string[];
|
|
1323
1408
|
completed_at?: string | null;
|
|
1324
|
-
config?: Json;
|
|
1325
1409
|
created_at?: string;
|
|
1326
1410
|
description?: string | null;
|
|
1411
|
+
icp?: Json;
|
|
1327
1412
|
id?: string;
|
|
1328
1413
|
instantly_campaign_id?: string | null;
|
|
1329
1414
|
launched_at?: string | null;
|
|
1330
1415
|
metadata?: Json;
|
|
1331
1416
|
name?: string;
|
|
1332
1417
|
organization_id?: string;
|
|
1418
|
+
pipeline_config?: Json;
|
|
1419
|
+
scraping_config?: Json;
|
|
1333
1420
|
status?: string;
|
|
1334
|
-
type?: string;
|
|
1335
1421
|
};
|
|
1336
1422
|
Relationships: [
|
|
1337
1423
|
{
|
|
1338
|
-
foreignKeyName:
|
|
1339
|
-
columns: [
|
|
1424
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
1425
|
+
columns: ['organization_id'];
|
|
1340
1426
|
isOneToOne: false;
|
|
1341
|
-
referencedRelation:
|
|
1342
|
-
referencedColumns: [
|
|
1427
|
+
referencedRelation: 'organizations';
|
|
1428
|
+
referencedColumns: ['id'];
|
|
1343
1429
|
}
|
|
1344
1430
|
];
|
|
1345
1431
|
};
|
|
@@ -1415,18 +1501,18 @@ type Database = {
|
|
|
1415
1501
|
};
|
|
1416
1502
|
Relationships: [
|
|
1417
1503
|
{
|
|
1418
|
-
foreignKeyName:
|
|
1419
|
-
columns: [
|
|
1504
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
1505
|
+
columns: ['organization_id'];
|
|
1420
1506
|
isOneToOne: false;
|
|
1421
|
-
referencedRelation:
|
|
1422
|
-
referencedColumns: [
|
|
1507
|
+
referencedRelation: 'organizations';
|
|
1508
|
+
referencedColumns: ['id'];
|
|
1423
1509
|
},
|
|
1424
1510
|
{
|
|
1425
|
-
foreignKeyName:
|
|
1426
|
-
columns: [
|
|
1511
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
1512
|
+
columns: ['seo_page_id'];
|
|
1427
1513
|
isOneToOne: false;
|
|
1428
|
-
referencedRelation:
|
|
1429
|
-
referencedColumns: [
|
|
1514
|
+
referencedRelation: 'acq_seo_pages';
|
|
1515
|
+
referencedColumns: ['id'];
|
|
1430
1516
|
}
|
|
1431
1517
|
];
|
|
1432
1518
|
};
|
|
@@ -1502,11 +1588,11 @@ type Database = {
|
|
|
1502
1588
|
};
|
|
1503
1589
|
Relationships: [
|
|
1504
1590
|
{
|
|
1505
|
-
foreignKeyName:
|
|
1506
|
-
columns: [
|
|
1591
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1592
|
+
columns: ['organization_id'];
|
|
1507
1593
|
isOneToOne: false;
|
|
1508
|
-
referencedRelation:
|
|
1509
|
-
referencedColumns: [
|
|
1594
|
+
referencedRelation: 'organizations';
|
|
1595
|
+
referencedColumns: ['id'];
|
|
1510
1596
|
}
|
|
1511
1597
|
];
|
|
1512
1598
|
};
|
|
@@ -1603,11 +1689,11 @@ type Database = {
|
|
|
1603
1689
|
};
|
|
1604
1690
|
Relationships: [
|
|
1605
1691
|
{
|
|
1606
|
-
foreignKeyName:
|
|
1607
|
-
columns: [
|
|
1692
|
+
foreignKeyName: 'acq_social_posts_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
|
};
|
|
@@ -1662,11 +1748,11 @@ type Database = {
|
|
|
1662
1748
|
};
|
|
1663
1749
|
Relationships: [
|
|
1664
1750
|
{
|
|
1665
|
-
foreignKeyName:
|
|
1666
|
-
columns: [
|
|
1751
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1752
|
+
columns: ['organization_id'];
|
|
1667
1753
|
isOneToOne: false;
|
|
1668
|
-
referencedRelation:
|
|
1669
|
-
referencedColumns: [
|
|
1754
|
+
referencedRelation: 'organizations';
|
|
1755
|
+
referencedColumns: ['id'];
|
|
1670
1756
|
}
|
|
1671
1757
|
];
|
|
1672
1758
|
};
|
|
@@ -1697,11 +1783,11 @@ type Database = {
|
|
|
1697
1783
|
};
|
|
1698
1784
|
Relationships: [
|
|
1699
1785
|
{
|
|
1700
|
-
foreignKeyName:
|
|
1701
|
-
columns: [
|
|
1786
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1787
|
+
columns: ['organization_id'];
|
|
1702
1788
|
isOneToOne: false;
|
|
1703
|
-
referencedRelation:
|
|
1704
|
-
referencedColumns: [
|
|
1789
|
+
referencedRelation: 'organizations';
|
|
1790
|
+
referencedColumns: ['id'];
|
|
1705
1791
|
}
|
|
1706
1792
|
];
|
|
1707
1793
|
};
|
|
@@ -1780,25 +1866,25 @@ type Database = {
|
|
|
1780
1866
|
};
|
|
1781
1867
|
Relationships: [
|
|
1782
1868
|
{
|
|
1783
|
-
foreignKeyName:
|
|
1784
|
-
columns: [
|
|
1869
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1870
|
+
columns: ['completed_by'];
|
|
1785
1871
|
isOneToOne: false;
|
|
1786
|
-
referencedRelation:
|
|
1787
|
-
referencedColumns: [
|
|
1872
|
+
referencedRelation: 'users';
|
|
1873
|
+
referencedColumns: ['id'];
|
|
1788
1874
|
},
|
|
1789
1875
|
{
|
|
1790
|
-
foreignKeyName:
|
|
1791
|
-
columns: [
|
|
1876
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1877
|
+
columns: ['organization_id'];
|
|
1792
1878
|
isOneToOne: false;
|
|
1793
|
-
referencedRelation:
|
|
1794
|
-
referencedColumns: [
|
|
1879
|
+
referencedRelation: 'organizations';
|
|
1880
|
+
referencedColumns: ['id'];
|
|
1795
1881
|
},
|
|
1796
1882
|
{
|
|
1797
|
-
foreignKeyName:
|
|
1798
|
-
columns: [
|
|
1883
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1884
|
+
columns: ['target_execution_id'];
|
|
1799
1885
|
isOneToOne: false;
|
|
1800
|
-
referencedRelation:
|
|
1801
|
-
referencedColumns: [
|
|
1886
|
+
referencedRelation: 'execution_logs';
|
|
1887
|
+
referencedColumns: ['execution_id'];
|
|
1802
1888
|
}
|
|
1803
1889
|
];
|
|
1804
1890
|
};
|
|
@@ -1838,18 +1924,18 @@ type Database = {
|
|
|
1838
1924
|
};
|
|
1839
1925
|
Relationships: [
|
|
1840
1926
|
{
|
|
1841
|
-
foreignKeyName:
|
|
1842
|
-
columns: [
|
|
1927
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1928
|
+
columns: ['created_by'];
|
|
1843
1929
|
isOneToOne: false;
|
|
1844
|
-
referencedRelation:
|
|
1845
|
-
referencedColumns: [
|
|
1930
|
+
referencedRelation: 'users';
|
|
1931
|
+
referencedColumns: ['id'];
|
|
1846
1932
|
},
|
|
1847
1933
|
{
|
|
1848
|
-
foreignKeyName:
|
|
1849
|
-
columns: [
|
|
1934
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1935
|
+
columns: ['organization_id'];
|
|
1850
1936
|
isOneToOne: false;
|
|
1851
|
-
referencedRelation:
|
|
1852
|
-
referencedColumns: [
|
|
1937
|
+
referencedRelation: 'organizations';
|
|
1938
|
+
referencedColumns: ['id'];
|
|
1853
1939
|
}
|
|
1854
1940
|
];
|
|
1855
1941
|
};
|
|
@@ -1895,11 +1981,11 @@ type Database = {
|
|
|
1895
1981
|
};
|
|
1896
1982
|
Relationships: [
|
|
1897
1983
|
{
|
|
1898
|
-
foreignKeyName:
|
|
1899
|
-
columns: [
|
|
1984
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1985
|
+
columns: ['organization_id'];
|
|
1900
1986
|
isOneToOne: false;
|
|
1901
|
-
referencedRelation:
|
|
1902
|
-
referencedColumns: [
|
|
1987
|
+
referencedRelation: 'organizations';
|
|
1988
|
+
referencedColumns: ['id'];
|
|
1903
1989
|
}
|
|
1904
1990
|
];
|
|
1905
1991
|
};
|
|
@@ -1954,25 +2040,25 @@ type Database = {
|
|
|
1954
2040
|
};
|
|
1955
2041
|
Relationships: [
|
|
1956
2042
|
{
|
|
1957
|
-
foreignKeyName:
|
|
1958
|
-
columns: [
|
|
2043
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
2044
|
+
columns: ['execution_id'];
|
|
1959
2045
|
isOneToOne: false;
|
|
1960
|
-
referencedRelation:
|
|
1961
|
-
referencedColumns: [
|
|
2046
|
+
referencedRelation: 'execution_logs';
|
|
2047
|
+
referencedColumns: ['execution_id'];
|
|
1962
2048
|
},
|
|
1963
2049
|
{
|
|
1964
|
-
foreignKeyName:
|
|
1965
|
-
columns: [
|
|
2050
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
2051
|
+
columns: ['organization_id'];
|
|
1966
2052
|
isOneToOne: false;
|
|
1967
|
-
referencedRelation:
|
|
1968
|
-
referencedColumns: [
|
|
2053
|
+
referencedRelation: 'organizations';
|
|
2054
|
+
referencedColumns: ['id'];
|
|
1969
2055
|
},
|
|
1970
2056
|
{
|
|
1971
|
-
foreignKeyName:
|
|
1972
|
-
columns: [
|
|
2057
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
2058
|
+
columns: ['resolved_by'];
|
|
1973
2059
|
isOneToOne: false;
|
|
1974
|
-
referencedRelation:
|
|
1975
|
-
referencedColumns: [
|
|
2060
|
+
referencedRelation: 'users';
|
|
2061
|
+
referencedColumns: ['id'];
|
|
1976
2062
|
}
|
|
1977
2063
|
];
|
|
1978
2064
|
};
|
|
@@ -2054,32 +2140,32 @@ type Database = {
|
|
|
2054
2140
|
};
|
|
2055
2141
|
Relationships: [
|
|
2056
2142
|
{
|
|
2057
|
-
foreignKeyName:
|
|
2058
|
-
columns: [
|
|
2143
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
2144
|
+
columns: ['organization_id'];
|
|
2059
2145
|
isOneToOne: false;
|
|
2060
|
-
referencedRelation:
|
|
2061
|
-
referencedColumns: [
|
|
2146
|
+
referencedRelation: 'organizations';
|
|
2147
|
+
referencedColumns: ['id'];
|
|
2062
2148
|
},
|
|
2063
2149
|
{
|
|
2064
|
-
foreignKeyName:
|
|
2065
|
-
columns: [
|
|
2150
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
2151
|
+
columns: ['origin_execution_id'];
|
|
2066
2152
|
isOneToOne: false;
|
|
2067
|
-
referencedRelation:
|
|
2068
|
-
referencedColumns: [
|
|
2153
|
+
referencedRelation: 'execution_logs';
|
|
2154
|
+
referencedColumns: ['execution_id'];
|
|
2069
2155
|
},
|
|
2070
2156
|
{
|
|
2071
|
-
foreignKeyName:
|
|
2072
|
-
columns: [
|
|
2157
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
2158
|
+
columns: ['session_id'];
|
|
2073
2159
|
isOneToOne: false;
|
|
2074
|
-
referencedRelation:
|
|
2075
|
-
referencedColumns: [
|
|
2160
|
+
referencedRelation: 'sessions';
|
|
2161
|
+
referencedColumns: ['session_id'];
|
|
2076
2162
|
},
|
|
2077
2163
|
{
|
|
2078
|
-
foreignKeyName:
|
|
2079
|
-
columns: [
|
|
2164
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
2165
|
+
columns: ['user_id'];
|
|
2080
2166
|
isOneToOne: false;
|
|
2081
|
-
referencedRelation:
|
|
2082
|
-
referencedColumns: [
|
|
2167
|
+
referencedRelation: 'users';
|
|
2168
|
+
referencedColumns: ['id'];
|
|
2083
2169
|
}
|
|
2084
2170
|
];
|
|
2085
2171
|
};
|
|
@@ -2125,18 +2211,18 @@ type Database = {
|
|
|
2125
2211
|
};
|
|
2126
2212
|
Relationships: [
|
|
2127
2213
|
{
|
|
2128
|
-
foreignKeyName:
|
|
2129
|
-
columns: [
|
|
2214
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
2215
|
+
columns: ['execution_id'];
|
|
2130
2216
|
isOneToOne: true;
|
|
2131
|
-
referencedRelation:
|
|
2132
|
-
referencedColumns: [
|
|
2217
|
+
referencedRelation: 'execution_logs';
|
|
2218
|
+
referencedColumns: ['execution_id'];
|
|
2133
2219
|
},
|
|
2134
2220
|
{
|
|
2135
|
-
foreignKeyName:
|
|
2136
|
-
columns: [
|
|
2221
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
2222
|
+
columns: ['organization_id'];
|
|
2137
2223
|
isOneToOne: false;
|
|
2138
|
-
referencedRelation:
|
|
2139
|
-
referencedColumns: [
|
|
2224
|
+
referencedRelation: 'organizations';
|
|
2225
|
+
referencedColumns: ['id'];
|
|
2140
2226
|
}
|
|
2141
2227
|
];
|
|
2142
2228
|
};
|
|
@@ -2179,18 +2265,18 @@ type Database = {
|
|
|
2179
2265
|
};
|
|
2180
2266
|
Relationships: [
|
|
2181
2267
|
{
|
|
2182
|
-
foreignKeyName:
|
|
2183
|
-
columns: [
|
|
2268
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
2269
|
+
columns: ['organization_id'];
|
|
2184
2270
|
isOneToOne: false;
|
|
2185
|
-
referencedRelation:
|
|
2186
|
-
referencedColumns: [
|
|
2271
|
+
referencedRelation: 'organizations';
|
|
2272
|
+
referencedColumns: ['id'];
|
|
2187
2273
|
},
|
|
2188
2274
|
{
|
|
2189
|
-
foreignKeyName:
|
|
2190
|
-
columns: [
|
|
2275
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
2276
|
+
columns: ['user_id'];
|
|
2191
2277
|
isOneToOne: false;
|
|
2192
|
-
referencedRelation:
|
|
2193
|
-
referencedColumns: [
|
|
2278
|
+
referencedRelation: 'users';
|
|
2279
|
+
referencedColumns: ['id'];
|
|
2194
2280
|
}
|
|
2195
2281
|
];
|
|
2196
2282
|
};
|
|
@@ -2245,18 +2331,18 @@ type Database = {
|
|
|
2245
2331
|
};
|
|
2246
2332
|
Relationships: [
|
|
2247
2333
|
{
|
|
2248
|
-
foreignKeyName:
|
|
2249
|
-
columns: [
|
|
2334
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
2335
|
+
columns: ['inviter_user_id'];
|
|
2250
2336
|
isOneToOne: false;
|
|
2251
|
-
referencedRelation:
|
|
2252
|
-
referencedColumns: [
|
|
2337
|
+
referencedRelation: 'users';
|
|
2338
|
+
referencedColumns: ['id'];
|
|
2253
2339
|
},
|
|
2254
2340
|
{
|
|
2255
|
-
foreignKeyName:
|
|
2256
|
-
columns: [
|
|
2341
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
2342
|
+
columns: ['organization_id'];
|
|
2257
2343
|
isOneToOne: false;
|
|
2258
|
-
referencedRelation:
|
|
2259
|
-
referencedColumns: [
|
|
2344
|
+
referencedRelation: 'organizations';
|
|
2345
|
+
referencedColumns: ['id'];
|
|
2260
2346
|
}
|
|
2261
2347
|
];
|
|
2262
2348
|
};
|
|
@@ -2299,18 +2385,18 @@ type Database = {
|
|
|
2299
2385
|
};
|
|
2300
2386
|
Relationships: [
|
|
2301
2387
|
{
|
|
2302
|
-
foreignKeyName:
|
|
2303
|
-
columns: [
|
|
2388
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
2389
|
+
columns: ['organization_id'];
|
|
2304
2390
|
isOneToOne: false;
|
|
2305
|
-
referencedRelation:
|
|
2306
|
-
referencedColumns: [
|
|
2391
|
+
referencedRelation: 'organizations';
|
|
2392
|
+
referencedColumns: ['id'];
|
|
2307
2393
|
},
|
|
2308
2394
|
{
|
|
2309
|
-
foreignKeyName:
|
|
2310
|
-
columns: [
|
|
2395
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
2396
|
+
columns: ['user_id'];
|
|
2311
2397
|
isOneToOne: false;
|
|
2312
|
-
referencedRelation:
|
|
2313
|
-
referencedColumns: [
|
|
2398
|
+
referencedRelation: 'users';
|
|
2399
|
+
referencedColumns: ['id'];
|
|
2314
2400
|
}
|
|
2315
2401
|
];
|
|
2316
2402
|
};
|
|
@@ -2335,25 +2421,25 @@ type Database = {
|
|
|
2335
2421
|
};
|
|
2336
2422
|
Relationships: [
|
|
2337
2423
|
{
|
|
2338
|
-
foreignKeyName:
|
|
2339
|
-
columns: [
|
|
2424
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
2425
|
+
columns: ['granted_by'];
|
|
2340
2426
|
isOneToOne: false;
|
|
2341
|
-
referencedRelation:
|
|
2342
|
-
referencedColumns: [
|
|
2427
|
+
referencedRelation: 'users';
|
|
2428
|
+
referencedColumns: ['id'];
|
|
2343
2429
|
},
|
|
2344
2430
|
{
|
|
2345
|
-
foreignKeyName:
|
|
2346
|
-
columns: [
|
|
2431
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
2432
|
+
columns: ['membership_id'];
|
|
2347
2433
|
isOneToOne: false;
|
|
2348
|
-
referencedRelation:
|
|
2349
|
-
referencedColumns: [
|
|
2434
|
+
referencedRelation: 'org_memberships';
|
|
2435
|
+
referencedColumns: ['id'];
|
|
2350
2436
|
},
|
|
2351
2437
|
{
|
|
2352
|
-
foreignKeyName:
|
|
2353
|
-
columns: [
|
|
2438
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
2439
|
+
columns: ['role_id'];
|
|
2354
2440
|
isOneToOne: false;
|
|
2355
|
-
referencedRelation:
|
|
2356
|
-
referencedColumns: [
|
|
2441
|
+
referencedRelation: 'org_rol_definitions';
|
|
2442
|
+
referencedColumns: ['id'];
|
|
2357
2443
|
}
|
|
2358
2444
|
];
|
|
2359
2445
|
};
|
|
@@ -2390,11 +2476,11 @@ type Database = {
|
|
|
2390
2476
|
};
|
|
2391
2477
|
Relationships: [
|
|
2392
2478
|
{
|
|
2393
|
-
foreignKeyName:
|
|
2394
|
-
columns: [
|
|
2479
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
2480
|
+
columns: ['organization_id'];
|
|
2395
2481
|
isOneToOne: false;
|
|
2396
|
-
referencedRelation:
|
|
2397
|
-
referencedColumns: [
|
|
2482
|
+
referencedRelation: 'organizations';
|
|
2483
|
+
referencedColumns: ['id'];
|
|
2398
2484
|
}
|
|
2399
2485
|
];
|
|
2400
2486
|
};
|
|
@@ -2416,18 +2502,18 @@ type Database = {
|
|
|
2416
2502
|
};
|
|
2417
2503
|
Relationships: [
|
|
2418
2504
|
{
|
|
2419
|
-
foreignKeyName:
|
|
2420
|
-
columns: [
|
|
2505
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
2506
|
+
columns: ['permission_key'];
|
|
2421
2507
|
isOneToOne: false;
|
|
2422
|
-
referencedRelation:
|
|
2423
|
-
referencedColumns: [
|
|
2508
|
+
referencedRelation: 'org_rol_permissions';
|
|
2509
|
+
referencedColumns: ['key'];
|
|
2424
2510
|
},
|
|
2425
2511
|
{
|
|
2426
|
-
foreignKeyName:
|
|
2427
|
-
columns: [
|
|
2512
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
2513
|
+
columns: ['role_id'];
|
|
2428
2514
|
isOneToOne: false;
|
|
2429
|
-
referencedRelation:
|
|
2430
|
-
referencedColumns: [
|
|
2515
|
+
referencedRelation: 'org_rol_definitions';
|
|
2516
|
+
referencedColumns: ['id'];
|
|
2431
2517
|
}
|
|
2432
2518
|
];
|
|
2433
2519
|
};
|
|
@@ -2539,25 +2625,25 @@ type Database = {
|
|
|
2539
2625
|
};
|
|
2540
2626
|
Relationships: [
|
|
2541
2627
|
{
|
|
2542
|
-
foreignKeyName:
|
|
2543
|
-
columns: [
|
|
2628
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2629
|
+
columns: ['project_id'];
|
|
2544
2630
|
isOneToOne: false;
|
|
2545
|
-
referencedRelation:
|
|
2546
|
-
referencedColumns: [
|
|
2631
|
+
referencedRelation: 'prj_projects';
|
|
2632
|
+
referencedColumns: ['id'];
|
|
2547
2633
|
},
|
|
2548
2634
|
{
|
|
2549
|
-
foreignKeyName:
|
|
2550
|
-
columns: [
|
|
2635
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2636
|
+
columns: ['organization_id'];
|
|
2551
2637
|
isOneToOne: false;
|
|
2552
|
-
referencedRelation:
|
|
2553
|
-
referencedColumns: [
|
|
2638
|
+
referencedRelation: 'organizations';
|
|
2639
|
+
referencedColumns: ['id'];
|
|
2554
2640
|
},
|
|
2555
2641
|
{
|
|
2556
|
-
foreignKeyName:
|
|
2557
|
-
columns: [
|
|
2642
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2643
|
+
columns: ['project_id'];
|
|
2558
2644
|
isOneToOne: false;
|
|
2559
|
-
referencedRelation:
|
|
2560
|
-
referencedColumns: [
|
|
2645
|
+
referencedRelation: 'prj_projects';
|
|
2646
|
+
referencedColumns: ['id'];
|
|
2561
2647
|
}
|
|
2562
2648
|
];
|
|
2563
2649
|
};
|
|
@@ -2606,67 +2692,67 @@ type Database = {
|
|
|
2606
2692
|
};
|
|
2607
2693
|
Relationships: [
|
|
2608
2694
|
{
|
|
2609
|
-
foreignKeyName:
|
|
2610
|
-
columns: [
|
|
2695
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2696
|
+
columns: ['created_by'];
|
|
2611
2697
|
isOneToOne: false;
|
|
2612
|
-
referencedRelation:
|
|
2613
|
-
referencedColumns: [
|
|
2698
|
+
referencedRelation: 'users';
|
|
2699
|
+
referencedColumns: ['id'];
|
|
2614
2700
|
},
|
|
2615
2701
|
{
|
|
2616
|
-
foreignKeyName:
|
|
2617
|
-
columns: [
|
|
2702
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2703
|
+
columns: ['milestone_id'];
|
|
2618
2704
|
isOneToOne: false;
|
|
2619
|
-
referencedRelation:
|
|
2620
|
-
referencedColumns: [
|
|
2705
|
+
referencedRelation: 'prj_milestones';
|
|
2706
|
+
referencedColumns: ['id'];
|
|
2621
2707
|
},
|
|
2622
2708
|
{
|
|
2623
|
-
foreignKeyName:
|
|
2624
|
-
columns: [
|
|
2709
|
+
foreignKeyName: 'fk_notes_project';
|
|
2710
|
+
columns: ['project_id'];
|
|
2625
2711
|
isOneToOne: false;
|
|
2626
|
-
referencedRelation:
|
|
2627
|
-
referencedColumns: [
|
|
2712
|
+
referencedRelation: 'prj_projects';
|
|
2713
|
+
referencedColumns: ['id'];
|
|
2628
2714
|
},
|
|
2629
2715
|
{
|
|
2630
|
-
foreignKeyName:
|
|
2631
|
-
columns: [
|
|
2716
|
+
foreignKeyName: 'fk_notes_task';
|
|
2717
|
+
columns: ['task_id'];
|
|
2632
2718
|
isOneToOne: false;
|
|
2633
|
-
referencedRelation:
|
|
2634
|
-
referencedColumns: [
|
|
2719
|
+
referencedRelation: 'prj_tasks';
|
|
2720
|
+
referencedColumns: ['id'];
|
|
2635
2721
|
},
|
|
2636
2722
|
{
|
|
2637
|
-
foreignKeyName:
|
|
2638
|
-
columns: [
|
|
2723
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2724
|
+
columns: ['created_by'];
|
|
2639
2725
|
isOneToOne: false;
|
|
2640
|
-
referencedRelation:
|
|
2641
|
-
referencedColumns: [
|
|
2726
|
+
referencedRelation: 'users';
|
|
2727
|
+
referencedColumns: ['id'];
|
|
2642
2728
|
},
|
|
2643
2729
|
{
|
|
2644
|
-
foreignKeyName:
|
|
2645
|
-
columns: [
|
|
2730
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2731
|
+
columns: ['milestone_id'];
|
|
2646
2732
|
isOneToOne: false;
|
|
2647
|
-
referencedRelation:
|
|
2648
|
-
referencedColumns: [
|
|
2733
|
+
referencedRelation: 'prj_milestones';
|
|
2734
|
+
referencedColumns: ['id'];
|
|
2649
2735
|
},
|
|
2650
2736
|
{
|
|
2651
|
-
foreignKeyName:
|
|
2652
|
-
columns: [
|
|
2737
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2738
|
+
columns: ['organization_id'];
|
|
2653
2739
|
isOneToOne: false;
|
|
2654
|
-
referencedRelation:
|
|
2655
|
-
referencedColumns: [
|
|
2740
|
+
referencedRelation: 'organizations';
|
|
2741
|
+
referencedColumns: ['id'];
|
|
2656
2742
|
},
|
|
2657
2743
|
{
|
|
2658
|
-
foreignKeyName:
|
|
2659
|
-
columns: [
|
|
2744
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2745
|
+
columns: ['project_id'];
|
|
2660
2746
|
isOneToOne: false;
|
|
2661
|
-
referencedRelation:
|
|
2662
|
-
referencedColumns: [
|
|
2747
|
+
referencedRelation: 'prj_projects';
|
|
2748
|
+
referencedColumns: ['id'];
|
|
2663
2749
|
},
|
|
2664
2750
|
{
|
|
2665
|
-
foreignKeyName:
|
|
2666
|
-
columns: [
|
|
2751
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2752
|
+
columns: ['task_id'];
|
|
2667
2753
|
isOneToOne: false;
|
|
2668
|
-
referencedRelation:
|
|
2669
|
-
referencedColumns: [
|
|
2754
|
+
referencedRelation: 'prj_tasks';
|
|
2755
|
+
referencedColumns: ['id'];
|
|
2670
2756
|
}
|
|
2671
2757
|
];
|
|
2672
2758
|
};
|
|
@@ -2724,39 +2810,39 @@ type Database = {
|
|
|
2724
2810
|
};
|
|
2725
2811
|
Relationships: [
|
|
2726
2812
|
{
|
|
2727
|
-
foreignKeyName:
|
|
2728
|
-
columns: [
|
|
2813
|
+
foreignKeyName: 'fk_projects_company';
|
|
2814
|
+
columns: ['client_company_id'];
|
|
2729
2815
|
isOneToOne: false;
|
|
2730
|
-
referencedRelation:
|
|
2731
|
-
referencedColumns: [
|
|
2816
|
+
referencedRelation: 'acq_companies';
|
|
2817
|
+
referencedColumns: ['id'];
|
|
2732
2818
|
},
|
|
2733
2819
|
{
|
|
2734
|
-
foreignKeyName:
|
|
2735
|
-
columns: [
|
|
2820
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2821
|
+
columns: ['deal_id'];
|
|
2736
2822
|
isOneToOne: false;
|
|
2737
|
-
referencedRelation:
|
|
2738
|
-
referencedColumns: [
|
|
2823
|
+
referencedRelation: 'acq_deals';
|
|
2824
|
+
referencedColumns: ['id'];
|
|
2739
2825
|
},
|
|
2740
2826
|
{
|
|
2741
|
-
foreignKeyName:
|
|
2742
|
-
columns: [
|
|
2827
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2828
|
+
columns: ['client_company_id'];
|
|
2743
2829
|
isOneToOne: false;
|
|
2744
|
-
referencedRelation:
|
|
2745
|
-
referencedColumns: [
|
|
2830
|
+
referencedRelation: 'acq_companies';
|
|
2831
|
+
referencedColumns: ['id'];
|
|
2746
2832
|
},
|
|
2747
2833
|
{
|
|
2748
|
-
foreignKeyName:
|
|
2749
|
-
columns: [
|
|
2834
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2835
|
+
columns: ['deal_id'];
|
|
2750
2836
|
isOneToOne: false;
|
|
2751
|
-
referencedRelation:
|
|
2752
|
-
referencedColumns: [
|
|
2837
|
+
referencedRelation: 'acq_deals';
|
|
2838
|
+
referencedColumns: ['id'];
|
|
2753
2839
|
},
|
|
2754
2840
|
{
|
|
2755
|
-
foreignKeyName:
|
|
2756
|
-
columns: [
|
|
2841
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2842
|
+
columns: ['organization_id'];
|
|
2757
2843
|
isOneToOne: false;
|
|
2758
|
-
referencedRelation:
|
|
2759
|
-
referencedColumns: [
|
|
2844
|
+
referencedRelation: 'organizations';
|
|
2845
|
+
referencedColumns: ['id'];
|
|
2760
2846
|
}
|
|
2761
2847
|
];
|
|
2762
2848
|
};
|
|
@@ -2820,53 +2906,53 @@ type Database = {
|
|
|
2820
2906
|
};
|
|
2821
2907
|
Relationships: [
|
|
2822
2908
|
{
|
|
2823
|
-
foreignKeyName:
|
|
2824
|
-
columns: [
|
|
2909
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2910
|
+
columns: ['milestone_id'];
|
|
2825
2911
|
isOneToOne: false;
|
|
2826
|
-
referencedRelation:
|
|
2827
|
-
referencedColumns: [
|
|
2912
|
+
referencedRelation: 'prj_milestones';
|
|
2913
|
+
referencedColumns: ['id'];
|
|
2828
2914
|
},
|
|
2829
2915
|
{
|
|
2830
|
-
foreignKeyName:
|
|
2831
|
-
columns: [
|
|
2916
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2917
|
+
columns: ['parent_task_id'];
|
|
2832
2918
|
isOneToOne: false;
|
|
2833
|
-
referencedRelation:
|
|
2834
|
-
referencedColumns: [
|
|
2919
|
+
referencedRelation: 'prj_tasks';
|
|
2920
|
+
referencedColumns: ['id'];
|
|
2835
2921
|
},
|
|
2836
2922
|
{
|
|
2837
|
-
foreignKeyName:
|
|
2838
|
-
columns: [
|
|
2923
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2924
|
+
columns: ['project_id'];
|
|
2839
2925
|
isOneToOne: false;
|
|
2840
|
-
referencedRelation:
|
|
2841
|
-
referencedColumns: [
|
|
2926
|
+
referencedRelation: 'prj_projects';
|
|
2927
|
+
referencedColumns: ['id'];
|
|
2842
2928
|
},
|
|
2843
2929
|
{
|
|
2844
|
-
foreignKeyName:
|
|
2845
|
-
columns: [
|
|
2930
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2931
|
+
columns: ['milestone_id'];
|
|
2846
2932
|
isOneToOne: false;
|
|
2847
|
-
referencedRelation:
|
|
2848
|
-
referencedColumns: [
|
|
2933
|
+
referencedRelation: 'prj_milestones';
|
|
2934
|
+
referencedColumns: ['id'];
|
|
2849
2935
|
},
|
|
2850
2936
|
{
|
|
2851
|
-
foreignKeyName:
|
|
2852
|
-
columns: [
|
|
2937
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2938
|
+
columns: ['organization_id'];
|
|
2853
2939
|
isOneToOne: false;
|
|
2854
|
-
referencedRelation:
|
|
2855
|
-
referencedColumns: [
|
|
2940
|
+
referencedRelation: 'organizations';
|
|
2941
|
+
referencedColumns: ['id'];
|
|
2856
2942
|
},
|
|
2857
2943
|
{
|
|
2858
|
-
foreignKeyName:
|
|
2859
|
-
columns: [
|
|
2944
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
2945
|
+
columns: ['parent_task_id'];
|
|
2860
2946
|
isOneToOne: false;
|
|
2861
|
-
referencedRelation:
|
|
2862
|
-
referencedColumns: [
|
|
2947
|
+
referencedRelation: 'prj_tasks';
|
|
2948
|
+
referencedColumns: ['id'];
|
|
2863
2949
|
},
|
|
2864
2950
|
{
|
|
2865
|
-
foreignKeyName:
|
|
2866
|
-
columns: [
|
|
2951
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2952
|
+
columns: ['project_id'];
|
|
2867
2953
|
isOneToOne: false;
|
|
2868
|
-
referencedRelation:
|
|
2869
|
-
referencedColumns: [
|
|
2954
|
+
referencedRelation: 'prj_projects';
|
|
2955
|
+
referencedColumns: ['id'];
|
|
2870
2956
|
}
|
|
2871
2957
|
];
|
|
2872
2958
|
};
|
|
@@ -2936,25 +3022,25 @@ type Database = {
|
|
|
2936
3022
|
};
|
|
2937
3023
|
Relationships: [
|
|
2938
3024
|
{
|
|
2939
|
-
foreignKeyName:
|
|
2940
|
-
columns: [
|
|
3025
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
3026
|
+
columns: ['organization_id'];
|
|
2941
3027
|
isOneToOne: false;
|
|
2942
|
-
referencedRelation:
|
|
2943
|
-
referencedColumns: [
|
|
3028
|
+
referencedRelation: 'organizations';
|
|
3029
|
+
referencedColumns: ['id'];
|
|
2944
3030
|
},
|
|
2945
3031
|
{
|
|
2946
|
-
foreignKeyName:
|
|
2947
|
-
columns: [
|
|
3032
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
3033
|
+
columns: ['project_id'];
|
|
2948
3034
|
isOneToOne: false;
|
|
2949
|
-
referencedRelation:
|
|
2950
|
-
referencedColumns: [
|
|
3035
|
+
referencedRelation: 'prj_projects';
|
|
3036
|
+
referencedColumns: ['id'];
|
|
2951
3037
|
},
|
|
2952
3038
|
{
|
|
2953
|
-
foreignKeyName:
|
|
2954
|
-
columns: [
|
|
3039
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
3040
|
+
columns: ['task_id'];
|
|
2955
3041
|
isOneToOne: false;
|
|
2956
|
-
referencedRelation:
|
|
2957
|
-
referencedColumns: [
|
|
3042
|
+
referencedRelation: 'prj_tasks';
|
|
3043
|
+
referencedColumns: ['id'];
|
|
2958
3044
|
}
|
|
2959
3045
|
];
|
|
2960
3046
|
};
|
|
@@ -2994,11 +3080,11 @@ type Database = {
|
|
|
2994
3080
|
};
|
|
2995
3081
|
Relationships: [
|
|
2996
3082
|
{
|
|
2997
|
-
foreignKeyName:
|
|
2998
|
-
columns: [
|
|
3083
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
3084
|
+
columns: ['session_id'];
|
|
2999
3085
|
isOneToOne: false;
|
|
3000
|
-
referencedRelation:
|
|
3001
|
-
referencedColumns: [
|
|
3086
|
+
referencedRelation: 'sessions';
|
|
3087
|
+
referencedColumns: ['session_id'];
|
|
3002
3088
|
}
|
|
3003
3089
|
];
|
|
3004
3090
|
};
|
|
@@ -3053,18 +3139,18 @@ type Database = {
|
|
|
3053
3139
|
};
|
|
3054
3140
|
Relationships: [
|
|
3055
3141
|
{
|
|
3056
|
-
foreignKeyName:
|
|
3057
|
-
columns: [
|
|
3142
|
+
foreignKeyName: 'fk_organization';
|
|
3143
|
+
columns: ['organization_id'];
|
|
3058
3144
|
isOneToOne: false;
|
|
3059
|
-
referencedRelation:
|
|
3060
|
-
referencedColumns: [
|
|
3145
|
+
referencedRelation: 'organizations';
|
|
3146
|
+
referencedColumns: ['id'];
|
|
3061
3147
|
},
|
|
3062
3148
|
{
|
|
3063
|
-
foreignKeyName:
|
|
3064
|
-
columns: [
|
|
3149
|
+
foreignKeyName: 'fk_user';
|
|
3150
|
+
columns: ['user_id'];
|
|
3065
3151
|
isOneToOne: false;
|
|
3066
|
-
referencedRelation:
|
|
3067
|
-
referencedColumns: [
|
|
3152
|
+
referencedRelation: 'users';
|
|
3153
|
+
referencedColumns: ['id'];
|
|
3068
3154
|
}
|
|
3069
3155
|
];
|
|
3070
3156
|
};
|
|
@@ -3140,11 +3226,11 @@ type Database = {
|
|
|
3140
3226
|
};
|
|
3141
3227
|
Relationships: [
|
|
3142
3228
|
{
|
|
3143
|
-
foreignKeyName:
|
|
3144
|
-
columns: [
|
|
3229
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
3230
|
+
columns: ['organization_id'];
|
|
3145
3231
|
isOneToOne: false;
|
|
3146
|
-
referencedRelation:
|
|
3147
|
-
referencedColumns: [
|
|
3232
|
+
referencedRelation: 'organizations';
|
|
3233
|
+
referencedColumns: ['id'];
|
|
3148
3234
|
}
|
|
3149
3235
|
];
|
|
3150
3236
|
};
|
|
@@ -3199,11 +3285,11 @@ type Database = {
|
|
|
3199
3285
|
};
|
|
3200
3286
|
Relationships: [
|
|
3201
3287
|
{
|
|
3202
|
-
foreignKeyName:
|
|
3203
|
-
columns: [
|
|
3288
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
3289
|
+
columns: ['last_visited_org'];
|
|
3204
3290
|
isOneToOne: false;
|
|
3205
|
-
referencedRelation:
|
|
3206
|
-
referencedColumns: [
|
|
3291
|
+
referencedRelation: 'organizations';
|
|
3292
|
+
referencedColumns: ['id'];
|
|
3207
3293
|
}
|
|
3208
3294
|
];
|
|
3209
3295
|
};
|
|
@@ -3252,11 +3338,11 @@ type Database = {
|
|
|
3252
3338
|
};
|
|
3253
3339
|
Relationships: [
|
|
3254
3340
|
{
|
|
3255
|
-
foreignKeyName:
|
|
3256
|
-
columns: [
|
|
3341
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
3342
|
+
columns: ['organization_id'];
|
|
3257
3343
|
isOneToOne: false;
|
|
3258
|
-
referencedRelation:
|
|
3259
|
-
referencedColumns: [
|
|
3344
|
+
referencedRelation: 'organizations';
|
|
3345
|
+
referencedColumns: ['id'];
|
|
3260
3346
|
}
|
|
3261
3347
|
];
|
|
3262
3348
|
};
|
|
@@ -3404,17 +3490,17 @@ type Database = {
|
|
|
3404
3490
|
};
|
|
3405
3491
|
};
|
|
3406
3492
|
};
|
|
3407
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
3408
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
3409
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3493
|
+
type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
|
|
3494
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
|
|
3495
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
|
|
3410
3496
|
schema: keyof DatabaseWithoutInternals;
|
|
3411
3497
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3412
3498
|
schema: keyof DatabaseWithoutInternals;
|
|
3413
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3499
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3414
3500
|
schema: keyof DatabaseWithoutInternals;
|
|
3415
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3501
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
|
|
3416
3502
|
Row: infer R;
|
|
3417
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3503
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
|
|
3418
3504
|
Row: infer R;
|
|
3419
3505
|
} ? R : never : never;
|
|
3420
3506
|
|