@nikthegeek/dreamsforlittles-shared 0.15.2 → 0.16.0

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.
Files changed (184) hide show
  1. package/dist/access.d.ts +216 -3
  2. package/dist/access.js +6 -1
  3. package/dist/access.js.map +1 -1
  4. package/dist/activity-import-readers.d.ts +18 -0
  5. package/dist/activity-import-readers.js +26 -0
  6. package/dist/activity-import-readers.js.map +1 -0
  7. package/dist/admin.d.ts +526 -23
  8. package/dist/analysis-teaser.test.d.ts +1 -0
  9. package/dist/analysis-teaser.test.js +22 -0
  10. package/dist/analysis-teaser.test.js.map +1 -0
  11. package/dist/analysis.d.ts +638 -26
  12. package/dist/analysis.js +7 -0
  13. package/dist/analysis.js.map +1 -1
  14. package/dist/archive-zip.d.ts +5 -0
  15. package/dist/archive-zip.js +39 -0
  16. package/dist/archive-zip.js.map +1 -0
  17. package/dist/auth.d.ts +68 -0
  18. package/dist/auth.js +2 -0
  19. package/dist/auth.js.map +1 -1
  20. package/dist/booking-coach-setup.d.ts +385 -0
  21. package/dist/booking-coach-setup.js +48 -0
  22. package/dist/booking-coach-setup.js.map +1 -0
  23. package/dist/booking-embed-preferences.d.ts +58 -0
  24. package/dist/booking-embed-preferences.js +17 -0
  25. package/dist/booking-embed-preferences.js.map +1 -0
  26. package/dist/booking-enquiries.d.ts +10 -10
  27. package/dist/booking-family-email-content.d.ts +2 -2
  28. package/dist/booking-family-scope.d.ts +29 -0
  29. package/dist/booking-family-scope.js +6 -0
  30. package/dist/booking-family-scope.js.map +1 -0
  31. package/dist/booking-forms.d.ts +6 -6
  32. package/dist/booking-system.d.ts +845 -323
  33. package/dist/booking-system.js +96 -9
  34. package/dist/booking-system.js.map +1 -1
  35. package/dist/booking-system.test.js +21 -0
  36. package/dist/booking-system.test.js.map +1 -1
  37. package/dist/booking-team-selection.d.ts +11 -0
  38. package/dist/booking-team-selection.js +6 -0
  39. package/dist/booking-team-selection.js.map +1 -0
  40. package/dist/booking-team.d.ts +196 -0
  41. package/dist/booking-team.js +23 -0
  42. package/dist/booking-team.js.map +1 -0
  43. package/dist/calendar-connections.d.ts +6 -6
  44. package/dist/chat-archives.d.ts +100 -0
  45. package/dist/chat-archives.js +10 -0
  46. package/dist/chat-archives.js.map +1 -0
  47. package/dist/coach-activity-notifications.d.ts +36 -36
  48. package/dist/coach-family-chat-photos.d.ts +9 -9
  49. package/dist/coach-family-chat-voice-notes.d.ts +4 -4
  50. package/dist/coach-family-chat.d.ts +87 -59
  51. package/dist/coach-family-chat.js +10 -2
  52. package/dist/coach-family-chat.js.map +1 -1
  53. package/dist/coach-family-chat.test.js +18 -0
  54. package/dist/coach-family-chat.test.js.map +1 -1
  55. package/dist/coach-family-roster.d.ts +39 -0
  56. package/dist/coach-family-roster.js +63 -0
  57. package/dist/coach-family-roster.js.map +1 -0
  58. package/dist/coach-messaging-policy.d.ts +219 -0
  59. package/dist/coach-messaging-policy.js +24 -0
  60. package/dist/coach-messaging-policy.js.map +1 -0
  61. package/dist/coach-portal-link.test.d.ts +1 -0
  62. package/dist/coach-portal-link.test.js +35 -0
  63. package/dist/coach-portal-link.test.js.map +1 -0
  64. package/dist/coach-sleep-plan-templates.d.ts +531 -0
  65. package/dist/coach-sleep-plan-templates.js +32 -0
  66. package/dist/coach-sleep-plan-templates.js.map +1 -0
  67. package/dist/coach-sleep-plans.d.ts +985 -0
  68. package/dist/coach-sleep-plans.js +9 -0
  69. package/dist/coach-sleep-plans.js.map +1 -0
  70. package/dist/coach-today.d.ts +206 -0
  71. package/dist/coach-today.js +33 -0
  72. package/dist/coach-today.js.map +1 -0
  73. package/dist/coach.d.ts +6373 -1192
  74. package/dist/coach.js +63 -1
  75. package/dist/coach.js.map +1 -1
  76. package/dist/enums.d.ts +2 -2
  77. package/dist/enums.js +10 -2
  78. package/dist/enums.js.map +1 -1
  79. package/dist/family-account-retention.d.ts +57 -0
  80. package/dist/family-account-retention.js +14 -0
  81. package/dist/family-account-retention.js.map +1 -0
  82. package/dist/family-artifact-summary.d.ts +49 -0
  83. package/dist/family-artifact-summary.js +28 -0
  84. package/dist/family-artifact-summary.js.map +1 -0
  85. package/dist/family-consent.d.ts +39 -0
  86. package/dist/family-consent.js +20 -0
  87. package/dist/family-consent.js.map +1 -0
  88. package/dist/family-invitations.d.ts +195 -14
  89. package/dist/family-invitations.js +21 -0
  90. package/dist/family-invitations.js.map +1 -1
  91. package/dist/family-profile-artifacts.d.ts +84 -57
  92. package/dist/family-profile-artifacts.js +11 -0
  93. package/dist/family-profile-artifacts.js.map +1 -1
  94. package/dist/family-recovery.d.ts +123 -0
  95. package/dist/family-recovery.js +13 -0
  96. package/dist/family-recovery.js.map +1 -0
  97. package/dist/family-retention-policy.d.ts +65 -0
  98. package/dist/family-retention-policy.js +41 -0
  99. package/dist/family-retention-policy.js.map +1 -0
  100. package/dist/family.d.ts +17669 -1810
  101. package/dist/family.js +112 -13
  102. package/dist/family.js.map +1 -1
  103. package/dist/family.test.js +107 -1
  104. package/dist/family.test.js.map +1 -1
  105. package/dist/files.d.ts +4 -4
  106. package/dist/history-export-csv.d.ts +5 -0
  107. package/dist/history-export-csv.js +63 -0
  108. package/dist/history-export-csv.js.map +1 -0
  109. package/dist/history-export.d.ts +605 -0
  110. package/dist/history-export.js +40 -0
  111. package/dist/history-export.js.map +1 -0
  112. package/dist/huckleberry-import.d.ts +452 -0
  113. package/dist/huckleberry-import.js +37 -0
  114. package/dist/huckleberry-import.js.map +1 -0
  115. package/dist/index.d.ts +30 -0
  116. package/dist/index.js +30 -0
  117. package/dist/index.js.map +1 -1
  118. package/dist/invites.d.ts +63 -10
  119. package/dist/invites.js +5 -2
  120. package/dist/invites.js.map +1 -1
  121. package/dist/lead-insights.d.ts +1242 -51
  122. package/dist/lead-insights.js +53 -2
  123. package/dist/lead-insights.js.map +1 -1
  124. package/dist/lead-insights.test.js +35 -1
  125. package/dist/lead-insights.test.js.map +1 -1
  126. package/dist/lead-management.d.ts +1252 -96
  127. package/dist/lead-management.js +59 -5
  128. package/dist/lead-management.js.map +1 -1
  129. package/dist/lead-management.test.js +54 -0
  130. package/dist/lead-management.test.js.map +1 -1
  131. package/dist/milestone-photos.d.ts +492 -0
  132. package/dist/milestone-photos.js +35 -0
  133. package/dist/milestone-photos.js.map +1 -0
  134. package/dist/milestone-photos.test.d.ts +1 -0
  135. package/dist/milestone-photos.test.js +11 -0
  136. package/dist/milestone-photos.test.js.map +1 -0
  137. package/dist/milestones.d.ts +28 -28
  138. package/dist/native-timer-state.d.ts +7182 -0
  139. package/dist/native-timer-state.js +104 -0
  140. package/dist/native-timer-state.js.map +1 -0
  141. package/dist/parent-check-ins.d.ts +196 -0
  142. package/dist/parent-check-ins.js +37 -0
  143. package/dist/parent-check-ins.js.map +1 -0
  144. package/dist/parent-check-ins.test.d.ts +1 -0
  145. package/dist/parent-check-ins.test.js +27 -0
  146. package/dist/parent-check-ins.test.js.map +1 -0
  147. package/dist/practice-bookings.d.ts +261 -0
  148. package/dist/practice-bookings.js +22 -0
  149. package/dist/practice-bookings.js.map +1 -0
  150. package/dist/practice-insights.d.ts +437 -0
  151. package/dist/practice-insights.js +42 -0
  152. package/dist/practice-insights.js.map +1 -0
  153. package/dist/practice-profile.d.ts +22 -0
  154. package/dist/practice-profile.js +4 -0
  155. package/dist/practice-profile.js.map +1 -0
  156. package/dist/practice-teams.d.ts +1259 -0
  157. package/dist/practice-teams.js +100 -0
  158. package/dist/practice-teams.js.map +1 -0
  159. package/dist/product-analytics.d.ts +101 -68
  160. package/dist/product-analytics.js +18 -1
  161. package/dist/product-analytics.js.map +1 -1
  162. package/dist/questionnaire-imports.d.ts +5 -5
  163. package/dist/questionnaire-photos.d.ts +4 -4
  164. package/dist/sleep-awake-state.d.ts +191 -0
  165. package/dist/sleep-awake-state.js +25 -0
  166. package/dist/sleep-awake-state.js.map +1 -0
  167. package/dist/sleep-awake-state.test.d.ts +1 -0
  168. package/dist/sleep-awake-state.test.js +31 -0
  169. package/dist/sleep-awake-state.test.js.map +1 -0
  170. package/dist/sleep-completed-night.d.ts +2223 -0
  171. package/dist/sleep-completed-night.js +31 -0
  172. package/dist/sleep-completed-night.js.map +1 -0
  173. package/dist/sleep-methods.d.ts +15 -0
  174. package/dist/sleep-methods.js +9 -0
  175. package/dist/sleep-methods.js.map +1 -0
  176. package/dist/subscription-cancellation-feedback.d.ts +24 -24
  177. package/dist/support-faqs.d.ts +6 -6
  178. package/dist/support-tickets.d.ts +18 -18
  179. package/dist/trial-cards.test.d.ts +1 -0
  180. package/dist/trial-cards.test.js +30 -0
  181. package/dist/trial-cards.test.js.map +1 -0
  182. package/dist/website-feedback.d.ts +8 -8
  183. package/dist/zoom-meetings.d.ts +4 -4
  184. package/package.json +1 -1
@@ -8,30 +8,72 @@ export declare const analysisActivitiesQuerySchema: z.ZodEffects<z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  babyId: string;
10
10
  familyUserId?: string | undefined;
11
- activityType?: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
11
+ activityType?: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
12
12
  from?: string | undefined;
13
13
  to?: string | undefined;
14
14
  }, {
15
15
  babyId: string;
16
16
  familyUserId?: string | undefined;
17
- activityType?: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
17
+ activityType?: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
18
18
  from?: string | undefined;
19
19
  to?: string | undefined;
20
20
  }>, {
21
21
  babyId: string;
22
22
  familyUserId?: string | undefined;
23
- activityType?: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
23
+ activityType?: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
24
24
  from?: string | undefined;
25
25
  to?: string | undefined;
26
26
  }, {
27
27
  babyId: string;
28
28
  familyUserId?: string | undefined;
29
- activityType?: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
29
+ activityType?: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids" | undefined;
30
30
  from?: string | undefined;
31
31
  to?: string | undefined;
32
32
  }>;
33
33
  export declare const analysisActivitiesResponseSchema: z.ZodObject<{
34
- activities: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
34
+ activities: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
35
+ importBatchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ importSource: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"huckleberry">>>;
37
+ importContext: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
+ breastfeed: z.ZodOptional<z.ZodObject<{
39
+ totalMinutes: z.ZodNullable<z.ZodNumber>;
40
+ leftMinutes: z.ZodNullable<z.ZodNumber>;
41
+ rightMinutes: z.ZodNullable<z.ZodNumber>;
42
+ }, "strict", z.ZodTypeAny, {
43
+ totalMinutes: number | null;
44
+ leftMinutes: number | null;
45
+ rightMinutes: number | null;
46
+ }, {
47
+ totalMinutes: number | null;
48
+ leftMinutes: number | null;
49
+ rightMinutes: number | null;
50
+ }>>;
51
+ sleep: z.ZodOptional<z.ZodObject<{
52
+ environment: z.ZodNullable<z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>>;
53
+ }, "strict", z.ZodTypeAny, {
54
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
55
+ }, {
56
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
57
+ }>>;
58
+ }, "strict", z.ZodTypeAny, {
59
+ breastfeed?: {
60
+ totalMinutes: number | null;
61
+ leftMinutes: number | null;
62
+ rightMinutes: number | null;
63
+ } | undefined;
64
+ sleep?: {
65
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
66
+ } | undefined;
67
+ }, {
68
+ breastfeed?: {
69
+ totalMinutes: number | null;
70
+ leftMinutes: number | null;
71
+ rightMinutes: number | null;
72
+ } | undefined;
73
+ sleep?: {
74
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
75
+ } | undefined;
76
+ }>>>;
35
77
  id: z.ZodString;
36
78
  familyUserId: z.ZodString;
37
79
  babyId: z.ZodString;
@@ -81,18 +123,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
81
123
  }, "strict", z.ZodTypeAny, {
82
124
  type: "day" | "night";
83
125
  date: string;
126
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
84
127
  start: string;
85
128
  end: string;
86
129
  mood: "content" | "restless" | "unsettled" | "wired";
87
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
88
130
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
89
131
  }, {
90
132
  type: "day" | "night";
91
133
  date: string;
134
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
92
135
  start: string;
93
136
  end: string;
94
137
  mood: "content" | "restless" | "unsettled" | "wired";
95
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
96
138
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
97
139
  }>, z.ZodObject<{
98
140
  date: z.ZodString;
@@ -176,25 +218,64 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
176
218
  medicationDose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
219
  solidsFoods: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>>;
178
220
  solidsAcceptance: z.ZodOptional<z.ZodNullable<z.ZodEnum<["loved", "liked", "not-keen-yet"]>>>;
221
+ solidsMeal: z.ZodOptional<z.ZodNullable<z.ZodEnum<["breakfast", "lunch", "dinner", "snack"]>>>;
222
+ solidsResponse: z.ZodOptional<z.ZodNullable<z.ZodEnum<["loved", "liked", "not-keen-yet", "not-sure", "refused"]>>>;
223
+ nappyContext: z.ZodOptional<z.ZodNullable<z.ZodObject<{
224
+ amount: z.ZodOptional<z.ZodNullable<z.ZodEnum<["smear", "palm-sized", "full-nappy", "blowout"]>>>;
225
+ texture: z.ZodOptional<z.ZodNullable<z.ZodEnum<["watery", "seedy", "soft", "formed", "pellets", "mucusy"]>>>;
226
+ colour: z.ZodOptional<z.ZodNullable<z.ZodEnum<["yellow", "orange", "brown", "green"]>>>;
227
+ }, "strict", z.ZodTypeAny, {
228
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
229
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
230
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
231
+ }, {
232
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
233
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
234
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
235
+ }>>>;
236
+ sleepMethods: z.ZodOptional<z.ZodNullable<z.ZodObject<{
237
+ fallAsleep: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodEnum<["fed", "motion", "touch", "held"]>, "many">, ("fed" | "motion" | "touch" | "held")[], ("fed" | "motion" | "touch" | "held")[]>>>;
238
+ backToSleep: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodEnum<["fed", "motion", "touch", "held"]>, "many">, ("fed" | "motion" | "touch" | "held")[], ("fed" | "motion" | "touch" | "held")[]>>>;
239
+ }, "strict", z.ZodTypeAny, {
240
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
241
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
242
+ }, {
243
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
244
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
245
+ }>>>;
179
246
  sleepContext: z.ZodOptional<z.ZodNullable<z.ZodObject<{
180
247
  settled: z.ZodOptional<z.ZodNullable<z.ZodEnum<["content", "unsettled", "wide-awake", "upset"]>>>;
181
248
  timeToFallAsleep: z.ZodOptional<z.ZodNullable<z.ZodEnum<["under-10", "10-20", "20-30", "30-plus"]>>>;
182
249
  awakeBefore: z.ZodOptional<z.ZodNullable<z.ZodEnum<["calm", "mixed", "busy"]>>>;
183
250
  activitiesBefore: z.ZodOptional<z.ZodArray<z.ZodEnum<["out-and-about", "visitors", "class-or-group", "nursery", "car-or-pram", "quiet-play-at-home"]>, "many">>;
184
251
  moodOnWaking: z.ZodOptional<z.ZodNullable<z.ZodEnum<["content", "unsettled", "upset"]>>>;
252
+ wake: z.ZodOptional<z.ZodObject<{
253
+ reasons: z.ZodArray<z.ZodEnum<["fed", "resettled", "nappy"]>, "many">;
254
+ }, "strict", z.ZodTypeAny, {
255
+ reasons: ("fed" | "resettled" | "nappy")[];
256
+ }, {
257
+ reasons: ("fed" | "resettled" | "nappy")[];
258
+ }>>;
185
259
  }, "strict", z.ZodTypeAny, {
186
260
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
187
261
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
188
262
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
189
263
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
190
264
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
265
+ wake?: {
266
+ reasons: ("fed" | "resettled" | "nappy")[];
267
+ } | undefined;
191
268
  }, {
192
269
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
193
270
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
194
271
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
195
272
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
196
273
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
274
+ wake?: {
275
+ reasons: ("fed" | "resettled" | "nappy")[];
276
+ } | undefined;
197
277
  }>>>;
278
+ sleepNightId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
279
  breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
199
280
  schemaVersion: z.ZodLiteral<1>;
200
281
  segments: z.ZodArray<z.ZodObject<{
@@ -330,7 +411,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
330
411
  createdAt: string;
331
412
  updatedAt: string;
332
413
  familyUserId: string;
333
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
414
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
334
415
  occurredAt: string;
335
416
  babyId: string;
336
417
  details: {
@@ -347,10 +428,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
347
428
  } | {
348
429
  type: "day" | "night";
349
430
  date: string;
431
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
350
432
  start: string;
351
433
  end: string;
352
434
  mood: "content" | "restless" | "unsettled" | "wired";
353
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
354
435
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
355
436
  } | {
356
437
  type: ("dirty" | "wet")[];
@@ -381,6 +462,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
381
462
  createdByUserId: string;
382
463
  updatedByUserId: string;
383
464
  timeZone?: string | null | undefined;
465
+ importContext?: {
466
+ breastfeed?: {
467
+ totalMinutes: number | null;
468
+ leftMinutes: number | null;
469
+ rightMinutes: number | null;
470
+ } | undefined;
471
+ sleep?: {
472
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
473
+ } | undefined;
474
+ } | null | undefined;
475
+ importSource?: "huckleberry" | null | undefined;
476
+ importBatchId?: string | null | undefined;
384
477
  localDate?: string | null | undefined;
385
478
  note?: string | null | undefined;
386
479
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -389,13 +482,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
389
482
  medicationDose?: string | null | undefined;
390
483
  solidsFoods?: string[] | null | undefined;
391
484
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
485
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
486
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
487
+ nappyContext?: {
488
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
489
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
490
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
491
+ } | null | undefined;
492
+ sleepMethods?: {
493
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
494
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
495
+ } | null | undefined;
392
496
  sleepContext?: {
393
497
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
394
498
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
395
499
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
396
500
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
397
501
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
502
+ wake?: {
503
+ reasons: ("fed" | "resettled" | "nappy")[];
504
+ } | undefined;
398
505
  } | null | undefined;
506
+ sleepNightId?: string | null | undefined;
399
507
  breastfeedSession?: {
400
508
  schemaVersion: 1;
401
509
  segments: {
@@ -422,7 +530,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
422
530
  createdAt: string;
423
531
  updatedAt: string;
424
532
  familyUserId: string;
425
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
533
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
426
534
  occurredAt: string;
427
535
  babyId: string;
428
536
  details: {
@@ -439,10 +547,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
439
547
  } | {
440
548
  type: "day" | "night";
441
549
  date: string;
550
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
442
551
  start: string;
443
552
  end: string;
444
553
  mood: "content" | "restless" | "unsettled" | "wired";
445
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
446
554
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
447
555
  } | {
448
556
  type: ("dirty" | "wet")[];
@@ -473,6 +581,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
473
581
  createdByUserId: string;
474
582
  updatedByUserId: string;
475
583
  timeZone?: string | null | undefined;
584
+ importContext?: {
585
+ breastfeed?: {
586
+ totalMinutes: number | null;
587
+ leftMinutes: number | null;
588
+ rightMinutes: number | null;
589
+ } | undefined;
590
+ sleep?: {
591
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
592
+ } | undefined;
593
+ } | null | undefined;
594
+ importSource?: "huckleberry" | null | undefined;
595
+ importBatchId?: string | null | undefined;
476
596
  localDate?: string | null | undefined;
477
597
  note?: string | null | undefined;
478
598
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -481,13 +601,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
481
601
  medicationDose?: string | null | undefined;
482
602
  solidsFoods?: string[] | null | undefined;
483
603
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
604
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
605
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
606
+ nappyContext?: {
607
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
608
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
609
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
610
+ } | null | undefined;
611
+ sleepMethods?: {
612
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
613
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
614
+ } | null | undefined;
484
615
  sleepContext?: {
485
616
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
486
617
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
487
618
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
488
619
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
489
620
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
621
+ wake?: {
622
+ reasons: ("fed" | "resettled" | "nappy")[];
623
+ } | undefined;
490
624
  } | null | undefined;
625
+ sleepNightId?: string | null | undefined;
491
626
  breastfeedSession?: {
492
627
  schemaVersion: 1;
493
628
  segments: {
@@ -514,7 +649,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
514
649
  createdAt: string;
515
650
  updatedAt: string;
516
651
  familyUserId: string;
517
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
652
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
518
653
  occurredAt: string;
519
654
  babyId: string;
520
655
  details: {
@@ -531,10 +666,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
531
666
  } | {
532
667
  type: "day" | "night";
533
668
  date: string;
669
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
534
670
  start: string;
535
671
  end: string;
536
672
  mood: "content" | "restless" | "unsettled" | "wired";
537
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
538
673
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
539
674
  } | {
540
675
  type: ("dirty" | "wet")[];
@@ -565,6 +700,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
565
700
  createdByUserId: string;
566
701
  updatedByUserId: string;
567
702
  timeZone?: string | null | undefined;
703
+ importContext?: {
704
+ breastfeed?: {
705
+ totalMinutes: number | null;
706
+ leftMinutes: number | null;
707
+ rightMinutes: number | null;
708
+ } | undefined;
709
+ sleep?: {
710
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
711
+ } | undefined;
712
+ } | null | undefined;
713
+ importSource?: "huckleberry" | null | undefined;
714
+ importBatchId?: string | null | undefined;
568
715
  localDate?: string | null | undefined;
569
716
  note?: string | null | undefined;
570
717
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -573,13 +720,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
573
720
  medicationDose?: string | null | undefined;
574
721
  solidsFoods?: string[] | null | undefined;
575
722
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
723
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
724
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
725
+ nappyContext?: {
726
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
727
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
728
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
729
+ } | null | undefined;
730
+ sleepMethods?: {
731
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
732
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
733
+ } | null | undefined;
576
734
  sleepContext?: {
577
735
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
578
736
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
579
737
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
580
738
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
581
739
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
740
+ wake?: {
741
+ reasons: ("fed" | "resettled" | "nappy")[];
742
+ } | undefined;
582
743
  } | null | undefined;
744
+ sleepNightId?: string | null | undefined;
583
745
  breastfeedSession?: {
584
746
  schemaVersion: 1;
585
747
  segments: {
@@ -606,7 +768,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
606
768
  createdAt: string;
607
769
  updatedAt: string;
608
770
  familyUserId: string;
609
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
771
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
610
772
  occurredAt: string;
611
773
  babyId: string;
612
774
  details: {
@@ -623,10 +785,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
623
785
  } | {
624
786
  type: "day" | "night";
625
787
  date: string;
788
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
626
789
  start: string;
627
790
  end: string;
628
791
  mood: "content" | "restless" | "unsettled" | "wired";
629
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
630
792
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
631
793
  } | {
632
794
  type: ("dirty" | "wet")[];
@@ -657,6 +819,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
657
819
  createdByUserId: string;
658
820
  updatedByUserId: string;
659
821
  timeZone?: string | null | undefined;
822
+ importContext?: {
823
+ breastfeed?: {
824
+ totalMinutes: number | null;
825
+ leftMinutes: number | null;
826
+ rightMinutes: number | null;
827
+ } | undefined;
828
+ sleep?: {
829
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
830
+ } | undefined;
831
+ } | null | undefined;
832
+ importSource?: "huckleberry" | null | undefined;
833
+ importBatchId?: string | null | undefined;
660
834
  localDate?: string | null | undefined;
661
835
  note?: string | null | undefined;
662
836
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -665,13 +839,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
665
839
  medicationDose?: string | null | undefined;
666
840
  solidsFoods?: string[] | null | undefined;
667
841
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
842
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
843
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
844
+ nappyContext?: {
845
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
846
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
847
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
848
+ } | null | undefined;
849
+ sleepMethods?: {
850
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
851
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
852
+ } | null | undefined;
668
853
  sleepContext?: {
669
854
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
670
855
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
671
856
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
672
857
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
673
858
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
859
+ wake?: {
860
+ reasons: ("fed" | "resettled" | "nappy")[];
861
+ } | undefined;
674
862
  } | null | undefined;
863
+ sleepNightId?: string | null | undefined;
675
864
  breastfeedSession?: {
676
865
  schemaVersion: 1;
677
866
  segments: {
@@ -698,7 +887,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
698
887
  createdAt: string;
699
888
  updatedAt: string;
700
889
  familyUserId: string;
701
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
890
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
702
891
  occurredAt: string;
703
892
  babyId: string;
704
893
  details: {
@@ -715,10 +904,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
715
904
  } | {
716
905
  type: "day" | "night";
717
906
  date: string;
907
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
718
908
  start: string;
719
909
  end: string;
720
910
  mood: "content" | "restless" | "unsettled" | "wired";
721
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
722
911
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
723
912
  } | {
724
913
  type: ("dirty" | "wet")[];
@@ -749,6 +938,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
749
938
  createdByUserId: string;
750
939
  updatedByUserId: string;
751
940
  timeZone?: string | null | undefined;
941
+ importContext?: {
942
+ breastfeed?: {
943
+ totalMinutes: number | null;
944
+ leftMinutes: number | null;
945
+ rightMinutes: number | null;
946
+ } | undefined;
947
+ sleep?: {
948
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
949
+ } | undefined;
950
+ } | null | undefined;
951
+ importSource?: "huckleberry" | null | undefined;
952
+ importBatchId?: string | null | undefined;
752
953
  localDate?: string | null | undefined;
753
954
  note?: string | null | undefined;
754
955
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -757,13 +958,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
757
958
  medicationDose?: string | null | undefined;
758
959
  solidsFoods?: string[] | null | undefined;
759
960
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
961
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
962
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
963
+ nappyContext?: {
964
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
965
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
966
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
967
+ } | null | undefined;
968
+ sleepMethods?: {
969
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
970
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
971
+ } | null | undefined;
760
972
  sleepContext?: {
761
973
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
762
974
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
763
975
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
764
976
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
765
977
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
978
+ wake?: {
979
+ reasons: ("fed" | "resettled" | "nappy")[];
980
+ } | undefined;
766
981
  } | null | undefined;
982
+ sleepNightId?: string | null | undefined;
767
983
  breastfeedSession?: {
768
984
  schemaVersion: 1;
769
985
  segments: {
@@ -790,7 +1006,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
790
1006
  createdAt: string;
791
1007
  updatedAt: string;
792
1008
  familyUserId: string;
793
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1009
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
794
1010
  occurredAt: string;
795
1011
  babyId: string;
796
1012
  details: {
@@ -807,10 +1023,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
807
1023
  } | {
808
1024
  type: "day" | "night";
809
1025
  date: string;
1026
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
810
1027
  start: string;
811
1028
  end: string;
812
1029
  mood: "content" | "restless" | "unsettled" | "wired";
813
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
814
1030
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
815
1031
  } | {
816
1032
  type: ("dirty" | "wet")[];
@@ -841,6 +1057,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
841
1057
  createdByUserId: string;
842
1058
  updatedByUserId: string;
843
1059
  timeZone?: string | null | undefined;
1060
+ importContext?: {
1061
+ breastfeed?: {
1062
+ totalMinutes: number | null;
1063
+ leftMinutes: number | null;
1064
+ rightMinutes: number | null;
1065
+ } | undefined;
1066
+ sleep?: {
1067
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1068
+ } | undefined;
1069
+ } | null | undefined;
1070
+ importSource?: "huckleberry" | null | undefined;
1071
+ importBatchId?: string | null | undefined;
844
1072
  localDate?: string | null | undefined;
845
1073
  note?: string | null | undefined;
846
1074
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -849,13 +1077,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
849
1077
  medicationDose?: string | null | undefined;
850
1078
  solidsFoods?: string[] | null | undefined;
851
1079
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1080
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1081
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1082
+ nappyContext?: {
1083
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1084
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1085
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1086
+ } | null | undefined;
1087
+ sleepMethods?: {
1088
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1089
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1090
+ } | null | undefined;
852
1091
  sleepContext?: {
853
1092
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
854
1093
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
855
1094
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
856
1095
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
857
1096
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1097
+ wake?: {
1098
+ reasons: ("fed" | "resettled" | "nappy")[];
1099
+ } | undefined;
858
1100
  } | null | undefined;
1101
+ sleepNightId?: string | null | undefined;
859
1102
  breastfeedSession?: {
860
1103
  schemaVersion: 1;
861
1104
  segments: {
@@ -882,7 +1125,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
882
1125
  createdAt: string;
883
1126
  updatedAt: string;
884
1127
  familyUserId: string;
885
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1128
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
886
1129
  occurredAt: string;
887
1130
  babyId: string;
888
1131
  details: {
@@ -899,10 +1142,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
899
1142
  } | {
900
1143
  type: "day" | "night";
901
1144
  date: string;
1145
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
902
1146
  start: string;
903
1147
  end: string;
904
1148
  mood: "content" | "restless" | "unsettled" | "wired";
905
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
906
1149
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
907
1150
  } | {
908
1151
  type: ("dirty" | "wet")[];
@@ -933,6 +1176,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
933
1176
  createdByUserId: string;
934
1177
  updatedByUserId: string;
935
1178
  timeZone?: string | null | undefined;
1179
+ importContext?: {
1180
+ breastfeed?: {
1181
+ totalMinutes: number | null;
1182
+ leftMinutes: number | null;
1183
+ rightMinutes: number | null;
1184
+ } | undefined;
1185
+ sleep?: {
1186
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1187
+ } | undefined;
1188
+ } | null | undefined;
1189
+ importSource?: "huckleberry" | null | undefined;
1190
+ importBatchId?: string | null | undefined;
936
1191
  localDate?: string | null | undefined;
937
1192
  note?: string | null | undefined;
938
1193
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -941,13 +1196,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
941
1196
  medicationDose?: string | null | undefined;
942
1197
  solidsFoods?: string[] | null | undefined;
943
1198
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1199
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1200
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1201
+ nappyContext?: {
1202
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1203
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1204
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1205
+ } | null | undefined;
1206
+ sleepMethods?: {
1207
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1208
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1209
+ } | null | undefined;
944
1210
  sleepContext?: {
945
1211
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
946
1212
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
947
1213
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
948
1214
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
949
1215
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1216
+ wake?: {
1217
+ reasons: ("fed" | "resettled" | "nappy")[];
1218
+ } | undefined;
950
1219
  } | null | undefined;
1220
+ sleepNightId?: string | null | undefined;
951
1221
  breastfeedSession?: {
952
1222
  schemaVersion: 1;
953
1223
  segments: {
@@ -974,7 +1244,126 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
974
1244
  createdAt: string;
975
1245
  updatedAt: string;
976
1246
  familyUserId: string;
977
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1247
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1248
+ occurredAt: string;
1249
+ babyId: string;
1250
+ details: {
1251
+ date: string;
1252
+ start: string;
1253
+ end: string;
1254
+ side: "left" | "right";
1255
+ } | {
1256
+ type: "breastmilk" | "formula" | "water" | "juice";
1257
+ date: string;
1258
+ unit: "ml" | "oz";
1259
+ time: string;
1260
+ amount: number;
1261
+ } | {
1262
+ type: "day" | "night";
1263
+ date: string;
1264
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
1265
+ start: string;
1266
+ end: string;
1267
+ mood: "content" | "restless" | "unsettled" | "wired";
1268
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
1269
+ } | {
1270
+ type: ("dirty" | "wet")[];
1271
+ date: string;
1272
+ time: string;
1273
+ imageURL?: string | null | undefined;
1274
+ } | {
1275
+ date: string;
1276
+ unit: "ml" | "oz";
1277
+ start: string;
1278
+ end: string;
1279
+ side: "left" | "right";
1280
+ amount: number;
1281
+ } | {
1282
+ date: string;
1283
+ time: string;
1284
+ medicationName: string;
1285
+ } | {
1286
+ date: string;
1287
+ time: string;
1288
+ allergicReaction: boolean;
1289
+ allergicReactionNote?: string | null | undefined;
1290
+ accidentalExposure?: boolean | undefined;
1291
+ accidentalExposureNote?: string | null | undefined;
1292
+ ladderId?: string | null | undefined;
1293
+ ladderStageId?: string | null | undefined;
1294
+ };
1295
+ createdByUserId: string;
1296
+ updatedByUserId: string;
1297
+ timeZone?: string | null | undefined;
1298
+ importContext?: {
1299
+ breastfeed?: {
1300
+ totalMinutes: number | null;
1301
+ leftMinutes: number | null;
1302
+ rightMinutes: number | null;
1303
+ } | undefined;
1304
+ sleep?: {
1305
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1306
+ } | undefined;
1307
+ } | null | undefined;
1308
+ importSource?: "huckleberry" | null | undefined;
1309
+ importBatchId?: string | null | undefined;
1310
+ localDate?: string | null | undefined;
1311
+ note?: string | null | undefined;
1312
+ drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
1313
+ drinkContainer?: "bottle" | "cup" | null | undefined;
1314
+ pumpingSide?: "left" | "right" | "both" | null | undefined;
1315
+ medicationDose?: string | null | undefined;
1316
+ solidsFoods?: string[] | null | undefined;
1317
+ solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1318
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1319
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1320
+ nappyContext?: {
1321
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1322
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1323
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1324
+ } | null | undefined;
1325
+ sleepMethods?: {
1326
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1327
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1328
+ } | null | undefined;
1329
+ sleepContext?: {
1330
+ settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
1331
+ timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
1332
+ awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
1333
+ activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
1334
+ moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1335
+ wake?: {
1336
+ reasons: ("fed" | "resettled" | "nappy")[];
1337
+ } | undefined;
1338
+ } | null | undefined;
1339
+ sleepNightId?: string | null | undefined;
1340
+ breastfeedSession?: {
1341
+ schemaVersion: 1;
1342
+ segments: {
1343
+ start: string;
1344
+ end: string;
1345
+ side: "left" | "right";
1346
+ }[];
1347
+ } | {
1348
+ schemaVersion: 2;
1349
+ phases: ({
1350
+ kind: "feeding";
1351
+ start: string;
1352
+ end: string;
1353
+ side: "left" | "right";
1354
+ } | {
1355
+ kind: "pause";
1356
+ start: string;
1357
+ end: string;
1358
+ })[];
1359
+ } | null | undefined;
1360
+ allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
1361
+ }>, {
1362
+ id: string;
1363
+ createdAt: string;
1364
+ updatedAt: string;
1365
+ familyUserId: string;
1366
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
978
1367
  occurredAt: string;
979
1368
  babyId: string;
980
1369
  details: {
@@ -991,10 +1380,129 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
991
1380
  } | {
992
1381
  type: "day" | "night";
993
1382
  date: string;
1383
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
994
1384
  start: string;
995
1385
  end: string;
996
1386
  mood: "content" | "restless" | "unsettled" | "wired";
1387
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
1388
+ } | {
1389
+ type: ("dirty" | "wet")[];
1390
+ date: string;
1391
+ time: string;
1392
+ imageURL?: string | null | undefined;
1393
+ } | {
1394
+ date: string;
1395
+ unit: "ml" | "oz";
1396
+ start: string;
1397
+ end: string;
1398
+ side: "left" | "right";
1399
+ amount: number;
1400
+ } | {
1401
+ date: string;
1402
+ time: string;
1403
+ medicationName: string;
1404
+ } | {
1405
+ date: string;
1406
+ time: string;
1407
+ allergicReaction: boolean;
1408
+ allergicReactionNote?: string | null | undefined;
1409
+ accidentalExposure?: boolean | undefined;
1410
+ accidentalExposureNote?: string | null | undefined;
1411
+ ladderId?: string | null | undefined;
1412
+ ladderStageId?: string | null | undefined;
1413
+ };
1414
+ createdByUserId: string;
1415
+ updatedByUserId: string;
1416
+ timeZone?: string | null | undefined;
1417
+ importContext?: {
1418
+ breastfeed?: {
1419
+ totalMinutes: number | null;
1420
+ leftMinutes: number | null;
1421
+ rightMinutes: number | null;
1422
+ } | undefined;
1423
+ sleep?: {
1424
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1425
+ } | undefined;
1426
+ } | null | undefined;
1427
+ importSource?: "huckleberry" | null | undefined;
1428
+ importBatchId?: string | null | undefined;
1429
+ localDate?: string | null | undefined;
1430
+ note?: string | null | undefined;
1431
+ drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
1432
+ drinkContainer?: "bottle" | "cup" | null | undefined;
1433
+ pumpingSide?: "left" | "right" | "both" | null | undefined;
1434
+ medicationDose?: string | null | undefined;
1435
+ solidsFoods?: string[] | null | undefined;
1436
+ solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1437
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1438
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1439
+ nappyContext?: {
1440
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1441
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1442
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1443
+ } | null | undefined;
1444
+ sleepMethods?: {
1445
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1446
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1447
+ } | null | undefined;
1448
+ sleepContext?: {
1449
+ settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
1450
+ timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
1451
+ awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
1452
+ activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
1453
+ moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1454
+ wake?: {
1455
+ reasons: ("fed" | "resettled" | "nappy")[];
1456
+ } | undefined;
1457
+ } | null | undefined;
1458
+ sleepNightId?: string | null | undefined;
1459
+ breastfeedSession?: {
1460
+ schemaVersion: 1;
1461
+ segments: {
1462
+ start: string;
1463
+ end: string;
1464
+ side: "left" | "right";
1465
+ }[];
1466
+ } | {
1467
+ schemaVersion: 2;
1468
+ phases: ({
1469
+ kind: "feeding";
1470
+ start: string;
1471
+ end: string;
1472
+ side: "left" | "right";
1473
+ } | {
1474
+ kind: "pause";
1475
+ start: string;
1476
+ end: string;
1477
+ })[];
1478
+ } | null | undefined;
1479
+ allergenIds?: ("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[] | undefined;
1480
+ }, {
1481
+ id: string;
1482
+ createdAt: string;
1483
+ updatedAt: string;
1484
+ familyUserId: string;
1485
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1486
+ occurredAt: string;
1487
+ babyId: string;
1488
+ details: {
1489
+ date: string;
1490
+ start: string;
1491
+ end: string;
1492
+ side: "left" | "right";
1493
+ } | {
1494
+ type: "breastmilk" | "formula" | "water" | "juice";
1495
+ date: string;
1496
+ unit: "ml" | "oz";
1497
+ time: string;
1498
+ amount: number;
1499
+ } | {
1500
+ type: "day" | "night";
1501
+ date: string;
997
1502
  environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
1503
+ start: string;
1504
+ end: string;
1505
+ mood: "content" | "restless" | "unsettled" | "wired";
998
1506
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
999
1507
  } | {
1000
1508
  type: ("dirty" | "wet")[];
@@ -1025,6 +1533,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1025
1533
  createdByUserId: string;
1026
1534
  updatedByUserId: string;
1027
1535
  timeZone?: string | null | undefined;
1536
+ importContext?: {
1537
+ breastfeed?: {
1538
+ totalMinutes: number | null;
1539
+ leftMinutes: number | null;
1540
+ rightMinutes: number | null;
1541
+ } | undefined;
1542
+ sleep?: {
1543
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1544
+ } | undefined;
1545
+ } | null | undefined;
1546
+ importSource?: "huckleberry" | null | undefined;
1547
+ importBatchId?: string | null | undefined;
1028
1548
  localDate?: string | null | undefined;
1029
1549
  note?: string | null | undefined;
1030
1550
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -1033,13 +1553,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1033
1553
  medicationDose?: string | null | undefined;
1034
1554
  solidsFoods?: string[] | null | undefined;
1035
1555
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1556
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1557
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1558
+ nappyContext?: {
1559
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1560
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1561
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1562
+ } | null | undefined;
1563
+ sleepMethods?: {
1564
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1565
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1566
+ } | null | undefined;
1036
1567
  sleepContext?: {
1037
1568
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
1038
1569
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
1039
1570
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
1040
1571
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
1041
1572
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1573
+ wake?: {
1574
+ reasons: ("fed" | "resettled" | "nappy")[];
1575
+ } | undefined;
1042
1576
  } | null | undefined;
1577
+ sleepNightId?: string | null | undefined;
1043
1578
  breastfeedSession?: {
1044
1579
  schemaVersion: 1;
1045
1580
  segments: {
@@ -1068,7 +1603,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1068
1603
  createdAt: string;
1069
1604
  updatedAt: string;
1070
1605
  familyUserId: string;
1071
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1606
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1072
1607
  occurredAt: string;
1073
1608
  babyId: string;
1074
1609
  details: {
@@ -1085,10 +1620,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1085
1620
  } | {
1086
1621
  type: "day" | "night";
1087
1622
  date: string;
1623
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
1088
1624
  start: string;
1089
1625
  end: string;
1090
1626
  mood: "content" | "restless" | "unsettled" | "wired";
1091
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
1092
1627
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
1093
1628
  } | {
1094
1629
  type: ("dirty" | "wet")[];
@@ -1119,6 +1654,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1119
1654
  createdByUserId: string;
1120
1655
  updatedByUserId: string;
1121
1656
  timeZone?: string | null | undefined;
1657
+ importContext?: {
1658
+ breastfeed?: {
1659
+ totalMinutes: number | null;
1660
+ leftMinutes: number | null;
1661
+ rightMinutes: number | null;
1662
+ } | undefined;
1663
+ sleep?: {
1664
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1665
+ } | undefined;
1666
+ } | null | undefined;
1667
+ importSource?: "huckleberry" | null | undefined;
1668
+ importBatchId?: string | null | undefined;
1122
1669
  localDate?: string | null | undefined;
1123
1670
  note?: string | null | undefined;
1124
1671
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -1127,13 +1674,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1127
1674
  medicationDose?: string | null | undefined;
1128
1675
  solidsFoods?: string[] | null | undefined;
1129
1676
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1677
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1678
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1679
+ nappyContext?: {
1680
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1681
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1682
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1683
+ } | null | undefined;
1684
+ sleepMethods?: {
1685
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1686
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1687
+ } | null | undefined;
1130
1688
  sleepContext?: {
1131
1689
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
1132
1690
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
1133
1691
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
1134
1692
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
1135
1693
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1694
+ wake?: {
1695
+ reasons: ("fed" | "resettled" | "nappy")[];
1696
+ } | undefined;
1136
1697
  } | null | undefined;
1698
+ sleepNightId?: string | null | undefined;
1137
1699
  breastfeedSession?: {
1138
1700
  schemaVersion: 1;
1139
1701
  segments: {
@@ -1162,7 +1724,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1162
1724
  createdAt: string;
1163
1725
  updatedAt: string;
1164
1726
  familyUserId: string;
1165
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1727
+ activityType: "breastfeed" | "sleep" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
1166
1728
  occurredAt: string;
1167
1729
  babyId: string;
1168
1730
  details: {
@@ -1179,10 +1741,10 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1179
1741
  } | {
1180
1742
  type: "day" | "night";
1181
1743
  date: string;
1744
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
1182
1745
  start: string;
1183
1746
  end: string;
1184
1747
  mood: "content" | "restless" | "unsettled" | "wired";
1185
- environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
1186
1748
  timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
1187
1749
  } | {
1188
1750
  type: ("dirty" | "wet")[];
@@ -1213,6 +1775,18 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1213
1775
  createdByUserId: string;
1214
1776
  updatedByUserId: string;
1215
1777
  timeZone?: string | null | undefined;
1778
+ importContext?: {
1779
+ breastfeed?: {
1780
+ totalMinutes: number | null;
1781
+ leftMinutes: number | null;
1782
+ rightMinutes: number | null;
1783
+ } | undefined;
1784
+ sleep?: {
1785
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
1786
+ } | undefined;
1787
+ } | null | undefined;
1788
+ importSource?: "huckleberry" | null | undefined;
1789
+ importBatchId?: string | null | undefined;
1216
1790
  localDate?: string | null | undefined;
1217
1791
  note?: string | null | undefined;
1218
1792
  drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
@@ -1221,13 +1795,28 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1221
1795
  medicationDose?: string | null | undefined;
1222
1796
  solidsFoods?: string[] | null | undefined;
1223
1797
  solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
1798
+ solidsMeal?: "breakfast" | "lunch" | "dinner" | "snack" | null | undefined;
1799
+ solidsResponse?: "loved" | "liked" | "not-keen-yet" | "not-sure" | "refused" | null | undefined;
1800
+ nappyContext?: {
1801
+ amount?: "smear" | "palm-sized" | "full-nappy" | "blowout" | null | undefined;
1802
+ texture?: "soft" | "watery" | "seedy" | "formed" | "pellets" | "mucusy" | null | undefined;
1803
+ colour?: "yellow" | "orange" | "brown" | "green" | null | undefined;
1804
+ } | null | undefined;
1805
+ sleepMethods?: {
1806
+ fallAsleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1807
+ backToSleep?: ("fed" | "motion" | "touch" | "held")[] | null | undefined;
1808
+ } | null | undefined;
1224
1809
  sleepContext?: {
1225
1810
  settled?: "content" | "unsettled" | "wide-awake" | "upset" | null | undefined;
1226
1811
  timeToFallAsleep?: "under-10" | "10-20" | "20-30" | "30-plus" | null | undefined;
1227
1812
  awakeBefore?: "calm" | "mixed" | "busy" | null | undefined;
1228
1813
  activitiesBefore?: ("out-and-about" | "visitors" | "class-or-group" | "nursery" | "car-or-pram" | "quiet-play-at-home")[] | undefined;
1229
1814
  moodOnWaking?: "content" | "unsettled" | "upset" | null | undefined;
1815
+ wake?: {
1816
+ reasons: ("fed" | "resettled" | "nappy")[];
1817
+ } | undefined;
1230
1818
  } | null | undefined;
1819
+ sleepNightId?: string | null | undefined;
1231
1820
  breastfeedSession?: {
1232
1821
  schemaVersion: 1;
1233
1822
  segments: {
@@ -1253,3 +1842,26 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
1253
1842
  }>;
1254
1843
  export type AnalysisActivitiesQuery = z.infer<typeof analysisActivitiesQuerySchema>;
1255
1844
  export type AnalysisActivitiesResponse = z.infer<typeof analysisActivitiesResponseSchema>;
1845
+ /** Self-family only. The server owns the seven-day window. */
1846
+ export declare const analysisTeaserQuerySchema: z.ZodObject<{
1847
+ babyId: z.ZodString;
1848
+ }, "strict", z.ZodTypeAny, {
1849
+ babyId: string;
1850
+ }, {
1851
+ babyId: string;
1852
+ }>;
1853
+ export declare const analysisTeaserResponseSchema: z.ZodObject<{
1854
+ entryCount: z.ZodNumber;
1855
+ averageSleepMinutes: z.ZodNullable<z.ZodNumber>;
1856
+ dayLevels: z.ZodArray<z.ZodNumber, "many">;
1857
+ }, "strict", z.ZodTypeAny, {
1858
+ entryCount: number;
1859
+ averageSleepMinutes: number | null;
1860
+ dayLevels: number[];
1861
+ }, {
1862
+ entryCount: number;
1863
+ averageSleepMinutes: number | null;
1864
+ dayLevels: number[];
1865
+ }>;
1866
+ export type AnalysisTeaserQuery = z.infer<typeof analysisTeaserQuerySchema>;
1867
+ export type AnalysisTeaserResponse = z.infer<typeof analysisTeaserResponseSchema>;