@adventurelabs/scout-core 1.4.39 → 1.4.40

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.
@@ -61,6 +61,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
61
61
  tagged_at: string | null;
62
62
  timestamp_observation: string | null;
63
63
  timestamp_observation_end: string;
64
+ tracked_at: string | null;
64
65
  updated_at: string | null;
65
66
  };
66
67
  Insert: {
@@ -76,6 +77,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
76
77
  tagged_at?: string | null;
77
78
  timestamp_observation?: string | null;
78
79
  timestamp_observation_end?: string;
80
+ tracked_at?: string | null;
79
81
  updated_at?: string | null;
80
82
  };
81
83
  Update: {
@@ -91,6 +93,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
91
93
  tagged_at?: string | null;
92
94
  timestamp_observation?: string | null;
93
95
  timestamp_observation_end?: string;
96
+ tracked_at?: string | null;
94
97
  updated_at?: string | null;
95
98
  };
96
99
  Relationships: [{
@@ -456,6 +459,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
456
459
  session_id: number | null;
457
460
  tagged_at: string | null;
458
461
  timestamp_observation: string;
462
+ tracked_at: string | null;
459
463
  };
460
464
  Insert: {
461
465
  altitude?: number;
@@ -475,6 +479,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
475
479
  session_id?: number | null;
476
480
  tagged_at?: string | null;
477
481
  timestamp_observation?: string;
482
+ tracked_at?: string | null;
478
483
  };
479
484
  Update: {
480
485
  altitude?: number;
@@ -494,6 +499,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
494
499
  session_id?: number | null;
495
500
  tagged_at?: string | null;
496
501
  timestamp_observation?: string;
502
+ tracked_at?: string | null;
497
503
  };
498
504
  Relationships: [{
499
505
  foreignKeyName: "events_device_id_fkey";
@@ -1423,6 +1429,13 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1423
1429
  };
1424
1430
  };
1425
1431
  Functions: {
1432
+ ack_queue_message: {
1433
+ Args: {
1434
+ message_id: number;
1435
+ queue_name: string;
1436
+ };
1437
+ Returns: boolean;
1438
+ };
1426
1439
  analyze_device_heartbeats: {
1427
1440
  Args: {
1428
1441
  p_device_id: number;
@@ -1559,6 +1572,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1559
1572
  tagged_at: string | null;
1560
1573
  timestamp_observation: string | null;
1561
1574
  timestamp_observation_end: string;
1575
+ tracked_at: string | null;
1562
1576
  updated_at: string | null;
1563
1577
  }[];
1564
1578
  SetofOptions: {
@@ -1586,6 +1600,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1586
1600
  tagged_at: string | null;
1587
1601
  timestamp_observation: string | null;
1588
1602
  timestamp_observation_end: string;
1603
+ tracked_at: string | null;
1589
1604
  updated_at: string | null;
1590
1605
  }[];
1591
1606
  SetofOptions: {
@@ -1614,6 +1629,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1614
1629
  tagged_at: string | null;
1615
1630
  timestamp_observation: string | null;
1616
1631
  timestamp_observation_end: string;
1632
+ tracked_at: string | null;
1617
1633
  updated_at: string | null;
1618
1634
  }[];
1619
1635
  SetofOptions: {
@@ -1642,6 +1658,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1642
1658
  tagged_at: string | null;
1643
1659
  timestamp_observation: string | null;
1644
1660
  timestamp_observation_end: string;
1661
+ tracked_at: string | null;
1645
1662
  updated_at: string | null;
1646
1663
  }[];
1647
1664
  SetofOptions: {
@@ -1671,6 +1688,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1671
1688
  tagged_at: string | null;
1672
1689
  timestamp_observation: string | null;
1673
1690
  timestamp_observation_end: string;
1691
+ tracked_at: string | null;
1674
1692
  updated_at: string | null;
1675
1693
  }[];
1676
1694
  SetofOptions: {
@@ -1700,6 +1718,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1700
1718
  tagged_at: string | null;
1701
1719
  timestamp_observation: string | null;
1702
1720
  timestamp_observation_end: string;
1721
+ tracked_at: string | null;
1703
1722
  updated_at: string | null;
1704
1723
  }[];
1705
1724
  SetofOptions: {
@@ -1729,6 +1748,7 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1729
1748
  tagged_at: string | null;
1730
1749
  timestamp_observation: string | null;
1731
1750
  timestamp_observation_end: string;
1751
+ tracked_at: string | null;
1732
1752
  updated_at: string | null;
1733
1753
  }[];
1734
1754
  SetofOptions: {
@@ -2302,6 +2322,20 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
2302
2322
  };
2303
2323
  Returns: undefined;
2304
2324
  };
2325
+ sync_orphan_session_links: {
2326
+ Args: {
2327
+ preview?: boolean;
2328
+ };
2329
+ Returns: {
2330
+ assigned_session_id: number;
2331
+ candidate_session_count: number;
2332
+ device_id: number;
2333
+ entity_id: number;
2334
+ entity_type: string;
2335
+ old_session_id: number;
2336
+ status: string;
2337
+ }[];
2338
+ };
2305
2339
  };
2306
2340
  Enums: {
2307
2341
  app_permission: "herds.delete" | "events.delete";
@@ -60,6 +60,7 @@ export type Database = {
60
60
  tagged_at: string | null;
61
61
  timestamp_observation: string | null;
62
62
  timestamp_observation_end: string;
63
+ tracked_at: string | null;
63
64
  updated_at: string | null;
64
65
  };
65
66
  Insert: {
@@ -75,6 +76,7 @@ export type Database = {
75
76
  tagged_at?: string | null;
76
77
  timestamp_observation?: string | null;
77
78
  timestamp_observation_end?: string;
79
+ tracked_at?: string | null;
78
80
  updated_at?: string | null;
79
81
  };
80
82
  Update: {
@@ -90,6 +92,7 @@ export type Database = {
90
92
  tagged_at?: string | null;
91
93
  timestamp_observation?: string | null;
92
94
  timestamp_observation_end?: string;
95
+ tracked_at?: string | null;
93
96
  updated_at?: string | null;
94
97
  };
95
98
  Relationships: [
@@ -476,6 +479,7 @@ export type Database = {
476
479
  session_id: number | null;
477
480
  tagged_at: string | null;
478
481
  timestamp_observation: string;
482
+ tracked_at: string | null;
479
483
  };
480
484
  Insert: {
481
485
  altitude?: number;
@@ -495,6 +499,7 @@ export type Database = {
495
499
  session_id?: number | null;
496
500
  tagged_at?: string | null;
497
501
  timestamp_observation?: string;
502
+ tracked_at?: string | null;
498
503
  };
499
504
  Update: {
500
505
  altitude?: number;
@@ -514,6 +519,7 @@ export type Database = {
514
519
  session_id?: number | null;
515
520
  tagged_at?: string | null;
516
521
  timestamp_observation?: string;
522
+ tracked_at?: string | null;
517
523
  };
518
524
  Relationships: [
519
525
  {
@@ -1500,6 +1506,13 @@ export type Database = {
1500
1506
  };
1501
1507
  };
1502
1508
  Functions: {
1509
+ ack_queue_message: {
1510
+ Args: {
1511
+ message_id: number;
1512
+ queue_name: string;
1513
+ };
1514
+ Returns: boolean;
1515
+ };
1503
1516
  analyze_device_heartbeats: {
1504
1517
  Args: {
1505
1518
  p_device_id: number;
@@ -1636,6 +1649,7 @@ export type Database = {
1636
1649
  tagged_at: string | null;
1637
1650
  timestamp_observation: string | null;
1638
1651
  timestamp_observation_end: string;
1652
+ tracked_at: string | null;
1639
1653
  updated_at: string | null;
1640
1654
  }[];
1641
1655
  SetofOptions: {
@@ -1663,6 +1677,7 @@ export type Database = {
1663
1677
  tagged_at: string | null;
1664
1678
  timestamp_observation: string | null;
1665
1679
  timestamp_observation_end: string;
1680
+ tracked_at: string | null;
1666
1681
  updated_at: string | null;
1667
1682
  }[];
1668
1683
  SetofOptions: {
@@ -1691,6 +1706,7 @@ export type Database = {
1691
1706
  tagged_at: string | null;
1692
1707
  timestamp_observation: string | null;
1693
1708
  timestamp_observation_end: string;
1709
+ tracked_at: string | null;
1694
1710
  updated_at: string | null;
1695
1711
  }[];
1696
1712
  SetofOptions: {
@@ -1719,6 +1735,7 @@ export type Database = {
1719
1735
  tagged_at: string | null;
1720
1736
  timestamp_observation: string | null;
1721
1737
  timestamp_observation_end: string;
1738
+ tracked_at: string | null;
1722
1739
  updated_at: string | null;
1723
1740
  }[];
1724
1741
  SetofOptions: {
@@ -1748,6 +1765,7 @@ export type Database = {
1748
1765
  tagged_at: string | null;
1749
1766
  timestamp_observation: string | null;
1750
1767
  timestamp_observation_end: string;
1768
+ tracked_at: string | null;
1751
1769
  updated_at: string | null;
1752
1770
  }[];
1753
1771
  SetofOptions: {
@@ -1777,6 +1795,7 @@ export type Database = {
1777
1795
  tagged_at: string | null;
1778
1796
  timestamp_observation: string | null;
1779
1797
  timestamp_observation_end: string;
1798
+ tracked_at: string | null;
1780
1799
  updated_at: string | null;
1781
1800
  }[];
1782
1801
  SetofOptions: {
@@ -1806,6 +1825,7 @@ export type Database = {
1806
1825
  tagged_at: string | null;
1807
1826
  timestamp_observation: string | null;
1808
1827
  timestamp_observation_end: string;
1828
+ tracked_at: string | null;
1809
1829
  updated_at: string | null;
1810
1830
  }[];
1811
1831
  SetofOptions: {
@@ -2379,6 +2399,20 @@ export type Database = {
2379
2399
  };
2380
2400
  Returns: undefined;
2381
2401
  };
2402
+ sync_orphan_session_links: {
2403
+ Args: {
2404
+ preview?: boolean;
2405
+ };
2406
+ Returns: {
2407
+ assigned_session_id: number;
2408
+ candidate_session_count: number;
2409
+ device_id: number;
2410
+ entity_id: number;
2411
+ entity_type: string;
2412
+ old_session_id: number;
2413
+ status: string;
2414
+ }[];
2415
+ };
2382
2416
  };
2383
2417
  Enums: {
2384
2418
  app_permission: "herds.delete" | "events.delete";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adventurelabs/scout-core",
3
- "version": "1.4.39",
3
+ "version": "1.4.40",
4
4
  "description": "Core utilities and helpers for Adventure Labs Scout applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",