@nikthegeek/dreamsforlittles-shared 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analysis.d.ts +209 -1
- package/dist/coach-activity-notifications.d.ts +4 -3
- package/dist/coach-activity-notifications.js +24 -4
- package/dist/coach-activity-notifications.js.map +1 -1
- package/dist/coach-activity-notifications.test.js +42 -0
- package/dist/coach-activity-notifications.test.js.map +1 -0
- package/dist/coach.d.ts +3429 -525
- package/dist/family.d.ts +5718 -900
- package/dist/family.js +200 -9
- package/dist/family.js.map +1 -1
- package/dist/family.test.d.ts +1 -0
- package/dist/family.test.js +187 -0
- package/dist/family.test.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/realtime.d.ts +4 -4
- package/package.json +1 -1
- package/dist/sleep-insights.d.ts +0 -7943
- package/dist/sleep-insights.js +0 -231
- package/dist/sleep-insights.js.map +0 -1
- package/dist/sleep-insights.test.js +0 -124
- package/dist/sleep-insights.test.js.map +0 -1
- /package/dist/{sleep-insights.test.d.ts → coach-activity-notifications.test.d.ts} +0 -0
package/dist/coach.d.ts
CHANGED
|
@@ -185,7 +185,7 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
185
185
|
lastSleepEndedAt: z.ZodNullable<z.ZodString>;
|
|
186
186
|
lastSleepBabyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
187
|
totalSleepMinutesToday: z.ZodNumber;
|
|
188
|
-
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
188
|
+
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
189
189
|
id: z.ZodString;
|
|
190
190
|
familyUserId: z.ZodString;
|
|
191
191
|
babyId: z.ZodString;
|
|
@@ -328,6 +328,50 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
328
328
|
ladderId?: string | null | undefined;
|
|
329
329
|
ladderStageId?: string | null | undefined;
|
|
330
330
|
}>]>>>;
|
|
331
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
332
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
333
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
334
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
335
|
+
start: z.ZodString;
|
|
336
|
+
end: z.ZodNullable<z.ZodString>;
|
|
337
|
+
}, "strict", z.ZodTypeAny, {
|
|
338
|
+
start: string;
|
|
339
|
+
end: string | null;
|
|
340
|
+
side: "left" | "right";
|
|
341
|
+
}, {
|
|
342
|
+
start: string;
|
|
343
|
+
end: string | null;
|
|
344
|
+
side: "left" | "right";
|
|
345
|
+
}>, "many">;
|
|
346
|
+
}, "strict", z.ZodTypeAny, {
|
|
347
|
+
schemaVersion: 1;
|
|
348
|
+
segments: {
|
|
349
|
+
start: string;
|
|
350
|
+
end: string | null;
|
|
351
|
+
side: "left" | "right";
|
|
352
|
+
}[];
|
|
353
|
+
}, {
|
|
354
|
+
schemaVersion: 1;
|
|
355
|
+
segments: {
|
|
356
|
+
start: string;
|
|
357
|
+
end: string | null;
|
|
358
|
+
side: "left" | "right";
|
|
359
|
+
}[];
|
|
360
|
+
}>, {
|
|
361
|
+
schemaVersion: 1;
|
|
362
|
+
segments: {
|
|
363
|
+
start: string;
|
|
364
|
+
end: string | null;
|
|
365
|
+
side: "left" | "right";
|
|
366
|
+
}[];
|
|
367
|
+
}, {
|
|
368
|
+
schemaVersion: 1;
|
|
369
|
+
segments: {
|
|
370
|
+
start: string;
|
|
371
|
+
end: string | null;
|
|
372
|
+
side: "left" | "right";
|
|
373
|
+
}[];
|
|
374
|
+
}>>>;
|
|
331
375
|
createdAt: z.ZodString;
|
|
332
376
|
updatedAt: z.ZodString;
|
|
333
377
|
createdByUserId: z.ZodString;
|
|
@@ -391,6 +435,148 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
391
435
|
ladderId?: string | null | undefined;
|
|
392
436
|
ladderStageId?: string | null | undefined;
|
|
393
437
|
} | null | undefined;
|
|
438
|
+
breastfeedSession?: {
|
|
439
|
+
schemaVersion: 1;
|
|
440
|
+
segments: {
|
|
441
|
+
start: string;
|
|
442
|
+
end: string | null;
|
|
443
|
+
side: "left" | "right";
|
|
444
|
+
}[];
|
|
445
|
+
} | null | undefined;
|
|
446
|
+
}, {
|
|
447
|
+
id: string;
|
|
448
|
+
createdAt: string;
|
|
449
|
+
startedAt: string;
|
|
450
|
+
updatedAt: string;
|
|
451
|
+
familyUserId: string;
|
|
452
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
453
|
+
babyId: string;
|
|
454
|
+
createdByUserId: string;
|
|
455
|
+
updatedByUserId: string;
|
|
456
|
+
babyName: string | null;
|
|
457
|
+
timeZone?: string | null | undefined;
|
|
458
|
+
localDate?: string | null | undefined;
|
|
459
|
+
note?: string | null | undefined;
|
|
460
|
+
details?: {
|
|
461
|
+
date: string;
|
|
462
|
+
start: string;
|
|
463
|
+
end: string;
|
|
464
|
+
side: "left" | "right";
|
|
465
|
+
} | {
|
|
466
|
+
type: "breastmilk" | "formula";
|
|
467
|
+
date: string;
|
|
468
|
+
unit: "ml" | "oz";
|
|
469
|
+
time: string;
|
|
470
|
+
amount: number;
|
|
471
|
+
} | {
|
|
472
|
+
type: "day" | "night";
|
|
473
|
+
date: string;
|
|
474
|
+
start: string;
|
|
475
|
+
end: string;
|
|
476
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
477
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
478
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
479
|
+
} | {
|
|
480
|
+
type: ("dirty" | "wet")[];
|
|
481
|
+
date: string;
|
|
482
|
+
time: string;
|
|
483
|
+
imageURL?: string | null | undefined;
|
|
484
|
+
} | {
|
|
485
|
+
date: string;
|
|
486
|
+
unit: "ml" | "oz";
|
|
487
|
+
start: string;
|
|
488
|
+
end: string;
|
|
489
|
+
side: "left" | "right";
|
|
490
|
+
amount: number;
|
|
491
|
+
} | {
|
|
492
|
+
date: string;
|
|
493
|
+
time: string;
|
|
494
|
+
medicationName: string;
|
|
495
|
+
} | {
|
|
496
|
+
date: string;
|
|
497
|
+
time: string;
|
|
498
|
+
allergicReaction: boolean;
|
|
499
|
+
allergicReactionNote?: string | null | undefined;
|
|
500
|
+
accidentalExposure?: boolean | undefined;
|
|
501
|
+
accidentalExposureNote?: string | null | undefined;
|
|
502
|
+
ladderId?: string | null | undefined;
|
|
503
|
+
ladderStageId?: string | null | undefined;
|
|
504
|
+
} | null | undefined;
|
|
505
|
+
breastfeedSession?: {
|
|
506
|
+
schemaVersion: 1;
|
|
507
|
+
segments: {
|
|
508
|
+
start: string;
|
|
509
|
+
end: string | null;
|
|
510
|
+
side: "left" | "right";
|
|
511
|
+
}[];
|
|
512
|
+
} | null | undefined;
|
|
513
|
+
}>, {
|
|
514
|
+
id: string;
|
|
515
|
+
createdAt: string;
|
|
516
|
+
startedAt: string;
|
|
517
|
+
updatedAt: string;
|
|
518
|
+
familyUserId: string;
|
|
519
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
520
|
+
babyId: string;
|
|
521
|
+
createdByUserId: string;
|
|
522
|
+
updatedByUserId: string;
|
|
523
|
+
babyName: string | null;
|
|
524
|
+
timeZone?: string | null | undefined;
|
|
525
|
+
localDate?: string | null | undefined;
|
|
526
|
+
note?: string | null | undefined;
|
|
527
|
+
details?: {
|
|
528
|
+
date: string;
|
|
529
|
+
start: string;
|
|
530
|
+
end: string;
|
|
531
|
+
side: "left" | "right";
|
|
532
|
+
} | {
|
|
533
|
+
type: "breastmilk" | "formula";
|
|
534
|
+
date: string;
|
|
535
|
+
unit: "ml" | "oz";
|
|
536
|
+
time: string;
|
|
537
|
+
amount: number;
|
|
538
|
+
} | {
|
|
539
|
+
type: "day" | "night";
|
|
540
|
+
date: string;
|
|
541
|
+
start: string;
|
|
542
|
+
end: string;
|
|
543
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
544
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
545
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
546
|
+
} | {
|
|
547
|
+
type: ("dirty" | "wet")[];
|
|
548
|
+
date: string;
|
|
549
|
+
time: string;
|
|
550
|
+
imageURL?: string | null | undefined;
|
|
551
|
+
} | {
|
|
552
|
+
date: string;
|
|
553
|
+
unit: "ml" | "oz";
|
|
554
|
+
start: string;
|
|
555
|
+
end: string;
|
|
556
|
+
side: "left" | "right";
|
|
557
|
+
amount: number;
|
|
558
|
+
} | {
|
|
559
|
+
date: string;
|
|
560
|
+
time: string;
|
|
561
|
+
medicationName: string;
|
|
562
|
+
} | {
|
|
563
|
+
date: string;
|
|
564
|
+
time: string;
|
|
565
|
+
allergicReaction: boolean;
|
|
566
|
+
allergicReactionNote?: string | null | undefined;
|
|
567
|
+
accidentalExposure?: boolean | undefined;
|
|
568
|
+
accidentalExposureNote?: string | null | undefined;
|
|
569
|
+
ladderId?: string | null | undefined;
|
|
570
|
+
ladderStageId?: string | null | undefined;
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
breastfeedSession?: {
|
|
573
|
+
schemaVersion: 1;
|
|
574
|
+
segments: {
|
|
575
|
+
start: string;
|
|
576
|
+
end: string | null;
|
|
577
|
+
side: "left" | "right";
|
|
578
|
+
}[];
|
|
579
|
+
} | null | undefined;
|
|
394
580
|
}, {
|
|
395
581
|
id: string;
|
|
396
582
|
createdAt: string;
|
|
@@ -450,8 +636,16 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
450
636
|
ladderId?: string | null | undefined;
|
|
451
637
|
ladderStageId?: string | null | undefined;
|
|
452
638
|
} | null | undefined;
|
|
639
|
+
breastfeedSession?: {
|
|
640
|
+
schemaVersion: 1;
|
|
641
|
+
segments: {
|
|
642
|
+
start: string;
|
|
643
|
+
end: string | null;
|
|
644
|
+
side: "left" | "right";
|
|
645
|
+
}[];
|
|
646
|
+
} | null | undefined;
|
|
453
647
|
}>>>;
|
|
454
|
-
activeTimers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
648
|
+
activeTimers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
455
649
|
id: z.ZodString;
|
|
456
650
|
familyUserId: z.ZodString;
|
|
457
651
|
babyId: z.ZodString;
|
|
@@ -594,6 +788,50 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
594
788
|
ladderId?: string | null | undefined;
|
|
595
789
|
ladderStageId?: string | null | undefined;
|
|
596
790
|
}>]>>>;
|
|
791
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
792
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
793
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
794
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
795
|
+
start: z.ZodString;
|
|
796
|
+
end: z.ZodNullable<z.ZodString>;
|
|
797
|
+
}, "strict", z.ZodTypeAny, {
|
|
798
|
+
start: string;
|
|
799
|
+
end: string | null;
|
|
800
|
+
side: "left" | "right";
|
|
801
|
+
}, {
|
|
802
|
+
start: string;
|
|
803
|
+
end: string | null;
|
|
804
|
+
side: "left" | "right";
|
|
805
|
+
}>, "many">;
|
|
806
|
+
}, "strict", z.ZodTypeAny, {
|
|
807
|
+
schemaVersion: 1;
|
|
808
|
+
segments: {
|
|
809
|
+
start: string;
|
|
810
|
+
end: string | null;
|
|
811
|
+
side: "left" | "right";
|
|
812
|
+
}[];
|
|
813
|
+
}, {
|
|
814
|
+
schemaVersion: 1;
|
|
815
|
+
segments: {
|
|
816
|
+
start: string;
|
|
817
|
+
end: string | null;
|
|
818
|
+
side: "left" | "right";
|
|
819
|
+
}[];
|
|
820
|
+
}>, {
|
|
821
|
+
schemaVersion: 1;
|
|
822
|
+
segments: {
|
|
823
|
+
start: string;
|
|
824
|
+
end: string | null;
|
|
825
|
+
side: "left" | "right";
|
|
826
|
+
}[];
|
|
827
|
+
}, {
|
|
828
|
+
schemaVersion: 1;
|
|
829
|
+
segments: {
|
|
830
|
+
start: string;
|
|
831
|
+
end: string | null;
|
|
832
|
+
side: "left" | "right";
|
|
833
|
+
}[];
|
|
834
|
+
}>>>;
|
|
597
835
|
createdAt: z.ZodString;
|
|
598
836
|
updatedAt: z.ZodString;
|
|
599
837
|
createdByUserId: z.ZodString;
|
|
@@ -657,6 +895,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
657
895
|
ladderId?: string | null | undefined;
|
|
658
896
|
ladderStageId?: string | null | undefined;
|
|
659
897
|
} | null | undefined;
|
|
898
|
+
breastfeedSession?: {
|
|
899
|
+
schemaVersion: 1;
|
|
900
|
+
segments: {
|
|
901
|
+
start: string;
|
|
902
|
+
end: string | null;
|
|
903
|
+
side: "left" | "right";
|
|
904
|
+
}[];
|
|
905
|
+
} | null | undefined;
|
|
660
906
|
}, {
|
|
661
907
|
id: string;
|
|
662
908
|
createdAt: string;
|
|
@@ -716,11 +962,15 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
716
962
|
ladderId?: string | null | undefined;
|
|
717
963
|
ladderStageId?: string | null | undefined;
|
|
718
964
|
} | null | undefined;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
965
|
+
breastfeedSession?: {
|
|
966
|
+
schemaVersion: 1;
|
|
967
|
+
segments: {
|
|
968
|
+
start: string;
|
|
969
|
+
end: string | null;
|
|
970
|
+
side: "left" | "right";
|
|
971
|
+
}[];
|
|
972
|
+
} | null | undefined;
|
|
973
|
+
}>, {
|
|
724
974
|
id: string;
|
|
725
975
|
createdAt: string;
|
|
726
976
|
startedAt: string;
|
|
@@ -779,9 +1029,15 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
779
1029
|
ladderId?: string | null | undefined;
|
|
780
1030
|
ladderStageId?: string | null | undefined;
|
|
781
1031
|
} | null | undefined;
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
1032
|
+
breastfeedSession?: {
|
|
1033
|
+
schemaVersion: 1;
|
|
1034
|
+
segments: {
|
|
1035
|
+
start: string;
|
|
1036
|
+
end: string | null;
|
|
1037
|
+
side: "left" | "right";
|
|
1038
|
+
}[];
|
|
1039
|
+
} | null | undefined;
|
|
1040
|
+
}, {
|
|
785
1041
|
id: string;
|
|
786
1042
|
createdAt: string;
|
|
787
1043
|
startedAt: string;
|
|
@@ -840,8 +1096,16 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
840
1096
|
ladderId?: string | null | undefined;
|
|
841
1097
|
ladderStageId?: string | null | undefined;
|
|
842
1098
|
} | null | undefined;
|
|
843
|
-
|
|
844
|
-
|
|
1099
|
+
breastfeedSession?: {
|
|
1100
|
+
schemaVersion: 1;
|
|
1101
|
+
segments: {
|
|
1102
|
+
start: string;
|
|
1103
|
+
end: string | null;
|
|
1104
|
+
side: "left" | "right";
|
|
1105
|
+
}[];
|
|
1106
|
+
} | null | undefined;
|
|
1107
|
+
}>, "many">>;
|
|
1108
|
+
}, "strip", z.ZodTypeAny, {
|
|
845
1109
|
lastSleepEndedAt: string | null;
|
|
846
1110
|
totalSleepMinutesToday: number;
|
|
847
1111
|
activeTimers?: {
|
|
@@ -903,6 +1167,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
903
1167
|
ladderId?: string | null | undefined;
|
|
904
1168
|
ladderStageId?: string | null | undefined;
|
|
905
1169
|
} | null | undefined;
|
|
1170
|
+
breastfeedSession?: {
|
|
1171
|
+
schemaVersion: 1;
|
|
1172
|
+
segments: {
|
|
1173
|
+
start: string;
|
|
1174
|
+
end: string | null;
|
|
1175
|
+
side: "left" | "right";
|
|
1176
|
+
}[];
|
|
1177
|
+
} | null | undefined;
|
|
906
1178
|
}[] | undefined;
|
|
907
1179
|
lastSleepBabyName?: string | null | undefined;
|
|
908
1180
|
activeTimer?: {
|
|
@@ -964,88 +1236,236 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
964
1236
|
ladderId?: string | null | undefined;
|
|
965
1237
|
ladderStageId?: string | null | undefined;
|
|
966
1238
|
} | null | undefined;
|
|
1239
|
+
breastfeedSession?: {
|
|
1240
|
+
schemaVersion: 1;
|
|
1241
|
+
segments: {
|
|
1242
|
+
start: string;
|
|
1243
|
+
end: string | null;
|
|
1244
|
+
side: "left" | "right";
|
|
1245
|
+
}[];
|
|
1246
|
+
} | null | undefined;
|
|
967
1247
|
} | null | undefined;
|
|
968
|
-
}>>;
|
|
969
|
-
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
970
|
-
id: z.ZodString;
|
|
971
|
-
code: z.ZodString;
|
|
972
|
-
affectedFamilyCount: z.ZodNumber;
|
|
973
|
-
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
974
|
-
familyUserId: z.ZodString;
|
|
975
|
-
familyName: z.ZodString;
|
|
976
|
-
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
familyUserId: string;
|
|
978
|
-
familyName: string;
|
|
979
|
-
}, {
|
|
980
|
-
familyUserId: string;
|
|
981
|
-
familyName: string;
|
|
982
|
-
}>, "many">;
|
|
983
|
-
}, "strip", z.ZodTypeAny, {
|
|
984
|
-
code: string;
|
|
985
|
-
id: string;
|
|
986
|
-
affectedFamilies: {
|
|
987
|
-
familyUserId: string;
|
|
988
|
-
familyName: string;
|
|
989
|
-
}[];
|
|
990
|
-
affectedFamilyCount: number;
|
|
991
1248
|
}, {
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1249
|
+
lastSleepEndedAt: string | null;
|
|
1250
|
+
totalSleepMinutesToday: number;
|
|
1251
|
+
activeTimers?: {
|
|
1252
|
+
id: string;
|
|
1253
|
+
createdAt: string;
|
|
1254
|
+
startedAt: string;
|
|
1255
|
+
updatedAt: string;
|
|
995
1256
|
familyUserId: string;
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1257
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
1258
|
+
babyId: string;
|
|
1259
|
+
createdByUserId: string;
|
|
1260
|
+
updatedByUserId: string;
|
|
1261
|
+
babyName: string | null;
|
|
1262
|
+
timeZone?: string | null | undefined;
|
|
1263
|
+
localDate?: string | null | undefined;
|
|
1264
|
+
note?: string | null | undefined;
|
|
1265
|
+
details?: {
|
|
1266
|
+
date: string;
|
|
1267
|
+
start: string;
|
|
1268
|
+
end: string;
|
|
1269
|
+
side: "left" | "right";
|
|
1270
|
+
} | {
|
|
1271
|
+
type: "breastmilk" | "formula";
|
|
1272
|
+
date: string;
|
|
1273
|
+
unit: "ml" | "oz";
|
|
1274
|
+
time: string;
|
|
1275
|
+
amount: number;
|
|
1276
|
+
} | {
|
|
1277
|
+
type: "day" | "night";
|
|
1278
|
+
date: string;
|
|
1279
|
+
start: string;
|
|
1280
|
+
end: string;
|
|
1281
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
1282
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
1283
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
1284
|
+
} | {
|
|
1285
|
+
type: ("dirty" | "wet")[];
|
|
1286
|
+
date: string;
|
|
1287
|
+
time: string;
|
|
1288
|
+
imageURL?: string | null | undefined;
|
|
1289
|
+
} | {
|
|
1290
|
+
date: string;
|
|
1291
|
+
unit: "ml" | "oz";
|
|
1292
|
+
start: string;
|
|
1293
|
+
end: string;
|
|
1294
|
+
side: "left" | "right";
|
|
1295
|
+
amount: number;
|
|
1296
|
+
} | {
|
|
1297
|
+
date: string;
|
|
1298
|
+
time: string;
|
|
1299
|
+
medicationName: string;
|
|
1300
|
+
} | {
|
|
1301
|
+
date: string;
|
|
1302
|
+
time: string;
|
|
1303
|
+
allergicReaction: boolean;
|
|
1304
|
+
allergicReactionNote?: string | null | undefined;
|
|
1305
|
+
accidentalExposure?: boolean | undefined;
|
|
1306
|
+
accidentalExposureNote?: string | null | undefined;
|
|
1307
|
+
ladderId?: string | null | undefined;
|
|
1308
|
+
ladderStageId?: string | null | undefined;
|
|
1309
|
+
} | null | undefined;
|
|
1310
|
+
breastfeedSession?: {
|
|
1311
|
+
schemaVersion: 1;
|
|
1312
|
+
segments: {
|
|
1313
|
+
start: string;
|
|
1314
|
+
end: string | null;
|
|
1315
|
+
side: "left" | "right";
|
|
1316
|
+
}[];
|
|
1317
|
+
} | null | undefined;
|
|
1318
|
+
}[] | undefined;
|
|
1319
|
+
lastSleepBabyName?: string | null | undefined;
|
|
1320
|
+
activeTimer?: {
|
|
1321
|
+
id: string;
|
|
1322
|
+
createdAt: string;
|
|
1323
|
+
startedAt: string;
|
|
1324
|
+
updatedAt: string;
|
|
1325
|
+
familyUserId: string;
|
|
1326
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
1327
|
+
babyId: string;
|
|
1328
|
+
createdByUserId: string;
|
|
1329
|
+
updatedByUserId: string;
|
|
1330
|
+
babyName: string | null;
|
|
1331
|
+
timeZone?: string | null | undefined;
|
|
1332
|
+
localDate?: string | null | undefined;
|
|
1333
|
+
note?: string | null | undefined;
|
|
1334
|
+
details?: {
|
|
1335
|
+
date: string;
|
|
1336
|
+
start: string;
|
|
1337
|
+
end: string;
|
|
1338
|
+
side: "left" | "right";
|
|
1339
|
+
} | {
|
|
1340
|
+
type: "breastmilk" | "formula";
|
|
1341
|
+
date: string;
|
|
1342
|
+
unit: "ml" | "oz";
|
|
1343
|
+
time: string;
|
|
1344
|
+
amount: number;
|
|
1345
|
+
} | {
|
|
1346
|
+
type: "day" | "night";
|
|
1347
|
+
date: string;
|
|
1348
|
+
start: string;
|
|
1349
|
+
end: string;
|
|
1350
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
1351
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
1352
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
1353
|
+
} | {
|
|
1354
|
+
type: ("dirty" | "wet")[];
|
|
1355
|
+
date: string;
|
|
1356
|
+
time: string;
|
|
1357
|
+
imageURL?: string | null | undefined;
|
|
1358
|
+
} | {
|
|
1359
|
+
date: string;
|
|
1360
|
+
unit: "ml" | "oz";
|
|
1361
|
+
start: string;
|
|
1362
|
+
end: string;
|
|
1363
|
+
side: "left" | "right";
|
|
1364
|
+
amount: number;
|
|
1365
|
+
} | {
|
|
1366
|
+
date: string;
|
|
1367
|
+
time: string;
|
|
1368
|
+
medicationName: string;
|
|
1369
|
+
} | {
|
|
1370
|
+
date: string;
|
|
1371
|
+
time: string;
|
|
1372
|
+
allergicReaction: boolean;
|
|
1373
|
+
allergicReactionNote?: string | null | undefined;
|
|
1374
|
+
accidentalExposure?: boolean | undefined;
|
|
1375
|
+
accidentalExposureNote?: string | null | undefined;
|
|
1376
|
+
ladderId?: string | null | undefined;
|
|
1377
|
+
ladderStageId?: string | null | undefined;
|
|
1378
|
+
} | null | undefined;
|
|
1379
|
+
breastfeedSession?: {
|
|
1380
|
+
schemaVersion: 1;
|
|
1381
|
+
segments: {
|
|
1382
|
+
start: string;
|
|
1383
|
+
end: string | null;
|
|
1384
|
+
side: "left" | "right";
|
|
1385
|
+
}[];
|
|
1386
|
+
} | null | undefined;
|
|
1387
|
+
} | null | undefined;
|
|
1388
|
+
}>>;
|
|
1389
|
+
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1390
|
+
id: z.ZodString;
|
|
1391
|
+
code: z.ZodString;
|
|
1392
|
+
affectedFamilyCount: z.ZodNumber;
|
|
1393
|
+
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
1394
|
+
familyUserId: z.ZodString;
|
|
1395
|
+
familyName: z.ZodString;
|
|
1396
|
+
}, "strip", z.ZodTypeAny, {
|
|
1397
|
+
familyUserId: string;
|
|
1398
|
+
familyName: string;
|
|
1399
|
+
}, {
|
|
1400
|
+
familyUserId: string;
|
|
1401
|
+
familyName: string;
|
|
1402
|
+
}>, "many">;
|
|
1403
|
+
}, "strip", z.ZodTypeAny, {
|
|
1404
|
+
code: string;
|
|
1405
|
+
id: string;
|
|
1406
|
+
affectedFamilies: {
|
|
1407
|
+
familyUserId: string;
|
|
1408
|
+
familyName: string;
|
|
1409
|
+
}[];
|
|
1410
|
+
affectedFamilyCount: number;
|
|
1411
|
+
}, {
|
|
1412
|
+
code: string;
|
|
1413
|
+
id: string;
|
|
1414
|
+
affectedFamilies: {
|
|
1415
|
+
familyUserId: string;
|
|
1416
|
+
familyName: string;
|
|
1417
|
+
}[];
|
|
1418
|
+
affectedFamilyCount: number;
|
|
1419
|
+
}>>>;
|
|
1420
|
+
}, "strip", z.ZodTypeAny, {
|
|
1421
|
+
familyUserId: string;
|
|
1422
|
+
canEditLogs: boolean;
|
|
1423
|
+
premium: {
|
|
1424
|
+
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
1425
|
+
active: boolean;
|
|
1426
|
+
expiresAt?: string | null | undefined;
|
|
1427
|
+
organizationId?: string | undefined;
|
|
1428
|
+
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
1429
|
+
entitlementId?: string | undefined;
|
|
1430
|
+
startsAt?: string | null | undefined;
|
|
1431
|
+
supportEndedAt?: string | null | undefined;
|
|
1432
|
+
premiumGraceEndsAt?: string | null | undefined;
|
|
1433
|
+
premiumGraceDaysRemaining?: number | undefined;
|
|
1434
|
+
premiumGraceActive?: boolean | undefined;
|
|
1435
|
+
};
|
|
1436
|
+
babyCount: number;
|
|
1437
|
+
familyName: string;
|
|
1438
|
+
assignedAt: string;
|
|
1439
|
+
unseenLogCount: number;
|
|
1440
|
+
assignmentStatus: "active" | "revoked" | "transferred" | "expired";
|
|
1441
|
+
profileAssetId?: string | null | undefined;
|
|
1442
|
+
timeZone?: string | null | undefined;
|
|
1443
|
+
canManageSupportDates?: boolean | undefined;
|
|
1444
|
+
revokedAt?: string | null | undefined;
|
|
1445
|
+
lastActivityAt?: string | null | undefined;
|
|
1446
|
+
familyEmail?: string | undefined;
|
|
1447
|
+
babyNames?: string[] | undefined;
|
|
1448
|
+
caseOwnerLabel?: string | null | undefined;
|
|
1449
|
+
redeemedAt?: string | null | undefined;
|
|
1450
|
+
accessStartsAt?: string | null | undefined;
|
|
1451
|
+
accessExpiresAt?: string | null | undefined;
|
|
1452
|
+
supportStatus?: "active" | "expired" | "notStarted" | "paused" | undefined;
|
|
1453
|
+
supportPausedAt?: string | null | undefined;
|
|
1454
|
+
latestActivity?: {
|
|
1455
|
+
id: string;
|
|
1456
|
+
createdAt: string;
|
|
1457
|
+
updatedAt: string;
|
|
1458
|
+
familyUserId: string;
|
|
1459
|
+
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
1460
|
+
occurredAt: string;
|
|
1461
|
+
babyId: string;
|
|
1462
|
+
createdByUserId: string;
|
|
1463
|
+
updatedByUserId: string;
|
|
1464
|
+
familyName: string;
|
|
1465
|
+
babyName: string | null;
|
|
1466
|
+
isUnseen: boolean;
|
|
1467
|
+
timeZone?: string | null | undefined;
|
|
1468
|
+
localDate?: string | null | undefined;
|
|
1049
1469
|
action?: "created" | "updated" | undefined;
|
|
1050
1470
|
summary?: string | undefined;
|
|
1051
1471
|
} | null | undefined;
|
|
@@ -1122,6 +1542,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1122
1542
|
ladderId?: string | null | undefined;
|
|
1123
1543
|
ladderStageId?: string | null | undefined;
|
|
1124
1544
|
} | null | undefined;
|
|
1545
|
+
breastfeedSession?: {
|
|
1546
|
+
schemaVersion: 1;
|
|
1547
|
+
segments: {
|
|
1548
|
+
start: string;
|
|
1549
|
+
end: string | null;
|
|
1550
|
+
side: "left" | "right";
|
|
1551
|
+
}[];
|
|
1552
|
+
} | null | undefined;
|
|
1125
1553
|
}[] | undefined;
|
|
1126
1554
|
lastSleepBabyName?: string | null | undefined;
|
|
1127
1555
|
activeTimer?: {
|
|
@@ -1183,6 +1611,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1183
1611
|
ladderId?: string | null | undefined;
|
|
1184
1612
|
ladderStageId?: string | null | undefined;
|
|
1185
1613
|
} | null | undefined;
|
|
1614
|
+
breastfeedSession?: {
|
|
1615
|
+
schemaVersion: 1;
|
|
1616
|
+
segments: {
|
|
1617
|
+
start: string;
|
|
1618
|
+
end: string | null;
|
|
1619
|
+
side: "left" | "right";
|
|
1620
|
+
}[];
|
|
1621
|
+
} | null | undefined;
|
|
1186
1622
|
} | null | undefined;
|
|
1187
1623
|
} | undefined;
|
|
1188
1624
|
inviteCodeAccess?: {
|
|
@@ -1319,6 +1755,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1319
1755
|
ladderId?: string | null | undefined;
|
|
1320
1756
|
ladderStageId?: string | null | undefined;
|
|
1321
1757
|
} | null | undefined;
|
|
1758
|
+
breastfeedSession?: {
|
|
1759
|
+
schemaVersion: 1;
|
|
1760
|
+
segments: {
|
|
1761
|
+
start: string;
|
|
1762
|
+
end: string | null;
|
|
1763
|
+
side: "left" | "right";
|
|
1764
|
+
}[];
|
|
1765
|
+
} | null | undefined;
|
|
1322
1766
|
}[] | undefined;
|
|
1323
1767
|
lastSleepBabyName?: string | null | undefined;
|
|
1324
1768
|
activeTimer?: {
|
|
@@ -1380,6 +1824,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1380
1824
|
ladderId?: string | null | undefined;
|
|
1381
1825
|
ladderStageId?: string | null | undefined;
|
|
1382
1826
|
} | null | undefined;
|
|
1827
|
+
breastfeedSession?: {
|
|
1828
|
+
schemaVersion: 1;
|
|
1829
|
+
segments: {
|
|
1830
|
+
start: string;
|
|
1831
|
+
end: string | null;
|
|
1832
|
+
side: "left" | "right";
|
|
1833
|
+
}[];
|
|
1834
|
+
} | null | undefined;
|
|
1383
1835
|
} | null | undefined;
|
|
1384
1836
|
} | undefined;
|
|
1385
1837
|
inviteCodeAccess?: {
|
|
@@ -1518,6 +1970,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1518
1970
|
ladderId?: string | null | undefined;
|
|
1519
1971
|
ladderStageId?: string | null | undefined;
|
|
1520
1972
|
} | null | undefined;
|
|
1973
|
+
breastfeedSession?: {
|
|
1974
|
+
schemaVersion: 1;
|
|
1975
|
+
segments: {
|
|
1976
|
+
start: string;
|
|
1977
|
+
end: string | null;
|
|
1978
|
+
side: "left" | "right";
|
|
1979
|
+
}[];
|
|
1980
|
+
} | null | undefined;
|
|
1521
1981
|
}[] | undefined;
|
|
1522
1982
|
lastSleepBabyName?: string | null | undefined;
|
|
1523
1983
|
activeTimer?: {
|
|
@@ -1579,6 +2039,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1579
2039
|
ladderId?: string | null | undefined;
|
|
1580
2040
|
ladderStageId?: string | null | undefined;
|
|
1581
2041
|
} | null | undefined;
|
|
2042
|
+
breastfeedSession?: {
|
|
2043
|
+
schemaVersion: 1;
|
|
2044
|
+
segments: {
|
|
2045
|
+
start: string;
|
|
2046
|
+
end: string | null;
|
|
2047
|
+
side: "left" | "right";
|
|
2048
|
+
}[];
|
|
2049
|
+
} | null | undefined;
|
|
1582
2050
|
} | null | undefined;
|
|
1583
2051
|
} | undefined;
|
|
1584
2052
|
inviteCodeAccess?: {
|
|
@@ -1717,6 +2185,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1717
2185
|
ladderId?: string | null | undefined;
|
|
1718
2186
|
ladderStageId?: string | null | undefined;
|
|
1719
2187
|
} | null | undefined;
|
|
2188
|
+
breastfeedSession?: {
|
|
2189
|
+
schemaVersion: 1;
|
|
2190
|
+
segments: {
|
|
2191
|
+
start: string;
|
|
2192
|
+
end: string | null;
|
|
2193
|
+
side: "left" | "right";
|
|
2194
|
+
}[];
|
|
2195
|
+
} | null | undefined;
|
|
1720
2196
|
}[] | undefined;
|
|
1721
2197
|
lastSleepBabyName?: string | null | undefined;
|
|
1722
2198
|
activeTimer?: {
|
|
@@ -1778,6 +2254,14 @@ export declare const coachFamilyCaseOwnerLabelResponseSchema: z.ZodObject<{
|
|
|
1778
2254
|
ladderId?: string | null | undefined;
|
|
1779
2255
|
ladderStageId?: string | null | undefined;
|
|
1780
2256
|
} | null | undefined;
|
|
2257
|
+
breastfeedSession?: {
|
|
2258
|
+
schemaVersion: 1;
|
|
2259
|
+
segments: {
|
|
2260
|
+
start: string;
|
|
2261
|
+
end: string | null;
|
|
2262
|
+
side: "left" | "right";
|
|
2263
|
+
}[];
|
|
2264
|
+
} | null | undefined;
|
|
1781
2265
|
} | null | undefined;
|
|
1782
2266
|
} | undefined;
|
|
1783
2267
|
inviteCodeAccess?: {
|
|
@@ -1937,7 +2421,7 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
1937
2421
|
lastSleepEndedAt: z.ZodNullable<z.ZodString>;
|
|
1938
2422
|
lastSleepBabyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1939
2423
|
totalSleepMinutesToday: z.ZodNumber;
|
|
1940
|
-
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2424
|
+
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
1941
2425
|
id: z.ZodString;
|
|
1942
2426
|
familyUserId: z.ZodString;
|
|
1943
2427
|
babyId: z.ZodString;
|
|
@@ -2080,6 +2564,50 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2080
2564
|
ladderId?: string | null | undefined;
|
|
2081
2565
|
ladderStageId?: string | null | undefined;
|
|
2082
2566
|
}>]>>>;
|
|
2567
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2568
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
2569
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
2570
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
2571
|
+
start: z.ZodString;
|
|
2572
|
+
end: z.ZodNullable<z.ZodString>;
|
|
2573
|
+
}, "strict", z.ZodTypeAny, {
|
|
2574
|
+
start: string;
|
|
2575
|
+
end: string | null;
|
|
2576
|
+
side: "left" | "right";
|
|
2577
|
+
}, {
|
|
2578
|
+
start: string;
|
|
2579
|
+
end: string | null;
|
|
2580
|
+
side: "left" | "right";
|
|
2581
|
+
}>, "many">;
|
|
2582
|
+
}, "strict", z.ZodTypeAny, {
|
|
2583
|
+
schemaVersion: 1;
|
|
2584
|
+
segments: {
|
|
2585
|
+
start: string;
|
|
2586
|
+
end: string | null;
|
|
2587
|
+
side: "left" | "right";
|
|
2588
|
+
}[];
|
|
2589
|
+
}, {
|
|
2590
|
+
schemaVersion: 1;
|
|
2591
|
+
segments: {
|
|
2592
|
+
start: string;
|
|
2593
|
+
end: string | null;
|
|
2594
|
+
side: "left" | "right";
|
|
2595
|
+
}[];
|
|
2596
|
+
}>, {
|
|
2597
|
+
schemaVersion: 1;
|
|
2598
|
+
segments: {
|
|
2599
|
+
start: string;
|
|
2600
|
+
end: string | null;
|
|
2601
|
+
side: "left" | "right";
|
|
2602
|
+
}[];
|
|
2603
|
+
}, {
|
|
2604
|
+
schemaVersion: 1;
|
|
2605
|
+
segments: {
|
|
2606
|
+
start: string;
|
|
2607
|
+
end: string | null;
|
|
2608
|
+
side: "left" | "right";
|
|
2609
|
+
}[];
|
|
2610
|
+
}>>>;
|
|
2083
2611
|
createdAt: z.ZodString;
|
|
2084
2612
|
updatedAt: z.ZodString;
|
|
2085
2613
|
createdByUserId: z.ZodString;
|
|
@@ -2143,6 +2671,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2143
2671
|
ladderId?: string | null | undefined;
|
|
2144
2672
|
ladderStageId?: string | null | undefined;
|
|
2145
2673
|
} | null | undefined;
|
|
2674
|
+
breastfeedSession?: {
|
|
2675
|
+
schemaVersion: 1;
|
|
2676
|
+
segments: {
|
|
2677
|
+
start: string;
|
|
2678
|
+
end: string | null;
|
|
2679
|
+
side: "left" | "right";
|
|
2680
|
+
}[];
|
|
2681
|
+
} | null | undefined;
|
|
2146
2682
|
}, {
|
|
2147
2683
|
id: string;
|
|
2148
2684
|
createdAt: string;
|
|
@@ -2202,35 +2738,177 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2202
2738
|
ladderId?: string | null | undefined;
|
|
2203
2739
|
ladderStageId?: string | null | undefined;
|
|
2204
2740
|
} | null | undefined;
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2741
|
+
breastfeedSession?: {
|
|
2742
|
+
schemaVersion: 1;
|
|
2743
|
+
segments: {
|
|
2744
|
+
start: string;
|
|
2745
|
+
end: string | null;
|
|
2746
|
+
side: "left" | "right";
|
|
2747
|
+
}[];
|
|
2748
|
+
} | null | undefined;
|
|
2749
|
+
}>, {
|
|
2750
|
+
id: string;
|
|
2751
|
+
createdAt: string;
|
|
2752
|
+
startedAt: string;
|
|
2753
|
+
updatedAt: string;
|
|
2754
|
+
familyUserId: string;
|
|
2755
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
2756
|
+
babyId: string;
|
|
2757
|
+
createdByUserId: string;
|
|
2758
|
+
updatedByUserId: string;
|
|
2759
|
+
babyName: string | null;
|
|
2760
|
+
timeZone?: string | null | undefined;
|
|
2761
|
+
localDate?: string | null | undefined;
|
|
2762
|
+
note?: string | null | undefined;
|
|
2763
|
+
details?: {
|
|
2764
|
+
date: string;
|
|
2765
|
+
start: string;
|
|
2766
|
+
end: string;
|
|
2767
|
+
side: "left" | "right";
|
|
2768
|
+
} | {
|
|
2769
|
+
type: "breastmilk" | "formula";
|
|
2770
|
+
date: string;
|
|
2771
|
+
unit: "ml" | "oz";
|
|
2772
|
+
time: string;
|
|
2773
|
+
amount: number;
|
|
2774
|
+
} | {
|
|
2775
|
+
type: "day" | "night";
|
|
2776
|
+
date: string;
|
|
2777
|
+
start: string;
|
|
2778
|
+
end: string;
|
|
2779
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
2780
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
2781
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
2782
|
+
} | {
|
|
2783
|
+
type: ("dirty" | "wet")[];
|
|
2784
|
+
date: string;
|
|
2785
|
+
time: string;
|
|
2786
|
+
imageURL?: string | null | undefined;
|
|
2787
|
+
} | {
|
|
2788
|
+
date: string;
|
|
2789
|
+
unit: "ml" | "oz";
|
|
2790
|
+
start: string;
|
|
2791
|
+
end: string;
|
|
2792
|
+
side: "left" | "right";
|
|
2793
|
+
amount: number;
|
|
2794
|
+
} | {
|
|
2795
|
+
date: string;
|
|
2796
|
+
time: string;
|
|
2797
|
+
medicationName: string;
|
|
2798
|
+
} | {
|
|
2799
|
+
date: string;
|
|
2800
|
+
time: string;
|
|
2801
|
+
allergicReaction: boolean;
|
|
2802
|
+
allergicReactionNote?: string | null | undefined;
|
|
2803
|
+
accidentalExposure?: boolean | undefined;
|
|
2804
|
+
accidentalExposureNote?: string | null | undefined;
|
|
2805
|
+
ladderId?: string | null | undefined;
|
|
2806
|
+
ladderStageId?: string | null | undefined;
|
|
2807
|
+
} | null | undefined;
|
|
2808
|
+
breastfeedSession?: {
|
|
2809
|
+
schemaVersion: 1;
|
|
2810
|
+
segments: {
|
|
2811
|
+
start: string;
|
|
2812
|
+
end: string | null;
|
|
2813
|
+
side: "left" | "right";
|
|
2814
|
+
}[];
|
|
2815
|
+
} | null | undefined;
|
|
2816
|
+
}, {
|
|
2817
|
+
id: string;
|
|
2818
|
+
createdAt: string;
|
|
2819
|
+
startedAt: string;
|
|
2820
|
+
updatedAt: string;
|
|
2821
|
+
familyUserId: string;
|
|
2822
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
2823
|
+
babyId: string;
|
|
2824
|
+
createdByUserId: string;
|
|
2825
|
+
updatedByUserId: string;
|
|
2826
|
+
babyName: string | null;
|
|
2827
|
+
timeZone?: string | null | undefined;
|
|
2828
|
+
localDate?: string | null | undefined;
|
|
2829
|
+
note?: string | null | undefined;
|
|
2830
|
+
details?: {
|
|
2831
|
+
date: string;
|
|
2832
|
+
start: string;
|
|
2833
|
+
end: string;
|
|
2834
|
+
side: "left" | "right";
|
|
2835
|
+
} | {
|
|
2836
|
+
type: "breastmilk" | "formula";
|
|
2837
|
+
date: string;
|
|
2838
|
+
unit: "ml" | "oz";
|
|
2839
|
+
time: string;
|
|
2840
|
+
amount: number;
|
|
2841
|
+
} | {
|
|
2842
|
+
type: "day" | "night";
|
|
2843
|
+
date: string;
|
|
2844
|
+
start: string;
|
|
2845
|
+
end: string;
|
|
2846
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
2847
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
2848
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
2849
|
+
} | {
|
|
2850
|
+
type: ("dirty" | "wet")[];
|
|
2851
|
+
date: string;
|
|
2852
|
+
time: string;
|
|
2853
|
+
imageURL?: string | null | undefined;
|
|
2854
|
+
} | {
|
|
2855
|
+
date: string;
|
|
2856
|
+
unit: "ml" | "oz";
|
|
2857
|
+
start: string;
|
|
2858
|
+
end: string;
|
|
2859
|
+
side: "left" | "right";
|
|
2860
|
+
amount: number;
|
|
2861
|
+
} | {
|
|
2862
|
+
date: string;
|
|
2863
|
+
time: string;
|
|
2864
|
+
medicationName: string;
|
|
2865
|
+
} | {
|
|
2866
|
+
date: string;
|
|
2867
|
+
time: string;
|
|
2868
|
+
allergicReaction: boolean;
|
|
2869
|
+
allergicReactionNote?: string | null | undefined;
|
|
2870
|
+
accidentalExposure?: boolean | undefined;
|
|
2871
|
+
accidentalExposureNote?: string | null | undefined;
|
|
2872
|
+
ladderId?: string | null | undefined;
|
|
2873
|
+
ladderStageId?: string | null | undefined;
|
|
2874
|
+
} | null | undefined;
|
|
2875
|
+
breastfeedSession?: {
|
|
2876
|
+
schemaVersion: 1;
|
|
2877
|
+
segments: {
|
|
2878
|
+
start: string;
|
|
2879
|
+
end: string | null;
|
|
2880
|
+
side: "left" | "right";
|
|
2881
|
+
}[];
|
|
2882
|
+
} | null | undefined;
|
|
2883
|
+
}>>>;
|
|
2884
|
+
activeTimers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2885
|
+
id: z.ZodString;
|
|
2886
|
+
familyUserId: z.ZodString;
|
|
2887
|
+
babyId: z.ZodString;
|
|
2888
|
+
babyName: z.ZodNullable<z.ZodString>;
|
|
2889
|
+
activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
|
|
2890
|
+
startedAt: z.ZodString;
|
|
2891
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2892
|
+
localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2893
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2894
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
2895
|
+
date: z.ZodString;
|
|
2896
|
+
start: z.ZodString;
|
|
2897
|
+
end: z.ZodString;
|
|
2898
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
2899
|
+
}, "strict", z.ZodTypeAny, {
|
|
2900
|
+
date: string;
|
|
2901
|
+
start: string;
|
|
2902
|
+
end: string;
|
|
2903
|
+
side: "left" | "right";
|
|
2904
|
+
}, {
|
|
2905
|
+
date: string;
|
|
2906
|
+
start: string;
|
|
2907
|
+
end: string;
|
|
2908
|
+
side: "left" | "right";
|
|
2909
|
+
}>, z.ZodObject<{
|
|
2910
|
+
date: z.ZodString;
|
|
2911
|
+
time: z.ZodString;
|
|
2234
2912
|
amount: z.ZodNumber;
|
|
2235
2913
|
unit: z.ZodEnum<["ml", "oz"]>;
|
|
2236
2914
|
type: z.ZodEnum<["breastmilk", "formula"]>;
|
|
@@ -2346,6 +3024,50 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2346
3024
|
ladderId?: string | null | undefined;
|
|
2347
3025
|
ladderStageId?: string | null | undefined;
|
|
2348
3026
|
}>]>>>;
|
|
3027
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
3028
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
3029
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
3030
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
3031
|
+
start: z.ZodString;
|
|
3032
|
+
end: z.ZodNullable<z.ZodString>;
|
|
3033
|
+
}, "strict", z.ZodTypeAny, {
|
|
3034
|
+
start: string;
|
|
3035
|
+
end: string | null;
|
|
3036
|
+
side: "left" | "right";
|
|
3037
|
+
}, {
|
|
3038
|
+
start: string;
|
|
3039
|
+
end: string | null;
|
|
3040
|
+
side: "left" | "right";
|
|
3041
|
+
}>, "many">;
|
|
3042
|
+
}, "strict", z.ZodTypeAny, {
|
|
3043
|
+
schemaVersion: 1;
|
|
3044
|
+
segments: {
|
|
3045
|
+
start: string;
|
|
3046
|
+
end: string | null;
|
|
3047
|
+
side: "left" | "right";
|
|
3048
|
+
}[];
|
|
3049
|
+
}, {
|
|
3050
|
+
schemaVersion: 1;
|
|
3051
|
+
segments: {
|
|
3052
|
+
start: string;
|
|
3053
|
+
end: string | null;
|
|
3054
|
+
side: "left" | "right";
|
|
3055
|
+
}[];
|
|
3056
|
+
}>, {
|
|
3057
|
+
schemaVersion: 1;
|
|
3058
|
+
segments: {
|
|
3059
|
+
start: string;
|
|
3060
|
+
end: string | null;
|
|
3061
|
+
side: "left" | "right";
|
|
3062
|
+
}[];
|
|
3063
|
+
}, {
|
|
3064
|
+
schemaVersion: 1;
|
|
3065
|
+
segments: {
|
|
3066
|
+
start: string;
|
|
3067
|
+
end: string | null;
|
|
3068
|
+
side: "left" | "right";
|
|
3069
|
+
}[];
|
|
3070
|
+
}>>>;
|
|
2349
3071
|
createdAt: z.ZodString;
|
|
2350
3072
|
updatedAt: z.ZodString;
|
|
2351
3073
|
createdByUserId: z.ZodString;
|
|
@@ -2409,6 +3131,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2409
3131
|
ladderId?: string | null | undefined;
|
|
2410
3132
|
ladderStageId?: string | null | undefined;
|
|
2411
3133
|
} | null | undefined;
|
|
3134
|
+
breastfeedSession?: {
|
|
3135
|
+
schemaVersion: 1;
|
|
3136
|
+
segments: {
|
|
3137
|
+
start: string;
|
|
3138
|
+
end: string | null;
|
|
3139
|
+
side: "left" | "right";
|
|
3140
|
+
}[];
|
|
3141
|
+
} | null | undefined;
|
|
2412
3142
|
}, {
|
|
2413
3143
|
id: string;
|
|
2414
3144
|
createdAt: string;
|
|
@@ -2468,11 +3198,15 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2468
3198
|
ladderId?: string | null | undefined;
|
|
2469
3199
|
ladderStageId?: string | null | undefined;
|
|
2470
3200
|
} | null | undefined;
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
3201
|
+
breastfeedSession?: {
|
|
3202
|
+
schemaVersion: 1;
|
|
3203
|
+
segments: {
|
|
3204
|
+
start: string;
|
|
3205
|
+
end: string | null;
|
|
3206
|
+
side: "left" | "right";
|
|
3207
|
+
}[];
|
|
3208
|
+
} | null | undefined;
|
|
3209
|
+
}>, {
|
|
2476
3210
|
id: string;
|
|
2477
3211
|
createdAt: string;
|
|
2478
3212
|
startedAt: string;
|
|
@@ -2531,9 +3265,15 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2531
3265
|
ladderId?: string | null | undefined;
|
|
2532
3266
|
ladderStageId?: string | null | undefined;
|
|
2533
3267
|
} | null | undefined;
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
3268
|
+
breastfeedSession?: {
|
|
3269
|
+
schemaVersion: 1;
|
|
3270
|
+
segments: {
|
|
3271
|
+
start: string;
|
|
3272
|
+
end: string | null;
|
|
3273
|
+
side: "left" | "right";
|
|
3274
|
+
}[];
|
|
3275
|
+
} | null | undefined;
|
|
3276
|
+
}, {
|
|
2537
3277
|
id: string;
|
|
2538
3278
|
createdAt: string;
|
|
2539
3279
|
startedAt: string;
|
|
@@ -2592,8 +3332,16 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2592
3332
|
ladderId?: string | null | undefined;
|
|
2593
3333
|
ladderStageId?: string | null | undefined;
|
|
2594
3334
|
} | null | undefined;
|
|
2595
|
-
|
|
2596
|
-
|
|
3335
|
+
breastfeedSession?: {
|
|
3336
|
+
schemaVersion: 1;
|
|
3337
|
+
segments: {
|
|
3338
|
+
start: string;
|
|
3339
|
+
end: string | null;
|
|
3340
|
+
side: "left" | "right";
|
|
3341
|
+
}[];
|
|
3342
|
+
} | null | undefined;
|
|
3343
|
+
}>, "many">>;
|
|
3344
|
+
}, "strip", z.ZodTypeAny, {
|
|
2597
3345
|
lastSleepEndedAt: string | null;
|
|
2598
3346
|
totalSleepMinutesToday: number;
|
|
2599
3347
|
activeTimers?: {
|
|
@@ -2655,6 +3403,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2655
3403
|
ladderId?: string | null | undefined;
|
|
2656
3404
|
ladderStageId?: string | null | undefined;
|
|
2657
3405
|
} | null | undefined;
|
|
3406
|
+
breastfeedSession?: {
|
|
3407
|
+
schemaVersion: 1;
|
|
3408
|
+
segments: {
|
|
3409
|
+
start: string;
|
|
3410
|
+
end: string | null;
|
|
3411
|
+
side: "left" | "right";
|
|
3412
|
+
}[];
|
|
3413
|
+
} | null | undefined;
|
|
2658
3414
|
}[] | undefined;
|
|
2659
3415
|
lastSleepBabyName?: string | null | undefined;
|
|
2660
3416
|
activeTimer?: {
|
|
@@ -2716,72 +3472,220 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2716
3472
|
ladderId?: string | null | undefined;
|
|
2717
3473
|
ladderStageId?: string | null | undefined;
|
|
2718
3474
|
} | null | undefined;
|
|
3475
|
+
breastfeedSession?: {
|
|
3476
|
+
schemaVersion: 1;
|
|
3477
|
+
segments: {
|
|
3478
|
+
start: string;
|
|
3479
|
+
end: string | null;
|
|
3480
|
+
side: "left" | "right";
|
|
3481
|
+
}[];
|
|
3482
|
+
} | null | undefined;
|
|
2719
3483
|
} | null | undefined;
|
|
2720
|
-
}>>;
|
|
2721
|
-
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2722
|
-
id: z.ZodString;
|
|
2723
|
-
code: z.ZodString;
|
|
2724
|
-
affectedFamilyCount: z.ZodNumber;
|
|
2725
|
-
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
2726
|
-
familyUserId: z.ZodString;
|
|
2727
|
-
familyName: z.ZodString;
|
|
2728
|
-
}, "strip", z.ZodTypeAny, {
|
|
2729
|
-
familyUserId: string;
|
|
2730
|
-
familyName: string;
|
|
2731
|
-
}, {
|
|
2732
|
-
familyUserId: string;
|
|
2733
|
-
familyName: string;
|
|
2734
|
-
}>, "many">;
|
|
2735
|
-
}, "strip", z.ZodTypeAny, {
|
|
2736
|
-
code: string;
|
|
2737
|
-
id: string;
|
|
2738
|
-
affectedFamilies: {
|
|
2739
|
-
familyUserId: string;
|
|
2740
|
-
familyName: string;
|
|
2741
|
-
}[];
|
|
2742
|
-
affectedFamilyCount: number;
|
|
2743
3484
|
}, {
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
3485
|
+
lastSleepEndedAt: string | null;
|
|
3486
|
+
totalSleepMinutesToday: number;
|
|
3487
|
+
activeTimers?: {
|
|
3488
|
+
id: string;
|
|
3489
|
+
createdAt: string;
|
|
3490
|
+
startedAt: string;
|
|
3491
|
+
updatedAt: string;
|
|
2747
3492
|
familyUserId: string;
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
3493
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
3494
|
+
babyId: string;
|
|
3495
|
+
createdByUserId: string;
|
|
3496
|
+
updatedByUserId: string;
|
|
3497
|
+
babyName: string | null;
|
|
3498
|
+
timeZone?: string | null | undefined;
|
|
3499
|
+
localDate?: string | null | undefined;
|
|
3500
|
+
note?: string | null | undefined;
|
|
3501
|
+
details?: {
|
|
3502
|
+
date: string;
|
|
3503
|
+
start: string;
|
|
3504
|
+
end: string;
|
|
3505
|
+
side: "left" | "right";
|
|
3506
|
+
} | {
|
|
3507
|
+
type: "breastmilk" | "formula";
|
|
3508
|
+
date: string;
|
|
3509
|
+
unit: "ml" | "oz";
|
|
3510
|
+
time: string;
|
|
3511
|
+
amount: number;
|
|
3512
|
+
} | {
|
|
3513
|
+
type: "day" | "night";
|
|
3514
|
+
date: string;
|
|
3515
|
+
start: string;
|
|
3516
|
+
end: string;
|
|
3517
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
3518
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
3519
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
3520
|
+
} | {
|
|
3521
|
+
type: ("dirty" | "wet")[];
|
|
3522
|
+
date: string;
|
|
3523
|
+
time: string;
|
|
3524
|
+
imageURL?: string | null | undefined;
|
|
3525
|
+
} | {
|
|
3526
|
+
date: string;
|
|
3527
|
+
unit: "ml" | "oz";
|
|
3528
|
+
start: string;
|
|
3529
|
+
end: string;
|
|
3530
|
+
side: "left" | "right";
|
|
3531
|
+
amount: number;
|
|
3532
|
+
} | {
|
|
3533
|
+
date: string;
|
|
3534
|
+
time: string;
|
|
3535
|
+
medicationName: string;
|
|
3536
|
+
} | {
|
|
3537
|
+
date: string;
|
|
3538
|
+
time: string;
|
|
3539
|
+
allergicReaction: boolean;
|
|
3540
|
+
allergicReactionNote?: string | null | undefined;
|
|
3541
|
+
accidentalExposure?: boolean | undefined;
|
|
3542
|
+
accidentalExposureNote?: string | null | undefined;
|
|
3543
|
+
ladderId?: string | null | undefined;
|
|
3544
|
+
ladderStageId?: string | null | undefined;
|
|
3545
|
+
} | null | undefined;
|
|
3546
|
+
breastfeedSession?: {
|
|
3547
|
+
schemaVersion: 1;
|
|
3548
|
+
segments: {
|
|
3549
|
+
start: string;
|
|
3550
|
+
end: string | null;
|
|
3551
|
+
side: "left" | "right";
|
|
3552
|
+
}[];
|
|
3553
|
+
} | null | undefined;
|
|
3554
|
+
}[] | undefined;
|
|
3555
|
+
lastSleepBabyName?: string | null | undefined;
|
|
3556
|
+
activeTimer?: {
|
|
3557
|
+
id: string;
|
|
3558
|
+
createdAt: string;
|
|
3559
|
+
startedAt: string;
|
|
3560
|
+
updatedAt: string;
|
|
3561
|
+
familyUserId: string;
|
|
3562
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
3563
|
+
babyId: string;
|
|
3564
|
+
createdByUserId: string;
|
|
3565
|
+
updatedByUserId: string;
|
|
3566
|
+
babyName: string | null;
|
|
3567
|
+
timeZone?: string | null | undefined;
|
|
3568
|
+
localDate?: string | null | undefined;
|
|
3569
|
+
note?: string | null | undefined;
|
|
3570
|
+
details?: {
|
|
3571
|
+
date: string;
|
|
3572
|
+
start: string;
|
|
3573
|
+
end: string;
|
|
3574
|
+
side: "left" | "right";
|
|
3575
|
+
} | {
|
|
3576
|
+
type: "breastmilk" | "formula";
|
|
3577
|
+
date: string;
|
|
3578
|
+
unit: "ml" | "oz";
|
|
3579
|
+
time: string;
|
|
3580
|
+
amount: number;
|
|
3581
|
+
} | {
|
|
3582
|
+
type: "day" | "night";
|
|
3583
|
+
date: string;
|
|
3584
|
+
start: string;
|
|
3585
|
+
end: string;
|
|
3586
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
3587
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
3588
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
3589
|
+
} | {
|
|
3590
|
+
type: ("dirty" | "wet")[];
|
|
3591
|
+
date: string;
|
|
3592
|
+
time: string;
|
|
3593
|
+
imageURL?: string | null | undefined;
|
|
3594
|
+
} | {
|
|
3595
|
+
date: string;
|
|
3596
|
+
unit: "ml" | "oz";
|
|
3597
|
+
start: string;
|
|
3598
|
+
end: string;
|
|
3599
|
+
side: "left" | "right";
|
|
3600
|
+
amount: number;
|
|
3601
|
+
} | {
|
|
3602
|
+
date: string;
|
|
3603
|
+
time: string;
|
|
3604
|
+
medicationName: string;
|
|
3605
|
+
} | {
|
|
3606
|
+
date: string;
|
|
3607
|
+
time: string;
|
|
3608
|
+
allergicReaction: boolean;
|
|
3609
|
+
allergicReactionNote?: string | null | undefined;
|
|
3610
|
+
accidentalExposure?: boolean | undefined;
|
|
3611
|
+
accidentalExposureNote?: string | null | undefined;
|
|
3612
|
+
ladderId?: string | null | undefined;
|
|
3613
|
+
ladderStageId?: string | null | undefined;
|
|
3614
|
+
} | null | undefined;
|
|
3615
|
+
breastfeedSession?: {
|
|
3616
|
+
schemaVersion: 1;
|
|
3617
|
+
segments: {
|
|
3618
|
+
start: string;
|
|
3619
|
+
end: string | null;
|
|
3620
|
+
side: "left" | "right";
|
|
3621
|
+
}[];
|
|
3622
|
+
} | null | undefined;
|
|
3623
|
+
} | null | undefined;
|
|
3624
|
+
}>>;
|
|
3625
|
+
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3626
|
+
id: z.ZodString;
|
|
3627
|
+
code: z.ZodString;
|
|
3628
|
+
affectedFamilyCount: z.ZodNumber;
|
|
3629
|
+
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
3630
|
+
familyUserId: z.ZodString;
|
|
3631
|
+
familyName: z.ZodString;
|
|
3632
|
+
}, "strip", z.ZodTypeAny, {
|
|
3633
|
+
familyUserId: string;
|
|
3634
|
+
familyName: string;
|
|
3635
|
+
}, {
|
|
3636
|
+
familyUserId: string;
|
|
3637
|
+
familyName: string;
|
|
3638
|
+
}>, "many">;
|
|
3639
|
+
}, "strip", z.ZodTypeAny, {
|
|
3640
|
+
code: string;
|
|
3641
|
+
id: string;
|
|
3642
|
+
affectedFamilies: {
|
|
3643
|
+
familyUserId: string;
|
|
3644
|
+
familyName: string;
|
|
3645
|
+
}[];
|
|
3646
|
+
affectedFamilyCount: number;
|
|
3647
|
+
}, {
|
|
3648
|
+
code: string;
|
|
3649
|
+
id: string;
|
|
3650
|
+
affectedFamilies: {
|
|
3651
|
+
familyUserId: string;
|
|
3652
|
+
familyName: string;
|
|
3653
|
+
}[];
|
|
3654
|
+
affectedFamilyCount: number;
|
|
3655
|
+
}>>>;
|
|
3656
|
+
}, "strip", z.ZodTypeAny, {
|
|
3657
|
+
familyUserId: string;
|
|
3658
|
+
canEditLogs: boolean;
|
|
3659
|
+
premium: {
|
|
3660
|
+
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
3661
|
+
active: boolean;
|
|
3662
|
+
expiresAt?: string | null | undefined;
|
|
3663
|
+
organizationId?: string | undefined;
|
|
3664
|
+
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
3665
|
+
entitlementId?: string | undefined;
|
|
3666
|
+
startsAt?: string | null | undefined;
|
|
3667
|
+
supportEndedAt?: string | null | undefined;
|
|
3668
|
+
premiumGraceEndsAt?: string | null | undefined;
|
|
3669
|
+
premiumGraceDaysRemaining?: number | undefined;
|
|
3670
|
+
premiumGraceActive?: boolean | undefined;
|
|
3671
|
+
};
|
|
3672
|
+
babyCount: number;
|
|
3673
|
+
familyName: string;
|
|
3674
|
+
assignedAt: string;
|
|
3675
|
+
unseenLogCount: number;
|
|
3676
|
+
assignmentStatus: "active" | "revoked" | "transferred" | "expired";
|
|
3677
|
+
profileAssetId?: string | null | undefined;
|
|
3678
|
+
timeZone?: string | null | undefined;
|
|
3679
|
+
canManageSupportDates?: boolean | undefined;
|
|
3680
|
+
revokedAt?: string | null | undefined;
|
|
3681
|
+
lastActivityAt?: string | null | undefined;
|
|
3682
|
+
familyEmail?: string | undefined;
|
|
3683
|
+
babyNames?: string[] | undefined;
|
|
3684
|
+
caseOwnerLabel?: string | null | undefined;
|
|
3685
|
+
redeemedAt?: string | null | undefined;
|
|
3686
|
+
accessStartsAt?: string | null | undefined;
|
|
3687
|
+
accessExpiresAt?: string | null | undefined;
|
|
3688
|
+
supportStatus?: "active" | "expired" | "notStarted" | "paused" | undefined;
|
|
2785
3689
|
supportPausedAt?: string | null | undefined;
|
|
2786
3690
|
latestActivity?: {
|
|
2787
3691
|
id: string;
|
|
@@ -2874,6 +3778,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2874
3778
|
ladderId?: string | null | undefined;
|
|
2875
3779
|
ladderStageId?: string | null | undefined;
|
|
2876
3780
|
} | null | undefined;
|
|
3781
|
+
breastfeedSession?: {
|
|
3782
|
+
schemaVersion: 1;
|
|
3783
|
+
segments: {
|
|
3784
|
+
start: string;
|
|
3785
|
+
end: string | null;
|
|
3786
|
+
side: "left" | "right";
|
|
3787
|
+
}[];
|
|
3788
|
+
} | null | undefined;
|
|
2877
3789
|
}[] | undefined;
|
|
2878
3790
|
lastSleepBabyName?: string | null | undefined;
|
|
2879
3791
|
activeTimer?: {
|
|
@@ -2935,6 +3847,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
2935
3847
|
ladderId?: string | null | undefined;
|
|
2936
3848
|
ladderStageId?: string | null | undefined;
|
|
2937
3849
|
} | null | undefined;
|
|
3850
|
+
breastfeedSession?: {
|
|
3851
|
+
schemaVersion: 1;
|
|
3852
|
+
segments: {
|
|
3853
|
+
start: string;
|
|
3854
|
+
end: string | null;
|
|
3855
|
+
side: "left" | "right";
|
|
3856
|
+
}[];
|
|
3857
|
+
} | null | undefined;
|
|
2938
3858
|
} | null | undefined;
|
|
2939
3859
|
} | undefined;
|
|
2940
3860
|
inviteCodeAccess?: {
|
|
@@ -3071,6 +3991,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
3071
3991
|
ladderId?: string | null | undefined;
|
|
3072
3992
|
ladderStageId?: string | null | undefined;
|
|
3073
3993
|
} | null | undefined;
|
|
3994
|
+
breastfeedSession?: {
|
|
3995
|
+
schemaVersion: 1;
|
|
3996
|
+
segments: {
|
|
3997
|
+
start: string;
|
|
3998
|
+
end: string | null;
|
|
3999
|
+
side: "left" | "right";
|
|
4000
|
+
}[];
|
|
4001
|
+
} | null | undefined;
|
|
3074
4002
|
}[] | undefined;
|
|
3075
4003
|
lastSleepBabyName?: string | null | undefined;
|
|
3076
4004
|
activeTimer?: {
|
|
@@ -3132,6 +4060,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
3132
4060
|
ladderId?: string | null | undefined;
|
|
3133
4061
|
ladderStageId?: string | null | undefined;
|
|
3134
4062
|
} | null | undefined;
|
|
4063
|
+
breastfeedSession?: {
|
|
4064
|
+
schemaVersion: 1;
|
|
4065
|
+
segments: {
|
|
4066
|
+
start: string;
|
|
4067
|
+
end: string | null;
|
|
4068
|
+
side: "left" | "right";
|
|
4069
|
+
}[];
|
|
4070
|
+
} | null | undefined;
|
|
3135
4071
|
} | null | undefined;
|
|
3136
4072
|
} | undefined;
|
|
3137
4073
|
inviteCodeAccess?: {
|
|
@@ -3690,6 +4626,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
3690
4626
|
ladderId?: string | null | undefined;
|
|
3691
4627
|
ladderStageId?: string | null | undefined;
|
|
3692
4628
|
} | null | undefined;
|
|
4629
|
+
breastfeedSession?: {
|
|
4630
|
+
schemaVersion: 1;
|
|
4631
|
+
segments: {
|
|
4632
|
+
start: string;
|
|
4633
|
+
end: string | null;
|
|
4634
|
+
side: "left" | "right";
|
|
4635
|
+
}[];
|
|
4636
|
+
} | null | undefined;
|
|
3693
4637
|
}[] | undefined;
|
|
3694
4638
|
lastSleepBabyName?: string | null | undefined;
|
|
3695
4639
|
activeTimer?: {
|
|
@@ -3751,6 +4695,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
3751
4695
|
ladderId?: string | null | undefined;
|
|
3752
4696
|
ladderStageId?: string | null | undefined;
|
|
3753
4697
|
} | null | undefined;
|
|
4698
|
+
breastfeedSession?: {
|
|
4699
|
+
schemaVersion: 1;
|
|
4700
|
+
segments: {
|
|
4701
|
+
start: string;
|
|
4702
|
+
end: string | null;
|
|
4703
|
+
side: "left" | "right";
|
|
4704
|
+
}[];
|
|
4705
|
+
} | null | undefined;
|
|
3754
4706
|
} | null | undefined;
|
|
3755
4707
|
} | undefined;
|
|
3756
4708
|
inviteCodeAccess?: {
|
|
@@ -3965,6 +4917,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
3965
4917
|
ladderId?: string | null | undefined;
|
|
3966
4918
|
ladderStageId?: string | null | undefined;
|
|
3967
4919
|
} | null | undefined;
|
|
4920
|
+
breastfeedSession?: {
|
|
4921
|
+
schemaVersion: 1;
|
|
4922
|
+
segments: {
|
|
4923
|
+
start: string;
|
|
4924
|
+
end: string | null;
|
|
4925
|
+
side: "left" | "right";
|
|
4926
|
+
}[];
|
|
4927
|
+
} | null | undefined;
|
|
3968
4928
|
}[] | undefined;
|
|
3969
4929
|
lastSleepBabyName?: string | null | undefined;
|
|
3970
4930
|
activeTimer?: {
|
|
@@ -4026,6 +4986,14 @@ export declare const coachFamiliesResponseSchema: z.ZodObject<{
|
|
|
4026
4986
|
ladderId?: string | null | undefined;
|
|
4027
4987
|
ladderStageId?: string | null | undefined;
|
|
4028
4988
|
} | null | undefined;
|
|
4989
|
+
breastfeedSession?: {
|
|
4990
|
+
schemaVersion: 1;
|
|
4991
|
+
segments: {
|
|
4992
|
+
start: string;
|
|
4993
|
+
end: string | null;
|
|
4994
|
+
side: "left" | "right";
|
|
4995
|
+
}[];
|
|
4996
|
+
} | null | undefined;
|
|
4029
4997
|
} | null | undefined;
|
|
4030
4998
|
} | undefined;
|
|
4031
4999
|
inviteCodeAccess?: {
|
|
@@ -5250,7 +6218,7 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5250
6218
|
lastSleepEndedAt: z.ZodNullable<z.ZodString>;
|
|
5251
6219
|
lastSleepBabyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5252
6220
|
totalSleepMinutesToday: z.ZodNumber;
|
|
5253
|
-
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6221
|
+
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
5254
6222
|
id: z.ZodString;
|
|
5255
6223
|
familyUserId: z.ZodString;
|
|
5256
6224
|
babyId: z.ZodString;
|
|
@@ -5393,6 +6361,50 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5393
6361
|
ladderId?: string | null | undefined;
|
|
5394
6362
|
ladderStageId?: string | null | undefined;
|
|
5395
6363
|
}>]>>>;
|
|
6364
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
6365
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
6366
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
6367
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
6368
|
+
start: z.ZodString;
|
|
6369
|
+
end: z.ZodNullable<z.ZodString>;
|
|
6370
|
+
}, "strict", z.ZodTypeAny, {
|
|
6371
|
+
start: string;
|
|
6372
|
+
end: string | null;
|
|
6373
|
+
side: "left" | "right";
|
|
6374
|
+
}, {
|
|
6375
|
+
start: string;
|
|
6376
|
+
end: string | null;
|
|
6377
|
+
side: "left" | "right";
|
|
6378
|
+
}>, "many">;
|
|
6379
|
+
}, "strict", z.ZodTypeAny, {
|
|
6380
|
+
schemaVersion: 1;
|
|
6381
|
+
segments: {
|
|
6382
|
+
start: string;
|
|
6383
|
+
end: string | null;
|
|
6384
|
+
side: "left" | "right";
|
|
6385
|
+
}[];
|
|
6386
|
+
}, {
|
|
6387
|
+
schemaVersion: 1;
|
|
6388
|
+
segments: {
|
|
6389
|
+
start: string;
|
|
6390
|
+
end: string | null;
|
|
6391
|
+
side: "left" | "right";
|
|
6392
|
+
}[];
|
|
6393
|
+
}>, {
|
|
6394
|
+
schemaVersion: 1;
|
|
6395
|
+
segments: {
|
|
6396
|
+
start: string;
|
|
6397
|
+
end: string | null;
|
|
6398
|
+
side: "left" | "right";
|
|
6399
|
+
}[];
|
|
6400
|
+
}, {
|
|
6401
|
+
schemaVersion: 1;
|
|
6402
|
+
segments: {
|
|
6403
|
+
start: string;
|
|
6404
|
+
end: string | null;
|
|
6405
|
+
side: "left" | "right";
|
|
6406
|
+
}[];
|
|
6407
|
+
}>>>;
|
|
5396
6408
|
createdAt: z.ZodString;
|
|
5397
6409
|
updatedAt: z.ZodString;
|
|
5398
6410
|
createdByUserId: z.ZodString;
|
|
@@ -5456,6 +6468,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5456
6468
|
ladderId?: string | null | undefined;
|
|
5457
6469
|
ladderStageId?: string | null | undefined;
|
|
5458
6470
|
} | null | undefined;
|
|
6471
|
+
breastfeedSession?: {
|
|
6472
|
+
schemaVersion: 1;
|
|
6473
|
+
segments: {
|
|
6474
|
+
start: string;
|
|
6475
|
+
end: string | null;
|
|
6476
|
+
side: "left" | "right";
|
|
6477
|
+
}[];
|
|
6478
|
+
} | null | undefined;
|
|
5459
6479
|
}, {
|
|
5460
6480
|
id: string;
|
|
5461
6481
|
createdAt: string;
|
|
@@ -5515,34 +6535,176 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5515
6535
|
ladderId?: string | null | undefined;
|
|
5516
6536
|
ladderStageId?: string | null | undefined;
|
|
5517
6537
|
} | null | undefined;
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
6538
|
+
breastfeedSession?: {
|
|
6539
|
+
schemaVersion: 1;
|
|
6540
|
+
segments: {
|
|
6541
|
+
start: string;
|
|
6542
|
+
end: string | null;
|
|
6543
|
+
side: "left" | "right";
|
|
6544
|
+
}[];
|
|
6545
|
+
} | null | undefined;
|
|
6546
|
+
}>, {
|
|
6547
|
+
id: string;
|
|
6548
|
+
createdAt: string;
|
|
6549
|
+
startedAt: string;
|
|
6550
|
+
updatedAt: string;
|
|
6551
|
+
familyUserId: string;
|
|
6552
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
6553
|
+
babyId: string;
|
|
6554
|
+
createdByUserId: string;
|
|
6555
|
+
updatedByUserId: string;
|
|
6556
|
+
babyName: string | null;
|
|
6557
|
+
timeZone?: string | null | undefined;
|
|
6558
|
+
localDate?: string | null | undefined;
|
|
6559
|
+
note?: string | null | undefined;
|
|
6560
|
+
details?: {
|
|
5535
6561
|
date: string;
|
|
5536
6562
|
start: string;
|
|
5537
6563
|
end: string;
|
|
5538
6564
|
side: "left" | "right";
|
|
5539
|
-
}
|
|
6565
|
+
} | {
|
|
6566
|
+
type: "breastmilk" | "formula";
|
|
6567
|
+
date: string;
|
|
6568
|
+
unit: "ml" | "oz";
|
|
6569
|
+
time: string;
|
|
6570
|
+
amount: number;
|
|
6571
|
+
} | {
|
|
6572
|
+
type: "day" | "night";
|
|
5540
6573
|
date: string;
|
|
5541
6574
|
start: string;
|
|
5542
6575
|
end: string;
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
6576
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
6577
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
6578
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
6579
|
+
} | {
|
|
6580
|
+
type: ("dirty" | "wet")[];
|
|
6581
|
+
date: string;
|
|
6582
|
+
time: string;
|
|
6583
|
+
imageURL?: string | null | undefined;
|
|
6584
|
+
} | {
|
|
6585
|
+
date: string;
|
|
6586
|
+
unit: "ml" | "oz";
|
|
6587
|
+
start: string;
|
|
6588
|
+
end: string;
|
|
6589
|
+
side: "left" | "right";
|
|
6590
|
+
amount: number;
|
|
6591
|
+
} | {
|
|
6592
|
+
date: string;
|
|
6593
|
+
time: string;
|
|
6594
|
+
medicationName: string;
|
|
6595
|
+
} | {
|
|
6596
|
+
date: string;
|
|
6597
|
+
time: string;
|
|
6598
|
+
allergicReaction: boolean;
|
|
6599
|
+
allergicReactionNote?: string | null | undefined;
|
|
6600
|
+
accidentalExposure?: boolean | undefined;
|
|
6601
|
+
accidentalExposureNote?: string | null | undefined;
|
|
6602
|
+
ladderId?: string | null | undefined;
|
|
6603
|
+
ladderStageId?: string | null | undefined;
|
|
6604
|
+
} | null | undefined;
|
|
6605
|
+
breastfeedSession?: {
|
|
6606
|
+
schemaVersion: 1;
|
|
6607
|
+
segments: {
|
|
6608
|
+
start: string;
|
|
6609
|
+
end: string | null;
|
|
6610
|
+
side: "left" | "right";
|
|
6611
|
+
}[];
|
|
6612
|
+
} | null | undefined;
|
|
6613
|
+
}, {
|
|
6614
|
+
id: string;
|
|
6615
|
+
createdAt: string;
|
|
6616
|
+
startedAt: string;
|
|
6617
|
+
updatedAt: string;
|
|
6618
|
+
familyUserId: string;
|
|
6619
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
6620
|
+
babyId: string;
|
|
6621
|
+
createdByUserId: string;
|
|
6622
|
+
updatedByUserId: string;
|
|
6623
|
+
babyName: string | null;
|
|
6624
|
+
timeZone?: string | null | undefined;
|
|
6625
|
+
localDate?: string | null | undefined;
|
|
6626
|
+
note?: string | null | undefined;
|
|
6627
|
+
details?: {
|
|
6628
|
+
date: string;
|
|
6629
|
+
start: string;
|
|
6630
|
+
end: string;
|
|
6631
|
+
side: "left" | "right";
|
|
6632
|
+
} | {
|
|
6633
|
+
type: "breastmilk" | "formula";
|
|
6634
|
+
date: string;
|
|
6635
|
+
unit: "ml" | "oz";
|
|
6636
|
+
time: string;
|
|
6637
|
+
amount: number;
|
|
6638
|
+
} | {
|
|
6639
|
+
type: "day" | "night";
|
|
6640
|
+
date: string;
|
|
6641
|
+
start: string;
|
|
6642
|
+
end: string;
|
|
6643
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
6644
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
6645
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
6646
|
+
} | {
|
|
6647
|
+
type: ("dirty" | "wet")[];
|
|
6648
|
+
date: string;
|
|
6649
|
+
time: string;
|
|
6650
|
+
imageURL?: string | null | undefined;
|
|
6651
|
+
} | {
|
|
6652
|
+
date: string;
|
|
6653
|
+
unit: "ml" | "oz";
|
|
6654
|
+
start: string;
|
|
6655
|
+
end: string;
|
|
6656
|
+
side: "left" | "right";
|
|
6657
|
+
amount: number;
|
|
6658
|
+
} | {
|
|
6659
|
+
date: string;
|
|
6660
|
+
time: string;
|
|
6661
|
+
medicationName: string;
|
|
6662
|
+
} | {
|
|
6663
|
+
date: string;
|
|
6664
|
+
time: string;
|
|
6665
|
+
allergicReaction: boolean;
|
|
6666
|
+
allergicReactionNote?: string | null | undefined;
|
|
6667
|
+
accidentalExposure?: boolean | undefined;
|
|
6668
|
+
accidentalExposureNote?: string | null | undefined;
|
|
6669
|
+
ladderId?: string | null | undefined;
|
|
6670
|
+
ladderStageId?: string | null | undefined;
|
|
6671
|
+
} | null | undefined;
|
|
6672
|
+
breastfeedSession?: {
|
|
6673
|
+
schemaVersion: 1;
|
|
6674
|
+
segments: {
|
|
6675
|
+
start: string;
|
|
6676
|
+
end: string | null;
|
|
6677
|
+
side: "left" | "right";
|
|
6678
|
+
}[];
|
|
6679
|
+
} | null | undefined;
|
|
6680
|
+
}>>>;
|
|
6681
|
+
activeTimers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6682
|
+
id: z.ZodString;
|
|
6683
|
+
familyUserId: z.ZodString;
|
|
6684
|
+
babyId: z.ZodString;
|
|
6685
|
+
babyName: z.ZodNullable<z.ZodString>;
|
|
6686
|
+
activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
|
|
6687
|
+
startedAt: z.ZodString;
|
|
6688
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
6689
|
+
localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6690
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6691
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
6692
|
+
date: z.ZodString;
|
|
6693
|
+
start: z.ZodString;
|
|
6694
|
+
end: z.ZodString;
|
|
6695
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
6696
|
+
}, "strict", z.ZodTypeAny, {
|
|
6697
|
+
date: string;
|
|
6698
|
+
start: string;
|
|
6699
|
+
end: string;
|
|
6700
|
+
side: "left" | "right";
|
|
6701
|
+
}, {
|
|
6702
|
+
date: string;
|
|
6703
|
+
start: string;
|
|
6704
|
+
end: string;
|
|
6705
|
+
side: "left" | "right";
|
|
6706
|
+
}>, z.ZodObject<{
|
|
6707
|
+
date: z.ZodString;
|
|
5546
6708
|
time: z.ZodString;
|
|
5547
6709
|
amount: z.ZodNumber;
|
|
5548
6710
|
unit: z.ZodEnum<["ml", "oz"]>;
|
|
@@ -5659,6 +6821,50 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5659
6821
|
ladderId?: string | null | undefined;
|
|
5660
6822
|
ladderStageId?: string | null | undefined;
|
|
5661
6823
|
}>]>>>;
|
|
6824
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
6825
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
6826
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
6827
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
6828
|
+
start: z.ZodString;
|
|
6829
|
+
end: z.ZodNullable<z.ZodString>;
|
|
6830
|
+
}, "strict", z.ZodTypeAny, {
|
|
6831
|
+
start: string;
|
|
6832
|
+
end: string | null;
|
|
6833
|
+
side: "left" | "right";
|
|
6834
|
+
}, {
|
|
6835
|
+
start: string;
|
|
6836
|
+
end: string | null;
|
|
6837
|
+
side: "left" | "right";
|
|
6838
|
+
}>, "many">;
|
|
6839
|
+
}, "strict", z.ZodTypeAny, {
|
|
6840
|
+
schemaVersion: 1;
|
|
6841
|
+
segments: {
|
|
6842
|
+
start: string;
|
|
6843
|
+
end: string | null;
|
|
6844
|
+
side: "left" | "right";
|
|
6845
|
+
}[];
|
|
6846
|
+
}, {
|
|
6847
|
+
schemaVersion: 1;
|
|
6848
|
+
segments: {
|
|
6849
|
+
start: string;
|
|
6850
|
+
end: string | null;
|
|
6851
|
+
side: "left" | "right";
|
|
6852
|
+
}[];
|
|
6853
|
+
}>, {
|
|
6854
|
+
schemaVersion: 1;
|
|
6855
|
+
segments: {
|
|
6856
|
+
start: string;
|
|
6857
|
+
end: string | null;
|
|
6858
|
+
side: "left" | "right";
|
|
6859
|
+
}[];
|
|
6860
|
+
}, {
|
|
6861
|
+
schemaVersion: 1;
|
|
6862
|
+
segments: {
|
|
6863
|
+
start: string;
|
|
6864
|
+
end: string | null;
|
|
6865
|
+
side: "left" | "right";
|
|
6866
|
+
}[];
|
|
6867
|
+
}>>>;
|
|
5662
6868
|
createdAt: z.ZodString;
|
|
5663
6869
|
updatedAt: z.ZodString;
|
|
5664
6870
|
createdByUserId: z.ZodString;
|
|
@@ -5722,6 +6928,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5722
6928
|
ladderId?: string | null | undefined;
|
|
5723
6929
|
ladderStageId?: string | null | undefined;
|
|
5724
6930
|
} | null | undefined;
|
|
6931
|
+
breastfeedSession?: {
|
|
6932
|
+
schemaVersion: 1;
|
|
6933
|
+
segments: {
|
|
6934
|
+
start: string;
|
|
6935
|
+
end: string | null;
|
|
6936
|
+
side: "left" | "right";
|
|
6937
|
+
}[];
|
|
6938
|
+
} | null | undefined;
|
|
5725
6939
|
}, {
|
|
5726
6940
|
id: string;
|
|
5727
6941
|
createdAt: string;
|
|
@@ -5781,11 +6995,15 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5781
6995
|
ladderId?: string | null | undefined;
|
|
5782
6996
|
ladderStageId?: string | null | undefined;
|
|
5783
6997
|
} | null | undefined;
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
6998
|
+
breastfeedSession?: {
|
|
6999
|
+
schemaVersion: 1;
|
|
7000
|
+
segments: {
|
|
7001
|
+
start: string;
|
|
7002
|
+
end: string | null;
|
|
7003
|
+
side: "left" | "right";
|
|
7004
|
+
}[];
|
|
7005
|
+
} | null | undefined;
|
|
7006
|
+
}>, {
|
|
5789
7007
|
id: string;
|
|
5790
7008
|
createdAt: string;
|
|
5791
7009
|
startedAt: string;
|
|
@@ -5844,9 +7062,15 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5844
7062
|
ladderId?: string | null | undefined;
|
|
5845
7063
|
ladderStageId?: string | null | undefined;
|
|
5846
7064
|
} | null | undefined;
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
7065
|
+
breastfeedSession?: {
|
|
7066
|
+
schemaVersion: 1;
|
|
7067
|
+
segments: {
|
|
7068
|
+
start: string;
|
|
7069
|
+
end: string | null;
|
|
7070
|
+
side: "left" | "right";
|
|
7071
|
+
}[];
|
|
7072
|
+
} | null | undefined;
|
|
7073
|
+
}, {
|
|
5850
7074
|
id: string;
|
|
5851
7075
|
createdAt: string;
|
|
5852
7076
|
startedAt: string;
|
|
@@ -5905,8 +7129,16 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5905
7129
|
ladderId?: string | null | undefined;
|
|
5906
7130
|
ladderStageId?: string | null | undefined;
|
|
5907
7131
|
} | null | undefined;
|
|
5908
|
-
|
|
5909
|
-
|
|
7132
|
+
breastfeedSession?: {
|
|
7133
|
+
schemaVersion: 1;
|
|
7134
|
+
segments: {
|
|
7135
|
+
start: string;
|
|
7136
|
+
end: string | null;
|
|
7137
|
+
side: "left" | "right";
|
|
7138
|
+
}[];
|
|
7139
|
+
} | null | undefined;
|
|
7140
|
+
}>, "many">>;
|
|
7141
|
+
}, "strip", z.ZodTypeAny, {
|
|
5910
7142
|
lastSleepEndedAt: string | null;
|
|
5911
7143
|
totalSleepMinutesToday: number;
|
|
5912
7144
|
activeTimers?: {
|
|
@@ -5968,6 +7200,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
5968
7200
|
ladderId?: string | null | undefined;
|
|
5969
7201
|
ladderStageId?: string | null | undefined;
|
|
5970
7202
|
} | null | undefined;
|
|
7203
|
+
breastfeedSession?: {
|
|
7204
|
+
schemaVersion: 1;
|
|
7205
|
+
segments: {
|
|
7206
|
+
start: string;
|
|
7207
|
+
end: string | null;
|
|
7208
|
+
side: "left" | "right";
|
|
7209
|
+
}[];
|
|
7210
|
+
} | null | undefined;
|
|
5971
7211
|
}[] | undefined;
|
|
5972
7212
|
lastSleepBabyName?: string | null | undefined;
|
|
5973
7213
|
activeTimer?: {
|
|
@@ -6029,103 +7269,16 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6029
7269
|
ladderId?: string | null | undefined;
|
|
6030
7270
|
ladderStageId?: string | null | undefined;
|
|
6031
7271
|
} | null | undefined;
|
|
7272
|
+
breastfeedSession?: {
|
|
7273
|
+
schemaVersion: 1;
|
|
7274
|
+
segments: {
|
|
7275
|
+
start: string;
|
|
7276
|
+
end: string | null;
|
|
7277
|
+
side: "left" | "right";
|
|
7278
|
+
}[];
|
|
7279
|
+
} | null | undefined;
|
|
6032
7280
|
} | null | undefined;
|
|
6033
|
-
}>>;
|
|
6034
|
-
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6035
|
-
id: z.ZodString;
|
|
6036
|
-
code: z.ZodString;
|
|
6037
|
-
affectedFamilyCount: z.ZodNumber;
|
|
6038
|
-
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
6039
|
-
familyUserId: z.ZodString;
|
|
6040
|
-
familyName: z.ZodString;
|
|
6041
|
-
}, "strip", z.ZodTypeAny, {
|
|
6042
|
-
familyUserId: string;
|
|
6043
|
-
familyName: string;
|
|
6044
|
-
}, {
|
|
6045
|
-
familyUserId: string;
|
|
6046
|
-
familyName: string;
|
|
6047
|
-
}>, "many">;
|
|
6048
|
-
}, "strip", z.ZodTypeAny, {
|
|
6049
|
-
code: string;
|
|
6050
|
-
id: string;
|
|
6051
|
-
affectedFamilies: {
|
|
6052
|
-
familyUserId: string;
|
|
6053
|
-
familyName: string;
|
|
6054
|
-
}[];
|
|
6055
|
-
affectedFamilyCount: number;
|
|
6056
7281
|
}, {
|
|
6057
|
-
code: string;
|
|
6058
|
-
id: string;
|
|
6059
|
-
affectedFamilies: {
|
|
6060
|
-
familyUserId: string;
|
|
6061
|
-
familyName: string;
|
|
6062
|
-
}[];
|
|
6063
|
-
affectedFamilyCount: number;
|
|
6064
|
-
}>>>;
|
|
6065
|
-
}, "strip", z.ZodTypeAny, {
|
|
6066
|
-
familyUserId: string;
|
|
6067
|
-
canEditLogs: boolean;
|
|
6068
|
-
premium: {
|
|
6069
|
-
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6070
|
-
active: boolean;
|
|
6071
|
-
expiresAt?: string | null | undefined;
|
|
6072
|
-
organizationId?: string | undefined;
|
|
6073
|
-
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
6074
|
-
entitlementId?: string | undefined;
|
|
6075
|
-
startsAt?: string | null | undefined;
|
|
6076
|
-
supportEndedAt?: string | null | undefined;
|
|
6077
|
-
premiumGraceEndsAt?: string | null | undefined;
|
|
6078
|
-
premiumGraceDaysRemaining?: number | undefined;
|
|
6079
|
-
premiumGraceActive?: boolean | undefined;
|
|
6080
|
-
};
|
|
6081
|
-
babyCount: number;
|
|
6082
|
-
familyName: string;
|
|
6083
|
-
assignedAt: string;
|
|
6084
|
-
unseenLogCount: number;
|
|
6085
|
-
assignmentStatus: "active" | "revoked" | "transferred" | "expired";
|
|
6086
|
-
profileAssetId?: string | null | undefined;
|
|
6087
|
-
timeZone?: string | null | undefined;
|
|
6088
|
-
canManageSupportDates?: boolean | undefined;
|
|
6089
|
-
revokedAt?: string | null | undefined;
|
|
6090
|
-
lastActivityAt?: string | null | undefined;
|
|
6091
|
-
familyEmail?: string | undefined;
|
|
6092
|
-
babyNames?: string[] | undefined;
|
|
6093
|
-
caseOwnerLabel?: string | null | undefined;
|
|
6094
|
-
redeemedAt?: string | null | undefined;
|
|
6095
|
-
accessStartsAt?: string | null | undefined;
|
|
6096
|
-
accessExpiresAt?: string | null | undefined;
|
|
6097
|
-
supportStatus?: "active" | "expired" | "notStarted" | "paused" | undefined;
|
|
6098
|
-
supportPausedAt?: string | null | undefined;
|
|
6099
|
-
latestActivity?: {
|
|
6100
|
-
id: string;
|
|
6101
|
-
createdAt: string;
|
|
6102
|
-
updatedAt: string;
|
|
6103
|
-
familyUserId: string;
|
|
6104
|
-
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
6105
|
-
occurredAt: string;
|
|
6106
|
-
babyId: string;
|
|
6107
|
-
createdByUserId: string;
|
|
6108
|
-
updatedByUserId: string;
|
|
6109
|
-
familyName: string;
|
|
6110
|
-
babyName: string | null;
|
|
6111
|
-
isUnseen: boolean;
|
|
6112
|
-
timeZone?: string | null | undefined;
|
|
6113
|
-
localDate?: string | null | undefined;
|
|
6114
|
-
action?: "created" | "updated" | undefined;
|
|
6115
|
-
summary?: string | undefined;
|
|
6116
|
-
} | null | undefined;
|
|
6117
|
-
unseenActivitySummary?: {
|
|
6118
|
-
familyUserId: string;
|
|
6119
|
-
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
6120
|
-
latestActivityAt: string;
|
|
6121
|
-
summary: string;
|
|
6122
|
-
familyName: string;
|
|
6123
|
-
isUnseen: boolean;
|
|
6124
|
-
activityCount: number;
|
|
6125
|
-
createdCount: number;
|
|
6126
|
-
updatedCount: number;
|
|
6127
|
-
}[] | undefined;
|
|
6128
|
-
sleepSummary?: {
|
|
6129
7282
|
lastSleepEndedAt: string | null;
|
|
6130
7283
|
totalSleepMinutesToday: number;
|
|
6131
7284
|
activeTimers?: {
|
|
@@ -6187,6 +7340,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6187
7340
|
ladderId?: string | null | undefined;
|
|
6188
7341
|
ladderStageId?: string | null | undefined;
|
|
6189
7342
|
} | null | undefined;
|
|
7343
|
+
breastfeedSession?: {
|
|
7344
|
+
schemaVersion: 1;
|
|
7345
|
+
segments: {
|
|
7346
|
+
start: string;
|
|
7347
|
+
end: string | null;
|
|
7348
|
+
side: "left" | "right";
|
|
7349
|
+
}[];
|
|
7350
|
+
} | null | undefined;
|
|
6190
7351
|
}[] | undefined;
|
|
6191
7352
|
lastSleepBabyName?: string | null | undefined;
|
|
6192
7353
|
activeTimer?: {
|
|
@@ -6248,10 +7409,253 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6248
7409
|
ladderId?: string | null | undefined;
|
|
6249
7410
|
ladderStageId?: string | null | undefined;
|
|
6250
7411
|
} | null | undefined;
|
|
7412
|
+
breastfeedSession?: {
|
|
7413
|
+
schemaVersion: 1;
|
|
7414
|
+
segments: {
|
|
7415
|
+
start: string;
|
|
7416
|
+
end: string | null;
|
|
7417
|
+
side: "left" | "right";
|
|
7418
|
+
}[];
|
|
7419
|
+
} | null | undefined;
|
|
6251
7420
|
} | null | undefined;
|
|
6252
|
-
}
|
|
6253
|
-
inviteCodeAccess
|
|
6254
|
-
|
|
7421
|
+
}>>;
|
|
7422
|
+
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7423
|
+
id: z.ZodString;
|
|
7424
|
+
code: z.ZodString;
|
|
7425
|
+
affectedFamilyCount: z.ZodNumber;
|
|
7426
|
+
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
7427
|
+
familyUserId: z.ZodString;
|
|
7428
|
+
familyName: z.ZodString;
|
|
7429
|
+
}, "strip", z.ZodTypeAny, {
|
|
7430
|
+
familyUserId: string;
|
|
7431
|
+
familyName: string;
|
|
7432
|
+
}, {
|
|
7433
|
+
familyUserId: string;
|
|
7434
|
+
familyName: string;
|
|
7435
|
+
}>, "many">;
|
|
7436
|
+
}, "strip", z.ZodTypeAny, {
|
|
7437
|
+
code: string;
|
|
7438
|
+
id: string;
|
|
7439
|
+
affectedFamilies: {
|
|
7440
|
+
familyUserId: string;
|
|
7441
|
+
familyName: string;
|
|
7442
|
+
}[];
|
|
7443
|
+
affectedFamilyCount: number;
|
|
7444
|
+
}, {
|
|
7445
|
+
code: string;
|
|
7446
|
+
id: string;
|
|
7447
|
+
affectedFamilies: {
|
|
7448
|
+
familyUserId: string;
|
|
7449
|
+
familyName: string;
|
|
7450
|
+
}[];
|
|
7451
|
+
affectedFamilyCount: number;
|
|
7452
|
+
}>>>;
|
|
7453
|
+
}, "strip", z.ZodTypeAny, {
|
|
7454
|
+
familyUserId: string;
|
|
7455
|
+
canEditLogs: boolean;
|
|
7456
|
+
premium: {
|
|
7457
|
+
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7458
|
+
active: boolean;
|
|
7459
|
+
expiresAt?: string | null | undefined;
|
|
7460
|
+
organizationId?: string | undefined;
|
|
7461
|
+
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
7462
|
+
entitlementId?: string | undefined;
|
|
7463
|
+
startsAt?: string | null | undefined;
|
|
7464
|
+
supportEndedAt?: string | null | undefined;
|
|
7465
|
+
premiumGraceEndsAt?: string | null | undefined;
|
|
7466
|
+
premiumGraceDaysRemaining?: number | undefined;
|
|
7467
|
+
premiumGraceActive?: boolean | undefined;
|
|
7468
|
+
};
|
|
7469
|
+
babyCount: number;
|
|
7470
|
+
familyName: string;
|
|
7471
|
+
assignedAt: string;
|
|
7472
|
+
unseenLogCount: number;
|
|
7473
|
+
assignmentStatus: "active" | "revoked" | "transferred" | "expired";
|
|
7474
|
+
profileAssetId?: string | null | undefined;
|
|
7475
|
+
timeZone?: string | null | undefined;
|
|
7476
|
+
canManageSupportDates?: boolean | undefined;
|
|
7477
|
+
revokedAt?: string | null | undefined;
|
|
7478
|
+
lastActivityAt?: string | null | undefined;
|
|
7479
|
+
familyEmail?: string | undefined;
|
|
7480
|
+
babyNames?: string[] | undefined;
|
|
7481
|
+
caseOwnerLabel?: string | null | undefined;
|
|
7482
|
+
redeemedAt?: string | null | undefined;
|
|
7483
|
+
accessStartsAt?: string | null | undefined;
|
|
7484
|
+
accessExpiresAt?: string | null | undefined;
|
|
7485
|
+
supportStatus?: "active" | "expired" | "notStarted" | "paused" | undefined;
|
|
7486
|
+
supportPausedAt?: string | null | undefined;
|
|
7487
|
+
latestActivity?: {
|
|
7488
|
+
id: string;
|
|
7489
|
+
createdAt: string;
|
|
7490
|
+
updatedAt: string;
|
|
7491
|
+
familyUserId: string;
|
|
7492
|
+
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
7493
|
+
occurredAt: string;
|
|
7494
|
+
babyId: string;
|
|
7495
|
+
createdByUserId: string;
|
|
7496
|
+
updatedByUserId: string;
|
|
7497
|
+
familyName: string;
|
|
7498
|
+
babyName: string | null;
|
|
7499
|
+
isUnseen: boolean;
|
|
7500
|
+
timeZone?: string | null | undefined;
|
|
7501
|
+
localDate?: string | null | undefined;
|
|
7502
|
+
action?: "created" | "updated" | undefined;
|
|
7503
|
+
summary?: string | undefined;
|
|
7504
|
+
} | null | undefined;
|
|
7505
|
+
unseenActivitySummary?: {
|
|
7506
|
+
familyUserId: string;
|
|
7507
|
+
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
7508
|
+
latestActivityAt: string;
|
|
7509
|
+
summary: string;
|
|
7510
|
+
familyName: string;
|
|
7511
|
+
isUnseen: boolean;
|
|
7512
|
+
activityCount: number;
|
|
7513
|
+
createdCount: number;
|
|
7514
|
+
updatedCount: number;
|
|
7515
|
+
}[] | undefined;
|
|
7516
|
+
sleepSummary?: {
|
|
7517
|
+
lastSleepEndedAt: string | null;
|
|
7518
|
+
totalSleepMinutesToday: number;
|
|
7519
|
+
activeTimers?: {
|
|
7520
|
+
id: string;
|
|
7521
|
+
createdAt: string;
|
|
7522
|
+
startedAt: string;
|
|
7523
|
+
updatedAt: string;
|
|
7524
|
+
familyUserId: string;
|
|
7525
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
7526
|
+
babyId: string;
|
|
7527
|
+
createdByUserId: string;
|
|
7528
|
+
updatedByUserId: string;
|
|
7529
|
+
babyName: string | null;
|
|
7530
|
+
timeZone?: string | null | undefined;
|
|
7531
|
+
localDate?: string | null | undefined;
|
|
7532
|
+
note?: string | null | undefined;
|
|
7533
|
+
details?: {
|
|
7534
|
+
date: string;
|
|
7535
|
+
start: string;
|
|
7536
|
+
end: string;
|
|
7537
|
+
side: "left" | "right";
|
|
7538
|
+
} | {
|
|
7539
|
+
type: "breastmilk" | "formula";
|
|
7540
|
+
date: string;
|
|
7541
|
+
unit: "ml" | "oz";
|
|
7542
|
+
time: string;
|
|
7543
|
+
amount: number;
|
|
7544
|
+
} | {
|
|
7545
|
+
type: "day" | "night";
|
|
7546
|
+
date: string;
|
|
7547
|
+
start: string;
|
|
7548
|
+
end: string;
|
|
7549
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
7550
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
7551
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
7552
|
+
} | {
|
|
7553
|
+
type: ("dirty" | "wet")[];
|
|
7554
|
+
date: string;
|
|
7555
|
+
time: string;
|
|
7556
|
+
imageURL?: string | null | undefined;
|
|
7557
|
+
} | {
|
|
7558
|
+
date: string;
|
|
7559
|
+
unit: "ml" | "oz";
|
|
7560
|
+
start: string;
|
|
7561
|
+
end: string;
|
|
7562
|
+
side: "left" | "right";
|
|
7563
|
+
amount: number;
|
|
7564
|
+
} | {
|
|
7565
|
+
date: string;
|
|
7566
|
+
time: string;
|
|
7567
|
+
medicationName: string;
|
|
7568
|
+
} | {
|
|
7569
|
+
date: string;
|
|
7570
|
+
time: string;
|
|
7571
|
+
allergicReaction: boolean;
|
|
7572
|
+
allergicReactionNote?: string | null | undefined;
|
|
7573
|
+
accidentalExposure?: boolean | undefined;
|
|
7574
|
+
accidentalExposureNote?: string | null | undefined;
|
|
7575
|
+
ladderId?: string | null | undefined;
|
|
7576
|
+
ladderStageId?: string | null | undefined;
|
|
7577
|
+
} | null | undefined;
|
|
7578
|
+
breastfeedSession?: {
|
|
7579
|
+
schemaVersion: 1;
|
|
7580
|
+
segments: {
|
|
7581
|
+
start: string;
|
|
7582
|
+
end: string | null;
|
|
7583
|
+
side: "left" | "right";
|
|
7584
|
+
}[];
|
|
7585
|
+
} | null | undefined;
|
|
7586
|
+
}[] | undefined;
|
|
7587
|
+
lastSleepBabyName?: string | null | undefined;
|
|
7588
|
+
activeTimer?: {
|
|
7589
|
+
id: string;
|
|
7590
|
+
createdAt: string;
|
|
7591
|
+
startedAt: string;
|
|
7592
|
+
updatedAt: string;
|
|
7593
|
+
familyUserId: string;
|
|
7594
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
7595
|
+
babyId: string;
|
|
7596
|
+
createdByUserId: string;
|
|
7597
|
+
updatedByUserId: string;
|
|
7598
|
+
babyName: string | null;
|
|
7599
|
+
timeZone?: string | null | undefined;
|
|
7600
|
+
localDate?: string | null | undefined;
|
|
7601
|
+
note?: string | null | undefined;
|
|
7602
|
+
details?: {
|
|
7603
|
+
date: string;
|
|
7604
|
+
start: string;
|
|
7605
|
+
end: string;
|
|
7606
|
+
side: "left" | "right";
|
|
7607
|
+
} | {
|
|
7608
|
+
type: "breastmilk" | "formula";
|
|
7609
|
+
date: string;
|
|
7610
|
+
unit: "ml" | "oz";
|
|
7611
|
+
time: string;
|
|
7612
|
+
amount: number;
|
|
7613
|
+
} | {
|
|
7614
|
+
type: "day" | "night";
|
|
7615
|
+
date: string;
|
|
7616
|
+
start: string;
|
|
7617
|
+
end: string;
|
|
7618
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
7619
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
7620
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
7621
|
+
} | {
|
|
7622
|
+
type: ("dirty" | "wet")[];
|
|
7623
|
+
date: string;
|
|
7624
|
+
time: string;
|
|
7625
|
+
imageURL?: string | null | undefined;
|
|
7626
|
+
} | {
|
|
7627
|
+
date: string;
|
|
7628
|
+
unit: "ml" | "oz";
|
|
7629
|
+
start: string;
|
|
7630
|
+
end: string;
|
|
7631
|
+
side: "left" | "right";
|
|
7632
|
+
amount: number;
|
|
7633
|
+
} | {
|
|
7634
|
+
date: string;
|
|
7635
|
+
time: string;
|
|
7636
|
+
medicationName: string;
|
|
7637
|
+
} | {
|
|
7638
|
+
date: string;
|
|
7639
|
+
time: string;
|
|
7640
|
+
allergicReaction: boolean;
|
|
7641
|
+
allergicReactionNote?: string | null | undefined;
|
|
7642
|
+
accidentalExposure?: boolean | undefined;
|
|
7643
|
+
accidentalExposureNote?: string | null | undefined;
|
|
7644
|
+
ladderId?: string | null | undefined;
|
|
7645
|
+
ladderStageId?: string | null | undefined;
|
|
7646
|
+
} | null | undefined;
|
|
7647
|
+
breastfeedSession?: {
|
|
7648
|
+
schemaVersion: 1;
|
|
7649
|
+
segments: {
|
|
7650
|
+
start: string;
|
|
7651
|
+
end: string | null;
|
|
7652
|
+
side: "left" | "right";
|
|
7653
|
+
}[];
|
|
7654
|
+
} | null | undefined;
|
|
7655
|
+
} | null | undefined;
|
|
7656
|
+
} | undefined;
|
|
7657
|
+
inviteCodeAccess?: {
|
|
7658
|
+
code: string;
|
|
6255
7659
|
id: string;
|
|
6256
7660
|
affectedFamilies: {
|
|
6257
7661
|
familyUserId: string;
|
|
@@ -6384,6 +7788,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6384
7788
|
ladderId?: string | null | undefined;
|
|
6385
7789
|
ladderStageId?: string | null | undefined;
|
|
6386
7790
|
} | null | undefined;
|
|
7791
|
+
breastfeedSession?: {
|
|
7792
|
+
schemaVersion: 1;
|
|
7793
|
+
segments: {
|
|
7794
|
+
start: string;
|
|
7795
|
+
end: string | null;
|
|
7796
|
+
side: "left" | "right";
|
|
7797
|
+
}[];
|
|
7798
|
+
} | null | undefined;
|
|
6387
7799
|
}[] | undefined;
|
|
6388
7800
|
lastSleepBabyName?: string | null | undefined;
|
|
6389
7801
|
activeTimer?: {
|
|
@@ -6445,6 +7857,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6445
7857
|
ladderId?: string | null | undefined;
|
|
6446
7858
|
ladderStageId?: string | null | undefined;
|
|
6447
7859
|
} | null | undefined;
|
|
7860
|
+
breastfeedSession?: {
|
|
7861
|
+
schemaVersion: 1;
|
|
7862
|
+
segments: {
|
|
7863
|
+
start: string;
|
|
7864
|
+
end: string | null;
|
|
7865
|
+
side: "left" | "right";
|
|
7866
|
+
}[];
|
|
7867
|
+
} | null | undefined;
|
|
6448
7868
|
} | null | undefined;
|
|
6449
7869
|
} | undefined;
|
|
6450
7870
|
inviteCodeAccess?: {
|
|
@@ -6583,6 +8003,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6583
8003
|
ladderId?: string | null | undefined;
|
|
6584
8004
|
ladderStageId?: string | null | undefined;
|
|
6585
8005
|
} | null | undefined;
|
|
8006
|
+
breastfeedSession?: {
|
|
8007
|
+
schemaVersion: 1;
|
|
8008
|
+
segments: {
|
|
8009
|
+
start: string;
|
|
8010
|
+
end: string | null;
|
|
8011
|
+
side: "left" | "right";
|
|
8012
|
+
}[];
|
|
8013
|
+
} | null | undefined;
|
|
6586
8014
|
}[] | undefined;
|
|
6587
8015
|
lastSleepBabyName?: string | null | undefined;
|
|
6588
8016
|
activeTimer?: {
|
|
@@ -6644,6 +8072,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6644
8072
|
ladderId?: string | null | undefined;
|
|
6645
8073
|
ladderStageId?: string | null | undefined;
|
|
6646
8074
|
} | null | undefined;
|
|
8075
|
+
breastfeedSession?: {
|
|
8076
|
+
schemaVersion: 1;
|
|
8077
|
+
segments: {
|
|
8078
|
+
start: string;
|
|
8079
|
+
end: string | null;
|
|
8080
|
+
side: "left" | "right";
|
|
8081
|
+
}[];
|
|
8082
|
+
} | null | undefined;
|
|
6647
8083
|
} | null | undefined;
|
|
6648
8084
|
} | undefined;
|
|
6649
8085
|
inviteCodeAccess?: {
|
|
@@ -6782,6 +8218,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6782
8218
|
ladderId?: string | null | undefined;
|
|
6783
8219
|
ladderStageId?: string | null | undefined;
|
|
6784
8220
|
} | null | undefined;
|
|
8221
|
+
breastfeedSession?: {
|
|
8222
|
+
schemaVersion: 1;
|
|
8223
|
+
segments: {
|
|
8224
|
+
start: string;
|
|
8225
|
+
end: string | null;
|
|
8226
|
+
side: "left" | "right";
|
|
8227
|
+
}[];
|
|
8228
|
+
} | null | undefined;
|
|
6785
8229
|
}[] | undefined;
|
|
6786
8230
|
lastSleepBabyName?: string | null | undefined;
|
|
6787
8231
|
activeTimer?: {
|
|
@@ -6843,6 +8287,14 @@ export declare const coachRestoreFamilyAccessResponseSchema: z.ZodObject<{
|
|
|
6843
8287
|
ladderId?: string | null | undefined;
|
|
6844
8288
|
ladderStageId?: string | null | undefined;
|
|
6845
8289
|
} | null | undefined;
|
|
8290
|
+
breastfeedSession?: {
|
|
8291
|
+
schemaVersion: 1;
|
|
8292
|
+
segments: {
|
|
8293
|
+
start: string;
|
|
8294
|
+
end: string | null;
|
|
8295
|
+
side: "left" | "right";
|
|
8296
|
+
}[];
|
|
8297
|
+
} | null | undefined;
|
|
6846
8298
|
} | null | undefined;
|
|
6847
8299
|
} | undefined;
|
|
6848
8300
|
inviteCodeAccess?: {
|
|
@@ -7018,7 +8470,7 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7018
8470
|
lastSleepEndedAt: z.ZodNullable<z.ZodString>;
|
|
7019
8471
|
lastSleepBabyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7020
8472
|
totalSleepMinutesToday: z.ZodNumber;
|
|
7021
|
-
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8473
|
+
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
7022
8474
|
id: z.ZodString;
|
|
7023
8475
|
familyUserId: z.ZodString;
|
|
7024
8476
|
babyId: z.ZodString;
|
|
@@ -7161,6 +8613,50 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7161
8613
|
ladderId?: string | null | undefined;
|
|
7162
8614
|
ladderStageId?: string | null | undefined;
|
|
7163
8615
|
}>]>>>;
|
|
8616
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
8617
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
8618
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
8619
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
8620
|
+
start: z.ZodString;
|
|
8621
|
+
end: z.ZodNullable<z.ZodString>;
|
|
8622
|
+
}, "strict", z.ZodTypeAny, {
|
|
8623
|
+
start: string;
|
|
8624
|
+
end: string | null;
|
|
8625
|
+
side: "left" | "right";
|
|
8626
|
+
}, {
|
|
8627
|
+
start: string;
|
|
8628
|
+
end: string | null;
|
|
8629
|
+
side: "left" | "right";
|
|
8630
|
+
}>, "many">;
|
|
8631
|
+
}, "strict", z.ZodTypeAny, {
|
|
8632
|
+
schemaVersion: 1;
|
|
8633
|
+
segments: {
|
|
8634
|
+
start: string;
|
|
8635
|
+
end: string | null;
|
|
8636
|
+
side: "left" | "right";
|
|
8637
|
+
}[];
|
|
8638
|
+
}, {
|
|
8639
|
+
schemaVersion: 1;
|
|
8640
|
+
segments: {
|
|
8641
|
+
start: string;
|
|
8642
|
+
end: string | null;
|
|
8643
|
+
side: "left" | "right";
|
|
8644
|
+
}[];
|
|
8645
|
+
}>, {
|
|
8646
|
+
schemaVersion: 1;
|
|
8647
|
+
segments: {
|
|
8648
|
+
start: string;
|
|
8649
|
+
end: string | null;
|
|
8650
|
+
side: "left" | "right";
|
|
8651
|
+
}[];
|
|
8652
|
+
}, {
|
|
8653
|
+
schemaVersion: 1;
|
|
8654
|
+
segments: {
|
|
8655
|
+
start: string;
|
|
8656
|
+
end: string | null;
|
|
8657
|
+
side: "left" | "right";
|
|
8658
|
+
}[];
|
|
8659
|
+
}>>>;
|
|
7164
8660
|
createdAt: z.ZodString;
|
|
7165
8661
|
updatedAt: z.ZodString;
|
|
7166
8662
|
createdByUserId: z.ZodString;
|
|
@@ -7224,6 +8720,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7224
8720
|
ladderId?: string | null | undefined;
|
|
7225
8721
|
ladderStageId?: string | null | undefined;
|
|
7226
8722
|
} | null | undefined;
|
|
8723
|
+
breastfeedSession?: {
|
|
8724
|
+
schemaVersion: 1;
|
|
8725
|
+
segments: {
|
|
8726
|
+
start: string;
|
|
8727
|
+
end: string | null;
|
|
8728
|
+
side: "left" | "right";
|
|
8729
|
+
}[];
|
|
8730
|
+
} | null | undefined;
|
|
7227
8731
|
}, {
|
|
7228
8732
|
id: string;
|
|
7229
8733
|
createdAt: string;
|
|
@@ -7283,13 +8787,155 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7283
8787
|
ladderId?: string | null | undefined;
|
|
7284
8788
|
ladderStageId?: string | null | undefined;
|
|
7285
8789
|
} | null | undefined;
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
8790
|
+
breastfeedSession?: {
|
|
8791
|
+
schemaVersion: 1;
|
|
8792
|
+
segments: {
|
|
8793
|
+
start: string;
|
|
8794
|
+
end: string | null;
|
|
8795
|
+
side: "left" | "right";
|
|
8796
|
+
}[];
|
|
8797
|
+
} | null | undefined;
|
|
8798
|
+
}>, {
|
|
8799
|
+
id: string;
|
|
8800
|
+
createdAt: string;
|
|
8801
|
+
startedAt: string;
|
|
8802
|
+
updatedAt: string;
|
|
8803
|
+
familyUserId: string;
|
|
8804
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
8805
|
+
babyId: string;
|
|
8806
|
+
createdByUserId: string;
|
|
8807
|
+
updatedByUserId: string;
|
|
8808
|
+
babyName: string | null;
|
|
8809
|
+
timeZone?: string | null | undefined;
|
|
8810
|
+
localDate?: string | null | undefined;
|
|
8811
|
+
note?: string | null | undefined;
|
|
8812
|
+
details?: {
|
|
8813
|
+
date: string;
|
|
8814
|
+
start: string;
|
|
8815
|
+
end: string;
|
|
8816
|
+
side: "left" | "right";
|
|
8817
|
+
} | {
|
|
8818
|
+
type: "breastmilk" | "formula";
|
|
8819
|
+
date: string;
|
|
8820
|
+
unit: "ml" | "oz";
|
|
8821
|
+
time: string;
|
|
8822
|
+
amount: number;
|
|
8823
|
+
} | {
|
|
8824
|
+
type: "day" | "night";
|
|
8825
|
+
date: string;
|
|
8826
|
+
start: string;
|
|
8827
|
+
end: string;
|
|
8828
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
8829
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
8830
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
8831
|
+
} | {
|
|
8832
|
+
type: ("dirty" | "wet")[];
|
|
8833
|
+
date: string;
|
|
8834
|
+
time: string;
|
|
8835
|
+
imageURL?: string | null | undefined;
|
|
8836
|
+
} | {
|
|
8837
|
+
date: string;
|
|
8838
|
+
unit: "ml" | "oz";
|
|
8839
|
+
start: string;
|
|
8840
|
+
end: string;
|
|
8841
|
+
side: "left" | "right";
|
|
8842
|
+
amount: number;
|
|
8843
|
+
} | {
|
|
8844
|
+
date: string;
|
|
8845
|
+
time: string;
|
|
8846
|
+
medicationName: string;
|
|
8847
|
+
} | {
|
|
8848
|
+
date: string;
|
|
8849
|
+
time: string;
|
|
8850
|
+
allergicReaction: boolean;
|
|
8851
|
+
allergicReactionNote?: string | null | undefined;
|
|
8852
|
+
accidentalExposure?: boolean | undefined;
|
|
8853
|
+
accidentalExposureNote?: string | null | undefined;
|
|
8854
|
+
ladderId?: string | null | undefined;
|
|
8855
|
+
ladderStageId?: string | null | undefined;
|
|
8856
|
+
} | null | undefined;
|
|
8857
|
+
breastfeedSession?: {
|
|
8858
|
+
schemaVersion: 1;
|
|
8859
|
+
segments: {
|
|
8860
|
+
start: string;
|
|
8861
|
+
end: string | null;
|
|
8862
|
+
side: "left" | "right";
|
|
8863
|
+
}[];
|
|
8864
|
+
} | null | undefined;
|
|
8865
|
+
}, {
|
|
8866
|
+
id: string;
|
|
8867
|
+
createdAt: string;
|
|
8868
|
+
startedAt: string;
|
|
8869
|
+
updatedAt: string;
|
|
8870
|
+
familyUserId: string;
|
|
8871
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
8872
|
+
babyId: string;
|
|
8873
|
+
createdByUserId: string;
|
|
8874
|
+
updatedByUserId: string;
|
|
8875
|
+
babyName: string | null;
|
|
8876
|
+
timeZone?: string | null | undefined;
|
|
8877
|
+
localDate?: string | null | undefined;
|
|
8878
|
+
note?: string | null | undefined;
|
|
8879
|
+
details?: {
|
|
8880
|
+
date: string;
|
|
8881
|
+
start: string;
|
|
8882
|
+
end: string;
|
|
8883
|
+
side: "left" | "right";
|
|
8884
|
+
} | {
|
|
8885
|
+
type: "breastmilk" | "formula";
|
|
8886
|
+
date: string;
|
|
8887
|
+
unit: "ml" | "oz";
|
|
8888
|
+
time: string;
|
|
8889
|
+
amount: number;
|
|
8890
|
+
} | {
|
|
8891
|
+
type: "day" | "night";
|
|
8892
|
+
date: string;
|
|
8893
|
+
start: string;
|
|
8894
|
+
end: string;
|
|
8895
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
8896
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
8897
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
8898
|
+
} | {
|
|
8899
|
+
type: ("dirty" | "wet")[];
|
|
8900
|
+
date: string;
|
|
8901
|
+
time: string;
|
|
8902
|
+
imageURL?: string | null | undefined;
|
|
8903
|
+
} | {
|
|
8904
|
+
date: string;
|
|
8905
|
+
unit: "ml" | "oz";
|
|
8906
|
+
start: string;
|
|
8907
|
+
end: string;
|
|
8908
|
+
side: "left" | "right";
|
|
8909
|
+
amount: number;
|
|
8910
|
+
} | {
|
|
8911
|
+
date: string;
|
|
8912
|
+
time: string;
|
|
8913
|
+
medicationName: string;
|
|
8914
|
+
} | {
|
|
8915
|
+
date: string;
|
|
8916
|
+
time: string;
|
|
8917
|
+
allergicReaction: boolean;
|
|
8918
|
+
allergicReactionNote?: string | null | undefined;
|
|
8919
|
+
accidentalExposure?: boolean | undefined;
|
|
8920
|
+
accidentalExposureNote?: string | null | undefined;
|
|
8921
|
+
ladderId?: string | null | undefined;
|
|
8922
|
+
ladderStageId?: string | null | undefined;
|
|
8923
|
+
} | null | undefined;
|
|
8924
|
+
breastfeedSession?: {
|
|
8925
|
+
schemaVersion: 1;
|
|
8926
|
+
segments: {
|
|
8927
|
+
start: string;
|
|
8928
|
+
end: string | null;
|
|
8929
|
+
side: "left" | "right";
|
|
8930
|
+
}[];
|
|
8931
|
+
} | null | undefined;
|
|
8932
|
+
}>>>;
|
|
8933
|
+
activeTimers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
8934
|
+
id: z.ZodString;
|
|
8935
|
+
familyUserId: z.ZodString;
|
|
8936
|
+
babyId: z.ZodString;
|
|
8937
|
+
babyName: z.ZodNullable<z.ZodString>;
|
|
8938
|
+
activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
|
|
7293
8939
|
startedAt: z.ZodString;
|
|
7294
8940
|
timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
7295
8941
|
localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7427,6 +9073,50 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7427
9073
|
ladderId?: string | null | undefined;
|
|
7428
9074
|
ladderStageId?: string | null | undefined;
|
|
7429
9075
|
}>]>>>;
|
|
9076
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
9077
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
9078
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
9079
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
9080
|
+
start: z.ZodString;
|
|
9081
|
+
end: z.ZodNullable<z.ZodString>;
|
|
9082
|
+
}, "strict", z.ZodTypeAny, {
|
|
9083
|
+
start: string;
|
|
9084
|
+
end: string | null;
|
|
9085
|
+
side: "left" | "right";
|
|
9086
|
+
}, {
|
|
9087
|
+
start: string;
|
|
9088
|
+
end: string | null;
|
|
9089
|
+
side: "left" | "right";
|
|
9090
|
+
}>, "many">;
|
|
9091
|
+
}, "strict", z.ZodTypeAny, {
|
|
9092
|
+
schemaVersion: 1;
|
|
9093
|
+
segments: {
|
|
9094
|
+
start: string;
|
|
9095
|
+
end: string | null;
|
|
9096
|
+
side: "left" | "right";
|
|
9097
|
+
}[];
|
|
9098
|
+
}, {
|
|
9099
|
+
schemaVersion: 1;
|
|
9100
|
+
segments: {
|
|
9101
|
+
start: string;
|
|
9102
|
+
end: string | null;
|
|
9103
|
+
side: "left" | "right";
|
|
9104
|
+
}[];
|
|
9105
|
+
}>, {
|
|
9106
|
+
schemaVersion: 1;
|
|
9107
|
+
segments: {
|
|
9108
|
+
start: string;
|
|
9109
|
+
end: string | null;
|
|
9110
|
+
side: "left" | "right";
|
|
9111
|
+
}[];
|
|
9112
|
+
}, {
|
|
9113
|
+
schemaVersion: 1;
|
|
9114
|
+
segments: {
|
|
9115
|
+
start: string;
|
|
9116
|
+
end: string | null;
|
|
9117
|
+
side: "left" | "right";
|
|
9118
|
+
}[];
|
|
9119
|
+
}>>>;
|
|
7430
9120
|
createdAt: z.ZodString;
|
|
7431
9121
|
updatedAt: z.ZodString;
|
|
7432
9122
|
createdByUserId: z.ZodString;
|
|
@@ -7490,6 +9180,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7490
9180
|
ladderId?: string | null | undefined;
|
|
7491
9181
|
ladderStageId?: string | null | undefined;
|
|
7492
9182
|
} | null | undefined;
|
|
9183
|
+
breastfeedSession?: {
|
|
9184
|
+
schemaVersion: 1;
|
|
9185
|
+
segments: {
|
|
9186
|
+
start: string;
|
|
9187
|
+
end: string | null;
|
|
9188
|
+
side: "left" | "right";
|
|
9189
|
+
}[];
|
|
9190
|
+
} | null | undefined;
|
|
7493
9191
|
}, {
|
|
7494
9192
|
id: string;
|
|
7495
9193
|
createdAt: string;
|
|
@@ -7549,11 +9247,15 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7549
9247
|
ladderId?: string | null | undefined;
|
|
7550
9248
|
ladderStageId?: string | null | undefined;
|
|
7551
9249
|
} | null | undefined;
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
9250
|
+
breastfeedSession?: {
|
|
9251
|
+
schemaVersion: 1;
|
|
9252
|
+
segments: {
|
|
9253
|
+
start: string;
|
|
9254
|
+
end: string | null;
|
|
9255
|
+
side: "left" | "right";
|
|
9256
|
+
}[];
|
|
9257
|
+
} | null | undefined;
|
|
9258
|
+
}>, {
|
|
7557
9259
|
id: string;
|
|
7558
9260
|
createdAt: string;
|
|
7559
9261
|
startedAt: string;
|
|
@@ -7612,9 +9314,15 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7612
9314
|
ladderId?: string | null | undefined;
|
|
7613
9315
|
ladderStageId?: string | null | undefined;
|
|
7614
9316
|
} | null | undefined;
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
9317
|
+
breastfeedSession?: {
|
|
9318
|
+
schemaVersion: 1;
|
|
9319
|
+
segments: {
|
|
9320
|
+
start: string;
|
|
9321
|
+
end: string | null;
|
|
9322
|
+
side: "left" | "right";
|
|
9323
|
+
}[];
|
|
9324
|
+
} | null | undefined;
|
|
9325
|
+
}, {
|
|
7618
9326
|
id: string;
|
|
7619
9327
|
createdAt: string;
|
|
7620
9328
|
startedAt: string;
|
|
@@ -7673,8 +9381,16 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7673
9381
|
ladderId?: string | null | undefined;
|
|
7674
9382
|
ladderStageId?: string | null | undefined;
|
|
7675
9383
|
} | null | undefined;
|
|
7676
|
-
|
|
7677
|
-
|
|
9384
|
+
breastfeedSession?: {
|
|
9385
|
+
schemaVersion: 1;
|
|
9386
|
+
segments: {
|
|
9387
|
+
start: string;
|
|
9388
|
+
end: string | null;
|
|
9389
|
+
side: "left" | "right";
|
|
9390
|
+
}[];
|
|
9391
|
+
} | null | undefined;
|
|
9392
|
+
}>, "many">>;
|
|
9393
|
+
}, "strip", z.ZodTypeAny, {
|
|
7678
9394
|
lastSleepEndedAt: string | null;
|
|
7679
9395
|
totalSleepMinutesToday: number;
|
|
7680
9396
|
activeTimers?: {
|
|
@@ -7736,6 +9452,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7736
9452
|
ladderId?: string | null | undefined;
|
|
7737
9453
|
ladderStageId?: string | null | undefined;
|
|
7738
9454
|
} | null | undefined;
|
|
9455
|
+
breastfeedSession?: {
|
|
9456
|
+
schemaVersion: 1;
|
|
9457
|
+
segments: {
|
|
9458
|
+
start: string;
|
|
9459
|
+
end: string | null;
|
|
9460
|
+
side: "left" | "right";
|
|
9461
|
+
}[];
|
|
9462
|
+
} | null | undefined;
|
|
7739
9463
|
}[] | undefined;
|
|
7740
9464
|
lastSleepBabyName?: string | null | undefined;
|
|
7741
9465
|
activeTimer?: {
|
|
@@ -7797,94 +9521,242 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7797
9521
|
ladderId?: string | null | undefined;
|
|
7798
9522
|
ladderStageId?: string | null | undefined;
|
|
7799
9523
|
} | null | undefined;
|
|
9524
|
+
breastfeedSession?: {
|
|
9525
|
+
schemaVersion: 1;
|
|
9526
|
+
segments: {
|
|
9527
|
+
start: string;
|
|
9528
|
+
end: string | null;
|
|
9529
|
+
side: "left" | "right";
|
|
9530
|
+
}[];
|
|
9531
|
+
} | null | undefined;
|
|
7800
9532
|
} | null | undefined;
|
|
7801
|
-
}>>;
|
|
7802
|
-
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7803
|
-
id: z.ZodString;
|
|
7804
|
-
code: z.ZodString;
|
|
7805
|
-
affectedFamilyCount: z.ZodNumber;
|
|
7806
|
-
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
7807
|
-
familyUserId: z.ZodString;
|
|
7808
|
-
familyName: z.ZodString;
|
|
7809
|
-
}, "strip", z.ZodTypeAny, {
|
|
7810
|
-
familyUserId: string;
|
|
7811
|
-
familyName: string;
|
|
7812
|
-
}, {
|
|
7813
|
-
familyUserId: string;
|
|
7814
|
-
familyName: string;
|
|
7815
|
-
}>, "many">;
|
|
7816
|
-
}, "strip", z.ZodTypeAny, {
|
|
7817
|
-
code: string;
|
|
7818
|
-
id: string;
|
|
7819
|
-
affectedFamilies: {
|
|
7820
|
-
familyUserId: string;
|
|
7821
|
-
familyName: string;
|
|
7822
|
-
}[];
|
|
7823
|
-
affectedFamilyCount: number;
|
|
7824
9533
|
}, {
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
9534
|
+
lastSleepEndedAt: string | null;
|
|
9535
|
+
totalSleepMinutesToday: number;
|
|
9536
|
+
activeTimers?: {
|
|
9537
|
+
id: string;
|
|
9538
|
+
createdAt: string;
|
|
9539
|
+
startedAt: string;
|
|
9540
|
+
updatedAt: string;
|
|
7828
9541
|
familyUserId: string;
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
9542
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
9543
|
+
babyId: string;
|
|
9544
|
+
createdByUserId: string;
|
|
9545
|
+
updatedByUserId: string;
|
|
9546
|
+
babyName: string | null;
|
|
9547
|
+
timeZone?: string | null | undefined;
|
|
9548
|
+
localDate?: string | null | undefined;
|
|
9549
|
+
note?: string | null | undefined;
|
|
9550
|
+
details?: {
|
|
9551
|
+
date: string;
|
|
9552
|
+
start: string;
|
|
9553
|
+
end: string;
|
|
9554
|
+
side: "left" | "right";
|
|
9555
|
+
} | {
|
|
9556
|
+
type: "breastmilk" | "formula";
|
|
9557
|
+
date: string;
|
|
9558
|
+
unit: "ml" | "oz";
|
|
9559
|
+
time: string;
|
|
9560
|
+
amount: number;
|
|
9561
|
+
} | {
|
|
9562
|
+
type: "day" | "night";
|
|
9563
|
+
date: string;
|
|
9564
|
+
start: string;
|
|
9565
|
+
end: string;
|
|
9566
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
9567
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
9568
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
9569
|
+
} | {
|
|
9570
|
+
type: ("dirty" | "wet")[];
|
|
9571
|
+
date: string;
|
|
9572
|
+
time: string;
|
|
9573
|
+
imageURL?: string | null | undefined;
|
|
9574
|
+
} | {
|
|
9575
|
+
date: string;
|
|
9576
|
+
unit: "ml" | "oz";
|
|
9577
|
+
start: string;
|
|
9578
|
+
end: string;
|
|
9579
|
+
side: "left" | "right";
|
|
9580
|
+
amount: number;
|
|
9581
|
+
} | {
|
|
9582
|
+
date: string;
|
|
9583
|
+
time: string;
|
|
9584
|
+
medicationName: string;
|
|
9585
|
+
} | {
|
|
9586
|
+
date: string;
|
|
9587
|
+
time: string;
|
|
9588
|
+
allergicReaction: boolean;
|
|
9589
|
+
allergicReactionNote?: string | null | undefined;
|
|
9590
|
+
accidentalExposure?: boolean | undefined;
|
|
9591
|
+
accidentalExposureNote?: string | null | undefined;
|
|
9592
|
+
ladderId?: string | null | undefined;
|
|
9593
|
+
ladderStageId?: string | null | undefined;
|
|
9594
|
+
} | null | undefined;
|
|
9595
|
+
breastfeedSession?: {
|
|
9596
|
+
schemaVersion: 1;
|
|
9597
|
+
segments: {
|
|
9598
|
+
start: string;
|
|
9599
|
+
end: string | null;
|
|
9600
|
+
side: "left" | "right";
|
|
9601
|
+
}[];
|
|
9602
|
+
} | null | undefined;
|
|
9603
|
+
}[] | undefined;
|
|
9604
|
+
lastSleepBabyName?: string | null | undefined;
|
|
9605
|
+
activeTimer?: {
|
|
9606
|
+
id: string;
|
|
9607
|
+
createdAt: string;
|
|
9608
|
+
startedAt: string;
|
|
9609
|
+
updatedAt: string;
|
|
9610
|
+
familyUserId: string;
|
|
9611
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
9612
|
+
babyId: string;
|
|
9613
|
+
createdByUserId: string;
|
|
9614
|
+
updatedByUserId: string;
|
|
9615
|
+
babyName: string | null;
|
|
9616
|
+
timeZone?: string | null | undefined;
|
|
9617
|
+
localDate?: string | null | undefined;
|
|
9618
|
+
note?: string | null | undefined;
|
|
9619
|
+
details?: {
|
|
9620
|
+
date: string;
|
|
9621
|
+
start: string;
|
|
9622
|
+
end: string;
|
|
9623
|
+
side: "left" | "right";
|
|
9624
|
+
} | {
|
|
9625
|
+
type: "breastmilk" | "formula";
|
|
9626
|
+
date: string;
|
|
9627
|
+
unit: "ml" | "oz";
|
|
9628
|
+
time: string;
|
|
9629
|
+
amount: number;
|
|
9630
|
+
} | {
|
|
9631
|
+
type: "day" | "night";
|
|
9632
|
+
date: string;
|
|
9633
|
+
start: string;
|
|
9634
|
+
end: string;
|
|
9635
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
9636
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
9637
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
9638
|
+
} | {
|
|
9639
|
+
type: ("dirty" | "wet")[];
|
|
9640
|
+
date: string;
|
|
9641
|
+
time: string;
|
|
9642
|
+
imageURL?: string | null | undefined;
|
|
9643
|
+
} | {
|
|
9644
|
+
date: string;
|
|
9645
|
+
unit: "ml" | "oz";
|
|
9646
|
+
start: string;
|
|
9647
|
+
end: string;
|
|
9648
|
+
side: "left" | "right";
|
|
9649
|
+
amount: number;
|
|
9650
|
+
} | {
|
|
9651
|
+
date: string;
|
|
9652
|
+
time: string;
|
|
9653
|
+
medicationName: string;
|
|
9654
|
+
} | {
|
|
9655
|
+
date: string;
|
|
9656
|
+
time: string;
|
|
9657
|
+
allergicReaction: boolean;
|
|
9658
|
+
allergicReactionNote?: string | null | undefined;
|
|
9659
|
+
accidentalExposure?: boolean | undefined;
|
|
9660
|
+
accidentalExposureNote?: string | null | undefined;
|
|
9661
|
+
ladderId?: string | null | undefined;
|
|
9662
|
+
ladderStageId?: string | null | undefined;
|
|
9663
|
+
} | null | undefined;
|
|
9664
|
+
breastfeedSession?: {
|
|
9665
|
+
schemaVersion: 1;
|
|
9666
|
+
segments: {
|
|
9667
|
+
start: string;
|
|
9668
|
+
end: string | null;
|
|
9669
|
+
side: "left" | "right";
|
|
9670
|
+
}[];
|
|
9671
|
+
} | null | undefined;
|
|
9672
|
+
} | null | undefined;
|
|
9673
|
+
}>>;
|
|
9674
|
+
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9675
|
+
id: z.ZodString;
|
|
9676
|
+
code: z.ZodString;
|
|
9677
|
+
affectedFamilyCount: z.ZodNumber;
|
|
9678
|
+
affectedFamilies: z.ZodArray<z.ZodObject<{
|
|
9679
|
+
familyUserId: z.ZodString;
|
|
9680
|
+
familyName: z.ZodString;
|
|
9681
|
+
}, "strip", z.ZodTypeAny, {
|
|
9682
|
+
familyUserId: string;
|
|
9683
|
+
familyName: string;
|
|
9684
|
+
}, {
|
|
9685
|
+
familyUserId: string;
|
|
9686
|
+
familyName: string;
|
|
9687
|
+
}>, "many">;
|
|
9688
|
+
}, "strip", z.ZodTypeAny, {
|
|
9689
|
+
code: string;
|
|
9690
|
+
id: string;
|
|
9691
|
+
affectedFamilies: {
|
|
9692
|
+
familyUserId: string;
|
|
9693
|
+
familyName: string;
|
|
9694
|
+
}[];
|
|
9695
|
+
affectedFamilyCount: number;
|
|
9696
|
+
}, {
|
|
9697
|
+
code: string;
|
|
9698
|
+
id: string;
|
|
9699
|
+
affectedFamilies: {
|
|
9700
|
+
familyUserId: string;
|
|
9701
|
+
familyName: string;
|
|
9702
|
+
}[];
|
|
9703
|
+
affectedFamilyCount: number;
|
|
9704
|
+
}>>>;
|
|
9705
|
+
}, "strip", z.ZodTypeAny, {
|
|
9706
|
+
familyUserId: string;
|
|
9707
|
+
canEditLogs: boolean;
|
|
9708
|
+
premium: {
|
|
9709
|
+
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9710
|
+
active: boolean;
|
|
9711
|
+
expiresAt?: string | null | undefined;
|
|
9712
|
+
organizationId?: string | undefined;
|
|
9713
|
+
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
9714
|
+
entitlementId?: string | undefined;
|
|
9715
|
+
startsAt?: string | null | undefined;
|
|
9716
|
+
supportEndedAt?: string | null | undefined;
|
|
9717
|
+
premiumGraceEndsAt?: string | null | undefined;
|
|
9718
|
+
premiumGraceDaysRemaining?: number | undefined;
|
|
9719
|
+
premiumGraceActive?: boolean | undefined;
|
|
9720
|
+
};
|
|
9721
|
+
babyCount: number;
|
|
9722
|
+
familyName: string;
|
|
9723
|
+
assignedAt: string;
|
|
9724
|
+
unseenLogCount: number;
|
|
9725
|
+
assignmentStatus: "active" | "revoked" | "transferred" | "expired";
|
|
9726
|
+
profileAssetId?: string | null | undefined;
|
|
9727
|
+
timeZone?: string | null | undefined;
|
|
9728
|
+
canManageSupportDates?: boolean | undefined;
|
|
9729
|
+
revokedAt?: string | null | undefined;
|
|
9730
|
+
lastActivityAt?: string | null | undefined;
|
|
9731
|
+
familyEmail?: string | undefined;
|
|
9732
|
+
babyNames?: string[] | undefined;
|
|
9733
|
+
caseOwnerLabel?: string | null | undefined;
|
|
9734
|
+
redeemedAt?: string | null | undefined;
|
|
9735
|
+
accessStartsAt?: string | null | undefined;
|
|
9736
|
+
accessExpiresAt?: string | null | undefined;
|
|
9737
|
+
supportStatus?: "active" | "expired" | "notStarted" | "paused" | undefined;
|
|
9738
|
+
supportPausedAt?: string | null | undefined;
|
|
9739
|
+
latestActivity?: {
|
|
9740
|
+
id: string;
|
|
9741
|
+
createdAt: string;
|
|
9742
|
+
updatedAt: string;
|
|
9743
|
+
familyUserId: string;
|
|
9744
|
+
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
9745
|
+
occurredAt: string;
|
|
9746
|
+
babyId: string;
|
|
9747
|
+
createdByUserId: string;
|
|
9748
|
+
updatedByUserId: string;
|
|
9749
|
+
familyName: string;
|
|
9750
|
+
babyName: string | null;
|
|
9751
|
+
isUnseen: boolean;
|
|
9752
|
+
timeZone?: string | null | undefined;
|
|
9753
|
+
localDate?: string | null | undefined;
|
|
9754
|
+
action?: "created" | "updated" | undefined;
|
|
9755
|
+
summary?: string | undefined;
|
|
9756
|
+
} | null | undefined;
|
|
9757
|
+
unseenActivitySummary?: {
|
|
9758
|
+
familyUserId: string;
|
|
9759
|
+
activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
|
|
7888
9760
|
latestActivityAt: string;
|
|
7889
9761
|
summary: string;
|
|
7890
9762
|
familyName: string;
|
|
@@ -7955,6 +9827,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
7955
9827
|
ladderId?: string | null | undefined;
|
|
7956
9828
|
ladderStageId?: string | null | undefined;
|
|
7957
9829
|
} | null | undefined;
|
|
9830
|
+
breastfeedSession?: {
|
|
9831
|
+
schemaVersion: 1;
|
|
9832
|
+
segments: {
|
|
9833
|
+
start: string;
|
|
9834
|
+
end: string | null;
|
|
9835
|
+
side: "left" | "right";
|
|
9836
|
+
}[];
|
|
9837
|
+
} | null | undefined;
|
|
7958
9838
|
}[] | undefined;
|
|
7959
9839
|
lastSleepBabyName?: string | null | undefined;
|
|
7960
9840
|
activeTimer?: {
|
|
@@ -8016,6 +9896,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8016
9896
|
ladderId?: string | null | undefined;
|
|
8017
9897
|
ladderStageId?: string | null | undefined;
|
|
8018
9898
|
} | null | undefined;
|
|
9899
|
+
breastfeedSession?: {
|
|
9900
|
+
schemaVersion: 1;
|
|
9901
|
+
segments: {
|
|
9902
|
+
start: string;
|
|
9903
|
+
end: string | null;
|
|
9904
|
+
side: "left" | "right";
|
|
9905
|
+
}[];
|
|
9906
|
+
} | null | undefined;
|
|
8019
9907
|
} | null | undefined;
|
|
8020
9908
|
} | undefined;
|
|
8021
9909
|
inviteCodeAccess?: {
|
|
@@ -8152,6 +10040,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8152
10040
|
ladderId?: string | null | undefined;
|
|
8153
10041
|
ladderStageId?: string | null | undefined;
|
|
8154
10042
|
} | null | undefined;
|
|
10043
|
+
breastfeedSession?: {
|
|
10044
|
+
schemaVersion: 1;
|
|
10045
|
+
segments: {
|
|
10046
|
+
start: string;
|
|
10047
|
+
end: string | null;
|
|
10048
|
+
side: "left" | "right";
|
|
10049
|
+
}[];
|
|
10050
|
+
} | null | undefined;
|
|
8155
10051
|
}[] | undefined;
|
|
8156
10052
|
lastSleepBabyName?: string | null | undefined;
|
|
8157
10053
|
activeTimer?: {
|
|
@@ -8213,6 +10109,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8213
10109
|
ladderId?: string | null | undefined;
|
|
8214
10110
|
ladderStageId?: string | null | undefined;
|
|
8215
10111
|
} | null | undefined;
|
|
10112
|
+
breastfeedSession?: {
|
|
10113
|
+
schemaVersion: 1;
|
|
10114
|
+
segments: {
|
|
10115
|
+
start: string;
|
|
10116
|
+
end: string | null;
|
|
10117
|
+
side: "left" | "right";
|
|
10118
|
+
}[];
|
|
10119
|
+
} | null | undefined;
|
|
8216
10120
|
} | null | undefined;
|
|
8217
10121
|
} | undefined;
|
|
8218
10122
|
inviteCodeAccess?: {
|
|
@@ -8351,6 +10255,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8351
10255
|
ladderId?: string | null | undefined;
|
|
8352
10256
|
ladderStageId?: string | null | undefined;
|
|
8353
10257
|
} | null | undefined;
|
|
10258
|
+
breastfeedSession?: {
|
|
10259
|
+
schemaVersion: 1;
|
|
10260
|
+
segments: {
|
|
10261
|
+
start: string;
|
|
10262
|
+
end: string | null;
|
|
10263
|
+
side: "left" | "right";
|
|
10264
|
+
}[];
|
|
10265
|
+
} | null | undefined;
|
|
8354
10266
|
}[] | undefined;
|
|
8355
10267
|
lastSleepBabyName?: string | null | undefined;
|
|
8356
10268
|
activeTimer?: {
|
|
@@ -8412,6 +10324,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8412
10324
|
ladderId?: string | null | undefined;
|
|
8413
10325
|
ladderStageId?: string | null | undefined;
|
|
8414
10326
|
} | null | undefined;
|
|
10327
|
+
breastfeedSession?: {
|
|
10328
|
+
schemaVersion: 1;
|
|
10329
|
+
segments: {
|
|
10330
|
+
start: string;
|
|
10331
|
+
end: string | null;
|
|
10332
|
+
side: "left" | "right";
|
|
10333
|
+
}[];
|
|
10334
|
+
} | null | undefined;
|
|
8415
10335
|
} | null | undefined;
|
|
8416
10336
|
} | undefined;
|
|
8417
10337
|
inviteCodeAccess?: {
|
|
@@ -8550,6 +10470,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8550
10470
|
ladderId?: string | null | undefined;
|
|
8551
10471
|
ladderStageId?: string | null | undefined;
|
|
8552
10472
|
} | null | undefined;
|
|
10473
|
+
breastfeedSession?: {
|
|
10474
|
+
schemaVersion: 1;
|
|
10475
|
+
segments: {
|
|
10476
|
+
start: string;
|
|
10477
|
+
end: string | null;
|
|
10478
|
+
side: "left" | "right";
|
|
10479
|
+
}[];
|
|
10480
|
+
} | null | undefined;
|
|
8553
10481
|
}[] | undefined;
|
|
8554
10482
|
lastSleepBabyName?: string | null | undefined;
|
|
8555
10483
|
activeTimer?: {
|
|
@@ -8611,6 +10539,14 @@ export declare const coachFamilyAccessPeriodResponseSchema: z.ZodObject<{
|
|
|
8611
10539
|
ladderId?: string | null | undefined;
|
|
8612
10540
|
ladderStageId?: string | null | undefined;
|
|
8613
10541
|
} | null | undefined;
|
|
10542
|
+
breastfeedSession?: {
|
|
10543
|
+
schemaVersion: 1;
|
|
10544
|
+
segments: {
|
|
10545
|
+
start: string;
|
|
10546
|
+
end: string | null;
|
|
10547
|
+
side: "left" | "right";
|
|
10548
|
+
}[];
|
|
10549
|
+
} | null | undefined;
|
|
8614
10550
|
} | null | undefined;
|
|
8615
10551
|
} | undefined;
|
|
8616
10552
|
inviteCodeAccess?: {
|
|
@@ -8777,7 +10713,7 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
8777
10713
|
lastSleepEndedAt: z.ZodNullable<z.ZodString>;
|
|
8778
10714
|
lastSleepBabyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8779
10715
|
totalSleepMinutesToday: z.ZodNumber;
|
|
8780
|
-
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10716
|
+
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
8781
10717
|
id: z.ZodString;
|
|
8782
10718
|
familyUserId: z.ZodString;
|
|
8783
10719
|
babyId: z.ZodString;
|
|
@@ -8920,6 +10856,50 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
8920
10856
|
ladderId?: string | null | undefined;
|
|
8921
10857
|
ladderStageId?: string | null | undefined;
|
|
8922
10858
|
}>]>>>;
|
|
10859
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
10860
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
10861
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
10862
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
10863
|
+
start: z.ZodString;
|
|
10864
|
+
end: z.ZodNullable<z.ZodString>;
|
|
10865
|
+
}, "strict", z.ZodTypeAny, {
|
|
10866
|
+
start: string;
|
|
10867
|
+
end: string | null;
|
|
10868
|
+
side: "left" | "right";
|
|
10869
|
+
}, {
|
|
10870
|
+
start: string;
|
|
10871
|
+
end: string | null;
|
|
10872
|
+
side: "left" | "right";
|
|
10873
|
+
}>, "many">;
|
|
10874
|
+
}, "strict", z.ZodTypeAny, {
|
|
10875
|
+
schemaVersion: 1;
|
|
10876
|
+
segments: {
|
|
10877
|
+
start: string;
|
|
10878
|
+
end: string | null;
|
|
10879
|
+
side: "left" | "right";
|
|
10880
|
+
}[];
|
|
10881
|
+
}, {
|
|
10882
|
+
schemaVersion: 1;
|
|
10883
|
+
segments: {
|
|
10884
|
+
start: string;
|
|
10885
|
+
end: string | null;
|
|
10886
|
+
side: "left" | "right";
|
|
10887
|
+
}[];
|
|
10888
|
+
}>, {
|
|
10889
|
+
schemaVersion: 1;
|
|
10890
|
+
segments: {
|
|
10891
|
+
start: string;
|
|
10892
|
+
end: string | null;
|
|
10893
|
+
side: "left" | "right";
|
|
10894
|
+
}[];
|
|
10895
|
+
}, {
|
|
10896
|
+
schemaVersion: 1;
|
|
10897
|
+
segments: {
|
|
10898
|
+
start: string;
|
|
10899
|
+
end: string | null;
|
|
10900
|
+
side: "left" | "right";
|
|
10901
|
+
}[];
|
|
10902
|
+
}>>>;
|
|
8923
10903
|
createdAt: z.ZodString;
|
|
8924
10904
|
updatedAt: z.ZodString;
|
|
8925
10905
|
createdByUserId: z.ZodString;
|
|
@@ -8983,6 +10963,148 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
8983
10963
|
ladderId?: string | null | undefined;
|
|
8984
10964
|
ladderStageId?: string | null | undefined;
|
|
8985
10965
|
} | null | undefined;
|
|
10966
|
+
breastfeedSession?: {
|
|
10967
|
+
schemaVersion: 1;
|
|
10968
|
+
segments: {
|
|
10969
|
+
start: string;
|
|
10970
|
+
end: string | null;
|
|
10971
|
+
side: "left" | "right";
|
|
10972
|
+
}[];
|
|
10973
|
+
} | null | undefined;
|
|
10974
|
+
}, {
|
|
10975
|
+
id: string;
|
|
10976
|
+
createdAt: string;
|
|
10977
|
+
startedAt: string;
|
|
10978
|
+
updatedAt: string;
|
|
10979
|
+
familyUserId: string;
|
|
10980
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
10981
|
+
babyId: string;
|
|
10982
|
+
createdByUserId: string;
|
|
10983
|
+
updatedByUserId: string;
|
|
10984
|
+
babyName: string | null;
|
|
10985
|
+
timeZone?: string | null | undefined;
|
|
10986
|
+
localDate?: string | null | undefined;
|
|
10987
|
+
note?: string | null | undefined;
|
|
10988
|
+
details?: {
|
|
10989
|
+
date: string;
|
|
10990
|
+
start: string;
|
|
10991
|
+
end: string;
|
|
10992
|
+
side: "left" | "right";
|
|
10993
|
+
} | {
|
|
10994
|
+
type: "breastmilk" | "formula";
|
|
10995
|
+
date: string;
|
|
10996
|
+
unit: "ml" | "oz";
|
|
10997
|
+
time: string;
|
|
10998
|
+
amount: number;
|
|
10999
|
+
} | {
|
|
11000
|
+
type: "day" | "night";
|
|
11001
|
+
date: string;
|
|
11002
|
+
start: string;
|
|
11003
|
+
end: string;
|
|
11004
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
11005
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
11006
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
11007
|
+
} | {
|
|
11008
|
+
type: ("dirty" | "wet")[];
|
|
11009
|
+
date: string;
|
|
11010
|
+
time: string;
|
|
11011
|
+
imageURL?: string | null | undefined;
|
|
11012
|
+
} | {
|
|
11013
|
+
date: string;
|
|
11014
|
+
unit: "ml" | "oz";
|
|
11015
|
+
start: string;
|
|
11016
|
+
end: string;
|
|
11017
|
+
side: "left" | "right";
|
|
11018
|
+
amount: number;
|
|
11019
|
+
} | {
|
|
11020
|
+
date: string;
|
|
11021
|
+
time: string;
|
|
11022
|
+
medicationName: string;
|
|
11023
|
+
} | {
|
|
11024
|
+
date: string;
|
|
11025
|
+
time: string;
|
|
11026
|
+
allergicReaction: boolean;
|
|
11027
|
+
allergicReactionNote?: string | null | undefined;
|
|
11028
|
+
accidentalExposure?: boolean | undefined;
|
|
11029
|
+
accidentalExposureNote?: string | null | undefined;
|
|
11030
|
+
ladderId?: string | null | undefined;
|
|
11031
|
+
ladderStageId?: string | null | undefined;
|
|
11032
|
+
} | null | undefined;
|
|
11033
|
+
breastfeedSession?: {
|
|
11034
|
+
schemaVersion: 1;
|
|
11035
|
+
segments: {
|
|
11036
|
+
start: string;
|
|
11037
|
+
end: string | null;
|
|
11038
|
+
side: "left" | "right";
|
|
11039
|
+
}[];
|
|
11040
|
+
} | null | undefined;
|
|
11041
|
+
}>, {
|
|
11042
|
+
id: string;
|
|
11043
|
+
createdAt: string;
|
|
11044
|
+
startedAt: string;
|
|
11045
|
+
updatedAt: string;
|
|
11046
|
+
familyUserId: string;
|
|
11047
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
11048
|
+
babyId: string;
|
|
11049
|
+
createdByUserId: string;
|
|
11050
|
+
updatedByUserId: string;
|
|
11051
|
+
babyName: string | null;
|
|
11052
|
+
timeZone?: string | null | undefined;
|
|
11053
|
+
localDate?: string | null | undefined;
|
|
11054
|
+
note?: string | null | undefined;
|
|
11055
|
+
details?: {
|
|
11056
|
+
date: string;
|
|
11057
|
+
start: string;
|
|
11058
|
+
end: string;
|
|
11059
|
+
side: "left" | "right";
|
|
11060
|
+
} | {
|
|
11061
|
+
type: "breastmilk" | "formula";
|
|
11062
|
+
date: string;
|
|
11063
|
+
unit: "ml" | "oz";
|
|
11064
|
+
time: string;
|
|
11065
|
+
amount: number;
|
|
11066
|
+
} | {
|
|
11067
|
+
type: "day" | "night";
|
|
11068
|
+
date: string;
|
|
11069
|
+
start: string;
|
|
11070
|
+
end: string;
|
|
11071
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
11072
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
11073
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
11074
|
+
} | {
|
|
11075
|
+
type: ("dirty" | "wet")[];
|
|
11076
|
+
date: string;
|
|
11077
|
+
time: string;
|
|
11078
|
+
imageURL?: string | null | undefined;
|
|
11079
|
+
} | {
|
|
11080
|
+
date: string;
|
|
11081
|
+
unit: "ml" | "oz";
|
|
11082
|
+
start: string;
|
|
11083
|
+
end: string;
|
|
11084
|
+
side: "left" | "right";
|
|
11085
|
+
amount: number;
|
|
11086
|
+
} | {
|
|
11087
|
+
date: string;
|
|
11088
|
+
time: string;
|
|
11089
|
+
medicationName: string;
|
|
11090
|
+
} | {
|
|
11091
|
+
date: string;
|
|
11092
|
+
time: string;
|
|
11093
|
+
allergicReaction: boolean;
|
|
11094
|
+
allergicReactionNote?: string | null | undefined;
|
|
11095
|
+
accidentalExposure?: boolean | undefined;
|
|
11096
|
+
accidentalExposureNote?: string | null | undefined;
|
|
11097
|
+
ladderId?: string | null | undefined;
|
|
11098
|
+
ladderStageId?: string | null | undefined;
|
|
11099
|
+
} | null | undefined;
|
|
11100
|
+
breastfeedSession?: {
|
|
11101
|
+
schemaVersion: 1;
|
|
11102
|
+
segments: {
|
|
11103
|
+
start: string;
|
|
11104
|
+
end: string | null;
|
|
11105
|
+
side: "left" | "right";
|
|
11106
|
+
}[];
|
|
11107
|
+
} | null | undefined;
|
|
8986
11108
|
}, {
|
|
8987
11109
|
id: string;
|
|
8988
11110
|
createdAt: string;
|
|
@@ -9042,8 +11164,16 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9042
11164
|
ladderId?: string | null | undefined;
|
|
9043
11165
|
ladderStageId?: string | null | undefined;
|
|
9044
11166
|
} | null | undefined;
|
|
11167
|
+
breastfeedSession?: {
|
|
11168
|
+
schemaVersion: 1;
|
|
11169
|
+
segments: {
|
|
11170
|
+
start: string;
|
|
11171
|
+
end: string | null;
|
|
11172
|
+
side: "left" | "right";
|
|
11173
|
+
}[];
|
|
11174
|
+
} | null | undefined;
|
|
9045
11175
|
}>>>;
|
|
9046
|
-
activeTimers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11176
|
+
activeTimers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9047
11177
|
id: z.ZodString;
|
|
9048
11178
|
familyUserId: z.ZodString;
|
|
9049
11179
|
babyId: z.ZodString;
|
|
@@ -9170,13 +11300,187 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9170
11300
|
}, "strict", z.ZodTypeAny, {
|
|
9171
11301
|
date: string;
|
|
9172
11302
|
time: string;
|
|
9173
|
-
allergicReaction: boolean;
|
|
9174
|
-
allergicReactionNote?: string | null | undefined;
|
|
9175
|
-
accidentalExposure?: boolean | undefined;
|
|
9176
|
-
accidentalExposureNote?: string | null | undefined;
|
|
9177
|
-
ladderId?: string | null | undefined;
|
|
9178
|
-
ladderStageId?: string | null | undefined;
|
|
9179
|
-
}, {
|
|
11303
|
+
allergicReaction: boolean;
|
|
11304
|
+
allergicReactionNote?: string | null | undefined;
|
|
11305
|
+
accidentalExposure?: boolean | undefined;
|
|
11306
|
+
accidentalExposureNote?: string | null | undefined;
|
|
11307
|
+
ladderId?: string | null | undefined;
|
|
11308
|
+
ladderStageId?: string | null | undefined;
|
|
11309
|
+
}, {
|
|
11310
|
+
date: string;
|
|
11311
|
+
time: string;
|
|
11312
|
+
allergicReaction: boolean;
|
|
11313
|
+
allergicReactionNote?: string | null | undefined;
|
|
11314
|
+
accidentalExposure?: boolean | undefined;
|
|
11315
|
+
accidentalExposureNote?: string | null | undefined;
|
|
11316
|
+
ladderId?: string | null | undefined;
|
|
11317
|
+
ladderStageId?: string | null | undefined;
|
|
11318
|
+
}>]>>>;
|
|
11319
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
11320
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
11321
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
11322
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
11323
|
+
start: z.ZodString;
|
|
11324
|
+
end: z.ZodNullable<z.ZodString>;
|
|
11325
|
+
}, "strict", z.ZodTypeAny, {
|
|
11326
|
+
start: string;
|
|
11327
|
+
end: string | null;
|
|
11328
|
+
side: "left" | "right";
|
|
11329
|
+
}, {
|
|
11330
|
+
start: string;
|
|
11331
|
+
end: string | null;
|
|
11332
|
+
side: "left" | "right";
|
|
11333
|
+
}>, "many">;
|
|
11334
|
+
}, "strict", z.ZodTypeAny, {
|
|
11335
|
+
schemaVersion: 1;
|
|
11336
|
+
segments: {
|
|
11337
|
+
start: string;
|
|
11338
|
+
end: string | null;
|
|
11339
|
+
side: "left" | "right";
|
|
11340
|
+
}[];
|
|
11341
|
+
}, {
|
|
11342
|
+
schemaVersion: 1;
|
|
11343
|
+
segments: {
|
|
11344
|
+
start: string;
|
|
11345
|
+
end: string | null;
|
|
11346
|
+
side: "left" | "right";
|
|
11347
|
+
}[];
|
|
11348
|
+
}>, {
|
|
11349
|
+
schemaVersion: 1;
|
|
11350
|
+
segments: {
|
|
11351
|
+
start: string;
|
|
11352
|
+
end: string | null;
|
|
11353
|
+
side: "left" | "right";
|
|
11354
|
+
}[];
|
|
11355
|
+
}, {
|
|
11356
|
+
schemaVersion: 1;
|
|
11357
|
+
segments: {
|
|
11358
|
+
start: string;
|
|
11359
|
+
end: string | null;
|
|
11360
|
+
side: "left" | "right";
|
|
11361
|
+
}[];
|
|
11362
|
+
}>>>;
|
|
11363
|
+
createdAt: z.ZodString;
|
|
11364
|
+
updatedAt: z.ZodString;
|
|
11365
|
+
createdByUserId: z.ZodString;
|
|
11366
|
+
updatedByUserId: z.ZodString;
|
|
11367
|
+
}, "strip", z.ZodTypeAny, {
|
|
11368
|
+
id: string;
|
|
11369
|
+
createdAt: string;
|
|
11370
|
+
startedAt: string;
|
|
11371
|
+
updatedAt: string;
|
|
11372
|
+
familyUserId: string;
|
|
11373
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
11374
|
+
babyId: string;
|
|
11375
|
+
createdByUserId: string;
|
|
11376
|
+
updatedByUserId: string;
|
|
11377
|
+
babyName: string | null;
|
|
11378
|
+
timeZone?: string | null | undefined;
|
|
11379
|
+
localDate?: string | null | undefined;
|
|
11380
|
+
note?: string | null | undefined;
|
|
11381
|
+
details?: {
|
|
11382
|
+
date: string;
|
|
11383
|
+
start: string;
|
|
11384
|
+
end: string;
|
|
11385
|
+
side: "left" | "right";
|
|
11386
|
+
} | {
|
|
11387
|
+
type: "breastmilk" | "formula";
|
|
11388
|
+
date: string;
|
|
11389
|
+
unit: "ml" | "oz";
|
|
11390
|
+
time: string;
|
|
11391
|
+
amount: number;
|
|
11392
|
+
} | {
|
|
11393
|
+
type: "day" | "night";
|
|
11394
|
+
date: string;
|
|
11395
|
+
start: string;
|
|
11396
|
+
end: string;
|
|
11397
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
11398
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
11399
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
11400
|
+
} | {
|
|
11401
|
+
type: ("dirty" | "wet")[];
|
|
11402
|
+
date: string;
|
|
11403
|
+
time: string;
|
|
11404
|
+
imageURL?: string | null | undefined;
|
|
11405
|
+
} | {
|
|
11406
|
+
date: string;
|
|
11407
|
+
unit: "ml" | "oz";
|
|
11408
|
+
start: string;
|
|
11409
|
+
end: string;
|
|
11410
|
+
side: "left" | "right";
|
|
11411
|
+
amount: number;
|
|
11412
|
+
} | {
|
|
11413
|
+
date: string;
|
|
11414
|
+
time: string;
|
|
11415
|
+
medicationName: string;
|
|
11416
|
+
} | {
|
|
11417
|
+
date: string;
|
|
11418
|
+
time: string;
|
|
11419
|
+
allergicReaction: boolean;
|
|
11420
|
+
allergicReactionNote?: string | null | undefined;
|
|
11421
|
+
accidentalExposure?: boolean | undefined;
|
|
11422
|
+
accidentalExposureNote?: string | null | undefined;
|
|
11423
|
+
ladderId?: string | null | undefined;
|
|
11424
|
+
ladderStageId?: string | null | undefined;
|
|
11425
|
+
} | null | undefined;
|
|
11426
|
+
breastfeedSession?: {
|
|
11427
|
+
schemaVersion: 1;
|
|
11428
|
+
segments: {
|
|
11429
|
+
start: string;
|
|
11430
|
+
end: string | null;
|
|
11431
|
+
side: "left" | "right";
|
|
11432
|
+
}[];
|
|
11433
|
+
} | null | undefined;
|
|
11434
|
+
}, {
|
|
11435
|
+
id: string;
|
|
11436
|
+
createdAt: string;
|
|
11437
|
+
startedAt: string;
|
|
11438
|
+
updatedAt: string;
|
|
11439
|
+
familyUserId: string;
|
|
11440
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
11441
|
+
babyId: string;
|
|
11442
|
+
createdByUserId: string;
|
|
11443
|
+
updatedByUserId: string;
|
|
11444
|
+
babyName: string | null;
|
|
11445
|
+
timeZone?: string | null | undefined;
|
|
11446
|
+
localDate?: string | null | undefined;
|
|
11447
|
+
note?: string | null | undefined;
|
|
11448
|
+
details?: {
|
|
11449
|
+
date: string;
|
|
11450
|
+
start: string;
|
|
11451
|
+
end: string;
|
|
11452
|
+
side: "left" | "right";
|
|
11453
|
+
} | {
|
|
11454
|
+
type: "breastmilk" | "formula";
|
|
11455
|
+
date: string;
|
|
11456
|
+
unit: "ml" | "oz";
|
|
11457
|
+
time: string;
|
|
11458
|
+
amount: number;
|
|
11459
|
+
} | {
|
|
11460
|
+
type: "day" | "night";
|
|
11461
|
+
date: string;
|
|
11462
|
+
start: string;
|
|
11463
|
+
end: string;
|
|
11464
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
11465
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
11466
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
11467
|
+
} | {
|
|
11468
|
+
type: ("dirty" | "wet")[];
|
|
11469
|
+
date: string;
|
|
11470
|
+
time: string;
|
|
11471
|
+
imageURL?: string | null | undefined;
|
|
11472
|
+
} | {
|
|
11473
|
+
date: string;
|
|
11474
|
+
unit: "ml" | "oz";
|
|
11475
|
+
start: string;
|
|
11476
|
+
end: string;
|
|
11477
|
+
side: "left" | "right";
|
|
11478
|
+
amount: number;
|
|
11479
|
+
} | {
|
|
11480
|
+
date: string;
|
|
11481
|
+
time: string;
|
|
11482
|
+
medicationName: string;
|
|
11483
|
+
} | {
|
|
9180
11484
|
date: string;
|
|
9181
11485
|
time: string;
|
|
9182
11486
|
allergicReaction: boolean;
|
|
@@ -9185,12 +11489,16 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9185
11489
|
accidentalExposureNote?: string | null | undefined;
|
|
9186
11490
|
ladderId?: string | null | undefined;
|
|
9187
11491
|
ladderStageId?: string | null | undefined;
|
|
9188
|
-
}
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
11492
|
+
} | null | undefined;
|
|
11493
|
+
breastfeedSession?: {
|
|
11494
|
+
schemaVersion: 1;
|
|
11495
|
+
segments: {
|
|
11496
|
+
start: string;
|
|
11497
|
+
end: string | null;
|
|
11498
|
+
side: "left" | "right";
|
|
11499
|
+
}[];
|
|
11500
|
+
} | null | undefined;
|
|
11501
|
+
}>, {
|
|
9194
11502
|
id: string;
|
|
9195
11503
|
createdAt: string;
|
|
9196
11504
|
startedAt: string;
|
|
@@ -9249,6 +11557,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9249
11557
|
ladderId?: string | null | undefined;
|
|
9250
11558
|
ladderStageId?: string | null | undefined;
|
|
9251
11559
|
} | null | undefined;
|
|
11560
|
+
breastfeedSession?: {
|
|
11561
|
+
schemaVersion: 1;
|
|
11562
|
+
segments: {
|
|
11563
|
+
start: string;
|
|
11564
|
+
end: string | null;
|
|
11565
|
+
side: "left" | "right";
|
|
11566
|
+
}[];
|
|
11567
|
+
} | null | undefined;
|
|
9252
11568
|
}, {
|
|
9253
11569
|
id: string;
|
|
9254
11570
|
createdAt: string;
|
|
@@ -9308,6 +11624,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9308
11624
|
ladderId?: string | null | undefined;
|
|
9309
11625
|
ladderStageId?: string | null | undefined;
|
|
9310
11626
|
} | null | undefined;
|
|
11627
|
+
breastfeedSession?: {
|
|
11628
|
+
schemaVersion: 1;
|
|
11629
|
+
segments: {
|
|
11630
|
+
start: string;
|
|
11631
|
+
end: string | null;
|
|
11632
|
+
side: "left" | "right";
|
|
11633
|
+
}[];
|
|
11634
|
+
} | null | undefined;
|
|
9311
11635
|
}>, "many">>;
|
|
9312
11636
|
}, "strip", z.ZodTypeAny, {
|
|
9313
11637
|
lastSleepEndedAt: string | null;
|
|
@@ -9371,6 +11695,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9371
11695
|
ladderId?: string | null | undefined;
|
|
9372
11696
|
ladderStageId?: string | null | undefined;
|
|
9373
11697
|
} | null | undefined;
|
|
11698
|
+
breastfeedSession?: {
|
|
11699
|
+
schemaVersion: 1;
|
|
11700
|
+
segments: {
|
|
11701
|
+
start: string;
|
|
11702
|
+
end: string | null;
|
|
11703
|
+
side: "left" | "right";
|
|
11704
|
+
}[];
|
|
11705
|
+
} | null | undefined;
|
|
9374
11706
|
}[] | undefined;
|
|
9375
11707
|
lastSleepBabyName?: string | null | undefined;
|
|
9376
11708
|
activeTimer?: {
|
|
@@ -9432,6 +11764,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9432
11764
|
ladderId?: string | null | undefined;
|
|
9433
11765
|
ladderStageId?: string | null | undefined;
|
|
9434
11766
|
} | null | undefined;
|
|
11767
|
+
breastfeedSession?: {
|
|
11768
|
+
schemaVersion: 1;
|
|
11769
|
+
segments: {
|
|
11770
|
+
start: string;
|
|
11771
|
+
end: string | null;
|
|
11772
|
+
side: "left" | "right";
|
|
11773
|
+
}[];
|
|
11774
|
+
} | null | undefined;
|
|
9435
11775
|
} | null | undefined;
|
|
9436
11776
|
}, {
|
|
9437
11777
|
lastSleepEndedAt: string | null;
|
|
@@ -9495,6 +11835,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9495
11835
|
ladderId?: string | null | undefined;
|
|
9496
11836
|
ladderStageId?: string | null | undefined;
|
|
9497
11837
|
} | null | undefined;
|
|
11838
|
+
breastfeedSession?: {
|
|
11839
|
+
schemaVersion: 1;
|
|
11840
|
+
segments: {
|
|
11841
|
+
start: string;
|
|
11842
|
+
end: string | null;
|
|
11843
|
+
side: "left" | "right";
|
|
11844
|
+
}[];
|
|
11845
|
+
} | null | undefined;
|
|
9498
11846
|
}[] | undefined;
|
|
9499
11847
|
lastSleepBabyName?: string | null | undefined;
|
|
9500
11848
|
activeTimer?: {
|
|
@@ -9556,6 +11904,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9556
11904
|
ladderId?: string | null | undefined;
|
|
9557
11905
|
ladderStageId?: string | null | undefined;
|
|
9558
11906
|
} | null | undefined;
|
|
11907
|
+
breastfeedSession?: {
|
|
11908
|
+
schemaVersion: 1;
|
|
11909
|
+
segments: {
|
|
11910
|
+
start: string;
|
|
11911
|
+
end: string | null;
|
|
11912
|
+
side: "left" | "right";
|
|
11913
|
+
}[];
|
|
11914
|
+
} | null | undefined;
|
|
9559
11915
|
} | null | undefined;
|
|
9560
11916
|
}>>;
|
|
9561
11917
|
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -9714,6 +12070,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9714
12070
|
ladderId?: string | null | undefined;
|
|
9715
12071
|
ladderStageId?: string | null | undefined;
|
|
9716
12072
|
} | null | undefined;
|
|
12073
|
+
breastfeedSession?: {
|
|
12074
|
+
schemaVersion: 1;
|
|
12075
|
+
segments: {
|
|
12076
|
+
start: string;
|
|
12077
|
+
end: string | null;
|
|
12078
|
+
side: "left" | "right";
|
|
12079
|
+
}[];
|
|
12080
|
+
} | null | undefined;
|
|
9717
12081
|
}[] | undefined;
|
|
9718
12082
|
lastSleepBabyName?: string | null | undefined;
|
|
9719
12083
|
activeTimer?: {
|
|
@@ -9775,6 +12139,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9775
12139
|
ladderId?: string | null | undefined;
|
|
9776
12140
|
ladderStageId?: string | null | undefined;
|
|
9777
12141
|
} | null | undefined;
|
|
12142
|
+
breastfeedSession?: {
|
|
12143
|
+
schemaVersion: 1;
|
|
12144
|
+
segments: {
|
|
12145
|
+
start: string;
|
|
12146
|
+
end: string | null;
|
|
12147
|
+
side: "left" | "right";
|
|
12148
|
+
}[];
|
|
12149
|
+
} | null | undefined;
|
|
9778
12150
|
} | null | undefined;
|
|
9779
12151
|
} | undefined;
|
|
9780
12152
|
inviteCodeAccess?: {
|
|
@@ -9911,6 +12283,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9911
12283
|
ladderId?: string | null | undefined;
|
|
9912
12284
|
ladderStageId?: string | null | undefined;
|
|
9913
12285
|
} | null | undefined;
|
|
12286
|
+
breastfeedSession?: {
|
|
12287
|
+
schemaVersion: 1;
|
|
12288
|
+
segments: {
|
|
12289
|
+
start: string;
|
|
12290
|
+
end: string | null;
|
|
12291
|
+
side: "left" | "right";
|
|
12292
|
+
}[];
|
|
12293
|
+
} | null | undefined;
|
|
9914
12294
|
}[] | undefined;
|
|
9915
12295
|
lastSleepBabyName?: string | null | undefined;
|
|
9916
12296
|
activeTimer?: {
|
|
@@ -9972,6 +12352,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
9972
12352
|
ladderId?: string | null | undefined;
|
|
9973
12353
|
ladderStageId?: string | null | undefined;
|
|
9974
12354
|
} | null | undefined;
|
|
12355
|
+
breastfeedSession?: {
|
|
12356
|
+
schemaVersion: 1;
|
|
12357
|
+
segments: {
|
|
12358
|
+
start: string;
|
|
12359
|
+
end: string | null;
|
|
12360
|
+
side: "left" | "right";
|
|
12361
|
+
}[];
|
|
12362
|
+
} | null | undefined;
|
|
9975
12363
|
} | null | undefined;
|
|
9976
12364
|
} | undefined;
|
|
9977
12365
|
inviteCodeAccess?: {
|
|
@@ -10110,6 +12498,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
10110
12498
|
ladderId?: string | null | undefined;
|
|
10111
12499
|
ladderStageId?: string | null | undefined;
|
|
10112
12500
|
} | null | undefined;
|
|
12501
|
+
breastfeedSession?: {
|
|
12502
|
+
schemaVersion: 1;
|
|
12503
|
+
segments: {
|
|
12504
|
+
start: string;
|
|
12505
|
+
end: string | null;
|
|
12506
|
+
side: "left" | "right";
|
|
12507
|
+
}[];
|
|
12508
|
+
} | null | undefined;
|
|
10113
12509
|
}[] | undefined;
|
|
10114
12510
|
lastSleepBabyName?: string | null | undefined;
|
|
10115
12511
|
activeTimer?: {
|
|
@@ -10171,6 +12567,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
10171
12567
|
ladderId?: string | null | undefined;
|
|
10172
12568
|
ladderStageId?: string | null | undefined;
|
|
10173
12569
|
} | null | undefined;
|
|
12570
|
+
breastfeedSession?: {
|
|
12571
|
+
schemaVersion: 1;
|
|
12572
|
+
segments: {
|
|
12573
|
+
start: string;
|
|
12574
|
+
end: string | null;
|
|
12575
|
+
side: "left" | "right";
|
|
12576
|
+
}[];
|
|
12577
|
+
} | null | undefined;
|
|
10174
12578
|
} | null | undefined;
|
|
10175
12579
|
} | undefined;
|
|
10176
12580
|
inviteCodeAccess?: {
|
|
@@ -10309,6 +12713,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
10309
12713
|
ladderId?: string | null | undefined;
|
|
10310
12714
|
ladderStageId?: string | null | undefined;
|
|
10311
12715
|
} | null | undefined;
|
|
12716
|
+
breastfeedSession?: {
|
|
12717
|
+
schemaVersion: 1;
|
|
12718
|
+
segments: {
|
|
12719
|
+
start: string;
|
|
12720
|
+
end: string | null;
|
|
12721
|
+
side: "left" | "right";
|
|
12722
|
+
}[];
|
|
12723
|
+
} | null | undefined;
|
|
10312
12724
|
}[] | undefined;
|
|
10313
12725
|
lastSleepBabyName?: string | null | undefined;
|
|
10314
12726
|
activeTimer?: {
|
|
@@ -10370,6 +12782,14 @@ export declare const coachFamilySupportStatusResponseSchema: z.ZodObject<{
|
|
|
10370
12782
|
ladderId?: string | null | undefined;
|
|
10371
12783
|
ladderStageId?: string | null | undefined;
|
|
10372
12784
|
} | null | undefined;
|
|
12785
|
+
breastfeedSession?: {
|
|
12786
|
+
schemaVersion: 1;
|
|
12787
|
+
segments: {
|
|
12788
|
+
start: string;
|
|
12789
|
+
end: string | null;
|
|
12790
|
+
side: "left" | "right";
|
|
12791
|
+
}[];
|
|
12792
|
+
} | null | undefined;
|
|
10373
12793
|
} | null | undefined;
|
|
10374
12794
|
} | undefined;
|
|
10375
12795
|
inviteCodeAccess?: {
|
|
@@ -10529,7 +12949,7 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10529
12949
|
lastSleepEndedAt: z.ZodNullable<z.ZodString>;
|
|
10530
12950
|
lastSleepBabyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10531
12951
|
totalSleepMinutesToday: z.ZodNumber;
|
|
10532
|
-
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12952
|
+
activeTimer: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
10533
12953
|
id: z.ZodString;
|
|
10534
12954
|
familyUserId: z.ZodString;
|
|
10535
12955
|
babyId: z.ZodString;
|
|
@@ -10563,32 +12983,256 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10563
12983
|
}, "strict", z.ZodTypeAny, {
|
|
10564
12984
|
type: "breastmilk" | "formula";
|
|
10565
12985
|
date: string;
|
|
10566
|
-
unit: "ml" | "oz";
|
|
10567
|
-
time: string;
|
|
10568
|
-
amount: number;
|
|
10569
|
-
}, {
|
|
12986
|
+
unit: "ml" | "oz";
|
|
12987
|
+
time: string;
|
|
12988
|
+
amount: number;
|
|
12989
|
+
}, {
|
|
12990
|
+
type: "breastmilk" | "formula";
|
|
12991
|
+
date: string;
|
|
12992
|
+
unit: "ml" | "oz";
|
|
12993
|
+
time: string;
|
|
12994
|
+
amount: number;
|
|
12995
|
+
}>, z.ZodObject<{
|
|
12996
|
+
date: z.ZodString;
|
|
12997
|
+
start: z.ZodString;
|
|
12998
|
+
end: z.ZodString;
|
|
12999
|
+
type: z.ZodEnum<["day", "night"]>;
|
|
13000
|
+
mood: z.ZodEnum<["content", "restless", "unsettled", "wired"]>;
|
|
13001
|
+
environment: z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>;
|
|
13002
|
+
timeToSleep: z.ZodEnum<["less-than-10-mins", "10-to-20-mins", "20-to-30-mins", "30-to-40-mins", "more-than-60-mins"]>;
|
|
13003
|
+
}, "strict", z.ZodTypeAny, {
|
|
13004
|
+
type: "day" | "night";
|
|
13005
|
+
date: string;
|
|
13006
|
+
start: string;
|
|
13007
|
+
end: string;
|
|
13008
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
13009
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
13010
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
13011
|
+
}, {
|
|
13012
|
+
type: "day" | "night";
|
|
13013
|
+
date: string;
|
|
13014
|
+
start: string;
|
|
13015
|
+
end: string;
|
|
13016
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
13017
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
13018
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
13019
|
+
}>, z.ZodObject<{
|
|
13020
|
+
date: z.ZodString;
|
|
13021
|
+
time: z.ZodString;
|
|
13022
|
+
type: z.ZodArray<z.ZodEnum<["wet", "dirty"]>, "many">;
|
|
13023
|
+
imageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13024
|
+
}, "strict", z.ZodTypeAny, {
|
|
13025
|
+
type: ("dirty" | "wet")[];
|
|
13026
|
+
date: string;
|
|
13027
|
+
time: string;
|
|
13028
|
+
imageURL?: string | null | undefined;
|
|
13029
|
+
}, {
|
|
13030
|
+
type: ("dirty" | "wet")[];
|
|
13031
|
+
date: string;
|
|
13032
|
+
time: string;
|
|
13033
|
+
imageURL?: string | null | undefined;
|
|
13034
|
+
}>, z.ZodObject<{
|
|
13035
|
+
date: z.ZodString;
|
|
13036
|
+
start: z.ZodString;
|
|
13037
|
+
end: z.ZodString;
|
|
13038
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
13039
|
+
amount: z.ZodNumber;
|
|
13040
|
+
unit: z.ZodEnum<["ml", "oz"]>;
|
|
13041
|
+
}, "strict", z.ZodTypeAny, {
|
|
13042
|
+
date: string;
|
|
13043
|
+
unit: "ml" | "oz";
|
|
13044
|
+
start: string;
|
|
13045
|
+
end: string;
|
|
13046
|
+
side: "left" | "right";
|
|
13047
|
+
amount: number;
|
|
13048
|
+
}, {
|
|
13049
|
+
date: string;
|
|
13050
|
+
unit: "ml" | "oz";
|
|
13051
|
+
start: string;
|
|
13052
|
+
end: string;
|
|
13053
|
+
side: "left" | "right";
|
|
13054
|
+
amount: number;
|
|
13055
|
+
}>, z.ZodObject<{
|
|
13056
|
+
date: z.ZodString;
|
|
13057
|
+
time: z.ZodString;
|
|
13058
|
+
medicationName: z.ZodString;
|
|
13059
|
+
}, "strict", z.ZodTypeAny, {
|
|
13060
|
+
date: string;
|
|
13061
|
+
time: string;
|
|
13062
|
+
medicationName: string;
|
|
13063
|
+
}, {
|
|
13064
|
+
date: string;
|
|
13065
|
+
time: string;
|
|
13066
|
+
medicationName: string;
|
|
13067
|
+
}>, z.ZodObject<{
|
|
13068
|
+
date: z.ZodString;
|
|
13069
|
+
time: z.ZodString;
|
|
13070
|
+
allergicReaction: z.ZodBoolean;
|
|
13071
|
+
allergicReactionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13072
|
+
accidentalExposure: z.ZodOptional<z.ZodBoolean>;
|
|
13073
|
+
accidentalExposureNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13074
|
+
ladderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13075
|
+
ladderStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13076
|
+
}, "strict", z.ZodTypeAny, {
|
|
13077
|
+
date: string;
|
|
13078
|
+
time: string;
|
|
13079
|
+
allergicReaction: boolean;
|
|
13080
|
+
allergicReactionNote?: string | null | undefined;
|
|
13081
|
+
accidentalExposure?: boolean | undefined;
|
|
13082
|
+
accidentalExposureNote?: string | null | undefined;
|
|
13083
|
+
ladderId?: string | null | undefined;
|
|
13084
|
+
ladderStageId?: string | null | undefined;
|
|
13085
|
+
}, {
|
|
13086
|
+
date: string;
|
|
13087
|
+
time: string;
|
|
13088
|
+
allergicReaction: boolean;
|
|
13089
|
+
allergicReactionNote?: string | null | undefined;
|
|
13090
|
+
accidentalExposure?: boolean | undefined;
|
|
13091
|
+
accidentalExposureNote?: string | null | undefined;
|
|
13092
|
+
ladderId?: string | null | undefined;
|
|
13093
|
+
ladderStageId?: string | null | undefined;
|
|
13094
|
+
}>]>>>;
|
|
13095
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
13096
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
13097
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
13098
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
13099
|
+
start: z.ZodString;
|
|
13100
|
+
end: z.ZodNullable<z.ZodString>;
|
|
13101
|
+
}, "strict", z.ZodTypeAny, {
|
|
13102
|
+
start: string;
|
|
13103
|
+
end: string | null;
|
|
13104
|
+
side: "left" | "right";
|
|
13105
|
+
}, {
|
|
13106
|
+
start: string;
|
|
13107
|
+
end: string | null;
|
|
13108
|
+
side: "left" | "right";
|
|
13109
|
+
}>, "many">;
|
|
13110
|
+
}, "strict", z.ZodTypeAny, {
|
|
13111
|
+
schemaVersion: 1;
|
|
13112
|
+
segments: {
|
|
13113
|
+
start: string;
|
|
13114
|
+
end: string | null;
|
|
13115
|
+
side: "left" | "right";
|
|
13116
|
+
}[];
|
|
13117
|
+
}, {
|
|
13118
|
+
schemaVersion: 1;
|
|
13119
|
+
segments: {
|
|
13120
|
+
start: string;
|
|
13121
|
+
end: string | null;
|
|
13122
|
+
side: "left" | "right";
|
|
13123
|
+
}[];
|
|
13124
|
+
}>, {
|
|
13125
|
+
schemaVersion: 1;
|
|
13126
|
+
segments: {
|
|
13127
|
+
start: string;
|
|
13128
|
+
end: string | null;
|
|
13129
|
+
side: "left" | "right";
|
|
13130
|
+
}[];
|
|
13131
|
+
}, {
|
|
13132
|
+
schemaVersion: 1;
|
|
13133
|
+
segments: {
|
|
13134
|
+
start: string;
|
|
13135
|
+
end: string | null;
|
|
13136
|
+
side: "left" | "right";
|
|
13137
|
+
}[];
|
|
13138
|
+
}>>>;
|
|
13139
|
+
createdAt: z.ZodString;
|
|
13140
|
+
updatedAt: z.ZodString;
|
|
13141
|
+
createdByUserId: z.ZodString;
|
|
13142
|
+
updatedByUserId: z.ZodString;
|
|
13143
|
+
}, "strip", z.ZodTypeAny, {
|
|
13144
|
+
id: string;
|
|
13145
|
+
createdAt: string;
|
|
13146
|
+
startedAt: string;
|
|
13147
|
+
updatedAt: string;
|
|
13148
|
+
familyUserId: string;
|
|
13149
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
13150
|
+
babyId: string;
|
|
13151
|
+
createdByUserId: string;
|
|
13152
|
+
updatedByUserId: string;
|
|
13153
|
+
babyName: string | null;
|
|
13154
|
+
timeZone?: string | null | undefined;
|
|
13155
|
+
localDate?: string | null | undefined;
|
|
13156
|
+
note?: string | null | undefined;
|
|
13157
|
+
details?: {
|
|
13158
|
+
date: string;
|
|
13159
|
+
start: string;
|
|
13160
|
+
end: string;
|
|
13161
|
+
side: "left" | "right";
|
|
13162
|
+
} | {
|
|
13163
|
+
type: "breastmilk" | "formula";
|
|
13164
|
+
date: string;
|
|
13165
|
+
unit: "ml" | "oz";
|
|
13166
|
+
time: string;
|
|
13167
|
+
amount: number;
|
|
13168
|
+
} | {
|
|
13169
|
+
type: "day" | "night";
|
|
13170
|
+
date: string;
|
|
13171
|
+
start: string;
|
|
13172
|
+
end: string;
|
|
13173
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
13174
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
13175
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
13176
|
+
} | {
|
|
13177
|
+
type: ("dirty" | "wet")[];
|
|
13178
|
+
date: string;
|
|
13179
|
+
time: string;
|
|
13180
|
+
imageURL?: string | null | undefined;
|
|
13181
|
+
} | {
|
|
13182
|
+
date: string;
|
|
13183
|
+
unit: "ml" | "oz";
|
|
13184
|
+
start: string;
|
|
13185
|
+
end: string;
|
|
13186
|
+
side: "left" | "right";
|
|
13187
|
+
amount: number;
|
|
13188
|
+
} | {
|
|
13189
|
+
date: string;
|
|
13190
|
+
time: string;
|
|
13191
|
+
medicationName: string;
|
|
13192
|
+
} | {
|
|
13193
|
+
date: string;
|
|
13194
|
+
time: string;
|
|
13195
|
+
allergicReaction: boolean;
|
|
13196
|
+
allergicReactionNote?: string | null | undefined;
|
|
13197
|
+
accidentalExposure?: boolean | undefined;
|
|
13198
|
+
accidentalExposureNote?: string | null | undefined;
|
|
13199
|
+
ladderId?: string | null | undefined;
|
|
13200
|
+
ladderStageId?: string | null | undefined;
|
|
13201
|
+
} | null | undefined;
|
|
13202
|
+
breastfeedSession?: {
|
|
13203
|
+
schemaVersion: 1;
|
|
13204
|
+
segments: {
|
|
13205
|
+
start: string;
|
|
13206
|
+
end: string | null;
|
|
13207
|
+
side: "left" | "right";
|
|
13208
|
+
}[];
|
|
13209
|
+
} | null | undefined;
|
|
13210
|
+
}, {
|
|
13211
|
+
id: string;
|
|
13212
|
+
createdAt: string;
|
|
13213
|
+
startedAt: string;
|
|
13214
|
+
updatedAt: string;
|
|
13215
|
+
familyUserId: string;
|
|
13216
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
13217
|
+
babyId: string;
|
|
13218
|
+
createdByUserId: string;
|
|
13219
|
+
updatedByUserId: string;
|
|
13220
|
+
babyName: string | null;
|
|
13221
|
+
timeZone?: string | null | undefined;
|
|
13222
|
+
localDate?: string | null | undefined;
|
|
13223
|
+
note?: string | null | undefined;
|
|
13224
|
+
details?: {
|
|
13225
|
+
date: string;
|
|
13226
|
+
start: string;
|
|
13227
|
+
end: string;
|
|
13228
|
+
side: "left" | "right";
|
|
13229
|
+
} | {
|
|
10570
13230
|
type: "breastmilk" | "formula";
|
|
10571
13231
|
date: string;
|
|
10572
13232
|
unit: "ml" | "oz";
|
|
10573
13233
|
time: string;
|
|
10574
13234
|
amount: number;
|
|
10575
|
-
}
|
|
10576
|
-
date: z.ZodString;
|
|
10577
|
-
start: z.ZodString;
|
|
10578
|
-
end: z.ZodString;
|
|
10579
|
-
type: z.ZodEnum<["day", "night"]>;
|
|
10580
|
-
mood: z.ZodEnum<["content", "restless", "unsettled", "wired"]>;
|
|
10581
|
-
environment: z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>;
|
|
10582
|
-
timeToSleep: z.ZodEnum<["less-than-10-mins", "10-to-20-mins", "20-to-30-mins", "30-to-40-mins", "more-than-60-mins"]>;
|
|
10583
|
-
}, "strict", z.ZodTypeAny, {
|
|
10584
|
-
type: "day" | "night";
|
|
10585
|
-
date: string;
|
|
10586
|
-
start: string;
|
|
10587
|
-
end: string;
|
|
10588
|
-
mood: "content" | "restless" | "unsettled" | "wired";
|
|
10589
|
-
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
10590
|
-
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
10591
|
-
}, {
|
|
13235
|
+
} | {
|
|
10592
13236
|
type: "day" | "night";
|
|
10593
13237
|
date: string;
|
|
10594
13238
|
start: string;
|
|
@@ -10596,73 +13240,23 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10596
13240
|
mood: "content" | "restless" | "unsettled" | "wired";
|
|
10597
13241
|
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
10598
13242
|
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
10599
|
-
}
|
|
10600
|
-
date: z.ZodString;
|
|
10601
|
-
time: z.ZodString;
|
|
10602
|
-
type: z.ZodArray<z.ZodEnum<["wet", "dirty"]>, "many">;
|
|
10603
|
-
imageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10604
|
-
}, "strict", z.ZodTypeAny, {
|
|
10605
|
-
type: ("dirty" | "wet")[];
|
|
10606
|
-
date: string;
|
|
10607
|
-
time: string;
|
|
10608
|
-
imageURL?: string | null | undefined;
|
|
10609
|
-
}, {
|
|
13243
|
+
} | {
|
|
10610
13244
|
type: ("dirty" | "wet")[];
|
|
10611
13245
|
date: string;
|
|
10612
13246
|
time: string;
|
|
10613
13247
|
imageURL?: string | null | undefined;
|
|
10614
|
-
}
|
|
10615
|
-
date: z.ZodString;
|
|
10616
|
-
start: z.ZodString;
|
|
10617
|
-
end: z.ZodString;
|
|
10618
|
-
side: z.ZodEnum<["left", "right"]>;
|
|
10619
|
-
amount: z.ZodNumber;
|
|
10620
|
-
unit: z.ZodEnum<["ml", "oz"]>;
|
|
10621
|
-
}, "strict", z.ZodTypeAny, {
|
|
10622
|
-
date: string;
|
|
10623
|
-
unit: "ml" | "oz";
|
|
10624
|
-
start: string;
|
|
10625
|
-
end: string;
|
|
10626
|
-
side: "left" | "right";
|
|
10627
|
-
amount: number;
|
|
10628
|
-
}, {
|
|
13248
|
+
} | {
|
|
10629
13249
|
date: string;
|
|
10630
13250
|
unit: "ml" | "oz";
|
|
10631
13251
|
start: string;
|
|
10632
13252
|
end: string;
|
|
10633
13253
|
side: "left" | "right";
|
|
10634
13254
|
amount: number;
|
|
10635
|
-
}
|
|
10636
|
-
date: z.ZodString;
|
|
10637
|
-
time: z.ZodString;
|
|
10638
|
-
medicationName: z.ZodString;
|
|
10639
|
-
}, "strict", z.ZodTypeAny, {
|
|
10640
|
-
date: string;
|
|
10641
|
-
time: string;
|
|
10642
|
-
medicationName: string;
|
|
10643
|
-
}, {
|
|
13255
|
+
} | {
|
|
10644
13256
|
date: string;
|
|
10645
13257
|
time: string;
|
|
10646
13258
|
medicationName: string;
|
|
10647
|
-
}
|
|
10648
|
-
date: z.ZodString;
|
|
10649
|
-
time: z.ZodString;
|
|
10650
|
-
allergicReaction: z.ZodBoolean;
|
|
10651
|
-
allergicReactionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10652
|
-
accidentalExposure: z.ZodOptional<z.ZodBoolean>;
|
|
10653
|
-
accidentalExposureNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10654
|
-
ladderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10655
|
-
ladderStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10656
|
-
}, "strict", z.ZodTypeAny, {
|
|
10657
|
-
date: string;
|
|
10658
|
-
time: string;
|
|
10659
|
-
allergicReaction: boolean;
|
|
10660
|
-
allergicReactionNote?: string | null | undefined;
|
|
10661
|
-
accidentalExposure?: boolean | undefined;
|
|
10662
|
-
accidentalExposureNote?: string | null | undefined;
|
|
10663
|
-
ladderId?: string | null | undefined;
|
|
10664
|
-
ladderStageId?: string | null | undefined;
|
|
10665
|
-
}, {
|
|
13259
|
+
} | {
|
|
10666
13260
|
date: string;
|
|
10667
13261
|
time: string;
|
|
10668
13262
|
allergicReaction: boolean;
|
|
@@ -10671,12 +13265,16 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10671
13265
|
accidentalExposureNote?: string | null | undefined;
|
|
10672
13266
|
ladderId?: string | null | undefined;
|
|
10673
13267
|
ladderStageId?: string | null | undefined;
|
|
10674
|
-
}
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
13268
|
+
} | null | undefined;
|
|
13269
|
+
breastfeedSession?: {
|
|
13270
|
+
schemaVersion: 1;
|
|
13271
|
+
segments: {
|
|
13272
|
+
start: string;
|
|
13273
|
+
end: string | null;
|
|
13274
|
+
side: "left" | "right";
|
|
13275
|
+
}[];
|
|
13276
|
+
} | null | undefined;
|
|
13277
|
+
}>, {
|
|
10680
13278
|
id: string;
|
|
10681
13279
|
createdAt: string;
|
|
10682
13280
|
startedAt: string;
|
|
@@ -10735,6 +13333,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10735
13333
|
ladderId?: string | null | undefined;
|
|
10736
13334
|
ladderStageId?: string | null | undefined;
|
|
10737
13335
|
} | null | undefined;
|
|
13336
|
+
breastfeedSession?: {
|
|
13337
|
+
schemaVersion: 1;
|
|
13338
|
+
segments: {
|
|
13339
|
+
start: string;
|
|
13340
|
+
end: string | null;
|
|
13341
|
+
side: "left" | "right";
|
|
13342
|
+
}[];
|
|
13343
|
+
} | null | undefined;
|
|
10738
13344
|
}, {
|
|
10739
13345
|
id: string;
|
|
10740
13346
|
createdAt: string;
|
|
@@ -10794,8 +13400,16 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10794
13400
|
ladderId?: string | null | undefined;
|
|
10795
13401
|
ladderStageId?: string | null | undefined;
|
|
10796
13402
|
} | null | undefined;
|
|
13403
|
+
breastfeedSession?: {
|
|
13404
|
+
schemaVersion: 1;
|
|
13405
|
+
segments: {
|
|
13406
|
+
start: string;
|
|
13407
|
+
end: string | null;
|
|
13408
|
+
side: "left" | "right";
|
|
13409
|
+
}[];
|
|
13410
|
+
} | null | undefined;
|
|
10797
13411
|
}>>>;
|
|
10798
|
-
activeTimers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13412
|
+
activeTimers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
10799
13413
|
id: z.ZodString;
|
|
10800
13414
|
familyUserId: z.ZodString;
|
|
10801
13415
|
babyId: z.ZodString;
|
|
@@ -10938,6 +13552,50 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
10938
13552
|
ladderId?: string | null | undefined;
|
|
10939
13553
|
ladderStageId?: string | null | undefined;
|
|
10940
13554
|
}>]>>>;
|
|
13555
|
+
breastfeedSession: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
13556
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
13557
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
13558
|
+
side: z.ZodEnum<["left", "right"]>;
|
|
13559
|
+
start: z.ZodString;
|
|
13560
|
+
end: z.ZodNullable<z.ZodString>;
|
|
13561
|
+
}, "strict", z.ZodTypeAny, {
|
|
13562
|
+
start: string;
|
|
13563
|
+
end: string | null;
|
|
13564
|
+
side: "left" | "right";
|
|
13565
|
+
}, {
|
|
13566
|
+
start: string;
|
|
13567
|
+
end: string | null;
|
|
13568
|
+
side: "left" | "right";
|
|
13569
|
+
}>, "many">;
|
|
13570
|
+
}, "strict", z.ZodTypeAny, {
|
|
13571
|
+
schemaVersion: 1;
|
|
13572
|
+
segments: {
|
|
13573
|
+
start: string;
|
|
13574
|
+
end: string | null;
|
|
13575
|
+
side: "left" | "right";
|
|
13576
|
+
}[];
|
|
13577
|
+
}, {
|
|
13578
|
+
schemaVersion: 1;
|
|
13579
|
+
segments: {
|
|
13580
|
+
start: string;
|
|
13581
|
+
end: string | null;
|
|
13582
|
+
side: "left" | "right";
|
|
13583
|
+
}[];
|
|
13584
|
+
}>, {
|
|
13585
|
+
schemaVersion: 1;
|
|
13586
|
+
segments: {
|
|
13587
|
+
start: string;
|
|
13588
|
+
end: string | null;
|
|
13589
|
+
side: "left" | "right";
|
|
13590
|
+
}[];
|
|
13591
|
+
}, {
|
|
13592
|
+
schemaVersion: 1;
|
|
13593
|
+
segments: {
|
|
13594
|
+
start: string;
|
|
13595
|
+
end: string | null;
|
|
13596
|
+
side: "left" | "right";
|
|
13597
|
+
}[];
|
|
13598
|
+
}>>>;
|
|
10941
13599
|
createdAt: z.ZodString;
|
|
10942
13600
|
updatedAt: z.ZodString;
|
|
10943
13601
|
createdByUserId: z.ZodString;
|
|
@@ -11001,6 +13659,148 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11001
13659
|
ladderId?: string | null | undefined;
|
|
11002
13660
|
ladderStageId?: string | null | undefined;
|
|
11003
13661
|
} | null | undefined;
|
|
13662
|
+
breastfeedSession?: {
|
|
13663
|
+
schemaVersion: 1;
|
|
13664
|
+
segments: {
|
|
13665
|
+
start: string;
|
|
13666
|
+
end: string | null;
|
|
13667
|
+
side: "left" | "right";
|
|
13668
|
+
}[];
|
|
13669
|
+
} | null | undefined;
|
|
13670
|
+
}, {
|
|
13671
|
+
id: string;
|
|
13672
|
+
createdAt: string;
|
|
13673
|
+
startedAt: string;
|
|
13674
|
+
updatedAt: string;
|
|
13675
|
+
familyUserId: string;
|
|
13676
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
13677
|
+
babyId: string;
|
|
13678
|
+
createdByUserId: string;
|
|
13679
|
+
updatedByUserId: string;
|
|
13680
|
+
babyName: string | null;
|
|
13681
|
+
timeZone?: string | null | undefined;
|
|
13682
|
+
localDate?: string | null | undefined;
|
|
13683
|
+
note?: string | null | undefined;
|
|
13684
|
+
details?: {
|
|
13685
|
+
date: string;
|
|
13686
|
+
start: string;
|
|
13687
|
+
end: string;
|
|
13688
|
+
side: "left" | "right";
|
|
13689
|
+
} | {
|
|
13690
|
+
type: "breastmilk" | "formula";
|
|
13691
|
+
date: string;
|
|
13692
|
+
unit: "ml" | "oz";
|
|
13693
|
+
time: string;
|
|
13694
|
+
amount: number;
|
|
13695
|
+
} | {
|
|
13696
|
+
type: "day" | "night";
|
|
13697
|
+
date: string;
|
|
13698
|
+
start: string;
|
|
13699
|
+
end: string;
|
|
13700
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
13701
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
13702
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
13703
|
+
} | {
|
|
13704
|
+
type: ("dirty" | "wet")[];
|
|
13705
|
+
date: string;
|
|
13706
|
+
time: string;
|
|
13707
|
+
imageURL?: string | null | undefined;
|
|
13708
|
+
} | {
|
|
13709
|
+
date: string;
|
|
13710
|
+
unit: "ml" | "oz";
|
|
13711
|
+
start: string;
|
|
13712
|
+
end: string;
|
|
13713
|
+
side: "left" | "right";
|
|
13714
|
+
amount: number;
|
|
13715
|
+
} | {
|
|
13716
|
+
date: string;
|
|
13717
|
+
time: string;
|
|
13718
|
+
medicationName: string;
|
|
13719
|
+
} | {
|
|
13720
|
+
date: string;
|
|
13721
|
+
time: string;
|
|
13722
|
+
allergicReaction: boolean;
|
|
13723
|
+
allergicReactionNote?: string | null | undefined;
|
|
13724
|
+
accidentalExposure?: boolean | undefined;
|
|
13725
|
+
accidentalExposureNote?: string | null | undefined;
|
|
13726
|
+
ladderId?: string | null | undefined;
|
|
13727
|
+
ladderStageId?: string | null | undefined;
|
|
13728
|
+
} | null | undefined;
|
|
13729
|
+
breastfeedSession?: {
|
|
13730
|
+
schemaVersion: 1;
|
|
13731
|
+
segments: {
|
|
13732
|
+
start: string;
|
|
13733
|
+
end: string | null;
|
|
13734
|
+
side: "left" | "right";
|
|
13735
|
+
}[];
|
|
13736
|
+
} | null | undefined;
|
|
13737
|
+
}>, {
|
|
13738
|
+
id: string;
|
|
13739
|
+
createdAt: string;
|
|
13740
|
+
startedAt: string;
|
|
13741
|
+
updatedAt: string;
|
|
13742
|
+
familyUserId: string;
|
|
13743
|
+
activityType: "sleep" | "breastfeed" | "pumping";
|
|
13744
|
+
babyId: string;
|
|
13745
|
+
createdByUserId: string;
|
|
13746
|
+
updatedByUserId: string;
|
|
13747
|
+
babyName: string | null;
|
|
13748
|
+
timeZone?: string | null | undefined;
|
|
13749
|
+
localDate?: string | null | undefined;
|
|
13750
|
+
note?: string | null | undefined;
|
|
13751
|
+
details?: {
|
|
13752
|
+
date: string;
|
|
13753
|
+
start: string;
|
|
13754
|
+
end: string;
|
|
13755
|
+
side: "left" | "right";
|
|
13756
|
+
} | {
|
|
13757
|
+
type: "breastmilk" | "formula";
|
|
13758
|
+
date: string;
|
|
13759
|
+
unit: "ml" | "oz";
|
|
13760
|
+
time: string;
|
|
13761
|
+
amount: number;
|
|
13762
|
+
} | {
|
|
13763
|
+
type: "day" | "night";
|
|
13764
|
+
date: string;
|
|
13765
|
+
start: string;
|
|
13766
|
+
end: string;
|
|
13767
|
+
mood: "content" | "restless" | "unsettled" | "wired";
|
|
13768
|
+
environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
|
|
13769
|
+
timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
|
|
13770
|
+
} | {
|
|
13771
|
+
type: ("dirty" | "wet")[];
|
|
13772
|
+
date: string;
|
|
13773
|
+
time: string;
|
|
13774
|
+
imageURL?: string | null | undefined;
|
|
13775
|
+
} | {
|
|
13776
|
+
date: string;
|
|
13777
|
+
unit: "ml" | "oz";
|
|
13778
|
+
start: string;
|
|
13779
|
+
end: string;
|
|
13780
|
+
side: "left" | "right";
|
|
13781
|
+
amount: number;
|
|
13782
|
+
} | {
|
|
13783
|
+
date: string;
|
|
13784
|
+
time: string;
|
|
13785
|
+
medicationName: string;
|
|
13786
|
+
} | {
|
|
13787
|
+
date: string;
|
|
13788
|
+
time: string;
|
|
13789
|
+
allergicReaction: boolean;
|
|
13790
|
+
allergicReactionNote?: string | null | undefined;
|
|
13791
|
+
accidentalExposure?: boolean | undefined;
|
|
13792
|
+
accidentalExposureNote?: string | null | undefined;
|
|
13793
|
+
ladderId?: string | null | undefined;
|
|
13794
|
+
ladderStageId?: string | null | undefined;
|
|
13795
|
+
} | null | undefined;
|
|
13796
|
+
breastfeedSession?: {
|
|
13797
|
+
schemaVersion: 1;
|
|
13798
|
+
segments: {
|
|
13799
|
+
start: string;
|
|
13800
|
+
end: string | null;
|
|
13801
|
+
side: "left" | "right";
|
|
13802
|
+
}[];
|
|
13803
|
+
} | null | undefined;
|
|
11004
13804
|
}, {
|
|
11005
13805
|
id: string;
|
|
11006
13806
|
createdAt: string;
|
|
@@ -11060,6 +13860,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11060
13860
|
ladderId?: string | null | undefined;
|
|
11061
13861
|
ladderStageId?: string | null | undefined;
|
|
11062
13862
|
} | null | undefined;
|
|
13863
|
+
breastfeedSession?: {
|
|
13864
|
+
schemaVersion: 1;
|
|
13865
|
+
segments: {
|
|
13866
|
+
start: string;
|
|
13867
|
+
end: string | null;
|
|
13868
|
+
side: "left" | "right";
|
|
13869
|
+
}[];
|
|
13870
|
+
} | null | undefined;
|
|
11063
13871
|
}>, "many">>;
|
|
11064
13872
|
}, "strip", z.ZodTypeAny, {
|
|
11065
13873
|
lastSleepEndedAt: string | null;
|
|
@@ -11123,6 +13931,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11123
13931
|
ladderId?: string | null | undefined;
|
|
11124
13932
|
ladderStageId?: string | null | undefined;
|
|
11125
13933
|
} | null | undefined;
|
|
13934
|
+
breastfeedSession?: {
|
|
13935
|
+
schemaVersion: 1;
|
|
13936
|
+
segments: {
|
|
13937
|
+
start: string;
|
|
13938
|
+
end: string | null;
|
|
13939
|
+
side: "left" | "right";
|
|
13940
|
+
}[];
|
|
13941
|
+
} | null | undefined;
|
|
11126
13942
|
}[] | undefined;
|
|
11127
13943
|
lastSleepBabyName?: string | null | undefined;
|
|
11128
13944
|
activeTimer?: {
|
|
@@ -11184,6 +14000,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11184
14000
|
ladderId?: string | null | undefined;
|
|
11185
14001
|
ladderStageId?: string | null | undefined;
|
|
11186
14002
|
} | null | undefined;
|
|
14003
|
+
breastfeedSession?: {
|
|
14004
|
+
schemaVersion: 1;
|
|
14005
|
+
segments: {
|
|
14006
|
+
start: string;
|
|
14007
|
+
end: string | null;
|
|
14008
|
+
side: "left" | "right";
|
|
14009
|
+
}[];
|
|
14010
|
+
} | null | undefined;
|
|
11187
14011
|
} | null | undefined;
|
|
11188
14012
|
}, {
|
|
11189
14013
|
lastSleepEndedAt: string | null;
|
|
@@ -11247,6 +14071,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11247
14071
|
ladderId?: string | null | undefined;
|
|
11248
14072
|
ladderStageId?: string | null | undefined;
|
|
11249
14073
|
} | null | undefined;
|
|
14074
|
+
breastfeedSession?: {
|
|
14075
|
+
schemaVersion: 1;
|
|
14076
|
+
segments: {
|
|
14077
|
+
start: string;
|
|
14078
|
+
end: string | null;
|
|
14079
|
+
side: "left" | "right";
|
|
14080
|
+
}[];
|
|
14081
|
+
} | null | undefined;
|
|
11250
14082
|
}[] | undefined;
|
|
11251
14083
|
lastSleepBabyName?: string | null | undefined;
|
|
11252
14084
|
activeTimer?: {
|
|
@@ -11308,6 +14140,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11308
14140
|
ladderId?: string | null | undefined;
|
|
11309
14141
|
ladderStageId?: string | null | undefined;
|
|
11310
14142
|
} | null | undefined;
|
|
14143
|
+
breastfeedSession?: {
|
|
14144
|
+
schemaVersion: 1;
|
|
14145
|
+
segments: {
|
|
14146
|
+
start: string;
|
|
14147
|
+
end: string | null;
|
|
14148
|
+
side: "left" | "right";
|
|
14149
|
+
}[];
|
|
14150
|
+
} | null | undefined;
|
|
11311
14151
|
} | null | undefined;
|
|
11312
14152
|
}>>;
|
|
11313
14153
|
inviteCodeAccess: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -11466,6 +14306,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11466
14306
|
ladderId?: string | null | undefined;
|
|
11467
14307
|
ladderStageId?: string | null | undefined;
|
|
11468
14308
|
} | null | undefined;
|
|
14309
|
+
breastfeedSession?: {
|
|
14310
|
+
schemaVersion: 1;
|
|
14311
|
+
segments: {
|
|
14312
|
+
start: string;
|
|
14313
|
+
end: string | null;
|
|
14314
|
+
side: "left" | "right";
|
|
14315
|
+
}[];
|
|
14316
|
+
} | null | undefined;
|
|
11469
14317
|
}[] | undefined;
|
|
11470
14318
|
lastSleepBabyName?: string | null | undefined;
|
|
11471
14319
|
activeTimer?: {
|
|
@@ -11527,6 +14375,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11527
14375
|
ladderId?: string | null | undefined;
|
|
11528
14376
|
ladderStageId?: string | null | undefined;
|
|
11529
14377
|
} | null | undefined;
|
|
14378
|
+
breastfeedSession?: {
|
|
14379
|
+
schemaVersion: 1;
|
|
14380
|
+
segments: {
|
|
14381
|
+
start: string;
|
|
14382
|
+
end: string | null;
|
|
14383
|
+
side: "left" | "right";
|
|
14384
|
+
}[];
|
|
14385
|
+
} | null | undefined;
|
|
11530
14386
|
} | null | undefined;
|
|
11531
14387
|
} | undefined;
|
|
11532
14388
|
inviteCodeAccess?: {
|
|
@@ -11663,6 +14519,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11663
14519
|
ladderId?: string | null | undefined;
|
|
11664
14520
|
ladderStageId?: string | null | undefined;
|
|
11665
14521
|
} | null | undefined;
|
|
14522
|
+
breastfeedSession?: {
|
|
14523
|
+
schemaVersion: 1;
|
|
14524
|
+
segments: {
|
|
14525
|
+
start: string;
|
|
14526
|
+
end: string | null;
|
|
14527
|
+
side: "left" | "right";
|
|
14528
|
+
}[];
|
|
14529
|
+
} | null | undefined;
|
|
11666
14530
|
}[] | undefined;
|
|
11667
14531
|
lastSleepBabyName?: string | null | undefined;
|
|
11668
14532
|
activeTimer?: {
|
|
@@ -11724,6 +14588,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11724
14588
|
ladderId?: string | null | undefined;
|
|
11725
14589
|
ladderStageId?: string | null | undefined;
|
|
11726
14590
|
} | null | undefined;
|
|
14591
|
+
breastfeedSession?: {
|
|
14592
|
+
schemaVersion: 1;
|
|
14593
|
+
segments: {
|
|
14594
|
+
start: string;
|
|
14595
|
+
end: string | null;
|
|
14596
|
+
side: "left" | "right";
|
|
14597
|
+
}[];
|
|
14598
|
+
} | null | undefined;
|
|
11727
14599
|
} | null | undefined;
|
|
11728
14600
|
} | undefined;
|
|
11729
14601
|
inviteCodeAccess?: {
|
|
@@ -11862,6 +14734,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11862
14734
|
ladderId?: string | null | undefined;
|
|
11863
14735
|
ladderStageId?: string | null | undefined;
|
|
11864
14736
|
} | null | undefined;
|
|
14737
|
+
breastfeedSession?: {
|
|
14738
|
+
schemaVersion: 1;
|
|
14739
|
+
segments: {
|
|
14740
|
+
start: string;
|
|
14741
|
+
end: string | null;
|
|
14742
|
+
side: "left" | "right";
|
|
14743
|
+
}[];
|
|
14744
|
+
} | null | undefined;
|
|
11865
14745
|
}[] | undefined;
|
|
11866
14746
|
lastSleepBabyName?: string | null | undefined;
|
|
11867
14747
|
activeTimer?: {
|
|
@@ -11923,6 +14803,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
11923
14803
|
ladderId?: string | null | undefined;
|
|
11924
14804
|
ladderStageId?: string | null | undefined;
|
|
11925
14805
|
} | null | undefined;
|
|
14806
|
+
breastfeedSession?: {
|
|
14807
|
+
schemaVersion: 1;
|
|
14808
|
+
segments: {
|
|
14809
|
+
start: string;
|
|
14810
|
+
end: string | null;
|
|
14811
|
+
side: "left" | "right";
|
|
14812
|
+
}[];
|
|
14813
|
+
} | null | undefined;
|
|
11926
14814
|
} | null | undefined;
|
|
11927
14815
|
} | undefined;
|
|
11928
14816
|
inviteCodeAccess?: {
|
|
@@ -12061,6 +14949,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
12061
14949
|
ladderId?: string | null | undefined;
|
|
12062
14950
|
ladderStageId?: string | null | undefined;
|
|
12063
14951
|
} | null | undefined;
|
|
14952
|
+
breastfeedSession?: {
|
|
14953
|
+
schemaVersion: 1;
|
|
14954
|
+
segments: {
|
|
14955
|
+
start: string;
|
|
14956
|
+
end: string | null;
|
|
14957
|
+
side: "left" | "right";
|
|
14958
|
+
}[];
|
|
14959
|
+
} | null | undefined;
|
|
12064
14960
|
}[] | undefined;
|
|
12065
14961
|
lastSleepBabyName?: string | null | undefined;
|
|
12066
14962
|
activeTimer?: {
|
|
@@ -12122,6 +15018,14 @@ export declare const coachFamilyActivitySeenResponseSchema: z.ZodObject<{
|
|
|
12122
15018
|
ladderId?: string | null | undefined;
|
|
12123
15019
|
ladderStageId?: string | null | undefined;
|
|
12124
15020
|
} | null | undefined;
|
|
15021
|
+
breastfeedSession?: {
|
|
15022
|
+
schemaVersion: 1;
|
|
15023
|
+
segments: {
|
|
15024
|
+
start: string;
|
|
15025
|
+
end: string | null;
|
|
15026
|
+
side: "left" | "right";
|
|
15027
|
+
}[];
|
|
15028
|
+
} | null | undefined;
|
|
12125
15029
|
} | null | undefined;
|
|
12126
15030
|
} | undefined;
|
|
12127
15031
|
inviteCodeAccess?: {
|