@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.
@@ -6,7 +6,7 @@ type Json = string | number | boolean | null | {
6
6
  } | Json[];
7
7
  type Database = {
8
8
  __InternalSupabase: {
9
- PostgrestVersion: "12.2.3 (519615d)";
9
+ PostgrestVersion: '12.2.3 (519615d)';
10
10
  };
11
11
  public: {
12
12
  Tables: {
@@ -85,11 +85,11 @@ type Database = {
85
85
  };
86
86
  Relationships: [
87
87
  {
88
- foreignKeyName: "acq_companies_organization_id_fkey";
89
- columns: ["organization_id"];
88
+ foreignKeyName: 'acq_companies_organization_id_fkey';
89
+ columns: ['organization_id'];
90
90
  isOneToOne: false;
91
- referencedRelation: "organizations";
92
- referencedColumns: ["id"];
91
+ referencedRelation: 'organizations';
92
+ referencedColumns: ['id'];
93
93
  }
94
94
  ];
95
95
  };
@@ -174,18 +174,18 @@ type Database = {
174
174
  };
175
175
  Relationships: [
176
176
  {
177
- foreignKeyName: "acq_contacts_company_id_fkey";
178
- columns: ["company_id"];
177
+ foreignKeyName: 'acq_contacts_company_id_fkey';
178
+ columns: ['company_id'];
179
179
  isOneToOne: false;
180
- referencedRelation: "acq_companies";
181
- referencedColumns: ["id"];
180
+ referencedRelation: 'acq_companies';
181
+ referencedColumns: ['id'];
182
182
  },
183
183
  {
184
- foreignKeyName: "acq_contacts_organization_id_fkey";
185
- columns: ["organization_id"];
184
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
185
+ columns: ['organization_id'];
186
186
  isOneToOne: false;
187
- referencedRelation: "organizations";
188
- referencedColumns: ["id"];
187
+ referencedRelation: 'organizations';
188
+ referencedColumns: ['id'];
189
189
  }
190
190
  ];
191
191
  };
@@ -222,11 +222,11 @@ type Database = {
222
222
  };
223
223
  Relationships: [
224
224
  {
225
- foreignKeyName: "acq_content_organization_id_fkey";
226
- columns: ["organization_id"];
225
+ foreignKeyName: 'acq_content_organization_id_fkey';
226
+ columns: ['organization_id'];
227
227
  isOneToOne: false;
228
- referencedRelation: "organizations";
229
- referencedColumns: ["id"];
228
+ referencedRelation: 'organizations';
229
+ referencedColumns: ['id'];
230
230
  }
231
231
  ];
232
232
  };
@@ -290,18 +290,18 @@ type Database = {
290
290
  };
291
291
  Relationships: [
292
292
  {
293
- foreignKeyName: "acq_content_distributions_content_id_fkey";
294
- columns: ["content_id"];
293
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
294
+ columns: ['content_id'];
295
295
  isOneToOne: false;
296
- referencedRelation: "acq_content";
297
- referencedColumns: ["id"];
296
+ referencedRelation: 'acq_content';
297
+ referencedColumns: ['id'];
298
298
  },
299
299
  {
300
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
301
- columns: ["organization_id"];
300
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
301
+ columns: ['organization_id'];
302
302
  isOneToOne: false;
303
- referencedRelation: "organizations";
304
- referencedColumns: ["id"];
303
+ referencedRelation: 'organizations';
304
+ referencedColumns: ['id'];
305
305
  }
306
306
  ];
307
307
  };
@@ -413,25 +413,25 @@ type Database = {
413
413
  };
414
414
  Relationships: [
415
415
  {
416
- foreignKeyName: "acq_deals_contact_id_fkey";
417
- columns: ["contact_id"];
416
+ foreignKeyName: 'acq_deals_contact_id_fkey';
417
+ columns: ['contact_id'];
418
418
  isOneToOne: false;
419
- referencedRelation: "acq_contacts";
420
- referencedColumns: ["id"];
419
+ referencedRelation: 'acq_contacts';
420
+ referencedColumns: ['id'];
421
421
  },
422
422
  {
423
- foreignKeyName: "acq_deals_organization_id_fkey";
424
- columns: ["organization_id"];
423
+ foreignKeyName: 'acq_deals_organization_id_fkey';
424
+ columns: ['organization_id'];
425
425
  isOneToOne: false;
426
- referencedRelation: "organizations";
427
- referencedColumns: ["id"];
426
+ referencedRelation: 'organizations';
427
+ referencedColumns: ['id'];
428
428
  },
429
429
  {
430
- foreignKeyName: "acq_deals_source_list_id_fkey";
431
- columns: ["source_list_id"];
430
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
431
+ columns: ['source_list_id'];
432
432
  isOneToOne: false;
433
- referencedRelation: "acq_lists";
434
- referencedColumns: ["id"];
433
+ referencedRelation: 'acq_lists';
434
+ referencedColumns: ['id'];
435
435
  }
436
436
  ];
437
437
  };
@@ -459,18 +459,18 @@ type Database = {
459
459
  };
460
460
  Relationships: [
461
461
  {
462
- foreignKeyName: "acq_list_members_contact_id_fkey";
463
- columns: ["contact_id"];
462
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
463
+ columns: ['contact_id'];
464
464
  isOneToOne: false;
465
- referencedRelation: "acq_contacts";
466
- referencedColumns: ["id"];
465
+ referencedRelation: 'acq_contacts';
466
+ referencedColumns: ['id'];
467
467
  },
468
468
  {
469
- foreignKeyName: "acq_list_members_list_id_fkey";
470
- columns: ["list_id"];
469
+ foreignKeyName: 'acq_list_members_list_id_fkey';
470
+ columns: ['list_id'];
471
471
  isOneToOne: false;
472
- referencedRelation: "acq_lists";
473
- referencedColumns: ["id"];
472
+ referencedRelation: 'acq_lists';
473
+ referencedColumns: ['id'];
474
474
  }
475
475
  ];
476
476
  };
@@ -519,11 +519,11 @@ type Database = {
519
519
  };
520
520
  Relationships: [
521
521
  {
522
- foreignKeyName: "acq_lists_organization_id_fkey";
523
- columns: ["organization_id"];
522
+ foreignKeyName: 'acq_lists_organization_id_fkey';
523
+ columns: ['organization_id'];
524
524
  isOneToOne: false;
525
- referencedRelation: "organizations";
526
- referencedColumns: ["id"];
525
+ referencedRelation: 'organizations';
526
+ referencedColumns: ['id'];
527
527
  }
528
528
  ];
529
529
  };
@@ -599,18 +599,18 @@ type Database = {
599
599
  };
600
600
  Relationships: [
601
601
  {
602
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
603
- columns: ["organization_id"];
602
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
603
+ columns: ['organization_id'];
604
604
  isOneToOne: false;
605
- referencedRelation: "organizations";
606
- referencedColumns: ["id"];
605
+ referencedRelation: 'organizations';
606
+ referencedColumns: ['id'];
607
607
  },
608
608
  {
609
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
610
- columns: ["seo_page_id"];
609
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
610
+ columns: ['seo_page_id'];
611
611
  isOneToOne: false;
612
- referencedRelation: "acq_seo_pages";
613
- referencedColumns: ["id"];
612
+ referencedRelation: 'acq_seo_pages';
613
+ referencedColumns: ['id'];
614
614
  }
615
615
  ];
616
616
  };
@@ -686,11 +686,11 @@ type Database = {
686
686
  };
687
687
  Relationships: [
688
688
  {
689
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
690
- columns: ["organization_id"];
689
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
690
+ columns: ['organization_id'];
691
691
  isOneToOne: false;
692
- referencedRelation: "organizations";
693
- referencedColumns: ["id"];
692
+ referencedRelation: 'organizations';
693
+ referencedColumns: ['id'];
694
694
  }
695
695
  ];
696
696
  };
@@ -787,11 +787,11 @@ type Database = {
787
787
  };
788
788
  Relationships: [
789
789
  {
790
- foreignKeyName: "acq_social_posts_organization_id_fkey";
791
- columns: ["organization_id"];
790
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
791
+ columns: ['organization_id'];
792
792
  isOneToOne: false;
793
- referencedRelation: "organizations";
794
- referencedColumns: ["id"];
793
+ referencedRelation: 'organizations';
794
+ referencedColumns: ['id'];
795
795
  }
796
796
  ];
797
797
  };
@@ -846,11 +846,11 @@ type Database = {
846
846
  };
847
847
  Relationships: [
848
848
  {
849
- foreignKeyName: "activities_organization_id_fkey";
850
- columns: ["organization_id"];
849
+ foreignKeyName: 'activities_organization_id_fkey';
850
+ columns: ['organization_id'];
851
851
  isOneToOne: false;
852
- referencedRelation: "organizations";
853
- referencedColumns: ["id"];
852
+ referencedRelation: 'organizations';
853
+ referencedColumns: ['id'];
854
854
  }
855
855
  ];
856
856
  };
@@ -881,11 +881,11 @@ type Database = {
881
881
  };
882
882
  Relationships: [
883
883
  {
884
- foreignKeyName: "api_keys_organization_id_fkey";
885
- columns: ["organization_id"];
884
+ foreignKeyName: 'api_keys_organization_id_fkey';
885
+ columns: ['organization_id'];
886
886
  isOneToOne: false;
887
- referencedRelation: "organizations";
888
- referencedColumns: ["id"];
887
+ referencedRelation: 'organizations';
888
+ referencedColumns: ['id'];
889
889
  }
890
890
  ];
891
891
  };
@@ -922,11 +922,11 @@ type Database = {
922
922
  };
923
923
  Relationships: [
924
924
  {
925
- foreignKeyName: "calibration_projects_organization_id_fkey";
926
- columns: ["organization_id"];
925
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
926
+ columns: ['organization_id'];
927
927
  isOneToOne: false;
928
- referencedRelation: "organizations";
929
- referencedColumns: ["id"];
928
+ referencedRelation: 'organizations';
929
+ referencedColumns: ['id'];
930
930
  }
931
931
  ];
932
932
  };
@@ -981,18 +981,18 @@ type Database = {
981
981
  };
982
982
  Relationships: [
983
983
  {
984
- foreignKeyName: "calibration_runs_organization_id_fkey";
985
- columns: ["organization_id"];
984
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
985
+ columns: ['organization_id'];
986
986
  isOneToOne: false;
987
- referencedRelation: "organizations";
988
- referencedColumns: ["id"];
987
+ referencedRelation: 'organizations';
988
+ referencedColumns: ['id'];
989
989
  },
990
990
  {
991
- foreignKeyName: "calibration_runs_project_id_fkey";
992
- columns: ["project_id"];
991
+ foreignKeyName: 'calibration_runs_project_id_fkey';
992
+ columns: ['project_id'];
993
993
  isOneToOne: false;
994
- referencedRelation: "calibration_projects";
995
- referencedColumns: ["id"];
994
+ referencedRelation: 'calibration_projects';
995
+ referencedColumns: ['id'];
996
996
  }
997
997
  ];
998
998
  };
@@ -1071,25 +1071,25 @@ type Database = {
1071
1071
  };
1072
1072
  Relationships: [
1073
1073
  {
1074
- foreignKeyName: "command_queue_completed_by_fkey";
1075
- columns: ["completed_by"];
1074
+ foreignKeyName: 'command_queue_completed_by_fkey';
1075
+ columns: ['completed_by'];
1076
1076
  isOneToOne: false;
1077
- referencedRelation: "users";
1078
- referencedColumns: ["id"];
1077
+ referencedRelation: 'users';
1078
+ referencedColumns: ['id'];
1079
1079
  },
1080
1080
  {
1081
- foreignKeyName: "command_queue_organization_id_fkey";
1082
- columns: ["organization_id"];
1081
+ foreignKeyName: 'command_queue_organization_id_fkey';
1082
+ columns: ['organization_id'];
1083
1083
  isOneToOne: false;
1084
- referencedRelation: "organizations";
1085
- referencedColumns: ["id"];
1084
+ referencedRelation: 'organizations';
1085
+ referencedColumns: ['id'];
1086
1086
  },
1087
1087
  {
1088
- foreignKeyName: "command_queue_target_execution_id_fkey";
1089
- columns: ["target_execution_id"];
1088
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1089
+ columns: ['target_execution_id'];
1090
1090
  isOneToOne: false;
1091
- referencedRelation: "execution_logs";
1092
- referencedColumns: ["execution_id"];
1091
+ referencedRelation: 'execution_logs';
1092
+ referencedColumns: ['execution_id'];
1093
1093
  }
1094
1094
  ];
1095
1095
  };
@@ -1129,95 +1129,104 @@ type Database = {
1129
1129
  };
1130
1130
  Relationships: [
1131
1131
  {
1132
- foreignKeyName: "credentials_created_by_fkey";
1133
- columns: ["created_by"];
1132
+ foreignKeyName: 'credentials_created_by_fkey';
1133
+ columns: ['created_by'];
1134
1134
  isOneToOne: false;
1135
- referencedRelation: "users";
1136
- referencedColumns: ["id"];
1135
+ referencedRelation: 'users';
1136
+ referencedColumns: ['id'];
1137
1137
  },
1138
1138
  {
1139
- foreignKeyName: "credentials_organization_id_fkey";
1140
- columns: ["organization_id"];
1139
+ foreignKeyName: 'credentials_organization_id_fkey';
1140
+ columns: ['organization_id'];
1141
1141
  isOneToOne: false;
1142
- referencedRelation: "organizations";
1143
- referencedColumns: ["id"];
1142
+ referencedRelation: 'organizations';
1143
+ referencedColumns: ['id'];
1144
1144
  }
1145
1145
  ];
1146
1146
  };
1147
- delivery_deliverables: {
1147
+ prj_tasks: {
1148
1148
  Row: {
1149
+ checklist: Json | null;
1149
1150
  completed_at: string | null;
1150
1151
  created_at: string;
1151
1152
  description: string | null;
1152
1153
  due_date: string | null;
1153
- engagement_id: string;
1154
1154
  file_url: string | null;
1155
1155
  id: string;
1156
1156
  metadata: Json | null;
1157
1157
  milestone_id: string | null;
1158
1158
  name: string;
1159
1159
  organization_id: string;
1160
+ parent_task_id: string | null;
1161
+ project_id: string;
1162
+ resume_context: Json | null;
1160
1163
  status: string;
1161
1164
  type: string;
1162
1165
  updated_at: string;
1163
1166
  };
1164
1167
  Insert: {
1168
+ checklist?: Json | null;
1165
1169
  completed_at?: string | null;
1166
1170
  created_at?: string;
1167
1171
  description?: string | null;
1168
1172
  due_date?: string | null;
1169
- engagement_id: string;
1170
1173
  file_url?: string | null;
1171
1174
  id?: string;
1172
1175
  metadata?: Json | null;
1173
1176
  milestone_id?: string | null;
1174
1177
  name: string;
1175
1178
  organization_id: string;
1179
+ parent_task_id?: string | null;
1180
+ project_id: string;
1181
+ resume_context?: Json | null;
1176
1182
  status?: string;
1177
1183
  type?: string;
1178
1184
  updated_at?: string;
1179
1185
  };
1180
1186
  Update: {
1187
+ checklist?: Json | null;
1181
1188
  completed_at?: string | null;
1182
1189
  created_at?: string;
1183
1190
  description?: string | null;
1184
1191
  due_date?: string | null;
1185
- engagement_id?: string;
1186
1192
  file_url?: string | null;
1187
1193
  id?: string;
1188
1194
  metadata?: Json | null;
1189
1195
  milestone_id?: string | null;
1190
1196
  name?: string;
1191
1197
  organization_id?: string;
1198
+ parent_task_id?: string | null;
1199
+ project_id?: string;
1200
+ resume_context?: Json | null;
1192
1201
  status?: string;
1193
1202
  type?: string;
1194
1203
  updated_at?: string;
1195
1204
  };
1196
1205
  Relationships: [
1197
1206
  {
1198
- foreignKeyName: "delivery_deliverables_engagement_id_fkey";
1199
- columns: ["engagement_id"];
1207
+ foreignKeyName: 'prj_tasks_project_id_fkey';
1208
+ columns: ['project_id'];
1200
1209
  isOneToOne: false;
1201
- referencedRelation: "delivery_engagements";
1202
- referencedColumns: ["id"];
1210
+ referencedRelation: 'prj_projects';
1211
+ referencedColumns: ['id'];
1203
1212
  },
1204
1213
  {
1205
- foreignKeyName: "delivery_deliverables_milestone_id_fkey";
1206
- columns: ["milestone_id"];
1214
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
1215
+ columns: ['milestone_id'];
1207
1216
  isOneToOne: false;
1208
- referencedRelation: "delivery_milestones";
1209
- referencedColumns: ["id"];
1217
+ referencedRelation: 'prj_milestones';
1218
+ referencedColumns: ['id'];
1210
1219
  },
1211
1220
  {
1212
- foreignKeyName: "delivery_deliverables_organization_id_fkey";
1213
- columns: ["organization_id"];
1221
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
1222
+ columns: ['organization_id'];
1214
1223
  isOneToOne: false;
1215
- referencedRelation: "organizations";
1216
- referencedColumns: ["id"];
1224
+ referencedRelation: 'organizations';
1225
+ referencedColumns: ['id'];
1217
1226
  }
1218
1227
  ];
1219
1228
  };
1220
- delivery_engagements: {
1229
+ prj_projects: {
1221
1230
  Row: {
1222
1231
  actual_end_date: string | null;
1223
1232
  client_company_id: string | null;
@@ -1226,6 +1235,7 @@ type Database = {
1226
1235
  deal_id: string | null;
1227
1236
  description: string | null;
1228
1237
  id: string;
1238
+ kind: string;
1229
1239
  metadata: Json | null;
1230
1240
  name: string;
1231
1241
  organization_id: string;
@@ -1242,6 +1252,7 @@ type Database = {
1242
1252
  deal_id?: string | null;
1243
1253
  description?: string | null;
1244
1254
  id?: string;
1255
+ kind?: string;
1245
1256
  metadata?: Json | null;
1246
1257
  name: string;
1247
1258
  organization_id: string;
@@ -1258,6 +1269,7 @@ type Database = {
1258
1269
  deal_id?: string | null;
1259
1270
  description?: string | null;
1260
1271
  id?: string;
1272
+ kind?: string;
1261
1273
  metadata?: Json | null;
1262
1274
  name?: string;
1263
1275
  organization_id?: string;
@@ -1268,40 +1280,40 @@ type Database = {
1268
1280
  };
1269
1281
  Relationships: [
1270
1282
  {
1271
- foreignKeyName: "delivery_engagements_client_company_id_fkey";
1272
- columns: ["client_company_id"];
1283
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
1284
+ columns: ['client_company_id'];
1273
1285
  isOneToOne: false;
1274
- referencedRelation: "acq_companies";
1275
- referencedColumns: ["id"];
1286
+ referencedRelation: 'acq_companies';
1287
+ referencedColumns: ['id'];
1276
1288
  },
1277
1289
  {
1278
- foreignKeyName: "delivery_engagements_deal_id_fkey";
1279
- columns: ["deal_id"];
1290
+ foreignKeyName: 'prj_projects_deal_id_fkey';
1291
+ columns: ['deal_id'];
1280
1292
  isOneToOne: false;
1281
- referencedRelation: "acq_deals";
1282
- referencedColumns: ["id"];
1293
+ referencedRelation: 'acq_deals';
1294
+ referencedColumns: ['id'];
1283
1295
  },
1284
1296
  {
1285
- foreignKeyName: "delivery_engagements_organization_id_fkey";
1286
- columns: ["organization_id"];
1297
+ foreignKeyName: 'prj_projects_organization_id_fkey';
1298
+ columns: ['organization_id'];
1287
1299
  isOneToOne: false;
1288
- referencedRelation: "organizations";
1289
- referencedColumns: ["id"];
1300
+ referencedRelation: 'organizations';
1301
+ referencedColumns: ['id'];
1290
1302
  }
1291
1303
  ];
1292
1304
  };
1293
- delivery_milestones: {
1305
+ prj_milestones: {
1294
1306
  Row: {
1295
1307
  checklist: Json | null;
1296
1308
  completed_at: string | null;
1297
1309
  created_at: string;
1298
1310
  description: string | null;
1299
1311
  due_date: string | null;
1300
- engagement_id: string;
1301
1312
  id: string;
1302
1313
  metadata: Json | null;
1303
1314
  name: string;
1304
1315
  organization_id: string;
1316
+ project_id: string;
1305
1317
  sequence: number;
1306
1318
  status: string;
1307
1319
  updated_at: string;
@@ -1312,11 +1324,11 @@ type Database = {
1312
1324
  created_at?: string;
1313
1325
  description?: string | null;
1314
1326
  due_date?: string | null;
1315
- engagement_id: string;
1316
1327
  id?: string;
1317
1328
  metadata?: Json | null;
1318
1329
  name: string;
1319
1330
  organization_id: string;
1331
+ project_id: string;
1320
1332
  sequence?: number;
1321
1333
  status?: string;
1322
1334
  updated_at?: string;
@@ -1327,90 +1339,96 @@ type Database = {
1327
1339
  created_at?: string;
1328
1340
  description?: string | null;
1329
1341
  due_date?: string | null;
1330
- engagement_id?: string;
1331
1342
  id?: string;
1332
1343
  metadata?: Json | null;
1333
1344
  name?: string;
1334
1345
  organization_id?: string;
1346
+ project_id?: string;
1335
1347
  sequence?: number;
1336
1348
  status?: string;
1337
1349
  updated_at?: string;
1338
1350
  };
1339
1351
  Relationships: [
1340
1352
  {
1341
- foreignKeyName: "delivery_milestones_engagement_id_fkey";
1342
- columns: ["engagement_id"];
1353
+ foreignKeyName: 'prj_milestones_project_id_fkey';
1354
+ columns: ['project_id'];
1343
1355
  isOneToOne: false;
1344
- referencedRelation: "delivery_engagements";
1345
- referencedColumns: ["id"];
1356
+ referencedRelation: 'prj_projects';
1357
+ referencedColumns: ['id'];
1346
1358
  },
1347
1359
  {
1348
- foreignKeyName: "delivery_milestones_organization_id_fkey";
1349
- columns: ["organization_id"];
1360
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
1361
+ columns: ['organization_id'];
1350
1362
  isOneToOne: false;
1351
- referencedRelation: "organizations";
1352
- referencedColumns: ["id"];
1363
+ referencedRelation: 'organizations';
1364
+ referencedColumns: ['id'];
1353
1365
  }
1354
1366
  ];
1355
1367
  };
1356
- delivery_notes: {
1368
+ prj_notes: {
1357
1369
  Row: {
1358
1370
  content: string;
1359
1371
  created_at: string;
1360
1372
  created_by: string | null;
1361
- engagement_id: string;
1362
1373
  id: string;
1363
1374
  metadata: Json | null;
1375
+ milestone_id: string | null;
1364
1376
  occurred_at: string;
1365
1377
  organization_id: string;
1378
+ project_id: string;
1366
1379
  summary: string | null;
1380
+ task_id: string | null;
1367
1381
  type: string;
1368
1382
  };
1369
1383
  Insert: {
1370
1384
  content: string;
1371
1385
  created_at?: string;
1372
1386
  created_by?: string | null;
1373
- engagement_id: string;
1374
1387
  id?: string;
1375
1388
  metadata?: Json | null;
1389
+ milestone_id?: string | null;
1376
1390
  occurred_at?: string;
1377
1391
  organization_id: string;
1392
+ project_id: string;
1378
1393
  summary?: string | null;
1394
+ task_id?: string | null;
1379
1395
  type?: string;
1380
1396
  };
1381
1397
  Update: {
1382
1398
  content?: string;
1383
1399
  created_at?: string;
1384
1400
  created_by?: string | null;
1385
- engagement_id?: string;
1386
1401
  id?: string;
1387
1402
  metadata?: Json | null;
1403
+ milestone_id?: string | null;
1388
1404
  occurred_at?: string;
1389
1405
  organization_id?: string;
1406
+ project_id?: string;
1390
1407
  summary?: string | null;
1408
+ task_id?: string | null;
1391
1409
  type?: string;
1392
1410
  };
1393
1411
  Relationships: [
1394
1412
  {
1395
- foreignKeyName: "delivery_notes_created_by_fkey";
1396
- columns: ["created_by"];
1413
+ foreignKeyName: 'prj_notes_created_by_fkey';
1414
+ columns: ['created_by'];
1397
1415
  isOneToOne: false;
1398
- referencedRelation: "users";
1399
- referencedColumns: ["id"];
1416
+ referencedRelation: 'users';
1417
+ referencedColumns: ['id'];
1400
1418
  },
1401
1419
  {
1402
- foreignKeyName: "delivery_notes_engagement_id_fkey";
1403
- columns: ["engagement_id"];
1420
+ foreignKeyName: 'prj_notes_project_id_fkey';
1421
+ columns: ['project_id'];
1404
1422
  isOneToOne: false;
1405
- referencedRelation: "delivery_engagements";
1406
- referencedColumns: ["id"];
1423
+ referencedRelation: 'prj_projects';
1424
+ referencedColumns: ['id'];
1407
1425
  },
1408
1426
  {
1409
- foreignKeyName: "delivery_notes_organization_id_fkey";
1410
- columns: ["organization_id"];
1427
+ foreignKeyName: 'prj_notes_organization_id_fkey';
1428
+ columns: ['organization_id'];
1411
1429
  isOneToOne: false;
1412
- referencedRelation: "organizations";
1413
- referencedColumns: ["id"];
1430
+ referencedRelation: 'organizations';
1431
+ referencedColumns: ['id'];
1414
1432
  }
1415
1433
  ];
1416
1434
  };
@@ -1462,11 +1480,11 @@ type Database = {
1462
1480
  };
1463
1481
  Relationships: [
1464
1482
  {
1465
- foreignKeyName: "deployments_organization_id_fkey";
1466
- columns: ["organization_id"];
1483
+ foreignKeyName: 'deployments_organization_id_fkey';
1484
+ columns: ['organization_id'];
1467
1485
  isOneToOne: false;
1468
- referencedRelation: "organizations";
1469
- referencedColumns: ["id"];
1486
+ referencedRelation: 'organizations';
1487
+ referencedColumns: ['id'];
1470
1488
  }
1471
1489
  ];
1472
1490
  };
@@ -1521,25 +1539,25 @@ type Database = {
1521
1539
  };
1522
1540
  Relationships: [
1523
1541
  {
1524
- foreignKeyName: "execution_errors_execution_id_fkey";
1525
- columns: ["execution_id"];
1542
+ foreignKeyName: 'execution_errors_execution_id_fkey';
1543
+ columns: ['execution_id'];
1526
1544
  isOneToOne: false;
1527
- referencedRelation: "execution_logs";
1528
- referencedColumns: ["execution_id"];
1545
+ referencedRelation: 'execution_logs';
1546
+ referencedColumns: ['execution_id'];
1529
1547
  },
1530
1548
  {
1531
- foreignKeyName: "execution_errors_organization_id_fkey";
1532
- columns: ["organization_id"];
1549
+ foreignKeyName: 'execution_errors_organization_id_fkey';
1550
+ columns: ['organization_id'];
1533
1551
  isOneToOne: false;
1534
- referencedRelation: "organizations";
1535
- referencedColumns: ["id"];
1552
+ referencedRelation: 'organizations';
1553
+ referencedColumns: ['id'];
1536
1554
  },
1537
1555
  {
1538
- foreignKeyName: "execution_errors_resolved_by_fkey";
1539
- columns: ["resolved_by"];
1556
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
1557
+ columns: ['resolved_by'];
1540
1558
  isOneToOne: false;
1541
- referencedRelation: "users";
1542
- referencedColumns: ["id"];
1559
+ referencedRelation: 'users';
1560
+ referencedColumns: ['id'];
1543
1561
  }
1544
1562
  ];
1545
1563
  };
@@ -1621,32 +1639,32 @@ type Database = {
1621
1639
  };
1622
1640
  Relationships: [
1623
1641
  {
1624
- foreignKeyName: "execution_history_organization_id_fkey";
1625
- columns: ["organization_id"];
1642
+ foreignKeyName: 'execution_history_organization_id_fkey';
1643
+ columns: ['organization_id'];
1626
1644
  isOneToOne: false;
1627
- referencedRelation: "organizations";
1628
- referencedColumns: ["id"];
1645
+ referencedRelation: 'organizations';
1646
+ referencedColumns: ['id'];
1629
1647
  },
1630
1648
  {
1631
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
1632
- columns: ["origin_execution_id"];
1649
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
1650
+ columns: ['origin_execution_id'];
1633
1651
  isOneToOne: false;
1634
- referencedRelation: "execution_logs";
1635
- referencedColumns: ["execution_id"];
1652
+ referencedRelation: 'execution_logs';
1653
+ referencedColumns: ['execution_id'];
1636
1654
  },
1637
1655
  {
1638
- foreignKeyName: "execution_logs_session_id_fkey";
1639
- columns: ["session_id"];
1656
+ foreignKeyName: 'execution_logs_session_id_fkey';
1657
+ columns: ['session_id'];
1640
1658
  isOneToOne: false;
1641
- referencedRelation: "sessions";
1642
- referencedColumns: ["session_id"];
1659
+ referencedRelation: 'sessions';
1660
+ referencedColumns: ['session_id'];
1643
1661
  },
1644
1662
  {
1645
- foreignKeyName: "execution_logs_user_id_fkey";
1646
- columns: ["user_id"];
1663
+ foreignKeyName: 'execution_logs_user_id_fkey';
1664
+ columns: ['user_id'];
1647
1665
  isOneToOne: false;
1648
- referencedRelation: "users";
1649
- referencedColumns: ["id"];
1666
+ referencedRelation: 'users';
1667
+ referencedColumns: ['id'];
1650
1668
  }
1651
1669
  ];
1652
1670
  };
@@ -1692,18 +1710,18 @@ type Database = {
1692
1710
  };
1693
1711
  Relationships: [
1694
1712
  {
1695
- foreignKeyName: "execution_metrics_execution_id_fkey";
1696
- columns: ["execution_id"];
1713
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
1714
+ columns: ['execution_id'];
1697
1715
  isOneToOne: true;
1698
- referencedRelation: "execution_logs";
1699
- referencedColumns: ["execution_id"];
1716
+ referencedRelation: 'execution_logs';
1717
+ referencedColumns: ['execution_id'];
1700
1718
  },
1701
1719
  {
1702
- foreignKeyName: "execution_metrics_organization_id_fkey";
1703
- columns: ["organization_id"];
1720
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
1721
+ columns: ['organization_id'];
1704
1722
  isOneToOne: false;
1705
- referencedRelation: "organizations";
1706
- referencedColumns: ["id"];
1723
+ referencedRelation: 'organizations';
1724
+ referencedColumns: ['id'];
1707
1725
  }
1708
1726
  ];
1709
1727
  };
@@ -1746,18 +1764,18 @@ type Database = {
1746
1764
  };
1747
1765
  Relationships: [
1748
1766
  {
1749
- foreignKeyName: "notifications_organization_id_fkey";
1750
- columns: ["organization_id"];
1767
+ foreignKeyName: 'notifications_organization_id_fkey';
1768
+ columns: ['organization_id'];
1751
1769
  isOneToOne: false;
1752
- referencedRelation: "organizations";
1753
- referencedColumns: ["id"];
1770
+ referencedRelation: 'organizations';
1771
+ referencedColumns: ['id'];
1754
1772
  },
1755
1773
  {
1756
- foreignKeyName: "notifications_user_id_fkey";
1757
- columns: ["user_id"];
1774
+ foreignKeyName: 'notifications_user_id_fkey';
1775
+ columns: ['user_id'];
1758
1776
  isOneToOne: false;
1759
- referencedRelation: "users";
1760
- referencedColumns: ["id"];
1777
+ referencedRelation: 'users';
1778
+ referencedColumns: ['id'];
1761
1779
  }
1762
1780
  ];
1763
1781
  };
@@ -1812,18 +1830,18 @@ type Database = {
1812
1830
  };
1813
1831
  Relationships: [
1814
1832
  {
1815
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
1816
- columns: ["inviter_user_id"];
1833
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
1834
+ columns: ['inviter_user_id'];
1817
1835
  isOneToOne: false;
1818
- referencedRelation: "users";
1819
- referencedColumns: ["id"];
1836
+ referencedRelation: 'users';
1837
+ referencedColumns: ['id'];
1820
1838
  },
1821
1839
  {
1822
- foreignKeyName: "org_invitations_organization_id_fkey";
1823
- columns: ["organization_id"];
1840
+ foreignKeyName: 'org_invitations_organization_id_fkey';
1841
+ columns: ['organization_id'];
1824
1842
  isOneToOne: false;
1825
- referencedRelation: "organizations";
1826
- referencedColumns: ["id"];
1843
+ referencedRelation: 'organizations';
1844
+ referencedColumns: ['id'];
1827
1845
  }
1828
1846
  ];
1829
1847
  };
@@ -1863,18 +1881,18 @@ type Database = {
1863
1881
  };
1864
1882
  Relationships: [
1865
1883
  {
1866
- foreignKeyName: "org_memberships_organization_id_fkey";
1867
- columns: ["organization_id"];
1884
+ foreignKeyName: 'org_memberships_organization_id_fkey';
1885
+ columns: ['organization_id'];
1868
1886
  isOneToOne: false;
1869
- referencedRelation: "organizations";
1870
- referencedColumns: ["id"];
1887
+ referencedRelation: 'organizations';
1888
+ referencedColumns: ['id'];
1871
1889
  },
1872
1890
  {
1873
- foreignKeyName: "org_memberships_user_id_fkey";
1874
- columns: ["user_id"];
1891
+ foreignKeyName: 'org_memberships_user_id_fkey';
1892
+ columns: ['user_id'];
1875
1893
  isOneToOne: false;
1876
- referencedRelation: "users";
1877
- referencedColumns: ["id"];
1894
+ referencedRelation: 'users';
1895
+ referencedColumns: ['id'];
1878
1896
  }
1879
1897
  ];
1880
1898
  };
@@ -1950,11 +1968,11 @@ type Database = {
1950
1968
  };
1951
1969
  Relationships: [
1952
1970
  {
1953
- foreignKeyName: "session_messages_session_id_fkey";
1954
- columns: ["session_id"];
1971
+ foreignKeyName: 'session_messages_session_id_fkey';
1972
+ columns: ['session_id'];
1955
1973
  isOneToOne: false;
1956
- referencedRelation: "sessions";
1957
- referencedColumns: ["session_id"];
1974
+ referencedRelation: 'sessions';
1975
+ referencedColumns: ['session_id'];
1958
1976
  }
1959
1977
  ];
1960
1978
  };
@@ -2009,18 +2027,18 @@ type Database = {
2009
2027
  };
2010
2028
  Relationships: [
2011
2029
  {
2012
- foreignKeyName: "fk_organization";
2013
- columns: ["organization_id"];
2030
+ foreignKeyName: 'fk_organization';
2031
+ columns: ['organization_id'];
2014
2032
  isOneToOne: false;
2015
- referencedRelation: "organizations";
2016
- referencedColumns: ["id"];
2033
+ referencedRelation: 'organizations';
2034
+ referencedColumns: ['id'];
2017
2035
  },
2018
2036
  {
2019
- foreignKeyName: "fk_user";
2020
- columns: ["user_id"];
2037
+ foreignKeyName: 'fk_user';
2038
+ columns: ['user_id'];
2021
2039
  isOneToOne: false;
2022
- referencedRelation: "users";
2023
- referencedColumns: ["id"];
2040
+ referencedRelation: 'users';
2041
+ referencedColumns: ['id'];
2024
2042
  }
2025
2043
  ];
2026
2044
  };
@@ -2096,11 +2114,11 @@ type Database = {
2096
2114
  };
2097
2115
  Relationships: [
2098
2116
  {
2099
- foreignKeyName: "task_schedules_organization_id_fkey";
2100
- columns: ["organization_id"];
2117
+ foreignKeyName: 'task_schedules_organization_id_fkey';
2118
+ columns: ['organization_id'];
2101
2119
  isOneToOne: false;
2102
- referencedRelation: "organizations";
2103
- referencedColumns: ["id"];
2120
+ referencedRelation: 'organizations';
2121
+ referencedColumns: ['id'];
2104
2122
  }
2105
2123
  ];
2106
2124
  };
@@ -2155,11 +2173,11 @@ type Database = {
2155
2173
  };
2156
2174
  Relationships: [
2157
2175
  {
2158
- foreignKeyName: "user_profiles_last_visited_org_fkey";
2159
- columns: ["last_visited_org"];
2176
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
2177
+ columns: ['last_visited_org'];
2160
2178
  isOneToOne: false;
2161
- referencedRelation: "organizations";
2162
- referencedColumns: ["id"];
2179
+ referencedRelation: 'organizations';
2180
+ referencedColumns: ['id'];
2163
2181
  }
2164
2182
  ];
2165
2183
  };
@@ -2205,11 +2223,11 @@ type Database = {
2205
2223
  };
2206
2224
  Relationships: [
2207
2225
  {
2208
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
2209
- columns: ["organization_id"];
2226
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
2227
+ columns: ['organization_id'];
2210
2228
  isOneToOne: false;
2211
- referencedRelation: "organizations";
2212
- referencedColumns: ["id"];
2229
+ referencedRelation: 'organizations';
2230
+ referencedColumns: ['id'];
2213
2231
  }
2214
2232
  ];
2215
2233
  };
@@ -2329,17 +2347,17 @@ type Database = {
2329
2347
  };
2330
2348
  };
2331
2349
  };
2332
- type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
2333
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
2334
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
2350
+ type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
2351
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
2352
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
2335
2353
  schema: keyof DatabaseWithoutInternals;
2336
2354
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
2337
2355
  schema: keyof DatabaseWithoutInternals;
2338
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
2356
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
2339
2357
  schema: keyof DatabaseWithoutInternals;
2340
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
2358
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
2341
2359
  Row: infer R;
2342
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
2360
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
2343
2361
  Row: infer R;
2344
2362
  } ? R : never : never;
2345
2363