@hedia/types 2.3.3-alpha.0 → 2.3.3-alpha.1
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.
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare namespace ForecastService {
|
|
2
2
|
namespace Types {
|
|
3
3
|
interface IForecastPacket {
|
|
4
|
-
userId: string;
|
|
5
4
|
inputDataTimestamp: string;
|
|
6
5
|
calculationTimestamp: string;
|
|
7
6
|
validPredictionTimestamp: string;
|
|
@@ -11,7 +10,6 @@ export declare namespace ForecastService {
|
|
|
11
10
|
worstParkeBox: number;
|
|
12
11
|
}
|
|
13
12
|
interface IForecast {
|
|
14
|
-
userId: string;
|
|
15
13
|
inputDataTimestamp: Date;
|
|
16
14
|
calculationTimestamp: Date;
|
|
17
15
|
validPredictionTimestamp: Date;
|
|
@@ -22,22 +20,5 @@ export declare namespace ForecastService {
|
|
|
22
20
|
glucoseForecastUpperDev: number;
|
|
23
21
|
worstParkeBox: number;
|
|
24
22
|
}
|
|
25
|
-
interface IDevicePacketRequest {
|
|
26
|
-
registrationToken: string;
|
|
27
|
-
deviceId: string;
|
|
28
|
-
timeOffset: number;
|
|
29
|
-
}
|
|
30
|
-
interface IDevicePacketResponse {
|
|
31
|
-
id: string;
|
|
32
|
-
registrationToken: string;
|
|
33
|
-
deviceId: string;
|
|
34
|
-
timeOffset: number;
|
|
35
|
-
}
|
|
36
|
-
interface IForecastNotificationSettings {
|
|
37
|
-
enableHighAlerts: boolean;
|
|
38
|
-
enableLowAlerts: boolean;
|
|
39
|
-
lowAlertTimeSpanStart?: Date;
|
|
40
|
-
lowAlertTimeSpanEnd?: Date;
|
|
41
|
-
}
|
|
42
23
|
}
|
|
43
24
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare namespace MenariniService {
|
|
2
|
+
namespace Types {
|
|
3
|
+
interface IEnrollPatientRequest {
|
|
4
|
+
userId: string;
|
|
5
|
+
registrationCode: string;
|
|
6
|
+
}
|
|
7
|
+
interface IEnrollPatientResponse {
|
|
8
|
+
status: string;
|
|
9
|
+
}
|
|
10
|
+
interface IGetPatientEnrollmentRequest {
|
|
11
|
+
userId: string;
|
|
12
|
+
}
|
|
13
|
+
interface IGetPatientEnrollmentResponse {
|
|
14
|
+
patientId: string;
|
|
15
|
+
registrationCode: string;
|
|
16
|
+
enrollmentState: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menarini.js","sourceRoot":"","sources":["../../../v3/services/menarini.ts"],"names":[],"mappings":""}
|