@elevasis/ui 2.68.0 → 2.70.0

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.
Files changed (85) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +577 -367
  3. package/dist/app/index.js +10 -19
  4. package/dist/auth/index.d.ts +5 -0
  5. package/dist/auth/index.js +5 -5
  6. package/dist/charts/index.js +5 -5
  7. package/dist/{chunk-JC5W55J3.js → chunk-26BTE3Z4.js} +1 -1
  8. package/dist/{chunk-ZNKZMK2E.js → chunk-5C62IRKS.js} +5 -5
  9. package/dist/{chunk-ZGCWTWBD.js → chunk-6TT3FQEZ.js} +16218 -15769
  10. package/dist/{chunk-QYI5BZKM.js → chunk-AGX2CY2O.js} +1 -1
  11. package/dist/{chunk-UFTM5SZZ.js → chunk-AKANHRQ5.js} +9 -3
  12. package/dist/{chunk-NDHMZT2G.js → chunk-C75XWBYZ.js} +1 -1
  13. package/dist/{chunk-2MTP3H3A.js → chunk-CCZJ4OWY.js} +1 -1
  14. package/dist/{chunk-75NOC536.js → chunk-DUEGHF7A.js} +4 -4
  15. package/dist/{chunk-SIVUCZXQ.js → chunk-GJQF3S2Q.js} +1 -1
  16. package/dist/{chunk-ZWS3TCQR.js → chunk-GZADST64.js} +21 -108
  17. package/dist/{chunk-TYKAKJGW.js → chunk-JA2XDMAE.js} +1 -1
  18. package/dist/{chunk-76IVMVI3.js → chunk-LWYLZUUV.js} +3 -3
  19. package/dist/{chunk-WPIASV3H.js → chunk-LY3IKYTZ.js} +2 -2
  20. package/dist/{chunk-HJVPVS57.js → chunk-MFCV4JMQ.js} +5 -5
  21. package/dist/{chunk-L3HFJFYF.js → chunk-NM4A63KJ.js} +30 -48
  22. package/dist/{chunk-OOACTYRA.js → chunk-QDMIFD6F.js} +1 -1
  23. package/dist/{chunk-GBXTRSAU.js → chunk-SMH6SQQE.js} +1 -1
  24. package/dist/{chunk-TGPJNKDU.js → chunk-TJMZUL6E.js} +4 -4
  25. package/dist/{chunk-5NRJ2BLQ.js → chunk-VDX6DL7Z.js} +1 -1
  26. package/dist/{chunk-FK3K2VK2.js → chunk-XKUEO4HG.js} +10 -7
  27. package/dist/components/index.d.ts +1614 -256
  28. package/dist/components/index.js +25 -25
  29. package/dist/components/navigation/index.js +6 -6
  30. package/dist/features/auth/index.d.ts +457 -163
  31. package/dist/features/auth/index.js +7 -7
  32. package/dist/features/clients/index.d.ts +39 -1
  33. package/dist/features/clients/index.js +6 -5
  34. package/dist/features/content/index.css +659 -0
  35. package/dist/features/content/index.d.ts +1978 -0
  36. package/dist/features/content/index.js +2312 -0
  37. package/dist/features/crm/index.d.ts +584 -369
  38. package/dist/features/crm/index.js +7 -7
  39. package/dist/features/dashboard/index.d.ts +0 -6
  40. package/dist/features/dashboard/index.js +7 -7
  41. package/dist/features/delivery/index.css +149 -149
  42. package/dist/features/delivery/index.d.ts +457 -163
  43. package/dist/features/delivery/index.js +6 -6
  44. package/dist/features/knowledge/index.js +5 -5
  45. package/dist/features/lead-gen/index.d.ts +20 -91
  46. package/dist/features/lead-gen/index.js +7 -7
  47. package/dist/features/monitoring/index.css +149 -149
  48. package/dist/features/monitoring/index.js +8 -8
  49. package/dist/features/monitoring/requests/index.js +7 -12
  50. package/dist/features/operations/index.d.ts +0 -84
  51. package/dist/features/operations/index.js +10 -10
  52. package/dist/features/settings/index.d.ts +457 -163
  53. package/dist/features/settings/index.js +7 -7
  54. package/dist/hooks/access/index.d.ts +5 -0
  55. package/dist/hooks/access/index.js +5 -5
  56. package/dist/hooks/delivery/index.d.ts +457 -163
  57. package/dist/hooks/delivery/index.js +2 -2
  58. package/dist/hooks/index.css +149 -149
  59. package/dist/hooks/index.d.ts +2128 -233
  60. package/dist/hooks/index.js +5 -5
  61. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +0 -6
  62. package/dist/hooks/published.css +149 -149
  63. package/dist/hooks/published.d.ts +2128 -233
  64. package/dist/hooks/published.js +5 -5
  65. package/dist/initialization/index.d.ts +464 -164
  66. package/dist/knowledge/index.d.ts +4 -88
  67. package/dist/knowledge/index.js +3211 -3201
  68. package/dist/{knowledge-search-index-6EZNBNSR.js → knowledge-search-index-LP2WVSQX.js} +689 -695
  69. package/dist/layout/index.js +8 -8
  70. package/dist/organization/index.d.ts +7 -1
  71. package/dist/profile/index.d.ts +457 -163
  72. package/dist/provider/index.d.ts +577 -368
  73. package/dist/provider/index.js +5 -5
  74. package/dist/provider/published.d.ts +577 -368
  75. package/dist/provider/published.js +5 -5
  76. package/dist/supabase/index.d.ts +906 -339
  77. package/dist/test-utils/index.d.ts +10 -2
  78. package/dist/test-utils/index.js +39 -10
  79. package/dist/types/index.d.ts +464 -170
  80. package/dist/utils/index.d.ts +0 -6
  81. package/dist/utils/index.js +1 -1
  82. package/dist/vite/index.js +2 -2
  83. package/dist/vite-plugin-knowledge/index.js +1 -1
  84. package/package.json +9 -5
  85. package/src/features/README.md +28 -28
@@ -110,53 +110,6 @@ type Json = string | number | boolean | null | {
110
110
  type Database = {
111
111
  public: {
112
112
  Tables: {
113
- acq_artifacts: {
114
- Row: {
115
- content: Json;
116
- created_at: string;
117
- created_by: string | null;
118
- id: string;
119
- kind: string;
120
- organization_id: string;
121
- owner_id: string;
122
- owner_kind: string;
123
- source_execution_id: string | null;
124
- version: number;
125
- };
126
- Insert: {
127
- content: Json;
128
- created_at?: string;
129
- created_by?: string | null;
130
- id?: string;
131
- kind: string;
132
- organization_id: string;
133
- owner_id: string;
134
- owner_kind: string;
135
- source_execution_id?: string | null;
136
- version?: number;
137
- };
138
- Update: {
139
- content?: Json;
140
- created_at?: string;
141
- created_by?: string | null;
142
- id?: string;
143
- kind?: string;
144
- organization_id?: string;
145
- owner_id?: string;
146
- owner_kind?: string;
147
- source_execution_id?: string | null;
148
- version?: number;
149
- };
150
- Relationships: [
151
- {
152
- foreignKeyName: "acq_artifacts_organization_id_fkey";
153
- columns: ["organization_id"];
154
- isOneToOne: false;
155
- referencedRelation: "organizations";
156
- referencedColumns: ["id"];
157
- }
158
- ];
159
- };
160
113
  acq_companies: {
161
114
  Row: {
162
115
  batch_id: string | null;
@@ -368,122 +321,6 @@ type Database = {
368
321
  }
369
322
  ];
370
323
  };
371
- acq_content: {
372
- Row: {
373
- body: string | null;
374
- created_at: string;
375
- id: string;
376
- organization_id: string;
377
- pillar: string;
378
- status: string;
379
- title: string;
380
- updated_at: string;
381
- };
382
- Insert: {
383
- body?: string | null;
384
- created_at?: string;
385
- id?: string;
386
- organization_id: string;
387
- pillar: string;
388
- status?: string;
389
- title: string;
390
- updated_at?: string;
391
- };
392
- Update: {
393
- body?: string | null;
394
- created_at?: string;
395
- id?: string;
396
- organization_id?: string;
397
- pillar?: string;
398
- status?: string;
399
- title?: string;
400
- updated_at?: string;
401
- };
402
- Relationships: [
403
- {
404
- foreignKeyName: "acq_content_organization_id_fkey";
405
- columns: ["organization_id"];
406
- isOneToOne: false;
407
- referencedRelation: "organizations";
408
- referencedColumns: ["id"];
409
- }
410
- ];
411
- };
412
- acq_content_distributions: {
413
- Row: {
414
- adapted_body: string | null;
415
- checklist: Json | null;
416
- content_id: string;
417
- created_at: string;
418
- format: string;
419
- id: string;
420
- media_urls: Json;
421
- metrics: Json;
422
- metrics_updated_at: string | null;
423
- organization_id: string;
424
- platform: string;
425
- platform_content: Json | null;
426
- platform_post_id: string | null;
427
- platform_url: string | null;
428
- published_at: string | null;
429
- status: string;
430
- updated_at: string;
431
- };
432
- Insert: {
433
- adapted_body?: string | null;
434
- checklist?: Json | null;
435
- content_id: string;
436
- created_at?: string;
437
- format: string;
438
- id?: string;
439
- media_urls?: Json;
440
- metrics?: Json;
441
- metrics_updated_at?: string | null;
442
- organization_id: string;
443
- platform: string;
444
- platform_content?: Json | null;
445
- platform_post_id?: string | null;
446
- platform_url?: string | null;
447
- published_at?: string | null;
448
- status?: string;
449
- updated_at?: string;
450
- };
451
- Update: {
452
- adapted_body?: string | null;
453
- checklist?: Json | null;
454
- content_id?: string;
455
- created_at?: string;
456
- format?: string;
457
- id?: string;
458
- media_urls?: Json;
459
- metrics?: Json;
460
- metrics_updated_at?: string | null;
461
- organization_id?: string;
462
- platform?: string;
463
- platform_content?: Json | null;
464
- platform_post_id?: string | null;
465
- platform_url?: string | null;
466
- published_at?: string | null;
467
- status?: string;
468
- updated_at?: string;
469
- };
470
- Relationships: [
471
- {
472
- foreignKeyName: "acq_content_distributions_content_id_fkey";
473
- columns: ["content_id"];
474
- isOneToOne: false;
475
- referencedRelation: "acq_content";
476
- referencedColumns: ["id"];
477
- },
478
- {
479
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
480
- columns: ["organization_id"];
481
- isOneToOne: false;
482
- referencedRelation: "organizations";
483
- referencedColumns: ["id"];
484
- }
485
- ];
486
- };
487
324
  acq_deal_notes: {
488
325
  Row: {
489
326
  author_user_id: string | null;
@@ -513,6 +350,13 @@ type Database = {
513
350
  updated_at?: string;
514
351
  };
515
352
  Relationships: [
353
+ {
354
+ foreignKeyName: "acq_deal_notes_author_user_id_fkey";
355
+ columns: ["author_user_id"];
356
+ isOneToOne: false;
357
+ referencedRelation: "users";
358
+ referencedColumns: ["id"];
359
+ },
516
360
  {
517
361
  foreignKeyName: "acq_deal_notes_deal_id_fkey";
518
362
  columns: ["deal_id"];
@@ -576,6 +420,27 @@ type Database = {
576
420
  updated_at?: string;
577
421
  };
578
422
  Relationships: [
423
+ {
424
+ foreignKeyName: "acq_deal_tasks_assignee_user_id_fkey";
425
+ columns: ["assignee_user_id"];
426
+ isOneToOne: false;
427
+ referencedRelation: "users";
428
+ referencedColumns: ["id"];
429
+ },
430
+ {
431
+ foreignKeyName: "acq_deal_tasks_completed_by_user_id_fkey";
432
+ columns: ["completed_by_user_id"];
433
+ isOneToOne: false;
434
+ referencedRelation: "users";
435
+ referencedColumns: ["id"];
436
+ },
437
+ {
438
+ foreignKeyName: "acq_deal_tasks_created_by_user_id_fkey";
439
+ columns: ["created_by_user_id"];
440
+ isOneToOne: false;
441
+ referencedRelation: "users";
442
+ referencedColumns: ["id"];
443
+ },
579
444
  {
580
445
  foreignKeyName: "acq_deal_tasks_deal_id_fkey";
581
446
  columns: ["deal_id"];
@@ -732,6 +597,13 @@ type Database = {
732
597
  referencedRelation: "acq_contacts";
733
598
  referencedColumns: ["id"];
734
599
  },
600
+ {
601
+ foreignKeyName: "acq_deals_discovery_submitted_by_fkey";
602
+ columns: ["discovery_submitted_by"];
603
+ isOneToOne: false;
604
+ referencedRelation: "users";
605
+ referencedColumns: ["id"];
606
+ },
735
607
  {
736
608
  foreignKeyName: "acq_deals_organization_id_fkey";
737
609
  columns: ["organization_id"];
@@ -739,6 +611,13 @@ type Database = {
739
611
  referencedRelation: "organizations";
740
612
  referencedColumns: ["id"];
741
613
  },
614
+ {
615
+ foreignKeyName: "acq_deals_proposal_reviewed_by_fkey";
616
+ columns: ["proposal_reviewed_by"];
617
+ isOneToOne: false;
618
+ referencedRelation: "users";
619
+ referencedColumns: ["id"];
620
+ },
742
621
  {
743
622
  foreignKeyName: "acq_deals_source_list_id_fkey";
744
623
  columns: ["source_list_id"];
@@ -792,6 +671,13 @@ type Database = {
792
671
  state_key?: string;
793
672
  };
794
673
  Relationships: [
674
+ {
675
+ foreignKeyName: "acq_list_companies_added_by_fkey";
676
+ columns: ["added_by"];
677
+ isOneToOne: false;
678
+ referencedRelation: "users";
679
+ referencedColumns: ["id"];
680
+ },
795
681
  {
796
682
  foreignKeyName: "acq_list_companies_company_id_fkey";
797
683
  columns: ["company_id"];
@@ -898,6 +784,13 @@ type Database = {
898
784
  state_key?: string;
899
785
  };
900
786
  Relationships: [
787
+ {
788
+ foreignKeyName: "acq_list_members_added_by_fkey";
789
+ columns: ["added_by"];
790
+ isOneToOne: false;
791
+ referencedRelation: "users";
792
+ referencedColumns: ["id"];
793
+ },
901
794
  {
902
795
  foreignKeyName: "acq_list_members_contact_id_fkey";
903
796
  columns: ["contact_id"];
@@ -1298,6 +1191,13 @@ type Database = {
1298
1191
  title?: string;
1299
1192
  };
1300
1193
  Relationships: [
1194
+ {
1195
+ foreignKeyName: "activities_actor_id_fkey";
1196
+ columns: ["actor_id"];
1197
+ isOneToOne: false;
1198
+ referencedRelation: "users";
1199
+ referencedColumns: ["id"];
1200
+ },
1301
1201
  {
1302
1202
  foreignKeyName: "activities_organization_id_fkey";
1303
1203
  columns: ["organization_id"];
@@ -1367,7 +1267,350 @@ type Database = {
1367
1267
  };
1368
1268
  Relationships: [
1369
1269
  {
1370
- foreignKeyName: "agent_access_grants_organization_id_fkey";
1270
+ foreignKeyName: "agent_access_grants_organization_id_fkey";
1271
+ columns: ["organization_id"];
1272
+ isOneToOne: false;
1273
+ referencedRelation: "organizations";
1274
+ referencedColumns: ["id"];
1275
+ }
1276
+ ];
1277
+ };
1278
+ api_keys: {
1279
+ Row: {
1280
+ created_at: string | null;
1281
+ id: string;
1282
+ key_hash: string;
1283
+ last_used_at: string | null;
1284
+ name: string;
1285
+ organization_id: string;
1286
+ };
1287
+ Insert: {
1288
+ created_at?: string | null;
1289
+ id?: string;
1290
+ key_hash: string;
1291
+ last_used_at?: string | null;
1292
+ name: string;
1293
+ organization_id: string;
1294
+ };
1295
+ Update: {
1296
+ created_at?: string | null;
1297
+ id?: string;
1298
+ key_hash?: string;
1299
+ last_used_at?: string | null;
1300
+ name?: string;
1301
+ organization_id?: string;
1302
+ };
1303
+ Relationships: [
1304
+ {
1305
+ foreignKeyName: "api_keys_organization_id_fkey";
1306
+ columns: ["organization_id"];
1307
+ isOneToOne: false;
1308
+ referencedRelation: "organizations";
1309
+ referencedColumns: ["id"];
1310
+ }
1311
+ ];
1312
+ };
1313
+ artifacts: {
1314
+ Row: {
1315
+ content: Json;
1316
+ created_at: string;
1317
+ created_by: string | null;
1318
+ id: string;
1319
+ is_active: boolean;
1320
+ kind: string;
1321
+ organization_id: string;
1322
+ owner_id: string | null;
1323
+ owner_kind: string;
1324
+ pipeline_id: string | null;
1325
+ source_execution_id: string | null;
1326
+ updated_at: string;
1327
+ version: number;
1328
+ };
1329
+ Insert: {
1330
+ content: Json;
1331
+ created_at?: string;
1332
+ created_by?: string | null;
1333
+ id?: string;
1334
+ is_active?: boolean;
1335
+ kind: string;
1336
+ organization_id: string;
1337
+ owner_id?: string | null;
1338
+ owner_kind: string;
1339
+ pipeline_id?: string | null;
1340
+ source_execution_id?: string | null;
1341
+ updated_at?: string;
1342
+ version?: number;
1343
+ };
1344
+ Update: {
1345
+ content?: Json;
1346
+ created_at?: string;
1347
+ created_by?: string | null;
1348
+ id?: string;
1349
+ is_active?: boolean;
1350
+ kind?: string;
1351
+ organization_id?: string;
1352
+ owner_id?: string | null;
1353
+ owner_kind?: string;
1354
+ pipeline_id?: string | null;
1355
+ source_execution_id?: string | null;
1356
+ updated_at?: string;
1357
+ version?: number;
1358
+ };
1359
+ Relationships: [
1360
+ {
1361
+ foreignKeyName: "artifacts_organization_id_fkey";
1362
+ columns: ["organization_id"];
1363
+ isOneToOne: false;
1364
+ referencedRelation: "organizations";
1365
+ referencedColumns: ["id"];
1366
+ }
1367
+ ];
1368
+ };
1369
+ clients: {
1370
+ Row: {
1371
+ converted_at: string | null;
1372
+ created_at: string;
1373
+ id: string;
1374
+ metadata: Json;
1375
+ name: string;
1376
+ organization_id: string;
1377
+ primary_company_id: string | null;
1378
+ primary_contact_id: string | null;
1379
+ source: string;
1380
+ source_deal_id: string | null;
1381
+ status: string;
1382
+ updated_at: string;
1383
+ };
1384
+ Insert: {
1385
+ converted_at?: string | null;
1386
+ created_at?: string;
1387
+ id?: string;
1388
+ metadata?: Json;
1389
+ name: string;
1390
+ organization_id: string;
1391
+ primary_company_id?: string | null;
1392
+ primary_contact_id?: string | null;
1393
+ source?: string;
1394
+ source_deal_id?: string | null;
1395
+ status?: string;
1396
+ updated_at?: string;
1397
+ };
1398
+ Update: {
1399
+ converted_at?: string | null;
1400
+ created_at?: string;
1401
+ id?: string;
1402
+ metadata?: Json;
1403
+ name?: string;
1404
+ organization_id?: string;
1405
+ primary_company_id?: string | null;
1406
+ primary_contact_id?: string | null;
1407
+ source?: string;
1408
+ source_deal_id?: string | null;
1409
+ status?: string;
1410
+ updated_at?: string;
1411
+ };
1412
+ Relationships: [
1413
+ {
1414
+ foreignKeyName: "clients_organization_id_fkey";
1415
+ columns: ["organization_id"];
1416
+ isOneToOne: false;
1417
+ referencedRelation: "organizations";
1418
+ referencedColumns: ["id"];
1419
+ },
1420
+ {
1421
+ foreignKeyName: "clients_primary_company_id_fkey";
1422
+ columns: ["primary_company_id"];
1423
+ isOneToOne: false;
1424
+ referencedRelation: "acq_companies";
1425
+ referencedColumns: ["id"];
1426
+ },
1427
+ {
1428
+ foreignKeyName: "clients_primary_contact_id_fkey";
1429
+ columns: ["primary_contact_id"];
1430
+ isOneToOne: false;
1431
+ referencedRelation: "acq_contacts";
1432
+ referencedColumns: ["id"];
1433
+ },
1434
+ {
1435
+ foreignKeyName: "clients_source_deal_id_fkey";
1436
+ columns: ["source_deal_id"];
1437
+ isOneToOne: false;
1438
+ referencedRelation: "acq_deals";
1439
+ referencedColumns: ["id"];
1440
+ }
1441
+ ];
1442
+ };
1443
+ command_queue: {
1444
+ Row: {
1445
+ action_payload: Json | null;
1446
+ actions: Json;
1447
+ completed_at: string | null;
1448
+ completed_by: string | null;
1449
+ context: Json;
1450
+ created_at: string;
1451
+ description: string | null;
1452
+ expires_at: string | null;
1453
+ human_checkpoint: string | null;
1454
+ id: string;
1455
+ idempotency_key: string | null;
1456
+ metadata: Json | null;
1457
+ organization_id: string;
1458
+ origin_execution_id: string;
1459
+ origin_resource_id: string;
1460
+ origin_resource_type: string;
1461
+ priority: number;
1462
+ selected_action: string | null;
1463
+ status: string;
1464
+ target_execution_id: string | null;
1465
+ target_resource_id: string | null;
1466
+ target_resource_type: string | null;
1467
+ };
1468
+ Insert: {
1469
+ action_payload?: Json | null;
1470
+ actions: Json;
1471
+ completed_at?: string | null;
1472
+ completed_by?: string | null;
1473
+ context: Json;
1474
+ created_at?: string;
1475
+ description?: string | null;
1476
+ expires_at?: string | null;
1477
+ human_checkpoint?: string | null;
1478
+ id?: string;
1479
+ idempotency_key?: string | null;
1480
+ metadata?: Json | null;
1481
+ organization_id: string;
1482
+ origin_execution_id: string;
1483
+ origin_resource_id: string;
1484
+ origin_resource_type: string;
1485
+ priority?: number;
1486
+ selected_action?: string | null;
1487
+ status?: string;
1488
+ target_execution_id?: string | null;
1489
+ target_resource_id?: string | null;
1490
+ target_resource_type?: string | null;
1491
+ };
1492
+ Update: {
1493
+ action_payload?: Json | null;
1494
+ actions?: Json;
1495
+ completed_at?: string | null;
1496
+ completed_by?: string | null;
1497
+ context?: Json;
1498
+ created_at?: string;
1499
+ description?: string | null;
1500
+ expires_at?: string | null;
1501
+ human_checkpoint?: string | null;
1502
+ id?: string;
1503
+ idempotency_key?: string | null;
1504
+ metadata?: Json | null;
1505
+ organization_id?: string;
1506
+ origin_execution_id?: string;
1507
+ origin_resource_id?: string;
1508
+ origin_resource_type?: string;
1509
+ priority?: number;
1510
+ selected_action?: string | null;
1511
+ status?: string;
1512
+ target_execution_id?: string | null;
1513
+ target_resource_id?: string | null;
1514
+ target_resource_type?: string | null;
1515
+ };
1516
+ Relationships: [
1517
+ {
1518
+ foreignKeyName: "command_queue_completed_by_fkey";
1519
+ columns: ["completed_by"];
1520
+ isOneToOne: false;
1521
+ referencedRelation: "users";
1522
+ referencedColumns: ["id"];
1523
+ },
1524
+ {
1525
+ foreignKeyName: "command_queue_organization_id_fkey";
1526
+ columns: ["organization_id"];
1527
+ isOneToOne: false;
1528
+ referencedRelation: "organizations";
1529
+ referencedColumns: ["id"];
1530
+ },
1531
+ {
1532
+ foreignKeyName: "command_queue_target_execution_id_fkey";
1533
+ columns: ["target_execution_id"];
1534
+ isOneToOne: false;
1535
+ referencedRelation: "execution_logs";
1536
+ referencedColumns: ["execution_id"];
1537
+ }
1538
+ ];
1539
+ };
1540
+ content_distributions: {
1541
+ Row: {
1542
+ adapted_body: string | null;
1543
+ checklist: Json | null;
1544
+ content_item_id: string;
1545
+ created_at: string;
1546
+ format: string;
1547
+ id: string;
1548
+ media_urls: Json;
1549
+ metrics: Json;
1550
+ metrics_updated_at: string | null;
1551
+ organization_id: string;
1552
+ platform: string;
1553
+ platform_content: Json | null;
1554
+ platform_post_id: string | null;
1555
+ platform_url: string | null;
1556
+ processing_state: Json;
1557
+ publish_method: string | null;
1558
+ published_at: string | null;
1559
+ status: string;
1560
+ updated_at: string;
1561
+ };
1562
+ Insert: {
1563
+ adapted_body?: string | null;
1564
+ checklist?: Json | null;
1565
+ content_item_id: string;
1566
+ created_at?: string;
1567
+ format: string;
1568
+ id?: string;
1569
+ media_urls?: Json;
1570
+ metrics?: Json;
1571
+ metrics_updated_at?: string | null;
1572
+ organization_id: string;
1573
+ platform: string;
1574
+ platform_content?: Json | null;
1575
+ platform_post_id?: string | null;
1576
+ platform_url?: string | null;
1577
+ processing_state?: Json;
1578
+ publish_method?: string | null;
1579
+ published_at?: string | null;
1580
+ status?: string;
1581
+ updated_at?: string;
1582
+ };
1583
+ Update: {
1584
+ adapted_body?: string | null;
1585
+ checklist?: Json | null;
1586
+ content_item_id?: string;
1587
+ created_at?: string;
1588
+ format?: string;
1589
+ id?: string;
1590
+ media_urls?: Json;
1591
+ metrics?: Json;
1592
+ metrics_updated_at?: string | null;
1593
+ organization_id?: string;
1594
+ platform?: string;
1595
+ platform_content?: Json | null;
1596
+ platform_post_id?: string | null;
1597
+ platform_url?: string | null;
1598
+ processing_state?: Json;
1599
+ publish_method?: string | null;
1600
+ published_at?: string | null;
1601
+ status?: string;
1602
+ updated_at?: string;
1603
+ };
1604
+ Relationships: [
1605
+ {
1606
+ foreignKeyName: "content_distributions_content_item_id_fkey";
1607
+ columns: ["content_item_id"];
1608
+ isOneToOne: false;
1609
+ referencedRelation: "content_items";
1610
+ referencedColumns: ["id"];
1611
+ },
1612
+ {
1613
+ foreignKeyName: "content_distributions_organization_id_fkey";
1371
1614
  columns: ["organization_id"];
1372
1615
  isOneToOne: false;
1373
1616
  referencedRelation: "organizations";
@@ -1375,209 +1618,227 @@ type Database = {
1375
1618
  }
1376
1619
  ];
1377
1620
  };
1378
- api_keys: {
1621
+ content_item_attempts: {
1379
1622
  Row: {
1380
- created_at: string | null;
1623
+ attempt_number: number;
1624
+ content_item_id: string;
1625
+ created_at: string;
1626
+ created_by: string | null;
1381
1627
  id: string;
1382
- key_hash: string;
1383
- last_used_at: string | null;
1384
- name: string;
1385
1628
  organization_id: string;
1629
+ payload: Json;
1630
+ source_execution_id: string | null;
1631
+ step_key: string | null;
1386
1632
  };
1387
1633
  Insert: {
1388
- created_at?: string | null;
1634
+ attempt_number: number;
1635
+ content_item_id: string;
1636
+ created_at?: string;
1637
+ created_by?: string | null;
1389
1638
  id?: string;
1390
- key_hash: string;
1391
- last_used_at?: string | null;
1392
- name: string;
1393
1639
  organization_id: string;
1640
+ payload?: Json;
1641
+ source_execution_id?: string | null;
1642
+ step_key?: string | null;
1394
1643
  };
1395
1644
  Update: {
1396
- created_at?: string | null;
1645
+ attempt_number?: number;
1646
+ content_item_id?: string;
1647
+ created_at?: string;
1648
+ created_by?: string | null;
1397
1649
  id?: string;
1398
- key_hash?: string;
1399
- last_used_at?: string | null;
1400
- name?: string;
1401
1650
  organization_id?: string;
1651
+ payload?: Json;
1652
+ source_execution_id?: string | null;
1653
+ step_key?: string | null;
1402
1654
  };
1403
1655
  Relationships: [
1404
1656
  {
1405
- foreignKeyName: "api_keys_organization_id_fkey";
1657
+ foreignKeyName: "content_item_attempts_content_item_id_fkey";
1658
+ columns: ["content_item_id"];
1659
+ isOneToOne: false;
1660
+ referencedRelation: "content_items";
1661
+ referencedColumns: ["id"];
1662
+ },
1663
+ {
1664
+ foreignKeyName: "content_item_attempts_created_by_fkey";
1665
+ columns: ["created_by"];
1666
+ isOneToOne: false;
1667
+ referencedRelation: "users";
1668
+ referencedColumns: ["id"];
1669
+ },
1670
+ {
1671
+ foreignKeyName: "content_item_attempts_organization_id_fkey";
1406
1672
  columns: ["organization_id"];
1407
1673
  isOneToOne: false;
1408
1674
  referencedRelation: "organizations";
1409
1675
  referencedColumns: ["id"];
1676
+ },
1677
+ {
1678
+ foreignKeyName: "content_item_attempts_source_execution_id_fkey";
1679
+ columns: ["source_execution_id"];
1680
+ isOneToOne: false;
1681
+ referencedRelation: "execution_logs";
1682
+ referencedColumns: ["execution_id"];
1410
1683
  }
1411
1684
  ];
1412
1685
  };
1413
- clients: {
1686
+ content_items: {
1414
1687
  Row: {
1415
- converted_at: string | null;
1688
+ body: string | null;
1689
+ client_id: string | null;
1416
1690
  created_at: string;
1691
+ created_by: string | null;
1417
1692
  id: string;
1418
- metadata: Json;
1419
- name: string;
1420
1693
  organization_id: string;
1421
- primary_company_id: string | null;
1422
- primary_contact_id: string | null;
1423
- source: string;
1424
- source_deal_id: string | null;
1694
+ payload: Json;
1695
+ pillar: string | null;
1696
+ pipeline_id: string | null;
1697
+ processing_state: Json;
1698
+ reject_reason: string | null;
1699
+ reviewed_at: string | null;
1700
+ reviewed_by: string | null;
1701
+ reviewer_feedback: string | null;
1702
+ source_asset_id: string | null;
1425
1703
  status: string;
1704
+ title: string;
1426
1705
  updated_at: string;
1706
+ updated_by: string | null;
1427
1707
  };
1428
1708
  Insert: {
1429
- converted_at?: string | null;
1709
+ body?: string | null;
1710
+ client_id?: string | null;
1430
1711
  created_at?: string;
1712
+ created_by?: string | null;
1431
1713
  id?: string;
1432
- metadata?: Json;
1433
- name: string;
1434
1714
  organization_id: string;
1435
- primary_company_id?: string | null;
1436
- primary_contact_id?: string | null;
1437
- source?: string;
1438
- source_deal_id?: string | null;
1715
+ payload?: Json;
1716
+ pillar?: string | null;
1717
+ pipeline_id?: string | null;
1718
+ processing_state?: Json;
1719
+ reject_reason?: string | null;
1720
+ reviewed_at?: string | null;
1721
+ reviewed_by?: string | null;
1722
+ reviewer_feedback?: string | null;
1723
+ source_asset_id?: string | null;
1439
1724
  status?: string;
1725
+ title: string;
1440
1726
  updated_at?: string;
1727
+ updated_by?: string | null;
1441
1728
  };
1442
1729
  Update: {
1443
- converted_at?: string | null;
1730
+ body?: string | null;
1731
+ client_id?: string | null;
1444
1732
  created_at?: string;
1733
+ created_by?: string | null;
1445
1734
  id?: string;
1446
- metadata?: Json;
1447
- name?: string;
1448
1735
  organization_id?: string;
1449
- primary_company_id?: string | null;
1450
- primary_contact_id?: string | null;
1451
- source?: string;
1452
- source_deal_id?: string | null;
1736
+ payload?: Json;
1737
+ pillar?: string | null;
1738
+ pipeline_id?: string | null;
1739
+ processing_state?: Json;
1740
+ reject_reason?: string | null;
1741
+ reviewed_at?: string | null;
1742
+ reviewed_by?: string | null;
1743
+ reviewer_feedback?: string | null;
1744
+ source_asset_id?: string | null;
1453
1745
  status?: string;
1746
+ title?: string;
1454
1747
  updated_at?: string;
1748
+ updated_by?: string | null;
1455
1749
  };
1456
1750
  Relationships: [
1457
1751
  {
1458
- foreignKeyName: "clients_organization_id_fkey";
1752
+ foreignKeyName: "content_items_client_id_fkey";
1753
+ columns: ["client_id"];
1754
+ isOneToOne: false;
1755
+ referencedRelation: "clients";
1756
+ referencedColumns: ["id"];
1757
+ },
1758
+ {
1759
+ foreignKeyName: "content_items_created_by_fkey";
1760
+ columns: ["created_by"];
1761
+ isOneToOne: false;
1762
+ referencedRelation: "users";
1763
+ referencedColumns: ["id"];
1764
+ },
1765
+ {
1766
+ foreignKeyName: "content_items_organization_id_fkey";
1459
1767
  columns: ["organization_id"];
1460
1768
  isOneToOne: false;
1461
1769
  referencedRelation: "organizations";
1462
1770
  referencedColumns: ["id"];
1463
1771
  },
1464
1772
  {
1465
- foreignKeyName: "clients_primary_company_id_fkey";
1466
- columns: ["primary_company_id"];
1773
+ foreignKeyName: "content_items_reviewed_by_fkey";
1774
+ columns: ["reviewed_by"];
1467
1775
  isOneToOne: false;
1468
- referencedRelation: "acq_companies";
1776
+ referencedRelation: "users";
1469
1777
  referencedColumns: ["id"];
1470
1778
  },
1471
1779
  {
1472
- foreignKeyName: "clients_primary_contact_id_fkey";
1473
- columns: ["primary_contact_id"];
1780
+ foreignKeyName: "content_items_source_asset_id_fkey";
1781
+ columns: ["source_asset_id"];
1474
1782
  isOneToOne: false;
1475
- referencedRelation: "acq_contacts";
1783
+ referencedRelation: "content_source_assets";
1476
1784
  referencedColumns: ["id"];
1477
1785
  },
1478
1786
  {
1479
- foreignKeyName: "clients_source_deal_id_fkey";
1480
- columns: ["source_deal_id"];
1787
+ foreignKeyName: "content_items_updated_by_fkey";
1788
+ columns: ["updated_by"];
1481
1789
  isOneToOne: false;
1482
- referencedRelation: "acq_deals";
1790
+ referencedRelation: "users";
1483
1791
  referencedColumns: ["id"];
1484
1792
  }
1485
1793
  ];
1486
1794
  };
1487
- command_queue: {
1795
+ content_source_assets: {
1488
1796
  Row: {
1489
- action_payload: Json | null;
1490
- actions: Json;
1491
- completed_at: string | null;
1492
- completed_by: string | null;
1493
- context: Json;
1494
1797
  created_at: string;
1495
- description: string | null;
1496
- expires_at: string | null;
1497
- human_checkpoint: string | null;
1798
+ duration_seconds: number | null;
1799
+ external_url: string | null;
1498
1800
  id: string;
1499
- idempotency_key: string | null;
1500
- metadata: Json | null;
1801
+ kind: string;
1802
+ metadata: Json;
1501
1803
  organization_id: string;
1502
- origin_execution_id: string;
1503
- origin_resource_id: string;
1504
- origin_resource_type: string;
1505
- priority: number;
1506
- selected_action: string | null;
1507
- status: string;
1508
- target_execution_id: string | null;
1509
- target_resource_id: string | null;
1510
- target_resource_type: string | null;
1804
+ processing_state: Json;
1805
+ storage_path: string | null;
1806
+ title: string;
1807
+ updated_at: string;
1511
1808
  };
1512
1809
  Insert: {
1513
- action_payload?: Json | null;
1514
- actions: Json;
1515
- completed_at?: string | null;
1516
- completed_by?: string | null;
1517
- context: Json;
1518
1810
  created_at?: string;
1519
- description?: string | null;
1520
- expires_at?: string | null;
1521
- human_checkpoint?: string | null;
1811
+ duration_seconds?: number | null;
1812
+ external_url?: string | null;
1522
1813
  id?: string;
1523
- idempotency_key?: string | null;
1524
- metadata?: Json | null;
1814
+ kind: string;
1815
+ metadata?: Json;
1525
1816
  organization_id: string;
1526
- origin_execution_id: string;
1527
- origin_resource_id: string;
1528
- origin_resource_type: string;
1529
- priority?: number;
1530
- selected_action?: string | null;
1531
- status?: string;
1532
- target_execution_id?: string | null;
1533
- target_resource_id?: string | null;
1534
- target_resource_type?: string | null;
1817
+ processing_state?: Json;
1818
+ storage_path?: string | null;
1819
+ title: string;
1820
+ updated_at?: string;
1535
1821
  };
1536
1822
  Update: {
1537
- action_payload?: Json | null;
1538
- actions?: Json;
1539
- completed_at?: string | null;
1540
- completed_by?: string | null;
1541
- context?: Json;
1542
1823
  created_at?: string;
1543
- description?: string | null;
1544
- expires_at?: string | null;
1545
- human_checkpoint?: string | null;
1824
+ duration_seconds?: number | null;
1825
+ external_url?: string | null;
1546
1826
  id?: string;
1547
- idempotency_key?: string | null;
1548
- metadata?: Json | null;
1827
+ kind?: string;
1828
+ metadata?: Json;
1549
1829
  organization_id?: string;
1550
- origin_execution_id?: string;
1551
- origin_resource_id?: string;
1552
- origin_resource_type?: string;
1553
- priority?: number;
1554
- selected_action?: string | null;
1555
- status?: string;
1556
- target_execution_id?: string | null;
1557
- target_resource_id?: string | null;
1558
- target_resource_type?: string | null;
1830
+ processing_state?: Json;
1831
+ storage_path?: string | null;
1832
+ title?: string;
1833
+ updated_at?: string;
1559
1834
  };
1560
1835
  Relationships: [
1561
1836
  {
1562
- foreignKeyName: "command_queue_completed_by_fkey";
1563
- columns: ["completed_by"];
1564
- isOneToOne: false;
1565
- referencedRelation: "users";
1566
- referencedColumns: ["id"];
1567
- },
1568
- {
1569
- foreignKeyName: "command_queue_organization_id_fkey";
1837
+ foreignKeyName: "content_source_assets_organization_id_fkey";
1570
1838
  columns: ["organization_id"];
1571
1839
  isOneToOne: false;
1572
1840
  referencedRelation: "organizations";
1573
1841
  referencedColumns: ["id"];
1574
- },
1575
- {
1576
- foreignKeyName: "command_queue_target_execution_id_fkey";
1577
- columns: ["target_execution_id"];
1578
- isOneToOne: false;
1579
- referencedRelation: "execution_logs";
1580
- referencedColumns: ["execution_id"];
1581
1842
  }
1582
1843
  ];
1583
1844
  };
@@ -3197,6 +3458,33 @@ type Database = {
3197
3458
  };
3198
3459
  Returns: boolean;
3199
3460
  };
3461
+ create_artifact_version: {
3462
+ Args: {
3463
+ p_content: Json;
3464
+ p_created_by?: string;
3465
+ p_kind: string;
3466
+ p_organization_id: string;
3467
+ p_owner_id?: string;
3468
+ p_owner_kind: string;
3469
+ p_pipeline_id?: string;
3470
+ p_source_execution_id?: string;
3471
+ };
3472
+ Returns: {
3473
+ content: Json;
3474
+ created_at: string;
3475
+ created_by: string | null;
3476
+ id: string;
3477
+ is_active: boolean;
3478
+ kind: string;
3479
+ organization_id: string;
3480
+ owner_id: string | null;
3481
+ owner_kind: string;
3482
+ pipeline_id: string | null;
3483
+ source_execution_id: string | null;
3484
+ updated_at: string;
3485
+ version: number;
3486
+ };
3487
+ };
3200
3488
  current_user_is_platform_admin: {
3201
3489
  Args: Record<PropertyKey, never>;
3202
3490
  Returns: boolean;
@@ -3303,6 +3591,12 @@ type Database = {
3303
3591
  Args: Record<PropertyKey, never>;
3304
3592
  Returns: Json;
3305
3593
  };
3594
+ purge_stale_test_data: {
3595
+ Args: {
3596
+ p_max_age?: unknown;
3597
+ };
3598
+ Returns: Json;
3599
+ };
3306
3600
  recompute_all_memberships: {
3307
3601
  Args: Record<PropertyKey, never>;
3308
3602
  Returns: undefined;
@@ -3628,7 +3922,6 @@ interface SystemEntry {
3628
3922
  path: string;
3629
3923
  surfaces: string[];
3630
3924
  icon?: string;
3631
- order?: number;
3632
3925
  };
3633
3926
  lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
3634
3927
  responsibleRoleId?: string;
@@ -3638,17 +3931,12 @@ interface SystemEntry {
3638
3931
  intent: 'exposes' | 'consumes';
3639
3932
  invocation?: unknown;
3640
3933
  }[];
3641
- policies?: string[];
3642
3934
  drivesGoals?: string[];
3643
3935
  apiInterface?: z$1.infer<typeof SystemApiInterfaceSchema>;
3644
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3645
- status?: 'active' | 'deprecated' | 'archived';
3646
3936
  path?: string;
3647
3937
  icon?: string;
3648
3938
  uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
3649
3939
  enabled?: boolean;
3650
- devOnly?: boolean;
3651
- requiresAdmin?: boolean;
3652
3940
  order: number;
3653
3941
  config?: Record<string, JsonValue>;
3654
3942
  ontology?: OntologyScope;
@@ -3748,10 +4036,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3748
4036
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3749
4037
  lastModified: z$1.ZodString;
3750
4038
  }, z$1.core.$strip>>;
3751
- policies: z$1.ZodOptional<z$1.ZodObject<{
3752
- version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3753
- lastModified: z$1.ZodString;
3754
- }, z$1.core.$strip>>;
3755
4039
  knowledge: z$1.ZodOptional<z$1.ZodObject<{
3756
4040
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3757
4041
  lastModified: z$1.ZodString;
@@ -3809,10 +4093,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3809
4093
  version: 1;
3810
4094
  lastModified: string;
3811
4095
  };
3812
- policies: {
3813
- version: 1;
3814
- lastModified: string;
3815
- };
3816
4096
  knowledge: {
3817
4097
  version: 1;
3818
4098
  lastModified: string;
@@ -3870,10 +4150,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3870
4150
  version: 1;
3871
4151
  lastModified: string;
3872
4152
  } | undefined;
3873
- policies?: {
3874
- version: 1;
3875
- lastModified: string;
3876
- } | undefined;
3877
4153
  knowledge?: {
3878
4154
  version: 1;
3879
4155
  lastModified: string;
@@ -4467,9 +4743,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4467
4743
  }, z$1.core.$strip>, z$1.ZodObject<{
4468
4744
  kind: z$1.ZodLiteral<"ontology">;
4469
4745
  id: z$1.ZodString;
4470
- }, z$1.core.$strip>, z$1.ZodObject<{
4471
- kind: z$1.ZodLiteral<"policy">;
4472
- id: z$1.ZodString;
4473
4746
  }, z$1.core.$strip>, z$1.ZodObject<{
4474
4747
  kind: z$1.ZodLiteral<"role">;
4475
4748
  id: z$1.ZodString;
@@ -4497,9 +4770,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4497
4770
  }, z$1.core.$strip>, z$1.ZodObject<{
4498
4771
  kind: z$1.ZodLiteral<"ontology">;
4499
4772
  id: z$1.ZodString;
4500
- }, z$1.core.$strip>, z$1.ZodObject<{
4501
- kind: z$1.ZodLiteral<"policy">;
4502
- id: z$1.ZodString;
4503
4773
  }, z$1.core.$strip>, z$1.ZodObject<{
4504
4774
  kind: z$1.ZodLiteral<"role">;
4505
4775
  id: z$1.ZodString;
@@ -4581,66 +4851,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4581
4851
  label: z$1.ZodOptional<z$1.ZodString>;
4582
4852
  }, z$1.core.$strip>>>;
4583
4853
  }, z$1.core.$strip>>>>;
4584
- policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4585
- id: z$1.ZodString;
4586
- order: z$1.ZodNumber;
4587
- label: z$1.ZodString;
4588
- description: z$1.ZodOptional<z$1.ZodString>;
4589
- trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4590
- kind: z$1.ZodLiteral<"event">;
4591
- eventId: z$1.ZodString;
4592
- }, z$1.core.$strip>, z$1.ZodObject<{
4593
- kind: z$1.ZodLiteral<"action-invocation">;
4594
- actionId: z$1.ZodString;
4595
- }, z$1.core.$strip>, z$1.ZodObject<{
4596
- kind: z$1.ZodLiteral<"schedule">;
4597
- cron: z$1.ZodString;
4598
- }, z$1.core.$strip>, z$1.ZodObject<{
4599
- kind: z$1.ZodLiteral<"manual">;
4600
- }, z$1.core.$strip>], "kind">;
4601
- predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4602
- kind: z$1.ZodLiteral<"always">;
4603
- }, z$1.core.$strip>, z$1.ZodObject<{
4604
- kind: z$1.ZodLiteral<"expression">;
4605
- expression: z$1.ZodString;
4606
- }, z$1.core.$strip>, z$1.ZodObject<{
4607
- kind: z$1.ZodLiteral<"threshold">;
4608
- metric: z$1.ZodString;
4609
- operator: z$1.ZodEnum<{
4610
- lt: "lt";
4611
- lte: "lte";
4612
- eq: "eq";
4613
- gte: "gte";
4614
- gt: "gt";
4615
- }>;
4616
- value: z$1.ZodNumber;
4617
- }, z$1.core.$strip>], "kind">>;
4618
- actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4619
- kind: z$1.ZodLiteral<"require-approval">;
4620
- roleId: z$1.ZodOptional<z$1.ZodString>;
4621
- }, z$1.core.$strip>, z$1.ZodObject<{
4622
- kind: z$1.ZodLiteral<"invoke-action">;
4623
- actionId: z$1.ZodString;
4624
- }, z$1.core.$strip>, z$1.ZodObject<{
4625
- kind: z$1.ZodLiteral<"notify-role">;
4626
- roleId: z$1.ZodString;
4627
- }, z$1.core.$strip>, z$1.ZodObject<{
4628
- kind: z$1.ZodLiteral<"block">;
4629
- }, z$1.core.$strip>], "kind">>;
4630
- appliesTo: z$1.ZodDefault<z$1.ZodObject<{
4631
- systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4632
- actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4633
- resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4634
- roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4635
- }, z$1.core.$strip>>;
4636
- lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4637
- active: "active";
4638
- deprecated: "deprecated";
4639
- draft: "draft";
4640
- beta: "beta";
4641
- archived: "archived";
4642
- }>>;
4643
- }, z$1.core.$strip>>>>;
4644
4854
  knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4645
4855
  id: z$1.ZodString;
4646
4856
  kind: z$1.ZodEnum<{
@@ -5244,7 +5454,6 @@ interface ResolvedShellModel {
5244
5454
  ancestorsOf: (id: string) => ResolvedShellSystem[];
5245
5455
  parentOf: (id: string) => ResolvedShellSystem | undefined;
5246
5456
  topLevel: () => ResolvedShellSystem[];
5247
- requiresAdminFor: (id: string) => boolean;
5248
5457
  devOnlyFor: (id: string) => boolean;
5249
5458
  }
5250
5459
  interface ShellSidebarLinkItem {