@hedia/types 2.3.3-alpha.3 → 2.3.3

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.
@@ -4,7 +4,6 @@ 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";
8
7
  export * from "./services/notification";
9
8
  export * from "./services/forecast";
10
9
  export * from "./services/report";
package/dist/v3/index.js CHANGED
@@ -16,7 +16,6 @@ __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);
20
19
  __exportStar(require("./services/notification"), exports);
21
20
  __exportStar(require("./services/forecast"), exports);
22
21
  __exportStar(require("./services/report"), exports);
@@ -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,sDAAoC;AACpC,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,0DAAwC;AACxC,sDAAoC;AACpC,oDAAkC;AAClC,kDAAgC;AAChC,sEAAoD;AACpD,4DAA0C;AAC1C,wDAAsC;AACtC,8CAA4B"}
@@ -1,6 +1,7 @@
1
1
  export declare namespace ForecastService {
2
2
  namespace Types {
3
3
  interface IForecastPacket {
4
+ userId: string;
4
5
  inputDataTimestamp: string;
5
6
  calculationTimestamp: string;
6
7
  validPredictionTimestamp: string;
@@ -10,6 +11,7 @@ export declare namespace ForecastService {
10
11
  worstParkeBox: number;
11
12
  }
12
13
  interface IForecast {
14
+ userId: string;
13
15
  inputDataTimestamp: Date;
14
16
  calculationTimestamp: Date;
15
17
  validPredictionTimestamp: Date;
@@ -20,5 +22,22 @@ export declare namespace ForecastService {
20
22
  glucoseForecastUpperDev: number;
21
23
  worstParkeBox: number;
22
24
  }
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
+ }
23
42
  }
24
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "2.3.3-alpha.3",
3
+ "version": "2.3.3",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "./dist/index.js",
6
6
  "repository": {
@@ -1,10 +0,0 @@
1
- export declare namespace MenariniService {
2
- namespace Types {
3
- interface IEnrollPatientRequest {
4
- registrationCode: string;
5
- }
6
- interface IGetPatientEnrollmentResponse {
7
- enrollmentState: string;
8
- }
9
- }
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=menarini.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menarini.js","sourceRoot":"","sources":["../../../v3/services/menarini.ts"],"names":[],"mappings":""}