@demind-inc/core 1.7.71 → 1.7.72

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/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CalendarEvent, CalendarRoutineFrom, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricMealSummary, MetricStressValueSet, PhaseStartEndSet, RichContext, RoutineActivity, NapDetail, SleepDetail, TaskItem, TaskPriority, TodoAppFrom, MealFoodAmount, MetricMealDetailMicros, MetricMealDetailMacros } from "./models";
1
+ import { CalendarEvent, CalendarEventRecurrence, CalendarRoutineFrom, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricMealSummary, MetricStressValueSet, PhaseStartEndSet, RichContext, RoutineActivity, NapDetail, SleepDetail, TaskItem, TaskPriority, TodoAppFrom } from "./models";
2
2
  export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN" | "WHOOP" | "ULTRAHUMAN" | "STRAVA" | "MYFITNESSPAL";
3
3
  export type SupportedTerraSDKType = "APPLE" | "GOOGLE_FIT" | "SAMSUNG_HEALTH" | "FREESTYLE_LIBRE";
4
4
  export type CircadianPhase = "default" | "wakeup_low" | "wakeup_normal" | "morning_high" | "morning_normal" | "morning_low" | "evening_high" | "evening_low" | "evening_normal";
@@ -42,6 +42,8 @@ export interface ScheduledAction {
42
42
  priority?: TaskPriority;
43
43
  actionType?: ScheduledActionType;
44
44
  richContext?: RichContext | null;
45
+ recurrence?: CalendarEventRecurrence;
46
+ seriesId?: string;
45
47
  }
46
48
  export interface ScheduledActionOptions {
47
49
  startDate: string;
@@ -152,12 +154,17 @@ export interface ChatAdjustmentChangeWrapper<T> {
152
154
  before?: Partial<T>;
153
155
  after?: Partial<T>;
154
156
  }
157
+ export interface MealContentItem {
158
+ name: string;
159
+ portion?: string;
160
+ reason?: string;
161
+ }
155
162
  export interface MealContent {
156
163
  title: string;
157
- foodItems?: MealFoodAmount[];
158
- macros?: MetricMealDetailMacros;
159
- micros?: MetricMealDetailMicros;
160
- description?: string;
164
+ rationale: string;
165
+ suggested_items: MealContentItem[];
166
+ macro_focus?: Record<string, number>;
167
+ micro_focus?: string[];
161
168
  }
162
169
  export interface ChatAdjustmentMeal {
163
170
  mealType: MealType;
package/lib/types.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  CalendarEvent,
3
+ CalendarEventRecurrence,
3
4
  CalendarRoutineFrom,
4
5
  CalendarTaskFrom,
5
6
  EMASatisfaction,
@@ -19,9 +20,6 @@ import {
19
20
  TaskItem,
20
21
  TaskPriority,
21
22
  TodoAppFrom,
22
- MealFoodAmount,
23
- MetricMealDetailMicros,
24
- MetricMealDetailMacros,
25
23
  } from "./models";
26
24
 
27
25
  export type SupportedTerraProvidersType =
@@ -104,6 +102,8 @@ export interface ScheduledAction {
104
102
  priority?: TaskPriority;
105
103
  actionType?: ScheduledActionType;
106
104
  richContext?: RichContext | null;
105
+ recurrence?: CalendarEventRecurrence;
106
+ seriesId?: string;
107
107
  }
108
108
 
109
109
  export interface ScheduledActionOptions {
@@ -264,12 +264,18 @@ export interface ChatAdjustmentChangeWrapper<T> {
264
264
  after?: Partial<T>;
265
265
  }
266
266
 
267
+ export interface MealContentItem {
268
+ name: string;
269
+ portion?: string;
270
+ reason?: string;
271
+ }
272
+
267
273
  export interface MealContent {
268
274
  title: string;
269
- foodItems?: MealFoodAmount[];
270
- macros?: MetricMealDetailMacros;
271
- micros?: MetricMealDetailMicros;
272
- description?: string;
275
+ rationale: string;
276
+ suggested_items: MealContentItem[];
277
+ macro_focus?: Record<string, number>;
278
+ micro_focus?: string[];
273
279
  }
274
280
 
275
281
  export interface ChatAdjustmentMeal {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.7.71",
3
+ "version": "1.7.72",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {