@hedia/types 2.3.3-alpha.0 → 2.3.3-alpha.2
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/dist/v3/index.d.ts +1 -0
- package/dist/v3/index.js +1 -0
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/services/forecast.d.ts +0 -19
- package/dist/v3/services/menarini.d.ts +19 -0
- package/dist/v3/services/menarini.js +3 -0
- package/dist/v3/services/menarini.js.map +1 -0
- package/package.json +1 -1
package/dist/v3/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./report/report";
|
|
|
4
4
|
export * from "./services/auth";
|
|
5
5
|
export * from "./services/email";
|
|
6
6
|
export * from "./services/logbook";
|
|
7
|
+
export * from "./services/menarini";
|
|
7
8
|
export * from "./services/notification";
|
|
8
9
|
export * from "./services/forecast";
|
|
9
10
|
export * from "./services/report";
|
package/dist/v3/index.js
CHANGED
|
@@ -16,6 +16,7 @@ __exportStar(require("./report/report"), exports);
|
|
|
16
16
|
__exportStar(require("./services/auth"), exports);
|
|
17
17
|
__exportStar(require("./services/email"), exports);
|
|
18
18
|
__exportStar(require("./services/logbook"), exports);
|
|
19
|
+
__exportStar(require("./services/menarini"), exports);
|
|
19
20
|
__exportStar(require("./services/notification"), exports);
|
|
20
21
|
__exportStar(require("./services/forecast"), exports);
|
|
21
22
|
__exportStar(require("./services/report"), exports);
|
package/dist/v3/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v3/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0B;AAC1B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,qDAAmC;AACnC,0DAAwC;AACxC,sDAAoC;AACpC,oDAAkC;AAClC,kDAAgC;AAChC,sEAAoD;AACpD,4DAA0C;AAC1C,wDAAsC;AACtC,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v3/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0B;AAC1B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,oDAAkC;AAClC,kDAAgC;AAChC,sEAAoD;AACpD,4DAA0C;AAC1C,wDAAsC;AACtC,8CAA4B"}
|
|
@@ -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":""}
|