@nikthegeek/dreamsforlittles-shared 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin.d.ts +293 -0
- package/dist/admin.js +11 -1
- package/dist/admin.js.map +1 -1
- package/dist/analysis.d.ts +2 -152
- package/dist/api.d.ts +5 -5
- package/dist/client-notices.d.ts +77 -77
- package/dist/coach-activity-notifications.js +1 -4
- package/dist/coach-activity-notifications.js.map +1 -1
- package/dist/coach-activity-notifications.test.js +0 -17
- package/dist/coach-activity-notifications.test.js.map +1 -1
- package/dist/coach-growth.d.ts +12 -12
- package/dist/coach.d.ts +197 -2597
- package/dist/errors.d.ts +10 -4
- package/dist/errors.js +18 -0
- package/dist/errors.js.map +1 -1
- package/dist/family-growth.d.ts +24 -24
- package/dist/family-profile-artifacts.d.ts +182 -71
- package/dist/family-profile-artifacts.js +4 -1
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family.d.ts +82 -3700
- package/dist/family.js +16 -137
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +0 -70
- package/dist/family.test.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/questionnaire-imports.d.ts +430 -0
- package/dist/questionnaire-imports.js +67 -0
- package/dist/questionnaire-imports.js.map +1 -0
- package/dist/questionnaire-imports.test.d.ts +1 -0
- package/dist/questionnaire-imports.test.js +112 -0
- package/dist/questionnaire-imports.test.js.map +1 -0
- package/dist/questionnaire-photos.d.ts +370 -0
- package/dist/questionnaire-photos.js +65 -0
- package/dist/questionnaire-photos.js.map +1 -0
- package/dist/questionnaire-photos.test.d.ts +1 -0
- package/dist/questionnaire-photos.test.js +78 -0
- package/dist/questionnaire-photos.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const questionnaireQuestionTypeSchema: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
2
|
+
export declare const questionnaireQuestionTypeSchema: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
3
3
|
export type QuestionnaireQuestionType = z.infer<typeof questionnaireQuestionTypeSchema>;
|
|
4
4
|
export declare const questionnaireChoiceSchema: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
@@ -21,7 +21,7 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
|
|
|
21
21
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
label: z.ZodString;
|
|
23
23
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
24
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
25
25
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
26
26
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
27
27
|
id: z.ZodString;
|
|
@@ -43,7 +43,7 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
|
|
|
43
43
|
label: string;
|
|
44
44
|
allowFreeText?: boolean | undefined;
|
|
45
45
|
}[];
|
|
46
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
46
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
47
47
|
id: string;
|
|
48
48
|
label: string;
|
|
49
49
|
required: boolean;
|
|
@@ -52,7 +52,7 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
|
|
|
52
52
|
helpText?: string | null | undefined;
|
|
53
53
|
sectionDescription?: string | null | undefined;
|
|
54
54
|
}, {
|
|
55
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
55
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
56
56
|
id: string;
|
|
57
57
|
label: string;
|
|
58
58
|
section: string;
|
|
@@ -87,6 +87,15 @@ export declare const questionnaireAnswerValueSchema: z.ZodUnion<[z.ZodString, z.
|
|
|
87
87
|
}, {
|
|
88
88
|
selected: string | string[];
|
|
89
89
|
freeText?: Record<string, string> | undefined;
|
|
90
|
+
}>, z.ZodObject<{
|
|
91
|
+
kind: z.ZodLiteral<"photo">;
|
|
92
|
+
attachmentId: z.ZodString;
|
|
93
|
+
}, "strict", z.ZodTypeAny, {
|
|
94
|
+
kind: "photo";
|
|
95
|
+
attachmentId: string;
|
|
96
|
+
}, {
|
|
97
|
+
kind: "photo";
|
|
98
|
+
attachmentId: string;
|
|
90
99
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>;
|
|
91
100
|
export type QuestionnaireAnswerValue = z.infer<typeof questionnaireAnswerValueSchema>;
|
|
92
101
|
export declare const questionnaireAnswersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
@@ -98,6 +107,15 @@ export declare const questionnaireAnswersSchema: z.ZodRecord<z.ZodString, z.ZodU
|
|
|
98
107
|
}, {
|
|
99
108
|
selected: string | string[];
|
|
100
109
|
freeText?: Record<string, string> | undefined;
|
|
110
|
+
}>, z.ZodObject<{
|
|
111
|
+
kind: z.ZodLiteral<"photo">;
|
|
112
|
+
attachmentId: z.ZodString;
|
|
113
|
+
}, "strict", z.ZodTypeAny, {
|
|
114
|
+
kind: "photo";
|
|
115
|
+
attachmentId: string;
|
|
116
|
+
}, {
|
|
117
|
+
kind: "photo";
|
|
118
|
+
attachmentId: string;
|
|
101
119
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
|
|
102
120
|
export type QuestionnaireAnswers = z.infer<typeof questionnaireAnswersSchema>;
|
|
103
121
|
export declare const familyQuestionnaireStatusSchema: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
|
|
@@ -115,7 +133,7 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
|
|
|
115
133
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
134
|
label: z.ZodString;
|
|
117
135
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
136
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
119
137
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
120
138
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
121
139
|
id: z.ZodString;
|
|
@@ -137,7 +155,7 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
|
|
|
137
155
|
label: string;
|
|
138
156
|
allowFreeText?: boolean | undefined;
|
|
139
157
|
}[];
|
|
140
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
158
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
141
159
|
id: string;
|
|
142
160
|
label: string;
|
|
143
161
|
required: boolean;
|
|
@@ -146,7 +164,7 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
|
|
|
146
164
|
helpText?: string | null | undefined;
|
|
147
165
|
sectionDescription?: string | null | undefined;
|
|
148
166
|
}, {
|
|
149
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
167
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
150
168
|
id: string;
|
|
151
169
|
label: string;
|
|
152
170
|
section: string;
|
|
@@ -179,7 +197,7 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
|
|
|
179
197
|
label: string;
|
|
180
198
|
allowFreeText?: boolean | undefined;
|
|
181
199
|
}[];
|
|
182
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
200
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
183
201
|
id: string;
|
|
184
202
|
label: string;
|
|
185
203
|
required: boolean;
|
|
@@ -201,7 +219,7 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
|
|
|
201
219
|
coachUserId: string;
|
|
202
220
|
title: string;
|
|
203
221
|
questions: {
|
|
204
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
222
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
205
223
|
id: string;
|
|
206
224
|
label: string;
|
|
207
225
|
section: string;
|
|
@@ -231,7 +249,7 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
|
|
|
231
249
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
250
|
label: z.ZodString;
|
|
233
251
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
252
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
235
253
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
236
254
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
237
255
|
id: z.ZodString;
|
|
@@ -253,7 +271,7 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
|
|
|
253
271
|
label: string;
|
|
254
272
|
allowFreeText?: boolean | undefined;
|
|
255
273
|
}[];
|
|
256
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
274
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
257
275
|
id: string;
|
|
258
276
|
label: string;
|
|
259
277
|
required: boolean;
|
|
@@ -262,7 +280,7 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
|
|
|
262
280
|
helpText?: string | null | undefined;
|
|
263
281
|
sectionDescription?: string | null | undefined;
|
|
264
282
|
}, {
|
|
265
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
283
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
266
284
|
id: string;
|
|
267
285
|
label: string;
|
|
268
286
|
section: string;
|
|
@@ -284,7 +302,7 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
|
|
|
284
302
|
label: string;
|
|
285
303
|
allowFreeText?: boolean | undefined;
|
|
286
304
|
}[];
|
|
287
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
305
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
288
306
|
id: string;
|
|
289
307
|
label: string;
|
|
290
308
|
required: boolean;
|
|
@@ -298,7 +316,7 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
|
|
|
298
316
|
}, {
|
|
299
317
|
title: string;
|
|
300
318
|
questions: {
|
|
301
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
319
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
302
320
|
id: string;
|
|
303
321
|
label: string;
|
|
304
322
|
section: string;
|
|
@@ -326,7 +344,7 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
|
|
|
326
344
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
345
|
label: z.ZodString;
|
|
328
346
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
347
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
330
348
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
331
349
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
332
350
|
id: z.ZodString;
|
|
@@ -348,7 +366,7 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
|
|
|
348
366
|
label: string;
|
|
349
367
|
allowFreeText?: boolean | undefined;
|
|
350
368
|
}[];
|
|
351
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
369
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
352
370
|
id: string;
|
|
353
371
|
label: string;
|
|
354
372
|
required: boolean;
|
|
@@ -357,7 +375,7 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
|
|
|
357
375
|
helpText?: string | null | undefined;
|
|
358
376
|
sectionDescription?: string | null | undefined;
|
|
359
377
|
}, {
|
|
360
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
378
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
361
379
|
id: string;
|
|
362
380
|
label: string;
|
|
363
381
|
section: string;
|
|
@@ -380,7 +398,7 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
|
|
|
380
398
|
label: string;
|
|
381
399
|
allowFreeText?: boolean | undefined;
|
|
382
400
|
}[];
|
|
383
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
401
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
384
402
|
id: string;
|
|
385
403
|
label: string;
|
|
386
404
|
required: boolean;
|
|
@@ -394,7 +412,7 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
|
|
|
394
412
|
name: string;
|
|
395
413
|
title: string;
|
|
396
414
|
questions: {
|
|
397
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
415
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
398
416
|
id: string;
|
|
399
417
|
label: string;
|
|
400
418
|
section: string;
|
|
@@ -421,7 +439,7 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
|
|
|
421
439
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
440
|
label: z.ZodString;
|
|
423
441
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
442
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
425
443
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
426
444
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
427
445
|
id: z.ZodString;
|
|
@@ -443,7 +461,7 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
|
|
|
443
461
|
label: string;
|
|
444
462
|
allowFreeText?: boolean | undefined;
|
|
445
463
|
}[];
|
|
446
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
464
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
447
465
|
id: string;
|
|
448
466
|
label: string;
|
|
449
467
|
required: boolean;
|
|
@@ -452,7 +470,7 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
|
|
|
452
470
|
helpText?: string | null | undefined;
|
|
453
471
|
sectionDescription?: string | null | undefined;
|
|
454
472
|
}, {
|
|
455
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
473
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
456
474
|
id: string;
|
|
457
475
|
label: string;
|
|
458
476
|
section: string;
|
|
@@ -478,7 +496,7 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
|
|
|
478
496
|
label: string;
|
|
479
497
|
allowFreeText?: boolean | undefined;
|
|
480
498
|
}[];
|
|
481
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
499
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
482
500
|
id: string;
|
|
483
501
|
label: string;
|
|
484
502
|
required: boolean;
|
|
@@ -493,7 +511,7 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
|
|
|
493
511
|
title?: string | undefined;
|
|
494
512
|
description?: string | null | undefined;
|
|
495
513
|
questions?: {
|
|
496
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
514
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
497
515
|
id: string;
|
|
498
516
|
label: string;
|
|
499
517
|
section: string;
|
|
@@ -523,7 +541,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
523
541
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
542
|
label: z.ZodString;
|
|
525
543
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
544
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
527
545
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
528
546
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
529
547
|
id: z.ZodString;
|
|
@@ -545,7 +563,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
545
563
|
label: string;
|
|
546
564
|
allowFreeText?: boolean | undefined;
|
|
547
565
|
}[];
|
|
548
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
566
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
549
567
|
id: string;
|
|
550
568
|
label: string;
|
|
551
569
|
required: boolean;
|
|
@@ -554,7 +572,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
554
572
|
helpText?: string | null | undefined;
|
|
555
573
|
sectionDescription?: string | null | undefined;
|
|
556
574
|
}, {
|
|
557
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
575
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
558
576
|
id: string;
|
|
559
577
|
label: string;
|
|
560
578
|
section: string;
|
|
@@ -587,7 +605,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
587
605
|
label: string;
|
|
588
606
|
allowFreeText?: boolean | undefined;
|
|
589
607
|
}[];
|
|
590
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
608
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
591
609
|
id: string;
|
|
592
610
|
label: string;
|
|
593
611
|
required: boolean;
|
|
@@ -609,7 +627,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
609
627
|
coachUserId: string;
|
|
610
628
|
title: string;
|
|
611
629
|
questions: {
|
|
612
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
630
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
613
631
|
id: string;
|
|
614
632
|
label: string;
|
|
615
633
|
section: string;
|
|
@@ -643,7 +661,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
643
661
|
label: string;
|
|
644
662
|
allowFreeText?: boolean | undefined;
|
|
645
663
|
}[];
|
|
646
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
664
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
647
665
|
id: string;
|
|
648
666
|
label: string;
|
|
649
667
|
required: boolean;
|
|
@@ -667,7 +685,7 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
|
|
|
667
685
|
coachUserId: string;
|
|
668
686
|
title: string;
|
|
669
687
|
questions: {
|
|
670
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
688
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
671
689
|
id: string;
|
|
672
690
|
label: string;
|
|
673
691
|
section: string;
|
|
@@ -702,7 +720,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
702
720
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
703
721
|
label: z.ZodString;
|
|
704
722
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
705
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
723
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
706
724
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
707
725
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
708
726
|
id: z.ZodString;
|
|
@@ -724,7 +742,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
724
742
|
label: string;
|
|
725
743
|
allowFreeText?: boolean | undefined;
|
|
726
744
|
}[];
|
|
727
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
745
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
728
746
|
id: string;
|
|
729
747
|
label: string;
|
|
730
748
|
required: boolean;
|
|
@@ -733,7 +751,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
733
751
|
helpText?: string | null | undefined;
|
|
734
752
|
sectionDescription?: string | null | undefined;
|
|
735
753
|
}, {
|
|
736
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
754
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
737
755
|
id: string;
|
|
738
756
|
label: string;
|
|
739
757
|
section: string;
|
|
@@ -766,7 +784,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
766
784
|
label: string;
|
|
767
785
|
allowFreeText?: boolean | undefined;
|
|
768
786
|
}[];
|
|
769
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
787
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
770
788
|
id: string;
|
|
771
789
|
label: string;
|
|
772
790
|
required: boolean;
|
|
@@ -788,7 +806,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
788
806
|
coachUserId: string;
|
|
789
807
|
title: string;
|
|
790
808
|
questions: {
|
|
791
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
809
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
792
810
|
id: string;
|
|
793
811
|
label: string;
|
|
794
812
|
section: string;
|
|
@@ -822,7 +840,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
822
840
|
label: string;
|
|
823
841
|
allowFreeText?: boolean | undefined;
|
|
824
842
|
}[];
|
|
825
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
843
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
826
844
|
id: string;
|
|
827
845
|
label: string;
|
|
828
846
|
required: boolean;
|
|
@@ -846,7 +864,7 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
|
|
|
846
864
|
coachUserId: string;
|
|
847
865
|
title: string;
|
|
848
866
|
questions: {
|
|
849
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
867
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
850
868
|
id: string;
|
|
851
869
|
label: string;
|
|
852
870
|
section: string;
|
|
@@ -882,7 +900,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
882
900
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
883
901
|
label: z.ZodString;
|
|
884
902
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
885
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
903
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
886
904
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
887
905
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
888
906
|
id: z.ZodString;
|
|
@@ -904,7 +922,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
904
922
|
label: string;
|
|
905
923
|
allowFreeText?: boolean | undefined;
|
|
906
924
|
}[];
|
|
907
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
925
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
908
926
|
id: string;
|
|
909
927
|
label: string;
|
|
910
928
|
required: boolean;
|
|
@@ -913,7 +931,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
913
931
|
helpText?: string | null | undefined;
|
|
914
932
|
sectionDescription?: string | null | undefined;
|
|
915
933
|
}, {
|
|
916
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
934
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
917
935
|
id: string;
|
|
918
936
|
label: string;
|
|
919
937
|
section: string;
|
|
@@ -946,7 +964,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
946
964
|
label: string;
|
|
947
965
|
allowFreeText?: boolean | undefined;
|
|
948
966
|
}[];
|
|
949
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
967
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
950
968
|
id: string;
|
|
951
969
|
label: string;
|
|
952
970
|
required: boolean;
|
|
@@ -968,7 +986,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
968
986
|
coachUserId: string;
|
|
969
987
|
title: string;
|
|
970
988
|
questions: {
|
|
971
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
989
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
972
990
|
id: string;
|
|
973
991
|
label: string;
|
|
974
992
|
section: string;
|
|
@@ -1006,7 +1024,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
1006
1024
|
label: string;
|
|
1007
1025
|
allowFreeText?: boolean | undefined;
|
|
1008
1026
|
}[];
|
|
1009
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1027
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1010
1028
|
id: string;
|
|
1011
1029
|
label: string;
|
|
1012
1030
|
required: boolean;
|
|
@@ -1033,7 +1051,7 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
|
|
|
1033
1051
|
coachUserId: string;
|
|
1034
1052
|
title: string;
|
|
1035
1053
|
questions: {
|
|
1036
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1054
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1037
1055
|
id: string;
|
|
1038
1056
|
label: string;
|
|
1039
1057
|
section: string;
|
|
@@ -1259,7 +1277,7 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1259
1277
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1260
1278
|
label: z.ZodString;
|
|
1261
1279
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1262
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
1280
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
1263
1281
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1264
1282
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1265
1283
|
id: z.ZodString;
|
|
@@ -1281,7 +1299,7 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1281
1299
|
label: string;
|
|
1282
1300
|
allowFreeText?: boolean | undefined;
|
|
1283
1301
|
}[];
|
|
1284
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1302
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1285
1303
|
id: string;
|
|
1286
1304
|
label: string;
|
|
1287
1305
|
required: boolean;
|
|
@@ -1290,7 +1308,7 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1290
1308
|
helpText?: string | null | undefined;
|
|
1291
1309
|
sectionDescription?: string | null | undefined;
|
|
1292
1310
|
}, {
|
|
1293
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1311
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1294
1312
|
id: string;
|
|
1295
1313
|
label: string;
|
|
1296
1314
|
section: string;
|
|
@@ -1313,6 +1331,15 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1313
1331
|
}, {
|
|
1314
1332
|
selected: string | string[];
|
|
1315
1333
|
freeText?: Record<string, string> | undefined;
|
|
1334
|
+
}>, z.ZodObject<{
|
|
1335
|
+
kind: z.ZodLiteral<"photo">;
|
|
1336
|
+
attachmentId: z.ZodString;
|
|
1337
|
+
}, "strict", z.ZodTypeAny, {
|
|
1338
|
+
kind: "photo";
|
|
1339
|
+
attachmentId: string;
|
|
1340
|
+
}, {
|
|
1341
|
+
kind: "photo";
|
|
1342
|
+
attachmentId: string;
|
|
1316
1343
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
|
|
1317
1344
|
status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
|
|
1318
1345
|
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1333,7 +1360,7 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1333
1360
|
label: string;
|
|
1334
1361
|
allowFreeText?: boolean | undefined;
|
|
1335
1362
|
}[];
|
|
1336
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1363
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1337
1364
|
id: string;
|
|
1338
1365
|
label: string;
|
|
1339
1366
|
required: boolean;
|
|
@@ -1345,6 +1372,9 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1345
1372
|
answers: Record<string, string | number | boolean | string[] | {
|
|
1346
1373
|
selected: string | string[];
|
|
1347
1374
|
freeText?: Record<string, string> | undefined;
|
|
1375
|
+
} | {
|
|
1376
|
+
kind: "photo";
|
|
1377
|
+
attachmentId: string;
|
|
1348
1378
|
} | null>;
|
|
1349
1379
|
babyId?: string | null | undefined;
|
|
1350
1380
|
organizationName?: string | null | undefined;
|
|
@@ -1398,7 +1428,7 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1398
1428
|
familyUserId: string;
|
|
1399
1429
|
title: string;
|
|
1400
1430
|
questions: {
|
|
1401
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1431
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1402
1432
|
id: string;
|
|
1403
1433
|
label: string;
|
|
1404
1434
|
section: string;
|
|
@@ -1415,6 +1445,9 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
|
|
|
1415
1445
|
answers: Record<string, string | number | boolean | string[] | {
|
|
1416
1446
|
selected: string | string[];
|
|
1417
1447
|
freeText?: Record<string, string> | undefined;
|
|
1448
|
+
} | {
|
|
1449
|
+
kind: "photo";
|
|
1450
|
+
attachmentId: string;
|
|
1418
1451
|
} | null>;
|
|
1419
1452
|
babyId?: string | null | undefined;
|
|
1420
1453
|
organizationName?: string | null | undefined;
|
|
@@ -1644,7 +1677,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1644
1677
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1645
1678
|
label: z.ZodString;
|
|
1646
1679
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1647
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
1680
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
1648
1681
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1649
1682
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1650
1683
|
id: z.ZodString;
|
|
@@ -1666,7 +1699,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1666
1699
|
label: string;
|
|
1667
1700
|
allowFreeText?: boolean | undefined;
|
|
1668
1701
|
}[];
|
|
1669
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1702
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1670
1703
|
id: string;
|
|
1671
1704
|
label: string;
|
|
1672
1705
|
required: boolean;
|
|
@@ -1675,7 +1708,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1675
1708
|
helpText?: string | null | undefined;
|
|
1676
1709
|
sectionDescription?: string | null | undefined;
|
|
1677
1710
|
}, {
|
|
1678
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1711
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1679
1712
|
id: string;
|
|
1680
1713
|
label: string;
|
|
1681
1714
|
section: string;
|
|
@@ -1698,6 +1731,15 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1698
1731
|
}, {
|
|
1699
1732
|
selected: string | string[];
|
|
1700
1733
|
freeText?: Record<string, string> | undefined;
|
|
1734
|
+
}>, z.ZodObject<{
|
|
1735
|
+
kind: z.ZodLiteral<"photo">;
|
|
1736
|
+
attachmentId: z.ZodString;
|
|
1737
|
+
}, "strict", z.ZodTypeAny, {
|
|
1738
|
+
kind: "photo";
|
|
1739
|
+
attachmentId: string;
|
|
1740
|
+
}, {
|
|
1741
|
+
kind: "photo";
|
|
1742
|
+
attachmentId: string;
|
|
1701
1743
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
|
|
1702
1744
|
status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
|
|
1703
1745
|
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1718,7 +1760,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1718
1760
|
label: string;
|
|
1719
1761
|
allowFreeText?: boolean | undefined;
|
|
1720
1762
|
}[];
|
|
1721
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1763
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1722
1764
|
id: string;
|
|
1723
1765
|
label: string;
|
|
1724
1766
|
required: boolean;
|
|
@@ -1730,6 +1772,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1730
1772
|
answers: Record<string, string | number | boolean | string[] | {
|
|
1731
1773
|
selected: string | string[];
|
|
1732
1774
|
freeText?: Record<string, string> | undefined;
|
|
1775
|
+
} | {
|
|
1776
|
+
kind: "photo";
|
|
1777
|
+
attachmentId: string;
|
|
1733
1778
|
} | null>;
|
|
1734
1779
|
babyId?: string | null | undefined;
|
|
1735
1780
|
organizationName?: string | null | undefined;
|
|
@@ -1783,7 +1828,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1783
1828
|
familyUserId: string;
|
|
1784
1829
|
title: string;
|
|
1785
1830
|
questions: {
|
|
1786
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1831
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1787
1832
|
id: string;
|
|
1788
1833
|
label: string;
|
|
1789
1834
|
section: string;
|
|
@@ -1800,6 +1845,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1800
1845
|
answers: Record<string, string | number | boolean | string[] | {
|
|
1801
1846
|
selected: string | string[];
|
|
1802
1847
|
freeText?: Record<string, string> | undefined;
|
|
1848
|
+
} | {
|
|
1849
|
+
kind: "photo";
|
|
1850
|
+
attachmentId: string;
|
|
1803
1851
|
} | null>;
|
|
1804
1852
|
babyId?: string | null | undefined;
|
|
1805
1853
|
organizationName?: string | null | undefined;
|
|
@@ -1860,7 +1908,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1860
1908
|
label: string;
|
|
1861
1909
|
allowFreeText?: boolean | undefined;
|
|
1862
1910
|
}[];
|
|
1863
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1911
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1864
1912
|
id: string;
|
|
1865
1913
|
label: string;
|
|
1866
1914
|
required: boolean;
|
|
@@ -1872,6 +1920,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1872
1920
|
answers: Record<string, string | number | boolean | string[] | {
|
|
1873
1921
|
selected: string | string[];
|
|
1874
1922
|
freeText?: Record<string, string> | undefined;
|
|
1923
|
+
} | {
|
|
1924
|
+
kind: "photo";
|
|
1925
|
+
attachmentId: string;
|
|
1875
1926
|
} | null>;
|
|
1876
1927
|
babyId?: string | null | undefined;
|
|
1877
1928
|
organizationName?: string | null | undefined;
|
|
@@ -1927,7 +1978,7 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1927
1978
|
familyUserId: string;
|
|
1928
1979
|
title: string;
|
|
1929
1980
|
questions: {
|
|
1930
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
1981
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
1931
1982
|
id: string;
|
|
1932
1983
|
label: string;
|
|
1933
1984
|
section: string;
|
|
@@ -1944,6 +1995,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
|
|
|
1944
1995
|
answers: Record<string, string | number | boolean | string[] | {
|
|
1945
1996
|
selected: string | string[];
|
|
1946
1997
|
freeText?: Record<string, string> | undefined;
|
|
1998
|
+
} | {
|
|
1999
|
+
kind: "photo";
|
|
2000
|
+
attachmentId: string;
|
|
1947
2001
|
} | null>;
|
|
1948
2002
|
babyId?: string | null | undefined;
|
|
1949
2003
|
organizationName?: string | null | undefined;
|
|
@@ -2174,7 +2228,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2174
2228
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2175
2229
|
label: z.ZodString;
|
|
2176
2230
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2177
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
2231
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
2178
2232
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2179
2233
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2180
2234
|
id: z.ZodString;
|
|
@@ -2196,7 +2250,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2196
2250
|
label: string;
|
|
2197
2251
|
allowFreeText?: boolean | undefined;
|
|
2198
2252
|
}[];
|
|
2199
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2253
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2200
2254
|
id: string;
|
|
2201
2255
|
label: string;
|
|
2202
2256
|
required: boolean;
|
|
@@ -2205,7 +2259,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2205
2259
|
helpText?: string | null | undefined;
|
|
2206
2260
|
sectionDescription?: string | null | undefined;
|
|
2207
2261
|
}, {
|
|
2208
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2262
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2209
2263
|
id: string;
|
|
2210
2264
|
label: string;
|
|
2211
2265
|
section: string;
|
|
@@ -2228,6 +2282,15 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2228
2282
|
}, {
|
|
2229
2283
|
selected: string | string[];
|
|
2230
2284
|
freeText?: Record<string, string> | undefined;
|
|
2285
|
+
}>, z.ZodObject<{
|
|
2286
|
+
kind: z.ZodLiteral<"photo">;
|
|
2287
|
+
attachmentId: z.ZodString;
|
|
2288
|
+
}, "strict", z.ZodTypeAny, {
|
|
2289
|
+
kind: "photo";
|
|
2290
|
+
attachmentId: string;
|
|
2291
|
+
}, {
|
|
2292
|
+
kind: "photo";
|
|
2293
|
+
attachmentId: string;
|
|
2231
2294
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
|
|
2232
2295
|
status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
|
|
2233
2296
|
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2248,7 +2311,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2248
2311
|
label: string;
|
|
2249
2312
|
allowFreeText?: boolean | undefined;
|
|
2250
2313
|
}[];
|
|
2251
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2314
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2252
2315
|
id: string;
|
|
2253
2316
|
label: string;
|
|
2254
2317
|
required: boolean;
|
|
@@ -2260,6 +2323,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2260
2323
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2261
2324
|
selected: string | string[];
|
|
2262
2325
|
freeText?: Record<string, string> | undefined;
|
|
2326
|
+
} | {
|
|
2327
|
+
kind: "photo";
|
|
2328
|
+
attachmentId: string;
|
|
2263
2329
|
} | null>;
|
|
2264
2330
|
babyId?: string | null | undefined;
|
|
2265
2331
|
organizationName?: string | null | undefined;
|
|
@@ -2313,7 +2379,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2313
2379
|
familyUserId: string;
|
|
2314
2380
|
title: string;
|
|
2315
2381
|
questions: {
|
|
2316
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2382
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2317
2383
|
id: string;
|
|
2318
2384
|
label: string;
|
|
2319
2385
|
section: string;
|
|
@@ -2330,6 +2396,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2330
2396
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2331
2397
|
selected: string | string[];
|
|
2332
2398
|
freeText?: Record<string, string> | undefined;
|
|
2399
|
+
} | {
|
|
2400
|
+
kind: "photo";
|
|
2401
|
+
attachmentId: string;
|
|
2333
2402
|
} | null>;
|
|
2334
2403
|
babyId?: string | null | undefined;
|
|
2335
2404
|
organizationName?: string | null | undefined;
|
|
@@ -2390,7 +2459,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2390
2459
|
label: string;
|
|
2391
2460
|
allowFreeText?: boolean | undefined;
|
|
2392
2461
|
}[];
|
|
2393
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2462
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2394
2463
|
id: string;
|
|
2395
2464
|
label: string;
|
|
2396
2465
|
required: boolean;
|
|
@@ -2402,6 +2471,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2402
2471
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2403
2472
|
selected: string | string[];
|
|
2404
2473
|
freeText?: Record<string, string> | undefined;
|
|
2474
|
+
} | {
|
|
2475
|
+
kind: "photo";
|
|
2476
|
+
attachmentId: string;
|
|
2405
2477
|
} | null>;
|
|
2406
2478
|
babyId?: string | null | undefined;
|
|
2407
2479
|
organizationName?: string | null | undefined;
|
|
@@ -2457,7 +2529,7 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2457
2529
|
familyUserId: string;
|
|
2458
2530
|
title: string;
|
|
2459
2531
|
questions: {
|
|
2460
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2532
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2461
2533
|
id: string;
|
|
2462
2534
|
label: string;
|
|
2463
2535
|
section: string;
|
|
@@ -2474,6 +2546,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
|
|
|
2474
2546
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2475
2547
|
selected: string | string[];
|
|
2476
2548
|
freeText?: Record<string, string> | undefined;
|
|
2549
|
+
} | {
|
|
2550
|
+
kind: "photo";
|
|
2551
|
+
attachmentId: string;
|
|
2477
2552
|
} | null>;
|
|
2478
2553
|
babyId?: string | null | undefined;
|
|
2479
2554
|
organizationName?: string | null | undefined;
|
|
@@ -2712,7 +2787,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2712
2787
|
sectionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2713
2788
|
label: z.ZodString;
|
|
2714
2789
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2715
|
-
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number"]>;
|
|
2790
|
+
type: z.ZodEnum<["shortText", "longText", "singleChoice", "multiChoice", "yesNo", "number", "photoUpload"]>;
|
|
2716
2791
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2717
2792
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2718
2793
|
id: z.ZodString;
|
|
@@ -2734,7 +2809,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2734
2809
|
label: string;
|
|
2735
2810
|
allowFreeText?: boolean | undefined;
|
|
2736
2811
|
}[];
|
|
2737
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2812
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2738
2813
|
id: string;
|
|
2739
2814
|
label: string;
|
|
2740
2815
|
required: boolean;
|
|
@@ -2743,7 +2818,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2743
2818
|
helpText?: string | null | undefined;
|
|
2744
2819
|
sectionDescription?: string | null | undefined;
|
|
2745
2820
|
}, {
|
|
2746
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2821
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2747
2822
|
id: string;
|
|
2748
2823
|
label: string;
|
|
2749
2824
|
section: string;
|
|
@@ -2766,6 +2841,15 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2766
2841
|
}, {
|
|
2767
2842
|
selected: string | string[];
|
|
2768
2843
|
freeText?: Record<string, string> | undefined;
|
|
2844
|
+
}>, z.ZodObject<{
|
|
2845
|
+
kind: z.ZodLiteral<"photo">;
|
|
2846
|
+
attachmentId: z.ZodString;
|
|
2847
|
+
}, "strict", z.ZodTypeAny, {
|
|
2848
|
+
kind: "photo";
|
|
2849
|
+
attachmentId: string;
|
|
2850
|
+
}, {
|
|
2851
|
+
kind: "photo";
|
|
2852
|
+
attachmentId: string;
|
|
2769
2853
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
|
|
2770
2854
|
status: z.ZodEnum<["notStarted", "inProgress", "submitted"]>;
|
|
2771
2855
|
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2786,7 +2870,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2786
2870
|
label: string;
|
|
2787
2871
|
allowFreeText?: boolean | undefined;
|
|
2788
2872
|
}[];
|
|
2789
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2873
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2790
2874
|
id: string;
|
|
2791
2875
|
label: string;
|
|
2792
2876
|
required: boolean;
|
|
@@ -2798,6 +2882,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2798
2882
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2799
2883
|
selected: string | string[];
|
|
2800
2884
|
freeText?: Record<string, string> | undefined;
|
|
2885
|
+
} | {
|
|
2886
|
+
kind: "photo";
|
|
2887
|
+
attachmentId: string;
|
|
2801
2888
|
} | null>;
|
|
2802
2889
|
babyId?: string | null | undefined;
|
|
2803
2890
|
organizationName?: string | null | undefined;
|
|
@@ -2851,7 +2938,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2851
2938
|
familyUserId: string;
|
|
2852
2939
|
title: string;
|
|
2853
2940
|
questions: {
|
|
2854
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
2941
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2855
2942
|
id: string;
|
|
2856
2943
|
label: string;
|
|
2857
2944
|
section: string;
|
|
@@ -2868,6 +2955,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2868
2955
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2869
2956
|
selected: string | string[];
|
|
2870
2957
|
freeText?: Record<string, string> | undefined;
|
|
2958
|
+
} | {
|
|
2959
|
+
kind: "photo";
|
|
2960
|
+
attachmentId: string;
|
|
2871
2961
|
} | null>;
|
|
2872
2962
|
babyId?: string | null | undefined;
|
|
2873
2963
|
organizationName?: string | null | undefined;
|
|
@@ -2928,7 +3018,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2928
3018
|
label: string;
|
|
2929
3019
|
allowFreeText?: boolean | undefined;
|
|
2930
3020
|
}[];
|
|
2931
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
3021
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2932
3022
|
id: string;
|
|
2933
3023
|
label: string;
|
|
2934
3024
|
required: boolean;
|
|
@@ -2940,6 +3030,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2940
3030
|
answers: Record<string, string | number | boolean | string[] | {
|
|
2941
3031
|
selected: string | string[];
|
|
2942
3032
|
freeText?: Record<string, string> | undefined;
|
|
3033
|
+
} | {
|
|
3034
|
+
kind: "photo";
|
|
3035
|
+
attachmentId: string;
|
|
2943
3036
|
} | null>;
|
|
2944
3037
|
babyId?: string | null | undefined;
|
|
2945
3038
|
organizationName?: string | null | undefined;
|
|
@@ -2995,7 +3088,7 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
2995
3088
|
familyUserId: string;
|
|
2996
3089
|
title: string;
|
|
2997
3090
|
questions: {
|
|
2998
|
-
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice";
|
|
3091
|
+
type: "number" | "shortText" | "longText" | "singleChoice" | "yesNo" | "multiChoice" | "photoUpload";
|
|
2999
3092
|
id: string;
|
|
3000
3093
|
label: string;
|
|
3001
3094
|
section: string;
|
|
@@ -3012,6 +3105,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
|
|
|
3012
3105
|
answers: Record<string, string | number | boolean | string[] | {
|
|
3013
3106
|
selected: string | string[];
|
|
3014
3107
|
freeText?: Record<string, string> | undefined;
|
|
3108
|
+
} | {
|
|
3109
|
+
kind: "photo";
|
|
3110
|
+
attachmentId: string;
|
|
3015
3111
|
} | null>;
|
|
3016
3112
|
babyId?: string | null | undefined;
|
|
3017
3113
|
organizationName?: string | null | undefined;
|
|
@@ -3068,18 +3164,33 @@ export declare const familyQuestionnaireAnswersPatchRequestSchema: z.ZodObject<{
|
|
|
3068
3164
|
}, {
|
|
3069
3165
|
selected: string | string[];
|
|
3070
3166
|
freeText?: Record<string, string> | undefined;
|
|
3167
|
+
}>, z.ZodObject<{
|
|
3168
|
+
kind: z.ZodLiteral<"photo">;
|
|
3169
|
+
attachmentId: z.ZodString;
|
|
3170
|
+
}, "strict", z.ZodTypeAny, {
|
|
3171
|
+
kind: "photo";
|
|
3172
|
+
attachmentId: string;
|
|
3173
|
+
}, {
|
|
3174
|
+
kind: "photo";
|
|
3175
|
+
attachmentId: string;
|
|
3071
3176
|
}>, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
|
|
3072
3177
|
submit: z.ZodOptional<z.ZodBoolean>;
|
|
3073
3178
|
}, "strip", z.ZodTypeAny, {
|
|
3074
3179
|
answers: Record<string, string | number | boolean | string[] | {
|
|
3075
3180
|
selected: string | string[];
|
|
3076
3181
|
freeText?: Record<string, string> | undefined;
|
|
3182
|
+
} | {
|
|
3183
|
+
kind: "photo";
|
|
3184
|
+
attachmentId: string;
|
|
3077
3185
|
} | null>;
|
|
3078
3186
|
submit?: boolean | undefined;
|
|
3079
3187
|
}, {
|
|
3080
3188
|
answers: Record<string, string | number | boolean | string[] | {
|
|
3081
3189
|
selected: string | string[];
|
|
3082
3190
|
freeText?: Record<string, string> | undefined;
|
|
3191
|
+
} | {
|
|
3192
|
+
kind: "photo";
|
|
3193
|
+
attachmentId: string;
|
|
3083
3194
|
} | null>;
|
|
3084
3195
|
submit?: boolean | undefined;
|
|
3085
3196
|
}>;
|