@taphealth/kafka 1.2.43 → 1.2.45

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.
@@ -2,6 +2,7 @@ import { Topics } from "../topics";
2
2
  export interface DietCreatedEvent {
3
3
  topic: Topics.DietCreated;
4
4
  data: {
5
+ cron: string;
5
6
  userId: string;
6
7
  date: string;
7
8
  };
@@ -2,6 +2,7 @@ import { Topics } from "../topics";
2
2
  export interface DietGenerateEvent {
3
3
  topic: Topics.DietGenerate;
4
4
  data: {
5
+ cron: string;
5
6
  userId: string;
6
7
  date: string;
7
8
  };
@@ -0,0 +1,9 @@
1
+ import { Topics } from "../topics";
2
+ export interface EducationGenerateEvent {
3
+ topic: Topics.EducationGenerate;
4
+ data: {
5
+ cron: string;
6
+ userId: string;
7
+ date: string;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { Topics } from "../topics";
2
+ export interface EducationPlanCreatedEvent {
3
+ topic: Topics.EducationPlanCreated;
4
+ data: {
5
+ cron: string;
6
+ userId: string;
7
+ date: string;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -18,3 +18,5 @@ export * from "./events/diet-created";
18
18
  export * from "./events/diet-generate";
19
19
  export * from "./events/dtx-created";
20
20
  export * from "./events/profile-updated";
21
+ export * from "./events/education-plan-created";
22
+ export * from "./events/education-generate";
package/dist/index.js CHANGED
@@ -34,3 +34,5 @@ __exportStar(require("./events/diet-created"), exports);
34
34
  __exportStar(require("./events/diet-generate"), exports);
35
35
  __exportStar(require("./events/dtx-created"), exports);
36
36
  __exportStar(require("./events/profile-updated"), exports);
37
+ __exportStar(require("./events/education-plan-created"), exports);
38
+ __exportStar(require("./events/education-generate"), exports);
package/dist/topics.d.ts CHANGED
@@ -13,5 +13,7 @@ export declare enum Topics {
13
13
  ExpirationComplete = "expiration-complete",
14
14
  RefundInitiate = "refund-initiate",
15
15
  RefundProcessed = "refund-processed",
16
- ProfileUpdated = "profile-updated"
16
+ ProfileUpdated = "profile-updated",
17
+ EducationPlanCreated = "education-plan-created",
18
+ EducationGenerate = "education-generate"
17
19
  }
package/dist/topics.js CHANGED
@@ -18,4 +18,6 @@ var Topics;
18
18
  Topics["RefundInitiate"] = "refund-initiate";
19
19
  Topics["RefundProcessed"] = "refund-processed";
20
20
  Topics["ProfileUpdated"] = "profile-updated";
21
+ Topics["EducationPlanCreated"] = "education-plan-created";
22
+ Topics["EducationGenerate"] = "education-generate";
21
23
  })(Topics || (exports.Topics = Topics = {}));
@@ -51,6 +51,9 @@ export interface DiabetesSettings {
51
51
  history: string[];
52
52
  diabetesInFamily: boolean;
53
53
  medications: string[];
54
+ programPace: string;
55
+ coachType: string;
56
+ diabetesType: string;
54
57
  }
55
58
  export interface DietSettings {
56
59
  dietReason: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taphealth/kafka",
3
- "version": "1.2.43",
3
+ "version": "1.2.45",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",