@nikthegeek/dreamsforlittles-shared 0.1.3 → 0.4.1

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.
Files changed (65) hide show
  1. package/dist/access.d.ts +360 -12
  2. package/dist/access.js +9 -2
  3. package/dist/access.js.map +1 -1
  4. package/dist/admin.d.ts +89 -65
  5. package/dist/admin.js +4 -1
  6. package/dist/admin.js.map +1 -1
  7. package/dist/api.d.ts +5 -5
  8. package/dist/app-runtime-users.d.ts +464 -0
  9. package/dist/app-runtime-users.js +64 -0
  10. package/dist/app-runtime-users.js.map +1 -0
  11. package/dist/auth.d.ts +20 -2
  12. package/dist/auth.js +7 -2
  13. package/dist/auth.js.map +1 -1
  14. package/dist/client-notices.d.ts +77 -77
  15. package/dist/coach-acquisition.d.ts +47 -0
  16. package/dist/coach-acquisition.js +45 -0
  17. package/dist/coach-acquisition.js.map +1 -0
  18. package/dist/coach-activity-notifications.d.ts +16 -16
  19. package/dist/coach-family-chat.d.ts +1658 -0
  20. package/dist/coach-family-chat.js +342 -0
  21. package/dist/coach-family-chat.js.map +1 -0
  22. package/dist/coach-family-chat.test.d.ts +1 -0
  23. package/dist/coach-family-chat.test.js +129 -0
  24. package/dist/coach-family-chat.test.js.map +1 -0
  25. package/dist/coach-growth.d.ts +706 -0
  26. package/dist/coach-growth.js +191 -0
  27. package/dist/coach-growth.js.map +1 -0
  28. package/dist/coach-growth.test.d.ts +1 -0
  29. package/dist/coach-growth.test.js +109 -0
  30. package/dist/coach-growth.test.js.map +1 -0
  31. package/dist/coach.d.ts +61 -48
  32. package/dist/coach.js +4 -0
  33. package/dist/coach.js.map +1 -1
  34. package/dist/enums.d.ts +1 -1
  35. package/dist/enums.js +9 -1
  36. package/dist/enums.js.map +1 -1
  37. package/dist/errors.d.ts +15 -4
  38. package/dist/errors.js +33 -0
  39. package/dist/errors.js.map +1 -1
  40. package/dist/family-invitations.d.ts +2 -2
  41. package/dist/family-profile-artifacts.d.ts +28 -28
  42. package/dist/family.d.ts +1411 -147
  43. package/dist/family.js +27 -0
  44. package/dist/family.js.map +1 -1
  45. package/dist/geography.d.ts +15 -0
  46. package/dist/geography.js +45 -0
  47. package/dist/geography.js.map +1 -0
  48. package/dist/index.d.ts +6 -0
  49. package/dist/index.js +6 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/invites.d.ts +6 -6
  52. package/dist/mobile-web-releases.d.ts +14 -14
  53. package/dist/native-app-updates.d.ts +339 -0
  54. package/dist/native-app-updates.js +106 -0
  55. package/dist/native-app-updates.js.map +1 -0
  56. package/dist/notification-banners.d.ts +12 -12
  57. package/dist/product-analytics.d.ts +169 -169
  58. package/dist/product-analytics.js +1 -0
  59. package/dist/product-analytics.js.map +1 -1
  60. package/dist/push-devices.d.ts +6 -6
  61. package/dist/realtime.d.ts +12 -12
  62. package/dist/support-tickets.d.ts +10 -10
  63. package/fixtures/coach-family-chat-push-v1.json +104 -0
  64. package/fixtures/coach-family-chat-push-v1.sha256 +1 -0
  65. package/package.json +5 -3
package/dist/family.d.ts CHANGED
@@ -2724,6 +2724,891 @@ export declare const activeActivityTimerUpsertRequestSchema: z.ZodObject<{
2724
2724
  } | undefined;
2725
2725
  requestNativeActionToken?: boolean | undefined;
2726
2726
  }>;
2727
+ export declare const stoppedActivityTimerDraftSchema: z.ZodObject<{
2728
+ id: z.ZodString;
2729
+ familyUserId: z.ZodString;
2730
+ babyId: z.ZodString;
2731
+ babyName: z.ZodNullable<z.ZodString>;
2732
+ activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
2733
+ startedAt: z.ZodString;
2734
+ stoppedAt: z.ZodString;
2735
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
2736
+ localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2737
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2738
+ details: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2739
+ date: z.ZodString;
2740
+ start: z.ZodString;
2741
+ end: z.ZodString;
2742
+ side: z.ZodEnum<["left", "right"]>;
2743
+ }, "strict", z.ZodTypeAny, {
2744
+ date: string;
2745
+ start: string;
2746
+ end: string;
2747
+ side: "left" | "right";
2748
+ }, {
2749
+ date: string;
2750
+ start: string;
2751
+ end: string;
2752
+ side: "left" | "right";
2753
+ }>, z.ZodObject<{
2754
+ date: z.ZodString;
2755
+ time: z.ZodString;
2756
+ amount: z.ZodNumber;
2757
+ unit: z.ZodEnum<["ml", "oz"]>;
2758
+ type: z.ZodEnum<["breastmilk", "formula"]>;
2759
+ }, "strict", z.ZodTypeAny, {
2760
+ type: "breastmilk" | "formula";
2761
+ date: string;
2762
+ unit: "ml" | "oz";
2763
+ time: string;
2764
+ amount: number;
2765
+ }, {
2766
+ type: "breastmilk" | "formula";
2767
+ date: string;
2768
+ unit: "ml" | "oz";
2769
+ time: string;
2770
+ amount: number;
2771
+ }>, z.ZodObject<{
2772
+ date: z.ZodString;
2773
+ start: z.ZodString;
2774
+ end: z.ZodString;
2775
+ type: z.ZodEnum<["day", "night"]>;
2776
+ mood: z.ZodEnum<["content", "restless", "unsettled", "wired"]>;
2777
+ environment: z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>;
2778
+ timeToSleep: z.ZodEnum<["less-than-10-mins", "10-to-20-mins", "20-to-30-mins", "30-to-40-mins", "more-than-60-mins"]>;
2779
+ }, "strict", z.ZodTypeAny, {
2780
+ type: "day" | "night";
2781
+ date: string;
2782
+ start: string;
2783
+ end: string;
2784
+ mood: "content" | "restless" | "unsettled" | "wired";
2785
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
2786
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
2787
+ }, {
2788
+ type: "day" | "night";
2789
+ date: string;
2790
+ start: string;
2791
+ end: string;
2792
+ mood: "content" | "restless" | "unsettled" | "wired";
2793
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
2794
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
2795
+ }>, z.ZodObject<{
2796
+ date: z.ZodString;
2797
+ time: z.ZodString;
2798
+ type: z.ZodArray<z.ZodEnum<["wet", "dirty"]>, "many">;
2799
+ imageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2800
+ }, "strict", z.ZodTypeAny, {
2801
+ type: ("dirty" | "wet")[];
2802
+ date: string;
2803
+ time: string;
2804
+ imageURL?: string | null | undefined;
2805
+ }, {
2806
+ type: ("dirty" | "wet")[];
2807
+ date: string;
2808
+ time: string;
2809
+ imageURL?: string | null | undefined;
2810
+ }>, z.ZodObject<{
2811
+ date: z.ZodString;
2812
+ start: z.ZodString;
2813
+ end: z.ZodString;
2814
+ side: z.ZodEnum<["left", "right"]>;
2815
+ amount: z.ZodNumber;
2816
+ unit: z.ZodEnum<["ml", "oz"]>;
2817
+ }, "strict", z.ZodTypeAny, {
2818
+ date: string;
2819
+ unit: "ml" | "oz";
2820
+ start: string;
2821
+ end: string;
2822
+ side: "left" | "right";
2823
+ amount: number;
2824
+ }, {
2825
+ date: string;
2826
+ unit: "ml" | "oz";
2827
+ start: string;
2828
+ end: string;
2829
+ side: "left" | "right";
2830
+ amount: number;
2831
+ }>, z.ZodObject<{
2832
+ date: z.ZodString;
2833
+ time: z.ZodString;
2834
+ medicationName: z.ZodString;
2835
+ }, "strict", z.ZodTypeAny, {
2836
+ date: string;
2837
+ time: string;
2838
+ medicationName: string;
2839
+ }, {
2840
+ date: string;
2841
+ time: string;
2842
+ medicationName: string;
2843
+ }>, z.ZodObject<{
2844
+ date: z.ZodString;
2845
+ time: z.ZodString;
2846
+ allergicReaction: z.ZodBoolean;
2847
+ allergicReactionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2848
+ accidentalExposure: z.ZodOptional<z.ZodBoolean>;
2849
+ accidentalExposureNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2850
+ ladderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2851
+ ladderStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2852
+ }, "strict", z.ZodTypeAny, {
2853
+ date: string;
2854
+ time: string;
2855
+ allergicReaction: boolean;
2856
+ allergicReactionNote?: string | null | undefined;
2857
+ accidentalExposure?: boolean | undefined;
2858
+ accidentalExposureNote?: string | null | undefined;
2859
+ ladderId?: string | null | undefined;
2860
+ ladderStageId?: string | null | undefined;
2861
+ }, {
2862
+ date: string;
2863
+ time: string;
2864
+ allergicReaction: boolean;
2865
+ allergicReactionNote?: string | null | undefined;
2866
+ accidentalExposure?: boolean | undefined;
2867
+ accidentalExposureNote?: string | null | undefined;
2868
+ ladderId?: string | null | undefined;
2869
+ ladderStageId?: string | null | undefined;
2870
+ }>]>>>;
2871
+ createdAt: z.ZodString;
2872
+ }, "strip", z.ZodTypeAny, {
2873
+ id: string;
2874
+ createdAt: string;
2875
+ startedAt: string;
2876
+ familyUserId: string;
2877
+ activityType: "sleep" | "breastfeed" | "pumping";
2878
+ babyId: string;
2879
+ babyName: string | null;
2880
+ stoppedAt: string;
2881
+ timeZone?: string | null | undefined;
2882
+ localDate?: string | null | undefined;
2883
+ note?: string | null | undefined;
2884
+ details?: {
2885
+ date: string;
2886
+ start: string;
2887
+ end: string;
2888
+ side: "left" | "right";
2889
+ } | {
2890
+ type: "breastmilk" | "formula";
2891
+ date: string;
2892
+ unit: "ml" | "oz";
2893
+ time: string;
2894
+ amount: number;
2895
+ } | {
2896
+ type: "day" | "night";
2897
+ date: string;
2898
+ start: string;
2899
+ end: string;
2900
+ mood: "content" | "restless" | "unsettled" | "wired";
2901
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
2902
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
2903
+ } | {
2904
+ type: ("dirty" | "wet")[];
2905
+ date: string;
2906
+ time: string;
2907
+ imageURL?: string | null | undefined;
2908
+ } | {
2909
+ date: string;
2910
+ unit: "ml" | "oz";
2911
+ start: string;
2912
+ end: string;
2913
+ side: "left" | "right";
2914
+ amount: number;
2915
+ } | {
2916
+ date: string;
2917
+ time: string;
2918
+ medicationName: string;
2919
+ } | {
2920
+ date: string;
2921
+ time: string;
2922
+ allergicReaction: boolean;
2923
+ allergicReactionNote?: string | null | undefined;
2924
+ accidentalExposure?: boolean | undefined;
2925
+ accidentalExposureNote?: string | null | undefined;
2926
+ ladderId?: string | null | undefined;
2927
+ ladderStageId?: string | null | undefined;
2928
+ } | null | undefined;
2929
+ }, {
2930
+ id: string;
2931
+ createdAt: string;
2932
+ startedAt: string;
2933
+ familyUserId: string;
2934
+ activityType: "sleep" | "breastfeed" | "pumping";
2935
+ babyId: string;
2936
+ babyName: string | null;
2937
+ stoppedAt: string;
2938
+ timeZone?: string | null | undefined;
2939
+ localDate?: string | null | undefined;
2940
+ note?: string | null | undefined;
2941
+ details?: {
2942
+ date: string;
2943
+ start: string;
2944
+ end: string;
2945
+ side: "left" | "right";
2946
+ } | {
2947
+ type: "breastmilk" | "formula";
2948
+ date: string;
2949
+ unit: "ml" | "oz";
2950
+ time: string;
2951
+ amount: number;
2952
+ } | {
2953
+ type: "day" | "night";
2954
+ date: string;
2955
+ start: string;
2956
+ end: string;
2957
+ mood: "content" | "restless" | "unsettled" | "wired";
2958
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
2959
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
2960
+ } | {
2961
+ type: ("dirty" | "wet")[];
2962
+ date: string;
2963
+ time: string;
2964
+ imageURL?: string | null | undefined;
2965
+ } | {
2966
+ date: string;
2967
+ unit: "ml" | "oz";
2968
+ start: string;
2969
+ end: string;
2970
+ side: "left" | "right";
2971
+ amount: number;
2972
+ } | {
2973
+ date: string;
2974
+ time: string;
2975
+ medicationName: string;
2976
+ } | {
2977
+ date: string;
2978
+ time: string;
2979
+ allergicReaction: boolean;
2980
+ allergicReactionNote?: string | null | undefined;
2981
+ accidentalExposure?: boolean | undefined;
2982
+ accidentalExposureNote?: string | null | undefined;
2983
+ ladderId?: string | null | undefined;
2984
+ ladderStageId?: string | null | undefined;
2985
+ } | null | undefined;
2986
+ }>;
2987
+ export declare const activeActivityTimerStopRequestSchema: z.ZodObject<{
2988
+ babyId: z.ZodString;
2989
+ activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
2990
+ startedAt: z.ZodString;
2991
+ stoppedAt: z.ZodString;
2992
+ timeZone: z.ZodEffects<z.ZodString, string, string>;
2993
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2994
+ details: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2995
+ date: z.ZodString;
2996
+ start: z.ZodString;
2997
+ end: z.ZodString;
2998
+ side: z.ZodEnum<["left", "right"]>;
2999
+ }, "strict", z.ZodTypeAny, {
3000
+ date: string;
3001
+ start: string;
3002
+ end: string;
3003
+ side: "left" | "right";
3004
+ }, {
3005
+ date: string;
3006
+ start: string;
3007
+ end: string;
3008
+ side: "left" | "right";
3009
+ }>, z.ZodObject<{
3010
+ date: z.ZodString;
3011
+ time: z.ZodString;
3012
+ amount: z.ZodNumber;
3013
+ unit: z.ZodEnum<["ml", "oz"]>;
3014
+ type: z.ZodEnum<["breastmilk", "formula"]>;
3015
+ }, "strict", z.ZodTypeAny, {
3016
+ type: "breastmilk" | "formula";
3017
+ date: string;
3018
+ unit: "ml" | "oz";
3019
+ time: string;
3020
+ amount: number;
3021
+ }, {
3022
+ type: "breastmilk" | "formula";
3023
+ date: string;
3024
+ unit: "ml" | "oz";
3025
+ time: string;
3026
+ amount: number;
3027
+ }>, z.ZodObject<{
3028
+ date: z.ZodString;
3029
+ start: z.ZodString;
3030
+ end: z.ZodString;
3031
+ type: z.ZodEnum<["day", "night"]>;
3032
+ mood: z.ZodEnum<["content", "restless", "unsettled", "wired"]>;
3033
+ environment: z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>;
3034
+ timeToSleep: z.ZodEnum<["less-than-10-mins", "10-to-20-mins", "20-to-30-mins", "30-to-40-mins", "more-than-60-mins"]>;
3035
+ }, "strict", z.ZodTypeAny, {
3036
+ type: "day" | "night";
3037
+ date: string;
3038
+ start: string;
3039
+ end: string;
3040
+ mood: "content" | "restless" | "unsettled" | "wired";
3041
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3042
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3043
+ }, {
3044
+ type: "day" | "night";
3045
+ date: string;
3046
+ start: string;
3047
+ end: string;
3048
+ mood: "content" | "restless" | "unsettled" | "wired";
3049
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3050
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3051
+ }>, z.ZodObject<{
3052
+ date: z.ZodString;
3053
+ time: z.ZodString;
3054
+ type: z.ZodArray<z.ZodEnum<["wet", "dirty"]>, "many">;
3055
+ imageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3056
+ }, "strict", z.ZodTypeAny, {
3057
+ type: ("dirty" | "wet")[];
3058
+ date: string;
3059
+ time: string;
3060
+ imageURL?: string | null | undefined;
3061
+ }, {
3062
+ type: ("dirty" | "wet")[];
3063
+ date: string;
3064
+ time: string;
3065
+ imageURL?: string | null | undefined;
3066
+ }>, z.ZodObject<{
3067
+ date: z.ZodString;
3068
+ start: z.ZodString;
3069
+ end: z.ZodString;
3070
+ side: z.ZodEnum<["left", "right"]>;
3071
+ amount: z.ZodNumber;
3072
+ unit: z.ZodEnum<["ml", "oz"]>;
3073
+ }, "strict", z.ZodTypeAny, {
3074
+ date: string;
3075
+ unit: "ml" | "oz";
3076
+ start: string;
3077
+ end: string;
3078
+ side: "left" | "right";
3079
+ amount: number;
3080
+ }, {
3081
+ date: string;
3082
+ unit: "ml" | "oz";
3083
+ start: string;
3084
+ end: string;
3085
+ side: "left" | "right";
3086
+ amount: number;
3087
+ }>, z.ZodObject<{
3088
+ date: z.ZodString;
3089
+ time: z.ZodString;
3090
+ medicationName: z.ZodString;
3091
+ }, "strict", z.ZodTypeAny, {
3092
+ date: string;
3093
+ time: string;
3094
+ medicationName: string;
3095
+ }, {
3096
+ date: string;
3097
+ time: string;
3098
+ medicationName: string;
3099
+ }>, z.ZodObject<{
3100
+ date: z.ZodString;
3101
+ time: z.ZodString;
3102
+ allergicReaction: z.ZodBoolean;
3103
+ allergicReactionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3104
+ accidentalExposure: z.ZodOptional<z.ZodBoolean>;
3105
+ accidentalExposureNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3106
+ ladderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3107
+ ladderStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3108
+ }, "strict", z.ZodTypeAny, {
3109
+ date: string;
3110
+ time: string;
3111
+ allergicReaction: boolean;
3112
+ allergicReactionNote?: string | null | undefined;
3113
+ accidentalExposure?: boolean | undefined;
3114
+ accidentalExposureNote?: string | null | undefined;
3115
+ ladderId?: string | null | undefined;
3116
+ ladderStageId?: string | null | undefined;
3117
+ }, {
3118
+ date: string;
3119
+ time: string;
3120
+ allergicReaction: boolean;
3121
+ allergicReactionNote?: string | null | undefined;
3122
+ accidentalExposure?: boolean | undefined;
3123
+ accidentalExposureNote?: string | null | undefined;
3124
+ ladderId?: string | null | undefined;
3125
+ ladderStageId?: string | null | undefined;
3126
+ }>]>>;
3127
+ }, "strict", z.ZodTypeAny, {
3128
+ timeZone: string;
3129
+ startedAt: string;
3130
+ activityType: "sleep" | "breastfeed" | "pumping";
3131
+ babyId: string;
3132
+ stoppedAt: string;
3133
+ note?: string | null | undefined;
3134
+ details?: {
3135
+ date: string;
3136
+ start: string;
3137
+ end: string;
3138
+ side: "left" | "right";
3139
+ } | {
3140
+ type: "breastmilk" | "formula";
3141
+ date: string;
3142
+ unit: "ml" | "oz";
3143
+ time: string;
3144
+ amount: number;
3145
+ } | {
3146
+ type: "day" | "night";
3147
+ date: string;
3148
+ start: string;
3149
+ end: string;
3150
+ mood: "content" | "restless" | "unsettled" | "wired";
3151
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3152
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3153
+ } | {
3154
+ type: ("dirty" | "wet")[];
3155
+ date: string;
3156
+ time: string;
3157
+ imageURL?: string | null | undefined;
3158
+ } | {
3159
+ date: string;
3160
+ unit: "ml" | "oz";
3161
+ start: string;
3162
+ end: string;
3163
+ side: "left" | "right";
3164
+ amount: number;
3165
+ } | {
3166
+ date: string;
3167
+ time: string;
3168
+ medicationName: string;
3169
+ } | {
3170
+ date: string;
3171
+ time: string;
3172
+ allergicReaction: boolean;
3173
+ allergicReactionNote?: string | null | undefined;
3174
+ accidentalExposure?: boolean | undefined;
3175
+ accidentalExposureNote?: string | null | undefined;
3176
+ ladderId?: string | null | undefined;
3177
+ ladderStageId?: string | null | undefined;
3178
+ } | undefined;
3179
+ }, {
3180
+ timeZone: string;
3181
+ startedAt: string;
3182
+ activityType: "sleep" | "breastfeed" | "pumping";
3183
+ babyId: string;
3184
+ stoppedAt: string;
3185
+ note?: string | null | undefined;
3186
+ details?: {
3187
+ date: string;
3188
+ start: string;
3189
+ end: string;
3190
+ side: "left" | "right";
3191
+ } | {
3192
+ type: "breastmilk" | "formula";
3193
+ date: string;
3194
+ unit: "ml" | "oz";
3195
+ time: string;
3196
+ amount: number;
3197
+ } | {
3198
+ type: "day" | "night";
3199
+ date: string;
3200
+ start: string;
3201
+ end: string;
3202
+ mood: "content" | "restless" | "unsettled" | "wired";
3203
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3204
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3205
+ } | {
3206
+ type: ("dirty" | "wet")[];
3207
+ date: string;
3208
+ time: string;
3209
+ imageURL?: string | null | undefined;
3210
+ } | {
3211
+ date: string;
3212
+ unit: "ml" | "oz";
3213
+ start: string;
3214
+ end: string;
3215
+ side: "left" | "right";
3216
+ amount: number;
3217
+ } | {
3218
+ date: string;
3219
+ time: string;
3220
+ medicationName: string;
3221
+ } | {
3222
+ date: string;
3223
+ time: string;
3224
+ allergicReaction: boolean;
3225
+ allergicReactionNote?: string | null | undefined;
3226
+ accidentalExposure?: boolean | undefined;
3227
+ accidentalExposureNote?: string | null | undefined;
3228
+ ladderId?: string | null | undefined;
3229
+ ladderStageId?: string | null | undefined;
3230
+ } | undefined;
3231
+ }>;
3232
+ export declare const activeActivityTimerStopResponseSchema: z.ZodObject<{
3233
+ draft: z.ZodNullable<z.ZodObject<{
3234
+ id: z.ZodString;
3235
+ familyUserId: z.ZodString;
3236
+ babyId: z.ZodString;
3237
+ babyName: z.ZodNullable<z.ZodString>;
3238
+ activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
3239
+ startedAt: z.ZodString;
3240
+ stoppedAt: z.ZodString;
3241
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
3242
+ localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3243
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3244
+ details: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3245
+ date: z.ZodString;
3246
+ start: z.ZodString;
3247
+ end: z.ZodString;
3248
+ side: z.ZodEnum<["left", "right"]>;
3249
+ }, "strict", z.ZodTypeAny, {
3250
+ date: string;
3251
+ start: string;
3252
+ end: string;
3253
+ side: "left" | "right";
3254
+ }, {
3255
+ date: string;
3256
+ start: string;
3257
+ end: string;
3258
+ side: "left" | "right";
3259
+ }>, z.ZodObject<{
3260
+ date: z.ZodString;
3261
+ time: z.ZodString;
3262
+ amount: z.ZodNumber;
3263
+ unit: z.ZodEnum<["ml", "oz"]>;
3264
+ type: z.ZodEnum<["breastmilk", "formula"]>;
3265
+ }, "strict", z.ZodTypeAny, {
3266
+ type: "breastmilk" | "formula";
3267
+ date: string;
3268
+ unit: "ml" | "oz";
3269
+ time: string;
3270
+ amount: number;
3271
+ }, {
3272
+ type: "breastmilk" | "formula";
3273
+ date: string;
3274
+ unit: "ml" | "oz";
3275
+ time: string;
3276
+ amount: number;
3277
+ }>, z.ZodObject<{
3278
+ date: z.ZodString;
3279
+ start: z.ZodString;
3280
+ end: z.ZodString;
3281
+ type: z.ZodEnum<["day", "night"]>;
3282
+ mood: z.ZodEnum<["content", "restless", "unsettled", "wired"]>;
3283
+ environment: z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>;
3284
+ timeToSleep: z.ZodEnum<["less-than-10-mins", "10-to-20-mins", "20-to-30-mins", "30-to-40-mins", "more-than-60-mins"]>;
3285
+ }, "strict", z.ZodTypeAny, {
3286
+ type: "day" | "night";
3287
+ date: string;
3288
+ start: string;
3289
+ end: string;
3290
+ mood: "content" | "restless" | "unsettled" | "wired";
3291
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3292
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3293
+ }, {
3294
+ type: "day" | "night";
3295
+ date: string;
3296
+ start: string;
3297
+ end: string;
3298
+ mood: "content" | "restless" | "unsettled" | "wired";
3299
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3300
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3301
+ }>, z.ZodObject<{
3302
+ date: z.ZodString;
3303
+ time: z.ZodString;
3304
+ type: z.ZodArray<z.ZodEnum<["wet", "dirty"]>, "many">;
3305
+ imageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3306
+ }, "strict", z.ZodTypeAny, {
3307
+ type: ("dirty" | "wet")[];
3308
+ date: string;
3309
+ time: string;
3310
+ imageURL?: string | null | undefined;
3311
+ }, {
3312
+ type: ("dirty" | "wet")[];
3313
+ date: string;
3314
+ time: string;
3315
+ imageURL?: string | null | undefined;
3316
+ }>, z.ZodObject<{
3317
+ date: z.ZodString;
3318
+ start: z.ZodString;
3319
+ end: z.ZodString;
3320
+ side: z.ZodEnum<["left", "right"]>;
3321
+ amount: z.ZodNumber;
3322
+ unit: z.ZodEnum<["ml", "oz"]>;
3323
+ }, "strict", z.ZodTypeAny, {
3324
+ date: string;
3325
+ unit: "ml" | "oz";
3326
+ start: string;
3327
+ end: string;
3328
+ side: "left" | "right";
3329
+ amount: number;
3330
+ }, {
3331
+ date: string;
3332
+ unit: "ml" | "oz";
3333
+ start: string;
3334
+ end: string;
3335
+ side: "left" | "right";
3336
+ amount: number;
3337
+ }>, z.ZodObject<{
3338
+ date: z.ZodString;
3339
+ time: z.ZodString;
3340
+ medicationName: z.ZodString;
3341
+ }, "strict", z.ZodTypeAny, {
3342
+ date: string;
3343
+ time: string;
3344
+ medicationName: string;
3345
+ }, {
3346
+ date: string;
3347
+ time: string;
3348
+ medicationName: string;
3349
+ }>, z.ZodObject<{
3350
+ date: z.ZodString;
3351
+ time: z.ZodString;
3352
+ allergicReaction: z.ZodBoolean;
3353
+ allergicReactionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3354
+ accidentalExposure: z.ZodOptional<z.ZodBoolean>;
3355
+ accidentalExposureNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3356
+ ladderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3357
+ ladderStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3358
+ }, "strict", z.ZodTypeAny, {
3359
+ date: string;
3360
+ time: string;
3361
+ allergicReaction: boolean;
3362
+ allergicReactionNote?: string | null | undefined;
3363
+ accidentalExposure?: boolean | undefined;
3364
+ accidentalExposureNote?: string | null | undefined;
3365
+ ladderId?: string | null | undefined;
3366
+ ladderStageId?: string | null | undefined;
3367
+ }, {
3368
+ date: string;
3369
+ time: string;
3370
+ allergicReaction: boolean;
3371
+ allergicReactionNote?: string | null | undefined;
3372
+ accidentalExposure?: boolean | undefined;
3373
+ accidentalExposureNote?: string | null | undefined;
3374
+ ladderId?: string | null | undefined;
3375
+ ladderStageId?: string | null | undefined;
3376
+ }>]>>>;
3377
+ createdAt: z.ZodString;
3378
+ }, "strip", z.ZodTypeAny, {
3379
+ id: string;
3380
+ createdAt: string;
3381
+ startedAt: string;
3382
+ familyUserId: string;
3383
+ activityType: "sleep" | "breastfeed" | "pumping";
3384
+ babyId: string;
3385
+ babyName: string | null;
3386
+ stoppedAt: string;
3387
+ timeZone?: string | null | undefined;
3388
+ localDate?: string | null | undefined;
3389
+ note?: string | null | undefined;
3390
+ details?: {
3391
+ date: string;
3392
+ start: string;
3393
+ end: string;
3394
+ side: "left" | "right";
3395
+ } | {
3396
+ type: "breastmilk" | "formula";
3397
+ date: string;
3398
+ unit: "ml" | "oz";
3399
+ time: string;
3400
+ amount: number;
3401
+ } | {
3402
+ type: "day" | "night";
3403
+ date: string;
3404
+ start: string;
3405
+ end: string;
3406
+ mood: "content" | "restless" | "unsettled" | "wired";
3407
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3408
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3409
+ } | {
3410
+ type: ("dirty" | "wet")[];
3411
+ date: string;
3412
+ time: string;
3413
+ imageURL?: string | null | undefined;
3414
+ } | {
3415
+ date: string;
3416
+ unit: "ml" | "oz";
3417
+ start: string;
3418
+ end: string;
3419
+ side: "left" | "right";
3420
+ amount: number;
3421
+ } | {
3422
+ date: string;
3423
+ time: string;
3424
+ medicationName: string;
3425
+ } | {
3426
+ date: string;
3427
+ time: string;
3428
+ allergicReaction: boolean;
3429
+ allergicReactionNote?: string | null | undefined;
3430
+ accidentalExposure?: boolean | undefined;
3431
+ accidentalExposureNote?: string | null | undefined;
3432
+ ladderId?: string | null | undefined;
3433
+ ladderStageId?: string | null | undefined;
3434
+ } | null | undefined;
3435
+ }, {
3436
+ id: string;
3437
+ createdAt: string;
3438
+ startedAt: string;
3439
+ familyUserId: string;
3440
+ activityType: "sleep" | "breastfeed" | "pumping";
3441
+ babyId: string;
3442
+ babyName: string | null;
3443
+ stoppedAt: string;
3444
+ timeZone?: string | null | undefined;
3445
+ localDate?: string | null | undefined;
3446
+ note?: string | null | undefined;
3447
+ details?: {
3448
+ date: string;
3449
+ start: string;
3450
+ end: string;
3451
+ side: "left" | "right";
3452
+ } | {
3453
+ type: "breastmilk" | "formula";
3454
+ date: string;
3455
+ unit: "ml" | "oz";
3456
+ time: string;
3457
+ amount: number;
3458
+ } | {
3459
+ type: "day" | "night";
3460
+ date: string;
3461
+ start: string;
3462
+ end: string;
3463
+ mood: "content" | "restless" | "unsettled" | "wired";
3464
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3465
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3466
+ } | {
3467
+ type: ("dirty" | "wet")[];
3468
+ date: string;
3469
+ time: string;
3470
+ imageURL?: string | null | undefined;
3471
+ } | {
3472
+ date: string;
3473
+ unit: "ml" | "oz";
3474
+ start: string;
3475
+ end: string;
3476
+ side: "left" | "right";
3477
+ amount: number;
3478
+ } | {
3479
+ date: string;
3480
+ time: string;
3481
+ medicationName: string;
3482
+ } | {
3483
+ date: string;
3484
+ time: string;
3485
+ allergicReaction: boolean;
3486
+ allergicReactionNote?: string | null | undefined;
3487
+ accidentalExposure?: boolean | undefined;
3488
+ accidentalExposureNote?: string | null | undefined;
3489
+ ladderId?: string | null | undefined;
3490
+ ladderStageId?: string | null | undefined;
3491
+ } | null | undefined;
3492
+ }>>;
3493
+ }, "strip", z.ZodTypeAny, {
3494
+ draft: {
3495
+ id: string;
3496
+ createdAt: string;
3497
+ startedAt: string;
3498
+ familyUserId: string;
3499
+ activityType: "sleep" | "breastfeed" | "pumping";
3500
+ babyId: string;
3501
+ babyName: string | null;
3502
+ stoppedAt: string;
3503
+ timeZone?: string | null | undefined;
3504
+ localDate?: string | null | undefined;
3505
+ note?: string | null | undefined;
3506
+ details?: {
3507
+ date: string;
3508
+ start: string;
3509
+ end: string;
3510
+ side: "left" | "right";
3511
+ } | {
3512
+ type: "breastmilk" | "formula";
3513
+ date: string;
3514
+ unit: "ml" | "oz";
3515
+ time: string;
3516
+ amount: number;
3517
+ } | {
3518
+ type: "day" | "night";
3519
+ date: string;
3520
+ start: string;
3521
+ end: string;
3522
+ mood: "content" | "restless" | "unsettled" | "wired";
3523
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3524
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3525
+ } | {
3526
+ type: ("dirty" | "wet")[];
3527
+ date: string;
3528
+ time: string;
3529
+ imageURL?: string | null | undefined;
3530
+ } | {
3531
+ date: string;
3532
+ unit: "ml" | "oz";
3533
+ start: string;
3534
+ end: string;
3535
+ side: "left" | "right";
3536
+ amount: number;
3537
+ } | {
3538
+ date: string;
3539
+ time: string;
3540
+ medicationName: string;
3541
+ } | {
3542
+ date: string;
3543
+ time: string;
3544
+ allergicReaction: boolean;
3545
+ allergicReactionNote?: string | null | undefined;
3546
+ accidentalExposure?: boolean | undefined;
3547
+ accidentalExposureNote?: string | null | undefined;
3548
+ ladderId?: string | null | undefined;
3549
+ ladderStageId?: string | null | undefined;
3550
+ } | null | undefined;
3551
+ } | null;
3552
+ }, {
3553
+ draft: {
3554
+ id: string;
3555
+ createdAt: string;
3556
+ startedAt: string;
3557
+ familyUserId: string;
3558
+ activityType: "sleep" | "breastfeed" | "pumping";
3559
+ babyId: string;
3560
+ babyName: string | null;
3561
+ stoppedAt: string;
3562
+ timeZone?: string | null | undefined;
3563
+ localDate?: string | null | undefined;
3564
+ note?: string | null | undefined;
3565
+ details?: {
3566
+ date: string;
3567
+ start: string;
3568
+ end: string;
3569
+ side: "left" | "right";
3570
+ } | {
3571
+ type: "breastmilk" | "formula";
3572
+ date: string;
3573
+ unit: "ml" | "oz";
3574
+ time: string;
3575
+ amount: number;
3576
+ } | {
3577
+ type: "day" | "night";
3578
+ date: string;
3579
+ start: string;
3580
+ end: string;
3581
+ mood: "content" | "restless" | "unsettled" | "wired";
3582
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
3583
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
3584
+ } | {
3585
+ type: ("dirty" | "wet")[];
3586
+ date: string;
3587
+ time: string;
3588
+ imageURL?: string | null | undefined;
3589
+ } | {
3590
+ date: string;
3591
+ unit: "ml" | "oz";
3592
+ start: string;
3593
+ end: string;
3594
+ side: "left" | "right";
3595
+ amount: number;
3596
+ } | {
3597
+ date: string;
3598
+ time: string;
3599
+ medicationName: string;
3600
+ } | {
3601
+ date: string;
3602
+ time: string;
3603
+ allergicReaction: boolean;
3604
+ allergicReactionNote?: string | null | undefined;
3605
+ accidentalExposure?: boolean | undefined;
3606
+ accidentalExposureNote?: string | null | undefined;
3607
+ ladderId?: string | null | undefined;
3608
+ ladderStageId?: string | null | undefined;
3609
+ } | null | undefined;
3610
+ } | null;
3611
+ }>;
2727
3612
  export declare const activeActivityTimerDeleteRequestSchema: z.ZodObject<{
2728
3613
  babyId: z.ZodOptional<z.ZodString>;
2729
3614
  activityType: z.ZodOptional<z.ZodEnum<["breastfeed", "sleep", "pumping"]>>;
@@ -5595,8 +6480,8 @@ export declare const familySummarySchema: z.ZodObject<{
5595
6480
  premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
5596
6481
  disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
5597
6482
  }, "strip", z.ZodTypeAny, {
5598
- active: boolean;
5599
6483
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6484
+ active: boolean;
5600
6485
  expiresAt?: string | null | undefined;
5601
6486
  organizationId?: string | undefined;
5602
6487
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -5607,8 +6492,8 @@ export declare const familySummarySchema: z.ZodObject<{
5607
6492
  premiumGraceDaysRemaining?: number | undefined;
5608
6493
  premiumGraceActive?: boolean | undefined;
5609
6494
  }, {
5610
- active: boolean;
5611
6495
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6496
+ active: boolean;
5612
6497
  expiresAt?: string | null | undefined;
5613
6498
  organizationId?: string | undefined;
5614
6499
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -5691,8 +6576,8 @@ export declare const familySummarySchema: z.ZodObject<{
5691
6576
  } | undefined;
5692
6577
  } | null;
5693
6578
  premium: {
5694
- active: boolean;
5695
6579
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6580
+ active: boolean;
5696
6581
  expiresAt?: string | null | undefined;
5697
6582
  organizationId?: string | undefined;
5698
6583
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -5775,8 +6660,8 @@ export declare const familySummarySchema: z.ZodObject<{
5775
6660
  } | undefined;
5776
6661
  } | null;
5777
6662
  premium: {
5778
- active: boolean;
5779
6663
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6664
+ active: boolean;
5780
6665
  expiresAt?: string | null | undefined;
5781
6666
  organizationId?: string | undefined;
5782
6667
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -5945,8 +6830,8 @@ export declare const familySummarySchema: z.ZodObject<{
5945
6830
  } | undefined;
5946
6831
  } | null;
5947
6832
  premium: {
5948
- active: boolean;
5949
6833
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6834
+ active: boolean;
5950
6835
  expiresAt?: string | null | undefined;
5951
6836
  organizationId?: string | undefined;
5952
6837
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -6115,8 +7000,8 @@ export declare const familySummarySchema: z.ZodObject<{
6115
7000
  } | undefined;
6116
7001
  } | null;
6117
7002
  premium: {
6118
- active: boolean;
6119
7003
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
7004
+ active: boolean;
6120
7005
  expiresAt?: string | null | undefined;
6121
7006
  organizationId?: string | undefined;
6122
7007
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -6142,26 +7027,290 @@ export declare const familySummarySchema: z.ZodObject<{
6142
7027
  updatedByUserId: z.ZodString;
6143
7028
  }, "strip", z.ZodTypeAny, {
6144
7029
  id: string;
6145
- name: string;
7030
+ name: string;
7031
+ createdAt: string;
7032
+ updatedAt: string;
7033
+ familyUserId: string;
7034
+ updatedByUserId: string;
7035
+ birthday: string;
7036
+ profileAssetId?: string | null | undefined;
7037
+ gender?: "other" | "boy" | "girl" | null | undefined;
7038
+ }, {
7039
+ id: string;
7040
+ name: string;
7041
+ createdAt: string;
7042
+ updatedAt: string;
7043
+ familyUserId: string;
7044
+ updatedByUserId: string;
7045
+ birthday: string;
7046
+ profileAssetId?: string | null | undefined;
7047
+ gender?: "other" | "boy" | "girl" | null | undefined;
7048
+ }>, "many">;
7049
+ recentActivities: z.ZodArray<z.ZodObject<{
7050
+ id: z.ZodString;
7051
+ familyUserId: z.ZodString;
7052
+ babyId: z.ZodString;
7053
+ activityType: z.ZodEnum<["breastfeed", "bottles", "sleep", "nappies", "pumping", "medication", "solids"]>;
7054
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7055
+ details: z.ZodUnion<[z.ZodObject<{
7056
+ date: z.ZodString;
7057
+ start: z.ZodString;
7058
+ end: z.ZodString;
7059
+ side: z.ZodEnum<["left", "right"]>;
7060
+ }, "strict", z.ZodTypeAny, {
7061
+ date: string;
7062
+ start: string;
7063
+ end: string;
7064
+ side: "left" | "right";
7065
+ }, {
7066
+ date: string;
7067
+ start: string;
7068
+ end: string;
7069
+ side: "left" | "right";
7070
+ }>, z.ZodObject<{
7071
+ date: z.ZodString;
7072
+ time: z.ZodString;
7073
+ amount: z.ZodNumber;
7074
+ unit: z.ZodEnum<["ml", "oz"]>;
7075
+ type: z.ZodEnum<["breastmilk", "formula"]>;
7076
+ }, "strict", z.ZodTypeAny, {
7077
+ type: "breastmilk" | "formula";
7078
+ date: string;
7079
+ unit: "ml" | "oz";
7080
+ time: string;
7081
+ amount: number;
7082
+ }, {
7083
+ type: "breastmilk" | "formula";
7084
+ date: string;
7085
+ unit: "ml" | "oz";
7086
+ time: string;
7087
+ amount: number;
7088
+ }>, z.ZodObject<{
7089
+ date: z.ZodString;
7090
+ start: z.ZodString;
7091
+ end: z.ZodString;
7092
+ type: z.ZodEnum<["day", "night"]>;
7093
+ mood: z.ZodEnum<["content", "restless", "unsettled", "wired"]>;
7094
+ environment: z.ZodEnum<["co-sleeping", "contact-napping", "baby-cot", "motion-nap", "other"]>;
7095
+ timeToSleep: z.ZodEnum<["less-than-10-mins", "10-to-20-mins", "20-to-30-mins", "30-to-40-mins", "more-than-60-mins"]>;
7096
+ }, "strict", z.ZodTypeAny, {
7097
+ type: "day" | "night";
7098
+ date: string;
7099
+ start: string;
7100
+ end: string;
7101
+ mood: "content" | "restless" | "unsettled" | "wired";
7102
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
7103
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
7104
+ }, {
7105
+ type: "day" | "night";
7106
+ date: string;
7107
+ start: string;
7108
+ end: string;
7109
+ mood: "content" | "restless" | "unsettled" | "wired";
7110
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
7111
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
7112
+ }>, z.ZodObject<{
7113
+ date: z.ZodString;
7114
+ time: z.ZodString;
7115
+ type: z.ZodArray<z.ZodEnum<["wet", "dirty"]>, "many">;
7116
+ imageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7117
+ }, "strict", z.ZodTypeAny, {
7118
+ type: ("dirty" | "wet")[];
7119
+ date: string;
7120
+ time: string;
7121
+ imageURL?: string | null | undefined;
7122
+ }, {
7123
+ type: ("dirty" | "wet")[];
7124
+ date: string;
7125
+ time: string;
7126
+ imageURL?: string | null | undefined;
7127
+ }>, z.ZodObject<{
7128
+ date: z.ZodString;
7129
+ start: z.ZodString;
7130
+ end: z.ZodString;
7131
+ side: z.ZodEnum<["left", "right"]>;
7132
+ amount: z.ZodNumber;
7133
+ unit: z.ZodEnum<["ml", "oz"]>;
7134
+ }, "strict", z.ZodTypeAny, {
7135
+ date: string;
7136
+ unit: "ml" | "oz";
7137
+ start: string;
7138
+ end: string;
7139
+ side: "left" | "right";
7140
+ amount: number;
7141
+ }, {
7142
+ date: string;
7143
+ unit: "ml" | "oz";
7144
+ start: string;
7145
+ end: string;
7146
+ side: "left" | "right";
7147
+ amount: number;
7148
+ }>, z.ZodObject<{
7149
+ date: z.ZodString;
7150
+ time: z.ZodString;
7151
+ medicationName: z.ZodString;
7152
+ }, "strict", z.ZodTypeAny, {
7153
+ date: string;
7154
+ time: string;
7155
+ medicationName: string;
7156
+ }, {
7157
+ date: string;
7158
+ time: string;
7159
+ medicationName: string;
7160
+ }>, z.ZodObject<{
7161
+ date: z.ZodString;
7162
+ time: z.ZodString;
7163
+ allergicReaction: z.ZodBoolean;
7164
+ allergicReactionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7165
+ accidentalExposure: z.ZodOptional<z.ZodBoolean>;
7166
+ accidentalExposureNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7167
+ ladderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7168
+ ladderStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7169
+ }, "strict", z.ZodTypeAny, {
7170
+ date: string;
7171
+ time: string;
7172
+ allergicReaction: boolean;
7173
+ allergicReactionNote?: string | null | undefined;
7174
+ accidentalExposure?: boolean | undefined;
7175
+ accidentalExposureNote?: string | null | undefined;
7176
+ ladderId?: string | null | undefined;
7177
+ ladderStageId?: string | null | undefined;
7178
+ }, {
7179
+ date: string;
7180
+ time: string;
7181
+ allergicReaction: boolean;
7182
+ allergicReactionNote?: string | null | undefined;
7183
+ accidentalExposure?: boolean | undefined;
7184
+ accidentalExposureNote?: string | null | undefined;
7185
+ ladderId?: string | null | undefined;
7186
+ ladderStageId?: string | null | undefined;
7187
+ }>]>;
7188
+ occurredAt: z.ZodString;
7189
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
7190
+ localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7191
+ createdAt: z.ZodString;
7192
+ updatedAt: z.ZodString;
7193
+ createdByUserId: z.ZodString;
7194
+ updatedByUserId: z.ZodString;
7195
+ }, "strip", z.ZodTypeAny, {
7196
+ id: string;
6146
7197
  createdAt: string;
6147
7198
  updatedAt: string;
6148
7199
  familyUserId: string;
7200
+ activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
7201
+ occurredAt: string;
7202
+ babyId: string;
7203
+ details: {
7204
+ date: string;
7205
+ start: string;
7206
+ end: string;
7207
+ side: "left" | "right";
7208
+ } | {
7209
+ type: "breastmilk" | "formula";
7210
+ date: string;
7211
+ unit: "ml" | "oz";
7212
+ time: string;
7213
+ amount: number;
7214
+ } | {
7215
+ type: "day" | "night";
7216
+ date: string;
7217
+ start: string;
7218
+ end: string;
7219
+ mood: "content" | "restless" | "unsettled" | "wired";
7220
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
7221
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
7222
+ } | {
7223
+ type: ("dirty" | "wet")[];
7224
+ date: string;
7225
+ time: string;
7226
+ imageURL?: string | null | undefined;
7227
+ } | {
7228
+ date: string;
7229
+ unit: "ml" | "oz";
7230
+ start: string;
7231
+ end: string;
7232
+ side: "left" | "right";
7233
+ amount: number;
7234
+ } | {
7235
+ date: string;
7236
+ time: string;
7237
+ medicationName: string;
7238
+ } | {
7239
+ date: string;
7240
+ time: string;
7241
+ allergicReaction: boolean;
7242
+ allergicReactionNote?: string | null | undefined;
7243
+ accidentalExposure?: boolean | undefined;
7244
+ accidentalExposureNote?: string | null | undefined;
7245
+ ladderId?: string | null | undefined;
7246
+ ladderStageId?: string | null | undefined;
7247
+ };
7248
+ createdByUserId: string;
6149
7249
  updatedByUserId: string;
6150
- birthday: string;
6151
- profileAssetId?: string | null | undefined;
6152
- gender?: "other" | "boy" | "girl" | null | undefined;
7250
+ timeZone?: string | null | undefined;
7251
+ localDate?: string | null | undefined;
7252
+ note?: string | null | undefined;
6153
7253
  }, {
6154
7254
  id: string;
6155
- name: string;
6156
7255
  createdAt: string;
6157
7256
  updatedAt: string;
6158
7257
  familyUserId: string;
7258
+ activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
7259
+ occurredAt: string;
7260
+ babyId: string;
7261
+ details: {
7262
+ date: string;
7263
+ start: string;
7264
+ end: string;
7265
+ side: "left" | "right";
7266
+ } | {
7267
+ type: "breastmilk" | "formula";
7268
+ date: string;
7269
+ unit: "ml" | "oz";
7270
+ time: string;
7271
+ amount: number;
7272
+ } | {
7273
+ type: "day" | "night";
7274
+ date: string;
7275
+ start: string;
7276
+ end: string;
7277
+ mood: "content" | "restless" | "unsettled" | "wired";
7278
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
7279
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
7280
+ } | {
7281
+ type: ("dirty" | "wet")[];
7282
+ date: string;
7283
+ time: string;
7284
+ imageURL?: string | null | undefined;
7285
+ } | {
7286
+ date: string;
7287
+ unit: "ml" | "oz";
7288
+ start: string;
7289
+ end: string;
7290
+ side: "left" | "right";
7291
+ amount: number;
7292
+ } | {
7293
+ date: string;
7294
+ time: string;
7295
+ medicationName: string;
7296
+ } | {
7297
+ date: string;
7298
+ time: string;
7299
+ allergicReaction: boolean;
7300
+ allergicReactionNote?: string | null | undefined;
7301
+ accidentalExposure?: boolean | undefined;
7302
+ accidentalExposureNote?: string | null | undefined;
7303
+ ladderId?: string | null | undefined;
7304
+ ladderStageId?: string | null | undefined;
7305
+ };
7306
+ createdByUserId: string;
6159
7307
  updatedByUserId: string;
6160
- birthday: string;
6161
- profileAssetId?: string | null | undefined;
6162
- gender?: "other" | "boy" | "girl" | null | undefined;
7308
+ timeZone?: string | null | undefined;
7309
+ localDate?: string | null | undefined;
7310
+ note?: string | null | undefined;
6163
7311
  }>, "many">;
6164
- recentActivities: z.ZodArray<z.ZodObject<{
7312
+ recentActivitiesNextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7313
+ latestActivitiesByType: z.ZodOptional<z.ZodArray<z.ZodObject<{
6165
7314
  id: z.ZodString;
6166
7315
  familyUserId: z.ZodString;
6167
7316
  babyId: z.ZodString;
@@ -6423,15 +7572,105 @@ export declare const familySummarySchema: z.ZodObject<{
6423
7572
  timeZone?: string | null | undefined;
6424
7573
  localDate?: string | null | undefined;
6425
7574
  note?: string | null | undefined;
6426
- }>, "many">;
6427
- recentActivitiesNextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6428
- latestActivitiesByType: z.ZodOptional<z.ZodArray<z.ZodObject<{
7575
+ }>, "many">>;
7576
+ homePreferences: z.ZodObject<{
7577
+ visibleActivities: z.ZodObject<{
7578
+ breastfeed: z.ZodBoolean;
7579
+ bottles: z.ZodBoolean;
7580
+ sleep: z.ZodBoolean;
7581
+ nappies: z.ZodBoolean;
7582
+ pumping: z.ZodBoolean;
7583
+ medication: z.ZodBoolean;
7584
+ solids: z.ZodBoolean;
7585
+ }, "strict", z.ZodTypeAny, {
7586
+ sleep: boolean;
7587
+ breastfeed: boolean;
7588
+ pumping: boolean;
7589
+ bottles: boolean;
7590
+ nappies: boolean;
7591
+ medication: boolean;
7592
+ solids: boolean;
7593
+ }, {
7594
+ sleep: boolean;
7595
+ breastfeed: boolean;
7596
+ pumping: boolean;
7597
+ bottles: boolean;
7598
+ nappies: boolean;
7599
+ medication: boolean;
7600
+ solids: boolean;
7601
+ }>;
7602
+ showAllergyLadderBubble: z.ZodBoolean;
7603
+ }, "strict", z.ZodTypeAny, {
7604
+ visibleActivities: {
7605
+ sleep: boolean;
7606
+ breastfeed: boolean;
7607
+ pumping: boolean;
7608
+ bottles: boolean;
7609
+ nappies: boolean;
7610
+ medication: boolean;
7611
+ solids: boolean;
7612
+ };
7613
+ showAllergyLadderBubble: boolean;
7614
+ }, {
7615
+ visibleActivities: {
7616
+ sleep: boolean;
7617
+ breastfeed: boolean;
7618
+ pumping: boolean;
7619
+ bottles: boolean;
7620
+ nappies: boolean;
7621
+ medication: boolean;
7622
+ solids: boolean;
7623
+ };
7624
+ showAllergyLadderBubble: boolean;
7625
+ }>;
7626
+ premium: z.ZodObject<{
7627
+ active: z.ZodBoolean;
7628
+ source: z.ZodOptional<z.ZodEnum<["directSubscription", "platformPractice", "coachInvite", "manualComp"]>>;
7629
+ entitlementId: z.ZodOptional<z.ZodString>;
7630
+ organizationId: z.ZodOptional<z.ZodString>;
7631
+ startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7632
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7633
+ supportEndedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7634
+ premiumGraceEndsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7635
+ premiumGraceDaysRemaining: z.ZodOptional<z.ZodNumber>;
7636
+ premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
7637
+ disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
7638
+ }, "strip", z.ZodTypeAny, {
7639
+ disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
7640
+ active: boolean;
7641
+ expiresAt?: string | null | undefined;
7642
+ organizationId?: string | undefined;
7643
+ source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
7644
+ entitlementId?: string | undefined;
7645
+ startsAt?: string | null | undefined;
7646
+ supportEndedAt?: string | null | undefined;
7647
+ premiumGraceEndsAt?: string | null | undefined;
7648
+ premiumGraceDaysRemaining?: number | undefined;
7649
+ premiumGraceActive?: boolean | undefined;
7650
+ }, {
7651
+ disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
7652
+ active: boolean;
7653
+ expiresAt?: string | null | undefined;
7654
+ organizationId?: string | undefined;
7655
+ source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
7656
+ entitlementId?: string | undefined;
7657
+ startsAt?: string | null | undefined;
7658
+ supportEndedAt?: string | null | undefined;
7659
+ premiumGraceEndsAt?: string | null | undefined;
7660
+ premiumGraceDaysRemaining?: number | undefined;
7661
+ premiumGraceActive?: boolean | undefined;
7662
+ }>;
7663
+ activeTimers: z.ZodOptional<z.ZodArray<z.ZodObject<{
6429
7664
  id: z.ZodString;
6430
7665
  familyUserId: z.ZodString;
6431
7666
  babyId: z.ZodString;
6432
- activityType: z.ZodEnum<["breastfeed", "bottles", "sleep", "nappies", "pumping", "medication", "solids"]>;
7667
+ babyName: z.ZodNullable<z.ZodString>;
7668
+ activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
7669
+ startedAt: z.ZodString;
7670
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
7671
+ localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6433
7672
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6434
- details: z.ZodUnion<[z.ZodObject<{
7673
+ details: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
6435
7674
  date: z.ZodString;
6436
7675
  start: z.ZodString;
6437
7676
  end: z.ZodString;
@@ -6563,10 +7802,7 @@ export declare const familySummarySchema: z.ZodObject<{
6563
7802
  accidentalExposureNote?: string | null | undefined;
6564
7803
  ladderId?: string | null | undefined;
6565
7804
  ladderStageId?: string | null | undefined;
6566
- }>]>;
6567
- occurredAt: z.ZodString;
6568
- timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
6569
- localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7805
+ }>]>>>;
6570
7806
  createdAt: z.ZodString;
6571
7807
  updatedAt: z.ZodString;
6572
7808
  createdByUserId: z.ZodString;
@@ -6574,12 +7810,18 @@ export declare const familySummarySchema: z.ZodObject<{
6574
7810
  }, "strip", z.ZodTypeAny, {
6575
7811
  id: string;
6576
7812
  createdAt: string;
7813
+ startedAt: string;
6577
7814
  updatedAt: string;
6578
7815
  familyUserId: string;
6579
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
6580
- occurredAt: string;
7816
+ activityType: "sleep" | "breastfeed" | "pumping";
6581
7817
  babyId: string;
6582
- details: {
7818
+ createdByUserId: string;
7819
+ updatedByUserId: string;
7820
+ babyName: string | null;
7821
+ timeZone?: string | null | undefined;
7822
+ localDate?: string | null | undefined;
7823
+ note?: string | null | undefined;
7824
+ details?: {
6583
7825
  date: string;
6584
7826
  start: string;
6585
7827
  end: string;
@@ -6623,21 +7865,22 @@ export declare const familySummarySchema: z.ZodObject<{
6623
7865
  accidentalExposureNote?: string | null | undefined;
6624
7866
  ladderId?: string | null | undefined;
6625
7867
  ladderStageId?: string | null | undefined;
6626
- };
6627
- createdByUserId: string;
6628
- updatedByUserId: string;
6629
- timeZone?: string | null | undefined;
6630
- localDate?: string | null | undefined;
6631
- note?: string | null | undefined;
7868
+ } | null | undefined;
6632
7869
  }, {
6633
7870
  id: string;
6634
7871
  createdAt: string;
7872
+ startedAt: string;
6635
7873
  updatedAt: string;
6636
7874
  familyUserId: string;
6637
- activityType: "sleep" | "breastfeed" | "pumping" | "bottles" | "nappies" | "medication" | "solids";
6638
- occurredAt: string;
7875
+ activityType: "sleep" | "breastfeed" | "pumping";
6639
7876
  babyId: string;
6640
- details: {
7877
+ createdByUserId: string;
7878
+ updatedByUserId: string;
7879
+ babyName: string | null;
7880
+ timeZone?: string | null | undefined;
7881
+ localDate?: string | null | undefined;
7882
+ note?: string | null | undefined;
7883
+ details?: {
6641
7884
  date: string;
6642
7885
  start: string;
6643
7886
  end: string;
@@ -6681,107 +7924,16 @@ export declare const familySummarySchema: z.ZodObject<{
6681
7924
  accidentalExposureNote?: string | null | undefined;
6682
7925
  ladderId?: string | null | undefined;
6683
7926
  ladderStageId?: string | null | undefined;
6684
- };
6685
- createdByUserId: string;
6686
- updatedByUserId: string;
6687
- timeZone?: string | null | undefined;
6688
- localDate?: string | null | undefined;
6689
- note?: string | null | undefined;
7927
+ } | null | undefined;
6690
7928
  }>, "many">>;
6691
- homePreferences: z.ZodObject<{
6692
- visibleActivities: z.ZodObject<{
6693
- breastfeed: z.ZodBoolean;
6694
- bottles: z.ZodBoolean;
6695
- sleep: z.ZodBoolean;
6696
- nappies: z.ZodBoolean;
6697
- pumping: z.ZodBoolean;
6698
- medication: z.ZodBoolean;
6699
- solids: z.ZodBoolean;
6700
- }, "strict", z.ZodTypeAny, {
6701
- sleep: boolean;
6702
- breastfeed: boolean;
6703
- pumping: boolean;
6704
- bottles: boolean;
6705
- nappies: boolean;
6706
- medication: boolean;
6707
- solids: boolean;
6708
- }, {
6709
- sleep: boolean;
6710
- breastfeed: boolean;
6711
- pumping: boolean;
6712
- bottles: boolean;
6713
- nappies: boolean;
6714
- medication: boolean;
6715
- solids: boolean;
6716
- }>;
6717
- showAllergyLadderBubble: z.ZodBoolean;
6718
- }, "strict", z.ZodTypeAny, {
6719
- visibleActivities: {
6720
- sleep: boolean;
6721
- breastfeed: boolean;
6722
- pumping: boolean;
6723
- bottles: boolean;
6724
- nappies: boolean;
6725
- medication: boolean;
6726
- solids: boolean;
6727
- };
6728
- showAllergyLadderBubble: boolean;
6729
- }, {
6730
- visibleActivities: {
6731
- sleep: boolean;
6732
- breastfeed: boolean;
6733
- pumping: boolean;
6734
- bottles: boolean;
6735
- nappies: boolean;
6736
- medication: boolean;
6737
- solids: boolean;
6738
- };
6739
- showAllergyLadderBubble: boolean;
6740
- }>;
6741
- premium: z.ZodObject<{
6742
- active: z.ZodBoolean;
6743
- source: z.ZodOptional<z.ZodEnum<["directSubscription", "platformPractice", "coachInvite", "manualComp"]>>;
6744
- entitlementId: z.ZodOptional<z.ZodString>;
6745
- organizationId: z.ZodOptional<z.ZodString>;
6746
- startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6747
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6748
- supportEndedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6749
- premiumGraceEndsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6750
- premiumGraceDaysRemaining: z.ZodOptional<z.ZodNumber>;
6751
- premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
6752
- disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
6753
- }, "strip", z.ZodTypeAny, {
6754
- active: boolean;
6755
- disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6756
- expiresAt?: string | null | undefined;
6757
- organizationId?: string | undefined;
6758
- source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
6759
- entitlementId?: string | undefined;
6760
- startsAt?: string | null | undefined;
6761
- supportEndedAt?: string | null | undefined;
6762
- premiumGraceEndsAt?: string | null | undefined;
6763
- premiumGraceDaysRemaining?: number | undefined;
6764
- premiumGraceActive?: boolean | undefined;
6765
- }, {
6766
- active: boolean;
6767
- disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
6768
- expiresAt?: string | null | undefined;
6769
- organizationId?: string | undefined;
6770
- source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
6771
- entitlementId?: string | undefined;
6772
- startsAt?: string | null | undefined;
6773
- supportEndedAt?: string | null | undefined;
6774
- premiumGraceEndsAt?: string | null | undefined;
6775
- premiumGraceDaysRemaining?: number | undefined;
6776
- premiumGraceActive?: boolean | undefined;
6777
- }>;
6778
- activeTimers: z.ZodOptional<z.ZodArray<z.ZodObject<{
7929
+ pendingTimerDrafts: z.ZodOptional<z.ZodArray<z.ZodObject<{
6779
7930
  id: z.ZodString;
6780
7931
  familyUserId: z.ZodString;
6781
7932
  babyId: z.ZodString;
6782
7933
  babyName: z.ZodNullable<z.ZodString>;
6783
7934
  activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
6784
7935
  startedAt: z.ZodString;
7936
+ stoppedAt: z.ZodString;
6785
7937
  timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
6786
7938
  localDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6787
7939
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6919,20 +8071,15 @@ export declare const familySummarySchema: z.ZodObject<{
6919
8071
  ladderStageId?: string | null | undefined;
6920
8072
  }>]>>>;
6921
8073
  createdAt: z.ZodString;
6922
- updatedAt: z.ZodString;
6923
- createdByUserId: z.ZodString;
6924
- updatedByUserId: z.ZodString;
6925
8074
  }, "strip", z.ZodTypeAny, {
6926
8075
  id: string;
6927
8076
  createdAt: string;
6928
8077
  startedAt: string;
6929
- updatedAt: string;
6930
8078
  familyUserId: string;
6931
8079
  activityType: "sleep" | "breastfeed" | "pumping";
6932
8080
  babyId: string;
6933
- createdByUserId: string;
6934
- updatedByUserId: string;
6935
8081
  babyName: string | null;
8082
+ stoppedAt: string;
6936
8083
  timeZone?: string | null | undefined;
6937
8084
  localDate?: string | null | undefined;
6938
8085
  note?: string | null | undefined;
@@ -6985,13 +8132,11 @@ export declare const familySummarySchema: z.ZodObject<{
6985
8132
  id: string;
6986
8133
  createdAt: string;
6987
8134
  startedAt: string;
6988
- updatedAt: string;
6989
8135
  familyUserId: string;
6990
8136
  activityType: "sleep" | "breastfeed" | "pumping";
6991
8137
  babyId: string;
6992
- createdByUserId: string;
6993
- updatedByUserId: string;
6994
8138
  babyName: string | null;
8139
+ stoppedAt: string;
6995
8140
  timeZone?: string | null | undefined;
6996
8141
  localDate?: string | null | undefined;
6997
8142
  note?: string | null | undefined;
@@ -7828,8 +8973,8 @@ export declare const familySummarySchema: z.ZodObject<{
7828
8973
  }>>;
7829
8974
  }, "strip", z.ZodTypeAny, {
7830
8975
  premium: {
7831
- active: boolean;
7832
8976
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
8977
+ active: boolean;
7833
8978
  expiresAt?: string | null | undefined;
7834
8979
  organizationId?: string | undefined;
7835
8980
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -7998,8 +9143,8 @@ export declare const familySummarySchema: z.ZodObject<{
7998
9143
  } | undefined;
7999
9144
  } | null;
8000
9145
  premium: {
8001
- active: boolean;
8002
9146
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
9147
+ active: boolean;
8003
9148
  expiresAt?: string | null | undefined;
8004
9149
  organizationId?: string | undefined;
8005
9150
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -8339,10 +9484,68 @@ export declare const familySummarySchema: z.ZodObject<{
8339
9484
  localDate?: string | null | undefined;
8340
9485
  note?: string | null | undefined;
8341
9486
  }[] | undefined;
9487
+ pendingTimerDrafts?: {
9488
+ id: string;
9489
+ createdAt: string;
9490
+ startedAt: string;
9491
+ familyUserId: string;
9492
+ activityType: "sleep" | "breastfeed" | "pumping";
9493
+ babyId: string;
9494
+ babyName: string | null;
9495
+ stoppedAt: string;
9496
+ timeZone?: string | null | undefined;
9497
+ localDate?: string | null | undefined;
9498
+ note?: string | null | undefined;
9499
+ details?: {
9500
+ date: string;
9501
+ start: string;
9502
+ end: string;
9503
+ side: "left" | "right";
9504
+ } | {
9505
+ type: "breastmilk" | "formula";
9506
+ date: string;
9507
+ unit: "ml" | "oz";
9508
+ time: string;
9509
+ amount: number;
9510
+ } | {
9511
+ type: "day" | "night";
9512
+ date: string;
9513
+ start: string;
9514
+ end: string;
9515
+ mood: "content" | "restless" | "unsettled" | "wired";
9516
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
9517
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
9518
+ } | {
9519
+ type: ("dirty" | "wet")[];
9520
+ date: string;
9521
+ time: string;
9522
+ imageURL?: string | null | undefined;
9523
+ } | {
9524
+ date: string;
9525
+ unit: "ml" | "oz";
9526
+ start: string;
9527
+ end: string;
9528
+ side: "left" | "right";
9529
+ amount: number;
9530
+ } | {
9531
+ date: string;
9532
+ time: string;
9533
+ medicationName: string;
9534
+ } | {
9535
+ date: string;
9536
+ time: string;
9537
+ allergicReaction: boolean;
9538
+ allergicReactionNote?: string | null | undefined;
9539
+ accidentalExposure?: boolean | undefined;
9540
+ accidentalExposureNote?: string | null | undefined;
9541
+ ladderId?: string | null | undefined;
9542
+ ladderStageId?: string | null | undefined;
9543
+ } | null | undefined;
9544
+ }[] | undefined;
8342
9545
  }, {
8343
9546
  premium: {
8344
- active: boolean;
8345
9547
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
9548
+ active: boolean;
8346
9549
  expiresAt?: string | null | undefined;
8347
9550
  organizationId?: string | undefined;
8348
9551
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -8511,8 +9714,8 @@ export declare const familySummarySchema: z.ZodObject<{
8511
9714
  } | undefined;
8512
9715
  } | null;
8513
9716
  premium: {
8514
- active: boolean;
8515
9717
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
9718
+ active: boolean;
8516
9719
  expiresAt?: string | null | undefined;
8517
9720
  organizationId?: string | undefined;
8518
9721
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -8852,6 +10055,64 @@ export declare const familySummarySchema: z.ZodObject<{
8852
10055
  localDate?: string | null | undefined;
8853
10056
  note?: string | null | undefined;
8854
10057
  }[] | undefined;
10058
+ pendingTimerDrafts?: {
10059
+ id: string;
10060
+ createdAt: string;
10061
+ startedAt: string;
10062
+ familyUserId: string;
10063
+ activityType: "sleep" | "breastfeed" | "pumping";
10064
+ babyId: string;
10065
+ babyName: string | null;
10066
+ stoppedAt: string;
10067
+ timeZone?: string | null | undefined;
10068
+ localDate?: string | null | undefined;
10069
+ note?: string | null | undefined;
10070
+ details?: {
10071
+ date: string;
10072
+ start: string;
10073
+ end: string;
10074
+ side: "left" | "right";
10075
+ } | {
10076
+ type: "breastmilk" | "formula";
10077
+ date: string;
10078
+ unit: "ml" | "oz";
10079
+ time: string;
10080
+ amount: number;
10081
+ } | {
10082
+ type: "day" | "night";
10083
+ date: string;
10084
+ start: string;
10085
+ end: string;
10086
+ mood: "content" | "restless" | "unsettled" | "wired";
10087
+ environment: "other" | "co-sleeping" | "contact-napping" | "baby-cot" | "motion-nap";
10088
+ timeToSleep: "less-than-10-mins" | "10-to-20-mins" | "20-to-30-mins" | "30-to-40-mins" | "more-than-60-mins";
10089
+ } | {
10090
+ type: ("dirty" | "wet")[];
10091
+ date: string;
10092
+ time: string;
10093
+ imageURL?: string | null | undefined;
10094
+ } | {
10095
+ date: string;
10096
+ unit: "ml" | "oz";
10097
+ start: string;
10098
+ end: string;
10099
+ side: "left" | "right";
10100
+ amount: number;
10101
+ } | {
10102
+ date: string;
10103
+ time: string;
10104
+ medicationName: string;
10105
+ } | {
10106
+ date: string;
10107
+ time: string;
10108
+ allergicReaction: boolean;
10109
+ allergicReactionNote?: string | null | undefined;
10110
+ accidentalExposure?: boolean | undefined;
10111
+ accidentalExposureNote?: string | null | undefined;
10112
+ ladderId?: string | null | undefined;
10113
+ ladderStageId?: string | null | undefined;
10114
+ } | null | undefined;
10115
+ }[] | undefined;
8855
10116
  }>;
8856
10117
  export declare const coachFamilyInviteCodeAccessSchema: z.ZodObject<{
8857
10118
  id: z.ZodString;
@@ -9077,8 +10338,8 @@ export declare const coachFamilyListItemSchema: z.ZodObject<{
9077
10338
  premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
9078
10339
  disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
9079
10340
  }, "strip", z.ZodTypeAny, {
9080
- active: boolean;
9081
10341
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
10342
+ active: boolean;
9082
10343
  expiresAt?: string | null | undefined;
9083
10344
  organizationId?: string | undefined;
9084
10345
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -9089,8 +10350,8 @@ export declare const coachFamilyListItemSchema: z.ZodObject<{
9089
10350
  premiumGraceDaysRemaining?: number | undefined;
9090
10351
  premiumGraceActive?: boolean | undefined;
9091
10352
  }, {
9092
- active: boolean;
9093
10353
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
10354
+ active: boolean;
9094
10355
  expiresAt?: string | null | undefined;
9095
10356
  organizationId?: string | undefined;
9096
10357
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -10007,8 +11268,8 @@ export declare const coachFamilyListItemSchema: z.ZodObject<{
10007
11268
  familyUserId: string;
10008
11269
  canEditLogs: boolean;
10009
11270
  premium: {
10010
- active: boolean;
10011
11271
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
11272
+ active: boolean;
10012
11273
  expiresAt?: string | null | undefined;
10013
11274
  organizationId?: string | undefined;
10014
11275
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -10204,8 +11465,8 @@ export declare const coachFamilyListItemSchema: z.ZodObject<{
10204
11465
  familyUserId: string;
10205
11466
  canEditLogs: boolean;
10206
11467
  premium: {
10207
- active: boolean;
10208
11468
  disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
11469
+ active: boolean;
10209
11470
  expiresAt?: string | null | undefined;
10210
11471
  organizationId?: string | undefined;
10211
11472
  source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
@@ -10415,6 +11676,9 @@ export type CoachFamilyActivitySummary = z.infer<typeof coachFamilyActivitySumma
10415
11676
  export type TimerActivityType = z.infer<typeof timerActivityTypeSchema>;
10416
11677
  export type ActiveActivityTimer = z.infer<typeof activeActivityTimerSchema>;
10417
11678
  export type ActiveActivityTimerUpsertRequest = z.infer<typeof activeActivityTimerUpsertRequestSchema>;
11679
+ export type StoppedActivityTimerDraft = z.infer<typeof stoppedActivityTimerDraftSchema>;
11680
+ export type ActiveActivityTimerStopRequest = z.infer<typeof activeActivityTimerStopRequestSchema>;
11681
+ export type ActiveActivityTimerStopResponse = z.infer<typeof activeActivityTimerStopResponseSchema>;
10418
11682
  export type ActiveActivityTimerDeleteRequest = z.infer<typeof activeActivityTimerDeleteRequestSchema>;
10419
11683
  export type ActiveActivityTimerClearMetadata = z.infer<typeof activeActivityTimerClearMetadataSchema>;
10420
11684
  export type ActiveActivityTimerResponse = z.infer<typeof activeActivityTimerResponseSchema>;