@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.
@@ -877,7 +877,7 @@ type Json = string | number | boolean | null | {
877
877
  } | Json[];
878
878
  type Database = {
879
879
  __InternalSupabase: {
880
- PostgrestVersion: "12.2.3 (519615d)";
880
+ PostgrestVersion: '12.2.3 (519615d)';
881
881
  };
882
882
  public: {
883
883
  Tables: {
@@ -956,11 +956,11 @@ type Database = {
956
956
  };
957
957
  Relationships: [
958
958
  {
959
- foreignKeyName: "acq_companies_organization_id_fkey";
960
- columns: ["organization_id"];
959
+ foreignKeyName: 'acq_companies_organization_id_fkey';
960
+ columns: ['organization_id'];
961
961
  isOneToOne: false;
962
- referencedRelation: "organizations";
963
- referencedColumns: ["id"];
962
+ referencedRelation: 'organizations';
963
+ referencedColumns: ['id'];
964
964
  }
965
965
  ];
966
966
  };
@@ -1045,18 +1045,18 @@ type Database = {
1045
1045
  };
1046
1046
  Relationships: [
1047
1047
  {
1048
- foreignKeyName: "acq_contacts_company_id_fkey";
1049
- columns: ["company_id"];
1048
+ foreignKeyName: 'acq_contacts_company_id_fkey';
1049
+ columns: ['company_id'];
1050
1050
  isOneToOne: false;
1051
- referencedRelation: "acq_companies";
1052
- referencedColumns: ["id"];
1051
+ referencedRelation: 'acq_companies';
1052
+ referencedColumns: ['id'];
1053
1053
  },
1054
1054
  {
1055
- foreignKeyName: "acq_contacts_organization_id_fkey";
1056
- columns: ["organization_id"];
1055
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
1056
+ columns: ['organization_id'];
1057
1057
  isOneToOne: false;
1058
- referencedRelation: "organizations";
1059
- referencedColumns: ["id"];
1058
+ referencedRelation: 'organizations';
1059
+ referencedColumns: ['id'];
1060
1060
  }
1061
1061
  ];
1062
1062
  };
@@ -1093,11 +1093,11 @@ type Database = {
1093
1093
  };
1094
1094
  Relationships: [
1095
1095
  {
1096
- foreignKeyName: "acq_content_organization_id_fkey";
1097
- columns: ["organization_id"];
1096
+ foreignKeyName: 'acq_content_organization_id_fkey';
1097
+ columns: ['organization_id'];
1098
1098
  isOneToOne: false;
1099
- referencedRelation: "organizations";
1100
- referencedColumns: ["id"];
1099
+ referencedRelation: 'organizations';
1100
+ referencedColumns: ['id'];
1101
1101
  }
1102
1102
  ];
1103
1103
  };
@@ -1161,18 +1161,18 @@ type Database = {
1161
1161
  };
1162
1162
  Relationships: [
1163
1163
  {
1164
- foreignKeyName: "acq_content_distributions_content_id_fkey";
1165
- columns: ["content_id"];
1164
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
1165
+ columns: ['content_id'];
1166
1166
  isOneToOne: false;
1167
- referencedRelation: "acq_content";
1168
- referencedColumns: ["id"];
1167
+ referencedRelation: 'acq_content';
1168
+ referencedColumns: ['id'];
1169
1169
  },
1170
1170
  {
1171
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
1172
- columns: ["organization_id"];
1171
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
1172
+ columns: ['organization_id'];
1173
1173
  isOneToOne: false;
1174
- referencedRelation: "organizations";
1175
- referencedColumns: ["id"];
1174
+ referencedRelation: 'organizations';
1175
+ referencedColumns: ['id'];
1176
1176
  }
1177
1177
  ];
1178
1178
  };
@@ -1284,25 +1284,25 @@ type Database = {
1284
1284
  };
1285
1285
  Relationships: [
1286
1286
  {
1287
- foreignKeyName: "acq_deals_contact_id_fkey";
1288
- columns: ["contact_id"];
1287
+ foreignKeyName: 'acq_deals_contact_id_fkey';
1288
+ columns: ['contact_id'];
1289
1289
  isOneToOne: false;
1290
- referencedRelation: "acq_contacts";
1291
- referencedColumns: ["id"];
1290
+ referencedRelation: 'acq_contacts';
1291
+ referencedColumns: ['id'];
1292
1292
  },
1293
1293
  {
1294
- foreignKeyName: "acq_deals_organization_id_fkey";
1295
- columns: ["organization_id"];
1294
+ foreignKeyName: 'acq_deals_organization_id_fkey';
1295
+ columns: ['organization_id'];
1296
1296
  isOneToOne: false;
1297
- referencedRelation: "organizations";
1298
- referencedColumns: ["id"];
1297
+ referencedRelation: 'organizations';
1298
+ referencedColumns: ['id'];
1299
1299
  },
1300
1300
  {
1301
- foreignKeyName: "acq_deals_source_list_id_fkey";
1302
- columns: ["source_list_id"];
1301
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
1302
+ columns: ['source_list_id'];
1303
1303
  isOneToOne: false;
1304
- referencedRelation: "acq_lists";
1305
- referencedColumns: ["id"];
1304
+ referencedRelation: 'acq_lists';
1305
+ referencedColumns: ['id'];
1306
1306
  }
1307
1307
  ];
1308
1308
  };
@@ -1330,18 +1330,18 @@ type Database = {
1330
1330
  };
1331
1331
  Relationships: [
1332
1332
  {
1333
- foreignKeyName: "acq_list_members_contact_id_fkey";
1334
- columns: ["contact_id"];
1333
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
1334
+ columns: ['contact_id'];
1335
1335
  isOneToOne: false;
1336
- referencedRelation: "acq_contacts";
1337
- referencedColumns: ["id"];
1336
+ referencedRelation: 'acq_contacts';
1337
+ referencedColumns: ['id'];
1338
1338
  },
1339
1339
  {
1340
- foreignKeyName: "acq_list_members_list_id_fkey";
1341
- columns: ["list_id"];
1340
+ foreignKeyName: 'acq_list_members_list_id_fkey';
1341
+ columns: ['list_id'];
1342
1342
  isOneToOne: false;
1343
- referencedRelation: "acq_lists";
1344
- referencedColumns: ["id"];
1343
+ referencedRelation: 'acq_lists';
1344
+ referencedColumns: ['id'];
1345
1345
  }
1346
1346
  ];
1347
1347
  };
@@ -1390,11 +1390,11 @@ type Database = {
1390
1390
  };
1391
1391
  Relationships: [
1392
1392
  {
1393
- foreignKeyName: "acq_lists_organization_id_fkey";
1394
- columns: ["organization_id"];
1393
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1394
+ columns: ['organization_id'];
1395
1395
  isOneToOne: false;
1396
- referencedRelation: "organizations";
1397
- referencedColumns: ["id"];
1396
+ referencedRelation: 'organizations';
1397
+ referencedColumns: ['id'];
1398
1398
  }
1399
1399
  ];
1400
1400
  };
@@ -1470,18 +1470,18 @@ type Database = {
1470
1470
  };
1471
1471
  Relationships: [
1472
1472
  {
1473
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
1474
- columns: ["organization_id"];
1473
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
1474
+ columns: ['organization_id'];
1475
1475
  isOneToOne: false;
1476
- referencedRelation: "organizations";
1477
- referencedColumns: ["id"];
1476
+ referencedRelation: 'organizations';
1477
+ referencedColumns: ['id'];
1478
1478
  },
1479
1479
  {
1480
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
1481
- columns: ["seo_page_id"];
1480
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1481
+ columns: ['seo_page_id'];
1482
1482
  isOneToOne: false;
1483
- referencedRelation: "acq_seo_pages";
1484
- referencedColumns: ["id"];
1483
+ referencedRelation: 'acq_seo_pages';
1484
+ referencedColumns: ['id'];
1485
1485
  }
1486
1486
  ];
1487
1487
  };
@@ -1557,11 +1557,11 @@ type Database = {
1557
1557
  };
1558
1558
  Relationships: [
1559
1559
  {
1560
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
1561
- columns: ["organization_id"];
1560
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1561
+ columns: ['organization_id'];
1562
1562
  isOneToOne: false;
1563
- referencedRelation: "organizations";
1564
- referencedColumns: ["id"];
1563
+ referencedRelation: 'organizations';
1564
+ referencedColumns: ['id'];
1565
1565
  }
1566
1566
  ];
1567
1567
  };
@@ -1658,11 +1658,11 @@ type Database = {
1658
1658
  };
1659
1659
  Relationships: [
1660
1660
  {
1661
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1662
- columns: ["organization_id"];
1661
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1662
+ columns: ['organization_id'];
1663
1663
  isOneToOne: false;
1664
- referencedRelation: "organizations";
1665
- referencedColumns: ["id"];
1664
+ referencedRelation: 'organizations';
1665
+ referencedColumns: ['id'];
1666
1666
  }
1667
1667
  ];
1668
1668
  };
@@ -1717,11 +1717,11 @@ type Database = {
1717
1717
  };
1718
1718
  Relationships: [
1719
1719
  {
1720
- foreignKeyName: "activities_organization_id_fkey";
1721
- columns: ["organization_id"];
1720
+ foreignKeyName: 'activities_organization_id_fkey';
1721
+ columns: ['organization_id'];
1722
1722
  isOneToOne: false;
1723
- referencedRelation: "organizations";
1724
- referencedColumns: ["id"];
1723
+ referencedRelation: 'organizations';
1724
+ referencedColumns: ['id'];
1725
1725
  }
1726
1726
  ];
1727
1727
  };
@@ -1752,11 +1752,11 @@ type Database = {
1752
1752
  };
1753
1753
  Relationships: [
1754
1754
  {
1755
- foreignKeyName: "api_keys_organization_id_fkey";
1756
- columns: ["organization_id"];
1755
+ foreignKeyName: 'api_keys_organization_id_fkey';
1756
+ columns: ['organization_id'];
1757
1757
  isOneToOne: false;
1758
- referencedRelation: "organizations";
1759
- referencedColumns: ["id"];
1758
+ referencedRelation: 'organizations';
1759
+ referencedColumns: ['id'];
1760
1760
  }
1761
1761
  ];
1762
1762
  };
@@ -1793,11 +1793,11 @@ type Database = {
1793
1793
  };
1794
1794
  Relationships: [
1795
1795
  {
1796
- foreignKeyName: "calibration_projects_organization_id_fkey";
1797
- columns: ["organization_id"];
1796
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
1797
+ columns: ['organization_id'];
1798
1798
  isOneToOne: false;
1799
- referencedRelation: "organizations";
1800
- referencedColumns: ["id"];
1799
+ referencedRelation: 'organizations';
1800
+ referencedColumns: ['id'];
1801
1801
  }
1802
1802
  ];
1803
1803
  };
@@ -1852,18 +1852,18 @@ type Database = {
1852
1852
  };
1853
1853
  Relationships: [
1854
1854
  {
1855
- foreignKeyName: "calibration_runs_organization_id_fkey";
1856
- columns: ["organization_id"];
1855
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
1856
+ columns: ['organization_id'];
1857
1857
  isOneToOne: false;
1858
- referencedRelation: "organizations";
1859
- referencedColumns: ["id"];
1858
+ referencedRelation: 'organizations';
1859
+ referencedColumns: ['id'];
1860
1860
  },
1861
1861
  {
1862
- foreignKeyName: "calibration_runs_project_id_fkey";
1863
- columns: ["project_id"];
1862
+ foreignKeyName: 'calibration_runs_project_id_fkey';
1863
+ columns: ['project_id'];
1864
1864
  isOneToOne: false;
1865
- referencedRelation: "calibration_projects";
1866
- referencedColumns: ["id"];
1865
+ referencedRelation: 'calibration_projects';
1866
+ referencedColumns: ['id'];
1867
1867
  }
1868
1868
  ];
1869
1869
  };
@@ -1942,25 +1942,25 @@ type Database = {
1942
1942
  };
1943
1943
  Relationships: [
1944
1944
  {
1945
- foreignKeyName: "command_queue_completed_by_fkey";
1946
- columns: ["completed_by"];
1945
+ foreignKeyName: 'command_queue_completed_by_fkey';
1946
+ columns: ['completed_by'];
1947
1947
  isOneToOne: false;
1948
- referencedRelation: "users";
1949
- referencedColumns: ["id"];
1948
+ referencedRelation: 'users';
1949
+ referencedColumns: ['id'];
1950
1950
  },
1951
1951
  {
1952
- foreignKeyName: "command_queue_organization_id_fkey";
1953
- columns: ["organization_id"];
1952
+ foreignKeyName: 'command_queue_organization_id_fkey';
1953
+ columns: ['organization_id'];
1954
1954
  isOneToOne: false;
1955
- referencedRelation: "organizations";
1956
- referencedColumns: ["id"];
1955
+ referencedRelation: 'organizations';
1956
+ referencedColumns: ['id'];
1957
1957
  },
1958
1958
  {
1959
- foreignKeyName: "command_queue_target_execution_id_fkey";
1960
- columns: ["target_execution_id"];
1959
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1960
+ columns: ['target_execution_id'];
1961
1961
  isOneToOne: false;
1962
- referencedRelation: "execution_logs";
1963
- referencedColumns: ["execution_id"];
1962
+ referencedRelation: 'execution_logs';
1963
+ referencedColumns: ['execution_id'];
1964
1964
  }
1965
1965
  ];
1966
1966
  };
@@ -2000,95 +2000,104 @@ type Database = {
2000
2000
  };
2001
2001
  Relationships: [
2002
2002
  {
2003
- foreignKeyName: "credentials_created_by_fkey";
2004
- columns: ["created_by"];
2003
+ foreignKeyName: 'credentials_created_by_fkey';
2004
+ columns: ['created_by'];
2005
2005
  isOneToOne: false;
2006
- referencedRelation: "users";
2007
- referencedColumns: ["id"];
2006
+ referencedRelation: 'users';
2007
+ referencedColumns: ['id'];
2008
2008
  },
2009
2009
  {
2010
- foreignKeyName: "credentials_organization_id_fkey";
2011
- columns: ["organization_id"];
2010
+ foreignKeyName: 'credentials_organization_id_fkey';
2011
+ columns: ['organization_id'];
2012
2012
  isOneToOne: false;
2013
- referencedRelation: "organizations";
2014
- referencedColumns: ["id"];
2013
+ referencedRelation: 'organizations';
2014
+ referencedColumns: ['id'];
2015
2015
  }
2016
2016
  ];
2017
2017
  };
2018
- delivery_deliverables: {
2018
+ prj_tasks: {
2019
2019
  Row: {
2020
+ checklist: Json | null;
2020
2021
  completed_at: string | null;
2021
2022
  created_at: string;
2022
2023
  description: string | null;
2023
2024
  due_date: string | null;
2024
- engagement_id: string;
2025
2025
  file_url: string | null;
2026
2026
  id: string;
2027
2027
  metadata: Json | null;
2028
2028
  milestone_id: string | null;
2029
2029
  name: string;
2030
2030
  organization_id: string;
2031
+ parent_task_id: string | null;
2032
+ project_id: string;
2033
+ resume_context: Json | null;
2031
2034
  status: string;
2032
2035
  type: string;
2033
2036
  updated_at: string;
2034
2037
  };
2035
2038
  Insert: {
2039
+ checklist?: Json | null;
2036
2040
  completed_at?: string | null;
2037
2041
  created_at?: string;
2038
2042
  description?: string | null;
2039
2043
  due_date?: string | null;
2040
- engagement_id: string;
2041
2044
  file_url?: string | null;
2042
2045
  id?: string;
2043
2046
  metadata?: Json | null;
2044
2047
  milestone_id?: string | null;
2045
2048
  name: string;
2046
2049
  organization_id: string;
2050
+ parent_task_id?: string | null;
2051
+ project_id: string;
2052
+ resume_context?: Json | null;
2047
2053
  status?: string;
2048
2054
  type?: string;
2049
2055
  updated_at?: string;
2050
2056
  };
2051
2057
  Update: {
2058
+ checklist?: Json | null;
2052
2059
  completed_at?: string | null;
2053
2060
  created_at?: string;
2054
2061
  description?: string | null;
2055
2062
  due_date?: string | null;
2056
- engagement_id?: string;
2057
2063
  file_url?: string | null;
2058
2064
  id?: string;
2059
2065
  metadata?: Json | null;
2060
2066
  milestone_id?: string | null;
2061
2067
  name?: string;
2062
2068
  organization_id?: string;
2069
+ parent_task_id?: string | null;
2070
+ project_id?: string;
2071
+ resume_context?: Json | null;
2063
2072
  status?: string;
2064
2073
  type?: string;
2065
2074
  updated_at?: string;
2066
2075
  };
2067
2076
  Relationships: [
2068
2077
  {
2069
- foreignKeyName: "delivery_deliverables_engagement_id_fkey";
2070
- columns: ["engagement_id"];
2078
+ foreignKeyName: 'prj_tasks_project_id_fkey';
2079
+ columns: ['project_id'];
2071
2080
  isOneToOne: false;
2072
- referencedRelation: "delivery_engagements";
2073
- referencedColumns: ["id"];
2081
+ referencedRelation: 'prj_projects';
2082
+ referencedColumns: ['id'];
2074
2083
  },
2075
2084
  {
2076
- foreignKeyName: "delivery_deliverables_milestone_id_fkey";
2077
- columns: ["milestone_id"];
2085
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
2086
+ columns: ['milestone_id'];
2078
2087
  isOneToOne: false;
2079
- referencedRelation: "delivery_milestones";
2080
- referencedColumns: ["id"];
2088
+ referencedRelation: 'prj_milestones';
2089
+ referencedColumns: ['id'];
2081
2090
  },
2082
2091
  {
2083
- foreignKeyName: "delivery_deliverables_organization_id_fkey";
2084
- columns: ["organization_id"];
2092
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
2093
+ columns: ['organization_id'];
2085
2094
  isOneToOne: false;
2086
- referencedRelation: "organizations";
2087
- referencedColumns: ["id"];
2095
+ referencedRelation: 'organizations';
2096
+ referencedColumns: ['id'];
2088
2097
  }
2089
2098
  ];
2090
2099
  };
2091
- delivery_engagements: {
2100
+ prj_projects: {
2092
2101
  Row: {
2093
2102
  actual_end_date: string | null;
2094
2103
  client_company_id: string | null;
@@ -2097,6 +2106,7 @@ type Database = {
2097
2106
  deal_id: string | null;
2098
2107
  description: string | null;
2099
2108
  id: string;
2109
+ kind: string;
2100
2110
  metadata: Json | null;
2101
2111
  name: string;
2102
2112
  organization_id: string;
@@ -2113,6 +2123,7 @@ type Database = {
2113
2123
  deal_id?: string | null;
2114
2124
  description?: string | null;
2115
2125
  id?: string;
2126
+ kind?: string;
2116
2127
  metadata?: Json | null;
2117
2128
  name: string;
2118
2129
  organization_id: string;
@@ -2129,6 +2140,7 @@ type Database = {
2129
2140
  deal_id?: string | null;
2130
2141
  description?: string | null;
2131
2142
  id?: string;
2143
+ kind?: string;
2132
2144
  metadata?: Json | null;
2133
2145
  name?: string;
2134
2146
  organization_id?: string;
@@ -2139,40 +2151,40 @@ type Database = {
2139
2151
  };
2140
2152
  Relationships: [
2141
2153
  {
2142
- foreignKeyName: "delivery_engagements_client_company_id_fkey";
2143
- columns: ["client_company_id"];
2154
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
2155
+ columns: ['client_company_id'];
2144
2156
  isOneToOne: false;
2145
- referencedRelation: "acq_companies";
2146
- referencedColumns: ["id"];
2157
+ referencedRelation: 'acq_companies';
2158
+ referencedColumns: ['id'];
2147
2159
  },
2148
2160
  {
2149
- foreignKeyName: "delivery_engagements_deal_id_fkey";
2150
- columns: ["deal_id"];
2161
+ foreignKeyName: 'prj_projects_deal_id_fkey';
2162
+ columns: ['deal_id'];
2151
2163
  isOneToOne: false;
2152
- referencedRelation: "acq_deals";
2153
- referencedColumns: ["id"];
2164
+ referencedRelation: 'acq_deals';
2165
+ referencedColumns: ['id'];
2154
2166
  },
2155
2167
  {
2156
- foreignKeyName: "delivery_engagements_organization_id_fkey";
2157
- columns: ["organization_id"];
2168
+ foreignKeyName: 'prj_projects_organization_id_fkey';
2169
+ columns: ['organization_id'];
2158
2170
  isOneToOne: false;
2159
- referencedRelation: "organizations";
2160
- referencedColumns: ["id"];
2171
+ referencedRelation: 'organizations';
2172
+ referencedColumns: ['id'];
2161
2173
  }
2162
2174
  ];
2163
2175
  };
2164
- delivery_milestones: {
2176
+ prj_milestones: {
2165
2177
  Row: {
2166
2178
  checklist: Json | null;
2167
2179
  completed_at: string | null;
2168
2180
  created_at: string;
2169
2181
  description: string | null;
2170
2182
  due_date: string | null;
2171
- engagement_id: string;
2172
2183
  id: string;
2173
2184
  metadata: Json | null;
2174
2185
  name: string;
2175
2186
  organization_id: string;
2187
+ project_id: string;
2176
2188
  sequence: number;
2177
2189
  status: string;
2178
2190
  updated_at: string;
@@ -2183,11 +2195,11 @@ type Database = {
2183
2195
  created_at?: string;
2184
2196
  description?: string | null;
2185
2197
  due_date?: string | null;
2186
- engagement_id: string;
2187
2198
  id?: string;
2188
2199
  metadata?: Json | null;
2189
2200
  name: string;
2190
2201
  organization_id: string;
2202
+ project_id: string;
2191
2203
  sequence?: number;
2192
2204
  status?: string;
2193
2205
  updated_at?: string;
@@ -2198,90 +2210,96 @@ type Database = {
2198
2210
  created_at?: string;
2199
2211
  description?: string | null;
2200
2212
  due_date?: string | null;
2201
- engagement_id?: string;
2202
2213
  id?: string;
2203
2214
  metadata?: Json | null;
2204
2215
  name?: string;
2205
2216
  organization_id?: string;
2217
+ project_id?: string;
2206
2218
  sequence?: number;
2207
2219
  status?: string;
2208
2220
  updated_at?: string;
2209
2221
  };
2210
2222
  Relationships: [
2211
2223
  {
2212
- foreignKeyName: "delivery_milestones_engagement_id_fkey";
2213
- columns: ["engagement_id"];
2224
+ foreignKeyName: 'prj_milestones_project_id_fkey';
2225
+ columns: ['project_id'];
2214
2226
  isOneToOne: false;
2215
- referencedRelation: "delivery_engagements";
2216
- referencedColumns: ["id"];
2227
+ referencedRelation: 'prj_projects';
2228
+ referencedColumns: ['id'];
2217
2229
  },
2218
2230
  {
2219
- foreignKeyName: "delivery_milestones_organization_id_fkey";
2220
- columns: ["organization_id"];
2231
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
2232
+ columns: ['organization_id'];
2221
2233
  isOneToOne: false;
2222
- referencedRelation: "organizations";
2223
- referencedColumns: ["id"];
2234
+ referencedRelation: 'organizations';
2235
+ referencedColumns: ['id'];
2224
2236
  }
2225
2237
  ];
2226
2238
  };
2227
- delivery_notes: {
2239
+ prj_notes: {
2228
2240
  Row: {
2229
2241
  content: string;
2230
2242
  created_at: string;
2231
2243
  created_by: string | null;
2232
- engagement_id: string;
2233
2244
  id: string;
2234
2245
  metadata: Json | null;
2246
+ milestone_id: string | null;
2235
2247
  occurred_at: string;
2236
2248
  organization_id: string;
2249
+ project_id: string;
2237
2250
  summary: string | null;
2251
+ task_id: string | null;
2238
2252
  type: string;
2239
2253
  };
2240
2254
  Insert: {
2241
2255
  content: string;
2242
2256
  created_at?: string;
2243
2257
  created_by?: string | null;
2244
- engagement_id: string;
2245
2258
  id?: string;
2246
2259
  metadata?: Json | null;
2260
+ milestone_id?: string | null;
2247
2261
  occurred_at?: string;
2248
2262
  organization_id: string;
2263
+ project_id: string;
2249
2264
  summary?: string | null;
2265
+ task_id?: string | null;
2250
2266
  type?: string;
2251
2267
  };
2252
2268
  Update: {
2253
2269
  content?: string;
2254
2270
  created_at?: string;
2255
2271
  created_by?: string | null;
2256
- engagement_id?: string;
2257
2272
  id?: string;
2258
2273
  metadata?: Json | null;
2274
+ milestone_id?: string | null;
2259
2275
  occurred_at?: string;
2260
2276
  organization_id?: string;
2277
+ project_id?: string;
2261
2278
  summary?: string | null;
2279
+ task_id?: string | null;
2262
2280
  type?: string;
2263
2281
  };
2264
2282
  Relationships: [
2265
2283
  {
2266
- foreignKeyName: "delivery_notes_created_by_fkey";
2267
- columns: ["created_by"];
2284
+ foreignKeyName: 'prj_notes_created_by_fkey';
2285
+ columns: ['created_by'];
2268
2286
  isOneToOne: false;
2269
- referencedRelation: "users";
2270
- referencedColumns: ["id"];
2287
+ referencedRelation: 'users';
2288
+ referencedColumns: ['id'];
2271
2289
  },
2272
2290
  {
2273
- foreignKeyName: "delivery_notes_engagement_id_fkey";
2274
- columns: ["engagement_id"];
2291
+ foreignKeyName: 'prj_notes_project_id_fkey';
2292
+ columns: ['project_id'];
2275
2293
  isOneToOne: false;
2276
- referencedRelation: "delivery_engagements";
2277
- referencedColumns: ["id"];
2294
+ referencedRelation: 'prj_projects';
2295
+ referencedColumns: ['id'];
2278
2296
  },
2279
2297
  {
2280
- foreignKeyName: "delivery_notes_organization_id_fkey";
2281
- columns: ["organization_id"];
2298
+ foreignKeyName: 'prj_notes_organization_id_fkey';
2299
+ columns: ['organization_id'];
2282
2300
  isOneToOne: false;
2283
- referencedRelation: "organizations";
2284
- referencedColumns: ["id"];
2301
+ referencedRelation: 'organizations';
2302
+ referencedColumns: ['id'];
2285
2303
  }
2286
2304
  ];
2287
2305
  };
@@ -2333,11 +2351,11 @@ type Database = {
2333
2351
  };
2334
2352
  Relationships: [
2335
2353
  {
2336
- foreignKeyName: "deployments_organization_id_fkey";
2337
- columns: ["organization_id"];
2354
+ foreignKeyName: 'deployments_organization_id_fkey';
2355
+ columns: ['organization_id'];
2338
2356
  isOneToOne: false;
2339
- referencedRelation: "organizations";
2340
- referencedColumns: ["id"];
2357
+ referencedRelation: 'organizations';
2358
+ referencedColumns: ['id'];
2341
2359
  }
2342
2360
  ];
2343
2361
  };
@@ -2392,25 +2410,25 @@ type Database = {
2392
2410
  };
2393
2411
  Relationships: [
2394
2412
  {
2395
- foreignKeyName: "execution_errors_execution_id_fkey";
2396
- columns: ["execution_id"];
2413
+ foreignKeyName: 'execution_errors_execution_id_fkey';
2414
+ columns: ['execution_id'];
2397
2415
  isOneToOne: false;
2398
- referencedRelation: "execution_logs";
2399
- referencedColumns: ["execution_id"];
2416
+ referencedRelation: 'execution_logs';
2417
+ referencedColumns: ['execution_id'];
2400
2418
  },
2401
2419
  {
2402
- foreignKeyName: "execution_errors_organization_id_fkey";
2403
- columns: ["organization_id"];
2420
+ foreignKeyName: 'execution_errors_organization_id_fkey';
2421
+ columns: ['organization_id'];
2404
2422
  isOneToOne: false;
2405
- referencedRelation: "organizations";
2406
- referencedColumns: ["id"];
2423
+ referencedRelation: 'organizations';
2424
+ referencedColumns: ['id'];
2407
2425
  },
2408
2426
  {
2409
- foreignKeyName: "execution_errors_resolved_by_fkey";
2410
- columns: ["resolved_by"];
2427
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
2428
+ columns: ['resolved_by'];
2411
2429
  isOneToOne: false;
2412
- referencedRelation: "users";
2413
- referencedColumns: ["id"];
2430
+ referencedRelation: 'users';
2431
+ referencedColumns: ['id'];
2414
2432
  }
2415
2433
  ];
2416
2434
  };
@@ -2492,32 +2510,32 @@ type Database = {
2492
2510
  };
2493
2511
  Relationships: [
2494
2512
  {
2495
- foreignKeyName: "execution_history_organization_id_fkey";
2496
- columns: ["organization_id"];
2513
+ foreignKeyName: 'execution_history_organization_id_fkey';
2514
+ columns: ['organization_id'];
2497
2515
  isOneToOne: false;
2498
- referencedRelation: "organizations";
2499
- referencedColumns: ["id"];
2516
+ referencedRelation: 'organizations';
2517
+ referencedColumns: ['id'];
2500
2518
  },
2501
2519
  {
2502
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2503
- columns: ["origin_execution_id"];
2520
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2521
+ columns: ['origin_execution_id'];
2504
2522
  isOneToOne: false;
2505
- referencedRelation: "execution_logs";
2506
- referencedColumns: ["execution_id"];
2523
+ referencedRelation: 'execution_logs';
2524
+ referencedColumns: ['execution_id'];
2507
2525
  },
2508
2526
  {
2509
- foreignKeyName: "execution_logs_session_id_fkey";
2510
- columns: ["session_id"];
2527
+ foreignKeyName: 'execution_logs_session_id_fkey';
2528
+ columns: ['session_id'];
2511
2529
  isOneToOne: false;
2512
- referencedRelation: "sessions";
2513
- referencedColumns: ["session_id"];
2530
+ referencedRelation: 'sessions';
2531
+ referencedColumns: ['session_id'];
2514
2532
  },
2515
2533
  {
2516
- foreignKeyName: "execution_logs_user_id_fkey";
2517
- columns: ["user_id"];
2534
+ foreignKeyName: 'execution_logs_user_id_fkey';
2535
+ columns: ['user_id'];
2518
2536
  isOneToOne: false;
2519
- referencedRelation: "users";
2520
- referencedColumns: ["id"];
2537
+ referencedRelation: 'users';
2538
+ referencedColumns: ['id'];
2521
2539
  }
2522
2540
  ];
2523
2541
  };
@@ -2563,18 +2581,18 @@ type Database = {
2563
2581
  };
2564
2582
  Relationships: [
2565
2583
  {
2566
- foreignKeyName: "execution_metrics_execution_id_fkey";
2567
- columns: ["execution_id"];
2584
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2585
+ columns: ['execution_id'];
2568
2586
  isOneToOne: true;
2569
- referencedRelation: "execution_logs";
2570
- referencedColumns: ["execution_id"];
2587
+ referencedRelation: 'execution_logs';
2588
+ referencedColumns: ['execution_id'];
2571
2589
  },
2572
2590
  {
2573
- foreignKeyName: "execution_metrics_organization_id_fkey";
2574
- columns: ["organization_id"];
2591
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2592
+ columns: ['organization_id'];
2575
2593
  isOneToOne: false;
2576
- referencedRelation: "organizations";
2577
- referencedColumns: ["id"];
2594
+ referencedRelation: 'organizations';
2595
+ referencedColumns: ['id'];
2578
2596
  }
2579
2597
  ];
2580
2598
  };
@@ -2617,18 +2635,18 @@ type Database = {
2617
2635
  };
2618
2636
  Relationships: [
2619
2637
  {
2620
- foreignKeyName: "notifications_organization_id_fkey";
2621
- columns: ["organization_id"];
2638
+ foreignKeyName: 'notifications_organization_id_fkey';
2639
+ columns: ['organization_id'];
2622
2640
  isOneToOne: false;
2623
- referencedRelation: "organizations";
2624
- referencedColumns: ["id"];
2641
+ referencedRelation: 'organizations';
2642
+ referencedColumns: ['id'];
2625
2643
  },
2626
2644
  {
2627
- foreignKeyName: "notifications_user_id_fkey";
2628
- columns: ["user_id"];
2645
+ foreignKeyName: 'notifications_user_id_fkey';
2646
+ columns: ['user_id'];
2629
2647
  isOneToOne: false;
2630
- referencedRelation: "users";
2631
- referencedColumns: ["id"];
2648
+ referencedRelation: 'users';
2649
+ referencedColumns: ['id'];
2632
2650
  }
2633
2651
  ];
2634
2652
  };
@@ -2683,18 +2701,18 @@ type Database = {
2683
2701
  };
2684
2702
  Relationships: [
2685
2703
  {
2686
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
2687
- columns: ["inviter_user_id"];
2704
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2705
+ columns: ['inviter_user_id'];
2688
2706
  isOneToOne: false;
2689
- referencedRelation: "users";
2690
- referencedColumns: ["id"];
2707
+ referencedRelation: 'users';
2708
+ referencedColumns: ['id'];
2691
2709
  },
2692
2710
  {
2693
- foreignKeyName: "org_invitations_organization_id_fkey";
2694
- columns: ["organization_id"];
2711
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2712
+ columns: ['organization_id'];
2695
2713
  isOneToOne: false;
2696
- referencedRelation: "organizations";
2697
- referencedColumns: ["id"];
2714
+ referencedRelation: 'organizations';
2715
+ referencedColumns: ['id'];
2698
2716
  }
2699
2717
  ];
2700
2718
  };
@@ -2734,18 +2752,18 @@ type Database = {
2734
2752
  };
2735
2753
  Relationships: [
2736
2754
  {
2737
- foreignKeyName: "org_memberships_organization_id_fkey";
2738
- columns: ["organization_id"];
2755
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2756
+ columns: ['organization_id'];
2739
2757
  isOneToOne: false;
2740
- referencedRelation: "organizations";
2741
- referencedColumns: ["id"];
2758
+ referencedRelation: 'organizations';
2759
+ referencedColumns: ['id'];
2742
2760
  },
2743
2761
  {
2744
- foreignKeyName: "org_memberships_user_id_fkey";
2745
- columns: ["user_id"];
2762
+ foreignKeyName: 'org_memberships_user_id_fkey';
2763
+ columns: ['user_id'];
2746
2764
  isOneToOne: false;
2747
- referencedRelation: "users";
2748
- referencedColumns: ["id"];
2765
+ referencedRelation: 'users';
2766
+ referencedColumns: ['id'];
2749
2767
  }
2750
2768
  ];
2751
2769
  };
@@ -2821,11 +2839,11 @@ type Database = {
2821
2839
  };
2822
2840
  Relationships: [
2823
2841
  {
2824
- foreignKeyName: "session_messages_session_id_fkey";
2825
- columns: ["session_id"];
2842
+ foreignKeyName: 'session_messages_session_id_fkey';
2843
+ columns: ['session_id'];
2826
2844
  isOneToOne: false;
2827
- referencedRelation: "sessions";
2828
- referencedColumns: ["session_id"];
2845
+ referencedRelation: 'sessions';
2846
+ referencedColumns: ['session_id'];
2829
2847
  }
2830
2848
  ];
2831
2849
  };
@@ -2880,18 +2898,18 @@ type Database = {
2880
2898
  };
2881
2899
  Relationships: [
2882
2900
  {
2883
- foreignKeyName: "fk_organization";
2884
- columns: ["organization_id"];
2901
+ foreignKeyName: 'fk_organization';
2902
+ columns: ['organization_id'];
2885
2903
  isOneToOne: false;
2886
- referencedRelation: "organizations";
2887
- referencedColumns: ["id"];
2904
+ referencedRelation: 'organizations';
2905
+ referencedColumns: ['id'];
2888
2906
  },
2889
2907
  {
2890
- foreignKeyName: "fk_user";
2891
- columns: ["user_id"];
2908
+ foreignKeyName: 'fk_user';
2909
+ columns: ['user_id'];
2892
2910
  isOneToOne: false;
2893
- referencedRelation: "users";
2894
- referencedColumns: ["id"];
2911
+ referencedRelation: 'users';
2912
+ referencedColumns: ['id'];
2895
2913
  }
2896
2914
  ];
2897
2915
  };
@@ -2967,11 +2985,11 @@ type Database = {
2967
2985
  };
2968
2986
  Relationships: [
2969
2987
  {
2970
- foreignKeyName: "task_schedules_organization_id_fkey";
2971
- columns: ["organization_id"];
2988
+ foreignKeyName: 'task_schedules_organization_id_fkey';
2989
+ columns: ['organization_id'];
2972
2990
  isOneToOne: false;
2973
- referencedRelation: "organizations";
2974
- referencedColumns: ["id"];
2991
+ referencedRelation: 'organizations';
2992
+ referencedColumns: ['id'];
2975
2993
  }
2976
2994
  ];
2977
2995
  };
@@ -3026,11 +3044,11 @@ type Database = {
3026
3044
  };
3027
3045
  Relationships: [
3028
3046
  {
3029
- foreignKeyName: "user_profiles_last_visited_org_fkey";
3030
- columns: ["last_visited_org"];
3047
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
3048
+ columns: ['last_visited_org'];
3031
3049
  isOneToOne: false;
3032
- referencedRelation: "organizations";
3033
- referencedColumns: ["id"];
3050
+ referencedRelation: 'organizations';
3051
+ referencedColumns: ['id'];
3034
3052
  }
3035
3053
  ];
3036
3054
  };
@@ -3076,11 +3094,11 @@ type Database = {
3076
3094
  };
3077
3095
  Relationships: [
3078
3096
  {
3079
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
3080
- columns: ["organization_id"];
3097
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
3098
+ columns: ['organization_id'];
3081
3099
  isOneToOne: false;
3082
- referencedRelation: "organizations";
3083
- referencedColumns: ["id"];
3100
+ referencedRelation: 'organizations';
3101
+ referencedColumns: ['id'];
3084
3102
  }
3085
3103
  ];
3086
3104
  };
@@ -3200,17 +3218,17 @@ type Database = {
3200
3218
  };
3201
3219
  };
3202
3220
  };
3203
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
3204
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3205
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
3221
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
3222
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
3223
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
3206
3224
  schema: keyof DatabaseWithoutInternals;
3207
3225
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
3208
3226
  schema: keyof DatabaseWithoutInternals;
3209
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
3227
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
3210
3228
  schema: keyof DatabaseWithoutInternals;
3211
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
3229
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
3212
3230
  Row: infer R;
3213
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
3231
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
3214
3232
  Row: infer R;
3215
3233
  } ? R : never : never;
3216
3234