@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.
Files changed (57) hide show
  1. package/dist/app/index.d.ts +2915 -0
  2. package/dist/app/index.js +5 -4
  3. package/dist/{chunk-7PGEGSUM.js → chunk-7D2HSSIW.js} +2 -2
  4. package/dist/{chunk-YU6MBDVO.js → chunk-ABV5LDDC.js} +4 -68
  5. package/dist/chunk-AZXSFDG2.js +474 -0
  6. package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
  7. package/dist/{chunk-PXGSJNBH.js → chunk-HVC2BTFO.js} +783 -374
  8. package/dist/{chunk-3HEUGBOT.js → chunk-LK4MPIMK.js} +2 -2
  9. package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
  10. package/dist/{chunk-GUJUK6EH.js → chunk-QJLRDTYS.js} +198 -2
  11. package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
  12. package/dist/{chunk-FXWETLEB.js → chunk-V3UOW2HG.js} +1 -1
  13. package/dist/{chunk-N6WLOWOD.js → chunk-WSC5LU3U.js} +3 -12
  14. package/dist/{chunk-EPV7NU2E.js → chunk-WWVSPOJY.js} +385 -188
  15. package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
  16. package/dist/{chunk-PTUOINQ2.js → chunk-ZGZZIR6K.js} +3 -3
  17. package/dist/{chunk-D3KQAABP.js → chunk-ZMXZ476Y.js} +1 -1
  18. package/dist/components/index.d.ts +488 -452
  19. package/dist/components/index.js +127 -22
  20. package/dist/components/navigation/index.js +2 -2
  21. package/dist/features/auth/index.d.ts +463 -377
  22. package/dist/features/crm/index.d.ts +459 -379
  23. package/dist/features/crm/index.js +8 -8
  24. package/dist/features/dashboard/index.js +8 -8
  25. package/dist/features/delivery/index.d.ts +457 -371
  26. package/dist/features/delivery/index.js +8 -8
  27. package/dist/features/lead-gen/index.d.ts +225 -65
  28. package/dist/features/lead-gen/index.js +8 -8
  29. package/dist/features/monitoring/index.js +9 -9
  30. package/dist/features/monitoring/requests/index.js +7 -7
  31. package/dist/features/operations/index.js +10 -10
  32. package/dist/features/settings/index.d.ts +463 -377
  33. package/dist/features/settings/index.js +9 -9
  34. package/dist/hooks/delivery/index.d.ts +457 -371
  35. package/dist/hooks/index.d.ts +957 -718
  36. package/dist/hooks/index.js +7 -7
  37. package/dist/hooks/published.d.ts +957 -718
  38. package/dist/hooks/published.js +7 -7
  39. package/dist/index.d.ts +1327 -1020
  40. package/dist/index.js +8 -8
  41. package/dist/initialization/index.d.ts +463 -377
  42. package/dist/organization/index.d.ts +11 -1
  43. package/dist/organization/index.js +2 -2
  44. package/dist/profile/index.d.ts +463 -377
  45. package/dist/provider/index.d.ts +3132 -169
  46. package/dist/provider/index.js +6 -6
  47. package/dist/provider/published.d.ts +3098 -168
  48. package/dist/provider/published.js +3 -3
  49. package/dist/supabase/index.d.ts +559 -389
  50. package/dist/test-utils/index.d.ts +21 -1
  51. package/dist/test-utils/index.js +13 -4
  52. package/dist/theme/index.js +2 -2
  53. package/dist/types/index.d.ts +463 -377
  54. package/package.json +2 -2
  55. package/src/test-utils/README.md +2 -0
  56. package/dist/chunk-LVUCBY7X.js +0 -127
  57. /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
@@ -595,10 +595,57 @@ type Json = string | number | boolean | null | {
595
595
  } | Json[];
596
596
  type Database = {
597
597
  __InternalSupabase: {
598
- PostgrestVersion: "12.2.3 (519615d)";
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: "acq_companies_organization_id_fkey";
675
- columns: ["organization_id"];
730
+ foreignKeyName: 'acq_companies_organization_id_fkey';
731
+ columns: ['organization_id'];
676
732
  isOneToOne: false;
677
- referencedRelation: "organizations";
678
- referencedColumns: ["id"];
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: "acq_contacts_company_id_fkey";
761
- columns: ["company_id"];
825
+ foreignKeyName: 'acq_contacts_company_id_fkey';
826
+ columns: ['company_id'];
762
827
  isOneToOne: false;
763
- referencedRelation: "acq_companies";
764
- referencedColumns: ["id"];
828
+ referencedRelation: 'acq_companies';
829
+ referencedColumns: ['id'];
765
830
  },
766
831
  {
767
- foreignKeyName: "acq_contacts_organization_id_fkey";
768
- columns: ["organization_id"];
832
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
833
+ columns: ['organization_id'];
769
834
  isOneToOne: false;
770
- referencedRelation: "organizations";
771
- referencedColumns: ["id"];
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: "acq_content_organization_id_fkey";
809
- columns: ["organization_id"];
873
+ foreignKeyName: 'acq_content_organization_id_fkey';
874
+ columns: ['organization_id'];
810
875
  isOneToOne: false;
811
- referencedRelation: "organizations";
812
- referencedColumns: ["id"];
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: "acq_content_distributions_content_id_fkey";
877
- columns: ["content_id"];
941
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
942
+ columns: ['content_id'];
878
943
  isOneToOne: false;
879
- referencedRelation: "acq_content";
880
- referencedColumns: ["id"];
944
+ referencedRelation: 'acq_content';
945
+ referencedColumns: ['id'];
881
946
  },
882
947
  {
883
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
884
- columns: ["organization_id"];
948
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
949
+ columns: ['organization_id'];
885
950
  isOneToOne: false;
886
- referencedRelation: "organizations";
887
- referencedColumns: ["id"];
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: "acq_deal_notes_deal_id_fkey";
922
- columns: ["deal_id"];
986
+ foreignKeyName: 'acq_deal_notes_deal_id_fkey';
987
+ columns: ['deal_id'];
923
988
  isOneToOne: false;
924
- referencedRelation: "acq_deals";
925
- referencedColumns: ["id"];
989
+ referencedRelation: 'acq_deals';
990
+ referencedColumns: ['id'];
926
991
  },
927
992
  {
928
- foreignKeyName: "acq_deal_notes_organization_id_fkey";
929
- columns: ["organization_id"];
993
+ foreignKeyName: 'acq_deal_notes_organization_id_fkey';
994
+ columns: ['organization_id'];
930
995
  isOneToOne: false;
931
- referencedRelation: "organizations";
932
- referencedColumns: ["id"];
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: "acq_deal_tasks_deal_id_fkey";
985
- columns: ["deal_id"];
1049
+ foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
1050
+ columns: ['deal_id'];
986
1051
  isOneToOne: false;
987
- referencedRelation: "acq_deals";
988
- referencedColumns: ["id"];
1052
+ referencedRelation: 'acq_deals';
1053
+ referencedColumns: ['id'];
989
1054
  },
990
1055
  {
991
- foreignKeyName: "acq_deal_tasks_organization_id_fkey";
992
- columns: ["organization_id"];
1056
+ foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
1057
+ columns: ['organization_id'];
993
1058
  isOneToOne: false;
994
- referencedRelation: "organizations";
995
- referencedColumns: ["id"];
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: "acq_deals_contact_id_fkey";
1108
- columns: ["contact_id"];
1172
+ foreignKeyName: 'acq_deals_contact_id_fkey';
1173
+ columns: ['contact_id'];
1109
1174
  isOneToOne: false;
1110
- referencedRelation: "acq_contacts";
1111
- referencedColumns: ["id"];
1175
+ referencedRelation: 'acq_contacts';
1176
+ referencedColumns: ['id'];
1112
1177
  },
1113
1178
  {
1114
- foreignKeyName: "acq_deals_organization_id_fkey";
1115
- columns: ["organization_id"];
1179
+ foreignKeyName: 'acq_deals_organization_id_fkey';
1180
+ columns: ['organization_id'];
1116
1181
  isOneToOne: false;
1117
- referencedRelation: "organizations";
1118
- referencedColumns: ["id"];
1182
+ referencedRelation: 'organizations';
1183
+ referencedColumns: ['id'];
1119
1184
  },
1120
1185
  {
1121
- foreignKeyName: "acq_deals_source_list_id_fkey";
1122
- columns: ["source_list_id"];
1186
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
1187
+ columns: ['source_list_id'];
1123
1188
  isOneToOne: false;
1124
- referencedRelation: "acq_lists";
1125
- referencedColumns: ["id"];
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
- stage: string | null;
1140
- stage_updated_at: string | null;
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
- stage?: string | null;
1152
- stage_updated_at?: string | null;
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
- stage?: string | null;
1164
- stage_updated_at?: string | null;
1237
+ stage_key?: string;
1238
+ state_key?: string;
1165
1239
  };
1166
1240
  Relationships: [
1167
1241
  {
1168
- foreignKeyName: "acq_list_companies_company_id_fkey";
1169
- columns: ["company_id"];
1242
+ foreignKeyName: 'acq_list_companies_company_id_fkey';
1243
+ columns: ['company_id'];
1170
1244
  isOneToOne: false;
1171
- referencedRelation: "acq_companies";
1172
- referencedColumns: ["id"];
1245
+ referencedRelation: 'acq_companies';
1246
+ referencedColumns: ['id'];
1173
1247
  },
1174
1248
  {
1175
- foreignKeyName: "acq_list_companies_list_id_fkey";
1176
- columns: ["list_id"];
1249
+ foreignKeyName: 'acq_list_companies_list_id_fkey';
1250
+ columns: ['list_id'];
1177
1251
  isOneToOne: false;
1178
- referencedRelation: "acq_lists";
1179
- referencedColumns: ["id"];
1252
+ referencedRelation: 'acq_lists';
1253
+ referencedColumns: ['id'];
1180
1254
  },
1181
1255
  {
1182
- foreignKeyName: "acq_list_companies_source_execution_id_fkey";
1183
- columns: ["source_execution_id"];
1256
+ foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
1257
+ columns: ['source_execution_id'];
1184
1258
  isOneToOne: false;
1185
- referencedRelation: "execution_logs";
1186
- referencedColumns: ["execution_id"];
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: "acq_list_executions_execution_id_fkey";
1215
- columns: ["execution_id"];
1288
+ foreignKeyName: 'acq_list_executions_execution_id_fkey';
1289
+ columns: ['execution_id'];
1216
1290
  isOneToOne: false;
1217
- referencedRelation: "execution_logs";
1218
- referencedColumns: ["execution_id"];
1291
+ referencedRelation: 'execution_logs';
1292
+ referencedColumns: ['execution_id'];
1219
1293
  },
1220
1294
  {
1221
- foreignKeyName: "acq_list_executions_list_id_fkey";
1222
- columns: ["list_id"];
1295
+ foreignKeyName: 'acq_list_executions_list_id_fkey';
1296
+ columns: ['list_id'];
1223
1297
  isOneToOne: false;
1224
- referencedRelation: "acq_lists";
1225
- referencedColumns: ["id"];
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
- stage: string | null;
1240
- stage_updated_at: string | null;
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
- stage?: string | null;
1252
- stage_updated_at?: string | null;
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
- stage?: string | null;
1264
- stage_updated_at?: string | null;
1346
+ stage_key?: string;
1347
+ state_key?: string;
1265
1348
  };
1266
1349
  Relationships: [
1267
1350
  {
1268
- foreignKeyName: "acq_list_members_contact_id_fkey";
1269
- columns: ["contact_id"];
1351
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
1352
+ columns: ['contact_id'];
1270
1353
  isOneToOne: false;
1271
- referencedRelation: "acq_contacts";
1272
- referencedColumns: ["id"];
1354
+ referencedRelation: 'acq_contacts';
1355
+ referencedColumns: ['id'];
1273
1356
  },
1274
1357
  {
1275
- foreignKeyName: "acq_list_members_list_id_fkey";
1276
- columns: ["list_id"];
1358
+ foreignKeyName: 'acq_list_members_list_id_fkey';
1359
+ columns: ['list_id'];
1277
1360
  isOneToOne: false;
1278
- referencedRelation: "acq_lists";
1279
- referencedColumns: ["id"];
1361
+ referencedRelation: 'acq_lists';
1362
+ referencedColumns: ['id'];
1280
1363
  },
1281
1364
  {
1282
- foreignKeyName: "acq_list_members_source_execution_id_fkey";
1283
- columns: ["source_execution_id"];
1365
+ foreignKeyName: 'acq_list_members_source_execution_id_fkey';
1366
+ columns: ['source_execution_id'];
1284
1367
  isOneToOne: false;
1285
- referencedRelation: "execution_logs";
1286
- referencedColumns: ["execution_id"];
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: "acq_lists_organization_id_fkey";
1339
- columns: ["organization_id"];
1424
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1425
+ columns: ['organization_id'];
1340
1426
  isOneToOne: false;
1341
- referencedRelation: "organizations";
1342
- referencedColumns: ["id"];
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: "acq_seo_metrics_organization_id_fkey";
1419
- columns: ["organization_id"];
1504
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
1505
+ columns: ['organization_id'];
1420
1506
  isOneToOne: false;
1421
- referencedRelation: "organizations";
1422
- referencedColumns: ["id"];
1507
+ referencedRelation: 'organizations';
1508
+ referencedColumns: ['id'];
1423
1509
  },
1424
1510
  {
1425
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
1426
- columns: ["seo_page_id"];
1511
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1512
+ columns: ['seo_page_id'];
1427
1513
  isOneToOne: false;
1428
- referencedRelation: "acq_seo_pages";
1429
- referencedColumns: ["id"];
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: "acq_seo_pages_organization_id_fkey";
1506
- columns: ["organization_id"];
1591
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1592
+ columns: ['organization_id'];
1507
1593
  isOneToOne: false;
1508
- referencedRelation: "organizations";
1509
- referencedColumns: ["id"];
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: "acq_social_posts_organization_id_fkey";
1607
- columns: ["organization_id"];
1692
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1693
+ columns: ['organization_id'];
1608
1694
  isOneToOne: false;
1609
- referencedRelation: "organizations";
1610
- referencedColumns: ["id"];
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: "activities_organization_id_fkey";
1666
- columns: ["organization_id"];
1751
+ foreignKeyName: 'activities_organization_id_fkey';
1752
+ columns: ['organization_id'];
1667
1753
  isOneToOne: false;
1668
- referencedRelation: "organizations";
1669
- referencedColumns: ["id"];
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: "api_keys_organization_id_fkey";
1701
- columns: ["organization_id"];
1786
+ foreignKeyName: 'api_keys_organization_id_fkey';
1787
+ columns: ['organization_id'];
1702
1788
  isOneToOne: false;
1703
- referencedRelation: "organizations";
1704
- referencedColumns: ["id"];
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: "command_queue_completed_by_fkey";
1784
- columns: ["completed_by"];
1869
+ foreignKeyName: 'command_queue_completed_by_fkey';
1870
+ columns: ['completed_by'];
1785
1871
  isOneToOne: false;
1786
- referencedRelation: "users";
1787
- referencedColumns: ["id"];
1872
+ referencedRelation: 'users';
1873
+ referencedColumns: ['id'];
1788
1874
  },
1789
1875
  {
1790
- foreignKeyName: "command_queue_organization_id_fkey";
1791
- columns: ["organization_id"];
1876
+ foreignKeyName: 'command_queue_organization_id_fkey';
1877
+ columns: ['organization_id'];
1792
1878
  isOneToOne: false;
1793
- referencedRelation: "organizations";
1794
- referencedColumns: ["id"];
1879
+ referencedRelation: 'organizations';
1880
+ referencedColumns: ['id'];
1795
1881
  },
1796
1882
  {
1797
- foreignKeyName: "command_queue_target_execution_id_fkey";
1798
- columns: ["target_execution_id"];
1883
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1884
+ columns: ['target_execution_id'];
1799
1885
  isOneToOne: false;
1800
- referencedRelation: "execution_logs";
1801
- referencedColumns: ["execution_id"];
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: "credentials_created_by_fkey";
1842
- columns: ["created_by"];
1927
+ foreignKeyName: 'credentials_created_by_fkey';
1928
+ columns: ['created_by'];
1843
1929
  isOneToOne: false;
1844
- referencedRelation: "users";
1845
- referencedColumns: ["id"];
1930
+ referencedRelation: 'users';
1931
+ referencedColumns: ['id'];
1846
1932
  },
1847
1933
  {
1848
- foreignKeyName: "credentials_organization_id_fkey";
1849
- columns: ["organization_id"];
1934
+ foreignKeyName: 'credentials_organization_id_fkey';
1935
+ columns: ['organization_id'];
1850
1936
  isOneToOne: false;
1851
- referencedRelation: "organizations";
1852
- referencedColumns: ["id"];
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: "deployments_organization_id_fkey";
1899
- columns: ["organization_id"];
1984
+ foreignKeyName: 'deployments_organization_id_fkey';
1985
+ columns: ['organization_id'];
1900
1986
  isOneToOne: false;
1901
- referencedRelation: "organizations";
1902
- referencedColumns: ["id"];
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: "execution_errors_execution_id_fkey";
1958
- columns: ["execution_id"];
2043
+ foreignKeyName: 'execution_errors_execution_id_fkey';
2044
+ columns: ['execution_id'];
1959
2045
  isOneToOne: false;
1960
- referencedRelation: "execution_logs";
1961
- referencedColumns: ["execution_id"];
2046
+ referencedRelation: 'execution_logs';
2047
+ referencedColumns: ['execution_id'];
1962
2048
  },
1963
2049
  {
1964
- foreignKeyName: "execution_errors_organization_id_fkey";
1965
- columns: ["organization_id"];
2050
+ foreignKeyName: 'execution_errors_organization_id_fkey';
2051
+ columns: ['organization_id'];
1966
2052
  isOneToOne: false;
1967
- referencedRelation: "organizations";
1968
- referencedColumns: ["id"];
2053
+ referencedRelation: 'organizations';
2054
+ referencedColumns: ['id'];
1969
2055
  },
1970
2056
  {
1971
- foreignKeyName: "execution_errors_resolved_by_fkey";
1972
- columns: ["resolved_by"];
2057
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
2058
+ columns: ['resolved_by'];
1973
2059
  isOneToOne: false;
1974
- referencedRelation: "users";
1975
- referencedColumns: ["id"];
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: "execution_history_organization_id_fkey";
2058
- columns: ["organization_id"];
2143
+ foreignKeyName: 'execution_history_organization_id_fkey';
2144
+ columns: ['organization_id'];
2059
2145
  isOneToOne: false;
2060
- referencedRelation: "organizations";
2061
- referencedColumns: ["id"];
2146
+ referencedRelation: 'organizations';
2147
+ referencedColumns: ['id'];
2062
2148
  },
2063
2149
  {
2064
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2065
- columns: ["origin_execution_id"];
2150
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2151
+ columns: ['origin_execution_id'];
2066
2152
  isOneToOne: false;
2067
- referencedRelation: "execution_logs";
2068
- referencedColumns: ["execution_id"];
2153
+ referencedRelation: 'execution_logs';
2154
+ referencedColumns: ['execution_id'];
2069
2155
  },
2070
2156
  {
2071
- foreignKeyName: "execution_logs_session_id_fkey";
2072
- columns: ["session_id"];
2157
+ foreignKeyName: 'execution_logs_session_id_fkey';
2158
+ columns: ['session_id'];
2073
2159
  isOneToOne: false;
2074
- referencedRelation: "sessions";
2075
- referencedColumns: ["session_id"];
2160
+ referencedRelation: 'sessions';
2161
+ referencedColumns: ['session_id'];
2076
2162
  },
2077
2163
  {
2078
- foreignKeyName: "execution_logs_user_id_fkey";
2079
- columns: ["user_id"];
2164
+ foreignKeyName: 'execution_logs_user_id_fkey';
2165
+ columns: ['user_id'];
2080
2166
  isOneToOne: false;
2081
- referencedRelation: "users";
2082
- referencedColumns: ["id"];
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: "execution_metrics_execution_id_fkey";
2129
- columns: ["execution_id"];
2214
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2215
+ columns: ['execution_id'];
2130
2216
  isOneToOne: true;
2131
- referencedRelation: "execution_logs";
2132
- referencedColumns: ["execution_id"];
2217
+ referencedRelation: 'execution_logs';
2218
+ referencedColumns: ['execution_id'];
2133
2219
  },
2134
2220
  {
2135
- foreignKeyName: "execution_metrics_organization_id_fkey";
2136
- columns: ["organization_id"];
2221
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2222
+ columns: ['organization_id'];
2137
2223
  isOneToOne: false;
2138
- referencedRelation: "organizations";
2139
- referencedColumns: ["id"];
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: "notifications_organization_id_fkey";
2183
- columns: ["organization_id"];
2268
+ foreignKeyName: 'notifications_organization_id_fkey';
2269
+ columns: ['organization_id'];
2184
2270
  isOneToOne: false;
2185
- referencedRelation: "organizations";
2186
- referencedColumns: ["id"];
2271
+ referencedRelation: 'organizations';
2272
+ referencedColumns: ['id'];
2187
2273
  },
2188
2274
  {
2189
- foreignKeyName: "notifications_user_id_fkey";
2190
- columns: ["user_id"];
2275
+ foreignKeyName: 'notifications_user_id_fkey';
2276
+ columns: ['user_id'];
2191
2277
  isOneToOne: false;
2192
- referencedRelation: "users";
2193
- referencedColumns: ["id"];
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: "org_invitations_inviter_user_id_fkey";
2249
- columns: ["inviter_user_id"];
2334
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2335
+ columns: ['inviter_user_id'];
2250
2336
  isOneToOne: false;
2251
- referencedRelation: "users";
2252
- referencedColumns: ["id"];
2337
+ referencedRelation: 'users';
2338
+ referencedColumns: ['id'];
2253
2339
  },
2254
2340
  {
2255
- foreignKeyName: "org_invitations_organization_id_fkey";
2256
- columns: ["organization_id"];
2341
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2342
+ columns: ['organization_id'];
2257
2343
  isOneToOne: false;
2258
- referencedRelation: "organizations";
2259
- referencedColumns: ["id"];
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: "org_memberships_organization_id_fkey";
2303
- columns: ["organization_id"];
2388
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2389
+ columns: ['organization_id'];
2304
2390
  isOneToOne: false;
2305
- referencedRelation: "organizations";
2306
- referencedColumns: ["id"];
2391
+ referencedRelation: 'organizations';
2392
+ referencedColumns: ['id'];
2307
2393
  },
2308
2394
  {
2309
- foreignKeyName: "org_memberships_user_id_fkey";
2310
- columns: ["user_id"];
2395
+ foreignKeyName: 'org_memberships_user_id_fkey';
2396
+ columns: ['user_id'];
2311
2397
  isOneToOne: false;
2312
- referencedRelation: "users";
2313
- referencedColumns: ["id"];
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: "org_rol_assignments_granted_by_fkey";
2339
- columns: ["granted_by"];
2424
+ foreignKeyName: 'org_rol_assignments_granted_by_fkey';
2425
+ columns: ['granted_by'];
2340
2426
  isOneToOne: false;
2341
- referencedRelation: "users";
2342
- referencedColumns: ["id"];
2427
+ referencedRelation: 'users';
2428
+ referencedColumns: ['id'];
2343
2429
  },
2344
2430
  {
2345
- foreignKeyName: "org_rol_assignments_membership_id_fkey";
2346
- columns: ["membership_id"];
2431
+ foreignKeyName: 'org_rol_assignments_membership_id_fkey';
2432
+ columns: ['membership_id'];
2347
2433
  isOneToOne: false;
2348
- referencedRelation: "org_memberships";
2349
- referencedColumns: ["id"];
2434
+ referencedRelation: 'org_memberships';
2435
+ referencedColumns: ['id'];
2350
2436
  },
2351
2437
  {
2352
- foreignKeyName: "org_rol_assignments_role_id_fkey";
2353
- columns: ["role_id"];
2438
+ foreignKeyName: 'org_rol_assignments_role_id_fkey';
2439
+ columns: ['role_id'];
2354
2440
  isOneToOne: false;
2355
- referencedRelation: "org_rol_definitions";
2356
- referencedColumns: ["id"];
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: "org_rol_definitions_organization_id_fkey";
2394
- columns: ["organization_id"];
2479
+ foreignKeyName: 'org_rol_definitions_organization_id_fkey';
2480
+ columns: ['organization_id'];
2395
2481
  isOneToOne: false;
2396
- referencedRelation: "organizations";
2397
- referencedColumns: ["id"];
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: "org_rol_grants_permission_key_fkey";
2420
- columns: ["permission_key"];
2505
+ foreignKeyName: 'org_rol_grants_permission_key_fkey';
2506
+ columns: ['permission_key'];
2421
2507
  isOneToOne: false;
2422
- referencedRelation: "org_rol_permissions";
2423
- referencedColumns: ["key"];
2508
+ referencedRelation: 'org_rol_permissions';
2509
+ referencedColumns: ['key'];
2424
2510
  },
2425
2511
  {
2426
- foreignKeyName: "org_rol_grants_role_id_fkey";
2427
- columns: ["role_id"];
2512
+ foreignKeyName: 'org_rol_grants_role_id_fkey';
2513
+ columns: ['role_id'];
2428
2514
  isOneToOne: false;
2429
- referencedRelation: "org_rol_definitions";
2430
- referencedColumns: ["id"];
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: "fk_milestones_project";
2543
- columns: ["project_id"];
2628
+ foreignKeyName: 'fk_milestones_project';
2629
+ columns: ['project_id'];
2544
2630
  isOneToOne: false;
2545
- referencedRelation: "prj_projects";
2546
- referencedColumns: ["id"];
2631
+ referencedRelation: 'prj_projects';
2632
+ referencedColumns: ['id'];
2547
2633
  },
2548
2634
  {
2549
- foreignKeyName: "prj_milestones_organization_id_fkey";
2550
- columns: ["organization_id"];
2635
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
2636
+ columns: ['organization_id'];
2551
2637
  isOneToOne: false;
2552
- referencedRelation: "organizations";
2553
- referencedColumns: ["id"];
2638
+ referencedRelation: 'organizations';
2639
+ referencedColumns: ['id'];
2554
2640
  },
2555
2641
  {
2556
- foreignKeyName: "prj_milestones_project_id_fkey";
2557
- columns: ["project_id"];
2642
+ foreignKeyName: 'prj_milestones_project_id_fkey';
2643
+ columns: ['project_id'];
2558
2644
  isOneToOne: false;
2559
- referencedRelation: "prj_projects";
2560
- referencedColumns: ["id"];
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: "fk_notes_created_by";
2610
- columns: ["created_by"];
2695
+ foreignKeyName: 'fk_notes_created_by';
2696
+ columns: ['created_by'];
2611
2697
  isOneToOne: false;
2612
- referencedRelation: "users";
2613
- referencedColumns: ["id"];
2698
+ referencedRelation: 'users';
2699
+ referencedColumns: ['id'];
2614
2700
  },
2615
2701
  {
2616
- foreignKeyName: "fk_notes_milestone";
2617
- columns: ["milestone_id"];
2702
+ foreignKeyName: 'fk_notes_milestone';
2703
+ columns: ['milestone_id'];
2618
2704
  isOneToOne: false;
2619
- referencedRelation: "prj_milestones";
2620
- referencedColumns: ["id"];
2705
+ referencedRelation: 'prj_milestones';
2706
+ referencedColumns: ['id'];
2621
2707
  },
2622
2708
  {
2623
- foreignKeyName: "fk_notes_project";
2624
- columns: ["project_id"];
2709
+ foreignKeyName: 'fk_notes_project';
2710
+ columns: ['project_id'];
2625
2711
  isOneToOne: false;
2626
- referencedRelation: "prj_projects";
2627
- referencedColumns: ["id"];
2712
+ referencedRelation: 'prj_projects';
2713
+ referencedColumns: ['id'];
2628
2714
  },
2629
2715
  {
2630
- foreignKeyName: "fk_notes_task";
2631
- columns: ["task_id"];
2716
+ foreignKeyName: 'fk_notes_task';
2717
+ columns: ['task_id'];
2632
2718
  isOneToOne: false;
2633
- referencedRelation: "prj_tasks";
2634
- referencedColumns: ["id"];
2719
+ referencedRelation: 'prj_tasks';
2720
+ referencedColumns: ['id'];
2635
2721
  },
2636
2722
  {
2637
- foreignKeyName: "prj_notes_created_by_fkey";
2638
- columns: ["created_by"];
2723
+ foreignKeyName: 'prj_notes_created_by_fkey';
2724
+ columns: ['created_by'];
2639
2725
  isOneToOne: false;
2640
- referencedRelation: "users";
2641
- referencedColumns: ["id"];
2726
+ referencedRelation: 'users';
2727
+ referencedColumns: ['id'];
2642
2728
  },
2643
2729
  {
2644
- foreignKeyName: "prj_notes_milestone_id_fkey";
2645
- columns: ["milestone_id"];
2730
+ foreignKeyName: 'prj_notes_milestone_id_fkey';
2731
+ columns: ['milestone_id'];
2646
2732
  isOneToOne: false;
2647
- referencedRelation: "prj_milestones";
2648
- referencedColumns: ["id"];
2733
+ referencedRelation: 'prj_milestones';
2734
+ referencedColumns: ['id'];
2649
2735
  },
2650
2736
  {
2651
- foreignKeyName: "prj_notes_organization_id_fkey";
2652
- columns: ["organization_id"];
2737
+ foreignKeyName: 'prj_notes_organization_id_fkey';
2738
+ columns: ['organization_id'];
2653
2739
  isOneToOne: false;
2654
- referencedRelation: "organizations";
2655
- referencedColumns: ["id"];
2740
+ referencedRelation: 'organizations';
2741
+ referencedColumns: ['id'];
2656
2742
  },
2657
2743
  {
2658
- foreignKeyName: "prj_notes_project_id_fkey";
2659
- columns: ["project_id"];
2744
+ foreignKeyName: 'prj_notes_project_id_fkey';
2745
+ columns: ['project_id'];
2660
2746
  isOneToOne: false;
2661
- referencedRelation: "prj_projects";
2662
- referencedColumns: ["id"];
2747
+ referencedRelation: 'prj_projects';
2748
+ referencedColumns: ['id'];
2663
2749
  },
2664
2750
  {
2665
- foreignKeyName: "prj_notes_task_id_fkey";
2666
- columns: ["task_id"];
2751
+ foreignKeyName: 'prj_notes_task_id_fkey';
2752
+ columns: ['task_id'];
2667
2753
  isOneToOne: false;
2668
- referencedRelation: "prj_tasks";
2669
- referencedColumns: ["id"];
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: "fk_projects_company";
2728
- columns: ["client_company_id"];
2813
+ foreignKeyName: 'fk_projects_company';
2814
+ columns: ['client_company_id'];
2729
2815
  isOneToOne: false;
2730
- referencedRelation: "acq_companies";
2731
- referencedColumns: ["id"];
2816
+ referencedRelation: 'acq_companies';
2817
+ referencedColumns: ['id'];
2732
2818
  },
2733
2819
  {
2734
- foreignKeyName: "fk_projects_deal";
2735
- columns: ["deal_id"];
2820
+ foreignKeyName: 'fk_projects_deal';
2821
+ columns: ['deal_id'];
2736
2822
  isOneToOne: false;
2737
- referencedRelation: "acq_deals";
2738
- referencedColumns: ["id"];
2823
+ referencedRelation: 'acq_deals';
2824
+ referencedColumns: ['id'];
2739
2825
  },
2740
2826
  {
2741
- foreignKeyName: "prj_projects_client_company_id_fkey";
2742
- columns: ["client_company_id"];
2827
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
2828
+ columns: ['client_company_id'];
2743
2829
  isOneToOne: false;
2744
- referencedRelation: "acq_companies";
2745
- referencedColumns: ["id"];
2830
+ referencedRelation: 'acq_companies';
2831
+ referencedColumns: ['id'];
2746
2832
  },
2747
2833
  {
2748
- foreignKeyName: "prj_projects_deal_id_fkey";
2749
- columns: ["deal_id"];
2834
+ foreignKeyName: 'prj_projects_deal_id_fkey';
2835
+ columns: ['deal_id'];
2750
2836
  isOneToOne: false;
2751
- referencedRelation: "acq_deals";
2752
- referencedColumns: ["id"];
2837
+ referencedRelation: 'acq_deals';
2838
+ referencedColumns: ['id'];
2753
2839
  },
2754
2840
  {
2755
- foreignKeyName: "prj_projects_organization_id_fkey";
2756
- columns: ["organization_id"];
2841
+ foreignKeyName: 'prj_projects_organization_id_fkey';
2842
+ columns: ['organization_id'];
2757
2843
  isOneToOne: false;
2758
- referencedRelation: "organizations";
2759
- referencedColumns: ["id"];
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: "fk_tasks_milestone";
2824
- columns: ["milestone_id"];
2909
+ foreignKeyName: 'fk_tasks_milestone';
2910
+ columns: ['milestone_id'];
2825
2911
  isOneToOne: false;
2826
- referencedRelation: "prj_milestones";
2827
- referencedColumns: ["id"];
2912
+ referencedRelation: 'prj_milestones';
2913
+ referencedColumns: ['id'];
2828
2914
  },
2829
2915
  {
2830
- foreignKeyName: "fk_tasks_parent";
2831
- columns: ["parent_task_id"];
2916
+ foreignKeyName: 'fk_tasks_parent';
2917
+ columns: ['parent_task_id'];
2832
2918
  isOneToOne: false;
2833
- referencedRelation: "prj_tasks";
2834
- referencedColumns: ["id"];
2919
+ referencedRelation: 'prj_tasks';
2920
+ referencedColumns: ['id'];
2835
2921
  },
2836
2922
  {
2837
- foreignKeyName: "fk_tasks_project";
2838
- columns: ["project_id"];
2923
+ foreignKeyName: 'fk_tasks_project';
2924
+ columns: ['project_id'];
2839
2925
  isOneToOne: false;
2840
- referencedRelation: "prj_projects";
2841
- referencedColumns: ["id"];
2926
+ referencedRelation: 'prj_projects';
2927
+ referencedColumns: ['id'];
2842
2928
  },
2843
2929
  {
2844
- foreignKeyName: "prj_tasks_milestone_id_fkey";
2845
- columns: ["milestone_id"];
2930
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
2931
+ columns: ['milestone_id'];
2846
2932
  isOneToOne: false;
2847
- referencedRelation: "prj_milestones";
2848
- referencedColumns: ["id"];
2933
+ referencedRelation: 'prj_milestones';
2934
+ referencedColumns: ['id'];
2849
2935
  },
2850
2936
  {
2851
- foreignKeyName: "prj_tasks_organization_id_fkey";
2852
- columns: ["organization_id"];
2937
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
2938
+ columns: ['organization_id'];
2853
2939
  isOneToOne: false;
2854
- referencedRelation: "organizations";
2855
- referencedColumns: ["id"];
2940
+ referencedRelation: 'organizations';
2941
+ referencedColumns: ['id'];
2856
2942
  },
2857
2943
  {
2858
- foreignKeyName: "prj_tasks_parent_task_id_fkey";
2859
- columns: ["parent_task_id"];
2944
+ foreignKeyName: 'prj_tasks_parent_task_id_fkey';
2945
+ columns: ['parent_task_id'];
2860
2946
  isOneToOne: false;
2861
- referencedRelation: "prj_tasks";
2862
- referencedColumns: ["id"];
2947
+ referencedRelation: 'prj_tasks';
2948
+ referencedColumns: ['id'];
2863
2949
  },
2864
2950
  {
2865
- foreignKeyName: "prj_tasks_project_id_fkey";
2866
- columns: ["project_id"];
2951
+ foreignKeyName: 'prj_tasks_project_id_fkey';
2952
+ columns: ['project_id'];
2867
2953
  isOneToOne: false;
2868
- referencedRelation: "prj_projects";
2869
- referencedColumns: ["id"];
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: "reported_requests_organization_id_fkey";
2940
- columns: ["organization_id"];
3025
+ foreignKeyName: 'reported_requests_organization_id_fkey';
3026
+ columns: ['organization_id'];
2941
3027
  isOneToOne: false;
2942
- referencedRelation: "organizations";
2943
- referencedColumns: ["id"];
3028
+ referencedRelation: 'organizations';
3029
+ referencedColumns: ['id'];
2944
3030
  },
2945
3031
  {
2946
- foreignKeyName: "reported_requests_project_id_fkey";
2947
- columns: ["project_id"];
3032
+ foreignKeyName: 'reported_requests_project_id_fkey';
3033
+ columns: ['project_id'];
2948
3034
  isOneToOne: false;
2949
- referencedRelation: "prj_projects";
2950
- referencedColumns: ["id"];
3035
+ referencedRelation: 'prj_projects';
3036
+ referencedColumns: ['id'];
2951
3037
  },
2952
3038
  {
2953
- foreignKeyName: "reported_requests_task_id_fkey";
2954
- columns: ["task_id"];
3039
+ foreignKeyName: 'reported_requests_task_id_fkey';
3040
+ columns: ['task_id'];
2955
3041
  isOneToOne: false;
2956
- referencedRelation: "prj_tasks";
2957
- referencedColumns: ["id"];
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: "session_messages_session_id_fkey";
2998
- columns: ["session_id"];
3083
+ foreignKeyName: 'session_messages_session_id_fkey';
3084
+ columns: ['session_id'];
2999
3085
  isOneToOne: false;
3000
- referencedRelation: "sessions";
3001
- referencedColumns: ["session_id"];
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: "fk_organization";
3057
- columns: ["organization_id"];
3142
+ foreignKeyName: 'fk_organization';
3143
+ columns: ['organization_id'];
3058
3144
  isOneToOne: false;
3059
- referencedRelation: "organizations";
3060
- referencedColumns: ["id"];
3145
+ referencedRelation: 'organizations';
3146
+ referencedColumns: ['id'];
3061
3147
  },
3062
3148
  {
3063
- foreignKeyName: "fk_user";
3064
- columns: ["user_id"];
3149
+ foreignKeyName: 'fk_user';
3150
+ columns: ['user_id'];
3065
3151
  isOneToOne: false;
3066
- referencedRelation: "users";
3067
- referencedColumns: ["id"];
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: "task_schedules_organization_id_fkey";
3144
- columns: ["organization_id"];
3229
+ foreignKeyName: 'task_schedules_organization_id_fkey';
3230
+ columns: ['organization_id'];
3145
3231
  isOneToOne: false;
3146
- referencedRelation: "organizations";
3147
- referencedColumns: ["id"];
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: "user_profiles_last_visited_org_fkey";
3203
- columns: ["last_visited_org"];
3288
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
3289
+ columns: ['last_visited_org'];
3204
3290
  isOneToOne: false;
3205
- referencedRelation: "organizations";
3206
- referencedColumns: ["id"];
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: "webhook_endpoints_organization_id_fkey";
3256
- columns: ["organization_id"];
3341
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
3342
+ columns: ['organization_id'];
3257
3343
  isOneToOne: false;
3258
- referencedRelation: "organizations";
3259
- referencedColumns: ["id"];
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, "__InternalSupabase">;
3408
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3409
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
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["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
3499
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
3414
3500
  schema: keyof DatabaseWithoutInternals;
3415
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
3501
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
3416
3502
  Row: infer R;
3417
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
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