@demind-inc/core 1.11.10 → 1.11.12

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.
@@ -153,6 +153,7 @@ export interface ExportToCalendars {
153
153
  targetUserId: string;
154
154
  calendars: ExportedCalendar[];
155
155
  }
156
+ export type ExportedEnergyZone = 'high' | 'medium' | 'low';
156
157
  export interface ExportedCalendar {
157
158
  rootEmail: string;
158
159
  energyCalendarId: string;
@@ -160,4 +161,6 @@ export interface ExportedCalendar {
160
161
  calendarType: CalendarType;
161
162
  createdAt: string;
162
163
  lastSyncedAt?: string;
164
+ /** Energy zones exported to this calendar. Missing = all zones; [] = none. */
165
+ zones?: ExportedEnergyZone[];
163
166
  }
@@ -27,6 +27,10 @@ export interface TriggerSchedule {
27
27
  conditions?: TriggerCondition[];
28
28
  /** What the AI should generate or schedule when this fires */
29
29
  content?: TriggerContent;
30
+ /** Send a push notification when the job completes */
31
+ notifyOnComplete?: boolean;
32
+ /** Set to true by the backend when the job runs; cleared by the client after displaying */
33
+ hasUnviewedExecution?: boolean;
30
34
  }
31
35
  export interface DayPlanMeal {
32
36
  time: string;
@@ -137,6 +137,8 @@ export interface Notifications {
137
137
  calendar?: CalendarNotification;
138
138
  satisfaction?: boolean;
139
139
  peaksDipsDetails?: PeaksDipsDetails;
140
+ /** Notify the user when an auto-scheduled routine job completes */
141
+ scheduledPlanComplete?: boolean;
140
142
  }
141
143
  export interface CalendarNotification {
142
144
  enabled: boolean;
@@ -184,6 +184,8 @@ export interface ExportToCalendars {
184
184
  calendars: ExportedCalendar[];
185
185
  }
186
186
 
187
+ export type ExportedEnergyZone = 'high' | 'medium' | 'low';
188
+
187
189
  export interface ExportedCalendar {
188
190
  rootEmail: string;
189
191
  energyCalendarId: string;
@@ -191,4 +193,6 @@ export interface ExportedCalendar {
191
193
  calendarType: CalendarType;
192
194
  createdAt: string;
193
195
  lastSyncedAt?: string;
196
+ /** Energy zones exported to this calendar. Missing = all zones; [] = none. */
197
+ zones?: ExportedEnergyZone[];
194
198
  }
@@ -30,6 +30,10 @@ export interface TriggerSchedule {
30
30
  conditions?: TriggerCondition[];
31
31
  /** What the AI should generate or schedule when this fires */
32
32
  content?: TriggerContent;
33
+ /** Send a push notification when the job completes */
34
+ notifyOnComplete?: boolean;
35
+ /** Set to true by the backend when the job runs; cleared by the client after displaying */
36
+ hasUnviewedExecution?: boolean;
33
37
  }
34
38
 
35
39
  export interface DayPlanMeal {
@@ -199,6 +199,8 @@ export interface Notifications {
199
199
  calendar?: CalendarNotification;
200
200
  satisfaction?: boolean;
201
201
  peaksDipsDetails?: PeaksDipsDetails;
202
+ /** Notify the user when an auto-scheduled routine job completes */
203
+ scheduledPlanComplete?: boolean;
202
204
  }
203
205
 
204
206
  export interface CalendarNotification {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.11.10",
3
+ "version": "1.11.12",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {