@nikthegeek/dreamsforlittles-shared 0.15.2 → 0.17.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.
Files changed (214) hide show
  1. package/dist/access.d.ts +216 -3
  2. package/dist/access.js +6 -1
  3. package/dist/access.js.map +1 -1
  4. package/dist/activity-import-readers.d.ts +18 -0
  5. package/dist/activity-import-readers.js +26 -0
  6. package/dist/activity-import-readers.js.map +1 -0
  7. package/dist/admin.d.ts +526 -23
  8. package/dist/analysis-teaser.test.d.ts +1 -0
  9. package/dist/analysis-teaser.test.js +52 -0
  10. package/dist/analysis-teaser.test.js.map +1 -0
  11. package/dist/analysis.d.ts +1400 -26
  12. package/dist/analysis.js +20 -0
  13. package/dist/analysis.js.map +1 -1
  14. package/dist/archive-zip.d.ts +5 -0
  15. package/dist/archive-zip.js +39 -0
  16. package/dist/archive-zip.js.map +1 -0
  17. package/dist/auth.d.ts +68 -0
  18. package/dist/auth.js +2 -0
  19. package/dist/auth.js.map +1 -1
  20. package/dist/booking-coach-setup.d.ts +385 -0
  21. package/dist/booking-coach-setup.js +48 -0
  22. package/dist/booking-coach-setup.js.map +1 -0
  23. package/dist/booking-embed-preferences.d.ts +58 -0
  24. package/dist/booking-embed-preferences.js +17 -0
  25. package/dist/booking-embed-preferences.js.map +1 -0
  26. package/dist/booking-enquiries.d.ts +10 -10
  27. package/dist/booking-family-email-content.d.ts +2 -2
  28. package/dist/booking-family-scope.d.ts +29 -0
  29. package/dist/booking-family-scope.js +6 -0
  30. package/dist/booking-family-scope.js.map +1 -0
  31. package/dist/booking-forms.d.ts +6 -6
  32. package/dist/booking-system.d.ts +845 -323
  33. package/dist/booking-system.js +96 -9
  34. package/dist/booking-system.js.map +1 -1
  35. package/dist/booking-system.test.js +21 -0
  36. package/dist/booking-system.test.js.map +1 -1
  37. package/dist/booking-team-selection.d.ts +11 -0
  38. package/dist/booking-team-selection.js +6 -0
  39. package/dist/booking-team-selection.js.map +1 -0
  40. package/dist/booking-team.d.ts +196 -0
  41. package/dist/booking-team.js +23 -0
  42. package/dist/booking-team.js.map +1 -0
  43. package/dist/calendar-connections.d.ts +6 -6
  44. package/dist/chat-archives.d.ts +100 -0
  45. package/dist/chat-archives.js +10 -0
  46. package/dist/chat-archives.js.map +1 -0
  47. package/dist/coach-activity-notifications.d.ts +36 -36
  48. package/dist/coach-family-chat-photos.d.ts +9 -9
  49. package/dist/coach-family-chat-voice-notes.d.ts +4 -4
  50. package/dist/coach-family-chat.d.ts +87 -59
  51. package/dist/coach-family-chat.js +10 -2
  52. package/dist/coach-family-chat.js.map +1 -1
  53. package/dist/coach-family-chat.test.js +18 -0
  54. package/dist/coach-family-chat.test.js.map +1 -1
  55. package/dist/coach-family-roster.d.ts +39 -0
  56. package/dist/coach-family-roster.js +63 -0
  57. package/dist/coach-family-roster.js.map +1 -0
  58. package/dist/coach-messaging-policy.d.ts +219 -0
  59. package/dist/coach-messaging-policy.js +24 -0
  60. package/dist/coach-messaging-policy.js.map +1 -0
  61. package/dist/coach-portal-link.test.d.ts +1 -0
  62. package/dist/coach-portal-link.test.js +35 -0
  63. package/dist/coach-portal-link.test.js.map +1 -0
  64. package/dist/coach-sleep-plan-templates.d.ts +626 -0
  65. package/dist/coach-sleep-plan-templates.js +32 -0
  66. package/dist/coach-sleep-plan-templates.js.map +1 -0
  67. package/dist/coach-sleep-plans.d.ts +1069 -0
  68. package/dist/coach-sleep-plans.js +9 -0
  69. package/dist/coach-sleep-plans.js.map +1 -0
  70. package/dist/coach-today.d.ts +206 -0
  71. package/dist/coach-today.js +33 -0
  72. package/dist/coach-today.js.map +1 -0
  73. package/dist/coach.d.ts +14881 -2356
  74. package/dist/coach.js +63 -1
  75. package/dist/coach.js.map +1 -1
  76. package/dist/enums.d.ts +2 -2
  77. package/dist/enums.js +10 -2
  78. package/dist/enums.js.map +1 -1
  79. package/dist/family-account-retention.d.ts +57 -0
  80. package/dist/family-account-retention.js +14 -0
  81. package/dist/family-account-retention.js.map +1 -0
  82. package/dist/family-artifact-summary.d.ts +49 -0
  83. package/dist/family-artifact-summary.js +28 -0
  84. package/dist/family-artifact-summary.js.map +1 -0
  85. package/dist/family-consent.d.ts +39 -0
  86. package/dist/family-consent.js +20 -0
  87. package/dist/family-consent.js.map +1 -0
  88. package/dist/family-invitations.d.ts +195 -14
  89. package/dist/family-invitations.js +21 -0
  90. package/dist/family-invitations.js.map +1 -1
  91. package/dist/family-profile-artifacts.d.ts +1540 -72
  92. package/dist/family-profile-artifacts.js +33 -2
  93. package/dist/family-profile-artifacts.js.map +1 -1
  94. package/dist/family-recovery.d.ts +123 -0
  95. package/dist/family-recovery.js +13 -0
  96. package/dist/family-recovery.js.map +1 -0
  97. package/dist/family-retention-policy.d.ts +65 -0
  98. package/dist/family-retention-policy.js +41 -0
  99. package/dist/family-retention-policy.js.map +1 -0
  100. package/dist/family-sleep-plan.test.js +17 -0
  101. package/dist/family-sleep-plan.test.js.map +1 -1
  102. package/dist/family.d.ts +36596 -4989
  103. package/dist/family.js +139 -14
  104. package/dist/family.js.map +1 -1
  105. package/dist/family.test.js +149 -1
  106. package/dist/family.test.js.map +1 -1
  107. package/dist/files.d.ts +4 -4
  108. package/dist/history-export-csv.d.ts +5 -0
  109. package/dist/history-export-csv.js +67 -0
  110. package/dist/history-export-csv.js.map +1 -0
  111. package/dist/history-export.d.ts +605 -0
  112. package/dist/history-export.js +40 -0
  113. package/dist/history-export.js.map +1 -0
  114. package/dist/home-activity-context.d.ts +6396 -0
  115. package/dist/home-activity-context.js +97 -0
  116. package/dist/home-activity-context.js.map +1 -0
  117. package/dist/home-activity-context.test.d.ts +1 -0
  118. package/dist/home-activity-context.test.js +111 -0
  119. package/dist/home-activity-context.test.js.map +1 -0
  120. package/dist/huckleberry-import.d.ts +452 -0
  121. package/dist/huckleberry-import.js +37 -0
  122. package/dist/huckleberry-import.js.map +1 -0
  123. package/dist/index.d.ts +34 -0
  124. package/dist/index.js +34 -0
  125. package/dist/index.js.map +1 -1
  126. package/dist/invites.d.ts +63 -10
  127. package/dist/invites.js +5 -2
  128. package/dist/invites.js.map +1 -1
  129. package/dist/lead-insights.d.ts +1242 -51
  130. package/dist/lead-insights.js +53 -2
  131. package/dist/lead-insights.js.map +1 -1
  132. package/dist/lead-insights.test.js +35 -1
  133. package/dist/lead-insights.test.js.map +1 -1
  134. package/dist/lead-management.d.ts +1252 -96
  135. package/dist/lead-management.js +59 -5
  136. package/dist/lead-management.js.map +1 -1
  137. package/dist/lead-management.test.js +54 -0
  138. package/dist/lead-management.test.js.map +1 -1
  139. package/dist/milestone-photos.d.ts +492 -0
  140. package/dist/milestone-photos.js +35 -0
  141. package/dist/milestone-photos.js.map +1 -0
  142. package/dist/milestone-photos.test.d.ts +1 -0
  143. package/dist/milestone-photos.test.js +11 -0
  144. package/dist/milestone-photos.test.js.map +1 -0
  145. package/dist/milestones.d.ts +267 -23
  146. package/dist/milestones.js +10 -0
  147. package/dist/milestones.js.map +1 -1
  148. package/dist/milestones.test.js +23 -1
  149. package/dist/milestones.test.js.map +1 -1
  150. package/dist/native-timer-state.d.ts +8807 -0
  151. package/dist/native-timer-state.js +104 -0
  152. package/dist/native-timer-state.js.map +1 -0
  153. package/dist/parent-check-ins.d.ts +196 -0
  154. package/dist/parent-check-ins.js +37 -0
  155. package/dist/parent-check-ins.js.map +1 -0
  156. package/dist/parent-check-ins.test.d.ts +1 -0
  157. package/dist/parent-check-ins.test.js +27 -0
  158. package/dist/parent-check-ins.test.js.map +1 -0
  159. package/dist/practice-bookings.d.ts +261 -0
  160. package/dist/practice-bookings.js +22 -0
  161. package/dist/practice-bookings.js.map +1 -0
  162. package/dist/practice-insights.d.ts +437 -0
  163. package/dist/practice-insights.js +42 -0
  164. package/dist/practice-insights.js.map +1 -0
  165. package/dist/practice-profile.d.ts +22 -0
  166. package/dist/practice-profile.js +4 -0
  167. package/dist/practice-profile.js.map +1 -0
  168. package/dist/practice-teams.d.ts +1259 -0
  169. package/dist/practice-teams.js +100 -0
  170. package/dist/practice-teams.js.map +1 -0
  171. package/dist/product-analytics.d.ts +113 -80
  172. package/dist/product-analytics.js +18 -1
  173. package/dist/product-analytics.js.map +1 -1
  174. package/dist/pumping.d.ts +486 -0
  175. package/dist/pumping.js +94 -0
  176. package/dist/pumping.js.map +1 -0
  177. package/dist/pumping.test.d.ts +1 -0
  178. package/dist/pumping.test.js +62 -0
  179. package/dist/pumping.test.js.map +1 -0
  180. package/dist/questionnaire-imports.d.ts +197 -5
  181. package/dist/questionnaire-photos.d.ts +4 -4
  182. package/dist/sleep-average-context.d.ts +570 -0
  183. package/dist/sleep-average-context.js +286 -0
  184. package/dist/sleep-average-context.js.map +1 -0
  185. package/dist/sleep-average-context.test.d.ts +1 -0
  186. package/dist/sleep-average-context.test.js +290 -0
  187. package/dist/sleep-average-context.test.js.map +1 -0
  188. package/dist/sleep-average-summary.d.ts +46 -0
  189. package/dist/sleep-average-summary.js +127 -0
  190. package/dist/sleep-average-summary.js.map +1 -0
  191. package/dist/sleep-average-summary.test.d.ts +1 -0
  192. package/dist/sleep-average-summary.test.js +169 -0
  193. package/dist/sleep-average-summary.test.js.map +1 -0
  194. package/dist/sleep-awake-state.d.ts +197 -0
  195. package/dist/sleep-awake-state.js +25 -0
  196. package/dist/sleep-awake-state.js.map +1 -0
  197. package/dist/sleep-awake-state.test.d.ts +1 -0
  198. package/dist/sleep-awake-state.test.js +47 -0
  199. package/dist/sleep-awake-state.test.js.map +1 -0
  200. package/dist/sleep-completed-night.d.ts +2786 -0
  201. package/dist/sleep-completed-night.js +31 -0
  202. package/dist/sleep-completed-night.js.map +1 -0
  203. package/dist/sleep-methods.d.ts +15 -0
  204. package/dist/sleep-methods.js +9 -0
  205. package/dist/sleep-methods.js.map +1 -0
  206. package/dist/subscription-cancellation-feedback.d.ts +24 -24
  207. package/dist/support-faqs.d.ts +6 -6
  208. package/dist/support-tickets.d.ts +18 -18
  209. package/dist/trial-cards.test.d.ts +1 -0
  210. package/dist/trial-cards.test.js +30 -0
  211. package/dist/trial-cards.test.js.map +1 -0
  212. package/dist/website-feedback.d.ts +12 -12
  213. package/dist/zoom-meetings.d.ts +4 -4
  214. package/package.json +1 -1
@@ -15,13 +15,53 @@ export declare const questionnaireChoiceSchema: z.ZodObject<{
15
15
  allowFreeText?: boolean | undefined;
16
16
  }>;
17
17
  export type QuestionnaireChoice = z.infer<typeof questionnaireChoiceSchema>;
18
- export declare const questionnaireQuestionSchema: z.ZodObject<{
18
+ /** An explicit numeric presentation; existing unrestricted numbers remain unchanged. */
19
+ export declare const questionnaireNumberScaleSchema: z.ZodObject<{
20
+ min: z.ZodLiteral<1>;
21
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
22
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, "strict", z.ZodTypeAny, {
26
+ max: 4 | 10;
27
+ min: 1;
28
+ lowLabel?: string | null | undefined;
29
+ middleLabel?: string | null | undefined;
30
+ highLabel?: string | null | undefined;
31
+ }, {
32
+ max: 4 | 10;
33
+ min: 1;
34
+ lowLabel?: string | null | undefined;
35
+ middleLabel?: string | null | undefined;
36
+ highLabel?: string | null | undefined;
37
+ }>;
38
+ export type QuestionnaireNumberScale = z.infer<typeof questionnaireNumberScaleSchema>;
39
+ export declare const questionnaireQuestionSchema: z.ZodEffects<z.ZodObject<{
19
40
  id: z.ZodString;
20
41
  section: z.ZodString;
21
42
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
43
  label: z.ZodString;
23
44
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
45
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
46
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47
+ min: z.ZodLiteral<1>;
48
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
49
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, "strict", z.ZodTypeAny, {
53
+ max: 4 | 10;
54
+ min: 1;
55
+ lowLabel?: string | null | undefined;
56
+ middleLabel?: string | null | undefined;
57
+ highLabel?: string | null | undefined;
58
+ }, {
59
+ max: 4 | 10;
60
+ min: 1;
61
+ lowLabel?: string | null | undefined;
62
+ middleLabel?: string | null | undefined;
63
+ highLabel?: string | null | undefined;
64
+ }>>>;
25
65
  required: z.ZodDefault<z.ZodBoolean>;
26
66
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
27
67
  id: z.ZodString;
@@ -47,10 +87,59 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
47
87
  id: string;
48
88
  label: string;
49
89
  required: boolean;
90
+ section: string;
50
91
  sortOrder: number;
92
+ helpText?: string | null | undefined;
93
+ sectionDescription?: string | null | undefined;
94
+ numberScale?: {
95
+ max: 4 | 10;
96
+ min: 1;
97
+ lowLabel?: string | null | undefined;
98
+ middleLabel?: string | null | undefined;
99
+ highLabel?: string | null | undefined;
100
+ } | null | undefined;
101
+ }, {
102
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
103
+ id: string;
104
+ label: string;
51
105
  section: string;
106
+ options?: {
107
+ id: string;
108
+ label: string;
109
+ allowFreeText?: boolean | undefined;
110
+ }[] | undefined;
52
111
  helpText?: string | null | undefined;
112
+ required?: boolean | undefined;
113
+ sortOrder?: number | undefined;
53
114
  sectionDescription?: string | null | undefined;
115
+ numberScale?: {
116
+ max: 4 | 10;
117
+ min: 1;
118
+ lowLabel?: string | null | undefined;
119
+ middleLabel?: string | null | undefined;
120
+ highLabel?: string | null | undefined;
121
+ } | null | undefined;
122
+ }>, {
123
+ options: {
124
+ id: string;
125
+ label: string;
126
+ allowFreeText?: boolean | undefined;
127
+ }[];
128
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
129
+ id: string;
130
+ label: string;
131
+ required: boolean;
132
+ section: string;
133
+ sortOrder: number;
134
+ helpText?: string | null | undefined;
135
+ sectionDescription?: string | null | undefined;
136
+ numberScale?: {
137
+ max: 4 | 10;
138
+ min: 1;
139
+ lowLabel?: string | null | undefined;
140
+ middleLabel?: string | null | undefined;
141
+ highLabel?: string | null | undefined;
142
+ } | null | undefined;
54
143
  }, {
55
144
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
56
145
  id: string;
@@ -65,6 +154,13 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
65
154
  required?: boolean | undefined;
66
155
  sortOrder?: number | undefined;
67
156
  sectionDescription?: string | null | undefined;
157
+ numberScale?: {
158
+ max: 4 | 10;
159
+ min: 1;
160
+ lowLabel?: string | null | undefined;
161
+ middleLabel?: string | null | undefined;
162
+ highLabel?: string | null | undefined;
163
+ } | null | undefined;
68
164
  }>;
69
165
  export type QuestionnaireQuestion = z.infer<typeof questionnaireQuestionSchema>;
70
166
  export declare const questionnaireChoiceAnswerSchema: z.ZodObject<{
@@ -127,13 +223,32 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
127
223
  name: z.ZodString;
128
224
  title: z.ZodString;
129
225
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
- questions: z.ZodArray<z.ZodObject<{
226
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
131
227
  id: z.ZodString;
132
228
  section: z.ZodString;
133
229
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
230
  label: z.ZodString;
135
231
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
232
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
233
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
234
+ min: z.ZodLiteral<1>;
235
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
236
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ }, "strict", z.ZodTypeAny, {
240
+ max: 4 | 10;
241
+ min: 1;
242
+ lowLabel?: string | null | undefined;
243
+ middleLabel?: string | null | undefined;
244
+ highLabel?: string | null | undefined;
245
+ }, {
246
+ max: 4 | 10;
247
+ min: 1;
248
+ lowLabel?: string | null | undefined;
249
+ middleLabel?: string | null | undefined;
250
+ highLabel?: string | null | undefined;
251
+ }>>>;
137
252
  required: z.ZodDefault<z.ZodBoolean>;
138
253
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
139
254
  id: z.ZodString;
@@ -159,10 +274,59 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
159
274
  id: string;
160
275
  label: string;
161
276
  required: boolean;
277
+ section: string;
162
278
  sortOrder: number;
279
+ helpText?: string | null | undefined;
280
+ sectionDescription?: string | null | undefined;
281
+ numberScale?: {
282
+ max: 4 | 10;
283
+ min: 1;
284
+ lowLabel?: string | null | undefined;
285
+ middleLabel?: string | null | undefined;
286
+ highLabel?: string | null | undefined;
287
+ } | null | undefined;
288
+ }, {
289
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
290
+ id: string;
291
+ label: string;
163
292
  section: string;
293
+ options?: {
294
+ id: string;
295
+ label: string;
296
+ allowFreeText?: boolean | undefined;
297
+ }[] | undefined;
164
298
  helpText?: string | null | undefined;
299
+ required?: boolean | undefined;
300
+ sortOrder?: number | undefined;
165
301
  sectionDescription?: string | null | undefined;
302
+ numberScale?: {
303
+ max: 4 | 10;
304
+ min: 1;
305
+ lowLabel?: string | null | undefined;
306
+ middleLabel?: string | null | undefined;
307
+ highLabel?: string | null | undefined;
308
+ } | null | undefined;
309
+ }>, {
310
+ options: {
311
+ id: string;
312
+ label: string;
313
+ allowFreeText?: boolean | undefined;
314
+ }[];
315
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
316
+ id: string;
317
+ label: string;
318
+ required: boolean;
319
+ section: string;
320
+ sortOrder: number;
321
+ helpText?: string | null | undefined;
322
+ sectionDescription?: string | null | undefined;
323
+ numberScale?: {
324
+ max: 4 | 10;
325
+ min: 1;
326
+ lowLabel?: string | null | undefined;
327
+ middleLabel?: string | null | undefined;
328
+ highLabel?: string | null | undefined;
329
+ } | null | undefined;
166
330
  }, {
167
331
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
168
332
  id: string;
@@ -177,6 +341,13 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
177
341
  required?: boolean | undefined;
178
342
  sortOrder?: number | undefined;
179
343
  sectionDescription?: string | null | undefined;
344
+ numberScale?: {
345
+ max: 4 | 10;
346
+ min: 1;
347
+ lowLabel?: string | null | undefined;
348
+ middleLabel?: string | null | undefined;
349
+ highLabel?: string | null | undefined;
350
+ } | null | undefined;
180
351
  }>, "many">;
181
352
  isDefault: z.ZodDefault<z.ZodBoolean>;
182
353
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -201,10 +372,17 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
201
372
  id: string;
202
373
  label: string;
203
374
  required: boolean;
204
- sortOrder: number;
205
375
  section: string;
376
+ sortOrder: number;
206
377
  helpText?: string | null | undefined;
207
378
  sectionDescription?: string | null | undefined;
379
+ numberScale?: {
380
+ max: 4 | 10;
381
+ min: 1;
382
+ lowLabel?: string | null | undefined;
383
+ middleLabel?: string | null | undefined;
384
+ highLabel?: string | null | undefined;
385
+ } | null | undefined;
208
386
  }[];
209
387
  isDefault: boolean;
210
388
  description?: string | null | undefined;
@@ -232,6 +410,13 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
232
410
  required?: boolean | undefined;
233
411
  sortOrder?: number | undefined;
234
412
  sectionDescription?: string | null | undefined;
413
+ numberScale?: {
414
+ max: 4 | 10;
415
+ min: 1;
416
+ lowLabel?: string | null | undefined;
417
+ middleLabel?: string | null | undefined;
418
+ highLabel?: string | null | undefined;
419
+ } | null | undefined;
235
420
  }[];
236
421
  description?: string | null | undefined;
237
422
  archivedAt?: string | null | undefined;
@@ -243,13 +428,32 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
243
428
  name: z.ZodOptional<z.ZodString>;
244
429
  title: z.ZodString;
245
430
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
- questions: z.ZodArray<z.ZodObject<{
431
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
247
432
  id: z.ZodString;
248
433
  section: z.ZodString;
249
434
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
435
  label: z.ZodString;
251
436
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
437
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
438
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
439
+ min: z.ZodLiteral<1>;
440
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
441
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
+ }, "strict", z.ZodTypeAny, {
445
+ max: 4 | 10;
446
+ min: 1;
447
+ lowLabel?: string | null | undefined;
448
+ middleLabel?: string | null | undefined;
449
+ highLabel?: string | null | undefined;
450
+ }, {
451
+ max: 4 | 10;
452
+ min: 1;
453
+ lowLabel?: string | null | undefined;
454
+ middleLabel?: string | null | undefined;
455
+ highLabel?: string | null | undefined;
456
+ }>>>;
253
457
  required: z.ZodDefault<z.ZodBoolean>;
254
458
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
255
459
  id: z.ZodString;
@@ -275,10 +479,59 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
275
479
  id: string;
276
480
  label: string;
277
481
  required: boolean;
482
+ section: string;
278
483
  sortOrder: number;
484
+ helpText?: string | null | undefined;
485
+ sectionDescription?: string | null | undefined;
486
+ numberScale?: {
487
+ max: 4 | 10;
488
+ min: 1;
489
+ lowLabel?: string | null | undefined;
490
+ middleLabel?: string | null | undefined;
491
+ highLabel?: string | null | undefined;
492
+ } | null | undefined;
493
+ }, {
494
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
495
+ id: string;
496
+ label: string;
497
+ section: string;
498
+ options?: {
499
+ id: string;
500
+ label: string;
501
+ allowFreeText?: boolean | undefined;
502
+ }[] | undefined;
503
+ helpText?: string | null | undefined;
504
+ required?: boolean | undefined;
505
+ sortOrder?: number | undefined;
506
+ sectionDescription?: string | null | undefined;
507
+ numberScale?: {
508
+ max: 4 | 10;
509
+ min: 1;
510
+ lowLabel?: string | null | undefined;
511
+ middleLabel?: string | null | undefined;
512
+ highLabel?: string | null | undefined;
513
+ } | null | undefined;
514
+ }>, {
515
+ options: {
516
+ id: string;
517
+ label: string;
518
+ allowFreeText?: boolean | undefined;
519
+ }[];
520
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
521
+ id: string;
522
+ label: string;
523
+ required: boolean;
279
524
  section: string;
525
+ sortOrder: number;
280
526
  helpText?: string | null | undefined;
281
527
  sectionDescription?: string | null | undefined;
528
+ numberScale?: {
529
+ max: 4 | 10;
530
+ min: 1;
531
+ lowLabel?: string | null | undefined;
532
+ middleLabel?: string | null | undefined;
533
+ highLabel?: string | null | undefined;
534
+ } | null | undefined;
282
535
  }, {
283
536
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
284
537
  id: string;
@@ -293,6 +546,13 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
293
546
  required?: boolean | undefined;
294
547
  sortOrder?: number | undefined;
295
548
  sectionDescription?: string | null | undefined;
549
+ numberScale?: {
550
+ max: 4 | 10;
551
+ min: 1;
552
+ lowLabel?: string | null | undefined;
553
+ middleLabel?: string | null | undefined;
554
+ highLabel?: string | null | undefined;
555
+ } | null | undefined;
296
556
  }>, "many">;
297
557
  }, "strip", z.ZodTypeAny, {
298
558
  title: string;
@@ -306,10 +566,17 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
306
566
  id: string;
307
567
  label: string;
308
568
  required: boolean;
309
- sortOrder: number;
310
569
  section: string;
570
+ sortOrder: number;
311
571
  helpText?: string | null | undefined;
312
572
  sectionDescription?: string | null | undefined;
573
+ numberScale?: {
574
+ max: 4 | 10;
575
+ min: 1;
576
+ lowLabel?: string | null | undefined;
577
+ middleLabel?: string | null | undefined;
578
+ highLabel?: string | null | undefined;
579
+ } | null | undefined;
313
580
  }[];
314
581
  name?: string | undefined;
315
582
  description?: string | null | undefined;
@@ -329,6 +596,13 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
329
596
  required?: boolean | undefined;
330
597
  sortOrder?: number | undefined;
331
598
  sectionDescription?: string | null | undefined;
599
+ numberScale?: {
600
+ max: 4 | 10;
601
+ min: 1;
602
+ lowLabel?: string | null | undefined;
603
+ middleLabel?: string | null | undefined;
604
+ highLabel?: string | null | undefined;
605
+ } | null | undefined;
332
606
  }[];
333
607
  name?: string | undefined;
334
608
  description?: string | null | undefined;
@@ -338,13 +612,32 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
338
612
  name: z.ZodString;
339
613
  title: z.ZodString;
340
614
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
341
- questions: z.ZodArray<z.ZodObject<{
615
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
342
616
  id: z.ZodString;
343
617
  section: z.ZodString;
344
618
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
619
  label: z.ZodString;
346
620
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
621
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
622
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
623
+ min: z.ZodLiteral<1>;
624
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
625
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
626
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
628
+ }, "strict", z.ZodTypeAny, {
629
+ max: 4 | 10;
630
+ min: 1;
631
+ lowLabel?: string | null | undefined;
632
+ middleLabel?: string | null | undefined;
633
+ highLabel?: string | null | undefined;
634
+ }, {
635
+ max: 4 | 10;
636
+ min: 1;
637
+ lowLabel?: string | null | undefined;
638
+ middleLabel?: string | null | undefined;
639
+ highLabel?: string | null | undefined;
640
+ }>>>;
348
641
  required: z.ZodDefault<z.ZodBoolean>;
349
642
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
350
643
  id: z.ZodString;
@@ -370,10 +663,59 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
370
663
  id: string;
371
664
  label: string;
372
665
  required: boolean;
666
+ section: string;
373
667
  sortOrder: number;
668
+ helpText?: string | null | undefined;
669
+ sectionDescription?: string | null | undefined;
670
+ numberScale?: {
671
+ max: 4 | 10;
672
+ min: 1;
673
+ lowLabel?: string | null | undefined;
674
+ middleLabel?: string | null | undefined;
675
+ highLabel?: string | null | undefined;
676
+ } | null | undefined;
677
+ }, {
678
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
679
+ id: string;
680
+ label: string;
374
681
  section: string;
682
+ options?: {
683
+ id: string;
684
+ label: string;
685
+ allowFreeText?: boolean | undefined;
686
+ }[] | undefined;
375
687
  helpText?: string | null | undefined;
688
+ required?: boolean | undefined;
689
+ sortOrder?: number | undefined;
376
690
  sectionDescription?: string | null | undefined;
691
+ numberScale?: {
692
+ max: 4 | 10;
693
+ min: 1;
694
+ lowLabel?: string | null | undefined;
695
+ middleLabel?: string | null | undefined;
696
+ highLabel?: string | null | undefined;
697
+ } | null | undefined;
698
+ }>, {
699
+ options: {
700
+ id: string;
701
+ label: string;
702
+ allowFreeText?: boolean | undefined;
703
+ }[];
704
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
705
+ id: string;
706
+ label: string;
707
+ required: boolean;
708
+ section: string;
709
+ sortOrder: number;
710
+ helpText?: string | null | undefined;
711
+ sectionDescription?: string | null | undefined;
712
+ numberScale?: {
713
+ max: 4 | 10;
714
+ min: 1;
715
+ lowLabel?: string | null | undefined;
716
+ middleLabel?: string | null | undefined;
717
+ highLabel?: string | null | undefined;
718
+ } | null | undefined;
377
719
  }, {
378
720
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
379
721
  id: string;
@@ -388,6 +730,13 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
388
730
  required?: boolean | undefined;
389
731
  sortOrder?: number | undefined;
390
732
  sectionDescription?: string | null | undefined;
733
+ numberScale?: {
734
+ max: 4 | 10;
735
+ min: 1;
736
+ lowLabel?: string | null | undefined;
737
+ middleLabel?: string | null | undefined;
738
+ highLabel?: string | null | undefined;
739
+ } | null | undefined;
391
740
  }>, "many">;
392
741
  }, "strip", z.ZodTypeAny, {
393
742
  name: string;
@@ -402,10 +751,17 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
402
751
  id: string;
403
752
  label: string;
404
753
  required: boolean;
405
- sortOrder: number;
406
754
  section: string;
755
+ sortOrder: number;
407
756
  helpText?: string | null | undefined;
408
757
  sectionDescription?: string | null | undefined;
758
+ numberScale?: {
759
+ max: 4 | 10;
760
+ min: 1;
761
+ lowLabel?: string | null | undefined;
762
+ middleLabel?: string | null | undefined;
763
+ highLabel?: string | null | undefined;
764
+ } | null | undefined;
409
765
  }[];
410
766
  description?: string | null | undefined;
411
767
  }, {
@@ -425,6 +781,13 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
425
781
  required?: boolean | undefined;
426
782
  sortOrder?: number | undefined;
427
783
  sectionDescription?: string | null | undefined;
784
+ numberScale?: {
785
+ max: 4 | 10;
786
+ min: 1;
787
+ lowLabel?: string | null | undefined;
788
+ middleLabel?: string | null | undefined;
789
+ highLabel?: string | null | undefined;
790
+ } | null | undefined;
428
791
  }[];
429
792
  description?: string | null | undefined;
430
793
  }>;
@@ -433,13 +796,32 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
433
796
  name: z.ZodOptional<z.ZodString>;
434
797
  title: z.ZodOptional<z.ZodString>;
435
798
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
436
- questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
799
+ questions: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
437
800
  id: z.ZodString;
438
801
  section: z.ZodString;
439
802
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
440
803
  label: z.ZodString;
441
804
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
805
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
806
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
807
+ min: z.ZodLiteral<1>;
808
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
809
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
811
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
812
+ }, "strict", z.ZodTypeAny, {
813
+ max: 4 | 10;
814
+ min: 1;
815
+ lowLabel?: string | null | undefined;
816
+ middleLabel?: string | null | undefined;
817
+ highLabel?: string | null | undefined;
818
+ }, {
819
+ max: 4 | 10;
820
+ min: 1;
821
+ lowLabel?: string | null | undefined;
822
+ middleLabel?: string | null | undefined;
823
+ highLabel?: string | null | undefined;
824
+ }>>>;
443
825
  required: z.ZodDefault<z.ZodBoolean>;
444
826
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
445
827
  id: z.ZodString;
@@ -465,10 +847,59 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
465
847
  id: string;
466
848
  label: string;
467
849
  required: boolean;
850
+ section: string;
468
851
  sortOrder: number;
852
+ helpText?: string | null | undefined;
853
+ sectionDescription?: string | null | undefined;
854
+ numberScale?: {
855
+ max: 4 | 10;
856
+ min: 1;
857
+ lowLabel?: string | null | undefined;
858
+ middleLabel?: string | null | undefined;
859
+ highLabel?: string | null | undefined;
860
+ } | null | undefined;
861
+ }, {
862
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
863
+ id: string;
864
+ label: string;
865
+ section: string;
866
+ options?: {
867
+ id: string;
868
+ label: string;
869
+ allowFreeText?: boolean | undefined;
870
+ }[] | undefined;
871
+ helpText?: string | null | undefined;
872
+ required?: boolean | undefined;
873
+ sortOrder?: number | undefined;
874
+ sectionDescription?: string | null | undefined;
875
+ numberScale?: {
876
+ max: 4 | 10;
877
+ min: 1;
878
+ lowLabel?: string | null | undefined;
879
+ middleLabel?: string | null | undefined;
880
+ highLabel?: string | null | undefined;
881
+ } | null | undefined;
882
+ }>, {
883
+ options: {
884
+ id: string;
885
+ label: string;
886
+ allowFreeText?: boolean | undefined;
887
+ }[];
888
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
889
+ id: string;
890
+ label: string;
891
+ required: boolean;
469
892
  section: string;
893
+ sortOrder: number;
470
894
  helpText?: string | null | undefined;
471
895
  sectionDescription?: string | null | undefined;
896
+ numberScale?: {
897
+ max: 4 | 10;
898
+ min: 1;
899
+ lowLabel?: string | null | undefined;
900
+ middleLabel?: string | null | undefined;
901
+ highLabel?: string | null | undefined;
902
+ } | null | undefined;
472
903
  }, {
473
904
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
474
905
  id: string;
@@ -483,6 +914,13 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
483
914
  required?: boolean | undefined;
484
915
  sortOrder?: number | undefined;
485
916
  sectionDescription?: string | null | undefined;
917
+ numberScale?: {
918
+ max: 4 | 10;
919
+ min: 1;
920
+ lowLabel?: string | null | undefined;
921
+ middleLabel?: string | null | undefined;
922
+ highLabel?: string | null | undefined;
923
+ } | null | undefined;
486
924
  }>, "many">>;
487
925
  archived: z.ZodOptional<z.ZodBoolean>;
488
926
  }, "strip", z.ZodTypeAny, {
@@ -500,10 +938,17 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
500
938
  id: string;
501
939
  label: string;
502
940
  required: boolean;
503
- sortOrder: number;
504
941
  section: string;
942
+ sortOrder: number;
505
943
  helpText?: string | null | undefined;
506
944
  sectionDescription?: string | null | undefined;
945
+ numberScale?: {
946
+ max: 4 | 10;
947
+ min: 1;
948
+ lowLabel?: string | null | undefined;
949
+ middleLabel?: string | null | undefined;
950
+ highLabel?: string | null | undefined;
951
+ } | null | undefined;
507
952
  }[] | undefined;
508
953
  }, {
509
954
  name?: string | undefined;
@@ -524,6 +969,13 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
524
969
  required?: boolean | undefined;
525
970
  sortOrder?: number | undefined;
526
971
  sectionDescription?: string | null | undefined;
972
+ numberScale?: {
973
+ max: 4 | 10;
974
+ min: 1;
975
+ lowLabel?: string | null | undefined;
976
+ middleLabel?: string | null | undefined;
977
+ highLabel?: string | null | undefined;
978
+ } | null | undefined;
527
979
  }[] | undefined;
528
980
  }>;
529
981
  export type CoachQuestionnaireTemplateUpdateRequest = z.infer<typeof coachQuestionnaireTemplateUpdateRequestSchema>;
@@ -535,13 +987,32 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
535
987
  name: z.ZodString;
536
988
  title: z.ZodString;
537
989
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
538
- questions: z.ZodArray<z.ZodObject<{
990
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
539
991
  id: z.ZodString;
540
992
  section: z.ZodString;
541
993
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
994
  label: z.ZodString;
543
995
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
996
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
997
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
998
+ min: z.ZodLiteral<1>;
999
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
1000
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
+ }, "strict", z.ZodTypeAny, {
1004
+ max: 4 | 10;
1005
+ min: 1;
1006
+ lowLabel?: string | null | undefined;
1007
+ middleLabel?: string | null | undefined;
1008
+ highLabel?: string | null | undefined;
1009
+ }, {
1010
+ max: 4 | 10;
1011
+ min: 1;
1012
+ lowLabel?: string | null | undefined;
1013
+ middleLabel?: string | null | undefined;
1014
+ highLabel?: string | null | undefined;
1015
+ }>>>;
545
1016
  required: z.ZodDefault<z.ZodBoolean>;
546
1017
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
547
1018
  id: z.ZodString;
@@ -567,10 +1038,59 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
567
1038
  id: string;
568
1039
  label: string;
569
1040
  required: boolean;
1041
+ section: string;
570
1042
  sortOrder: number;
1043
+ helpText?: string | null | undefined;
1044
+ sectionDescription?: string | null | undefined;
1045
+ numberScale?: {
1046
+ max: 4 | 10;
1047
+ min: 1;
1048
+ lowLabel?: string | null | undefined;
1049
+ middleLabel?: string | null | undefined;
1050
+ highLabel?: string | null | undefined;
1051
+ } | null | undefined;
1052
+ }, {
1053
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1054
+ id: string;
1055
+ label: string;
1056
+ section: string;
1057
+ options?: {
1058
+ id: string;
1059
+ label: string;
1060
+ allowFreeText?: boolean | undefined;
1061
+ }[] | undefined;
1062
+ helpText?: string | null | undefined;
1063
+ required?: boolean | undefined;
1064
+ sortOrder?: number | undefined;
1065
+ sectionDescription?: string | null | undefined;
1066
+ numberScale?: {
1067
+ max: 4 | 10;
1068
+ min: 1;
1069
+ lowLabel?: string | null | undefined;
1070
+ middleLabel?: string | null | undefined;
1071
+ highLabel?: string | null | undefined;
1072
+ } | null | undefined;
1073
+ }>, {
1074
+ options: {
1075
+ id: string;
1076
+ label: string;
1077
+ allowFreeText?: boolean | undefined;
1078
+ }[];
1079
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1080
+ id: string;
1081
+ label: string;
1082
+ required: boolean;
571
1083
  section: string;
1084
+ sortOrder: number;
572
1085
  helpText?: string | null | undefined;
573
1086
  sectionDescription?: string | null | undefined;
1087
+ numberScale?: {
1088
+ max: 4 | 10;
1089
+ min: 1;
1090
+ lowLabel?: string | null | undefined;
1091
+ middleLabel?: string | null | undefined;
1092
+ highLabel?: string | null | undefined;
1093
+ } | null | undefined;
574
1094
  }, {
575
1095
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
576
1096
  id: string;
@@ -585,6 +1105,13 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
585
1105
  required?: boolean | undefined;
586
1106
  sortOrder?: number | undefined;
587
1107
  sectionDescription?: string | null | undefined;
1108
+ numberScale?: {
1109
+ max: 4 | 10;
1110
+ min: 1;
1111
+ lowLabel?: string | null | undefined;
1112
+ middleLabel?: string | null | undefined;
1113
+ highLabel?: string | null | undefined;
1114
+ } | null | undefined;
588
1115
  }>, "many">;
589
1116
  isDefault: z.ZodDefault<z.ZodBoolean>;
590
1117
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -609,10 +1136,17 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
609
1136
  id: string;
610
1137
  label: string;
611
1138
  required: boolean;
612
- sortOrder: number;
613
1139
  section: string;
1140
+ sortOrder: number;
614
1141
  helpText?: string | null | undefined;
615
1142
  sectionDescription?: string | null | undefined;
1143
+ numberScale?: {
1144
+ max: 4 | 10;
1145
+ min: 1;
1146
+ lowLabel?: string | null | undefined;
1147
+ middleLabel?: string | null | undefined;
1148
+ highLabel?: string | null | undefined;
1149
+ } | null | undefined;
616
1150
  }[];
617
1151
  isDefault: boolean;
618
1152
  description?: string | null | undefined;
@@ -640,6 +1174,13 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
640
1174
  required?: boolean | undefined;
641
1175
  sortOrder?: number | undefined;
642
1176
  sectionDescription?: string | null | undefined;
1177
+ numberScale?: {
1178
+ max: 4 | 10;
1179
+ min: 1;
1180
+ lowLabel?: string | null | undefined;
1181
+ middleLabel?: string | null | undefined;
1182
+ highLabel?: string | null | undefined;
1183
+ } | null | undefined;
643
1184
  }[];
644
1185
  description?: string | null | undefined;
645
1186
  archivedAt?: string | null | undefined;
@@ -665,10 +1206,17 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
665
1206
  id: string;
666
1207
  label: string;
667
1208
  required: boolean;
668
- sortOrder: number;
669
1209
  section: string;
1210
+ sortOrder: number;
670
1211
  helpText?: string | null | undefined;
671
1212
  sectionDescription?: string | null | undefined;
1213
+ numberScale?: {
1214
+ max: 4 | 10;
1215
+ min: 1;
1216
+ lowLabel?: string | null | undefined;
1217
+ middleLabel?: string | null | undefined;
1218
+ highLabel?: string | null | undefined;
1219
+ } | null | undefined;
672
1220
  }[];
673
1221
  isDefault: boolean;
674
1222
  description?: string | null | undefined;
@@ -698,6 +1246,13 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
698
1246
  required?: boolean | undefined;
699
1247
  sortOrder?: number | undefined;
700
1248
  sectionDescription?: string | null | undefined;
1249
+ numberScale?: {
1250
+ max: 4 | 10;
1251
+ min: 1;
1252
+ lowLabel?: string | null | undefined;
1253
+ middleLabel?: string | null | undefined;
1254
+ highLabel?: string | null | undefined;
1255
+ } | null | undefined;
701
1256
  }[];
702
1257
  description?: string | null | undefined;
703
1258
  archivedAt?: string | null | undefined;
@@ -714,13 +1269,32 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
714
1269
  name: z.ZodString;
715
1270
  title: z.ZodString;
716
1271
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
717
- questions: z.ZodArray<z.ZodObject<{
1272
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
718
1273
  id: z.ZodString;
719
1274
  section: z.ZodString;
720
1275
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
721
1276
  label: z.ZodString;
722
1277
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
1278
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
1279
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1280
+ min: z.ZodLiteral<1>;
1281
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
1282
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1283
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1284
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1285
+ }, "strict", z.ZodTypeAny, {
1286
+ max: 4 | 10;
1287
+ min: 1;
1288
+ lowLabel?: string | null | undefined;
1289
+ middleLabel?: string | null | undefined;
1290
+ highLabel?: string | null | undefined;
1291
+ }, {
1292
+ max: 4 | 10;
1293
+ min: 1;
1294
+ lowLabel?: string | null | undefined;
1295
+ middleLabel?: string | null | undefined;
1296
+ highLabel?: string | null | undefined;
1297
+ }>>>;
724
1298
  required: z.ZodDefault<z.ZodBoolean>;
725
1299
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
726
1300
  id: z.ZodString;
@@ -746,10 +1320,59 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
746
1320
  id: string;
747
1321
  label: string;
748
1322
  required: boolean;
1323
+ section: string;
749
1324
  sortOrder: number;
1325
+ helpText?: string | null | undefined;
1326
+ sectionDescription?: string | null | undefined;
1327
+ numberScale?: {
1328
+ max: 4 | 10;
1329
+ min: 1;
1330
+ lowLabel?: string | null | undefined;
1331
+ middleLabel?: string | null | undefined;
1332
+ highLabel?: string | null | undefined;
1333
+ } | null | undefined;
1334
+ }, {
1335
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1336
+ id: string;
1337
+ label: string;
1338
+ section: string;
1339
+ options?: {
1340
+ id: string;
1341
+ label: string;
1342
+ allowFreeText?: boolean | undefined;
1343
+ }[] | undefined;
1344
+ helpText?: string | null | undefined;
1345
+ required?: boolean | undefined;
1346
+ sortOrder?: number | undefined;
1347
+ sectionDescription?: string | null | undefined;
1348
+ numberScale?: {
1349
+ max: 4 | 10;
1350
+ min: 1;
1351
+ lowLabel?: string | null | undefined;
1352
+ middleLabel?: string | null | undefined;
1353
+ highLabel?: string | null | undefined;
1354
+ } | null | undefined;
1355
+ }>, {
1356
+ options: {
1357
+ id: string;
1358
+ label: string;
1359
+ allowFreeText?: boolean | undefined;
1360
+ }[];
1361
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1362
+ id: string;
1363
+ label: string;
1364
+ required: boolean;
750
1365
  section: string;
1366
+ sortOrder: number;
751
1367
  helpText?: string | null | undefined;
752
1368
  sectionDescription?: string | null | undefined;
1369
+ numberScale?: {
1370
+ max: 4 | 10;
1371
+ min: 1;
1372
+ lowLabel?: string | null | undefined;
1373
+ middleLabel?: string | null | undefined;
1374
+ highLabel?: string | null | undefined;
1375
+ } | null | undefined;
753
1376
  }, {
754
1377
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
755
1378
  id: string;
@@ -764,6 +1387,13 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
764
1387
  required?: boolean | undefined;
765
1388
  sortOrder?: number | undefined;
766
1389
  sectionDescription?: string | null | undefined;
1390
+ numberScale?: {
1391
+ max: 4 | 10;
1392
+ min: 1;
1393
+ lowLabel?: string | null | undefined;
1394
+ middleLabel?: string | null | undefined;
1395
+ highLabel?: string | null | undefined;
1396
+ } | null | undefined;
767
1397
  }>, "many">;
768
1398
  isDefault: z.ZodDefault<z.ZodBoolean>;
769
1399
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -788,10 +1418,17 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
788
1418
  id: string;
789
1419
  label: string;
790
1420
  required: boolean;
791
- sortOrder: number;
792
1421
  section: string;
1422
+ sortOrder: number;
793
1423
  helpText?: string | null | undefined;
794
1424
  sectionDescription?: string | null | undefined;
1425
+ numberScale?: {
1426
+ max: 4 | 10;
1427
+ min: 1;
1428
+ lowLabel?: string | null | undefined;
1429
+ middleLabel?: string | null | undefined;
1430
+ highLabel?: string | null | undefined;
1431
+ } | null | undefined;
795
1432
  }[];
796
1433
  isDefault: boolean;
797
1434
  description?: string | null | undefined;
@@ -819,6 +1456,13 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
819
1456
  required?: boolean | undefined;
820
1457
  sortOrder?: number | undefined;
821
1458
  sectionDescription?: string | null | undefined;
1459
+ numberScale?: {
1460
+ max: 4 | 10;
1461
+ min: 1;
1462
+ lowLabel?: string | null | undefined;
1463
+ middleLabel?: string | null | undefined;
1464
+ highLabel?: string | null | undefined;
1465
+ } | null | undefined;
822
1466
  }[];
823
1467
  description?: string | null | undefined;
824
1468
  archivedAt?: string | null | undefined;
@@ -844,10 +1488,17 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
844
1488
  id: string;
845
1489
  label: string;
846
1490
  required: boolean;
847
- sortOrder: number;
848
1491
  section: string;
1492
+ sortOrder: number;
849
1493
  helpText?: string | null | undefined;
850
1494
  sectionDescription?: string | null | undefined;
1495
+ numberScale?: {
1496
+ max: 4 | 10;
1497
+ min: 1;
1498
+ lowLabel?: string | null | undefined;
1499
+ middleLabel?: string | null | undefined;
1500
+ highLabel?: string | null | undefined;
1501
+ } | null | undefined;
851
1502
  }[];
852
1503
  isDefault: boolean;
853
1504
  description?: string | null | undefined;
@@ -877,6 +1528,13 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
877
1528
  required?: boolean | undefined;
878
1529
  sortOrder?: number | undefined;
879
1530
  sectionDescription?: string | null | undefined;
1531
+ numberScale?: {
1532
+ max: 4 | 10;
1533
+ min: 1;
1534
+ lowLabel?: string | null | undefined;
1535
+ middleLabel?: string | null | undefined;
1536
+ highLabel?: string | null | undefined;
1537
+ } | null | undefined;
880
1538
  }[];
881
1539
  description?: string | null | undefined;
882
1540
  archivedAt?: string | null | undefined;
@@ -894,13 +1552,32 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
894
1552
  name: z.ZodString;
895
1553
  title: z.ZodString;
896
1554
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
897
- questions: z.ZodArray<z.ZodObject<{
1555
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
898
1556
  id: z.ZodString;
899
1557
  section: z.ZodString;
900
1558
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
901
1559
  label: z.ZodString;
902
1560
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
903
1561
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
1562
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1563
+ min: z.ZodLiteral<1>;
1564
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
1565
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1566
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1567
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1568
+ }, "strict", z.ZodTypeAny, {
1569
+ max: 4 | 10;
1570
+ min: 1;
1571
+ lowLabel?: string | null | undefined;
1572
+ middleLabel?: string | null | undefined;
1573
+ highLabel?: string | null | undefined;
1574
+ }, {
1575
+ max: 4 | 10;
1576
+ min: 1;
1577
+ lowLabel?: string | null | undefined;
1578
+ middleLabel?: string | null | undefined;
1579
+ highLabel?: string | null | undefined;
1580
+ }>>>;
904
1581
  required: z.ZodDefault<z.ZodBoolean>;
905
1582
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
906
1583
  id: z.ZodString;
@@ -926,10 +1603,59 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
926
1603
  id: string;
927
1604
  label: string;
928
1605
  required: boolean;
1606
+ section: string;
929
1607
  sortOrder: number;
1608
+ helpText?: string | null | undefined;
1609
+ sectionDescription?: string | null | undefined;
1610
+ numberScale?: {
1611
+ max: 4 | 10;
1612
+ min: 1;
1613
+ lowLabel?: string | null | undefined;
1614
+ middleLabel?: string | null | undefined;
1615
+ highLabel?: string | null | undefined;
1616
+ } | null | undefined;
1617
+ }, {
1618
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1619
+ id: string;
1620
+ label: string;
930
1621
  section: string;
1622
+ options?: {
1623
+ id: string;
1624
+ label: string;
1625
+ allowFreeText?: boolean | undefined;
1626
+ }[] | undefined;
931
1627
  helpText?: string | null | undefined;
1628
+ required?: boolean | undefined;
1629
+ sortOrder?: number | undefined;
932
1630
  sectionDescription?: string | null | undefined;
1631
+ numberScale?: {
1632
+ max: 4 | 10;
1633
+ min: 1;
1634
+ lowLabel?: string | null | undefined;
1635
+ middleLabel?: string | null | undefined;
1636
+ highLabel?: string | null | undefined;
1637
+ } | null | undefined;
1638
+ }>, {
1639
+ options: {
1640
+ id: string;
1641
+ label: string;
1642
+ allowFreeText?: boolean | undefined;
1643
+ }[];
1644
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1645
+ id: string;
1646
+ label: string;
1647
+ required: boolean;
1648
+ section: string;
1649
+ sortOrder: number;
1650
+ helpText?: string | null | undefined;
1651
+ sectionDescription?: string | null | undefined;
1652
+ numberScale?: {
1653
+ max: 4 | 10;
1654
+ min: 1;
1655
+ lowLabel?: string | null | undefined;
1656
+ middleLabel?: string | null | undefined;
1657
+ highLabel?: string | null | undefined;
1658
+ } | null | undefined;
933
1659
  }, {
934
1660
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
935
1661
  id: string;
@@ -944,6 +1670,13 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
944
1670
  required?: boolean | undefined;
945
1671
  sortOrder?: number | undefined;
946
1672
  sectionDescription?: string | null | undefined;
1673
+ numberScale?: {
1674
+ max: 4 | 10;
1675
+ min: 1;
1676
+ lowLabel?: string | null | undefined;
1677
+ middleLabel?: string | null | undefined;
1678
+ highLabel?: string | null | undefined;
1679
+ } | null | undefined;
947
1680
  }>, "many">;
948
1681
  isDefault: z.ZodDefault<z.ZodBoolean>;
949
1682
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -968,10 +1701,17 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
968
1701
  id: string;
969
1702
  label: string;
970
1703
  required: boolean;
971
- sortOrder: number;
972
1704
  section: string;
1705
+ sortOrder: number;
973
1706
  helpText?: string | null | undefined;
974
1707
  sectionDescription?: string | null | undefined;
1708
+ numberScale?: {
1709
+ max: 4 | 10;
1710
+ min: 1;
1711
+ lowLabel?: string | null | undefined;
1712
+ middleLabel?: string | null | undefined;
1713
+ highLabel?: string | null | undefined;
1714
+ } | null | undefined;
975
1715
  }[];
976
1716
  isDefault: boolean;
977
1717
  description?: string | null | undefined;
@@ -999,6 +1739,13 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
999
1739
  required?: boolean | undefined;
1000
1740
  sortOrder?: number | undefined;
1001
1741
  sectionDescription?: string | null | undefined;
1742
+ numberScale?: {
1743
+ max: 4 | 10;
1744
+ min: 1;
1745
+ lowLabel?: string | null | undefined;
1746
+ middleLabel?: string | null | undefined;
1747
+ highLabel?: string | null | undefined;
1748
+ } | null | undefined;
1002
1749
  }[];
1003
1750
  description?: string | null | undefined;
1004
1751
  archivedAt?: string | null | undefined;
@@ -1028,10 +1775,17 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
1028
1775
  id: string;
1029
1776
  label: string;
1030
1777
  required: boolean;
1031
- sortOrder: number;
1032
1778
  section: string;
1779
+ sortOrder: number;
1033
1780
  helpText?: string | null | undefined;
1034
1781
  sectionDescription?: string | null | undefined;
1782
+ numberScale?: {
1783
+ max: 4 | 10;
1784
+ min: 1;
1785
+ lowLabel?: string | null | undefined;
1786
+ middleLabel?: string | null | undefined;
1787
+ highLabel?: string | null | undefined;
1788
+ } | null | undefined;
1035
1789
  }[];
1036
1790
  isDefault: boolean;
1037
1791
  description?: string | null | undefined;
@@ -1064,6 +1818,13 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
1064
1818
  required?: boolean | undefined;
1065
1819
  sortOrder?: number | undefined;
1066
1820
  sectionDescription?: string | null | undefined;
1821
+ numberScale?: {
1822
+ max: 4 | 10;
1823
+ min: 1;
1824
+ lowLabel?: string | null | undefined;
1825
+ middleLabel?: string | null | undefined;
1826
+ highLabel?: string | null | undefined;
1827
+ } | null | undefined;
1067
1828
  }[];
1068
1829
  description?: string | null | undefined;
1069
1830
  archivedAt?: string | null | undefined;
@@ -1094,6 +1855,22 @@ export declare const coachFamilyQuestionnaireCreateRequestSchema: z.ZodObject<{
1094
1855
  babyId?: string | undefined;
1095
1856
  }>;
1096
1857
  export type CoachFamilyQuestionnaireCreateRequest = z.infer<typeof coachFamilyQuestionnaireCreateRequestSchema>;
1858
+ /** A stable attempt creates independent blank forms for a verified child subset, or one shared family form. */
1859
+ export declare const coachFamilyQuestionnaireSendRequestSchema: z.ZodObject<{
1860
+ templateId: z.ZodString;
1861
+ } & {
1862
+ requestId: z.ZodString;
1863
+ babyIds: z.ZodNullable<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ requestId: string;
1866
+ templateId: string;
1867
+ babyIds: string[] | null;
1868
+ }, {
1869
+ requestId: string;
1870
+ templateId: string;
1871
+ babyIds: string[] | null;
1872
+ }>;
1873
+ export type CoachFamilyQuestionnaireSendRequest = z.infer<typeof coachFamilyQuestionnaireSendRequestSchema>;
1097
1874
  export declare const familyQuestionnaireSchema: z.ZodObject<{
1098
1875
  id: z.ZodString;
1099
1876
  organizationId: z.ZodString;
@@ -1271,13 +2048,32 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1271
2048
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1272
2049
  templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
2050
  title: z.ZodString;
1274
- questions: z.ZodArray<z.ZodObject<{
2051
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
1275
2052
  id: z.ZodString;
1276
2053
  section: z.ZodString;
1277
2054
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1278
2055
  label: z.ZodString;
1279
2056
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1280
2057
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
2058
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2059
+ min: z.ZodLiteral<1>;
2060
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
2061
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2062
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2063
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2064
+ }, "strict", z.ZodTypeAny, {
2065
+ max: 4 | 10;
2066
+ min: 1;
2067
+ lowLabel?: string | null | undefined;
2068
+ middleLabel?: string | null | undefined;
2069
+ highLabel?: string | null | undefined;
2070
+ }, {
2071
+ max: 4 | 10;
2072
+ min: 1;
2073
+ lowLabel?: string | null | undefined;
2074
+ middleLabel?: string | null | undefined;
2075
+ highLabel?: string | null | undefined;
2076
+ }>>>;
1281
2077
  required: z.ZodDefault<z.ZodBoolean>;
1282
2078
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
1283
2079
  id: z.ZodString;
@@ -1303,10 +2099,59 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1303
2099
  id: string;
1304
2100
  label: string;
1305
2101
  required: boolean;
2102
+ section: string;
1306
2103
  sortOrder: number;
2104
+ helpText?: string | null | undefined;
2105
+ sectionDescription?: string | null | undefined;
2106
+ numberScale?: {
2107
+ max: 4 | 10;
2108
+ min: 1;
2109
+ lowLabel?: string | null | undefined;
2110
+ middleLabel?: string | null | undefined;
2111
+ highLabel?: string | null | undefined;
2112
+ } | null | undefined;
2113
+ }, {
2114
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
2115
+ id: string;
2116
+ label: string;
1307
2117
  section: string;
2118
+ options?: {
2119
+ id: string;
2120
+ label: string;
2121
+ allowFreeText?: boolean | undefined;
2122
+ }[] | undefined;
1308
2123
  helpText?: string | null | undefined;
2124
+ required?: boolean | undefined;
2125
+ sortOrder?: number | undefined;
1309
2126
  sectionDescription?: string | null | undefined;
2127
+ numberScale?: {
2128
+ max: 4 | 10;
2129
+ min: 1;
2130
+ lowLabel?: string | null | undefined;
2131
+ middleLabel?: string | null | undefined;
2132
+ highLabel?: string | null | undefined;
2133
+ } | null | undefined;
2134
+ }>, {
2135
+ options: {
2136
+ id: string;
2137
+ label: string;
2138
+ allowFreeText?: boolean | undefined;
2139
+ }[];
2140
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
2141
+ id: string;
2142
+ label: string;
2143
+ required: boolean;
2144
+ section: string;
2145
+ sortOrder: number;
2146
+ helpText?: string | null | undefined;
2147
+ sectionDescription?: string | null | undefined;
2148
+ numberScale?: {
2149
+ max: 4 | 10;
2150
+ min: 1;
2151
+ lowLabel?: string | null | undefined;
2152
+ middleLabel?: string | null | undefined;
2153
+ highLabel?: string | null | undefined;
2154
+ } | null | undefined;
1310
2155
  }, {
1311
2156
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1312
2157
  id: string;
@@ -1321,6 +2166,13 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1321
2166
  required?: boolean | undefined;
1322
2167
  sortOrder?: number | undefined;
1323
2168
  sectionDescription?: string | null | undefined;
2169
+ numberScale?: {
2170
+ max: 4 | 10;
2171
+ min: 1;
2172
+ lowLabel?: string | null | undefined;
2173
+ middleLabel?: string | null | undefined;
2174
+ highLabel?: string | null | undefined;
2175
+ } | null | undefined;
1324
2176
  }>, "many">;
1325
2177
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1326
2178
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1364,10 +2216,17 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1364
2216
  id: string;
1365
2217
  label: string;
1366
2218
  required: boolean;
1367
- sortOrder: number;
1368
2219
  section: string;
2220
+ sortOrder: number;
1369
2221
  helpText?: string | null | undefined;
1370
2222
  sectionDescription?: string | null | undefined;
2223
+ numberScale?: {
2224
+ max: 4 | 10;
2225
+ min: 1;
2226
+ lowLabel?: string | null | undefined;
2227
+ middleLabel?: string | null | undefined;
2228
+ highLabel?: string | null | undefined;
2229
+ } | null | undefined;
1371
2230
  }[];
1372
2231
  answers: Record<string, string | number | boolean | string[] | {
1373
2232
  selected: string | string[];
@@ -1380,8 +2239,6 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1380
2239
  coachName?: string | null | undefined;
1381
2240
  organizationName?: string | null | undefined;
1382
2241
  babyName?: string | null | undefined;
1383
- templateId?: string | null | undefined;
1384
- templateName?: string | null | undefined;
1385
2242
  organizationBranding?: {
1386
2243
  primaryColor?: string | null | undefined;
1387
2244
  accentColor?: string | null | undefined;
@@ -1418,6 +2275,8 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1418
2275
  updatedAt?: string | null | undefined;
1419
2276
  } | undefined;
1420
2277
  submittedAt?: string | null | undefined;
2278
+ templateId?: string | null | undefined;
2279
+ templateName?: string | null | undefined;
1421
2280
  }, {
1422
2281
  status: "notStarted" | "inProgress" | "submitted";
1423
2282
  id: string;
@@ -1441,6 +2300,13 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1441
2300
  required?: boolean | undefined;
1442
2301
  sortOrder?: number | undefined;
1443
2302
  sectionDescription?: string | null | undefined;
2303
+ numberScale?: {
2304
+ max: 4 | 10;
2305
+ min: 1;
2306
+ lowLabel?: string | null | undefined;
2307
+ middleLabel?: string | null | undefined;
2308
+ highLabel?: string | null | undefined;
2309
+ } | null | undefined;
1444
2310
  }[];
1445
2311
  answers: Record<string, string | number | boolean | string[] | {
1446
2312
  selected: string | string[];
@@ -1453,8 +2319,6 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1453
2319
  coachName?: string | null | undefined;
1454
2320
  organizationName?: string | null | undefined;
1455
2321
  babyName?: string | null | undefined;
1456
- templateId?: string | null | undefined;
1457
- templateName?: string | null | undefined;
1458
2322
  organizationBranding?: {
1459
2323
  primaryColor?: string | null | undefined;
1460
2324
  accentColor?: string | null | undefined;
@@ -1491,6 +2355,8 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1491
2355
  updatedAt?: string | null | undefined;
1492
2356
  } | undefined;
1493
2357
  submittedAt?: string | null | undefined;
2358
+ templateId?: string | null | undefined;
2359
+ templateName?: string | null | undefined;
1494
2360
  }>;
1495
2361
  export type FamilyQuestionnaire = z.infer<typeof familyQuestionnaireSchema>;
1496
2362
  export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
@@ -1671,13 +2537,32 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1671
2537
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1672
2538
  templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
2539
  title: z.ZodString;
1674
- questions: z.ZodArray<z.ZodObject<{
2540
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
1675
2541
  id: z.ZodString;
1676
2542
  section: z.ZodString;
1677
2543
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1678
2544
  label: z.ZodString;
1679
2545
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1680
2546
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
2547
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2548
+ min: z.ZodLiteral<1>;
2549
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
2550
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2551
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2552
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2553
+ }, "strict", z.ZodTypeAny, {
2554
+ max: 4 | 10;
2555
+ min: 1;
2556
+ lowLabel?: string | null | undefined;
2557
+ middleLabel?: string | null | undefined;
2558
+ highLabel?: string | null | undefined;
2559
+ }, {
2560
+ max: 4 | 10;
2561
+ min: 1;
2562
+ lowLabel?: string | null | undefined;
2563
+ middleLabel?: string | null | undefined;
2564
+ highLabel?: string | null | undefined;
2565
+ }>>>;
1681
2566
  required: z.ZodDefault<z.ZodBoolean>;
1682
2567
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
1683
2568
  id: z.ZodString;
@@ -1703,10 +2588,59 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1703
2588
  id: string;
1704
2589
  label: string;
1705
2590
  required: boolean;
2591
+ section: string;
1706
2592
  sortOrder: number;
2593
+ helpText?: string | null | undefined;
2594
+ sectionDescription?: string | null | undefined;
2595
+ numberScale?: {
2596
+ max: 4 | 10;
2597
+ min: 1;
2598
+ lowLabel?: string | null | undefined;
2599
+ middleLabel?: string | null | undefined;
2600
+ highLabel?: string | null | undefined;
2601
+ } | null | undefined;
2602
+ }, {
2603
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
2604
+ id: string;
2605
+ label: string;
2606
+ section: string;
2607
+ options?: {
2608
+ id: string;
2609
+ label: string;
2610
+ allowFreeText?: boolean | undefined;
2611
+ }[] | undefined;
2612
+ helpText?: string | null | undefined;
2613
+ required?: boolean | undefined;
2614
+ sortOrder?: number | undefined;
2615
+ sectionDescription?: string | null | undefined;
2616
+ numberScale?: {
2617
+ max: 4 | 10;
2618
+ min: 1;
2619
+ lowLabel?: string | null | undefined;
2620
+ middleLabel?: string | null | undefined;
2621
+ highLabel?: string | null | undefined;
2622
+ } | null | undefined;
2623
+ }>, {
2624
+ options: {
2625
+ id: string;
2626
+ label: string;
2627
+ allowFreeText?: boolean | undefined;
2628
+ }[];
2629
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
2630
+ id: string;
2631
+ label: string;
2632
+ required: boolean;
1707
2633
  section: string;
2634
+ sortOrder: number;
1708
2635
  helpText?: string | null | undefined;
1709
2636
  sectionDescription?: string | null | undefined;
2637
+ numberScale?: {
2638
+ max: 4 | 10;
2639
+ min: 1;
2640
+ lowLabel?: string | null | undefined;
2641
+ middleLabel?: string | null | undefined;
2642
+ highLabel?: string | null | undefined;
2643
+ } | null | undefined;
1710
2644
  }, {
1711
2645
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
1712
2646
  id: string;
@@ -1721,6 +2655,13 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1721
2655
  required?: boolean | undefined;
1722
2656
  sortOrder?: number | undefined;
1723
2657
  sectionDescription?: string | null | undefined;
2658
+ numberScale?: {
2659
+ max: 4 | 10;
2660
+ min: 1;
2661
+ lowLabel?: string | null | undefined;
2662
+ middleLabel?: string | null | undefined;
2663
+ highLabel?: string | null | undefined;
2664
+ } | null | undefined;
1724
2665
  }>, "many">;
1725
2666
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1726
2667
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1764,10 +2705,17 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1764
2705
  id: string;
1765
2706
  label: string;
1766
2707
  required: boolean;
1767
- sortOrder: number;
1768
2708
  section: string;
2709
+ sortOrder: number;
1769
2710
  helpText?: string | null | undefined;
1770
2711
  sectionDescription?: string | null | undefined;
2712
+ numberScale?: {
2713
+ max: 4 | 10;
2714
+ min: 1;
2715
+ lowLabel?: string | null | undefined;
2716
+ middleLabel?: string | null | undefined;
2717
+ highLabel?: string | null | undefined;
2718
+ } | null | undefined;
1771
2719
  }[];
1772
2720
  answers: Record<string, string | number | boolean | string[] | {
1773
2721
  selected: string | string[];
@@ -1780,8 +2728,6 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1780
2728
  coachName?: string | null | undefined;
1781
2729
  organizationName?: string | null | undefined;
1782
2730
  babyName?: string | null | undefined;
1783
- templateId?: string | null | undefined;
1784
- templateName?: string | null | undefined;
1785
2731
  organizationBranding?: {
1786
2732
  primaryColor?: string | null | undefined;
1787
2733
  accentColor?: string | null | undefined;
@@ -1818,6 +2764,8 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1818
2764
  updatedAt?: string | null | undefined;
1819
2765
  } | undefined;
1820
2766
  submittedAt?: string | null | undefined;
2767
+ templateId?: string | null | undefined;
2768
+ templateName?: string | null | undefined;
1821
2769
  }, {
1822
2770
  status: "notStarted" | "inProgress" | "submitted";
1823
2771
  id: string;
@@ -1841,6 +2789,13 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1841
2789
  required?: boolean | undefined;
1842
2790
  sortOrder?: number | undefined;
1843
2791
  sectionDescription?: string | null | undefined;
2792
+ numberScale?: {
2793
+ max: 4 | 10;
2794
+ min: 1;
2795
+ lowLabel?: string | null | undefined;
2796
+ middleLabel?: string | null | undefined;
2797
+ highLabel?: string | null | undefined;
2798
+ } | null | undefined;
1844
2799
  }[];
1845
2800
  answers: Record<string, string | number | boolean | string[] | {
1846
2801
  selected: string | string[];
@@ -1853,8 +2808,6 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1853
2808
  coachName?: string | null | undefined;
1854
2809
  organizationName?: string | null | undefined;
1855
2810
  babyName?: string | null | undefined;
1856
- templateId?: string | null | undefined;
1857
- templateName?: string | null | undefined;
1858
2811
  organizationBranding?: {
1859
2812
  primaryColor?: string | null | undefined;
1860
2813
  accentColor?: string | null | undefined;
@@ -1891,6 +2844,8 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1891
2844
  updatedAt?: string | null | undefined;
1892
2845
  } | undefined;
1893
2846
  submittedAt?: string | null | undefined;
2847
+ templateId?: string | null | undefined;
2848
+ templateName?: string | null | undefined;
1894
2849
  }>;
1895
2850
  }, "strip", z.ZodTypeAny, {
1896
2851
  questionnaire: {
@@ -1912,10 +2867,17 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1912
2867
  id: string;
1913
2868
  label: string;
1914
2869
  required: boolean;
1915
- sortOrder: number;
1916
2870
  section: string;
2871
+ sortOrder: number;
1917
2872
  helpText?: string | null | undefined;
1918
2873
  sectionDescription?: string | null | undefined;
2874
+ numberScale?: {
2875
+ max: 4 | 10;
2876
+ min: 1;
2877
+ lowLabel?: string | null | undefined;
2878
+ middleLabel?: string | null | undefined;
2879
+ highLabel?: string | null | undefined;
2880
+ } | null | undefined;
1919
2881
  }[];
1920
2882
  answers: Record<string, string | number | boolean | string[] | {
1921
2883
  selected: string | string[];
@@ -1928,8 +2890,6 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1928
2890
  coachName?: string | null | undefined;
1929
2891
  organizationName?: string | null | undefined;
1930
2892
  babyName?: string | null | undefined;
1931
- templateId?: string | null | undefined;
1932
- templateName?: string | null | undefined;
1933
2893
  organizationBranding?: {
1934
2894
  primaryColor?: string | null | undefined;
1935
2895
  accentColor?: string | null | undefined;
@@ -1966,6 +2926,8 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1966
2926
  updatedAt?: string | null | undefined;
1967
2927
  } | undefined;
1968
2928
  submittedAt?: string | null | undefined;
2929
+ templateId?: string | null | undefined;
2930
+ templateName?: string | null | undefined;
1969
2931
  };
1970
2932
  }, {
1971
2933
  questionnaire: {
@@ -1991,6 +2953,13 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1991
2953
  required?: boolean | undefined;
1992
2954
  sortOrder?: number | undefined;
1993
2955
  sectionDescription?: string | null | undefined;
2956
+ numberScale?: {
2957
+ max: 4 | 10;
2958
+ min: 1;
2959
+ lowLabel?: string | null | undefined;
2960
+ middleLabel?: string | null | undefined;
2961
+ highLabel?: string | null | undefined;
2962
+ } | null | undefined;
1994
2963
  }[];
1995
2964
  answers: Record<string, string | number | boolean | string[] | {
1996
2965
  selected: string | string[];
@@ -2003,8 +2972,6 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
2003
2972
  coachName?: string | null | undefined;
2004
2973
  organizationName?: string | null | undefined;
2005
2974
  babyName?: string | null | undefined;
2006
- templateId?: string | null | undefined;
2007
- templateName?: string | null | undefined;
2008
2975
  organizationBranding?: {
2009
2976
  primaryColor?: string | null | undefined;
2010
2977
  accentColor?: string | null | undefined;
@@ -2041,6 +3008,8 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
2041
3008
  updatedAt?: string | null | undefined;
2042
3009
  } | undefined;
2043
3010
  submittedAt?: string | null | undefined;
3011
+ templateId?: string | null | undefined;
3012
+ templateName?: string | null | undefined;
2044
3013
  };
2045
3014
  }>;
2046
3015
  export type FamilyQuestionnaireResponse = z.infer<typeof familyQuestionnaireResponseSchema>;
@@ -2222,13 +3191,32 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2222
3191
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2223
3192
  templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2224
3193
  title: z.ZodString;
2225
- questions: z.ZodArray<z.ZodObject<{
3194
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
2226
3195
  id: z.ZodString;
2227
3196
  section: z.ZodString;
2228
3197
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2229
3198
  label: z.ZodString;
2230
3199
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2231
3200
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
3201
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3202
+ min: z.ZodLiteral<1>;
3203
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
3204
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3205
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3206
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3207
+ }, "strict", z.ZodTypeAny, {
3208
+ max: 4 | 10;
3209
+ min: 1;
3210
+ lowLabel?: string | null | undefined;
3211
+ middleLabel?: string | null | undefined;
3212
+ highLabel?: string | null | undefined;
3213
+ }, {
3214
+ max: 4 | 10;
3215
+ min: 1;
3216
+ lowLabel?: string | null | undefined;
3217
+ middleLabel?: string | null | undefined;
3218
+ highLabel?: string | null | undefined;
3219
+ }>>>;
2232
3220
  required: z.ZodDefault<z.ZodBoolean>;
2233
3221
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
2234
3222
  id: z.ZodString;
@@ -2254,10 +3242,59 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2254
3242
  id: string;
2255
3243
  label: string;
2256
3244
  required: boolean;
3245
+ section: string;
2257
3246
  sortOrder: number;
3247
+ helpText?: string | null | undefined;
3248
+ sectionDescription?: string | null | undefined;
3249
+ numberScale?: {
3250
+ max: 4 | 10;
3251
+ min: 1;
3252
+ lowLabel?: string | null | undefined;
3253
+ middleLabel?: string | null | undefined;
3254
+ highLabel?: string | null | undefined;
3255
+ } | null | undefined;
3256
+ }, {
3257
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
3258
+ id: string;
3259
+ label: string;
3260
+ section: string;
3261
+ options?: {
3262
+ id: string;
3263
+ label: string;
3264
+ allowFreeText?: boolean | undefined;
3265
+ }[] | undefined;
3266
+ helpText?: string | null | undefined;
3267
+ required?: boolean | undefined;
3268
+ sortOrder?: number | undefined;
3269
+ sectionDescription?: string | null | undefined;
3270
+ numberScale?: {
3271
+ max: 4 | 10;
3272
+ min: 1;
3273
+ lowLabel?: string | null | undefined;
3274
+ middleLabel?: string | null | undefined;
3275
+ highLabel?: string | null | undefined;
3276
+ } | null | undefined;
3277
+ }>, {
3278
+ options: {
3279
+ id: string;
3280
+ label: string;
3281
+ allowFreeText?: boolean | undefined;
3282
+ }[];
3283
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
3284
+ id: string;
3285
+ label: string;
3286
+ required: boolean;
2258
3287
  section: string;
3288
+ sortOrder: number;
2259
3289
  helpText?: string | null | undefined;
2260
3290
  sectionDescription?: string | null | undefined;
3291
+ numberScale?: {
3292
+ max: 4 | 10;
3293
+ min: 1;
3294
+ lowLabel?: string | null | undefined;
3295
+ middleLabel?: string | null | undefined;
3296
+ highLabel?: string | null | undefined;
3297
+ } | null | undefined;
2261
3298
  }, {
2262
3299
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
2263
3300
  id: string;
@@ -2272,6 +3309,13 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2272
3309
  required?: boolean | undefined;
2273
3310
  sortOrder?: number | undefined;
2274
3311
  sectionDescription?: string | null | undefined;
3312
+ numberScale?: {
3313
+ max: 4 | 10;
3314
+ min: 1;
3315
+ lowLabel?: string | null | undefined;
3316
+ middleLabel?: string | null | undefined;
3317
+ highLabel?: string | null | undefined;
3318
+ } | null | undefined;
2275
3319
  }>, "many">;
2276
3320
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2277
3321
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2315,10 +3359,17 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2315
3359
  id: string;
2316
3360
  label: string;
2317
3361
  required: boolean;
2318
- sortOrder: number;
2319
3362
  section: string;
3363
+ sortOrder: number;
2320
3364
  helpText?: string | null | undefined;
2321
3365
  sectionDescription?: string | null | undefined;
3366
+ numberScale?: {
3367
+ max: 4 | 10;
3368
+ min: 1;
3369
+ lowLabel?: string | null | undefined;
3370
+ middleLabel?: string | null | undefined;
3371
+ highLabel?: string | null | undefined;
3372
+ } | null | undefined;
2322
3373
  }[];
2323
3374
  answers: Record<string, string | number | boolean | string[] | {
2324
3375
  selected: string | string[];
@@ -2331,8 +3382,6 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2331
3382
  coachName?: string | null | undefined;
2332
3383
  organizationName?: string | null | undefined;
2333
3384
  babyName?: string | null | undefined;
2334
- templateId?: string | null | undefined;
2335
- templateName?: string | null | undefined;
2336
3385
  organizationBranding?: {
2337
3386
  primaryColor?: string | null | undefined;
2338
3387
  accentColor?: string | null | undefined;
@@ -2369,6 +3418,8 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2369
3418
  updatedAt?: string | null | undefined;
2370
3419
  } | undefined;
2371
3420
  submittedAt?: string | null | undefined;
3421
+ templateId?: string | null | undefined;
3422
+ templateName?: string | null | undefined;
2372
3423
  }, {
2373
3424
  status: "notStarted" | "inProgress" | "submitted";
2374
3425
  id: string;
@@ -2392,6 +3443,13 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2392
3443
  required?: boolean | undefined;
2393
3444
  sortOrder?: number | undefined;
2394
3445
  sectionDescription?: string | null | undefined;
3446
+ numberScale?: {
3447
+ max: 4 | 10;
3448
+ min: 1;
3449
+ lowLabel?: string | null | undefined;
3450
+ middleLabel?: string | null | undefined;
3451
+ highLabel?: string | null | undefined;
3452
+ } | null | undefined;
2395
3453
  }[];
2396
3454
  answers: Record<string, string | number | boolean | string[] | {
2397
3455
  selected: string | string[];
@@ -2403,9 +3461,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2403
3461
  babyId?: string | null | undefined;
2404
3462
  coachName?: string | null | undefined;
2405
3463
  organizationName?: string | null | undefined;
2406
- babyName?: string | null | undefined;
2407
- templateId?: string | null | undefined;
2408
- templateName?: string | null | undefined;
3464
+ babyName?: string | null | undefined;
2409
3465
  organizationBranding?: {
2410
3466
  primaryColor?: string | null | undefined;
2411
3467
  accentColor?: string | null | undefined;
@@ -2442,6 +3498,8 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2442
3498
  updatedAt?: string | null | undefined;
2443
3499
  } | undefined;
2444
3500
  submittedAt?: string | null | undefined;
3501
+ templateId?: string | null | undefined;
3502
+ templateName?: string | null | undefined;
2445
3503
  }>>;
2446
3504
  }, "strip", z.ZodTypeAny, {
2447
3505
  questionnaire: {
@@ -2463,10 +3521,17 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2463
3521
  id: string;
2464
3522
  label: string;
2465
3523
  required: boolean;
2466
- sortOrder: number;
2467
3524
  section: string;
3525
+ sortOrder: number;
2468
3526
  helpText?: string | null | undefined;
2469
3527
  sectionDescription?: string | null | undefined;
3528
+ numberScale?: {
3529
+ max: 4 | 10;
3530
+ min: 1;
3531
+ lowLabel?: string | null | undefined;
3532
+ middleLabel?: string | null | undefined;
3533
+ highLabel?: string | null | undefined;
3534
+ } | null | undefined;
2470
3535
  }[];
2471
3536
  answers: Record<string, string | number | boolean | string[] | {
2472
3537
  selected: string | string[];
@@ -2479,8 +3544,6 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2479
3544
  coachName?: string | null | undefined;
2480
3545
  organizationName?: string | null | undefined;
2481
3546
  babyName?: string | null | undefined;
2482
- templateId?: string | null | undefined;
2483
- templateName?: string | null | undefined;
2484
3547
  organizationBranding?: {
2485
3548
  primaryColor?: string | null | undefined;
2486
3549
  accentColor?: string | null | undefined;
@@ -2517,6 +3580,8 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2517
3580
  updatedAt?: string | null | undefined;
2518
3581
  } | undefined;
2519
3582
  submittedAt?: string | null | undefined;
3583
+ templateId?: string | null | undefined;
3584
+ templateName?: string | null | undefined;
2520
3585
  } | null;
2521
3586
  }, {
2522
3587
  questionnaire: {
@@ -2542,6 +3607,13 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2542
3607
  required?: boolean | undefined;
2543
3608
  sortOrder?: number | undefined;
2544
3609
  sectionDescription?: string | null | undefined;
3610
+ numberScale?: {
3611
+ max: 4 | 10;
3612
+ min: 1;
3613
+ lowLabel?: string | null | undefined;
3614
+ middleLabel?: string | null | undefined;
3615
+ highLabel?: string | null | undefined;
3616
+ } | null | undefined;
2545
3617
  }[];
2546
3618
  answers: Record<string, string | number | boolean | string[] | {
2547
3619
  selected: string | string[];
@@ -2554,8 +3626,6 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2554
3626
  coachName?: string | null | undefined;
2555
3627
  organizationName?: string | null | undefined;
2556
3628
  babyName?: string | null | undefined;
2557
- templateId?: string | null | undefined;
2558
- templateName?: string | null | undefined;
2559
3629
  organizationBranding?: {
2560
3630
  primaryColor?: string | null | undefined;
2561
3631
  accentColor?: string | null | undefined;
@@ -2592,6 +3662,8 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2592
3662
  updatedAt?: string | null | undefined;
2593
3663
  } | undefined;
2594
3664
  submittedAt?: string | null | undefined;
3665
+ templateId?: string | null | undefined;
3666
+ templateName?: string | null | undefined;
2595
3667
  } | null;
2596
3668
  }>;
2597
3669
  export type FamilyQuestionnaireReadResponse = z.infer<typeof familyQuestionnaireReadResponseSchema>;
@@ -2781,13 +3853,32 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2781
3853
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2782
3854
  templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2783
3855
  title: z.ZodString;
2784
- questions: z.ZodArray<z.ZodObject<{
3856
+ questions: z.ZodArray<z.ZodEffects<z.ZodObject<{
2785
3857
  id: z.ZodString;
2786
3858
  section: z.ZodString;
2787
3859
  sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2788
3860
  label: z.ZodString;
2789
3861
  helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2790
3862
  type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
3863
+ numberScale: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3864
+ min: z.ZodLiteral<1>;
3865
+ max: z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<10>]>;
3866
+ lowLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3867
+ middleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3868
+ highLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3869
+ }, "strict", z.ZodTypeAny, {
3870
+ max: 4 | 10;
3871
+ min: 1;
3872
+ lowLabel?: string | null | undefined;
3873
+ middleLabel?: string | null | undefined;
3874
+ highLabel?: string | null | undefined;
3875
+ }, {
3876
+ max: 4 | 10;
3877
+ min: 1;
3878
+ lowLabel?: string | null | undefined;
3879
+ middleLabel?: string | null | undefined;
3880
+ highLabel?: string | null | undefined;
3881
+ }>>>;
2791
3882
  required: z.ZodDefault<z.ZodBoolean>;
2792
3883
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
2793
3884
  id: z.ZodString;
@@ -2813,10 +3904,59 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2813
3904
  id: string;
2814
3905
  label: string;
2815
3906
  required: boolean;
3907
+ section: string;
2816
3908
  sortOrder: number;
3909
+ helpText?: string | null | undefined;
3910
+ sectionDescription?: string | null | undefined;
3911
+ numberScale?: {
3912
+ max: 4 | 10;
3913
+ min: 1;
3914
+ lowLabel?: string | null | undefined;
3915
+ middleLabel?: string | null | undefined;
3916
+ highLabel?: string | null | undefined;
3917
+ } | null | undefined;
3918
+ }, {
3919
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
3920
+ id: string;
3921
+ label: string;
3922
+ section: string;
3923
+ options?: {
3924
+ id: string;
3925
+ label: string;
3926
+ allowFreeText?: boolean | undefined;
3927
+ }[] | undefined;
3928
+ helpText?: string | null | undefined;
3929
+ required?: boolean | undefined;
3930
+ sortOrder?: number | undefined;
3931
+ sectionDescription?: string | null | undefined;
3932
+ numberScale?: {
3933
+ max: 4 | 10;
3934
+ min: 1;
3935
+ lowLabel?: string | null | undefined;
3936
+ middleLabel?: string | null | undefined;
3937
+ highLabel?: string | null | undefined;
3938
+ } | null | undefined;
3939
+ }>, {
3940
+ options: {
3941
+ id: string;
3942
+ label: string;
3943
+ allowFreeText?: boolean | undefined;
3944
+ }[];
3945
+ type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
3946
+ id: string;
3947
+ label: string;
3948
+ required: boolean;
2817
3949
  section: string;
3950
+ sortOrder: number;
2818
3951
  helpText?: string | null | undefined;
2819
3952
  sectionDescription?: string | null | undefined;
3953
+ numberScale?: {
3954
+ max: 4 | 10;
3955
+ min: 1;
3956
+ lowLabel?: string | null | undefined;
3957
+ middleLabel?: string | null | undefined;
3958
+ highLabel?: string | null | undefined;
3959
+ } | null | undefined;
2820
3960
  }, {
2821
3961
  type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
2822
3962
  id: string;
@@ -2831,6 +3971,13 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2831
3971
  required?: boolean | undefined;
2832
3972
  sortOrder?: number | undefined;
2833
3973
  sectionDescription?: string | null | undefined;
3974
+ numberScale?: {
3975
+ max: 4 | 10;
3976
+ min: 1;
3977
+ lowLabel?: string | null | undefined;
3978
+ middleLabel?: string | null | undefined;
3979
+ highLabel?: string | null | undefined;
3980
+ } | null | undefined;
2834
3981
  }>, "many">;
2835
3982
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2836
3983
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2874,10 +4021,17 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2874
4021
  id: string;
2875
4022
  label: string;
2876
4023
  required: boolean;
2877
- sortOrder: number;
2878
4024
  section: string;
4025
+ sortOrder: number;
2879
4026
  helpText?: string | null | undefined;
2880
4027
  sectionDescription?: string | null | undefined;
4028
+ numberScale?: {
4029
+ max: 4 | 10;
4030
+ min: 1;
4031
+ lowLabel?: string | null | undefined;
4032
+ middleLabel?: string | null | undefined;
4033
+ highLabel?: string | null | undefined;
4034
+ } | null | undefined;
2881
4035
  }[];
2882
4036
  answers: Record<string, string | number | boolean | string[] | {
2883
4037
  selected: string | string[];
@@ -2890,8 +4044,6 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2890
4044
  coachName?: string | null | undefined;
2891
4045
  organizationName?: string | null | undefined;
2892
4046
  babyName?: string | null | undefined;
2893
- templateId?: string | null | undefined;
2894
- templateName?: string | null | undefined;
2895
4047
  organizationBranding?: {
2896
4048
  primaryColor?: string | null | undefined;
2897
4049
  accentColor?: string | null | undefined;
@@ -2928,6 +4080,8 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2928
4080
  updatedAt?: string | null | undefined;
2929
4081
  } | undefined;
2930
4082
  submittedAt?: string | null | undefined;
4083
+ templateId?: string | null | undefined;
4084
+ templateName?: string | null | undefined;
2931
4085
  }, {
2932
4086
  status: "notStarted" | "inProgress" | "submitted";
2933
4087
  id: string;
@@ -2951,6 +4105,13 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2951
4105
  required?: boolean | undefined;
2952
4106
  sortOrder?: number | undefined;
2953
4107
  sectionDescription?: string | null | undefined;
4108
+ numberScale?: {
4109
+ max: 4 | 10;
4110
+ min: 1;
4111
+ lowLabel?: string | null | undefined;
4112
+ middleLabel?: string | null | undefined;
4113
+ highLabel?: string | null | undefined;
4114
+ } | null | undefined;
2954
4115
  }[];
2955
4116
  answers: Record<string, string | number | boolean | string[] | {
2956
4117
  selected: string | string[];
@@ -2963,8 +4124,6 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2963
4124
  coachName?: string | null | undefined;
2964
4125
  organizationName?: string | null | undefined;
2965
4126
  babyName?: string | null | undefined;
2966
- templateId?: string | null | undefined;
2967
- templateName?: string | null | undefined;
2968
4127
  organizationBranding?: {
2969
4128
  primaryColor?: string | null | undefined;
2970
4129
  accentColor?: string | null | undefined;
@@ -3001,6 +4160,8 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3001
4160
  updatedAt?: string | null | undefined;
3002
4161
  } | undefined;
3003
4162
  submittedAt?: string | null | undefined;
4163
+ templateId?: string | null | undefined;
4164
+ templateName?: string | null | undefined;
3004
4165
  }>, "many">;
3005
4166
  }, "strip", z.ZodTypeAny, {
3006
4167
  questionnaires: {
@@ -3022,10 +4183,17 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3022
4183
  id: string;
3023
4184
  label: string;
3024
4185
  required: boolean;
3025
- sortOrder: number;
3026
4186
  section: string;
4187
+ sortOrder: number;
3027
4188
  helpText?: string | null | undefined;
3028
4189
  sectionDescription?: string | null | undefined;
4190
+ numberScale?: {
4191
+ max: 4 | 10;
4192
+ min: 1;
4193
+ lowLabel?: string | null | undefined;
4194
+ middleLabel?: string | null | undefined;
4195
+ highLabel?: string | null | undefined;
4196
+ } | null | undefined;
3029
4197
  }[];
3030
4198
  answers: Record<string, string | number | boolean | string[] | {
3031
4199
  selected: string | string[];
@@ -3038,8 +4206,6 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3038
4206
  coachName?: string | null | undefined;
3039
4207
  organizationName?: string | null | undefined;
3040
4208
  babyName?: string | null | undefined;
3041
- templateId?: string | null | undefined;
3042
- templateName?: string | null | undefined;
3043
4209
  organizationBranding?: {
3044
4210
  primaryColor?: string | null | undefined;
3045
4211
  accentColor?: string | null | undefined;
@@ -3076,6 +4242,8 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3076
4242
  updatedAt?: string | null | undefined;
3077
4243
  } | undefined;
3078
4244
  submittedAt?: string | null | undefined;
4245
+ templateId?: string | null | undefined;
4246
+ templateName?: string | null | undefined;
3079
4247
  }[];
3080
4248
  }, {
3081
4249
  questionnaires: {
@@ -3101,6 +4269,13 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3101
4269
  required?: boolean | undefined;
3102
4270
  sortOrder?: number | undefined;
3103
4271
  sectionDescription?: string | null | undefined;
4272
+ numberScale?: {
4273
+ max: 4 | 10;
4274
+ min: 1;
4275
+ lowLabel?: string | null | undefined;
4276
+ middleLabel?: string | null | undefined;
4277
+ highLabel?: string | null | undefined;
4278
+ } | null | undefined;
3104
4279
  }[];
3105
4280
  answers: Record<string, string | number | boolean | string[] | {
3106
4281
  selected: string | string[];
@@ -3113,8 +4288,6 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3113
4288
  coachName?: string | null | undefined;
3114
4289
  organizationName?: string | null | undefined;
3115
4290
  babyName?: string | null | undefined;
3116
- templateId?: string | null | undefined;
3117
- templateName?: string | null | undefined;
3118
4291
  organizationBranding?: {
3119
4292
  primaryColor?: string | null | undefined;
3120
4293
  accentColor?: string | null | undefined;
@@ -3151,9 +4324,19 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
3151
4324
  updatedAt?: string | null | undefined;
3152
4325
  } | undefined;
3153
4326
  submittedAt?: string | null | undefined;
4327
+ templateId?: string | null | undefined;
4328
+ templateName?: string | null | undefined;
3154
4329
  }[];
3155
4330
  }>;
3156
4331
  export type FamilyQuestionnairesResponse = z.infer<typeof familyQuestionnairesResponseSchema>;
4332
+ export declare const familyQuestionnaireTargetsRequestSchema: z.ZodObject<{
4333
+ babyIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
4334
+ }, "strict", z.ZodTypeAny, {
4335
+ babyIds: string[];
4336
+ }, {
4337
+ babyIds: string[];
4338
+ }>;
4339
+ export type FamilyQuestionnaireTargetsRequest = z.infer<typeof familyQuestionnaireTargetsRequestSchema>;
3157
4340
  export declare const familyQuestionnaireAnswersPatchRequestSchema: z.ZodObject<{
3158
4341
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
3159
4342
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -3174,6 +4357,7 @@ export declare const familyQuestionnaireAnswersPatchRequestSchema: z.ZodObject<{
3174
4357
  kind: "photo";
3175
4358
  attachmentId: string;
3176
4359
  }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
4360
+ expectedBabyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3177
4361
  submit: z.ZodOptional<z.ZodBoolean>;
3178
4362
  }, "strip", z.ZodTypeAny, {
3179
4363
  answers: Record<string, string | number | boolean | string[] | {
@@ -3183,6 +4367,7 @@ export declare const familyQuestionnaireAnswersPatchRequestSchema: z.ZodObject<{
3183
4367
  kind: "photo";
3184
4368
  attachmentId: string;
3185
4369
  } | null>;
4370
+ expectedBabyId?: string | null | undefined;
3186
4371
  submit?: boolean | undefined;
3187
4372
  }, {
3188
4373
  answers: Record<string, string | number | boolean | string[] | {
@@ -3192,6 +4377,7 @@ export declare const familyQuestionnaireAnswersPatchRequestSchema: z.ZodObject<{
3192
4377
  kind: "photo";
3193
4378
  attachmentId: string;
3194
4379
  } | null>;
4380
+ expectedBabyId?: string | null | undefined;
3195
4381
  submit?: boolean | undefined;
3196
4382
  }>;
3197
4383
  export type FamilyQuestionnaireAnswersPatchRequest = z.infer<typeof familyQuestionnaireAnswersPatchRequestSchema>;
@@ -3199,14 +4385,17 @@ export declare const textBlockSchema: z.ZodObject<{
3199
4385
  id: z.ZodString;
3200
4386
  type: z.ZodEnum<["paragraph", "bullet"]>;
3201
4387
  text: z.ZodString;
4388
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
3202
4389
  }, "strip", z.ZodTypeAny, {
3203
4390
  type: "paragraph" | "bullet";
3204
4391
  id: string;
3205
4392
  text: string;
4393
+ presentation?: "tip" | null | undefined;
3206
4394
  }, {
3207
4395
  type: "paragraph" | "bullet";
3208
4396
  id: string;
3209
4397
  text: string;
4398
+ presentation?: "tip" | null | undefined;
3210
4399
  }>;
3211
4400
  export type TextBlock = z.infer<typeof textBlockSchema>;
3212
4401
  export declare const imageBlockSchema: z.ZodObject<{
@@ -3238,18 +4427,21 @@ export declare const imageBlockSchema: z.ZodObject<{
3238
4427
  caption?: string | null | undefined;
3239
4428
  }>;
3240
4429
  export type ImageBlock = z.infer<typeof imageBlockSchema>;
3241
- export declare const richTextBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4430
+ export declare const richTextBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3242
4431
  id: z.ZodString;
3243
4432
  type: z.ZodEnum<["paragraph", "bullet"]>;
3244
4433
  text: z.ZodString;
4434
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
3245
4435
  }, "strip", z.ZodTypeAny, {
3246
4436
  type: "paragraph" | "bullet";
3247
4437
  id: string;
3248
4438
  text: string;
4439
+ presentation?: "tip" | null | undefined;
3249
4440
  }, {
3250
4441
  type: "paragraph" | "bullet";
3251
4442
  id: string;
3252
4443
  text: string;
4444
+ presentation?: "tip" | null | undefined;
3253
4445
  }>, z.ZodObject<{
3254
4446
  id: z.ZodString;
3255
4447
  type: z.ZodLiteral<"image">;
@@ -3277,23 +4469,55 @@ export declare const richTextBlockSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
3277
4469
  uploadedAt?: string | null | undefined;
3278
4470
  altText?: string | null | undefined;
3279
4471
  caption?: string | null | undefined;
3280
- }>]>;
4472
+ }>]>, {
4473
+ type: "paragraph" | "bullet";
4474
+ id: string;
4475
+ text: string;
4476
+ presentation?: "tip" | null | undefined;
4477
+ } | {
4478
+ type: "image";
4479
+ id: string;
4480
+ fileName: string;
4481
+ contentType: string;
4482
+ assetId: string;
4483
+ uploadedAt?: string | null | undefined;
4484
+ altText?: string | null | undefined;
4485
+ caption?: string | null | undefined;
4486
+ }, {
4487
+ type: "paragraph" | "bullet";
4488
+ id: string;
4489
+ text: string;
4490
+ presentation?: "tip" | null | undefined;
4491
+ } | {
4492
+ type: "image";
4493
+ id: string;
4494
+ fileName: string;
4495
+ contentType: string;
4496
+ assetId: string;
4497
+ uploadedAt?: string | null | undefined;
4498
+ altText?: string | null | undefined;
4499
+ caption?: string | null | undefined;
4500
+ }>;
3281
4501
  export type RichTextBlock = z.infer<typeof richTextBlockSchema>;
3282
4502
  export declare const sleepPlanSectionSchema: z.ZodObject<{
3283
4503
  id: z.ZodString;
3284
4504
  title: z.ZodString;
3285
- blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4505
+ changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4506
+ blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3286
4507
  id: z.ZodString;
3287
4508
  type: z.ZodEnum<["paragraph", "bullet"]>;
3288
4509
  text: z.ZodString;
4510
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
3289
4511
  }, "strip", z.ZodTypeAny, {
3290
4512
  type: "paragraph" | "bullet";
3291
4513
  id: string;
3292
4514
  text: string;
4515
+ presentation?: "tip" | null | undefined;
3293
4516
  }, {
3294
4517
  type: "paragraph" | "bullet";
3295
4518
  id: string;
3296
4519
  text: string;
4520
+ presentation?: "tip" | null | undefined;
3297
4521
  }>, z.ZodObject<{
3298
4522
  id: z.ZodString;
3299
4523
  type: z.ZodLiteral<"image">;
@@ -3321,7 +4545,35 @@ export declare const sleepPlanSectionSchema: z.ZodObject<{
3321
4545
  uploadedAt?: string | null | undefined;
3322
4546
  altText?: string | null | undefined;
3323
4547
  caption?: string | null | undefined;
3324
- }>]>, "many">>;
4548
+ }>]>, {
4549
+ type: "paragraph" | "bullet";
4550
+ id: string;
4551
+ text: string;
4552
+ presentation?: "tip" | null | undefined;
4553
+ } | {
4554
+ type: "image";
4555
+ id: string;
4556
+ fileName: string;
4557
+ contentType: string;
4558
+ assetId: string;
4559
+ uploadedAt?: string | null | undefined;
4560
+ altText?: string | null | undefined;
4561
+ caption?: string | null | undefined;
4562
+ }, {
4563
+ type: "paragraph" | "bullet";
4564
+ id: string;
4565
+ text: string;
4566
+ presentation?: "tip" | null | undefined;
4567
+ } | {
4568
+ type: "image";
4569
+ id: string;
4570
+ fileName: string;
4571
+ contentType: string;
4572
+ assetId: string;
4573
+ uploadedAt?: string | null | undefined;
4574
+ altText?: string | null | undefined;
4575
+ caption?: string | null | undefined;
4576
+ }>, "many">>;
3325
4577
  }, "strip", z.ZodTypeAny, {
3326
4578
  id: string;
3327
4579
  title: string;
@@ -3329,6 +4581,7 @@ export declare const sleepPlanSectionSchema: z.ZodObject<{
3329
4581
  type: "paragraph" | "bullet";
3330
4582
  id: string;
3331
4583
  text: string;
4584
+ presentation?: "tip" | null | undefined;
3332
4585
  } | {
3333
4586
  type: "image";
3334
4587
  id: string;
@@ -3339,13 +4592,16 @@ export declare const sleepPlanSectionSchema: z.ZodObject<{
3339
4592
  altText?: string | null | undefined;
3340
4593
  caption?: string | null | undefined;
3341
4594
  })[];
4595
+ changeSummary?: string | null | undefined;
3342
4596
  }, {
3343
4597
  id: string;
3344
4598
  title: string;
4599
+ changeSummary?: string | null | undefined;
3345
4600
  blocks?: ({
3346
4601
  type: "paragraph" | "bullet";
3347
4602
  id: string;
3348
4603
  text: string;
4604
+ presentation?: "tip" | null | undefined;
3349
4605
  } | {
3350
4606
  type: "image";
3351
4607
  id: string;
@@ -3540,18 +4796,22 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3540
4796
  sections: z.ZodArray<z.ZodObject<{
3541
4797
  id: z.ZodString;
3542
4798
  title: z.ZodString;
3543
- blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4799
+ changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4800
+ blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3544
4801
  id: z.ZodString;
3545
4802
  type: z.ZodEnum<["paragraph", "bullet"]>;
3546
4803
  text: z.ZodString;
4804
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
3547
4805
  }, "strip", z.ZodTypeAny, {
3548
4806
  type: "paragraph" | "bullet";
3549
4807
  id: string;
3550
4808
  text: string;
4809
+ presentation?: "tip" | null | undefined;
3551
4810
  }, {
3552
4811
  type: "paragraph" | "bullet";
3553
4812
  id: string;
3554
4813
  text: string;
4814
+ presentation?: "tip" | null | undefined;
3555
4815
  }>, z.ZodObject<{
3556
4816
  id: z.ZodString;
3557
4817
  type: z.ZodLiteral<"image">;
@@ -3579,7 +4839,35 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3579
4839
  uploadedAt?: string | null | undefined;
3580
4840
  altText?: string | null | undefined;
3581
4841
  caption?: string | null | undefined;
3582
- }>]>, "many">>;
4842
+ }>]>, {
4843
+ type: "paragraph" | "bullet";
4844
+ id: string;
4845
+ text: string;
4846
+ presentation?: "tip" | null | undefined;
4847
+ } | {
4848
+ type: "image";
4849
+ id: string;
4850
+ fileName: string;
4851
+ contentType: string;
4852
+ assetId: string;
4853
+ uploadedAt?: string | null | undefined;
4854
+ altText?: string | null | undefined;
4855
+ caption?: string | null | undefined;
4856
+ }, {
4857
+ type: "paragraph" | "bullet";
4858
+ id: string;
4859
+ text: string;
4860
+ presentation?: "tip" | null | undefined;
4861
+ } | {
4862
+ type: "image";
4863
+ id: string;
4864
+ fileName: string;
4865
+ contentType: string;
4866
+ assetId: string;
4867
+ uploadedAt?: string | null | undefined;
4868
+ altText?: string | null | undefined;
4869
+ caption?: string | null | undefined;
4870
+ }>, "many">>;
3583
4871
  }, "strip", z.ZodTypeAny, {
3584
4872
  id: string;
3585
4873
  title: string;
@@ -3587,6 +4875,7 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3587
4875
  type: "paragraph" | "bullet";
3588
4876
  id: string;
3589
4877
  text: string;
4878
+ presentation?: "tip" | null | undefined;
3590
4879
  } | {
3591
4880
  type: "image";
3592
4881
  id: string;
@@ -3597,13 +4886,16 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3597
4886
  altText?: string | null | undefined;
3598
4887
  caption?: string | null | undefined;
3599
4888
  })[];
4889
+ changeSummary?: string | null | undefined;
3600
4890
  }, {
3601
4891
  id: string;
3602
4892
  title: string;
4893
+ changeSummary?: string | null | undefined;
3603
4894
  blocks?: ({
3604
4895
  type: "paragraph" | "bullet";
3605
4896
  id: string;
3606
4897
  text: string;
4898
+ presentation?: "tip" | null | undefined;
3607
4899
  } | {
3608
4900
  type: "image";
3609
4901
  id: string;
@@ -3642,6 +4934,7 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3642
4934
  type: "paragraph" | "bullet";
3643
4935
  id: string;
3644
4936
  text: string;
4937
+ presentation?: "tip" | null | undefined;
3645
4938
  } | {
3646
4939
  type: "image";
3647
4940
  id: string;
@@ -3652,6 +4945,7 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3652
4945
  altText?: string | null | undefined;
3653
4946
  caption?: string | null | undefined;
3654
4947
  })[];
4948
+ changeSummary?: string | null | undefined;
3655
4949
  }[];
3656
4950
  babyId?: string | null | undefined;
3657
4951
  archivedAt?: string | null | undefined;
@@ -3710,10 +5004,12 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3710
5004
  sections: {
3711
5005
  id: string;
3712
5006
  title: string;
5007
+ changeSummary?: string | null | undefined;
3713
5008
  blocks?: ({
3714
5009
  type: "paragraph" | "bullet";
3715
5010
  id: string;
3716
5011
  text: string;
5012
+ presentation?: "tip" | null | undefined;
3717
5013
  } | {
3718
5014
  type: "image";
3719
5015
  id: string;
@@ -3780,18 +5076,22 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3780
5076
  sections: z.ZodArray<z.ZodObject<{
3781
5077
  id: z.ZodString;
3782
5078
  title: z.ZodString;
3783
- blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5079
+ changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5080
+ blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3784
5081
  id: z.ZodString;
3785
5082
  type: z.ZodEnum<["paragraph", "bullet"]>;
3786
5083
  text: z.ZodString;
5084
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
3787
5085
  }, "strip", z.ZodTypeAny, {
3788
5086
  type: "paragraph" | "bullet";
3789
5087
  id: string;
3790
5088
  text: string;
5089
+ presentation?: "tip" | null | undefined;
3791
5090
  }, {
3792
5091
  type: "paragraph" | "bullet";
3793
5092
  id: string;
3794
5093
  text: string;
5094
+ presentation?: "tip" | null | undefined;
3795
5095
  }>, z.ZodObject<{
3796
5096
  id: z.ZodString;
3797
5097
  type: z.ZodLiteral<"image">;
@@ -3819,7 +5119,35 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3819
5119
  uploadedAt?: string | null | undefined;
3820
5120
  altText?: string | null | undefined;
3821
5121
  caption?: string | null | undefined;
3822
- }>]>, "many">>;
5122
+ }>]>, {
5123
+ type: "paragraph" | "bullet";
5124
+ id: string;
5125
+ text: string;
5126
+ presentation?: "tip" | null | undefined;
5127
+ } | {
5128
+ type: "image";
5129
+ id: string;
5130
+ fileName: string;
5131
+ contentType: string;
5132
+ assetId: string;
5133
+ uploadedAt?: string | null | undefined;
5134
+ altText?: string | null | undefined;
5135
+ caption?: string | null | undefined;
5136
+ }, {
5137
+ type: "paragraph" | "bullet";
5138
+ id: string;
5139
+ text: string;
5140
+ presentation?: "tip" | null | undefined;
5141
+ } | {
5142
+ type: "image";
5143
+ id: string;
5144
+ fileName: string;
5145
+ contentType: string;
5146
+ assetId: string;
5147
+ uploadedAt?: string | null | undefined;
5148
+ altText?: string | null | undefined;
5149
+ caption?: string | null | undefined;
5150
+ }>, "many">>;
3823
5151
  }, "strip", z.ZodTypeAny, {
3824
5152
  id: string;
3825
5153
  title: string;
@@ -3827,6 +5155,7 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3827
5155
  type: "paragraph" | "bullet";
3828
5156
  id: string;
3829
5157
  text: string;
5158
+ presentation?: "tip" | null | undefined;
3830
5159
  } | {
3831
5160
  type: "image";
3832
5161
  id: string;
@@ -3837,13 +5166,16 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3837
5166
  altText?: string | null | undefined;
3838
5167
  caption?: string | null | undefined;
3839
5168
  })[];
5169
+ changeSummary?: string | null | undefined;
3840
5170
  }, {
3841
5171
  id: string;
3842
5172
  title: string;
5173
+ changeSummary?: string | null | undefined;
3843
5174
  blocks?: ({
3844
5175
  type: "paragraph" | "bullet";
3845
5176
  id: string;
3846
5177
  text: string;
5178
+ presentation?: "tip" | null | undefined;
3847
5179
  } | {
3848
5180
  type: "image";
3849
5181
  id: string;
@@ -3870,6 +5202,7 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3870
5202
  type: "paragraph" | "bullet";
3871
5203
  id: string;
3872
5204
  text: string;
5205
+ presentation?: "tip" | null | undefined;
3873
5206
  } | {
3874
5207
  type: "image";
3875
5208
  id: string;
@@ -3880,6 +5213,7 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3880
5213
  altText?: string | null | undefined;
3881
5214
  caption?: string | null | undefined;
3882
5215
  })[];
5216
+ changeSummary?: string | null | undefined;
3883
5217
  }[];
3884
5218
  babyId?: string | null | undefined;
3885
5219
  babyName?: string | null | undefined;
@@ -3892,10 +5226,12 @@ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3892
5226
  sections: {
3893
5227
  id: string;
3894
5228
  title: string;
5229
+ changeSummary?: string | null | undefined;
3895
5230
  blocks?: ({
3896
5231
  type: "paragraph" | "bullet";
3897
5232
  id: string;
3898
5233
  text: string;
5234
+ presentation?: "tip" | null | undefined;
3899
5235
  } | {
3900
5236
  type: "image";
3901
5237
  id: string;
@@ -4102,18 +5438,22 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4102
5438
  sections: z.ZodArray<z.ZodObject<{
4103
5439
  id: z.ZodString;
4104
5440
  title: z.ZodString;
4105
- blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5441
+ changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5442
+ blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4106
5443
  id: z.ZodString;
4107
5444
  type: z.ZodEnum<["paragraph", "bullet"]>;
4108
5445
  text: z.ZodString;
5446
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
4109
5447
  }, "strip", z.ZodTypeAny, {
4110
5448
  type: "paragraph" | "bullet";
4111
5449
  id: string;
4112
5450
  text: string;
5451
+ presentation?: "tip" | null | undefined;
4113
5452
  }, {
4114
5453
  type: "paragraph" | "bullet";
4115
5454
  id: string;
4116
5455
  text: string;
5456
+ presentation?: "tip" | null | undefined;
4117
5457
  }>, z.ZodObject<{
4118
5458
  id: z.ZodString;
4119
5459
  type: z.ZodLiteral<"image">;
@@ -4141,7 +5481,35 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4141
5481
  uploadedAt?: string | null | undefined;
4142
5482
  altText?: string | null | undefined;
4143
5483
  caption?: string | null | undefined;
4144
- }>]>, "many">>;
5484
+ }>]>, {
5485
+ type: "paragraph" | "bullet";
5486
+ id: string;
5487
+ text: string;
5488
+ presentation?: "tip" | null | undefined;
5489
+ } | {
5490
+ type: "image";
5491
+ id: string;
5492
+ fileName: string;
5493
+ contentType: string;
5494
+ assetId: string;
5495
+ uploadedAt?: string | null | undefined;
5496
+ altText?: string | null | undefined;
5497
+ caption?: string | null | undefined;
5498
+ }, {
5499
+ type: "paragraph" | "bullet";
5500
+ id: string;
5501
+ text: string;
5502
+ presentation?: "tip" | null | undefined;
5503
+ } | {
5504
+ type: "image";
5505
+ id: string;
5506
+ fileName: string;
5507
+ contentType: string;
5508
+ assetId: string;
5509
+ uploadedAt?: string | null | undefined;
5510
+ altText?: string | null | undefined;
5511
+ caption?: string | null | undefined;
5512
+ }>, "many">>;
4145
5513
  }, "strip", z.ZodTypeAny, {
4146
5514
  id: string;
4147
5515
  title: string;
@@ -4149,6 +5517,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4149
5517
  type: "paragraph" | "bullet";
4150
5518
  id: string;
4151
5519
  text: string;
5520
+ presentation?: "tip" | null | undefined;
4152
5521
  } | {
4153
5522
  type: "image";
4154
5523
  id: string;
@@ -4159,13 +5528,16 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4159
5528
  altText?: string | null | undefined;
4160
5529
  caption?: string | null | undefined;
4161
5530
  })[];
5531
+ changeSummary?: string | null | undefined;
4162
5532
  }, {
4163
5533
  id: string;
4164
5534
  title: string;
5535
+ changeSummary?: string | null | undefined;
4165
5536
  blocks?: ({
4166
5537
  type: "paragraph" | "bullet";
4167
5538
  id: string;
4168
5539
  text: string;
5540
+ presentation?: "tip" | null | undefined;
4169
5541
  } | {
4170
5542
  type: "image";
4171
5543
  id: string;
@@ -4204,6 +5576,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4204
5576
  type: "paragraph" | "bullet";
4205
5577
  id: string;
4206
5578
  text: string;
5579
+ presentation?: "tip" | null | undefined;
4207
5580
  } | {
4208
5581
  type: "image";
4209
5582
  id: string;
@@ -4214,6 +5587,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4214
5587
  altText?: string | null | undefined;
4215
5588
  caption?: string | null | undefined;
4216
5589
  })[];
5590
+ changeSummary?: string | null | undefined;
4217
5591
  }[];
4218
5592
  babyId?: string | null | undefined;
4219
5593
  archivedAt?: string | null | undefined;
@@ -4272,10 +5646,12 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4272
5646
  sections: {
4273
5647
  id: string;
4274
5648
  title: string;
5649
+ changeSummary?: string | null | undefined;
4275
5650
  blocks?: ({
4276
5651
  type: "paragraph" | "bullet";
4277
5652
  id: string;
4278
5653
  text: string;
5654
+ presentation?: "tip" | null | undefined;
4279
5655
  } | {
4280
5656
  type: "image";
4281
5657
  id: string;
@@ -4512,18 +5888,22 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4512
5888
  sections: z.ZodArray<z.ZodObject<{
4513
5889
  id: z.ZodString;
4514
5890
  title: z.ZodString;
4515
- blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5891
+ changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5892
+ blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4516
5893
  id: z.ZodString;
4517
5894
  type: z.ZodEnum<["paragraph", "bullet"]>;
4518
5895
  text: z.ZodString;
5896
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
4519
5897
  }, "strip", z.ZodTypeAny, {
4520
5898
  type: "paragraph" | "bullet";
4521
5899
  id: string;
4522
5900
  text: string;
5901
+ presentation?: "tip" | null | undefined;
4523
5902
  }, {
4524
5903
  type: "paragraph" | "bullet";
4525
5904
  id: string;
4526
5905
  text: string;
5906
+ presentation?: "tip" | null | undefined;
4527
5907
  }>, z.ZodObject<{
4528
5908
  id: z.ZodString;
4529
5909
  type: z.ZodLiteral<"image">;
@@ -4551,7 +5931,35 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4551
5931
  uploadedAt?: string | null | undefined;
4552
5932
  altText?: string | null | undefined;
4553
5933
  caption?: string | null | undefined;
4554
- }>]>, "many">>;
5934
+ }>]>, {
5935
+ type: "paragraph" | "bullet";
5936
+ id: string;
5937
+ text: string;
5938
+ presentation?: "tip" | null | undefined;
5939
+ } | {
5940
+ type: "image";
5941
+ id: string;
5942
+ fileName: string;
5943
+ contentType: string;
5944
+ assetId: string;
5945
+ uploadedAt?: string | null | undefined;
5946
+ altText?: string | null | undefined;
5947
+ caption?: string | null | undefined;
5948
+ }, {
5949
+ type: "paragraph" | "bullet";
5950
+ id: string;
5951
+ text: string;
5952
+ presentation?: "tip" | null | undefined;
5953
+ } | {
5954
+ type: "image";
5955
+ id: string;
5956
+ fileName: string;
5957
+ contentType: string;
5958
+ assetId: string;
5959
+ uploadedAt?: string | null | undefined;
5960
+ altText?: string | null | undefined;
5961
+ caption?: string | null | undefined;
5962
+ }>, "many">>;
4555
5963
  }, "strip", z.ZodTypeAny, {
4556
5964
  id: string;
4557
5965
  title: string;
@@ -4559,6 +5967,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4559
5967
  type: "paragraph" | "bullet";
4560
5968
  id: string;
4561
5969
  text: string;
5970
+ presentation?: "tip" | null | undefined;
4562
5971
  } | {
4563
5972
  type: "image";
4564
5973
  id: string;
@@ -4569,13 +5978,16 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4569
5978
  altText?: string | null | undefined;
4570
5979
  caption?: string | null | undefined;
4571
5980
  })[];
5981
+ changeSummary?: string | null | undefined;
4572
5982
  }, {
4573
5983
  id: string;
4574
5984
  title: string;
5985
+ changeSummary?: string | null | undefined;
4575
5986
  blocks?: ({
4576
5987
  type: "paragraph" | "bullet";
4577
5988
  id: string;
4578
5989
  text: string;
5990
+ presentation?: "tip" | null | undefined;
4579
5991
  } | {
4580
5992
  type: "image";
4581
5993
  id: string;
@@ -4614,6 +6026,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4614
6026
  type: "paragraph" | "bullet";
4615
6027
  id: string;
4616
6028
  text: string;
6029
+ presentation?: "tip" | null | undefined;
4617
6030
  } | {
4618
6031
  type: "image";
4619
6032
  id: string;
@@ -4624,6 +6037,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4624
6037
  altText?: string | null | undefined;
4625
6038
  caption?: string | null | undefined;
4626
6039
  })[];
6040
+ changeSummary?: string | null | undefined;
4627
6041
  }[];
4628
6042
  babyId?: string | null | undefined;
4629
6043
  archivedAt?: string | null | undefined;
@@ -4682,10 +6096,12 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4682
6096
  sections: {
4683
6097
  id: string;
4684
6098
  title: string;
6099
+ changeSummary?: string | null | undefined;
4685
6100
  blocks?: ({
4686
6101
  type: "paragraph" | "bullet";
4687
6102
  id: string;
4688
6103
  text: string;
6104
+ presentation?: "tip" | null | undefined;
4689
6105
  } | {
4690
6106
  type: "image";
4691
6107
  id: string;
@@ -4762,6 +6178,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4762
6178
  type: "paragraph" | "bullet";
4763
6179
  id: string;
4764
6180
  text: string;
6181
+ presentation?: "tip" | null | undefined;
4765
6182
  } | {
4766
6183
  type: "image";
4767
6184
  id: string;
@@ -4772,6 +6189,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4772
6189
  altText?: string | null | undefined;
4773
6190
  caption?: string | null | undefined;
4774
6191
  })[];
6192
+ changeSummary?: string | null | undefined;
4775
6193
  }[];
4776
6194
  babyId?: string | null | undefined;
4777
6195
  archivedAt?: string | null | undefined;
@@ -4836,6 +6254,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4836
6254
  type: "paragraph" | "bullet";
4837
6255
  id: string;
4838
6256
  text: string;
6257
+ presentation?: "tip" | null | undefined;
4839
6258
  } | {
4840
6259
  type: "image";
4841
6260
  id: string;
@@ -4846,6 +6265,7 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4846
6265
  altText?: string | null | undefined;
4847
6266
  caption?: string | null | undefined;
4848
6267
  })[];
6268
+ changeSummary?: string | null | undefined;
4849
6269
  }[];
4850
6270
  babyId?: string | null | undefined;
4851
6271
  archivedAt?: string | null | undefined;
@@ -4906,10 +6326,12 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4906
6326
  sections: {
4907
6327
  id: string;
4908
6328
  title: string;
6329
+ changeSummary?: string | null | undefined;
4909
6330
  blocks?: ({
4910
6331
  type: "paragraph" | "bullet";
4911
6332
  id: string;
4912
6333
  text: string;
6334
+ presentation?: "tip" | null | undefined;
4913
6335
  } | {
4914
6336
  type: "image";
4915
6337
  id: string;
@@ -4980,10 +6402,12 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
4980
6402
  sections: {
4981
6403
  id: string;
4982
6404
  title: string;
6405
+ changeSummary?: string | null | undefined;
4983
6406
  blocks?: ({
4984
6407
  type: "paragraph" | "bullet";
4985
6408
  id: string;
4986
6409
  text: string;
6410
+ presentation?: "tip" | null | undefined;
4987
6411
  } | {
4988
6412
  type: "image";
4989
6413
  id: string;
@@ -5223,18 +6647,22 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5223
6647
  sections: z.ZodArray<z.ZodObject<{
5224
6648
  id: z.ZodString;
5225
6649
  title: z.ZodString;
5226
- blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6650
+ changeSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6651
+ blocks: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5227
6652
  id: z.ZodString;
5228
6653
  type: z.ZodEnum<["paragraph", "bullet"]>;
5229
6654
  text: z.ZodString;
6655
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"tip">>>;
5230
6656
  }, "strip", z.ZodTypeAny, {
5231
6657
  type: "paragraph" | "bullet";
5232
6658
  id: string;
5233
6659
  text: string;
6660
+ presentation?: "tip" | null | undefined;
5234
6661
  }, {
5235
6662
  type: "paragraph" | "bullet";
5236
6663
  id: string;
5237
6664
  text: string;
6665
+ presentation?: "tip" | null | undefined;
5238
6666
  }>, z.ZodObject<{
5239
6667
  id: z.ZodString;
5240
6668
  type: z.ZodLiteral<"image">;
@@ -5262,7 +6690,35 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5262
6690
  uploadedAt?: string | null | undefined;
5263
6691
  altText?: string | null | undefined;
5264
6692
  caption?: string | null | undefined;
5265
- }>]>, "many">>;
6693
+ }>]>, {
6694
+ type: "paragraph" | "bullet";
6695
+ id: string;
6696
+ text: string;
6697
+ presentation?: "tip" | null | undefined;
6698
+ } | {
6699
+ type: "image";
6700
+ id: string;
6701
+ fileName: string;
6702
+ contentType: string;
6703
+ assetId: string;
6704
+ uploadedAt?: string | null | undefined;
6705
+ altText?: string | null | undefined;
6706
+ caption?: string | null | undefined;
6707
+ }, {
6708
+ type: "paragraph" | "bullet";
6709
+ id: string;
6710
+ text: string;
6711
+ presentation?: "tip" | null | undefined;
6712
+ } | {
6713
+ type: "image";
6714
+ id: string;
6715
+ fileName: string;
6716
+ contentType: string;
6717
+ assetId: string;
6718
+ uploadedAt?: string | null | undefined;
6719
+ altText?: string | null | undefined;
6720
+ caption?: string | null | undefined;
6721
+ }>, "many">>;
5266
6722
  }, "strip", z.ZodTypeAny, {
5267
6723
  id: string;
5268
6724
  title: string;
@@ -5270,6 +6726,7 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5270
6726
  type: "paragraph" | "bullet";
5271
6727
  id: string;
5272
6728
  text: string;
6729
+ presentation?: "tip" | null | undefined;
5273
6730
  } | {
5274
6731
  type: "image";
5275
6732
  id: string;
@@ -5280,13 +6737,16 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5280
6737
  altText?: string | null | undefined;
5281
6738
  caption?: string | null | undefined;
5282
6739
  })[];
6740
+ changeSummary?: string | null | undefined;
5283
6741
  }, {
5284
6742
  id: string;
5285
6743
  title: string;
6744
+ changeSummary?: string | null | undefined;
5286
6745
  blocks?: ({
5287
6746
  type: "paragraph" | "bullet";
5288
6747
  id: string;
5289
6748
  text: string;
6749
+ presentation?: "tip" | null | undefined;
5290
6750
  } | {
5291
6751
  type: "image";
5292
6752
  id: string;
@@ -5325,6 +6785,7 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5325
6785
  type: "paragraph" | "bullet";
5326
6786
  id: string;
5327
6787
  text: string;
6788
+ presentation?: "tip" | null | undefined;
5328
6789
  } | {
5329
6790
  type: "image";
5330
6791
  id: string;
@@ -5335,6 +6796,7 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5335
6796
  altText?: string | null | undefined;
5336
6797
  caption?: string | null | undefined;
5337
6798
  })[];
6799
+ changeSummary?: string | null | undefined;
5338
6800
  }[];
5339
6801
  babyId?: string | null | undefined;
5340
6802
  archivedAt?: string | null | undefined;
@@ -5393,10 +6855,12 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5393
6855
  sections: {
5394
6856
  id: string;
5395
6857
  title: string;
6858
+ changeSummary?: string | null | undefined;
5396
6859
  blocks?: ({
5397
6860
  type: "paragraph" | "bullet";
5398
6861
  id: string;
5399
6862
  text: string;
6863
+ presentation?: "tip" | null | undefined;
5400
6864
  } | {
5401
6865
  type: "image";
5402
6866
  id: string;
@@ -5473,6 +6937,7 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5473
6937
  type: "paragraph" | "bullet";
5474
6938
  id: string;
5475
6939
  text: string;
6940
+ presentation?: "tip" | null | undefined;
5476
6941
  } | {
5477
6942
  type: "image";
5478
6943
  id: string;
@@ -5483,6 +6948,7 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5483
6948
  altText?: string | null | undefined;
5484
6949
  caption?: string | null | undefined;
5485
6950
  })[];
6951
+ changeSummary?: string | null | undefined;
5486
6952
  }[];
5487
6953
  babyId?: string | null | undefined;
5488
6954
  archivedAt?: string | null | undefined;
@@ -5543,10 +7009,12 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
5543
7009
  sections: {
5544
7010
  id: string;
5545
7011
  title: string;
7012
+ changeSummary?: string | null | undefined;
5546
7013
  blocks?: ({
5547
7014
  type: "paragraph" | "bullet";
5548
7015
  id: string;
5549
7016
  text: string;
7017
+ presentation?: "tip" | null | undefined;
5550
7018
  } | {
5551
7019
  type: "image";
5552
7020
  id: string;