@elevasis/ui 2.17.2 → 2.19.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 (63) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.js +5 -5
  3. package/dist/charts/index.js +3 -3
  4. package/dist/chunk-3JCMO7SD.js +14 -0
  5. package/dist/{chunk-TP5NMF6K.js → chunk-46Z2VHY3.js} +4 -4
  6. package/dist/{chunk-FNWWVX5N.js → chunk-5SCVXZPM.js} +358 -188
  7. package/dist/{chunk-TTP62HWW.js → chunk-BHR7IV72.js} +10 -15
  8. package/dist/{chunk-MJ6YV2B5.js → chunk-CTTY6FUT.js} +2 -2
  9. package/dist/{chunk-P3TFNFZS.js → chunk-EUWBY43Z.js} +2 -2
  10. package/dist/{chunk-MDO4UCEJ.js → chunk-IBOX2M24.js} +47 -82
  11. package/dist/{chunk-HH3RNG2O.js → chunk-JEQM67SO.js} +307 -173
  12. package/dist/{chunk-2TDZBYXI.js → chunk-LR5CRY5A.js} +1 -1
  13. package/dist/{chunk-JU6UB4YA.js → chunk-LVCJ2H2T.js} +4 -4
  14. package/dist/{chunk-GRGRBWIO.js → chunk-M7W7CGPL.js} +1 -1
  15. package/dist/{chunk-34NQLV2W.js → chunk-MJAKU2WA.js} +3 -3
  16. package/dist/{chunk-OCCZRPER.js → chunk-Q4QJOSVS.js} +1 -1
  17. package/dist/{chunk-R73EHHPN.js → chunk-Q5HC6ENG.js} +18 -2
  18. package/dist/{chunk-VDM6DQES.js → chunk-R7OJCNL3.js} +1 -1
  19. package/dist/{chunk-6RWMRQN5.js → chunk-TIIPYB2Z.js} +1 -1
  20. package/dist/{chunk-ABUDMATM.js → chunk-TKEKYPZA.js} +6 -6
  21. package/dist/{chunk-R7GKX4HW.js → chunk-UU6PJ4EJ.js} +192 -82
  22. package/dist/{chunk-7L42RRHZ.js → chunk-Y7TDUZEH.js} +221 -514
  23. package/dist/{chunk-7GCWOUFT.js → chunk-YVAXWM3W.js} +73 -121
  24. package/dist/components/index.d.ts +219 -2810
  25. package/dist/components/index.js +41 -27
  26. package/dist/features/crm/index.d.ts +54 -53
  27. package/dist/features/crm/index.js +11 -11
  28. package/dist/features/dashboard/index.js +12 -12
  29. package/dist/features/delivery/index.d.ts +2642 -2605
  30. package/dist/features/delivery/index.js +11 -11
  31. package/dist/features/lead-gen/index.d.ts +152 -16
  32. package/dist/features/lead-gen/index.js +11 -22
  33. package/dist/features/monitoring/index.js +13 -13
  34. package/dist/features/monitoring/requests/index.d.ts +38 -27
  35. package/dist/features/monitoring/requests/index.js +212 -106
  36. package/dist/features/operations/index.d.ts +9 -26
  37. package/dist/features/operations/index.js +15 -15
  38. package/dist/features/settings/index.d.ts +36 -37
  39. package/dist/features/settings/index.js +12 -12
  40. package/dist/hooks/delivery/index.d.ts +2712 -2699
  41. package/dist/hooks/delivery/index.js +2 -2
  42. package/dist/hooks/index.d.ts +1997 -4627
  43. package/dist/hooks/index.js +10 -10
  44. package/dist/hooks/published.d.ts +1997 -4627
  45. package/dist/hooks/published.js +10 -10
  46. package/dist/index.d.ts +1124 -3673
  47. package/dist/index.js +11 -11
  48. package/dist/layout/index.d.ts +14 -2
  49. package/dist/layout/index.js +1 -1
  50. package/dist/provider/index.d.ts +320 -249
  51. package/dist/provider/index.js +8 -8
  52. package/dist/provider/published.d.ts +320 -249
  53. package/dist/provider/published.js +5 -5
  54. package/dist/sse/index.d.ts +1 -6
  55. package/dist/theme/index.js +2 -2
  56. package/dist/types/index.d.ts +1608 -2487
  57. package/dist/utils/index.d.ts +32 -1
  58. package/dist/utils/index.js +1 -1
  59. package/dist/zustand/index.d.ts +4 -8
  60. package/dist/zustand/index.js +2 -2
  61. package/package.json +4 -4
  62. package/dist/chunk-ADSSLKKP.js +0 -10
  63. /package/dist/{chunk-GCBWGGI6.js → chunk-OD7GWIZS.js} +0 -0
@@ -880,10 +880,10 @@ interface AgentMemory {
880
880
  history: MemoryEntry[];
881
881
  }
882
882
 
883
- type Json$1 = string | number | boolean | null | {
884
- [key: string]: Json$1 | undefined;
885
- } | Json$1[];
886
- type Database$1 = {
883
+ type Json = string | number | boolean | null | {
884
+ [key: string]: Json | undefined;
885
+ } | Json[];
886
+ type Database = {
887
887
  __InternalSupabase: {
888
888
  PostgrestVersion: "12.2.3 (519615d)";
889
889
  };
@@ -896,7 +896,7 @@ type Database$1 = {
896
896
  category_pain: string | null;
897
897
  created_at: string;
898
898
  domain: string | null;
899
- enrichment_data: Json$1 | null;
899
+ enrichment_data: Json | null;
900
900
  filter_reason: string | null;
901
901
  founded_year: number | null;
902
902
  id: string;
@@ -906,7 +906,7 @@ type Database$1 = {
906
906
  name: string;
907
907
  num_employees: number | null;
908
908
  organization_id: string;
909
- pipeline_status: Json$1;
909
+ pipeline_status: Json;
910
910
  segment: string | null;
911
911
  source: string | null;
912
912
  status: string;
@@ -919,7 +919,7 @@ type Database$1 = {
919
919
  category_pain?: string | null;
920
920
  created_at?: string;
921
921
  domain?: string | null;
922
- enrichment_data?: Json$1 | null;
922
+ enrichment_data?: Json | null;
923
923
  filter_reason?: string | null;
924
924
  founded_year?: number | null;
925
925
  id?: string;
@@ -929,7 +929,7 @@ type Database$1 = {
929
929
  name: string;
930
930
  num_employees?: number | null;
931
931
  organization_id: string;
932
- pipeline_status?: Json$1;
932
+ pipeline_status?: Json;
933
933
  segment?: string | null;
934
934
  source?: string | null;
935
935
  status?: string;
@@ -942,7 +942,7 @@ type Database$1 = {
942
942
  category_pain?: string | null;
943
943
  created_at?: string;
944
944
  domain?: string | null;
945
- enrichment_data?: Json$1 | null;
945
+ enrichment_data?: Json | null;
946
946
  filter_reason?: string | null;
947
947
  founded_year?: number | null;
948
948
  id?: string;
@@ -952,7 +952,7 @@ type Database$1 = {
952
952
  name?: string;
953
953
  num_employees?: number | null;
954
954
  organization_id?: string;
955
- pipeline_status?: Json$1;
955
+ pipeline_status?: Json;
956
956
  segment?: string | null;
957
957
  source?: string | null;
958
958
  status?: string;
@@ -978,7 +978,7 @@ type Database$1 = {
978
978
  created_at: string;
979
979
  email: string;
980
980
  email_valid: string | null;
981
- enrichment_data: Json$1;
981
+ enrichment_data: Json;
982
982
  filter_reason: string | null;
983
983
  first_name: string | null;
984
984
  headline: string | null;
@@ -988,7 +988,7 @@ type Database$1 = {
988
988
  nurture: boolean;
989
989
  opening_line: string | null;
990
990
  organization_id: string;
991
- pipeline_status: Json$1;
991
+ pipeline_status: Json;
992
992
  source: string | null;
993
993
  source_id: string | null;
994
994
  status: string;
@@ -1003,7 +1003,7 @@ type Database$1 = {
1003
1003
  created_at?: string;
1004
1004
  email: string;
1005
1005
  email_valid?: string | null;
1006
- enrichment_data?: Json$1;
1006
+ enrichment_data?: Json;
1007
1007
  filter_reason?: string | null;
1008
1008
  first_name?: string | null;
1009
1009
  headline?: string | null;
@@ -1013,7 +1013,7 @@ type Database$1 = {
1013
1013
  nurture?: boolean;
1014
1014
  opening_line?: string | null;
1015
1015
  organization_id: string;
1016
- pipeline_status?: Json$1;
1016
+ pipeline_status?: Json;
1017
1017
  source?: string | null;
1018
1018
  source_id?: string | null;
1019
1019
  status?: string;
@@ -1028,7 +1028,7 @@ type Database$1 = {
1028
1028
  created_at?: string;
1029
1029
  email?: string;
1030
1030
  email_valid?: string | null;
1031
- enrichment_data?: Json$1;
1031
+ enrichment_data?: Json;
1032
1032
  filter_reason?: string | null;
1033
1033
  first_name?: string | null;
1034
1034
  headline?: string | null;
@@ -1038,7 +1038,7 @@ type Database$1 = {
1038
1038
  nurture?: boolean;
1039
1039
  opening_line?: string | null;
1040
1040
  organization_id?: string;
1041
- pipeline_status?: Json$1;
1041
+ pipeline_status?: Json;
1042
1042
  source?: string | null;
1043
1043
  source_id?: string | null;
1044
1044
  status?: string;
@@ -1106,17 +1106,17 @@ type Database$1 = {
1106
1106
  acq_content_distributions: {
1107
1107
  Row: {
1108
1108
  adapted_body: string | null;
1109
- checklist: Json$1 | null;
1109
+ checklist: Json | null;
1110
1110
  content_id: string;
1111
1111
  created_at: string;
1112
1112
  format: string;
1113
1113
  id: string;
1114
- media_urls: Json$1;
1115
- metrics: Json$1;
1114
+ media_urls: Json;
1115
+ metrics: Json;
1116
1116
  metrics_updated_at: string | null;
1117
1117
  organization_id: string;
1118
1118
  platform: string;
1119
- platform_content: Json$1 | null;
1119
+ platform_content: Json | null;
1120
1120
  platform_post_id: string | null;
1121
1121
  platform_url: string | null;
1122
1122
  published_at: string | null;
@@ -1125,17 +1125,17 @@ type Database$1 = {
1125
1125
  };
1126
1126
  Insert: {
1127
1127
  adapted_body?: string | null;
1128
- checklist?: Json$1 | null;
1128
+ checklist?: Json | null;
1129
1129
  content_id: string;
1130
1130
  created_at?: string;
1131
1131
  format: string;
1132
1132
  id?: string;
1133
- media_urls?: Json$1;
1134
- metrics?: Json$1;
1133
+ media_urls?: Json;
1134
+ metrics?: Json;
1135
1135
  metrics_updated_at?: string | null;
1136
1136
  organization_id: string;
1137
1137
  platform: string;
1138
- platform_content?: Json$1 | null;
1138
+ platform_content?: Json | null;
1139
1139
  platform_post_id?: string | null;
1140
1140
  platform_url?: string | null;
1141
1141
  published_at?: string | null;
@@ -1144,17 +1144,17 @@ type Database$1 = {
1144
1144
  };
1145
1145
  Update: {
1146
1146
  adapted_body?: string | null;
1147
- checklist?: Json$1 | null;
1147
+ checklist?: Json | null;
1148
1148
  content_id?: string;
1149
1149
  created_at?: string;
1150
1150
  format?: string;
1151
1151
  id?: string;
1152
- media_urls?: Json$1;
1153
- metrics?: Json$1;
1152
+ media_urls?: Json;
1153
+ metrics?: Json;
1154
1154
  metrics_updated_at?: string | null;
1155
1155
  organization_id?: string;
1156
1156
  platform?: string;
1157
- platform_content?: Json$1 | null;
1157
+ platform_content?: Json | null;
1158
1158
  platform_post_id?: string | null;
1159
1159
  platform_url?: string | null;
1160
1160
  published_at?: string | null;
@@ -1288,14 +1288,14 @@ type Database$1 = {
1288
1288
  };
1289
1289
  acq_deals: {
1290
1290
  Row: {
1291
- activity_log: Json$1;
1291
+ activity_log: Json;
1292
1292
  cached_stage: string | null;
1293
1293
  closed_lost_at: string | null;
1294
1294
  closed_lost_reason: string | null;
1295
1295
  contact_email: string;
1296
1296
  contact_id: string | null;
1297
1297
  created_at: string;
1298
- discovery_data: Json$1 | null;
1298
+ discovery_data: Json | null;
1299
1299
  discovery_submitted_at: string | null;
1300
1300
  discovery_submitted_by: string | null;
1301
1301
  id: string;
@@ -1304,7 +1304,7 @@ type Database$1 = {
1304
1304
  organization_id: string;
1305
1305
  payment_link_sent_at: string | null;
1306
1306
  payment_received_at: string | null;
1307
- proposal_data: Json$1 | null;
1307
+ proposal_data: Json | null;
1308
1308
  proposal_generated_at: string | null;
1309
1309
  proposal_pdf_url: string | null;
1310
1310
  proposal_reviewed_at: string | null;
@@ -1322,14 +1322,14 @@ type Database$1 = {
1322
1322
  updated_at: string;
1323
1323
  };
1324
1324
  Insert: {
1325
- activity_log?: Json$1;
1325
+ activity_log?: Json;
1326
1326
  cached_stage?: string | null;
1327
1327
  closed_lost_at?: string | null;
1328
1328
  closed_lost_reason?: string | null;
1329
1329
  contact_email: string;
1330
1330
  contact_id?: string | null;
1331
1331
  created_at?: string;
1332
- discovery_data?: Json$1 | null;
1332
+ discovery_data?: Json | null;
1333
1333
  discovery_submitted_at?: string | null;
1334
1334
  discovery_submitted_by?: string | null;
1335
1335
  id?: string;
@@ -1338,7 +1338,7 @@ type Database$1 = {
1338
1338
  organization_id: string;
1339
1339
  payment_link_sent_at?: string | null;
1340
1340
  payment_received_at?: string | null;
1341
- proposal_data?: Json$1 | null;
1341
+ proposal_data?: Json | null;
1342
1342
  proposal_generated_at?: string | null;
1343
1343
  proposal_pdf_url?: string | null;
1344
1344
  proposal_reviewed_at?: string | null;
@@ -1356,14 +1356,14 @@ type Database$1 = {
1356
1356
  updated_at?: string;
1357
1357
  };
1358
1358
  Update: {
1359
- activity_log?: Json$1;
1359
+ activity_log?: Json;
1360
1360
  cached_stage?: string | null;
1361
1361
  closed_lost_at?: string | null;
1362
1362
  closed_lost_reason?: string | null;
1363
1363
  contact_email?: string;
1364
1364
  contact_id?: string | null;
1365
1365
  created_at?: string;
1366
- discovery_data?: Json$1 | null;
1366
+ discovery_data?: Json | null;
1367
1367
  discovery_submitted_at?: string | null;
1368
1368
  discovery_submitted_by?: string | null;
1369
1369
  id?: string;
@@ -1372,7 +1372,7 @@ type Database$1 = {
1372
1372
  organization_id?: string;
1373
1373
  payment_link_sent_at?: string | null;
1374
1374
  payment_received_at?: string | null;
1375
- proposal_data?: Json$1 | null;
1375
+ proposal_data?: Json | null;
1376
1376
  proposal_generated_at?: string | null;
1377
1377
  proposal_pdf_url?: string | null;
1378
1378
  proposal_reviewed_at?: string | null;
@@ -1480,21 +1480,21 @@ type Database$1 = {
1480
1480
  execution_id: string;
1481
1481
  id: string;
1482
1482
  list_id: string;
1483
- payload: Json$1;
1483
+ payload: Json;
1484
1484
  };
1485
1485
  Insert: {
1486
1486
  created_at?: string;
1487
1487
  execution_id: string;
1488
1488
  id?: string;
1489
1489
  list_id: string;
1490
- payload?: Json$1;
1490
+ payload?: Json;
1491
1491
  };
1492
1492
  Update: {
1493
1493
  created_at?: string;
1494
1494
  execution_id?: string;
1495
1495
  id?: string;
1496
1496
  list_id?: string;
1497
- payload?: Json$1;
1497
+ payload?: Json;
1498
1498
  };
1499
1499
  Relationships: [
1500
1500
  {
@@ -1578,13 +1578,13 @@ type Database$1 = {
1578
1578
  Row: {
1579
1579
  batch_ids: string[];
1580
1580
  completed_at: string | null;
1581
- config: Json$1;
1581
+ config: Json;
1582
1582
  created_at: string;
1583
1583
  description: string | null;
1584
1584
  id: string;
1585
1585
  instantly_campaign_id: string | null;
1586
1586
  launched_at: string | null;
1587
- metadata: Json$1;
1587
+ metadata: Json;
1588
1588
  name: string;
1589
1589
  organization_id: string;
1590
1590
  status: string;
@@ -1593,13 +1593,13 @@ type Database$1 = {
1593
1593
  Insert: {
1594
1594
  batch_ids?: string[];
1595
1595
  completed_at?: string | null;
1596
- config?: Json$1;
1596
+ config?: Json;
1597
1597
  created_at?: string;
1598
1598
  description?: string | null;
1599
1599
  id?: string;
1600
1600
  instantly_campaign_id?: string | null;
1601
1601
  launched_at?: string | null;
1602
- metadata?: Json$1;
1602
+ metadata?: Json;
1603
1603
  name: string;
1604
1604
  organization_id: string;
1605
1605
  status?: string;
@@ -1608,13 +1608,13 @@ type Database$1 = {
1608
1608
  Update: {
1609
1609
  batch_ids?: string[];
1610
1610
  completed_at?: string | null;
1611
- config?: Json$1;
1611
+ config?: Json;
1612
1612
  created_at?: string;
1613
1613
  description?: string | null;
1614
1614
  id?: string;
1615
1615
  instantly_campaign_id?: string | null;
1616
1616
  launched_at?: string | null;
1617
- metadata?: Json$1;
1617
+ metadata?: Json;
1618
1618
  name?: string;
1619
1619
  organization_id?: string;
1620
1620
  status?: string;
@@ -1632,7 +1632,7 @@ type Database$1 = {
1632
1632
  };
1633
1633
  acq_seo_metrics: {
1634
1634
  Row: {
1635
- ai_citations: Json$1 | null;
1635
+ ai_citations: Json | null;
1636
1636
  avg_position: number | null;
1637
1637
  clicks: number | null;
1638
1638
  created_at: string;
@@ -1655,7 +1655,7 @@ type Database$1 = {
1655
1655
  word_count: number | null;
1656
1656
  };
1657
1657
  Insert: {
1658
- ai_citations?: Json$1 | null;
1658
+ ai_citations?: Json | null;
1659
1659
  avg_position?: number | null;
1660
1660
  clicks?: number | null;
1661
1661
  created_at?: string;
@@ -1678,7 +1678,7 @@ type Database$1 = {
1678
1678
  word_count?: number | null;
1679
1679
  };
1680
1680
  Update: {
1681
- ai_citations?: Json$1 | null;
1681
+ ai_citations?: Json | null;
1682
1682
  avg_position?: number | null;
1683
1683
  clicks?: number | null;
1684
1684
  created_at?: string;
@@ -1720,19 +1720,19 @@ type Database$1 = {
1720
1720
  acq_seo_pages: {
1721
1721
  Row: {
1722
1722
  city: string | null;
1723
- content: Json$1 | null;
1723
+ content: Json | null;
1724
1724
  created_at: string;
1725
- faq_items: Json$1 | null;
1725
+ faq_items: Json | null;
1726
1726
  hero_image_url: string | null;
1727
1727
  id: string;
1728
- internal_links: Json$1 | null;
1729
- local_data: Json$1 | null;
1728
+ internal_links: Json | null;
1729
+ local_data: Json | null;
1730
1730
  meta_description: string | null;
1731
1731
  organization_id: string;
1732
1732
  page_type: string;
1733
1733
  published_at: string | null;
1734
1734
  refreshed_at: string | null;
1735
- schema_markup: Json$1 | null;
1735
+ schema_markup: Json | null;
1736
1736
  slug: string;
1737
1737
  state: string | null;
1738
1738
  status: string;
@@ -1743,19 +1743,19 @@ type Database$1 = {
1743
1743
  };
1744
1744
  Insert: {
1745
1745
  city?: string | null;
1746
- content?: Json$1 | null;
1746
+ content?: Json | null;
1747
1747
  created_at?: string;
1748
- faq_items?: Json$1 | null;
1748
+ faq_items?: Json | null;
1749
1749
  hero_image_url?: string | null;
1750
1750
  id?: string;
1751
- internal_links?: Json$1 | null;
1752
- local_data?: Json$1 | null;
1751
+ internal_links?: Json | null;
1752
+ local_data?: Json | null;
1753
1753
  meta_description?: string | null;
1754
1754
  organization_id: string;
1755
1755
  page_type: string;
1756
1756
  published_at?: string | null;
1757
1757
  refreshed_at?: string | null;
1758
- schema_markup?: Json$1 | null;
1758
+ schema_markup?: Json | null;
1759
1759
  slug: string;
1760
1760
  state?: string | null;
1761
1761
  status?: string;
@@ -1766,19 +1766,19 @@ type Database$1 = {
1766
1766
  };
1767
1767
  Update: {
1768
1768
  city?: string | null;
1769
- content?: Json$1 | null;
1769
+ content?: Json | null;
1770
1770
  created_at?: string;
1771
- faq_items?: Json$1 | null;
1771
+ faq_items?: Json | null;
1772
1772
  hero_image_url?: string | null;
1773
1773
  id?: string;
1774
- internal_links?: Json$1 | null;
1775
- local_data?: Json$1 | null;
1774
+ internal_links?: Json | null;
1775
+ local_data?: Json | null;
1776
1776
  meta_description?: string | null;
1777
1777
  organization_id?: string;
1778
1778
  page_type?: string;
1779
1779
  published_at?: string | null;
1780
1780
  refreshed_at?: string | null;
1781
- schema_markup?: Json$1 | null;
1781
+ schema_markup?: Json | null;
1782
1782
  slug?: string;
1783
1783
  state?: string | null;
1784
1784
  status?: string;
@@ -1812,7 +1812,7 @@ type Database$1 = {
1812
1812
  initial_draft: string | null;
1813
1813
  matched_keywords: string[];
1814
1814
  matched_query: string | null;
1815
- metadata: Json$1;
1815
+ metadata: Json;
1816
1816
  organization_id: string;
1817
1817
  platform: string;
1818
1818
  platform_post_id: string;
@@ -1842,7 +1842,7 @@ type Database$1 = {
1842
1842
  initial_draft?: string | null;
1843
1843
  matched_keywords?: string[];
1844
1844
  matched_query?: string | null;
1845
- metadata?: Json$1;
1845
+ metadata?: Json;
1846
1846
  organization_id: string;
1847
1847
  platform: string;
1848
1848
  platform_post_id: string;
@@ -1872,7 +1872,7 @@ type Database$1 = {
1872
1872
  initial_draft?: string | null;
1873
1873
  matched_keywords?: string[];
1874
1874
  matched_query?: string | null;
1875
- metadata?: Json$1;
1875
+ metadata?: Json;
1876
1876
  organization_id?: string;
1877
1877
  platform?: string;
1878
1878
  platform_post_id?: string;
@@ -1909,7 +1909,7 @@ type Database$1 = {
1909
1909
  entity_name: string | null;
1910
1910
  entity_type: string;
1911
1911
  id: string;
1912
- metadata: Json$1 | null;
1912
+ metadata: Json | null;
1913
1913
  occurred_at: string;
1914
1914
  organization_id: string;
1915
1915
  status: string;
@@ -1925,7 +1925,7 @@ type Database$1 = {
1925
1925
  entity_name?: string | null;
1926
1926
  entity_type: string;
1927
1927
  id?: string;
1928
- metadata?: Json$1 | null;
1928
+ metadata?: Json | null;
1929
1929
  occurred_at?: string;
1930
1930
  organization_id: string;
1931
1931
  status: string;
@@ -1941,7 +1941,7 @@ type Database$1 = {
1941
1941
  entity_name?: string | null;
1942
1942
  entity_type?: string;
1943
1943
  id?: string;
1944
- metadata?: Json$1 | null;
1944
+ metadata?: Json | null;
1945
1945
  occurred_at?: string;
1946
1946
  organization_id?: string;
1947
1947
  status?: string;
@@ -1994,18 +1994,18 @@ type Database$1 = {
1994
1994
  };
1995
1995
  command_queue: {
1996
1996
  Row: {
1997
- action_payload: Json$1 | null;
1998
- actions: Json$1;
1997
+ action_payload: Json | null;
1998
+ actions: Json;
1999
1999
  completed_at: string | null;
2000
2000
  completed_by: string | null;
2001
- context: Json$1;
2001
+ context: Json;
2002
2002
  created_at: string;
2003
2003
  description: string | null;
2004
2004
  expires_at: string | null;
2005
2005
  human_checkpoint: string | null;
2006
2006
  id: string;
2007
2007
  idempotency_key: string | null;
2008
- metadata: Json$1 | null;
2008
+ metadata: Json | null;
2009
2009
  organization_id: string;
2010
2010
  origin_execution_id: string;
2011
2011
  origin_resource_id: string;
@@ -2018,18 +2018,18 @@ type Database$1 = {
2018
2018
  target_resource_type: string | null;
2019
2019
  };
2020
2020
  Insert: {
2021
- action_payload?: Json$1 | null;
2022
- actions: Json$1;
2021
+ action_payload?: Json | null;
2022
+ actions: Json;
2023
2023
  completed_at?: string | null;
2024
2024
  completed_by?: string | null;
2025
- context: Json$1;
2025
+ context: Json;
2026
2026
  created_at?: string;
2027
2027
  description?: string | null;
2028
2028
  expires_at?: string | null;
2029
2029
  human_checkpoint?: string | null;
2030
2030
  id?: string;
2031
2031
  idempotency_key?: string | null;
2032
- metadata?: Json$1 | null;
2032
+ metadata?: Json | null;
2033
2033
  organization_id: string;
2034
2034
  origin_execution_id: string;
2035
2035
  origin_resource_id: string;
@@ -2042,18 +2042,18 @@ type Database$1 = {
2042
2042
  target_resource_type?: string | null;
2043
2043
  };
2044
2044
  Update: {
2045
- action_payload?: Json$1 | null;
2046
- actions?: Json$1;
2045
+ action_payload?: Json | null;
2046
+ actions?: Json;
2047
2047
  completed_at?: string | null;
2048
2048
  completed_by?: string | null;
2049
- context?: Json$1;
2049
+ context?: Json;
2050
2050
  created_at?: string;
2051
2051
  description?: string | null;
2052
2052
  expires_at?: string | null;
2053
2053
  human_checkpoint?: string | null;
2054
2054
  id?: string;
2055
2055
  idempotency_key?: string | null;
2056
- metadata?: Json$1 | null;
2056
+ metadata?: Json | null;
2057
2057
  organization_id?: string;
2058
2058
  origin_execution_id?: string;
2059
2059
  origin_resource_id?: string;
@@ -2200,7 +2200,7 @@ type Database$1 = {
2200
2200
  error_type: string;
2201
2201
  execution_id: string;
2202
2202
  id: string;
2203
- metadata: Json$1 | null;
2203
+ metadata: Json | null;
2204
2204
  occurred_at: string;
2205
2205
  organization_id: string;
2206
2206
  resolved: boolean;
@@ -2216,7 +2216,7 @@ type Database$1 = {
2216
2216
  error_type: string;
2217
2217
  execution_id: string;
2218
2218
  id?: string;
2219
- metadata?: Json$1 | null;
2219
+ metadata?: Json | null;
2220
2220
  occurred_at?: string;
2221
2221
  organization_id: string;
2222
2222
  resolved?: boolean;
@@ -2232,7 +2232,7 @@ type Database$1 = {
2232
2232
  error_type?: string;
2233
2233
  execution_id?: string;
2234
2234
  id?: string;
2235
- metadata?: Json$1 | null;
2235
+ metadata?: Json | null;
2236
2236
  occurred_at?: string;
2237
2237
  organization_id?: string;
2238
2238
  resolved?: boolean;
@@ -2270,12 +2270,12 @@ type Database$1 = {
2270
2270
  created_at: string | null;
2271
2271
  error: string | null;
2272
2272
  execution_id: string;
2273
- input: Json$1 | null;
2273
+ input: Json | null;
2274
2274
  last_heartbeat_at: string | null;
2275
- logs: Json$1 | null;
2275
+ logs: Json | null;
2276
2276
  organization_id: string;
2277
2277
  origin_execution_id: string | null;
2278
- output: Json$1 | null;
2278
+ output: Json | null;
2279
2279
  resource_id: string;
2280
2280
  resource_status: string;
2281
2281
  resource_type: string;
@@ -2295,12 +2295,12 @@ type Database$1 = {
2295
2295
  created_at?: string | null;
2296
2296
  error?: string | null;
2297
2297
  execution_id?: string;
2298
- input?: Json$1 | null;
2298
+ input?: Json | null;
2299
2299
  last_heartbeat_at?: string | null;
2300
- logs?: Json$1 | null;
2300
+ logs?: Json | null;
2301
2301
  organization_id: string;
2302
2302
  origin_execution_id?: string | null;
2303
- output?: Json$1 | null;
2303
+ output?: Json | null;
2304
2304
  resource_id: string;
2305
2305
  resource_status?: string;
2306
2306
  resource_type?: string;
@@ -2320,12 +2320,12 @@ type Database$1 = {
2320
2320
  created_at?: string | null;
2321
2321
  error?: string | null;
2322
2322
  execution_id?: string;
2323
- input?: Json$1 | null;
2323
+ input?: Json | null;
2324
2324
  last_heartbeat_at?: string | null;
2325
- logs?: Json$1 | null;
2325
+ logs?: Json | null;
2326
2326
  organization_id?: string;
2327
2327
  origin_execution_id?: string | null;
2328
- output?: Json$1 | null;
2328
+ output?: Json | null;
2329
2329
  resource_id?: string;
2330
2330
  resource_status?: string;
2331
2331
  resource_type?: string;
@@ -2373,7 +2373,7 @@ type Database$1 = {
2373
2373
  execution_metrics: {
2374
2374
  Row: {
2375
2375
  ai_call_count: number;
2376
- ai_calls: Json$1 | null;
2376
+ ai_calls: Json | null;
2377
2377
  automation_savings_usd: number | null;
2378
2378
  created_at: string | null;
2379
2379
  duration_ms: number | null;
@@ -2386,7 +2386,7 @@ type Database$1 = {
2386
2386
  };
2387
2387
  Insert: {
2388
2388
  ai_call_count: number;
2389
- ai_calls?: Json$1 | null;
2389
+ ai_calls?: Json | null;
2390
2390
  automation_savings_usd?: number | null;
2391
2391
  created_at?: string | null;
2392
2392
  duration_ms?: number | null;
@@ -2399,7 +2399,7 @@ type Database$1 = {
2399
2399
  };
2400
2400
  Update: {
2401
2401
  ai_call_count?: number;
2402
- ai_calls?: Json$1 | null;
2402
+ ai_calls?: Json | null;
2403
2403
  automation_savings_usd?: number | null;
2404
2404
  created_at?: string | null;
2405
2405
  duration_ms?: number | null;
@@ -2549,7 +2549,7 @@ type Database$1 = {
2549
2549
  };
2550
2550
  org_memberships: {
2551
2551
  Row: {
2552
- config: Json$1;
2552
+ config: Json;
2553
2553
  created_at: string | null;
2554
2554
  id: string;
2555
2555
  membership_status: string | null;
@@ -2560,7 +2560,7 @@ type Database$1 = {
2560
2560
  workos_membership_id: string | null;
2561
2561
  };
2562
2562
  Insert: {
2563
- config?: Json$1;
2563
+ config?: Json;
2564
2564
  created_at?: string | null;
2565
2565
  id?: string;
2566
2566
  membership_status?: string | null;
@@ -2571,7 +2571,7 @@ type Database$1 = {
2571
2571
  workos_membership_id?: string | null;
2572
2572
  };
2573
2573
  Update: {
2574
- config?: Json$1;
2574
+ config?: Json;
2575
2575
  created_at?: string | null;
2576
2576
  id?: string;
2577
2577
  membership_status?: string | null;
@@ -2600,33 +2600,33 @@ type Database$1 = {
2600
2600
  };
2601
2601
  organizations: {
2602
2602
  Row: {
2603
- config: Json$1;
2603
+ config: Json;
2604
2604
  created_at: string;
2605
2605
  id: string;
2606
2606
  is_test: boolean;
2607
- metadata: Json$1;
2607
+ metadata: Json;
2608
2608
  name: string;
2609
2609
  status: string;
2610
2610
  updated_at: string;
2611
2611
  workos_org_id: string;
2612
2612
  };
2613
2613
  Insert: {
2614
- config?: Json$1;
2614
+ config?: Json;
2615
2615
  created_at?: string;
2616
2616
  id?: string;
2617
2617
  is_test?: boolean;
2618
- metadata?: Json$1;
2618
+ metadata?: Json;
2619
2619
  name: string;
2620
2620
  status?: string;
2621
2621
  updated_at?: string;
2622
2622
  workos_org_id: string;
2623
2623
  };
2624
2624
  Update: {
2625
- config?: Json$1;
2625
+ config?: Json;
2626
2626
  created_at?: string;
2627
2627
  id?: string;
2628
2628
  is_test?: boolean;
2629
- metadata?: Json$1;
2629
+ metadata?: Json;
2630
2630
  name?: string;
2631
2631
  status?: string;
2632
2632
  updated_at?: string;
@@ -2636,13 +2636,13 @@ type Database$1 = {
2636
2636
  };
2637
2637
  prj_milestones: {
2638
2638
  Row: {
2639
- checklist: Json$1 | null;
2639
+ checklist: Json | null;
2640
2640
  completed_at: string | null;
2641
2641
  created_at: string;
2642
2642
  description: string | null;
2643
2643
  due_date: string | null;
2644
2644
  id: string;
2645
- metadata: Json$1 | null;
2645
+ metadata: Json | null;
2646
2646
  name: string;
2647
2647
  organization_id: string;
2648
2648
  project_id: string;
@@ -2651,13 +2651,13 @@ type Database$1 = {
2651
2651
  updated_at: string;
2652
2652
  };
2653
2653
  Insert: {
2654
- checklist?: Json$1 | null;
2654
+ checklist?: Json | null;
2655
2655
  completed_at?: string | null;
2656
2656
  created_at?: string;
2657
2657
  description?: string | null;
2658
2658
  due_date?: string | null;
2659
2659
  id?: string;
2660
- metadata?: Json$1 | null;
2660
+ metadata?: Json | null;
2661
2661
  name: string;
2662
2662
  organization_id: string;
2663
2663
  project_id: string;
@@ -2666,13 +2666,13 @@ type Database$1 = {
2666
2666
  updated_at?: string;
2667
2667
  };
2668
2668
  Update: {
2669
- checklist?: Json$1 | null;
2669
+ checklist?: Json | null;
2670
2670
  completed_at?: string | null;
2671
2671
  created_at?: string;
2672
2672
  description?: string | null;
2673
2673
  due_date?: string | null;
2674
2674
  id?: string;
2675
- metadata?: Json$1 | null;
2675
+ metadata?: Json | null;
2676
2676
  name?: string;
2677
2677
  organization_id?: string;
2678
2678
  project_id?: string;
@@ -2710,7 +2710,7 @@ type Database$1 = {
2710
2710
  created_at: string;
2711
2711
  created_by: string | null;
2712
2712
  id: string;
2713
- metadata: Json$1 | null;
2713
+ metadata: Json | null;
2714
2714
  milestone_id: string | null;
2715
2715
  occurred_at: string;
2716
2716
  organization_id: string;
@@ -2724,7 +2724,7 @@ type Database$1 = {
2724
2724
  created_at?: string;
2725
2725
  created_by?: string | null;
2726
2726
  id?: string;
2727
- metadata?: Json$1 | null;
2727
+ metadata?: Json | null;
2728
2728
  milestone_id?: string | null;
2729
2729
  occurred_at?: string;
2730
2730
  organization_id: string;
@@ -2738,7 +2738,7 @@ type Database$1 = {
2738
2738
  created_at?: string;
2739
2739
  created_by?: string | null;
2740
2740
  id?: string;
2741
- metadata?: Json$1 | null;
2741
+ metadata?: Json | null;
2742
2742
  milestone_id?: string | null;
2743
2743
  occurred_at?: string;
2744
2744
  organization_id?: string;
@@ -2823,7 +2823,7 @@ type Database$1 = {
2823
2823
  description: string | null;
2824
2824
  id: string;
2825
2825
  kind: string;
2826
- metadata: Json$1 | null;
2826
+ metadata: Json | null;
2827
2827
  name: string;
2828
2828
  organization_id: string;
2829
2829
  start_date: string | null;
@@ -2840,7 +2840,7 @@ type Database$1 = {
2840
2840
  description?: string | null;
2841
2841
  id?: string;
2842
2842
  kind?: string;
2843
- metadata?: Json$1 | null;
2843
+ metadata?: Json | null;
2844
2844
  name: string;
2845
2845
  organization_id: string;
2846
2846
  start_date?: string | null;
@@ -2857,7 +2857,7 @@ type Database$1 = {
2857
2857
  description?: string | null;
2858
2858
  id?: string;
2859
2859
  kind?: string;
2860
- metadata?: Json$1 | null;
2860
+ metadata?: Json | null;
2861
2861
  name?: string;
2862
2862
  organization_id?: string;
2863
2863
  start_date?: string | null;
@@ -2905,58 +2905,58 @@ type Database$1 = {
2905
2905
  };
2906
2906
  prj_tasks: {
2907
2907
  Row: {
2908
- checklist: Json$1;
2908
+ checklist: Json;
2909
2909
  completed_at: string | null;
2910
2910
  created_at: string;
2911
2911
  description: string | null;
2912
2912
  due_date: string | null;
2913
2913
  file_url: string | null;
2914
2914
  id: string;
2915
- metadata: Json$1 | null;
2915
+ metadata: Json | null;
2916
2916
  milestone_id: string | null;
2917
2917
  name: string;
2918
2918
  organization_id: string;
2919
2919
  parent_task_id: string | null;
2920
2920
  project_id: string;
2921
- resume_context: Json$1 | null;
2921
+ resume_context: Json | null;
2922
2922
  status: string;
2923
2923
  type: string;
2924
2924
  updated_at: string;
2925
2925
  };
2926
2926
  Insert: {
2927
- checklist?: Json$1;
2927
+ checklist?: Json;
2928
2928
  completed_at?: string | null;
2929
2929
  created_at?: string;
2930
2930
  description?: string | null;
2931
2931
  due_date?: string | null;
2932
2932
  file_url?: string | null;
2933
2933
  id?: string;
2934
- metadata?: Json$1 | null;
2934
+ metadata?: Json | null;
2935
2935
  milestone_id?: string | null;
2936
2936
  name: string;
2937
2937
  organization_id: string;
2938
2938
  parent_task_id?: string | null;
2939
2939
  project_id: string;
2940
- resume_context?: Json$1 | null;
2940
+ resume_context?: Json | null;
2941
2941
  status?: string;
2942
2942
  type?: string;
2943
2943
  updated_at?: string;
2944
2944
  };
2945
2945
  Update: {
2946
- checklist?: Json$1;
2946
+ checklist?: Json;
2947
2947
  completed_at?: string | null;
2948
2948
  created_at?: string;
2949
2949
  description?: string | null;
2950
2950
  due_date?: string | null;
2951
2951
  file_url?: string | null;
2952
2952
  id?: string;
2953
- metadata?: Json$1 | null;
2953
+ metadata?: Json | null;
2954
2954
  milestone_id?: string | null;
2955
2955
  name?: string;
2956
2956
  organization_id?: string;
2957
2957
  parent_task_id?: string | null;
2958
2958
  project_id?: string;
2959
- resume_context?: Json$1 | null;
2959
+ resume_context?: Json | null;
2960
2960
  status?: string;
2961
2961
  type?: string;
2962
2962
  updated_at?: string;
@@ -3017,10 +3017,10 @@ type Database$1 = {
3017
3017
  Row: {
3018
3018
  affected_page: string | null;
3019
3019
  category: string;
3020
- context: Json$1 | null;
3020
+ context: Json | null;
3021
3021
  created_at: string;
3022
3022
  description: string;
3023
- evidence: Json$1 | null;
3023
+ evidence: Json | null;
3024
3024
  id: string;
3025
3025
  organization_id: string;
3026
3026
  project_id: string | null;
@@ -3038,10 +3038,10 @@ type Database$1 = {
3038
3038
  Insert: {
3039
3039
  affected_page?: string | null;
3040
3040
  category: string;
3041
- context?: Json$1 | null;
3041
+ context?: Json | null;
3042
3042
  created_at?: string;
3043
3043
  description: string;
3044
- evidence?: Json$1 | null;
3044
+ evidence?: Json | null;
3045
3045
  id?: string;
3046
3046
  organization_id: string;
3047
3047
  project_id?: string | null;
@@ -3059,10 +3059,10 @@ type Database$1 = {
3059
3059
  Update: {
3060
3060
  affected_page?: string | null;
3061
3061
  category?: string;
3062
- context?: Json$1 | null;
3062
+ context?: Json | null;
3063
3063
  created_at?: string;
3064
3064
  description?: string;
3065
- evidence?: Json$1 | null;
3065
+ evidence?: Json | null;
3066
3066
  id?: string;
3067
3067
  organization_id?: string;
3068
3068
  project_id?: string | null;
@@ -3108,7 +3108,7 @@ type Database$1 = {
3108
3108
  message: string;
3109
3109
  message_index: number | null;
3110
3110
  message_type: string | null;
3111
- metadata: Json$1 | null;
3111
+ metadata: Json | null;
3112
3112
  role: string;
3113
3113
  session_id: string;
3114
3114
  session_turn_number: number;
@@ -3119,7 +3119,7 @@ type Database$1 = {
3119
3119
  message: string;
3120
3120
  message_index?: number | null;
3121
3121
  message_type?: string | null;
3122
- metadata?: Json$1 | null;
3122
+ metadata?: Json | null;
3123
3123
  role: string;
3124
3124
  session_id: string;
3125
3125
  session_turn_number: number;
@@ -3130,7 +3130,7 @@ type Database$1 = {
3130
3130
  message?: string;
3131
3131
  message_index?: number | null;
3132
3132
  message_type?: string | null;
3133
- metadata?: Json$1 | null;
3133
+ metadata?: Json | null;
3134
3134
  role?: string;
3135
3135
  session_id?: string;
3136
3136
  session_turn_number?: number;
@@ -3153,8 +3153,8 @@ type Database$1 = {
3153
3153
  cumulative_output_tokens: number;
3154
3154
  deleted_at: string | null;
3155
3155
  ended_at: string | null;
3156
- memory_snapshot: Json$1;
3157
- metadata: Json$1 | null;
3156
+ memory_snapshot: Json;
3157
+ metadata: Json | null;
3158
3158
  organization_id: string;
3159
3159
  resource_id: string;
3160
3160
  session_id: string;
@@ -3169,8 +3169,8 @@ type Database$1 = {
3169
3169
  cumulative_output_tokens?: number;
3170
3170
  deleted_at?: string | null;
3171
3171
  ended_at?: string | null;
3172
- memory_snapshot: Json$1;
3173
- metadata?: Json$1 | null;
3172
+ memory_snapshot: Json;
3173
+ metadata?: Json | null;
3174
3174
  organization_id: string;
3175
3175
  resource_id: string;
3176
3176
  session_id?: string;
@@ -3185,8 +3185,8 @@ type Database$1 = {
3185
3185
  cumulative_output_tokens?: number;
3186
3186
  deleted_at?: string | null;
3187
3187
  ended_at?: string | null;
3188
- memory_snapshot?: Json$1;
3189
- metadata?: Json$1 | null;
3188
+ memory_snapshot?: Json;
3189
+ metadata?: Json | null;
3190
3190
  organization_id?: string;
3191
3191
  resource_id?: string;
3192
3192
  session_id?: string;
@@ -3221,7 +3221,7 @@ type Database$1 = {
3221
3221
  last_execution_id: string | null;
3222
3222
  last_run_at: string | null;
3223
3223
  max_retries: number;
3224
- metadata: Json$1 | null;
3224
+ metadata: Json | null;
3225
3225
  name: string;
3226
3226
  next_run_at: string | null;
3227
3227
  organization_id: string;
@@ -3229,7 +3229,7 @@ type Database$1 = {
3229
3229
  origin_resource_id: string | null;
3230
3230
  origin_resource_type: string | null;
3231
3231
  retry_count: number;
3232
- schedule_config: Json$1;
3232
+ schedule_config: Json;
3233
3233
  status: string;
3234
3234
  target_resource_id: string;
3235
3235
  target_resource_type: string;
@@ -3244,7 +3244,7 @@ type Database$1 = {
3244
3244
  last_execution_id?: string | null;
3245
3245
  last_run_at?: string | null;
3246
3246
  max_retries?: number;
3247
- metadata?: Json$1 | null;
3247
+ metadata?: Json | null;
3248
3248
  name: string;
3249
3249
  next_run_at?: string | null;
3250
3250
  organization_id: string;
@@ -3252,7 +3252,7 @@ type Database$1 = {
3252
3252
  origin_resource_id?: string | null;
3253
3253
  origin_resource_type?: string | null;
3254
3254
  retry_count?: number;
3255
- schedule_config: Json$1;
3255
+ schedule_config: Json;
3256
3256
  status?: string;
3257
3257
  target_resource_id: string;
3258
3258
  target_resource_type: string;
@@ -3267,7 +3267,7 @@ type Database$1 = {
3267
3267
  last_execution_id?: string | null;
3268
3268
  last_run_at?: string | null;
3269
3269
  max_retries?: number;
3270
- metadata?: Json$1 | null;
3270
+ metadata?: Json | null;
3271
3271
  name?: string;
3272
3272
  next_run_at?: string | null;
3273
3273
  organization_id?: string;
@@ -3275,7 +3275,7 @@ type Database$1 = {
3275
3275
  origin_resource_id?: string | null;
3276
3276
  origin_resource_type?: string | null;
3277
3277
  retry_count?: number;
3278
- schedule_config?: Json$1;
3278
+ schedule_config?: Json;
3279
3279
  status?: string;
3280
3280
  target_resource_id?: string;
3281
3281
  target_resource_type?: string;
@@ -3293,7 +3293,7 @@ type Database$1 = {
3293
3293
  };
3294
3294
  users: {
3295
3295
  Row: {
3296
- config: Json$1;
3296
+ config: Json;
3297
3297
  created_at: string;
3298
3298
  display_name: string | null;
3299
3299
  email: string;
@@ -3309,7 +3309,7 @@ type Database$1 = {
3309
3309
  workos_user_id: string | null;
3310
3310
  };
3311
3311
  Insert: {
3312
- config?: Json$1;
3312
+ config?: Json;
3313
3313
  created_at?: string;
3314
3314
  display_name?: string | null;
3315
3315
  email: string;
@@ -3325,7 +3325,7 @@ type Database$1 = {
3325
3325
  workos_user_id?: string | null;
3326
3326
  };
3327
3327
  Update: {
3328
- config?: Json$1;
3328
+ config?: Json;
3329
3329
  created_at?: string;
3330
3330
  display_name?: string | null;
3331
3331
  email?: string;
@@ -3409,11 +3409,11 @@ type Database$1 = {
3409
3409
  Args: {
3410
3410
  p_platform: string;
3411
3411
  };
3412
- Returns: Json$1;
3412
+ Returns: Json;
3413
3413
  };
3414
3414
  append_deal_activity: {
3415
3415
  Args: {
3416
- p_activity: Json$1;
3416
+ p_activity: Json;
3417
3417
  p_deal_id: string;
3418
3418
  p_organization_id: string;
3419
3419
  };
@@ -3421,7 +3421,7 @@ type Database$1 = {
3421
3421
  };
3422
3422
  auth_jwt_claims: {
3423
3423
  Args: never;
3424
- Returns: Json$1;
3424
+ Returns: Json;
3425
3425
  };
3426
3426
  auth_uid_safe: {
3427
3427
  Args: never;
@@ -3446,8 +3446,8 @@ type Database$1 = {
3446
3446
  Returns: {
3447
3447
  created_at: string;
3448
3448
  ended_at: string;
3449
- memory_snapshot: Json$1;
3450
- metadata: Json$1;
3449
+ memory_snapshot: Json;
3450
+ metadata: Json;
3451
3451
  organization_id: string;
3452
3452
  resource_id: string;
3453
3453
  session_id: string;
@@ -3492,11 +3492,11 @@ type Database$1 = {
3492
3492
  p_organization_id: string;
3493
3493
  p_role_slug?: string;
3494
3494
  };
3495
- Returns: Json$1;
3495
+ Returns: Json;
3496
3496
  };
3497
3497
  process_due_schedules: {
3498
3498
  Args: never;
3499
- Returns: Json$1;
3499
+ Returns: Json;
3500
3500
  };
3501
3501
  upsert_user_profile: {
3502
3502
  Args: never;
@@ -3516,8 +3516,8 @@ type Database$1 = {
3516
3516
  };
3517
3517
  };
3518
3518
  };
3519
- type DatabaseWithoutInternals = Omit<Database$1, "__InternalSupabase">;
3520
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database$1, "public">];
3519
+ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
3520
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3521
3521
  type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
3522
3522
  schema: keyof DatabaseWithoutInternals;
3523
3523
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
@@ -3591,7 +3591,7 @@ interface AgentIterationData {
3591
3591
  }
3592
3592
 
3593
3593
  /** Raw database row type for acq_deals table */
3594
- type AcqDealRow = Database$1['public']['Tables']['acq_deals']['Row'];
3594
+ type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
3595
3595
  type DealStage = 'interested' | 'proposal' | 'closing' | 'closed_won' | 'closed_lost' | 'nurturing';
3596
3596
  interface KanbanStageConfig {
3597
3597
  color: string;
@@ -3820,6 +3820,9 @@ interface NotificationDTO {
3820
3820
  createdAt: string;
3821
3821
  }
3822
3822
 
3823
+ type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row'];
3824
+ type TaskRow = Database['public']['Tables']['prj_tasks']['Row'];
3825
+
3823
3826
  /**
3824
3827
  * Full ListConfig shape. `qualification` is required; everything else optional.
3825
3828
  * Matches `acq_lists.config` jsonb and ListConfig type in types.ts.
@@ -3867,6 +3870,24 @@ declare const ListConfigSchema: z.ZodObject<{
3867
3870
  }, z.core.$strip>;
3868
3871
  type ListConfigInput = z.infer<typeof ListConfigSchema>;
3869
3872
 
3873
+ declare const GetRecentActivityResponseSchema: z.ZodObject<{
3874
+ entries: z.ZodArray<z.ZodObject<{
3875
+ id: z.ZodString;
3876
+ kind: z.ZodEnum<{
3877
+ note: "note";
3878
+ stage_change: "stage_change";
3879
+ deal_created: "deal_created";
3880
+ }>;
3881
+ dealId: z.ZodString;
3882
+ occurredAt: z.ZodString;
3883
+ description: z.ZodString;
3884
+ contactName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3885
+ companyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3886
+ stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3887
+ }, z.core.$strip>>;
3888
+ }, z.core.$strip>;
3889
+ type GetRecentActivityResponse = z.infer<typeof GetRecentActivityResponseSchema>;
3890
+
3870
3891
  /**
3871
3892
  * Multi-tenancy configuration types
3872
3893
  *
@@ -4300,6 +4321,21 @@ interface Deployment {
4300
4321
  updatedAt: string;
4301
4322
  }
4302
4323
 
4324
+ /**
4325
+ * GET /api/credentials - List credentials
4326
+ */
4327
+ declare const ListCredentialsResponseSchema: z.ZodObject<{
4328
+ credentials: z.ZodArray<z.ZodObject<{
4329
+ id: z.ZodString;
4330
+ name: z.ZodString;
4331
+ type: z.ZodString;
4332
+ provider: z.ZodNullable<z.ZodString>;
4333
+ createdAt: z.ZodString;
4334
+ }, z.core.$strip>>;
4335
+ }, z.core.$strip>;
4336
+ /** API response type for a single credential list item */
4337
+ type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number];
4338
+
4303
4339
  interface TimeRangeSelectorProps {
4304
4340
  value: TimeRange;
4305
4341
  onChange: (value: TimeRange) => void;
@@ -4453,2616 +4489,6 @@ interface IConfirmationInputModalProps {
4453
4489
  }
4454
4490
  declare const ConfirmationInputModal: ({ opened, onClose, loading, icon, confirmationHandler, style, title, text, buttonText, buttonColor, inputValue, onInputChange, expectedValue, placeholder }: IConfirmationInputModalProps) => react_jsx_runtime.JSX.Element;
4455
4491
 
4456
- type Json =
4457
- | string
4458
- | number
4459
- | boolean
4460
- | null
4461
- | { [key: string]: Json | undefined }
4462
- | Json[]
4463
-
4464
- type Database = {
4465
- // Allows to automatically instantiate createClient with right options
4466
- // instead of createClient<Database, { PostgrestVersion: 'XX' }>(URL, KEY)
4467
- __InternalSupabase: {
4468
- PostgrestVersion: "12.2.3 (519615d)"
4469
- }
4470
- public: {
4471
- Tables: {
4472
- acq_companies: {
4473
- Row: {
4474
- batch_id: string | null
4475
- category: string | null
4476
- category_pain: string | null
4477
- created_at: string
4478
- domain: string | null
4479
- enrichment_data: Json | null
4480
- filter_reason: string | null
4481
- founded_year: number | null
4482
- id: string
4483
- linkedin_url: string | null
4484
- location_city: string | null
4485
- location_state: string | null
4486
- name: string
4487
- num_employees: number | null
4488
- organization_id: string
4489
- pipeline_status: Json
4490
- segment: string | null
4491
- source: string | null
4492
- status: string
4493
- updated_at: string
4494
- website: string | null
4495
- }
4496
- Insert: {
4497
- batch_id?: string | null
4498
- category?: string | null
4499
- category_pain?: string | null
4500
- created_at?: string
4501
- domain?: string | null
4502
- enrichment_data?: Json | null
4503
- filter_reason?: string | null
4504
- founded_year?: number | null
4505
- id?: string
4506
- linkedin_url?: string | null
4507
- location_city?: string | null
4508
- location_state?: string | null
4509
- name: string
4510
- num_employees?: number | null
4511
- organization_id: string
4512
- pipeline_status?: Json
4513
- segment?: string | null
4514
- source?: string | null
4515
- status?: string
4516
- updated_at?: string
4517
- website?: string | null
4518
- }
4519
- Update: {
4520
- batch_id?: string | null
4521
- category?: string | null
4522
- category_pain?: string | null
4523
- created_at?: string
4524
- domain?: string | null
4525
- enrichment_data?: Json | null
4526
- filter_reason?: string | null
4527
- founded_year?: number | null
4528
- id?: string
4529
- linkedin_url?: string | null
4530
- location_city?: string | null
4531
- location_state?: string | null
4532
- name?: string
4533
- num_employees?: number | null
4534
- organization_id?: string
4535
- pipeline_status?: Json
4536
- segment?: string | null
4537
- source?: string | null
4538
- status?: string
4539
- updated_at?: string
4540
- website?: string | null
4541
- }
4542
- Relationships: [
4543
- {
4544
- foreignKeyName: "acq_companies_organization_id_fkey"
4545
- columns: ["organization_id"]
4546
- isOneToOne: false
4547
- referencedRelation: "organizations"
4548
- referencedColumns: ["id"]
4549
- },
4550
- ]
4551
- }
4552
- acq_contacts: {
4553
- Row: {
4554
- batch_id: string | null
4555
- brochure_first_viewed_at: string | null
4556
- brochure_view_count: number
4557
- company_id: string | null
4558
- created_at: string
4559
- email: string
4560
- email_valid: string | null
4561
- enrichment_data: Json
4562
- filter_reason: string | null
4563
- first_name: string | null
4564
- headline: string | null
4565
- id: string
4566
- last_name: string | null
4567
- linkedin_url: string | null
4568
- nurture: boolean
4569
- opening_line: string | null
4570
- organization_id: string
4571
- pipeline_status: Json
4572
- source: string | null
4573
- source_id: string | null
4574
- status: string
4575
- title: string | null
4576
- updated_at: string
4577
- }
4578
- Insert: {
4579
- batch_id?: string | null
4580
- brochure_first_viewed_at?: string | null
4581
- brochure_view_count?: number
4582
- company_id?: string | null
4583
- created_at?: string
4584
- email: string
4585
- email_valid?: string | null
4586
- enrichment_data?: Json
4587
- filter_reason?: string | null
4588
- first_name?: string | null
4589
- headline?: string | null
4590
- id?: string
4591
- last_name?: string | null
4592
- linkedin_url?: string | null
4593
- nurture?: boolean
4594
- opening_line?: string | null
4595
- organization_id: string
4596
- pipeline_status?: Json
4597
- source?: string | null
4598
- source_id?: string | null
4599
- status?: string
4600
- title?: string | null
4601
- updated_at?: string
4602
- }
4603
- Update: {
4604
- batch_id?: string | null
4605
- brochure_first_viewed_at?: string | null
4606
- brochure_view_count?: number
4607
- company_id?: string | null
4608
- created_at?: string
4609
- email?: string
4610
- email_valid?: string | null
4611
- enrichment_data?: Json
4612
- filter_reason?: string | null
4613
- first_name?: string | null
4614
- headline?: string | null
4615
- id?: string
4616
- last_name?: string | null
4617
- linkedin_url?: string | null
4618
- nurture?: boolean
4619
- opening_line?: string | null
4620
- organization_id?: string
4621
- pipeline_status?: Json
4622
- source?: string | null
4623
- source_id?: string | null
4624
- status?: string
4625
- title?: string | null
4626
- updated_at?: string
4627
- }
4628
- Relationships: [
4629
- {
4630
- foreignKeyName: "acq_contacts_company_id_fkey"
4631
- columns: ["company_id"]
4632
- isOneToOne: false
4633
- referencedRelation: "acq_companies"
4634
- referencedColumns: ["id"]
4635
- },
4636
- {
4637
- foreignKeyName: "acq_contacts_organization_id_fkey"
4638
- columns: ["organization_id"]
4639
- isOneToOne: false
4640
- referencedRelation: "organizations"
4641
- referencedColumns: ["id"]
4642
- },
4643
- ]
4644
- }
4645
- acq_content: {
4646
- Row: {
4647
- body: string | null
4648
- created_at: string
4649
- id: string
4650
- organization_id: string
4651
- pillar: string
4652
- status: string
4653
- title: string
4654
- updated_at: string
4655
- }
4656
- Insert: {
4657
- body?: string | null
4658
- created_at?: string
4659
- id?: string
4660
- organization_id: string
4661
- pillar: string
4662
- status?: string
4663
- title: string
4664
- updated_at?: string
4665
- }
4666
- Update: {
4667
- body?: string | null
4668
- created_at?: string
4669
- id?: string
4670
- organization_id?: string
4671
- pillar?: string
4672
- status?: string
4673
- title?: string
4674
- updated_at?: string
4675
- }
4676
- Relationships: [
4677
- {
4678
- foreignKeyName: "acq_content_organization_id_fkey"
4679
- columns: ["organization_id"]
4680
- isOneToOne: false
4681
- referencedRelation: "organizations"
4682
- referencedColumns: ["id"]
4683
- },
4684
- ]
4685
- }
4686
- acq_content_distributions: {
4687
- Row: {
4688
- adapted_body: string | null
4689
- checklist: Json | null
4690
- content_id: string
4691
- created_at: string
4692
- format: string
4693
- id: string
4694
- media_urls: Json
4695
- metrics: Json
4696
- metrics_updated_at: string | null
4697
- organization_id: string
4698
- platform: string
4699
- platform_content: Json | null
4700
- platform_post_id: string | null
4701
- platform_url: string | null
4702
- published_at: string | null
4703
- status: string
4704
- updated_at: string
4705
- }
4706
- Insert: {
4707
- adapted_body?: string | null
4708
- checklist?: Json | null
4709
- content_id: string
4710
- created_at?: string
4711
- format: string
4712
- id?: string
4713
- media_urls?: Json
4714
- metrics?: Json
4715
- metrics_updated_at?: string | null
4716
- organization_id: string
4717
- platform: string
4718
- platform_content?: Json | null
4719
- platform_post_id?: string | null
4720
- platform_url?: string | null
4721
- published_at?: string | null
4722
- status?: string
4723
- updated_at?: string
4724
- }
4725
- Update: {
4726
- adapted_body?: string | null
4727
- checklist?: Json | null
4728
- content_id?: string
4729
- created_at?: string
4730
- format?: string
4731
- id?: string
4732
- media_urls?: Json
4733
- metrics?: Json
4734
- metrics_updated_at?: string | null
4735
- organization_id?: string
4736
- platform?: string
4737
- platform_content?: Json | null
4738
- platform_post_id?: string | null
4739
- platform_url?: string | null
4740
- published_at?: string | null
4741
- status?: string
4742
- updated_at?: string
4743
- }
4744
- Relationships: [
4745
- {
4746
- foreignKeyName: "acq_content_distributions_content_id_fkey"
4747
- columns: ["content_id"]
4748
- isOneToOne: false
4749
- referencedRelation: "acq_content"
4750
- referencedColumns: ["id"]
4751
- },
4752
- {
4753
- foreignKeyName: "acq_content_distributions_organization_id_fkey"
4754
- columns: ["organization_id"]
4755
- isOneToOne: false
4756
- referencedRelation: "organizations"
4757
- referencedColumns: ["id"]
4758
- },
4759
- ]
4760
- }
4761
- acq_deal_notes: {
4762
- Row: {
4763
- author_user_id: string | null
4764
- body: string
4765
- created_at: string
4766
- deal_id: string
4767
- id: string
4768
- organization_id: string
4769
- updated_at: string
4770
- }
4771
- Insert: {
4772
- author_user_id?: string | null
4773
- body: string
4774
- created_at?: string
4775
- deal_id: string
4776
- id?: string
4777
- organization_id: string
4778
- updated_at?: string
4779
- }
4780
- Update: {
4781
- author_user_id?: string | null
4782
- body?: string
4783
- created_at?: string
4784
- deal_id?: string
4785
- id?: string
4786
- organization_id?: string
4787
- updated_at?: string
4788
- }
4789
- Relationships: [
4790
- {
4791
- foreignKeyName: "acq_deal_notes_deal_id_fkey"
4792
- columns: ["deal_id"]
4793
- isOneToOne: false
4794
- referencedRelation: "acq_deals"
4795
- referencedColumns: ["id"]
4796
- },
4797
- {
4798
- foreignKeyName: "acq_deal_notes_organization_id_fkey"
4799
- columns: ["organization_id"]
4800
- isOneToOne: false
4801
- referencedRelation: "organizations"
4802
- referencedColumns: ["id"]
4803
- },
4804
- ]
4805
- }
4806
- acq_deal_tasks: {
4807
- Row: {
4808
- assignee_user_id: string | null
4809
- completed_at: string | null
4810
- completed_by_user_id: string | null
4811
- created_at: string
4812
- created_by_user_id: string | null
4813
- deal_id: string
4814
- description: string | null
4815
- due_at: string | null
4816
- id: string
4817
- kind: string
4818
- organization_id: string
4819
- title: string
4820
- updated_at: string
4821
- }
4822
- Insert: {
4823
- assignee_user_id?: string | null
4824
- completed_at?: string | null
4825
- completed_by_user_id?: string | null
4826
- created_at?: string
4827
- created_by_user_id?: string | null
4828
- deal_id: string
4829
- description?: string | null
4830
- due_at?: string | null
4831
- id?: string
4832
- kind?: string
4833
- organization_id: string
4834
- title: string
4835
- updated_at?: string
4836
- }
4837
- Update: {
4838
- assignee_user_id?: string | null
4839
- completed_at?: string | null
4840
- completed_by_user_id?: string | null
4841
- created_at?: string
4842
- created_by_user_id?: string | null
4843
- deal_id?: string
4844
- description?: string | null
4845
- due_at?: string | null
4846
- id?: string
4847
- kind?: string
4848
- organization_id?: string
4849
- title?: string
4850
- updated_at?: string
4851
- }
4852
- Relationships: [
4853
- {
4854
- foreignKeyName: "acq_deal_tasks_deal_id_fkey"
4855
- columns: ["deal_id"]
4856
- isOneToOne: false
4857
- referencedRelation: "acq_deals"
4858
- referencedColumns: ["id"]
4859
- },
4860
- {
4861
- foreignKeyName: "acq_deal_tasks_organization_id_fkey"
4862
- columns: ["organization_id"]
4863
- isOneToOne: false
4864
- referencedRelation: "organizations"
4865
- referencedColumns: ["id"]
4866
- },
4867
- ]
4868
- }
4869
- acq_deals: {
4870
- Row: {
4871
- activity_log: Json
4872
- cached_stage: string | null
4873
- closed_lost_at: string | null
4874
- closed_lost_reason: string | null
4875
- contact_email: string
4876
- contact_id: string | null
4877
- created_at: string
4878
- discovery_data: Json | null
4879
- discovery_submitted_at: string | null
4880
- discovery_submitted_by: string | null
4881
- id: string
4882
- initial_fee: number | null
4883
- monthly_fee: number | null
4884
- organization_id: string
4885
- payment_link_sent_at: string | null
4886
- payment_received_at: string | null
4887
- proposal_data: Json | null
4888
- proposal_generated_at: string | null
4889
- proposal_pdf_url: string | null
4890
- proposal_reviewed_at: string | null
4891
- proposal_reviewed_by: string | null
4892
- proposal_sent_at: string | null
4893
- proposal_signed_at: string | null
4894
- proposal_status: string | null
4895
- signature_envelope_id: string | null
4896
- source_list_id: string | null
4897
- source_type: string | null
4898
- stripe_payment_id: string | null
4899
- stripe_payment_link: string | null
4900
- stripe_payment_link_id: string | null
4901
- stripe_subscription_id: string | null
4902
- updated_at: string
4903
- }
4904
- Insert: {
4905
- activity_log?: Json
4906
- cached_stage?: string | null
4907
- closed_lost_at?: string | null
4908
- closed_lost_reason?: string | null
4909
- contact_email: string
4910
- contact_id?: string | null
4911
- created_at?: string
4912
- discovery_data?: Json | null
4913
- discovery_submitted_at?: string | null
4914
- discovery_submitted_by?: string | null
4915
- id?: string
4916
- initial_fee?: number | null
4917
- monthly_fee?: number | null
4918
- organization_id: string
4919
- payment_link_sent_at?: string | null
4920
- payment_received_at?: string | null
4921
- proposal_data?: Json | null
4922
- proposal_generated_at?: string | null
4923
- proposal_pdf_url?: string | null
4924
- proposal_reviewed_at?: string | null
4925
- proposal_reviewed_by?: string | null
4926
- proposal_sent_at?: string | null
4927
- proposal_signed_at?: string | null
4928
- proposal_status?: string | null
4929
- signature_envelope_id?: string | null
4930
- source_list_id?: string | null
4931
- source_type?: string | null
4932
- stripe_payment_id?: string | null
4933
- stripe_payment_link?: string | null
4934
- stripe_payment_link_id?: string | null
4935
- stripe_subscription_id?: string | null
4936
- updated_at?: string
4937
- }
4938
- Update: {
4939
- activity_log?: Json
4940
- cached_stage?: string | null
4941
- closed_lost_at?: string | null
4942
- closed_lost_reason?: string | null
4943
- contact_email?: string
4944
- contact_id?: string | null
4945
- created_at?: string
4946
- discovery_data?: Json | null
4947
- discovery_submitted_at?: string | null
4948
- discovery_submitted_by?: string | null
4949
- id?: string
4950
- initial_fee?: number | null
4951
- monthly_fee?: number | null
4952
- organization_id?: string
4953
- payment_link_sent_at?: string | null
4954
- payment_received_at?: string | null
4955
- proposal_data?: Json | null
4956
- proposal_generated_at?: string | null
4957
- proposal_pdf_url?: string | null
4958
- proposal_reviewed_at?: string | null
4959
- proposal_reviewed_by?: string | null
4960
- proposal_sent_at?: string | null
4961
- proposal_signed_at?: string | null
4962
- proposal_status?: string | null
4963
- signature_envelope_id?: string | null
4964
- source_list_id?: string | null
4965
- source_type?: string | null
4966
- stripe_payment_id?: string | null
4967
- stripe_payment_link?: string | null
4968
- stripe_payment_link_id?: string | null
4969
- stripe_subscription_id?: string | null
4970
- updated_at?: string
4971
- }
4972
- Relationships: [
4973
- {
4974
- foreignKeyName: "acq_deals_contact_id_fkey"
4975
- columns: ["contact_id"]
4976
- isOneToOne: false
4977
- referencedRelation: "acq_contacts"
4978
- referencedColumns: ["id"]
4979
- },
4980
- {
4981
- foreignKeyName: "acq_deals_organization_id_fkey"
4982
- columns: ["organization_id"]
4983
- isOneToOne: false
4984
- referencedRelation: "organizations"
4985
- referencedColumns: ["id"]
4986
- },
4987
- {
4988
- foreignKeyName: "acq_deals_source_list_id_fkey"
4989
- columns: ["source_list_id"]
4990
- isOneToOne: false
4991
- referencedRelation: "acq_lists"
4992
- referencedColumns: ["id"]
4993
- },
4994
- ]
4995
- }
4996
- acq_list_companies: {
4997
- Row: {
4998
- added_at: string
4999
- added_by: string | null
5000
- company_id: string
5001
- id: string
5002
- list_id: string
5003
- source_execution_id: string | null
5004
- source_input_hash: string | null
5005
- source_resource_id: string | null
5006
- stage: string | null
5007
- stage_updated_at: string | null
5008
- }
5009
- Insert: {
5010
- added_at?: string
5011
- added_by?: string | null
5012
- company_id: string
5013
- id?: string
5014
- list_id: string
5015
- source_execution_id?: string | null
5016
- source_input_hash?: string | null
5017
- source_resource_id?: string | null
5018
- stage?: string | null
5019
- stage_updated_at?: string | null
5020
- }
5021
- Update: {
5022
- added_at?: string
5023
- added_by?: string | null
5024
- company_id?: string
5025
- id?: string
5026
- list_id?: string
5027
- source_execution_id?: string | null
5028
- source_input_hash?: string | null
5029
- source_resource_id?: string | null
5030
- stage?: string | null
5031
- stage_updated_at?: string | null
5032
- }
5033
- Relationships: [
5034
- {
5035
- foreignKeyName: "acq_list_companies_company_id_fkey"
5036
- columns: ["company_id"]
5037
- isOneToOne: false
5038
- referencedRelation: "acq_companies"
5039
- referencedColumns: ["id"]
5040
- },
5041
- {
5042
- foreignKeyName: "acq_list_companies_list_id_fkey"
5043
- columns: ["list_id"]
5044
- isOneToOne: false
5045
- referencedRelation: "acq_lists"
5046
- referencedColumns: ["id"]
5047
- },
5048
- {
5049
- foreignKeyName: "acq_list_companies_source_execution_id_fkey"
5050
- columns: ["source_execution_id"]
5051
- isOneToOne: false
5052
- referencedRelation: "execution_logs"
5053
- referencedColumns: ["execution_id"]
5054
- },
5055
- ]
5056
- }
5057
- acq_list_executions: {
5058
- Row: {
5059
- created_at: string
5060
- execution_id: string
5061
- id: string
5062
- list_id: string
5063
- payload: Json
5064
- }
5065
- Insert: {
5066
- created_at?: string
5067
- execution_id: string
5068
- id?: string
5069
- list_id: string
5070
- payload?: Json
5071
- }
5072
- Update: {
5073
- created_at?: string
5074
- execution_id?: string
5075
- id?: string
5076
- list_id?: string
5077
- payload?: Json
5078
- }
5079
- Relationships: [
5080
- {
5081
- foreignKeyName: "acq_list_executions_execution_id_fkey"
5082
- columns: ["execution_id"]
5083
- isOneToOne: false
5084
- referencedRelation: "execution_logs"
5085
- referencedColumns: ["execution_id"]
5086
- },
5087
- {
5088
- foreignKeyName: "acq_list_executions_list_id_fkey"
5089
- columns: ["list_id"]
5090
- isOneToOne: false
5091
- referencedRelation: "acq_lists"
5092
- referencedColumns: ["id"]
5093
- },
5094
- ]
5095
- }
5096
- acq_list_members: {
5097
- Row: {
5098
- added_at: string
5099
- added_by: string | null
5100
- contact_id: string
5101
- id: string
5102
- list_id: string
5103
- source_execution_id: string | null
5104
- source_input_hash: string | null
5105
- source_resource_id: string | null
5106
- stage: string | null
5107
- stage_updated_at: string | null
5108
- }
5109
- Insert: {
5110
- added_at?: string
5111
- added_by?: string | null
5112
- contact_id: string
5113
- id?: string
5114
- list_id: string
5115
- source_execution_id?: string | null
5116
- source_input_hash?: string | null
5117
- source_resource_id?: string | null
5118
- stage?: string | null
5119
- stage_updated_at?: string | null
5120
- }
5121
- Update: {
5122
- added_at?: string
5123
- added_by?: string | null
5124
- contact_id?: string
5125
- id?: string
5126
- list_id?: string
5127
- source_execution_id?: string | null
5128
- source_input_hash?: string | null
5129
- source_resource_id?: string | null
5130
- stage?: string | null
5131
- stage_updated_at?: string | null
5132
- }
5133
- Relationships: [
5134
- {
5135
- foreignKeyName: "acq_list_members_contact_id_fkey"
5136
- columns: ["contact_id"]
5137
- isOneToOne: false
5138
- referencedRelation: "acq_contacts"
5139
- referencedColumns: ["id"]
5140
- },
5141
- {
5142
- foreignKeyName: "acq_list_members_list_id_fkey"
5143
- columns: ["list_id"]
5144
- isOneToOne: false
5145
- referencedRelation: "acq_lists"
5146
- referencedColumns: ["id"]
5147
- },
5148
- {
5149
- foreignKeyName: "acq_list_members_source_execution_id_fkey"
5150
- columns: ["source_execution_id"]
5151
- isOneToOne: false
5152
- referencedRelation: "execution_logs"
5153
- referencedColumns: ["execution_id"]
5154
- },
5155
- ]
5156
- }
5157
- acq_lists: {
5158
- Row: {
5159
- batch_ids: string[]
5160
- completed_at: string | null
5161
- config: Json
5162
- created_at: string
5163
- description: string | null
5164
- id: string
5165
- instantly_campaign_id: string | null
5166
- launched_at: string | null
5167
- metadata: Json
5168
- name: string
5169
- organization_id: string
5170
- status: string
5171
- type: string
5172
- }
5173
- Insert: {
5174
- batch_ids?: string[]
5175
- completed_at?: string | null
5176
- config?: Json
5177
- created_at?: string
5178
- description?: string | null
5179
- id?: string
5180
- instantly_campaign_id?: string | null
5181
- launched_at?: string | null
5182
- metadata?: Json
5183
- name: string
5184
- organization_id: string
5185
- status?: string
5186
- type?: string
5187
- }
5188
- Update: {
5189
- batch_ids?: string[]
5190
- completed_at?: string | null
5191
- config?: Json
5192
- created_at?: string
5193
- description?: string | null
5194
- id?: string
5195
- instantly_campaign_id?: string | null
5196
- launched_at?: string | null
5197
- metadata?: Json
5198
- name?: string
5199
- organization_id?: string
5200
- status?: string
5201
- type?: string
5202
- }
5203
- Relationships: [
5204
- {
5205
- foreignKeyName: "acq_lists_organization_id_fkey"
5206
- columns: ["organization_id"]
5207
- isOneToOne: false
5208
- referencedRelation: "organizations"
5209
- referencedColumns: ["id"]
5210
- },
5211
- ]
5212
- }
5213
- acq_seo_metrics: {
5214
- Row: {
5215
- ai_citations: Json | null
5216
- avg_position: number | null
5217
- clicks: number | null
5218
- created_at: string
5219
- cta_clicks: number | null
5220
- ctr: number | null
5221
- data_point_count: number | null
5222
- faq_count: number | null
5223
- form_submissions: number | null
5224
- id: string
5225
- impressions: number | null
5226
- organization_id: string
5227
- period: string
5228
- quality_score: number | null
5229
- readability: number | null
5230
- scroll_100: number | null
5231
- scroll_25: number | null
5232
- scroll_50: number | null
5233
- scroll_75: number | null
5234
- seo_page_id: string
5235
- word_count: number | null
5236
- }
5237
- Insert: {
5238
- ai_citations?: Json | null
5239
- avg_position?: number | null
5240
- clicks?: number | null
5241
- created_at?: string
5242
- cta_clicks?: number | null
5243
- ctr?: number | null
5244
- data_point_count?: number | null
5245
- faq_count?: number | null
5246
- form_submissions?: number | null
5247
- id?: string
5248
- impressions?: number | null
5249
- organization_id: string
5250
- period: string
5251
- quality_score?: number | null
5252
- readability?: number | null
5253
- scroll_100?: number | null
5254
- scroll_25?: number | null
5255
- scroll_50?: number | null
5256
- scroll_75?: number | null
5257
- seo_page_id: string
5258
- word_count?: number | null
5259
- }
5260
- Update: {
5261
- ai_citations?: Json | null
5262
- avg_position?: number | null
5263
- clicks?: number | null
5264
- created_at?: string
5265
- cta_clicks?: number | null
5266
- ctr?: number | null
5267
- data_point_count?: number | null
5268
- faq_count?: number | null
5269
- form_submissions?: number | null
5270
- id?: string
5271
- impressions?: number | null
5272
- organization_id?: string
5273
- period?: string
5274
- quality_score?: number | null
5275
- readability?: number | null
5276
- scroll_100?: number | null
5277
- scroll_25?: number | null
5278
- scroll_50?: number | null
5279
- scroll_75?: number | null
5280
- seo_page_id?: string
5281
- word_count?: number | null
5282
- }
5283
- Relationships: [
5284
- {
5285
- foreignKeyName: "acq_seo_metrics_organization_id_fkey"
5286
- columns: ["organization_id"]
5287
- isOneToOne: false
5288
- referencedRelation: "organizations"
5289
- referencedColumns: ["id"]
5290
- },
5291
- {
5292
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey"
5293
- columns: ["seo_page_id"]
5294
- isOneToOne: false
5295
- referencedRelation: "acq_seo_pages"
5296
- referencedColumns: ["id"]
5297
- },
5298
- ]
5299
- }
5300
- acq_seo_pages: {
5301
- Row: {
5302
- city: string | null
5303
- content: Json | null
5304
- created_at: string
5305
- faq_items: Json | null
5306
- hero_image_url: string | null
5307
- id: string
5308
- internal_links: Json | null
5309
- local_data: Json | null
5310
- meta_description: string | null
5311
- organization_id: string
5312
- page_type: string
5313
- published_at: string | null
5314
- refreshed_at: string | null
5315
- schema_markup: Json | null
5316
- slug: string
5317
- state: string | null
5318
- status: string
5319
- title: string
5320
- updated_at: string
5321
- use_case: string | null
5322
- vertical: string
5323
- }
5324
- Insert: {
5325
- city?: string | null
5326
- content?: Json | null
5327
- created_at?: string
5328
- faq_items?: Json | null
5329
- hero_image_url?: string | null
5330
- id?: string
5331
- internal_links?: Json | null
5332
- local_data?: Json | null
5333
- meta_description?: string | null
5334
- organization_id: string
5335
- page_type: string
5336
- published_at?: string | null
5337
- refreshed_at?: string | null
5338
- schema_markup?: Json | null
5339
- slug: string
5340
- state?: string | null
5341
- status?: string
5342
- title: string
5343
- updated_at?: string
5344
- use_case?: string | null
5345
- vertical: string
5346
- }
5347
- Update: {
5348
- city?: string | null
5349
- content?: Json | null
5350
- created_at?: string
5351
- faq_items?: Json | null
5352
- hero_image_url?: string | null
5353
- id?: string
5354
- internal_links?: Json | null
5355
- local_data?: Json | null
5356
- meta_description?: string | null
5357
- organization_id?: string
5358
- page_type?: string
5359
- published_at?: string | null
5360
- refreshed_at?: string | null
5361
- schema_markup?: Json | null
5362
- slug?: string
5363
- state?: string | null
5364
- status?: string
5365
- title?: string
5366
- updated_at?: string
5367
- use_case?: string | null
5368
- vertical?: string
5369
- }
5370
- Relationships: [
5371
- {
5372
- foreignKeyName: "acq_seo_pages_organization_id_fkey"
5373
- columns: ["organization_id"]
5374
- isOneToOne: false
5375
- referencedRelation: "organizations"
5376
- referencedColumns: ["id"]
5377
- },
5378
- ]
5379
- }
5380
- acq_social_posts: {
5381
- Row: {
5382
- author_name: string
5383
- author_url: string | null
5384
- comments_count: number
5385
- created_at: string
5386
- discovered_at: string
5387
- engagement_count: number
5388
- feedback: string | null
5389
- final_response: string | null
5390
- fully_reviewed: boolean
5391
- id: string
5392
- initial_draft: string | null
5393
- matched_keywords: string[]
5394
- matched_query: string | null
5395
- metadata: Json
5396
- organization_id: string
5397
- platform: string
5398
- platform_post_id: string
5399
- post_text: string
5400
- post_title: string
5401
- post_url: string
5402
- posted_at: string
5403
- relevance_score: number
5404
- responded_at: string | null
5405
- reviewed_at: string | null
5406
- skip_reason: string | null
5407
- source_category: string | null
5408
- status: string
5409
- updated_at: string
5410
- }
5411
- Insert: {
5412
- author_name: string
5413
- author_url?: string | null
5414
- comments_count?: number
5415
- created_at?: string
5416
- discovered_at?: string
5417
- engagement_count?: number
5418
- feedback?: string | null
5419
- final_response?: string | null
5420
- fully_reviewed?: boolean
5421
- id?: string
5422
- initial_draft?: string | null
5423
- matched_keywords?: string[]
5424
- matched_query?: string | null
5425
- metadata?: Json
5426
- organization_id: string
5427
- platform: string
5428
- platform_post_id: string
5429
- post_text: string
5430
- post_title: string
5431
- post_url: string
5432
- posted_at: string
5433
- relevance_score?: number
5434
- responded_at?: string | null
5435
- reviewed_at?: string | null
5436
- skip_reason?: string | null
5437
- source_category?: string | null
5438
- status?: string
5439
- updated_at?: string
5440
- }
5441
- Update: {
5442
- author_name?: string
5443
- author_url?: string | null
5444
- comments_count?: number
5445
- created_at?: string
5446
- discovered_at?: string
5447
- engagement_count?: number
5448
- feedback?: string | null
5449
- final_response?: string | null
5450
- fully_reviewed?: boolean
5451
- id?: string
5452
- initial_draft?: string | null
5453
- matched_keywords?: string[]
5454
- matched_query?: string | null
5455
- metadata?: Json
5456
- organization_id?: string
5457
- platform?: string
5458
- platform_post_id?: string
5459
- post_text?: string
5460
- post_title?: string
5461
- post_url?: string
5462
- posted_at?: string
5463
- relevance_score?: number
5464
- responded_at?: string | null
5465
- reviewed_at?: string | null
5466
- skip_reason?: string | null
5467
- source_category?: string | null
5468
- status?: string
5469
- updated_at?: string
5470
- }
5471
- Relationships: [
5472
- {
5473
- foreignKeyName: "acq_social_posts_organization_id_fkey"
5474
- columns: ["organization_id"]
5475
- isOneToOne: false
5476
- referencedRelation: "organizations"
5477
- referencedColumns: ["id"]
5478
- },
5479
- ]
5480
- }
5481
- activities: {
5482
- Row: {
5483
- activity_type: string
5484
- actor_id: string | null
5485
- actor_type: string | null
5486
- created_at: string
5487
- description: string | null
5488
- entity_id: string
5489
- entity_name: string | null
5490
- entity_type: string
5491
- id: string
5492
- metadata: Json | null
5493
- occurred_at: string
5494
- organization_id: string
5495
- status: string
5496
- title: string
5497
- }
5498
- Insert: {
5499
- activity_type: string
5500
- actor_id?: string | null
5501
- actor_type?: string | null
5502
- created_at?: string
5503
- description?: string | null
5504
- entity_id: string
5505
- entity_name?: string | null
5506
- entity_type: string
5507
- id?: string
5508
- metadata?: Json | null
5509
- occurred_at?: string
5510
- organization_id: string
5511
- status: string
5512
- title: string
5513
- }
5514
- Update: {
5515
- activity_type?: string
5516
- actor_id?: string | null
5517
- actor_type?: string | null
5518
- created_at?: string
5519
- description?: string | null
5520
- entity_id?: string
5521
- entity_name?: string | null
5522
- entity_type?: string
5523
- id?: string
5524
- metadata?: Json | null
5525
- occurred_at?: string
5526
- organization_id?: string
5527
- status?: string
5528
- title?: string
5529
- }
5530
- Relationships: [
5531
- {
5532
- foreignKeyName: "activities_organization_id_fkey"
5533
- columns: ["organization_id"]
5534
- isOneToOne: false
5535
- referencedRelation: "organizations"
5536
- referencedColumns: ["id"]
5537
- },
5538
- ]
5539
- }
5540
- api_keys: {
5541
- Row: {
5542
- created_at: string | null
5543
- id: string
5544
- key_hash: string
5545
- last_used_at: string | null
5546
- name: string
5547
- organization_id: string
5548
- }
5549
- Insert: {
5550
- created_at?: string | null
5551
- id?: string
5552
- key_hash: string
5553
- last_used_at?: string | null
5554
- name: string
5555
- organization_id: string
5556
- }
5557
- Update: {
5558
- created_at?: string | null
5559
- id?: string
5560
- key_hash?: string
5561
- last_used_at?: string | null
5562
- name?: string
5563
- organization_id?: string
5564
- }
5565
- Relationships: [
5566
- {
5567
- foreignKeyName: "api_keys_organization_id_fkey"
5568
- columns: ["organization_id"]
5569
- isOneToOne: false
5570
- referencedRelation: "organizations"
5571
- referencedColumns: ["id"]
5572
- },
5573
- ]
5574
- }
5575
- command_queue: {
5576
- Row: {
5577
- action_payload: Json | null
5578
- actions: Json
5579
- completed_at: string | null
5580
- completed_by: string | null
5581
- context: Json
5582
- created_at: string
5583
- description: string | null
5584
- expires_at: string | null
5585
- human_checkpoint: string | null
5586
- id: string
5587
- idempotency_key: string | null
5588
- metadata: Json | null
5589
- organization_id: string
5590
- origin_execution_id: string
5591
- origin_resource_id: string
5592
- origin_resource_type: string
5593
- priority: number
5594
- selected_action: string | null
5595
- status: string
5596
- target_execution_id: string | null
5597
- target_resource_id: string | null
5598
- target_resource_type: string | null
5599
- }
5600
- Insert: {
5601
- action_payload?: Json | null
5602
- actions: Json
5603
- completed_at?: string | null
5604
- completed_by?: string | null
5605
- context: Json
5606
- created_at?: string
5607
- description?: string | null
5608
- expires_at?: string | null
5609
- human_checkpoint?: string | null
5610
- id?: string
5611
- idempotency_key?: string | null
5612
- metadata?: Json | null
5613
- organization_id: string
5614
- origin_execution_id: string
5615
- origin_resource_id: string
5616
- origin_resource_type: string
5617
- priority?: number
5618
- selected_action?: string | null
5619
- status?: string
5620
- target_execution_id?: string | null
5621
- target_resource_id?: string | null
5622
- target_resource_type?: string | null
5623
- }
5624
- Update: {
5625
- action_payload?: Json | null
5626
- actions?: Json
5627
- completed_at?: string | null
5628
- completed_by?: string | null
5629
- context?: Json
5630
- created_at?: string
5631
- description?: string | null
5632
- expires_at?: string | null
5633
- human_checkpoint?: string | null
5634
- id?: string
5635
- idempotency_key?: string | null
5636
- metadata?: Json | null
5637
- organization_id?: string
5638
- origin_execution_id?: string
5639
- origin_resource_id?: string
5640
- origin_resource_type?: string
5641
- priority?: number
5642
- selected_action?: string | null
5643
- status?: string
5644
- target_execution_id?: string | null
5645
- target_resource_id?: string | null
5646
- target_resource_type?: string | null
5647
- }
5648
- Relationships: [
5649
- {
5650
- foreignKeyName: "command_queue_completed_by_fkey"
5651
- columns: ["completed_by"]
5652
- isOneToOne: false
5653
- referencedRelation: "users"
5654
- referencedColumns: ["id"]
5655
- },
5656
- {
5657
- foreignKeyName: "command_queue_organization_id_fkey"
5658
- columns: ["organization_id"]
5659
- isOneToOne: false
5660
- referencedRelation: "organizations"
5661
- referencedColumns: ["id"]
5662
- },
5663
- {
5664
- foreignKeyName: "command_queue_target_execution_id_fkey"
5665
- columns: ["target_execution_id"]
5666
- isOneToOne: false
5667
- referencedRelation: "execution_logs"
5668
- referencedColumns: ["execution_id"]
5669
- },
5670
- ]
5671
- }
5672
- credentials: {
5673
- Row: {
5674
- created_at: string
5675
- created_by: string | null
5676
- encrypted_value: string
5677
- id: string
5678
- name: string
5679
- organization_id: string
5680
- provider: string | null
5681
- type: string
5682
- updated_at: string
5683
- }
5684
- Insert: {
5685
- created_at?: string
5686
- created_by?: string | null
5687
- encrypted_value: string
5688
- id?: string
5689
- name: string
5690
- organization_id: string
5691
- provider?: string | null
5692
- type?: string
5693
- updated_at?: string
5694
- }
5695
- Update: {
5696
- created_at?: string
5697
- created_by?: string | null
5698
- encrypted_value?: string
5699
- id?: string
5700
- name?: string
5701
- organization_id?: string
5702
- provider?: string | null
5703
- type?: string
5704
- updated_at?: string
5705
- }
5706
- Relationships: [
5707
- {
5708
- foreignKeyName: "credentials_created_by_fkey"
5709
- columns: ["created_by"]
5710
- isOneToOne: false
5711
- referencedRelation: "users"
5712
- referencedColumns: ["id"]
5713
- },
5714
- {
5715
- foreignKeyName: "credentials_organization_id_fkey"
5716
- columns: ["organization_id"]
5717
- isOneToOne: false
5718
- referencedRelation: "organizations"
5719
- referencedColumns: ["id"]
5720
- },
5721
- ]
5722
- }
5723
- deployments: {
5724
- Row: {
5725
- created_at: string
5726
- deployment_version: string | null
5727
- error_message: string | null
5728
- id: string
5729
- organization_id: string
5730
- pid: number | null
5731
- port: number | null
5732
- sdk_version: string
5733
- status: string
5734
- tarball_path: string | null
5735
- updated_at: string
5736
- }
5737
- Insert: {
5738
- created_at?: string
5739
- deployment_version?: string | null
5740
- error_message?: string | null
5741
- id?: string
5742
- organization_id: string
5743
- pid?: number | null
5744
- port?: number | null
5745
- sdk_version: string
5746
- status?: string
5747
- tarball_path?: string | null
5748
- updated_at?: string
5749
- }
5750
- Update: {
5751
- created_at?: string
5752
- deployment_version?: string | null
5753
- error_message?: string | null
5754
- id?: string
5755
- organization_id?: string
5756
- pid?: number | null
5757
- port?: number | null
5758
- sdk_version?: string
5759
- status?: string
5760
- tarball_path?: string | null
5761
- updated_at?: string
5762
- }
5763
- Relationships: [
5764
- {
5765
- foreignKeyName: "deployments_organization_id_fkey"
5766
- columns: ["organization_id"]
5767
- isOneToOne: false
5768
- referencedRelation: "organizations"
5769
- referencedColumns: ["id"]
5770
- },
5771
- ]
5772
- }
5773
- execution_errors: {
5774
- Row: {
5775
- created_at: string | null
5776
- error_category: string
5777
- error_message: string
5778
- error_severity: string
5779
- error_stack_trace: string | null
5780
- error_type: string
5781
- execution_id: string
5782
- id: string
5783
- metadata: Json | null
5784
- occurred_at: string
5785
- organization_id: string
5786
- resolved: boolean
5787
- resolved_at: string | null
5788
- resolved_by: string | null
5789
- }
5790
- Insert: {
5791
- created_at?: string | null
5792
- error_category: string
5793
- error_message: string
5794
- error_severity: string
5795
- error_stack_trace?: string | null
5796
- error_type: string
5797
- execution_id: string
5798
- id?: string
5799
- metadata?: Json | null
5800
- occurred_at?: string
5801
- organization_id: string
5802
- resolved?: boolean
5803
- resolved_at?: string | null
5804
- resolved_by?: string | null
5805
- }
5806
- Update: {
5807
- created_at?: string | null
5808
- error_category?: string
5809
- error_message?: string
5810
- error_severity?: string
5811
- error_stack_trace?: string | null
5812
- error_type?: string
5813
- execution_id?: string
5814
- id?: string
5815
- metadata?: Json | null
5816
- occurred_at?: string
5817
- organization_id?: string
5818
- resolved?: boolean
5819
- resolved_at?: string | null
5820
- resolved_by?: string | null
5821
- }
5822
- Relationships: [
5823
- {
5824
- foreignKeyName: "execution_errors_execution_id_fkey"
5825
- columns: ["execution_id"]
5826
- isOneToOne: false
5827
- referencedRelation: "execution_logs"
5828
- referencedColumns: ["execution_id"]
5829
- },
5830
- {
5831
- foreignKeyName: "execution_errors_organization_id_fkey"
5832
- columns: ["organization_id"]
5833
- isOneToOne: false
5834
- referencedRelation: "organizations"
5835
- referencedColumns: ["id"]
5836
- },
5837
- {
5838
- foreignKeyName: "execution_errors_resolved_by_fkey"
5839
- columns: ["resolved_by"]
5840
- isOneToOne: false
5841
- referencedRelation: "users"
5842
- referencedColumns: ["id"]
5843
- },
5844
- ]
5845
- }
5846
- execution_logs: {
5847
- Row: {
5848
- api_version: string | null
5849
- completed_at: string | null
5850
- created_at: string | null
5851
- error: string | null
5852
- execution_id: string
5853
- input: Json | null
5854
- last_heartbeat_at: string | null
5855
- logs: Json | null
5856
- organization_id: string
5857
- origin_execution_id: string | null
5858
- output: Json | null
5859
- resource_id: string
5860
- resource_status: string
5861
- resource_type: string
5862
- resource_version: string | null
5863
- sdk_version: string | null
5864
- session_id: string | null
5865
- session_turn_number: number | null
5866
- started_at: string
5867
- status: string
5868
- trigger_type: string | null
5869
- updated_at: string | null
5870
- user_id: string | null
5871
- }
5872
- Insert: {
5873
- api_version?: string | null
5874
- completed_at?: string | null
5875
- created_at?: string | null
5876
- error?: string | null
5877
- execution_id?: string
5878
- input?: Json | null
5879
- last_heartbeat_at?: string | null
5880
- logs?: Json | null
5881
- organization_id: string
5882
- origin_execution_id?: string | null
5883
- output?: Json | null
5884
- resource_id: string
5885
- resource_status?: string
5886
- resource_type?: string
5887
- resource_version?: string | null
5888
- sdk_version?: string | null
5889
- session_id?: string | null
5890
- session_turn_number?: number | null
5891
- started_at?: string
5892
- status: string
5893
- trigger_type?: string | null
5894
- updated_at?: string | null
5895
- user_id?: string | null
5896
- }
5897
- Update: {
5898
- api_version?: string | null
5899
- completed_at?: string | null
5900
- created_at?: string | null
5901
- error?: string | null
5902
- execution_id?: string
5903
- input?: Json | null
5904
- last_heartbeat_at?: string | null
5905
- logs?: Json | null
5906
- organization_id?: string
5907
- origin_execution_id?: string | null
5908
- output?: Json | null
5909
- resource_id?: string
5910
- resource_status?: string
5911
- resource_type?: string
5912
- resource_version?: string | null
5913
- sdk_version?: string | null
5914
- session_id?: string | null
5915
- session_turn_number?: number | null
5916
- started_at?: string
5917
- status?: string
5918
- trigger_type?: string | null
5919
- updated_at?: string | null
5920
- user_id?: string | null
5921
- }
5922
- Relationships: [
5923
- {
5924
- foreignKeyName: "execution_history_organization_id_fkey"
5925
- columns: ["organization_id"]
5926
- isOneToOne: false
5927
- referencedRelation: "organizations"
5928
- referencedColumns: ["id"]
5929
- },
5930
- {
5931
- foreignKeyName: "execution_logs_origin_execution_id_fkey"
5932
- columns: ["origin_execution_id"]
5933
- isOneToOne: false
5934
- referencedRelation: "execution_logs"
5935
- referencedColumns: ["execution_id"]
5936
- },
5937
- {
5938
- foreignKeyName: "execution_logs_session_id_fkey"
5939
- columns: ["session_id"]
5940
- isOneToOne: false
5941
- referencedRelation: "sessions"
5942
- referencedColumns: ["session_id"]
5943
- },
5944
- {
5945
- foreignKeyName: "execution_logs_user_id_fkey"
5946
- columns: ["user_id"]
5947
- isOneToOne: false
5948
- referencedRelation: "users"
5949
- referencedColumns: ["id"]
5950
- },
5951
- ]
5952
- }
5953
- execution_metrics: {
5954
- Row: {
5955
- ai_call_count: number
5956
- ai_calls: Json | null
5957
- automation_savings_usd: number | null
5958
- created_at: string | null
5959
- duration_ms: number | null
5960
- execution_id: string
5961
- organization_id: string
5962
- resource_id: string
5963
- total_cost_usd: number
5964
- total_input_tokens: number
5965
- total_output_tokens: number
5966
- }
5967
- Insert: {
5968
- ai_call_count: number
5969
- ai_calls?: Json | null
5970
- automation_savings_usd?: number | null
5971
- created_at?: string | null
5972
- duration_ms?: number | null
5973
- execution_id: string
5974
- organization_id: string
5975
- resource_id: string
5976
- total_cost_usd: number
5977
- total_input_tokens: number
5978
- total_output_tokens: number
5979
- }
5980
- Update: {
5981
- ai_call_count?: number
5982
- ai_calls?: Json | null
5983
- automation_savings_usd?: number | null
5984
- created_at?: string | null
5985
- duration_ms?: number | null
5986
- execution_id?: string
5987
- organization_id?: string
5988
- resource_id?: string
5989
- total_cost_usd?: number
5990
- total_input_tokens?: number
5991
- total_output_tokens?: number
5992
- }
5993
- Relationships: [
5994
- {
5995
- foreignKeyName: "execution_metrics_execution_id_fkey"
5996
- columns: ["execution_id"]
5997
- isOneToOne: true
5998
- referencedRelation: "execution_logs"
5999
- referencedColumns: ["execution_id"]
6000
- },
6001
- {
6002
- foreignKeyName: "execution_metrics_organization_id_fkey"
6003
- columns: ["organization_id"]
6004
- isOneToOne: false
6005
- referencedRelation: "organizations"
6006
- referencedColumns: ["id"]
6007
- },
6008
- ]
6009
- }
6010
- notifications: {
6011
- Row: {
6012
- action_url: string | null
6013
- category: string
6014
- created_at: string | null
6015
- id: string
6016
- message: string
6017
- organization_id: string
6018
- read: boolean | null
6019
- read_at: string | null
6020
- title: string
6021
- user_id: string
6022
- }
6023
- Insert: {
6024
- action_url?: string | null
6025
- category: string
6026
- created_at?: string | null
6027
- id?: string
6028
- message: string
6029
- organization_id: string
6030
- read?: boolean | null
6031
- read_at?: string | null
6032
- title: string
6033
- user_id: string
6034
- }
6035
- Update: {
6036
- action_url?: string | null
6037
- category?: string
6038
- created_at?: string | null
6039
- id?: string
6040
- message?: string
6041
- organization_id?: string
6042
- read?: boolean | null
6043
- read_at?: string | null
6044
- title?: string
6045
- user_id?: string
6046
- }
6047
- Relationships: [
6048
- {
6049
- foreignKeyName: "notifications_organization_id_fkey"
6050
- columns: ["organization_id"]
6051
- isOneToOne: false
6052
- referencedRelation: "organizations"
6053
- referencedColumns: ["id"]
6054
- },
6055
- {
6056
- foreignKeyName: "notifications_user_id_fkey"
6057
- columns: ["user_id"]
6058
- isOneToOne: false
6059
- referencedRelation: "users"
6060
- referencedColumns: ["id"]
6061
- },
6062
- ]
6063
- }
6064
- org_invitations: {
6065
- Row: {
6066
- accept_invitation_url: string | null
6067
- accepted_at: string | null
6068
- created_at: string | null
6069
- email: string
6070
- expires_at: string
6071
- id: string
6072
- invitation_state: string | null
6073
- invitation_token: string | null
6074
- inviter_user_id: string | null
6075
- organization_id: string | null
6076
- revoked_at: string | null
6077
- role_slug: string | null
6078
- updated_at: string | null
6079
- workos_invitation_id: string
6080
- }
6081
- Insert: {
6082
- accept_invitation_url?: string | null
6083
- accepted_at?: string | null
6084
- created_at?: string | null
6085
- email: string
6086
- expires_at: string
6087
- id?: string
6088
- invitation_state?: string | null
6089
- invitation_token?: string | null
6090
- inviter_user_id?: string | null
6091
- organization_id?: string | null
6092
- revoked_at?: string | null
6093
- role_slug?: string | null
6094
- updated_at?: string | null
6095
- workos_invitation_id: string
6096
- }
6097
- Update: {
6098
- accept_invitation_url?: string | null
6099
- accepted_at?: string | null
6100
- created_at?: string | null
6101
- email?: string
6102
- expires_at?: string
6103
- id?: string
6104
- invitation_state?: string | null
6105
- invitation_token?: string | null
6106
- inviter_user_id?: string | null
6107
- organization_id?: string | null
6108
- revoked_at?: string | null
6109
- role_slug?: string | null
6110
- updated_at?: string | null
6111
- workos_invitation_id?: string
6112
- }
6113
- Relationships: [
6114
- {
6115
- foreignKeyName: "org_invitations_inviter_user_id_fkey"
6116
- columns: ["inviter_user_id"]
6117
- isOneToOne: false
6118
- referencedRelation: "users"
6119
- referencedColumns: ["id"]
6120
- },
6121
- {
6122
- foreignKeyName: "org_invitations_organization_id_fkey"
6123
- columns: ["organization_id"]
6124
- isOneToOne: false
6125
- referencedRelation: "organizations"
6126
- referencedColumns: ["id"]
6127
- },
6128
- ]
6129
- }
6130
- org_memberships: {
6131
- Row: {
6132
- config: Json
6133
- created_at: string | null
6134
- id: string
6135
- membership_status: string | null
6136
- organization_id: string
6137
- role_slug: string | null
6138
- updated_at: string | null
6139
- user_id: string
6140
- workos_membership_id: string | null
6141
- }
6142
- Insert: {
6143
- config?: Json
6144
- created_at?: string | null
6145
- id?: string
6146
- membership_status?: string | null
6147
- organization_id: string
6148
- role_slug?: string | null
6149
- updated_at?: string | null
6150
- user_id: string
6151
- workos_membership_id?: string | null
6152
- }
6153
- Update: {
6154
- config?: Json
6155
- created_at?: string | null
6156
- id?: string
6157
- membership_status?: string | null
6158
- organization_id?: string
6159
- role_slug?: string | null
6160
- updated_at?: string | null
6161
- user_id?: string
6162
- workos_membership_id?: string | null
6163
- }
6164
- Relationships: [
6165
- {
6166
- foreignKeyName: "org_memberships_organization_id_fkey"
6167
- columns: ["organization_id"]
6168
- isOneToOne: false
6169
- referencedRelation: "organizations"
6170
- referencedColumns: ["id"]
6171
- },
6172
- {
6173
- foreignKeyName: "org_memberships_user_id_fkey"
6174
- columns: ["user_id"]
6175
- isOneToOne: false
6176
- referencedRelation: "users"
6177
- referencedColumns: ["id"]
6178
- },
6179
- ]
6180
- }
6181
- organizations: {
6182
- Row: {
6183
- config: Json
6184
- created_at: string
6185
- id: string
6186
- is_test: boolean
6187
- metadata: Json
6188
- name: string
6189
- status: string
6190
- updated_at: string
6191
- workos_org_id: string
6192
- }
6193
- Insert: {
6194
- config?: Json
6195
- created_at?: string
6196
- id?: string
6197
- is_test?: boolean
6198
- metadata?: Json
6199
- name: string
6200
- status?: string
6201
- updated_at?: string
6202
- workos_org_id: string
6203
- }
6204
- Update: {
6205
- config?: Json
6206
- created_at?: string
6207
- id?: string
6208
- is_test?: boolean
6209
- metadata?: Json
6210
- name?: string
6211
- status?: string
6212
- updated_at?: string
6213
- workos_org_id?: string
6214
- }
6215
- Relationships: []
6216
- }
6217
- prj_milestones: {
6218
- Row: {
6219
- checklist: Json | null
6220
- completed_at: string | null
6221
- created_at: string
6222
- description: string | null
6223
- due_date: string | null
6224
- id: string
6225
- metadata: Json | null
6226
- name: string
6227
- organization_id: string
6228
- project_id: string
6229
- sequence: number
6230
- status: string
6231
- updated_at: string
6232
- }
6233
- Insert: {
6234
- checklist?: Json | null
6235
- completed_at?: string | null
6236
- created_at?: string
6237
- description?: string | null
6238
- due_date?: string | null
6239
- id?: string
6240
- metadata?: Json | null
6241
- name: string
6242
- organization_id: string
6243
- project_id: string
6244
- sequence?: number
6245
- status?: string
6246
- updated_at?: string
6247
- }
6248
- Update: {
6249
- checklist?: Json | null
6250
- completed_at?: string | null
6251
- created_at?: string
6252
- description?: string | null
6253
- due_date?: string | null
6254
- id?: string
6255
- metadata?: Json | null
6256
- name?: string
6257
- organization_id?: string
6258
- project_id?: string
6259
- sequence?: number
6260
- status?: string
6261
- updated_at?: string
6262
- }
6263
- Relationships: [
6264
- {
6265
- foreignKeyName: "fk_milestones_project"
6266
- columns: ["project_id"]
6267
- isOneToOne: false
6268
- referencedRelation: "prj_projects"
6269
- referencedColumns: ["id"]
6270
- },
6271
- {
6272
- foreignKeyName: "prj_milestones_organization_id_fkey"
6273
- columns: ["organization_id"]
6274
- isOneToOne: false
6275
- referencedRelation: "organizations"
6276
- referencedColumns: ["id"]
6277
- },
6278
- {
6279
- foreignKeyName: "prj_milestones_project_id_fkey"
6280
- columns: ["project_id"]
6281
- isOneToOne: false
6282
- referencedRelation: "prj_projects"
6283
- referencedColumns: ["id"]
6284
- },
6285
- ]
6286
- }
6287
- prj_notes: {
6288
- Row: {
6289
- content: string
6290
- created_at: string
6291
- created_by: string | null
6292
- id: string
6293
- metadata: Json | null
6294
- milestone_id: string | null
6295
- occurred_at: string
6296
- organization_id: string
6297
- project_id: string
6298
- summary: string | null
6299
- task_id: string | null
6300
- type: string
6301
- }
6302
- Insert: {
6303
- content: string
6304
- created_at?: string
6305
- created_by?: string | null
6306
- id?: string
6307
- metadata?: Json | null
6308
- milestone_id?: string | null
6309
- occurred_at?: string
6310
- organization_id: string
6311
- project_id: string
6312
- summary?: string | null
6313
- task_id?: string | null
6314
- type?: string
6315
- }
6316
- Update: {
6317
- content?: string
6318
- created_at?: string
6319
- created_by?: string | null
6320
- id?: string
6321
- metadata?: Json | null
6322
- milestone_id?: string | null
6323
- occurred_at?: string
6324
- organization_id?: string
6325
- project_id?: string
6326
- summary?: string | null
6327
- task_id?: string | null
6328
- type?: string
6329
- }
6330
- Relationships: [
6331
- {
6332
- foreignKeyName: "fk_notes_created_by"
6333
- columns: ["created_by"]
6334
- isOneToOne: false
6335
- referencedRelation: "users"
6336
- referencedColumns: ["id"]
6337
- },
6338
- {
6339
- foreignKeyName: "fk_notes_milestone"
6340
- columns: ["milestone_id"]
6341
- isOneToOne: false
6342
- referencedRelation: "prj_milestones"
6343
- referencedColumns: ["id"]
6344
- },
6345
- {
6346
- foreignKeyName: "fk_notes_project"
6347
- columns: ["project_id"]
6348
- isOneToOne: false
6349
- referencedRelation: "prj_projects"
6350
- referencedColumns: ["id"]
6351
- },
6352
- {
6353
- foreignKeyName: "fk_notes_task"
6354
- columns: ["task_id"]
6355
- isOneToOne: false
6356
- referencedRelation: "prj_tasks"
6357
- referencedColumns: ["id"]
6358
- },
6359
- {
6360
- foreignKeyName: "prj_notes_created_by_fkey"
6361
- columns: ["created_by"]
6362
- isOneToOne: false
6363
- referencedRelation: "users"
6364
- referencedColumns: ["id"]
6365
- },
6366
- {
6367
- foreignKeyName: "prj_notes_milestone_id_fkey"
6368
- columns: ["milestone_id"]
6369
- isOneToOne: false
6370
- referencedRelation: "prj_milestones"
6371
- referencedColumns: ["id"]
6372
- },
6373
- {
6374
- foreignKeyName: "prj_notes_organization_id_fkey"
6375
- columns: ["organization_id"]
6376
- isOneToOne: false
6377
- referencedRelation: "organizations"
6378
- referencedColumns: ["id"]
6379
- },
6380
- {
6381
- foreignKeyName: "prj_notes_project_id_fkey"
6382
- columns: ["project_id"]
6383
- isOneToOne: false
6384
- referencedRelation: "prj_projects"
6385
- referencedColumns: ["id"]
6386
- },
6387
- {
6388
- foreignKeyName: "prj_notes_task_id_fkey"
6389
- columns: ["task_id"]
6390
- isOneToOne: false
6391
- referencedRelation: "prj_tasks"
6392
- referencedColumns: ["id"]
6393
- },
6394
- ]
6395
- }
6396
- prj_projects: {
6397
- Row: {
6398
- actual_end_date: string | null
6399
- client_company_id: string | null
6400
- contract_value: number | null
6401
- created_at: string
6402
- deal_id: string | null
6403
- description: string | null
6404
- id: string
6405
- kind: string
6406
- metadata: Json | null
6407
- name: string
6408
- organization_id: string
6409
- start_date: string | null
6410
- status: string
6411
- target_end_date: string | null
6412
- updated_at: string
6413
- }
6414
- Insert: {
6415
- actual_end_date?: string | null
6416
- client_company_id?: string | null
6417
- contract_value?: number | null
6418
- created_at?: string
6419
- deal_id?: string | null
6420
- description?: string | null
6421
- id?: string
6422
- kind?: string
6423
- metadata?: Json | null
6424
- name: string
6425
- organization_id: string
6426
- start_date?: string | null
6427
- status?: string
6428
- target_end_date?: string | null
6429
- updated_at?: string
6430
- }
6431
- Update: {
6432
- actual_end_date?: string | null
6433
- client_company_id?: string | null
6434
- contract_value?: number | null
6435
- created_at?: string
6436
- deal_id?: string | null
6437
- description?: string | null
6438
- id?: string
6439
- kind?: string
6440
- metadata?: Json | null
6441
- name?: string
6442
- organization_id?: string
6443
- start_date?: string | null
6444
- status?: string
6445
- target_end_date?: string | null
6446
- updated_at?: string
6447
- }
6448
- Relationships: [
6449
- {
6450
- foreignKeyName: "fk_projects_company"
6451
- columns: ["client_company_id"]
6452
- isOneToOne: false
6453
- referencedRelation: "acq_companies"
6454
- referencedColumns: ["id"]
6455
- },
6456
- {
6457
- foreignKeyName: "fk_projects_deal"
6458
- columns: ["deal_id"]
6459
- isOneToOne: false
6460
- referencedRelation: "acq_deals"
6461
- referencedColumns: ["id"]
6462
- },
6463
- {
6464
- foreignKeyName: "prj_projects_client_company_id_fkey"
6465
- columns: ["client_company_id"]
6466
- isOneToOne: false
6467
- referencedRelation: "acq_companies"
6468
- referencedColumns: ["id"]
6469
- },
6470
- {
6471
- foreignKeyName: "prj_projects_deal_id_fkey"
6472
- columns: ["deal_id"]
6473
- isOneToOne: false
6474
- referencedRelation: "acq_deals"
6475
- referencedColumns: ["id"]
6476
- },
6477
- {
6478
- foreignKeyName: "prj_projects_organization_id_fkey"
6479
- columns: ["organization_id"]
6480
- isOneToOne: false
6481
- referencedRelation: "organizations"
6482
- referencedColumns: ["id"]
6483
- },
6484
- ]
6485
- }
6486
- prj_tasks: {
6487
- Row: {
6488
- checklist: Json
6489
- completed_at: string | null
6490
- created_at: string
6491
- description: string | null
6492
- due_date: string | null
6493
- file_url: string | null
6494
- id: string
6495
- metadata: Json | null
6496
- milestone_id: string | null
6497
- name: string
6498
- organization_id: string
6499
- parent_task_id: string | null
6500
- project_id: string
6501
- resume_context: Json | null
6502
- status: string
6503
- type: string
6504
- updated_at: string
6505
- }
6506
- Insert: {
6507
- checklist?: Json
6508
- completed_at?: string | null
6509
- created_at?: string
6510
- description?: string | null
6511
- due_date?: string | null
6512
- file_url?: string | null
6513
- id?: string
6514
- metadata?: Json | null
6515
- milestone_id?: string | null
6516
- name: string
6517
- organization_id: string
6518
- parent_task_id?: string | null
6519
- project_id: string
6520
- resume_context?: Json | null
6521
- status?: string
6522
- type?: string
6523
- updated_at?: string
6524
- }
6525
- Update: {
6526
- checklist?: Json
6527
- completed_at?: string | null
6528
- created_at?: string
6529
- description?: string | null
6530
- due_date?: string | null
6531
- file_url?: string | null
6532
- id?: string
6533
- metadata?: Json | null
6534
- milestone_id?: string | null
6535
- name?: string
6536
- organization_id?: string
6537
- parent_task_id?: string | null
6538
- project_id?: string
6539
- resume_context?: Json | null
6540
- status?: string
6541
- type?: string
6542
- updated_at?: string
6543
- }
6544
- Relationships: [
6545
- {
6546
- foreignKeyName: "fk_tasks_milestone"
6547
- columns: ["milestone_id"]
6548
- isOneToOne: false
6549
- referencedRelation: "prj_milestones"
6550
- referencedColumns: ["id"]
6551
- },
6552
- {
6553
- foreignKeyName: "fk_tasks_parent"
6554
- columns: ["parent_task_id"]
6555
- isOneToOne: false
6556
- referencedRelation: "prj_tasks"
6557
- referencedColumns: ["id"]
6558
- },
6559
- {
6560
- foreignKeyName: "fk_tasks_project"
6561
- columns: ["project_id"]
6562
- isOneToOne: false
6563
- referencedRelation: "prj_projects"
6564
- referencedColumns: ["id"]
6565
- },
6566
- {
6567
- foreignKeyName: "prj_tasks_milestone_id_fkey"
6568
- columns: ["milestone_id"]
6569
- isOneToOne: false
6570
- referencedRelation: "prj_milestones"
6571
- referencedColumns: ["id"]
6572
- },
6573
- {
6574
- foreignKeyName: "prj_tasks_organization_id_fkey"
6575
- columns: ["organization_id"]
6576
- isOneToOne: false
6577
- referencedRelation: "organizations"
6578
- referencedColumns: ["id"]
6579
- },
6580
- {
6581
- foreignKeyName: "prj_tasks_parent_task_id_fkey"
6582
- columns: ["parent_task_id"]
6583
- isOneToOne: false
6584
- referencedRelation: "prj_tasks"
6585
- referencedColumns: ["id"]
6586
- },
6587
- {
6588
- foreignKeyName: "prj_tasks_project_id_fkey"
6589
- columns: ["project_id"]
6590
- isOneToOne: false
6591
- referencedRelation: "prj_projects"
6592
- referencedColumns: ["id"]
6593
- },
6594
- ]
6595
- }
6596
- reported_requests: {
6597
- Row: {
6598
- affected_page: string | null
6599
- category: string
6600
- context: Json | null
6601
- created_at: string
6602
- description: string
6603
- evidence: Json | null
6604
- id: string
6605
- organization_id: string
6606
- project_id: string | null
6607
- reported_at: string
6608
- reporter_id: string | null
6609
- resolved_at: string | null
6610
- severity: string
6611
- source: string
6612
- status: string
6613
- task_id: string | null
6614
- title: string
6615
- type: string
6616
- updated_at: string
6617
- }
6618
- Insert: {
6619
- affected_page?: string | null
6620
- category: string
6621
- context?: Json | null
6622
- created_at?: string
6623
- description: string
6624
- evidence?: Json | null
6625
- id?: string
6626
- organization_id: string
6627
- project_id?: string | null
6628
- reported_at?: string
6629
- reporter_id?: string | null
6630
- resolved_at?: string | null
6631
- severity: string
6632
- source: string
6633
- status?: string
6634
- task_id?: string | null
6635
- title: string
6636
- type: string
6637
- updated_at?: string
6638
- }
6639
- Update: {
6640
- affected_page?: string | null
6641
- category?: string
6642
- context?: Json | null
6643
- created_at?: string
6644
- description?: string
6645
- evidence?: Json | null
6646
- id?: string
6647
- organization_id?: string
6648
- project_id?: string | null
6649
- reported_at?: string
6650
- reporter_id?: string | null
6651
- resolved_at?: string | null
6652
- severity?: string
6653
- source?: string
6654
- status?: string
6655
- task_id?: string | null
6656
- title?: string
6657
- type?: string
6658
- updated_at?: string
6659
- }
6660
- Relationships: [
6661
- {
6662
- foreignKeyName: "reported_requests_organization_id_fkey"
6663
- columns: ["organization_id"]
6664
- isOneToOne: false
6665
- referencedRelation: "organizations"
6666
- referencedColumns: ["id"]
6667
- },
6668
- {
6669
- foreignKeyName: "reported_requests_project_id_fkey"
6670
- columns: ["project_id"]
6671
- isOneToOne: false
6672
- referencedRelation: "prj_projects"
6673
- referencedColumns: ["id"]
6674
- },
6675
- {
6676
- foreignKeyName: "reported_requests_task_id_fkey"
6677
- columns: ["task_id"]
6678
- isOneToOne: false
6679
- referencedRelation: "prj_tasks"
6680
- referencedColumns: ["id"]
6681
- },
6682
- ]
6683
- }
6684
- session_messages: {
6685
- Row: {
6686
- created_at: string | null
6687
- id: string
6688
- message: string
6689
- message_index: number | null
6690
- message_type: string | null
6691
- metadata: Json | null
6692
- role: string
6693
- session_id: string
6694
- session_turn_number: number
6695
- }
6696
- Insert: {
6697
- created_at?: string | null
6698
- id: string
6699
- message: string
6700
- message_index?: number | null
6701
- message_type?: string | null
6702
- metadata?: Json | null
6703
- role: string
6704
- session_id: string
6705
- session_turn_number: number
6706
- }
6707
- Update: {
6708
- created_at?: string | null
6709
- id?: string
6710
- message?: string
6711
- message_index?: number | null
6712
- message_type?: string | null
6713
- metadata?: Json | null
6714
- role?: string
6715
- session_id?: string
6716
- session_turn_number?: number
6717
- }
6718
- Relationships: [
6719
- {
6720
- foreignKeyName: "session_messages_session_id_fkey"
6721
- columns: ["session_id"]
6722
- isOneToOne: false
6723
- referencedRelation: "sessions"
6724
- referencedColumns: ["session_id"]
6725
- },
6726
- ]
6727
- }
6728
- sessions: {
6729
- Row: {
6730
- context_window_size: number
6731
- created_at: string | null
6732
- cumulative_input_tokens: number
6733
- cumulative_output_tokens: number
6734
- deleted_at: string | null
6735
- ended_at: string | null
6736
- memory_snapshot: Json
6737
- metadata: Json | null
6738
- organization_id: string
6739
- resource_id: string
6740
- session_id: string
6741
- session_total_turns: number | null
6742
- updated_at: string | null
6743
- user_id: string | null
6744
- }
6745
- Insert: {
6746
- context_window_size?: number
6747
- created_at?: string | null
6748
- cumulative_input_tokens?: number
6749
- cumulative_output_tokens?: number
6750
- deleted_at?: string | null
6751
- ended_at?: string | null
6752
- memory_snapshot: Json
6753
- metadata?: Json | null
6754
- organization_id: string
6755
- resource_id: string
6756
- session_id?: string
6757
- session_total_turns?: number | null
6758
- updated_at?: string | null
6759
- user_id?: string | null
6760
- }
6761
- Update: {
6762
- context_window_size?: number
6763
- created_at?: string | null
6764
- cumulative_input_tokens?: number
6765
- cumulative_output_tokens?: number
6766
- deleted_at?: string | null
6767
- ended_at?: string | null
6768
- memory_snapshot?: Json
6769
- metadata?: Json | null
6770
- organization_id?: string
6771
- resource_id?: string
6772
- session_id?: string
6773
- session_total_turns?: number | null
6774
- updated_at?: string | null
6775
- user_id?: string | null
6776
- }
6777
- Relationships: [
6778
- {
6779
- foreignKeyName: "fk_organization"
6780
- columns: ["organization_id"]
6781
- isOneToOne: false
6782
- referencedRelation: "organizations"
6783
- referencedColumns: ["id"]
6784
- },
6785
- {
6786
- foreignKeyName: "fk_user"
6787
- columns: ["user_id"]
6788
- isOneToOne: false
6789
- referencedRelation: "users"
6790
- referencedColumns: ["id"]
6791
- },
6792
- ]
6793
- }
6794
- task_schedules: {
6795
- Row: {
6796
- created_at: string
6797
- current_step: number
6798
- description: string | null
6799
- id: string
6800
- idempotency_key: string | null
6801
- last_execution_id: string | null
6802
- last_run_at: string | null
6803
- max_retries: number
6804
- metadata: Json | null
6805
- name: string
6806
- next_run_at: string | null
6807
- organization_id: string
6808
- origin_execution_id: string | null
6809
- origin_resource_id: string | null
6810
- origin_resource_type: string | null
6811
- retry_count: number
6812
- schedule_config: Json
6813
- status: string
6814
- target_resource_id: string
6815
- target_resource_type: string
6816
- updated_at: string
6817
- }
6818
- Insert: {
6819
- created_at?: string
6820
- current_step?: number
6821
- description?: string | null
6822
- id?: string
6823
- idempotency_key?: string | null
6824
- last_execution_id?: string | null
6825
- last_run_at?: string | null
6826
- max_retries?: number
6827
- metadata?: Json | null
6828
- name: string
6829
- next_run_at?: string | null
6830
- organization_id: string
6831
- origin_execution_id?: string | null
6832
- origin_resource_id?: string | null
6833
- origin_resource_type?: string | null
6834
- retry_count?: number
6835
- schedule_config: Json
6836
- status?: string
6837
- target_resource_id: string
6838
- target_resource_type: string
6839
- updated_at?: string
6840
- }
6841
- Update: {
6842
- created_at?: string
6843
- current_step?: number
6844
- description?: string | null
6845
- id?: string
6846
- idempotency_key?: string | null
6847
- last_execution_id?: string | null
6848
- last_run_at?: string | null
6849
- max_retries?: number
6850
- metadata?: Json | null
6851
- name?: string
6852
- next_run_at?: string | null
6853
- organization_id?: string
6854
- origin_execution_id?: string | null
6855
- origin_resource_id?: string | null
6856
- origin_resource_type?: string | null
6857
- retry_count?: number
6858
- schedule_config?: Json
6859
- status?: string
6860
- target_resource_id?: string
6861
- target_resource_type?: string
6862
- updated_at?: string
6863
- }
6864
- Relationships: [
6865
- {
6866
- foreignKeyName: "task_schedules_organization_id_fkey"
6867
- columns: ["organization_id"]
6868
- isOneToOne: false
6869
- referencedRelation: "organizations"
6870
- referencedColumns: ["id"]
6871
- },
6872
- ]
6873
- }
6874
- users: {
6875
- Row: {
6876
- config: Json
6877
- created_at: string
6878
- display_name: string | null
6879
- email: string
6880
- first_name: string | null
6881
- id: string
6882
- is_active: boolean
6883
- is_platform_admin: boolean | null
6884
- last_login_at: string | null
6885
- last_name: string | null
6886
- last_visited_org: string | null
6887
- profile_picture_url: string | null
6888
- updated_at: string
6889
- workos_user_id: string | null
6890
- }
6891
- Insert: {
6892
- config?: Json
6893
- created_at?: string
6894
- display_name?: string | null
6895
- email: string
6896
- first_name?: string | null
6897
- id?: string
6898
- is_active?: boolean
6899
- is_platform_admin?: boolean | null
6900
- last_login_at?: string | null
6901
- last_name?: string | null
6902
- last_visited_org?: string | null
6903
- profile_picture_url?: string | null
6904
- updated_at?: string
6905
- workos_user_id?: string | null
6906
- }
6907
- Update: {
6908
- config?: Json
6909
- created_at?: string
6910
- display_name?: string | null
6911
- email?: string
6912
- first_name?: string | null
6913
- id?: string
6914
- is_active?: boolean
6915
- is_platform_admin?: boolean | null
6916
- last_login_at?: string | null
6917
- last_name?: string | null
6918
- last_visited_org?: string | null
6919
- profile_picture_url?: string | null
6920
- updated_at?: string
6921
- workos_user_id?: string | null
6922
- }
6923
- Relationships: [
6924
- {
6925
- foreignKeyName: "user_profiles_last_visited_org_fkey"
6926
- columns: ["last_visited_org"]
6927
- isOneToOne: false
6928
- referencedRelation: "organizations"
6929
- referencedColumns: ["id"]
6930
- },
6931
- ]
6932
- }
6933
- webhook_endpoints: {
6934
- Row: {
6935
- created_at: string
6936
- description: string | null
6937
- id: string
6938
- key: string
6939
- last_triggered_at: string | null
6940
- name: string
6941
- organization_id: string
6942
- request_count: number
6943
- resource_id: string | null
6944
- status: string
6945
- updated_at: string
6946
- }
6947
- Insert: {
6948
- created_at?: string
6949
- description?: string | null
6950
- id?: string
6951
- key: string
6952
- last_triggered_at?: string | null
6953
- name: string
6954
- organization_id: string
6955
- request_count?: number
6956
- resource_id?: string | null
6957
- status?: string
6958
- updated_at?: string
6959
- }
6960
- Update: {
6961
- created_at?: string
6962
- description?: string | null
6963
- id?: string
6964
- key?: string
6965
- last_triggered_at?: string | null
6966
- name?: string
6967
- organization_id?: string
6968
- request_count?: number
6969
- resource_id?: string | null
6970
- status?: string
6971
- updated_at?: string
6972
- }
6973
- Relationships: [
6974
- {
6975
- foreignKeyName: "webhook_endpoints_organization_id_fkey"
6976
- columns: ["organization_id"]
6977
- isOneToOne: false
6978
- referencedRelation: "organizations"
6979
- referencedColumns: ["id"]
6980
- },
6981
- ]
6982
- }
6983
- }
6984
- Views: {
6985
- [_ in never]: never
6986
- }
6987
- Functions: {
6988
- acq_default_checklist: { Args: { p_platform: string }; Returns: Json }
6989
- append_deal_activity: {
6990
- Args: { p_activity: Json; p_deal_id: string; p_organization_id: string }
6991
- Returns: undefined
6992
- }
6993
- auth_jwt_claims: { Args: never; Returns: Json }
6994
- auth_uid_safe: { Args: never; Returns: string }
6995
- current_user_is_platform_admin: { Args: never; Returns: boolean }
6996
- current_user_supabase_id: { Args: never; Returns: string }
6997
- detect_stalled_executions: { Args: never; Returns: undefined }
6998
- execute_session_turn: {
6999
- Args: { p_session_id: string }
7000
- Returns: {
7001
- created_at: string
7002
- ended_at: string
7003
- memory_snapshot: Json
7004
- metadata: Json
7005
- organization_id: string
7006
- resource_id: string
7007
- session_id: string
7008
- session_total_turns: number
7009
- updated_at: string
7010
- user_id: string
7011
- }[]
7012
- }
7013
- get_storage_org_id: { Args: { file_path: string }; Returns: string }
7014
- get_workos_user_id: { Args: never; Returns: string }
7015
- is_org_admin: { Args: { org_id: string }; Returns: boolean }
7016
- is_org_member: { Args: { org_id: string }; Returns: boolean }
7017
- link_workos_membership_on_accept: {
7018
- Args: {
7019
- p_email: string
7020
- p_organization_id: string
7021
- p_workos_membership_id: string
7022
- }
7023
- Returns: boolean
7024
- }
7025
- pre_provision_invited_user: {
7026
- Args: {
7027
- p_email: string
7028
- p_organization_id: string
7029
- p_role_slug?: string
7030
- }
7031
- Returns: Json
7032
- }
7033
- process_due_schedules: { Args: never; Returns: Json }
7034
- upsert_user_profile: {
7035
- Args: never
7036
- Returns: {
7037
- profile_display_name: string
7038
- profile_email: string
7039
- profile_id: string
7040
- profile_workos_user_id: string
7041
- }[]
7042
- }
7043
- }
7044
- Enums: {
7045
- [_ in never]: never
7046
- }
7047
- CompositeTypes: {
7048
- [_ in never]: never
7049
- }
7050
- }
7051
- }
7052
-
7053
- type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row']
7054
-
7055
- type TaskRow = Database['public']['Tables']['prj_tasks']['Row']
7056
-
7057
- // ---------------------------------------------------------------------------
7058
- // Response schemas (no .strict() — forward-compatible)
7059
- // ---------------------------------------------------------------------------
7060
-
7061
- declare const GetRecentActivityResponseSchema = z.object({
7062
- entries: z.array(RecentActivityEntrySchema)
7063
- })
7064
- type GetRecentActivityResponse = z.infer<typeof GetRecentActivityResponseSchema>
7065
-
7066
4492
  interface ExecuteAsyncResult {
7067
4493
  executionId: string;
7068
4494
  status: string;
@@ -7193,49 +4619,33 @@ interface CreateApiKeyResponse {
7193
4619
  message: string;
7194
4620
  }
7195
4621
 
7196
- /**
7197
- * GET /api/credentials - List credentials
7198
- */
7199
- declare const ListCredentialsResponseSchema = z.object({
7200
- credentials: z.array(
7201
- z.object({
7202
- id: UuidSchema,
7203
- name: z.string(),
7204
- type: z.string(),
7205
- provider: z.string().nullable(), // OAuth provider or null for non-OAuth
7206
- createdAt: z.string().datetime()
7207
- })
7208
- )
7209
- })
7210
-
7211
- /** API response type for a single credential list item */
7212
- type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number]
7213
-
7214
4622
  interface CreateCredentialResponse {
7215
4623
  id: string;
7216
4624
  name: string;
7217
4625
  type: string;
7218
4626
  }
7219
4627
 
7220
- /**
7221
- * Response shape for a single webhook endpoint.
7222
- * NOT strict — response schemas allow extra fields for forward compatibility.
7223
- */
7224
- declare const WebhookEndpointResponseSchema = z.object({
7225
- id: UuidSchema,
7226
- organizationId: UuidSchema,
7227
- key: z.string(),
7228
- name: z.string(),
7229
- description: z.string().nullable(),
7230
- resourceId: z.string().nullable(),
7231
- status: WebhookEndpointStatusSchema,
7232
- lastTriggeredAt: z.string().datetime().nullable(),
7233
- requestCount: z.number().int().min(0),
7234
- createdAt: z.string().datetime(),
7235
- updatedAt: z.string().datetime()
7236
- })
7237
-
7238
- type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>
4628
+ /**
4629
+ * Response shape for a single webhook endpoint.
4630
+ * NOT strict — response schemas allow extra fields for forward compatibility.
4631
+ */
4632
+ declare const WebhookEndpointResponseSchema: z.ZodObject<{
4633
+ id: z.ZodString;
4634
+ organizationId: z.ZodString;
4635
+ key: z.ZodString;
4636
+ name: z.ZodString;
4637
+ description: z.ZodNullable<z.ZodString>;
4638
+ resourceId: z.ZodNullable<z.ZodString>;
4639
+ status: z.ZodEnum<{
4640
+ active: "active";
4641
+ paused: "paused";
4642
+ }>;
4643
+ lastTriggeredAt: z.ZodNullable<z.ZodString>;
4644
+ requestCount: z.ZodNumber;
4645
+ createdAt: z.ZodString;
4646
+ updatedAt: z.ZodString;
4647
+ }, z.core.$strip>;
4648
+ type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
7239
4649
 
7240
4650
  interface ActivityFilters$1 {
7241
4651
  activityType?: ActivityType | 'all';
@@ -9008,7 +6418,6 @@ declare function buildListConfig(template: LeadGenListTemplateValue, targetDescr
9008
6418
  declare function useDeleteLists(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
9009
6419
 
9010
6420
  declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
9011
- declare function LeadGenDeliverabilityPage(): react_jsx_runtime.JSX.Element;
9012
6421
 
9013
6422
  declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
9014
6423
 
@@ -9108,5 +6517,5 @@ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
9108
6517
 
9109
6518
  declare const operationsManifest: FeatureModule;
9110
6519
 
9111
- export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealDrawer, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenDeliverabilityPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TasksDueWidget, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, buildListConfig, calculateProgress, catalogItemToResourceDefinition, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
6520
+ export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealDrawer, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TasksDueWidget, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, buildListConfig, calculateProgress, catalogItemToResourceDefinition, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
9112
6521
  export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FeatureUnavailableStateProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps, ZodFormRendererProps };