@elevasis/ui 1.14.2 → 1.14.4

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.
@@ -447,7 +447,7 @@ type Json = string | number | boolean | null | {
447
447
  } | Json[];
448
448
  type Database = {
449
449
  __InternalSupabase: {
450
- PostgrestVersion: "12.2.3 (519615d)";
450
+ PostgrestVersion: '12.2.3 (519615d)';
451
451
  };
452
452
  public: {
453
453
  Tables: {
@@ -526,11 +526,11 @@ type Database = {
526
526
  };
527
527
  Relationships: [
528
528
  {
529
- foreignKeyName: "acq_companies_organization_id_fkey";
530
- columns: ["organization_id"];
529
+ foreignKeyName: 'acq_companies_organization_id_fkey';
530
+ columns: ['organization_id'];
531
531
  isOneToOne: false;
532
- referencedRelation: "organizations";
533
- referencedColumns: ["id"];
532
+ referencedRelation: 'organizations';
533
+ referencedColumns: ['id'];
534
534
  }
535
535
  ];
536
536
  };
@@ -615,18 +615,18 @@ type Database = {
615
615
  };
616
616
  Relationships: [
617
617
  {
618
- foreignKeyName: "acq_contacts_company_id_fkey";
619
- columns: ["company_id"];
618
+ foreignKeyName: 'acq_contacts_company_id_fkey';
619
+ columns: ['company_id'];
620
620
  isOneToOne: false;
621
- referencedRelation: "acq_companies";
622
- referencedColumns: ["id"];
621
+ referencedRelation: 'acq_companies';
622
+ referencedColumns: ['id'];
623
623
  },
624
624
  {
625
- foreignKeyName: "acq_contacts_organization_id_fkey";
626
- columns: ["organization_id"];
625
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
626
+ columns: ['organization_id'];
627
627
  isOneToOne: false;
628
- referencedRelation: "organizations";
629
- referencedColumns: ["id"];
628
+ referencedRelation: 'organizations';
629
+ referencedColumns: ['id'];
630
630
  }
631
631
  ];
632
632
  };
@@ -663,11 +663,11 @@ type Database = {
663
663
  };
664
664
  Relationships: [
665
665
  {
666
- foreignKeyName: "acq_content_organization_id_fkey";
667
- columns: ["organization_id"];
666
+ foreignKeyName: 'acq_content_organization_id_fkey';
667
+ columns: ['organization_id'];
668
668
  isOneToOne: false;
669
- referencedRelation: "organizations";
670
- referencedColumns: ["id"];
669
+ referencedRelation: 'organizations';
670
+ referencedColumns: ['id'];
671
671
  }
672
672
  ];
673
673
  };
@@ -731,18 +731,18 @@ type Database = {
731
731
  };
732
732
  Relationships: [
733
733
  {
734
- foreignKeyName: "acq_content_distributions_content_id_fkey";
735
- columns: ["content_id"];
734
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
735
+ columns: ['content_id'];
736
736
  isOneToOne: false;
737
- referencedRelation: "acq_content";
738
- referencedColumns: ["id"];
737
+ referencedRelation: 'acq_content';
738
+ referencedColumns: ['id'];
739
739
  },
740
740
  {
741
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
742
- columns: ["organization_id"];
741
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
742
+ columns: ['organization_id'];
743
743
  isOneToOne: false;
744
- referencedRelation: "organizations";
745
- referencedColumns: ["id"];
744
+ referencedRelation: 'organizations';
745
+ referencedColumns: ['id'];
746
746
  }
747
747
  ];
748
748
  };
@@ -854,25 +854,25 @@ type Database = {
854
854
  };
855
855
  Relationships: [
856
856
  {
857
- foreignKeyName: "acq_deals_contact_id_fkey";
858
- columns: ["contact_id"];
857
+ foreignKeyName: 'acq_deals_contact_id_fkey';
858
+ columns: ['contact_id'];
859
859
  isOneToOne: false;
860
- referencedRelation: "acq_contacts";
861
- referencedColumns: ["id"];
860
+ referencedRelation: 'acq_contacts';
861
+ referencedColumns: ['id'];
862
862
  },
863
863
  {
864
- foreignKeyName: "acq_deals_organization_id_fkey";
865
- columns: ["organization_id"];
864
+ foreignKeyName: 'acq_deals_organization_id_fkey';
865
+ columns: ['organization_id'];
866
866
  isOneToOne: false;
867
- referencedRelation: "organizations";
868
- referencedColumns: ["id"];
867
+ referencedRelation: 'organizations';
868
+ referencedColumns: ['id'];
869
869
  },
870
870
  {
871
- foreignKeyName: "acq_deals_source_list_id_fkey";
872
- columns: ["source_list_id"];
871
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
872
+ columns: ['source_list_id'];
873
873
  isOneToOne: false;
874
- referencedRelation: "acq_lists";
875
- referencedColumns: ["id"];
874
+ referencedRelation: 'acq_lists';
875
+ referencedColumns: ['id'];
876
876
  }
877
877
  ];
878
878
  };
@@ -900,18 +900,18 @@ type Database = {
900
900
  };
901
901
  Relationships: [
902
902
  {
903
- foreignKeyName: "acq_list_members_contact_id_fkey";
904
- columns: ["contact_id"];
903
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
904
+ columns: ['contact_id'];
905
905
  isOneToOne: false;
906
- referencedRelation: "acq_contacts";
907
- referencedColumns: ["id"];
906
+ referencedRelation: 'acq_contacts';
907
+ referencedColumns: ['id'];
908
908
  },
909
909
  {
910
- foreignKeyName: "acq_list_members_list_id_fkey";
911
- columns: ["list_id"];
910
+ foreignKeyName: 'acq_list_members_list_id_fkey';
911
+ columns: ['list_id'];
912
912
  isOneToOne: false;
913
- referencedRelation: "acq_lists";
914
- referencedColumns: ["id"];
913
+ referencedRelation: 'acq_lists';
914
+ referencedColumns: ['id'];
915
915
  }
916
916
  ];
917
917
  };
@@ -960,11 +960,11 @@ type Database = {
960
960
  };
961
961
  Relationships: [
962
962
  {
963
- foreignKeyName: "acq_lists_organization_id_fkey";
964
- columns: ["organization_id"];
963
+ foreignKeyName: 'acq_lists_organization_id_fkey';
964
+ columns: ['organization_id'];
965
965
  isOneToOne: false;
966
- referencedRelation: "organizations";
967
- referencedColumns: ["id"];
966
+ referencedRelation: 'organizations';
967
+ referencedColumns: ['id'];
968
968
  }
969
969
  ];
970
970
  };
@@ -1040,18 +1040,18 @@ type Database = {
1040
1040
  };
1041
1041
  Relationships: [
1042
1042
  {
1043
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
1044
- columns: ["organization_id"];
1043
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
1044
+ columns: ['organization_id'];
1045
1045
  isOneToOne: false;
1046
- referencedRelation: "organizations";
1047
- referencedColumns: ["id"];
1046
+ referencedRelation: 'organizations';
1047
+ referencedColumns: ['id'];
1048
1048
  },
1049
1049
  {
1050
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
1051
- columns: ["seo_page_id"];
1050
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1051
+ columns: ['seo_page_id'];
1052
1052
  isOneToOne: false;
1053
- referencedRelation: "acq_seo_pages";
1054
- referencedColumns: ["id"];
1053
+ referencedRelation: 'acq_seo_pages';
1054
+ referencedColumns: ['id'];
1055
1055
  }
1056
1056
  ];
1057
1057
  };
@@ -1127,11 +1127,11 @@ type Database = {
1127
1127
  };
1128
1128
  Relationships: [
1129
1129
  {
1130
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
1131
- columns: ["organization_id"];
1130
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1131
+ columns: ['organization_id'];
1132
1132
  isOneToOne: false;
1133
- referencedRelation: "organizations";
1134
- referencedColumns: ["id"];
1133
+ referencedRelation: 'organizations';
1134
+ referencedColumns: ['id'];
1135
1135
  }
1136
1136
  ];
1137
1137
  };
@@ -1228,11 +1228,11 @@ type Database = {
1228
1228
  };
1229
1229
  Relationships: [
1230
1230
  {
1231
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1232
- columns: ["organization_id"];
1231
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1232
+ columns: ['organization_id'];
1233
1233
  isOneToOne: false;
1234
- referencedRelation: "organizations";
1235
- referencedColumns: ["id"];
1234
+ referencedRelation: 'organizations';
1235
+ referencedColumns: ['id'];
1236
1236
  }
1237
1237
  ];
1238
1238
  };
@@ -1287,11 +1287,11 @@ type Database = {
1287
1287
  };
1288
1288
  Relationships: [
1289
1289
  {
1290
- foreignKeyName: "activities_organization_id_fkey";
1291
- columns: ["organization_id"];
1290
+ foreignKeyName: 'activities_organization_id_fkey';
1291
+ columns: ['organization_id'];
1292
1292
  isOneToOne: false;
1293
- referencedRelation: "organizations";
1294
- referencedColumns: ["id"];
1293
+ referencedRelation: 'organizations';
1294
+ referencedColumns: ['id'];
1295
1295
  }
1296
1296
  ];
1297
1297
  };
@@ -1322,11 +1322,11 @@ type Database = {
1322
1322
  };
1323
1323
  Relationships: [
1324
1324
  {
1325
- foreignKeyName: "api_keys_organization_id_fkey";
1326
- columns: ["organization_id"];
1325
+ foreignKeyName: 'api_keys_organization_id_fkey';
1326
+ columns: ['organization_id'];
1327
1327
  isOneToOne: false;
1328
- referencedRelation: "organizations";
1329
- referencedColumns: ["id"];
1328
+ referencedRelation: 'organizations';
1329
+ referencedColumns: ['id'];
1330
1330
  }
1331
1331
  ];
1332
1332
  };
@@ -1363,11 +1363,11 @@ type Database = {
1363
1363
  };
1364
1364
  Relationships: [
1365
1365
  {
1366
- foreignKeyName: "calibration_projects_organization_id_fkey";
1367
- columns: ["organization_id"];
1366
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
1367
+ columns: ['organization_id'];
1368
1368
  isOneToOne: false;
1369
- referencedRelation: "organizations";
1370
- referencedColumns: ["id"];
1369
+ referencedRelation: 'organizations';
1370
+ referencedColumns: ['id'];
1371
1371
  }
1372
1372
  ];
1373
1373
  };
@@ -1422,18 +1422,18 @@ type Database = {
1422
1422
  };
1423
1423
  Relationships: [
1424
1424
  {
1425
- foreignKeyName: "calibration_runs_organization_id_fkey";
1426
- columns: ["organization_id"];
1425
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
1426
+ columns: ['organization_id'];
1427
1427
  isOneToOne: false;
1428
- referencedRelation: "organizations";
1429
- referencedColumns: ["id"];
1428
+ referencedRelation: 'organizations';
1429
+ referencedColumns: ['id'];
1430
1430
  },
1431
1431
  {
1432
- foreignKeyName: "calibration_runs_project_id_fkey";
1433
- columns: ["project_id"];
1432
+ foreignKeyName: 'calibration_runs_project_id_fkey';
1433
+ columns: ['project_id'];
1434
1434
  isOneToOne: false;
1435
- referencedRelation: "calibration_projects";
1436
- referencedColumns: ["id"];
1435
+ referencedRelation: 'calibration_projects';
1436
+ referencedColumns: ['id'];
1437
1437
  }
1438
1438
  ];
1439
1439
  };
@@ -1512,25 +1512,25 @@ type Database = {
1512
1512
  };
1513
1513
  Relationships: [
1514
1514
  {
1515
- foreignKeyName: "command_queue_completed_by_fkey";
1516
- columns: ["completed_by"];
1515
+ foreignKeyName: 'command_queue_completed_by_fkey';
1516
+ columns: ['completed_by'];
1517
1517
  isOneToOne: false;
1518
- referencedRelation: "users";
1519
- referencedColumns: ["id"];
1518
+ referencedRelation: 'users';
1519
+ referencedColumns: ['id'];
1520
1520
  },
1521
1521
  {
1522
- foreignKeyName: "command_queue_organization_id_fkey";
1523
- columns: ["organization_id"];
1522
+ foreignKeyName: 'command_queue_organization_id_fkey';
1523
+ columns: ['organization_id'];
1524
1524
  isOneToOne: false;
1525
- referencedRelation: "organizations";
1526
- referencedColumns: ["id"];
1525
+ referencedRelation: 'organizations';
1526
+ referencedColumns: ['id'];
1527
1527
  },
1528
1528
  {
1529
- foreignKeyName: "command_queue_target_execution_id_fkey";
1530
- columns: ["target_execution_id"];
1529
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1530
+ columns: ['target_execution_id'];
1531
1531
  isOneToOne: false;
1532
- referencedRelation: "execution_logs";
1533
- referencedColumns: ["execution_id"];
1532
+ referencedRelation: 'execution_logs';
1533
+ referencedColumns: ['execution_id'];
1534
1534
  }
1535
1535
  ];
1536
1536
  };
@@ -1570,95 +1570,104 @@ type Database = {
1570
1570
  };
1571
1571
  Relationships: [
1572
1572
  {
1573
- foreignKeyName: "credentials_created_by_fkey";
1574
- columns: ["created_by"];
1573
+ foreignKeyName: 'credentials_created_by_fkey';
1574
+ columns: ['created_by'];
1575
1575
  isOneToOne: false;
1576
- referencedRelation: "users";
1577
- referencedColumns: ["id"];
1576
+ referencedRelation: 'users';
1577
+ referencedColumns: ['id'];
1578
1578
  },
1579
1579
  {
1580
- foreignKeyName: "credentials_organization_id_fkey";
1581
- columns: ["organization_id"];
1580
+ foreignKeyName: 'credentials_organization_id_fkey';
1581
+ columns: ['organization_id'];
1582
1582
  isOneToOne: false;
1583
- referencedRelation: "organizations";
1584
- referencedColumns: ["id"];
1583
+ referencedRelation: 'organizations';
1584
+ referencedColumns: ['id'];
1585
1585
  }
1586
1586
  ];
1587
1587
  };
1588
- delivery_deliverables: {
1588
+ prj_tasks: {
1589
1589
  Row: {
1590
+ checklist: Json | null;
1590
1591
  completed_at: string | null;
1591
1592
  created_at: string;
1592
1593
  description: string | null;
1593
1594
  due_date: string | null;
1594
- engagement_id: string;
1595
1595
  file_url: string | null;
1596
1596
  id: string;
1597
1597
  metadata: Json | null;
1598
1598
  milestone_id: string | null;
1599
1599
  name: string;
1600
1600
  organization_id: string;
1601
+ parent_task_id: string | null;
1602
+ project_id: string;
1603
+ resume_context: Json | null;
1601
1604
  status: string;
1602
1605
  type: string;
1603
1606
  updated_at: string;
1604
1607
  };
1605
1608
  Insert: {
1609
+ checklist?: Json | null;
1606
1610
  completed_at?: string | null;
1607
1611
  created_at?: string;
1608
1612
  description?: string | null;
1609
1613
  due_date?: string | null;
1610
- engagement_id: string;
1611
1614
  file_url?: string | null;
1612
1615
  id?: string;
1613
1616
  metadata?: Json | null;
1614
1617
  milestone_id?: string | null;
1615
1618
  name: string;
1616
1619
  organization_id: string;
1620
+ parent_task_id?: string | null;
1621
+ project_id: string;
1622
+ resume_context?: Json | null;
1617
1623
  status?: string;
1618
1624
  type?: string;
1619
1625
  updated_at?: string;
1620
1626
  };
1621
1627
  Update: {
1628
+ checklist?: Json | null;
1622
1629
  completed_at?: string | null;
1623
1630
  created_at?: string;
1624
1631
  description?: string | null;
1625
1632
  due_date?: string | null;
1626
- engagement_id?: string;
1627
1633
  file_url?: string | null;
1628
1634
  id?: string;
1629
1635
  metadata?: Json | null;
1630
1636
  milestone_id?: string | null;
1631
1637
  name?: string;
1632
1638
  organization_id?: string;
1639
+ parent_task_id?: string | null;
1640
+ project_id?: string;
1641
+ resume_context?: Json | null;
1633
1642
  status?: string;
1634
1643
  type?: string;
1635
1644
  updated_at?: string;
1636
1645
  };
1637
1646
  Relationships: [
1638
1647
  {
1639
- foreignKeyName: "delivery_deliverables_engagement_id_fkey";
1640
- columns: ["engagement_id"];
1648
+ foreignKeyName: 'prj_tasks_project_id_fkey';
1649
+ columns: ['project_id'];
1641
1650
  isOneToOne: false;
1642
- referencedRelation: "delivery_engagements";
1643
- referencedColumns: ["id"];
1651
+ referencedRelation: 'prj_projects';
1652
+ referencedColumns: ['id'];
1644
1653
  },
1645
1654
  {
1646
- foreignKeyName: "delivery_deliverables_milestone_id_fkey";
1647
- columns: ["milestone_id"];
1655
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
1656
+ columns: ['milestone_id'];
1648
1657
  isOneToOne: false;
1649
- referencedRelation: "delivery_milestones";
1650
- referencedColumns: ["id"];
1658
+ referencedRelation: 'prj_milestones';
1659
+ referencedColumns: ['id'];
1651
1660
  },
1652
1661
  {
1653
- foreignKeyName: "delivery_deliverables_organization_id_fkey";
1654
- columns: ["organization_id"];
1662
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
1663
+ columns: ['organization_id'];
1655
1664
  isOneToOne: false;
1656
- referencedRelation: "organizations";
1657
- referencedColumns: ["id"];
1665
+ referencedRelation: 'organizations';
1666
+ referencedColumns: ['id'];
1658
1667
  }
1659
1668
  ];
1660
1669
  };
1661
- delivery_engagements: {
1670
+ prj_projects: {
1662
1671
  Row: {
1663
1672
  actual_end_date: string | null;
1664
1673
  client_company_id: string | null;
@@ -1667,6 +1676,7 @@ type Database = {
1667
1676
  deal_id: string | null;
1668
1677
  description: string | null;
1669
1678
  id: string;
1679
+ kind: string;
1670
1680
  metadata: Json | null;
1671
1681
  name: string;
1672
1682
  organization_id: string;
@@ -1683,6 +1693,7 @@ type Database = {
1683
1693
  deal_id?: string | null;
1684
1694
  description?: string | null;
1685
1695
  id?: string;
1696
+ kind?: string;
1686
1697
  metadata?: Json | null;
1687
1698
  name: string;
1688
1699
  organization_id: string;
@@ -1699,6 +1710,7 @@ type Database = {
1699
1710
  deal_id?: string | null;
1700
1711
  description?: string | null;
1701
1712
  id?: string;
1713
+ kind?: string;
1702
1714
  metadata?: Json | null;
1703
1715
  name?: string;
1704
1716
  organization_id?: string;
@@ -1709,40 +1721,40 @@ type Database = {
1709
1721
  };
1710
1722
  Relationships: [
1711
1723
  {
1712
- foreignKeyName: "delivery_engagements_client_company_id_fkey";
1713
- columns: ["client_company_id"];
1724
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
1725
+ columns: ['client_company_id'];
1714
1726
  isOneToOne: false;
1715
- referencedRelation: "acq_companies";
1716
- referencedColumns: ["id"];
1727
+ referencedRelation: 'acq_companies';
1728
+ referencedColumns: ['id'];
1717
1729
  },
1718
1730
  {
1719
- foreignKeyName: "delivery_engagements_deal_id_fkey";
1720
- columns: ["deal_id"];
1731
+ foreignKeyName: 'prj_projects_deal_id_fkey';
1732
+ columns: ['deal_id'];
1721
1733
  isOneToOne: false;
1722
- referencedRelation: "acq_deals";
1723
- referencedColumns: ["id"];
1734
+ referencedRelation: 'acq_deals';
1735
+ referencedColumns: ['id'];
1724
1736
  },
1725
1737
  {
1726
- foreignKeyName: "delivery_engagements_organization_id_fkey";
1727
- columns: ["organization_id"];
1738
+ foreignKeyName: 'prj_projects_organization_id_fkey';
1739
+ columns: ['organization_id'];
1728
1740
  isOneToOne: false;
1729
- referencedRelation: "organizations";
1730
- referencedColumns: ["id"];
1741
+ referencedRelation: 'organizations';
1742
+ referencedColumns: ['id'];
1731
1743
  }
1732
1744
  ];
1733
1745
  };
1734
- delivery_milestones: {
1746
+ prj_milestones: {
1735
1747
  Row: {
1736
1748
  checklist: Json | null;
1737
1749
  completed_at: string | null;
1738
1750
  created_at: string;
1739
1751
  description: string | null;
1740
1752
  due_date: string | null;
1741
- engagement_id: string;
1742
1753
  id: string;
1743
1754
  metadata: Json | null;
1744
1755
  name: string;
1745
1756
  organization_id: string;
1757
+ project_id: string;
1746
1758
  sequence: number;
1747
1759
  status: string;
1748
1760
  updated_at: string;
@@ -1753,11 +1765,11 @@ type Database = {
1753
1765
  created_at?: string;
1754
1766
  description?: string | null;
1755
1767
  due_date?: string | null;
1756
- engagement_id: string;
1757
1768
  id?: string;
1758
1769
  metadata?: Json | null;
1759
1770
  name: string;
1760
1771
  organization_id: string;
1772
+ project_id: string;
1761
1773
  sequence?: number;
1762
1774
  status?: string;
1763
1775
  updated_at?: string;
@@ -1768,90 +1780,96 @@ type Database = {
1768
1780
  created_at?: string;
1769
1781
  description?: string | null;
1770
1782
  due_date?: string | null;
1771
- engagement_id?: string;
1772
1783
  id?: string;
1773
1784
  metadata?: Json | null;
1774
1785
  name?: string;
1775
1786
  organization_id?: string;
1787
+ project_id?: string;
1776
1788
  sequence?: number;
1777
1789
  status?: string;
1778
1790
  updated_at?: string;
1779
1791
  };
1780
1792
  Relationships: [
1781
1793
  {
1782
- foreignKeyName: "delivery_milestones_engagement_id_fkey";
1783
- columns: ["engagement_id"];
1794
+ foreignKeyName: 'prj_milestones_project_id_fkey';
1795
+ columns: ['project_id'];
1784
1796
  isOneToOne: false;
1785
- referencedRelation: "delivery_engagements";
1786
- referencedColumns: ["id"];
1797
+ referencedRelation: 'prj_projects';
1798
+ referencedColumns: ['id'];
1787
1799
  },
1788
1800
  {
1789
- foreignKeyName: "delivery_milestones_organization_id_fkey";
1790
- columns: ["organization_id"];
1801
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
1802
+ columns: ['organization_id'];
1791
1803
  isOneToOne: false;
1792
- referencedRelation: "organizations";
1793
- referencedColumns: ["id"];
1804
+ referencedRelation: 'organizations';
1805
+ referencedColumns: ['id'];
1794
1806
  }
1795
1807
  ];
1796
1808
  };
1797
- delivery_notes: {
1809
+ prj_notes: {
1798
1810
  Row: {
1799
1811
  content: string;
1800
1812
  created_at: string;
1801
1813
  created_by: string | null;
1802
- engagement_id: string;
1803
1814
  id: string;
1804
1815
  metadata: Json | null;
1816
+ milestone_id: string | null;
1805
1817
  occurred_at: string;
1806
1818
  organization_id: string;
1819
+ project_id: string;
1807
1820
  summary: string | null;
1821
+ task_id: string | null;
1808
1822
  type: string;
1809
1823
  };
1810
1824
  Insert: {
1811
1825
  content: string;
1812
1826
  created_at?: string;
1813
1827
  created_by?: string | null;
1814
- engagement_id: string;
1815
1828
  id?: string;
1816
1829
  metadata?: Json | null;
1830
+ milestone_id?: string | null;
1817
1831
  occurred_at?: string;
1818
1832
  organization_id: string;
1833
+ project_id: string;
1819
1834
  summary?: string | null;
1835
+ task_id?: string | null;
1820
1836
  type?: string;
1821
1837
  };
1822
1838
  Update: {
1823
1839
  content?: string;
1824
1840
  created_at?: string;
1825
1841
  created_by?: string | null;
1826
- engagement_id?: string;
1827
1842
  id?: string;
1828
1843
  metadata?: Json | null;
1844
+ milestone_id?: string | null;
1829
1845
  occurred_at?: string;
1830
1846
  organization_id?: string;
1847
+ project_id?: string;
1831
1848
  summary?: string | null;
1849
+ task_id?: string | null;
1832
1850
  type?: string;
1833
1851
  };
1834
1852
  Relationships: [
1835
1853
  {
1836
- foreignKeyName: "delivery_notes_created_by_fkey";
1837
- columns: ["created_by"];
1854
+ foreignKeyName: 'prj_notes_created_by_fkey';
1855
+ columns: ['created_by'];
1838
1856
  isOneToOne: false;
1839
- referencedRelation: "users";
1840
- referencedColumns: ["id"];
1857
+ referencedRelation: 'users';
1858
+ referencedColumns: ['id'];
1841
1859
  },
1842
1860
  {
1843
- foreignKeyName: "delivery_notes_engagement_id_fkey";
1844
- columns: ["engagement_id"];
1861
+ foreignKeyName: 'prj_notes_project_id_fkey';
1862
+ columns: ['project_id'];
1845
1863
  isOneToOne: false;
1846
- referencedRelation: "delivery_engagements";
1847
- referencedColumns: ["id"];
1864
+ referencedRelation: 'prj_projects';
1865
+ referencedColumns: ['id'];
1848
1866
  },
1849
1867
  {
1850
- foreignKeyName: "delivery_notes_organization_id_fkey";
1851
- columns: ["organization_id"];
1868
+ foreignKeyName: 'prj_notes_organization_id_fkey';
1869
+ columns: ['organization_id'];
1852
1870
  isOneToOne: false;
1853
- referencedRelation: "organizations";
1854
- referencedColumns: ["id"];
1871
+ referencedRelation: 'organizations';
1872
+ referencedColumns: ['id'];
1855
1873
  }
1856
1874
  ];
1857
1875
  };
@@ -1903,11 +1921,11 @@ type Database = {
1903
1921
  };
1904
1922
  Relationships: [
1905
1923
  {
1906
- foreignKeyName: "deployments_organization_id_fkey";
1907
- columns: ["organization_id"];
1924
+ foreignKeyName: 'deployments_organization_id_fkey';
1925
+ columns: ['organization_id'];
1908
1926
  isOneToOne: false;
1909
- referencedRelation: "organizations";
1910
- referencedColumns: ["id"];
1927
+ referencedRelation: 'organizations';
1928
+ referencedColumns: ['id'];
1911
1929
  }
1912
1930
  ];
1913
1931
  };
@@ -1962,25 +1980,25 @@ type Database = {
1962
1980
  };
1963
1981
  Relationships: [
1964
1982
  {
1965
- foreignKeyName: "execution_errors_execution_id_fkey";
1966
- columns: ["execution_id"];
1983
+ foreignKeyName: 'execution_errors_execution_id_fkey';
1984
+ columns: ['execution_id'];
1967
1985
  isOneToOne: false;
1968
- referencedRelation: "execution_logs";
1969
- referencedColumns: ["execution_id"];
1986
+ referencedRelation: 'execution_logs';
1987
+ referencedColumns: ['execution_id'];
1970
1988
  },
1971
1989
  {
1972
- foreignKeyName: "execution_errors_organization_id_fkey";
1973
- columns: ["organization_id"];
1990
+ foreignKeyName: 'execution_errors_organization_id_fkey';
1991
+ columns: ['organization_id'];
1974
1992
  isOneToOne: false;
1975
- referencedRelation: "organizations";
1976
- referencedColumns: ["id"];
1993
+ referencedRelation: 'organizations';
1994
+ referencedColumns: ['id'];
1977
1995
  },
1978
1996
  {
1979
- foreignKeyName: "execution_errors_resolved_by_fkey";
1980
- columns: ["resolved_by"];
1997
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
1998
+ columns: ['resolved_by'];
1981
1999
  isOneToOne: false;
1982
- referencedRelation: "users";
1983
- referencedColumns: ["id"];
2000
+ referencedRelation: 'users';
2001
+ referencedColumns: ['id'];
1984
2002
  }
1985
2003
  ];
1986
2004
  };
@@ -2062,32 +2080,32 @@ type Database = {
2062
2080
  };
2063
2081
  Relationships: [
2064
2082
  {
2065
- foreignKeyName: "execution_history_organization_id_fkey";
2066
- columns: ["organization_id"];
2083
+ foreignKeyName: 'execution_history_organization_id_fkey';
2084
+ columns: ['organization_id'];
2067
2085
  isOneToOne: false;
2068
- referencedRelation: "organizations";
2069
- referencedColumns: ["id"];
2086
+ referencedRelation: 'organizations';
2087
+ referencedColumns: ['id'];
2070
2088
  },
2071
2089
  {
2072
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2073
- columns: ["origin_execution_id"];
2090
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2091
+ columns: ['origin_execution_id'];
2074
2092
  isOneToOne: false;
2075
- referencedRelation: "execution_logs";
2076
- referencedColumns: ["execution_id"];
2093
+ referencedRelation: 'execution_logs';
2094
+ referencedColumns: ['execution_id'];
2077
2095
  },
2078
2096
  {
2079
- foreignKeyName: "execution_logs_session_id_fkey";
2080
- columns: ["session_id"];
2097
+ foreignKeyName: 'execution_logs_session_id_fkey';
2098
+ columns: ['session_id'];
2081
2099
  isOneToOne: false;
2082
- referencedRelation: "sessions";
2083
- referencedColumns: ["session_id"];
2100
+ referencedRelation: 'sessions';
2101
+ referencedColumns: ['session_id'];
2084
2102
  },
2085
2103
  {
2086
- foreignKeyName: "execution_logs_user_id_fkey";
2087
- columns: ["user_id"];
2104
+ foreignKeyName: 'execution_logs_user_id_fkey';
2105
+ columns: ['user_id'];
2088
2106
  isOneToOne: false;
2089
- referencedRelation: "users";
2090
- referencedColumns: ["id"];
2107
+ referencedRelation: 'users';
2108
+ referencedColumns: ['id'];
2091
2109
  }
2092
2110
  ];
2093
2111
  };
@@ -2133,18 +2151,18 @@ type Database = {
2133
2151
  };
2134
2152
  Relationships: [
2135
2153
  {
2136
- foreignKeyName: "execution_metrics_execution_id_fkey";
2137
- columns: ["execution_id"];
2154
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2155
+ columns: ['execution_id'];
2138
2156
  isOneToOne: true;
2139
- referencedRelation: "execution_logs";
2140
- referencedColumns: ["execution_id"];
2157
+ referencedRelation: 'execution_logs';
2158
+ referencedColumns: ['execution_id'];
2141
2159
  },
2142
2160
  {
2143
- foreignKeyName: "execution_metrics_organization_id_fkey";
2144
- columns: ["organization_id"];
2161
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2162
+ columns: ['organization_id'];
2145
2163
  isOneToOne: false;
2146
- referencedRelation: "organizations";
2147
- referencedColumns: ["id"];
2164
+ referencedRelation: 'organizations';
2165
+ referencedColumns: ['id'];
2148
2166
  }
2149
2167
  ];
2150
2168
  };
@@ -2187,18 +2205,18 @@ type Database = {
2187
2205
  };
2188
2206
  Relationships: [
2189
2207
  {
2190
- foreignKeyName: "notifications_organization_id_fkey";
2191
- columns: ["organization_id"];
2208
+ foreignKeyName: 'notifications_organization_id_fkey';
2209
+ columns: ['organization_id'];
2192
2210
  isOneToOne: false;
2193
- referencedRelation: "organizations";
2194
- referencedColumns: ["id"];
2211
+ referencedRelation: 'organizations';
2212
+ referencedColumns: ['id'];
2195
2213
  },
2196
2214
  {
2197
- foreignKeyName: "notifications_user_id_fkey";
2198
- columns: ["user_id"];
2215
+ foreignKeyName: 'notifications_user_id_fkey';
2216
+ columns: ['user_id'];
2199
2217
  isOneToOne: false;
2200
- referencedRelation: "users";
2201
- referencedColumns: ["id"];
2218
+ referencedRelation: 'users';
2219
+ referencedColumns: ['id'];
2202
2220
  }
2203
2221
  ];
2204
2222
  };
@@ -2253,18 +2271,18 @@ type Database = {
2253
2271
  };
2254
2272
  Relationships: [
2255
2273
  {
2256
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
2257
- columns: ["inviter_user_id"];
2274
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2275
+ columns: ['inviter_user_id'];
2258
2276
  isOneToOne: false;
2259
- referencedRelation: "users";
2260
- referencedColumns: ["id"];
2277
+ referencedRelation: 'users';
2278
+ referencedColumns: ['id'];
2261
2279
  },
2262
2280
  {
2263
- foreignKeyName: "org_invitations_organization_id_fkey";
2264
- columns: ["organization_id"];
2281
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2282
+ columns: ['organization_id'];
2265
2283
  isOneToOne: false;
2266
- referencedRelation: "organizations";
2267
- referencedColumns: ["id"];
2284
+ referencedRelation: 'organizations';
2285
+ referencedColumns: ['id'];
2268
2286
  }
2269
2287
  ];
2270
2288
  };
@@ -2304,18 +2322,18 @@ type Database = {
2304
2322
  };
2305
2323
  Relationships: [
2306
2324
  {
2307
- foreignKeyName: "org_memberships_organization_id_fkey";
2308
- columns: ["organization_id"];
2325
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2326
+ columns: ['organization_id'];
2309
2327
  isOneToOne: false;
2310
- referencedRelation: "organizations";
2311
- referencedColumns: ["id"];
2328
+ referencedRelation: 'organizations';
2329
+ referencedColumns: ['id'];
2312
2330
  },
2313
2331
  {
2314
- foreignKeyName: "org_memberships_user_id_fkey";
2315
- columns: ["user_id"];
2332
+ foreignKeyName: 'org_memberships_user_id_fkey';
2333
+ columns: ['user_id'];
2316
2334
  isOneToOne: false;
2317
- referencedRelation: "users";
2318
- referencedColumns: ["id"];
2335
+ referencedRelation: 'users';
2336
+ referencedColumns: ['id'];
2319
2337
  }
2320
2338
  ];
2321
2339
  };
@@ -2391,11 +2409,11 @@ type Database = {
2391
2409
  };
2392
2410
  Relationships: [
2393
2411
  {
2394
- foreignKeyName: "session_messages_session_id_fkey";
2395
- columns: ["session_id"];
2412
+ foreignKeyName: 'session_messages_session_id_fkey';
2413
+ columns: ['session_id'];
2396
2414
  isOneToOne: false;
2397
- referencedRelation: "sessions";
2398
- referencedColumns: ["session_id"];
2415
+ referencedRelation: 'sessions';
2416
+ referencedColumns: ['session_id'];
2399
2417
  }
2400
2418
  ];
2401
2419
  };
@@ -2450,18 +2468,18 @@ type Database = {
2450
2468
  };
2451
2469
  Relationships: [
2452
2470
  {
2453
- foreignKeyName: "fk_organization";
2454
- columns: ["organization_id"];
2471
+ foreignKeyName: 'fk_organization';
2472
+ columns: ['organization_id'];
2455
2473
  isOneToOne: false;
2456
- referencedRelation: "organizations";
2457
- referencedColumns: ["id"];
2474
+ referencedRelation: 'organizations';
2475
+ referencedColumns: ['id'];
2458
2476
  },
2459
2477
  {
2460
- foreignKeyName: "fk_user";
2461
- columns: ["user_id"];
2478
+ foreignKeyName: 'fk_user';
2479
+ columns: ['user_id'];
2462
2480
  isOneToOne: false;
2463
- referencedRelation: "users";
2464
- referencedColumns: ["id"];
2481
+ referencedRelation: 'users';
2482
+ referencedColumns: ['id'];
2465
2483
  }
2466
2484
  ];
2467
2485
  };
@@ -2537,11 +2555,11 @@ type Database = {
2537
2555
  };
2538
2556
  Relationships: [
2539
2557
  {
2540
- foreignKeyName: "task_schedules_organization_id_fkey";
2541
- columns: ["organization_id"];
2558
+ foreignKeyName: 'task_schedules_organization_id_fkey';
2559
+ columns: ['organization_id'];
2542
2560
  isOneToOne: false;
2543
- referencedRelation: "organizations";
2544
- referencedColumns: ["id"];
2561
+ referencedRelation: 'organizations';
2562
+ referencedColumns: ['id'];
2545
2563
  }
2546
2564
  ];
2547
2565
  };
@@ -2596,11 +2614,11 @@ type Database = {
2596
2614
  };
2597
2615
  Relationships: [
2598
2616
  {
2599
- foreignKeyName: "user_profiles_last_visited_org_fkey";
2600
- columns: ["last_visited_org"];
2617
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
2618
+ columns: ['last_visited_org'];
2601
2619
  isOneToOne: false;
2602
- referencedRelation: "organizations";
2603
- referencedColumns: ["id"];
2620
+ referencedRelation: 'organizations';
2621
+ referencedColumns: ['id'];
2604
2622
  }
2605
2623
  ];
2606
2624
  };
@@ -2646,11 +2664,11 @@ type Database = {
2646
2664
  };
2647
2665
  Relationships: [
2648
2666
  {
2649
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
2650
- columns: ["organization_id"];
2667
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
2668
+ columns: ['organization_id'];
2651
2669
  isOneToOne: false;
2652
- referencedRelation: "organizations";
2653
- referencedColumns: ["id"];
2670
+ referencedRelation: 'organizations';
2671
+ referencedColumns: ['id'];
2654
2672
  }
2655
2673
  ];
2656
2674
  };
@@ -2770,17 +2788,17 @@ type Database = {
2770
2788
  };
2771
2789
  };
2772
2790
  };
2773
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
2774
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
2775
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
2791
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
2792
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
2793
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
2776
2794
  schema: keyof DatabaseWithoutInternals;
2777
2795
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
2778
2796
  schema: keyof DatabaseWithoutInternals;
2779
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
2797
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
2780
2798
  schema: keyof DatabaseWithoutInternals;
2781
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
2799
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
2782
2800
  Row: infer R;
2783
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
2801
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
2784
2802
  Row: infer R;
2785
2803
  } ? R : never : never;
2786
2804