@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
package/dist/analysis.d.ts
CHANGED
|
@@ -8,25 +8,25 @@ export declare const analysisActivitiesQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
babyId: string;
|
|
10
10
|
familyUserId?: string | undefined;
|
|
11
|
-
activityType?: "
|
|
11
|
+
activityType?: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies" | undefined;
|
|
12
12
|
from?: string | undefined;
|
|
13
13
|
to?: string | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
babyId: string;
|
|
16
16
|
familyUserId?: string | undefined;
|
|
17
|
-
activityType?: "
|
|
17
|
+
activityType?: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies" | undefined;
|
|
18
18
|
from?: string | undefined;
|
|
19
19
|
to?: string | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
babyId: string;
|
|
22
22
|
familyUserId?: string | undefined;
|
|
23
|
-
activityType?: "
|
|
23
|
+
activityType?: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies" | undefined;
|
|
24
24
|
from?: string | undefined;
|
|
25
25
|
to?: string | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
babyId: string;
|
|
28
28
|
familyUserId?: string | undefined;
|
|
29
|
-
activityType?: "
|
|
29
|
+
activityType?: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies" | undefined;
|
|
30
30
|
from?: string | undefined;
|
|
31
31
|
to?: string | undefined;
|
|
32
32
|
}>;
|
|
@@ -58,23 +58,23 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
58
58
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
59
59
|
}>>;
|
|
60
60
|
}, "strict", z.ZodTypeAny, {
|
|
61
|
+
sleep?: {
|
|
62
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
63
|
+
} | undefined;
|
|
61
64
|
breastfeed?: {
|
|
62
65
|
totalMinutes: number | null;
|
|
63
66
|
leftMinutes: number | null;
|
|
64
67
|
rightMinutes: number | null;
|
|
65
68
|
} | undefined;
|
|
69
|
+
}, {
|
|
66
70
|
sleep?: {
|
|
67
71
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
68
72
|
} | undefined;
|
|
69
|
-
}, {
|
|
70
73
|
breastfeed?: {
|
|
71
74
|
totalMinutes: number | null;
|
|
72
75
|
leftMinutes: number | null;
|
|
73
76
|
rightMinutes: number | null;
|
|
74
77
|
} | undefined;
|
|
75
|
-
sleep?: {
|
|
76
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
77
|
-
} | undefined;
|
|
78
78
|
}>>>;
|
|
79
79
|
id: z.ZodString;
|
|
80
80
|
familyUserId: z.ZodString;
|
|
@@ -670,7 +670,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
670
670
|
createdAt: string;
|
|
671
671
|
updatedAt: string;
|
|
672
672
|
familyUserId: string;
|
|
673
|
-
activityType: "
|
|
673
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
674
674
|
details: {
|
|
675
675
|
date: string;
|
|
676
676
|
start: string;
|
|
@@ -722,14 +722,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
722
722
|
updatedByUserId: string;
|
|
723
723
|
timeZone?: string | null | undefined;
|
|
724
724
|
importContext?: {
|
|
725
|
+
sleep?: {
|
|
726
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
727
|
+
} | undefined;
|
|
725
728
|
breastfeed?: {
|
|
726
729
|
totalMinutes: number | null;
|
|
727
730
|
leftMinutes: number | null;
|
|
728
731
|
rightMinutes: number | null;
|
|
729
732
|
} | undefined;
|
|
730
|
-
sleep?: {
|
|
731
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
732
|
-
} | undefined;
|
|
733
733
|
} | null | undefined;
|
|
734
734
|
importSource?: "huckleberry" | null | undefined;
|
|
735
735
|
importBatchId?: string | null | undefined;
|
|
@@ -826,7 +826,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
826
826
|
createdAt: string;
|
|
827
827
|
updatedAt: string;
|
|
828
828
|
familyUserId: string;
|
|
829
|
-
activityType: "
|
|
829
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
830
830
|
details: {
|
|
831
831
|
date: string;
|
|
832
832
|
start: string;
|
|
@@ -878,14 +878,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
878
878
|
updatedByUserId: string;
|
|
879
879
|
timeZone?: string | null | undefined;
|
|
880
880
|
importContext?: {
|
|
881
|
+
sleep?: {
|
|
882
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
883
|
+
} | undefined;
|
|
881
884
|
breastfeed?: {
|
|
882
885
|
totalMinutes: number | null;
|
|
883
886
|
leftMinutes: number | null;
|
|
884
887
|
rightMinutes: number | null;
|
|
885
888
|
} | undefined;
|
|
886
|
-
sleep?: {
|
|
887
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
888
|
-
} | undefined;
|
|
889
889
|
} | null | undefined;
|
|
890
890
|
importSource?: "huckleberry" | null | undefined;
|
|
891
891
|
importBatchId?: string | null | undefined;
|
|
@@ -982,7 +982,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
982
982
|
createdAt: string;
|
|
983
983
|
updatedAt: string;
|
|
984
984
|
familyUserId: string;
|
|
985
|
-
activityType: "
|
|
985
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
986
986
|
details: {
|
|
987
987
|
date: string;
|
|
988
988
|
start: string;
|
|
@@ -1034,14 +1034,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1034
1034
|
updatedByUserId: string;
|
|
1035
1035
|
timeZone?: string | null | undefined;
|
|
1036
1036
|
importContext?: {
|
|
1037
|
+
sleep?: {
|
|
1038
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1039
|
+
} | undefined;
|
|
1037
1040
|
breastfeed?: {
|
|
1038
1041
|
totalMinutes: number | null;
|
|
1039
1042
|
leftMinutes: number | null;
|
|
1040
1043
|
rightMinutes: number | null;
|
|
1041
1044
|
} | undefined;
|
|
1042
|
-
sleep?: {
|
|
1043
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1044
|
-
} | undefined;
|
|
1045
1045
|
} | null | undefined;
|
|
1046
1046
|
importSource?: "huckleberry" | null | undefined;
|
|
1047
1047
|
importBatchId?: string | null | undefined;
|
|
@@ -1138,7 +1138,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1138
1138
|
createdAt: string;
|
|
1139
1139
|
updatedAt: string;
|
|
1140
1140
|
familyUserId: string;
|
|
1141
|
-
activityType: "
|
|
1141
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1142
1142
|
details: {
|
|
1143
1143
|
date: string;
|
|
1144
1144
|
start: string;
|
|
@@ -1190,14 +1190,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
1190
1190
|
updatedByUserId: string;
|
|
1191
1191
|
timeZone?: string | null | undefined;
|
|
1192
1192
|
importContext?: {
|
|
1193
|
+
sleep?: {
|
|
1194
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1195
|
+
} | undefined;
|
|
1193
1196
|
breastfeed?: {
|
|
1194
1197
|
totalMinutes: number | null;
|
|
1195
1198
|
leftMinutes: number | null;
|
|
1196
1199
|
rightMinutes: number | null;
|
|
1197
1200
|
} | undefined;
|
|
1198
|
-
sleep?: {
|
|
1199
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
1200
|
-
} | undefined;
|
|
1201
1201
|
} | null | undefined;
|
|
1202
1202
|
importSource?: "huckleberry" | null | undefined;
|
|
1203
1203
|
importBatchId?: string | null | undefined;
|
|
@@ -1294,7 +1294,7 @@ export declare const analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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 analysisActivitiesResponseSchema: 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;
|
|
@@ -2232,7 +2232,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2232
2232
|
createdAt: string;
|
|
2233
2233
|
updatedAt: string;
|
|
2234
2234
|
familyUserId: string;
|
|
2235
|
-
activityType: "
|
|
2235
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2236
2236
|
details: {
|
|
2237
2237
|
date: string;
|
|
2238
2238
|
start: string;
|
|
@@ -2284,14 +2284,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2284
2284
|
updatedByUserId: string;
|
|
2285
2285
|
timeZone?: string | null | undefined;
|
|
2286
2286
|
importContext?: {
|
|
2287
|
+
sleep?: {
|
|
2288
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2289
|
+
} | undefined;
|
|
2287
2290
|
breastfeed?: {
|
|
2288
2291
|
totalMinutes: number | null;
|
|
2289
2292
|
leftMinutes: number | null;
|
|
2290
2293
|
rightMinutes: number | null;
|
|
2291
2294
|
} | undefined;
|
|
2292
|
-
sleep?: {
|
|
2293
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2294
|
-
} | undefined;
|
|
2295
2295
|
} | null | undefined;
|
|
2296
2296
|
importSource?: "huckleberry" | null | undefined;
|
|
2297
2297
|
importBatchId?: string | null | undefined;
|
|
@@ -2390,7 +2390,7 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2390
2390
|
createdAt: string;
|
|
2391
2391
|
updatedAt: string;
|
|
2392
2392
|
familyUserId: string;
|
|
2393
|
-
activityType: "
|
|
2393
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2394
2394
|
details: {
|
|
2395
2395
|
date: string;
|
|
2396
2396
|
start: string;
|
|
@@ -2442,14 +2442,14 @@ export declare const analysisActivitiesResponseSchema: z.ZodObject<{
|
|
|
2442
2442
|
updatedByUserId: string;
|
|
2443
2443
|
timeZone?: string | null | undefined;
|
|
2444
2444
|
importContext?: {
|
|
2445
|
+
sleep?: {
|
|
2446
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2447
|
+
} | undefined;
|
|
2445
2448
|
breastfeed?: {
|
|
2446
2449
|
totalMinutes: number | null;
|
|
2447
2450
|
leftMinutes: number | null;
|
|
2448
2451
|
rightMinutes: number | null;
|
|
2449
2452
|
} | undefined;
|
|
2450
|
-
sleep?: {
|
|
2451
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | null;
|
|
2452
|
-
} | undefined;
|
|
2453
2453
|
} | null | undefined;
|
|
2454
2454
|
importSource?: "huckleberry" | null | undefined;
|
|
2455
2455
|
importBatchId?: string | null | undefined;
|
|
@@ -18,12 +18,12 @@ export declare const coachActivityNotificationListQuerySchema: z.ZodObject<{
|
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
status: "all" | "unread" | "muted";
|
|
20
20
|
limit: number;
|
|
21
|
-
activityType?: "
|
|
21
|
+
activityType?: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies" | undefined;
|
|
22
22
|
cursor?: string | undefined;
|
|
23
23
|
familyId?: string | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
status?: "all" | "unread" | "muted" | undefined;
|
|
26
|
-
activityType?: "
|
|
26
|
+
activityType?: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies" | undefined;
|
|
27
27
|
cursor?: string | undefined;
|
|
28
28
|
limit?: number | undefined;
|
|
29
29
|
familyId?: string | undefined;
|
|
@@ -133,7 +133,7 @@ export declare const coachActivityNotificationCardSchema: z.ZodObject<{
|
|
|
133
133
|
id: string;
|
|
134
134
|
createdAt: string;
|
|
135
135
|
familyUserId: string;
|
|
136
|
-
activityType: "
|
|
136
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
137
137
|
occurredAt: string;
|
|
138
138
|
babyId: string;
|
|
139
139
|
assignmentId: string;
|
|
@@ -151,7 +151,7 @@ export declare const coachActivityNotificationCardSchema: z.ZodObject<{
|
|
|
151
151
|
id: string;
|
|
152
152
|
createdAt: string;
|
|
153
153
|
familyUserId: string;
|
|
154
|
-
activityType: "
|
|
154
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
155
155
|
occurredAt: string;
|
|
156
156
|
babyId: string;
|
|
157
157
|
assignmentId: string;
|
|
@@ -282,7 +282,7 @@ export declare const coachActivityNotificationListResponseSchema: z.ZodObject<{
|
|
|
282
282
|
id: string;
|
|
283
283
|
createdAt: string;
|
|
284
284
|
familyUserId: string;
|
|
285
|
-
activityType: "
|
|
285
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
286
286
|
occurredAt: string;
|
|
287
287
|
babyId: string;
|
|
288
288
|
assignmentId: string;
|
|
@@ -300,7 +300,7 @@ export declare const coachActivityNotificationListResponseSchema: z.ZodObject<{
|
|
|
300
300
|
id: string;
|
|
301
301
|
createdAt: string;
|
|
302
302
|
familyUserId: string;
|
|
303
|
-
activityType: "
|
|
303
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
304
304
|
occurredAt: string;
|
|
305
305
|
babyId: string;
|
|
306
306
|
assignmentId: string;
|
|
@@ -406,7 +406,7 @@ export declare const coachActivityNotificationListResponseSchema: z.ZodObject<{
|
|
|
406
406
|
id: string;
|
|
407
407
|
createdAt: string;
|
|
408
408
|
familyUserId: string;
|
|
409
|
-
activityType: "
|
|
409
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
410
410
|
occurredAt: string;
|
|
411
411
|
babyId: string;
|
|
412
412
|
assignmentId: string;
|
|
@@ -443,7 +443,7 @@ export declare const coachActivityNotificationListResponseSchema: z.ZodObject<{
|
|
|
443
443
|
id: string;
|
|
444
444
|
createdAt: string;
|
|
445
445
|
familyUserId: string;
|
|
446
|
-
activityType: "
|
|
446
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
447
447
|
occurredAt: string;
|
|
448
448
|
babyId: string;
|
|
449
449
|
assignmentId: string;
|
|
@@ -1286,14 +1286,14 @@ export declare const coachFamilyChatActivityTagSchema: z.ZodObject<{
|
|
|
1286
1286
|
}, "strict", z.ZodTypeAny, {
|
|
1287
1287
|
id: string;
|
|
1288
1288
|
timeZone: string | null;
|
|
1289
|
-
activityType: "
|
|
1289
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1290
1290
|
occurredAt: string;
|
|
1291
1291
|
babyId: string;
|
|
1292
1292
|
babyName: string;
|
|
1293
1293
|
}, {
|
|
1294
1294
|
id: string;
|
|
1295
1295
|
timeZone: string | null;
|
|
1296
|
-
activityType: "
|
|
1296
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1297
1297
|
occurredAt: string;
|
|
1298
1298
|
babyId: string;
|
|
1299
1299
|
babyName: string;
|
|
@@ -1317,14 +1317,14 @@ export declare const coachFamilyChatMessageSchema: z.ZodObject<{
|
|
|
1317
1317
|
}, "strict", z.ZodTypeAny, {
|
|
1318
1318
|
id: string;
|
|
1319
1319
|
timeZone: string | null;
|
|
1320
|
-
activityType: "
|
|
1320
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1321
1321
|
occurredAt: string;
|
|
1322
1322
|
babyId: string;
|
|
1323
1323
|
babyName: string;
|
|
1324
1324
|
}, {
|
|
1325
1325
|
id: string;
|
|
1326
1326
|
timeZone: string | null;
|
|
1327
|
-
activityType: "
|
|
1327
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1328
1328
|
occurredAt: string;
|
|
1329
1329
|
babyId: string;
|
|
1330
1330
|
babyName: string;
|
|
@@ -1377,7 +1377,7 @@ export declare const coachFamilyChatMessageSchema: z.ZodObject<{
|
|
|
1377
1377
|
activity: {
|
|
1378
1378
|
id: string;
|
|
1379
1379
|
timeZone: string | null;
|
|
1380
|
-
activityType: "
|
|
1380
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1381
1381
|
occurredAt: string;
|
|
1382
1382
|
babyId: string;
|
|
1383
1383
|
babyName: string;
|
|
@@ -1407,7 +1407,7 @@ export declare const coachFamilyChatMessageSchema: z.ZodObject<{
|
|
|
1407
1407
|
activity: {
|
|
1408
1408
|
id: string;
|
|
1409
1409
|
timeZone: string | null;
|
|
1410
|
-
activityType: "
|
|
1410
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1411
1411
|
occurredAt: string;
|
|
1412
1412
|
babyId: string;
|
|
1413
1413
|
babyName: string;
|
|
@@ -1648,14 +1648,14 @@ export declare const coachFamilyChatMessagePageResponseSchema: z.ZodObject<{
|
|
|
1648
1648
|
}, "strict", z.ZodTypeAny, {
|
|
1649
1649
|
id: string;
|
|
1650
1650
|
timeZone: string | null;
|
|
1651
|
-
activityType: "
|
|
1651
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1652
1652
|
occurredAt: string;
|
|
1653
1653
|
babyId: string;
|
|
1654
1654
|
babyName: string;
|
|
1655
1655
|
}, {
|
|
1656
1656
|
id: string;
|
|
1657
1657
|
timeZone: string | null;
|
|
1658
|
-
activityType: "
|
|
1658
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1659
1659
|
occurredAt: string;
|
|
1660
1660
|
babyId: string;
|
|
1661
1661
|
babyName: string;
|
|
@@ -1708,7 +1708,7 @@ export declare const coachFamilyChatMessagePageResponseSchema: z.ZodObject<{
|
|
|
1708
1708
|
activity: {
|
|
1709
1709
|
id: string;
|
|
1710
1710
|
timeZone: string | null;
|
|
1711
|
-
activityType: "
|
|
1711
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1712
1712
|
occurredAt: string;
|
|
1713
1713
|
babyId: string;
|
|
1714
1714
|
babyName: string;
|
|
@@ -1738,7 +1738,7 @@ export declare const coachFamilyChatMessagePageResponseSchema: z.ZodObject<{
|
|
|
1738
1738
|
activity: {
|
|
1739
1739
|
id: string;
|
|
1740
1740
|
timeZone: string | null;
|
|
1741
|
-
activityType: "
|
|
1741
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1742
1742
|
occurredAt: string;
|
|
1743
1743
|
babyId: string;
|
|
1744
1744
|
babyName: string;
|
|
@@ -1811,7 +1811,7 @@ export declare const coachFamilyChatMessagePageResponseSchema: z.ZodObject<{
|
|
|
1811
1811
|
activity: {
|
|
1812
1812
|
id: string;
|
|
1813
1813
|
timeZone: string | null;
|
|
1814
|
-
activityType: "
|
|
1814
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1815
1815
|
occurredAt: string;
|
|
1816
1816
|
babyId: string;
|
|
1817
1817
|
babyName: string;
|
|
@@ -1886,7 +1886,7 @@ export declare const coachFamilyChatMessagePageResponseSchema: z.ZodObject<{
|
|
|
1886
1886
|
activity: {
|
|
1887
1887
|
id: string;
|
|
1888
1888
|
timeZone: string | null;
|
|
1889
|
-
activityType: "
|
|
1889
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
1890
1890
|
occurredAt: string;
|
|
1891
1891
|
babyId: string;
|
|
1892
1892
|
babyName: string;
|
|
@@ -2266,14 +2266,14 @@ export declare const coachFamilyChatOwnerMessageSchema: z.ZodObject<Omit<{
|
|
|
2266
2266
|
}, "strict", z.ZodTypeAny, {
|
|
2267
2267
|
id: string;
|
|
2268
2268
|
timeZone: string | null;
|
|
2269
|
-
activityType: "
|
|
2269
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2270
2270
|
occurredAt: string;
|
|
2271
2271
|
babyId: string;
|
|
2272
2272
|
babyName: string;
|
|
2273
2273
|
}, {
|
|
2274
2274
|
id: string;
|
|
2275
2275
|
timeZone: string | null;
|
|
2276
|
-
activityType: "
|
|
2276
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2277
2277
|
occurredAt: string;
|
|
2278
2278
|
babyId: string;
|
|
2279
2279
|
babyName: string;
|
|
@@ -2327,7 +2327,7 @@ export declare const coachFamilyChatOwnerMessageSchema: z.ZodObject<Omit<{
|
|
|
2327
2327
|
activity: {
|
|
2328
2328
|
id: string;
|
|
2329
2329
|
timeZone: string | null;
|
|
2330
|
-
activityType: "
|
|
2330
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2331
2331
|
occurredAt: string;
|
|
2332
2332
|
babyId: string;
|
|
2333
2333
|
babyName: string;
|
|
@@ -2357,7 +2357,7 @@ export declare const coachFamilyChatOwnerMessageSchema: z.ZodObject<Omit<{
|
|
|
2357
2357
|
activity: {
|
|
2358
2358
|
id: string;
|
|
2359
2359
|
timeZone: string | null;
|
|
2360
|
-
activityType: "
|
|
2360
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2361
2361
|
occurredAt: string;
|
|
2362
2362
|
babyId: string;
|
|
2363
2363
|
babyName: string;
|
|
@@ -2877,14 +2877,14 @@ export declare const coachFamilyChatOwnerMessagePageResponseSchema: z.ZodObject<
|
|
|
2877
2877
|
}, "strict", z.ZodTypeAny, {
|
|
2878
2878
|
id: string;
|
|
2879
2879
|
timeZone: string | null;
|
|
2880
|
-
activityType: "
|
|
2880
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2881
2881
|
occurredAt: string;
|
|
2882
2882
|
babyId: string;
|
|
2883
2883
|
babyName: string;
|
|
2884
2884
|
}, {
|
|
2885
2885
|
id: string;
|
|
2886
2886
|
timeZone: string | null;
|
|
2887
|
-
activityType: "
|
|
2887
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2888
2888
|
occurredAt: string;
|
|
2889
2889
|
babyId: string;
|
|
2890
2890
|
babyName: string;
|
|
@@ -2938,7 +2938,7 @@ export declare const coachFamilyChatOwnerMessagePageResponseSchema: z.ZodObject<
|
|
|
2938
2938
|
activity: {
|
|
2939
2939
|
id: string;
|
|
2940
2940
|
timeZone: string | null;
|
|
2941
|
-
activityType: "
|
|
2941
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2942
2942
|
occurredAt: string;
|
|
2943
2943
|
babyId: string;
|
|
2944
2944
|
babyName: string;
|
|
@@ -2968,7 +2968,7 @@ export declare const coachFamilyChatOwnerMessagePageResponseSchema: z.ZodObject<
|
|
|
2968
2968
|
activity: {
|
|
2969
2969
|
id: string;
|
|
2970
2970
|
timeZone: string | null;
|
|
2971
|
-
activityType: "
|
|
2971
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
2972
2972
|
occurredAt: string;
|
|
2973
2973
|
babyId: string;
|
|
2974
2974
|
babyName: string;
|
|
@@ -3037,7 +3037,7 @@ export declare const coachFamilyChatOwnerMessagePageResponseSchema: z.ZodObject<
|
|
|
3037
3037
|
activity: {
|
|
3038
3038
|
id: string;
|
|
3039
3039
|
timeZone: string | null;
|
|
3040
|
-
activityType: "
|
|
3040
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
3041
3041
|
occurredAt: string;
|
|
3042
3042
|
babyId: string;
|
|
3043
3043
|
babyName: string;
|
|
@@ -3106,7 +3106,7 @@ export declare const coachFamilyChatOwnerMessagePageResponseSchema: z.ZodObject<
|
|
|
3106
3106
|
activity: {
|
|
3107
3107
|
id: string;
|
|
3108
3108
|
timeZone: string | null;
|
|
3109
|
-
activityType: "
|
|
3109
|
+
activityType: "sleep" | "bottles" | "breastfeed" | "pumping" | "medication" | "solids" | "nappies";
|
|
3110
3110
|
occurredAt: string;
|
|
3111
3111
|
babyId: string;
|
|
3112
3112
|
babyName: string;
|