@nikthegeek/dreamsforlittles-shared 0.1.0 → 0.1.2

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 (85) hide show
  1. package/dist/access.d.ts +2450 -30
  2. package/dist/access.js +63 -4
  3. package/dist/access.js.map +1 -1
  4. package/dist/admin.d.ts +12635 -1041
  5. package/dist/admin.js +554 -4
  6. package/dist/admin.js.map +1 -1
  7. package/dist/allergy-ladders.d.ts +563 -80
  8. package/dist/allergy-ladders.js +40 -0
  9. package/dist/allergy-ladders.js.map +1 -1
  10. package/dist/analysis.d.ts +68 -46
  11. package/dist/analysis.js +10 -2
  12. package/dist/analysis.js.map +1 -1
  13. package/dist/api.d.ts +12 -5
  14. package/dist/api.js +12 -0
  15. package/dist/api.js.map +1 -1
  16. package/dist/app-feedback.d.ts +322 -0
  17. package/dist/app-feedback.js +58 -0
  18. package/dist/app-feedback.js.map +1 -0
  19. package/dist/auth.d.ts +684 -0
  20. package/dist/auth.js +45 -4
  21. package/dist/auth.js.map +1 -1
  22. package/dist/billing.d.ts +47 -2
  23. package/dist/billing.js +56 -29
  24. package/dist/billing.js.map +1 -1
  25. package/dist/client-notices.d.ts +6114 -0
  26. package/dist/client-notices.js +455 -0
  27. package/dist/client-notices.js.map +1 -0
  28. package/dist/coach.d.ts +20178 -206
  29. package/dist/coach.js +329 -18
  30. package/dist/coach.js.map +1 -1
  31. package/dist/communication-preferences.d.ts +61 -0
  32. package/dist/communication-preferences.js +30 -0
  33. package/dist/communication-preferences.js.map +1 -0
  34. package/dist/enums.d.ts +6 -2
  35. package/dist/enums.js +27 -1
  36. package/dist/enums.js.map +1 -1
  37. package/dist/errors.d.ts +9 -4
  38. package/dist/errors.js +9 -2
  39. package/dist/errors.js.map +1 -1
  40. package/dist/family-invitations.d.ts +2289 -0
  41. package/dist/family-invitations.js +77 -0
  42. package/dist/family-invitations.js.map +1 -0
  43. package/dist/family-profile-artifacts.d.ts +4433 -0
  44. package/dist/family-profile-artifacts.js +192 -0
  45. package/dist/family-profile-artifacts.js.map +1 -0
  46. package/dist/family.d.ts +7902 -294
  47. package/dist/family.js +170 -5
  48. package/dist/family.js.map +1 -1
  49. package/dist/files.d.ts +17 -14
  50. package/dist/files.js +5 -1
  51. package/dist/files.js.map +1 -1
  52. package/dist/getting-started-guides.d.ts +117 -0
  53. package/dist/getting-started-guides.js +25 -0
  54. package/dist/getting-started-guides.js.map +1 -0
  55. package/dist/index.d.ts +14 -0
  56. package/dist/index.js +14 -0
  57. package/dist/index.js.map +1 -1
  58. package/dist/invites.d.ts +252 -0
  59. package/dist/invites.js +2 -0
  60. package/dist/invites.js.map +1 -1
  61. package/dist/mobile-web-releases.d.ts +389 -0
  62. package/dist/mobile-web-releases.js +71 -0
  63. package/dist/mobile-web-releases.js.map +1 -0
  64. package/dist/notification-banners.d.ts +694 -0
  65. package/dist/notification-banners.js +132 -0
  66. package/dist/notification-banners.js.map +1 -0
  67. package/dist/product-analytics.d.ts +5984 -0
  68. package/dist/product-analytics.js +791 -0
  69. package/dist/product-analytics.js.map +1 -0
  70. package/dist/push-devices.d.ts +175 -0
  71. package/dist/push-devices.js +56 -0
  72. package/dist/push-devices.js.map +1 -0
  73. package/dist/realtime.d.ts +604 -0
  74. package/dist/realtime.js +152 -0
  75. package/dist/realtime.js.map +1 -0
  76. package/dist/review-prompt.d.ts +192 -0
  77. package/dist/review-prompt.js +72 -0
  78. package/dist/review-prompt.js.map +1 -0
  79. package/dist/support-faqs.d.ts +103 -0
  80. package/dist/support-faqs.js +24 -0
  81. package/dist/support-faqs.js.map +1 -0
  82. package/dist/support-tickets.d.ts +605 -0
  83. package/dist/support-tickets.js +100 -0
  84. package/dist/support-tickets.js.map +1 -0
  85. package/package.json +6 -1
@@ -0,0 +1,4433 @@
1
+ import { z } from "zod";
2
+ export declare const questionnaireQuestionTypeSchema: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
3
+ export type QuestionnaireQuestionType = z.infer<typeof questionnaireQuestionTypeSchema>;
4
+ export declare const questionnaireChoiceSchema: z.ZodObject<{
5
+ id: z.ZodString;
6
+ label: z.ZodString;
7
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ label: string;
11
+ allowFreeText?: boolean | undefined;
12
+ }, {
13
+ id: string;
14
+ label: string;
15
+ allowFreeText?: boolean | undefined;
16
+ }>;
17
+ export type QuestionnaireChoice = z.infer<typeof questionnaireChoiceSchema>;
18
+ export declare const questionnaireQuestionSchema: z.ZodObject<{
19
+ id: z.ZodString;
20
+ section: z.ZodString;
21
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ label: z.ZodString;
23
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
25
+ required: z.ZodDefault<z.ZodBoolean>;
26
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
27
+ id: z.ZodString;
28
+ label: z.ZodString;
29
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ id: string;
32
+ label: string;
33
+ allowFreeText?: boolean | undefined;
34
+ }, {
35
+ id: string;
36
+ label: string;
37
+ allowFreeText?: boolean | undefined;
38
+ }>, "many">>;
39
+ sortOrder: z.ZodDefault<z.ZodNumber>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ options: {
42
+ id: string;
43
+ label: string;
44
+ allowFreeText?: boolean | undefined;
45
+ }[];
46
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
47
+ id: string;
48
+ label: string;
49
+ section: string;
50
+ required: boolean;
51
+ sortOrder: number;
52
+ sectionDescription?: string | null | undefined;
53
+ helpText?: string | null | undefined;
54
+ }, {
55
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
56
+ id: string;
57
+ label: string;
58
+ section: string;
59
+ options?: {
60
+ id: string;
61
+ label: string;
62
+ allowFreeText?: boolean | undefined;
63
+ }[] | undefined;
64
+ sectionDescription?: string | null | undefined;
65
+ helpText?: string | null | undefined;
66
+ required?: boolean | undefined;
67
+ sortOrder?: number | undefined;
68
+ }>;
69
+ export type QuestionnaireQuestion = z.infer<typeof questionnaireQuestionSchema>;
70
+ export declare const questionnaireChoiceAnswerSchema: z.ZodObject<{
71
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
72
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ selected: string | string[];
75
+ freeText?: Record<string, string> | undefined;
76
+ }, {
77
+ selected: string | string[];
78
+ freeText?: Record<string, string> | undefined;
79
+ }>;
80
+ export type QuestionnaireChoiceAnswer = z.infer<typeof questionnaireChoiceAnswerSchema>;
81
+ export declare const questionnaireAnswerValueSchema: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
82
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
83
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ selected: string | string[];
86
+ freeText?: Record<string, string> | undefined;
87
+ }, {
88
+ selected: string | string[];
89
+ freeText?: Record<string, string> | undefined;
90
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>;
91
+ export type QuestionnaireAnswerValue = z.infer<typeof questionnaireAnswerValueSchema>;
92
+ export declare const questionnaireAnswersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
93
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
94
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ selected: string | string[];
97
+ freeText?: Record<string, string> | undefined;
98
+ }, {
99
+ selected: string | string[];
100
+ freeText?: Record<string, string> | undefined;
101
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
102
+ export type QuestionnaireAnswers = z.infer<typeof questionnaireAnswersSchema>;
103
+ export declare const familyQuestionnaireStatusSchema: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
104
+ export type FamilyQuestionnaireStatus = z.infer<typeof familyQuestionnaireStatusSchema>;
105
+ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
106
+ id: z.ZodString;
107
+ organizationId: z.ZodString;
108
+ coachUserId: z.ZodString;
109
+ name: z.ZodString;
110
+ title: z.ZodString;
111
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ questions: z.ZodArray<z.ZodObject<{
113
+ id: z.ZodString;
114
+ section: z.ZodString;
115
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ label: z.ZodString;
117
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
118
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
119
+ required: z.ZodDefault<z.ZodBoolean>;
120
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
121
+ id: z.ZodString;
122
+ label: z.ZodString;
123
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ id: string;
126
+ label: string;
127
+ allowFreeText?: boolean | undefined;
128
+ }, {
129
+ id: string;
130
+ label: string;
131
+ allowFreeText?: boolean | undefined;
132
+ }>, "many">>;
133
+ sortOrder: z.ZodDefault<z.ZodNumber>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ options: {
136
+ id: string;
137
+ label: string;
138
+ allowFreeText?: boolean | undefined;
139
+ }[];
140
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
141
+ id: string;
142
+ label: string;
143
+ section: string;
144
+ required: boolean;
145
+ sortOrder: number;
146
+ sectionDescription?: string | null | undefined;
147
+ helpText?: string | null | undefined;
148
+ }, {
149
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
150
+ id: string;
151
+ label: string;
152
+ section: string;
153
+ options?: {
154
+ id: string;
155
+ label: string;
156
+ allowFreeText?: boolean | undefined;
157
+ }[] | undefined;
158
+ sectionDescription?: string | null | undefined;
159
+ helpText?: string | null | undefined;
160
+ required?: boolean | undefined;
161
+ sortOrder?: number | undefined;
162
+ }>, "many">;
163
+ isDefault: z.ZodDefault<z.ZodBoolean>;
164
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ assignedFamilyQuestionnaireCount: z.ZodOptional<z.ZodNumber>;
166
+ createdAt: z.ZodString;
167
+ updatedAt: z.ZodString;
168
+ }, "strip", z.ZodTypeAny, {
169
+ id: string;
170
+ name: string;
171
+ createdAt: string;
172
+ updatedAt: string;
173
+ organizationId: string;
174
+ coachUserId: string;
175
+ title: string;
176
+ questions: {
177
+ options: {
178
+ id: string;
179
+ label: string;
180
+ allowFreeText?: boolean | undefined;
181
+ }[];
182
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
183
+ id: string;
184
+ label: string;
185
+ section: string;
186
+ required: boolean;
187
+ sortOrder: number;
188
+ sectionDescription?: string | null | undefined;
189
+ helpText?: string | null | undefined;
190
+ }[];
191
+ isDefault: boolean;
192
+ description?: string | null | undefined;
193
+ archivedAt?: string | null | undefined;
194
+ assignedFamilyQuestionnaireCount?: number | undefined;
195
+ }, {
196
+ id: string;
197
+ name: string;
198
+ createdAt: string;
199
+ updatedAt: string;
200
+ organizationId: string;
201
+ coachUserId: string;
202
+ title: string;
203
+ questions: {
204
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
205
+ id: string;
206
+ label: string;
207
+ section: string;
208
+ options?: {
209
+ id: string;
210
+ label: string;
211
+ allowFreeText?: boolean | undefined;
212
+ }[] | undefined;
213
+ sectionDescription?: string | null | undefined;
214
+ helpText?: string | null | undefined;
215
+ required?: boolean | undefined;
216
+ sortOrder?: number | undefined;
217
+ }[];
218
+ description?: string | null | undefined;
219
+ archivedAt?: string | null | undefined;
220
+ isDefault?: boolean | undefined;
221
+ assignedFamilyQuestionnaireCount?: number | undefined;
222
+ }>;
223
+ export type CoachQuestionnaireTemplate = z.infer<typeof coachQuestionnaireTemplateSchema>;
224
+ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
225
+ name: z.ZodOptional<z.ZodString>;
226
+ title: z.ZodString;
227
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ questions: z.ZodArray<z.ZodObject<{
229
+ id: z.ZodString;
230
+ section: z.ZodString;
231
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ label: z.ZodString;
233
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
235
+ required: z.ZodDefault<z.ZodBoolean>;
236
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
237
+ id: z.ZodString;
238
+ label: z.ZodString;
239
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ id: string;
242
+ label: string;
243
+ allowFreeText?: boolean | undefined;
244
+ }, {
245
+ id: string;
246
+ label: string;
247
+ allowFreeText?: boolean | undefined;
248
+ }>, "many">>;
249
+ sortOrder: z.ZodDefault<z.ZodNumber>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ options: {
252
+ id: string;
253
+ label: string;
254
+ allowFreeText?: boolean | undefined;
255
+ }[];
256
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
257
+ id: string;
258
+ label: string;
259
+ section: string;
260
+ required: boolean;
261
+ sortOrder: number;
262
+ sectionDescription?: string | null | undefined;
263
+ helpText?: string | null | undefined;
264
+ }, {
265
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
266
+ id: string;
267
+ label: string;
268
+ section: string;
269
+ options?: {
270
+ id: string;
271
+ label: string;
272
+ allowFreeText?: boolean | undefined;
273
+ }[] | undefined;
274
+ sectionDescription?: string | null | undefined;
275
+ helpText?: string | null | undefined;
276
+ required?: boolean | undefined;
277
+ sortOrder?: number | undefined;
278
+ }>, "many">;
279
+ }, "strip", z.ZodTypeAny, {
280
+ title: string;
281
+ questions: {
282
+ options: {
283
+ id: string;
284
+ label: string;
285
+ allowFreeText?: boolean | undefined;
286
+ }[];
287
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
288
+ id: string;
289
+ label: string;
290
+ section: string;
291
+ required: boolean;
292
+ sortOrder: number;
293
+ sectionDescription?: string | null | undefined;
294
+ helpText?: string | null | undefined;
295
+ }[];
296
+ name?: string | undefined;
297
+ description?: string | null | undefined;
298
+ }, {
299
+ title: string;
300
+ questions: {
301
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
302
+ id: string;
303
+ label: string;
304
+ section: string;
305
+ options?: {
306
+ id: string;
307
+ label: string;
308
+ allowFreeText?: boolean | undefined;
309
+ }[] | undefined;
310
+ sectionDescription?: string | null | undefined;
311
+ helpText?: string | null | undefined;
312
+ required?: boolean | undefined;
313
+ sortOrder?: number | undefined;
314
+ }[];
315
+ name?: string | undefined;
316
+ description?: string | null | undefined;
317
+ }>;
318
+ export type CoachQuestionnaireTemplateWriteRequest = z.infer<typeof coachQuestionnaireTemplateWriteRequestSchema>;
319
+ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<{
320
+ name: z.ZodString;
321
+ title: z.ZodString;
322
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ questions: z.ZodArray<z.ZodObject<{
324
+ id: z.ZodString;
325
+ section: z.ZodString;
326
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ label: z.ZodString;
328
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
330
+ required: z.ZodDefault<z.ZodBoolean>;
331
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
332
+ id: z.ZodString;
333
+ label: z.ZodString;
334
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ id: string;
337
+ label: string;
338
+ allowFreeText?: boolean | undefined;
339
+ }, {
340
+ id: string;
341
+ label: string;
342
+ allowFreeText?: boolean | undefined;
343
+ }>, "many">>;
344
+ sortOrder: z.ZodDefault<z.ZodNumber>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ options: {
347
+ id: string;
348
+ label: string;
349
+ allowFreeText?: boolean | undefined;
350
+ }[];
351
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
352
+ id: string;
353
+ label: string;
354
+ section: string;
355
+ required: boolean;
356
+ sortOrder: number;
357
+ sectionDescription?: string | null | undefined;
358
+ helpText?: string | null | undefined;
359
+ }, {
360
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
361
+ id: string;
362
+ label: string;
363
+ section: string;
364
+ options?: {
365
+ id: string;
366
+ label: string;
367
+ allowFreeText?: boolean | undefined;
368
+ }[] | undefined;
369
+ sectionDescription?: string | null | undefined;
370
+ helpText?: string | null | undefined;
371
+ required?: boolean | undefined;
372
+ sortOrder?: number | undefined;
373
+ }>, "many">;
374
+ }, "strip", z.ZodTypeAny, {
375
+ name: string;
376
+ title: string;
377
+ questions: {
378
+ options: {
379
+ id: string;
380
+ label: string;
381
+ allowFreeText?: boolean | undefined;
382
+ }[];
383
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
384
+ id: string;
385
+ label: string;
386
+ section: string;
387
+ required: boolean;
388
+ sortOrder: number;
389
+ sectionDescription?: string | null | undefined;
390
+ helpText?: string | null | undefined;
391
+ }[];
392
+ description?: string | null | undefined;
393
+ }, {
394
+ name: string;
395
+ title: string;
396
+ questions: {
397
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
398
+ id: string;
399
+ label: string;
400
+ section: string;
401
+ options?: {
402
+ id: string;
403
+ label: string;
404
+ allowFreeText?: boolean | undefined;
405
+ }[] | undefined;
406
+ sectionDescription?: string | null | undefined;
407
+ helpText?: string | null | undefined;
408
+ required?: boolean | undefined;
409
+ sortOrder?: number | undefined;
410
+ }[];
411
+ description?: string | null | undefined;
412
+ }>;
413
+ export type CoachQuestionnaireTemplateCreateRequest = z.infer<typeof coachQuestionnaireTemplateCreateRequestSchema>;
414
+ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<{
415
+ name: z.ZodOptional<z.ZodString>;
416
+ title: z.ZodOptional<z.ZodString>;
417
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
+ id: z.ZodString;
420
+ section: z.ZodString;
421
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ label: z.ZodString;
423
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
425
+ required: z.ZodDefault<z.ZodBoolean>;
426
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
427
+ id: z.ZodString;
428
+ label: z.ZodString;
429
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
430
+ }, "strip", z.ZodTypeAny, {
431
+ id: string;
432
+ label: string;
433
+ allowFreeText?: boolean | undefined;
434
+ }, {
435
+ id: string;
436
+ label: string;
437
+ allowFreeText?: boolean | undefined;
438
+ }>, "many">>;
439
+ sortOrder: z.ZodDefault<z.ZodNumber>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ options: {
442
+ id: string;
443
+ label: string;
444
+ allowFreeText?: boolean | undefined;
445
+ }[];
446
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
447
+ id: string;
448
+ label: string;
449
+ section: string;
450
+ required: boolean;
451
+ sortOrder: number;
452
+ sectionDescription?: string | null | undefined;
453
+ helpText?: string | null | undefined;
454
+ }, {
455
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
456
+ id: string;
457
+ label: string;
458
+ section: string;
459
+ options?: {
460
+ id: string;
461
+ label: string;
462
+ allowFreeText?: boolean | undefined;
463
+ }[] | undefined;
464
+ sectionDescription?: string | null | undefined;
465
+ helpText?: string | null | undefined;
466
+ required?: boolean | undefined;
467
+ sortOrder?: number | undefined;
468
+ }>, "many">>;
469
+ archived: z.ZodOptional<z.ZodBoolean>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ name?: string | undefined;
472
+ archived?: boolean | undefined;
473
+ title?: string | undefined;
474
+ description?: string | null | undefined;
475
+ questions?: {
476
+ options: {
477
+ id: string;
478
+ label: string;
479
+ allowFreeText?: boolean | undefined;
480
+ }[];
481
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
482
+ id: string;
483
+ label: string;
484
+ section: string;
485
+ required: boolean;
486
+ sortOrder: number;
487
+ sectionDescription?: string | null | undefined;
488
+ helpText?: string | null | undefined;
489
+ }[] | undefined;
490
+ }, {
491
+ name?: string | undefined;
492
+ archived?: boolean | undefined;
493
+ title?: string | undefined;
494
+ description?: string | null | undefined;
495
+ questions?: {
496
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
497
+ id: string;
498
+ label: string;
499
+ section: string;
500
+ options?: {
501
+ id: string;
502
+ label: string;
503
+ allowFreeText?: boolean | undefined;
504
+ }[] | undefined;
505
+ sectionDescription?: string | null | undefined;
506
+ helpText?: string | null | undefined;
507
+ required?: boolean | undefined;
508
+ sortOrder?: number | undefined;
509
+ }[] | undefined;
510
+ }>;
511
+ export type CoachQuestionnaireTemplateUpdateRequest = z.infer<typeof coachQuestionnaireTemplateUpdateRequestSchema>;
512
+ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
513
+ template: z.ZodObject<{
514
+ id: z.ZodString;
515
+ organizationId: z.ZodString;
516
+ coachUserId: z.ZodString;
517
+ name: z.ZodString;
518
+ title: z.ZodString;
519
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ questions: z.ZodArray<z.ZodObject<{
521
+ id: z.ZodString;
522
+ section: z.ZodString;
523
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
524
+ label: z.ZodString;
525
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
527
+ required: z.ZodDefault<z.ZodBoolean>;
528
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
529
+ id: z.ZodString;
530
+ label: z.ZodString;
531
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ id: string;
534
+ label: string;
535
+ allowFreeText?: boolean | undefined;
536
+ }, {
537
+ id: string;
538
+ label: string;
539
+ allowFreeText?: boolean | undefined;
540
+ }>, "many">>;
541
+ sortOrder: z.ZodDefault<z.ZodNumber>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ options: {
544
+ id: string;
545
+ label: string;
546
+ allowFreeText?: boolean | undefined;
547
+ }[];
548
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
549
+ id: string;
550
+ label: string;
551
+ section: string;
552
+ required: boolean;
553
+ sortOrder: number;
554
+ sectionDescription?: string | null | undefined;
555
+ helpText?: string | null | undefined;
556
+ }, {
557
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
558
+ id: string;
559
+ label: string;
560
+ section: string;
561
+ options?: {
562
+ id: string;
563
+ label: string;
564
+ allowFreeText?: boolean | undefined;
565
+ }[] | undefined;
566
+ sectionDescription?: string | null | undefined;
567
+ helpText?: string | null | undefined;
568
+ required?: boolean | undefined;
569
+ sortOrder?: number | undefined;
570
+ }>, "many">;
571
+ isDefault: z.ZodDefault<z.ZodBoolean>;
572
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
573
+ assignedFamilyQuestionnaireCount: z.ZodOptional<z.ZodNumber>;
574
+ createdAt: z.ZodString;
575
+ updatedAt: z.ZodString;
576
+ }, "strip", z.ZodTypeAny, {
577
+ id: string;
578
+ name: string;
579
+ createdAt: string;
580
+ updatedAt: string;
581
+ organizationId: string;
582
+ coachUserId: string;
583
+ title: string;
584
+ questions: {
585
+ options: {
586
+ id: string;
587
+ label: string;
588
+ allowFreeText?: boolean | undefined;
589
+ }[];
590
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
591
+ id: string;
592
+ label: string;
593
+ section: string;
594
+ required: boolean;
595
+ sortOrder: number;
596
+ sectionDescription?: string | null | undefined;
597
+ helpText?: string | null | undefined;
598
+ }[];
599
+ isDefault: boolean;
600
+ description?: string | null | undefined;
601
+ archivedAt?: string | null | undefined;
602
+ assignedFamilyQuestionnaireCount?: number | undefined;
603
+ }, {
604
+ id: string;
605
+ name: string;
606
+ createdAt: string;
607
+ updatedAt: string;
608
+ organizationId: string;
609
+ coachUserId: string;
610
+ title: string;
611
+ questions: {
612
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
613
+ id: string;
614
+ label: string;
615
+ section: string;
616
+ options?: {
617
+ id: string;
618
+ label: string;
619
+ allowFreeText?: boolean | undefined;
620
+ }[] | undefined;
621
+ sectionDescription?: string | null | undefined;
622
+ helpText?: string | null | undefined;
623
+ required?: boolean | undefined;
624
+ sortOrder?: number | undefined;
625
+ }[];
626
+ description?: string | null | undefined;
627
+ archivedAt?: string | null | undefined;
628
+ isDefault?: boolean | undefined;
629
+ assignedFamilyQuestionnaireCount?: number | undefined;
630
+ }>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ template: {
633
+ id: string;
634
+ name: string;
635
+ createdAt: string;
636
+ updatedAt: string;
637
+ organizationId: string;
638
+ coachUserId: string;
639
+ title: string;
640
+ questions: {
641
+ options: {
642
+ id: string;
643
+ label: string;
644
+ allowFreeText?: boolean | undefined;
645
+ }[];
646
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
647
+ id: string;
648
+ label: string;
649
+ section: string;
650
+ required: boolean;
651
+ sortOrder: number;
652
+ sectionDescription?: string | null | undefined;
653
+ helpText?: string | null | undefined;
654
+ }[];
655
+ isDefault: boolean;
656
+ description?: string | null | undefined;
657
+ archivedAt?: string | null | undefined;
658
+ assignedFamilyQuestionnaireCount?: number | undefined;
659
+ };
660
+ }, {
661
+ template: {
662
+ id: string;
663
+ name: string;
664
+ createdAt: string;
665
+ updatedAt: string;
666
+ organizationId: string;
667
+ coachUserId: string;
668
+ title: string;
669
+ questions: {
670
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
671
+ id: string;
672
+ label: string;
673
+ section: string;
674
+ options?: {
675
+ id: string;
676
+ label: string;
677
+ allowFreeText?: boolean | undefined;
678
+ }[] | undefined;
679
+ sectionDescription?: string | null | undefined;
680
+ helpText?: string | null | undefined;
681
+ required?: boolean | undefined;
682
+ sortOrder?: number | undefined;
683
+ }[];
684
+ description?: string | null | undefined;
685
+ archivedAt?: string | null | undefined;
686
+ isDefault?: boolean | undefined;
687
+ assignedFamilyQuestionnaireCount?: number | undefined;
688
+ };
689
+ }>;
690
+ export type CoachQuestionnaireTemplateResponse = z.infer<typeof coachQuestionnaireTemplateResponseSchema>;
691
+ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
692
+ templates: z.ZodArray<z.ZodObject<{
693
+ id: z.ZodString;
694
+ organizationId: z.ZodString;
695
+ coachUserId: z.ZodString;
696
+ name: z.ZodString;
697
+ title: z.ZodString;
698
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
699
+ questions: z.ZodArray<z.ZodObject<{
700
+ id: z.ZodString;
701
+ section: z.ZodString;
702
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
703
+ label: z.ZodString;
704
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
705
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
706
+ required: z.ZodDefault<z.ZodBoolean>;
707
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
708
+ id: z.ZodString;
709
+ label: z.ZodString;
710
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ id: string;
713
+ label: string;
714
+ allowFreeText?: boolean | undefined;
715
+ }, {
716
+ id: string;
717
+ label: string;
718
+ allowFreeText?: boolean | undefined;
719
+ }>, "many">>;
720
+ sortOrder: z.ZodDefault<z.ZodNumber>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ options: {
723
+ id: string;
724
+ label: string;
725
+ allowFreeText?: boolean | undefined;
726
+ }[];
727
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
728
+ id: string;
729
+ label: string;
730
+ section: string;
731
+ required: boolean;
732
+ sortOrder: number;
733
+ sectionDescription?: string | null | undefined;
734
+ helpText?: string | null | undefined;
735
+ }, {
736
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
737
+ id: string;
738
+ label: string;
739
+ section: string;
740
+ options?: {
741
+ id: string;
742
+ label: string;
743
+ allowFreeText?: boolean | undefined;
744
+ }[] | undefined;
745
+ sectionDescription?: string | null | undefined;
746
+ helpText?: string | null | undefined;
747
+ required?: boolean | undefined;
748
+ sortOrder?: number | undefined;
749
+ }>, "many">;
750
+ isDefault: z.ZodDefault<z.ZodBoolean>;
751
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
+ assignedFamilyQuestionnaireCount: z.ZodOptional<z.ZodNumber>;
753
+ createdAt: z.ZodString;
754
+ updatedAt: z.ZodString;
755
+ }, "strip", z.ZodTypeAny, {
756
+ id: string;
757
+ name: string;
758
+ createdAt: string;
759
+ updatedAt: string;
760
+ organizationId: string;
761
+ coachUserId: string;
762
+ title: string;
763
+ questions: {
764
+ options: {
765
+ id: string;
766
+ label: string;
767
+ allowFreeText?: boolean | undefined;
768
+ }[];
769
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
770
+ id: string;
771
+ label: string;
772
+ section: string;
773
+ required: boolean;
774
+ sortOrder: number;
775
+ sectionDescription?: string | null | undefined;
776
+ helpText?: string | null | undefined;
777
+ }[];
778
+ isDefault: boolean;
779
+ description?: string | null | undefined;
780
+ archivedAt?: string | null | undefined;
781
+ assignedFamilyQuestionnaireCount?: number | undefined;
782
+ }, {
783
+ id: string;
784
+ name: string;
785
+ createdAt: string;
786
+ updatedAt: string;
787
+ organizationId: string;
788
+ coachUserId: string;
789
+ title: string;
790
+ questions: {
791
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
792
+ id: string;
793
+ label: string;
794
+ section: string;
795
+ options?: {
796
+ id: string;
797
+ label: string;
798
+ allowFreeText?: boolean | undefined;
799
+ }[] | undefined;
800
+ sectionDescription?: string | null | undefined;
801
+ helpText?: string | null | undefined;
802
+ required?: boolean | undefined;
803
+ sortOrder?: number | undefined;
804
+ }[];
805
+ description?: string | null | undefined;
806
+ archivedAt?: string | null | undefined;
807
+ isDefault?: boolean | undefined;
808
+ assignedFamilyQuestionnaireCount?: number | undefined;
809
+ }>, "many">;
810
+ }, "strip", z.ZodTypeAny, {
811
+ templates: {
812
+ id: string;
813
+ name: string;
814
+ createdAt: string;
815
+ updatedAt: string;
816
+ organizationId: string;
817
+ coachUserId: string;
818
+ title: string;
819
+ questions: {
820
+ options: {
821
+ id: string;
822
+ label: string;
823
+ allowFreeText?: boolean | undefined;
824
+ }[];
825
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
826
+ id: string;
827
+ label: string;
828
+ section: string;
829
+ required: boolean;
830
+ sortOrder: number;
831
+ sectionDescription?: string | null | undefined;
832
+ helpText?: string | null | undefined;
833
+ }[];
834
+ isDefault: boolean;
835
+ description?: string | null | undefined;
836
+ archivedAt?: string | null | undefined;
837
+ assignedFamilyQuestionnaireCount?: number | undefined;
838
+ }[];
839
+ }, {
840
+ templates: {
841
+ id: string;
842
+ name: string;
843
+ createdAt: string;
844
+ updatedAt: string;
845
+ organizationId: string;
846
+ coachUserId: string;
847
+ title: string;
848
+ questions: {
849
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
850
+ id: string;
851
+ label: string;
852
+ section: string;
853
+ options?: {
854
+ id: string;
855
+ label: string;
856
+ allowFreeText?: boolean | undefined;
857
+ }[] | undefined;
858
+ sectionDescription?: string | null | undefined;
859
+ helpText?: string | null | undefined;
860
+ required?: boolean | undefined;
861
+ sortOrder?: number | undefined;
862
+ }[];
863
+ description?: string | null | undefined;
864
+ archivedAt?: string | null | undefined;
865
+ isDefault?: boolean | undefined;
866
+ assignedFamilyQuestionnaireCount?: number | undefined;
867
+ }[];
868
+ }>;
869
+ export type CoachQuestionnaireTemplatesResponse = z.infer<typeof coachQuestionnaireTemplatesResponseSchema>;
870
+ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject<{
871
+ removedTemplateId: z.ZodString;
872
+ defaultTemplate: z.ZodObject<{
873
+ id: z.ZodString;
874
+ organizationId: z.ZodString;
875
+ coachUserId: z.ZodString;
876
+ name: z.ZodString;
877
+ title: z.ZodString;
878
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
879
+ questions: z.ZodArray<z.ZodObject<{
880
+ id: z.ZodString;
881
+ section: z.ZodString;
882
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
+ label: z.ZodString;
884
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
886
+ required: z.ZodDefault<z.ZodBoolean>;
887
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
888
+ id: z.ZodString;
889
+ label: z.ZodString;
890
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
891
+ }, "strip", z.ZodTypeAny, {
892
+ id: string;
893
+ label: string;
894
+ allowFreeText?: boolean | undefined;
895
+ }, {
896
+ id: string;
897
+ label: string;
898
+ allowFreeText?: boolean | undefined;
899
+ }>, "many">>;
900
+ sortOrder: z.ZodDefault<z.ZodNumber>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ options: {
903
+ id: string;
904
+ label: string;
905
+ allowFreeText?: boolean | undefined;
906
+ }[];
907
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
908
+ id: string;
909
+ label: string;
910
+ section: string;
911
+ required: boolean;
912
+ sortOrder: number;
913
+ sectionDescription?: string | null | undefined;
914
+ helpText?: string | null | undefined;
915
+ }, {
916
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
917
+ id: string;
918
+ label: string;
919
+ section: string;
920
+ options?: {
921
+ id: string;
922
+ label: string;
923
+ allowFreeText?: boolean | undefined;
924
+ }[] | undefined;
925
+ sectionDescription?: string | null | undefined;
926
+ helpText?: string | null | undefined;
927
+ required?: boolean | undefined;
928
+ sortOrder?: number | undefined;
929
+ }>, "many">;
930
+ isDefault: z.ZodDefault<z.ZodBoolean>;
931
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
932
+ assignedFamilyQuestionnaireCount: z.ZodOptional<z.ZodNumber>;
933
+ createdAt: z.ZodString;
934
+ updatedAt: z.ZodString;
935
+ }, "strip", z.ZodTypeAny, {
936
+ id: string;
937
+ name: string;
938
+ createdAt: string;
939
+ updatedAt: string;
940
+ organizationId: string;
941
+ coachUserId: string;
942
+ title: string;
943
+ questions: {
944
+ options: {
945
+ id: string;
946
+ label: string;
947
+ allowFreeText?: boolean | undefined;
948
+ }[];
949
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
950
+ id: string;
951
+ label: string;
952
+ section: string;
953
+ required: boolean;
954
+ sortOrder: number;
955
+ sectionDescription?: string | null | undefined;
956
+ helpText?: string | null | undefined;
957
+ }[];
958
+ isDefault: boolean;
959
+ description?: string | null | undefined;
960
+ archivedAt?: string | null | undefined;
961
+ assignedFamilyQuestionnaireCount?: number | undefined;
962
+ }, {
963
+ id: string;
964
+ name: string;
965
+ createdAt: string;
966
+ updatedAt: string;
967
+ organizationId: string;
968
+ coachUserId: string;
969
+ title: string;
970
+ questions: {
971
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
972
+ id: string;
973
+ label: string;
974
+ section: string;
975
+ options?: {
976
+ id: string;
977
+ label: string;
978
+ allowFreeText?: boolean | undefined;
979
+ }[] | undefined;
980
+ sectionDescription?: string | null | undefined;
981
+ helpText?: string | null | undefined;
982
+ required?: boolean | undefined;
983
+ sortOrder?: number | undefined;
984
+ }[];
985
+ description?: string | null | undefined;
986
+ archivedAt?: string | null | undefined;
987
+ isDefault?: boolean | undefined;
988
+ assignedFamilyQuestionnaireCount?: number | undefined;
989
+ }>;
990
+ reassignedFamilyQuestionnaireCount: z.ZodNumber;
991
+ }, "strip", z.ZodTypeAny, {
992
+ removedTemplateId: string;
993
+ defaultTemplate: {
994
+ id: string;
995
+ name: string;
996
+ createdAt: string;
997
+ updatedAt: string;
998
+ organizationId: string;
999
+ coachUserId: string;
1000
+ title: string;
1001
+ questions: {
1002
+ options: {
1003
+ id: string;
1004
+ label: string;
1005
+ allowFreeText?: boolean | undefined;
1006
+ }[];
1007
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1008
+ id: string;
1009
+ label: string;
1010
+ section: string;
1011
+ required: boolean;
1012
+ sortOrder: number;
1013
+ sectionDescription?: string | null | undefined;
1014
+ helpText?: string | null | undefined;
1015
+ }[];
1016
+ isDefault: boolean;
1017
+ description?: string | null | undefined;
1018
+ archivedAt?: string | null | undefined;
1019
+ assignedFamilyQuestionnaireCount?: number | undefined;
1020
+ };
1021
+ reassignedFamilyQuestionnaireCount: number;
1022
+ }, {
1023
+ removedTemplateId: string;
1024
+ defaultTemplate: {
1025
+ id: string;
1026
+ name: string;
1027
+ createdAt: string;
1028
+ updatedAt: string;
1029
+ organizationId: string;
1030
+ coachUserId: string;
1031
+ title: string;
1032
+ questions: {
1033
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1034
+ id: string;
1035
+ label: string;
1036
+ section: string;
1037
+ options?: {
1038
+ id: string;
1039
+ label: string;
1040
+ allowFreeText?: boolean | undefined;
1041
+ }[] | undefined;
1042
+ sectionDescription?: string | null | undefined;
1043
+ helpText?: string | null | undefined;
1044
+ required?: boolean | undefined;
1045
+ sortOrder?: number | undefined;
1046
+ }[];
1047
+ description?: string | null | undefined;
1048
+ archivedAt?: string | null | undefined;
1049
+ isDefault?: boolean | undefined;
1050
+ assignedFamilyQuestionnaireCount?: number | undefined;
1051
+ };
1052
+ reassignedFamilyQuestionnaireCount: number;
1053
+ }>;
1054
+ export type CoachQuestionnaireTemplateRemoveResponse = z.infer<typeof coachQuestionnaireTemplateRemoveResponseSchema>;
1055
+ export declare const familyQuestionnaireTemplateSelectionRequestSchema: z.ZodObject<{
1056
+ templateId: z.ZodString;
1057
+ }, "strip", z.ZodTypeAny, {
1058
+ templateId: string;
1059
+ }, {
1060
+ templateId: string;
1061
+ }>;
1062
+ export type FamilyQuestionnaireTemplateSelectionRequest = z.infer<typeof familyQuestionnaireTemplateSelectionRequestSchema>;
1063
+ export declare const familyQuestionnaireSchema: z.ZodObject<{
1064
+ id: z.ZodString;
1065
+ organizationId: z.ZodString;
1066
+ coachUserId: z.ZodString;
1067
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
+ organizationBranding: z.ZodOptional<z.ZodObject<{
1070
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1074
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1076
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1080
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
+ }, "strict", z.ZodTypeAny, {
1087
+ documentBackgroundColor?: string | null | undefined;
1088
+ screenBackgroundColor?: string | null | undefined;
1089
+ surfaceColor?: string | null | undefined;
1090
+ mutedSurfaceColor?: string | null | undefined;
1091
+ softSurfaceColor?: string | null | undefined;
1092
+ textColor?: string | null | undefined;
1093
+ greenColor?: string | null | undefined;
1094
+ lavenderColor?: string | null | undefined;
1095
+ yellowColor?: string | null | undefined;
1096
+ pinkColor?: string | null | undefined;
1097
+ deepGreenColor?: string | null | undefined;
1098
+ blueColor?: string | null | undefined;
1099
+ }, {
1100
+ documentBackgroundColor?: string | null | undefined;
1101
+ screenBackgroundColor?: string | null | undefined;
1102
+ surfaceColor?: string | null | undefined;
1103
+ mutedSurfaceColor?: string | null | undefined;
1104
+ softSurfaceColor?: string | null | undefined;
1105
+ textColor?: string | null | undefined;
1106
+ greenColor?: string | null | undefined;
1107
+ lavenderColor?: string | null | undefined;
1108
+ yellowColor?: string | null | undefined;
1109
+ pinkColor?: string | null | undefined;
1110
+ deepGreenColor?: string | null | undefined;
1111
+ blueColor?: string | null | undefined;
1112
+ }>>>;
1113
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1114
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ primaryColor?: string | null | undefined;
1118
+ accentColor?: string | null | undefined;
1119
+ backgroundColor?: string | null | undefined;
1120
+ theme?: {
1121
+ documentBackgroundColor?: string | null | undefined;
1122
+ screenBackgroundColor?: string | null | undefined;
1123
+ surfaceColor?: string | null | undefined;
1124
+ mutedSurfaceColor?: string | null | undefined;
1125
+ softSurfaceColor?: string | null | undefined;
1126
+ textColor?: string | null | undefined;
1127
+ greenColor?: string | null | undefined;
1128
+ lavenderColor?: string | null | undefined;
1129
+ yellowColor?: string | null | undefined;
1130
+ pinkColor?: string | null | undefined;
1131
+ deepGreenColor?: string | null | undefined;
1132
+ blueColor?: string | null | undefined;
1133
+ } | null | undefined;
1134
+ logoAssetId?: string | null | undefined;
1135
+ welcomeMessage?: string | null | undefined;
1136
+ updatedAt?: string | null | undefined;
1137
+ }, {
1138
+ primaryColor?: string | null | undefined;
1139
+ accentColor?: string | null | undefined;
1140
+ backgroundColor?: string | null | undefined;
1141
+ theme?: {
1142
+ documentBackgroundColor?: string | null | undefined;
1143
+ screenBackgroundColor?: string | null | undefined;
1144
+ surfaceColor?: string | null | undefined;
1145
+ mutedSurfaceColor?: string | null | undefined;
1146
+ softSurfaceColor?: string | null | undefined;
1147
+ textColor?: string | null | undefined;
1148
+ greenColor?: string | null | undefined;
1149
+ lavenderColor?: string | null | undefined;
1150
+ yellowColor?: string | null | undefined;
1151
+ pinkColor?: string | null | undefined;
1152
+ deepGreenColor?: string | null | undefined;
1153
+ blueColor?: string | null | undefined;
1154
+ } | null | undefined;
1155
+ logoAssetId?: string | null | undefined;
1156
+ welcomeMessage?: string | null | undefined;
1157
+ updatedAt?: string | null | undefined;
1158
+ }>>;
1159
+ familyUserId: z.ZodString;
1160
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1161
+ templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1162
+ title: z.ZodString;
1163
+ questions: z.ZodArray<z.ZodObject<{
1164
+ id: z.ZodString;
1165
+ section: z.ZodString;
1166
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1167
+ label: z.ZodString;
1168
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
1170
+ required: z.ZodDefault<z.ZodBoolean>;
1171
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
1172
+ id: z.ZodString;
1173
+ label: z.ZodString;
1174
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ id: string;
1177
+ label: string;
1178
+ allowFreeText?: boolean | undefined;
1179
+ }, {
1180
+ id: string;
1181
+ label: string;
1182
+ allowFreeText?: boolean | undefined;
1183
+ }>, "many">>;
1184
+ sortOrder: z.ZodDefault<z.ZodNumber>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ options: {
1187
+ id: string;
1188
+ label: string;
1189
+ allowFreeText?: boolean | undefined;
1190
+ }[];
1191
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1192
+ id: string;
1193
+ label: string;
1194
+ section: string;
1195
+ required: boolean;
1196
+ sortOrder: number;
1197
+ sectionDescription?: string | null | undefined;
1198
+ helpText?: string | null | undefined;
1199
+ }, {
1200
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1201
+ id: string;
1202
+ label: string;
1203
+ section: string;
1204
+ options?: {
1205
+ id: string;
1206
+ label: string;
1207
+ allowFreeText?: boolean | undefined;
1208
+ }[] | undefined;
1209
+ sectionDescription?: string | null | undefined;
1210
+ helpText?: string | null | undefined;
1211
+ required?: boolean | undefined;
1212
+ sortOrder?: number | undefined;
1213
+ }>, "many">;
1214
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1215
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1216
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ selected: string | string[];
1219
+ freeText?: Record<string, string> | undefined;
1220
+ }, {
1221
+ selected: string | string[];
1222
+ freeText?: Record<string, string> | undefined;
1223
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1224
+ status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
1225
+ submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1226
+ createdAt: z.ZodString;
1227
+ updatedAt: z.ZodString;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ status: "notStarted" | "inProgress" | "submitted";
1230
+ id: string;
1231
+ createdAt: string;
1232
+ updatedAt: string;
1233
+ organizationId: string;
1234
+ coachUserId: string;
1235
+ familyUserId: string;
1236
+ title: string;
1237
+ questions: {
1238
+ options: {
1239
+ id: string;
1240
+ label: string;
1241
+ allowFreeText?: boolean | undefined;
1242
+ }[];
1243
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1244
+ id: string;
1245
+ label: string;
1246
+ section: string;
1247
+ required: boolean;
1248
+ sortOrder: number;
1249
+ sectionDescription?: string | null | undefined;
1250
+ helpText?: string | null | undefined;
1251
+ }[];
1252
+ answers: Record<string, string | number | boolean | string[] | {
1253
+ selected: string | string[];
1254
+ freeText?: Record<string, string> | undefined;
1255
+ } | null>;
1256
+ templateId?: string | null | undefined;
1257
+ templateName?: string | null | undefined;
1258
+ coachName?: string | null | undefined;
1259
+ organizationName?: string | null | undefined;
1260
+ organizationBranding?: {
1261
+ primaryColor?: string | null | undefined;
1262
+ accentColor?: string | null | undefined;
1263
+ backgroundColor?: string | null | undefined;
1264
+ theme?: {
1265
+ documentBackgroundColor?: string | null | undefined;
1266
+ screenBackgroundColor?: string | null | undefined;
1267
+ surfaceColor?: string | null | undefined;
1268
+ mutedSurfaceColor?: string | null | undefined;
1269
+ softSurfaceColor?: string | null | undefined;
1270
+ textColor?: string | null | undefined;
1271
+ greenColor?: string | null | undefined;
1272
+ lavenderColor?: string | null | undefined;
1273
+ yellowColor?: string | null | undefined;
1274
+ pinkColor?: string | null | undefined;
1275
+ deepGreenColor?: string | null | undefined;
1276
+ blueColor?: string | null | undefined;
1277
+ } | null | undefined;
1278
+ logoAssetId?: string | null | undefined;
1279
+ welcomeMessage?: string | null | undefined;
1280
+ updatedAt?: string | null | undefined;
1281
+ } | undefined;
1282
+ submittedAt?: string | null | undefined;
1283
+ }, {
1284
+ status: "notStarted" | "inProgress" | "submitted";
1285
+ id: string;
1286
+ createdAt: string;
1287
+ updatedAt: string;
1288
+ organizationId: string;
1289
+ coachUserId: string;
1290
+ familyUserId: string;
1291
+ title: string;
1292
+ questions: {
1293
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1294
+ id: string;
1295
+ label: string;
1296
+ section: string;
1297
+ options?: {
1298
+ id: string;
1299
+ label: string;
1300
+ allowFreeText?: boolean | undefined;
1301
+ }[] | undefined;
1302
+ sectionDescription?: string | null | undefined;
1303
+ helpText?: string | null | undefined;
1304
+ required?: boolean | undefined;
1305
+ sortOrder?: number | undefined;
1306
+ }[];
1307
+ answers: Record<string, string | number | boolean | string[] | {
1308
+ selected: string | string[];
1309
+ freeText?: Record<string, string> | undefined;
1310
+ } | null>;
1311
+ templateId?: string | null | undefined;
1312
+ templateName?: string | null | undefined;
1313
+ coachName?: string | null | undefined;
1314
+ organizationName?: string | null | undefined;
1315
+ organizationBranding?: {
1316
+ primaryColor?: string | null | undefined;
1317
+ accentColor?: string | null | undefined;
1318
+ backgroundColor?: string | null | undefined;
1319
+ theme?: {
1320
+ documentBackgroundColor?: string | null | undefined;
1321
+ screenBackgroundColor?: string | null | undefined;
1322
+ surfaceColor?: string | null | undefined;
1323
+ mutedSurfaceColor?: string | null | undefined;
1324
+ softSurfaceColor?: string | null | undefined;
1325
+ textColor?: string | null | undefined;
1326
+ greenColor?: string | null | undefined;
1327
+ lavenderColor?: string | null | undefined;
1328
+ yellowColor?: string | null | undefined;
1329
+ pinkColor?: string | null | undefined;
1330
+ deepGreenColor?: string | null | undefined;
1331
+ blueColor?: string | null | undefined;
1332
+ } | null | undefined;
1333
+ logoAssetId?: string | null | undefined;
1334
+ welcomeMessage?: string | null | undefined;
1335
+ updatedAt?: string | null | undefined;
1336
+ } | undefined;
1337
+ submittedAt?: string | null | undefined;
1338
+ }>;
1339
+ export type FamilyQuestionnaire = z.infer<typeof familyQuestionnaireSchema>;
1340
+ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1341
+ questionnaire: z.ZodObject<{
1342
+ id: z.ZodString;
1343
+ organizationId: z.ZodString;
1344
+ coachUserId: z.ZodString;
1345
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1346
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1347
+ organizationBranding: z.ZodOptional<z.ZodObject<{
1348
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1349
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1350
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1351
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1352
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1353
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1354
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1355
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1356
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1357
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1358
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1359
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1360
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1361
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1362
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1363
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1364
+ }, "strict", z.ZodTypeAny, {
1365
+ documentBackgroundColor?: string | null | undefined;
1366
+ screenBackgroundColor?: string | null | undefined;
1367
+ surfaceColor?: string | null | undefined;
1368
+ mutedSurfaceColor?: string | null | undefined;
1369
+ softSurfaceColor?: string | null | undefined;
1370
+ textColor?: string | null | undefined;
1371
+ greenColor?: string | null | undefined;
1372
+ lavenderColor?: string | null | undefined;
1373
+ yellowColor?: string | null | undefined;
1374
+ pinkColor?: string | null | undefined;
1375
+ deepGreenColor?: string | null | undefined;
1376
+ blueColor?: string | null | undefined;
1377
+ }, {
1378
+ documentBackgroundColor?: string | null | undefined;
1379
+ screenBackgroundColor?: string | null | undefined;
1380
+ surfaceColor?: string | null | undefined;
1381
+ mutedSurfaceColor?: string | null | undefined;
1382
+ softSurfaceColor?: string | null | undefined;
1383
+ textColor?: string | null | undefined;
1384
+ greenColor?: string | null | undefined;
1385
+ lavenderColor?: string | null | undefined;
1386
+ yellowColor?: string | null | undefined;
1387
+ pinkColor?: string | null | undefined;
1388
+ deepGreenColor?: string | null | undefined;
1389
+ blueColor?: string | null | undefined;
1390
+ }>>>;
1391
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1392
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1393
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ primaryColor?: string | null | undefined;
1396
+ accentColor?: string | null | undefined;
1397
+ backgroundColor?: string | null | undefined;
1398
+ theme?: {
1399
+ documentBackgroundColor?: string | null | undefined;
1400
+ screenBackgroundColor?: string | null | undefined;
1401
+ surfaceColor?: string | null | undefined;
1402
+ mutedSurfaceColor?: string | null | undefined;
1403
+ softSurfaceColor?: string | null | undefined;
1404
+ textColor?: string | null | undefined;
1405
+ greenColor?: string | null | undefined;
1406
+ lavenderColor?: string | null | undefined;
1407
+ yellowColor?: string | null | undefined;
1408
+ pinkColor?: string | null | undefined;
1409
+ deepGreenColor?: string | null | undefined;
1410
+ blueColor?: string | null | undefined;
1411
+ } | null | undefined;
1412
+ logoAssetId?: string | null | undefined;
1413
+ welcomeMessage?: string | null | undefined;
1414
+ updatedAt?: string | null | undefined;
1415
+ }, {
1416
+ primaryColor?: string | null | undefined;
1417
+ accentColor?: string | null | undefined;
1418
+ backgroundColor?: string | null | undefined;
1419
+ theme?: {
1420
+ documentBackgroundColor?: string | null | undefined;
1421
+ screenBackgroundColor?: string | null | undefined;
1422
+ surfaceColor?: string | null | undefined;
1423
+ mutedSurfaceColor?: string | null | undefined;
1424
+ softSurfaceColor?: string | null | undefined;
1425
+ textColor?: string | null | undefined;
1426
+ greenColor?: string | null | undefined;
1427
+ lavenderColor?: string | null | undefined;
1428
+ yellowColor?: string | null | undefined;
1429
+ pinkColor?: string | null | undefined;
1430
+ deepGreenColor?: string | null | undefined;
1431
+ blueColor?: string | null | undefined;
1432
+ } | null | undefined;
1433
+ logoAssetId?: string | null | undefined;
1434
+ welcomeMessage?: string | null | undefined;
1435
+ updatedAt?: string | null | undefined;
1436
+ }>>;
1437
+ familyUserId: z.ZodString;
1438
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1439
+ templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1440
+ title: z.ZodString;
1441
+ questions: z.ZodArray<z.ZodObject<{
1442
+ id: z.ZodString;
1443
+ section: z.ZodString;
1444
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
+ label: z.ZodString;
1446
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1447
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
1448
+ required: z.ZodDefault<z.ZodBoolean>;
1449
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
1450
+ id: z.ZodString;
1451
+ label: z.ZodString;
1452
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
1453
+ }, "strip", z.ZodTypeAny, {
1454
+ id: string;
1455
+ label: string;
1456
+ allowFreeText?: boolean | undefined;
1457
+ }, {
1458
+ id: string;
1459
+ label: string;
1460
+ allowFreeText?: boolean | undefined;
1461
+ }>, "many">>;
1462
+ sortOrder: z.ZodDefault<z.ZodNumber>;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ options: {
1465
+ id: string;
1466
+ label: string;
1467
+ allowFreeText?: boolean | undefined;
1468
+ }[];
1469
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1470
+ id: string;
1471
+ label: string;
1472
+ section: string;
1473
+ required: boolean;
1474
+ sortOrder: number;
1475
+ sectionDescription?: string | null | undefined;
1476
+ helpText?: string | null | undefined;
1477
+ }, {
1478
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1479
+ id: string;
1480
+ label: string;
1481
+ section: string;
1482
+ options?: {
1483
+ id: string;
1484
+ label: string;
1485
+ allowFreeText?: boolean | undefined;
1486
+ }[] | undefined;
1487
+ sectionDescription?: string | null | undefined;
1488
+ helpText?: string | null | undefined;
1489
+ required?: boolean | undefined;
1490
+ sortOrder?: number | undefined;
1491
+ }>, "many">;
1492
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1493
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1494
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ selected: string | string[];
1497
+ freeText?: Record<string, string> | undefined;
1498
+ }, {
1499
+ selected: string | string[];
1500
+ freeText?: Record<string, string> | undefined;
1501
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1502
+ status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
1503
+ submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1504
+ createdAt: z.ZodString;
1505
+ updatedAt: z.ZodString;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ status: "notStarted" | "inProgress" | "submitted";
1508
+ id: string;
1509
+ createdAt: string;
1510
+ updatedAt: string;
1511
+ organizationId: string;
1512
+ coachUserId: string;
1513
+ familyUserId: string;
1514
+ title: string;
1515
+ questions: {
1516
+ options: {
1517
+ id: string;
1518
+ label: string;
1519
+ allowFreeText?: boolean | undefined;
1520
+ }[];
1521
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1522
+ id: string;
1523
+ label: string;
1524
+ section: string;
1525
+ required: boolean;
1526
+ sortOrder: number;
1527
+ sectionDescription?: string | null | undefined;
1528
+ helpText?: string | null | undefined;
1529
+ }[];
1530
+ answers: Record<string, string | number | boolean | string[] | {
1531
+ selected: string | string[];
1532
+ freeText?: Record<string, string> | undefined;
1533
+ } | null>;
1534
+ templateId?: string | null | undefined;
1535
+ templateName?: string | null | undefined;
1536
+ coachName?: string | null | undefined;
1537
+ organizationName?: string | null | undefined;
1538
+ organizationBranding?: {
1539
+ primaryColor?: string | null | undefined;
1540
+ accentColor?: string | null | undefined;
1541
+ backgroundColor?: string | null | undefined;
1542
+ theme?: {
1543
+ documentBackgroundColor?: string | null | undefined;
1544
+ screenBackgroundColor?: string | null | undefined;
1545
+ surfaceColor?: string | null | undefined;
1546
+ mutedSurfaceColor?: string | null | undefined;
1547
+ softSurfaceColor?: string | null | undefined;
1548
+ textColor?: string | null | undefined;
1549
+ greenColor?: string | null | undefined;
1550
+ lavenderColor?: string | null | undefined;
1551
+ yellowColor?: string | null | undefined;
1552
+ pinkColor?: string | null | undefined;
1553
+ deepGreenColor?: string | null | undefined;
1554
+ blueColor?: string | null | undefined;
1555
+ } | null | undefined;
1556
+ logoAssetId?: string | null | undefined;
1557
+ welcomeMessage?: string | null | undefined;
1558
+ updatedAt?: string | null | undefined;
1559
+ } | undefined;
1560
+ submittedAt?: string | null | undefined;
1561
+ }, {
1562
+ status: "notStarted" | "inProgress" | "submitted";
1563
+ id: string;
1564
+ createdAt: string;
1565
+ updatedAt: string;
1566
+ organizationId: string;
1567
+ coachUserId: string;
1568
+ familyUserId: string;
1569
+ title: string;
1570
+ questions: {
1571
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1572
+ id: string;
1573
+ label: string;
1574
+ section: string;
1575
+ options?: {
1576
+ id: string;
1577
+ label: string;
1578
+ allowFreeText?: boolean | undefined;
1579
+ }[] | undefined;
1580
+ sectionDescription?: string | null | undefined;
1581
+ helpText?: string | null | undefined;
1582
+ required?: boolean | undefined;
1583
+ sortOrder?: number | undefined;
1584
+ }[];
1585
+ answers: Record<string, string | number | boolean | string[] | {
1586
+ selected: string | string[];
1587
+ freeText?: Record<string, string> | undefined;
1588
+ } | null>;
1589
+ templateId?: string | null | undefined;
1590
+ templateName?: string | null | undefined;
1591
+ coachName?: string | null | undefined;
1592
+ organizationName?: string | null | undefined;
1593
+ organizationBranding?: {
1594
+ primaryColor?: string | null | undefined;
1595
+ accentColor?: string | null | undefined;
1596
+ backgroundColor?: string | null | undefined;
1597
+ theme?: {
1598
+ documentBackgroundColor?: string | null | undefined;
1599
+ screenBackgroundColor?: string | null | undefined;
1600
+ surfaceColor?: string | null | undefined;
1601
+ mutedSurfaceColor?: string | null | undefined;
1602
+ softSurfaceColor?: string | null | undefined;
1603
+ textColor?: string | null | undefined;
1604
+ greenColor?: string | null | undefined;
1605
+ lavenderColor?: string | null | undefined;
1606
+ yellowColor?: string | null | undefined;
1607
+ pinkColor?: string | null | undefined;
1608
+ deepGreenColor?: string | null | undefined;
1609
+ blueColor?: string | null | undefined;
1610
+ } | null | undefined;
1611
+ logoAssetId?: string | null | undefined;
1612
+ welcomeMessage?: string | null | undefined;
1613
+ updatedAt?: string | null | undefined;
1614
+ } | undefined;
1615
+ submittedAt?: string | null | undefined;
1616
+ }>;
1617
+ }, "strip", z.ZodTypeAny, {
1618
+ questionnaire: {
1619
+ status: "notStarted" | "inProgress" | "submitted";
1620
+ id: string;
1621
+ createdAt: string;
1622
+ updatedAt: string;
1623
+ organizationId: string;
1624
+ coachUserId: string;
1625
+ familyUserId: string;
1626
+ title: string;
1627
+ questions: {
1628
+ options: {
1629
+ id: string;
1630
+ label: string;
1631
+ allowFreeText?: boolean | undefined;
1632
+ }[];
1633
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1634
+ id: string;
1635
+ label: string;
1636
+ section: string;
1637
+ required: boolean;
1638
+ sortOrder: number;
1639
+ sectionDescription?: string | null | undefined;
1640
+ helpText?: string | null | undefined;
1641
+ }[];
1642
+ answers: Record<string, string | number | boolean | string[] | {
1643
+ selected: string | string[];
1644
+ freeText?: Record<string, string> | undefined;
1645
+ } | null>;
1646
+ templateId?: string | null | undefined;
1647
+ templateName?: string | null | undefined;
1648
+ coachName?: string | null | undefined;
1649
+ organizationName?: string | null | undefined;
1650
+ organizationBranding?: {
1651
+ primaryColor?: string | null | undefined;
1652
+ accentColor?: string | null | undefined;
1653
+ backgroundColor?: string | null | undefined;
1654
+ theme?: {
1655
+ documentBackgroundColor?: string | null | undefined;
1656
+ screenBackgroundColor?: string | null | undefined;
1657
+ surfaceColor?: string | null | undefined;
1658
+ mutedSurfaceColor?: string | null | undefined;
1659
+ softSurfaceColor?: string | null | undefined;
1660
+ textColor?: string | null | undefined;
1661
+ greenColor?: string | null | undefined;
1662
+ lavenderColor?: string | null | undefined;
1663
+ yellowColor?: string | null | undefined;
1664
+ pinkColor?: string | null | undefined;
1665
+ deepGreenColor?: string | null | undefined;
1666
+ blueColor?: string | null | undefined;
1667
+ } | null | undefined;
1668
+ logoAssetId?: string | null | undefined;
1669
+ welcomeMessage?: string | null | undefined;
1670
+ updatedAt?: string | null | undefined;
1671
+ } | undefined;
1672
+ submittedAt?: string | null | undefined;
1673
+ };
1674
+ }, {
1675
+ questionnaire: {
1676
+ status: "notStarted" | "inProgress" | "submitted";
1677
+ id: string;
1678
+ createdAt: string;
1679
+ updatedAt: string;
1680
+ organizationId: string;
1681
+ coachUserId: string;
1682
+ familyUserId: string;
1683
+ title: string;
1684
+ questions: {
1685
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1686
+ id: string;
1687
+ label: string;
1688
+ section: string;
1689
+ options?: {
1690
+ id: string;
1691
+ label: string;
1692
+ allowFreeText?: boolean | undefined;
1693
+ }[] | undefined;
1694
+ sectionDescription?: string | null | undefined;
1695
+ helpText?: string | null | undefined;
1696
+ required?: boolean | undefined;
1697
+ sortOrder?: number | undefined;
1698
+ }[];
1699
+ answers: Record<string, string | number | boolean | string[] | {
1700
+ selected: string | string[];
1701
+ freeText?: Record<string, string> | undefined;
1702
+ } | null>;
1703
+ templateId?: string | null | undefined;
1704
+ templateName?: string | null | undefined;
1705
+ coachName?: string | null | undefined;
1706
+ organizationName?: string | null | undefined;
1707
+ organizationBranding?: {
1708
+ primaryColor?: string | null | undefined;
1709
+ accentColor?: string | null | undefined;
1710
+ backgroundColor?: string | null | undefined;
1711
+ theme?: {
1712
+ documentBackgroundColor?: string | null | undefined;
1713
+ screenBackgroundColor?: string | null | undefined;
1714
+ surfaceColor?: string | null | undefined;
1715
+ mutedSurfaceColor?: string | null | undefined;
1716
+ softSurfaceColor?: string | null | undefined;
1717
+ textColor?: string | null | undefined;
1718
+ greenColor?: string | null | undefined;
1719
+ lavenderColor?: string | null | undefined;
1720
+ yellowColor?: string | null | undefined;
1721
+ pinkColor?: string | null | undefined;
1722
+ deepGreenColor?: string | null | undefined;
1723
+ blueColor?: string | null | undefined;
1724
+ } | null | undefined;
1725
+ logoAssetId?: string | null | undefined;
1726
+ welcomeMessage?: string | null | undefined;
1727
+ updatedAt?: string | null | undefined;
1728
+ } | undefined;
1729
+ submittedAt?: string | null | undefined;
1730
+ };
1731
+ }>;
1732
+ export type FamilyQuestionnaireResponse = z.infer<typeof familyQuestionnaireResponseSchema>;
1733
+ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1734
+ questionnaire: z.ZodNullable<z.ZodObject<{
1735
+ id: z.ZodString;
1736
+ organizationId: z.ZodString;
1737
+ coachUserId: z.ZodString;
1738
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1739
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1740
+ organizationBranding: z.ZodOptional<z.ZodObject<{
1741
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1742
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1743
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1744
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1745
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1746
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1747
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1748
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1749
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1750
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1751
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1752
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1753
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1754
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1755
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
+ }, "strict", z.ZodTypeAny, {
1758
+ documentBackgroundColor?: string | null | undefined;
1759
+ screenBackgroundColor?: string | null | undefined;
1760
+ surfaceColor?: string | null | undefined;
1761
+ mutedSurfaceColor?: string | null | undefined;
1762
+ softSurfaceColor?: string | null | undefined;
1763
+ textColor?: string | null | undefined;
1764
+ greenColor?: string | null | undefined;
1765
+ lavenderColor?: string | null | undefined;
1766
+ yellowColor?: string | null | undefined;
1767
+ pinkColor?: string | null | undefined;
1768
+ deepGreenColor?: string | null | undefined;
1769
+ blueColor?: string | null | undefined;
1770
+ }, {
1771
+ documentBackgroundColor?: string | null | undefined;
1772
+ screenBackgroundColor?: string | null | undefined;
1773
+ surfaceColor?: string | null | undefined;
1774
+ mutedSurfaceColor?: string | null | undefined;
1775
+ softSurfaceColor?: string | null | undefined;
1776
+ textColor?: string | null | undefined;
1777
+ greenColor?: string | null | undefined;
1778
+ lavenderColor?: string | null | undefined;
1779
+ yellowColor?: string | null | undefined;
1780
+ pinkColor?: string | null | undefined;
1781
+ deepGreenColor?: string | null | undefined;
1782
+ blueColor?: string | null | undefined;
1783
+ }>>>;
1784
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1785
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ primaryColor?: string | null | undefined;
1789
+ accentColor?: string | null | undefined;
1790
+ backgroundColor?: string | null | undefined;
1791
+ theme?: {
1792
+ documentBackgroundColor?: string | null | undefined;
1793
+ screenBackgroundColor?: string | null | undefined;
1794
+ surfaceColor?: string | null | undefined;
1795
+ mutedSurfaceColor?: string | null | undefined;
1796
+ softSurfaceColor?: string | null | undefined;
1797
+ textColor?: string | null | undefined;
1798
+ greenColor?: string | null | undefined;
1799
+ lavenderColor?: string | null | undefined;
1800
+ yellowColor?: string | null | undefined;
1801
+ pinkColor?: string | null | undefined;
1802
+ deepGreenColor?: string | null | undefined;
1803
+ blueColor?: string | null | undefined;
1804
+ } | null | undefined;
1805
+ logoAssetId?: string | null | undefined;
1806
+ welcomeMessage?: string | null | undefined;
1807
+ updatedAt?: string | null | undefined;
1808
+ }, {
1809
+ primaryColor?: string | null | undefined;
1810
+ accentColor?: string | null | undefined;
1811
+ backgroundColor?: string | null | undefined;
1812
+ theme?: {
1813
+ documentBackgroundColor?: string | null | undefined;
1814
+ screenBackgroundColor?: string | null | undefined;
1815
+ surfaceColor?: string | null | undefined;
1816
+ mutedSurfaceColor?: string | null | undefined;
1817
+ softSurfaceColor?: string | null | undefined;
1818
+ textColor?: string | null | undefined;
1819
+ greenColor?: string | null | undefined;
1820
+ lavenderColor?: string | null | undefined;
1821
+ yellowColor?: string | null | undefined;
1822
+ pinkColor?: string | null | undefined;
1823
+ deepGreenColor?: string | null | undefined;
1824
+ blueColor?: string | null | undefined;
1825
+ } | null | undefined;
1826
+ logoAssetId?: string | null | undefined;
1827
+ welcomeMessage?: string | null | undefined;
1828
+ updatedAt?: string | null | undefined;
1829
+ }>>;
1830
+ familyUserId: z.ZodString;
1831
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1832
+ templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1833
+ title: z.ZodString;
1834
+ questions: z.ZodArray<z.ZodObject<{
1835
+ id: z.ZodString;
1836
+ section: z.ZodString;
1837
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1838
+ label: z.ZodString;
1839
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1840
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
1841
+ required: z.ZodDefault<z.ZodBoolean>;
1842
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
1843
+ id: z.ZodString;
1844
+ label: z.ZodString;
1845
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
1846
+ }, "strip", z.ZodTypeAny, {
1847
+ id: string;
1848
+ label: string;
1849
+ allowFreeText?: boolean | undefined;
1850
+ }, {
1851
+ id: string;
1852
+ label: string;
1853
+ allowFreeText?: boolean | undefined;
1854
+ }>, "many">>;
1855
+ sortOrder: z.ZodDefault<z.ZodNumber>;
1856
+ }, "strip", z.ZodTypeAny, {
1857
+ options: {
1858
+ id: string;
1859
+ label: string;
1860
+ allowFreeText?: boolean | undefined;
1861
+ }[];
1862
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1863
+ id: string;
1864
+ label: string;
1865
+ section: string;
1866
+ required: boolean;
1867
+ sortOrder: number;
1868
+ sectionDescription?: string | null | undefined;
1869
+ helpText?: string | null | undefined;
1870
+ }, {
1871
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1872
+ id: string;
1873
+ label: string;
1874
+ section: string;
1875
+ options?: {
1876
+ id: string;
1877
+ label: string;
1878
+ allowFreeText?: boolean | undefined;
1879
+ }[] | undefined;
1880
+ sectionDescription?: string | null | undefined;
1881
+ helpText?: string | null | undefined;
1882
+ required?: boolean | undefined;
1883
+ sortOrder?: number | undefined;
1884
+ }>, "many">;
1885
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1886
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1887
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1888
+ }, "strip", z.ZodTypeAny, {
1889
+ selected: string | string[];
1890
+ freeText?: Record<string, string> | undefined;
1891
+ }, {
1892
+ selected: string | string[];
1893
+ freeText?: Record<string, string> | undefined;
1894
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1895
+ status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
1896
+ submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1897
+ createdAt: z.ZodString;
1898
+ updatedAt: z.ZodString;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ status: "notStarted" | "inProgress" | "submitted";
1901
+ id: string;
1902
+ createdAt: string;
1903
+ updatedAt: string;
1904
+ organizationId: string;
1905
+ coachUserId: string;
1906
+ familyUserId: string;
1907
+ title: string;
1908
+ questions: {
1909
+ options: {
1910
+ id: string;
1911
+ label: string;
1912
+ allowFreeText?: boolean | undefined;
1913
+ }[];
1914
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1915
+ id: string;
1916
+ label: string;
1917
+ section: string;
1918
+ required: boolean;
1919
+ sortOrder: number;
1920
+ sectionDescription?: string | null | undefined;
1921
+ helpText?: string | null | undefined;
1922
+ }[];
1923
+ answers: Record<string, string | number | boolean | string[] | {
1924
+ selected: string | string[];
1925
+ freeText?: Record<string, string> | undefined;
1926
+ } | null>;
1927
+ templateId?: string | null | undefined;
1928
+ templateName?: string | null | undefined;
1929
+ coachName?: string | null | undefined;
1930
+ organizationName?: string | null | undefined;
1931
+ organizationBranding?: {
1932
+ primaryColor?: string | null | undefined;
1933
+ accentColor?: string | null | undefined;
1934
+ backgroundColor?: string | null | undefined;
1935
+ theme?: {
1936
+ documentBackgroundColor?: string | null | undefined;
1937
+ screenBackgroundColor?: string | null | undefined;
1938
+ surfaceColor?: string | null | undefined;
1939
+ mutedSurfaceColor?: string | null | undefined;
1940
+ softSurfaceColor?: string | null | undefined;
1941
+ textColor?: string | null | undefined;
1942
+ greenColor?: string | null | undefined;
1943
+ lavenderColor?: string | null | undefined;
1944
+ yellowColor?: string | null | undefined;
1945
+ pinkColor?: string | null | undefined;
1946
+ deepGreenColor?: string | null | undefined;
1947
+ blueColor?: string | null | undefined;
1948
+ } | null | undefined;
1949
+ logoAssetId?: string | null | undefined;
1950
+ welcomeMessage?: string | null | undefined;
1951
+ updatedAt?: string | null | undefined;
1952
+ } | undefined;
1953
+ submittedAt?: string | null | undefined;
1954
+ }, {
1955
+ status: "notStarted" | "inProgress" | "submitted";
1956
+ id: string;
1957
+ createdAt: string;
1958
+ updatedAt: string;
1959
+ organizationId: string;
1960
+ coachUserId: string;
1961
+ familyUserId: string;
1962
+ title: string;
1963
+ questions: {
1964
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1965
+ id: string;
1966
+ label: string;
1967
+ section: string;
1968
+ options?: {
1969
+ id: string;
1970
+ label: string;
1971
+ allowFreeText?: boolean | undefined;
1972
+ }[] | undefined;
1973
+ sectionDescription?: string | null | undefined;
1974
+ helpText?: string | null | undefined;
1975
+ required?: boolean | undefined;
1976
+ sortOrder?: number | undefined;
1977
+ }[];
1978
+ answers: Record<string, string | number | boolean | string[] | {
1979
+ selected: string | string[];
1980
+ freeText?: Record<string, string> | undefined;
1981
+ } | null>;
1982
+ templateId?: string | null | undefined;
1983
+ templateName?: string | null | undefined;
1984
+ coachName?: string | null | undefined;
1985
+ organizationName?: string | null | undefined;
1986
+ organizationBranding?: {
1987
+ primaryColor?: string | null | undefined;
1988
+ accentColor?: string | null | undefined;
1989
+ backgroundColor?: string | null | undefined;
1990
+ theme?: {
1991
+ documentBackgroundColor?: string | null | undefined;
1992
+ screenBackgroundColor?: string | null | undefined;
1993
+ surfaceColor?: string | null | undefined;
1994
+ mutedSurfaceColor?: string | null | undefined;
1995
+ softSurfaceColor?: string | null | undefined;
1996
+ textColor?: string | null | undefined;
1997
+ greenColor?: string | null | undefined;
1998
+ lavenderColor?: string | null | undefined;
1999
+ yellowColor?: string | null | undefined;
2000
+ pinkColor?: string | null | undefined;
2001
+ deepGreenColor?: string | null | undefined;
2002
+ blueColor?: string | null | undefined;
2003
+ } | null | undefined;
2004
+ logoAssetId?: string | null | undefined;
2005
+ welcomeMessage?: string | null | undefined;
2006
+ updatedAt?: string | null | undefined;
2007
+ } | undefined;
2008
+ submittedAt?: string | null | undefined;
2009
+ }>>;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ questionnaire: {
2012
+ status: "notStarted" | "inProgress" | "submitted";
2013
+ id: string;
2014
+ createdAt: string;
2015
+ updatedAt: string;
2016
+ organizationId: string;
2017
+ coachUserId: string;
2018
+ familyUserId: string;
2019
+ title: string;
2020
+ questions: {
2021
+ options: {
2022
+ id: string;
2023
+ label: string;
2024
+ allowFreeText?: boolean | undefined;
2025
+ }[];
2026
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2027
+ id: string;
2028
+ label: string;
2029
+ section: string;
2030
+ required: boolean;
2031
+ sortOrder: number;
2032
+ sectionDescription?: string | null | undefined;
2033
+ helpText?: string | null | undefined;
2034
+ }[];
2035
+ answers: Record<string, string | number | boolean | string[] | {
2036
+ selected: string | string[];
2037
+ freeText?: Record<string, string> | undefined;
2038
+ } | null>;
2039
+ templateId?: string | null | undefined;
2040
+ templateName?: string | null | undefined;
2041
+ coachName?: string | null | undefined;
2042
+ organizationName?: string | null | undefined;
2043
+ organizationBranding?: {
2044
+ primaryColor?: string | null | undefined;
2045
+ accentColor?: string | null | undefined;
2046
+ backgroundColor?: string | null | undefined;
2047
+ theme?: {
2048
+ documentBackgroundColor?: string | null | undefined;
2049
+ screenBackgroundColor?: string | null | undefined;
2050
+ surfaceColor?: string | null | undefined;
2051
+ mutedSurfaceColor?: string | null | undefined;
2052
+ softSurfaceColor?: string | null | undefined;
2053
+ textColor?: string | null | undefined;
2054
+ greenColor?: string | null | undefined;
2055
+ lavenderColor?: string | null | undefined;
2056
+ yellowColor?: string | null | undefined;
2057
+ pinkColor?: string | null | undefined;
2058
+ deepGreenColor?: string | null | undefined;
2059
+ blueColor?: string | null | undefined;
2060
+ } | null | undefined;
2061
+ logoAssetId?: string | null | undefined;
2062
+ welcomeMessage?: string | null | undefined;
2063
+ updatedAt?: string | null | undefined;
2064
+ } | undefined;
2065
+ submittedAt?: string | null | undefined;
2066
+ } | null;
2067
+ }, {
2068
+ questionnaire: {
2069
+ status: "notStarted" | "inProgress" | "submitted";
2070
+ id: string;
2071
+ createdAt: string;
2072
+ updatedAt: string;
2073
+ organizationId: string;
2074
+ coachUserId: string;
2075
+ familyUserId: string;
2076
+ title: string;
2077
+ questions: {
2078
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2079
+ id: string;
2080
+ label: string;
2081
+ section: string;
2082
+ options?: {
2083
+ id: string;
2084
+ label: string;
2085
+ allowFreeText?: boolean | undefined;
2086
+ }[] | undefined;
2087
+ sectionDescription?: string | null | undefined;
2088
+ helpText?: string | null | undefined;
2089
+ required?: boolean | undefined;
2090
+ sortOrder?: number | undefined;
2091
+ }[];
2092
+ answers: Record<string, string | number | boolean | string[] | {
2093
+ selected: string | string[];
2094
+ freeText?: Record<string, string> | undefined;
2095
+ } | null>;
2096
+ templateId?: string | null | undefined;
2097
+ templateName?: string | null | undefined;
2098
+ coachName?: string | null | undefined;
2099
+ organizationName?: string | null | undefined;
2100
+ organizationBranding?: {
2101
+ primaryColor?: string | null | undefined;
2102
+ accentColor?: string | null | undefined;
2103
+ backgroundColor?: string | null | undefined;
2104
+ theme?: {
2105
+ documentBackgroundColor?: string | null | undefined;
2106
+ screenBackgroundColor?: string | null | undefined;
2107
+ surfaceColor?: string | null | undefined;
2108
+ mutedSurfaceColor?: string | null | undefined;
2109
+ softSurfaceColor?: string | null | undefined;
2110
+ textColor?: string | null | undefined;
2111
+ greenColor?: string | null | undefined;
2112
+ lavenderColor?: string | null | undefined;
2113
+ yellowColor?: string | null | undefined;
2114
+ pinkColor?: string | null | undefined;
2115
+ deepGreenColor?: string | null | undefined;
2116
+ blueColor?: string | null | undefined;
2117
+ } | null | undefined;
2118
+ logoAssetId?: string | null | undefined;
2119
+ welcomeMessage?: string | null | undefined;
2120
+ updatedAt?: string | null | undefined;
2121
+ } | undefined;
2122
+ submittedAt?: string | null | undefined;
2123
+ } | null;
2124
+ }>;
2125
+ export type FamilyQuestionnaireReadResponse = z.infer<typeof familyQuestionnaireReadResponseSchema>;
2126
+ export declare const coachFamilyQuestionnaireReadQuerySchema: z.ZodObject<{
2127
+ createIfMissing: z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "true" | "false">>;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ createIfMissing?: boolean | undefined;
2130
+ }, {
2131
+ createIfMissing?: "true" | "false" | undefined;
2132
+ }>;
2133
+ export type CoachFamilyQuestionnaireReadQuery = z.infer<typeof coachFamilyQuestionnaireReadQuerySchema>;
2134
+ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2135
+ questionnaires: z.ZodArray<z.ZodObject<{
2136
+ id: z.ZodString;
2137
+ organizationId: z.ZodString;
2138
+ coachUserId: z.ZodString;
2139
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2140
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2141
+ organizationBranding: z.ZodOptional<z.ZodObject<{
2142
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2143
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2144
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2145
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2146
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2147
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2148
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2149
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2150
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2151
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2152
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2153
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2154
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2155
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2156
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2157
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2158
+ }, "strict", z.ZodTypeAny, {
2159
+ documentBackgroundColor?: string | null | undefined;
2160
+ screenBackgroundColor?: string | null | undefined;
2161
+ surfaceColor?: string | null | undefined;
2162
+ mutedSurfaceColor?: string | null | undefined;
2163
+ softSurfaceColor?: string | null | undefined;
2164
+ textColor?: string | null | undefined;
2165
+ greenColor?: string | null | undefined;
2166
+ lavenderColor?: string | null | undefined;
2167
+ yellowColor?: string | null | undefined;
2168
+ pinkColor?: string | null | undefined;
2169
+ deepGreenColor?: string | null | undefined;
2170
+ blueColor?: string | null | undefined;
2171
+ }, {
2172
+ documentBackgroundColor?: string | null | undefined;
2173
+ screenBackgroundColor?: string | null | undefined;
2174
+ surfaceColor?: string | null | undefined;
2175
+ mutedSurfaceColor?: string | null | undefined;
2176
+ softSurfaceColor?: string | null | undefined;
2177
+ textColor?: string | null | undefined;
2178
+ greenColor?: string | null | undefined;
2179
+ lavenderColor?: string | null | undefined;
2180
+ yellowColor?: string | null | undefined;
2181
+ pinkColor?: string | null | undefined;
2182
+ deepGreenColor?: string | null | undefined;
2183
+ blueColor?: string | null | undefined;
2184
+ }>>>;
2185
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2186
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2187
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2188
+ }, "strip", z.ZodTypeAny, {
2189
+ primaryColor?: string | null | undefined;
2190
+ accentColor?: string | null | undefined;
2191
+ backgroundColor?: string | null | undefined;
2192
+ theme?: {
2193
+ documentBackgroundColor?: string | null | undefined;
2194
+ screenBackgroundColor?: string | null | undefined;
2195
+ surfaceColor?: string | null | undefined;
2196
+ mutedSurfaceColor?: string | null | undefined;
2197
+ softSurfaceColor?: string | null | undefined;
2198
+ textColor?: string | null | undefined;
2199
+ greenColor?: string | null | undefined;
2200
+ lavenderColor?: string | null | undefined;
2201
+ yellowColor?: string | null | undefined;
2202
+ pinkColor?: string | null | undefined;
2203
+ deepGreenColor?: string | null | undefined;
2204
+ blueColor?: string | null | undefined;
2205
+ } | null | undefined;
2206
+ logoAssetId?: string | null | undefined;
2207
+ welcomeMessage?: string | null | undefined;
2208
+ updatedAt?: string | null | undefined;
2209
+ }, {
2210
+ primaryColor?: string | null | undefined;
2211
+ accentColor?: string | null | undefined;
2212
+ backgroundColor?: string | null | undefined;
2213
+ theme?: {
2214
+ documentBackgroundColor?: string | null | undefined;
2215
+ screenBackgroundColor?: string | null | undefined;
2216
+ surfaceColor?: string | null | undefined;
2217
+ mutedSurfaceColor?: string | null | undefined;
2218
+ softSurfaceColor?: string | null | undefined;
2219
+ textColor?: string | null | undefined;
2220
+ greenColor?: string | null | undefined;
2221
+ lavenderColor?: string | null | undefined;
2222
+ yellowColor?: string | null | undefined;
2223
+ pinkColor?: string | null | undefined;
2224
+ deepGreenColor?: string | null | undefined;
2225
+ blueColor?: string | null | undefined;
2226
+ } | null | undefined;
2227
+ logoAssetId?: string | null | undefined;
2228
+ welcomeMessage?: string | null | undefined;
2229
+ updatedAt?: string | null | undefined;
2230
+ }>>;
2231
+ familyUserId: z.ZodString;
2232
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2233
+ templateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2234
+ title: z.ZodString;
2235
+ questions: z.ZodArray<z.ZodObject<{
2236
+ id: z.ZodString;
2237
+ section: z.ZodString;
2238
+ sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2239
+ label: z.ZodString;
2240
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2241
+ type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
2242
+ required: z.ZodDefault<z.ZodBoolean>;
2243
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
2244
+ id: z.ZodString;
2245
+ label: z.ZodString;
2246
+ allowFreeText: z.ZodOptional<z.ZodBoolean>;
2247
+ }, "strip", z.ZodTypeAny, {
2248
+ id: string;
2249
+ label: string;
2250
+ allowFreeText?: boolean | undefined;
2251
+ }, {
2252
+ id: string;
2253
+ label: string;
2254
+ allowFreeText?: boolean | undefined;
2255
+ }>, "many">>;
2256
+ sortOrder: z.ZodDefault<z.ZodNumber>;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ options: {
2259
+ id: string;
2260
+ label: string;
2261
+ allowFreeText?: boolean | undefined;
2262
+ }[];
2263
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2264
+ id: string;
2265
+ label: string;
2266
+ section: string;
2267
+ required: boolean;
2268
+ sortOrder: number;
2269
+ sectionDescription?: string | null | undefined;
2270
+ helpText?: string | null | undefined;
2271
+ }, {
2272
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2273
+ id: string;
2274
+ label: string;
2275
+ section: string;
2276
+ options?: {
2277
+ id: string;
2278
+ label: string;
2279
+ allowFreeText?: boolean | undefined;
2280
+ }[] | undefined;
2281
+ sectionDescription?: string | null | undefined;
2282
+ helpText?: string | null | undefined;
2283
+ required?: boolean | undefined;
2284
+ sortOrder?: number | undefined;
2285
+ }>, "many">;
2286
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2287
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2288
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2289
+ }, "strip", z.ZodTypeAny, {
2290
+ selected: string | string[];
2291
+ freeText?: Record<string, string> | undefined;
2292
+ }, {
2293
+ selected: string | string[];
2294
+ freeText?: Record<string, string> | undefined;
2295
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
2296
+ status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
2297
+ submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
+ createdAt: z.ZodString;
2299
+ updatedAt: z.ZodString;
2300
+ }, "strip", z.ZodTypeAny, {
2301
+ status: "notStarted" | "inProgress" | "submitted";
2302
+ id: string;
2303
+ createdAt: string;
2304
+ updatedAt: string;
2305
+ organizationId: string;
2306
+ coachUserId: string;
2307
+ familyUserId: string;
2308
+ title: string;
2309
+ questions: {
2310
+ options: {
2311
+ id: string;
2312
+ label: string;
2313
+ allowFreeText?: boolean | undefined;
2314
+ }[];
2315
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2316
+ id: string;
2317
+ label: string;
2318
+ section: string;
2319
+ required: boolean;
2320
+ sortOrder: number;
2321
+ sectionDescription?: string | null | undefined;
2322
+ helpText?: string | null | undefined;
2323
+ }[];
2324
+ answers: Record<string, string | number | boolean | string[] | {
2325
+ selected: string | string[];
2326
+ freeText?: Record<string, string> | undefined;
2327
+ } | null>;
2328
+ templateId?: string | null | undefined;
2329
+ templateName?: string | null | undefined;
2330
+ coachName?: string | null | undefined;
2331
+ organizationName?: string | null | undefined;
2332
+ organizationBranding?: {
2333
+ primaryColor?: string | null | undefined;
2334
+ accentColor?: string | null | undefined;
2335
+ backgroundColor?: string | null | undefined;
2336
+ theme?: {
2337
+ documentBackgroundColor?: string | null | undefined;
2338
+ screenBackgroundColor?: string | null | undefined;
2339
+ surfaceColor?: string | null | undefined;
2340
+ mutedSurfaceColor?: string | null | undefined;
2341
+ softSurfaceColor?: string | null | undefined;
2342
+ textColor?: string | null | undefined;
2343
+ greenColor?: string | null | undefined;
2344
+ lavenderColor?: string | null | undefined;
2345
+ yellowColor?: string | null | undefined;
2346
+ pinkColor?: string | null | undefined;
2347
+ deepGreenColor?: string | null | undefined;
2348
+ blueColor?: string | null | undefined;
2349
+ } | null | undefined;
2350
+ logoAssetId?: string | null | undefined;
2351
+ welcomeMessage?: string | null | undefined;
2352
+ updatedAt?: string | null | undefined;
2353
+ } | undefined;
2354
+ submittedAt?: string | null | undefined;
2355
+ }, {
2356
+ status: "notStarted" | "inProgress" | "submitted";
2357
+ id: string;
2358
+ createdAt: string;
2359
+ updatedAt: string;
2360
+ organizationId: string;
2361
+ coachUserId: string;
2362
+ familyUserId: string;
2363
+ title: string;
2364
+ questions: {
2365
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2366
+ id: string;
2367
+ label: string;
2368
+ section: string;
2369
+ options?: {
2370
+ id: string;
2371
+ label: string;
2372
+ allowFreeText?: boolean | undefined;
2373
+ }[] | undefined;
2374
+ sectionDescription?: string | null | undefined;
2375
+ helpText?: string | null | undefined;
2376
+ required?: boolean | undefined;
2377
+ sortOrder?: number | undefined;
2378
+ }[];
2379
+ answers: Record<string, string | number | boolean | string[] | {
2380
+ selected: string | string[];
2381
+ freeText?: Record<string, string> | undefined;
2382
+ } | null>;
2383
+ templateId?: string | null | undefined;
2384
+ templateName?: string | null | undefined;
2385
+ coachName?: string | null | undefined;
2386
+ organizationName?: string | null | undefined;
2387
+ organizationBranding?: {
2388
+ primaryColor?: string | null | undefined;
2389
+ accentColor?: string | null | undefined;
2390
+ backgroundColor?: string | null | undefined;
2391
+ theme?: {
2392
+ documentBackgroundColor?: string | null | undefined;
2393
+ screenBackgroundColor?: string | null | undefined;
2394
+ surfaceColor?: string | null | undefined;
2395
+ mutedSurfaceColor?: string | null | undefined;
2396
+ softSurfaceColor?: string | null | undefined;
2397
+ textColor?: string | null | undefined;
2398
+ greenColor?: string | null | undefined;
2399
+ lavenderColor?: string | null | undefined;
2400
+ yellowColor?: string | null | undefined;
2401
+ pinkColor?: string | null | undefined;
2402
+ deepGreenColor?: string | null | undefined;
2403
+ blueColor?: string | null | undefined;
2404
+ } | null | undefined;
2405
+ logoAssetId?: string | null | undefined;
2406
+ welcomeMessage?: string | null | undefined;
2407
+ updatedAt?: string | null | undefined;
2408
+ } | undefined;
2409
+ submittedAt?: string | null | undefined;
2410
+ }>, "many">;
2411
+ }, "strip", z.ZodTypeAny, {
2412
+ questionnaires: {
2413
+ status: "notStarted" | "inProgress" | "submitted";
2414
+ id: string;
2415
+ createdAt: string;
2416
+ updatedAt: string;
2417
+ organizationId: string;
2418
+ coachUserId: string;
2419
+ familyUserId: string;
2420
+ title: string;
2421
+ questions: {
2422
+ options: {
2423
+ id: string;
2424
+ label: string;
2425
+ allowFreeText?: boolean | undefined;
2426
+ }[];
2427
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2428
+ id: string;
2429
+ label: string;
2430
+ section: string;
2431
+ required: boolean;
2432
+ sortOrder: number;
2433
+ sectionDescription?: string | null | undefined;
2434
+ helpText?: string | null | undefined;
2435
+ }[];
2436
+ answers: Record<string, string | number | boolean | string[] | {
2437
+ selected: string | string[];
2438
+ freeText?: Record<string, string> | undefined;
2439
+ } | null>;
2440
+ templateId?: string | null | undefined;
2441
+ templateName?: string | null | undefined;
2442
+ coachName?: string | null | undefined;
2443
+ organizationName?: string | null | undefined;
2444
+ organizationBranding?: {
2445
+ primaryColor?: string | null | undefined;
2446
+ accentColor?: string | null | undefined;
2447
+ backgroundColor?: string | null | undefined;
2448
+ theme?: {
2449
+ documentBackgroundColor?: string | null | undefined;
2450
+ screenBackgroundColor?: string | null | undefined;
2451
+ surfaceColor?: string | null | undefined;
2452
+ mutedSurfaceColor?: string | null | undefined;
2453
+ softSurfaceColor?: string | null | undefined;
2454
+ textColor?: string | null | undefined;
2455
+ greenColor?: string | null | undefined;
2456
+ lavenderColor?: string | null | undefined;
2457
+ yellowColor?: string | null | undefined;
2458
+ pinkColor?: string | null | undefined;
2459
+ deepGreenColor?: string | null | undefined;
2460
+ blueColor?: string | null | undefined;
2461
+ } | null | undefined;
2462
+ logoAssetId?: string | null | undefined;
2463
+ welcomeMessage?: string | null | undefined;
2464
+ updatedAt?: string | null | undefined;
2465
+ } | undefined;
2466
+ submittedAt?: string | null | undefined;
2467
+ }[];
2468
+ }, {
2469
+ questionnaires: {
2470
+ status: "notStarted" | "inProgress" | "submitted";
2471
+ id: string;
2472
+ createdAt: string;
2473
+ updatedAt: string;
2474
+ organizationId: string;
2475
+ coachUserId: string;
2476
+ familyUserId: string;
2477
+ title: string;
2478
+ questions: {
2479
+ type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2480
+ id: string;
2481
+ label: string;
2482
+ section: string;
2483
+ options?: {
2484
+ id: string;
2485
+ label: string;
2486
+ allowFreeText?: boolean | undefined;
2487
+ }[] | undefined;
2488
+ sectionDescription?: string | null | undefined;
2489
+ helpText?: string | null | undefined;
2490
+ required?: boolean | undefined;
2491
+ sortOrder?: number | undefined;
2492
+ }[];
2493
+ answers: Record<string, string | number | boolean | string[] | {
2494
+ selected: string | string[];
2495
+ freeText?: Record<string, string> | undefined;
2496
+ } | null>;
2497
+ templateId?: string | null | undefined;
2498
+ templateName?: string | null | undefined;
2499
+ coachName?: string | null | undefined;
2500
+ organizationName?: string | null | undefined;
2501
+ organizationBranding?: {
2502
+ primaryColor?: string | null | undefined;
2503
+ accentColor?: string | null | undefined;
2504
+ backgroundColor?: string | null | undefined;
2505
+ theme?: {
2506
+ documentBackgroundColor?: string | null | undefined;
2507
+ screenBackgroundColor?: string | null | undefined;
2508
+ surfaceColor?: string | null | undefined;
2509
+ mutedSurfaceColor?: string | null | undefined;
2510
+ softSurfaceColor?: string | null | undefined;
2511
+ textColor?: string | null | undefined;
2512
+ greenColor?: string | null | undefined;
2513
+ lavenderColor?: string | null | undefined;
2514
+ yellowColor?: string | null | undefined;
2515
+ pinkColor?: string | null | undefined;
2516
+ deepGreenColor?: string | null | undefined;
2517
+ blueColor?: string | null | undefined;
2518
+ } | null | undefined;
2519
+ logoAssetId?: string | null | undefined;
2520
+ welcomeMessage?: string | null | undefined;
2521
+ updatedAt?: string | null | undefined;
2522
+ } | undefined;
2523
+ submittedAt?: string | null | undefined;
2524
+ }[];
2525
+ }>;
2526
+ export type FamilyQuestionnairesResponse = z.infer<typeof familyQuestionnairesResponseSchema>;
2527
+ export declare const familyQuestionnaireAnswersPatchRequestSchema: z.ZodObject<{
2528
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2529
+ selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2530
+ freeText: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ selected: string | string[];
2533
+ freeText?: Record<string, string> | undefined;
2534
+ }, {
2535
+ selected: string | string[];
2536
+ freeText?: Record<string, string> | undefined;
2537
+ }>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
2538
+ submit: z.ZodOptional<z.ZodBoolean>;
2539
+ }, "strip", z.ZodTypeAny, {
2540
+ answers: Record<string, string | number | boolean | string[] | {
2541
+ selected: string | string[];
2542
+ freeText?: Record<string, string> | undefined;
2543
+ } | null>;
2544
+ submit?: boolean | undefined;
2545
+ }, {
2546
+ answers: Record<string, string | number | boolean | string[] | {
2547
+ selected: string | string[];
2548
+ freeText?: Record<string, string> | undefined;
2549
+ } | null>;
2550
+ submit?: boolean | undefined;
2551
+ }>;
2552
+ export type FamilyQuestionnaireAnswersPatchRequest = z.infer<typeof familyQuestionnaireAnswersPatchRequestSchema>;
2553
+ export declare const textBlockSchema: z.ZodObject<{
2554
+ id: z.ZodString;
2555
+ type: z.ZodEnum<["paragraph", "bullet"]>;
2556
+ text: z.ZodString;
2557
+ }, "strip", z.ZodTypeAny, {
2558
+ type: "paragraph" | "bullet";
2559
+ id: string;
2560
+ text: string;
2561
+ }, {
2562
+ type: "paragraph" | "bullet";
2563
+ id: string;
2564
+ text: string;
2565
+ }>;
2566
+ export type TextBlock = z.infer<typeof textBlockSchema>;
2567
+ export declare const imageBlockSchema: z.ZodObject<{
2568
+ id: z.ZodString;
2569
+ type: z.ZodLiteral<"image">;
2570
+ assetId: z.ZodString;
2571
+ fileName: z.ZodString;
2572
+ contentType: z.ZodString;
2573
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2574
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2575
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2576
+ }, "strip", z.ZodTypeAny, {
2577
+ type: "image";
2578
+ id: string;
2579
+ assetId: string;
2580
+ fileName: string;
2581
+ contentType: string;
2582
+ uploadedAt?: string | null | undefined;
2583
+ altText?: string | null | undefined;
2584
+ caption?: string | null | undefined;
2585
+ }, {
2586
+ type: "image";
2587
+ id: string;
2588
+ assetId: string;
2589
+ fileName: string;
2590
+ contentType: string;
2591
+ uploadedAt?: string | null | undefined;
2592
+ altText?: string | null | undefined;
2593
+ caption?: string | null | undefined;
2594
+ }>;
2595
+ export type ImageBlock = z.infer<typeof imageBlockSchema>;
2596
+ export declare const richTextBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2597
+ id: z.ZodString;
2598
+ type: z.ZodEnum<["paragraph", "bullet"]>;
2599
+ text: z.ZodString;
2600
+ }, "strip", z.ZodTypeAny, {
2601
+ type: "paragraph" | "bullet";
2602
+ id: string;
2603
+ text: string;
2604
+ }, {
2605
+ type: "paragraph" | "bullet";
2606
+ id: string;
2607
+ text: string;
2608
+ }>, z.ZodObject<{
2609
+ id: z.ZodString;
2610
+ type: z.ZodLiteral<"image">;
2611
+ assetId: z.ZodString;
2612
+ fileName: z.ZodString;
2613
+ contentType: z.ZodString;
2614
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2615
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2616
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2617
+ }, "strip", z.ZodTypeAny, {
2618
+ type: "image";
2619
+ id: string;
2620
+ assetId: string;
2621
+ fileName: string;
2622
+ contentType: string;
2623
+ uploadedAt?: string | null | undefined;
2624
+ altText?: string | null | undefined;
2625
+ caption?: string | null | undefined;
2626
+ }, {
2627
+ type: "image";
2628
+ id: string;
2629
+ assetId: string;
2630
+ fileName: string;
2631
+ contentType: string;
2632
+ uploadedAt?: string | null | undefined;
2633
+ altText?: string | null | undefined;
2634
+ caption?: string | null | undefined;
2635
+ }>]>;
2636
+ export type RichTextBlock = z.infer<typeof richTextBlockSchema>;
2637
+ export declare const sleepPlanSectionSchema: z.ZodObject<{
2638
+ id: z.ZodString;
2639
+ title: z.ZodString;
2640
+ blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2641
+ id: z.ZodString;
2642
+ type: z.ZodEnum<["paragraph", "bullet"]>;
2643
+ text: z.ZodString;
2644
+ }, "strip", z.ZodTypeAny, {
2645
+ type: "paragraph" | "bullet";
2646
+ id: string;
2647
+ text: string;
2648
+ }, {
2649
+ type: "paragraph" | "bullet";
2650
+ id: string;
2651
+ text: string;
2652
+ }>, z.ZodObject<{
2653
+ id: z.ZodString;
2654
+ type: z.ZodLiteral<"image">;
2655
+ assetId: z.ZodString;
2656
+ fileName: z.ZodString;
2657
+ contentType: z.ZodString;
2658
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2659
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2660
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2661
+ }, "strip", z.ZodTypeAny, {
2662
+ type: "image";
2663
+ id: string;
2664
+ assetId: string;
2665
+ fileName: string;
2666
+ contentType: string;
2667
+ uploadedAt?: string | null | undefined;
2668
+ altText?: string | null | undefined;
2669
+ caption?: string | null | undefined;
2670
+ }, {
2671
+ type: "image";
2672
+ id: string;
2673
+ assetId: string;
2674
+ fileName: string;
2675
+ contentType: string;
2676
+ uploadedAt?: string | null | undefined;
2677
+ altText?: string | null | undefined;
2678
+ caption?: string | null | undefined;
2679
+ }>]>, "many">>;
2680
+ }, "strip", z.ZodTypeAny, {
2681
+ id: string;
2682
+ title: string;
2683
+ blocks: ({
2684
+ type: "paragraph" | "bullet";
2685
+ id: string;
2686
+ text: string;
2687
+ } | {
2688
+ type: "image";
2689
+ id: string;
2690
+ assetId: string;
2691
+ fileName: string;
2692
+ contentType: string;
2693
+ uploadedAt?: string | null | undefined;
2694
+ altText?: string | null | undefined;
2695
+ caption?: string | null | undefined;
2696
+ })[];
2697
+ }, {
2698
+ id: string;
2699
+ title: string;
2700
+ blocks?: ({
2701
+ type: "paragraph" | "bullet";
2702
+ id: string;
2703
+ text: string;
2704
+ } | {
2705
+ type: "image";
2706
+ id: string;
2707
+ assetId: string;
2708
+ fileName: string;
2709
+ contentType: string;
2710
+ uploadedAt?: string | null | undefined;
2711
+ altText?: string | null | undefined;
2712
+ caption?: string | null | undefined;
2713
+ })[] | undefined;
2714
+ }>;
2715
+ export type SleepPlanSection = z.infer<typeof sleepPlanSectionSchema>;
2716
+ export declare const familySleepPlanStatusSchema: z.ZodEnum<["draft", "published", "archived"]>;
2717
+ export type FamilySleepPlanStatus = z.infer<typeof familySleepPlanStatusSchema>;
2718
+ export declare const familySleepPlanWriteStatusSchema: z.ZodEnum<["draft", "published"]>;
2719
+ export type FamilySleepPlanWriteStatus = z.infer<typeof familySleepPlanWriteStatusSchema>;
2720
+ export declare const familySleepPlanSchema: z.ZodObject<{
2721
+ id: z.ZodString;
2722
+ organizationId: z.ZodString;
2723
+ coachUserId: z.ZodString;
2724
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2725
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2726
+ organizationBranding: z.ZodOptional<z.ZodObject<{
2727
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2728
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2729
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2731
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2732
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2733
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2734
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2735
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2736
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2737
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2738
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2739
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2740
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2741
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2742
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2743
+ }, "strict", z.ZodTypeAny, {
2744
+ documentBackgroundColor?: string | null | undefined;
2745
+ screenBackgroundColor?: string | null | undefined;
2746
+ surfaceColor?: string | null | undefined;
2747
+ mutedSurfaceColor?: string | null | undefined;
2748
+ softSurfaceColor?: string | null | undefined;
2749
+ textColor?: string | null | undefined;
2750
+ greenColor?: string | null | undefined;
2751
+ lavenderColor?: string | null | undefined;
2752
+ yellowColor?: string | null | undefined;
2753
+ pinkColor?: string | null | undefined;
2754
+ deepGreenColor?: string | null | undefined;
2755
+ blueColor?: string | null | undefined;
2756
+ }, {
2757
+ documentBackgroundColor?: string | null | undefined;
2758
+ screenBackgroundColor?: string | null | undefined;
2759
+ surfaceColor?: string | null | undefined;
2760
+ mutedSurfaceColor?: string | null | undefined;
2761
+ softSurfaceColor?: string | null | undefined;
2762
+ textColor?: string | null | undefined;
2763
+ greenColor?: string | null | undefined;
2764
+ lavenderColor?: string | null | undefined;
2765
+ yellowColor?: string | null | undefined;
2766
+ pinkColor?: string | null | undefined;
2767
+ deepGreenColor?: string | null | undefined;
2768
+ blueColor?: string | null | undefined;
2769
+ }>>>;
2770
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2771
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2772
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2773
+ }, "strip", z.ZodTypeAny, {
2774
+ primaryColor?: string | null | undefined;
2775
+ accentColor?: string | null | undefined;
2776
+ backgroundColor?: string | null | undefined;
2777
+ theme?: {
2778
+ documentBackgroundColor?: string | null | undefined;
2779
+ screenBackgroundColor?: string | null | undefined;
2780
+ surfaceColor?: string | null | undefined;
2781
+ mutedSurfaceColor?: string | null | undefined;
2782
+ softSurfaceColor?: string | null | undefined;
2783
+ textColor?: string | null | undefined;
2784
+ greenColor?: string | null | undefined;
2785
+ lavenderColor?: string | null | undefined;
2786
+ yellowColor?: string | null | undefined;
2787
+ pinkColor?: string | null | undefined;
2788
+ deepGreenColor?: string | null | undefined;
2789
+ blueColor?: string | null | undefined;
2790
+ } | null | undefined;
2791
+ logoAssetId?: string | null | undefined;
2792
+ welcomeMessage?: string | null | undefined;
2793
+ updatedAt?: string | null | undefined;
2794
+ }, {
2795
+ primaryColor?: string | null | undefined;
2796
+ accentColor?: string | null | undefined;
2797
+ backgroundColor?: string | null | undefined;
2798
+ theme?: {
2799
+ documentBackgroundColor?: string | null | undefined;
2800
+ screenBackgroundColor?: string | null | undefined;
2801
+ surfaceColor?: string | null | undefined;
2802
+ mutedSurfaceColor?: string | null | undefined;
2803
+ softSurfaceColor?: string | null | undefined;
2804
+ textColor?: string | null | undefined;
2805
+ greenColor?: string | null | undefined;
2806
+ lavenderColor?: string | null | undefined;
2807
+ yellowColor?: string | null | undefined;
2808
+ pinkColor?: string | null | undefined;
2809
+ deepGreenColor?: string | null | undefined;
2810
+ blueColor?: string | null | undefined;
2811
+ } | null | undefined;
2812
+ logoAssetId?: string | null | undefined;
2813
+ welcomeMessage?: string | null | undefined;
2814
+ updatedAt?: string | null | undefined;
2815
+ }>>;
2816
+ familyUserId: z.ZodString;
2817
+ title: z.ZodString;
2818
+ sections: z.ZodArray<z.ZodObject<{
2819
+ id: z.ZodString;
2820
+ title: z.ZodString;
2821
+ blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2822
+ id: z.ZodString;
2823
+ type: z.ZodEnum<["paragraph", "bullet"]>;
2824
+ text: z.ZodString;
2825
+ }, "strip", z.ZodTypeAny, {
2826
+ type: "paragraph" | "bullet";
2827
+ id: string;
2828
+ text: string;
2829
+ }, {
2830
+ type: "paragraph" | "bullet";
2831
+ id: string;
2832
+ text: string;
2833
+ }>, z.ZodObject<{
2834
+ id: z.ZodString;
2835
+ type: z.ZodLiteral<"image">;
2836
+ assetId: z.ZodString;
2837
+ fileName: z.ZodString;
2838
+ contentType: z.ZodString;
2839
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2840
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2841
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ type: "image";
2844
+ id: string;
2845
+ assetId: string;
2846
+ fileName: string;
2847
+ contentType: string;
2848
+ uploadedAt?: string | null | undefined;
2849
+ altText?: string | null | undefined;
2850
+ caption?: string | null | undefined;
2851
+ }, {
2852
+ type: "image";
2853
+ id: string;
2854
+ assetId: string;
2855
+ fileName: string;
2856
+ contentType: string;
2857
+ uploadedAt?: string | null | undefined;
2858
+ altText?: string | null | undefined;
2859
+ caption?: string | null | undefined;
2860
+ }>]>, "many">>;
2861
+ }, "strip", z.ZodTypeAny, {
2862
+ id: string;
2863
+ title: string;
2864
+ blocks: ({
2865
+ type: "paragraph" | "bullet";
2866
+ id: string;
2867
+ text: string;
2868
+ } | {
2869
+ type: "image";
2870
+ id: string;
2871
+ assetId: string;
2872
+ fileName: string;
2873
+ contentType: string;
2874
+ uploadedAt?: string | null | undefined;
2875
+ altText?: string | null | undefined;
2876
+ caption?: string | null | undefined;
2877
+ })[];
2878
+ }, {
2879
+ id: string;
2880
+ title: string;
2881
+ blocks?: ({
2882
+ type: "paragraph" | "bullet";
2883
+ id: string;
2884
+ text: string;
2885
+ } | {
2886
+ type: "image";
2887
+ id: string;
2888
+ assetId: string;
2889
+ fileName: string;
2890
+ contentType: string;
2891
+ uploadedAt?: string | null | undefined;
2892
+ altText?: string | null | undefined;
2893
+ caption?: string | null | undefined;
2894
+ })[] | undefined;
2895
+ }>, "many">;
2896
+ status: z.ZodEnum<["draft", "published", "archived"]>;
2897
+ version: z.ZodDefault<z.ZodNumber>;
2898
+ pdfAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2899
+ pdfFileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2900
+ pdfContentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2901
+ pdfUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2902
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2903
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2904
+ createdAt: z.ZodString;
2905
+ updatedAt: z.ZodString;
2906
+ }, "strip", z.ZodTypeAny, {
2907
+ status: "archived" | "draft" | "published";
2908
+ id: string;
2909
+ createdAt: string;
2910
+ updatedAt: string;
2911
+ organizationId: string;
2912
+ coachUserId: string;
2913
+ familyUserId: string;
2914
+ title: string;
2915
+ version: number;
2916
+ sections: {
2917
+ id: string;
2918
+ title: string;
2919
+ blocks: ({
2920
+ type: "paragraph" | "bullet";
2921
+ id: string;
2922
+ text: string;
2923
+ } | {
2924
+ type: "image";
2925
+ id: string;
2926
+ assetId: string;
2927
+ fileName: string;
2928
+ contentType: string;
2929
+ uploadedAt?: string | null | undefined;
2930
+ altText?: string | null | undefined;
2931
+ caption?: string | null | undefined;
2932
+ })[];
2933
+ }[];
2934
+ archivedAt?: string | null | undefined;
2935
+ coachName?: string | null | undefined;
2936
+ organizationName?: string | null | undefined;
2937
+ organizationBranding?: {
2938
+ primaryColor?: string | null | undefined;
2939
+ accentColor?: string | null | undefined;
2940
+ backgroundColor?: string | null | undefined;
2941
+ theme?: {
2942
+ documentBackgroundColor?: string | null | undefined;
2943
+ screenBackgroundColor?: string | null | undefined;
2944
+ surfaceColor?: string | null | undefined;
2945
+ mutedSurfaceColor?: string | null | undefined;
2946
+ softSurfaceColor?: string | null | undefined;
2947
+ textColor?: string | null | undefined;
2948
+ greenColor?: string | null | undefined;
2949
+ lavenderColor?: string | null | undefined;
2950
+ yellowColor?: string | null | undefined;
2951
+ pinkColor?: string | null | undefined;
2952
+ deepGreenColor?: string | null | undefined;
2953
+ blueColor?: string | null | undefined;
2954
+ } | null | undefined;
2955
+ logoAssetId?: string | null | undefined;
2956
+ welcomeMessage?: string | null | undefined;
2957
+ updatedAt?: string | null | undefined;
2958
+ } | undefined;
2959
+ pdfAssetId?: string | null | undefined;
2960
+ pdfFileName?: string | null | undefined;
2961
+ pdfContentType?: string | null | undefined;
2962
+ pdfUploadedAt?: string | null | undefined;
2963
+ publishedAt?: string | null | undefined;
2964
+ }, {
2965
+ status: "archived" | "draft" | "published";
2966
+ id: string;
2967
+ createdAt: string;
2968
+ updatedAt: string;
2969
+ organizationId: string;
2970
+ coachUserId: string;
2971
+ familyUserId: string;
2972
+ title: string;
2973
+ sections: {
2974
+ id: string;
2975
+ title: string;
2976
+ blocks?: ({
2977
+ type: "paragraph" | "bullet";
2978
+ id: string;
2979
+ text: string;
2980
+ } | {
2981
+ type: "image";
2982
+ id: string;
2983
+ assetId: string;
2984
+ fileName: string;
2985
+ contentType: string;
2986
+ uploadedAt?: string | null | undefined;
2987
+ altText?: string | null | undefined;
2988
+ caption?: string | null | undefined;
2989
+ })[] | undefined;
2990
+ }[];
2991
+ archivedAt?: string | null | undefined;
2992
+ version?: number | undefined;
2993
+ coachName?: string | null | undefined;
2994
+ organizationName?: string | null | undefined;
2995
+ organizationBranding?: {
2996
+ primaryColor?: string | null | undefined;
2997
+ accentColor?: string | null | undefined;
2998
+ backgroundColor?: string | null | undefined;
2999
+ theme?: {
3000
+ documentBackgroundColor?: string | null | undefined;
3001
+ screenBackgroundColor?: string | null | undefined;
3002
+ surfaceColor?: string | null | undefined;
3003
+ mutedSurfaceColor?: string | null | undefined;
3004
+ softSurfaceColor?: string | null | undefined;
3005
+ textColor?: string | null | undefined;
3006
+ greenColor?: string | null | undefined;
3007
+ lavenderColor?: string | null | undefined;
3008
+ yellowColor?: string | null | undefined;
3009
+ pinkColor?: string | null | undefined;
3010
+ deepGreenColor?: string | null | undefined;
3011
+ blueColor?: string | null | undefined;
3012
+ } | null | undefined;
3013
+ logoAssetId?: string | null | undefined;
3014
+ welcomeMessage?: string | null | undefined;
3015
+ updatedAt?: string | null | undefined;
3016
+ } | undefined;
3017
+ pdfAssetId?: string | null | undefined;
3018
+ pdfFileName?: string | null | undefined;
3019
+ pdfContentType?: string | null | undefined;
3020
+ pdfUploadedAt?: string | null | undefined;
3021
+ publishedAt?: string | null | undefined;
3022
+ }>;
3023
+ export type FamilySleepPlan = z.infer<typeof familySleepPlanSchema>;
3024
+ export declare const familySleepPlanWriteRequestSchema: z.ZodObject<{
3025
+ title: z.ZodString;
3026
+ sections: z.ZodArray<z.ZodObject<{
3027
+ id: z.ZodString;
3028
+ title: z.ZodString;
3029
+ blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3030
+ id: z.ZodString;
3031
+ type: z.ZodEnum<["paragraph", "bullet"]>;
3032
+ text: z.ZodString;
3033
+ }, "strip", z.ZodTypeAny, {
3034
+ type: "paragraph" | "bullet";
3035
+ id: string;
3036
+ text: string;
3037
+ }, {
3038
+ type: "paragraph" | "bullet";
3039
+ id: string;
3040
+ text: string;
3041
+ }>, z.ZodObject<{
3042
+ id: z.ZodString;
3043
+ type: z.ZodLiteral<"image">;
3044
+ assetId: z.ZodString;
3045
+ fileName: z.ZodString;
3046
+ contentType: z.ZodString;
3047
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3048
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3049
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3050
+ }, "strip", z.ZodTypeAny, {
3051
+ type: "image";
3052
+ id: string;
3053
+ assetId: string;
3054
+ fileName: string;
3055
+ contentType: string;
3056
+ uploadedAt?: string | null | undefined;
3057
+ altText?: string | null | undefined;
3058
+ caption?: string | null | undefined;
3059
+ }, {
3060
+ type: "image";
3061
+ id: string;
3062
+ assetId: string;
3063
+ fileName: string;
3064
+ contentType: string;
3065
+ uploadedAt?: string | null | undefined;
3066
+ altText?: string | null | undefined;
3067
+ caption?: string | null | undefined;
3068
+ }>]>, "many">>;
3069
+ }, "strip", z.ZodTypeAny, {
3070
+ id: string;
3071
+ title: string;
3072
+ blocks: ({
3073
+ type: "paragraph" | "bullet";
3074
+ id: string;
3075
+ text: string;
3076
+ } | {
3077
+ type: "image";
3078
+ id: string;
3079
+ assetId: string;
3080
+ fileName: string;
3081
+ contentType: string;
3082
+ uploadedAt?: string | null | undefined;
3083
+ altText?: string | null | undefined;
3084
+ caption?: string | null | undefined;
3085
+ })[];
3086
+ }, {
3087
+ id: string;
3088
+ title: string;
3089
+ blocks?: ({
3090
+ type: "paragraph" | "bullet";
3091
+ id: string;
3092
+ text: string;
3093
+ } | {
3094
+ type: "image";
3095
+ id: string;
3096
+ assetId: string;
3097
+ fileName: string;
3098
+ contentType: string;
3099
+ uploadedAt?: string | null | undefined;
3100
+ altText?: string | null | undefined;
3101
+ caption?: string | null | undefined;
3102
+ })[] | undefined;
3103
+ }>, "many">;
3104
+ pdfAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3105
+ pdfFileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3106
+ pdfContentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3107
+ pdfUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3108
+ status: z.ZodDefault<z.ZodEnum<["draft", "published"]>>;
3109
+ }, "strip", z.ZodTypeAny, {
3110
+ status: "draft" | "published";
3111
+ title: string;
3112
+ sections: {
3113
+ id: string;
3114
+ title: string;
3115
+ blocks: ({
3116
+ type: "paragraph" | "bullet";
3117
+ id: string;
3118
+ text: string;
3119
+ } | {
3120
+ type: "image";
3121
+ id: string;
3122
+ assetId: string;
3123
+ fileName: string;
3124
+ contentType: string;
3125
+ uploadedAt?: string | null | undefined;
3126
+ altText?: string | null | undefined;
3127
+ caption?: string | null | undefined;
3128
+ })[];
3129
+ }[];
3130
+ pdfAssetId?: string | null | undefined;
3131
+ pdfFileName?: string | null | undefined;
3132
+ pdfContentType?: string | null | undefined;
3133
+ pdfUploadedAt?: string | null | undefined;
3134
+ }, {
3135
+ title: string;
3136
+ sections: {
3137
+ id: string;
3138
+ title: string;
3139
+ blocks?: ({
3140
+ type: "paragraph" | "bullet";
3141
+ id: string;
3142
+ text: string;
3143
+ } | {
3144
+ type: "image";
3145
+ id: string;
3146
+ assetId: string;
3147
+ fileName: string;
3148
+ contentType: string;
3149
+ uploadedAt?: string | null | undefined;
3150
+ altText?: string | null | undefined;
3151
+ caption?: string | null | undefined;
3152
+ })[] | undefined;
3153
+ }[];
3154
+ status?: "draft" | "published" | undefined;
3155
+ pdfAssetId?: string | null | undefined;
3156
+ pdfFileName?: string | null | undefined;
3157
+ pdfContentType?: string | null | undefined;
3158
+ pdfUploadedAt?: string | null | undefined;
3159
+ }>;
3160
+ export type FamilySleepPlanWriteRequest = z.infer<typeof familySleepPlanWriteRequestSchema>;
3161
+ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3162
+ sleepPlan: z.ZodObject<{
3163
+ id: z.ZodString;
3164
+ organizationId: z.ZodString;
3165
+ coachUserId: z.ZodString;
3166
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3168
+ organizationBranding: z.ZodOptional<z.ZodObject<{
3169
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3170
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3171
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3172
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3173
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3174
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3175
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3176
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3177
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3178
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3179
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3181
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3183
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3184
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3185
+ }, "strict", z.ZodTypeAny, {
3186
+ documentBackgroundColor?: string | null | undefined;
3187
+ screenBackgroundColor?: string | null | undefined;
3188
+ surfaceColor?: string | null | undefined;
3189
+ mutedSurfaceColor?: string | null | undefined;
3190
+ softSurfaceColor?: string | null | undefined;
3191
+ textColor?: string | null | undefined;
3192
+ greenColor?: string | null | undefined;
3193
+ lavenderColor?: string | null | undefined;
3194
+ yellowColor?: string | null | undefined;
3195
+ pinkColor?: string | null | undefined;
3196
+ deepGreenColor?: string | null | undefined;
3197
+ blueColor?: string | null | undefined;
3198
+ }, {
3199
+ documentBackgroundColor?: string | null | undefined;
3200
+ screenBackgroundColor?: string | null | undefined;
3201
+ surfaceColor?: string | null | undefined;
3202
+ mutedSurfaceColor?: string | null | undefined;
3203
+ softSurfaceColor?: string | null | undefined;
3204
+ textColor?: string | null | undefined;
3205
+ greenColor?: string | null | undefined;
3206
+ lavenderColor?: string | null | undefined;
3207
+ yellowColor?: string | null | undefined;
3208
+ pinkColor?: string | null | undefined;
3209
+ deepGreenColor?: string | null | undefined;
3210
+ blueColor?: string | null | undefined;
3211
+ }>>>;
3212
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3213
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3214
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3215
+ }, "strip", z.ZodTypeAny, {
3216
+ primaryColor?: string | null | undefined;
3217
+ accentColor?: string | null | undefined;
3218
+ backgroundColor?: string | null | undefined;
3219
+ theme?: {
3220
+ documentBackgroundColor?: string | null | undefined;
3221
+ screenBackgroundColor?: string | null | undefined;
3222
+ surfaceColor?: string | null | undefined;
3223
+ mutedSurfaceColor?: string | null | undefined;
3224
+ softSurfaceColor?: string | null | undefined;
3225
+ textColor?: string | null | undefined;
3226
+ greenColor?: string | null | undefined;
3227
+ lavenderColor?: string | null | undefined;
3228
+ yellowColor?: string | null | undefined;
3229
+ pinkColor?: string | null | undefined;
3230
+ deepGreenColor?: string | null | undefined;
3231
+ blueColor?: string | null | undefined;
3232
+ } | null | undefined;
3233
+ logoAssetId?: string | null | undefined;
3234
+ welcomeMessage?: string | null | undefined;
3235
+ updatedAt?: string | null | undefined;
3236
+ }, {
3237
+ primaryColor?: string | null | undefined;
3238
+ accentColor?: string | null | undefined;
3239
+ backgroundColor?: string | null | undefined;
3240
+ theme?: {
3241
+ documentBackgroundColor?: string | null | undefined;
3242
+ screenBackgroundColor?: string | null | undefined;
3243
+ surfaceColor?: string | null | undefined;
3244
+ mutedSurfaceColor?: string | null | undefined;
3245
+ softSurfaceColor?: string | null | undefined;
3246
+ textColor?: string | null | undefined;
3247
+ greenColor?: string | null | undefined;
3248
+ lavenderColor?: string | null | undefined;
3249
+ yellowColor?: string | null | undefined;
3250
+ pinkColor?: string | null | undefined;
3251
+ deepGreenColor?: string | null | undefined;
3252
+ blueColor?: string | null | undefined;
3253
+ } | null | undefined;
3254
+ logoAssetId?: string | null | undefined;
3255
+ welcomeMessage?: string | null | undefined;
3256
+ updatedAt?: string | null | undefined;
3257
+ }>>;
3258
+ familyUserId: z.ZodString;
3259
+ title: z.ZodString;
3260
+ sections: z.ZodArray<z.ZodObject<{
3261
+ id: z.ZodString;
3262
+ title: z.ZodString;
3263
+ blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3264
+ id: z.ZodString;
3265
+ type: z.ZodEnum<["paragraph", "bullet"]>;
3266
+ text: z.ZodString;
3267
+ }, "strip", z.ZodTypeAny, {
3268
+ type: "paragraph" | "bullet";
3269
+ id: string;
3270
+ text: string;
3271
+ }, {
3272
+ type: "paragraph" | "bullet";
3273
+ id: string;
3274
+ text: string;
3275
+ }>, z.ZodObject<{
3276
+ id: z.ZodString;
3277
+ type: z.ZodLiteral<"image">;
3278
+ assetId: z.ZodString;
3279
+ fileName: z.ZodString;
3280
+ contentType: z.ZodString;
3281
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3282
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3283
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3284
+ }, "strip", z.ZodTypeAny, {
3285
+ type: "image";
3286
+ id: string;
3287
+ assetId: string;
3288
+ fileName: string;
3289
+ contentType: string;
3290
+ uploadedAt?: string | null | undefined;
3291
+ altText?: string | null | undefined;
3292
+ caption?: string | null | undefined;
3293
+ }, {
3294
+ type: "image";
3295
+ id: string;
3296
+ assetId: string;
3297
+ fileName: string;
3298
+ contentType: string;
3299
+ uploadedAt?: string | null | undefined;
3300
+ altText?: string | null | undefined;
3301
+ caption?: string | null | undefined;
3302
+ }>]>, "many">>;
3303
+ }, "strip", z.ZodTypeAny, {
3304
+ id: string;
3305
+ title: string;
3306
+ blocks: ({
3307
+ type: "paragraph" | "bullet";
3308
+ id: string;
3309
+ text: string;
3310
+ } | {
3311
+ type: "image";
3312
+ id: string;
3313
+ assetId: string;
3314
+ fileName: string;
3315
+ contentType: string;
3316
+ uploadedAt?: string | null | undefined;
3317
+ altText?: string | null | undefined;
3318
+ caption?: string | null | undefined;
3319
+ })[];
3320
+ }, {
3321
+ id: string;
3322
+ title: string;
3323
+ blocks?: ({
3324
+ type: "paragraph" | "bullet";
3325
+ id: string;
3326
+ text: string;
3327
+ } | {
3328
+ type: "image";
3329
+ id: string;
3330
+ assetId: string;
3331
+ fileName: string;
3332
+ contentType: string;
3333
+ uploadedAt?: string | null | undefined;
3334
+ altText?: string | null | undefined;
3335
+ caption?: string | null | undefined;
3336
+ })[] | undefined;
3337
+ }>, "many">;
3338
+ status: z.ZodEnum<["draft", "published", "archived"]>;
3339
+ version: z.ZodDefault<z.ZodNumber>;
3340
+ pdfAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3341
+ pdfFileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3342
+ pdfContentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3343
+ pdfUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3344
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3345
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3346
+ createdAt: z.ZodString;
3347
+ updatedAt: z.ZodString;
3348
+ }, "strip", z.ZodTypeAny, {
3349
+ status: "archived" | "draft" | "published";
3350
+ id: string;
3351
+ createdAt: string;
3352
+ updatedAt: string;
3353
+ organizationId: string;
3354
+ coachUserId: string;
3355
+ familyUserId: string;
3356
+ title: string;
3357
+ version: number;
3358
+ sections: {
3359
+ id: string;
3360
+ title: string;
3361
+ blocks: ({
3362
+ type: "paragraph" | "bullet";
3363
+ id: string;
3364
+ text: string;
3365
+ } | {
3366
+ type: "image";
3367
+ id: string;
3368
+ assetId: string;
3369
+ fileName: string;
3370
+ contentType: string;
3371
+ uploadedAt?: string | null | undefined;
3372
+ altText?: string | null | undefined;
3373
+ caption?: string | null | undefined;
3374
+ })[];
3375
+ }[];
3376
+ archivedAt?: string | null | undefined;
3377
+ coachName?: string | null | undefined;
3378
+ organizationName?: string | null | undefined;
3379
+ organizationBranding?: {
3380
+ primaryColor?: string | null | undefined;
3381
+ accentColor?: string | null | undefined;
3382
+ backgroundColor?: string | null | undefined;
3383
+ theme?: {
3384
+ documentBackgroundColor?: string | null | undefined;
3385
+ screenBackgroundColor?: string | null | undefined;
3386
+ surfaceColor?: string | null | undefined;
3387
+ mutedSurfaceColor?: string | null | undefined;
3388
+ softSurfaceColor?: string | null | undefined;
3389
+ textColor?: string | null | undefined;
3390
+ greenColor?: string | null | undefined;
3391
+ lavenderColor?: string | null | undefined;
3392
+ yellowColor?: string | null | undefined;
3393
+ pinkColor?: string | null | undefined;
3394
+ deepGreenColor?: string | null | undefined;
3395
+ blueColor?: string | null | undefined;
3396
+ } | null | undefined;
3397
+ logoAssetId?: string | null | undefined;
3398
+ welcomeMessage?: string | null | undefined;
3399
+ updatedAt?: string | null | undefined;
3400
+ } | undefined;
3401
+ pdfAssetId?: string | null | undefined;
3402
+ pdfFileName?: string | null | undefined;
3403
+ pdfContentType?: string | null | undefined;
3404
+ pdfUploadedAt?: string | null | undefined;
3405
+ publishedAt?: string | null | undefined;
3406
+ }, {
3407
+ status: "archived" | "draft" | "published";
3408
+ id: string;
3409
+ createdAt: string;
3410
+ updatedAt: string;
3411
+ organizationId: string;
3412
+ coachUserId: string;
3413
+ familyUserId: string;
3414
+ title: string;
3415
+ sections: {
3416
+ id: string;
3417
+ title: string;
3418
+ blocks?: ({
3419
+ type: "paragraph" | "bullet";
3420
+ id: string;
3421
+ text: string;
3422
+ } | {
3423
+ type: "image";
3424
+ id: string;
3425
+ assetId: string;
3426
+ fileName: string;
3427
+ contentType: string;
3428
+ uploadedAt?: string | null | undefined;
3429
+ altText?: string | null | undefined;
3430
+ caption?: string | null | undefined;
3431
+ })[] | undefined;
3432
+ }[];
3433
+ archivedAt?: string | null | undefined;
3434
+ version?: number | undefined;
3435
+ coachName?: string | null | undefined;
3436
+ organizationName?: string | null | undefined;
3437
+ organizationBranding?: {
3438
+ primaryColor?: string | null | undefined;
3439
+ accentColor?: string | null | undefined;
3440
+ backgroundColor?: string | null | undefined;
3441
+ theme?: {
3442
+ documentBackgroundColor?: string | null | undefined;
3443
+ screenBackgroundColor?: string | null | undefined;
3444
+ surfaceColor?: string | null | undefined;
3445
+ mutedSurfaceColor?: string | null | undefined;
3446
+ softSurfaceColor?: string | null | undefined;
3447
+ textColor?: string | null | undefined;
3448
+ greenColor?: string | null | undefined;
3449
+ lavenderColor?: string | null | undefined;
3450
+ yellowColor?: string | null | undefined;
3451
+ pinkColor?: string | null | undefined;
3452
+ deepGreenColor?: string | null | undefined;
3453
+ blueColor?: string | null | undefined;
3454
+ } | null | undefined;
3455
+ logoAssetId?: string | null | undefined;
3456
+ welcomeMessage?: string | null | undefined;
3457
+ updatedAt?: string | null | undefined;
3458
+ } | undefined;
3459
+ pdfAssetId?: string | null | undefined;
3460
+ pdfFileName?: string | null | undefined;
3461
+ pdfContentType?: string | null | undefined;
3462
+ pdfUploadedAt?: string | null | undefined;
3463
+ publishedAt?: string | null | undefined;
3464
+ }>;
3465
+ archivedSleepPlans: z.ZodDefault<z.ZodArray<z.ZodObject<{
3466
+ id: z.ZodString;
3467
+ organizationId: z.ZodString;
3468
+ coachUserId: z.ZodString;
3469
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3470
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3471
+ organizationBranding: z.ZodOptional<z.ZodObject<{
3472
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3473
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3474
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3475
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3476
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3477
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3478
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3479
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3480
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3481
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3482
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3483
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3484
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3485
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3486
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3487
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3488
+ }, "strict", z.ZodTypeAny, {
3489
+ documentBackgroundColor?: string | null | undefined;
3490
+ screenBackgroundColor?: string | null | undefined;
3491
+ surfaceColor?: string | null | undefined;
3492
+ mutedSurfaceColor?: string | null | undefined;
3493
+ softSurfaceColor?: string | null | undefined;
3494
+ textColor?: string | null | undefined;
3495
+ greenColor?: string | null | undefined;
3496
+ lavenderColor?: string | null | undefined;
3497
+ yellowColor?: string | null | undefined;
3498
+ pinkColor?: string | null | undefined;
3499
+ deepGreenColor?: string | null | undefined;
3500
+ blueColor?: string | null | undefined;
3501
+ }, {
3502
+ documentBackgroundColor?: string | null | undefined;
3503
+ screenBackgroundColor?: string | null | undefined;
3504
+ surfaceColor?: string | null | undefined;
3505
+ mutedSurfaceColor?: string | null | undefined;
3506
+ softSurfaceColor?: string | null | undefined;
3507
+ textColor?: string | null | undefined;
3508
+ greenColor?: string | null | undefined;
3509
+ lavenderColor?: string | null | undefined;
3510
+ yellowColor?: string | null | undefined;
3511
+ pinkColor?: string | null | undefined;
3512
+ deepGreenColor?: string | null | undefined;
3513
+ blueColor?: string | null | undefined;
3514
+ }>>>;
3515
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3516
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3517
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3518
+ }, "strip", z.ZodTypeAny, {
3519
+ primaryColor?: string | null | undefined;
3520
+ accentColor?: string | null | undefined;
3521
+ backgroundColor?: string | null | undefined;
3522
+ theme?: {
3523
+ documentBackgroundColor?: string | null | undefined;
3524
+ screenBackgroundColor?: string | null | undefined;
3525
+ surfaceColor?: string | null | undefined;
3526
+ mutedSurfaceColor?: string | null | undefined;
3527
+ softSurfaceColor?: string | null | undefined;
3528
+ textColor?: string | null | undefined;
3529
+ greenColor?: string | null | undefined;
3530
+ lavenderColor?: string | null | undefined;
3531
+ yellowColor?: string | null | undefined;
3532
+ pinkColor?: string | null | undefined;
3533
+ deepGreenColor?: string | null | undefined;
3534
+ blueColor?: string | null | undefined;
3535
+ } | null | undefined;
3536
+ logoAssetId?: string | null | undefined;
3537
+ welcomeMessage?: string | null | undefined;
3538
+ updatedAt?: string | null | undefined;
3539
+ }, {
3540
+ primaryColor?: string | null | undefined;
3541
+ accentColor?: string | null | undefined;
3542
+ backgroundColor?: string | null | undefined;
3543
+ theme?: {
3544
+ documentBackgroundColor?: string | null | undefined;
3545
+ screenBackgroundColor?: string | null | undefined;
3546
+ surfaceColor?: string | null | undefined;
3547
+ mutedSurfaceColor?: string | null | undefined;
3548
+ softSurfaceColor?: string | null | undefined;
3549
+ textColor?: string | null | undefined;
3550
+ greenColor?: string | null | undefined;
3551
+ lavenderColor?: string | null | undefined;
3552
+ yellowColor?: string | null | undefined;
3553
+ pinkColor?: string | null | undefined;
3554
+ deepGreenColor?: string | null | undefined;
3555
+ blueColor?: string | null | undefined;
3556
+ } | null | undefined;
3557
+ logoAssetId?: string | null | undefined;
3558
+ welcomeMessage?: string | null | undefined;
3559
+ updatedAt?: string | null | undefined;
3560
+ }>>;
3561
+ familyUserId: z.ZodString;
3562
+ title: z.ZodString;
3563
+ sections: z.ZodArray<z.ZodObject<{
3564
+ id: z.ZodString;
3565
+ title: z.ZodString;
3566
+ blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3567
+ id: z.ZodString;
3568
+ type: z.ZodEnum<["paragraph", "bullet"]>;
3569
+ text: z.ZodString;
3570
+ }, "strip", z.ZodTypeAny, {
3571
+ type: "paragraph" | "bullet";
3572
+ id: string;
3573
+ text: string;
3574
+ }, {
3575
+ type: "paragraph" | "bullet";
3576
+ id: string;
3577
+ text: string;
3578
+ }>, z.ZodObject<{
3579
+ id: z.ZodString;
3580
+ type: z.ZodLiteral<"image">;
3581
+ assetId: z.ZodString;
3582
+ fileName: z.ZodString;
3583
+ contentType: z.ZodString;
3584
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3585
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3586
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3587
+ }, "strip", z.ZodTypeAny, {
3588
+ type: "image";
3589
+ id: string;
3590
+ assetId: string;
3591
+ fileName: string;
3592
+ contentType: string;
3593
+ uploadedAt?: string | null | undefined;
3594
+ altText?: string | null | undefined;
3595
+ caption?: string | null | undefined;
3596
+ }, {
3597
+ type: "image";
3598
+ id: string;
3599
+ assetId: string;
3600
+ fileName: string;
3601
+ contentType: string;
3602
+ uploadedAt?: string | null | undefined;
3603
+ altText?: string | null | undefined;
3604
+ caption?: string | null | undefined;
3605
+ }>]>, "many">>;
3606
+ }, "strip", z.ZodTypeAny, {
3607
+ id: string;
3608
+ title: string;
3609
+ blocks: ({
3610
+ type: "paragraph" | "bullet";
3611
+ id: string;
3612
+ text: string;
3613
+ } | {
3614
+ type: "image";
3615
+ id: string;
3616
+ assetId: string;
3617
+ fileName: string;
3618
+ contentType: string;
3619
+ uploadedAt?: string | null | undefined;
3620
+ altText?: string | null | undefined;
3621
+ caption?: string | null | undefined;
3622
+ })[];
3623
+ }, {
3624
+ id: string;
3625
+ title: string;
3626
+ blocks?: ({
3627
+ type: "paragraph" | "bullet";
3628
+ id: string;
3629
+ text: string;
3630
+ } | {
3631
+ type: "image";
3632
+ id: string;
3633
+ assetId: string;
3634
+ fileName: string;
3635
+ contentType: string;
3636
+ uploadedAt?: string | null | undefined;
3637
+ altText?: string | null | undefined;
3638
+ caption?: string | null | undefined;
3639
+ })[] | undefined;
3640
+ }>, "many">;
3641
+ status: z.ZodEnum<["draft", "published", "archived"]>;
3642
+ version: z.ZodDefault<z.ZodNumber>;
3643
+ pdfAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3644
+ pdfFileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3645
+ pdfContentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3646
+ pdfUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3647
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3648
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3649
+ createdAt: z.ZodString;
3650
+ updatedAt: z.ZodString;
3651
+ }, "strip", z.ZodTypeAny, {
3652
+ status: "archived" | "draft" | "published";
3653
+ id: string;
3654
+ createdAt: string;
3655
+ updatedAt: string;
3656
+ organizationId: string;
3657
+ coachUserId: string;
3658
+ familyUserId: string;
3659
+ title: string;
3660
+ version: number;
3661
+ sections: {
3662
+ id: string;
3663
+ title: string;
3664
+ blocks: ({
3665
+ type: "paragraph" | "bullet";
3666
+ id: string;
3667
+ text: string;
3668
+ } | {
3669
+ type: "image";
3670
+ id: string;
3671
+ assetId: string;
3672
+ fileName: string;
3673
+ contentType: string;
3674
+ uploadedAt?: string | null | undefined;
3675
+ altText?: string | null | undefined;
3676
+ caption?: string | null | undefined;
3677
+ })[];
3678
+ }[];
3679
+ archivedAt?: string | null | undefined;
3680
+ coachName?: string | null | undefined;
3681
+ organizationName?: string | null | undefined;
3682
+ organizationBranding?: {
3683
+ primaryColor?: string | null | undefined;
3684
+ accentColor?: string | null | undefined;
3685
+ backgroundColor?: string | null | undefined;
3686
+ theme?: {
3687
+ documentBackgroundColor?: string | null | undefined;
3688
+ screenBackgroundColor?: string | null | undefined;
3689
+ surfaceColor?: string | null | undefined;
3690
+ mutedSurfaceColor?: string | null | undefined;
3691
+ softSurfaceColor?: string | null | undefined;
3692
+ textColor?: string | null | undefined;
3693
+ greenColor?: string | null | undefined;
3694
+ lavenderColor?: string | null | undefined;
3695
+ yellowColor?: string | null | undefined;
3696
+ pinkColor?: string | null | undefined;
3697
+ deepGreenColor?: string | null | undefined;
3698
+ blueColor?: string | null | undefined;
3699
+ } | null | undefined;
3700
+ logoAssetId?: string | null | undefined;
3701
+ welcomeMessage?: string | null | undefined;
3702
+ updatedAt?: string | null | undefined;
3703
+ } | undefined;
3704
+ pdfAssetId?: string | null | undefined;
3705
+ pdfFileName?: string | null | undefined;
3706
+ pdfContentType?: string | null | undefined;
3707
+ pdfUploadedAt?: string | null | undefined;
3708
+ publishedAt?: string | null | undefined;
3709
+ }, {
3710
+ status: "archived" | "draft" | "published";
3711
+ id: string;
3712
+ createdAt: string;
3713
+ updatedAt: string;
3714
+ organizationId: string;
3715
+ coachUserId: string;
3716
+ familyUserId: string;
3717
+ title: string;
3718
+ sections: {
3719
+ id: string;
3720
+ title: string;
3721
+ blocks?: ({
3722
+ type: "paragraph" | "bullet";
3723
+ id: string;
3724
+ text: string;
3725
+ } | {
3726
+ type: "image";
3727
+ id: string;
3728
+ assetId: string;
3729
+ fileName: string;
3730
+ contentType: string;
3731
+ uploadedAt?: string | null | undefined;
3732
+ altText?: string | null | undefined;
3733
+ caption?: string | null | undefined;
3734
+ })[] | undefined;
3735
+ }[];
3736
+ archivedAt?: string | null | undefined;
3737
+ version?: number | undefined;
3738
+ coachName?: string | null | undefined;
3739
+ organizationName?: string | null | undefined;
3740
+ organizationBranding?: {
3741
+ primaryColor?: string | null | undefined;
3742
+ accentColor?: string | null | undefined;
3743
+ backgroundColor?: string | null | undefined;
3744
+ theme?: {
3745
+ documentBackgroundColor?: string | null | undefined;
3746
+ screenBackgroundColor?: string | null | undefined;
3747
+ surfaceColor?: string | null | undefined;
3748
+ mutedSurfaceColor?: string | null | undefined;
3749
+ softSurfaceColor?: string | null | undefined;
3750
+ textColor?: string | null | undefined;
3751
+ greenColor?: string | null | undefined;
3752
+ lavenderColor?: string | null | undefined;
3753
+ yellowColor?: string | null | undefined;
3754
+ pinkColor?: string | null | undefined;
3755
+ deepGreenColor?: string | null | undefined;
3756
+ blueColor?: string | null | undefined;
3757
+ } | null | undefined;
3758
+ logoAssetId?: string | null | undefined;
3759
+ welcomeMessage?: string | null | undefined;
3760
+ updatedAt?: string | null | undefined;
3761
+ } | undefined;
3762
+ pdfAssetId?: string | null | undefined;
3763
+ pdfFileName?: string | null | undefined;
3764
+ pdfContentType?: string | null | undefined;
3765
+ pdfUploadedAt?: string | null | undefined;
3766
+ publishedAt?: string | null | undefined;
3767
+ }>, "many">>;
3768
+ }, "strip", z.ZodTypeAny, {
3769
+ sleepPlan: {
3770
+ status: "archived" | "draft" | "published";
3771
+ id: string;
3772
+ createdAt: string;
3773
+ updatedAt: string;
3774
+ organizationId: string;
3775
+ coachUserId: string;
3776
+ familyUserId: string;
3777
+ title: string;
3778
+ version: number;
3779
+ sections: {
3780
+ id: string;
3781
+ title: string;
3782
+ blocks: ({
3783
+ type: "paragraph" | "bullet";
3784
+ id: string;
3785
+ text: string;
3786
+ } | {
3787
+ type: "image";
3788
+ id: string;
3789
+ assetId: string;
3790
+ fileName: string;
3791
+ contentType: string;
3792
+ uploadedAt?: string | null | undefined;
3793
+ altText?: string | null | undefined;
3794
+ caption?: string | null | undefined;
3795
+ })[];
3796
+ }[];
3797
+ archivedAt?: string | null | undefined;
3798
+ coachName?: string | null | undefined;
3799
+ organizationName?: string | null | undefined;
3800
+ organizationBranding?: {
3801
+ primaryColor?: string | null | undefined;
3802
+ accentColor?: string | null | undefined;
3803
+ backgroundColor?: string | null | undefined;
3804
+ theme?: {
3805
+ documentBackgroundColor?: string | null | undefined;
3806
+ screenBackgroundColor?: string | null | undefined;
3807
+ surfaceColor?: string | null | undefined;
3808
+ mutedSurfaceColor?: string | null | undefined;
3809
+ softSurfaceColor?: string | null | undefined;
3810
+ textColor?: string | null | undefined;
3811
+ greenColor?: string | null | undefined;
3812
+ lavenderColor?: string | null | undefined;
3813
+ yellowColor?: string | null | undefined;
3814
+ pinkColor?: string | null | undefined;
3815
+ deepGreenColor?: string | null | undefined;
3816
+ blueColor?: string | null | undefined;
3817
+ } | null | undefined;
3818
+ logoAssetId?: string | null | undefined;
3819
+ welcomeMessage?: string | null | undefined;
3820
+ updatedAt?: string | null | undefined;
3821
+ } | undefined;
3822
+ pdfAssetId?: string | null | undefined;
3823
+ pdfFileName?: string | null | undefined;
3824
+ pdfContentType?: string | null | undefined;
3825
+ pdfUploadedAt?: string | null | undefined;
3826
+ publishedAt?: string | null | undefined;
3827
+ };
3828
+ archivedSleepPlans: {
3829
+ status: "archived" | "draft" | "published";
3830
+ id: string;
3831
+ createdAt: string;
3832
+ updatedAt: string;
3833
+ organizationId: string;
3834
+ coachUserId: string;
3835
+ familyUserId: string;
3836
+ title: string;
3837
+ version: number;
3838
+ sections: {
3839
+ id: string;
3840
+ title: string;
3841
+ blocks: ({
3842
+ type: "paragraph" | "bullet";
3843
+ id: string;
3844
+ text: string;
3845
+ } | {
3846
+ type: "image";
3847
+ id: string;
3848
+ assetId: string;
3849
+ fileName: string;
3850
+ contentType: string;
3851
+ uploadedAt?: string | null | undefined;
3852
+ altText?: string | null | undefined;
3853
+ caption?: string | null | undefined;
3854
+ })[];
3855
+ }[];
3856
+ archivedAt?: string | null | undefined;
3857
+ coachName?: string | null | undefined;
3858
+ organizationName?: string | null | undefined;
3859
+ organizationBranding?: {
3860
+ primaryColor?: string | null | undefined;
3861
+ accentColor?: string | null | undefined;
3862
+ backgroundColor?: string | null | undefined;
3863
+ theme?: {
3864
+ documentBackgroundColor?: string | null | undefined;
3865
+ screenBackgroundColor?: string | null | undefined;
3866
+ surfaceColor?: string | null | undefined;
3867
+ mutedSurfaceColor?: string | null | undefined;
3868
+ softSurfaceColor?: string | null | undefined;
3869
+ textColor?: string | null | undefined;
3870
+ greenColor?: string | null | undefined;
3871
+ lavenderColor?: string | null | undefined;
3872
+ yellowColor?: string | null | undefined;
3873
+ pinkColor?: string | null | undefined;
3874
+ deepGreenColor?: string | null | undefined;
3875
+ blueColor?: string | null | undefined;
3876
+ } | null | undefined;
3877
+ logoAssetId?: string | null | undefined;
3878
+ welcomeMessage?: string | null | undefined;
3879
+ updatedAt?: string | null | undefined;
3880
+ } | undefined;
3881
+ pdfAssetId?: string | null | undefined;
3882
+ pdfFileName?: string | null | undefined;
3883
+ pdfContentType?: string | null | undefined;
3884
+ pdfUploadedAt?: string | null | undefined;
3885
+ publishedAt?: string | null | undefined;
3886
+ }[];
3887
+ }, {
3888
+ sleepPlan: {
3889
+ status: "archived" | "draft" | "published";
3890
+ id: string;
3891
+ createdAt: string;
3892
+ updatedAt: string;
3893
+ organizationId: string;
3894
+ coachUserId: string;
3895
+ familyUserId: string;
3896
+ title: string;
3897
+ sections: {
3898
+ id: string;
3899
+ title: string;
3900
+ blocks?: ({
3901
+ type: "paragraph" | "bullet";
3902
+ id: string;
3903
+ text: string;
3904
+ } | {
3905
+ type: "image";
3906
+ id: string;
3907
+ assetId: string;
3908
+ fileName: string;
3909
+ contentType: string;
3910
+ uploadedAt?: string | null | undefined;
3911
+ altText?: string | null | undefined;
3912
+ caption?: string | null | undefined;
3913
+ })[] | undefined;
3914
+ }[];
3915
+ archivedAt?: string | null | undefined;
3916
+ version?: number | undefined;
3917
+ coachName?: string | null | undefined;
3918
+ organizationName?: string | null | undefined;
3919
+ organizationBranding?: {
3920
+ primaryColor?: string | null | undefined;
3921
+ accentColor?: string | null | undefined;
3922
+ backgroundColor?: string | null | undefined;
3923
+ theme?: {
3924
+ documentBackgroundColor?: string | null | undefined;
3925
+ screenBackgroundColor?: string | null | undefined;
3926
+ surfaceColor?: string | null | undefined;
3927
+ mutedSurfaceColor?: string | null | undefined;
3928
+ softSurfaceColor?: string | null | undefined;
3929
+ textColor?: string | null | undefined;
3930
+ greenColor?: string | null | undefined;
3931
+ lavenderColor?: string | null | undefined;
3932
+ yellowColor?: string | null | undefined;
3933
+ pinkColor?: string | null | undefined;
3934
+ deepGreenColor?: string | null | undefined;
3935
+ blueColor?: string | null | undefined;
3936
+ } | null | undefined;
3937
+ logoAssetId?: string | null | undefined;
3938
+ welcomeMessage?: string | null | undefined;
3939
+ updatedAt?: string | null | undefined;
3940
+ } | undefined;
3941
+ pdfAssetId?: string | null | undefined;
3942
+ pdfFileName?: string | null | undefined;
3943
+ pdfContentType?: string | null | undefined;
3944
+ pdfUploadedAt?: string | null | undefined;
3945
+ publishedAt?: string | null | undefined;
3946
+ };
3947
+ archivedSleepPlans?: {
3948
+ status: "archived" | "draft" | "published";
3949
+ id: string;
3950
+ createdAt: string;
3951
+ updatedAt: string;
3952
+ organizationId: string;
3953
+ coachUserId: string;
3954
+ familyUserId: string;
3955
+ title: string;
3956
+ sections: {
3957
+ id: string;
3958
+ title: string;
3959
+ blocks?: ({
3960
+ type: "paragraph" | "bullet";
3961
+ id: string;
3962
+ text: string;
3963
+ } | {
3964
+ type: "image";
3965
+ id: string;
3966
+ assetId: string;
3967
+ fileName: string;
3968
+ contentType: string;
3969
+ uploadedAt?: string | null | undefined;
3970
+ altText?: string | null | undefined;
3971
+ caption?: string | null | undefined;
3972
+ })[] | undefined;
3973
+ }[];
3974
+ archivedAt?: string | null | undefined;
3975
+ version?: number | undefined;
3976
+ coachName?: string | null | undefined;
3977
+ organizationName?: string | null | undefined;
3978
+ organizationBranding?: {
3979
+ primaryColor?: string | null | undefined;
3980
+ accentColor?: string | null | undefined;
3981
+ backgroundColor?: string | null | undefined;
3982
+ theme?: {
3983
+ documentBackgroundColor?: string | null | undefined;
3984
+ screenBackgroundColor?: string | null | undefined;
3985
+ surfaceColor?: string | null | undefined;
3986
+ mutedSurfaceColor?: string | null | undefined;
3987
+ softSurfaceColor?: string | null | undefined;
3988
+ textColor?: string | null | undefined;
3989
+ greenColor?: string | null | undefined;
3990
+ lavenderColor?: string | null | undefined;
3991
+ yellowColor?: string | null | undefined;
3992
+ pinkColor?: string | null | undefined;
3993
+ deepGreenColor?: string | null | undefined;
3994
+ blueColor?: string | null | undefined;
3995
+ } | null | undefined;
3996
+ logoAssetId?: string | null | undefined;
3997
+ welcomeMessage?: string | null | undefined;
3998
+ updatedAt?: string | null | undefined;
3999
+ } | undefined;
4000
+ pdfAssetId?: string | null | undefined;
4001
+ pdfFileName?: string | null | undefined;
4002
+ pdfContentType?: string | null | undefined;
4003
+ pdfUploadedAt?: string | null | undefined;
4004
+ publishedAt?: string | null | undefined;
4005
+ }[] | undefined;
4006
+ }>;
4007
+ export type FamilySleepPlanResponse = z.infer<typeof familySleepPlanResponseSchema>;
4008
+ export declare const familySleepPlansResponseSchema: z.ZodObject<{
4009
+ sleepPlans: z.ZodArray<z.ZodObject<{
4010
+ id: z.ZodString;
4011
+ organizationId: z.ZodString;
4012
+ coachUserId: z.ZodString;
4013
+ coachName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4014
+ organizationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4015
+ organizationBranding: z.ZodOptional<z.ZodObject<{
4016
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4017
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4018
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4019
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4020
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4021
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4022
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4023
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4024
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4025
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4026
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4027
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4028
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4029
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4030
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4031
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4032
+ }, "strict", z.ZodTypeAny, {
4033
+ documentBackgroundColor?: string | null | undefined;
4034
+ screenBackgroundColor?: string | null | undefined;
4035
+ surfaceColor?: string | null | undefined;
4036
+ mutedSurfaceColor?: string | null | undefined;
4037
+ softSurfaceColor?: string | null | undefined;
4038
+ textColor?: string | null | undefined;
4039
+ greenColor?: string | null | undefined;
4040
+ lavenderColor?: string | null | undefined;
4041
+ yellowColor?: string | null | undefined;
4042
+ pinkColor?: string | null | undefined;
4043
+ deepGreenColor?: string | null | undefined;
4044
+ blueColor?: string | null | undefined;
4045
+ }, {
4046
+ documentBackgroundColor?: string | null | undefined;
4047
+ screenBackgroundColor?: string | null | undefined;
4048
+ surfaceColor?: string | null | undefined;
4049
+ mutedSurfaceColor?: string | null | undefined;
4050
+ softSurfaceColor?: string | null | undefined;
4051
+ textColor?: string | null | undefined;
4052
+ greenColor?: string | null | undefined;
4053
+ lavenderColor?: string | null | undefined;
4054
+ yellowColor?: string | null | undefined;
4055
+ pinkColor?: string | null | undefined;
4056
+ deepGreenColor?: string | null | undefined;
4057
+ blueColor?: string | null | undefined;
4058
+ }>>>;
4059
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4060
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4061
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4062
+ }, "strip", z.ZodTypeAny, {
4063
+ primaryColor?: string | null | undefined;
4064
+ accentColor?: string | null | undefined;
4065
+ backgroundColor?: string | null | undefined;
4066
+ theme?: {
4067
+ documentBackgroundColor?: string | null | undefined;
4068
+ screenBackgroundColor?: string | null | undefined;
4069
+ surfaceColor?: string | null | undefined;
4070
+ mutedSurfaceColor?: string | null | undefined;
4071
+ softSurfaceColor?: string | null | undefined;
4072
+ textColor?: string | null | undefined;
4073
+ greenColor?: string | null | undefined;
4074
+ lavenderColor?: string | null | undefined;
4075
+ yellowColor?: string | null | undefined;
4076
+ pinkColor?: string | null | undefined;
4077
+ deepGreenColor?: string | null | undefined;
4078
+ blueColor?: string | null | undefined;
4079
+ } | null | undefined;
4080
+ logoAssetId?: string | null | undefined;
4081
+ welcomeMessage?: string | null | undefined;
4082
+ updatedAt?: string | null | undefined;
4083
+ }, {
4084
+ primaryColor?: string | null | undefined;
4085
+ accentColor?: string | null | undefined;
4086
+ backgroundColor?: string | null | undefined;
4087
+ theme?: {
4088
+ documentBackgroundColor?: string | null | undefined;
4089
+ screenBackgroundColor?: string | null | undefined;
4090
+ surfaceColor?: string | null | undefined;
4091
+ mutedSurfaceColor?: string | null | undefined;
4092
+ softSurfaceColor?: string | null | undefined;
4093
+ textColor?: string | null | undefined;
4094
+ greenColor?: string | null | undefined;
4095
+ lavenderColor?: string | null | undefined;
4096
+ yellowColor?: string | null | undefined;
4097
+ pinkColor?: string | null | undefined;
4098
+ deepGreenColor?: string | null | undefined;
4099
+ blueColor?: string | null | undefined;
4100
+ } | null | undefined;
4101
+ logoAssetId?: string | null | undefined;
4102
+ welcomeMessage?: string | null | undefined;
4103
+ updatedAt?: string | null | undefined;
4104
+ }>>;
4105
+ familyUserId: z.ZodString;
4106
+ title: z.ZodString;
4107
+ sections: z.ZodArray<z.ZodObject<{
4108
+ id: z.ZodString;
4109
+ title: z.ZodString;
4110
+ blocks: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4111
+ id: z.ZodString;
4112
+ type: z.ZodEnum<["paragraph", "bullet"]>;
4113
+ text: z.ZodString;
4114
+ }, "strip", z.ZodTypeAny, {
4115
+ type: "paragraph" | "bullet";
4116
+ id: string;
4117
+ text: string;
4118
+ }, {
4119
+ type: "paragraph" | "bullet";
4120
+ id: string;
4121
+ text: string;
4122
+ }>, z.ZodObject<{
4123
+ id: z.ZodString;
4124
+ type: z.ZodLiteral<"image">;
4125
+ assetId: z.ZodString;
4126
+ fileName: z.ZodString;
4127
+ contentType: z.ZodString;
4128
+ uploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4129
+ altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4130
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4131
+ }, "strip", z.ZodTypeAny, {
4132
+ type: "image";
4133
+ id: string;
4134
+ assetId: string;
4135
+ fileName: string;
4136
+ contentType: string;
4137
+ uploadedAt?: string | null | undefined;
4138
+ altText?: string | null | undefined;
4139
+ caption?: string | null | undefined;
4140
+ }, {
4141
+ type: "image";
4142
+ id: string;
4143
+ assetId: string;
4144
+ fileName: string;
4145
+ contentType: string;
4146
+ uploadedAt?: string | null | undefined;
4147
+ altText?: string | null | undefined;
4148
+ caption?: string | null | undefined;
4149
+ }>]>, "many">>;
4150
+ }, "strip", z.ZodTypeAny, {
4151
+ id: string;
4152
+ title: string;
4153
+ blocks: ({
4154
+ type: "paragraph" | "bullet";
4155
+ id: string;
4156
+ text: string;
4157
+ } | {
4158
+ type: "image";
4159
+ id: string;
4160
+ assetId: string;
4161
+ fileName: string;
4162
+ contentType: string;
4163
+ uploadedAt?: string | null | undefined;
4164
+ altText?: string | null | undefined;
4165
+ caption?: string | null | undefined;
4166
+ })[];
4167
+ }, {
4168
+ id: string;
4169
+ title: string;
4170
+ blocks?: ({
4171
+ type: "paragraph" | "bullet";
4172
+ id: string;
4173
+ text: string;
4174
+ } | {
4175
+ type: "image";
4176
+ id: string;
4177
+ assetId: string;
4178
+ fileName: string;
4179
+ contentType: string;
4180
+ uploadedAt?: string | null | undefined;
4181
+ altText?: string | null | undefined;
4182
+ caption?: string | null | undefined;
4183
+ })[] | undefined;
4184
+ }>, "many">;
4185
+ status: z.ZodEnum<["draft", "published", "archived"]>;
4186
+ version: z.ZodDefault<z.ZodNumber>;
4187
+ pdfAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4188
+ pdfFileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4189
+ pdfContentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4190
+ pdfUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4191
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4192
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4193
+ createdAt: z.ZodString;
4194
+ updatedAt: z.ZodString;
4195
+ }, "strip", z.ZodTypeAny, {
4196
+ status: "archived" | "draft" | "published";
4197
+ id: string;
4198
+ createdAt: string;
4199
+ updatedAt: string;
4200
+ organizationId: string;
4201
+ coachUserId: string;
4202
+ familyUserId: string;
4203
+ title: string;
4204
+ version: number;
4205
+ sections: {
4206
+ id: string;
4207
+ title: string;
4208
+ blocks: ({
4209
+ type: "paragraph" | "bullet";
4210
+ id: string;
4211
+ text: string;
4212
+ } | {
4213
+ type: "image";
4214
+ id: string;
4215
+ assetId: string;
4216
+ fileName: string;
4217
+ contentType: string;
4218
+ uploadedAt?: string | null | undefined;
4219
+ altText?: string | null | undefined;
4220
+ caption?: string | null | undefined;
4221
+ })[];
4222
+ }[];
4223
+ archivedAt?: string | null | undefined;
4224
+ coachName?: string | null | undefined;
4225
+ organizationName?: string | null | undefined;
4226
+ organizationBranding?: {
4227
+ primaryColor?: string | null | undefined;
4228
+ accentColor?: string | null | undefined;
4229
+ backgroundColor?: string | null | undefined;
4230
+ theme?: {
4231
+ documentBackgroundColor?: string | null | undefined;
4232
+ screenBackgroundColor?: string | null | undefined;
4233
+ surfaceColor?: string | null | undefined;
4234
+ mutedSurfaceColor?: string | null | undefined;
4235
+ softSurfaceColor?: string | null | undefined;
4236
+ textColor?: string | null | undefined;
4237
+ greenColor?: string | null | undefined;
4238
+ lavenderColor?: string | null | undefined;
4239
+ yellowColor?: string | null | undefined;
4240
+ pinkColor?: string | null | undefined;
4241
+ deepGreenColor?: string | null | undefined;
4242
+ blueColor?: string | null | undefined;
4243
+ } | null | undefined;
4244
+ logoAssetId?: string | null | undefined;
4245
+ welcomeMessage?: string | null | undefined;
4246
+ updatedAt?: string | null | undefined;
4247
+ } | undefined;
4248
+ pdfAssetId?: string | null | undefined;
4249
+ pdfFileName?: string | null | undefined;
4250
+ pdfContentType?: string | null | undefined;
4251
+ pdfUploadedAt?: string | null | undefined;
4252
+ publishedAt?: string | null | undefined;
4253
+ }, {
4254
+ status: "archived" | "draft" | "published";
4255
+ id: string;
4256
+ createdAt: string;
4257
+ updatedAt: string;
4258
+ organizationId: string;
4259
+ coachUserId: string;
4260
+ familyUserId: string;
4261
+ title: string;
4262
+ sections: {
4263
+ id: string;
4264
+ title: string;
4265
+ blocks?: ({
4266
+ type: "paragraph" | "bullet";
4267
+ id: string;
4268
+ text: string;
4269
+ } | {
4270
+ type: "image";
4271
+ id: string;
4272
+ assetId: string;
4273
+ fileName: string;
4274
+ contentType: string;
4275
+ uploadedAt?: string | null | undefined;
4276
+ altText?: string | null | undefined;
4277
+ caption?: string | null | undefined;
4278
+ })[] | undefined;
4279
+ }[];
4280
+ archivedAt?: string | null | undefined;
4281
+ version?: number | undefined;
4282
+ coachName?: string | null | undefined;
4283
+ organizationName?: string | null | undefined;
4284
+ organizationBranding?: {
4285
+ primaryColor?: string | null | undefined;
4286
+ accentColor?: string | null | undefined;
4287
+ backgroundColor?: string | null | undefined;
4288
+ theme?: {
4289
+ documentBackgroundColor?: string | null | undefined;
4290
+ screenBackgroundColor?: string | null | undefined;
4291
+ surfaceColor?: string | null | undefined;
4292
+ mutedSurfaceColor?: string | null | undefined;
4293
+ softSurfaceColor?: string | null | undefined;
4294
+ textColor?: string | null | undefined;
4295
+ greenColor?: string | null | undefined;
4296
+ lavenderColor?: string | null | undefined;
4297
+ yellowColor?: string | null | undefined;
4298
+ pinkColor?: string | null | undefined;
4299
+ deepGreenColor?: string | null | undefined;
4300
+ blueColor?: string | null | undefined;
4301
+ } | null | undefined;
4302
+ logoAssetId?: string | null | undefined;
4303
+ welcomeMessage?: string | null | undefined;
4304
+ updatedAt?: string | null | undefined;
4305
+ } | undefined;
4306
+ pdfAssetId?: string | null | undefined;
4307
+ pdfFileName?: string | null | undefined;
4308
+ pdfContentType?: string | null | undefined;
4309
+ pdfUploadedAt?: string | null | undefined;
4310
+ publishedAt?: string | null | undefined;
4311
+ }>, "many">;
4312
+ }, "strip", z.ZodTypeAny, {
4313
+ sleepPlans: {
4314
+ status: "archived" | "draft" | "published";
4315
+ id: string;
4316
+ createdAt: string;
4317
+ updatedAt: string;
4318
+ organizationId: string;
4319
+ coachUserId: string;
4320
+ familyUserId: string;
4321
+ title: string;
4322
+ version: number;
4323
+ sections: {
4324
+ id: string;
4325
+ title: string;
4326
+ blocks: ({
4327
+ type: "paragraph" | "bullet";
4328
+ id: string;
4329
+ text: string;
4330
+ } | {
4331
+ type: "image";
4332
+ id: string;
4333
+ assetId: string;
4334
+ fileName: string;
4335
+ contentType: string;
4336
+ uploadedAt?: string | null | undefined;
4337
+ altText?: string | null | undefined;
4338
+ caption?: string | null | undefined;
4339
+ })[];
4340
+ }[];
4341
+ archivedAt?: string | null | undefined;
4342
+ coachName?: string | null | undefined;
4343
+ organizationName?: string | null | undefined;
4344
+ organizationBranding?: {
4345
+ primaryColor?: string | null | undefined;
4346
+ accentColor?: string | null | undefined;
4347
+ backgroundColor?: string | null | undefined;
4348
+ theme?: {
4349
+ documentBackgroundColor?: string | null | undefined;
4350
+ screenBackgroundColor?: string | null | undefined;
4351
+ surfaceColor?: string | null | undefined;
4352
+ mutedSurfaceColor?: string | null | undefined;
4353
+ softSurfaceColor?: string | null | undefined;
4354
+ textColor?: string | null | undefined;
4355
+ greenColor?: string | null | undefined;
4356
+ lavenderColor?: string | null | undefined;
4357
+ yellowColor?: string | null | undefined;
4358
+ pinkColor?: string | null | undefined;
4359
+ deepGreenColor?: string | null | undefined;
4360
+ blueColor?: string | null | undefined;
4361
+ } | null | undefined;
4362
+ logoAssetId?: string | null | undefined;
4363
+ welcomeMessage?: string | null | undefined;
4364
+ updatedAt?: string | null | undefined;
4365
+ } | undefined;
4366
+ pdfAssetId?: string | null | undefined;
4367
+ pdfFileName?: string | null | undefined;
4368
+ pdfContentType?: string | null | undefined;
4369
+ pdfUploadedAt?: string | null | undefined;
4370
+ publishedAt?: string | null | undefined;
4371
+ }[];
4372
+ }, {
4373
+ sleepPlans: {
4374
+ status: "archived" | "draft" | "published";
4375
+ id: string;
4376
+ createdAt: string;
4377
+ updatedAt: string;
4378
+ organizationId: string;
4379
+ coachUserId: string;
4380
+ familyUserId: string;
4381
+ title: string;
4382
+ sections: {
4383
+ id: string;
4384
+ title: string;
4385
+ blocks?: ({
4386
+ type: "paragraph" | "bullet";
4387
+ id: string;
4388
+ text: string;
4389
+ } | {
4390
+ type: "image";
4391
+ id: string;
4392
+ assetId: string;
4393
+ fileName: string;
4394
+ contentType: string;
4395
+ uploadedAt?: string | null | undefined;
4396
+ altText?: string | null | undefined;
4397
+ caption?: string | null | undefined;
4398
+ })[] | undefined;
4399
+ }[];
4400
+ archivedAt?: string | null | undefined;
4401
+ version?: number | undefined;
4402
+ coachName?: string | null | undefined;
4403
+ organizationName?: string | null | undefined;
4404
+ organizationBranding?: {
4405
+ primaryColor?: string | null | undefined;
4406
+ accentColor?: string | null | undefined;
4407
+ backgroundColor?: string | null | undefined;
4408
+ theme?: {
4409
+ documentBackgroundColor?: string | null | undefined;
4410
+ screenBackgroundColor?: string | null | undefined;
4411
+ surfaceColor?: string | null | undefined;
4412
+ mutedSurfaceColor?: string | null | undefined;
4413
+ softSurfaceColor?: string | null | undefined;
4414
+ textColor?: string | null | undefined;
4415
+ greenColor?: string | null | undefined;
4416
+ lavenderColor?: string | null | undefined;
4417
+ yellowColor?: string | null | undefined;
4418
+ pinkColor?: string | null | undefined;
4419
+ deepGreenColor?: string | null | undefined;
4420
+ blueColor?: string | null | undefined;
4421
+ } | null | undefined;
4422
+ logoAssetId?: string | null | undefined;
4423
+ welcomeMessage?: string | null | undefined;
4424
+ updatedAt?: string | null | undefined;
4425
+ } | undefined;
4426
+ pdfAssetId?: string | null | undefined;
4427
+ pdfFileName?: string | null | undefined;
4428
+ pdfContentType?: string | null | undefined;
4429
+ pdfUploadedAt?: string | null | undefined;
4430
+ publishedAt?: string | null | undefined;
4431
+ }[];
4432
+ }>;
4433
+ export type FamilySleepPlansResponse = z.infer<typeof familySleepPlansResponseSchema>;