@nikthegeek/dreamsforlittles-shared 0.18.19 → 0.18.21
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/access.d.ts +2206 -0
- package/dist/access.js +19 -0
- package/dist/access.js.map +1 -1
- package/dist/activity-import-readers.d.ts +3 -3
- package/dist/admin.d.ts +6820 -12
- package/dist/analysis.d.ts +56 -56
- package/dist/coach-activity-notifications.d.ts +8 -8
- package/dist/coach-family-chat.d.ts +22 -22
- package/dist/coach-sleep-plans.d.ts +496 -0
- package/dist/coach.d.ts +1857 -265
- package/dist/coach.js +1 -1
- package/dist/coach.js.map +1 -1
- package/dist/family-invitations.d.ts +1252 -0
- package/dist/family-profile-artifacts.d.ts +2088 -0
- package/dist/family.d.ts +1227 -849
- package/dist/home-activity-context.d.ts +120 -120
- package/dist/huckleberry-import.d.ts +58 -58
- package/dist/invites.d.ts +274 -0
- package/dist/logged-sleep-averages.d.ts +3 -1
- package/dist/logged-sleep-averages.js +37 -4
- package/dist/logged-sleep-averages.js.map +1 -1
- package/dist/logged-sleep-averages.test.js +35 -0
- package/dist/logged-sleep-averages.test.js.map +1 -1
- package/dist/native-timer-state.d.ts +78 -78
- package/dist/practice-teams.d.ts +274 -0
- package/dist/product-analytics.d.ts +36 -36
- package/dist/sleep-average-context.d.ts +228 -1
- package/dist/sleep-average-context.js +15 -2
- package/dist/sleep-average-context.js.map +1 -1
- package/dist/sleep-completed-night.d.ts +110 -110
- package/package.json +1 -1
|
@@ -481,6 +481,7 @@ export declare const completedSleepNightCommandSchema: z.ZodDiscriminatedUnion<"
|
|
|
481
481
|
}[];
|
|
482
482
|
babyId: string;
|
|
483
483
|
action: "save";
|
|
484
|
+
nightId: string;
|
|
484
485
|
commandId: string;
|
|
485
486
|
wakes: {
|
|
486
487
|
start: string;
|
|
@@ -527,7 +528,6 @@ export declare const completedSleepNightCommandSchema: z.ZodDiscriminatedUnion<"
|
|
|
527
528
|
} | undefined;
|
|
528
529
|
} | null | undefined;
|
|
529
530
|
}[];
|
|
530
|
-
nightId: string;
|
|
531
531
|
feedSources?: {
|
|
532
532
|
id: string;
|
|
533
533
|
updatedAt: string;
|
|
@@ -542,6 +542,7 @@ export declare const completedSleepNightCommandSchema: z.ZodDiscriminatedUnion<"
|
|
|
542
542
|
}[];
|
|
543
543
|
babyId: string;
|
|
544
544
|
action: "save";
|
|
545
|
+
nightId: string;
|
|
545
546
|
commandId: string;
|
|
546
547
|
wakes: {
|
|
547
548
|
start: string;
|
|
@@ -588,7 +589,6 @@ export declare const completedSleepNightCommandSchema: z.ZodDiscriminatedUnion<"
|
|
|
588
589
|
} | undefined;
|
|
589
590
|
} | null | undefined;
|
|
590
591
|
}[];
|
|
591
|
-
nightId: string;
|
|
592
592
|
feedSources?: {
|
|
593
593
|
id: string;
|
|
594
594
|
updatedAt: string;
|
|
@@ -626,8 +626,8 @@ export declare const completedSleepNightCommandSchema: z.ZodDiscriminatedUnion<"
|
|
|
626
626
|
updatedAt: string;
|
|
627
627
|
}[];
|
|
628
628
|
action: "undo";
|
|
629
|
-
commandId: string;
|
|
630
629
|
nightId: string;
|
|
630
|
+
commandId: string;
|
|
631
631
|
saveCommandId: string;
|
|
632
632
|
acceptedFeeds?: {
|
|
633
633
|
id: string;
|
|
@@ -640,8 +640,8 @@ export declare const completedSleepNightCommandSchema: z.ZodDiscriminatedUnion<"
|
|
|
640
640
|
updatedAt: string;
|
|
641
641
|
}[];
|
|
642
642
|
action: "undo";
|
|
643
|
-
commandId: string;
|
|
644
643
|
nightId: string;
|
|
644
|
+
commandId: string;
|
|
645
645
|
saveCommandId: string;
|
|
646
646
|
acceptedFeeds?: {
|
|
647
647
|
id: string;
|
|
@@ -682,23 +682,23 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
682
682
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
683
683
|
}>>;
|
|
684
684
|
}, "strict", z.ZodTypeAny, {
|
|
685
|
+
sleep?: {
|
|
686
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
687
|
+
} | undefined;
|
|
685
688
|
breastfeed?: {
|
|
686
689
|
totalMinutes: number | null;
|
|
687
690
|
leftMinutes: number | null;
|
|
688
691
|
rightMinutes: number | null;
|
|
689
692
|
} | undefined;
|
|
693
|
+
}, {
|
|
690
694
|
sleep?: {
|
|
691
695
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
692
696
|
} | undefined;
|
|
693
|
-
}, {
|
|
694
697
|
breastfeed?: {
|
|
695
698
|
totalMinutes: number | null;
|
|
696
699
|
leftMinutes: number | null;
|
|
697
700
|
rightMinutes: number | null;
|
|
698
701
|
} | undefined;
|
|
699
|
-
sleep?: {
|
|
700
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
701
|
-
} | undefined;
|
|
702
702
|
}>>>;
|
|
703
703
|
id: z.ZodString;
|
|
704
704
|
familyUserId: z.ZodString;
|
|
@@ -1294,7 +1294,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1294
1294
|
createdAt: string;
|
|
1295
1295
|
updatedAt: string;
|
|
1296
1296
|
familyUserId: string;
|
|
1297
|
-
activityType: "
|
|
1297
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1298
1298
|
details: {
|
|
1299
1299
|
date: string;
|
|
1300
1300
|
start: string;
|
|
@@ -1346,14 +1346,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1346
1346
|
updatedByUserId: string;
|
|
1347
1347
|
timeZone?: string | null | undefined;
|
|
1348
1348
|
importContext?: {
|
|
1349
|
+
sleep?: {
|
|
1350
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1351
|
+
} | undefined;
|
|
1349
1352
|
breastfeed?: {
|
|
1350
1353
|
totalMinutes: number | null;
|
|
1351
1354
|
leftMinutes: number | null;
|
|
1352
1355
|
rightMinutes: number | null;
|
|
1353
1356
|
} | undefined;
|
|
1354
|
-
sleep?: {
|
|
1355
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1356
|
-
} | undefined;
|
|
1357
1357
|
} | null | undefined;
|
|
1358
1358
|
importSource?: "huckleberry" | null | undefined;
|
|
1359
1359
|
importBatchId?: string | null | undefined;
|
|
@@ -1450,7 +1450,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1450
1450
|
createdAt: string;
|
|
1451
1451
|
updatedAt: string;
|
|
1452
1452
|
familyUserId: string;
|
|
1453
|
-
activityType: "
|
|
1453
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1454
1454
|
details: {
|
|
1455
1455
|
date: string;
|
|
1456
1456
|
start: string;
|
|
@@ -1502,14 +1502,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1502
1502
|
updatedByUserId: string;
|
|
1503
1503
|
timeZone?: string | null | undefined;
|
|
1504
1504
|
importContext?: {
|
|
1505
|
+
sleep?: {
|
|
1506
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1507
|
+
} | undefined;
|
|
1505
1508
|
breastfeed?: {
|
|
1506
1509
|
totalMinutes: number | null;
|
|
1507
1510
|
leftMinutes: number | null;
|
|
1508
1511
|
rightMinutes: number | null;
|
|
1509
1512
|
} | undefined;
|
|
1510
|
-
sleep?: {
|
|
1511
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1512
|
-
} | undefined;
|
|
1513
1513
|
} | null | undefined;
|
|
1514
1514
|
importSource?: "huckleberry" | null | undefined;
|
|
1515
1515
|
importBatchId?: string | null | undefined;
|
|
@@ -1606,7 +1606,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1606
1606
|
createdAt: string;
|
|
1607
1607
|
updatedAt: string;
|
|
1608
1608
|
familyUserId: string;
|
|
1609
|
-
activityType: "
|
|
1609
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1610
1610
|
details: {
|
|
1611
1611
|
date: string;
|
|
1612
1612
|
start: string;
|
|
@@ -1658,14 +1658,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1658
1658
|
updatedByUserId: string;
|
|
1659
1659
|
timeZone?: string | null | undefined;
|
|
1660
1660
|
importContext?: {
|
|
1661
|
+
sleep?: {
|
|
1662
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1663
|
+
} | undefined;
|
|
1661
1664
|
breastfeed?: {
|
|
1662
1665
|
totalMinutes: number | null;
|
|
1663
1666
|
leftMinutes: number | null;
|
|
1664
1667
|
rightMinutes: number | null;
|
|
1665
1668
|
} | undefined;
|
|
1666
|
-
sleep?: {
|
|
1667
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1668
|
-
} | undefined;
|
|
1669
1669
|
} | null | undefined;
|
|
1670
1670
|
importSource?: "huckleberry" | null | undefined;
|
|
1671
1671
|
importBatchId?: string | null | undefined;
|
|
@@ -1762,7 +1762,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1762
1762
|
createdAt: string;
|
|
1763
1763
|
updatedAt: string;
|
|
1764
1764
|
familyUserId: string;
|
|
1765
|
-
activityType: "
|
|
1765
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1766
1766
|
details: {
|
|
1767
1767
|
date: string;
|
|
1768
1768
|
start: string;
|
|
@@ -1814,14 +1814,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1814
1814
|
updatedByUserId: string;
|
|
1815
1815
|
timeZone?: string | null | undefined;
|
|
1816
1816
|
importContext?: {
|
|
1817
|
+
sleep?: {
|
|
1818
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1819
|
+
} | undefined;
|
|
1817
1820
|
breastfeed?: {
|
|
1818
1821
|
totalMinutes: number | null;
|
|
1819
1822
|
leftMinutes: number | null;
|
|
1820
1823
|
rightMinutes: number | null;
|
|
1821
1824
|
} | undefined;
|
|
1822
|
-
sleep?: {
|
|
1823
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1824
|
-
} | undefined;
|
|
1825
1825
|
} | null | undefined;
|
|
1826
1826
|
importSource?: "huckleberry" | null | undefined;
|
|
1827
1827
|
importBatchId?: string | null | undefined;
|
|
@@ -1918,7 +1918,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1918
1918
|
createdAt: string;
|
|
1919
1919
|
updatedAt: string;
|
|
1920
1920
|
familyUserId: string;
|
|
1921
|
-
activityType: "
|
|
1921
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1922
1922
|
details: {
|
|
1923
1923
|
date: string;
|
|
1924
1924
|
start: string;
|
|
@@ -1970,14 +1970,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
1970
1970
|
updatedByUserId: string;
|
|
1971
1971
|
timeZone?: string | null | undefined;
|
|
1972
1972
|
importContext?: {
|
|
1973
|
+
sleep?: {
|
|
1974
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1975
|
+
} | undefined;
|
|
1973
1976
|
breastfeed?: {
|
|
1974
1977
|
totalMinutes: number | null;
|
|
1975
1978
|
leftMinutes: number | null;
|
|
1976
1979
|
rightMinutes: number | null;
|
|
1977
1980
|
} | undefined;
|
|
1978
|
-
sleep?: {
|
|
1979
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1980
|
-
} | undefined;
|
|
1981
1981
|
} | null | undefined;
|
|
1982
1982
|
importSource?: "huckleberry" | null | undefined;
|
|
1983
1983
|
importBatchId?: string | null | undefined;
|
|
@@ -2074,7 +2074,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2074
2074
|
createdAt: string;
|
|
2075
2075
|
updatedAt: string;
|
|
2076
2076
|
familyUserId: string;
|
|
2077
|
-
activityType: "
|
|
2077
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2078
2078
|
details: {
|
|
2079
2079
|
date: string;
|
|
2080
2080
|
start: string;
|
|
@@ -2126,14 +2126,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2126
2126
|
updatedByUserId: string;
|
|
2127
2127
|
timeZone?: string | null | undefined;
|
|
2128
2128
|
importContext?: {
|
|
2129
|
+
sleep?: {
|
|
2130
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2131
|
+
} | undefined;
|
|
2129
2132
|
breastfeed?: {
|
|
2130
2133
|
totalMinutes: number | null;
|
|
2131
2134
|
leftMinutes: number | null;
|
|
2132
2135
|
rightMinutes: number | null;
|
|
2133
2136
|
} | undefined;
|
|
2134
|
-
sleep?: {
|
|
2135
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2136
|
-
} | undefined;
|
|
2137
2137
|
} | null | undefined;
|
|
2138
2138
|
importSource?: "huckleberry" | null | undefined;
|
|
2139
2139
|
importBatchId?: string | null | undefined;
|
|
@@ -2230,7 +2230,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2230
2230
|
createdAt: string;
|
|
2231
2231
|
updatedAt: string;
|
|
2232
2232
|
familyUserId: string;
|
|
2233
|
-
activityType: "
|
|
2233
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2234
2234
|
details: {
|
|
2235
2235
|
date: string;
|
|
2236
2236
|
start: string;
|
|
@@ -2282,14 +2282,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2282
2282
|
updatedByUserId: string;
|
|
2283
2283
|
timeZone?: string | null | undefined;
|
|
2284
2284
|
importContext?: {
|
|
2285
|
+
sleep?: {
|
|
2286
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2287
|
+
} | undefined;
|
|
2285
2288
|
breastfeed?: {
|
|
2286
2289
|
totalMinutes: number | null;
|
|
2287
2290
|
leftMinutes: number | null;
|
|
2288
2291
|
rightMinutes: number | null;
|
|
2289
2292
|
} | undefined;
|
|
2290
|
-
sleep?: {
|
|
2291
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2292
|
-
} | undefined;
|
|
2293
2293
|
} | null | undefined;
|
|
2294
2294
|
importSource?: "huckleberry" | null | undefined;
|
|
2295
2295
|
importBatchId?: string | null | undefined;
|
|
@@ -2386,7 +2386,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2386
2386
|
createdAt: string;
|
|
2387
2387
|
updatedAt: string;
|
|
2388
2388
|
familyUserId: string;
|
|
2389
|
-
activityType: "
|
|
2389
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2390
2390
|
details: {
|
|
2391
2391
|
date: string;
|
|
2392
2392
|
start: string;
|
|
@@ -2438,14 +2438,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2438
2438
|
updatedByUserId: string;
|
|
2439
2439
|
timeZone?: string | null | undefined;
|
|
2440
2440
|
importContext?: {
|
|
2441
|
+
sleep?: {
|
|
2442
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2443
|
+
} | undefined;
|
|
2441
2444
|
breastfeed?: {
|
|
2442
2445
|
totalMinutes: number | null;
|
|
2443
2446
|
leftMinutes: number | null;
|
|
2444
2447
|
rightMinutes: number | null;
|
|
2445
2448
|
} | undefined;
|
|
2446
|
-
sleep?: {
|
|
2447
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2448
|
-
} | undefined;
|
|
2449
2449
|
} | null | undefined;
|
|
2450
2450
|
importSource?: "huckleberry" | null | undefined;
|
|
2451
2451
|
importBatchId?: string | null | undefined;
|
|
@@ -2542,7 +2542,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2542
2542
|
createdAt: string;
|
|
2543
2543
|
updatedAt: string;
|
|
2544
2544
|
familyUserId: string;
|
|
2545
|
-
activityType: "
|
|
2545
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2546
2546
|
details: {
|
|
2547
2547
|
date: string;
|
|
2548
2548
|
start: string;
|
|
@@ -2594,14 +2594,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2594
2594
|
updatedByUserId: string;
|
|
2595
2595
|
timeZone?: string | null | undefined;
|
|
2596
2596
|
importContext?: {
|
|
2597
|
+
sleep?: {
|
|
2598
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2599
|
+
} | undefined;
|
|
2597
2600
|
breastfeed?: {
|
|
2598
2601
|
totalMinutes: number | null;
|
|
2599
2602
|
leftMinutes: number | null;
|
|
2600
2603
|
rightMinutes: number | null;
|
|
2601
2604
|
} | undefined;
|
|
2602
|
-
sleep?: {
|
|
2603
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2604
|
-
} | undefined;
|
|
2605
2605
|
} | null | undefined;
|
|
2606
2606
|
importSource?: "huckleberry" | null | undefined;
|
|
2607
2607
|
importBatchId?: string | null | undefined;
|
|
@@ -2698,7 +2698,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2698
2698
|
createdAt: string;
|
|
2699
2699
|
updatedAt: string;
|
|
2700
2700
|
familyUserId: string;
|
|
2701
|
-
activityType: "
|
|
2701
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2702
2702
|
details: {
|
|
2703
2703
|
date: string;
|
|
2704
2704
|
start: string;
|
|
@@ -2750,14 +2750,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2750
2750
|
updatedByUserId: string;
|
|
2751
2751
|
timeZone?: string | null | undefined;
|
|
2752
2752
|
importContext?: {
|
|
2753
|
+
sleep?: {
|
|
2754
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2755
|
+
} | undefined;
|
|
2753
2756
|
breastfeed?: {
|
|
2754
2757
|
totalMinutes: number | null;
|
|
2755
2758
|
leftMinutes: number | null;
|
|
2756
2759
|
rightMinutes: number | null;
|
|
2757
2760
|
} | undefined;
|
|
2758
|
-
sleep?: {
|
|
2759
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2760
|
-
} | undefined;
|
|
2761
2761
|
} | null | undefined;
|
|
2762
2762
|
importSource?: "huckleberry" | null | undefined;
|
|
2763
2763
|
importBatchId?: string | null | undefined;
|
|
@@ -2877,23 +2877,23 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
2877
2877
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2878
2878
|
}>>;
|
|
2879
2879
|
}, "strict", z.ZodTypeAny, {
|
|
2880
|
+
sleep?: {
|
|
2881
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2882
|
+
} | undefined;
|
|
2880
2883
|
breastfeed?: {
|
|
2881
2884
|
totalMinutes: number | null;
|
|
2882
2885
|
leftMinutes: number | null;
|
|
2883
2886
|
rightMinutes: number | null;
|
|
2884
2887
|
} | undefined;
|
|
2888
|
+
}, {
|
|
2885
2889
|
sleep?: {
|
|
2886
2890
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2887
2891
|
} | undefined;
|
|
2888
|
-
}, {
|
|
2889
2892
|
breastfeed?: {
|
|
2890
2893
|
totalMinutes: number | null;
|
|
2891
2894
|
leftMinutes: number | null;
|
|
2892
2895
|
rightMinutes: number | null;
|
|
2893
2896
|
} | undefined;
|
|
2894
|
-
sleep?: {
|
|
2895
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2896
|
-
} | undefined;
|
|
2897
2897
|
}>>>;
|
|
2898
2898
|
id: z.ZodString;
|
|
2899
2899
|
familyUserId: z.ZodString;
|
|
@@ -3489,7 +3489,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3489
3489
|
createdAt: string;
|
|
3490
3490
|
updatedAt: string;
|
|
3491
3491
|
familyUserId: string;
|
|
3492
|
-
activityType: "
|
|
3492
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
3493
3493
|
details: {
|
|
3494
3494
|
date: string;
|
|
3495
3495
|
start: string;
|
|
@@ -3541,14 +3541,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3541
3541
|
updatedByUserId: string;
|
|
3542
3542
|
timeZone?: string | null | undefined;
|
|
3543
3543
|
importContext?: {
|
|
3544
|
+
sleep?: {
|
|
3545
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
3546
|
+
} | undefined;
|
|
3544
3547
|
breastfeed?: {
|
|
3545
3548
|
totalMinutes: number | null;
|
|
3546
3549
|
leftMinutes: number | null;
|
|
3547
3550
|
rightMinutes: number | null;
|
|
3548
3551
|
} | undefined;
|
|
3549
|
-
sleep?: {
|
|
3550
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
3551
|
-
} | undefined;
|
|
3552
3552
|
} | null | undefined;
|
|
3553
3553
|
importSource?: "huckleberry" | null | undefined;
|
|
3554
3554
|
importBatchId?: string | null | undefined;
|
|
@@ -3645,7 +3645,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3645
3645
|
createdAt: string;
|
|
3646
3646
|
updatedAt: string;
|
|
3647
3647
|
familyUserId: string;
|
|
3648
|
-
activityType: "
|
|
3648
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
3649
3649
|
details: {
|
|
3650
3650
|
date: string;
|
|
3651
3651
|
start: string;
|
|
@@ -3697,14 +3697,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3697
3697
|
updatedByUserId: string;
|
|
3698
3698
|
timeZone?: string | null | undefined;
|
|
3699
3699
|
importContext?: {
|
|
3700
|
+
sleep?: {
|
|
3701
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
3702
|
+
} | undefined;
|
|
3700
3703
|
breastfeed?: {
|
|
3701
3704
|
totalMinutes: number | null;
|
|
3702
3705
|
leftMinutes: number | null;
|
|
3703
3706
|
rightMinutes: number | null;
|
|
3704
3707
|
} | undefined;
|
|
3705
|
-
sleep?: {
|
|
3706
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
3707
|
-
} | undefined;
|
|
3708
3708
|
} | null | undefined;
|
|
3709
3709
|
importSource?: "huckleberry" | null | undefined;
|
|
3710
3710
|
importBatchId?: string | null | undefined;
|
|
@@ -3801,7 +3801,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3801
3801
|
createdAt: string;
|
|
3802
3802
|
updatedAt: string;
|
|
3803
3803
|
familyUserId: string;
|
|
3804
|
-
activityType: "
|
|
3804
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
3805
3805
|
details: {
|
|
3806
3806
|
date: string;
|
|
3807
3807
|
start: string;
|
|
@@ -3853,14 +3853,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3853
3853
|
updatedByUserId: string;
|
|
3854
3854
|
timeZone?: string | null | undefined;
|
|
3855
3855
|
importContext?: {
|
|
3856
|
+
sleep?: {
|
|
3857
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
3858
|
+
} | undefined;
|
|
3856
3859
|
breastfeed?: {
|
|
3857
3860
|
totalMinutes: number | null;
|
|
3858
3861
|
leftMinutes: number | null;
|
|
3859
3862
|
rightMinutes: number | null;
|
|
3860
3863
|
} | undefined;
|
|
3861
|
-
sleep?: {
|
|
3862
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
3863
|
-
} | undefined;
|
|
3864
3864
|
} | null | undefined;
|
|
3865
3865
|
importSource?: "huckleberry" | null | undefined;
|
|
3866
3866
|
importBatchId?: string | null | undefined;
|
|
@@ -3957,7 +3957,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
3957
3957
|
createdAt: string;
|
|
3958
3958
|
updatedAt: string;
|
|
3959
3959
|
familyUserId: string;
|
|
3960
|
-
activityType: "
|
|
3960
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
3961
3961
|
details: {
|
|
3962
3962
|
date: string;
|
|
3963
3963
|
start: string;
|
|
@@ -4009,14 +4009,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4009
4009
|
updatedByUserId: string;
|
|
4010
4010
|
timeZone?: string | null | undefined;
|
|
4011
4011
|
importContext?: {
|
|
4012
|
+
sleep?: {
|
|
4013
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4014
|
+
} | undefined;
|
|
4012
4015
|
breastfeed?: {
|
|
4013
4016
|
totalMinutes: number | null;
|
|
4014
4017
|
leftMinutes: number | null;
|
|
4015
4018
|
rightMinutes: number | null;
|
|
4016
4019
|
} | undefined;
|
|
4017
|
-
sleep?: {
|
|
4018
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4019
|
-
} | undefined;
|
|
4020
4020
|
} | null | undefined;
|
|
4021
4021
|
importSource?: "huckleberry" | null | undefined;
|
|
4022
4022
|
importBatchId?: string | null | undefined;
|
|
@@ -4113,7 +4113,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4113
4113
|
createdAt: string;
|
|
4114
4114
|
updatedAt: string;
|
|
4115
4115
|
familyUserId: string;
|
|
4116
|
-
activityType: "
|
|
4116
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
4117
4117
|
details: {
|
|
4118
4118
|
date: string;
|
|
4119
4119
|
start: string;
|
|
@@ -4165,14 +4165,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4165
4165
|
updatedByUserId: string;
|
|
4166
4166
|
timeZone?: string | null | undefined;
|
|
4167
4167
|
importContext?: {
|
|
4168
|
+
sleep?: {
|
|
4169
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4170
|
+
} | undefined;
|
|
4168
4171
|
breastfeed?: {
|
|
4169
4172
|
totalMinutes: number | null;
|
|
4170
4173
|
leftMinutes: number | null;
|
|
4171
4174
|
rightMinutes: number | null;
|
|
4172
4175
|
} | undefined;
|
|
4173
|
-
sleep?: {
|
|
4174
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4175
|
-
} | undefined;
|
|
4176
4176
|
} | null | undefined;
|
|
4177
4177
|
importSource?: "huckleberry" | null | undefined;
|
|
4178
4178
|
importBatchId?: string | null | undefined;
|
|
@@ -4269,7 +4269,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4269
4269
|
createdAt: string;
|
|
4270
4270
|
updatedAt: string;
|
|
4271
4271
|
familyUserId: string;
|
|
4272
|
-
activityType: "
|
|
4272
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
4273
4273
|
details: {
|
|
4274
4274
|
date: string;
|
|
4275
4275
|
start: string;
|
|
@@ -4321,14 +4321,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4321
4321
|
updatedByUserId: string;
|
|
4322
4322
|
timeZone?: string | null | undefined;
|
|
4323
4323
|
importContext?: {
|
|
4324
|
+
sleep?: {
|
|
4325
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4326
|
+
} | undefined;
|
|
4324
4327
|
breastfeed?: {
|
|
4325
4328
|
totalMinutes: number | null;
|
|
4326
4329
|
leftMinutes: number | null;
|
|
4327
4330
|
rightMinutes: number | null;
|
|
4328
4331
|
} | undefined;
|
|
4329
|
-
sleep?: {
|
|
4330
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4331
|
-
} | undefined;
|
|
4332
4332
|
} | null | undefined;
|
|
4333
4333
|
importSource?: "huckleberry" | null | undefined;
|
|
4334
4334
|
importBatchId?: string | null | undefined;
|
|
@@ -4425,7 +4425,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4425
4425
|
createdAt: string;
|
|
4426
4426
|
updatedAt: string;
|
|
4427
4427
|
familyUserId: string;
|
|
4428
|
-
activityType: "
|
|
4428
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
4429
4429
|
details: {
|
|
4430
4430
|
date: string;
|
|
4431
4431
|
start: string;
|
|
@@ -4477,14 +4477,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4477
4477
|
updatedByUserId: string;
|
|
4478
4478
|
timeZone?: string | null | undefined;
|
|
4479
4479
|
importContext?: {
|
|
4480
|
+
sleep?: {
|
|
4481
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4482
|
+
} | undefined;
|
|
4480
4483
|
breastfeed?: {
|
|
4481
4484
|
totalMinutes: number | null;
|
|
4482
4485
|
leftMinutes: number | null;
|
|
4483
4486
|
rightMinutes: number | null;
|
|
4484
4487
|
} | undefined;
|
|
4485
|
-
sleep?: {
|
|
4486
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4487
|
-
} | undefined;
|
|
4488
4488
|
} | null | undefined;
|
|
4489
4489
|
importSource?: "huckleberry" | null | undefined;
|
|
4490
4490
|
importBatchId?: string | null | undefined;
|
|
@@ -4581,7 +4581,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4581
4581
|
createdAt: string;
|
|
4582
4582
|
updatedAt: string;
|
|
4583
4583
|
familyUserId: string;
|
|
4584
|
-
activityType: "
|
|
4584
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
4585
4585
|
details: {
|
|
4586
4586
|
date: string;
|
|
4587
4587
|
start: string;
|
|
@@ -4633,14 +4633,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4633
4633
|
updatedByUserId: string;
|
|
4634
4634
|
timeZone?: string | null | undefined;
|
|
4635
4635
|
importContext?: {
|
|
4636
|
+
sleep?: {
|
|
4637
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4638
|
+
} | undefined;
|
|
4636
4639
|
breastfeed?: {
|
|
4637
4640
|
totalMinutes: number | null;
|
|
4638
4641
|
leftMinutes: number | null;
|
|
4639
4642
|
rightMinutes: number | null;
|
|
4640
4643
|
} | undefined;
|
|
4641
|
-
sleep?: {
|
|
4642
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4643
|
-
} | undefined;
|
|
4644
4644
|
} | null | undefined;
|
|
4645
4645
|
importSource?: "huckleberry" | null | undefined;
|
|
4646
4646
|
importBatchId?: string | null | undefined;
|
|
@@ -4737,7 +4737,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4737
4737
|
createdAt: string;
|
|
4738
4738
|
updatedAt: string;
|
|
4739
4739
|
familyUserId: string;
|
|
4740
|
-
activityType: "
|
|
4740
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
4741
4741
|
details: {
|
|
4742
4742
|
date: string;
|
|
4743
4743
|
start: string;
|
|
@@ -4789,14 +4789,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4789
4789
|
updatedByUserId: string;
|
|
4790
4790
|
timeZone?: string | null | undefined;
|
|
4791
4791
|
importContext?: {
|
|
4792
|
+
sleep?: {
|
|
4793
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4794
|
+
} | undefined;
|
|
4792
4795
|
breastfeed?: {
|
|
4793
4796
|
totalMinutes: number | null;
|
|
4794
4797
|
leftMinutes: number | null;
|
|
4795
4798
|
rightMinutes: number | null;
|
|
4796
4799
|
} | undefined;
|
|
4797
|
-
sleep?: {
|
|
4798
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4799
|
-
} | undefined;
|
|
4800
4800
|
} | null | undefined;
|
|
4801
4801
|
importSource?: "huckleberry" | null | undefined;
|
|
4802
4802
|
importBatchId?: string | null | undefined;
|
|
@@ -4893,7 +4893,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4893
4893
|
createdAt: string;
|
|
4894
4894
|
updatedAt: string;
|
|
4895
4895
|
familyUserId: string;
|
|
4896
|
-
activityType: "
|
|
4896
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
4897
4897
|
details: {
|
|
4898
4898
|
date: string;
|
|
4899
4899
|
start: string;
|
|
@@ -4945,14 +4945,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
4945
4945
|
updatedByUserId: string;
|
|
4946
4946
|
timeZone?: string | null | undefined;
|
|
4947
4947
|
importContext?: {
|
|
4948
|
+
sleep?: {
|
|
4949
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4950
|
+
} | undefined;
|
|
4948
4951
|
breastfeed?: {
|
|
4949
4952
|
totalMinutes: number | null;
|
|
4950
4953
|
leftMinutes: number | null;
|
|
4951
4954
|
rightMinutes: number | null;
|
|
4952
4955
|
} | undefined;
|
|
4953
|
-
sleep?: {
|
|
4954
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
4955
|
-
} | undefined;
|
|
4956
4956
|
} | null | undefined;
|
|
4957
4957
|
importSource?: "huckleberry" | null | undefined;
|
|
4958
4958
|
importBatchId?: string | null | undefined;
|
|
@@ -5055,7 +5055,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5055
5055
|
createdAt: string;
|
|
5056
5056
|
updatedAt: string;
|
|
5057
5057
|
familyUserId: string;
|
|
5058
|
-
activityType: "
|
|
5058
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
5059
5059
|
details: {
|
|
5060
5060
|
date: string;
|
|
5061
5061
|
start: string;
|
|
@@ -5107,14 +5107,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5107
5107
|
updatedByUserId: string;
|
|
5108
5108
|
timeZone?: string | null | undefined;
|
|
5109
5109
|
importContext?: {
|
|
5110
|
+
sleep?: {
|
|
5111
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5112
|
+
} | undefined;
|
|
5110
5113
|
breastfeed?: {
|
|
5111
5114
|
totalMinutes: number | null;
|
|
5112
5115
|
leftMinutes: number | null;
|
|
5113
5116
|
rightMinutes: number | null;
|
|
5114
5117
|
} | undefined;
|
|
5115
|
-
sleep?: {
|
|
5116
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5117
|
-
} | undefined;
|
|
5118
5118
|
} | null | undefined;
|
|
5119
5119
|
importSource?: "huckleberry" | null | undefined;
|
|
5120
5120
|
importBatchId?: string | null | undefined;
|
|
@@ -5208,15 +5208,15 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5208
5208
|
editedByCoach?: boolean | undefined;
|
|
5209
5209
|
}[];
|
|
5210
5210
|
action: "undo" | "save";
|
|
5211
|
-
commandId: string;
|
|
5212
5211
|
nightId: string;
|
|
5212
|
+
commandId: string;
|
|
5213
5213
|
removedIds: string[];
|
|
5214
5214
|
feeds?: {
|
|
5215
5215
|
id: string;
|
|
5216
5216
|
createdAt: string;
|
|
5217
5217
|
updatedAt: string;
|
|
5218
5218
|
familyUserId: string;
|
|
5219
|
-
activityType: "
|
|
5219
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
5220
5220
|
details: {
|
|
5221
5221
|
date: string;
|
|
5222
5222
|
start: string;
|
|
@@ -5268,14 +5268,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5268
5268
|
updatedByUserId: string;
|
|
5269
5269
|
timeZone?: string | null | undefined;
|
|
5270
5270
|
importContext?: {
|
|
5271
|
+
sleep?: {
|
|
5272
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5273
|
+
} | undefined;
|
|
5271
5274
|
breastfeed?: {
|
|
5272
5275
|
totalMinutes: number | null;
|
|
5273
5276
|
leftMinutes: number | null;
|
|
5274
5277
|
rightMinutes: number | null;
|
|
5275
5278
|
} | undefined;
|
|
5276
|
-
sleep?: {
|
|
5277
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5278
|
-
} | undefined;
|
|
5279
5279
|
} | null | undefined;
|
|
5280
5280
|
importSource?: "huckleberry" | null | undefined;
|
|
5281
5281
|
importBatchId?: string | null | undefined;
|
|
@@ -5377,7 +5377,7 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5377
5377
|
createdAt: string;
|
|
5378
5378
|
updatedAt: string;
|
|
5379
5379
|
familyUserId: string;
|
|
5380
|
-
activityType: "
|
|
5380
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
5381
5381
|
details: {
|
|
5382
5382
|
date: string;
|
|
5383
5383
|
start: string;
|
|
@@ -5429,14 +5429,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5429
5429
|
updatedByUserId: string;
|
|
5430
5430
|
timeZone?: string | null | undefined;
|
|
5431
5431
|
importContext?: {
|
|
5432
|
+
sleep?: {
|
|
5433
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5434
|
+
} | undefined;
|
|
5432
5435
|
breastfeed?: {
|
|
5433
5436
|
totalMinutes: number | null;
|
|
5434
5437
|
leftMinutes: number | null;
|
|
5435
5438
|
rightMinutes: number | null;
|
|
5436
5439
|
} | undefined;
|
|
5437
|
-
sleep?: {
|
|
5438
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5439
|
-
} | undefined;
|
|
5440
5440
|
} | null | undefined;
|
|
5441
5441
|
importSource?: "huckleberry" | null | undefined;
|
|
5442
5442
|
importBatchId?: string | null | undefined;
|
|
@@ -5530,15 +5530,15 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5530
5530
|
editedByCoach?: boolean | undefined;
|
|
5531
5531
|
}[];
|
|
5532
5532
|
action: "undo" | "save";
|
|
5533
|
-
commandId: string;
|
|
5534
5533
|
nightId: string;
|
|
5534
|
+
commandId: string;
|
|
5535
5535
|
removedIds: string[];
|
|
5536
5536
|
feeds?: {
|
|
5537
5537
|
id: string;
|
|
5538
5538
|
createdAt: string;
|
|
5539
5539
|
updatedAt: string;
|
|
5540
5540
|
familyUserId: string;
|
|
5541
|
-
activityType: "
|
|
5541
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
5542
5542
|
details: {
|
|
5543
5543
|
date: string;
|
|
5544
5544
|
start: string;
|
|
@@ -5590,14 +5590,14 @@ export declare const completedSleepNightResponseSchema: z.ZodObject<{
|
|
|
5590
5590
|
updatedByUserId: string;
|
|
5591
5591
|
timeZone?: string | null | undefined;
|
|
5592
5592
|
importContext?: {
|
|
5593
|
+
sleep?: {
|
|
5594
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5595
|
+
} | undefined;
|
|
5593
5596
|
breastfeed?: {
|
|
5594
5597
|
totalMinutes: number | null;
|
|
5595
5598
|
leftMinutes: number | null;
|
|
5596
5599
|
rightMinutes: number | null;
|
|
5597
5600
|
} | undefined;
|
|
5598
|
-
sleep?: {
|
|
5599
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
5600
|
-
} | undefined;
|
|
5601
5601
|
} | null | undefined;
|
|
5602
5602
|
importSource?: "huckleberry" | null | undefined;
|
|
5603
5603
|
importBatchId?: string | null | undefined;
|