evo360-types 1.1.32 → 1.1.34

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.
@@ -4,4 +4,1496 @@ export declare const zSurveyDeploymentActionSchema: z.ZodEnum<["CREATE_SURVEY_DE
4
4
  export declare const zSurveyPermissionSchema: z.ZodEnum<["private", "company", "public"]>;
5
5
  export declare const zSurveyTypeSchema: z.ZodEnum<["360", "general"]>;
6
6
  export declare const zSurveyStatusSchema: z.ZodEnum<["draft", "ready", "archived"]>;
7
+ export declare const zSurveyQuestionTypeSchema: z.ZodEnum<["scale", "essay", "options"]>;
7
8
  export declare const zSurveyDeploymentStatusSchema: z.ZodEnum<["draft", "open", "closed", "in_progress", "paused"]>;
9
+ export declare const zSurveySubmissionStatusSchema: z.ZodEnum<["not_started", "in_progress", "completed"]>;
10
+ export declare const zQuestionSchema: z.ZodObject<{
11
+ surveyId: z.ZodString;
12
+ sectionId: z.ZodString;
13
+ statement: z.ZodOptional<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodString>;
15
+ description_text: z.ZodOptional<z.ZodString>;
16
+ order: z.ZodOptional<z.ZodNumber>;
17
+ required: z.ZodOptional<z.ZodBoolean>;
18
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
+ name: z.ZodString;
20
+ color: z.ZodOptional<z.ZodString>;
21
+ hidden: z.ZodBoolean;
22
+ }, "strip", z.ZodTypeAny, {
23
+ name: string;
24
+ hidden: boolean;
25
+ color?: string | undefined;
26
+ }, {
27
+ name: string;
28
+ hidden: boolean;
29
+ color?: string | undefined;
30
+ }>, "many">>;
31
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ surveyId: string;
34
+ sectionId: string;
35
+ description?: string | undefined;
36
+ tags?: {
37
+ name: string;
38
+ hidden: boolean;
39
+ color?: string | undefined;
40
+ }[] | undefined;
41
+ type?: "scale" | "essay" | "options" | undefined;
42
+ statement?: string | undefined;
43
+ description_text?: string | undefined;
44
+ order?: number | undefined;
45
+ required?: boolean | undefined;
46
+ }, {
47
+ surveyId: string;
48
+ sectionId: string;
49
+ description?: string | undefined;
50
+ tags?: {
51
+ name: string;
52
+ hidden: boolean;
53
+ color?: string | undefined;
54
+ }[] | undefined;
55
+ type?: "scale" | "essay" | "options" | undefined;
56
+ statement?: string | undefined;
57
+ description_text?: string | undefined;
58
+ order?: number | undefined;
59
+ required?: boolean | undefined;
60
+ }>;
61
+ export declare const zQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<{
62
+ surveyId: z.ZodString;
63
+ sectionId: z.ZodString;
64
+ statement: z.ZodOptional<z.ZodString>;
65
+ description: z.ZodOptional<z.ZodString>;
66
+ description_text: z.ZodOptional<z.ZodString>;
67
+ order: z.ZodOptional<z.ZodNumber>;
68
+ required: z.ZodOptional<z.ZodBoolean>;
69
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
+ name: z.ZodString;
71
+ color: z.ZodOptional<z.ZodString>;
72
+ hidden: z.ZodBoolean;
73
+ }, "strip", z.ZodTypeAny, {
74
+ name: string;
75
+ hidden: boolean;
76
+ color?: string | undefined;
77
+ }, {
78
+ name: string;
79
+ hidden: boolean;
80
+ color?: string | undefined;
81
+ }>, "many">>;
82
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
83
+ }, {
84
+ type: z.ZodLiteral<"scale">;
85
+ template: z.ZodOptional<z.ZodString>;
86
+ scale_min: z.ZodOptional<z.ZodNumber>;
87
+ scale_max: z.ZodOptional<z.ZodNumber>;
88
+ }>, "strip", z.ZodTypeAny, {
89
+ type: "scale";
90
+ surveyId: string;
91
+ sectionId: string;
92
+ description?: string | undefined;
93
+ tags?: {
94
+ name: string;
95
+ hidden: boolean;
96
+ color?: string | undefined;
97
+ }[] | undefined;
98
+ statement?: string | undefined;
99
+ description_text?: string | undefined;
100
+ order?: number | undefined;
101
+ required?: boolean | undefined;
102
+ template?: string | undefined;
103
+ scale_min?: number | undefined;
104
+ scale_max?: number | undefined;
105
+ }, {
106
+ type: "scale";
107
+ surveyId: string;
108
+ sectionId: string;
109
+ description?: string | undefined;
110
+ tags?: {
111
+ name: string;
112
+ hidden: boolean;
113
+ color?: string | undefined;
114
+ }[] | undefined;
115
+ statement?: string | undefined;
116
+ description_text?: string | undefined;
117
+ order?: number | undefined;
118
+ required?: boolean | undefined;
119
+ template?: string | undefined;
120
+ scale_min?: number | undefined;
121
+ scale_max?: number | undefined;
122
+ }>;
123
+ export declare const zQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<{
124
+ surveyId: z.ZodString;
125
+ sectionId: z.ZodString;
126
+ statement: z.ZodOptional<z.ZodString>;
127
+ description: z.ZodOptional<z.ZodString>;
128
+ description_text: z.ZodOptional<z.ZodString>;
129
+ order: z.ZodOptional<z.ZodNumber>;
130
+ required: z.ZodOptional<z.ZodBoolean>;
131
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
+ name: z.ZodString;
133
+ color: z.ZodOptional<z.ZodString>;
134
+ hidden: z.ZodBoolean;
135
+ }, "strip", z.ZodTypeAny, {
136
+ name: string;
137
+ hidden: boolean;
138
+ color?: string | undefined;
139
+ }, {
140
+ name: string;
141
+ hidden: boolean;
142
+ color?: string | undefined;
143
+ }>, "many">>;
144
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
145
+ }, {
146
+ type: z.ZodLiteral<"essay">;
147
+ length_min: z.ZodOptional<z.ZodNumber>;
148
+ length_max: z.ZodOptional<z.ZodNumber>;
149
+ }>, "strip", z.ZodTypeAny, {
150
+ type: "essay";
151
+ surveyId: string;
152
+ sectionId: string;
153
+ description?: string | undefined;
154
+ tags?: {
155
+ name: string;
156
+ hidden: boolean;
157
+ color?: string | undefined;
158
+ }[] | undefined;
159
+ statement?: string | undefined;
160
+ description_text?: string | undefined;
161
+ order?: number | undefined;
162
+ required?: boolean | undefined;
163
+ length_min?: number | undefined;
164
+ length_max?: number | undefined;
165
+ }, {
166
+ type: "essay";
167
+ surveyId: string;
168
+ sectionId: string;
169
+ description?: string | undefined;
170
+ tags?: {
171
+ name: string;
172
+ hidden: boolean;
173
+ color?: string | undefined;
174
+ }[] | undefined;
175
+ statement?: string | undefined;
176
+ description_text?: string | undefined;
177
+ order?: number | undefined;
178
+ required?: boolean | undefined;
179
+ length_min?: number | undefined;
180
+ length_max?: number | undefined;
181
+ }>;
182
+ export declare const zQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.extendShape<{
183
+ surveyId: z.ZodString;
184
+ sectionId: z.ZodString;
185
+ statement: z.ZodOptional<z.ZodString>;
186
+ description: z.ZodOptional<z.ZodString>;
187
+ description_text: z.ZodOptional<z.ZodString>;
188
+ order: z.ZodOptional<z.ZodNumber>;
189
+ required: z.ZodOptional<z.ZodBoolean>;
190
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
191
+ name: z.ZodString;
192
+ color: z.ZodOptional<z.ZodString>;
193
+ hidden: z.ZodBoolean;
194
+ }, "strip", z.ZodTypeAny, {
195
+ name: string;
196
+ hidden: boolean;
197
+ color?: string | undefined;
198
+ }, {
199
+ name: string;
200
+ hidden: boolean;
201
+ color?: string | undefined;
202
+ }>, "many">>;
203
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
204
+ }, {
205
+ type: z.ZodLiteral<"options">;
206
+ options: z.ZodArray<z.ZodString, "many">;
207
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
208
+ }>, "strip", z.ZodTypeAny, {
209
+ type: "options";
210
+ options: string[];
211
+ surveyId: string;
212
+ sectionId: string;
213
+ description?: string | undefined;
214
+ tags?: {
215
+ name: string;
216
+ hidden: boolean;
217
+ color?: string | undefined;
218
+ }[] | undefined;
219
+ statement?: string | undefined;
220
+ description_text?: string | undefined;
221
+ order?: number | undefined;
222
+ required?: boolean | undefined;
223
+ allow_multiple_selections?: boolean | undefined;
224
+ }, {
225
+ type: "options";
226
+ options: string[];
227
+ surveyId: string;
228
+ sectionId: string;
229
+ description?: string | undefined;
230
+ tags?: {
231
+ name: string;
232
+ hidden: boolean;
233
+ color?: string | undefined;
234
+ }[] | undefined;
235
+ statement?: string | undefined;
236
+ description_text?: string | undefined;
237
+ order?: number | undefined;
238
+ required?: boolean | undefined;
239
+ allow_multiple_selections?: boolean | undefined;
240
+ }>;
241
+ export declare const zSurveySectionSchema: z.ZodObject<{
242
+ surveyId: z.ZodString;
243
+ name: z.ZodString;
244
+ description: z.ZodString;
245
+ order: z.ZodNumber;
246
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
247
+ surveyId: z.ZodString;
248
+ sectionId: z.ZodString;
249
+ statement: z.ZodOptional<z.ZodString>;
250
+ description: z.ZodOptional<z.ZodString>;
251
+ description_text: z.ZodOptional<z.ZodString>;
252
+ order: z.ZodOptional<z.ZodNumber>;
253
+ required: z.ZodOptional<z.ZodBoolean>;
254
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
+ name: z.ZodString;
256
+ color: z.ZodOptional<z.ZodString>;
257
+ hidden: z.ZodBoolean;
258
+ }, "strip", z.ZodTypeAny, {
259
+ name: string;
260
+ hidden: boolean;
261
+ color?: string | undefined;
262
+ }, {
263
+ name: string;
264
+ hidden: boolean;
265
+ color?: string | undefined;
266
+ }>, "many">>;
267
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
268
+ }, {
269
+ type: z.ZodLiteral<"essay">;
270
+ length_min: z.ZodOptional<z.ZodNumber>;
271
+ length_max: z.ZodOptional<z.ZodNumber>;
272
+ }>, "strip", z.ZodTypeAny, {
273
+ type: "essay";
274
+ surveyId: string;
275
+ sectionId: string;
276
+ description?: string | undefined;
277
+ tags?: {
278
+ name: string;
279
+ hidden: boolean;
280
+ color?: string | undefined;
281
+ }[] | undefined;
282
+ statement?: string | undefined;
283
+ description_text?: string | undefined;
284
+ order?: number | undefined;
285
+ required?: boolean | undefined;
286
+ length_min?: number | undefined;
287
+ length_max?: number | undefined;
288
+ }, {
289
+ type: "essay";
290
+ surveyId: string;
291
+ sectionId: string;
292
+ description?: string | undefined;
293
+ tags?: {
294
+ name: string;
295
+ hidden: boolean;
296
+ color?: string | undefined;
297
+ }[] | undefined;
298
+ statement?: string | undefined;
299
+ description_text?: string | undefined;
300
+ order?: number | undefined;
301
+ required?: boolean | undefined;
302
+ length_min?: number | undefined;
303
+ length_max?: number | undefined;
304
+ }>, z.ZodObject<z.objectUtil.extendShape<{
305
+ surveyId: z.ZodString;
306
+ sectionId: z.ZodString;
307
+ statement: z.ZodOptional<z.ZodString>;
308
+ description: z.ZodOptional<z.ZodString>;
309
+ description_text: z.ZodOptional<z.ZodString>;
310
+ order: z.ZodOptional<z.ZodNumber>;
311
+ required: z.ZodOptional<z.ZodBoolean>;
312
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
313
+ name: z.ZodString;
314
+ color: z.ZodOptional<z.ZodString>;
315
+ hidden: z.ZodBoolean;
316
+ }, "strip", z.ZodTypeAny, {
317
+ name: string;
318
+ hidden: boolean;
319
+ color?: string | undefined;
320
+ }, {
321
+ name: string;
322
+ hidden: boolean;
323
+ color?: string | undefined;
324
+ }>, "many">>;
325
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
326
+ }, {
327
+ type: z.ZodLiteral<"scale">;
328
+ template: z.ZodOptional<z.ZodString>;
329
+ scale_min: z.ZodOptional<z.ZodNumber>;
330
+ scale_max: z.ZodOptional<z.ZodNumber>;
331
+ }>, "strip", z.ZodTypeAny, {
332
+ type: "scale";
333
+ surveyId: string;
334
+ sectionId: string;
335
+ description?: string | undefined;
336
+ tags?: {
337
+ name: string;
338
+ hidden: boolean;
339
+ color?: string | undefined;
340
+ }[] | undefined;
341
+ statement?: string | undefined;
342
+ description_text?: string | undefined;
343
+ order?: number | undefined;
344
+ required?: boolean | undefined;
345
+ template?: string | undefined;
346
+ scale_min?: number | undefined;
347
+ scale_max?: number | undefined;
348
+ }, {
349
+ type: "scale";
350
+ surveyId: string;
351
+ sectionId: string;
352
+ description?: string | undefined;
353
+ tags?: {
354
+ name: string;
355
+ hidden: boolean;
356
+ color?: string | undefined;
357
+ }[] | undefined;
358
+ statement?: string | undefined;
359
+ description_text?: string | undefined;
360
+ order?: number | undefined;
361
+ required?: boolean | undefined;
362
+ template?: string | undefined;
363
+ scale_min?: number | undefined;
364
+ scale_max?: number | undefined;
365
+ }>, z.ZodObject<z.objectUtil.extendShape<{
366
+ surveyId: z.ZodString;
367
+ sectionId: z.ZodString;
368
+ statement: z.ZodOptional<z.ZodString>;
369
+ description: z.ZodOptional<z.ZodString>;
370
+ description_text: z.ZodOptional<z.ZodString>;
371
+ order: z.ZodOptional<z.ZodNumber>;
372
+ required: z.ZodOptional<z.ZodBoolean>;
373
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
374
+ name: z.ZodString;
375
+ color: z.ZodOptional<z.ZodString>;
376
+ hidden: z.ZodBoolean;
377
+ }, "strip", z.ZodTypeAny, {
378
+ name: string;
379
+ hidden: boolean;
380
+ color?: string | undefined;
381
+ }, {
382
+ name: string;
383
+ hidden: boolean;
384
+ color?: string | undefined;
385
+ }>, "many">>;
386
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
387
+ }, {
388
+ type: z.ZodLiteral<"options">;
389
+ options: z.ZodArray<z.ZodString, "many">;
390
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
391
+ }>, "strip", z.ZodTypeAny, {
392
+ type: "options";
393
+ options: string[];
394
+ surveyId: string;
395
+ sectionId: string;
396
+ description?: string | undefined;
397
+ tags?: {
398
+ name: string;
399
+ hidden: boolean;
400
+ color?: string | undefined;
401
+ }[] | undefined;
402
+ statement?: string | undefined;
403
+ description_text?: string | undefined;
404
+ order?: number | undefined;
405
+ required?: boolean | undefined;
406
+ allow_multiple_selections?: boolean | undefined;
407
+ }, {
408
+ type: "options";
409
+ options: string[];
410
+ surveyId: string;
411
+ sectionId: string;
412
+ description?: string | undefined;
413
+ tags?: {
414
+ name: string;
415
+ hidden: boolean;
416
+ color?: string | undefined;
417
+ }[] | undefined;
418
+ statement?: string | undefined;
419
+ description_text?: string | undefined;
420
+ order?: number | undefined;
421
+ required?: boolean | undefined;
422
+ allow_multiple_selections?: boolean | undefined;
423
+ }>]>, "many">;
424
+ question_count: z.ZodOptional<z.ZodNumber>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ name: string;
427
+ description: string;
428
+ questions: ({
429
+ type: "scale";
430
+ surveyId: string;
431
+ sectionId: string;
432
+ description?: string | undefined;
433
+ tags?: {
434
+ name: string;
435
+ hidden: boolean;
436
+ color?: string | undefined;
437
+ }[] | undefined;
438
+ statement?: string | undefined;
439
+ description_text?: string | undefined;
440
+ order?: number | undefined;
441
+ required?: boolean | undefined;
442
+ template?: string | undefined;
443
+ scale_min?: number | undefined;
444
+ scale_max?: number | undefined;
445
+ } | {
446
+ type: "essay";
447
+ surveyId: string;
448
+ sectionId: string;
449
+ description?: string | undefined;
450
+ tags?: {
451
+ name: string;
452
+ hidden: boolean;
453
+ color?: string | undefined;
454
+ }[] | undefined;
455
+ statement?: string | undefined;
456
+ description_text?: string | undefined;
457
+ order?: number | undefined;
458
+ required?: boolean | undefined;
459
+ length_min?: number | undefined;
460
+ length_max?: number | undefined;
461
+ } | {
462
+ type: "options";
463
+ options: string[];
464
+ surveyId: string;
465
+ sectionId: string;
466
+ description?: string | undefined;
467
+ tags?: {
468
+ name: string;
469
+ hidden: boolean;
470
+ color?: string | undefined;
471
+ }[] | undefined;
472
+ statement?: string | undefined;
473
+ description_text?: string | undefined;
474
+ order?: number | undefined;
475
+ required?: boolean | undefined;
476
+ allow_multiple_selections?: boolean | undefined;
477
+ })[];
478
+ surveyId: string;
479
+ order: number;
480
+ question_count?: number | undefined;
481
+ }, {
482
+ name: string;
483
+ description: string;
484
+ questions: ({
485
+ type: "scale";
486
+ surveyId: string;
487
+ sectionId: string;
488
+ description?: string | undefined;
489
+ tags?: {
490
+ name: string;
491
+ hidden: boolean;
492
+ color?: string | undefined;
493
+ }[] | undefined;
494
+ statement?: string | undefined;
495
+ description_text?: string | undefined;
496
+ order?: number | undefined;
497
+ required?: boolean | undefined;
498
+ template?: string | undefined;
499
+ scale_min?: number | undefined;
500
+ scale_max?: number | undefined;
501
+ } | {
502
+ type: "essay";
503
+ surveyId: string;
504
+ sectionId: string;
505
+ description?: string | undefined;
506
+ tags?: {
507
+ name: string;
508
+ hidden: boolean;
509
+ color?: string | undefined;
510
+ }[] | undefined;
511
+ statement?: string | undefined;
512
+ description_text?: string | undefined;
513
+ order?: number | undefined;
514
+ required?: boolean | undefined;
515
+ length_min?: number | undefined;
516
+ length_max?: number | undefined;
517
+ } | {
518
+ type: "options";
519
+ options: string[];
520
+ surveyId: string;
521
+ sectionId: string;
522
+ description?: string | undefined;
523
+ tags?: {
524
+ name: string;
525
+ hidden: boolean;
526
+ color?: string | undefined;
527
+ }[] | undefined;
528
+ statement?: string | undefined;
529
+ description_text?: string | undefined;
530
+ order?: number | undefined;
531
+ required?: boolean | undefined;
532
+ allow_multiple_selections?: boolean | undefined;
533
+ })[];
534
+ surveyId: string;
535
+ order: number;
536
+ question_count?: number | undefined;
537
+ }>;
538
+ export declare const zSurveySchema: z.ZodObject<{
539
+ name: z.ZodString;
540
+ description: z.ZodOptional<z.ZodString>;
541
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
542
+ permission: z.ZodEnum<["private", "company", "public"]>;
543
+ type: z.ZodEnum<["360", "general"]>;
544
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
+ surveyId: z.ZodString;
546
+ name: z.ZodString;
547
+ description: z.ZodString;
548
+ order: z.ZodNumber;
549
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
550
+ surveyId: z.ZodString;
551
+ sectionId: z.ZodString;
552
+ statement: z.ZodOptional<z.ZodString>;
553
+ description: z.ZodOptional<z.ZodString>;
554
+ description_text: z.ZodOptional<z.ZodString>;
555
+ order: z.ZodOptional<z.ZodNumber>;
556
+ required: z.ZodOptional<z.ZodBoolean>;
557
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
558
+ name: z.ZodString;
559
+ color: z.ZodOptional<z.ZodString>;
560
+ hidden: z.ZodBoolean;
561
+ }, "strip", z.ZodTypeAny, {
562
+ name: string;
563
+ hidden: boolean;
564
+ color?: string | undefined;
565
+ }, {
566
+ name: string;
567
+ hidden: boolean;
568
+ color?: string | undefined;
569
+ }>, "many">>;
570
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
571
+ }, {
572
+ type: z.ZodLiteral<"essay">;
573
+ length_min: z.ZodOptional<z.ZodNumber>;
574
+ length_max: z.ZodOptional<z.ZodNumber>;
575
+ }>, "strip", z.ZodTypeAny, {
576
+ type: "essay";
577
+ surveyId: string;
578
+ sectionId: string;
579
+ description?: string | undefined;
580
+ tags?: {
581
+ name: string;
582
+ hidden: boolean;
583
+ color?: string | undefined;
584
+ }[] | undefined;
585
+ statement?: string | undefined;
586
+ description_text?: string | undefined;
587
+ order?: number | undefined;
588
+ required?: boolean | undefined;
589
+ length_min?: number | undefined;
590
+ length_max?: number | undefined;
591
+ }, {
592
+ type: "essay";
593
+ surveyId: string;
594
+ sectionId: string;
595
+ description?: string | undefined;
596
+ tags?: {
597
+ name: string;
598
+ hidden: boolean;
599
+ color?: string | undefined;
600
+ }[] | undefined;
601
+ statement?: string | undefined;
602
+ description_text?: string | undefined;
603
+ order?: number | undefined;
604
+ required?: boolean | undefined;
605
+ length_min?: number | undefined;
606
+ length_max?: number | undefined;
607
+ }>, z.ZodObject<z.objectUtil.extendShape<{
608
+ surveyId: z.ZodString;
609
+ sectionId: z.ZodString;
610
+ statement: z.ZodOptional<z.ZodString>;
611
+ description: z.ZodOptional<z.ZodString>;
612
+ description_text: z.ZodOptional<z.ZodString>;
613
+ order: z.ZodOptional<z.ZodNumber>;
614
+ required: z.ZodOptional<z.ZodBoolean>;
615
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
616
+ name: z.ZodString;
617
+ color: z.ZodOptional<z.ZodString>;
618
+ hidden: z.ZodBoolean;
619
+ }, "strip", z.ZodTypeAny, {
620
+ name: string;
621
+ hidden: boolean;
622
+ color?: string | undefined;
623
+ }, {
624
+ name: string;
625
+ hidden: boolean;
626
+ color?: string | undefined;
627
+ }>, "many">>;
628
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
629
+ }, {
630
+ type: z.ZodLiteral<"scale">;
631
+ template: z.ZodOptional<z.ZodString>;
632
+ scale_min: z.ZodOptional<z.ZodNumber>;
633
+ scale_max: z.ZodOptional<z.ZodNumber>;
634
+ }>, "strip", z.ZodTypeAny, {
635
+ type: "scale";
636
+ surveyId: string;
637
+ sectionId: string;
638
+ description?: string | undefined;
639
+ tags?: {
640
+ name: string;
641
+ hidden: boolean;
642
+ color?: string | undefined;
643
+ }[] | undefined;
644
+ statement?: string | undefined;
645
+ description_text?: string | undefined;
646
+ order?: number | undefined;
647
+ required?: boolean | undefined;
648
+ template?: string | undefined;
649
+ scale_min?: number | undefined;
650
+ scale_max?: number | undefined;
651
+ }, {
652
+ type: "scale";
653
+ surveyId: string;
654
+ sectionId: string;
655
+ description?: string | undefined;
656
+ tags?: {
657
+ name: string;
658
+ hidden: boolean;
659
+ color?: string | undefined;
660
+ }[] | undefined;
661
+ statement?: string | undefined;
662
+ description_text?: string | undefined;
663
+ order?: number | undefined;
664
+ required?: boolean | undefined;
665
+ template?: string | undefined;
666
+ scale_min?: number | undefined;
667
+ scale_max?: number | undefined;
668
+ }>, z.ZodObject<z.objectUtil.extendShape<{
669
+ surveyId: z.ZodString;
670
+ sectionId: z.ZodString;
671
+ statement: z.ZodOptional<z.ZodString>;
672
+ description: z.ZodOptional<z.ZodString>;
673
+ description_text: z.ZodOptional<z.ZodString>;
674
+ order: z.ZodOptional<z.ZodNumber>;
675
+ required: z.ZodOptional<z.ZodBoolean>;
676
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
677
+ name: z.ZodString;
678
+ color: z.ZodOptional<z.ZodString>;
679
+ hidden: z.ZodBoolean;
680
+ }, "strip", z.ZodTypeAny, {
681
+ name: string;
682
+ hidden: boolean;
683
+ color?: string | undefined;
684
+ }, {
685
+ name: string;
686
+ hidden: boolean;
687
+ color?: string | undefined;
688
+ }>, "many">>;
689
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
690
+ }, {
691
+ type: z.ZodLiteral<"options">;
692
+ options: z.ZodArray<z.ZodString, "many">;
693
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
694
+ }>, "strip", z.ZodTypeAny, {
695
+ type: "options";
696
+ options: string[];
697
+ surveyId: string;
698
+ sectionId: string;
699
+ description?: string | undefined;
700
+ tags?: {
701
+ name: string;
702
+ hidden: boolean;
703
+ color?: string | undefined;
704
+ }[] | undefined;
705
+ statement?: string | undefined;
706
+ description_text?: string | undefined;
707
+ order?: number | undefined;
708
+ required?: boolean | undefined;
709
+ allow_multiple_selections?: boolean | undefined;
710
+ }, {
711
+ type: "options";
712
+ options: string[];
713
+ surveyId: string;
714
+ sectionId: string;
715
+ description?: string | undefined;
716
+ tags?: {
717
+ name: string;
718
+ hidden: boolean;
719
+ color?: string | undefined;
720
+ }[] | undefined;
721
+ statement?: string | undefined;
722
+ description_text?: string | undefined;
723
+ order?: number | undefined;
724
+ required?: boolean | undefined;
725
+ allow_multiple_selections?: boolean | undefined;
726
+ }>]>, "many">;
727
+ question_count: z.ZodOptional<z.ZodNumber>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ name: string;
730
+ description: string;
731
+ questions: ({
732
+ type: "scale";
733
+ surveyId: string;
734
+ sectionId: string;
735
+ description?: string | undefined;
736
+ tags?: {
737
+ name: string;
738
+ hidden: boolean;
739
+ color?: string | undefined;
740
+ }[] | undefined;
741
+ statement?: string | undefined;
742
+ description_text?: string | undefined;
743
+ order?: number | undefined;
744
+ required?: boolean | undefined;
745
+ template?: string | undefined;
746
+ scale_min?: number | undefined;
747
+ scale_max?: number | undefined;
748
+ } | {
749
+ type: "essay";
750
+ surveyId: string;
751
+ sectionId: string;
752
+ description?: string | undefined;
753
+ tags?: {
754
+ name: string;
755
+ hidden: boolean;
756
+ color?: string | undefined;
757
+ }[] | undefined;
758
+ statement?: string | undefined;
759
+ description_text?: string | undefined;
760
+ order?: number | undefined;
761
+ required?: boolean | undefined;
762
+ length_min?: number | undefined;
763
+ length_max?: number | undefined;
764
+ } | {
765
+ type: "options";
766
+ options: string[];
767
+ surveyId: string;
768
+ sectionId: string;
769
+ description?: string | undefined;
770
+ tags?: {
771
+ name: string;
772
+ hidden: boolean;
773
+ color?: string | undefined;
774
+ }[] | undefined;
775
+ statement?: string | undefined;
776
+ description_text?: string | undefined;
777
+ order?: number | undefined;
778
+ required?: boolean | undefined;
779
+ allow_multiple_selections?: boolean | undefined;
780
+ })[];
781
+ surveyId: string;
782
+ order: number;
783
+ question_count?: number | undefined;
784
+ }, {
785
+ name: string;
786
+ description: string;
787
+ questions: ({
788
+ type: "scale";
789
+ surveyId: string;
790
+ sectionId: string;
791
+ description?: string | undefined;
792
+ tags?: {
793
+ name: string;
794
+ hidden: boolean;
795
+ color?: string | undefined;
796
+ }[] | undefined;
797
+ statement?: string | undefined;
798
+ description_text?: string | undefined;
799
+ order?: number | undefined;
800
+ required?: boolean | undefined;
801
+ template?: string | undefined;
802
+ scale_min?: number | undefined;
803
+ scale_max?: number | undefined;
804
+ } | {
805
+ type: "essay";
806
+ surveyId: string;
807
+ sectionId: string;
808
+ description?: string | undefined;
809
+ tags?: {
810
+ name: string;
811
+ hidden: boolean;
812
+ color?: string | undefined;
813
+ }[] | undefined;
814
+ statement?: string | undefined;
815
+ description_text?: string | undefined;
816
+ order?: number | undefined;
817
+ required?: boolean | undefined;
818
+ length_min?: number | undefined;
819
+ length_max?: number | undefined;
820
+ } | {
821
+ type: "options";
822
+ options: string[];
823
+ surveyId: string;
824
+ sectionId: string;
825
+ description?: string | undefined;
826
+ tags?: {
827
+ name: string;
828
+ hidden: boolean;
829
+ color?: string | undefined;
830
+ }[] | undefined;
831
+ statement?: string | undefined;
832
+ description_text?: string | undefined;
833
+ order?: number | undefined;
834
+ required?: boolean | undefined;
835
+ allow_multiple_selections?: boolean | undefined;
836
+ })[];
837
+ surveyId: string;
838
+ order: number;
839
+ question_count?: number | undefined;
840
+ }>, "many">>;
841
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
842
+ name: z.ZodString;
843
+ color: z.ZodOptional<z.ZodString>;
844
+ hidden: z.ZodBoolean;
845
+ }, "strip", z.ZodTypeAny, {
846
+ name: string;
847
+ hidden: boolean;
848
+ color?: string | undefined;
849
+ }, {
850
+ name: string;
851
+ hidden: boolean;
852
+ color?: string | undefined;
853
+ }>, "many">>;
854
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
855
+ name: z.ZodString;
856
+ description: z.ZodOptional<z.ZodString>;
857
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
858
+ permission: z.ZodEnum<["private", "company", "public"]>;
859
+ type: z.ZodEnum<["360", "general"]>;
860
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
861
+ surveyId: z.ZodString;
862
+ name: z.ZodString;
863
+ description: z.ZodString;
864
+ order: z.ZodNumber;
865
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
866
+ surveyId: z.ZodString;
867
+ sectionId: z.ZodString;
868
+ statement: z.ZodOptional<z.ZodString>;
869
+ description: z.ZodOptional<z.ZodString>;
870
+ description_text: z.ZodOptional<z.ZodString>;
871
+ order: z.ZodOptional<z.ZodNumber>;
872
+ required: z.ZodOptional<z.ZodBoolean>;
873
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
874
+ name: z.ZodString;
875
+ color: z.ZodOptional<z.ZodString>;
876
+ hidden: z.ZodBoolean;
877
+ }, "strip", z.ZodTypeAny, {
878
+ name: string;
879
+ hidden: boolean;
880
+ color?: string | undefined;
881
+ }, {
882
+ name: string;
883
+ hidden: boolean;
884
+ color?: string | undefined;
885
+ }>, "many">>;
886
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
887
+ }, {
888
+ type: z.ZodLiteral<"essay">;
889
+ length_min: z.ZodOptional<z.ZodNumber>;
890
+ length_max: z.ZodOptional<z.ZodNumber>;
891
+ }>, "strip", z.ZodTypeAny, {
892
+ type: "essay";
893
+ surveyId: string;
894
+ sectionId: string;
895
+ description?: string | undefined;
896
+ tags?: {
897
+ name: string;
898
+ hidden: boolean;
899
+ color?: string | undefined;
900
+ }[] | undefined;
901
+ statement?: string | undefined;
902
+ description_text?: string | undefined;
903
+ order?: number | undefined;
904
+ required?: boolean | undefined;
905
+ length_min?: number | undefined;
906
+ length_max?: number | undefined;
907
+ }, {
908
+ type: "essay";
909
+ surveyId: string;
910
+ sectionId: string;
911
+ description?: string | undefined;
912
+ tags?: {
913
+ name: string;
914
+ hidden: boolean;
915
+ color?: string | undefined;
916
+ }[] | undefined;
917
+ statement?: string | undefined;
918
+ description_text?: string | undefined;
919
+ order?: number | undefined;
920
+ required?: boolean | undefined;
921
+ length_min?: number | undefined;
922
+ length_max?: number | undefined;
923
+ }>, z.ZodObject<z.objectUtil.extendShape<{
924
+ surveyId: z.ZodString;
925
+ sectionId: z.ZodString;
926
+ statement: z.ZodOptional<z.ZodString>;
927
+ description: z.ZodOptional<z.ZodString>;
928
+ description_text: z.ZodOptional<z.ZodString>;
929
+ order: z.ZodOptional<z.ZodNumber>;
930
+ required: z.ZodOptional<z.ZodBoolean>;
931
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
932
+ name: z.ZodString;
933
+ color: z.ZodOptional<z.ZodString>;
934
+ hidden: z.ZodBoolean;
935
+ }, "strip", z.ZodTypeAny, {
936
+ name: string;
937
+ hidden: boolean;
938
+ color?: string | undefined;
939
+ }, {
940
+ name: string;
941
+ hidden: boolean;
942
+ color?: string | undefined;
943
+ }>, "many">>;
944
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
945
+ }, {
946
+ type: z.ZodLiteral<"scale">;
947
+ template: z.ZodOptional<z.ZodString>;
948
+ scale_min: z.ZodOptional<z.ZodNumber>;
949
+ scale_max: z.ZodOptional<z.ZodNumber>;
950
+ }>, "strip", z.ZodTypeAny, {
951
+ type: "scale";
952
+ surveyId: string;
953
+ sectionId: string;
954
+ description?: string | undefined;
955
+ tags?: {
956
+ name: string;
957
+ hidden: boolean;
958
+ color?: string | undefined;
959
+ }[] | undefined;
960
+ statement?: string | undefined;
961
+ description_text?: string | undefined;
962
+ order?: number | undefined;
963
+ required?: boolean | undefined;
964
+ template?: string | undefined;
965
+ scale_min?: number | undefined;
966
+ scale_max?: number | undefined;
967
+ }, {
968
+ type: "scale";
969
+ surveyId: string;
970
+ sectionId: string;
971
+ description?: string | undefined;
972
+ tags?: {
973
+ name: string;
974
+ hidden: boolean;
975
+ color?: string | undefined;
976
+ }[] | undefined;
977
+ statement?: string | undefined;
978
+ description_text?: string | undefined;
979
+ order?: number | undefined;
980
+ required?: boolean | undefined;
981
+ template?: string | undefined;
982
+ scale_min?: number | undefined;
983
+ scale_max?: number | undefined;
984
+ }>, z.ZodObject<z.objectUtil.extendShape<{
985
+ surveyId: z.ZodString;
986
+ sectionId: z.ZodString;
987
+ statement: z.ZodOptional<z.ZodString>;
988
+ description: z.ZodOptional<z.ZodString>;
989
+ description_text: z.ZodOptional<z.ZodString>;
990
+ order: z.ZodOptional<z.ZodNumber>;
991
+ required: z.ZodOptional<z.ZodBoolean>;
992
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
993
+ name: z.ZodString;
994
+ color: z.ZodOptional<z.ZodString>;
995
+ hidden: z.ZodBoolean;
996
+ }, "strip", z.ZodTypeAny, {
997
+ name: string;
998
+ hidden: boolean;
999
+ color?: string | undefined;
1000
+ }, {
1001
+ name: string;
1002
+ hidden: boolean;
1003
+ color?: string | undefined;
1004
+ }>, "many">>;
1005
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1006
+ }, {
1007
+ type: z.ZodLiteral<"options">;
1008
+ options: z.ZodArray<z.ZodString, "many">;
1009
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
1010
+ }>, "strip", z.ZodTypeAny, {
1011
+ type: "options";
1012
+ options: string[];
1013
+ surveyId: string;
1014
+ sectionId: string;
1015
+ description?: string | undefined;
1016
+ tags?: {
1017
+ name: string;
1018
+ hidden: boolean;
1019
+ color?: string | undefined;
1020
+ }[] | undefined;
1021
+ statement?: string | undefined;
1022
+ description_text?: string | undefined;
1023
+ order?: number | undefined;
1024
+ required?: boolean | undefined;
1025
+ allow_multiple_selections?: boolean | undefined;
1026
+ }, {
1027
+ type: "options";
1028
+ options: string[];
1029
+ surveyId: string;
1030
+ sectionId: string;
1031
+ description?: string | undefined;
1032
+ tags?: {
1033
+ name: string;
1034
+ hidden: boolean;
1035
+ color?: string | undefined;
1036
+ }[] | undefined;
1037
+ statement?: string | undefined;
1038
+ description_text?: string | undefined;
1039
+ order?: number | undefined;
1040
+ required?: boolean | undefined;
1041
+ allow_multiple_selections?: boolean | undefined;
1042
+ }>]>, "many">;
1043
+ question_count: z.ZodOptional<z.ZodNumber>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ name: string;
1046
+ description: string;
1047
+ questions: ({
1048
+ type: "scale";
1049
+ surveyId: string;
1050
+ sectionId: string;
1051
+ description?: string | undefined;
1052
+ tags?: {
1053
+ name: string;
1054
+ hidden: boolean;
1055
+ color?: string | undefined;
1056
+ }[] | undefined;
1057
+ statement?: string | undefined;
1058
+ description_text?: string | undefined;
1059
+ order?: number | undefined;
1060
+ required?: boolean | undefined;
1061
+ template?: string | undefined;
1062
+ scale_min?: number | undefined;
1063
+ scale_max?: number | undefined;
1064
+ } | {
1065
+ type: "essay";
1066
+ surveyId: string;
1067
+ sectionId: string;
1068
+ description?: string | undefined;
1069
+ tags?: {
1070
+ name: string;
1071
+ hidden: boolean;
1072
+ color?: string | undefined;
1073
+ }[] | undefined;
1074
+ statement?: string | undefined;
1075
+ description_text?: string | undefined;
1076
+ order?: number | undefined;
1077
+ required?: boolean | undefined;
1078
+ length_min?: number | undefined;
1079
+ length_max?: number | undefined;
1080
+ } | {
1081
+ type: "options";
1082
+ options: string[];
1083
+ surveyId: string;
1084
+ sectionId: string;
1085
+ description?: string | undefined;
1086
+ tags?: {
1087
+ name: string;
1088
+ hidden: boolean;
1089
+ color?: string | undefined;
1090
+ }[] | undefined;
1091
+ statement?: string | undefined;
1092
+ description_text?: string | undefined;
1093
+ order?: number | undefined;
1094
+ required?: boolean | undefined;
1095
+ allow_multiple_selections?: boolean | undefined;
1096
+ })[];
1097
+ surveyId: string;
1098
+ order: number;
1099
+ question_count?: number | undefined;
1100
+ }, {
1101
+ name: string;
1102
+ description: string;
1103
+ questions: ({
1104
+ type: "scale";
1105
+ surveyId: string;
1106
+ sectionId: string;
1107
+ description?: string | undefined;
1108
+ tags?: {
1109
+ name: string;
1110
+ hidden: boolean;
1111
+ color?: string | undefined;
1112
+ }[] | undefined;
1113
+ statement?: string | undefined;
1114
+ description_text?: string | undefined;
1115
+ order?: number | undefined;
1116
+ required?: boolean | undefined;
1117
+ template?: string | undefined;
1118
+ scale_min?: number | undefined;
1119
+ scale_max?: number | undefined;
1120
+ } | {
1121
+ type: "essay";
1122
+ surveyId: string;
1123
+ sectionId: string;
1124
+ description?: string | undefined;
1125
+ tags?: {
1126
+ name: string;
1127
+ hidden: boolean;
1128
+ color?: string | undefined;
1129
+ }[] | undefined;
1130
+ statement?: string | undefined;
1131
+ description_text?: string | undefined;
1132
+ order?: number | undefined;
1133
+ required?: boolean | undefined;
1134
+ length_min?: number | undefined;
1135
+ length_max?: number | undefined;
1136
+ } | {
1137
+ type: "options";
1138
+ options: string[];
1139
+ surveyId: string;
1140
+ sectionId: string;
1141
+ description?: string | undefined;
1142
+ tags?: {
1143
+ name: string;
1144
+ hidden: boolean;
1145
+ color?: string | undefined;
1146
+ }[] | undefined;
1147
+ statement?: string | undefined;
1148
+ description_text?: string | undefined;
1149
+ order?: number | undefined;
1150
+ required?: boolean | undefined;
1151
+ allow_multiple_selections?: boolean | undefined;
1152
+ })[];
1153
+ surveyId: string;
1154
+ order: number;
1155
+ question_count?: number | undefined;
1156
+ }>, "many">>;
1157
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1158
+ name: z.ZodString;
1159
+ color: z.ZodOptional<z.ZodString>;
1160
+ hidden: z.ZodBoolean;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ name: string;
1163
+ hidden: boolean;
1164
+ color?: string | undefined;
1165
+ }, {
1166
+ name: string;
1167
+ hidden: boolean;
1168
+ color?: string | undefined;
1169
+ }>, "many">>;
1170
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1171
+ name: z.ZodString;
1172
+ description: z.ZodOptional<z.ZodString>;
1173
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
1174
+ permission: z.ZodEnum<["private", "company", "public"]>;
1175
+ type: z.ZodEnum<["360", "general"]>;
1176
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1177
+ surveyId: z.ZodString;
1178
+ name: z.ZodString;
1179
+ description: z.ZodString;
1180
+ order: z.ZodNumber;
1181
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1182
+ surveyId: z.ZodString;
1183
+ sectionId: z.ZodString;
1184
+ statement: z.ZodOptional<z.ZodString>;
1185
+ description: z.ZodOptional<z.ZodString>;
1186
+ description_text: z.ZodOptional<z.ZodString>;
1187
+ order: z.ZodOptional<z.ZodNumber>;
1188
+ required: z.ZodOptional<z.ZodBoolean>;
1189
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1190
+ name: z.ZodString;
1191
+ color: z.ZodOptional<z.ZodString>;
1192
+ hidden: z.ZodBoolean;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ name: string;
1195
+ hidden: boolean;
1196
+ color?: string | undefined;
1197
+ }, {
1198
+ name: string;
1199
+ hidden: boolean;
1200
+ color?: string | undefined;
1201
+ }>, "many">>;
1202
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1203
+ }, {
1204
+ type: z.ZodLiteral<"essay">;
1205
+ length_min: z.ZodOptional<z.ZodNumber>;
1206
+ length_max: z.ZodOptional<z.ZodNumber>;
1207
+ }>, "strip", z.ZodTypeAny, {
1208
+ type: "essay";
1209
+ surveyId: string;
1210
+ sectionId: string;
1211
+ description?: string | undefined;
1212
+ tags?: {
1213
+ name: string;
1214
+ hidden: boolean;
1215
+ color?: string | undefined;
1216
+ }[] | undefined;
1217
+ statement?: string | undefined;
1218
+ description_text?: string | undefined;
1219
+ order?: number | undefined;
1220
+ required?: boolean | undefined;
1221
+ length_min?: number | undefined;
1222
+ length_max?: number | undefined;
1223
+ }, {
1224
+ type: "essay";
1225
+ surveyId: string;
1226
+ sectionId: string;
1227
+ description?: string | undefined;
1228
+ tags?: {
1229
+ name: string;
1230
+ hidden: boolean;
1231
+ color?: string | undefined;
1232
+ }[] | undefined;
1233
+ statement?: string | undefined;
1234
+ description_text?: string | undefined;
1235
+ order?: number | undefined;
1236
+ required?: boolean | undefined;
1237
+ length_min?: number | undefined;
1238
+ length_max?: number | undefined;
1239
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1240
+ surveyId: z.ZodString;
1241
+ sectionId: z.ZodString;
1242
+ statement: z.ZodOptional<z.ZodString>;
1243
+ description: z.ZodOptional<z.ZodString>;
1244
+ description_text: z.ZodOptional<z.ZodString>;
1245
+ order: z.ZodOptional<z.ZodNumber>;
1246
+ required: z.ZodOptional<z.ZodBoolean>;
1247
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1248
+ name: z.ZodString;
1249
+ color: z.ZodOptional<z.ZodString>;
1250
+ hidden: z.ZodBoolean;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ name: string;
1253
+ hidden: boolean;
1254
+ color?: string | undefined;
1255
+ }, {
1256
+ name: string;
1257
+ hidden: boolean;
1258
+ color?: string | undefined;
1259
+ }>, "many">>;
1260
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1261
+ }, {
1262
+ type: z.ZodLiteral<"scale">;
1263
+ template: z.ZodOptional<z.ZodString>;
1264
+ scale_min: z.ZodOptional<z.ZodNumber>;
1265
+ scale_max: z.ZodOptional<z.ZodNumber>;
1266
+ }>, "strip", z.ZodTypeAny, {
1267
+ type: "scale";
1268
+ surveyId: string;
1269
+ sectionId: string;
1270
+ description?: string | undefined;
1271
+ tags?: {
1272
+ name: string;
1273
+ hidden: boolean;
1274
+ color?: string | undefined;
1275
+ }[] | undefined;
1276
+ statement?: string | undefined;
1277
+ description_text?: string | undefined;
1278
+ order?: number | undefined;
1279
+ required?: boolean | undefined;
1280
+ template?: string | undefined;
1281
+ scale_min?: number | undefined;
1282
+ scale_max?: number | undefined;
1283
+ }, {
1284
+ type: "scale";
1285
+ surveyId: string;
1286
+ sectionId: string;
1287
+ description?: string | undefined;
1288
+ tags?: {
1289
+ name: string;
1290
+ hidden: boolean;
1291
+ color?: string | undefined;
1292
+ }[] | undefined;
1293
+ statement?: string | undefined;
1294
+ description_text?: string | undefined;
1295
+ order?: number | undefined;
1296
+ required?: boolean | undefined;
1297
+ template?: string | undefined;
1298
+ scale_min?: number | undefined;
1299
+ scale_max?: number | undefined;
1300
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1301
+ surveyId: z.ZodString;
1302
+ sectionId: z.ZodString;
1303
+ statement: z.ZodOptional<z.ZodString>;
1304
+ description: z.ZodOptional<z.ZodString>;
1305
+ description_text: z.ZodOptional<z.ZodString>;
1306
+ order: z.ZodOptional<z.ZodNumber>;
1307
+ required: z.ZodOptional<z.ZodBoolean>;
1308
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1309
+ name: z.ZodString;
1310
+ color: z.ZodOptional<z.ZodString>;
1311
+ hidden: z.ZodBoolean;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ name: string;
1314
+ hidden: boolean;
1315
+ color?: string | undefined;
1316
+ }, {
1317
+ name: string;
1318
+ hidden: boolean;
1319
+ color?: string | undefined;
1320
+ }>, "many">>;
1321
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1322
+ }, {
1323
+ type: z.ZodLiteral<"options">;
1324
+ options: z.ZodArray<z.ZodString, "many">;
1325
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
1326
+ }>, "strip", z.ZodTypeAny, {
1327
+ type: "options";
1328
+ options: string[];
1329
+ surveyId: string;
1330
+ sectionId: string;
1331
+ description?: string | undefined;
1332
+ tags?: {
1333
+ name: string;
1334
+ hidden: boolean;
1335
+ color?: string | undefined;
1336
+ }[] | undefined;
1337
+ statement?: string | undefined;
1338
+ description_text?: string | undefined;
1339
+ order?: number | undefined;
1340
+ required?: boolean | undefined;
1341
+ allow_multiple_selections?: boolean | undefined;
1342
+ }, {
1343
+ type: "options";
1344
+ options: string[];
1345
+ surveyId: string;
1346
+ sectionId: string;
1347
+ description?: string | undefined;
1348
+ tags?: {
1349
+ name: string;
1350
+ hidden: boolean;
1351
+ color?: string | undefined;
1352
+ }[] | undefined;
1353
+ statement?: string | undefined;
1354
+ description_text?: string | undefined;
1355
+ order?: number | undefined;
1356
+ required?: boolean | undefined;
1357
+ allow_multiple_selections?: boolean | undefined;
1358
+ }>]>, "many">;
1359
+ question_count: z.ZodOptional<z.ZodNumber>;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ name: string;
1362
+ description: string;
1363
+ questions: ({
1364
+ type: "scale";
1365
+ surveyId: string;
1366
+ sectionId: string;
1367
+ description?: string | undefined;
1368
+ tags?: {
1369
+ name: string;
1370
+ hidden: boolean;
1371
+ color?: string | undefined;
1372
+ }[] | undefined;
1373
+ statement?: string | undefined;
1374
+ description_text?: string | undefined;
1375
+ order?: number | undefined;
1376
+ required?: boolean | undefined;
1377
+ template?: string | undefined;
1378
+ scale_min?: number | undefined;
1379
+ scale_max?: number | undefined;
1380
+ } | {
1381
+ type: "essay";
1382
+ surveyId: string;
1383
+ sectionId: string;
1384
+ description?: string | undefined;
1385
+ tags?: {
1386
+ name: string;
1387
+ hidden: boolean;
1388
+ color?: string | undefined;
1389
+ }[] | undefined;
1390
+ statement?: string | undefined;
1391
+ description_text?: string | undefined;
1392
+ order?: number | undefined;
1393
+ required?: boolean | undefined;
1394
+ length_min?: number | undefined;
1395
+ length_max?: number | undefined;
1396
+ } | {
1397
+ type: "options";
1398
+ options: string[];
1399
+ surveyId: string;
1400
+ sectionId: string;
1401
+ description?: string | undefined;
1402
+ tags?: {
1403
+ name: string;
1404
+ hidden: boolean;
1405
+ color?: string | undefined;
1406
+ }[] | undefined;
1407
+ statement?: string | undefined;
1408
+ description_text?: string | undefined;
1409
+ order?: number | undefined;
1410
+ required?: boolean | undefined;
1411
+ allow_multiple_selections?: boolean | undefined;
1412
+ })[];
1413
+ surveyId: string;
1414
+ order: number;
1415
+ question_count?: number | undefined;
1416
+ }, {
1417
+ name: string;
1418
+ description: string;
1419
+ questions: ({
1420
+ type: "scale";
1421
+ surveyId: string;
1422
+ sectionId: string;
1423
+ description?: string | undefined;
1424
+ tags?: {
1425
+ name: string;
1426
+ hidden: boolean;
1427
+ color?: string | undefined;
1428
+ }[] | undefined;
1429
+ statement?: string | undefined;
1430
+ description_text?: string | undefined;
1431
+ order?: number | undefined;
1432
+ required?: boolean | undefined;
1433
+ template?: string | undefined;
1434
+ scale_min?: number | undefined;
1435
+ scale_max?: number | undefined;
1436
+ } | {
1437
+ type: "essay";
1438
+ surveyId: string;
1439
+ sectionId: string;
1440
+ description?: string | undefined;
1441
+ tags?: {
1442
+ name: string;
1443
+ hidden: boolean;
1444
+ color?: string | undefined;
1445
+ }[] | undefined;
1446
+ statement?: string | undefined;
1447
+ description_text?: string | undefined;
1448
+ order?: number | undefined;
1449
+ required?: boolean | undefined;
1450
+ length_min?: number | undefined;
1451
+ length_max?: number | undefined;
1452
+ } | {
1453
+ type: "options";
1454
+ options: string[];
1455
+ surveyId: string;
1456
+ sectionId: string;
1457
+ description?: string | undefined;
1458
+ tags?: {
1459
+ name: string;
1460
+ hidden: boolean;
1461
+ color?: string | undefined;
1462
+ }[] | undefined;
1463
+ statement?: string | undefined;
1464
+ description_text?: string | undefined;
1465
+ order?: number | undefined;
1466
+ required?: boolean | undefined;
1467
+ allow_multiple_selections?: boolean | undefined;
1468
+ })[];
1469
+ surveyId: string;
1470
+ order: number;
1471
+ question_count?: number | undefined;
1472
+ }>, "many">>;
1473
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1474
+ name: z.ZodString;
1475
+ color: z.ZodOptional<z.ZodString>;
1476
+ hidden: z.ZodBoolean;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ name: string;
1479
+ hidden: boolean;
1480
+ color?: string | undefined;
1481
+ }, {
1482
+ name: string;
1483
+ hidden: boolean;
1484
+ color?: string | undefined;
1485
+ }>, "many">>;
1486
+ }, z.ZodTypeAny, "passthrough">>;
1487
+ export declare const zSurveyResponseSchema: z.ZodObject<{
1488
+ question_id: z.ZodString;
1489
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1490
+ date: z.ZodDate;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ question_id: string;
1493
+ answer: string | string[];
1494
+ date: Date;
1495
+ }, {
1496
+ question_id: string;
1497
+ answer: string | string[];
1498
+ date: Date;
1499
+ }>;