evo360-types 1.1.34 → 1.1.36

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.
@@ -7,7 +7,15 @@ export declare const zSurveyStatusSchema: z.ZodEnum<["draft", "ready", "archived
7
7
  export declare const zSurveyQuestionTypeSchema: z.ZodEnum<["scale", "essay", "options"]>;
8
8
  export declare const zSurveyDeploymentStatusSchema: z.ZodEnum<["draft", "open", "closed", "in_progress", "paused"]>;
9
9
  export declare const zSurveySubmissionStatusSchema: z.ZodEnum<["not_started", "in_progress", "completed"]>;
10
- export declare const zQuestionSchema: z.ZodObject<{
10
+ export declare const zQuestionSchema: z.ZodObject<z.objectUtil.extendShape<{
11
+ id: z.ZodString;
12
+ ref: z.ZodAny;
13
+ tenant: z.ZodString;
14
+ model_ver: z.ZodOptional<z.ZodNumber>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
17
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
18
+ }, {
11
19
  surveyId: z.ZodString;
12
20
  sectionId: z.ZodString;
13
21
  statement: z.ZodOptional<z.ZodString>;
@@ -29,9 +37,16 @@ export declare const zQuestionSchema: z.ZodObject<{
29
37
  color?: string | undefined;
30
38
  }>, "many">>;
31
39
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
32
- }, "strip", z.ZodTypeAny, {
40
+ }>, "strip", z.ZodTypeAny, {
41
+ id: string;
42
+ tenant: string;
33
43
  surveyId: string;
34
44
  sectionId: string;
45
+ ref?: any;
46
+ model_ver?: number | undefined;
47
+ created_at?: Date | null | undefined;
48
+ updated_at?: Date | null | undefined;
49
+ deleted_at?: Date | null | undefined;
35
50
  description?: string | undefined;
36
51
  tags?: {
37
52
  name: string;
@@ -44,8 +59,15 @@ export declare const zQuestionSchema: z.ZodObject<{
44
59
  order?: number | undefined;
45
60
  required?: boolean | undefined;
46
61
  }, {
62
+ id: string;
63
+ tenant: string;
47
64
  surveyId: string;
48
65
  sectionId: string;
66
+ ref?: any;
67
+ model_ver?: number | undefined;
68
+ created_at?: Date | null | undefined;
69
+ updated_at?: Date | null | undefined;
70
+ deleted_at?: Date | null | undefined;
49
71
  description?: string | undefined;
50
72
  tags?: {
51
73
  name: string;
@@ -58,7 +80,15 @@ export declare const zQuestionSchema: z.ZodObject<{
58
80
  order?: number | undefined;
59
81
  required?: boolean | undefined;
60
82
  }>;
61
- export declare const zQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<{
83
+ export declare const zQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
84
+ id: z.ZodString;
85
+ ref: z.ZodAny;
86
+ tenant: z.ZodString;
87
+ model_ver: z.ZodOptional<z.ZodNumber>;
88
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
89
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
90
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
91
+ }, {
62
92
  surveyId: z.ZodString;
63
93
  sectionId: z.ZodString;
64
94
  statement: z.ZodOptional<z.ZodString>;
@@ -80,15 +110,22 @@ export declare const zQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<
80
110
  color?: string | undefined;
81
111
  }>, "many">>;
82
112
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
83
- }, {
113
+ }>, {
84
114
  type: z.ZodLiteral<"scale">;
85
115
  template: z.ZodOptional<z.ZodString>;
86
116
  scale_min: z.ZodOptional<z.ZodNumber>;
87
117
  scale_max: z.ZodOptional<z.ZodNumber>;
88
118
  }>, "strip", z.ZodTypeAny, {
119
+ id: string;
120
+ tenant: string;
89
121
  type: "scale";
90
122
  surveyId: string;
91
123
  sectionId: string;
124
+ ref?: any;
125
+ model_ver?: number | undefined;
126
+ created_at?: Date | null | undefined;
127
+ updated_at?: Date | null | undefined;
128
+ deleted_at?: Date | null | undefined;
92
129
  description?: string | undefined;
93
130
  tags?: {
94
131
  name: string;
@@ -103,9 +140,16 @@ export declare const zQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<
103
140
  scale_min?: number | undefined;
104
141
  scale_max?: number | undefined;
105
142
  }, {
143
+ id: string;
144
+ tenant: string;
106
145
  type: "scale";
107
146
  surveyId: string;
108
147
  sectionId: string;
148
+ ref?: any;
149
+ model_ver?: number | undefined;
150
+ created_at?: Date | null | undefined;
151
+ updated_at?: Date | null | undefined;
152
+ deleted_at?: Date | null | undefined;
109
153
  description?: string | undefined;
110
154
  tags?: {
111
155
  name: string;
@@ -120,7 +164,15 @@ export declare const zQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<
120
164
  scale_min?: number | undefined;
121
165
  scale_max?: number | undefined;
122
166
  }>;
123
- export declare const zQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<{
167
+ export declare const zQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
168
+ id: z.ZodString;
169
+ ref: z.ZodAny;
170
+ tenant: z.ZodString;
171
+ model_ver: z.ZodOptional<z.ZodNumber>;
172
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
173
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
174
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
175
+ }, {
124
176
  surveyId: z.ZodString;
125
177
  sectionId: z.ZodString;
126
178
  statement: z.ZodOptional<z.ZodString>;
@@ -142,14 +194,21 @@ export declare const zQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<
142
194
  color?: string | undefined;
143
195
  }>, "many">>;
144
196
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
145
- }, {
197
+ }>, {
146
198
  type: z.ZodLiteral<"essay">;
147
199
  length_min: z.ZodOptional<z.ZodNumber>;
148
200
  length_max: z.ZodOptional<z.ZodNumber>;
149
201
  }>, "strip", z.ZodTypeAny, {
202
+ id: string;
203
+ tenant: string;
150
204
  type: "essay";
151
205
  surveyId: string;
152
206
  sectionId: string;
207
+ ref?: any;
208
+ model_ver?: number | undefined;
209
+ created_at?: Date | null | undefined;
210
+ updated_at?: Date | null | undefined;
211
+ deleted_at?: Date | null | undefined;
153
212
  description?: string | undefined;
154
213
  tags?: {
155
214
  name: string;
@@ -163,9 +222,16 @@ export declare const zQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<
163
222
  length_min?: number | undefined;
164
223
  length_max?: number | undefined;
165
224
  }, {
225
+ id: string;
226
+ tenant: string;
166
227
  type: "essay";
167
228
  surveyId: string;
168
229
  sectionId: string;
230
+ ref?: any;
231
+ model_ver?: number | undefined;
232
+ created_at?: Date | null | undefined;
233
+ updated_at?: Date | null | undefined;
234
+ deleted_at?: Date | null | undefined;
169
235
  description?: string | undefined;
170
236
  tags?: {
171
237
  name: string;
@@ -179,7 +245,15 @@ export declare const zQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<
179
245
  length_min?: number | undefined;
180
246
  length_max?: number | undefined;
181
247
  }>;
182
- export declare const zQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.extendShape<{
248
+ export declare const zQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
249
+ id: z.ZodString;
250
+ ref: z.ZodAny;
251
+ tenant: z.ZodString;
252
+ model_ver: z.ZodOptional<z.ZodNumber>;
253
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
254
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
255
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
256
+ }, {
183
257
  surveyId: z.ZodString;
184
258
  sectionId: z.ZodString;
185
259
  statement: z.ZodOptional<z.ZodString>;
@@ -201,15 +275,22 @@ export declare const zQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.ext
201
275
  color?: string | undefined;
202
276
  }>, "many">>;
203
277
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
204
- }, {
278
+ }>, {
205
279
  type: z.ZodLiteral<"options">;
206
280
  options: z.ZodArray<z.ZodString, "many">;
207
281
  allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
208
282
  }>, "strip", z.ZodTypeAny, {
283
+ id: string;
284
+ tenant: string;
209
285
  type: "options";
210
286
  options: string[];
211
287
  surveyId: string;
212
288
  sectionId: string;
289
+ ref?: any;
290
+ model_ver?: number | undefined;
291
+ created_at?: Date | null | undefined;
292
+ updated_at?: Date | null | undefined;
293
+ deleted_at?: Date | null | undefined;
213
294
  description?: string | undefined;
214
295
  tags?: {
215
296
  name: string;
@@ -222,10 +303,17 @@ export declare const zQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.ext
222
303
  required?: boolean | undefined;
223
304
  allow_multiple_selections?: boolean | undefined;
224
305
  }, {
306
+ id: string;
307
+ tenant: string;
225
308
  type: "options";
226
309
  options: string[];
227
310
  surveyId: string;
228
311
  sectionId: string;
312
+ ref?: any;
313
+ model_ver?: number | undefined;
314
+ created_at?: Date | null | undefined;
315
+ updated_at?: Date | null | undefined;
316
+ deleted_at?: Date | null | undefined;
229
317
  description?: string | undefined;
230
318
  tags?: {
231
319
  name: string;
@@ -238,12 +326,28 @@ export declare const zQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.ext
238
326
  required?: boolean | undefined;
239
327
  allow_multiple_selections?: boolean | undefined;
240
328
  }>;
241
- export declare const zSurveySectionSchema: z.ZodObject<{
329
+ export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<{
330
+ id: z.ZodString;
331
+ ref: z.ZodAny;
332
+ tenant: z.ZodString;
333
+ model_ver: z.ZodOptional<z.ZodNumber>;
334
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
335
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
336
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
337
+ }, {
242
338
  surveyId: z.ZodString;
243
339
  name: z.ZodString;
244
340
  description: z.ZodString;
245
341
  order: z.ZodNumber;
246
- questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
342
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
343
+ id: z.ZodString;
344
+ ref: z.ZodAny;
345
+ tenant: z.ZodString;
346
+ model_ver: z.ZodOptional<z.ZodNumber>;
347
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
348
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
349
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
350
+ }, {
247
351
  surveyId: z.ZodString;
248
352
  sectionId: z.ZodString;
249
353
  statement: z.ZodOptional<z.ZodString>;
@@ -265,14 +369,21 @@ export declare const zSurveySectionSchema: z.ZodObject<{
265
369
  color?: string | undefined;
266
370
  }>, "many">>;
267
371
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
268
- }, {
372
+ }>, {
269
373
  type: z.ZodLiteral<"essay">;
270
374
  length_min: z.ZodOptional<z.ZodNumber>;
271
375
  length_max: z.ZodOptional<z.ZodNumber>;
272
376
  }>, "strip", z.ZodTypeAny, {
377
+ id: string;
378
+ tenant: string;
273
379
  type: "essay";
274
380
  surveyId: string;
275
381
  sectionId: string;
382
+ ref?: any;
383
+ model_ver?: number | undefined;
384
+ created_at?: Date | null | undefined;
385
+ updated_at?: Date | null | undefined;
386
+ deleted_at?: Date | null | undefined;
276
387
  description?: string | undefined;
277
388
  tags?: {
278
389
  name: string;
@@ -286,9 +397,16 @@ export declare const zSurveySectionSchema: z.ZodObject<{
286
397
  length_min?: number | undefined;
287
398
  length_max?: number | undefined;
288
399
  }, {
400
+ id: string;
401
+ tenant: string;
289
402
  type: "essay";
290
403
  surveyId: string;
291
404
  sectionId: string;
405
+ ref?: any;
406
+ model_ver?: number | undefined;
407
+ created_at?: Date | null | undefined;
408
+ updated_at?: Date | null | undefined;
409
+ deleted_at?: Date | null | undefined;
292
410
  description?: string | undefined;
293
411
  tags?: {
294
412
  name: string;
@@ -301,7 +419,15 @@ export declare const zSurveySectionSchema: z.ZodObject<{
301
419
  required?: boolean | undefined;
302
420
  length_min?: number | undefined;
303
421
  length_max?: number | undefined;
304
- }>, z.ZodObject<z.objectUtil.extendShape<{
422
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
423
+ id: z.ZodString;
424
+ ref: z.ZodAny;
425
+ tenant: z.ZodString;
426
+ model_ver: z.ZodOptional<z.ZodNumber>;
427
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
428
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
429
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
430
+ }, {
305
431
  surveyId: z.ZodString;
306
432
  sectionId: z.ZodString;
307
433
  statement: z.ZodOptional<z.ZodString>;
@@ -323,15 +449,22 @@ export declare const zSurveySectionSchema: z.ZodObject<{
323
449
  color?: string | undefined;
324
450
  }>, "many">>;
325
451
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
326
- }, {
452
+ }>, {
327
453
  type: z.ZodLiteral<"scale">;
328
454
  template: z.ZodOptional<z.ZodString>;
329
455
  scale_min: z.ZodOptional<z.ZodNumber>;
330
456
  scale_max: z.ZodOptional<z.ZodNumber>;
331
457
  }>, "strip", z.ZodTypeAny, {
458
+ id: string;
459
+ tenant: string;
332
460
  type: "scale";
333
461
  surveyId: string;
334
462
  sectionId: string;
463
+ ref?: any;
464
+ model_ver?: number | undefined;
465
+ created_at?: Date | null | undefined;
466
+ updated_at?: Date | null | undefined;
467
+ deleted_at?: Date | null | undefined;
335
468
  description?: string | undefined;
336
469
  tags?: {
337
470
  name: string;
@@ -346,9 +479,16 @@ export declare const zSurveySectionSchema: z.ZodObject<{
346
479
  scale_min?: number | undefined;
347
480
  scale_max?: number | undefined;
348
481
  }, {
482
+ id: string;
483
+ tenant: string;
349
484
  type: "scale";
350
485
  surveyId: string;
351
486
  sectionId: string;
487
+ ref?: any;
488
+ model_ver?: number | undefined;
489
+ created_at?: Date | null | undefined;
490
+ updated_at?: Date | null | undefined;
491
+ deleted_at?: Date | null | undefined;
352
492
  description?: string | undefined;
353
493
  tags?: {
354
494
  name: string;
@@ -362,7 +502,15 @@ export declare const zSurveySectionSchema: z.ZodObject<{
362
502
  template?: string | undefined;
363
503
  scale_min?: number | undefined;
364
504
  scale_max?: number | undefined;
365
- }>, z.ZodObject<z.objectUtil.extendShape<{
505
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
506
+ id: z.ZodString;
507
+ ref: z.ZodAny;
508
+ tenant: z.ZodString;
509
+ model_ver: z.ZodOptional<z.ZodNumber>;
510
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
511
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
512
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
513
+ }, {
366
514
  surveyId: z.ZodString;
367
515
  sectionId: z.ZodString;
368
516
  statement: z.ZodOptional<z.ZodString>;
@@ -384,15 +532,22 @@ export declare const zSurveySectionSchema: z.ZodObject<{
384
532
  color?: string | undefined;
385
533
  }>, "many">>;
386
534
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
387
- }, {
535
+ }>, {
388
536
  type: z.ZodLiteral<"options">;
389
537
  options: z.ZodArray<z.ZodString, "many">;
390
538
  allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
391
539
  }>, "strip", z.ZodTypeAny, {
540
+ id: string;
541
+ tenant: string;
392
542
  type: "options";
393
543
  options: string[];
394
544
  surveyId: string;
395
545
  sectionId: string;
546
+ ref?: any;
547
+ model_ver?: number | undefined;
548
+ created_at?: Date | null | undefined;
549
+ updated_at?: Date | null | undefined;
550
+ deleted_at?: Date | null | undefined;
396
551
  description?: string | undefined;
397
552
  tags?: {
398
553
  name: string;
@@ -405,10 +560,17 @@ export declare const zSurveySectionSchema: z.ZodObject<{
405
560
  required?: boolean | undefined;
406
561
  allow_multiple_selections?: boolean | undefined;
407
562
  }, {
563
+ id: string;
564
+ tenant: string;
408
565
  type: "options";
409
566
  options: string[];
410
567
  surveyId: string;
411
568
  sectionId: string;
569
+ ref?: any;
570
+ model_ver?: number | undefined;
571
+ created_at?: Date | null | undefined;
572
+ updated_at?: Date | null | undefined;
573
+ deleted_at?: Date | null | undefined;
412
574
  description?: string | undefined;
413
575
  tags?: {
414
576
  name: string;
@@ -422,13 +584,22 @@ export declare const zSurveySectionSchema: z.ZodObject<{
422
584
  allow_multiple_selections?: boolean | undefined;
423
585
  }>]>, "many">;
424
586
  question_count: z.ZodOptional<z.ZodNumber>;
425
- }, "strip", z.ZodTypeAny, {
587
+ }>, "strip", z.ZodTypeAny, {
588
+ id: string;
589
+ tenant: string;
426
590
  name: string;
427
591
  description: string;
428
592
  questions: ({
593
+ id: string;
594
+ tenant: string;
429
595
  type: "scale";
430
596
  surveyId: string;
431
597
  sectionId: string;
598
+ ref?: any;
599
+ model_ver?: number | undefined;
600
+ created_at?: Date | null | undefined;
601
+ updated_at?: Date | null | undefined;
602
+ deleted_at?: Date | null | undefined;
432
603
  description?: string | undefined;
433
604
  tags?: {
434
605
  name: string;
@@ -443,9 +614,16 @@ export declare const zSurveySectionSchema: z.ZodObject<{
443
614
  scale_min?: number | undefined;
444
615
  scale_max?: number | undefined;
445
616
  } | {
617
+ id: string;
618
+ tenant: string;
446
619
  type: "essay";
447
620
  surveyId: string;
448
621
  sectionId: string;
622
+ ref?: any;
623
+ model_ver?: number | undefined;
624
+ created_at?: Date | null | undefined;
625
+ updated_at?: Date | null | undefined;
626
+ deleted_at?: Date | null | undefined;
449
627
  description?: string | undefined;
450
628
  tags?: {
451
629
  name: string;
@@ -459,10 +637,17 @@ export declare const zSurveySectionSchema: z.ZodObject<{
459
637
  length_min?: number | undefined;
460
638
  length_max?: number | undefined;
461
639
  } | {
640
+ id: string;
641
+ tenant: string;
462
642
  type: "options";
463
643
  options: string[];
464
644
  surveyId: string;
465
645
  sectionId: string;
646
+ ref?: any;
647
+ model_ver?: number | undefined;
648
+ created_at?: Date | null | undefined;
649
+ updated_at?: Date | null | undefined;
650
+ deleted_at?: Date | null | undefined;
466
651
  description?: string | undefined;
467
652
  tags?: {
468
653
  name: string;
@@ -477,14 +662,28 @@ export declare const zSurveySectionSchema: z.ZodObject<{
477
662
  })[];
478
663
  surveyId: string;
479
664
  order: number;
665
+ ref?: any;
666
+ model_ver?: number | undefined;
667
+ created_at?: Date | null | undefined;
668
+ updated_at?: Date | null | undefined;
669
+ deleted_at?: Date | null | undefined;
480
670
  question_count?: number | undefined;
481
671
  }, {
672
+ id: string;
673
+ tenant: string;
482
674
  name: string;
483
675
  description: string;
484
676
  questions: ({
677
+ id: string;
678
+ tenant: string;
485
679
  type: "scale";
486
680
  surveyId: string;
487
681
  sectionId: string;
682
+ ref?: any;
683
+ model_ver?: number | undefined;
684
+ created_at?: Date | null | undefined;
685
+ updated_at?: Date | null | undefined;
686
+ deleted_at?: Date | null | undefined;
488
687
  description?: string | undefined;
489
688
  tags?: {
490
689
  name: string;
@@ -499,9 +698,16 @@ export declare const zSurveySectionSchema: z.ZodObject<{
499
698
  scale_min?: number | undefined;
500
699
  scale_max?: number | undefined;
501
700
  } | {
701
+ id: string;
702
+ tenant: string;
502
703
  type: "essay";
503
704
  surveyId: string;
504
705
  sectionId: string;
706
+ ref?: any;
707
+ model_ver?: number | undefined;
708
+ created_at?: Date | null | undefined;
709
+ updated_at?: Date | null | undefined;
710
+ deleted_at?: Date | null | undefined;
505
711
  description?: string | undefined;
506
712
  tags?: {
507
713
  name: string;
@@ -515,10 +721,17 @@ export declare const zSurveySectionSchema: z.ZodObject<{
515
721
  length_min?: number | undefined;
516
722
  length_max?: number | undefined;
517
723
  } | {
724
+ id: string;
725
+ tenant: string;
518
726
  type: "options";
519
727
  options: string[];
520
728
  surveyId: string;
521
729
  sectionId: string;
730
+ ref?: any;
731
+ model_ver?: number | undefined;
732
+ created_at?: Date | null | undefined;
733
+ updated_at?: Date | null | undefined;
734
+ deleted_at?: Date | null | undefined;
522
735
  description?: string | undefined;
523
736
  tags?: {
524
737
  name: string;
@@ -533,20 +746,49 @@ export declare const zSurveySectionSchema: z.ZodObject<{
533
746
  })[];
534
747
  surveyId: string;
535
748
  order: number;
749
+ ref?: any;
750
+ model_ver?: number | undefined;
751
+ created_at?: Date | null | undefined;
752
+ updated_at?: Date | null | undefined;
753
+ deleted_at?: Date | null | undefined;
536
754
  question_count?: number | undefined;
537
755
  }>;
538
- export declare const zSurveySchema: z.ZodObject<{
756
+ export declare const zSurveySchema: z.ZodObject<z.objectUtil.extendShape<{
757
+ id: z.ZodString;
758
+ ref: z.ZodAny;
759
+ tenant: z.ZodString;
760
+ model_ver: z.ZodOptional<z.ZodNumber>;
761
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
762
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
763
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
764
+ }, {
539
765
  name: z.ZodString;
540
766
  description: z.ZodOptional<z.ZodString>;
541
767
  status: z.ZodEnum<["draft", "ready", "archived"]>;
542
768
  permission: z.ZodEnum<["private", "company", "public"]>;
543
769
  type: z.ZodEnum<["360", "general"]>;
544
- sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
770
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
771
+ id: z.ZodString;
772
+ ref: z.ZodAny;
773
+ tenant: z.ZodString;
774
+ model_ver: z.ZodOptional<z.ZodNumber>;
775
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
776
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
777
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
778
+ }, {
545
779
  surveyId: z.ZodString;
546
780
  name: z.ZodString;
547
781
  description: z.ZodString;
548
782
  order: z.ZodNumber;
549
- questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
783
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
784
+ id: z.ZodString;
785
+ ref: z.ZodAny;
786
+ tenant: z.ZodString;
787
+ model_ver: z.ZodOptional<z.ZodNumber>;
788
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
789
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
790
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
791
+ }, {
550
792
  surveyId: z.ZodString;
551
793
  sectionId: z.ZodString;
552
794
  statement: z.ZodOptional<z.ZodString>;
@@ -568,14 +810,21 @@ export declare const zSurveySchema: z.ZodObject<{
568
810
  color?: string | undefined;
569
811
  }>, "many">>;
570
812
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
571
- }, {
813
+ }>, {
572
814
  type: z.ZodLiteral<"essay">;
573
815
  length_min: z.ZodOptional<z.ZodNumber>;
574
816
  length_max: z.ZodOptional<z.ZodNumber>;
575
817
  }>, "strip", z.ZodTypeAny, {
818
+ id: string;
819
+ tenant: string;
576
820
  type: "essay";
577
821
  surveyId: string;
578
822
  sectionId: string;
823
+ ref?: any;
824
+ model_ver?: number | undefined;
825
+ created_at?: Date | null | undefined;
826
+ updated_at?: Date | null | undefined;
827
+ deleted_at?: Date | null | undefined;
579
828
  description?: string | undefined;
580
829
  tags?: {
581
830
  name: string;
@@ -589,9 +838,16 @@ export declare const zSurveySchema: z.ZodObject<{
589
838
  length_min?: number | undefined;
590
839
  length_max?: number | undefined;
591
840
  }, {
841
+ id: string;
842
+ tenant: string;
592
843
  type: "essay";
593
844
  surveyId: string;
594
845
  sectionId: string;
846
+ ref?: any;
847
+ model_ver?: number | undefined;
848
+ created_at?: Date | null | undefined;
849
+ updated_at?: Date | null | undefined;
850
+ deleted_at?: Date | null | undefined;
595
851
  description?: string | undefined;
596
852
  tags?: {
597
853
  name: string;
@@ -604,7 +860,15 @@ export declare const zSurveySchema: z.ZodObject<{
604
860
  required?: boolean | undefined;
605
861
  length_min?: number | undefined;
606
862
  length_max?: number | undefined;
607
- }>, z.ZodObject<z.objectUtil.extendShape<{
863
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
864
+ id: z.ZodString;
865
+ ref: z.ZodAny;
866
+ tenant: z.ZodString;
867
+ model_ver: z.ZodOptional<z.ZodNumber>;
868
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
869
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
870
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
871
+ }, {
608
872
  surveyId: z.ZodString;
609
873
  sectionId: z.ZodString;
610
874
  statement: z.ZodOptional<z.ZodString>;
@@ -626,15 +890,22 @@ export declare const zSurveySchema: z.ZodObject<{
626
890
  color?: string | undefined;
627
891
  }>, "many">>;
628
892
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
629
- }, {
893
+ }>, {
630
894
  type: z.ZodLiteral<"scale">;
631
895
  template: z.ZodOptional<z.ZodString>;
632
896
  scale_min: z.ZodOptional<z.ZodNumber>;
633
897
  scale_max: z.ZodOptional<z.ZodNumber>;
634
898
  }>, "strip", z.ZodTypeAny, {
899
+ id: string;
900
+ tenant: string;
635
901
  type: "scale";
636
902
  surveyId: string;
637
903
  sectionId: string;
904
+ ref?: any;
905
+ model_ver?: number | undefined;
906
+ created_at?: Date | null | undefined;
907
+ updated_at?: Date | null | undefined;
908
+ deleted_at?: Date | null | undefined;
638
909
  description?: string | undefined;
639
910
  tags?: {
640
911
  name: string;
@@ -649,9 +920,16 @@ export declare const zSurveySchema: z.ZodObject<{
649
920
  scale_min?: number | undefined;
650
921
  scale_max?: number | undefined;
651
922
  }, {
923
+ id: string;
924
+ tenant: string;
652
925
  type: "scale";
653
926
  surveyId: string;
654
927
  sectionId: string;
928
+ ref?: any;
929
+ model_ver?: number | undefined;
930
+ created_at?: Date | null | undefined;
931
+ updated_at?: Date | null | undefined;
932
+ deleted_at?: Date | null | undefined;
655
933
  description?: string | undefined;
656
934
  tags?: {
657
935
  name: string;
@@ -665,7 +943,15 @@ export declare const zSurveySchema: z.ZodObject<{
665
943
  template?: string | undefined;
666
944
  scale_min?: number | undefined;
667
945
  scale_max?: number | undefined;
668
- }>, z.ZodObject<z.objectUtil.extendShape<{
946
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
947
+ id: z.ZodString;
948
+ ref: z.ZodAny;
949
+ tenant: z.ZodString;
950
+ model_ver: z.ZodOptional<z.ZodNumber>;
951
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
952
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
953
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
954
+ }, {
669
955
  surveyId: z.ZodString;
670
956
  sectionId: z.ZodString;
671
957
  statement: z.ZodOptional<z.ZodString>;
@@ -687,15 +973,22 @@ export declare const zSurveySchema: z.ZodObject<{
687
973
  color?: string | undefined;
688
974
  }>, "many">>;
689
975
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
690
- }, {
976
+ }>, {
691
977
  type: z.ZodLiteral<"options">;
692
978
  options: z.ZodArray<z.ZodString, "many">;
693
979
  allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
694
980
  }>, "strip", z.ZodTypeAny, {
981
+ id: string;
982
+ tenant: string;
695
983
  type: "options";
696
984
  options: string[];
697
985
  surveyId: string;
698
986
  sectionId: string;
987
+ ref?: any;
988
+ model_ver?: number | undefined;
989
+ created_at?: Date | null | undefined;
990
+ updated_at?: Date | null | undefined;
991
+ deleted_at?: Date | null | undefined;
699
992
  description?: string | undefined;
700
993
  tags?: {
701
994
  name: string;
@@ -708,10 +1001,17 @@ export declare const zSurveySchema: z.ZodObject<{
708
1001
  required?: boolean | undefined;
709
1002
  allow_multiple_selections?: boolean | undefined;
710
1003
  }, {
1004
+ id: string;
1005
+ tenant: string;
711
1006
  type: "options";
712
1007
  options: string[];
713
1008
  surveyId: string;
714
1009
  sectionId: string;
1010
+ ref?: any;
1011
+ model_ver?: number | undefined;
1012
+ created_at?: Date | null | undefined;
1013
+ updated_at?: Date | null | undefined;
1014
+ deleted_at?: Date | null | undefined;
715
1015
  description?: string | undefined;
716
1016
  tags?: {
717
1017
  name: string;
@@ -725,13 +1025,22 @@ export declare const zSurveySchema: z.ZodObject<{
725
1025
  allow_multiple_selections?: boolean | undefined;
726
1026
  }>]>, "many">;
727
1027
  question_count: z.ZodOptional<z.ZodNumber>;
728
- }, "strip", z.ZodTypeAny, {
1028
+ }>, "strip", z.ZodTypeAny, {
1029
+ id: string;
1030
+ tenant: string;
729
1031
  name: string;
730
1032
  description: string;
731
1033
  questions: ({
1034
+ id: string;
1035
+ tenant: string;
732
1036
  type: "scale";
733
1037
  surveyId: string;
734
1038
  sectionId: string;
1039
+ ref?: any;
1040
+ model_ver?: number | undefined;
1041
+ created_at?: Date | null | undefined;
1042
+ updated_at?: Date | null | undefined;
1043
+ deleted_at?: Date | null | undefined;
735
1044
  description?: string | undefined;
736
1045
  tags?: {
737
1046
  name: string;
@@ -746,9 +1055,16 @@ export declare const zSurveySchema: z.ZodObject<{
746
1055
  scale_min?: number | undefined;
747
1056
  scale_max?: number | undefined;
748
1057
  } | {
1058
+ id: string;
1059
+ tenant: string;
749
1060
  type: "essay";
750
1061
  surveyId: string;
751
1062
  sectionId: string;
1063
+ ref?: any;
1064
+ model_ver?: number | undefined;
1065
+ created_at?: Date | null | undefined;
1066
+ updated_at?: Date | null | undefined;
1067
+ deleted_at?: Date | null | undefined;
752
1068
  description?: string | undefined;
753
1069
  tags?: {
754
1070
  name: string;
@@ -762,10 +1078,17 @@ export declare const zSurveySchema: z.ZodObject<{
762
1078
  length_min?: number | undefined;
763
1079
  length_max?: number | undefined;
764
1080
  } | {
1081
+ id: string;
1082
+ tenant: string;
765
1083
  type: "options";
766
1084
  options: string[];
767
1085
  surveyId: string;
768
1086
  sectionId: string;
1087
+ ref?: any;
1088
+ model_ver?: number | undefined;
1089
+ created_at?: Date | null | undefined;
1090
+ updated_at?: Date | null | undefined;
1091
+ deleted_at?: Date | null | undefined;
769
1092
  description?: string | undefined;
770
1093
  tags?: {
771
1094
  name: string;
@@ -780,14 +1103,28 @@ export declare const zSurveySchema: z.ZodObject<{
780
1103
  })[];
781
1104
  surveyId: string;
782
1105
  order: number;
1106
+ ref?: any;
1107
+ model_ver?: number | undefined;
1108
+ created_at?: Date | null | undefined;
1109
+ updated_at?: Date | null | undefined;
1110
+ deleted_at?: Date | null | undefined;
783
1111
  question_count?: number | undefined;
784
1112
  }, {
1113
+ id: string;
1114
+ tenant: string;
785
1115
  name: string;
786
1116
  description: string;
787
1117
  questions: ({
1118
+ id: string;
1119
+ tenant: string;
788
1120
  type: "scale";
789
1121
  surveyId: string;
790
1122
  sectionId: string;
1123
+ ref?: any;
1124
+ model_ver?: number | undefined;
1125
+ created_at?: Date | null | undefined;
1126
+ updated_at?: Date | null | undefined;
1127
+ deleted_at?: Date | null | undefined;
791
1128
  description?: string | undefined;
792
1129
  tags?: {
793
1130
  name: string;
@@ -802,9 +1139,16 @@ export declare const zSurveySchema: z.ZodObject<{
802
1139
  scale_min?: number | undefined;
803
1140
  scale_max?: number | undefined;
804
1141
  } | {
1142
+ id: string;
1143
+ tenant: string;
805
1144
  type: "essay";
806
1145
  surveyId: string;
807
1146
  sectionId: string;
1147
+ ref?: any;
1148
+ model_ver?: number | undefined;
1149
+ created_at?: Date | null | undefined;
1150
+ updated_at?: Date | null | undefined;
1151
+ deleted_at?: Date | null | undefined;
808
1152
  description?: string | undefined;
809
1153
  tags?: {
810
1154
  name: string;
@@ -818,10 +1162,17 @@ export declare const zSurveySchema: z.ZodObject<{
818
1162
  length_min?: number | undefined;
819
1163
  length_max?: number | undefined;
820
1164
  } | {
1165
+ id: string;
1166
+ tenant: string;
821
1167
  type: "options";
822
1168
  options: string[];
823
1169
  surveyId: string;
824
1170
  sectionId: string;
1171
+ ref?: any;
1172
+ model_ver?: number | undefined;
1173
+ created_at?: Date | null | undefined;
1174
+ updated_at?: Date | null | undefined;
1175
+ deleted_at?: Date | null | undefined;
825
1176
  description?: string | undefined;
826
1177
  tags?: {
827
1178
  name: string;
@@ -836,6 +1187,11 @@ export declare const zSurveySchema: z.ZodObject<{
836
1187
  })[];
837
1188
  surveyId: string;
838
1189
  order: number;
1190
+ ref?: any;
1191
+ model_ver?: number | undefined;
1192
+ created_at?: Date | null | undefined;
1193
+ updated_at?: Date | null | undefined;
1194
+ deleted_at?: Date | null | undefined;
839
1195
  question_count?: number | undefined;
840
1196
  }>, "many">>;
841
1197
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -851,18 +1207,42 @@ export declare const zSurveySchema: z.ZodObject<{
851
1207
  hidden: boolean;
852
1208
  color?: string | undefined;
853
1209
  }>, "many">>;
854
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1210
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1211
+ id: z.ZodString;
1212
+ ref: z.ZodAny;
1213
+ tenant: z.ZodString;
1214
+ model_ver: z.ZodOptional<z.ZodNumber>;
1215
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1216
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1217
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1218
+ }, {
855
1219
  name: z.ZodString;
856
1220
  description: z.ZodOptional<z.ZodString>;
857
1221
  status: z.ZodEnum<["draft", "ready", "archived"]>;
858
1222
  permission: z.ZodEnum<["private", "company", "public"]>;
859
1223
  type: z.ZodEnum<["360", "general"]>;
860
- sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1224
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1225
+ id: z.ZodString;
1226
+ ref: z.ZodAny;
1227
+ tenant: z.ZodString;
1228
+ model_ver: z.ZodOptional<z.ZodNumber>;
1229
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1230
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1231
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1232
+ }, {
861
1233
  surveyId: z.ZodString;
862
1234
  name: z.ZodString;
863
1235
  description: z.ZodString;
864
1236
  order: z.ZodNumber;
865
- questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1237
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1238
+ id: z.ZodString;
1239
+ ref: z.ZodAny;
1240
+ tenant: z.ZodString;
1241
+ model_ver: z.ZodOptional<z.ZodNumber>;
1242
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1243
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1244
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1245
+ }, {
866
1246
  surveyId: z.ZodString;
867
1247
  sectionId: z.ZodString;
868
1248
  statement: z.ZodOptional<z.ZodString>;
@@ -884,14 +1264,21 @@ export declare const zSurveySchema: z.ZodObject<{
884
1264
  color?: string | undefined;
885
1265
  }>, "many">>;
886
1266
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
887
- }, {
1267
+ }>, {
888
1268
  type: z.ZodLiteral<"essay">;
889
1269
  length_min: z.ZodOptional<z.ZodNumber>;
890
1270
  length_max: z.ZodOptional<z.ZodNumber>;
891
1271
  }>, "strip", z.ZodTypeAny, {
1272
+ id: string;
1273
+ tenant: string;
892
1274
  type: "essay";
893
1275
  surveyId: string;
894
1276
  sectionId: string;
1277
+ ref?: any;
1278
+ model_ver?: number | undefined;
1279
+ created_at?: Date | null | undefined;
1280
+ updated_at?: Date | null | undefined;
1281
+ deleted_at?: Date | null | undefined;
895
1282
  description?: string | undefined;
896
1283
  tags?: {
897
1284
  name: string;
@@ -905,9 +1292,16 @@ export declare const zSurveySchema: z.ZodObject<{
905
1292
  length_min?: number | undefined;
906
1293
  length_max?: number | undefined;
907
1294
  }, {
1295
+ id: string;
1296
+ tenant: string;
908
1297
  type: "essay";
909
1298
  surveyId: string;
910
1299
  sectionId: string;
1300
+ ref?: any;
1301
+ model_ver?: number | undefined;
1302
+ created_at?: Date | null | undefined;
1303
+ updated_at?: Date | null | undefined;
1304
+ deleted_at?: Date | null | undefined;
911
1305
  description?: string | undefined;
912
1306
  tags?: {
913
1307
  name: string;
@@ -920,7 +1314,15 @@ export declare const zSurveySchema: z.ZodObject<{
920
1314
  required?: boolean | undefined;
921
1315
  length_min?: number | undefined;
922
1316
  length_max?: number | undefined;
923
- }>, z.ZodObject<z.objectUtil.extendShape<{
1317
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1318
+ id: z.ZodString;
1319
+ ref: z.ZodAny;
1320
+ tenant: z.ZodString;
1321
+ model_ver: z.ZodOptional<z.ZodNumber>;
1322
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1323
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1324
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1325
+ }, {
924
1326
  surveyId: z.ZodString;
925
1327
  sectionId: z.ZodString;
926
1328
  statement: z.ZodOptional<z.ZodString>;
@@ -942,15 +1344,22 @@ export declare const zSurveySchema: z.ZodObject<{
942
1344
  color?: string | undefined;
943
1345
  }>, "many">>;
944
1346
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
945
- }, {
1347
+ }>, {
946
1348
  type: z.ZodLiteral<"scale">;
947
1349
  template: z.ZodOptional<z.ZodString>;
948
1350
  scale_min: z.ZodOptional<z.ZodNumber>;
949
1351
  scale_max: z.ZodOptional<z.ZodNumber>;
950
1352
  }>, "strip", z.ZodTypeAny, {
1353
+ id: string;
1354
+ tenant: string;
951
1355
  type: "scale";
952
1356
  surveyId: string;
953
1357
  sectionId: string;
1358
+ ref?: any;
1359
+ model_ver?: number | undefined;
1360
+ created_at?: Date | null | undefined;
1361
+ updated_at?: Date | null | undefined;
1362
+ deleted_at?: Date | null | undefined;
954
1363
  description?: string | undefined;
955
1364
  tags?: {
956
1365
  name: string;
@@ -965,9 +1374,16 @@ export declare const zSurveySchema: z.ZodObject<{
965
1374
  scale_min?: number | undefined;
966
1375
  scale_max?: number | undefined;
967
1376
  }, {
1377
+ id: string;
1378
+ tenant: string;
968
1379
  type: "scale";
969
1380
  surveyId: string;
970
1381
  sectionId: string;
1382
+ ref?: any;
1383
+ model_ver?: number | undefined;
1384
+ created_at?: Date | null | undefined;
1385
+ updated_at?: Date | null | undefined;
1386
+ deleted_at?: Date | null | undefined;
971
1387
  description?: string | undefined;
972
1388
  tags?: {
973
1389
  name: string;
@@ -981,7 +1397,15 @@ export declare const zSurveySchema: z.ZodObject<{
981
1397
  template?: string | undefined;
982
1398
  scale_min?: number | undefined;
983
1399
  scale_max?: number | undefined;
984
- }>, z.ZodObject<z.objectUtil.extendShape<{
1400
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1401
+ id: z.ZodString;
1402
+ ref: z.ZodAny;
1403
+ tenant: z.ZodString;
1404
+ model_ver: z.ZodOptional<z.ZodNumber>;
1405
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1406
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1407
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1408
+ }, {
985
1409
  surveyId: z.ZodString;
986
1410
  sectionId: z.ZodString;
987
1411
  statement: z.ZodOptional<z.ZodString>;
@@ -1003,15 +1427,22 @@ export declare const zSurveySchema: z.ZodObject<{
1003
1427
  color?: string | undefined;
1004
1428
  }>, "many">>;
1005
1429
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1006
- }, {
1430
+ }>, {
1007
1431
  type: z.ZodLiteral<"options">;
1008
1432
  options: z.ZodArray<z.ZodString, "many">;
1009
1433
  allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
1010
1434
  }>, "strip", z.ZodTypeAny, {
1435
+ id: string;
1436
+ tenant: string;
1011
1437
  type: "options";
1012
1438
  options: string[];
1013
1439
  surveyId: string;
1014
1440
  sectionId: string;
1441
+ ref?: any;
1442
+ model_ver?: number | undefined;
1443
+ created_at?: Date | null | undefined;
1444
+ updated_at?: Date | null | undefined;
1445
+ deleted_at?: Date | null | undefined;
1015
1446
  description?: string | undefined;
1016
1447
  tags?: {
1017
1448
  name: string;
@@ -1024,10 +1455,17 @@ export declare const zSurveySchema: z.ZodObject<{
1024
1455
  required?: boolean | undefined;
1025
1456
  allow_multiple_selections?: boolean | undefined;
1026
1457
  }, {
1458
+ id: string;
1459
+ tenant: string;
1027
1460
  type: "options";
1028
1461
  options: string[];
1029
1462
  surveyId: string;
1030
1463
  sectionId: string;
1464
+ ref?: any;
1465
+ model_ver?: number | undefined;
1466
+ created_at?: Date | null | undefined;
1467
+ updated_at?: Date | null | undefined;
1468
+ deleted_at?: Date | null | undefined;
1031
1469
  description?: string | undefined;
1032
1470
  tags?: {
1033
1471
  name: string;
@@ -1041,13 +1479,22 @@ export declare const zSurveySchema: z.ZodObject<{
1041
1479
  allow_multiple_selections?: boolean | undefined;
1042
1480
  }>]>, "many">;
1043
1481
  question_count: z.ZodOptional<z.ZodNumber>;
1044
- }, "strip", z.ZodTypeAny, {
1482
+ }>, "strip", z.ZodTypeAny, {
1483
+ id: string;
1484
+ tenant: string;
1045
1485
  name: string;
1046
1486
  description: string;
1047
1487
  questions: ({
1488
+ id: string;
1489
+ tenant: string;
1048
1490
  type: "scale";
1049
1491
  surveyId: string;
1050
1492
  sectionId: string;
1493
+ ref?: any;
1494
+ model_ver?: number | undefined;
1495
+ created_at?: Date | null | undefined;
1496
+ updated_at?: Date | null | undefined;
1497
+ deleted_at?: Date | null | undefined;
1051
1498
  description?: string | undefined;
1052
1499
  tags?: {
1053
1500
  name: string;
@@ -1062,9 +1509,16 @@ export declare const zSurveySchema: z.ZodObject<{
1062
1509
  scale_min?: number | undefined;
1063
1510
  scale_max?: number | undefined;
1064
1511
  } | {
1512
+ id: string;
1513
+ tenant: string;
1065
1514
  type: "essay";
1066
1515
  surveyId: string;
1067
1516
  sectionId: string;
1517
+ ref?: any;
1518
+ model_ver?: number | undefined;
1519
+ created_at?: Date | null | undefined;
1520
+ updated_at?: Date | null | undefined;
1521
+ deleted_at?: Date | null | undefined;
1068
1522
  description?: string | undefined;
1069
1523
  tags?: {
1070
1524
  name: string;
@@ -1078,10 +1532,17 @@ export declare const zSurveySchema: z.ZodObject<{
1078
1532
  length_min?: number | undefined;
1079
1533
  length_max?: number | undefined;
1080
1534
  } | {
1535
+ id: string;
1536
+ tenant: string;
1081
1537
  type: "options";
1082
1538
  options: string[];
1083
1539
  surveyId: string;
1084
1540
  sectionId: string;
1541
+ ref?: any;
1542
+ model_ver?: number | undefined;
1543
+ created_at?: Date | null | undefined;
1544
+ updated_at?: Date | null | undefined;
1545
+ deleted_at?: Date | null | undefined;
1085
1546
  description?: string | undefined;
1086
1547
  tags?: {
1087
1548
  name: string;
@@ -1096,14 +1557,28 @@ export declare const zSurveySchema: z.ZodObject<{
1096
1557
  })[];
1097
1558
  surveyId: string;
1098
1559
  order: number;
1560
+ ref?: any;
1561
+ model_ver?: number | undefined;
1562
+ created_at?: Date | null | undefined;
1563
+ updated_at?: Date | null | undefined;
1564
+ deleted_at?: Date | null | undefined;
1099
1565
  question_count?: number | undefined;
1100
1566
  }, {
1567
+ id: string;
1568
+ tenant: string;
1101
1569
  name: string;
1102
1570
  description: string;
1103
1571
  questions: ({
1572
+ id: string;
1573
+ tenant: string;
1104
1574
  type: "scale";
1105
1575
  surveyId: string;
1106
1576
  sectionId: string;
1577
+ ref?: any;
1578
+ model_ver?: number | undefined;
1579
+ created_at?: Date | null | undefined;
1580
+ updated_at?: Date | null | undefined;
1581
+ deleted_at?: Date | null | undefined;
1107
1582
  description?: string | undefined;
1108
1583
  tags?: {
1109
1584
  name: string;
@@ -1118,9 +1593,16 @@ export declare const zSurveySchema: z.ZodObject<{
1118
1593
  scale_min?: number | undefined;
1119
1594
  scale_max?: number | undefined;
1120
1595
  } | {
1596
+ id: string;
1597
+ tenant: string;
1121
1598
  type: "essay";
1122
1599
  surveyId: string;
1123
1600
  sectionId: string;
1601
+ ref?: any;
1602
+ model_ver?: number | undefined;
1603
+ created_at?: Date | null | undefined;
1604
+ updated_at?: Date | null | undefined;
1605
+ deleted_at?: Date | null | undefined;
1124
1606
  description?: string | undefined;
1125
1607
  tags?: {
1126
1608
  name: string;
@@ -1134,10 +1616,17 @@ export declare const zSurveySchema: z.ZodObject<{
1134
1616
  length_min?: number | undefined;
1135
1617
  length_max?: number | undefined;
1136
1618
  } | {
1619
+ id: string;
1620
+ tenant: string;
1137
1621
  type: "options";
1138
1622
  options: string[];
1139
1623
  surveyId: string;
1140
1624
  sectionId: string;
1625
+ ref?: any;
1626
+ model_ver?: number | undefined;
1627
+ created_at?: Date | null | undefined;
1628
+ updated_at?: Date | null | undefined;
1629
+ deleted_at?: Date | null | undefined;
1141
1630
  description?: string | undefined;
1142
1631
  tags?: {
1143
1632
  name: string;
@@ -1152,6 +1641,11 @@ export declare const zSurveySchema: z.ZodObject<{
1152
1641
  })[];
1153
1642
  surveyId: string;
1154
1643
  order: number;
1644
+ ref?: any;
1645
+ model_ver?: number | undefined;
1646
+ created_at?: Date | null | undefined;
1647
+ updated_at?: Date | null | undefined;
1648
+ deleted_at?: Date | null | undefined;
1155
1649
  question_count?: number | undefined;
1156
1650
  }>, "many">>;
1157
1651
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1167,18 +1661,42 @@ export declare const zSurveySchema: z.ZodObject<{
1167
1661
  hidden: boolean;
1168
1662
  color?: string | undefined;
1169
1663
  }>, "many">>;
1170
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1664
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
1665
+ id: z.ZodString;
1666
+ ref: z.ZodAny;
1667
+ tenant: z.ZodString;
1668
+ model_ver: z.ZodOptional<z.ZodNumber>;
1669
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1670
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1671
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1672
+ }, {
1171
1673
  name: z.ZodString;
1172
1674
  description: z.ZodOptional<z.ZodString>;
1173
1675
  status: z.ZodEnum<["draft", "ready", "archived"]>;
1174
1676
  permission: z.ZodEnum<["private", "company", "public"]>;
1175
1677
  type: z.ZodEnum<["360", "general"]>;
1176
- sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1678
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1679
+ id: z.ZodString;
1680
+ ref: z.ZodAny;
1681
+ tenant: z.ZodString;
1682
+ model_ver: z.ZodOptional<z.ZodNumber>;
1683
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1684
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1685
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1686
+ }, {
1177
1687
  surveyId: z.ZodString;
1178
1688
  name: z.ZodString;
1179
1689
  description: z.ZodString;
1180
1690
  order: z.ZodNumber;
1181
- questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1691
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1692
+ id: z.ZodString;
1693
+ ref: z.ZodAny;
1694
+ tenant: z.ZodString;
1695
+ model_ver: z.ZodOptional<z.ZodNumber>;
1696
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1697
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1698
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1699
+ }, {
1182
1700
  surveyId: z.ZodString;
1183
1701
  sectionId: z.ZodString;
1184
1702
  statement: z.ZodOptional<z.ZodString>;
@@ -1200,14 +1718,21 @@ export declare const zSurveySchema: z.ZodObject<{
1200
1718
  color?: string | undefined;
1201
1719
  }>, "many">>;
1202
1720
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1203
- }, {
1721
+ }>, {
1204
1722
  type: z.ZodLiteral<"essay">;
1205
1723
  length_min: z.ZodOptional<z.ZodNumber>;
1206
1724
  length_max: z.ZodOptional<z.ZodNumber>;
1207
1725
  }>, "strip", z.ZodTypeAny, {
1726
+ id: string;
1727
+ tenant: string;
1208
1728
  type: "essay";
1209
1729
  surveyId: string;
1210
1730
  sectionId: string;
1731
+ ref?: any;
1732
+ model_ver?: number | undefined;
1733
+ created_at?: Date | null | undefined;
1734
+ updated_at?: Date | null | undefined;
1735
+ deleted_at?: Date | null | undefined;
1211
1736
  description?: string | undefined;
1212
1737
  tags?: {
1213
1738
  name: string;
@@ -1221,9 +1746,16 @@ export declare const zSurveySchema: z.ZodObject<{
1221
1746
  length_min?: number | undefined;
1222
1747
  length_max?: number | undefined;
1223
1748
  }, {
1749
+ id: string;
1750
+ tenant: string;
1224
1751
  type: "essay";
1225
1752
  surveyId: string;
1226
1753
  sectionId: string;
1754
+ ref?: any;
1755
+ model_ver?: number | undefined;
1756
+ created_at?: Date | null | undefined;
1757
+ updated_at?: Date | null | undefined;
1758
+ deleted_at?: Date | null | undefined;
1227
1759
  description?: string | undefined;
1228
1760
  tags?: {
1229
1761
  name: string;
@@ -1236,7 +1768,15 @@ export declare const zSurveySchema: z.ZodObject<{
1236
1768
  required?: boolean | undefined;
1237
1769
  length_min?: number | undefined;
1238
1770
  length_max?: number | undefined;
1239
- }>, z.ZodObject<z.objectUtil.extendShape<{
1771
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1772
+ id: z.ZodString;
1773
+ ref: z.ZodAny;
1774
+ tenant: z.ZodString;
1775
+ model_ver: z.ZodOptional<z.ZodNumber>;
1776
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1777
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1778
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1779
+ }, {
1240
1780
  surveyId: z.ZodString;
1241
1781
  sectionId: z.ZodString;
1242
1782
  statement: z.ZodOptional<z.ZodString>;
@@ -1258,15 +1798,22 @@ export declare const zSurveySchema: z.ZodObject<{
1258
1798
  color?: string | undefined;
1259
1799
  }>, "many">>;
1260
1800
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1261
- }, {
1801
+ }>, {
1262
1802
  type: z.ZodLiteral<"scale">;
1263
1803
  template: z.ZodOptional<z.ZodString>;
1264
1804
  scale_min: z.ZodOptional<z.ZodNumber>;
1265
1805
  scale_max: z.ZodOptional<z.ZodNumber>;
1266
1806
  }>, "strip", z.ZodTypeAny, {
1807
+ id: string;
1808
+ tenant: string;
1267
1809
  type: "scale";
1268
1810
  surveyId: string;
1269
1811
  sectionId: string;
1812
+ ref?: any;
1813
+ model_ver?: number | undefined;
1814
+ created_at?: Date | null | undefined;
1815
+ updated_at?: Date | null | undefined;
1816
+ deleted_at?: Date | null | undefined;
1270
1817
  description?: string | undefined;
1271
1818
  tags?: {
1272
1819
  name: string;
@@ -1281,9 +1828,16 @@ export declare const zSurveySchema: z.ZodObject<{
1281
1828
  scale_min?: number | undefined;
1282
1829
  scale_max?: number | undefined;
1283
1830
  }, {
1831
+ id: string;
1832
+ tenant: string;
1284
1833
  type: "scale";
1285
1834
  surveyId: string;
1286
1835
  sectionId: string;
1836
+ ref?: any;
1837
+ model_ver?: number | undefined;
1838
+ created_at?: Date | null | undefined;
1839
+ updated_at?: Date | null | undefined;
1840
+ deleted_at?: Date | null | undefined;
1287
1841
  description?: string | undefined;
1288
1842
  tags?: {
1289
1843
  name: string;
@@ -1297,7 +1851,15 @@ export declare const zSurveySchema: z.ZodObject<{
1297
1851
  template?: string | undefined;
1298
1852
  scale_min?: number | undefined;
1299
1853
  scale_max?: number | undefined;
1300
- }>, z.ZodObject<z.objectUtil.extendShape<{
1854
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1855
+ id: z.ZodString;
1856
+ ref: z.ZodAny;
1857
+ tenant: z.ZodString;
1858
+ model_ver: z.ZodOptional<z.ZodNumber>;
1859
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1860
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1861
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1862
+ }, {
1301
1863
  surveyId: z.ZodString;
1302
1864
  sectionId: z.ZodString;
1303
1865
  statement: z.ZodOptional<z.ZodString>;
@@ -1319,15 +1881,22 @@ export declare const zSurveySchema: z.ZodObject<{
1319
1881
  color?: string | undefined;
1320
1882
  }>, "many">>;
1321
1883
  type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
1322
- }, {
1884
+ }>, {
1323
1885
  type: z.ZodLiteral<"options">;
1324
1886
  options: z.ZodArray<z.ZodString, "many">;
1325
1887
  allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
1326
1888
  }>, "strip", z.ZodTypeAny, {
1889
+ id: string;
1890
+ tenant: string;
1327
1891
  type: "options";
1328
1892
  options: string[];
1329
1893
  surveyId: string;
1330
1894
  sectionId: string;
1895
+ ref?: any;
1896
+ model_ver?: number | undefined;
1897
+ created_at?: Date | null | undefined;
1898
+ updated_at?: Date | null | undefined;
1899
+ deleted_at?: Date | null | undefined;
1331
1900
  description?: string | undefined;
1332
1901
  tags?: {
1333
1902
  name: string;
@@ -1340,10 +1909,17 @@ export declare const zSurveySchema: z.ZodObject<{
1340
1909
  required?: boolean | undefined;
1341
1910
  allow_multiple_selections?: boolean | undefined;
1342
1911
  }, {
1912
+ id: string;
1913
+ tenant: string;
1343
1914
  type: "options";
1344
1915
  options: string[];
1345
1916
  surveyId: string;
1346
1917
  sectionId: string;
1918
+ ref?: any;
1919
+ model_ver?: number | undefined;
1920
+ created_at?: Date | null | undefined;
1921
+ updated_at?: Date | null | undefined;
1922
+ deleted_at?: Date | null | undefined;
1347
1923
  description?: string | undefined;
1348
1924
  tags?: {
1349
1925
  name: string;
@@ -1357,13 +1933,22 @@ export declare const zSurveySchema: z.ZodObject<{
1357
1933
  allow_multiple_selections?: boolean | undefined;
1358
1934
  }>]>, "many">;
1359
1935
  question_count: z.ZodOptional<z.ZodNumber>;
1360
- }, "strip", z.ZodTypeAny, {
1936
+ }>, "strip", z.ZodTypeAny, {
1937
+ id: string;
1938
+ tenant: string;
1361
1939
  name: string;
1362
1940
  description: string;
1363
1941
  questions: ({
1942
+ id: string;
1943
+ tenant: string;
1364
1944
  type: "scale";
1365
1945
  surveyId: string;
1366
1946
  sectionId: string;
1947
+ ref?: any;
1948
+ model_ver?: number | undefined;
1949
+ created_at?: Date | null | undefined;
1950
+ updated_at?: Date | null | undefined;
1951
+ deleted_at?: Date | null | undefined;
1367
1952
  description?: string | undefined;
1368
1953
  tags?: {
1369
1954
  name: string;
@@ -1378,9 +1963,16 @@ export declare const zSurveySchema: z.ZodObject<{
1378
1963
  scale_min?: number | undefined;
1379
1964
  scale_max?: number | undefined;
1380
1965
  } | {
1966
+ id: string;
1967
+ tenant: string;
1381
1968
  type: "essay";
1382
1969
  surveyId: string;
1383
1970
  sectionId: string;
1971
+ ref?: any;
1972
+ model_ver?: number | undefined;
1973
+ created_at?: Date | null | undefined;
1974
+ updated_at?: Date | null | undefined;
1975
+ deleted_at?: Date | null | undefined;
1384
1976
  description?: string | undefined;
1385
1977
  tags?: {
1386
1978
  name: string;
@@ -1394,10 +1986,17 @@ export declare const zSurveySchema: z.ZodObject<{
1394
1986
  length_min?: number | undefined;
1395
1987
  length_max?: number | undefined;
1396
1988
  } | {
1989
+ id: string;
1990
+ tenant: string;
1397
1991
  type: "options";
1398
1992
  options: string[];
1399
1993
  surveyId: string;
1400
1994
  sectionId: string;
1995
+ ref?: any;
1996
+ model_ver?: number | undefined;
1997
+ created_at?: Date | null | undefined;
1998
+ updated_at?: Date | null | undefined;
1999
+ deleted_at?: Date | null | undefined;
1401
2000
  description?: string | undefined;
1402
2001
  tags?: {
1403
2002
  name: string;
@@ -1412,14 +2011,28 @@ export declare const zSurveySchema: z.ZodObject<{
1412
2011
  })[];
1413
2012
  surveyId: string;
1414
2013
  order: number;
2014
+ ref?: any;
2015
+ model_ver?: number | undefined;
2016
+ created_at?: Date | null | undefined;
2017
+ updated_at?: Date | null | undefined;
2018
+ deleted_at?: Date | null | undefined;
1415
2019
  question_count?: number | undefined;
1416
2020
  }, {
2021
+ id: string;
2022
+ tenant: string;
1417
2023
  name: string;
1418
2024
  description: string;
1419
2025
  questions: ({
2026
+ id: string;
2027
+ tenant: string;
1420
2028
  type: "scale";
1421
2029
  surveyId: string;
1422
2030
  sectionId: string;
2031
+ ref?: any;
2032
+ model_ver?: number | undefined;
2033
+ created_at?: Date | null | undefined;
2034
+ updated_at?: Date | null | undefined;
2035
+ deleted_at?: Date | null | undefined;
1423
2036
  description?: string | undefined;
1424
2037
  tags?: {
1425
2038
  name: string;
@@ -1434,9 +2047,16 @@ export declare const zSurveySchema: z.ZodObject<{
1434
2047
  scale_min?: number | undefined;
1435
2048
  scale_max?: number | undefined;
1436
2049
  } | {
2050
+ id: string;
2051
+ tenant: string;
1437
2052
  type: "essay";
1438
2053
  surveyId: string;
1439
2054
  sectionId: string;
2055
+ ref?: any;
2056
+ model_ver?: number | undefined;
2057
+ created_at?: Date | null | undefined;
2058
+ updated_at?: Date | null | undefined;
2059
+ deleted_at?: Date | null | undefined;
1440
2060
  description?: string | undefined;
1441
2061
  tags?: {
1442
2062
  name: string;
@@ -1450,10 +2070,17 @@ export declare const zSurveySchema: z.ZodObject<{
1450
2070
  length_min?: number | undefined;
1451
2071
  length_max?: number | undefined;
1452
2072
  } | {
2073
+ id: string;
2074
+ tenant: string;
1453
2075
  type: "options";
1454
2076
  options: string[];
1455
2077
  surveyId: string;
1456
2078
  sectionId: string;
2079
+ ref?: any;
2080
+ model_ver?: number | undefined;
2081
+ created_at?: Date | null | undefined;
2082
+ updated_at?: Date | null | undefined;
2083
+ deleted_at?: Date | null | undefined;
1457
2084
  description?: string | undefined;
1458
2085
  tags?: {
1459
2086
  name: string;
@@ -1468,6 +2095,11 @@ export declare const zSurveySchema: z.ZodObject<{
1468
2095
  })[];
1469
2096
  surveyId: string;
1470
2097
  order: number;
2098
+ ref?: any;
2099
+ model_ver?: number | undefined;
2100
+ created_at?: Date | null | undefined;
2101
+ updated_at?: Date | null | undefined;
2102
+ deleted_at?: Date | null | undefined;
1471
2103
  question_count?: number | undefined;
1472
2104
  }>, "many">>;
1473
2105
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1483,17 +2115,2739 @@ export declare const zSurveySchema: z.ZodObject<{
1483
2115
  hidden: boolean;
1484
2116
  color?: string | undefined;
1485
2117
  }>, "many">>;
1486
- }, z.ZodTypeAny, "passthrough">>;
1487
- export declare const zSurveyResponseSchema: z.ZodObject<{
2118
+ }>, z.ZodTypeAny, "passthrough">>;
2119
+ export declare const zSurveyResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
2120
+ id: z.ZodString;
2121
+ ref: z.ZodAny;
2122
+ tenant: z.ZodString;
2123
+ model_ver: z.ZodOptional<z.ZodNumber>;
2124
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2125
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2126
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2127
+ }, {
1488
2128
  question_id: z.ZodString;
1489
2129
  answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1490
2130
  date: z.ZodDate;
1491
- }, "strip", z.ZodTypeAny, {
2131
+ }>, "strip", z.ZodTypeAny, {
2132
+ id: string;
2133
+ tenant: string;
1492
2134
  question_id: string;
1493
2135
  answer: string | string[];
1494
2136
  date: Date;
2137
+ ref?: any;
2138
+ model_ver?: number | undefined;
2139
+ created_at?: Date | null | undefined;
2140
+ updated_at?: Date | null | undefined;
2141
+ deleted_at?: Date | null | undefined;
1495
2142
  }, {
2143
+ id: string;
2144
+ tenant: string;
1496
2145
  question_id: string;
1497
2146
  answer: string | string[];
1498
2147
  date: Date;
2148
+ ref?: any;
2149
+ model_ver?: number | undefined;
2150
+ created_at?: Date | null | undefined;
2151
+ updated_at?: Date | null | undefined;
2152
+ deleted_at?: Date | null | undefined;
2153
+ }>;
2154
+ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendShape<{
2155
+ id: z.ZodString;
2156
+ ref: z.ZodAny;
2157
+ tenant: z.ZodString;
2158
+ model_ver: z.ZodOptional<z.ZodNumber>;
2159
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2160
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2161
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2162
+ }, {
2163
+ deploymentId: z.ZodOptional<z.ZodString>;
2164
+ submission_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2165
+ status: z.ZodEnum<["not_started", "in_progress", "completed"]>;
2166
+ modified_after_completion: z.ZodBoolean;
2167
+ inviteeId: z.ZodOptional<z.ZodString>;
2168
+ user_name: z.ZodOptional<z.ZodString>;
2169
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2170
+ id: z.ZodString;
2171
+ ref: z.ZodAny;
2172
+ tenant: z.ZodString;
2173
+ model_ver: z.ZodOptional<z.ZodNumber>;
2174
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2175
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2176
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2177
+ }, {
2178
+ question_id: z.ZodString;
2179
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2180
+ date: z.ZodDate;
2181
+ }>, "strip", z.ZodTypeAny, {
2182
+ id: string;
2183
+ tenant: string;
2184
+ question_id: string;
2185
+ answer: string | string[];
2186
+ date: Date;
2187
+ ref?: any;
2188
+ model_ver?: number | undefined;
2189
+ created_at?: Date | null | undefined;
2190
+ updated_at?: Date | null | undefined;
2191
+ deleted_at?: Date | null | undefined;
2192
+ }, {
2193
+ id: string;
2194
+ tenant: string;
2195
+ question_id: string;
2196
+ answer: string | string[];
2197
+ date: Date;
2198
+ ref?: any;
2199
+ model_ver?: number | undefined;
2200
+ created_at?: Date | null | undefined;
2201
+ updated_at?: Date | null | undefined;
2202
+ deleted_at?: Date | null | undefined;
2203
+ }>, "many">>;
2204
+ }>, "strip", z.ZodTypeAny, {
2205
+ id: string;
2206
+ tenant: string;
2207
+ status: "not_started" | "in_progress" | "completed";
2208
+ modified_after_completion: boolean;
2209
+ ref?: any;
2210
+ model_ver?: number | undefined;
2211
+ created_at?: Date | null | undefined;
2212
+ updated_at?: Date | null | undefined;
2213
+ deleted_at?: Date | null | undefined;
2214
+ deploymentId?: string | undefined;
2215
+ submission_date?: Date | null | undefined;
2216
+ inviteeId?: string | undefined;
2217
+ user_name?: string | undefined;
2218
+ responses?: {
2219
+ id: string;
2220
+ tenant: string;
2221
+ question_id: string;
2222
+ answer: string | string[];
2223
+ date: Date;
2224
+ ref?: any;
2225
+ model_ver?: number | undefined;
2226
+ created_at?: Date | null | undefined;
2227
+ updated_at?: Date | null | undefined;
2228
+ deleted_at?: Date | null | undefined;
2229
+ }[] | undefined;
2230
+ }, {
2231
+ id: string;
2232
+ tenant: string;
2233
+ status: "not_started" | "in_progress" | "completed";
2234
+ modified_after_completion: boolean;
2235
+ ref?: any;
2236
+ model_ver?: number | undefined;
2237
+ created_at?: Date | null | undefined;
2238
+ updated_at?: Date | null | undefined;
2239
+ deleted_at?: Date | null | undefined;
2240
+ deploymentId?: string | undefined;
2241
+ submission_date?: Date | null | undefined;
2242
+ inviteeId?: string | undefined;
2243
+ user_name?: string | undefined;
2244
+ responses?: {
2245
+ id: string;
2246
+ tenant: string;
2247
+ question_id: string;
2248
+ answer: string | string[];
2249
+ date: Date;
2250
+ ref?: any;
2251
+ model_ver?: number | undefined;
2252
+ created_at?: Date | null | undefined;
2253
+ updated_at?: Date | null | undefined;
2254
+ deleted_at?: Date | null | undefined;
2255
+ }[] | undefined;
2256
+ }>;
2257
+ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<{
2258
+ id: z.ZodString;
2259
+ ref: z.ZodAny;
2260
+ tenant: z.ZodString;
2261
+ model_ver: z.ZodOptional<z.ZodNumber>;
2262
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2263
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2264
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2265
+ }, {
2266
+ name: z.ZodString;
2267
+ email: z.ZodOptional<z.ZodString>;
2268
+ phone: z.ZodOptional<z.ZodString>;
2269
+ responded: z.ZodBoolean;
2270
+ }>, "strip", z.ZodTypeAny, {
2271
+ id: string;
2272
+ tenant: string;
2273
+ name: string;
2274
+ responded: boolean;
2275
+ ref?: any;
2276
+ model_ver?: number | undefined;
2277
+ created_at?: Date | null | undefined;
2278
+ updated_at?: Date | null | undefined;
2279
+ deleted_at?: Date | null | undefined;
2280
+ email?: string | undefined;
2281
+ phone?: string | undefined;
2282
+ }, {
2283
+ id: string;
2284
+ tenant: string;
2285
+ name: string;
2286
+ responded: boolean;
2287
+ ref?: any;
2288
+ model_ver?: number | undefined;
2289
+ created_at?: Date | null | undefined;
2290
+ updated_at?: Date | null | undefined;
2291
+ deleted_at?: Date | null | undefined;
2292
+ email?: string | undefined;
2293
+ phone?: string | undefined;
2294
+ }>;
2295
+ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendShape<{
2296
+ id: z.ZodString;
2297
+ ref: z.ZodAny;
2298
+ tenant: z.ZodString;
2299
+ model_ver: z.ZodOptional<z.ZodNumber>;
2300
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2301
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2302
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2303
+ }, {
2304
+ name: z.ZodString;
2305
+ description: z.ZodOptional<z.ZodString>;
2306
+ surveySourceRef: z.ZodAny;
2307
+ survey: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
2308
+ id: z.ZodString;
2309
+ ref: z.ZodAny;
2310
+ tenant: z.ZodString;
2311
+ model_ver: z.ZodOptional<z.ZodNumber>;
2312
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2313
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2314
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2315
+ }, {
2316
+ name: z.ZodString;
2317
+ description: z.ZodOptional<z.ZodString>;
2318
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
2319
+ permission: z.ZodEnum<["private", "company", "public"]>;
2320
+ type: z.ZodEnum<["360", "general"]>;
2321
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2322
+ id: z.ZodString;
2323
+ ref: z.ZodAny;
2324
+ tenant: z.ZodString;
2325
+ model_ver: z.ZodOptional<z.ZodNumber>;
2326
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2327
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2328
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2329
+ }, {
2330
+ surveyId: z.ZodString;
2331
+ name: z.ZodString;
2332
+ description: z.ZodString;
2333
+ order: z.ZodNumber;
2334
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2335
+ id: z.ZodString;
2336
+ ref: z.ZodAny;
2337
+ tenant: z.ZodString;
2338
+ model_ver: z.ZodOptional<z.ZodNumber>;
2339
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2340
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2341
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2342
+ }, {
2343
+ surveyId: z.ZodString;
2344
+ sectionId: z.ZodString;
2345
+ statement: z.ZodOptional<z.ZodString>;
2346
+ description: z.ZodOptional<z.ZodString>;
2347
+ description_text: z.ZodOptional<z.ZodString>;
2348
+ order: z.ZodOptional<z.ZodNumber>;
2349
+ required: z.ZodOptional<z.ZodBoolean>;
2350
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2351
+ name: z.ZodString;
2352
+ color: z.ZodOptional<z.ZodString>;
2353
+ hidden: z.ZodBoolean;
2354
+ }, "strip", z.ZodTypeAny, {
2355
+ name: string;
2356
+ hidden: boolean;
2357
+ color?: string | undefined;
2358
+ }, {
2359
+ name: string;
2360
+ hidden: boolean;
2361
+ color?: string | undefined;
2362
+ }>, "many">>;
2363
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
2364
+ }>, {
2365
+ type: z.ZodLiteral<"essay">;
2366
+ length_min: z.ZodOptional<z.ZodNumber>;
2367
+ length_max: z.ZodOptional<z.ZodNumber>;
2368
+ }>, "strip", z.ZodTypeAny, {
2369
+ id: string;
2370
+ tenant: string;
2371
+ type: "essay";
2372
+ surveyId: string;
2373
+ sectionId: string;
2374
+ ref?: any;
2375
+ model_ver?: number | undefined;
2376
+ created_at?: Date | null | undefined;
2377
+ updated_at?: Date | null | undefined;
2378
+ deleted_at?: Date | null | undefined;
2379
+ description?: string | undefined;
2380
+ tags?: {
2381
+ name: string;
2382
+ hidden: boolean;
2383
+ color?: string | undefined;
2384
+ }[] | undefined;
2385
+ statement?: string | undefined;
2386
+ description_text?: string | undefined;
2387
+ order?: number | undefined;
2388
+ required?: boolean | undefined;
2389
+ length_min?: number | undefined;
2390
+ length_max?: number | undefined;
2391
+ }, {
2392
+ id: string;
2393
+ tenant: string;
2394
+ type: "essay";
2395
+ surveyId: string;
2396
+ sectionId: string;
2397
+ ref?: any;
2398
+ model_ver?: number | undefined;
2399
+ created_at?: Date | null | undefined;
2400
+ updated_at?: Date | null | undefined;
2401
+ deleted_at?: Date | null | undefined;
2402
+ description?: string | undefined;
2403
+ tags?: {
2404
+ name: string;
2405
+ hidden: boolean;
2406
+ color?: string | undefined;
2407
+ }[] | undefined;
2408
+ statement?: string | undefined;
2409
+ description_text?: string | undefined;
2410
+ order?: number | undefined;
2411
+ required?: boolean | undefined;
2412
+ length_min?: number | undefined;
2413
+ length_max?: number | undefined;
2414
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2415
+ id: z.ZodString;
2416
+ ref: z.ZodAny;
2417
+ tenant: z.ZodString;
2418
+ model_ver: z.ZodOptional<z.ZodNumber>;
2419
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2420
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2421
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2422
+ }, {
2423
+ surveyId: z.ZodString;
2424
+ sectionId: z.ZodString;
2425
+ statement: z.ZodOptional<z.ZodString>;
2426
+ description: z.ZodOptional<z.ZodString>;
2427
+ description_text: z.ZodOptional<z.ZodString>;
2428
+ order: z.ZodOptional<z.ZodNumber>;
2429
+ required: z.ZodOptional<z.ZodBoolean>;
2430
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2431
+ name: z.ZodString;
2432
+ color: z.ZodOptional<z.ZodString>;
2433
+ hidden: z.ZodBoolean;
2434
+ }, "strip", z.ZodTypeAny, {
2435
+ name: string;
2436
+ hidden: boolean;
2437
+ color?: string | undefined;
2438
+ }, {
2439
+ name: string;
2440
+ hidden: boolean;
2441
+ color?: string | undefined;
2442
+ }>, "many">>;
2443
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
2444
+ }>, {
2445
+ type: z.ZodLiteral<"scale">;
2446
+ template: z.ZodOptional<z.ZodString>;
2447
+ scale_min: z.ZodOptional<z.ZodNumber>;
2448
+ scale_max: z.ZodOptional<z.ZodNumber>;
2449
+ }>, "strip", z.ZodTypeAny, {
2450
+ id: string;
2451
+ tenant: string;
2452
+ type: "scale";
2453
+ surveyId: string;
2454
+ sectionId: string;
2455
+ ref?: any;
2456
+ model_ver?: number | undefined;
2457
+ created_at?: Date | null | undefined;
2458
+ updated_at?: Date | null | undefined;
2459
+ deleted_at?: Date | null | undefined;
2460
+ description?: string | undefined;
2461
+ tags?: {
2462
+ name: string;
2463
+ hidden: boolean;
2464
+ color?: string | undefined;
2465
+ }[] | undefined;
2466
+ statement?: string | undefined;
2467
+ description_text?: string | undefined;
2468
+ order?: number | undefined;
2469
+ required?: boolean | undefined;
2470
+ template?: string | undefined;
2471
+ scale_min?: number | undefined;
2472
+ scale_max?: number | undefined;
2473
+ }, {
2474
+ id: string;
2475
+ tenant: string;
2476
+ type: "scale";
2477
+ surveyId: string;
2478
+ sectionId: string;
2479
+ ref?: any;
2480
+ model_ver?: number | undefined;
2481
+ created_at?: Date | null | undefined;
2482
+ updated_at?: Date | null | undefined;
2483
+ deleted_at?: Date | null | undefined;
2484
+ description?: string | undefined;
2485
+ tags?: {
2486
+ name: string;
2487
+ hidden: boolean;
2488
+ color?: string | undefined;
2489
+ }[] | undefined;
2490
+ statement?: string | undefined;
2491
+ description_text?: string | undefined;
2492
+ order?: number | undefined;
2493
+ required?: boolean | undefined;
2494
+ template?: string | undefined;
2495
+ scale_min?: number | undefined;
2496
+ scale_max?: number | undefined;
2497
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2498
+ id: z.ZodString;
2499
+ ref: z.ZodAny;
2500
+ tenant: z.ZodString;
2501
+ model_ver: z.ZodOptional<z.ZodNumber>;
2502
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2503
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2504
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2505
+ }, {
2506
+ surveyId: z.ZodString;
2507
+ sectionId: z.ZodString;
2508
+ statement: z.ZodOptional<z.ZodString>;
2509
+ description: z.ZodOptional<z.ZodString>;
2510
+ description_text: z.ZodOptional<z.ZodString>;
2511
+ order: z.ZodOptional<z.ZodNumber>;
2512
+ required: z.ZodOptional<z.ZodBoolean>;
2513
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2514
+ name: z.ZodString;
2515
+ color: z.ZodOptional<z.ZodString>;
2516
+ hidden: z.ZodBoolean;
2517
+ }, "strip", z.ZodTypeAny, {
2518
+ name: string;
2519
+ hidden: boolean;
2520
+ color?: string | undefined;
2521
+ }, {
2522
+ name: string;
2523
+ hidden: boolean;
2524
+ color?: string | undefined;
2525
+ }>, "many">>;
2526
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
2527
+ }>, {
2528
+ type: z.ZodLiteral<"options">;
2529
+ options: z.ZodArray<z.ZodString, "many">;
2530
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
2531
+ }>, "strip", z.ZodTypeAny, {
2532
+ id: string;
2533
+ tenant: string;
2534
+ type: "options";
2535
+ options: string[];
2536
+ surveyId: string;
2537
+ sectionId: string;
2538
+ ref?: any;
2539
+ model_ver?: number | undefined;
2540
+ created_at?: Date | null | undefined;
2541
+ updated_at?: Date | null | undefined;
2542
+ deleted_at?: Date | null | undefined;
2543
+ description?: string | undefined;
2544
+ tags?: {
2545
+ name: string;
2546
+ hidden: boolean;
2547
+ color?: string | undefined;
2548
+ }[] | undefined;
2549
+ statement?: string | undefined;
2550
+ description_text?: string | undefined;
2551
+ order?: number | undefined;
2552
+ required?: boolean | undefined;
2553
+ allow_multiple_selections?: boolean | undefined;
2554
+ }, {
2555
+ id: string;
2556
+ tenant: string;
2557
+ type: "options";
2558
+ options: string[];
2559
+ surveyId: string;
2560
+ sectionId: string;
2561
+ ref?: any;
2562
+ model_ver?: number | undefined;
2563
+ created_at?: Date | null | undefined;
2564
+ updated_at?: Date | null | undefined;
2565
+ deleted_at?: Date | null | undefined;
2566
+ description?: string | undefined;
2567
+ tags?: {
2568
+ name: string;
2569
+ hidden: boolean;
2570
+ color?: string | undefined;
2571
+ }[] | undefined;
2572
+ statement?: string | undefined;
2573
+ description_text?: string | undefined;
2574
+ order?: number | undefined;
2575
+ required?: boolean | undefined;
2576
+ allow_multiple_selections?: boolean | undefined;
2577
+ }>]>, "many">;
2578
+ question_count: z.ZodOptional<z.ZodNumber>;
2579
+ }>, "strip", z.ZodTypeAny, {
2580
+ id: string;
2581
+ tenant: string;
2582
+ name: string;
2583
+ description: string;
2584
+ questions: ({
2585
+ id: string;
2586
+ tenant: string;
2587
+ type: "scale";
2588
+ surveyId: string;
2589
+ sectionId: string;
2590
+ ref?: any;
2591
+ model_ver?: number | undefined;
2592
+ created_at?: Date | null | undefined;
2593
+ updated_at?: Date | null | undefined;
2594
+ deleted_at?: Date | null | undefined;
2595
+ description?: string | undefined;
2596
+ tags?: {
2597
+ name: string;
2598
+ hidden: boolean;
2599
+ color?: string | undefined;
2600
+ }[] | undefined;
2601
+ statement?: string | undefined;
2602
+ description_text?: string | undefined;
2603
+ order?: number | undefined;
2604
+ required?: boolean | undefined;
2605
+ template?: string | undefined;
2606
+ scale_min?: number | undefined;
2607
+ scale_max?: number | undefined;
2608
+ } | {
2609
+ id: string;
2610
+ tenant: string;
2611
+ type: "essay";
2612
+ surveyId: string;
2613
+ sectionId: string;
2614
+ ref?: any;
2615
+ model_ver?: number | undefined;
2616
+ created_at?: Date | null | undefined;
2617
+ updated_at?: Date | null | undefined;
2618
+ deleted_at?: Date | null | undefined;
2619
+ description?: string | undefined;
2620
+ tags?: {
2621
+ name: string;
2622
+ hidden: boolean;
2623
+ color?: string | undefined;
2624
+ }[] | undefined;
2625
+ statement?: string | undefined;
2626
+ description_text?: string | undefined;
2627
+ order?: number | undefined;
2628
+ required?: boolean | undefined;
2629
+ length_min?: number | undefined;
2630
+ length_max?: number | undefined;
2631
+ } | {
2632
+ id: string;
2633
+ tenant: string;
2634
+ type: "options";
2635
+ options: string[];
2636
+ surveyId: string;
2637
+ sectionId: string;
2638
+ ref?: any;
2639
+ model_ver?: number | undefined;
2640
+ created_at?: Date | null | undefined;
2641
+ updated_at?: Date | null | undefined;
2642
+ deleted_at?: Date | null | undefined;
2643
+ description?: string | undefined;
2644
+ tags?: {
2645
+ name: string;
2646
+ hidden: boolean;
2647
+ color?: string | undefined;
2648
+ }[] | undefined;
2649
+ statement?: string | undefined;
2650
+ description_text?: string | undefined;
2651
+ order?: number | undefined;
2652
+ required?: boolean | undefined;
2653
+ allow_multiple_selections?: boolean | undefined;
2654
+ })[];
2655
+ surveyId: string;
2656
+ order: number;
2657
+ ref?: any;
2658
+ model_ver?: number | undefined;
2659
+ created_at?: Date | null | undefined;
2660
+ updated_at?: Date | null | undefined;
2661
+ deleted_at?: Date | null | undefined;
2662
+ question_count?: number | undefined;
2663
+ }, {
2664
+ id: string;
2665
+ tenant: string;
2666
+ name: string;
2667
+ description: string;
2668
+ questions: ({
2669
+ id: string;
2670
+ tenant: string;
2671
+ type: "scale";
2672
+ surveyId: string;
2673
+ sectionId: string;
2674
+ ref?: any;
2675
+ model_ver?: number | undefined;
2676
+ created_at?: Date | null | undefined;
2677
+ updated_at?: Date | null | undefined;
2678
+ deleted_at?: Date | null | undefined;
2679
+ description?: string | undefined;
2680
+ tags?: {
2681
+ name: string;
2682
+ hidden: boolean;
2683
+ color?: string | undefined;
2684
+ }[] | undefined;
2685
+ statement?: string | undefined;
2686
+ description_text?: string | undefined;
2687
+ order?: number | undefined;
2688
+ required?: boolean | undefined;
2689
+ template?: string | undefined;
2690
+ scale_min?: number | undefined;
2691
+ scale_max?: number | undefined;
2692
+ } | {
2693
+ id: string;
2694
+ tenant: string;
2695
+ type: "essay";
2696
+ surveyId: string;
2697
+ sectionId: string;
2698
+ ref?: any;
2699
+ model_ver?: number | undefined;
2700
+ created_at?: Date | null | undefined;
2701
+ updated_at?: Date | null | undefined;
2702
+ deleted_at?: Date | null | undefined;
2703
+ description?: string | undefined;
2704
+ tags?: {
2705
+ name: string;
2706
+ hidden: boolean;
2707
+ color?: string | undefined;
2708
+ }[] | undefined;
2709
+ statement?: string | undefined;
2710
+ description_text?: string | undefined;
2711
+ order?: number | undefined;
2712
+ required?: boolean | undefined;
2713
+ length_min?: number | undefined;
2714
+ length_max?: number | undefined;
2715
+ } | {
2716
+ id: string;
2717
+ tenant: string;
2718
+ type: "options";
2719
+ options: string[];
2720
+ surveyId: string;
2721
+ sectionId: string;
2722
+ ref?: any;
2723
+ model_ver?: number | undefined;
2724
+ created_at?: Date | null | undefined;
2725
+ updated_at?: Date | null | undefined;
2726
+ deleted_at?: Date | null | undefined;
2727
+ description?: string | undefined;
2728
+ tags?: {
2729
+ name: string;
2730
+ hidden: boolean;
2731
+ color?: string | undefined;
2732
+ }[] | undefined;
2733
+ statement?: string | undefined;
2734
+ description_text?: string | undefined;
2735
+ order?: number | undefined;
2736
+ required?: boolean | undefined;
2737
+ allow_multiple_selections?: boolean | undefined;
2738
+ })[];
2739
+ surveyId: string;
2740
+ order: number;
2741
+ ref?: any;
2742
+ model_ver?: number | undefined;
2743
+ created_at?: Date | null | undefined;
2744
+ updated_at?: Date | null | undefined;
2745
+ deleted_at?: Date | null | undefined;
2746
+ question_count?: number | undefined;
2747
+ }>, "many">>;
2748
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2749
+ name: z.ZodString;
2750
+ color: z.ZodOptional<z.ZodString>;
2751
+ hidden: z.ZodBoolean;
2752
+ }, "strip", z.ZodTypeAny, {
2753
+ name: string;
2754
+ hidden: boolean;
2755
+ color?: string | undefined;
2756
+ }, {
2757
+ name: string;
2758
+ hidden: boolean;
2759
+ color?: string | undefined;
2760
+ }>, "many">>;
2761
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
2762
+ id: z.ZodString;
2763
+ ref: z.ZodAny;
2764
+ tenant: z.ZodString;
2765
+ model_ver: z.ZodOptional<z.ZodNumber>;
2766
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2767
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2768
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2769
+ }, {
2770
+ name: z.ZodString;
2771
+ description: z.ZodOptional<z.ZodString>;
2772
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
2773
+ permission: z.ZodEnum<["private", "company", "public"]>;
2774
+ type: z.ZodEnum<["360", "general"]>;
2775
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2776
+ id: z.ZodString;
2777
+ ref: z.ZodAny;
2778
+ tenant: z.ZodString;
2779
+ model_ver: z.ZodOptional<z.ZodNumber>;
2780
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2781
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2782
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2783
+ }, {
2784
+ surveyId: z.ZodString;
2785
+ name: z.ZodString;
2786
+ description: z.ZodString;
2787
+ order: z.ZodNumber;
2788
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2789
+ id: z.ZodString;
2790
+ ref: z.ZodAny;
2791
+ tenant: z.ZodString;
2792
+ model_ver: z.ZodOptional<z.ZodNumber>;
2793
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2794
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2795
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2796
+ }, {
2797
+ surveyId: z.ZodString;
2798
+ sectionId: z.ZodString;
2799
+ statement: z.ZodOptional<z.ZodString>;
2800
+ description: z.ZodOptional<z.ZodString>;
2801
+ description_text: z.ZodOptional<z.ZodString>;
2802
+ order: z.ZodOptional<z.ZodNumber>;
2803
+ required: z.ZodOptional<z.ZodBoolean>;
2804
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2805
+ name: z.ZodString;
2806
+ color: z.ZodOptional<z.ZodString>;
2807
+ hidden: z.ZodBoolean;
2808
+ }, "strip", z.ZodTypeAny, {
2809
+ name: string;
2810
+ hidden: boolean;
2811
+ color?: string | undefined;
2812
+ }, {
2813
+ name: string;
2814
+ hidden: boolean;
2815
+ color?: string | undefined;
2816
+ }>, "many">>;
2817
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
2818
+ }>, {
2819
+ type: z.ZodLiteral<"essay">;
2820
+ length_min: z.ZodOptional<z.ZodNumber>;
2821
+ length_max: z.ZodOptional<z.ZodNumber>;
2822
+ }>, "strip", z.ZodTypeAny, {
2823
+ id: string;
2824
+ tenant: string;
2825
+ type: "essay";
2826
+ surveyId: string;
2827
+ sectionId: string;
2828
+ ref?: any;
2829
+ model_ver?: number | undefined;
2830
+ created_at?: Date | null | undefined;
2831
+ updated_at?: Date | null | undefined;
2832
+ deleted_at?: Date | null | undefined;
2833
+ description?: string | undefined;
2834
+ tags?: {
2835
+ name: string;
2836
+ hidden: boolean;
2837
+ color?: string | undefined;
2838
+ }[] | undefined;
2839
+ statement?: string | undefined;
2840
+ description_text?: string | undefined;
2841
+ order?: number | undefined;
2842
+ required?: boolean | undefined;
2843
+ length_min?: number | undefined;
2844
+ length_max?: number | undefined;
2845
+ }, {
2846
+ id: string;
2847
+ tenant: string;
2848
+ type: "essay";
2849
+ surveyId: string;
2850
+ sectionId: string;
2851
+ ref?: any;
2852
+ model_ver?: number | undefined;
2853
+ created_at?: Date | null | undefined;
2854
+ updated_at?: Date | null | undefined;
2855
+ deleted_at?: Date | null | undefined;
2856
+ description?: string | undefined;
2857
+ tags?: {
2858
+ name: string;
2859
+ hidden: boolean;
2860
+ color?: string | undefined;
2861
+ }[] | undefined;
2862
+ statement?: string | undefined;
2863
+ description_text?: string | undefined;
2864
+ order?: number | undefined;
2865
+ required?: boolean | undefined;
2866
+ length_min?: number | undefined;
2867
+ length_max?: number | undefined;
2868
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2869
+ id: z.ZodString;
2870
+ ref: z.ZodAny;
2871
+ tenant: z.ZodString;
2872
+ model_ver: z.ZodOptional<z.ZodNumber>;
2873
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2874
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2875
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2876
+ }, {
2877
+ surveyId: z.ZodString;
2878
+ sectionId: z.ZodString;
2879
+ statement: z.ZodOptional<z.ZodString>;
2880
+ description: z.ZodOptional<z.ZodString>;
2881
+ description_text: z.ZodOptional<z.ZodString>;
2882
+ order: z.ZodOptional<z.ZodNumber>;
2883
+ required: z.ZodOptional<z.ZodBoolean>;
2884
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2885
+ name: z.ZodString;
2886
+ color: z.ZodOptional<z.ZodString>;
2887
+ hidden: z.ZodBoolean;
2888
+ }, "strip", z.ZodTypeAny, {
2889
+ name: string;
2890
+ hidden: boolean;
2891
+ color?: string | undefined;
2892
+ }, {
2893
+ name: string;
2894
+ hidden: boolean;
2895
+ color?: string | undefined;
2896
+ }>, "many">>;
2897
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
2898
+ }>, {
2899
+ type: z.ZodLiteral<"scale">;
2900
+ template: z.ZodOptional<z.ZodString>;
2901
+ scale_min: z.ZodOptional<z.ZodNumber>;
2902
+ scale_max: z.ZodOptional<z.ZodNumber>;
2903
+ }>, "strip", z.ZodTypeAny, {
2904
+ id: string;
2905
+ tenant: string;
2906
+ type: "scale";
2907
+ surveyId: string;
2908
+ sectionId: string;
2909
+ ref?: any;
2910
+ model_ver?: number | undefined;
2911
+ created_at?: Date | null | undefined;
2912
+ updated_at?: Date | null | undefined;
2913
+ deleted_at?: Date | null | undefined;
2914
+ description?: string | undefined;
2915
+ tags?: {
2916
+ name: string;
2917
+ hidden: boolean;
2918
+ color?: string | undefined;
2919
+ }[] | undefined;
2920
+ statement?: string | undefined;
2921
+ description_text?: string | undefined;
2922
+ order?: number | undefined;
2923
+ required?: boolean | undefined;
2924
+ template?: string | undefined;
2925
+ scale_min?: number | undefined;
2926
+ scale_max?: number | undefined;
2927
+ }, {
2928
+ id: string;
2929
+ tenant: string;
2930
+ type: "scale";
2931
+ surveyId: string;
2932
+ sectionId: string;
2933
+ ref?: any;
2934
+ model_ver?: number | undefined;
2935
+ created_at?: Date | null | undefined;
2936
+ updated_at?: Date | null | undefined;
2937
+ deleted_at?: Date | null | undefined;
2938
+ description?: string | undefined;
2939
+ tags?: {
2940
+ name: string;
2941
+ hidden: boolean;
2942
+ color?: string | undefined;
2943
+ }[] | undefined;
2944
+ statement?: string | undefined;
2945
+ description_text?: string | undefined;
2946
+ order?: number | undefined;
2947
+ required?: boolean | undefined;
2948
+ template?: string | undefined;
2949
+ scale_min?: number | undefined;
2950
+ scale_max?: number | undefined;
2951
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2952
+ id: z.ZodString;
2953
+ ref: z.ZodAny;
2954
+ tenant: z.ZodString;
2955
+ model_ver: z.ZodOptional<z.ZodNumber>;
2956
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2957
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2958
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2959
+ }, {
2960
+ surveyId: z.ZodString;
2961
+ sectionId: z.ZodString;
2962
+ statement: z.ZodOptional<z.ZodString>;
2963
+ description: z.ZodOptional<z.ZodString>;
2964
+ description_text: z.ZodOptional<z.ZodString>;
2965
+ order: z.ZodOptional<z.ZodNumber>;
2966
+ required: z.ZodOptional<z.ZodBoolean>;
2967
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2968
+ name: z.ZodString;
2969
+ color: z.ZodOptional<z.ZodString>;
2970
+ hidden: z.ZodBoolean;
2971
+ }, "strip", z.ZodTypeAny, {
2972
+ name: string;
2973
+ hidden: boolean;
2974
+ color?: string | undefined;
2975
+ }, {
2976
+ name: string;
2977
+ hidden: boolean;
2978
+ color?: string | undefined;
2979
+ }>, "many">>;
2980
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
2981
+ }>, {
2982
+ type: z.ZodLiteral<"options">;
2983
+ options: z.ZodArray<z.ZodString, "many">;
2984
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
2985
+ }>, "strip", z.ZodTypeAny, {
2986
+ id: string;
2987
+ tenant: string;
2988
+ type: "options";
2989
+ options: string[];
2990
+ surveyId: string;
2991
+ sectionId: string;
2992
+ ref?: any;
2993
+ model_ver?: number | undefined;
2994
+ created_at?: Date | null | undefined;
2995
+ updated_at?: Date | null | undefined;
2996
+ deleted_at?: Date | null | undefined;
2997
+ description?: string | undefined;
2998
+ tags?: {
2999
+ name: string;
3000
+ hidden: boolean;
3001
+ color?: string | undefined;
3002
+ }[] | undefined;
3003
+ statement?: string | undefined;
3004
+ description_text?: string | undefined;
3005
+ order?: number | undefined;
3006
+ required?: boolean | undefined;
3007
+ allow_multiple_selections?: boolean | undefined;
3008
+ }, {
3009
+ id: string;
3010
+ tenant: string;
3011
+ type: "options";
3012
+ options: string[];
3013
+ surveyId: string;
3014
+ sectionId: string;
3015
+ ref?: any;
3016
+ model_ver?: number | undefined;
3017
+ created_at?: Date | null | undefined;
3018
+ updated_at?: Date | null | undefined;
3019
+ deleted_at?: Date | null | undefined;
3020
+ description?: string | undefined;
3021
+ tags?: {
3022
+ name: string;
3023
+ hidden: boolean;
3024
+ color?: string | undefined;
3025
+ }[] | undefined;
3026
+ statement?: string | undefined;
3027
+ description_text?: string | undefined;
3028
+ order?: number | undefined;
3029
+ required?: boolean | undefined;
3030
+ allow_multiple_selections?: boolean | undefined;
3031
+ }>]>, "many">;
3032
+ question_count: z.ZodOptional<z.ZodNumber>;
3033
+ }>, "strip", z.ZodTypeAny, {
3034
+ id: string;
3035
+ tenant: string;
3036
+ name: string;
3037
+ description: string;
3038
+ questions: ({
3039
+ id: string;
3040
+ tenant: string;
3041
+ type: "scale";
3042
+ surveyId: string;
3043
+ sectionId: string;
3044
+ ref?: any;
3045
+ model_ver?: number | undefined;
3046
+ created_at?: Date | null | undefined;
3047
+ updated_at?: Date | null | undefined;
3048
+ deleted_at?: Date | null | undefined;
3049
+ description?: string | undefined;
3050
+ tags?: {
3051
+ name: string;
3052
+ hidden: boolean;
3053
+ color?: string | undefined;
3054
+ }[] | undefined;
3055
+ statement?: string | undefined;
3056
+ description_text?: string | undefined;
3057
+ order?: number | undefined;
3058
+ required?: boolean | undefined;
3059
+ template?: string | undefined;
3060
+ scale_min?: number | undefined;
3061
+ scale_max?: number | undefined;
3062
+ } | {
3063
+ id: string;
3064
+ tenant: string;
3065
+ type: "essay";
3066
+ surveyId: string;
3067
+ sectionId: string;
3068
+ ref?: any;
3069
+ model_ver?: number | undefined;
3070
+ created_at?: Date | null | undefined;
3071
+ updated_at?: Date | null | undefined;
3072
+ deleted_at?: Date | null | undefined;
3073
+ description?: string | undefined;
3074
+ tags?: {
3075
+ name: string;
3076
+ hidden: boolean;
3077
+ color?: string | undefined;
3078
+ }[] | undefined;
3079
+ statement?: string | undefined;
3080
+ description_text?: string | undefined;
3081
+ order?: number | undefined;
3082
+ required?: boolean | undefined;
3083
+ length_min?: number | undefined;
3084
+ length_max?: number | undefined;
3085
+ } | {
3086
+ id: string;
3087
+ tenant: string;
3088
+ type: "options";
3089
+ options: string[];
3090
+ surveyId: string;
3091
+ sectionId: string;
3092
+ ref?: any;
3093
+ model_ver?: number | undefined;
3094
+ created_at?: Date | null | undefined;
3095
+ updated_at?: Date | null | undefined;
3096
+ deleted_at?: Date | null | undefined;
3097
+ description?: string | undefined;
3098
+ tags?: {
3099
+ name: string;
3100
+ hidden: boolean;
3101
+ color?: string | undefined;
3102
+ }[] | undefined;
3103
+ statement?: string | undefined;
3104
+ description_text?: string | undefined;
3105
+ order?: number | undefined;
3106
+ required?: boolean | undefined;
3107
+ allow_multiple_selections?: boolean | undefined;
3108
+ })[];
3109
+ surveyId: string;
3110
+ order: number;
3111
+ ref?: any;
3112
+ model_ver?: number | undefined;
3113
+ created_at?: Date | null | undefined;
3114
+ updated_at?: Date | null | undefined;
3115
+ deleted_at?: Date | null | undefined;
3116
+ question_count?: number | undefined;
3117
+ }, {
3118
+ id: string;
3119
+ tenant: string;
3120
+ name: string;
3121
+ description: string;
3122
+ questions: ({
3123
+ id: string;
3124
+ tenant: string;
3125
+ type: "scale";
3126
+ surveyId: string;
3127
+ sectionId: string;
3128
+ ref?: any;
3129
+ model_ver?: number | undefined;
3130
+ created_at?: Date | null | undefined;
3131
+ updated_at?: Date | null | undefined;
3132
+ deleted_at?: Date | null | undefined;
3133
+ description?: string | undefined;
3134
+ tags?: {
3135
+ name: string;
3136
+ hidden: boolean;
3137
+ color?: string | undefined;
3138
+ }[] | undefined;
3139
+ statement?: string | undefined;
3140
+ description_text?: string | undefined;
3141
+ order?: number | undefined;
3142
+ required?: boolean | undefined;
3143
+ template?: string | undefined;
3144
+ scale_min?: number | undefined;
3145
+ scale_max?: number | undefined;
3146
+ } | {
3147
+ id: string;
3148
+ tenant: string;
3149
+ type: "essay";
3150
+ surveyId: string;
3151
+ sectionId: string;
3152
+ ref?: any;
3153
+ model_ver?: number | undefined;
3154
+ created_at?: Date | null | undefined;
3155
+ updated_at?: Date | null | undefined;
3156
+ deleted_at?: Date | null | undefined;
3157
+ description?: string | undefined;
3158
+ tags?: {
3159
+ name: string;
3160
+ hidden: boolean;
3161
+ color?: string | undefined;
3162
+ }[] | undefined;
3163
+ statement?: string | undefined;
3164
+ description_text?: string | undefined;
3165
+ order?: number | undefined;
3166
+ required?: boolean | undefined;
3167
+ length_min?: number | undefined;
3168
+ length_max?: number | undefined;
3169
+ } | {
3170
+ id: string;
3171
+ tenant: string;
3172
+ type: "options";
3173
+ options: string[];
3174
+ surveyId: string;
3175
+ sectionId: string;
3176
+ ref?: any;
3177
+ model_ver?: number | undefined;
3178
+ created_at?: Date | null | undefined;
3179
+ updated_at?: Date | null | undefined;
3180
+ deleted_at?: Date | null | undefined;
3181
+ description?: string | undefined;
3182
+ tags?: {
3183
+ name: string;
3184
+ hidden: boolean;
3185
+ color?: string | undefined;
3186
+ }[] | undefined;
3187
+ statement?: string | undefined;
3188
+ description_text?: string | undefined;
3189
+ order?: number | undefined;
3190
+ required?: boolean | undefined;
3191
+ allow_multiple_selections?: boolean | undefined;
3192
+ })[];
3193
+ surveyId: string;
3194
+ order: number;
3195
+ ref?: any;
3196
+ model_ver?: number | undefined;
3197
+ created_at?: Date | null | undefined;
3198
+ updated_at?: Date | null | undefined;
3199
+ deleted_at?: Date | null | undefined;
3200
+ question_count?: number | undefined;
3201
+ }>, "many">>;
3202
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3203
+ name: z.ZodString;
3204
+ color: z.ZodOptional<z.ZodString>;
3205
+ hidden: z.ZodBoolean;
3206
+ }, "strip", z.ZodTypeAny, {
3207
+ name: string;
3208
+ hidden: boolean;
3209
+ color?: string | undefined;
3210
+ }, {
3211
+ name: string;
3212
+ hidden: boolean;
3213
+ color?: string | undefined;
3214
+ }>, "many">>;
3215
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
3216
+ id: z.ZodString;
3217
+ ref: z.ZodAny;
3218
+ tenant: z.ZodString;
3219
+ model_ver: z.ZodOptional<z.ZodNumber>;
3220
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3221
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3222
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3223
+ }, {
3224
+ name: z.ZodString;
3225
+ description: z.ZodOptional<z.ZodString>;
3226
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
3227
+ permission: z.ZodEnum<["private", "company", "public"]>;
3228
+ type: z.ZodEnum<["360", "general"]>;
3229
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3230
+ id: z.ZodString;
3231
+ ref: z.ZodAny;
3232
+ tenant: z.ZodString;
3233
+ model_ver: z.ZodOptional<z.ZodNumber>;
3234
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3235
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3236
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3237
+ }, {
3238
+ surveyId: z.ZodString;
3239
+ name: z.ZodString;
3240
+ description: z.ZodString;
3241
+ order: z.ZodNumber;
3242
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3243
+ id: z.ZodString;
3244
+ ref: z.ZodAny;
3245
+ tenant: z.ZodString;
3246
+ model_ver: z.ZodOptional<z.ZodNumber>;
3247
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3248
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3249
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3250
+ }, {
3251
+ surveyId: z.ZodString;
3252
+ sectionId: z.ZodString;
3253
+ statement: z.ZodOptional<z.ZodString>;
3254
+ description: z.ZodOptional<z.ZodString>;
3255
+ description_text: z.ZodOptional<z.ZodString>;
3256
+ order: z.ZodOptional<z.ZodNumber>;
3257
+ required: z.ZodOptional<z.ZodBoolean>;
3258
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3259
+ name: z.ZodString;
3260
+ color: z.ZodOptional<z.ZodString>;
3261
+ hidden: z.ZodBoolean;
3262
+ }, "strip", z.ZodTypeAny, {
3263
+ name: string;
3264
+ hidden: boolean;
3265
+ color?: string | undefined;
3266
+ }, {
3267
+ name: string;
3268
+ hidden: boolean;
3269
+ color?: string | undefined;
3270
+ }>, "many">>;
3271
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
3272
+ }>, {
3273
+ type: z.ZodLiteral<"essay">;
3274
+ length_min: z.ZodOptional<z.ZodNumber>;
3275
+ length_max: z.ZodOptional<z.ZodNumber>;
3276
+ }>, "strip", z.ZodTypeAny, {
3277
+ id: string;
3278
+ tenant: string;
3279
+ type: "essay";
3280
+ surveyId: string;
3281
+ sectionId: string;
3282
+ ref?: any;
3283
+ model_ver?: number | undefined;
3284
+ created_at?: Date | null | undefined;
3285
+ updated_at?: Date | null | undefined;
3286
+ deleted_at?: Date | null | undefined;
3287
+ description?: string | undefined;
3288
+ tags?: {
3289
+ name: string;
3290
+ hidden: boolean;
3291
+ color?: string | undefined;
3292
+ }[] | undefined;
3293
+ statement?: string | undefined;
3294
+ description_text?: string | undefined;
3295
+ order?: number | undefined;
3296
+ required?: boolean | undefined;
3297
+ length_min?: number | undefined;
3298
+ length_max?: number | undefined;
3299
+ }, {
3300
+ id: string;
3301
+ tenant: string;
3302
+ type: "essay";
3303
+ surveyId: string;
3304
+ sectionId: string;
3305
+ ref?: any;
3306
+ model_ver?: number | undefined;
3307
+ created_at?: Date | null | undefined;
3308
+ updated_at?: Date | null | undefined;
3309
+ deleted_at?: Date | null | undefined;
3310
+ description?: string | undefined;
3311
+ tags?: {
3312
+ name: string;
3313
+ hidden: boolean;
3314
+ color?: string | undefined;
3315
+ }[] | undefined;
3316
+ statement?: string | undefined;
3317
+ description_text?: string | undefined;
3318
+ order?: number | undefined;
3319
+ required?: boolean | undefined;
3320
+ length_min?: number | undefined;
3321
+ length_max?: number | undefined;
3322
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3323
+ id: z.ZodString;
3324
+ ref: z.ZodAny;
3325
+ tenant: z.ZodString;
3326
+ model_ver: z.ZodOptional<z.ZodNumber>;
3327
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3328
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3329
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3330
+ }, {
3331
+ surveyId: z.ZodString;
3332
+ sectionId: z.ZodString;
3333
+ statement: z.ZodOptional<z.ZodString>;
3334
+ description: z.ZodOptional<z.ZodString>;
3335
+ description_text: z.ZodOptional<z.ZodString>;
3336
+ order: z.ZodOptional<z.ZodNumber>;
3337
+ required: z.ZodOptional<z.ZodBoolean>;
3338
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3339
+ name: z.ZodString;
3340
+ color: z.ZodOptional<z.ZodString>;
3341
+ hidden: z.ZodBoolean;
3342
+ }, "strip", z.ZodTypeAny, {
3343
+ name: string;
3344
+ hidden: boolean;
3345
+ color?: string | undefined;
3346
+ }, {
3347
+ name: string;
3348
+ hidden: boolean;
3349
+ color?: string | undefined;
3350
+ }>, "many">>;
3351
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
3352
+ }>, {
3353
+ type: z.ZodLiteral<"scale">;
3354
+ template: z.ZodOptional<z.ZodString>;
3355
+ scale_min: z.ZodOptional<z.ZodNumber>;
3356
+ scale_max: z.ZodOptional<z.ZodNumber>;
3357
+ }>, "strip", z.ZodTypeAny, {
3358
+ id: string;
3359
+ tenant: string;
3360
+ type: "scale";
3361
+ surveyId: string;
3362
+ sectionId: string;
3363
+ ref?: any;
3364
+ model_ver?: number | undefined;
3365
+ created_at?: Date | null | undefined;
3366
+ updated_at?: Date | null | undefined;
3367
+ deleted_at?: Date | null | undefined;
3368
+ description?: string | undefined;
3369
+ tags?: {
3370
+ name: string;
3371
+ hidden: boolean;
3372
+ color?: string | undefined;
3373
+ }[] | undefined;
3374
+ statement?: string | undefined;
3375
+ description_text?: string | undefined;
3376
+ order?: number | undefined;
3377
+ required?: boolean | undefined;
3378
+ template?: string | undefined;
3379
+ scale_min?: number | undefined;
3380
+ scale_max?: number | undefined;
3381
+ }, {
3382
+ id: string;
3383
+ tenant: string;
3384
+ type: "scale";
3385
+ surveyId: string;
3386
+ sectionId: string;
3387
+ ref?: any;
3388
+ model_ver?: number | undefined;
3389
+ created_at?: Date | null | undefined;
3390
+ updated_at?: Date | null | undefined;
3391
+ deleted_at?: Date | null | undefined;
3392
+ description?: string | undefined;
3393
+ tags?: {
3394
+ name: string;
3395
+ hidden: boolean;
3396
+ color?: string | undefined;
3397
+ }[] | undefined;
3398
+ statement?: string | undefined;
3399
+ description_text?: string | undefined;
3400
+ order?: number | undefined;
3401
+ required?: boolean | undefined;
3402
+ template?: string | undefined;
3403
+ scale_min?: number | undefined;
3404
+ scale_max?: number | undefined;
3405
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3406
+ id: z.ZodString;
3407
+ ref: z.ZodAny;
3408
+ tenant: z.ZodString;
3409
+ model_ver: z.ZodOptional<z.ZodNumber>;
3410
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3411
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3412
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3413
+ }, {
3414
+ surveyId: z.ZodString;
3415
+ sectionId: z.ZodString;
3416
+ statement: z.ZodOptional<z.ZodString>;
3417
+ description: z.ZodOptional<z.ZodString>;
3418
+ description_text: z.ZodOptional<z.ZodString>;
3419
+ order: z.ZodOptional<z.ZodNumber>;
3420
+ required: z.ZodOptional<z.ZodBoolean>;
3421
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3422
+ name: z.ZodString;
3423
+ color: z.ZodOptional<z.ZodString>;
3424
+ hidden: z.ZodBoolean;
3425
+ }, "strip", z.ZodTypeAny, {
3426
+ name: string;
3427
+ hidden: boolean;
3428
+ color?: string | undefined;
3429
+ }, {
3430
+ name: string;
3431
+ hidden: boolean;
3432
+ color?: string | undefined;
3433
+ }>, "many">>;
3434
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
3435
+ }>, {
3436
+ type: z.ZodLiteral<"options">;
3437
+ options: z.ZodArray<z.ZodString, "many">;
3438
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
3439
+ }>, "strip", z.ZodTypeAny, {
3440
+ id: string;
3441
+ tenant: string;
3442
+ type: "options";
3443
+ options: string[];
3444
+ surveyId: string;
3445
+ sectionId: string;
3446
+ ref?: any;
3447
+ model_ver?: number | undefined;
3448
+ created_at?: Date | null | undefined;
3449
+ updated_at?: Date | null | undefined;
3450
+ deleted_at?: Date | null | undefined;
3451
+ description?: string | undefined;
3452
+ tags?: {
3453
+ name: string;
3454
+ hidden: boolean;
3455
+ color?: string | undefined;
3456
+ }[] | undefined;
3457
+ statement?: string | undefined;
3458
+ description_text?: string | undefined;
3459
+ order?: number | undefined;
3460
+ required?: boolean | undefined;
3461
+ allow_multiple_selections?: boolean | undefined;
3462
+ }, {
3463
+ id: string;
3464
+ tenant: string;
3465
+ type: "options";
3466
+ options: string[];
3467
+ surveyId: string;
3468
+ sectionId: string;
3469
+ ref?: any;
3470
+ model_ver?: number | undefined;
3471
+ created_at?: Date | null | undefined;
3472
+ updated_at?: Date | null | undefined;
3473
+ deleted_at?: Date | null | undefined;
3474
+ description?: string | undefined;
3475
+ tags?: {
3476
+ name: string;
3477
+ hidden: boolean;
3478
+ color?: string | undefined;
3479
+ }[] | undefined;
3480
+ statement?: string | undefined;
3481
+ description_text?: string | undefined;
3482
+ order?: number | undefined;
3483
+ required?: boolean | undefined;
3484
+ allow_multiple_selections?: boolean | undefined;
3485
+ }>]>, "many">;
3486
+ question_count: z.ZodOptional<z.ZodNumber>;
3487
+ }>, "strip", z.ZodTypeAny, {
3488
+ id: string;
3489
+ tenant: string;
3490
+ name: string;
3491
+ description: string;
3492
+ questions: ({
3493
+ id: string;
3494
+ tenant: string;
3495
+ type: "scale";
3496
+ surveyId: string;
3497
+ sectionId: string;
3498
+ ref?: any;
3499
+ model_ver?: number | undefined;
3500
+ created_at?: Date | null | undefined;
3501
+ updated_at?: Date | null | undefined;
3502
+ deleted_at?: Date | null | undefined;
3503
+ description?: string | undefined;
3504
+ tags?: {
3505
+ name: string;
3506
+ hidden: boolean;
3507
+ color?: string | undefined;
3508
+ }[] | undefined;
3509
+ statement?: string | undefined;
3510
+ description_text?: string | undefined;
3511
+ order?: number | undefined;
3512
+ required?: boolean | undefined;
3513
+ template?: string | undefined;
3514
+ scale_min?: number | undefined;
3515
+ scale_max?: number | undefined;
3516
+ } | {
3517
+ id: string;
3518
+ tenant: string;
3519
+ type: "essay";
3520
+ surveyId: string;
3521
+ sectionId: string;
3522
+ ref?: any;
3523
+ model_ver?: number | undefined;
3524
+ created_at?: Date | null | undefined;
3525
+ updated_at?: Date | null | undefined;
3526
+ deleted_at?: Date | null | undefined;
3527
+ description?: string | undefined;
3528
+ tags?: {
3529
+ name: string;
3530
+ hidden: boolean;
3531
+ color?: string | undefined;
3532
+ }[] | undefined;
3533
+ statement?: string | undefined;
3534
+ description_text?: string | undefined;
3535
+ order?: number | undefined;
3536
+ required?: boolean | undefined;
3537
+ length_min?: number | undefined;
3538
+ length_max?: number | undefined;
3539
+ } | {
3540
+ id: string;
3541
+ tenant: string;
3542
+ type: "options";
3543
+ options: string[];
3544
+ surveyId: string;
3545
+ sectionId: string;
3546
+ ref?: any;
3547
+ model_ver?: number | undefined;
3548
+ created_at?: Date | null | undefined;
3549
+ updated_at?: Date | null | undefined;
3550
+ deleted_at?: Date | null | undefined;
3551
+ description?: string | undefined;
3552
+ tags?: {
3553
+ name: string;
3554
+ hidden: boolean;
3555
+ color?: string | undefined;
3556
+ }[] | undefined;
3557
+ statement?: string | undefined;
3558
+ description_text?: string | undefined;
3559
+ order?: number | undefined;
3560
+ required?: boolean | undefined;
3561
+ allow_multiple_selections?: boolean | undefined;
3562
+ })[];
3563
+ surveyId: string;
3564
+ order: number;
3565
+ ref?: any;
3566
+ model_ver?: number | undefined;
3567
+ created_at?: Date | null | undefined;
3568
+ updated_at?: Date | null | undefined;
3569
+ deleted_at?: Date | null | undefined;
3570
+ question_count?: number | undefined;
3571
+ }, {
3572
+ id: string;
3573
+ tenant: string;
3574
+ name: string;
3575
+ description: string;
3576
+ questions: ({
3577
+ id: string;
3578
+ tenant: string;
3579
+ type: "scale";
3580
+ surveyId: string;
3581
+ sectionId: string;
3582
+ ref?: any;
3583
+ model_ver?: number | undefined;
3584
+ created_at?: Date | null | undefined;
3585
+ updated_at?: Date | null | undefined;
3586
+ deleted_at?: Date | null | undefined;
3587
+ description?: string | undefined;
3588
+ tags?: {
3589
+ name: string;
3590
+ hidden: boolean;
3591
+ color?: string | undefined;
3592
+ }[] | undefined;
3593
+ statement?: string | undefined;
3594
+ description_text?: string | undefined;
3595
+ order?: number | undefined;
3596
+ required?: boolean | undefined;
3597
+ template?: string | undefined;
3598
+ scale_min?: number | undefined;
3599
+ scale_max?: number | undefined;
3600
+ } | {
3601
+ id: string;
3602
+ tenant: string;
3603
+ type: "essay";
3604
+ surveyId: string;
3605
+ sectionId: string;
3606
+ ref?: any;
3607
+ model_ver?: number | undefined;
3608
+ created_at?: Date | null | undefined;
3609
+ updated_at?: Date | null | undefined;
3610
+ deleted_at?: Date | null | undefined;
3611
+ description?: string | undefined;
3612
+ tags?: {
3613
+ name: string;
3614
+ hidden: boolean;
3615
+ color?: string | undefined;
3616
+ }[] | undefined;
3617
+ statement?: string | undefined;
3618
+ description_text?: string | undefined;
3619
+ order?: number | undefined;
3620
+ required?: boolean | undefined;
3621
+ length_min?: number | undefined;
3622
+ length_max?: number | undefined;
3623
+ } | {
3624
+ id: string;
3625
+ tenant: string;
3626
+ type: "options";
3627
+ options: string[];
3628
+ surveyId: string;
3629
+ sectionId: string;
3630
+ ref?: any;
3631
+ model_ver?: number | undefined;
3632
+ created_at?: Date | null | undefined;
3633
+ updated_at?: Date | null | undefined;
3634
+ deleted_at?: Date | null | undefined;
3635
+ description?: string | undefined;
3636
+ tags?: {
3637
+ name: string;
3638
+ hidden: boolean;
3639
+ color?: string | undefined;
3640
+ }[] | undefined;
3641
+ statement?: string | undefined;
3642
+ description_text?: string | undefined;
3643
+ order?: number | undefined;
3644
+ required?: boolean | undefined;
3645
+ allow_multiple_selections?: boolean | undefined;
3646
+ })[];
3647
+ surveyId: string;
3648
+ order: number;
3649
+ ref?: any;
3650
+ model_ver?: number | undefined;
3651
+ created_at?: Date | null | undefined;
3652
+ updated_at?: Date | null | undefined;
3653
+ deleted_at?: Date | null | undefined;
3654
+ question_count?: number | undefined;
3655
+ }>, "many">>;
3656
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3657
+ name: z.ZodString;
3658
+ color: z.ZodOptional<z.ZodString>;
3659
+ hidden: z.ZodBoolean;
3660
+ }, "strip", z.ZodTypeAny, {
3661
+ name: string;
3662
+ hidden: boolean;
3663
+ color?: string | undefined;
3664
+ }, {
3665
+ name: string;
3666
+ hidden: boolean;
3667
+ color?: string | undefined;
3668
+ }>, "many">>;
3669
+ }>, z.ZodTypeAny, "passthrough">>>>;
3670
+ start_date: z.ZodNullable<z.ZodDate>;
3671
+ end_date: z.ZodNullable<z.ZodDate>;
3672
+ status: z.ZodEnum<["draft", "open", "closed", "in_progress", "paused"]>;
3673
+ allow_edit_answers: z.ZodBoolean;
3674
+ allow_partial_submission: z.ZodBoolean;
3675
+ invitees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3676
+ id: z.ZodString;
3677
+ ref: z.ZodAny;
3678
+ tenant: z.ZodString;
3679
+ model_ver: z.ZodOptional<z.ZodNumber>;
3680
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3681
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3682
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3683
+ }, {
3684
+ name: z.ZodString;
3685
+ email: z.ZodOptional<z.ZodString>;
3686
+ phone: z.ZodOptional<z.ZodString>;
3687
+ responded: z.ZodBoolean;
3688
+ }>, "strip", z.ZodTypeAny, {
3689
+ id: string;
3690
+ tenant: string;
3691
+ name: string;
3692
+ responded: boolean;
3693
+ ref?: any;
3694
+ model_ver?: number | undefined;
3695
+ created_at?: Date | null | undefined;
3696
+ updated_at?: Date | null | undefined;
3697
+ deleted_at?: Date | null | undefined;
3698
+ email?: string | undefined;
3699
+ phone?: string | undefined;
3700
+ }, {
3701
+ id: string;
3702
+ tenant: string;
3703
+ name: string;
3704
+ responded: boolean;
3705
+ ref?: any;
3706
+ model_ver?: number | undefined;
3707
+ created_at?: Date | null | undefined;
3708
+ updated_at?: Date | null | undefined;
3709
+ deleted_at?: Date | null | undefined;
3710
+ email?: string | undefined;
3711
+ phone?: string | undefined;
3712
+ }>, "many">>>;
3713
+ invitee_count: z.ZodOptional<z.ZodNumber>;
3714
+ submissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3715
+ id: z.ZodString;
3716
+ ref: z.ZodAny;
3717
+ tenant: z.ZodString;
3718
+ model_ver: z.ZodOptional<z.ZodNumber>;
3719
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3720
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3721
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3722
+ }, {
3723
+ deploymentId: z.ZodOptional<z.ZodString>;
3724
+ submission_date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3725
+ status: z.ZodEnum<["not_started", "in_progress", "completed"]>;
3726
+ modified_after_completion: z.ZodBoolean;
3727
+ inviteeId: z.ZodOptional<z.ZodString>;
3728
+ user_name: z.ZodOptional<z.ZodString>;
3729
+ responses: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3730
+ id: z.ZodString;
3731
+ ref: z.ZodAny;
3732
+ tenant: z.ZodString;
3733
+ model_ver: z.ZodOptional<z.ZodNumber>;
3734
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3735
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3736
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3737
+ }, {
3738
+ question_id: z.ZodString;
3739
+ answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3740
+ date: z.ZodDate;
3741
+ }>, "strip", z.ZodTypeAny, {
3742
+ id: string;
3743
+ tenant: string;
3744
+ question_id: string;
3745
+ answer: string | string[];
3746
+ date: Date;
3747
+ ref?: any;
3748
+ model_ver?: number | undefined;
3749
+ created_at?: Date | null | undefined;
3750
+ updated_at?: Date | null | undefined;
3751
+ deleted_at?: Date | null | undefined;
3752
+ }, {
3753
+ id: string;
3754
+ tenant: string;
3755
+ question_id: string;
3756
+ answer: string | string[];
3757
+ date: Date;
3758
+ ref?: any;
3759
+ model_ver?: number | undefined;
3760
+ created_at?: Date | null | undefined;
3761
+ updated_at?: Date | null | undefined;
3762
+ deleted_at?: Date | null | undefined;
3763
+ }>, "many">>;
3764
+ }>, "strip", z.ZodTypeAny, {
3765
+ id: string;
3766
+ tenant: string;
3767
+ status: "not_started" | "in_progress" | "completed";
3768
+ modified_after_completion: boolean;
3769
+ ref?: any;
3770
+ model_ver?: number | undefined;
3771
+ created_at?: Date | null | undefined;
3772
+ updated_at?: Date | null | undefined;
3773
+ deleted_at?: Date | null | undefined;
3774
+ deploymentId?: string | undefined;
3775
+ submission_date?: Date | null | undefined;
3776
+ inviteeId?: string | undefined;
3777
+ user_name?: string | undefined;
3778
+ responses?: {
3779
+ id: string;
3780
+ tenant: string;
3781
+ question_id: string;
3782
+ answer: string | string[];
3783
+ date: Date;
3784
+ ref?: any;
3785
+ model_ver?: number | undefined;
3786
+ created_at?: Date | null | undefined;
3787
+ updated_at?: Date | null | undefined;
3788
+ deleted_at?: Date | null | undefined;
3789
+ }[] | undefined;
3790
+ }, {
3791
+ id: string;
3792
+ tenant: string;
3793
+ status: "not_started" | "in_progress" | "completed";
3794
+ modified_after_completion: boolean;
3795
+ ref?: any;
3796
+ model_ver?: number | undefined;
3797
+ created_at?: Date | null | undefined;
3798
+ updated_at?: Date | null | undefined;
3799
+ deleted_at?: Date | null | undefined;
3800
+ deploymentId?: string | undefined;
3801
+ submission_date?: Date | null | undefined;
3802
+ inviteeId?: string | undefined;
3803
+ user_name?: string | undefined;
3804
+ responses?: {
3805
+ id: string;
3806
+ tenant: string;
3807
+ question_id: string;
3808
+ answer: string | string[];
3809
+ date: Date;
3810
+ ref?: any;
3811
+ model_ver?: number | undefined;
3812
+ created_at?: Date | null | undefined;
3813
+ updated_at?: Date | null | undefined;
3814
+ deleted_at?: Date | null | undefined;
3815
+ }[] | undefined;
3816
+ }>, "many">>>;
3817
+ submission_count: z.ZodOptional<z.ZodNumber>;
3818
+ submission_not_started_count: z.ZodOptional<z.ZodNumber>;
3819
+ submission_in_progress_count: z.ZodOptional<z.ZodNumber>;
3820
+ submission_completed_count: z.ZodOptional<z.ZodNumber>;
3821
+ }>, "strip", z.ZodTypeAny, {
3822
+ id: string;
3823
+ tenant: string;
3824
+ name: string;
3825
+ status: "draft" | "in_progress" | "open" | "closed" | "paused";
3826
+ start_date: Date | null;
3827
+ end_date: Date | null;
3828
+ allow_edit_answers: boolean;
3829
+ allow_partial_submission: boolean;
3830
+ ref?: any;
3831
+ model_ver?: number | undefined;
3832
+ created_at?: Date | null | undefined;
3833
+ updated_at?: Date | null | undefined;
3834
+ deleted_at?: Date | null | undefined;
3835
+ description?: string | undefined;
3836
+ submissions?: {
3837
+ id: string;
3838
+ tenant: string;
3839
+ status: "not_started" | "in_progress" | "completed";
3840
+ modified_after_completion: boolean;
3841
+ ref?: any;
3842
+ model_ver?: number | undefined;
3843
+ created_at?: Date | null | undefined;
3844
+ updated_at?: Date | null | undefined;
3845
+ deleted_at?: Date | null | undefined;
3846
+ deploymentId?: string | undefined;
3847
+ submission_date?: Date | null | undefined;
3848
+ inviteeId?: string | undefined;
3849
+ user_name?: string | undefined;
3850
+ responses?: {
3851
+ id: string;
3852
+ tenant: string;
3853
+ question_id: string;
3854
+ answer: string | string[];
3855
+ date: Date;
3856
+ ref?: any;
3857
+ model_ver?: number | undefined;
3858
+ created_at?: Date | null | undefined;
3859
+ updated_at?: Date | null | undefined;
3860
+ deleted_at?: Date | null | undefined;
3861
+ }[] | undefined;
3862
+ }[] | null | undefined;
3863
+ surveySourceRef?: any;
3864
+ survey?: z.objectOutputType<z.objectUtil.extendShape<{
3865
+ id: z.ZodString;
3866
+ ref: z.ZodAny;
3867
+ tenant: z.ZodString;
3868
+ model_ver: z.ZodOptional<z.ZodNumber>;
3869
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3870
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3871
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3872
+ }, {
3873
+ name: z.ZodString;
3874
+ description: z.ZodOptional<z.ZodString>;
3875
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
3876
+ permission: z.ZodEnum<["private", "company", "public"]>;
3877
+ type: z.ZodEnum<["360", "general"]>;
3878
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3879
+ id: z.ZodString;
3880
+ ref: z.ZodAny;
3881
+ tenant: z.ZodString;
3882
+ model_ver: z.ZodOptional<z.ZodNumber>;
3883
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3884
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3885
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3886
+ }, {
3887
+ surveyId: z.ZodString;
3888
+ name: z.ZodString;
3889
+ description: z.ZodString;
3890
+ order: z.ZodNumber;
3891
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3892
+ id: z.ZodString;
3893
+ ref: z.ZodAny;
3894
+ tenant: z.ZodString;
3895
+ model_ver: z.ZodOptional<z.ZodNumber>;
3896
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3897
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3898
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3899
+ }, {
3900
+ surveyId: z.ZodString;
3901
+ sectionId: z.ZodString;
3902
+ statement: z.ZodOptional<z.ZodString>;
3903
+ description: z.ZodOptional<z.ZodString>;
3904
+ description_text: z.ZodOptional<z.ZodString>;
3905
+ order: z.ZodOptional<z.ZodNumber>;
3906
+ required: z.ZodOptional<z.ZodBoolean>;
3907
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3908
+ name: z.ZodString;
3909
+ color: z.ZodOptional<z.ZodString>;
3910
+ hidden: z.ZodBoolean;
3911
+ }, "strip", z.ZodTypeAny, {
3912
+ name: string;
3913
+ hidden: boolean;
3914
+ color?: string | undefined;
3915
+ }, {
3916
+ name: string;
3917
+ hidden: boolean;
3918
+ color?: string | undefined;
3919
+ }>, "many">>;
3920
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
3921
+ }>, {
3922
+ type: z.ZodLiteral<"essay">;
3923
+ length_min: z.ZodOptional<z.ZodNumber>;
3924
+ length_max: z.ZodOptional<z.ZodNumber>;
3925
+ }>, "strip", z.ZodTypeAny, {
3926
+ id: string;
3927
+ tenant: string;
3928
+ type: "essay";
3929
+ surveyId: string;
3930
+ sectionId: string;
3931
+ ref?: any;
3932
+ model_ver?: number | undefined;
3933
+ created_at?: Date | null | undefined;
3934
+ updated_at?: Date | null | undefined;
3935
+ deleted_at?: Date | null | undefined;
3936
+ description?: string | undefined;
3937
+ tags?: {
3938
+ name: string;
3939
+ hidden: boolean;
3940
+ color?: string | undefined;
3941
+ }[] | undefined;
3942
+ statement?: string | undefined;
3943
+ description_text?: string | undefined;
3944
+ order?: number | undefined;
3945
+ required?: boolean | undefined;
3946
+ length_min?: number | undefined;
3947
+ length_max?: number | undefined;
3948
+ }, {
3949
+ id: string;
3950
+ tenant: string;
3951
+ type: "essay";
3952
+ surveyId: string;
3953
+ sectionId: string;
3954
+ ref?: any;
3955
+ model_ver?: number | undefined;
3956
+ created_at?: Date | null | undefined;
3957
+ updated_at?: Date | null | undefined;
3958
+ deleted_at?: Date | null | undefined;
3959
+ description?: string | undefined;
3960
+ tags?: {
3961
+ name: string;
3962
+ hidden: boolean;
3963
+ color?: string | undefined;
3964
+ }[] | undefined;
3965
+ statement?: string | undefined;
3966
+ description_text?: string | undefined;
3967
+ order?: number | undefined;
3968
+ required?: boolean | undefined;
3969
+ length_min?: number | undefined;
3970
+ length_max?: number | undefined;
3971
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3972
+ id: z.ZodString;
3973
+ ref: z.ZodAny;
3974
+ tenant: z.ZodString;
3975
+ model_ver: z.ZodOptional<z.ZodNumber>;
3976
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3977
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3978
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3979
+ }, {
3980
+ surveyId: z.ZodString;
3981
+ sectionId: z.ZodString;
3982
+ statement: z.ZodOptional<z.ZodString>;
3983
+ description: z.ZodOptional<z.ZodString>;
3984
+ description_text: z.ZodOptional<z.ZodString>;
3985
+ order: z.ZodOptional<z.ZodNumber>;
3986
+ required: z.ZodOptional<z.ZodBoolean>;
3987
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3988
+ name: z.ZodString;
3989
+ color: z.ZodOptional<z.ZodString>;
3990
+ hidden: z.ZodBoolean;
3991
+ }, "strip", z.ZodTypeAny, {
3992
+ name: string;
3993
+ hidden: boolean;
3994
+ color?: string | undefined;
3995
+ }, {
3996
+ name: string;
3997
+ hidden: boolean;
3998
+ color?: string | undefined;
3999
+ }>, "many">>;
4000
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
4001
+ }>, {
4002
+ type: z.ZodLiteral<"scale">;
4003
+ template: z.ZodOptional<z.ZodString>;
4004
+ scale_min: z.ZodOptional<z.ZodNumber>;
4005
+ scale_max: z.ZodOptional<z.ZodNumber>;
4006
+ }>, "strip", z.ZodTypeAny, {
4007
+ id: string;
4008
+ tenant: string;
4009
+ type: "scale";
4010
+ surveyId: string;
4011
+ sectionId: string;
4012
+ ref?: any;
4013
+ model_ver?: number | undefined;
4014
+ created_at?: Date | null | undefined;
4015
+ updated_at?: Date | null | undefined;
4016
+ deleted_at?: Date | null | undefined;
4017
+ description?: string | undefined;
4018
+ tags?: {
4019
+ name: string;
4020
+ hidden: boolean;
4021
+ color?: string | undefined;
4022
+ }[] | undefined;
4023
+ statement?: string | undefined;
4024
+ description_text?: string | undefined;
4025
+ order?: number | undefined;
4026
+ required?: boolean | undefined;
4027
+ template?: string | undefined;
4028
+ scale_min?: number | undefined;
4029
+ scale_max?: number | undefined;
4030
+ }, {
4031
+ id: string;
4032
+ tenant: string;
4033
+ type: "scale";
4034
+ surveyId: string;
4035
+ sectionId: string;
4036
+ ref?: any;
4037
+ model_ver?: number | undefined;
4038
+ created_at?: Date | null | undefined;
4039
+ updated_at?: Date | null | undefined;
4040
+ deleted_at?: Date | null | undefined;
4041
+ description?: string | undefined;
4042
+ tags?: {
4043
+ name: string;
4044
+ hidden: boolean;
4045
+ color?: string | undefined;
4046
+ }[] | undefined;
4047
+ statement?: string | undefined;
4048
+ description_text?: string | undefined;
4049
+ order?: number | undefined;
4050
+ required?: boolean | undefined;
4051
+ template?: string | undefined;
4052
+ scale_min?: number | undefined;
4053
+ scale_max?: number | undefined;
4054
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4055
+ id: z.ZodString;
4056
+ ref: z.ZodAny;
4057
+ tenant: z.ZodString;
4058
+ model_ver: z.ZodOptional<z.ZodNumber>;
4059
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4060
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4061
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4062
+ }, {
4063
+ surveyId: z.ZodString;
4064
+ sectionId: z.ZodString;
4065
+ statement: z.ZodOptional<z.ZodString>;
4066
+ description: z.ZodOptional<z.ZodString>;
4067
+ description_text: z.ZodOptional<z.ZodString>;
4068
+ order: z.ZodOptional<z.ZodNumber>;
4069
+ required: z.ZodOptional<z.ZodBoolean>;
4070
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4071
+ name: z.ZodString;
4072
+ color: z.ZodOptional<z.ZodString>;
4073
+ hidden: z.ZodBoolean;
4074
+ }, "strip", z.ZodTypeAny, {
4075
+ name: string;
4076
+ hidden: boolean;
4077
+ color?: string | undefined;
4078
+ }, {
4079
+ name: string;
4080
+ hidden: boolean;
4081
+ color?: string | undefined;
4082
+ }>, "many">>;
4083
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
4084
+ }>, {
4085
+ type: z.ZodLiteral<"options">;
4086
+ options: z.ZodArray<z.ZodString, "many">;
4087
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
4088
+ }>, "strip", z.ZodTypeAny, {
4089
+ id: string;
4090
+ tenant: string;
4091
+ type: "options";
4092
+ options: string[];
4093
+ surveyId: string;
4094
+ sectionId: string;
4095
+ ref?: any;
4096
+ model_ver?: number | undefined;
4097
+ created_at?: Date | null | undefined;
4098
+ updated_at?: Date | null | undefined;
4099
+ deleted_at?: Date | null | undefined;
4100
+ description?: string | undefined;
4101
+ tags?: {
4102
+ name: string;
4103
+ hidden: boolean;
4104
+ color?: string | undefined;
4105
+ }[] | undefined;
4106
+ statement?: string | undefined;
4107
+ description_text?: string | undefined;
4108
+ order?: number | undefined;
4109
+ required?: boolean | undefined;
4110
+ allow_multiple_selections?: boolean | undefined;
4111
+ }, {
4112
+ id: string;
4113
+ tenant: string;
4114
+ type: "options";
4115
+ options: string[];
4116
+ surveyId: string;
4117
+ sectionId: string;
4118
+ ref?: any;
4119
+ model_ver?: number | undefined;
4120
+ created_at?: Date | null | undefined;
4121
+ updated_at?: Date | null | undefined;
4122
+ deleted_at?: Date | null | undefined;
4123
+ description?: string | undefined;
4124
+ tags?: {
4125
+ name: string;
4126
+ hidden: boolean;
4127
+ color?: string | undefined;
4128
+ }[] | undefined;
4129
+ statement?: string | undefined;
4130
+ description_text?: string | undefined;
4131
+ order?: number | undefined;
4132
+ required?: boolean | undefined;
4133
+ allow_multiple_selections?: boolean | undefined;
4134
+ }>]>, "many">;
4135
+ question_count: z.ZodOptional<z.ZodNumber>;
4136
+ }>, "strip", z.ZodTypeAny, {
4137
+ id: string;
4138
+ tenant: string;
4139
+ name: string;
4140
+ description: string;
4141
+ questions: ({
4142
+ id: string;
4143
+ tenant: string;
4144
+ type: "scale";
4145
+ surveyId: string;
4146
+ sectionId: string;
4147
+ ref?: any;
4148
+ model_ver?: number | undefined;
4149
+ created_at?: Date | null | undefined;
4150
+ updated_at?: Date | null | undefined;
4151
+ deleted_at?: Date | null | undefined;
4152
+ description?: string | undefined;
4153
+ tags?: {
4154
+ name: string;
4155
+ hidden: boolean;
4156
+ color?: string | undefined;
4157
+ }[] | undefined;
4158
+ statement?: string | undefined;
4159
+ description_text?: string | undefined;
4160
+ order?: number | undefined;
4161
+ required?: boolean | undefined;
4162
+ template?: string | undefined;
4163
+ scale_min?: number | undefined;
4164
+ scale_max?: number | undefined;
4165
+ } | {
4166
+ id: string;
4167
+ tenant: string;
4168
+ type: "essay";
4169
+ surveyId: string;
4170
+ sectionId: string;
4171
+ ref?: any;
4172
+ model_ver?: number | undefined;
4173
+ created_at?: Date | null | undefined;
4174
+ updated_at?: Date | null | undefined;
4175
+ deleted_at?: Date | null | undefined;
4176
+ description?: string | undefined;
4177
+ tags?: {
4178
+ name: string;
4179
+ hidden: boolean;
4180
+ color?: string | undefined;
4181
+ }[] | undefined;
4182
+ statement?: string | undefined;
4183
+ description_text?: string | undefined;
4184
+ order?: number | undefined;
4185
+ required?: boolean | undefined;
4186
+ length_min?: number | undefined;
4187
+ length_max?: number | undefined;
4188
+ } | {
4189
+ id: string;
4190
+ tenant: string;
4191
+ type: "options";
4192
+ options: string[];
4193
+ surveyId: string;
4194
+ sectionId: string;
4195
+ ref?: any;
4196
+ model_ver?: number | undefined;
4197
+ created_at?: Date | null | undefined;
4198
+ updated_at?: Date | null | undefined;
4199
+ deleted_at?: Date | null | undefined;
4200
+ description?: string | undefined;
4201
+ tags?: {
4202
+ name: string;
4203
+ hidden: boolean;
4204
+ color?: string | undefined;
4205
+ }[] | undefined;
4206
+ statement?: string | undefined;
4207
+ description_text?: string | undefined;
4208
+ order?: number | undefined;
4209
+ required?: boolean | undefined;
4210
+ allow_multiple_selections?: boolean | undefined;
4211
+ })[];
4212
+ surveyId: string;
4213
+ order: number;
4214
+ ref?: any;
4215
+ model_ver?: number | undefined;
4216
+ created_at?: Date | null | undefined;
4217
+ updated_at?: Date | null | undefined;
4218
+ deleted_at?: Date | null | undefined;
4219
+ question_count?: number | undefined;
4220
+ }, {
4221
+ id: string;
4222
+ tenant: string;
4223
+ name: string;
4224
+ description: string;
4225
+ questions: ({
4226
+ id: string;
4227
+ tenant: string;
4228
+ type: "scale";
4229
+ surveyId: string;
4230
+ sectionId: string;
4231
+ ref?: any;
4232
+ model_ver?: number | undefined;
4233
+ created_at?: Date | null | undefined;
4234
+ updated_at?: Date | null | undefined;
4235
+ deleted_at?: Date | null | undefined;
4236
+ description?: string | undefined;
4237
+ tags?: {
4238
+ name: string;
4239
+ hidden: boolean;
4240
+ color?: string | undefined;
4241
+ }[] | undefined;
4242
+ statement?: string | undefined;
4243
+ description_text?: string | undefined;
4244
+ order?: number | undefined;
4245
+ required?: boolean | undefined;
4246
+ template?: string | undefined;
4247
+ scale_min?: number | undefined;
4248
+ scale_max?: number | undefined;
4249
+ } | {
4250
+ id: string;
4251
+ tenant: string;
4252
+ type: "essay";
4253
+ surveyId: string;
4254
+ sectionId: string;
4255
+ ref?: any;
4256
+ model_ver?: number | undefined;
4257
+ created_at?: Date | null | undefined;
4258
+ updated_at?: Date | null | undefined;
4259
+ deleted_at?: Date | null | undefined;
4260
+ description?: string | undefined;
4261
+ tags?: {
4262
+ name: string;
4263
+ hidden: boolean;
4264
+ color?: string | undefined;
4265
+ }[] | undefined;
4266
+ statement?: string | undefined;
4267
+ description_text?: string | undefined;
4268
+ order?: number | undefined;
4269
+ required?: boolean | undefined;
4270
+ length_min?: number | undefined;
4271
+ length_max?: number | undefined;
4272
+ } | {
4273
+ id: string;
4274
+ tenant: string;
4275
+ type: "options";
4276
+ options: string[];
4277
+ surveyId: string;
4278
+ sectionId: string;
4279
+ ref?: any;
4280
+ model_ver?: number | undefined;
4281
+ created_at?: Date | null | undefined;
4282
+ updated_at?: Date | null | undefined;
4283
+ deleted_at?: Date | null | undefined;
4284
+ description?: string | undefined;
4285
+ tags?: {
4286
+ name: string;
4287
+ hidden: boolean;
4288
+ color?: string | undefined;
4289
+ }[] | undefined;
4290
+ statement?: string | undefined;
4291
+ description_text?: string | undefined;
4292
+ order?: number | undefined;
4293
+ required?: boolean | undefined;
4294
+ allow_multiple_selections?: boolean | undefined;
4295
+ })[];
4296
+ surveyId: string;
4297
+ order: number;
4298
+ ref?: any;
4299
+ model_ver?: number | undefined;
4300
+ created_at?: Date | null | undefined;
4301
+ updated_at?: Date | null | undefined;
4302
+ deleted_at?: Date | null | undefined;
4303
+ question_count?: number | undefined;
4304
+ }>, "many">>;
4305
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4306
+ name: z.ZodString;
4307
+ color: z.ZodOptional<z.ZodString>;
4308
+ hidden: z.ZodBoolean;
4309
+ }, "strip", z.ZodTypeAny, {
4310
+ name: string;
4311
+ hidden: boolean;
4312
+ color?: string | undefined;
4313
+ }, {
4314
+ name: string;
4315
+ hidden: boolean;
4316
+ color?: string | undefined;
4317
+ }>, "many">>;
4318
+ }>, z.ZodTypeAny, "passthrough"> | null | undefined;
4319
+ invitees?: {
4320
+ id: string;
4321
+ tenant: string;
4322
+ name: string;
4323
+ responded: boolean;
4324
+ ref?: any;
4325
+ model_ver?: number | undefined;
4326
+ created_at?: Date | null | undefined;
4327
+ updated_at?: Date | null | undefined;
4328
+ deleted_at?: Date | null | undefined;
4329
+ email?: string | undefined;
4330
+ phone?: string | undefined;
4331
+ }[] | null | undefined;
4332
+ invitee_count?: number | undefined;
4333
+ submission_count?: number | undefined;
4334
+ submission_not_started_count?: number | undefined;
4335
+ submission_in_progress_count?: number | undefined;
4336
+ submission_completed_count?: number | undefined;
4337
+ }, {
4338
+ id: string;
4339
+ tenant: string;
4340
+ name: string;
4341
+ status: "draft" | "in_progress" | "open" | "closed" | "paused";
4342
+ start_date: Date | null;
4343
+ end_date: Date | null;
4344
+ allow_edit_answers: boolean;
4345
+ allow_partial_submission: boolean;
4346
+ ref?: any;
4347
+ model_ver?: number | undefined;
4348
+ created_at?: Date | null | undefined;
4349
+ updated_at?: Date | null | undefined;
4350
+ deleted_at?: Date | null | undefined;
4351
+ description?: string | undefined;
4352
+ submissions?: {
4353
+ id: string;
4354
+ tenant: string;
4355
+ status: "not_started" | "in_progress" | "completed";
4356
+ modified_after_completion: boolean;
4357
+ ref?: any;
4358
+ model_ver?: number | undefined;
4359
+ created_at?: Date | null | undefined;
4360
+ updated_at?: Date | null | undefined;
4361
+ deleted_at?: Date | null | undefined;
4362
+ deploymentId?: string | undefined;
4363
+ submission_date?: Date | null | undefined;
4364
+ inviteeId?: string | undefined;
4365
+ user_name?: string | undefined;
4366
+ responses?: {
4367
+ id: string;
4368
+ tenant: string;
4369
+ question_id: string;
4370
+ answer: string | string[];
4371
+ date: Date;
4372
+ ref?: any;
4373
+ model_ver?: number | undefined;
4374
+ created_at?: Date | null | undefined;
4375
+ updated_at?: Date | null | undefined;
4376
+ deleted_at?: Date | null | undefined;
4377
+ }[] | undefined;
4378
+ }[] | null | undefined;
4379
+ surveySourceRef?: any;
4380
+ survey?: z.objectInputType<z.objectUtil.extendShape<{
4381
+ id: z.ZodString;
4382
+ ref: z.ZodAny;
4383
+ tenant: z.ZodString;
4384
+ model_ver: z.ZodOptional<z.ZodNumber>;
4385
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4386
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4387
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4388
+ }, {
4389
+ name: z.ZodString;
4390
+ description: z.ZodOptional<z.ZodString>;
4391
+ status: z.ZodEnum<["draft", "ready", "archived"]>;
4392
+ permission: z.ZodEnum<["private", "company", "public"]>;
4393
+ type: z.ZodEnum<["360", "general"]>;
4394
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4395
+ id: z.ZodString;
4396
+ ref: z.ZodAny;
4397
+ tenant: z.ZodString;
4398
+ model_ver: z.ZodOptional<z.ZodNumber>;
4399
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4400
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4401
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4402
+ }, {
4403
+ surveyId: z.ZodString;
4404
+ name: z.ZodString;
4405
+ description: z.ZodString;
4406
+ order: z.ZodNumber;
4407
+ questions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4408
+ id: z.ZodString;
4409
+ ref: z.ZodAny;
4410
+ tenant: z.ZodString;
4411
+ model_ver: z.ZodOptional<z.ZodNumber>;
4412
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4413
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4414
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4415
+ }, {
4416
+ surveyId: z.ZodString;
4417
+ sectionId: z.ZodString;
4418
+ statement: z.ZodOptional<z.ZodString>;
4419
+ description: z.ZodOptional<z.ZodString>;
4420
+ description_text: z.ZodOptional<z.ZodString>;
4421
+ order: z.ZodOptional<z.ZodNumber>;
4422
+ required: z.ZodOptional<z.ZodBoolean>;
4423
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4424
+ name: z.ZodString;
4425
+ color: z.ZodOptional<z.ZodString>;
4426
+ hidden: z.ZodBoolean;
4427
+ }, "strip", z.ZodTypeAny, {
4428
+ name: string;
4429
+ hidden: boolean;
4430
+ color?: string | undefined;
4431
+ }, {
4432
+ name: string;
4433
+ hidden: boolean;
4434
+ color?: string | undefined;
4435
+ }>, "many">>;
4436
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
4437
+ }>, {
4438
+ type: z.ZodLiteral<"essay">;
4439
+ length_min: z.ZodOptional<z.ZodNumber>;
4440
+ length_max: z.ZodOptional<z.ZodNumber>;
4441
+ }>, "strip", z.ZodTypeAny, {
4442
+ id: string;
4443
+ tenant: string;
4444
+ type: "essay";
4445
+ surveyId: string;
4446
+ sectionId: string;
4447
+ ref?: any;
4448
+ model_ver?: number | undefined;
4449
+ created_at?: Date | null | undefined;
4450
+ updated_at?: Date | null | undefined;
4451
+ deleted_at?: Date | null | undefined;
4452
+ description?: string | undefined;
4453
+ tags?: {
4454
+ name: string;
4455
+ hidden: boolean;
4456
+ color?: string | undefined;
4457
+ }[] | undefined;
4458
+ statement?: string | undefined;
4459
+ description_text?: string | undefined;
4460
+ order?: number | undefined;
4461
+ required?: boolean | undefined;
4462
+ length_min?: number | undefined;
4463
+ length_max?: number | undefined;
4464
+ }, {
4465
+ id: string;
4466
+ tenant: string;
4467
+ type: "essay";
4468
+ surveyId: string;
4469
+ sectionId: string;
4470
+ ref?: any;
4471
+ model_ver?: number | undefined;
4472
+ created_at?: Date | null | undefined;
4473
+ updated_at?: Date | null | undefined;
4474
+ deleted_at?: Date | null | undefined;
4475
+ description?: string | undefined;
4476
+ tags?: {
4477
+ name: string;
4478
+ hidden: boolean;
4479
+ color?: string | undefined;
4480
+ }[] | undefined;
4481
+ statement?: string | undefined;
4482
+ description_text?: string | undefined;
4483
+ order?: number | undefined;
4484
+ required?: boolean | undefined;
4485
+ length_min?: number | undefined;
4486
+ length_max?: number | undefined;
4487
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4488
+ id: z.ZodString;
4489
+ ref: z.ZodAny;
4490
+ tenant: z.ZodString;
4491
+ model_ver: z.ZodOptional<z.ZodNumber>;
4492
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4493
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4494
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4495
+ }, {
4496
+ surveyId: z.ZodString;
4497
+ sectionId: z.ZodString;
4498
+ statement: z.ZodOptional<z.ZodString>;
4499
+ description: z.ZodOptional<z.ZodString>;
4500
+ description_text: z.ZodOptional<z.ZodString>;
4501
+ order: z.ZodOptional<z.ZodNumber>;
4502
+ required: z.ZodOptional<z.ZodBoolean>;
4503
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4504
+ name: z.ZodString;
4505
+ color: z.ZodOptional<z.ZodString>;
4506
+ hidden: z.ZodBoolean;
4507
+ }, "strip", z.ZodTypeAny, {
4508
+ name: string;
4509
+ hidden: boolean;
4510
+ color?: string | undefined;
4511
+ }, {
4512
+ name: string;
4513
+ hidden: boolean;
4514
+ color?: string | undefined;
4515
+ }>, "many">>;
4516
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
4517
+ }>, {
4518
+ type: z.ZodLiteral<"scale">;
4519
+ template: z.ZodOptional<z.ZodString>;
4520
+ scale_min: z.ZodOptional<z.ZodNumber>;
4521
+ scale_max: z.ZodOptional<z.ZodNumber>;
4522
+ }>, "strip", z.ZodTypeAny, {
4523
+ id: string;
4524
+ tenant: string;
4525
+ type: "scale";
4526
+ surveyId: string;
4527
+ sectionId: string;
4528
+ ref?: any;
4529
+ model_ver?: number | undefined;
4530
+ created_at?: Date | null | undefined;
4531
+ updated_at?: Date | null | undefined;
4532
+ deleted_at?: Date | null | undefined;
4533
+ description?: string | undefined;
4534
+ tags?: {
4535
+ name: string;
4536
+ hidden: boolean;
4537
+ color?: string | undefined;
4538
+ }[] | undefined;
4539
+ statement?: string | undefined;
4540
+ description_text?: string | undefined;
4541
+ order?: number | undefined;
4542
+ required?: boolean | undefined;
4543
+ template?: string | undefined;
4544
+ scale_min?: number | undefined;
4545
+ scale_max?: number | undefined;
4546
+ }, {
4547
+ id: string;
4548
+ tenant: string;
4549
+ type: "scale";
4550
+ surveyId: string;
4551
+ sectionId: string;
4552
+ ref?: any;
4553
+ model_ver?: number | undefined;
4554
+ created_at?: Date | null | undefined;
4555
+ updated_at?: Date | null | undefined;
4556
+ deleted_at?: Date | null | undefined;
4557
+ description?: string | undefined;
4558
+ tags?: {
4559
+ name: string;
4560
+ hidden: boolean;
4561
+ color?: string | undefined;
4562
+ }[] | undefined;
4563
+ statement?: string | undefined;
4564
+ description_text?: string | undefined;
4565
+ order?: number | undefined;
4566
+ required?: boolean | undefined;
4567
+ template?: string | undefined;
4568
+ scale_min?: number | undefined;
4569
+ scale_max?: number | undefined;
4570
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4571
+ id: z.ZodString;
4572
+ ref: z.ZodAny;
4573
+ tenant: z.ZodString;
4574
+ model_ver: z.ZodOptional<z.ZodNumber>;
4575
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4576
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4577
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4578
+ }, {
4579
+ surveyId: z.ZodString;
4580
+ sectionId: z.ZodString;
4581
+ statement: z.ZodOptional<z.ZodString>;
4582
+ description: z.ZodOptional<z.ZodString>;
4583
+ description_text: z.ZodOptional<z.ZodString>;
4584
+ order: z.ZodOptional<z.ZodNumber>;
4585
+ required: z.ZodOptional<z.ZodBoolean>;
4586
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4587
+ name: z.ZodString;
4588
+ color: z.ZodOptional<z.ZodString>;
4589
+ hidden: z.ZodBoolean;
4590
+ }, "strip", z.ZodTypeAny, {
4591
+ name: string;
4592
+ hidden: boolean;
4593
+ color?: string | undefined;
4594
+ }, {
4595
+ name: string;
4596
+ hidden: boolean;
4597
+ color?: string | undefined;
4598
+ }>, "many">>;
4599
+ type: z.ZodOptional<z.ZodEnum<["scale", "essay", "options"]>>;
4600
+ }>, {
4601
+ type: z.ZodLiteral<"options">;
4602
+ options: z.ZodArray<z.ZodString, "many">;
4603
+ allow_multiple_selections: z.ZodOptional<z.ZodBoolean>;
4604
+ }>, "strip", z.ZodTypeAny, {
4605
+ id: string;
4606
+ tenant: string;
4607
+ type: "options";
4608
+ options: string[];
4609
+ surveyId: string;
4610
+ sectionId: string;
4611
+ ref?: any;
4612
+ model_ver?: number | undefined;
4613
+ created_at?: Date | null | undefined;
4614
+ updated_at?: Date | null | undefined;
4615
+ deleted_at?: Date | null | undefined;
4616
+ description?: string | undefined;
4617
+ tags?: {
4618
+ name: string;
4619
+ hidden: boolean;
4620
+ color?: string | undefined;
4621
+ }[] | undefined;
4622
+ statement?: string | undefined;
4623
+ description_text?: string | undefined;
4624
+ order?: number | undefined;
4625
+ required?: boolean | undefined;
4626
+ allow_multiple_selections?: boolean | undefined;
4627
+ }, {
4628
+ id: string;
4629
+ tenant: string;
4630
+ type: "options";
4631
+ options: string[];
4632
+ surveyId: string;
4633
+ sectionId: string;
4634
+ ref?: any;
4635
+ model_ver?: number | undefined;
4636
+ created_at?: Date | null | undefined;
4637
+ updated_at?: Date | null | undefined;
4638
+ deleted_at?: Date | null | undefined;
4639
+ description?: string | undefined;
4640
+ tags?: {
4641
+ name: string;
4642
+ hidden: boolean;
4643
+ color?: string | undefined;
4644
+ }[] | undefined;
4645
+ statement?: string | undefined;
4646
+ description_text?: string | undefined;
4647
+ order?: number | undefined;
4648
+ required?: boolean | undefined;
4649
+ allow_multiple_selections?: boolean | undefined;
4650
+ }>]>, "many">;
4651
+ question_count: z.ZodOptional<z.ZodNumber>;
4652
+ }>, "strip", z.ZodTypeAny, {
4653
+ id: string;
4654
+ tenant: string;
4655
+ name: string;
4656
+ description: string;
4657
+ questions: ({
4658
+ id: string;
4659
+ tenant: string;
4660
+ type: "scale";
4661
+ surveyId: string;
4662
+ sectionId: string;
4663
+ ref?: any;
4664
+ model_ver?: number | undefined;
4665
+ created_at?: Date | null | undefined;
4666
+ updated_at?: Date | null | undefined;
4667
+ deleted_at?: Date | null | undefined;
4668
+ description?: string | undefined;
4669
+ tags?: {
4670
+ name: string;
4671
+ hidden: boolean;
4672
+ color?: string | undefined;
4673
+ }[] | undefined;
4674
+ statement?: string | undefined;
4675
+ description_text?: string | undefined;
4676
+ order?: number | undefined;
4677
+ required?: boolean | undefined;
4678
+ template?: string | undefined;
4679
+ scale_min?: number | undefined;
4680
+ scale_max?: number | undefined;
4681
+ } | {
4682
+ id: string;
4683
+ tenant: string;
4684
+ type: "essay";
4685
+ surveyId: string;
4686
+ sectionId: string;
4687
+ ref?: any;
4688
+ model_ver?: number | undefined;
4689
+ created_at?: Date | null | undefined;
4690
+ updated_at?: Date | null | undefined;
4691
+ deleted_at?: Date | null | undefined;
4692
+ description?: string | undefined;
4693
+ tags?: {
4694
+ name: string;
4695
+ hidden: boolean;
4696
+ color?: string | undefined;
4697
+ }[] | undefined;
4698
+ statement?: string | undefined;
4699
+ description_text?: string | undefined;
4700
+ order?: number | undefined;
4701
+ required?: boolean | undefined;
4702
+ length_min?: number | undefined;
4703
+ length_max?: number | undefined;
4704
+ } | {
4705
+ id: string;
4706
+ tenant: string;
4707
+ type: "options";
4708
+ options: string[];
4709
+ surveyId: string;
4710
+ sectionId: string;
4711
+ ref?: any;
4712
+ model_ver?: number | undefined;
4713
+ created_at?: Date | null | undefined;
4714
+ updated_at?: Date | null | undefined;
4715
+ deleted_at?: Date | null | undefined;
4716
+ description?: string | undefined;
4717
+ tags?: {
4718
+ name: string;
4719
+ hidden: boolean;
4720
+ color?: string | undefined;
4721
+ }[] | undefined;
4722
+ statement?: string | undefined;
4723
+ description_text?: string | undefined;
4724
+ order?: number | undefined;
4725
+ required?: boolean | undefined;
4726
+ allow_multiple_selections?: boolean | undefined;
4727
+ })[];
4728
+ surveyId: string;
4729
+ order: number;
4730
+ ref?: any;
4731
+ model_ver?: number | undefined;
4732
+ created_at?: Date | null | undefined;
4733
+ updated_at?: Date | null | undefined;
4734
+ deleted_at?: Date | null | undefined;
4735
+ question_count?: number | undefined;
4736
+ }, {
4737
+ id: string;
4738
+ tenant: string;
4739
+ name: string;
4740
+ description: string;
4741
+ questions: ({
4742
+ id: string;
4743
+ tenant: string;
4744
+ type: "scale";
4745
+ surveyId: string;
4746
+ sectionId: string;
4747
+ ref?: any;
4748
+ model_ver?: number | undefined;
4749
+ created_at?: Date | null | undefined;
4750
+ updated_at?: Date | null | undefined;
4751
+ deleted_at?: Date | null | undefined;
4752
+ description?: string | undefined;
4753
+ tags?: {
4754
+ name: string;
4755
+ hidden: boolean;
4756
+ color?: string | undefined;
4757
+ }[] | undefined;
4758
+ statement?: string | undefined;
4759
+ description_text?: string | undefined;
4760
+ order?: number | undefined;
4761
+ required?: boolean | undefined;
4762
+ template?: string | undefined;
4763
+ scale_min?: number | undefined;
4764
+ scale_max?: number | undefined;
4765
+ } | {
4766
+ id: string;
4767
+ tenant: string;
4768
+ type: "essay";
4769
+ surveyId: string;
4770
+ sectionId: string;
4771
+ ref?: any;
4772
+ model_ver?: number | undefined;
4773
+ created_at?: Date | null | undefined;
4774
+ updated_at?: Date | null | undefined;
4775
+ deleted_at?: Date | null | undefined;
4776
+ description?: string | undefined;
4777
+ tags?: {
4778
+ name: string;
4779
+ hidden: boolean;
4780
+ color?: string | undefined;
4781
+ }[] | undefined;
4782
+ statement?: string | undefined;
4783
+ description_text?: string | undefined;
4784
+ order?: number | undefined;
4785
+ required?: boolean | undefined;
4786
+ length_min?: number | undefined;
4787
+ length_max?: number | undefined;
4788
+ } | {
4789
+ id: string;
4790
+ tenant: string;
4791
+ type: "options";
4792
+ options: string[];
4793
+ surveyId: string;
4794
+ sectionId: string;
4795
+ ref?: any;
4796
+ model_ver?: number | undefined;
4797
+ created_at?: Date | null | undefined;
4798
+ updated_at?: Date | null | undefined;
4799
+ deleted_at?: Date | null | undefined;
4800
+ description?: string | undefined;
4801
+ tags?: {
4802
+ name: string;
4803
+ hidden: boolean;
4804
+ color?: string | undefined;
4805
+ }[] | undefined;
4806
+ statement?: string | undefined;
4807
+ description_text?: string | undefined;
4808
+ order?: number | undefined;
4809
+ required?: boolean | undefined;
4810
+ allow_multiple_selections?: boolean | undefined;
4811
+ })[];
4812
+ surveyId: string;
4813
+ order: number;
4814
+ ref?: any;
4815
+ model_ver?: number | undefined;
4816
+ created_at?: Date | null | undefined;
4817
+ updated_at?: Date | null | undefined;
4818
+ deleted_at?: Date | null | undefined;
4819
+ question_count?: number | undefined;
4820
+ }>, "many">>;
4821
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4822
+ name: z.ZodString;
4823
+ color: z.ZodOptional<z.ZodString>;
4824
+ hidden: z.ZodBoolean;
4825
+ }, "strip", z.ZodTypeAny, {
4826
+ name: string;
4827
+ hidden: boolean;
4828
+ color?: string | undefined;
4829
+ }, {
4830
+ name: string;
4831
+ hidden: boolean;
4832
+ color?: string | undefined;
4833
+ }>, "many">>;
4834
+ }>, z.ZodTypeAny, "passthrough"> | null | undefined;
4835
+ invitees?: {
4836
+ id: string;
4837
+ tenant: string;
4838
+ name: string;
4839
+ responded: boolean;
4840
+ ref?: any;
4841
+ model_ver?: number | undefined;
4842
+ created_at?: Date | null | undefined;
4843
+ updated_at?: Date | null | undefined;
4844
+ deleted_at?: Date | null | undefined;
4845
+ email?: string | undefined;
4846
+ phone?: string | undefined;
4847
+ }[] | null | undefined;
4848
+ invitee_count?: number | undefined;
4849
+ submission_count?: number | undefined;
4850
+ submission_not_started_count?: number | undefined;
4851
+ submission_in_progress_count?: number | undefined;
4852
+ submission_completed_count?: number | undefined;
1499
4853
  }>;