@nikthegeek/dreamsforlittles-shared 0.18.26 → 0.18.28
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/family.d.ts +530 -2
- package/dist/family.js +16 -4
- package/dist/family.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/native-timer-nap-awake.d.ts +10 -0
- package/dist/native-timer-nap-awake.js +11 -0
- package/dist/native-timer-nap-awake.js.map +1 -0
- package/dist/native-timer-nap-awake.test.d.ts +1 -0
- package/dist/native-timer-nap-awake.test.js +68 -0
- package/dist/native-timer-nap-awake.test.js.map +1 -0
- package/dist/native-timer-state.d.ts +472 -118
- package/dist/native-timer-state.js +17 -3
- package/dist/native-timer-state.js.map +1 -1
- package/dist/sleep-nap-join.d.ts +2712 -0
- package/dist/sleep-nap-join.js +46 -0
- package/dist/sleep-nap-join.js.map +1 -0
- package/dist/sleep-nap-join.test.d.ts +1 -0
- package/dist/sleep-nap-join.test.js +46 -0
- package/dist/sleep-nap-join.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const nativeTimerActionSchema: z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>;
|
|
2
|
+
export declare const nativeTimerActionSchema: z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>;
|
|
3
3
|
export declare const nativeTimerCapabilitySchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
token: z.ZodString;
|
|
6
6
|
expiresAt: z.ZodString;
|
|
7
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
7
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
9
|
id: string;
|
|
10
10
|
expiresAt: string;
|
|
11
11
|
token: string;
|
|
12
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
12
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
13
13
|
}, {
|
|
14
14
|
id: string;
|
|
15
15
|
expiresAt: string;
|
|
16
16
|
token: string;
|
|
17
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
17
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
18
18
|
}>;
|
|
19
19
|
export declare const nativeTimerStatusRequestSchema: z.ZodObject<{
|
|
20
20
|
capabilityId: z.ZodString;
|
|
@@ -49,17 +49,17 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
49
49
|
id: z.ZodString;
|
|
50
50
|
token: z.ZodString;
|
|
51
51
|
expiresAt: z.ZodString;
|
|
52
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
52
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
53
53
|
}, "strict", z.ZodTypeAny, {
|
|
54
54
|
id: string;
|
|
55
55
|
expiresAt: string;
|
|
56
56
|
token: string;
|
|
57
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
57
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
58
58
|
}, {
|
|
59
59
|
id: string;
|
|
60
60
|
expiresAt: string;
|
|
61
61
|
token: string;
|
|
62
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
62
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
63
63
|
}>>;
|
|
64
64
|
}, "strict", z.ZodTypeAny, {
|
|
65
65
|
id: string;
|
|
@@ -75,7 +75,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
75
75
|
id: string;
|
|
76
76
|
expiresAt: string;
|
|
77
77
|
token: string;
|
|
78
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
78
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
79
79
|
} | null;
|
|
80
80
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
81
81
|
nightStartedAt?: string | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
93
93
|
id: string;
|
|
94
94
|
expiresAt: string;
|
|
95
95
|
token: string;
|
|
96
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
96
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
97
97
|
} | null;
|
|
98
98
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
99
99
|
nightStartedAt?: string | undefined;
|
|
@@ -117,17 +117,17 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
117
117
|
id: z.ZodString;
|
|
118
118
|
token: z.ZodString;
|
|
119
119
|
expiresAt: z.ZodString;
|
|
120
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
120
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
121
121
|
}, "strict", z.ZodTypeAny, {
|
|
122
122
|
id: string;
|
|
123
123
|
expiresAt: string;
|
|
124
124
|
token: string;
|
|
125
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
125
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
126
126
|
}, {
|
|
127
127
|
id: string;
|
|
128
128
|
expiresAt: string;
|
|
129
129
|
token: string;
|
|
130
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
130
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
131
131
|
}>>;
|
|
132
132
|
}, "strict", z.ZodTypeAny, {
|
|
133
133
|
id: string;
|
|
@@ -145,12 +145,12 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
145
145
|
id: string;
|
|
146
146
|
expiresAt: string;
|
|
147
147
|
token: string;
|
|
148
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
148
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
149
149
|
} | null;
|
|
150
150
|
fedDefault: boolean;
|
|
151
151
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
152
|
-
nightStartedAt?: string | undefined;
|
|
153
152
|
fedAt?: string | undefined;
|
|
153
|
+
nightStartedAt?: string | undefined;
|
|
154
154
|
}, {
|
|
155
155
|
id: string;
|
|
156
156
|
timeZone: string;
|
|
@@ -167,12 +167,12 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
167
167
|
id: string;
|
|
168
168
|
expiresAt: string;
|
|
169
169
|
token: string;
|
|
170
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
170
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
171
171
|
} | null;
|
|
172
172
|
fedDefault: boolean;
|
|
173
173
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
174
|
-
nightStartedAt?: string | undefined;
|
|
175
174
|
fedAt?: string | undefined;
|
|
175
|
+
nightStartedAt?: string | undefined;
|
|
176
176
|
}>, z.ZodObject<{
|
|
177
177
|
state: z.ZodLiteral<"nap">;
|
|
178
178
|
location: z.ZodOptional<z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>>;
|
|
@@ -188,17 +188,17 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
188
188
|
id: z.ZodString;
|
|
189
189
|
token: z.ZodString;
|
|
190
190
|
expiresAt: z.ZodString;
|
|
191
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
191
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
192
192
|
}, "strict", z.ZodTypeAny, {
|
|
193
193
|
id: string;
|
|
194
194
|
expiresAt: string;
|
|
195
195
|
token: string;
|
|
196
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
196
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
197
197
|
}, {
|
|
198
198
|
id: string;
|
|
199
199
|
expiresAt: string;
|
|
200
200
|
token: string;
|
|
201
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
201
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
202
202
|
}>>;
|
|
203
203
|
}, "strict", z.ZodTypeAny, {
|
|
204
204
|
id: string;
|
|
@@ -214,7 +214,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
214
214
|
id: string;
|
|
215
215
|
expiresAt: string;
|
|
216
216
|
token: string;
|
|
217
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
217
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
218
218
|
} | null;
|
|
219
219
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
220
220
|
}, {
|
|
@@ -231,9 +231,85 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
231
231
|
id: string;
|
|
232
232
|
expiresAt: string;
|
|
233
233
|
token: string;
|
|
234
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
234
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
235
|
+
} | null;
|
|
236
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
237
|
+
}>, z.ZodObject<{
|
|
238
|
+
state: z.ZodLiteral<"nap-awake">;
|
|
239
|
+
sourceActivityId: z.ZodString;
|
|
240
|
+
sourceUpdatedAt: z.ZodString;
|
|
241
|
+
fedDefault: z.ZodBoolean;
|
|
242
|
+
fedAt: z.ZodOptional<z.ZodString>;
|
|
243
|
+
location: z.ZodOptional<z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>>;
|
|
244
|
+
backToSleepUntil: z.ZodOptional<z.ZodString>;
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
babyId: z.ZodString;
|
|
247
|
+
label: z.ZodString;
|
|
248
|
+
revision: z.ZodString;
|
|
249
|
+
startedAt: z.ZodString;
|
|
250
|
+
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
251
|
+
sleepNightId: z.ZodNullable<z.ZodString>;
|
|
252
|
+
route: z.ZodString;
|
|
253
|
+
capability: z.ZodNullable<z.ZodObject<{
|
|
254
|
+
id: z.ZodString;
|
|
255
|
+
token: z.ZodString;
|
|
256
|
+
expiresAt: z.ZodString;
|
|
257
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
258
|
+
}, "strict", z.ZodTypeAny, {
|
|
259
|
+
id: string;
|
|
260
|
+
expiresAt: string;
|
|
261
|
+
token: string;
|
|
262
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
263
|
+
}, {
|
|
264
|
+
id: string;
|
|
265
|
+
expiresAt: string;
|
|
266
|
+
token: string;
|
|
267
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
268
|
+
}>>;
|
|
269
|
+
}, "strict", z.ZodTypeAny, {
|
|
270
|
+
id: string;
|
|
271
|
+
timeZone: string;
|
|
272
|
+
state: "nap-awake";
|
|
273
|
+
startedAt: string;
|
|
274
|
+
label: string;
|
|
275
|
+
babyId: string;
|
|
276
|
+
revision: string;
|
|
277
|
+
sleepNightId: string | null;
|
|
278
|
+
route: string;
|
|
279
|
+
sourceActivityId: string;
|
|
280
|
+
sourceUpdatedAt: string;
|
|
281
|
+
capability: {
|
|
282
|
+
id: string;
|
|
283
|
+
expiresAt: string;
|
|
284
|
+
token: string;
|
|
285
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
235
286
|
} | null;
|
|
287
|
+
fedDefault: boolean;
|
|
288
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
289
|
+
fedAt?: string | undefined;
|
|
290
|
+
backToSleepUntil?: string | undefined;
|
|
291
|
+
}, {
|
|
292
|
+
id: string;
|
|
293
|
+
timeZone: string;
|
|
294
|
+
state: "nap-awake";
|
|
295
|
+
startedAt: string;
|
|
296
|
+
label: string;
|
|
297
|
+
babyId: string;
|
|
298
|
+
revision: string;
|
|
299
|
+
sleepNightId: string | null;
|
|
300
|
+
route: string;
|
|
301
|
+
sourceActivityId: string;
|
|
302
|
+
sourceUpdatedAt: string;
|
|
303
|
+
capability: {
|
|
304
|
+
id: string;
|
|
305
|
+
expiresAt: string;
|
|
306
|
+
token: string;
|
|
307
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
308
|
+
} | null;
|
|
309
|
+
fedDefault: boolean;
|
|
236
310
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
311
|
+
fedAt?: string | undefined;
|
|
312
|
+
backToSleepUntil?: string | undefined;
|
|
237
313
|
}>, z.ZodObject<{
|
|
238
314
|
state: z.ZodLiteral<"breastfeed">;
|
|
239
315
|
side: z.ZodEnum<["left", "right"]>;
|
|
@@ -251,17 +327,17 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
251
327
|
id: z.ZodString;
|
|
252
328
|
token: z.ZodString;
|
|
253
329
|
expiresAt: z.ZodString;
|
|
254
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
330
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
255
331
|
}, "strict", z.ZodTypeAny, {
|
|
256
332
|
id: string;
|
|
257
333
|
expiresAt: string;
|
|
258
334
|
token: string;
|
|
259
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
335
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
260
336
|
}, {
|
|
261
337
|
id: string;
|
|
262
338
|
expiresAt: string;
|
|
263
339
|
token: string;
|
|
264
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
340
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
265
341
|
}>>;
|
|
266
342
|
}, "strict", z.ZodTypeAny, {
|
|
267
343
|
id: string;
|
|
@@ -278,7 +354,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
278
354
|
id: string;
|
|
279
355
|
expiresAt: string;
|
|
280
356
|
token: string;
|
|
281
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
357
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
282
358
|
} | null;
|
|
283
359
|
elapsedStartedAt: string | null;
|
|
284
360
|
pausedElapsedSeconds: number | null;
|
|
@@ -297,7 +373,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
297
373
|
id: string;
|
|
298
374
|
expiresAt: string;
|
|
299
375
|
token: string;
|
|
300
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
376
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
301
377
|
} | null;
|
|
302
378
|
elapsedStartedAt: string | null;
|
|
303
379
|
pausedElapsedSeconds: number | null;
|
|
@@ -348,7 +424,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
348
424
|
id: string;
|
|
349
425
|
expiresAt: string;
|
|
350
426
|
token: string;
|
|
351
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
427
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
352
428
|
} | null;
|
|
353
429
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
354
430
|
nightStartedAt?: string | undefined;
|
|
@@ -368,12 +444,12 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
368
444
|
id: string;
|
|
369
445
|
expiresAt: string;
|
|
370
446
|
token: string;
|
|
371
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
447
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
372
448
|
} | null;
|
|
373
449
|
fedDefault: boolean;
|
|
374
450
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
375
|
-
nightStartedAt?: string | undefined;
|
|
376
451
|
fedAt?: string | undefined;
|
|
452
|
+
nightStartedAt?: string | undefined;
|
|
377
453
|
} | {
|
|
378
454
|
id: string;
|
|
379
455
|
timeZone: string;
|
|
@@ -388,9 +464,31 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
388
464
|
id: string;
|
|
389
465
|
expiresAt: string;
|
|
390
466
|
token: string;
|
|
391
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
467
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
468
|
+
} | null;
|
|
469
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
470
|
+
} | {
|
|
471
|
+
id: string;
|
|
472
|
+
timeZone: string;
|
|
473
|
+
state: "nap-awake";
|
|
474
|
+
startedAt: string;
|
|
475
|
+
label: string;
|
|
476
|
+
babyId: string;
|
|
477
|
+
revision: string;
|
|
478
|
+
sleepNightId: string | null;
|
|
479
|
+
route: string;
|
|
480
|
+
sourceActivityId: string;
|
|
481
|
+
sourceUpdatedAt: string;
|
|
482
|
+
capability: {
|
|
483
|
+
id: string;
|
|
484
|
+
expiresAt: string;
|
|
485
|
+
token: string;
|
|
486
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
392
487
|
} | null;
|
|
488
|
+
fedDefault: boolean;
|
|
393
489
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
490
|
+
fedAt?: string | undefined;
|
|
491
|
+
backToSleepUntil?: string | undefined;
|
|
394
492
|
} | {
|
|
395
493
|
id: string;
|
|
396
494
|
timeZone: string;
|
|
@@ -406,7 +504,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
406
504
|
id: string;
|
|
407
505
|
expiresAt: string;
|
|
408
506
|
token: string;
|
|
409
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
507
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
410
508
|
} | null;
|
|
411
509
|
elapsedStartedAt: string | null;
|
|
412
510
|
pausedElapsedSeconds: number | null;
|
|
@@ -435,7 +533,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
435
533
|
id: string;
|
|
436
534
|
expiresAt: string;
|
|
437
535
|
token: string;
|
|
438
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
536
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
439
537
|
} | null;
|
|
440
538
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
441
539
|
nightStartedAt?: string | undefined;
|
|
@@ -455,12 +553,12 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
455
553
|
id: string;
|
|
456
554
|
expiresAt: string;
|
|
457
555
|
token: string;
|
|
458
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
556
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
459
557
|
} | null;
|
|
460
558
|
fedDefault: boolean;
|
|
461
559
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
462
|
-
nightStartedAt?: string | undefined;
|
|
463
560
|
fedAt?: string | undefined;
|
|
561
|
+
nightStartedAt?: string | undefined;
|
|
464
562
|
} | {
|
|
465
563
|
id: string;
|
|
466
564
|
timeZone: string;
|
|
@@ -475,9 +573,31 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
475
573
|
id: string;
|
|
476
574
|
expiresAt: string;
|
|
477
575
|
token: string;
|
|
478
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
576
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
479
577
|
} | null;
|
|
480
578
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
579
|
+
} | {
|
|
580
|
+
id: string;
|
|
581
|
+
timeZone: string;
|
|
582
|
+
state: "nap-awake";
|
|
583
|
+
startedAt: string;
|
|
584
|
+
label: string;
|
|
585
|
+
babyId: string;
|
|
586
|
+
revision: string;
|
|
587
|
+
sleepNightId: string | null;
|
|
588
|
+
route: string;
|
|
589
|
+
sourceActivityId: string;
|
|
590
|
+
sourceUpdatedAt: string;
|
|
591
|
+
capability: {
|
|
592
|
+
id: string;
|
|
593
|
+
expiresAt: string;
|
|
594
|
+
token: string;
|
|
595
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
596
|
+
} | null;
|
|
597
|
+
fedDefault: boolean;
|
|
598
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
599
|
+
fedAt?: string | undefined;
|
|
600
|
+
backToSleepUntil?: string | undefined;
|
|
481
601
|
} | {
|
|
482
602
|
id: string;
|
|
483
603
|
timeZone: string;
|
|
@@ -493,7 +613,7 @@ export declare const nativeTimerStateRowSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
493
613
|
id: string;
|
|
494
614
|
expiresAt: string;
|
|
495
615
|
token: string;
|
|
496
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
616
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
497
617
|
} | null;
|
|
498
618
|
elapsedStartedAt: string | null;
|
|
499
619
|
pausedElapsedSeconds: number | null;
|
|
@@ -568,17 +688,17 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
568
688
|
id: z.ZodString;
|
|
569
689
|
token: z.ZodString;
|
|
570
690
|
expiresAt: z.ZodString;
|
|
571
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
691
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
572
692
|
}, "strict", z.ZodTypeAny, {
|
|
573
693
|
id: string;
|
|
574
694
|
expiresAt: string;
|
|
575
695
|
token: string;
|
|
576
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
696
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
577
697
|
}, {
|
|
578
698
|
id: string;
|
|
579
699
|
expiresAt: string;
|
|
580
700
|
token: string;
|
|
581
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
701
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
582
702
|
}>>;
|
|
583
703
|
}, "strict", z.ZodTypeAny, {
|
|
584
704
|
id: string;
|
|
@@ -594,7 +714,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
594
714
|
id: string;
|
|
595
715
|
expiresAt: string;
|
|
596
716
|
token: string;
|
|
597
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
717
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
598
718
|
} | null;
|
|
599
719
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
600
720
|
nightStartedAt?: string | undefined;
|
|
@@ -612,7 +732,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
612
732
|
id: string;
|
|
613
733
|
expiresAt: string;
|
|
614
734
|
token: string;
|
|
615
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
735
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
616
736
|
} | null;
|
|
617
737
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
618
738
|
nightStartedAt?: string | undefined;
|
|
@@ -636,17 +756,17 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
636
756
|
id: z.ZodString;
|
|
637
757
|
token: z.ZodString;
|
|
638
758
|
expiresAt: z.ZodString;
|
|
639
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
759
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
640
760
|
}, "strict", z.ZodTypeAny, {
|
|
641
761
|
id: string;
|
|
642
762
|
expiresAt: string;
|
|
643
763
|
token: string;
|
|
644
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
764
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
645
765
|
}, {
|
|
646
766
|
id: string;
|
|
647
767
|
expiresAt: string;
|
|
648
768
|
token: string;
|
|
649
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
769
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
650
770
|
}>>;
|
|
651
771
|
}, "strict", z.ZodTypeAny, {
|
|
652
772
|
id: string;
|
|
@@ -664,12 +784,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
664
784
|
id: string;
|
|
665
785
|
expiresAt: string;
|
|
666
786
|
token: string;
|
|
667
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
787
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
668
788
|
} | null;
|
|
669
789
|
fedDefault: boolean;
|
|
670
790
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
671
|
-
nightStartedAt?: string | undefined;
|
|
672
791
|
fedAt?: string | undefined;
|
|
792
|
+
nightStartedAt?: string | undefined;
|
|
673
793
|
}, {
|
|
674
794
|
id: string;
|
|
675
795
|
timeZone: string;
|
|
@@ -686,12 +806,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
686
806
|
id: string;
|
|
687
807
|
expiresAt: string;
|
|
688
808
|
token: string;
|
|
689
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
809
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
690
810
|
} | null;
|
|
691
811
|
fedDefault: boolean;
|
|
692
812
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
693
|
-
nightStartedAt?: string | undefined;
|
|
694
813
|
fedAt?: string | undefined;
|
|
814
|
+
nightStartedAt?: string | undefined;
|
|
695
815
|
}>, z.ZodObject<{
|
|
696
816
|
state: z.ZodLiteral<"nap">;
|
|
697
817
|
location: z.ZodOptional<z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>>;
|
|
@@ -707,17 +827,17 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
707
827
|
id: z.ZodString;
|
|
708
828
|
token: z.ZodString;
|
|
709
829
|
expiresAt: z.ZodString;
|
|
710
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
830
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
711
831
|
}, "strict", z.ZodTypeAny, {
|
|
712
832
|
id: string;
|
|
713
833
|
expiresAt: string;
|
|
714
834
|
token: string;
|
|
715
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
835
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
716
836
|
}, {
|
|
717
837
|
id: string;
|
|
718
838
|
expiresAt: string;
|
|
719
839
|
token: string;
|
|
720
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
840
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
721
841
|
}>>;
|
|
722
842
|
}, "strict", z.ZodTypeAny, {
|
|
723
843
|
id: string;
|
|
@@ -733,7 +853,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
733
853
|
id: string;
|
|
734
854
|
expiresAt: string;
|
|
735
855
|
token: string;
|
|
736
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
856
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
737
857
|
} | null;
|
|
738
858
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
739
859
|
}, {
|
|
@@ -750,9 +870,85 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
750
870
|
id: string;
|
|
751
871
|
expiresAt: string;
|
|
752
872
|
token: string;
|
|
753
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
873
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
754
874
|
} | null;
|
|
755
875
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
876
|
+
}>, z.ZodObject<{
|
|
877
|
+
state: z.ZodLiteral<"nap-awake">;
|
|
878
|
+
sourceActivityId: z.ZodString;
|
|
879
|
+
sourceUpdatedAt: z.ZodString;
|
|
880
|
+
fedDefault: z.ZodBoolean;
|
|
881
|
+
fedAt: z.ZodOptional<z.ZodString>;
|
|
882
|
+
location: z.ZodOptional<z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>>;
|
|
883
|
+
backToSleepUntil: z.ZodOptional<z.ZodString>;
|
|
884
|
+
id: z.ZodString;
|
|
885
|
+
babyId: z.ZodString;
|
|
886
|
+
label: z.ZodString;
|
|
887
|
+
revision: z.ZodString;
|
|
888
|
+
startedAt: z.ZodString;
|
|
889
|
+
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
890
|
+
sleepNightId: z.ZodNullable<z.ZodString>;
|
|
891
|
+
route: z.ZodString;
|
|
892
|
+
capability: z.ZodNullable<z.ZodObject<{
|
|
893
|
+
id: z.ZodString;
|
|
894
|
+
token: z.ZodString;
|
|
895
|
+
expiresAt: z.ZodString;
|
|
896
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
897
|
+
}, "strict", z.ZodTypeAny, {
|
|
898
|
+
id: string;
|
|
899
|
+
expiresAt: string;
|
|
900
|
+
token: string;
|
|
901
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
902
|
+
}, {
|
|
903
|
+
id: string;
|
|
904
|
+
expiresAt: string;
|
|
905
|
+
token: string;
|
|
906
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
907
|
+
}>>;
|
|
908
|
+
}, "strict", z.ZodTypeAny, {
|
|
909
|
+
id: string;
|
|
910
|
+
timeZone: string;
|
|
911
|
+
state: "nap-awake";
|
|
912
|
+
startedAt: string;
|
|
913
|
+
label: string;
|
|
914
|
+
babyId: string;
|
|
915
|
+
revision: string;
|
|
916
|
+
sleepNightId: string | null;
|
|
917
|
+
route: string;
|
|
918
|
+
sourceActivityId: string;
|
|
919
|
+
sourceUpdatedAt: string;
|
|
920
|
+
capability: {
|
|
921
|
+
id: string;
|
|
922
|
+
expiresAt: string;
|
|
923
|
+
token: string;
|
|
924
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
925
|
+
} | null;
|
|
926
|
+
fedDefault: boolean;
|
|
927
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
928
|
+
fedAt?: string | undefined;
|
|
929
|
+
backToSleepUntil?: string | undefined;
|
|
930
|
+
}, {
|
|
931
|
+
id: string;
|
|
932
|
+
timeZone: string;
|
|
933
|
+
state: "nap-awake";
|
|
934
|
+
startedAt: string;
|
|
935
|
+
label: string;
|
|
936
|
+
babyId: string;
|
|
937
|
+
revision: string;
|
|
938
|
+
sleepNightId: string | null;
|
|
939
|
+
route: string;
|
|
940
|
+
sourceActivityId: string;
|
|
941
|
+
sourceUpdatedAt: string;
|
|
942
|
+
capability: {
|
|
943
|
+
id: string;
|
|
944
|
+
expiresAt: string;
|
|
945
|
+
token: string;
|
|
946
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
947
|
+
} | null;
|
|
948
|
+
fedDefault: boolean;
|
|
949
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
950
|
+
fedAt?: string | undefined;
|
|
951
|
+
backToSleepUntil?: string | undefined;
|
|
756
952
|
}>, z.ZodObject<{
|
|
757
953
|
state: z.ZodLiteral<"breastfeed">;
|
|
758
954
|
side: z.ZodEnum<["left", "right"]>;
|
|
@@ -770,17 +966,17 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
770
966
|
id: z.ZodString;
|
|
771
967
|
token: z.ZodString;
|
|
772
968
|
expiresAt: z.ZodString;
|
|
773
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
969
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
774
970
|
}, "strict", z.ZodTypeAny, {
|
|
775
971
|
id: string;
|
|
776
972
|
expiresAt: string;
|
|
777
973
|
token: string;
|
|
778
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
974
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
779
975
|
}, {
|
|
780
976
|
id: string;
|
|
781
977
|
expiresAt: string;
|
|
782
978
|
token: string;
|
|
783
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
979
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
784
980
|
}>>;
|
|
785
981
|
}, "strict", z.ZodTypeAny, {
|
|
786
982
|
id: string;
|
|
@@ -797,7 +993,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
797
993
|
id: string;
|
|
798
994
|
expiresAt: string;
|
|
799
995
|
token: string;
|
|
800
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
996
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
801
997
|
} | null;
|
|
802
998
|
elapsedStartedAt: string | null;
|
|
803
999
|
pausedElapsedSeconds: number | null;
|
|
@@ -816,7 +1012,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
816
1012
|
id: string;
|
|
817
1013
|
expiresAt: string;
|
|
818
1014
|
token: string;
|
|
819
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1015
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
820
1016
|
} | null;
|
|
821
1017
|
elapsedStartedAt: string | null;
|
|
822
1018
|
pausedElapsedSeconds: number | null;
|
|
@@ -867,7 +1063,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
867
1063
|
id: string;
|
|
868
1064
|
expiresAt: string;
|
|
869
1065
|
token: string;
|
|
870
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1066
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
871
1067
|
} | null;
|
|
872
1068
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
873
1069
|
nightStartedAt?: string | undefined;
|
|
@@ -887,12 +1083,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
887
1083
|
id: string;
|
|
888
1084
|
expiresAt: string;
|
|
889
1085
|
token: string;
|
|
890
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1086
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
891
1087
|
} | null;
|
|
892
1088
|
fedDefault: boolean;
|
|
893
1089
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
894
|
-
nightStartedAt?: string | undefined;
|
|
895
1090
|
fedAt?: string | undefined;
|
|
1091
|
+
nightStartedAt?: string | undefined;
|
|
896
1092
|
} | {
|
|
897
1093
|
id: string;
|
|
898
1094
|
timeZone: string;
|
|
@@ -907,9 +1103,31 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
907
1103
|
id: string;
|
|
908
1104
|
expiresAt: string;
|
|
909
1105
|
token: string;
|
|
910
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1106
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
911
1107
|
} | null;
|
|
912
1108
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1109
|
+
} | {
|
|
1110
|
+
id: string;
|
|
1111
|
+
timeZone: string;
|
|
1112
|
+
state: "nap-awake";
|
|
1113
|
+
startedAt: string;
|
|
1114
|
+
label: string;
|
|
1115
|
+
babyId: string;
|
|
1116
|
+
revision: string;
|
|
1117
|
+
sleepNightId: string | null;
|
|
1118
|
+
route: string;
|
|
1119
|
+
sourceActivityId: string;
|
|
1120
|
+
sourceUpdatedAt: string;
|
|
1121
|
+
capability: {
|
|
1122
|
+
id: string;
|
|
1123
|
+
expiresAt: string;
|
|
1124
|
+
token: string;
|
|
1125
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1126
|
+
} | null;
|
|
1127
|
+
fedDefault: boolean;
|
|
1128
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1129
|
+
fedAt?: string | undefined;
|
|
1130
|
+
backToSleepUntil?: string | undefined;
|
|
913
1131
|
} | {
|
|
914
1132
|
id: string;
|
|
915
1133
|
timeZone: string;
|
|
@@ -925,7 +1143,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
1143
|
id: string;
|
|
926
1144
|
expiresAt: string;
|
|
927
1145
|
token: string;
|
|
928
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1146
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
929
1147
|
} | null;
|
|
930
1148
|
elapsedStartedAt: string | null;
|
|
931
1149
|
pausedElapsedSeconds: number | null;
|
|
@@ -954,7 +1172,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
954
1172
|
id: string;
|
|
955
1173
|
expiresAt: string;
|
|
956
1174
|
token: string;
|
|
957
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1175
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
958
1176
|
} | null;
|
|
959
1177
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
960
1178
|
nightStartedAt?: string | undefined;
|
|
@@ -974,12 +1192,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
974
1192
|
id: string;
|
|
975
1193
|
expiresAt: string;
|
|
976
1194
|
token: string;
|
|
977
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1195
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
978
1196
|
} | null;
|
|
979
1197
|
fedDefault: boolean;
|
|
980
1198
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
981
|
-
nightStartedAt?: string | undefined;
|
|
982
1199
|
fedAt?: string | undefined;
|
|
1200
|
+
nightStartedAt?: string | undefined;
|
|
983
1201
|
} | {
|
|
984
1202
|
id: string;
|
|
985
1203
|
timeZone: string;
|
|
@@ -994,9 +1212,31 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
994
1212
|
id: string;
|
|
995
1213
|
expiresAt: string;
|
|
996
1214
|
token: string;
|
|
997
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1215
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1216
|
+
} | null;
|
|
1217
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1218
|
+
} | {
|
|
1219
|
+
id: string;
|
|
1220
|
+
timeZone: string;
|
|
1221
|
+
state: "nap-awake";
|
|
1222
|
+
startedAt: string;
|
|
1223
|
+
label: string;
|
|
1224
|
+
babyId: string;
|
|
1225
|
+
revision: string;
|
|
1226
|
+
sleepNightId: string | null;
|
|
1227
|
+
route: string;
|
|
1228
|
+
sourceActivityId: string;
|
|
1229
|
+
sourceUpdatedAt: string;
|
|
1230
|
+
capability: {
|
|
1231
|
+
id: string;
|
|
1232
|
+
expiresAt: string;
|
|
1233
|
+
token: string;
|
|
1234
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
998
1235
|
} | null;
|
|
1236
|
+
fedDefault: boolean;
|
|
999
1237
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1238
|
+
fedAt?: string | undefined;
|
|
1239
|
+
backToSleepUntil?: string | undefined;
|
|
1000
1240
|
} | {
|
|
1001
1241
|
id: string;
|
|
1002
1242
|
timeZone: string;
|
|
@@ -1012,7 +1252,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1012
1252
|
id: string;
|
|
1013
1253
|
expiresAt: string;
|
|
1014
1254
|
token: string;
|
|
1015
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1255
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1016
1256
|
} | null;
|
|
1017
1257
|
elapsedStartedAt: string | null;
|
|
1018
1258
|
pausedElapsedSeconds: number | null;
|
|
@@ -1045,7 +1285,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1045
1285
|
id: string;
|
|
1046
1286
|
expiresAt: string;
|
|
1047
1287
|
token: string;
|
|
1048
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1288
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1049
1289
|
} | null;
|
|
1050
1290
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1051
1291
|
nightStartedAt?: string | undefined;
|
|
@@ -1065,12 +1305,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1065
1305
|
id: string;
|
|
1066
1306
|
expiresAt: string;
|
|
1067
1307
|
token: string;
|
|
1068
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1308
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1069
1309
|
} | null;
|
|
1070
1310
|
fedDefault: boolean;
|
|
1071
1311
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1072
|
-
nightStartedAt?: string | undefined;
|
|
1073
1312
|
fedAt?: string | undefined;
|
|
1313
|
+
nightStartedAt?: string | undefined;
|
|
1074
1314
|
} | {
|
|
1075
1315
|
id: string;
|
|
1076
1316
|
timeZone: string;
|
|
@@ -1085,9 +1325,31 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1085
1325
|
id: string;
|
|
1086
1326
|
expiresAt: string;
|
|
1087
1327
|
token: string;
|
|
1088
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1328
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1089
1329
|
} | null;
|
|
1090
1330
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1331
|
+
} | {
|
|
1332
|
+
id: string;
|
|
1333
|
+
timeZone: string;
|
|
1334
|
+
state: "nap-awake";
|
|
1335
|
+
startedAt: string;
|
|
1336
|
+
label: string;
|
|
1337
|
+
babyId: string;
|
|
1338
|
+
revision: string;
|
|
1339
|
+
sleepNightId: string | null;
|
|
1340
|
+
route: string;
|
|
1341
|
+
sourceActivityId: string;
|
|
1342
|
+
sourceUpdatedAt: string;
|
|
1343
|
+
capability: {
|
|
1344
|
+
id: string;
|
|
1345
|
+
expiresAt: string;
|
|
1346
|
+
token: string;
|
|
1347
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1348
|
+
} | null;
|
|
1349
|
+
fedDefault: boolean;
|
|
1350
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1351
|
+
fedAt?: string | undefined;
|
|
1352
|
+
backToSleepUntil?: string | undefined;
|
|
1091
1353
|
} | {
|
|
1092
1354
|
id: string;
|
|
1093
1355
|
timeZone: string;
|
|
@@ -1103,7 +1365,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1103
1365
|
id: string;
|
|
1104
1366
|
expiresAt: string;
|
|
1105
1367
|
token: string;
|
|
1106
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1368
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1107
1369
|
} | null;
|
|
1108
1370
|
elapsedStartedAt: string | null;
|
|
1109
1371
|
pausedElapsedSeconds: number | null;
|
|
@@ -1147,7 +1409,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1147
1409
|
id: string;
|
|
1148
1410
|
expiresAt: string;
|
|
1149
1411
|
token: string;
|
|
1150
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1412
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1151
1413
|
} | null;
|
|
1152
1414
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1153
1415
|
nightStartedAt?: string | undefined;
|
|
@@ -1167,12 +1429,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1167
1429
|
id: string;
|
|
1168
1430
|
expiresAt: string;
|
|
1169
1431
|
token: string;
|
|
1170
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1432
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1171
1433
|
} | null;
|
|
1172
1434
|
fedDefault: boolean;
|
|
1173
1435
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1174
|
-
nightStartedAt?: string | undefined;
|
|
1175
1436
|
fedAt?: string | undefined;
|
|
1437
|
+
nightStartedAt?: string | undefined;
|
|
1176
1438
|
} | {
|
|
1177
1439
|
id: string;
|
|
1178
1440
|
timeZone: string;
|
|
@@ -1187,9 +1449,31 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1187
1449
|
id: string;
|
|
1188
1450
|
expiresAt: string;
|
|
1189
1451
|
token: string;
|
|
1190
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1452
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1191
1453
|
} | null;
|
|
1192
1454
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1455
|
+
} | {
|
|
1456
|
+
id: string;
|
|
1457
|
+
timeZone: string;
|
|
1458
|
+
state: "nap-awake";
|
|
1459
|
+
startedAt: string;
|
|
1460
|
+
label: string;
|
|
1461
|
+
babyId: string;
|
|
1462
|
+
revision: string;
|
|
1463
|
+
sleepNightId: string | null;
|
|
1464
|
+
route: string;
|
|
1465
|
+
sourceActivityId: string;
|
|
1466
|
+
sourceUpdatedAt: string;
|
|
1467
|
+
capability: {
|
|
1468
|
+
id: string;
|
|
1469
|
+
expiresAt: string;
|
|
1470
|
+
token: string;
|
|
1471
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1472
|
+
} | null;
|
|
1473
|
+
fedDefault: boolean;
|
|
1474
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1475
|
+
fedAt?: string | undefined;
|
|
1476
|
+
backToSleepUntil?: string | undefined;
|
|
1193
1477
|
} | {
|
|
1194
1478
|
id: string;
|
|
1195
1479
|
timeZone: string;
|
|
@@ -1205,7 +1489,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1205
1489
|
id: string;
|
|
1206
1490
|
expiresAt: string;
|
|
1207
1491
|
token: string;
|
|
1208
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1492
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1209
1493
|
} | null;
|
|
1210
1494
|
elapsedStartedAt: string | null;
|
|
1211
1495
|
pausedElapsedSeconds: number | null;
|
|
@@ -1249,7 +1533,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1249
1533
|
id: string;
|
|
1250
1534
|
expiresAt: string;
|
|
1251
1535
|
token: string;
|
|
1252
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1536
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1253
1537
|
} | null;
|
|
1254
1538
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1255
1539
|
nightStartedAt?: string | undefined;
|
|
@@ -1269,12 +1553,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1269
1553
|
id: string;
|
|
1270
1554
|
expiresAt: string;
|
|
1271
1555
|
token: string;
|
|
1272
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1556
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1273
1557
|
} | null;
|
|
1274
1558
|
fedDefault: boolean;
|
|
1275
1559
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1276
|
-
nightStartedAt?: string | undefined;
|
|
1277
1560
|
fedAt?: string | undefined;
|
|
1561
|
+
nightStartedAt?: string | undefined;
|
|
1278
1562
|
} | {
|
|
1279
1563
|
id: string;
|
|
1280
1564
|
timeZone: string;
|
|
@@ -1289,9 +1573,31 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1289
1573
|
id: string;
|
|
1290
1574
|
expiresAt: string;
|
|
1291
1575
|
token: string;
|
|
1292
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1576
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1293
1577
|
} | null;
|
|
1294
1578
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1579
|
+
} | {
|
|
1580
|
+
id: string;
|
|
1581
|
+
timeZone: string;
|
|
1582
|
+
state: "nap-awake";
|
|
1583
|
+
startedAt: string;
|
|
1584
|
+
label: string;
|
|
1585
|
+
babyId: string;
|
|
1586
|
+
revision: string;
|
|
1587
|
+
sleepNightId: string | null;
|
|
1588
|
+
route: string;
|
|
1589
|
+
sourceActivityId: string;
|
|
1590
|
+
sourceUpdatedAt: string;
|
|
1591
|
+
capability: {
|
|
1592
|
+
id: string;
|
|
1593
|
+
expiresAt: string;
|
|
1594
|
+
token: string;
|
|
1595
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1596
|
+
} | null;
|
|
1597
|
+
fedDefault: boolean;
|
|
1598
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1599
|
+
fedAt?: string | undefined;
|
|
1600
|
+
backToSleepUntil?: string | undefined;
|
|
1295
1601
|
} | {
|
|
1296
1602
|
id: string;
|
|
1297
1603
|
timeZone: string;
|
|
@@ -1307,7 +1613,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1307
1613
|
id: string;
|
|
1308
1614
|
expiresAt: string;
|
|
1309
1615
|
token: string;
|
|
1310
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1616
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1311
1617
|
} | null;
|
|
1312
1618
|
elapsedStartedAt: string | null;
|
|
1313
1619
|
pausedElapsedSeconds: number | null;
|
|
@@ -1351,7 +1657,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1351
1657
|
id: string;
|
|
1352
1658
|
expiresAt: string;
|
|
1353
1659
|
token: string;
|
|
1354
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1660
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1355
1661
|
} | null;
|
|
1356
1662
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1357
1663
|
nightStartedAt?: string | undefined;
|
|
@@ -1371,12 +1677,12 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1371
1677
|
id: string;
|
|
1372
1678
|
expiresAt: string;
|
|
1373
1679
|
token: string;
|
|
1374
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1680
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1375
1681
|
} | null;
|
|
1376
1682
|
fedDefault: boolean;
|
|
1377
1683
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1378
|
-
nightStartedAt?: string | undefined;
|
|
1379
1684
|
fedAt?: string | undefined;
|
|
1685
|
+
nightStartedAt?: string | undefined;
|
|
1380
1686
|
} | {
|
|
1381
1687
|
id: string;
|
|
1382
1688
|
timeZone: string;
|
|
@@ -1391,9 +1697,31 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1391
1697
|
id: string;
|
|
1392
1698
|
expiresAt: string;
|
|
1393
1699
|
token: string;
|
|
1394
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1700
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1395
1701
|
} | null;
|
|
1396
1702
|
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1703
|
+
} | {
|
|
1704
|
+
id: string;
|
|
1705
|
+
timeZone: string;
|
|
1706
|
+
state: "nap-awake";
|
|
1707
|
+
startedAt: string;
|
|
1708
|
+
label: string;
|
|
1709
|
+
babyId: string;
|
|
1710
|
+
revision: string;
|
|
1711
|
+
sleepNightId: string | null;
|
|
1712
|
+
route: string;
|
|
1713
|
+
sourceActivityId: string;
|
|
1714
|
+
sourceUpdatedAt: string;
|
|
1715
|
+
capability: {
|
|
1716
|
+
id: string;
|
|
1717
|
+
expiresAt: string;
|
|
1718
|
+
token: string;
|
|
1719
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1720
|
+
} | null;
|
|
1721
|
+
fedDefault: boolean;
|
|
1722
|
+
location?: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap" | undefined;
|
|
1723
|
+
fedAt?: string | undefined;
|
|
1724
|
+
backToSleepUntil?: string | undefined;
|
|
1397
1725
|
} | {
|
|
1398
1726
|
id: string;
|
|
1399
1727
|
timeZone: string;
|
|
@@ -1409,7 +1737,7 @@ export declare const nativeTimerStateSnapshotSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1409
1737
|
id: string;
|
|
1410
1738
|
expiresAt: string;
|
|
1411
1739
|
token: string;
|
|
1412
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1740
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
1413
1741
|
} | null;
|
|
1414
1742
|
elapsedStartedAt: string | null;
|
|
1415
1743
|
pausedElapsedSeconds: number | null;
|
|
@@ -1448,15 +1776,15 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1448
1776
|
token: string;
|
|
1449
1777
|
action: "wake";
|
|
1450
1778
|
expectedUpdatedAt: string;
|
|
1451
|
-
capabilityId: string;
|
|
1452
1779
|
commandId: string;
|
|
1780
|
+
capabilityId: string;
|
|
1453
1781
|
tapAt: string;
|
|
1454
1782
|
}, {
|
|
1455
1783
|
token: string;
|
|
1456
1784
|
action: "wake";
|
|
1457
1785
|
expectedUpdatedAt: string;
|
|
1458
|
-
capabilityId: string;
|
|
1459
1786
|
commandId: string;
|
|
1787
|
+
capabilityId: string;
|
|
1460
1788
|
tapAt: string;
|
|
1461
1789
|
}>, z.ZodObject<{
|
|
1462
1790
|
action: z.ZodLiteral<"up-for-day">;
|
|
@@ -1469,15 +1797,15 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1469
1797
|
token: string;
|
|
1470
1798
|
action: "up-for-day";
|
|
1471
1799
|
expectedUpdatedAt: string;
|
|
1472
|
-
capabilityId: string;
|
|
1473
1800
|
commandId: string;
|
|
1801
|
+
capabilityId: string;
|
|
1474
1802
|
tapAt: string;
|
|
1475
1803
|
}, {
|
|
1476
1804
|
token: string;
|
|
1477
1805
|
action: "up-for-day";
|
|
1478
1806
|
expectedUpdatedAt: string;
|
|
1479
|
-
capabilityId: string;
|
|
1480
1807
|
commandId: string;
|
|
1808
|
+
capabilityId: string;
|
|
1481
1809
|
tapAt: string;
|
|
1482
1810
|
}>, z.ZodObject<{
|
|
1483
1811
|
action: z.ZodLiteral<"back-to-sleep">;
|
|
@@ -1490,15 +1818,15 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1490
1818
|
token: string;
|
|
1491
1819
|
action: "back-to-sleep";
|
|
1492
1820
|
expectedUpdatedAt: string;
|
|
1493
|
-
capabilityId: string;
|
|
1494
1821
|
commandId: string;
|
|
1822
|
+
capabilityId: string;
|
|
1495
1823
|
tapAt: string;
|
|
1496
1824
|
}, {
|
|
1497
1825
|
token: string;
|
|
1498
1826
|
action: "back-to-sleep";
|
|
1499
1827
|
expectedUpdatedAt: string;
|
|
1500
|
-
capabilityId: string;
|
|
1501
1828
|
commandId: string;
|
|
1829
|
+
capabilityId: string;
|
|
1502
1830
|
tapAt: string;
|
|
1503
1831
|
}>, z.ZodObject<{
|
|
1504
1832
|
action: z.ZodLiteral<"end-feed">;
|
|
@@ -1511,15 +1839,15 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1511
1839
|
token: string;
|
|
1512
1840
|
action: "end-feed";
|
|
1513
1841
|
expectedUpdatedAt: string;
|
|
1514
|
-
capabilityId: string;
|
|
1515
1842
|
commandId: string;
|
|
1843
|
+
capabilityId: string;
|
|
1516
1844
|
tapAt: string;
|
|
1517
1845
|
}, {
|
|
1518
1846
|
token: string;
|
|
1519
1847
|
action: "end-feed";
|
|
1520
1848
|
expectedUpdatedAt: string;
|
|
1521
|
-
capabilityId: string;
|
|
1522
1849
|
commandId: string;
|
|
1850
|
+
capabilityId: string;
|
|
1523
1851
|
tapAt: string;
|
|
1524
1852
|
}>, z.ZodObject<{
|
|
1525
1853
|
action: z.ZodLiteral<"switch-side">;
|
|
@@ -1532,15 +1860,36 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1532
1860
|
token: string;
|
|
1533
1861
|
action: "switch-side";
|
|
1534
1862
|
expectedUpdatedAt: string;
|
|
1535
|
-
capabilityId: string;
|
|
1536
1863
|
commandId: string;
|
|
1864
|
+
capabilityId: string;
|
|
1537
1865
|
tapAt: string;
|
|
1538
1866
|
}, {
|
|
1539
1867
|
token: string;
|
|
1540
1868
|
action: "switch-side";
|
|
1541
1869
|
expectedUpdatedAt: string;
|
|
1870
|
+
commandId: string;
|
|
1871
|
+
capabilityId: string;
|
|
1872
|
+
tapAt: string;
|
|
1873
|
+
}>, z.ZodObject<{
|
|
1874
|
+
action: z.ZodLiteral<"end-nap">;
|
|
1875
|
+
capabilityId: z.ZodString;
|
|
1876
|
+
token: z.ZodString;
|
|
1877
|
+
commandId: z.ZodString;
|
|
1878
|
+
expectedUpdatedAt: z.ZodString;
|
|
1879
|
+
tapAt: z.ZodString;
|
|
1880
|
+
}, "strict", z.ZodTypeAny, {
|
|
1881
|
+
token: string;
|
|
1882
|
+
action: "end-nap";
|
|
1883
|
+
expectedUpdatedAt: string;
|
|
1884
|
+
commandId: string;
|
|
1542
1885
|
capabilityId: string;
|
|
1886
|
+
tapAt: string;
|
|
1887
|
+
}, {
|
|
1888
|
+
token: string;
|
|
1889
|
+
action: "end-nap";
|
|
1890
|
+
expectedUpdatedAt: string;
|
|
1543
1891
|
commandId: string;
|
|
1892
|
+
capabilityId: string;
|
|
1544
1893
|
tapAt: string;
|
|
1545
1894
|
}>, z.ZodObject<{
|
|
1546
1895
|
action: z.ZodLiteral<"resettle-methods">;
|
|
@@ -1558,8 +1907,8 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1558
1907
|
action: "resettle-methods";
|
|
1559
1908
|
expectedUpdatedAt: string;
|
|
1560
1909
|
sourceActivityId: string;
|
|
1561
|
-
capabilityId: string;
|
|
1562
1910
|
commandId: string;
|
|
1911
|
+
capabilityId: string;
|
|
1563
1912
|
tapAt: string;
|
|
1564
1913
|
expectedSourceUpdatedAt: string;
|
|
1565
1914
|
resumedTimerId: string;
|
|
@@ -1569,8 +1918,8 @@ export declare const nativeTimerActionRequestSchema: z.ZodDiscriminatedUnion<"ac
|
|
|
1569
1918
|
action: "resettle-methods";
|
|
1570
1919
|
expectedUpdatedAt: string;
|
|
1571
1920
|
sourceActivityId: string;
|
|
1572
|
-
capabilityId: string;
|
|
1573
1921
|
commandId: string;
|
|
1922
|
+
capabilityId: string;
|
|
1574
1923
|
tapAt: string;
|
|
1575
1924
|
expectedSourceUpdatedAt: string;
|
|
1576
1925
|
resumedTimerId: string;
|
|
@@ -1584,6 +1933,7 @@ export declare const nativeTimerCapabilityRequestSchema: z.ZodEffects<z.ZodObjec
|
|
|
1584
1933
|
sourceActivityId: z.ZodOptional<z.ZodString>;
|
|
1585
1934
|
expectedSourceUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
1586
1935
|
resumedTimerId: z.ZodOptional<z.ZodString>;
|
|
1936
|
+
napWake: z.ZodOptional<z.ZodLiteral<"awake">>;
|
|
1587
1937
|
}, "strict", z.ZodTypeAny, {
|
|
1588
1938
|
babyId: string;
|
|
1589
1939
|
expectedUpdatedAt: string;
|
|
@@ -1592,6 +1942,7 @@ export declare const nativeTimerCapabilityRequestSchema: z.ZodEffects<z.ZodObjec
|
|
|
1592
1942
|
sourceActivityId?: string | undefined;
|
|
1593
1943
|
expectedSourceUpdatedAt?: string | undefined;
|
|
1594
1944
|
resumedTimerId?: string | undefined;
|
|
1945
|
+
napWake?: "awake" | undefined;
|
|
1595
1946
|
}, {
|
|
1596
1947
|
babyId: string;
|
|
1597
1948
|
expectedUpdatedAt: string;
|
|
@@ -1600,6 +1951,7 @@ export declare const nativeTimerCapabilityRequestSchema: z.ZodEffects<z.ZodObjec
|
|
|
1600
1951
|
sourceActivityId?: string | undefined;
|
|
1601
1952
|
expectedSourceUpdatedAt?: string | undefined;
|
|
1602
1953
|
resumedTimerId?: string | undefined;
|
|
1954
|
+
napWake?: "awake" | undefined;
|
|
1603
1955
|
}>, {
|
|
1604
1956
|
babyId: string;
|
|
1605
1957
|
expectedUpdatedAt: string;
|
|
@@ -1608,6 +1960,7 @@ export declare const nativeTimerCapabilityRequestSchema: z.ZodEffects<z.ZodObjec
|
|
|
1608
1960
|
sourceActivityId?: string | undefined;
|
|
1609
1961
|
expectedSourceUpdatedAt?: string | undefined;
|
|
1610
1962
|
resumedTimerId?: string | undefined;
|
|
1963
|
+
napWake?: "awake" | undefined;
|
|
1611
1964
|
}, {
|
|
1612
1965
|
babyId: string;
|
|
1613
1966
|
expectedUpdatedAt: string;
|
|
@@ -1616,10 +1969,11 @@ export declare const nativeTimerCapabilityRequestSchema: z.ZodEffects<z.ZodObjec
|
|
|
1616
1969
|
sourceActivityId?: string | undefined;
|
|
1617
1970
|
expectedSourceUpdatedAt?: string | undefined;
|
|
1618
1971
|
resumedTimerId?: string | undefined;
|
|
1972
|
+
napWake?: "awake" | undefined;
|
|
1619
1973
|
}>;
|
|
1620
1974
|
export declare const nativeTimerActionResponseSchema: z.ZodObject<{
|
|
1621
1975
|
commandId: z.ZodString;
|
|
1622
|
-
action: z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>;
|
|
1976
|
+
action: z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>;
|
|
1623
1977
|
familyUserId: z.ZodString;
|
|
1624
1978
|
babyId: z.ZodString;
|
|
1625
1979
|
retiredRowId: z.ZodNullable<z.ZodString>;
|
|
@@ -5613,33 +5967,33 @@ export declare const nativeTimerActionResponseSchema: z.ZodObject<{
|
|
|
5613
5967
|
id: z.ZodString;
|
|
5614
5968
|
token: z.ZodString;
|
|
5615
5969
|
expiresAt: z.ZodString;
|
|
5616
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
5970
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
5617
5971
|
}, "strict", z.ZodTypeAny, {
|
|
5618
5972
|
id: string;
|
|
5619
5973
|
expiresAt: string;
|
|
5620
5974
|
token: string;
|
|
5621
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5975
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5622
5976
|
}, {
|
|
5623
5977
|
id: string;
|
|
5624
5978
|
expiresAt: string;
|
|
5625
5979
|
token: string;
|
|
5626
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5980
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5627
5981
|
}>>>;
|
|
5628
5982
|
resettleCapability: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5629
5983
|
id: z.ZodString;
|
|
5630
5984
|
token: z.ZodString;
|
|
5631
5985
|
expiresAt: z.ZodString;
|
|
5632
|
-
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
5986
|
+
actions: z.ZodEffects<z.ZodArray<z.ZodEnum<["wake", "up-for-day", "back-to-sleep", "end-feed", "switch-side", "resettle-methods", "end-nap"]>, "many">, ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[], ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[]>;
|
|
5633
5987
|
}, "strict", z.ZodTypeAny, {
|
|
5634
5988
|
id: string;
|
|
5635
5989
|
expiresAt: string;
|
|
5636
5990
|
token: string;
|
|
5637
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5991
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5638
5992
|
}, {
|
|
5639
5993
|
id: string;
|
|
5640
5994
|
expiresAt: string;
|
|
5641
5995
|
token: string;
|
|
5642
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5996
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
5643
5997
|
}>>>;
|
|
5644
5998
|
fedDefault: z.ZodOptional<z.ZodBoolean>;
|
|
5645
5999
|
fedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -7965,7 +8319,7 @@ export declare const nativeTimerActionResponseSchema: z.ZodObject<{
|
|
|
7965
8319
|
} | null;
|
|
7966
8320
|
familyUserId: string;
|
|
7967
8321
|
babyId: string;
|
|
7968
|
-
action: "wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods";
|
|
8322
|
+
action: "wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods";
|
|
7969
8323
|
activity: {
|
|
7970
8324
|
id: string;
|
|
7971
8325
|
createdAt: string;
|
|
@@ -8252,21 +8606,21 @@ export declare const nativeTimerActionResponseSchema: z.ZodObject<{
|
|
|
8252
8606
|
sourceTimerId: string;
|
|
8253
8607
|
receiptId: string;
|
|
8254
8608
|
} | null;
|
|
8255
|
-
nightStartedAt?: string | undefined;
|
|
8256
8609
|
capability?: {
|
|
8257
8610
|
id: string;
|
|
8258
8611
|
expiresAt: string;
|
|
8259
8612
|
token: string;
|
|
8260
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
8613
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
8261
8614
|
} | null | undefined;
|
|
8262
|
-
fedDefault?: boolean | undefined;
|
|
8263
|
-
fedAt?: string | undefined;
|
|
8264
8615
|
resettleCapability?: {
|
|
8265
8616
|
id: string;
|
|
8266
8617
|
expiresAt: string;
|
|
8267
8618
|
token: string;
|
|
8268
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
8619
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
8269
8620
|
} | null | undefined;
|
|
8621
|
+
fedDefault?: boolean | undefined;
|
|
8622
|
+
fedAt?: string | undefined;
|
|
8623
|
+
nightStartedAt?: string | undefined;
|
|
8270
8624
|
sleepWake?: {
|
|
8271
8625
|
command: {
|
|
8272
8626
|
babyId: string;
|
|
@@ -8478,7 +8832,7 @@ export declare const nativeTimerActionResponseSchema: z.ZodObject<{
|
|
|
8478
8832
|
} | null;
|
|
8479
8833
|
familyUserId: string;
|
|
8480
8834
|
babyId: string;
|
|
8481
|
-
action: "wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods";
|
|
8835
|
+
action: "wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods";
|
|
8482
8836
|
activity: {
|
|
8483
8837
|
id: string;
|
|
8484
8838
|
createdAt: string;
|
|
@@ -8765,21 +9119,21 @@ export declare const nativeTimerActionResponseSchema: z.ZodObject<{
|
|
|
8765
9119
|
sourceTimerId: string;
|
|
8766
9120
|
receiptId: string;
|
|
8767
9121
|
} | null;
|
|
8768
|
-
nightStartedAt?: string | undefined;
|
|
8769
9122
|
capability?: {
|
|
8770
9123
|
id: string;
|
|
8771
9124
|
expiresAt: string;
|
|
8772
9125
|
token: string;
|
|
8773
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
9126
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
8774
9127
|
} | null | undefined;
|
|
8775
|
-
fedDefault?: boolean | undefined;
|
|
8776
|
-
fedAt?: string | undefined;
|
|
8777
9128
|
resettleCapability?: {
|
|
8778
9129
|
id: string;
|
|
8779
9130
|
expiresAt: string;
|
|
8780
9131
|
token: string;
|
|
8781
|
-
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
9132
|
+
actions: ("wake" | "back-to-sleep" | "up-for-day" | "end-nap" | "end-feed" | "switch-side" | "resettle-methods")[];
|
|
8782
9133
|
} | null | undefined;
|
|
9134
|
+
fedDefault?: boolean | undefined;
|
|
9135
|
+
fedAt?: string | undefined;
|
|
9136
|
+
nightStartedAt?: string | undefined;
|
|
8783
9137
|
sleepWake?: {
|
|
8784
9138
|
command: {
|
|
8785
9139
|
babyId: string;
|