@smartspectra/node-sdk 3.4.0-rc.2 → 3.4.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/messages/generated.d.ts +81 -17
- package/js/messages/generated.js +446 -136
- package/package.json +5 -5
|
@@ -936,13 +936,27 @@ export namespace presage {
|
|
|
936
936
|
/** Properties of a Breathing. */
|
|
937
937
|
interface IBreathing {
|
|
938
938
|
|
|
939
|
-
/**
|
|
939
|
+
/**
|
|
940
|
+
* Respiratory rate measurements with confidence scores. `stable` marks
|
|
941
|
+
* confidence at or above the minimum accepted accuracy standard for breathing
|
|
942
|
+
* rate (+/-1 br/min), which corresponds to confidence >= 45; see the
|
|
943
|
+
* [breathing model card](https://vandv.presagetech.com/breathing_model_card.html)
|
|
944
|
+
* for the confidence-to-error mapping.
|
|
945
|
+
*/
|
|
940
946
|
rate?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
|
|
941
947
|
|
|
942
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* Chest breathing movement trace measurements. The trace has no confidence of
|
|
950
|
+
* its own; `stable` is inherited from the breathing rate verdict (>= 45); see
|
|
951
|
+
* the [breathing model card](https://vandv.presagetech.com/breathing_model_card.html).
|
|
952
|
+
*/
|
|
943
953
|
upperTrace?: (presage.smartspectra.IMeasurement[]|null);
|
|
944
954
|
|
|
945
|
-
/**
|
|
955
|
+
/**
|
|
956
|
+
* Abdominal breathing movement trace measurements. The trace has no confidence
|
|
957
|
+
* of its own; `stable` is inherited from the breathing rate verdict (>= 45); see
|
|
958
|
+
* the [breathing model card](https://vandv.presagetech.com/breathing_model_card.html).
|
|
959
|
+
*/
|
|
946
960
|
lowerTrace?: (presage.smartspectra.IMeasurement[]|null);
|
|
947
961
|
|
|
948
962
|
/** Breathing amplitude measurements */
|
|
@@ -979,13 +993,27 @@ export namespace presage {
|
|
|
979
993
|
*/
|
|
980
994
|
constructor(properties?: presage.smartspectra.IBreathing);
|
|
981
995
|
|
|
982
|
-
/**
|
|
996
|
+
/**
|
|
997
|
+
* Respiratory rate measurements with confidence scores. `stable` marks
|
|
998
|
+
* confidence at or above the minimum accepted accuracy standard for breathing
|
|
999
|
+
* rate (+/-1 br/min), which corresponds to confidence >= 45; see the
|
|
1000
|
+
* [breathing model card](https://vandv.presagetech.com/breathing_model_card.html)
|
|
1001
|
+
* for the confidence-to-error mapping.
|
|
1002
|
+
*/
|
|
983
1003
|
public rate: presage.smartspectra.IMeasurementWithConfidence[];
|
|
984
1004
|
|
|
985
|
-
/**
|
|
1005
|
+
/**
|
|
1006
|
+
* Chest breathing movement trace measurements. The trace has no confidence of
|
|
1007
|
+
* its own; `stable` is inherited from the breathing rate verdict (>= 45); see
|
|
1008
|
+
* the [breathing model card](https://vandv.presagetech.com/breathing_model_card.html).
|
|
1009
|
+
*/
|
|
986
1010
|
public upperTrace: presage.smartspectra.IMeasurement[];
|
|
987
1011
|
|
|
988
|
-
/**
|
|
1012
|
+
/**
|
|
1013
|
+
* Abdominal breathing movement trace measurements. The trace has no confidence
|
|
1014
|
+
* of its own; `stable` is inherited from the breathing rate verdict (>= 45); see
|
|
1015
|
+
* the [breathing model card](https://vandv.presagetech.com/breathing_model_card.html).
|
|
1016
|
+
*/
|
|
989
1017
|
public lowerTrace: presage.smartspectra.IMeasurement[];
|
|
990
1018
|
|
|
991
1019
|
/** Breathing amplitude measurements */
|
|
@@ -1432,12 +1460,12 @@ export namespace presage {
|
|
|
1432
1460
|
/** Properties of an Eda. */
|
|
1433
1461
|
interface IEda {
|
|
1434
1462
|
|
|
1435
|
-
/** EDA trace measurements over time */
|
|
1463
|
+
/** EDA Proxy trace measurements over time */
|
|
1436
1464
|
trace?: (presage.smartspectra.IMeasurement[]|null);
|
|
1437
1465
|
}
|
|
1438
1466
|
|
|
1439
1467
|
/**
|
|
1440
|
-
*
|
|
1468
|
+
* EDA Proxy (electrodermal activity) measurements.
|
|
1441
1469
|
* Tracks skin conductance changes related to autonomic nervous system activity.
|
|
1442
1470
|
*/
|
|
1443
1471
|
class Eda implements IEda {
|
|
@@ -1448,7 +1476,7 @@ export namespace presage {
|
|
|
1448
1476
|
*/
|
|
1449
1477
|
constructor(properties?: presage.smartspectra.IEda);
|
|
1450
1478
|
|
|
1451
|
-
/** EDA trace measurements over time */
|
|
1479
|
+
/** EDA Proxy trace measurements over time */
|
|
1452
1480
|
public trace: presage.smartspectra.IMeasurement[];
|
|
1453
1481
|
|
|
1454
1482
|
/**
|
|
@@ -1532,13 +1560,31 @@ export namespace presage {
|
|
|
1532
1560
|
/** Properties of a Cardio. */
|
|
1533
1561
|
interface ICardio {
|
|
1534
1562
|
|
|
1535
|
-
/**
|
|
1563
|
+
/**
|
|
1564
|
+
* Heart rate measurements with confidence scores. `stable` marks confidence
|
|
1565
|
+
* at or above the minimum accepted accuracy standard for heart rate
|
|
1566
|
+
* (+/-3 bpm), which corresponds to confidence >= 40; see the
|
|
1567
|
+
* [arterial pressure model card](https://vandv.presagetech.com/arterial_pressure_model_card.html)
|
|
1568
|
+
* for the confidence-to-error mapping. Heart rate is derived from the same signal.
|
|
1569
|
+
*/
|
|
1536
1570
|
pulseRate?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
|
|
1537
1571
|
|
|
1538
|
-
/**
|
|
1572
|
+
/**
|
|
1573
|
+
* Arterial pressure trace (uncalibrated, unitless) measurements with confidence
|
|
1574
|
+
* scores. `stable` uses the same threshold as heart rate -- the minimum accepted
|
|
1575
|
+
* accuracy standard (+/-3 bpm), confidence >= 40 -- since both derive from the
|
|
1576
|
+
* arterial pressure signal; see the
|
|
1577
|
+
* [arterial pressure model card](https://vandv.presagetech.com/arterial_pressure_model_card.html).
|
|
1578
|
+
*/
|
|
1539
1579
|
arterialPressureTrace?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
|
|
1540
1580
|
|
|
1541
|
-
/**
|
|
1581
|
+
/**
|
|
1582
|
+
* Heart rate variability measurements with confidence scores. `stable` marks
|
|
1583
|
+
* confidence at or above the minimum accepted accuracy standard for HRV
|
|
1584
|
+
* (+/-5 ms), which corresponds to confidence >= 50; see the
|
|
1585
|
+
* [HRV model card](https://vandv.presagetech.com/hrv_model_card.html)
|
|
1586
|
+
* for the confidence-to-error mapping.
|
|
1587
|
+
*/
|
|
1542
1588
|
hrv?: (presage.smartspectra.IHrv[]|null);
|
|
1543
1589
|
}
|
|
1544
1590
|
|
|
@@ -1551,13 +1597,31 @@ export namespace presage {
|
|
|
1551
1597
|
*/
|
|
1552
1598
|
constructor(properties?: presage.smartspectra.ICardio);
|
|
1553
1599
|
|
|
1554
|
-
/**
|
|
1600
|
+
/**
|
|
1601
|
+
* Heart rate measurements with confidence scores. `stable` marks confidence
|
|
1602
|
+
* at or above the minimum accepted accuracy standard for heart rate
|
|
1603
|
+
* (+/-3 bpm), which corresponds to confidence >= 40; see the
|
|
1604
|
+
* [arterial pressure model card](https://vandv.presagetech.com/arterial_pressure_model_card.html)
|
|
1605
|
+
* for the confidence-to-error mapping. Heart rate is derived from the same signal.
|
|
1606
|
+
*/
|
|
1555
1607
|
public pulseRate: presage.smartspectra.IMeasurementWithConfidence[];
|
|
1556
1608
|
|
|
1557
|
-
/**
|
|
1609
|
+
/**
|
|
1610
|
+
* Arterial pressure trace (uncalibrated, unitless) measurements with confidence
|
|
1611
|
+
* scores. `stable` uses the same threshold as heart rate -- the minimum accepted
|
|
1612
|
+
* accuracy standard (+/-3 bpm), confidence >= 40 -- since both derive from the
|
|
1613
|
+
* arterial pressure signal; see the
|
|
1614
|
+
* [arterial pressure model card](https://vandv.presagetech.com/arterial_pressure_model_card.html).
|
|
1615
|
+
*/
|
|
1558
1616
|
public arterialPressureTrace: presage.smartspectra.IMeasurementWithConfidence[];
|
|
1559
1617
|
|
|
1560
|
-
/**
|
|
1618
|
+
/**
|
|
1619
|
+
* Heart rate variability measurements with confidence scores. `stable` marks
|
|
1620
|
+
* confidence at or above the minimum accepted accuracy standard for HRV
|
|
1621
|
+
* (+/-5 ms), which corresponds to confidence >= 50; see the
|
|
1622
|
+
* [HRV model card](https://vandv.presagetech.com/hrv_model_card.html)
|
|
1623
|
+
* for the confidence-to-error mapping.
|
|
1624
|
+
*/
|
|
1561
1625
|
public hrv: presage.smartspectra.IHrv[];
|
|
1562
1626
|
|
|
1563
1627
|
/**
|
|
@@ -1647,7 +1711,7 @@ export namespace presage {
|
|
|
1647
1711
|
/** Micro-motion analysis results */
|
|
1648
1712
|
micromotion?: (presage.smartspectra.IMicroMotion|null);
|
|
1649
1713
|
|
|
1650
|
-
/**
|
|
1714
|
+
/** EDA Proxy (electrodermal activity) measurements. Note: processing needs to run for over 35 seconds to generate the first EDA Proxy result. */
|
|
1651
1715
|
eda?: (presage.smartspectra.IEda|null);
|
|
1652
1716
|
|
|
1653
1717
|
/** Facial analysis results */
|
|
@@ -1675,7 +1739,7 @@ export namespace presage {
|
|
|
1675
1739
|
/** Micro-motion analysis results */
|
|
1676
1740
|
public micromotion?: (presage.smartspectra.IMicroMotion|null);
|
|
1677
1741
|
|
|
1678
|
-
/**
|
|
1742
|
+
/** EDA Proxy (electrodermal activity) measurements. Note: processing needs to run for over 35 seconds to generate the first EDA Proxy result. */
|
|
1679
1743
|
public eda?: (presage.smartspectra.IEda|null);
|
|
1680
1744
|
|
|
1681
1745
|
/** Facial analysis results */
|