@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.
@@ -966,7 +966,7 @@ type Json = string | number | boolean | null | {
966
966
  } | Json[];
967
967
  type Database = {
968
968
  __InternalSupabase: {
969
- PostgrestVersion: "12.2.3 (519615d)";
969
+ PostgrestVersion: '12.2.3 (519615d)';
970
970
  };
971
971
  public: {
972
972
  Tables: {
@@ -1045,11 +1045,11 @@ type Database = {
1045
1045
  };
1046
1046
  Relationships: [
1047
1047
  {
1048
- foreignKeyName: "acq_companies_organization_id_fkey";
1049
- columns: ["organization_id"];
1048
+ foreignKeyName: 'acq_companies_organization_id_fkey';
1049
+ columns: ['organization_id'];
1050
1050
  isOneToOne: false;
1051
- referencedRelation: "organizations";
1052
- referencedColumns: ["id"];
1051
+ referencedRelation: 'organizations';
1052
+ referencedColumns: ['id'];
1053
1053
  }
1054
1054
  ];
1055
1055
  };
@@ -1134,18 +1134,18 @@ type Database = {
1134
1134
  };
1135
1135
  Relationships: [
1136
1136
  {
1137
- foreignKeyName: "acq_contacts_company_id_fkey";
1138
- columns: ["company_id"];
1137
+ foreignKeyName: 'acq_contacts_company_id_fkey';
1138
+ columns: ['company_id'];
1139
1139
  isOneToOne: false;
1140
- referencedRelation: "acq_companies";
1141
- referencedColumns: ["id"];
1140
+ referencedRelation: 'acq_companies';
1141
+ referencedColumns: ['id'];
1142
1142
  },
1143
1143
  {
1144
- foreignKeyName: "acq_contacts_organization_id_fkey";
1145
- columns: ["organization_id"];
1144
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
1145
+ columns: ['organization_id'];
1146
1146
  isOneToOne: false;
1147
- referencedRelation: "organizations";
1148
- referencedColumns: ["id"];
1147
+ referencedRelation: 'organizations';
1148
+ referencedColumns: ['id'];
1149
1149
  }
1150
1150
  ];
1151
1151
  };
@@ -1182,11 +1182,11 @@ type Database = {
1182
1182
  };
1183
1183
  Relationships: [
1184
1184
  {
1185
- foreignKeyName: "acq_content_organization_id_fkey";
1186
- columns: ["organization_id"];
1185
+ foreignKeyName: 'acq_content_organization_id_fkey';
1186
+ columns: ['organization_id'];
1187
1187
  isOneToOne: false;
1188
- referencedRelation: "organizations";
1189
- referencedColumns: ["id"];
1188
+ referencedRelation: 'organizations';
1189
+ referencedColumns: ['id'];
1190
1190
  }
1191
1191
  ];
1192
1192
  };
@@ -1250,18 +1250,18 @@ type Database = {
1250
1250
  };
1251
1251
  Relationships: [
1252
1252
  {
1253
- foreignKeyName: "acq_content_distributions_content_id_fkey";
1254
- columns: ["content_id"];
1253
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
1254
+ columns: ['content_id'];
1255
1255
  isOneToOne: false;
1256
- referencedRelation: "acq_content";
1257
- referencedColumns: ["id"];
1256
+ referencedRelation: 'acq_content';
1257
+ referencedColumns: ['id'];
1258
1258
  },
1259
1259
  {
1260
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
1261
- columns: ["organization_id"];
1260
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
1261
+ columns: ['organization_id'];
1262
1262
  isOneToOne: false;
1263
- referencedRelation: "organizations";
1264
- referencedColumns: ["id"];
1263
+ referencedRelation: 'organizations';
1264
+ referencedColumns: ['id'];
1265
1265
  }
1266
1266
  ];
1267
1267
  };
@@ -1373,25 +1373,25 @@ type Database = {
1373
1373
  };
1374
1374
  Relationships: [
1375
1375
  {
1376
- foreignKeyName: "acq_deals_contact_id_fkey";
1377
- columns: ["contact_id"];
1376
+ foreignKeyName: 'acq_deals_contact_id_fkey';
1377
+ columns: ['contact_id'];
1378
1378
  isOneToOne: false;
1379
- referencedRelation: "acq_contacts";
1380
- referencedColumns: ["id"];
1379
+ referencedRelation: 'acq_contacts';
1380
+ referencedColumns: ['id'];
1381
1381
  },
1382
1382
  {
1383
- foreignKeyName: "acq_deals_organization_id_fkey";
1384
- columns: ["organization_id"];
1383
+ foreignKeyName: 'acq_deals_organization_id_fkey';
1384
+ columns: ['organization_id'];
1385
1385
  isOneToOne: false;
1386
- referencedRelation: "organizations";
1387
- referencedColumns: ["id"];
1386
+ referencedRelation: 'organizations';
1387
+ referencedColumns: ['id'];
1388
1388
  },
1389
1389
  {
1390
- foreignKeyName: "acq_deals_source_list_id_fkey";
1391
- columns: ["source_list_id"];
1390
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
1391
+ columns: ['source_list_id'];
1392
1392
  isOneToOne: false;
1393
- referencedRelation: "acq_lists";
1394
- referencedColumns: ["id"];
1393
+ referencedRelation: 'acq_lists';
1394
+ referencedColumns: ['id'];
1395
1395
  }
1396
1396
  ];
1397
1397
  };
@@ -1419,18 +1419,18 @@ type Database = {
1419
1419
  };
1420
1420
  Relationships: [
1421
1421
  {
1422
- foreignKeyName: "acq_list_members_contact_id_fkey";
1423
- columns: ["contact_id"];
1422
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
1423
+ columns: ['contact_id'];
1424
1424
  isOneToOne: false;
1425
- referencedRelation: "acq_contacts";
1426
- referencedColumns: ["id"];
1425
+ referencedRelation: 'acq_contacts';
1426
+ referencedColumns: ['id'];
1427
1427
  },
1428
1428
  {
1429
- foreignKeyName: "acq_list_members_list_id_fkey";
1430
- columns: ["list_id"];
1429
+ foreignKeyName: 'acq_list_members_list_id_fkey';
1430
+ columns: ['list_id'];
1431
1431
  isOneToOne: false;
1432
- referencedRelation: "acq_lists";
1433
- referencedColumns: ["id"];
1432
+ referencedRelation: 'acq_lists';
1433
+ referencedColumns: ['id'];
1434
1434
  }
1435
1435
  ];
1436
1436
  };
@@ -1479,11 +1479,11 @@ type Database = {
1479
1479
  };
1480
1480
  Relationships: [
1481
1481
  {
1482
- foreignKeyName: "acq_lists_organization_id_fkey";
1483
- columns: ["organization_id"];
1482
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1483
+ columns: ['organization_id'];
1484
1484
  isOneToOne: false;
1485
- referencedRelation: "organizations";
1486
- referencedColumns: ["id"];
1485
+ referencedRelation: 'organizations';
1486
+ referencedColumns: ['id'];
1487
1487
  }
1488
1488
  ];
1489
1489
  };
@@ -1559,18 +1559,18 @@ type Database = {
1559
1559
  };
1560
1560
  Relationships: [
1561
1561
  {
1562
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
1563
- columns: ["organization_id"];
1562
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
1563
+ columns: ['organization_id'];
1564
1564
  isOneToOne: false;
1565
- referencedRelation: "organizations";
1566
- referencedColumns: ["id"];
1565
+ referencedRelation: 'organizations';
1566
+ referencedColumns: ['id'];
1567
1567
  },
1568
1568
  {
1569
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
1570
- columns: ["seo_page_id"];
1569
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
1570
+ columns: ['seo_page_id'];
1571
1571
  isOneToOne: false;
1572
- referencedRelation: "acq_seo_pages";
1573
- referencedColumns: ["id"];
1572
+ referencedRelation: 'acq_seo_pages';
1573
+ referencedColumns: ['id'];
1574
1574
  }
1575
1575
  ];
1576
1576
  };
@@ -1646,11 +1646,11 @@ type Database = {
1646
1646
  };
1647
1647
  Relationships: [
1648
1648
  {
1649
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
1650
- columns: ["organization_id"];
1649
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1650
+ columns: ['organization_id'];
1651
1651
  isOneToOne: false;
1652
- referencedRelation: "organizations";
1653
- referencedColumns: ["id"];
1652
+ referencedRelation: 'organizations';
1653
+ referencedColumns: ['id'];
1654
1654
  }
1655
1655
  ];
1656
1656
  };
@@ -1747,11 +1747,11 @@ type Database = {
1747
1747
  };
1748
1748
  Relationships: [
1749
1749
  {
1750
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1751
- columns: ["organization_id"];
1750
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1751
+ columns: ['organization_id'];
1752
1752
  isOneToOne: false;
1753
- referencedRelation: "organizations";
1754
- referencedColumns: ["id"];
1753
+ referencedRelation: 'organizations';
1754
+ referencedColumns: ['id'];
1755
1755
  }
1756
1756
  ];
1757
1757
  };
@@ -1806,11 +1806,11 @@ type Database = {
1806
1806
  };
1807
1807
  Relationships: [
1808
1808
  {
1809
- foreignKeyName: "activities_organization_id_fkey";
1810
- columns: ["organization_id"];
1809
+ foreignKeyName: 'activities_organization_id_fkey';
1810
+ columns: ['organization_id'];
1811
1811
  isOneToOne: false;
1812
- referencedRelation: "organizations";
1813
- referencedColumns: ["id"];
1812
+ referencedRelation: 'organizations';
1813
+ referencedColumns: ['id'];
1814
1814
  }
1815
1815
  ];
1816
1816
  };
@@ -1841,11 +1841,11 @@ type Database = {
1841
1841
  };
1842
1842
  Relationships: [
1843
1843
  {
1844
- foreignKeyName: "api_keys_organization_id_fkey";
1845
- columns: ["organization_id"];
1844
+ foreignKeyName: 'api_keys_organization_id_fkey';
1845
+ columns: ['organization_id'];
1846
1846
  isOneToOne: false;
1847
- referencedRelation: "organizations";
1848
- referencedColumns: ["id"];
1847
+ referencedRelation: 'organizations';
1848
+ referencedColumns: ['id'];
1849
1849
  }
1850
1850
  ];
1851
1851
  };
@@ -1882,11 +1882,11 @@ type Database = {
1882
1882
  };
1883
1883
  Relationships: [
1884
1884
  {
1885
- foreignKeyName: "calibration_projects_organization_id_fkey";
1886
- columns: ["organization_id"];
1885
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
1886
+ columns: ['organization_id'];
1887
1887
  isOneToOne: false;
1888
- referencedRelation: "organizations";
1889
- referencedColumns: ["id"];
1888
+ referencedRelation: 'organizations';
1889
+ referencedColumns: ['id'];
1890
1890
  }
1891
1891
  ];
1892
1892
  };
@@ -1941,18 +1941,18 @@ type Database = {
1941
1941
  };
1942
1942
  Relationships: [
1943
1943
  {
1944
- foreignKeyName: "calibration_runs_organization_id_fkey";
1945
- columns: ["organization_id"];
1944
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
1945
+ columns: ['organization_id'];
1946
1946
  isOneToOne: false;
1947
- referencedRelation: "organizations";
1948
- referencedColumns: ["id"];
1947
+ referencedRelation: 'organizations';
1948
+ referencedColumns: ['id'];
1949
1949
  },
1950
1950
  {
1951
- foreignKeyName: "calibration_runs_project_id_fkey";
1952
- columns: ["project_id"];
1951
+ foreignKeyName: 'calibration_runs_project_id_fkey';
1952
+ columns: ['project_id'];
1953
1953
  isOneToOne: false;
1954
- referencedRelation: "calibration_projects";
1955
- referencedColumns: ["id"];
1954
+ referencedRelation: 'calibration_projects';
1955
+ referencedColumns: ['id'];
1956
1956
  }
1957
1957
  ];
1958
1958
  };
@@ -2031,25 +2031,25 @@ type Database = {
2031
2031
  };
2032
2032
  Relationships: [
2033
2033
  {
2034
- foreignKeyName: "command_queue_completed_by_fkey";
2035
- columns: ["completed_by"];
2034
+ foreignKeyName: 'command_queue_completed_by_fkey';
2035
+ columns: ['completed_by'];
2036
2036
  isOneToOne: false;
2037
- referencedRelation: "users";
2038
- referencedColumns: ["id"];
2037
+ referencedRelation: 'users';
2038
+ referencedColumns: ['id'];
2039
2039
  },
2040
2040
  {
2041
- foreignKeyName: "command_queue_organization_id_fkey";
2042
- columns: ["organization_id"];
2041
+ foreignKeyName: 'command_queue_organization_id_fkey';
2042
+ columns: ['organization_id'];
2043
2043
  isOneToOne: false;
2044
- referencedRelation: "organizations";
2045
- referencedColumns: ["id"];
2044
+ referencedRelation: 'organizations';
2045
+ referencedColumns: ['id'];
2046
2046
  },
2047
2047
  {
2048
- foreignKeyName: "command_queue_target_execution_id_fkey";
2049
- columns: ["target_execution_id"];
2048
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
2049
+ columns: ['target_execution_id'];
2050
2050
  isOneToOne: false;
2051
- referencedRelation: "execution_logs";
2052
- referencedColumns: ["execution_id"];
2051
+ referencedRelation: 'execution_logs';
2052
+ referencedColumns: ['execution_id'];
2053
2053
  }
2054
2054
  ];
2055
2055
  };
@@ -2089,95 +2089,104 @@ type Database = {
2089
2089
  };
2090
2090
  Relationships: [
2091
2091
  {
2092
- foreignKeyName: "credentials_created_by_fkey";
2093
- columns: ["created_by"];
2092
+ foreignKeyName: 'credentials_created_by_fkey';
2093
+ columns: ['created_by'];
2094
2094
  isOneToOne: false;
2095
- referencedRelation: "users";
2096
- referencedColumns: ["id"];
2095
+ referencedRelation: 'users';
2096
+ referencedColumns: ['id'];
2097
2097
  },
2098
2098
  {
2099
- foreignKeyName: "credentials_organization_id_fkey";
2100
- columns: ["organization_id"];
2099
+ foreignKeyName: 'credentials_organization_id_fkey';
2100
+ columns: ['organization_id'];
2101
2101
  isOneToOne: false;
2102
- referencedRelation: "organizations";
2103
- referencedColumns: ["id"];
2102
+ referencedRelation: 'organizations';
2103
+ referencedColumns: ['id'];
2104
2104
  }
2105
2105
  ];
2106
2106
  };
2107
- delivery_deliverables: {
2107
+ prj_tasks: {
2108
2108
  Row: {
2109
+ checklist: Json | null;
2109
2110
  completed_at: string | null;
2110
2111
  created_at: string;
2111
2112
  description: string | null;
2112
2113
  due_date: string | null;
2113
- engagement_id: string;
2114
2114
  file_url: string | null;
2115
2115
  id: string;
2116
2116
  metadata: Json | null;
2117
2117
  milestone_id: string | null;
2118
2118
  name: string;
2119
2119
  organization_id: string;
2120
+ parent_task_id: string | null;
2121
+ project_id: string;
2122
+ resume_context: Json | null;
2120
2123
  status: string;
2121
2124
  type: string;
2122
2125
  updated_at: string;
2123
2126
  };
2124
2127
  Insert: {
2128
+ checklist?: Json | null;
2125
2129
  completed_at?: string | null;
2126
2130
  created_at?: string;
2127
2131
  description?: string | null;
2128
2132
  due_date?: string | null;
2129
- engagement_id: string;
2130
2133
  file_url?: string | null;
2131
2134
  id?: string;
2132
2135
  metadata?: Json | null;
2133
2136
  milestone_id?: string | null;
2134
2137
  name: string;
2135
2138
  organization_id: string;
2139
+ parent_task_id?: string | null;
2140
+ project_id: string;
2141
+ resume_context?: Json | null;
2136
2142
  status?: string;
2137
2143
  type?: string;
2138
2144
  updated_at?: string;
2139
2145
  };
2140
2146
  Update: {
2147
+ checklist?: Json | null;
2141
2148
  completed_at?: string | null;
2142
2149
  created_at?: string;
2143
2150
  description?: string | null;
2144
2151
  due_date?: string | null;
2145
- engagement_id?: string;
2146
2152
  file_url?: string | null;
2147
2153
  id?: string;
2148
2154
  metadata?: Json | null;
2149
2155
  milestone_id?: string | null;
2150
2156
  name?: string;
2151
2157
  organization_id?: string;
2158
+ parent_task_id?: string | null;
2159
+ project_id?: string;
2160
+ resume_context?: Json | null;
2152
2161
  status?: string;
2153
2162
  type?: string;
2154
2163
  updated_at?: string;
2155
2164
  };
2156
2165
  Relationships: [
2157
2166
  {
2158
- foreignKeyName: "delivery_deliverables_engagement_id_fkey";
2159
- columns: ["engagement_id"];
2167
+ foreignKeyName: 'prj_tasks_project_id_fkey';
2168
+ columns: ['project_id'];
2160
2169
  isOneToOne: false;
2161
- referencedRelation: "delivery_engagements";
2162
- referencedColumns: ["id"];
2170
+ referencedRelation: 'prj_projects';
2171
+ referencedColumns: ['id'];
2163
2172
  },
2164
2173
  {
2165
- foreignKeyName: "delivery_deliverables_milestone_id_fkey";
2166
- columns: ["milestone_id"];
2174
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
2175
+ columns: ['milestone_id'];
2167
2176
  isOneToOne: false;
2168
- referencedRelation: "delivery_milestones";
2169
- referencedColumns: ["id"];
2177
+ referencedRelation: 'prj_milestones';
2178
+ referencedColumns: ['id'];
2170
2179
  },
2171
2180
  {
2172
- foreignKeyName: "delivery_deliverables_organization_id_fkey";
2173
- columns: ["organization_id"];
2181
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
2182
+ columns: ['organization_id'];
2174
2183
  isOneToOne: false;
2175
- referencedRelation: "organizations";
2176
- referencedColumns: ["id"];
2184
+ referencedRelation: 'organizations';
2185
+ referencedColumns: ['id'];
2177
2186
  }
2178
2187
  ];
2179
2188
  };
2180
- delivery_engagements: {
2189
+ prj_projects: {
2181
2190
  Row: {
2182
2191
  actual_end_date: string | null;
2183
2192
  client_company_id: string | null;
@@ -2186,6 +2195,7 @@ type Database = {
2186
2195
  deal_id: string | null;
2187
2196
  description: string | null;
2188
2197
  id: string;
2198
+ kind: string;
2189
2199
  metadata: Json | null;
2190
2200
  name: string;
2191
2201
  organization_id: string;
@@ -2202,6 +2212,7 @@ type Database = {
2202
2212
  deal_id?: string | null;
2203
2213
  description?: string | null;
2204
2214
  id?: string;
2215
+ kind?: string;
2205
2216
  metadata?: Json | null;
2206
2217
  name: string;
2207
2218
  organization_id: string;
@@ -2218,6 +2229,7 @@ type Database = {
2218
2229
  deal_id?: string | null;
2219
2230
  description?: string | null;
2220
2231
  id?: string;
2232
+ kind?: string;
2221
2233
  metadata?: Json | null;
2222
2234
  name?: string;
2223
2235
  organization_id?: string;
@@ -2228,40 +2240,40 @@ type Database = {
2228
2240
  };
2229
2241
  Relationships: [
2230
2242
  {
2231
- foreignKeyName: "delivery_engagements_client_company_id_fkey";
2232
- columns: ["client_company_id"];
2243
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
2244
+ columns: ['client_company_id'];
2233
2245
  isOneToOne: false;
2234
- referencedRelation: "acq_companies";
2235
- referencedColumns: ["id"];
2246
+ referencedRelation: 'acq_companies';
2247
+ referencedColumns: ['id'];
2236
2248
  },
2237
2249
  {
2238
- foreignKeyName: "delivery_engagements_deal_id_fkey";
2239
- columns: ["deal_id"];
2250
+ foreignKeyName: 'prj_projects_deal_id_fkey';
2251
+ columns: ['deal_id'];
2240
2252
  isOneToOne: false;
2241
- referencedRelation: "acq_deals";
2242
- referencedColumns: ["id"];
2253
+ referencedRelation: 'acq_deals';
2254
+ referencedColumns: ['id'];
2243
2255
  },
2244
2256
  {
2245
- foreignKeyName: "delivery_engagements_organization_id_fkey";
2246
- columns: ["organization_id"];
2257
+ foreignKeyName: 'prj_projects_organization_id_fkey';
2258
+ columns: ['organization_id'];
2247
2259
  isOneToOne: false;
2248
- referencedRelation: "organizations";
2249
- referencedColumns: ["id"];
2260
+ referencedRelation: 'organizations';
2261
+ referencedColumns: ['id'];
2250
2262
  }
2251
2263
  ];
2252
2264
  };
2253
- delivery_milestones: {
2265
+ prj_milestones: {
2254
2266
  Row: {
2255
2267
  checklist: Json | null;
2256
2268
  completed_at: string | null;
2257
2269
  created_at: string;
2258
2270
  description: string | null;
2259
2271
  due_date: string | null;
2260
- engagement_id: string;
2261
2272
  id: string;
2262
2273
  metadata: Json | null;
2263
2274
  name: string;
2264
2275
  organization_id: string;
2276
+ project_id: string;
2265
2277
  sequence: number;
2266
2278
  status: string;
2267
2279
  updated_at: string;
@@ -2272,11 +2284,11 @@ type Database = {
2272
2284
  created_at?: string;
2273
2285
  description?: string | null;
2274
2286
  due_date?: string | null;
2275
- engagement_id: string;
2276
2287
  id?: string;
2277
2288
  metadata?: Json | null;
2278
2289
  name: string;
2279
2290
  organization_id: string;
2291
+ project_id: string;
2280
2292
  sequence?: number;
2281
2293
  status?: string;
2282
2294
  updated_at?: string;
@@ -2287,90 +2299,96 @@ type Database = {
2287
2299
  created_at?: string;
2288
2300
  description?: string | null;
2289
2301
  due_date?: string | null;
2290
- engagement_id?: string;
2291
2302
  id?: string;
2292
2303
  metadata?: Json | null;
2293
2304
  name?: string;
2294
2305
  organization_id?: string;
2306
+ project_id?: string;
2295
2307
  sequence?: number;
2296
2308
  status?: string;
2297
2309
  updated_at?: string;
2298
2310
  };
2299
2311
  Relationships: [
2300
2312
  {
2301
- foreignKeyName: "delivery_milestones_engagement_id_fkey";
2302
- columns: ["engagement_id"];
2313
+ foreignKeyName: 'prj_milestones_project_id_fkey';
2314
+ columns: ['project_id'];
2303
2315
  isOneToOne: false;
2304
- referencedRelation: "delivery_engagements";
2305
- referencedColumns: ["id"];
2316
+ referencedRelation: 'prj_projects';
2317
+ referencedColumns: ['id'];
2306
2318
  },
2307
2319
  {
2308
- foreignKeyName: "delivery_milestones_organization_id_fkey";
2309
- columns: ["organization_id"];
2320
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
2321
+ columns: ['organization_id'];
2310
2322
  isOneToOne: false;
2311
- referencedRelation: "organizations";
2312
- referencedColumns: ["id"];
2323
+ referencedRelation: 'organizations';
2324
+ referencedColumns: ['id'];
2313
2325
  }
2314
2326
  ];
2315
2327
  };
2316
- delivery_notes: {
2328
+ prj_notes: {
2317
2329
  Row: {
2318
2330
  content: string;
2319
2331
  created_at: string;
2320
2332
  created_by: string | null;
2321
- engagement_id: string;
2322
2333
  id: string;
2323
2334
  metadata: Json | null;
2335
+ milestone_id: string | null;
2324
2336
  occurred_at: string;
2325
2337
  organization_id: string;
2338
+ project_id: string;
2326
2339
  summary: string | null;
2340
+ task_id: string | null;
2327
2341
  type: string;
2328
2342
  };
2329
2343
  Insert: {
2330
2344
  content: string;
2331
2345
  created_at?: string;
2332
2346
  created_by?: string | null;
2333
- engagement_id: string;
2334
2347
  id?: string;
2335
2348
  metadata?: Json | null;
2349
+ milestone_id?: string | null;
2336
2350
  occurred_at?: string;
2337
2351
  organization_id: string;
2352
+ project_id: string;
2338
2353
  summary?: string | null;
2354
+ task_id?: string | null;
2339
2355
  type?: string;
2340
2356
  };
2341
2357
  Update: {
2342
2358
  content?: string;
2343
2359
  created_at?: string;
2344
2360
  created_by?: string | null;
2345
- engagement_id?: string;
2346
2361
  id?: string;
2347
2362
  metadata?: Json | null;
2363
+ milestone_id?: string | null;
2348
2364
  occurred_at?: string;
2349
2365
  organization_id?: string;
2366
+ project_id?: string;
2350
2367
  summary?: string | null;
2368
+ task_id?: string | null;
2351
2369
  type?: string;
2352
2370
  };
2353
2371
  Relationships: [
2354
2372
  {
2355
- foreignKeyName: "delivery_notes_created_by_fkey";
2356
- columns: ["created_by"];
2373
+ foreignKeyName: 'prj_notes_created_by_fkey';
2374
+ columns: ['created_by'];
2357
2375
  isOneToOne: false;
2358
- referencedRelation: "users";
2359
- referencedColumns: ["id"];
2376
+ referencedRelation: 'users';
2377
+ referencedColumns: ['id'];
2360
2378
  },
2361
2379
  {
2362
- foreignKeyName: "delivery_notes_engagement_id_fkey";
2363
- columns: ["engagement_id"];
2380
+ foreignKeyName: 'prj_notes_project_id_fkey';
2381
+ columns: ['project_id'];
2364
2382
  isOneToOne: false;
2365
- referencedRelation: "delivery_engagements";
2366
- referencedColumns: ["id"];
2383
+ referencedRelation: 'prj_projects';
2384
+ referencedColumns: ['id'];
2367
2385
  },
2368
2386
  {
2369
- foreignKeyName: "delivery_notes_organization_id_fkey";
2370
- columns: ["organization_id"];
2387
+ foreignKeyName: 'prj_notes_organization_id_fkey';
2388
+ columns: ['organization_id'];
2371
2389
  isOneToOne: false;
2372
- referencedRelation: "organizations";
2373
- referencedColumns: ["id"];
2390
+ referencedRelation: 'organizations';
2391
+ referencedColumns: ['id'];
2374
2392
  }
2375
2393
  ];
2376
2394
  };
@@ -2422,11 +2440,11 @@ type Database = {
2422
2440
  };
2423
2441
  Relationships: [
2424
2442
  {
2425
- foreignKeyName: "deployments_organization_id_fkey";
2426
- columns: ["organization_id"];
2443
+ foreignKeyName: 'deployments_organization_id_fkey';
2444
+ columns: ['organization_id'];
2427
2445
  isOneToOne: false;
2428
- referencedRelation: "organizations";
2429
- referencedColumns: ["id"];
2446
+ referencedRelation: 'organizations';
2447
+ referencedColumns: ['id'];
2430
2448
  }
2431
2449
  ];
2432
2450
  };
@@ -2481,25 +2499,25 @@ type Database = {
2481
2499
  };
2482
2500
  Relationships: [
2483
2501
  {
2484
- foreignKeyName: "execution_errors_execution_id_fkey";
2485
- columns: ["execution_id"];
2502
+ foreignKeyName: 'execution_errors_execution_id_fkey';
2503
+ columns: ['execution_id'];
2486
2504
  isOneToOne: false;
2487
- referencedRelation: "execution_logs";
2488
- referencedColumns: ["execution_id"];
2505
+ referencedRelation: 'execution_logs';
2506
+ referencedColumns: ['execution_id'];
2489
2507
  },
2490
2508
  {
2491
- foreignKeyName: "execution_errors_organization_id_fkey";
2492
- columns: ["organization_id"];
2509
+ foreignKeyName: 'execution_errors_organization_id_fkey';
2510
+ columns: ['organization_id'];
2493
2511
  isOneToOne: false;
2494
- referencedRelation: "organizations";
2495
- referencedColumns: ["id"];
2512
+ referencedRelation: 'organizations';
2513
+ referencedColumns: ['id'];
2496
2514
  },
2497
2515
  {
2498
- foreignKeyName: "execution_errors_resolved_by_fkey";
2499
- columns: ["resolved_by"];
2516
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
2517
+ columns: ['resolved_by'];
2500
2518
  isOneToOne: false;
2501
- referencedRelation: "users";
2502
- referencedColumns: ["id"];
2519
+ referencedRelation: 'users';
2520
+ referencedColumns: ['id'];
2503
2521
  }
2504
2522
  ];
2505
2523
  };
@@ -2581,32 +2599,32 @@ type Database = {
2581
2599
  };
2582
2600
  Relationships: [
2583
2601
  {
2584
- foreignKeyName: "execution_history_organization_id_fkey";
2585
- columns: ["organization_id"];
2602
+ foreignKeyName: 'execution_history_organization_id_fkey';
2603
+ columns: ['organization_id'];
2586
2604
  isOneToOne: false;
2587
- referencedRelation: "organizations";
2588
- referencedColumns: ["id"];
2605
+ referencedRelation: 'organizations';
2606
+ referencedColumns: ['id'];
2589
2607
  },
2590
2608
  {
2591
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2592
- columns: ["origin_execution_id"];
2609
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2610
+ columns: ['origin_execution_id'];
2593
2611
  isOneToOne: false;
2594
- referencedRelation: "execution_logs";
2595
- referencedColumns: ["execution_id"];
2612
+ referencedRelation: 'execution_logs';
2613
+ referencedColumns: ['execution_id'];
2596
2614
  },
2597
2615
  {
2598
- foreignKeyName: "execution_logs_session_id_fkey";
2599
- columns: ["session_id"];
2616
+ foreignKeyName: 'execution_logs_session_id_fkey';
2617
+ columns: ['session_id'];
2600
2618
  isOneToOne: false;
2601
- referencedRelation: "sessions";
2602
- referencedColumns: ["session_id"];
2619
+ referencedRelation: 'sessions';
2620
+ referencedColumns: ['session_id'];
2603
2621
  },
2604
2622
  {
2605
- foreignKeyName: "execution_logs_user_id_fkey";
2606
- columns: ["user_id"];
2623
+ foreignKeyName: 'execution_logs_user_id_fkey';
2624
+ columns: ['user_id'];
2607
2625
  isOneToOne: false;
2608
- referencedRelation: "users";
2609
- referencedColumns: ["id"];
2626
+ referencedRelation: 'users';
2627
+ referencedColumns: ['id'];
2610
2628
  }
2611
2629
  ];
2612
2630
  };
@@ -2652,18 +2670,18 @@ type Database = {
2652
2670
  };
2653
2671
  Relationships: [
2654
2672
  {
2655
- foreignKeyName: "execution_metrics_execution_id_fkey";
2656
- columns: ["execution_id"];
2673
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2674
+ columns: ['execution_id'];
2657
2675
  isOneToOne: true;
2658
- referencedRelation: "execution_logs";
2659
- referencedColumns: ["execution_id"];
2676
+ referencedRelation: 'execution_logs';
2677
+ referencedColumns: ['execution_id'];
2660
2678
  },
2661
2679
  {
2662
- foreignKeyName: "execution_metrics_organization_id_fkey";
2663
- columns: ["organization_id"];
2680
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2681
+ columns: ['organization_id'];
2664
2682
  isOneToOne: false;
2665
- referencedRelation: "organizations";
2666
- referencedColumns: ["id"];
2683
+ referencedRelation: 'organizations';
2684
+ referencedColumns: ['id'];
2667
2685
  }
2668
2686
  ];
2669
2687
  };
@@ -2706,18 +2724,18 @@ type Database = {
2706
2724
  };
2707
2725
  Relationships: [
2708
2726
  {
2709
- foreignKeyName: "notifications_organization_id_fkey";
2710
- columns: ["organization_id"];
2727
+ foreignKeyName: 'notifications_organization_id_fkey';
2728
+ columns: ['organization_id'];
2711
2729
  isOneToOne: false;
2712
- referencedRelation: "organizations";
2713
- referencedColumns: ["id"];
2730
+ referencedRelation: 'organizations';
2731
+ referencedColumns: ['id'];
2714
2732
  },
2715
2733
  {
2716
- foreignKeyName: "notifications_user_id_fkey";
2717
- columns: ["user_id"];
2734
+ foreignKeyName: 'notifications_user_id_fkey';
2735
+ columns: ['user_id'];
2718
2736
  isOneToOne: false;
2719
- referencedRelation: "users";
2720
- referencedColumns: ["id"];
2737
+ referencedRelation: 'users';
2738
+ referencedColumns: ['id'];
2721
2739
  }
2722
2740
  ];
2723
2741
  };
@@ -2772,18 +2790,18 @@ type Database = {
2772
2790
  };
2773
2791
  Relationships: [
2774
2792
  {
2775
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
2776
- columns: ["inviter_user_id"];
2793
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2794
+ columns: ['inviter_user_id'];
2777
2795
  isOneToOne: false;
2778
- referencedRelation: "users";
2779
- referencedColumns: ["id"];
2796
+ referencedRelation: 'users';
2797
+ referencedColumns: ['id'];
2780
2798
  },
2781
2799
  {
2782
- foreignKeyName: "org_invitations_organization_id_fkey";
2783
- columns: ["organization_id"];
2800
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2801
+ columns: ['organization_id'];
2784
2802
  isOneToOne: false;
2785
- referencedRelation: "organizations";
2786
- referencedColumns: ["id"];
2803
+ referencedRelation: 'organizations';
2804
+ referencedColumns: ['id'];
2787
2805
  }
2788
2806
  ];
2789
2807
  };
@@ -2823,18 +2841,18 @@ type Database = {
2823
2841
  };
2824
2842
  Relationships: [
2825
2843
  {
2826
- foreignKeyName: "org_memberships_organization_id_fkey";
2827
- columns: ["organization_id"];
2844
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2845
+ columns: ['organization_id'];
2828
2846
  isOneToOne: false;
2829
- referencedRelation: "organizations";
2830
- referencedColumns: ["id"];
2847
+ referencedRelation: 'organizations';
2848
+ referencedColumns: ['id'];
2831
2849
  },
2832
2850
  {
2833
- foreignKeyName: "org_memberships_user_id_fkey";
2834
- columns: ["user_id"];
2851
+ foreignKeyName: 'org_memberships_user_id_fkey';
2852
+ columns: ['user_id'];
2835
2853
  isOneToOne: false;
2836
- referencedRelation: "users";
2837
- referencedColumns: ["id"];
2854
+ referencedRelation: 'users';
2855
+ referencedColumns: ['id'];
2838
2856
  }
2839
2857
  ];
2840
2858
  };
@@ -2910,11 +2928,11 @@ type Database = {
2910
2928
  };
2911
2929
  Relationships: [
2912
2930
  {
2913
- foreignKeyName: "session_messages_session_id_fkey";
2914
- columns: ["session_id"];
2931
+ foreignKeyName: 'session_messages_session_id_fkey';
2932
+ columns: ['session_id'];
2915
2933
  isOneToOne: false;
2916
- referencedRelation: "sessions";
2917
- referencedColumns: ["session_id"];
2934
+ referencedRelation: 'sessions';
2935
+ referencedColumns: ['session_id'];
2918
2936
  }
2919
2937
  ];
2920
2938
  };
@@ -2969,18 +2987,18 @@ type Database = {
2969
2987
  };
2970
2988
  Relationships: [
2971
2989
  {
2972
- foreignKeyName: "fk_organization";
2973
- columns: ["organization_id"];
2990
+ foreignKeyName: 'fk_organization';
2991
+ columns: ['organization_id'];
2974
2992
  isOneToOne: false;
2975
- referencedRelation: "organizations";
2976
- referencedColumns: ["id"];
2993
+ referencedRelation: 'organizations';
2994
+ referencedColumns: ['id'];
2977
2995
  },
2978
2996
  {
2979
- foreignKeyName: "fk_user";
2980
- columns: ["user_id"];
2997
+ foreignKeyName: 'fk_user';
2998
+ columns: ['user_id'];
2981
2999
  isOneToOne: false;
2982
- referencedRelation: "users";
2983
- referencedColumns: ["id"];
3000
+ referencedRelation: 'users';
3001
+ referencedColumns: ['id'];
2984
3002
  }
2985
3003
  ];
2986
3004
  };
@@ -3056,11 +3074,11 @@ type Database = {
3056
3074
  };
3057
3075
  Relationships: [
3058
3076
  {
3059
- foreignKeyName: "task_schedules_organization_id_fkey";
3060
- columns: ["organization_id"];
3077
+ foreignKeyName: 'task_schedules_organization_id_fkey';
3078
+ columns: ['organization_id'];
3061
3079
  isOneToOne: false;
3062
- referencedRelation: "organizations";
3063
- referencedColumns: ["id"];
3080
+ referencedRelation: 'organizations';
3081
+ referencedColumns: ['id'];
3064
3082
  }
3065
3083
  ];
3066
3084
  };
@@ -3115,11 +3133,11 @@ type Database = {
3115
3133
  };
3116
3134
  Relationships: [
3117
3135
  {
3118
- foreignKeyName: "user_profiles_last_visited_org_fkey";
3119
- columns: ["last_visited_org"];
3136
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
3137
+ columns: ['last_visited_org'];
3120
3138
  isOneToOne: false;
3121
- referencedRelation: "organizations";
3122
- referencedColumns: ["id"];
3139
+ referencedRelation: 'organizations';
3140
+ referencedColumns: ['id'];
3123
3141
  }
3124
3142
  ];
3125
3143
  };
@@ -3165,11 +3183,11 @@ type Database = {
3165
3183
  };
3166
3184
  Relationships: [
3167
3185
  {
3168
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
3169
- columns: ["organization_id"];
3186
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
3187
+ columns: ['organization_id'];
3170
3188
  isOneToOne: false;
3171
- referencedRelation: "organizations";
3172
- referencedColumns: ["id"];
3189
+ referencedRelation: 'organizations';
3190
+ referencedColumns: ['id'];
3173
3191
  }
3174
3192
  ];
3175
3193
  };
@@ -3289,17 +3307,17 @@ type Database = {
3289
3307
  };
3290
3308
  };
3291
3309
  };
3292
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
3293
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3294
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
3310
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
3311
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
3312
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
3295
3313
  schema: keyof DatabaseWithoutInternals;
3296
3314
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
3297
3315
  schema: keyof DatabaseWithoutInternals;
3298
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
3316
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
3299
3317
  schema: keyof DatabaseWithoutInternals;
3300
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
3318
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
3301
3319
  Row: infer R;
3302
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
3320
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
3303
3321
  Row: infer R;
3304
3322
  } ? R : never : never;
3305
3323