@elevasis/ui 1.14.3 → 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.
package/dist/index.d.ts CHANGED
@@ -926,7 +926,7 @@ type Json = string | number | boolean | null | {
926
926
  } | Json[];
927
927
  type Database = {
928
928
  __InternalSupabase: {
929
- PostgrestVersion: "12.2.3 (519615d)";
929
+ PostgrestVersion: '12.2.3 (519615d)';
930
930
  };
931
931
  public: {
932
932
  Tables: {
@@ -1005,11 +1005,11 @@ type Database = {
1005
1005
  };
1006
1006
  Relationships: [
1007
1007
  {
1008
- foreignKeyName: "acq_companies_organization_id_fkey";
1009
- columns: ["organization_id"];
1008
+ foreignKeyName: 'acq_companies_organization_id_fkey';
1009
+ columns: ['organization_id'];
1010
1010
  isOneToOne: false;
1011
- referencedRelation: "organizations";
1012
- referencedColumns: ["id"];
1011
+ referencedRelation: 'organizations';
1012
+ referencedColumns: ['id'];
1013
1013
  }
1014
1014
  ];
1015
1015
  };
@@ -1094,18 +1094,18 @@ type Database = {
1094
1094
  };
1095
1095
  Relationships: [
1096
1096
  {
1097
- foreignKeyName: "acq_contacts_company_id_fkey";
1098
- columns: ["company_id"];
1097
+ foreignKeyName: 'acq_contacts_company_id_fkey';
1098
+ columns: ['company_id'];
1099
1099
  isOneToOne: false;
1100
- referencedRelation: "acq_companies";
1101
- referencedColumns: ["id"];
1100
+ referencedRelation: 'acq_companies';
1101
+ referencedColumns: ['id'];
1102
1102
  },
1103
1103
  {
1104
- foreignKeyName: "acq_contacts_organization_id_fkey";
1105
- columns: ["organization_id"];
1104
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
1105
+ columns: ['organization_id'];
1106
1106
  isOneToOne: false;
1107
- referencedRelation: "organizations";
1108
- referencedColumns: ["id"];
1107
+ referencedRelation: 'organizations';
1108
+ referencedColumns: ['id'];
1109
1109
  }
1110
1110
  ];
1111
1111
  };
@@ -1142,11 +1142,11 @@ type Database = {
1142
1142
  };
1143
1143
  Relationships: [
1144
1144
  {
1145
- foreignKeyName: "acq_content_organization_id_fkey";
1146
- columns: ["organization_id"];
1145
+ foreignKeyName: 'acq_content_organization_id_fkey';
1146
+ columns: ['organization_id'];
1147
1147
  isOneToOne: false;
1148
- referencedRelation: "organizations";
1149
- referencedColumns: ["id"];
1148
+ referencedRelation: 'organizations';
1149
+ referencedColumns: ['id'];
1150
1150
  }
1151
1151
  ];
1152
1152
  };
@@ -1210,18 +1210,18 @@ type Database = {
1210
1210
  };
1211
1211
  Relationships: [
1212
1212
  {
1213
- foreignKeyName: "acq_content_distributions_content_id_fkey";
1214
- columns: ["content_id"];
1213
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
1214
+ columns: ['content_id'];
1215
1215
  isOneToOne: false;
1216
- referencedRelation: "acq_content";
1217
- referencedColumns: ["id"];
1216
+ referencedRelation: 'acq_content';
1217
+ referencedColumns: ['id'];
1218
1218
  },
1219
1219
  {
1220
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
1221
- columns: ["organization_id"];
1220
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
1221
+ columns: ['organization_id'];
1222
1222
  isOneToOne: false;
1223
- referencedRelation: "organizations";
1224
- referencedColumns: ["id"];
1223
+ referencedRelation: 'organizations';
1224
+ referencedColumns: ['id'];
1225
1225
  }
1226
1226
  ];
1227
1227
  };
@@ -1333,25 +1333,25 @@ type Database = {
1333
1333
  };
1334
1334
  Relationships: [
1335
1335
  {
1336
- foreignKeyName: "acq_deals_contact_id_fkey";
1337
- columns: ["contact_id"];
1336
+ foreignKeyName: 'acq_deals_contact_id_fkey';
1337
+ columns: ['contact_id'];
1338
1338
  isOneToOne: false;
1339
- referencedRelation: "acq_contacts";
1340
- referencedColumns: ["id"];
1339
+ referencedRelation: 'acq_contacts';
1340
+ referencedColumns: ['id'];
1341
1341
  },
1342
1342
  {
1343
- foreignKeyName: "acq_deals_organization_id_fkey";
1344
- columns: ["organization_id"];
1343
+ foreignKeyName: 'acq_deals_organization_id_fkey';
1344
+ columns: ['organization_id'];
1345
1345
  isOneToOne: false;
1346
- referencedRelation: "organizations";
1347
- referencedColumns: ["id"];
1346
+ referencedRelation: 'organizations';
1347
+ referencedColumns: ['id'];
1348
1348
  },
1349
1349
  {
1350
- foreignKeyName: "acq_deals_source_list_id_fkey";
1351
- columns: ["source_list_id"];
1350
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
1351
+ columns: ['source_list_id'];
1352
1352
  isOneToOne: false;
1353
- referencedRelation: "acq_lists";
1354
- referencedColumns: ["id"];
1353
+ referencedRelation: 'acq_lists';
1354
+ referencedColumns: ['id'];
1355
1355
  }
1356
1356
  ];
1357
1357
  };
@@ -1379,18 +1379,18 @@ type Database = {
1379
1379
  };
1380
1380
  Relationships: [
1381
1381
  {
1382
- foreignKeyName: "acq_list_members_contact_id_fkey";
1383
- columns: ["contact_id"];
1382
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
1383
+ columns: ['contact_id'];
1384
1384
  isOneToOne: false;
1385
- referencedRelation: "acq_contacts";
1386
- referencedColumns: ["id"];
1385
+ referencedRelation: 'acq_contacts';
1386
+ referencedColumns: ['id'];
1387
1387
  },
1388
1388
  {
1389
- foreignKeyName: "acq_list_members_list_id_fkey";
1390
- columns: ["list_id"];
1389
+ foreignKeyName: 'acq_list_members_list_id_fkey';
1390
+ columns: ['list_id'];
1391
1391
  isOneToOne: false;
1392
- referencedRelation: "acq_lists";
1393
- referencedColumns: ["id"];
1392
+ referencedRelation: 'acq_lists';
1393
+ referencedColumns: ['id'];
1394
1394
  }
1395
1395
  ];
1396
1396
  };
@@ -1439,11 +1439,11 @@ type Database = {
1439
1439
  };
1440
1440
  Relationships: [
1441
1441
  {
1442
- foreignKeyName: "acq_lists_organization_id_fkey";
1443
- columns: ["organization_id"];
1442
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1443
+ columns: ['organization_id'];
1444
1444
  isOneToOne: false;
1445
- referencedRelation: "organizations";
1446
- referencedColumns: ["id"];
1445
+ referencedRelation: 'organizations';
1446
+ referencedColumns: ['id'];
1447
1447
  }
1448
1448
  ];
1449
1449
  };
@@ -1519,18 +1519,18 @@ type Database = {
1519
1519
  };
1520
1520
  Relationships: [
1521
1521
  {
1522
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
1523
- columns: ["organization_id"];
1522
+ foreignKeyName: 'acq_seo_metrics_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: "acq_seo_metrics_seo_page_id_fkey";
1530
- columns: ["seo_page_id"];
1529
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1530
+ columns: ['seo_page_id'];
1531
1531
  isOneToOne: false;
1532
- referencedRelation: "acq_seo_pages";
1533
- referencedColumns: ["id"];
1532
+ referencedRelation: 'acq_seo_pages';
1533
+ referencedColumns: ['id'];
1534
1534
  }
1535
1535
  ];
1536
1536
  };
@@ -1606,11 +1606,11 @@ type Database = {
1606
1606
  };
1607
1607
  Relationships: [
1608
1608
  {
1609
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
1610
- columns: ["organization_id"];
1609
+ foreignKeyName: 'acq_seo_pages_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
1616
  };
@@ -1707,11 +1707,11 @@ type Database = {
1707
1707
  };
1708
1708
  Relationships: [
1709
1709
  {
1710
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1711
- columns: ["organization_id"];
1710
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1711
+ columns: ['organization_id'];
1712
1712
  isOneToOne: false;
1713
- referencedRelation: "organizations";
1714
- referencedColumns: ["id"];
1713
+ referencedRelation: 'organizations';
1714
+ referencedColumns: ['id'];
1715
1715
  }
1716
1716
  ];
1717
1717
  };
@@ -1766,11 +1766,11 @@ type Database = {
1766
1766
  };
1767
1767
  Relationships: [
1768
1768
  {
1769
- foreignKeyName: "activities_organization_id_fkey";
1770
- columns: ["organization_id"];
1769
+ foreignKeyName: 'activities_organization_id_fkey';
1770
+ columns: ['organization_id'];
1771
1771
  isOneToOne: false;
1772
- referencedRelation: "organizations";
1773
- referencedColumns: ["id"];
1772
+ referencedRelation: 'organizations';
1773
+ referencedColumns: ['id'];
1774
1774
  }
1775
1775
  ];
1776
1776
  };
@@ -1801,11 +1801,11 @@ type Database = {
1801
1801
  };
1802
1802
  Relationships: [
1803
1803
  {
1804
- foreignKeyName: "api_keys_organization_id_fkey";
1805
- columns: ["organization_id"];
1804
+ foreignKeyName: 'api_keys_organization_id_fkey';
1805
+ columns: ['organization_id'];
1806
1806
  isOneToOne: false;
1807
- referencedRelation: "organizations";
1808
- referencedColumns: ["id"];
1807
+ referencedRelation: 'organizations';
1808
+ referencedColumns: ['id'];
1809
1809
  }
1810
1810
  ];
1811
1811
  };
@@ -1842,11 +1842,11 @@ type Database = {
1842
1842
  };
1843
1843
  Relationships: [
1844
1844
  {
1845
- foreignKeyName: "calibration_projects_organization_id_fkey";
1846
- columns: ["organization_id"];
1845
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
1846
+ columns: ['organization_id'];
1847
1847
  isOneToOne: false;
1848
- referencedRelation: "organizations";
1849
- referencedColumns: ["id"];
1848
+ referencedRelation: 'organizations';
1849
+ referencedColumns: ['id'];
1850
1850
  }
1851
1851
  ];
1852
1852
  };
@@ -1901,18 +1901,18 @@ type Database = {
1901
1901
  };
1902
1902
  Relationships: [
1903
1903
  {
1904
- foreignKeyName: "calibration_runs_organization_id_fkey";
1905
- columns: ["organization_id"];
1904
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
1905
+ columns: ['organization_id'];
1906
1906
  isOneToOne: false;
1907
- referencedRelation: "organizations";
1908
- referencedColumns: ["id"];
1907
+ referencedRelation: 'organizations';
1908
+ referencedColumns: ['id'];
1909
1909
  },
1910
1910
  {
1911
- foreignKeyName: "calibration_runs_project_id_fkey";
1912
- columns: ["project_id"];
1911
+ foreignKeyName: 'calibration_runs_project_id_fkey';
1912
+ columns: ['project_id'];
1913
1913
  isOneToOne: false;
1914
- referencedRelation: "calibration_projects";
1915
- referencedColumns: ["id"];
1914
+ referencedRelation: 'calibration_projects';
1915
+ referencedColumns: ['id'];
1916
1916
  }
1917
1917
  ];
1918
1918
  };
@@ -1991,25 +1991,25 @@ type Database = {
1991
1991
  };
1992
1992
  Relationships: [
1993
1993
  {
1994
- foreignKeyName: "command_queue_completed_by_fkey";
1995
- columns: ["completed_by"];
1994
+ foreignKeyName: 'command_queue_completed_by_fkey';
1995
+ columns: ['completed_by'];
1996
1996
  isOneToOne: false;
1997
- referencedRelation: "users";
1998
- referencedColumns: ["id"];
1997
+ referencedRelation: 'users';
1998
+ referencedColumns: ['id'];
1999
1999
  },
2000
2000
  {
2001
- foreignKeyName: "command_queue_organization_id_fkey";
2002
- columns: ["organization_id"];
2001
+ foreignKeyName: 'command_queue_organization_id_fkey';
2002
+ columns: ['organization_id'];
2003
2003
  isOneToOne: false;
2004
- referencedRelation: "organizations";
2005
- referencedColumns: ["id"];
2004
+ referencedRelation: 'organizations';
2005
+ referencedColumns: ['id'];
2006
2006
  },
2007
2007
  {
2008
- foreignKeyName: "command_queue_target_execution_id_fkey";
2009
- columns: ["target_execution_id"];
2008
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
2009
+ columns: ['target_execution_id'];
2010
2010
  isOneToOne: false;
2011
- referencedRelation: "execution_logs";
2012
- referencedColumns: ["execution_id"];
2011
+ referencedRelation: 'execution_logs';
2012
+ referencedColumns: ['execution_id'];
2013
2013
  }
2014
2014
  ];
2015
2015
  };
@@ -2049,95 +2049,104 @@ type Database = {
2049
2049
  };
2050
2050
  Relationships: [
2051
2051
  {
2052
- foreignKeyName: "credentials_created_by_fkey";
2053
- columns: ["created_by"];
2052
+ foreignKeyName: 'credentials_created_by_fkey';
2053
+ columns: ['created_by'];
2054
2054
  isOneToOne: false;
2055
- referencedRelation: "users";
2056
- referencedColumns: ["id"];
2055
+ referencedRelation: 'users';
2056
+ referencedColumns: ['id'];
2057
2057
  },
2058
2058
  {
2059
- foreignKeyName: "credentials_organization_id_fkey";
2060
- columns: ["organization_id"];
2059
+ foreignKeyName: 'credentials_organization_id_fkey';
2060
+ columns: ['organization_id'];
2061
2061
  isOneToOne: false;
2062
- referencedRelation: "organizations";
2063
- referencedColumns: ["id"];
2062
+ referencedRelation: 'organizations';
2063
+ referencedColumns: ['id'];
2064
2064
  }
2065
2065
  ];
2066
2066
  };
2067
- delivery_deliverables: {
2067
+ prj_tasks: {
2068
2068
  Row: {
2069
+ checklist: Json | null;
2069
2070
  completed_at: string | null;
2070
2071
  created_at: string;
2071
2072
  description: string | null;
2072
2073
  due_date: string | null;
2073
- engagement_id: string;
2074
2074
  file_url: string | null;
2075
2075
  id: string;
2076
2076
  metadata: Json | null;
2077
2077
  milestone_id: string | null;
2078
2078
  name: string;
2079
2079
  organization_id: string;
2080
+ parent_task_id: string | null;
2081
+ project_id: string;
2082
+ resume_context: Json | null;
2080
2083
  status: string;
2081
2084
  type: string;
2082
2085
  updated_at: string;
2083
2086
  };
2084
2087
  Insert: {
2088
+ checklist?: Json | null;
2085
2089
  completed_at?: string | null;
2086
2090
  created_at?: string;
2087
2091
  description?: string | null;
2088
2092
  due_date?: string | null;
2089
- engagement_id: string;
2090
2093
  file_url?: string | null;
2091
2094
  id?: string;
2092
2095
  metadata?: Json | null;
2093
2096
  milestone_id?: string | null;
2094
2097
  name: string;
2095
2098
  organization_id: string;
2099
+ parent_task_id?: string | null;
2100
+ project_id: string;
2101
+ resume_context?: Json | null;
2096
2102
  status?: string;
2097
2103
  type?: string;
2098
2104
  updated_at?: string;
2099
2105
  };
2100
2106
  Update: {
2107
+ checklist?: Json | null;
2101
2108
  completed_at?: string | null;
2102
2109
  created_at?: string;
2103
2110
  description?: string | null;
2104
2111
  due_date?: string | null;
2105
- engagement_id?: string;
2106
2112
  file_url?: string | null;
2107
2113
  id?: string;
2108
2114
  metadata?: Json | null;
2109
2115
  milestone_id?: string | null;
2110
2116
  name?: string;
2111
2117
  organization_id?: string;
2118
+ parent_task_id?: string | null;
2119
+ project_id?: string;
2120
+ resume_context?: Json | null;
2112
2121
  status?: string;
2113
2122
  type?: string;
2114
2123
  updated_at?: string;
2115
2124
  };
2116
2125
  Relationships: [
2117
2126
  {
2118
- foreignKeyName: "delivery_deliverables_engagement_id_fkey";
2119
- columns: ["engagement_id"];
2127
+ foreignKeyName: 'prj_tasks_project_id_fkey';
2128
+ columns: ['project_id'];
2120
2129
  isOneToOne: false;
2121
- referencedRelation: "delivery_engagements";
2122
- referencedColumns: ["id"];
2130
+ referencedRelation: 'prj_projects';
2131
+ referencedColumns: ['id'];
2123
2132
  },
2124
2133
  {
2125
- foreignKeyName: "delivery_deliverables_milestone_id_fkey";
2126
- columns: ["milestone_id"];
2134
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
2135
+ columns: ['milestone_id'];
2127
2136
  isOneToOne: false;
2128
- referencedRelation: "delivery_milestones";
2129
- referencedColumns: ["id"];
2137
+ referencedRelation: 'prj_milestones';
2138
+ referencedColumns: ['id'];
2130
2139
  },
2131
2140
  {
2132
- foreignKeyName: "delivery_deliverables_organization_id_fkey";
2133
- columns: ["organization_id"];
2141
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
2142
+ columns: ['organization_id'];
2134
2143
  isOneToOne: false;
2135
- referencedRelation: "organizations";
2136
- referencedColumns: ["id"];
2144
+ referencedRelation: 'organizations';
2145
+ referencedColumns: ['id'];
2137
2146
  }
2138
2147
  ];
2139
2148
  };
2140
- delivery_engagements: {
2149
+ prj_projects: {
2141
2150
  Row: {
2142
2151
  actual_end_date: string | null;
2143
2152
  client_company_id: string | null;
@@ -2146,6 +2155,7 @@ type Database = {
2146
2155
  deal_id: string | null;
2147
2156
  description: string | null;
2148
2157
  id: string;
2158
+ kind: string;
2149
2159
  metadata: Json | null;
2150
2160
  name: string;
2151
2161
  organization_id: string;
@@ -2162,6 +2172,7 @@ type Database = {
2162
2172
  deal_id?: string | null;
2163
2173
  description?: string | null;
2164
2174
  id?: string;
2175
+ kind?: string;
2165
2176
  metadata?: Json | null;
2166
2177
  name: string;
2167
2178
  organization_id: string;
@@ -2178,6 +2189,7 @@ type Database = {
2178
2189
  deal_id?: string | null;
2179
2190
  description?: string | null;
2180
2191
  id?: string;
2192
+ kind?: string;
2181
2193
  metadata?: Json | null;
2182
2194
  name?: string;
2183
2195
  organization_id?: string;
@@ -2188,40 +2200,40 @@ type Database = {
2188
2200
  };
2189
2201
  Relationships: [
2190
2202
  {
2191
- foreignKeyName: "delivery_engagements_client_company_id_fkey";
2192
- columns: ["client_company_id"];
2203
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
2204
+ columns: ['client_company_id'];
2193
2205
  isOneToOne: false;
2194
- referencedRelation: "acq_companies";
2195
- referencedColumns: ["id"];
2206
+ referencedRelation: 'acq_companies';
2207
+ referencedColumns: ['id'];
2196
2208
  },
2197
2209
  {
2198
- foreignKeyName: "delivery_engagements_deal_id_fkey";
2199
- columns: ["deal_id"];
2210
+ foreignKeyName: 'prj_projects_deal_id_fkey';
2211
+ columns: ['deal_id'];
2200
2212
  isOneToOne: false;
2201
- referencedRelation: "acq_deals";
2202
- referencedColumns: ["id"];
2213
+ referencedRelation: 'acq_deals';
2214
+ referencedColumns: ['id'];
2203
2215
  },
2204
2216
  {
2205
- foreignKeyName: "delivery_engagements_organization_id_fkey";
2206
- columns: ["organization_id"];
2217
+ foreignKeyName: 'prj_projects_organization_id_fkey';
2218
+ columns: ['organization_id'];
2207
2219
  isOneToOne: false;
2208
- referencedRelation: "organizations";
2209
- referencedColumns: ["id"];
2220
+ referencedRelation: 'organizations';
2221
+ referencedColumns: ['id'];
2210
2222
  }
2211
2223
  ];
2212
2224
  };
2213
- delivery_milestones: {
2225
+ prj_milestones: {
2214
2226
  Row: {
2215
2227
  checklist: Json | null;
2216
2228
  completed_at: string | null;
2217
2229
  created_at: string;
2218
2230
  description: string | null;
2219
2231
  due_date: string | null;
2220
- engagement_id: string;
2221
2232
  id: string;
2222
2233
  metadata: Json | null;
2223
2234
  name: string;
2224
2235
  organization_id: string;
2236
+ project_id: string;
2225
2237
  sequence: number;
2226
2238
  status: string;
2227
2239
  updated_at: string;
@@ -2232,11 +2244,11 @@ type Database = {
2232
2244
  created_at?: string;
2233
2245
  description?: string | null;
2234
2246
  due_date?: string | null;
2235
- engagement_id: string;
2236
2247
  id?: string;
2237
2248
  metadata?: Json | null;
2238
2249
  name: string;
2239
2250
  organization_id: string;
2251
+ project_id: string;
2240
2252
  sequence?: number;
2241
2253
  status?: string;
2242
2254
  updated_at?: string;
@@ -2247,90 +2259,96 @@ type Database = {
2247
2259
  created_at?: string;
2248
2260
  description?: string | null;
2249
2261
  due_date?: string | null;
2250
- engagement_id?: string;
2251
2262
  id?: string;
2252
2263
  metadata?: Json | null;
2253
2264
  name?: string;
2254
2265
  organization_id?: string;
2266
+ project_id?: string;
2255
2267
  sequence?: number;
2256
2268
  status?: string;
2257
2269
  updated_at?: string;
2258
2270
  };
2259
2271
  Relationships: [
2260
2272
  {
2261
- foreignKeyName: "delivery_milestones_engagement_id_fkey";
2262
- columns: ["engagement_id"];
2273
+ foreignKeyName: 'prj_milestones_project_id_fkey';
2274
+ columns: ['project_id'];
2263
2275
  isOneToOne: false;
2264
- referencedRelation: "delivery_engagements";
2265
- referencedColumns: ["id"];
2276
+ referencedRelation: 'prj_projects';
2277
+ referencedColumns: ['id'];
2266
2278
  },
2267
2279
  {
2268
- foreignKeyName: "delivery_milestones_organization_id_fkey";
2269
- columns: ["organization_id"];
2280
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
2281
+ columns: ['organization_id'];
2270
2282
  isOneToOne: false;
2271
- referencedRelation: "organizations";
2272
- referencedColumns: ["id"];
2283
+ referencedRelation: 'organizations';
2284
+ referencedColumns: ['id'];
2273
2285
  }
2274
2286
  ];
2275
2287
  };
2276
- delivery_notes: {
2288
+ prj_notes: {
2277
2289
  Row: {
2278
2290
  content: string;
2279
2291
  created_at: string;
2280
2292
  created_by: string | null;
2281
- engagement_id: string;
2282
2293
  id: string;
2283
2294
  metadata: Json | null;
2295
+ milestone_id: string | null;
2284
2296
  occurred_at: string;
2285
2297
  organization_id: string;
2298
+ project_id: string;
2286
2299
  summary: string | null;
2300
+ task_id: string | null;
2287
2301
  type: string;
2288
2302
  };
2289
2303
  Insert: {
2290
2304
  content: string;
2291
2305
  created_at?: string;
2292
2306
  created_by?: string | null;
2293
- engagement_id: string;
2294
2307
  id?: string;
2295
2308
  metadata?: Json | null;
2309
+ milestone_id?: string | null;
2296
2310
  occurred_at?: string;
2297
2311
  organization_id: string;
2312
+ project_id: string;
2298
2313
  summary?: string | null;
2314
+ task_id?: string | null;
2299
2315
  type?: string;
2300
2316
  };
2301
2317
  Update: {
2302
2318
  content?: string;
2303
2319
  created_at?: string;
2304
2320
  created_by?: string | null;
2305
- engagement_id?: string;
2306
2321
  id?: string;
2307
2322
  metadata?: Json | null;
2323
+ milestone_id?: string | null;
2308
2324
  occurred_at?: string;
2309
2325
  organization_id?: string;
2326
+ project_id?: string;
2310
2327
  summary?: string | null;
2328
+ task_id?: string | null;
2311
2329
  type?: string;
2312
2330
  };
2313
2331
  Relationships: [
2314
2332
  {
2315
- foreignKeyName: "delivery_notes_created_by_fkey";
2316
- columns: ["created_by"];
2333
+ foreignKeyName: 'prj_notes_created_by_fkey';
2334
+ columns: ['created_by'];
2317
2335
  isOneToOne: false;
2318
- referencedRelation: "users";
2319
- referencedColumns: ["id"];
2336
+ referencedRelation: 'users';
2337
+ referencedColumns: ['id'];
2320
2338
  },
2321
2339
  {
2322
- foreignKeyName: "delivery_notes_engagement_id_fkey";
2323
- columns: ["engagement_id"];
2340
+ foreignKeyName: 'prj_notes_project_id_fkey';
2341
+ columns: ['project_id'];
2324
2342
  isOneToOne: false;
2325
- referencedRelation: "delivery_engagements";
2326
- referencedColumns: ["id"];
2343
+ referencedRelation: 'prj_projects';
2344
+ referencedColumns: ['id'];
2327
2345
  },
2328
2346
  {
2329
- foreignKeyName: "delivery_notes_organization_id_fkey";
2330
- columns: ["organization_id"];
2347
+ foreignKeyName: 'prj_notes_organization_id_fkey';
2348
+ columns: ['organization_id'];
2331
2349
  isOneToOne: false;
2332
- referencedRelation: "organizations";
2333
- referencedColumns: ["id"];
2350
+ referencedRelation: 'organizations';
2351
+ referencedColumns: ['id'];
2334
2352
  }
2335
2353
  ];
2336
2354
  };
@@ -2382,11 +2400,11 @@ type Database = {
2382
2400
  };
2383
2401
  Relationships: [
2384
2402
  {
2385
- foreignKeyName: "deployments_organization_id_fkey";
2386
- columns: ["organization_id"];
2403
+ foreignKeyName: 'deployments_organization_id_fkey';
2404
+ columns: ['organization_id'];
2387
2405
  isOneToOne: false;
2388
- referencedRelation: "organizations";
2389
- referencedColumns: ["id"];
2406
+ referencedRelation: 'organizations';
2407
+ referencedColumns: ['id'];
2390
2408
  }
2391
2409
  ];
2392
2410
  };
@@ -2441,25 +2459,25 @@ type Database = {
2441
2459
  };
2442
2460
  Relationships: [
2443
2461
  {
2444
- foreignKeyName: "execution_errors_execution_id_fkey";
2445
- columns: ["execution_id"];
2462
+ foreignKeyName: 'execution_errors_execution_id_fkey';
2463
+ columns: ['execution_id'];
2446
2464
  isOneToOne: false;
2447
- referencedRelation: "execution_logs";
2448
- referencedColumns: ["execution_id"];
2465
+ referencedRelation: 'execution_logs';
2466
+ referencedColumns: ['execution_id'];
2449
2467
  },
2450
2468
  {
2451
- foreignKeyName: "execution_errors_organization_id_fkey";
2452
- columns: ["organization_id"];
2469
+ foreignKeyName: 'execution_errors_organization_id_fkey';
2470
+ columns: ['organization_id'];
2453
2471
  isOneToOne: false;
2454
- referencedRelation: "organizations";
2455
- referencedColumns: ["id"];
2472
+ referencedRelation: 'organizations';
2473
+ referencedColumns: ['id'];
2456
2474
  },
2457
2475
  {
2458
- foreignKeyName: "execution_errors_resolved_by_fkey";
2459
- columns: ["resolved_by"];
2476
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
2477
+ columns: ['resolved_by'];
2460
2478
  isOneToOne: false;
2461
- referencedRelation: "users";
2462
- referencedColumns: ["id"];
2479
+ referencedRelation: 'users';
2480
+ referencedColumns: ['id'];
2463
2481
  }
2464
2482
  ];
2465
2483
  };
@@ -2541,32 +2559,32 @@ type Database = {
2541
2559
  };
2542
2560
  Relationships: [
2543
2561
  {
2544
- foreignKeyName: "execution_history_organization_id_fkey";
2545
- columns: ["organization_id"];
2562
+ foreignKeyName: 'execution_history_organization_id_fkey';
2563
+ columns: ['organization_id'];
2546
2564
  isOneToOne: false;
2547
- referencedRelation: "organizations";
2548
- referencedColumns: ["id"];
2565
+ referencedRelation: 'organizations';
2566
+ referencedColumns: ['id'];
2549
2567
  },
2550
2568
  {
2551
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2552
- columns: ["origin_execution_id"];
2569
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2570
+ columns: ['origin_execution_id'];
2553
2571
  isOneToOne: false;
2554
- referencedRelation: "execution_logs";
2555
- referencedColumns: ["execution_id"];
2572
+ referencedRelation: 'execution_logs';
2573
+ referencedColumns: ['execution_id'];
2556
2574
  },
2557
2575
  {
2558
- foreignKeyName: "execution_logs_session_id_fkey";
2559
- columns: ["session_id"];
2576
+ foreignKeyName: 'execution_logs_session_id_fkey';
2577
+ columns: ['session_id'];
2560
2578
  isOneToOne: false;
2561
- referencedRelation: "sessions";
2562
- referencedColumns: ["session_id"];
2579
+ referencedRelation: 'sessions';
2580
+ referencedColumns: ['session_id'];
2563
2581
  },
2564
2582
  {
2565
- foreignKeyName: "execution_logs_user_id_fkey";
2566
- columns: ["user_id"];
2583
+ foreignKeyName: 'execution_logs_user_id_fkey';
2584
+ columns: ['user_id'];
2567
2585
  isOneToOne: false;
2568
- referencedRelation: "users";
2569
- referencedColumns: ["id"];
2586
+ referencedRelation: 'users';
2587
+ referencedColumns: ['id'];
2570
2588
  }
2571
2589
  ];
2572
2590
  };
@@ -2612,18 +2630,18 @@ type Database = {
2612
2630
  };
2613
2631
  Relationships: [
2614
2632
  {
2615
- foreignKeyName: "execution_metrics_execution_id_fkey";
2616
- columns: ["execution_id"];
2633
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2634
+ columns: ['execution_id'];
2617
2635
  isOneToOne: true;
2618
- referencedRelation: "execution_logs";
2619
- referencedColumns: ["execution_id"];
2636
+ referencedRelation: 'execution_logs';
2637
+ referencedColumns: ['execution_id'];
2620
2638
  },
2621
2639
  {
2622
- foreignKeyName: "execution_metrics_organization_id_fkey";
2623
- columns: ["organization_id"];
2640
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2641
+ columns: ['organization_id'];
2624
2642
  isOneToOne: false;
2625
- referencedRelation: "organizations";
2626
- referencedColumns: ["id"];
2643
+ referencedRelation: 'organizations';
2644
+ referencedColumns: ['id'];
2627
2645
  }
2628
2646
  ];
2629
2647
  };
@@ -2666,18 +2684,18 @@ type Database = {
2666
2684
  };
2667
2685
  Relationships: [
2668
2686
  {
2669
- foreignKeyName: "notifications_organization_id_fkey";
2670
- columns: ["organization_id"];
2687
+ foreignKeyName: 'notifications_organization_id_fkey';
2688
+ columns: ['organization_id'];
2671
2689
  isOneToOne: false;
2672
- referencedRelation: "organizations";
2673
- referencedColumns: ["id"];
2690
+ referencedRelation: 'organizations';
2691
+ referencedColumns: ['id'];
2674
2692
  },
2675
2693
  {
2676
- foreignKeyName: "notifications_user_id_fkey";
2677
- columns: ["user_id"];
2694
+ foreignKeyName: 'notifications_user_id_fkey';
2695
+ columns: ['user_id'];
2678
2696
  isOneToOne: false;
2679
- referencedRelation: "users";
2680
- referencedColumns: ["id"];
2697
+ referencedRelation: 'users';
2698
+ referencedColumns: ['id'];
2681
2699
  }
2682
2700
  ];
2683
2701
  };
@@ -2732,18 +2750,18 @@ type Database = {
2732
2750
  };
2733
2751
  Relationships: [
2734
2752
  {
2735
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
2736
- columns: ["inviter_user_id"];
2753
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2754
+ columns: ['inviter_user_id'];
2737
2755
  isOneToOne: false;
2738
- referencedRelation: "users";
2739
- referencedColumns: ["id"];
2756
+ referencedRelation: 'users';
2757
+ referencedColumns: ['id'];
2740
2758
  },
2741
2759
  {
2742
- foreignKeyName: "org_invitations_organization_id_fkey";
2743
- columns: ["organization_id"];
2760
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2761
+ columns: ['organization_id'];
2744
2762
  isOneToOne: false;
2745
- referencedRelation: "organizations";
2746
- referencedColumns: ["id"];
2763
+ referencedRelation: 'organizations';
2764
+ referencedColumns: ['id'];
2747
2765
  }
2748
2766
  ];
2749
2767
  };
@@ -2783,18 +2801,18 @@ type Database = {
2783
2801
  };
2784
2802
  Relationships: [
2785
2803
  {
2786
- foreignKeyName: "org_memberships_organization_id_fkey";
2787
- columns: ["organization_id"];
2804
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2805
+ columns: ['organization_id'];
2788
2806
  isOneToOne: false;
2789
- referencedRelation: "organizations";
2790
- referencedColumns: ["id"];
2807
+ referencedRelation: 'organizations';
2808
+ referencedColumns: ['id'];
2791
2809
  },
2792
2810
  {
2793
- foreignKeyName: "org_memberships_user_id_fkey";
2794
- columns: ["user_id"];
2811
+ foreignKeyName: 'org_memberships_user_id_fkey';
2812
+ columns: ['user_id'];
2795
2813
  isOneToOne: false;
2796
- referencedRelation: "users";
2797
- referencedColumns: ["id"];
2814
+ referencedRelation: 'users';
2815
+ referencedColumns: ['id'];
2798
2816
  }
2799
2817
  ];
2800
2818
  };
@@ -2870,11 +2888,11 @@ type Database = {
2870
2888
  };
2871
2889
  Relationships: [
2872
2890
  {
2873
- foreignKeyName: "session_messages_session_id_fkey";
2874
- columns: ["session_id"];
2891
+ foreignKeyName: 'session_messages_session_id_fkey';
2892
+ columns: ['session_id'];
2875
2893
  isOneToOne: false;
2876
- referencedRelation: "sessions";
2877
- referencedColumns: ["session_id"];
2894
+ referencedRelation: 'sessions';
2895
+ referencedColumns: ['session_id'];
2878
2896
  }
2879
2897
  ];
2880
2898
  };
@@ -2929,18 +2947,18 @@ type Database = {
2929
2947
  };
2930
2948
  Relationships: [
2931
2949
  {
2932
- foreignKeyName: "fk_organization";
2933
- columns: ["organization_id"];
2950
+ foreignKeyName: 'fk_organization';
2951
+ columns: ['organization_id'];
2934
2952
  isOneToOne: false;
2935
- referencedRelation: "organizations";
2936
- referencedColumns: ["id"];
2953
+ referencedRelation: 'organizations';
2954
+ referencedColumns: ['id'];
2937
2955
  },
2938
2956
  {
2939
- foreignKeyName: "fk_user";
2940
- columns: ["user_id"];
2957
+ foreignKeyName: 'fk_user';
2958
+ columns: ['user_id'];
2941
2959
  isOneToOne: false;
2942
- referencedRelation: "users";
2943
- referencedColumns: ["id"];
2960
+ referencedRelation: 'users';
2961
+ referencedColumns: ['id'];
2944
2962
  }
2945
2963
  ];
2946
2964
  };
@@ -3016,11 +3034,11 @@ type Database = {
3016
3034
  };
3017
3035
  Relationships: [
3018
3036
  {
3019
- foreignKeyName: "task_schedules_organization_id_fkey";
3020
- columns: ["organization_id"];
3037
+ foreignKeyName: 'task_schedules_organization_id_fkey';
3038
+ columns: ['organization_id'];
3021
3039
  isOneToOne: false;
3022
- referencedRelation: "organizations";
3023
- referencedColumns: ["id"];
3040
+ referencedRelation: 'organizations';
3041
+ referencedColumns: ['id'];
3024
3042
  }
3025
3043
  ];
3026
3044
  };
@@ -3075,11 +3093,11 @@ type Database = {
3075
3093
  };
3076
3094
  Relationships: [
3077
3095
  {
3078
- foreignKeyName: "user_profiles_last_visited_org_fkey";
3079
- columns: ["last_visited_org"];
3096
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
3097
+ columns: ['last_visited_org'];
3080
3098
  isOneToOne: false;
3081
- referencedRelation: "organizations";
3082
- referencedColumns: ["id"];
3099
+ referencedRelation: 'organizations';
3100
+ referencedColumns: ['id'];
3083
3101
  }
3084
3102
  ];
3085
3103
  };
@@ -3125,11 +3143,11 @@ type Database = {
3125
3143
  };
3126
3144
  Relationships: [
3127
3145
  {
3128
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
3129
- columns: ["organization_id"];
3146
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
3147
+ columns: ['organization_id'];
3130
3148
  isOneToOne: false;
3131
- referencedRelation: "organizations";
3132
- referencedColumns: ["id"];
3149
+ referencedRelation: 'organizations';
3150
+ referencedColumns: ['id'];
3133
3151
  }
3134
3152
  ];
3135
3153
  };
@@ -3249,17 +3267,17 @@ type Database = {
3249
3267
  };
3250
3268
  };
3251
3269
  };
3252
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
3253
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3254
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
3270
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
3271
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
3272
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
3255
3273
  schema: keyof DatabaseWithoutInternals;
3256
3274
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
3257
3275
  schema: keyof DatabaseWithoutInternals;
3258
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
3276
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
3259
3277
  schema: keyof DatabaseWithoutInternals;
3260
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
3278
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
3261
3279
  Row: infer R;
3262
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
3280
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
3263
3281
  Row: infer R;
3264
3282
  } ? R : never : never;
3265
3283