@nikthegeek/dreamsforlittles-shared 0.16.0 → 0.17.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.
- package/dist/analysis-teaser.test.js +31 -1
- package/dist/analysis-teaser.test.js.map +1 -1
- package/dist/analysis.d.ts +762 -0
- package/dist/analysis.js +13 -0
- package/dist/analysis.js.map +1 -1
- package/dist/coach-sleep-plan-templates.d.ts +105 -10
- package/dist/coach-sleep-plan-templates.js +2 -2
- package/dist/coach-sleep-plan-templates.js.map +1 -1
- package/dist/coach-sleep-plans.d.ts +88 -4
- package/dist/coach.d.ts +7348 -4
- package/dist/family-profile-artifacts.d.ts +1467 -26
- package/dist/family-profile-artifacts.js +22 -2
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family-sleep-plan.test.js +17 -0
- package/dist/family-sleep-plan.test.js.map +1 -1
- package/dist/family.d.ts +16609 -861
- package/dist/family.js +29 -3
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +43 -1
- package/dist/family.test.js.map +1 -1
- package/dist/history-export-csv.d.ts +2 -2
- package/dist/history-export-csv.js +7 -3
- package/dist/history-export-csv.js.map +1 -1
- package/dist/home-activity-context.d.ts +6396 -0
- package/dist/home-activity-context.js +97 -0
- package/dist/home-activity-context.js.map +1 -0
- package/dist/home-activity-context.test.d.ts +1 -0
- package/dist/home-activity-context.test.js +111 -0
- package/dist/home-activity-context.test.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lead-insights.d.ts +6 -6
- package/dist/milestones.d.ts +244 -0
- package/dist/milestones.js +10 -0
- package/dist/milestones.js.map +1 -1
- package/dist/milestones.test.js +23 -1
- package/dist/milestones.test.js.map +1 -1
- package/dist/native-timer-state.d.ts +1691 -66
- package/dist/practice-insights.d.ts +2 -2
- package/dist/product-analytics.d.ts +12 -12
- package/dist/pumping.d.ts +486 -0
- package/dist/pumping.js +94 -0
- package/dist/pumping.js.map +1 -0
- package/dist/pumping.test.d.ts +1 -0
- package/dist/pumping.test.js +62 -0
- package/dist/pumping.test.js.map +1 -0
- package/dist/questionnaire-imports.d.ts +194 -2
- package/dist/sleep-average-context.d.ts +570 -0
- package/dist/sleep-average-context.js +286 -0
- package/dist/sleep-average-context.js.map +1 -0
- package/dist/sleep-average-context.test.d.ts +1 -0
- package/dist/sleep-average-context.test.js +290 -0
- package/dist/sleep-average-context.test.js.map +1 -0
- package/dist/sleep-average-summary.d.ts +46 -0
- package/dist/sleep-average-summary.js +127 -0
- package/dist/sleep-average-summary.js.map +1 -0
- package/dist/sleep-average-summary.test.d.ts +1 -0
- package/dist/sleep-average-summary.test.js +169 -0
- package/dist/sleep-average-summary.test.js.map +1 -0
- package/dist/sleep-awake-state.d.ts +8 -2
- package/dist/sleep-awake-state.js +2 -2
- package/dist/sleep-awake-state.js.map +1 -1
- package/dist/sleep-awake-state.test.js +16 -0
- package/dist/sleep-awake-state.test.js.map +1 -1
- package/dist/sleep-completed-night.d.ts +563 -0
- package/dist/subscription-cancellation-feedback.d.ts +10 -10
- package/dist/website-feedback.d.ts +4 -4
- package/package.json +1 -1
package/dist/analysis.d.ts
CHANGED
|
@@ -215,6 +215,243 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
215
215
|
drinkType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["breastmilk", "formula", "cows-milk", "dairy-free-milk", "water", "juice"]>>>;
|
|
216
216
|
drinkContainer: z.ZodOptional<z.ZodNullable<z.ZodEnum<["bottle", "cup"]>>>;
|
|
217
217
|
pumpingSide: z.ZodOptional<z.ZodNullable<z.ZodEnum<["left", "right", "both"]>>>;
|
|
218
|
+
pumpingAmounts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
219
|
+
unit: z.ZodEnum<["ml", "oz"]>;
|
|
220
|
+
left: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
221
|
+
right: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
222
|
+
}, "strict", z.ZodTypeAny, {
|
|
223
|
+
unit: "ml" | "oz";
|
|
224
|
+
left?: number | null | undefined;
|
|
225
|
+
right?: number | null | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
unit: "ml" | "oz";
|
|
228
|
+
left?: number | null | undefined;
|
|
229
|
+
right?: number | null | undefined;
|
|
230
|
+
}>>>;
|
|
231
|
+
pumpingSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
232
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
233
|
+
revision: z.ZodNumber;
|
|
234
|
+
sides: z.ZodObject<{
|
|
235
|
+
left: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
236
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
237
|
+
start: z.ZodString;
|
|
238
|
+
end: z.ZodNullable<z.ZodString>;
|
|
239
|
+
}, "strict", z.ZodTypeAny, {
|
|
240
|
+
start: string;
|
|
241
|
+
end: string | null;
|
|
242
|
+
}, {
|
|
243
|
+
start: string;
|
|
244
|
+
end: string | null;
|
|
245
|
+
}>, "many">;
|
|
246
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
247
|
+
}, "strict", z.ZodTypeAny, {
|
|
248
|
+
segments: {
|
|
249
|
+
start: string;
|
|
250
|
+
end: string | null;
|
|
251
|
+
}[];
|
|
252
|
+
stoppedAt: string | null;
|
|
253
|
+
}, {
|
|
254
|
+
segments: {
|
|
255
|
+
start: string;
|
|
256
|
+
end: string | null;
|
|
257
|
+
}[];
|
|
258
|
+
stoppedAt: string | null;
|
|
259
|
+
}>, {
|
|
260
|
+
segments: {
|
|
261
|
+
start: string;
|
|
262
|
+
end: string | null;
|
|
263
|
+
}[];
|
|
264
|
+
stoppedAt: string | null;
|
|
265
|
+
}, {
|
|
266
|
+
segments: {
|
|
267
|
+
start: string;
|
|
268
|
+
end: string | null;
|
|
269
|
+
}[];
|
|
270
|
+
stoppedAt: string | null;
|
|
271
|
+
}>>;
|
|
272
|
+
right: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
273
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
274
|
+
start: z.ZodString;
|
|
275
|
+
end: z.ZodNullable<z.ZodString>;
|
|
276
|
+
}, "strict", z.ZodTypeAny, {
|
|
277
|
+
start: string;
|
|
278
|
+
end: string | null;
|
|
279
|
+
}, {
|
|
280
|
+
start: string;
|
|
281
|
+
end: string | null;
|
|
282
|
+
}>, "many">;
|
|
283
|
+
stoppedAt: z.ZodNullable<z.ZodString>;
|
|
284
|
+
}, "strict", z.ZodTypeAny, {
|
|
285
|
+
segments: {
|
|
286
|
+
start: string;
|
|
287
|
+
end: string | null;
|
|
288
|
+
}[];
|
|
289
|
+
stoppedAt: string | null;
|
|
290
|
+
}, {
|
|
291
|
+
segments: {
|
|
292
|
+
start: string;
|
|
293
|
+
end: string | null;
|
|
294
|
+
}[];
|
|
295
|
+
stoppedAt: string | null;
|
|
296
|
+
}>, {
|
|
297
|
+
segments: {
|
|
298
|
+
start: string;
|
|
299
|
+
end: string | null;
|
|
300
|
+
}[];
|
|
301
|
+
stoppedAt: string | null;
|
|
302
|
+
}, {
|
|
303
|
+
segments: {
|
|
304
|
+
start: string;
|
|
305
|
+
end: string | null;
|
|
306
|
+
}[];
|
|
307
|
+
stoppedAt: string | null;
|
|
308
|
+
}>>;
|
|
309
|
+
}, "strict", z.ZodTypeAny, {
|
|
310
|
+
left?: {
|
|
311
|
+
segments: {
|
|
312
|
+
start: string;
|
|
313
|
+
end: string | null;
|
|
314
|
+
}[];
|
|
315
|
+
stoppedAt: string | null;
|
|
316
|
+
} | undefined;
|
|
317
|
+
right?: {
|
|
318
|
+
segments: {
|
|
319
|
+
start: string;
|
|
320
|
+
end: string | null;
|
|
321
|
+
}[];
|
|
322
|
+
stoppedAt: string | null;
|
|
323
|
+
} | undefined;
|
|
324
|
+
}, {
|
|
325
|
+
left?: {
|
|
326
|
+
segments: {
|
|
327
|
+
start: string;
|
|
328
|
+
end: string | null;
|
|
329
|
+
}[];
|
|
330
|
+
stoppedAt: string | null;
|
|
331
|
+
} | undefined;
|
|
332
|
+
right?: {
|
|
333
|
+
segments: {
|
|
334
|
+
start: string;
|
|
335
|
+
end: string | null;
|
|
336
|
+
}[];
|
|
337
|
+
stoppedAt: string | null;
|
|
338
|
+
} | undefined;
|
|
339
|
+
}>;
|
|
340
|
+
}, "strict", z.ZodTypeAny, {
|
|
341
|
+
schemaVersion: 1;
|
|
342
|
+
revision: number;
|
|
343
|
+
sides: {
|
|
344
|
+
left?: {
|
|
345
|
+
segments: {
|
|
346
|
+
start: string;
|
|
347
|
+
end: string | null;
|
|
348
|
+
}[];
|
|
349
|
+
stoppedAt: string | null;
|
|
350
|
+
} | undefined;
|
|
351
|
+
right?: {
|
|
352
|
+
segments: {
|
|
353
|
+
start: string;
|
|
354
|
+
end: string | null;
|
|
355
|
+
}[];
|
|
356
|
+
stoppedAt: string | null;
|
|
357
|
+
} | undefined;
|
|
358
|
+
};
|
|
359
|
+
}, {
|
|
360
|
+
schemaVersion: 1;
|
|
361
|
+
revision: number;
|
|
362
|
+
sides: {
|
|
363
|
+
left?: {
|
|
364
|
+
segments: {
|
|
365
|
+
start: string;
|
|
366
|
+
end: string | null;
|
|
367
|
+
}[];
|
|
368
|
+
stoppedAt: string | null;
|
|
369
|
+
} | undefined;
|
|
370
|
+
right?: {
|
|
371
|
+
segments: {
|
|
372
|
+
start: string;
|
|
373
|
+
end: string | null;
|
|
374
|
+
}[];
|
|
375
|
+
stoppedAt: string | null;
|
|
376
|
+
} | undefined;
|
|
377
|
+
};
|
|
378
|
+
}>, {
|
|
379
|
+
schemaVersion: 1;
|
|
380
|
+
revision: number;
|
|
381
|
+
sides: {
|
|
382
|
+
left?: {
|
|
383
|
+
segments: {
|
|
384
|
+
start: string;
|
|
385
|
+
end: string | null;
|
|
386
|
+
}[];
|
|
387
|
+
stoppedAt: string | null;
|
|
388
|
+
} | undefined;
|
|
389
|
+
right?: {
|
|
390
|
+
segments: {
|
|
391
|
+
start: string;
|
|
392
|
+
end: string | null;
|
|
393
|
+
}[];
|
|
394
|
+
stoppedAt: string | null;
|
|
395
|
+
} | undefined;
|
|
396
|
+
};
|
|
397
|
+
}, {
|
|
398
|
+
schemaVersion: 1;
|
|
399
|
+
revision: number;
|
|
400
|
+
sides: {
|
|
401
|
+
left?: {
|
|
402
|
+
segments: {
|
|
403
|
+
start: string;
|
|
404
|
+
end: string | null;
|
|
405
|
+
}[];
|
|
406
|
+
stoppedAt: string | null;
|
|
407
|
+
} | undefined;
|
|
408
|
+
right?: {
|
|
409
|
+
segments: {
|
|
410
|
+
start: string;
|
|
411
|
+
end: string | null;
|
|
412
|
+
}[];
|
|
413
|
+
stoppedAt: string | null;
|
|
414
|
+
} | undefined;
|
|
415
|
+
};
|
|
416
|
+
}>, {
|
|
417
|
+
schemaVersion: 1;
|
|
418
|
+
revision: number;
|
|
419
|
+
sides: {
|
|
420
|
+
left?: {
|
|
421
|
+
segments: {
|
|
422
|
+
start: string;
|
|
423
|
+
end: string | null;
|
|
424
|
+
}[];
|
|
425
|
+
stoppedAt: string | null;
|
|
426
|
+
} | undefined;
|
|
427
|
+
right?: {
|
|
428
|
+
segments: {
|
|
429
|
+
start: string;
|
|
430
|
+
end: string | null;
|
|
431
|
+
}[];
|
|
432
|
+
stoppedAt: string | null;
|
|
433
|
+
} | undefined;
|
|
434
|
+
};
|
|
435
|
+
}, {
|
|
436
|
+
schemaVersion: 1;
|
|
437
|
+
revision: number;
|
|
438
|
+
sides: {
|
|
439
|
+
left?: {
|
|
440
|
+
segments: {
|
|
441
|
+
start: string;
|
|
442
|
+
end: string | null;
|
|
443
|
+
}[];
|
|
444
|
+
stoppedAt: string | null;
|
|
445
|
+
} | undefined;
|
|
446
|
+
right?: {
|
|
447
|
+
segments: {
|
|
448
|
+
start: string;
|
|
449
|
+
end: string | null;
|
|
450
|
+
}[];
|
|
451
|
+
stoppedAt: string | null;
|
|
452
|
+
} | undefined;
|
|
453
|
+
};
|
|
454
|
+
}>>>;
|
|
218
455
|
medicationDose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
456
|
solidsFoods: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>>;
|
|
220
457
|
solidsAcceptance: z.ZodOptional<z.ZodNullable<z.ZodEnum<["loved", "liked", "not-keen-yet"]>>>;
|
|
@@ -406,6 +643,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
406
643
|
updatedAt: z.ZodString;
|
|
407
644
|
createdByUserId: z.ZodString;
|
|
408
645
|
updatedByUserId: z.ZodString;
|
|
646
|
+
addedByCoach: z.ZodOptional<z.ZodBoolean>;
|
|
647
|
+
editedByCoach: z.ZodOptional<z.ZodBoolean>;
|
|
409
648
|
}, "strip", z.ZodTypeAny, {
|
|
410
649
|
id: string;
|
|
411
650
|
createdAt: string;
|
|
@@ -479,6 +718,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
479
718
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
480
719
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
481
720
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
721
|
+
pumpingAmounts?: {
|
|
722
|
+
unit: "ml" | "oz";
|
|
723
|
+
left?: number | null | undefined;
|
|
724
|
+
right?: number | null | undefined;
|
|
725
|
+
} | null | undefined;
|
|
726
|
+
pumpingSession?: {
|
|
727
|
+
schemaVersion: 1;
|
|
728
|
+
revision: number;
|
|
729
|
+
sides: {
|
|
730
|
+
left?: {
|
|
731
|
+
segments: {
|
|
732
|
+
start: string;
|
|
733
|
+
end: string | null;
|
|
734
|
+
}[];
|
|
735
|
+
stoppedAt: string | null;
|
|
736
|
+
} | undefined;
|
|
737
|
+
right?: {
|
|
738
|
+
segments: {
|
|
739
|
+
start: string;
|
|
740
|
+
end: string | null;
|
|
741
|
+
}[];
|
|
742
|
+
stoppedAt: string | null;
|
|
743
|
+
} | undefined;
|
|
744
|
+
};
|
|
745
|
+
} | null | undefined;
|
|
482
746
|
medicationDose?: string | null | undefined;
|
|
483
747
|
solidsFoods?: string[] | null | undefined;
|
|
484
748
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -525,6 +789,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
525
789
|
})[];
|
|
526
790
|
} | null | undefined;
|
|
527
791
|
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;
|
|
792
|
+
addedByCoach?: boolean | undefined;
|
|
793
|
+
editedByCoach?: boolean | undefined;
|
|
528
794
|
}, {
|
|
529
795
|
id: string;
|
|
530
796
|
createdAt: string;
|
|
@@ -598,6 +864,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
598
864
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
599
865
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
600
866
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
867
|
+
pumpingAmounts?: {
|
|
868
|
+
unit: "ml" | "oz";
|
|
869
|
+
left?: number | null | undefined;
|
|
870
|
+
right?: number | null | undefined;
|
|
871
|
+
} | null | undefined;
|
|
872
|
+
pumpingSession?: {
|
|
873
|
+
schemaVersion: 1;
|
|
874
|
+
revision: number;
|
|
875
|
+
sides: {
|
|
876
|
+
left?: {
|
|
877
|
+
segments: {
|
|
878
|
+
start: string;
|
|
879
|
+
end: string | null;
|
|
880
|
+
}[];
|
|
881
|
+
stoppedAt: string | null;
|
|
882
|
+
} | undefined;
|
|
883
|
+
right?: {
|
|
884
|
+
segments: {
|
|
885
|
+
start: string;
|
|
886
|
+
end: string | null;
|
|
887
|
+
}[];
|
|
888
|
+
stoppedAt: string | null;
|
|
889
|
+
} | undefined;
|
|
890
|
+
};
|
|
891
|
+
} | null | undefined;
|
|
601
892
|
medicationDose?: string | null | undefined;
|
|
602
893
|
solidsFoods?: string[] | null | undefined;
|
|
603
894
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -644,6 +935,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
644
935
|
})[];
|
|
645
936
|
} | null | undefined;
|
|
646
937
|
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;
|
|
938
|
+
addedByCoach?: boolean | undefined;
|
|
939
|
+
editedByCoach?: boolean | undefined;
|
|
647
940
|
}>, {
|
|
648
941
|
id: string;
|
|
649
942
|
createdAt: string;
|
|
@@ -717,6 +1010,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
717
1010
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
718
1011
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
719
1012
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1013
|
+
pumpingAmounts?: {
|
|
1014
|
+
unit: "ml" | "oz";
|
|
1015
|
+
left?: number | null | undefined;
|
|
1016
|
+
right?: number | null | undefined;
|
|
1017
|
+
} | null | undefined;
|
|
1018
|
+
pumpingSession?: {
|
|
1019
|
+
schemaVersion: 1;
|
|
1020
|
+
revision: number;
|
|
1021
|
+
sides: {
|
|
1022
|
+
left?: {
|
|
1023
|
+
segments: {
|
|
1024
|
+
start: string;
|
|
1025
|
+
end: string | null;
|
|
1026
|
+
}[];
|
|
1027
|
+
stoppedAt: string | null;
|
|
1028
|
+
} | undefined;
|
|
1029
|
+
right?: {
|
|
1030
|
+
segments: {
|
|
1031
|
+
start: string;
|
|
1032
|
+
end: string | null;
|
|
1033
|
+
}[];
|
|
1034
|
+
stoppedAt: string | null;
|
|
1035
|
+
} | undefined;
|
|
1036
|
+
};
|
|
1037
|
+
} | null | undefined;
|
|
720
1038
|
medicationDose?: string | null | undefined;
|
|
721
1039
|
solidsFoods?: string[] | null | undefined;
|
|
722
1040
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -763,6 +1081,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
763
1081
|
})[];
|
|
764
1082
|
} | null | undefined;
|
|
765
1083
|
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;
|
|
1084
|
+
addedByCoach?: boolean | undefined;
|
|
1085
|
+
editedByCoach?: boolean | undefined;
|
|
766
1086
|
}, {
|
|
767
1087
|
id: string;
|
|
768
1088
|
createdAt: string;
|
|
@@ -836,6 +1156,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
836
1156
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
837
1157
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
838
1158
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1159
|
+
pumpingAmounts?: {
|
|
1160
|
+
unit: "ml" | "oz";
|
|
1161
|
+
left?: number | null | undefined;
|
|
1162
|
+
right?: number | null | undefined;
|
|
1163
|
+
} | null | undefined;
|
|
1164
|
+
pumpingSession?: {
|
|
1165
|
+
schemaVersion: 1;
|
|
1166
|
+
revision: number;
|
|
1167
|
+
sides: {
|
|
1168
|
+
left?: {
|
|
1169
|
+
segments: {
|
|
1170
|
+
start: string;
|
|
1171
|
+
end: string | null;
|
|
1172
|
+
}[];
|
|
1173
|
+
stoppedAt: string | null;
|
|
1174
|
+
} | undefined;
|
|
1175
|
+
right?: {
|
|
1176
|
+
segments: {
|
|
1177
|
+
start: string;
|
|
1178
|
+
end: string | null;
|
|
1179
|
+
}[];
|
|
1180
|
+
stoppedAt: string | null;
|
|
1181
|
+
} | undefined;
|
|
1182
|
+
};
|
|
1183
|
+
} | null | undefined;
|
|
839
1184
|
medicationDose?: string | null | undefined;
|
|
840
1185
|
solidsFoods?: string[] | null | undefined;
|
|
841
1186
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -882,6 +1227,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
882
1227
|
})[];
|
|
883
1228
|
} | null | undefined;
|
|
884
1229
|
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;
|
|
1230
|
+
addedByCoach?: boolean | undefined;
|
|
1231
|
+
editedByCoach?: boolean | undefined;
|
|
885
1232
|
}>, {
|
|
886
1233
|
id: string;
|
|
887
1234
|
createdAt: string;
|
|
@@ -955,6 +1302,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
955
1302
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
956
1303
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
957
1304
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1305
|
+
pumpingAmounts?: {
|
|
1306
|
+
unit: "ml" | "oz";
|
|
1307
|
+
left?: number | null | undefined;
|
|
1308
|
+
right?: number | null | undefined;
|
|
1309
|
+
} | null | undefined;
|
|
1310
|
+
pumpingSession?: {
|
|
1311
|
+
schemaVersion: 1;
|
|
1312
|
+
revision: number;
|
|
1313
|
+
sides: {
|
|
1314
|
+
left?: {
|
|
1315
|
+
segments: {
|
|
1316
|
+
start: string;
|
|
1317
|
+
end: string | null;
|
|
1318
|
+
}[];
|
|
1319
|
+
stoppedAt: string | null;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
right?: {
|
|
1322
|
+
segments: {
|
|
1323
|
+
start: string;
|
|
1324
|
+
end: string | null;
|
|
1325
|
+
}[];
|
|
1326
|
+
stoppedAt: string | null;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
};
|
|
1329
|
+
} | null | undefined;
|
|
958
1330
|
medicationDose?: string | null | undefined;
|
|
959
1331
|
solidsFoods?: string[] | null | undefined;
|
|
960
1332
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1001,6 +1373,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1001
1373
|
})[];
|
|
1002
1374
|
} | null | undefined;
|
|
1003
1375
|
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;
|
|
1376
|
+
addedByCoach?: boolean | undefined;
|
|
1377
|
+
editedByCoach?: boolean | undefined;
|
|
1004
1378
|
}, {
|
|
1005
1379
|
id: string;
|
|
1006
1380
|
createdAt: string;
|
|
@@ -1074,6 +1448,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1074
1448
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1075
1449
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1076
1450
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1451
|
+
pumpingAmounts?: {
|
|
1452
|
+
unit: "ml" | "oz";
|
|
1453
|
+
left?: number | null | undefined;
|
|
1454
|
+
right?: number | null | undefined;
|
|
1455
|
+
} | null | undefined;
|
|
1456
|
+
pumpingSession?: {
|
|
1457
|
+
schemaVersion: 1;
|
|
1458
|
+
revision: number;
|
|
1459
|
+
sides: {
|
|
1460
|
+
left?: {
|
|
1461
|
+
segments: {
|
|
1462
|
+
start: string;
|
|
1463
|
+
end: string | null;
|
|
1464
|
+
}[];
|
|
1465
|
+
stoppedAt: string | null;
|
|
1466
|
+
} | undefined;
|
|
1467
|
+
right?: {
|
|
1468
|
+
segments: {
|
|
1469
|
+
start: string;
|
|
1470
|
+
end: string | null;
|
|
1471
|
+
}[];
|
|
1472
|
+
stoppedAt: string | null;
|
|
1473
|
+
} | undefined;
|
|
1474
|
+
};
|
|
1475
|
+
} | null | undefined;
|
|
1077
1476
|
medicationDose?: string | null | undefined;
|
|
1078
1477
|
solidsFoods?: string[] | null | undefined;
|
|
1079
1478
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1120,6 +1519,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1120
1519
|
})[];
|
|
1121
1520
|
} | null | undefined;
|
|
1122
1521
|
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;
|
|
1522
|
+
addedByCoach?: boolean | undefined;
|
|
1523
|
+
editedByCoach?: boolean | undefined;
|
|
1123
1524
|
}>, {
|
|
1124
1525
|
id: string;
|
|
1125
1526
|
createdAt: string;
|
|
@@ -1193,6 +1594,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1193
1594
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1194
1595
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1195
1596
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1597
|
+
pumpingAmounts?: {
|
|
1598
|
+
unit: "ml" | "oz";
|
|
1599
|
+
left?: number | null | undefined;
|
|
1600
|
+
right?: number | null | undefined;
|
|
1601
|
+
} | null | undefined;
|
|
1602
|
+
pumpingSession?: {
|
|
1603
|
+
schemaVersion: 1;
|
|
1604
|
+
revision: number;
|
|
1605
|
+
sides: {
|
|
1606
|
+
left?: {
|
|
1607
|
+
segments: {
|
|
1608
|
+
start: string;
|
|
1609
|
+
end: string | null;
|
|
1610
|
+
}[];
|
|
1611
|
+
stoppedAt: string | null;
|
|
1612
|
+
} | undefined;
|
|
1613
|
+
right?: {
|
|
1614
|
+
segments: {
|
|
1615
|
+
start: string;
|
|
1616
|
+
end: string | null;
|
|
1617
|
+
}[];
|
|
1618
|
+
stoppedAt: string | null;
|
|
1619
|
+
} | undefined;
|
|
1620
|
+
};
|
|
1621
|
+
} | null | undefined;
|
|
1196
1622
|
medicationDose?: string | null | undefined;
|
|
1197
1623
|
solidsFoods?: string[] | null | undefined;
|
|
1198
1624
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1239,6 +1665,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1239
1665
|
})[];
|
|
1240
1666
|
} | null | undefined;
|
|
1241
1667
|
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;
|
|
1668
|
+
addedByCoach?: boolean | undefined;
|
|
1669
|
+
editedByCoach?: boolean | undefined;
|
|
1242
1670
|
}, {
|
|
1243
1671
|
id: string;
|
|
1244
1672
|
createdAt: string;
|
|
@@ -1312,6 +1740,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1312
1740
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1313
1741
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1314
1742
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1743
|
+
pumpingAmounts?: {
|
|
1744
|
+
unit: "ml" | "oz";
|
|
1745
|
+
left?: number | null | undefined;
|
|
1746
|
+
right?: number | null | undefined;
|
|
1747
|
+
} | null | undefined;
|
|
1748
|
+
pumpingSession?: {
|
|
1749
|
+
schemaVersion: 1;
|
|
1750
|
+
revision: number;
|
|
1751
|
+
sides: {
|
|
1752
|
+
left?: {
|
|
1753
|
+
segments: {
|
|
1754
|
+
start: string;
|
|
1755
|
+
end: string | null;
|
|
1756
|
+
}[];
|
|
1757
|
+
stoppedAt: string | null;
|
|
1758
|
+
} | undefined;
|
|
1759
|
+
right?: {
|
|
1760
|
+
segments: {
|
|
1761
|
+
start: string;
|
|
1762
|
+
end: string | null;
|
|
1763
|
+
}[];
|
|
1764
|
+
stoppedAt: string | null;
|
|
1765
|
+
} | undefined;
|
|
1766
|
+
};
|
|
1767
|
+
} | null | undefined;
|
|
1315
1768
|
medicationDose?: string | null | undefined;
|
|
1316
1769
|
solidsFoods?: string[] | null | undefined;
|
|
1317
1770
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1358,6 +1811,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1358
1811
|
})[];
|
|
1359
1812
|
} | null | undefined;
|
|
1360
1813
|
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;
|
|
1814
|
+
addedByCoach?: boolean | undefined;
|
|
1815
|
+
editedByCoach?: boolean | undefined;
|
|
1361
1816
|
}>, {
|
|
1362
1817
|
id: string;
|
|
1363
1818
|
createdAt: string;
|
|
@@ -1431,6 +1886,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1431
1886
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1432
1887
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1433
1888
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
1889
|
+
pumpingAmounts?: {
|
|
1890
|
+
unit: "ml" | "oz";
|
|
1891
|
+
left?: number | null | undefined;
|
|
1892
|
+
right?: number | null | undefined;
|
|
1893
|
+
} | null | undefined;
|
|
1894
|
+
pumpingSession?: {
|
|
1895
|
+
schemaVersion: 1;
|
|
1896
|
+
revision: number;
|
|
1897
|
+
sides: {
|
|
1898
|
+
left?: {
|
|
1899
|
+
segments: {
|
|
1900
|
+
start: string;
|
|
1901
|
+
end: string | null;
|
|
1902
|
+
}[];
|
|
1903
|
+
stoppedAt: string | null;
|
|
1904
|
+
} | undefined;
|
|
1905
|
+
right?: {
|
|
1906
|
+
segments: {
|
|
1907
|
+
start: string;
|
|
1908
|
+
end: string | null;
|
|
1909
|
+
}[];
|
|
1910
|
+
stoppedAt: string | null;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
};
|
|
1913
|
+
} | null | undefined;
|
|
1434
1914
|
medicationDose?: string | null | undefined;
|
|
1435
1915
|
solidsFoods?: string[] | null | undefined;
|
|
1436
1916
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1477,6 +1957,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1477
1957
|
})[];
|
|
1478
1958
|
} | null | undefined;
|
|
1479
1959
|
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;
|
|
1960
|
+
addedByCoach?: boolean | undefined;
|
|
1961
|
+
editedByCoach?: boolean | undefined;
|
|
1480
1962
|
}, {
|
|
1481
1963
|
id: string;
|
|
1482
1964
|
createdAt: string;
|
|
@@ -1550,6 +2032,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1550
2032
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1551
2033
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1552
2034
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2035
|
+
pumpingAmounts?: {
|
|
2036
|
+
unit: "ml" | "oz";
|
|
2037
|
+
left?: number | null | undefined;
|
|
2038
|
+
right?: number | null | undefined;
|
|
2039
|
+
} | null | undefined;
|
|
2040
|
+
pumpingSession?: {
|
|
2041
|
+
schemaVersion: 1;
|
|
2042
|
+
revision: number;
|
|
2043
|
+
sides: {
|
|
2044
|
+
left?: {
|
|
2045
|
+
segments: {
|
|
2046
|
+
start: string;
|
|
2047
|
+
end: string | null;
|
|
2048
|
+
}[];
|
|
2049
|
+
stoppedAt: string | null;
|
|
2050
|
+
} | undefined;
|
|
2051
|
+
right?: {
|
|
2052
|
+
segments: {
|
|
2053
|
+
start: string;
|
|
2054
|
+
end: string | null;
|
|
2055
|
+
}[];
|
|
2056
|
+
stoppedAt: string | null;
|
|
2057
|
+
} | undefined;
|
|
2058
|
+
};
|
|
2059
|
+
} | null | undefined;
|
|
1553
2060
|
medicationDose?: string | null | undefined;
|
|
1554
2061
|
solidsFoods?: string[] | null | undefined;
|
|
1555
2062
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1596,6 +2103,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1596
2103
|
})[];
|
|
1597
2104
|
} | null | undefined;
|
|
1598
2105
|
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;
|
|
2106
|
+
addedByCoach?: boolean | undefined;
|
|
2107
|
+
editedByCoach?: boolean | undefined;
|
|
1599
2108
|
}>, "many">;
|
|
1600
2109
|
}, "strip", z.ZodTypeAny, {
|
|
1601
2110
|
activities: {
|
|
@@ -1671,6 +2180,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1671
2180
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1672
2181
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1673
2182
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2183
|
+
pumpingAmounts?: {
|
|
2184
|
+
unit: "ml" | "oz";
|
|
2185
|
+
left?: number | null | undefined;
|
|
2186
|
+
right?: number | null | undefined;
|
|
2187
|
+
} | null | undefined;
|
|
2188
|
+
pumpingSession?: {
|
|
2189
|
+
schemaVersion: 1;
|
|
2190
|
+
revision: number;
|
|
2191
|
+
sides: {
|
|
2192
|
+
left?: {
|
|
2193
|
+
segments: {
|
|
2194
|
+
start: string;
|
|
2195
|
+
end: string | null;
|
|
2196
|
+
}[];
|
|
2197
|
+
stoppedAt: string | null;
|
|
2198
|
+
} | undefined;
|
|
2199
|
+
right?: {
|
|
2200
|
+
segments: {
|
|
2201
|
+
start: string;
|
|
2202
|
+
end: string | null;
|
|
2203
|
+
}[];
|
|
2204
|
+
stoppedAt: string | null;
|
|
2205
|
+
} | undefined;
|
|
2206
|
+
};
|
|
2207
|
+
} | null | undefined;
|
|
1674
2208
|
medicationDose?: string | null | undefined;
|
|
1675
2209
|
solidsFoods?: string[] | null | undefined;
|
|
1676
2210
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1717,6 +2251,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1717
2251
|
})[];
|
|
1718
2252
|
} | null | undefined;
|
|
1719
2253
|
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;
|
|
2254
|
+
addedByCoach?: boolean | undefined;
|
|
2255
|
+
editedByCoach?: boolean | undefined;
|
|
1720
2256
|
}[];
|
|
1721
2257
|
}, {
|
|
1722
2258
|
activities: {
|
|
@@ -1792,6 +2328,31 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1792
2328
|
drinkType?: "breastmilk" | "formula" | "water" | "juice" | "cows-milk" | "dairy-free-milk" | null | undefined;
|
|
1793
2329
|
drinkContainer?: "bottle" | "cup" | null | undefined;
|
|
1794
2330
|
pumpingSide?: "left" | "right" | "both" | null | undefined;
|
|
2331
|
+
pumpingAmounts?: {
|
|
2332
|
+
unit: "ml" | "oz";
|
|
2333
|
+
left?: number | null | undefined;
|
|
2334
|
+
right?: number | null | undefined;
|
|
2335
|
+
} | null | undefined;
|
|
2336
|
+
pumpingSession?: {
|
|
2337
|
+
schemaVersion: 1;
|
|
2338
|
+
revision: number;
|
|
2339
|
+
sides: {
|
|
2340
|
+
left?: {
|
|
2341
|
+
segments: {
|
|
2342
|
+
start: string;
|
|
2343
|
+
end: string | null;
|
|
2344
|
+
}[];
|
|
2345
|
+
stoppedAt: string | null;
|
|
2346
|
+
} | undefined;
|
|
2347
|
+
right?: {
|
|
2348
|
+
segments: {
|
|
2349
|
+
start: string;
|
|
2350
|
+
end: string | null;
|
|
2351
|
+
}[];
|
|
2352
|
+
stoppedAt: string | null;
|
|
2353
|
+
} | undefined;
|
|
2354
|
+
};
|
|
2355
|
+
} | null | undefined;
|
|
1795
2356
|
medicationDose?: string | null | undefined;
|
|
1796
2357
|
solidsFoods?: string[] | null | undefined;
|
|
1797
2358
|
solidsAcceptance?: "loved" | "liked" | "not-keen-yet" | null | undefined;
|
|
@@ -1838,6 +2399,8 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1838
2399
|
})[];
|
|
1839
2400
|
} | null | undefined;
|
|
1840
2401
|
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;
|
|
2402
|
+
addedByCoach?: boolean | undefined;
|
|
2403
|
+
editedByCoach?: boolean | undefined;
|
|
1841
2404
|
}[];
|
|
1842
2405
|
}>;
|
|
1843
2406
|
export type AnalysisActivitiesQuery = z.infer<typeof analysisActivitiesQuerySchema>;
|
|
@@ -1865,3 +2428,202 @@ export declare const analysisTeaserResponseSchema: z.ZodObject<{
|
|
|
1865
2428
|
}>;
|
|
1866
2429
|
export type AnalysisTeaserQuery = z.infer<typeof analysisTeaserQuerySchema>;
|
|
1867
2430
|
export type AnalysisTeaserResponse = z.infer<typeof analysisTeaserResponseSchema>;
|
|
2431
|
+
/** Explicit opt-in: released strict teaser clients retain their exact default response. */
|
|
2432
|
+
export declare const analysisCompletedDayTeaserQuerySchema: z.ZodObject<{
|
|
2433
|
+
babyId: z.ZodString;
|
|
2434
|
+
basis: z.ZodLiteral<"completed-days">;
|
|
2435
|
+
}, "strict", z.ZodTypeAny, {
|
|
2436
|
+
babyId: string;
|
|
2437
|
+
basis: "completed-days";
|
|
2438
|
+
}, {
|
|
2439
|
+
babyId: string;
|
|
2440
|
+
basis: "completed-days";
|
|
2441
|
+
}>;
|
|
2442
|
+
export declare const analysisCompletedDayTeaserResponseSchema: z.ZodObject<Omit<{
|
|
2443
|
+
entryCount: z.ZodNumber;
|
|
2444
|
+
averageSleepMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2445
|
+
dayLevels: z.ZodArray<z.ZodNumber, "many">;
|
|
2446
|
+
}, "averageSleepMinutes"> & {
|
|
2447
|
+
basis: z.ZodLiteral<"completed-days">;
|
|
2448
|
+
sleep: z.ZodObject<Pick<{
|
|
2449
|
+
modelVersion: z.ZodLiteral<"wake-to-wake-v1">;
|
|
2450
|
+
familyUserId: z.ZodString;
|
|
2451
|
+
babyId: z.ZodString;
|
|
2452
|
+
sourceRevision: z.ZodString;
|
|
2453
|
+
asOf: z.ZodString;
|
|
2454
|
+
recordedTimeZone: z.ZodNullable<z.ZodString>;
|
|
2455
|
+
openingDates: z.ZodEffects<z.ZodObject<{
|
|
2456
|
+
since: z.ZodEffects<z.ZodString, string, string>;
|
|
2457
|
+
until: z.ZodEffects<z.ZodString, string, string>;
|
|
2458
|
+
}, "strict", z.ZodTypeAny, {
|
|
2459
|
+
since: string;
|
|
2460
|
+
until: string;
|
|
2461
|
+
}, {
|
|
2462
|
+
since: string;
|
|
2463
|
+
until: string;
|
|
2464
|
+
}>, {
|
|
2465
|
+
since: string;
|
|
2466
|
+
until: string;
|
|
2467
|
+
}, {
|
|
2468
|
+
since: string;
|
|
2469
|
+
until: string;
|
|
2470
|
+
}>;
|
|
2471
|
+
samples: z.ZodArray<z.ZodObject<{
|
|
2472
|
+
date: z.ZodEffects<z.ZodString, string, string>;
|
|
2473
|
+
openingAt: z.ZodString;
|
|
2474
|
+
closingAt: z.ZodString;
|
|
2475
|
+
elapsedMs: z.ZodNumber;
|
|
2476
|
+
napMs: z.ZodNumber;
|
|
2477
|
+
napCount: z.ZodNumber;
|
|
2478
|
+
nightMs: z.ZodNumber;
|
|
2479
|
+
totalSleepMs: z.ZodNumber;
|
|
2480
|
+
activityIds: z.ZodArray<z.ZodString, "many">;
|
|
2481
|
+
}, "strict", z.ZodTypeAny, {
|
|
2482
|
+
date: string;
|
|
2483
|
+
openingAt: string;
|
|
2484
|
+
closingAt: string;
|
|
2485
|
+
elapsedMs: number;
|
|
2486
|
+
napMs: number;
|
|
2487
|
+
napCount: number;
|
|
2488
|
+
nightMs: number;
|
|
2489
|
+
totalSleepMs: number;
|
|
2490
|
+
activityIds: string[];
|
|
2491
|
+
}, {
|
|
2492
|
+
date: string;
|
|
2493
|
+
openingAt: string;
|
|
2494
|
+
closingAt: string;
|
|
2495
|
+
elapsedMs: number;
|
|
2496
|
+
napMs: number;
|
|
2497
|
+
napCount: number;
|
|
2498
|
+
nightMs: number;
|
|
2499
|
+
totalSleepMs: number;
|
|
2500
|
+
activityIds: string[];
|
|
2501
|
+
}>, "many">;
|
|
2502
|
+
excluded: z.ZodArray<z.ZodObject<{
|
|
2503
|
+
date: z.ZodEffects<z.ZodString, string, string>;
|
|
2504
|
+
reason: z.ZodEnum<["today-or-future", "life-tag"]>;
|
|
2505
|
+
}, "strict", z.ZodTypeAny, {
|
|
2506
|
+
date: string;
|
|
2507
|
+
reason: "life-tag" | "today-or-future";
|
|
2508
|
+
}, {
|
|
2509
|
+
date: string;
|
|
2510
|
+
reason: "life-tag" | "today-or-future";
|
|
2511
|
+
}>, "many">;
|
|
2512
|
+
unknown: z.ZodArray<z.ZodObject<{
|
|
2513
|
+
date: z.ZodEffects<z.ZodString, string, string>;
|
|
2514
|
+
reasons: z.ZodArray<z.ZodEnum<["unknown-recorded-calendar", "incompatible-recorded-calendar", "boundary-coverage", "conflicting-boundaries", "missing-opening-boundary", "missing-closing-boundary", "incomplete-period", "interval-coverage", "conflicting-intervals", "invalid-interval", "overlapping-intervals", "inconsistent-interval-coverage", "unknown-exclusions"]>, "many">;
|
|
2515
|
+
}, "strict", z.ZodTypeAny, {
|
|
2516
|
+
date: string;
|
|
2517
|
+
reasons: ("missing-closing-boundary" | "unknown-recorded-calendar" | "incompatible-recorded-calendar" | "boundary-coverage" | "conflicting-boundaries" | "missing-opening-boundary" | "incomplete-period" | "interval-coverage" | "conflicting-intervals" | "invalid-interval" | "overlapping-intervals" | "inconsistent-interval-coverage" | "unknown-exclusions")[];
|
|
2518
|
+
}, {
|
|
2519
|
+
date: string;
|
|
2520
|
+
reasons: ("missing-closing-boundary" | "unknown-recorded-calendar" | "incompatible-recorded-calendar" | "boundary-coverage" | "conflicting-boundaries" | "missing-opening-boundary" | "incomplete-period" | "interval-coverage" | "conflicting-intervals" | "invalid-interval" | "overlapping-intervals" | "inconsistent-interval-coverage" | "unknown-exclusions")[];
|
|
2521
|
+
}>, "many">;
|
|
2522
|
+
sampleCount: z.ZodNumber;
|
|
2523
|
+
excludedCount: z.ZodNumber;
|
|
2524
|
+
unknownCount: z.ZodNumber;
|
|
2525
|
+
}, "unknown" | "asOf" | "recordedTimeZone" | "modelVersion" | "sourceRevision" | "openingDates" | "excluded" | "sampleCount" | "excludedCount" | "unknownCount"> & {
|
|
2526
|
+
totalSleepMs: z.ZodNumber;
|
|
2527
|
+
averageSleepMs: z.ZodNullable<z.ZodNumber>;
|
|
2528
|
+
}, "strict", z.ZodTypeAny, {
|
|
2529
|
+
unknown: {
|
|
2530
|
+
date: string;
|
|
2531
|
+
reasons: ("missing-closing-boundary" | "unknown-recorded-calendar" | "incompatible-recorded-calendar" | "boundary-coverage" | "conflicting-boundaries" | "missing-opening-boundary" | "incomplete-period" | "interval-coverage" | "conflicting-intervals" | "invalid-interval" | "overlapping-intervals" | "inconsistent-interval-coverage" | "unknown-exclusions")[];
|
|
2532
|
+
}[];
|
|
2533
|
+
asOf: string;
|
|
2534
|
+
recordedTimeZone: string | null;
|
|
2535
|
+
modelVersion: "wake-to-wake-v1";
|
|
2536
|
+
sourceRevision: string;
|
|
2537
|
+
openingDates: {
|
|
2538
|
+
since: string;
|
|
2539
|
+
until: string;
|
|
2540
|
+
};
|
|
2541
|
+
totalSleepMs: number;
|
|
2542
|
+
excluded: {
|
|
2543
|
+
date: string;
|
|
2544
|
+
reason: "life-tag" | "today-or-future";
|
|
2545
|
+
}[];
|
|
2546
|
+
sampleCount: number;
|
|
2547
|
+
excludedCount: number;
|
|
2548
|
+
unknownCount: number;
|
|
2549
|
+
averageSleepMs: number | null;
|
|
2550
|
+
}, {
|
|
2551
|
+
unknown: {
|
|
2552
|
+
date: string;
|
|
2553
|
+
reasons: ("missing-closing-boundary" | "unknown-recorded-calendar" | "incompatible-recorded-calendar" | "boundary-coverage" | "conflicting-boundaries" | "missing-opening-boundary" | "incomplete-period" | "interval-coverage" | "conflicting-intervals" | "invalid-interval" | "overlapping-intervals" | "inconsistent-interval-coverage" | "unknown-exclusions")[];
|
|
2554
|
+
}[];
|
|
2555
|
+
asOf: string;
|
|
2556
|
+
recordedTimeZone: string | null;
|
|
2557
|
+
modelVersion: "wake-to-wake-v1";
|
|
2558
|
+
sourceRevision: string;
|
|
2559
|
+
openingDates: {
|
|
2560
|
+
since: string;
|
|
2561
|
+
until: string;
|
|
2562
|
+
};
|
|
2563
|
+
totalSleepMs: number;
|
|
2564
|
+
excluded: {
|
|
2565
|
+
date: string;
|
|
2566
|
+
reason: "life-tag" | "today-or-future";
|
|
2567
|
+
}[];
|
|
2568
|
+
sampleCount: number;
|
|
2569
|
+
excludedCount: number;
|
|
2570
|
+
unknownCount: number;
|
|
2571
|
+
averageSleepMs: number | null;
|
|
2572
|
+
}>;
|
|
2573
|
+
}, "strict", z.ZodTypeAny, {
|
|
2574
|
+
sleep: {
|
|
2575
|
+
unknown: {
|
|
2576
|
+
date: string;
|
|
2577
|
+
reasons: ("missing-closing-boundary" | "unknown-recorded-calendar" | "incompatible-recorded-calendar" | "boundary-coverage" | "conflicting-boundaries" | "missing-opening-boundary" | "incomplete-period" | "interval-coverage" | "conflicting-intervals" | "invalid-interval" | "overlapping-intervals" | "inconsistent-interval-coverage" | "unknown-exclusions")[];
|
|
2578
|
+
}[];
|
|
2579
|
+
asOf: string;
|
|
2580
|
+
recordedTimeZone: string | null;
|
|
2581
|
+
modelVersion: "wake-to-wake-v1";
|
|
2582
|
+
sourceRevision: string;
|
|
2583
|
+
openingDates: {
|
|
2584
|
+
since: string;
|
|
2585
|
+
until: string;
|
|
2586
|
+
};
|
|
2587
|
+
totalSleepMs: number;
|
|
2588
|
+
excluded: {
|
|
2589
|
+
date: string;
|
|
2590
|
+
reason: "life-tag" | "today-or-future";
|
|
2591
|
+
}[];
|
|
2592
|
+
sampleCount: number;
|
|
2593
|
+
excludedCount: number;
|
|
2594
|
+
unknownCount: number;
|
|
2595
|
+
averageSleepMs: number | null;
|
|
2596
|
+
};
|
|
2597
|
+
entryCount: number;
|
|
2598
|
+
dayLevels: number[];
|
|
2599
|
+
basis: "completed-days";
|
|
2600
|
+
}, {
|
|
2601
|
+
sleep: {
|
|
2602
|
+
unknown: {
|
|
2603
|
+
date: string;
|
|
2604
|
+
reasons: ("missing-closing-boundary" | "unknown-recorded-calendar" | "incompatible-recorded-calendar" | "boundary-coverage" | "conflicting-boundaries" | "missing-opening-boundary" | "incomplete-period" | "interval-coverage" | "conflicting-intervals" | "invalid-interval" | "overlapping-intervals" | "inconsistent-interval-coverage" | "unknown-exclusions")[];
|
|
2605
|
+
}[];
|
|
2606
|
+
asOf: string;
|
|
2607
|
+
recordedTimeZone: string | null;
|
|
2608
|
+
modelVersion: "wake-to-wake-v1";
|
|
2609
|
+
sourceRevision: string;
|
|
2610
|
+
openingDates: {
|
|
2611
|
+
since: string;
|
|
2612
|
+
until: string;
|
|
2613
|
+
};
|
|
2614
|
+
totalSleepMs: number;
|
|
2615
|
+
excluded: {
|
|
2616
|
+
date: string;
|
|
2617
|
+
reason: "life-tag" | "today-or-future";
|
|
2618
|
+
}[];
|
|
2619
|
+
sampleCount: number;
|
|
2620
|
+
excludedCount: number;
|
|
2621
|
+
unknownCount: number;
|
|
2622
|
+
averageSleepMs: number | null;
|
|
2623
|
+
};
|
|
2624
|
+
entryCount: number;
|
|
2625
|
+
dayLevels: number[];
|
|
2626
|
+
basis: "completed-days";
|
|
2627
|
+
}>;
|
|
2628
|
+
export type AnalysisCompletedDayTeaserQuery = z.infer<typeof analysisCompletedDayTeaserQuerySchema>;
|
|
2629
|
+
export type AnalysisCompletedDayTeaserResponse = z.infer<typeof analysisCompletedDayTeaserResponseSchema>;
|