@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.
@@ -534,7 +534,7 @@ type Json = string | number | boolean | null | {
534
534
  } | Json[];
535
535
  type Database = {
536
536
  __InternalSupabase: {
537
- PostgrestVersion: "12.2.3 (519615d)";
537
+ PostgrestVersion: '12.2.3 (519615d)';
538
538
  };
539
539
  public: {
540
540
  Tables: {
@@ -613,11 +613,11 @@ type Database = {
613
613
  };
614
614
  Relationships: [
615
615
  {
616
- foreignKeyName: "acq_companies_organization_id_fkey";
617
- columns: ["organization_id"];
616
+ foreignKeyName: 'acq_companies_organization_id_fkey';
617
+ columns: ['organization_id'];
618
618
  isOneToOne: false;
619
- referencedRelation: "organizations";
620
- referencedColumns: ["id"];
619
+ referencedRelation: 'organizations';
620
+ referencedColumns: ['id'];
621
621
  }
622
622
  ];
623
623
  };
@@ -702,18 +702,18 @@ type Database = {
702
702
  };
703
703
  Relationships: [
704
704
  {
705
- foreignKeyName: "acq_contacts_company_id_fkey";
706
- columns: ["company_id"];
705
+ foreignKeyName: 'acq_contacts_company_id_fkey';
706
+ columns: ['company_id'];
707
707
  isOneToOne: false;
708
- referencedRelation: "acq_companies";
709
- referencedColumns: ["id"];
708
+ referencedRelation: 'acq_companies';
709
+ referencedColumns: ['id'];
710
710
  },
711
711
  {
712
- foreignKeyName: "acq_contacts_organization_id_fkey";
713
- columns: ["organization_id"];
712
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
713
+ columns: ['organization_id'];
714
714
  isOneToOne: false;
715
- referencedRelation: "organizations";
716
- referencedColumns: ["id"];
715
+ referencedRelation: 'organizations';
716
+ referencedColumns: ['id'];
717
717
  }
718
718
  ];
719
719
  };
@@ -750,11 +750,11 @@ type Database = {
750
750
  };
751
751
  Relationships: [
752
752
  {
753
- foreignKeyName: "acq_content_organization_id_fkey";
754
- columns: ["organization_id"];
753
+ foreignKeyName: 'acq_content_organization_id_fkey';
754
+ columns: ['organization_id'];
755
755
  isOneToOne: false;
756
- referencedRelation: "organizations";
757
- referencedColumns: ["id"];
756
+ referencedRelation: 'organizations';
757
+ referencedColumns: ['id'];
758
758
  }
759
759
  ];
760
760
  };
@@ -818,18 +818,18 @@ type Database = {
818
818
  };
819
819
  Relationships: [
820
820
  {
821
- foreignKeyName: "acq_content_distributions_content_id_fkey";
822
- columns: ["content_id"];
821
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
822
+ columns: ['content_id'];
823
823
  isOneToOne: false;
824
- referencedRelation: "acq_content";
825
- referencedColumns: ["id"];
824
+ referencedRelation: 'acq_content';
825
+ referencedColumns: ['id'];
826
826
  },
827
827
  {
828
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
829
- columns: ["organization_id"];
828
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
829
+ columns: ['organization_id'];
830
830
  isOneToOne: false;
831
- referencedRelation: "organizations";
832
- referencedColumns: ["id"];
831
+ referencedRelation: 'organizations';
832
+ referencedColumns: ['id'];
833
833
  }
834
834
  ];
835
835
  };
@@ -941,25 +941,25 @@ type Database = {
941
941
  };
942
942
  Relationships: [
943
943
  {
944
- foreignKeyName: "acq_deals_contact_id_fkey";
945
- columns: ["contact_id"];
944
+ foreignKeyName: 'acq_deals_contact_id_fkey';
945
+ columns: ['contact_id'];
946
946
  isOneToOne: false;
947
- referencedRelation: "acq_contacts";
948
- referencedColumns: ["id"];
947
+ referencedRelation: 'acq_contacts';
948
+ referencedColumns: ['id'];
949
949
  },
950
950
  {
951
- foreignKeyName: "acq_deals_organization_id_fkey";
952
- columns: ["organization_id"];
951
+ foreignKeyName: 'acq_deals_organization_id_fkey';
952
+ columns: ['organization_id'];
953
953
  isOneToOne: false;
954
- referencedRelation: "organizations";
955
- referencedColumns: ["id"];
954
+ referencedRelation: 'organizations';
955
+ referencedColumns: ['id'];
956
956
  },
957
957
  {
958
- foreignKeyName: "acq_deals_source_list_id_fkey";
959
- columns: ["source_list_id"];
958
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
959
+ columns: ['source_list_id'];
960
960
  isOneToOne: false;
961
- referencedRelation: "acq_lists";
962
- referencedColumns: ["id"];
961
+ referencedRelation: 'acq_lists';
962
+ referencedColumns: ['id'];
963
963
  }
964
964
  ];
965
965
  };
@@ -987,18 +987,18 @@ type Database = {
987
987
  };
988
988
  Relationships: [
989
989
  {
990
- foreignKeyName: "acq_list_members_contact_id_fkey";
991
- columns: ["contact_id"];
990
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
991
+ columns: ['contact_id'];
992
992
  isOneToOne: false;
993
- referencedRelation: "acq_contacts";
994
- referencedColumns: ["id"];
993
+ referencedRelation: 'acq_contacts';
994
+ referencedColumns: ['id'];
995
995
  },
996
996
  {
997
- foreignKeyName: "acq_list_members_list_id_fkey";
998
- columns: ["list_id"];
997
+ foreignKeyName: 'acq_list_members_list_id_fkey';
998
+ columns: ['list_id'];
999
999
  isOneToOne: false;
1000
- referencedRelation: "acq_lists";
1001
- referencedColumns: ["id"];
1000
+ referencedRelation: 'acq_lists';
1001
+ referencedColumns: ['id'];
1002
1002
  }
1003
1003
  ];
1004
1004
  };
@@ -1047,11 +1047,11 @@ type Database = {
1047
1047
  };
1048
1048
  Relationships: [
1049
1049
  {
1050
- foreignKeyName: "acq_lists_organization_id_fkey";
1051
- columns: ["organization_id"];
1050
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1051
+ columns: ['organization_id'];
1052
1052
  isOneToOne: false;
1053
- referencedRelation: "organizations";
1054
- referencedColumns: ["id"];
1053
+ referencedRelation: 'organizations';
1054
+ referencedColumns: ['id'];
1055
1055
  }
1056
1056
  ];
1057
1057
  };
@@ -1127,18 +1127,18 @@ type Database = {
1127
1127
  };
1128
1128
  Relationships: [
1129
1129
  {
1130
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
1131
- columns: ["organization_id"];
1130
+ foreignKeyName: 'acq_seo_metrics_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
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
1138
- columns: ["seo_page_id"];
1137
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1138
+ columns: ['seo_page_id'];
1139
1139
  isOneToOne: false;
1140
- referencedRelation: "acq_seo_pages";
1141
- referencedColumns: ["id"];
1140
+ referencedRelation: 'acq_seo_pages';
1141
+ referencedColumns: ['id'];
1142
1142
  }
1143
1143
  ];
1144
1144
  };
@@ -1214,11 +1214,11 @@ type Database = {
1214
1214
  };
1215
1215
  Relationships: [
1216
1216
  {
1217
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
1218
- columns: ["organization_id"];
1217
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1218
+ columns: ['organization_id'];
1219
1219
  isOneToOne: false;
1220
- referencedRelation: "organizations";
1221
- referencedColumns: ["id"];
1220
+ referencedRelation: 'organizations';
1221
+ referencedColumns: ['id'];
1222
1222
  }
1223
1223
  ];
1224
1224
  };
@@ -1315,11 +1315,11 @@ type Database = {
1315
1315
  };
1316
1316
  Relationships: [
1317
1317
  {
1318
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1319
- columns: ["organization_id"];
1318
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1319
+ columns: ['organization_id'];
1320
1320
  isOneToOne: false;
1321
- referencedRelation: "organizations";
1322
- referencedColumns: ["id"];
1321
+ referencedRelation: 'organizations';
1322
+ referencedColumns: ['id'];
1323
1323
  }
1324
1324
  ];
1325
1325
  };
@@ -1374,11 +1374,11 @@ type Database = {
1374
1374
  };
1375
1375
  Relationships: [
1376
1376
  {
1377
- foreignKeyName: "activities_organization_id_fkey";
1378
- columns: ["organization_id"];
1377
+ foreignKeyName: 'activities_organization_id_fkey';
1378
+ columns: ['organization_id'];
1379
1379
  isOneToOne: false;
1380
- referencedRelation: "organizations";
1381
- referencedColumns: ["id"];
1380
+ referencedRelation: 'organizations';
1381
+ referencedColumns: ['id'];
1382
1382
  }
1383
1383
  ];
1384
1384
  };
@@ -1409,11 +1409,11 @@ type Database = {
1409
1409
  };
1410
1410
  Relationships: [
1411
1411
  {
1412
- foreignKeyName: "api_keys_organization_id_fkey";
1413
- columns: ["organization_id"];
1412
+ foreignKeyName: 'api_keys_organization_id_fkey';
1413
+ columns: ['organization_id'];
1414
1414
  isOneToOne: false;
1415
- referencedRelation: "organizations";
1416
- referencedColumns: ["id"];
1415
+ referencedRelation: 'organizations';
1416
+ referencedColumns: ['id'];
1417
1417
  }
1418
1418
  ];
1419
1419
  };
@@ -1450,11 +1450,11 @@ type Database = {
1450
1450
  };
1451
1451
  Relationships: [
1452
1452
  {
1453
- foreignKeyName: "calibration_projects_organization_id_fkey";
1454
- columns: ["organization_id"];
1453
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
1454
+ columns: ['organization_id'];
1455
1455
  isOneToOne: false;
1456
- referencedRelation: "organizations";
1457
- referencedColumns: ["id"];
1456
+ referencedRelation: 'organizations';
1457
+ referencedColumns: ['id'];
1458
1458
  }
1459
1459
  ];
1460
1460
  };
@@ -1509,18 +1509,18 @@ type Database = {
1509
1509
  };
1510
1510
  Relationships: [
1511
1511
  {
1512
- foreignKeyName: "calibration_runs_organization_id_fkey";
1513
- columns: ["organization_id"];
1512
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
1513
+ columns: ['organization_id'];
1514
1514
  isOneToOne: false;
1515
- referencedRelation: "organizations";
1516
- referencedColumns: ["id"];
1515
+ referencedRelation: 'organizations';
1516
+ referencedColumns: ['id'];
1517
1517
  },
1518
1518
  {
1519
- foreignKeyName: "calibration_runs_project_id_fkey";
1520
- columns: ["project_id"];
1519
+ foreignKeyName: 'calibration_runs_project_id_fkey';
1520
+ columns: ['project_id'];
1521
1521
  isOneToOne: false;
1522
- referencedRelation: "calibration_projects";
1523
- referencedColumns: ["id"];
1522
+ referencedRelation: 'calibration_projects';
1523
+ referencedColumns: ['id'];
1524
1524
  }
1525
1525
  ];
1526
1526
  };
@@ -1599,25 +1599,25 @@ type Database = {
1599
1599
  };
1600
1600
  Relationships: [
1601
1601
  {
1602
- foreignKeyName: "command_queue_completed_by_fkey";
1603
- columns: ["completed_by"];
1602
+ foreignKeyName: 'command_queue_completed_by_fkey';
1603
+ columns: ['completed_by'];
1604
1604
  isOneToOne: false;
1605
- referencedRelation: "users";
1606
- referencedColumns: ["id"];
1605
+ referencedRelation: 'users';
1606
+ referencedColumns: ['id'];
1607
1607
  },
1608
1608
  {
1609
- foreignKeyName: "command_queue_organization_id_fkey";
1610
- columns: ["organization_id"];
1609
+ foreignKeyName: 'command_queue_organization_id_fkey';
1610
+ columns: ['organization_id'];
1611
1611
  isOneToOne: false;
1612
- referencedRelation: "organizations";
1613
- referencedColumns: ["id"];
1612
+ referencedRelation: 'organizations';
1613
+ referencedColumns: ['id'];
1614
1614
  },
1615
1615
  {
1616
- foreignKeyName: "command_queue_target_execution_id_fkey";
1617
- columns: ["target_execution_id"];
1616
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1617
+ columns: ['target_execution_id'];
1618
1618
  isOneToOne: false;
1619
- referencedRelation: "execution_logs";
1620
- referencedColumns: ["execution_id"];
1619
+ referencedRelation: 'execution_logs';
1620
+ referencedColumns: ['execution_id'];
1621
1621
  }
1622
1622
  ];
1623
1623
  };
@@ -1657,95 +1657,104 @@ type Database = {
1657
1657
  };
1658
1658
  Relationships: [
1659
1659
  {
1660
- foreignKeyName: "credentials_created_by_fkey";
1661
- columns: ["created_by"];
1660
+ foreignKeyName: 'credentials_created_by_fkey';
1661
+ columns: ['created_by'];
1662
1662
  isOneToOne: false;
1663
- referencedRelation: "users";
1664
- referencedColumns: ["id"];
1663
+ referencedRelation: 'users';
1664
+ referencedColumns: ['id'];
1665
1665
  },
1666
1666
  {
1667
- foreignKeyName: "credentials_organization_id_fkey";
1668
- columns: ["organization_id"];
1667
+ foreignKeyName: 'credentials_organization_id_fkey';
1668
+ columns: ['organization_id'];
1669
1669
  isOneToOne: false;
1670
- referencedRelation: "organizations";
1671
- referencedColumns: ["id"];
1670
+ referencedRelation: 'organizations';
1671
+ referencedColumns: ['id'];
1672
1672
  }
1673
1673
  ];
1674
1674
  };
1675
- delivery_deliverables: {
1675
+ prj_tasks: {
1676
1676
  Row: {
1677
+ checklist: Json | null;
1677
1678
  completed_at: string | null;
1678
1679
  created_at: string;
1679
1680
  description: string | null;
1680
1681
  due_date: string | null;
1681
- engagement_id: string;
1682
1682
  file_url: string | null;
1683
1683
  id: string;
1684
1684
  metadata: Json | null;
1685
1685
  milestone_id: string | null;
1686
1686
  name: string;
1687
1687
  organization_id: string;
1688
+ parent_task_id: string | null;
1689
+ project_id: string;
1690
+ resume_context: Json | null;
1688
1691
  status: string;
1689
1692
  type: string;
1690
1693
  updated_at: string;
1691
1694
  };
1692
1695
  Insert: {
1696
+ checklist?: Json | null;
1693
1697
  completed_at?: string | null;
1694
1698
  created_at?: string;
1695
1699
  description?: string | null;
1696
1700
  due_date?: string | null;
1697
- engagement_id: string;
1698
1701
  file_url?: string | null;
1699
1702
  id?: string;
1700
1703
  metadata?: Json | null;
1701
1704
  milestone_id?: string | null;
1702
1705
  name: string;
1703
1706
  organization_id: string;
1707
+ parent_task_id?: string | null;
1708
+ project_id: string;
1709
+ resume_context?: Json | null;
1704
1710
  status?: string;
1705
1711
  type?: string;
1706
1712
  updated_at?: string;
1707
1713
  };
1708
1714
  Update: {
1715
+ checklist?: Json | null;
1709
1716
  completed_at?: string | null;
1710
1717
  created_at?: string;
1711
1718
  description?: string | null;
1712
1719
  due_date?: string | null;
1713
- engagement_id?: string;
1714
1720
  file_url?: string | null;
1715
1721
  id?: string;
1716
1722
  metadata?: Json | null;
1717
1723
  milestone_id?: string | null;
1718
1724
  name?: string;
1719
1725
  organization_id?: string;
1726
+ parent_task_id?: string | null;
1727
+ project_id?: string;
1728
+ resume_context?: Json | null;
1720
1729
  status?: string;
1721
1730
  type?: string;
1722
1731
  updated_at?: string;
1723
1732
  };
1724
1733
  Relationships: [
1725
1734
  {
1726
- foreignKeyName: "delivery_deliverables_engagement_id_fkey";
1727
- columns: ["engagement_id"];
1735
+ foreignKeyName: 'prj_tasks_project_id_fkey';
1736
+ columns: ['project_id'];
1728
1737
  isOneToOne: false;
1729
- referencedRelation: "delivery_engagements";
1730
- referencedColumns: ["id"];
1738
+ referencedRelation: 'prj_projects';
1739
+ referencedColumns: ['id'];
1731
1740
  },
1732
1741
  {
1733
- foreignKeyName: "delivery_deliverables_milestone_id_fkey";
1734
- columns: ["milestone_id"];
1742
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
1743
+ columns: ['milestone_id'];
1735
1744
  isOneToOne: false;
1736
- referencedRelation: "delivery_milestones";
1737
- referencedColumns: ["id"];
1745
+ referencedRelation: 'prj_milestones';
1746
+ referencedColumns: ['id'];
1738
1747
  },
1739
1748
  {
1740
- foreignKeyName: "delivery_deliverables_organization_id_fkey";
1741
- columns: ["organization_id"];
1749
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
1750
+ columns: ['organization_id'];
1742
1751
  isOneToOne: false;
1743
- referencedRelation: "organizations";
1744
- referencedColumns: ["id"];
1752
+ referencedRelation: 'organizations';
1753
+ referencedColumns: ['id'];
1745
1754
  }
1746
1755
  ];
1747
1756
  };
1748
- delivery_engagements: {
1757
+ prj_projects: {
1749
1758
  Row: {
1750
1759
  actual_end_date: string | null;
1751
1760
  client_company_id: string | null;
@@ -1754,6 +1763,7 @@ type Database = {
1754
1763
  deal_id: string | null;
1755
1764
  description: string | null;
1756
1765
  id: string;
1766
+ kind: string;
1757
1767
  metadata: Json | null;
1758
1768
  name: string;
1759
1769
  organization_id: string;
@@ -1770,6 +1780,7 @@ type Database = {
1770
1780
  deal_id?: string | null;
1771
1781
  description?: string | null;
1772
1782
  id?: string;
1783
+ kind?: string;
1773
1784
  metadata?: Json | null;
1774
1785
  name: string;
1775
1786
  organization_id: string;
@@ -1786,6 +1797,7 @@ type Database = {
1786
1797
  deal_id?: string | null;
1787
1798
  description?: string | null;
1788
1799
  id?: string;
1800
+ kind?: string;
1789
1801
  metadata?: Json | null;
1790
1802
  name?: string;
1791
1803
  organization_id?: string;
@@ -1796,40 +1808,40 @@ type Database = {
1796
1808
  };
1797
1809
  Relationships: [
1798
1810
  {
1799
- foreignKeyName: "delivery_engagements_client_company_id_fkey";
1800
- columns: ["client_company_id"];
1811
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
1812
+ columns: ['client_company_id'];
1801
1813
  isOneToOne: false;
1802
- referencedRelation: "acq_companies";
1803
- referencedColumns: ["id"];
1814
+ referencedRelation: 'acq_companies';
1815
+ referencedColumns: ['id'];
1804
1816
  },
1805
1817
  {
1806
- foreignKeyName: "delivery_engagements_deal_id_fkey";
1807
- columns: ["deal_id"];
1818
+ foreignKeyName: 'prj_projects_deal_id_fkey';
1819
+ columns: ['deal_id'];
1808
1820
  isOneToOne: false;
1809
- referencedRelation: "acq_deals";
1810
- referencedColumns: ["id"];
1821
+ referencedRelation: 'acq_deals';
1822
+ referencedColumns: ['id'];
1811
1823
  },
1812
1824
  {
1813
- foreignKeyName: "delivery_engagements_organization_id_fkey";
1814
- columns: ["organization_id"];
1825
+ foreignKeyName: 'prj_projects_organization_id_fkey';
1826
+ columns: ['organization_id'];
1815
1827
  isOneToOne: false;
1816
- referencedRelation: "organizations";
1817
- referencedColumns: ["id"];
1828
+ referencedRelation: 'organizations';
1829
+ referencedColumns: ['id'];
1818
1830
  }
1819
1831
  ];
1820
1832
  };
1821
- delivery_milestones: {
1833
+ prj_milestones: {
1822
1834
  Row: {
1823
1835
  checklist: Json | null;
1824
1836
  completed_at: string | null;
1825
1837
  created_at: string;
1826
1838
  description: string | null;
1827
1839
  due_date: string | null;
1828
- engagement_id: string;
1829
1840
  id: string;
1830
1841
  metadata: Json | null;
1831
1842
  name: string;
1832
1843
  organization_id: string;
1844
+ project_id: string;
1833
1845
  sequence: number;
1834
1846
  status: string;
1835
1847
  updated_at: string;
@@ -1840,11 +1852,11 @@ type Database = {
1840
1852
  created_at?: string;
1841
1853
  description?: string | null;
1842
1854
  due_date?: string | null;
1843
- engagement_id: string;
1844
1855
  id?: string;
1845
1856
  metadata?: Json | null;
1846
1857
  name: string;
1847
1858
  organization_id: string;
1859
+ project_id: string;
1848
1860
  sequence?: number;
1849
1861
  status?: string;
1850
1862
  updated_at?: string;
@@ -1855,90 +1867,96 @@ type Database = {
1855
1867
  created_at?: string;
1856
1868
  description?: string | null;
1857
1869
  due_date?: string | null;
1858
- engagement_id?: string;
1859
1870
  id?: string;
1860
1871
  metadata?: Json | null;
1861
1872
  name?: string;
1862
1873
  organization_id?: string;
1874
+ project_id?: string;
1863
1875
  sequence?: number;
1864
1876
  status?: string;
1865
1877
  updated_at?: string;
1866
1878
  };
1867
1879
  Relationships: [
1868
1880
  {
1869
- foreignKeyName: "delivery_milestones_engagement_id_fkey";
1870
- columns: ["engagement_id"];
1881
+ foreignKeyName: 'prj_milestones_project_id_fkey';
1882
+ columns: ['project_id'];
1871
1883
  isOneToOne: false;
1872
- referencedRelation: "delivery_engagements";
1873
- referencedColumns: ["id"];
1884
+ referencedRelation: 'prj_projects';
1885
+ referencedColumns: ['id'];
1874
1886
  },
1875
1887
  {
1876
- foreignKeyName: "delivery_milestones_organization_id_fkey";
1877
- columns: ["organization_id"];
1888
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
1889
+ columns: ['organization_id'];
1878
1890
  isOneToOne: false;
1879
- referencedRelation: "organizations";
1880
- referencedColumns: ["id"];
1891
+ referencedRelation: 'organizations';
1892
+ referencedColumns: ['id'];
1881
1893
  }
1882
1894
  ];
1883
1895
  };
1884
- delivery_notes: {
1896
+ prj_notes: {
1885
1897
  Row: {
1886
1898
  content: string;
1887
1899
  created_at: string;
1888
1900
  created_by: string | null;
1889
- engagement_id: string;
1890
1901
  id: string;
1891
1902
  metadata: Json | null;
1903
+ milestone_id: string | null;
1892
1904
  occurred_at: string;
1893
1905
  organization_id: string;
1906
+ project_id: string;
1894
1907
  summary: string | null;
1908
+ task_id: string | null;
1895
1909
  type: string;
1896
1910
  };
1897
1911
  Insert: {
1898
1912
  content: string;
1899
1913
  created_at?: string;
1900
1914
  created_by?: string | null;
1901
- engagement_id: string;
1902
1915
  id?: string;
1903
1916
  metadata?: Json | null;
1917
+ milestone_id?: string | null;
1904
1918
  occurred_at?: string;
1905
1919
  organization_id: string;
1920
+ project_id: string;
1906
1921
  summary?: string | null;
1922
+ task_id?: string | null;
1907
1923
  type?: string;
1908
1924
  };
1909
1925
  Update: {
1910
1926
  content?: string;
1911
1927
  created_at?: string;
1912
1928
  created_by?: string | null;
1913
- engagement_id?: string;
1914
1929
  id?: string;
1915
1930
  metadata?: Json | null;
1931
+ milestone_id?: string | null;
1916
1932
  occurred_at?: string;
1917
1933
  organization_id?: string;
1934
+ project_id?: string;
1918
1935
  summary?: string | null;
1936
+ task_id?: string | null;
1919
1937
  type?: string;
1920
1938
  };
1921
1939
  Relationships: [
1922
1940
  {
1923
- foreignKeyName: "delivery_notes_created_by_fkey";
1924
- columns: ["created_by"];
1941
+ foreignKeyName: 'prj_notes_created_by_fkey';
1942
+ columns: ['created_by'];
1925
1943
  isOneToOne: false;
1926
- referencedRelation: "users";
1927
- referencedColumns: ["id"];
1944
+ referencedRelation: 'users';
1945
+ referencedColumns: ['id'];
1928
1946
  },
1929
1947
  {
1930
- foreignKeyName: "delivery_notes_engagement_id_fkey";
1931
- columns: ["engagement_id"];
1948
+ foreignKeyName: 'prj_notes_project_id_fkey';
1949
+ columns: ['project_id'];
1932
1950
  isOneToOne: false;
1933
- referencedRelation: "delivery_engagements";
1934
- referencedColumns: ["id"];
1951
+ referencedRelation: 'prj_projects';
1952
+ referencedColumns: ['id'];
1935
1953
  },
1936
1954
  {
1937
- foreignKeyName: "delivery_notes_organization_id_fkey";
1938
- columns: ["organization_id"];
1955
+ foreignKeyName: 'prj_notes_organization_id_fkey';
1956
+ columns: ['organization_id'];
1939
1957
  isOneToOne: false;
1940
- referencedRelation: "organizations";
1941
- referencedColumns: ["id"];
1958
+ referencedRelation: 'organizations';
1959
+ referencedColumns: ['id'];
1942
1960
  }
1943
1961
  ];
1944
1962
  };
@@ -1990,11 +2008,11 @@ type Database = {
1990
2008
  };
1991
2009
  Relationships: [
1992
2010
  {
1993
- foreignKeyName: "deployments_organization_id_fkey";
1994
- columns: ["organization_id"];
2011
+ foreignKeyName: 'deployments_organization_id_fkey';
2012
+ columns: ['organization_id'];
1995
2013
  isOneToOne: false;
1996
- referencedRelation: "organizations";
1997
- referencedColumns: ["id"];
2014
+ referencedRelation: 'organizations';
2015
+ referencedColumns: ['id'];
1998
2016
  }
1999
2017
  ];
2000
2018
  };
@@ -2049,25 +2067,25 @@ type Database = {
2049
2067
  };
2050
2068
  Relationships: [
2051
2069
  {
2052
- foreignKeyName: "execution_errors_execution_id_fkey";
2053
- columns: ["execution_id"];
2070
+ foreignKeyName: 'execution_errors_execution_id_fkey';
2071
+ columns: ['execution_id'];
2054
2072
  isOneToOne: false;
2055
- referencedRelation: "execution_logs";
2056
- referencedColumns: ["execution_id"];
2073
+ referencedRelation: 'execution_logs';
2074
+ referencedColumns: ['execution_id'];
2057
2075
  },
2058
2076
  {
2059
- foreignKeyName: "execution_errors_organization_id_fkey";
2060
- columns: ["organization_id"];
2077
+ foreignKeyName: 'execution_errors_organization_id_fkey';
2078
+ columns: ['organization_id'];
2061
2079
  isOneToOne: false;
2062
- referencedRelation: "organizations";
2063
- referencedColumns: ["id"];
2080
+ referencedRelation: 'organizations';
2081
+ referencedColumns: ['id'];
2064
2082
  },
2065
2083
  {
2066
- foreignKeyName: "execution_errors_resolved_by_fkey";
2067
- columns: ["resolved_by"];
2084
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
2085
+ columns: ['resolved_by'];
2068
2086
  isOneToOne: false;
2069
- referencedRelation: "users";
2070
- referencedColumns: ["id"];
2087
+ referencedRelation: 'users';
2088
+ referencedColumns: ['id'];
2071
2089
  }
2072
2090
  ];
2073
2091
  };
@@ -2149,32 +2167,32 @@ type Database = {
2149
2167
  };
2150
2168
  Relationships: [
2151
2169
  {
2152
- foreignKeyName: "execution_history_organization_id_fkey";
2153
- columns: ["organization_id"];
2170
+ foreignKeyName: 'execution_history_organization_id_fkey';
2171
+ columns: ['organization_id'];
2154
2172
  isOneToOne: false;
2155
- referencedRelation: "organizations";
2156
- referencedColumns: ["id"];
2173
+ referencedRelation: 'organizations';
2174
+ referencedColumns: ['id'];
2157
2175
  },
2158
2176
  {
2159
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2160
- columns: ["origin_execution_id"];
2177
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2178
+ columns: ['origin_execution_id'];
2161
2179
  isOneToOne: false;
2162
- referencedRelation: "execution_logs";
2163
- referencedColumns: ["execution_id"];
2180
+ referencedRelation: 'execution_logs';
2181
+ referencedColumns: ['execution_id'];
2164
2182
  },
2165
2183
  {
2166
- foreignKeyName: "execution_logs_session_id_fkey";
2167
- columns: ["session_id"];
2184
+ foreignKeyName: 'execution_logs_session_id_fkey';
2185
+ columns: ['session_id'];
2168
2186
  isOneToOne: false;
2169
- referencedRelation: "sessions";
2170
- referencedColumns: ["session_id"];
2187
+ referencedRelation: 'sessions';
2188
+ referencedColumns: ['session_id'];
2171
2189
  },
2172
2190
  {
2173
- foreignKeyName: "execution_logs_user_id_fkey";
2174
- columns: ["user_id"];
2191
+ foreignKeyName: 'execution_logs_user_id_fkey';
2192
+ columns: ['user_id'];
2175
2193
  isOneToOne: false;
2176
- referencedRelation: "users";
2177
- referencedColumns: ["id"];
2194
+ referencedRelation: 'users';
2195
+ referencedColumns: ['id'];
2178
2196
  }
2179
2197
  ];
2180
2198
  };
@@ -2220,18 +2238,18 @@ type Database = {
2220
2238
  };
2221
2239
  Relationships: [
2222
2240
  {
2223
- foreignKeyName: "execution_metrics_execution_id_fkey";
2224
- columns: ["execution_id"];
2241
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2242
+ columns: ['execution_id'];
2225
2243
  isOneToOne: true;
2226
- referencedRelation: "execution_logs";
2227
- referencedColumns: ["execution_id"];
2244
+ referencedRelation: 'execution_logs';
2245
+ referencedColumns: ['execution_id'];
2228
2246
  },
2229
2247
  {
2230
- foreignKeyName: "execution_metrics_organization_id_fkey";
2231
- columns: ["organization_id"];
2248
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2249
+ columns: ['organization_id'];
2232
2250
  isOneToOne: false;
2233
- referencedRelation: "organizations";
2234
- referencedColumns: ["id"];
2251
+ referencedRelation: 'organizations';
2252
+ referencedColumns: ['id'];
2235
2253
  }
2236
2254
  ];
2237
2255
  };
@@ -2274,18 +2292,18 @@ type Database = {
2274
2292
  };
2275
2293
  Relationships: [
2276
2294
  {
2277
- foreignKeyName: "notifications_organization_id_fkey";
2278
- columns: ["organization_id"];
2295
+ foreignKeyName: 'notifications_organization_id_fkey';
2296
+ columns: ['organization_id'];
2279
2297
  isOneToOne: false;
2280
- referencedRelation: "organizations";
2281
- referencedColumns: ["id"];
2298
+ referencedRelation: 'organizations';
2299
+ referencedColumns: ['id'];
2282
2300
  },
2283
2301
  {
2284
- foreignKeyName: "notifications_user_id_fkey";
2285
- columns: ["user_id"];
2302
+ foreignKeyName: 'notifications_user_id_fkey';
2303
+ columns: ['user_id'];
2286
2304
  isOneToOne: false;
2287
- referencedRelation: "users";
2288
- referencedColumns: ["id"];
2305
+ referencedRelation: 'users';
2306
+ referencedColumns: ['id'];
2289
2307
  }
2290
2308
  ];
2291
2309
  };
@@ -2340,18 +2358,18 @@ type Database = {
2340
2358
  };
2341
2359
  Relationships: [
2342
2360
  {
2343
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
2344
- columns: ["inviter_user_id"];
2361
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2362
+ columns: ['inviter_user_id'];
2345
2363
  isOneToOne: false;
2346
- referencedRelation: "users";
2347
- referencedColumns: ["id"];
2364
+ referencedRelation: 'users';
2365
+ referencedColumns: ['id'];
2348
2366
  },
2349
2367
  {
2350
- foreignKeyName: "org_invitations_organization_id_fkey";
2351
- columns: ["organization_id"];
2368
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2369
+ columns: ['organization_id'];
2352
2370
  isOneToOne: false;
2353
- referencedRelation: "organizations";
2354
- referencedColumns: ["id"];
2371
+ referencedRelation: 'organizations';
2372
+ referencedColumns: ['id'];
2355
2373
  }
2356
2374
  ];
2357
2375
  };
@@ -2391,18 +2409,18 @@ type Database = {
2391
2409
  };
2392
2410
  Relationships: [
2393
2411
  {
2394
- foreignKeyName: "org_memberships_organization_id_fkey";
2395
- columns: ["organization_id"];
2412
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2413
+ columns: ['organization_id'];
2396
2414
  isOneToOne: false;
2397
- referencedRelation: "organizations";
2398
- referencedColumns: ["id"];
2415
+ referencedRelation: 'organizations';
2416
+ referencedColumns: ['id'];
2399
2417
  },
2400
2418
  {
2401
- foreignKeyName: "org_memberships_user_id_fkey";
2402
- columns: ["user_id"];
2419
+ foreignKeyName: 'org_memberships_user_id_fkey';
2420
+ columns: ['user_id'];
2403
2421
  isOneToOne: false;
2404
- referencedRelation: "users";
2405
- referencedColumns: ["id"];
2422
+ referencedRelation: 'users';
2423
+ referencedColumns: ['id'];
2406
2424
  }
2407
2425
  ];
2408
2426
  };
@@ -2478,11 +2496,11 @@ type Database = {
2478
2496
  };
2479
2497
  Relationships: [
2480
2498
  {
2481
- foreignKeyName: "session_messages_session_id_fkey";
2482
- columns: ["session_id"];
2499
+ foreignKeyName: 'session_messages_session_id_fkey';
2500
+ columns: ['session_id'];
2483
2501
  isOneToOne: false;
2484
- referencedRelation: "sessions";
2485
- referencedColumns: ["session_id"];
2502
+ referencedRelation: 'sessions';
2503
+ referencedColumns: ['session_id'];
2486
2504
  }
2487
2505
  ];
2488
2506
  };
@@ -2537,18 +2555,18 @@ type Database = {
2537
2555
  };
2538
2556
  Relationships: [
2539
2557
  {
2540
- foreignKeyName: "fk_organization";
2541
- columns: ["organization_id"];
2558
+ foreignKeyName: 'fk_organization';
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
- foreignKeyName: "fk_user";
2548
- columns: ["user_id"];
2565
+ foreignKeyName: 'fk_user';
2566
+ columns: ['user_id'];
2549
2567
  isOneToOne: false;
2550
- referencedRelation: "users";
2551
- referencedColumns: ["id"];
2568
+ referencedRelation: 'users';
2569
+ referencedColumns: ['id'];
2552
2570
  }
2553
2571
  ];
2554
2572
  };
@@ -2624,11 +2642,11 @@ type Database = {
2624
2642
  };
2625
2643
  Relationships: [
2626
2644
  {
2627
- foreignKeyName: "task_schedules_organization_id_fkey";
2628
- columns: ["organization_id"];
2645
+ foreignKeyName: 'task_schedules_organization_id_fkey';
2646
+ columns: ['organization_id'];
2629
2647
  isOneToOne: false;
2630
- referencedRelation: "organizations";
2631
- referencedColumns: ["id"];
2648
+ referencedRelation: 'organizations';
2649
+ referencedColumns: ['id'];
2632
2650
  }
2633
2651
  ];
2634
2652
  };
@@ -2683,11 +2701,11 @@ type Database = {
2683
2701
  };
2684
2702
  Relationships: [
2685
2703
  {
2686
- foreignKeyName: "user_profiles_last_visited_org_fkey";
2687
- columns: ["last_visited_org"];
2704
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
2705
+ columns: ['last_visited_org'];
2688
2706
  isOneToOne: false;
2689
- referencedRelation: "organizations";
2690
- referencedColumns: ["id"];
2707
+ referencedRelation: 'organizations';
2708
+ referencedColumns: ['id'];
2691
2709
  }
2692
2710
  ];
2693
2711
  };
@@ -2733,11 +2751,11 @@ type Database = {
2733
2751
  };
2734
2752
  Relationships: [
2735
2753
  {
2736
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
2737
- columns: ["organization_id"];
2754
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
2755
+ columns: ['organization_id'];
2738
2756
  isOneToOne: false;
2739
- referencedRelation: "organizations";
2740
- referencedColumns: ["id"];
2757
+ referencedRelation: 'organizations';
2758
+ referencedColumns: ['id'];
2741
2759
  }
2742
2760
  ];
2743
2761
  };
@@ -2857,17 +2875,17 @@ type Database = {
2857
2875
  };
2858
2876
  };
2859
2877
  };
2860
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
2861
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
2862
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
2878
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
2879
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
2880
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
2863
2881
  schema: keyof DatabaseWithoutInternals;
2864
2882
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
2865
2883
  schema: keyof DatabaseWithoutInternals;
2866
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
2884
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
2867
2885
  schema: keyof DatabaseWithoutInternals;
2868
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
2886
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
2869
2887
  Row: infer R;
2870
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
2888
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
2871
2889
  Row: infer R;
2872
2890
  } ? R : never : never;
2873
2891