@encatch/schema 1.0.1-beta.0 → 1.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +292 -87
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +1225 -240
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +24 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +8 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +579 -87
- package/dist/types/schemas/fields/field-schema.d.ts +1339 -192
- package/dist/types/schemas/fields/form-properties-schema.d.ts +587 -165
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/theme-schema.d.ts +25 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +229 -46
- package/package.json +1 -1
|
@@ -8,6 +8,14 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
8
8
|
short_answer: "short_answer";
|
|
9
9
|
long_text: "long_text";
|
|
10
10
|
annotation: "annotation";
|
|
11
|
+
welcome: "welcome";
|
|
12
|
+
thank_you: "thank_you";
|
|
13
|
+
message_panel: "message_panel";
|
|
14
|
+
yes_no: "yes_no";
|
|
15
|
+
rating_matrix: "rating_matrix";
|
|
16
|
+
matrix_single_choice: "matrix_single_choice";
|
|
17
|
+
matrix_multiple_choice: "matrix_multiple_choice";
|
|
18
|
+
exit_form: "exit_form";
|
|
11
19
|
}>;
|
|
12
20
|
export declare const QuestionTypes: {
|
|
13
21
|
readonly RATING: "rating";
|
|
@@ -18,6 +26,14 @@ export declare const QuestionTypes: {
|
|
|
18
26
|
readonly SHORT_ANSWER: "short_answer";
|
|
19
27
|
readonly LONG_TEXT: "long_text";
|
|
20
28
|
readonly ANNOTATION: "annotation";
|
|
29
|
+
readonly WELCOME: "welcome";
|
|
30
|
+
readonly THANK_YOU: "thank_you";
|
|
31
|
+
readonly MESSAGE_PANEL: "message_panel";
|
|
32
|
+
readonly YES_NO: "yes_no";
|
|
33
|
+
readonly RATING_MATRIX: "rating_matrix";
|
|
34
|
+
readonly MATRIX_SINGLE_CHOICE: "matrix_single_choice";
|
|
35
|
+
readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
|
|
36
|
+
readonly EXIT_FORM: "exit_form";
|
|
21
37
|
};
|
|
22
38
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
23
39
|
required: "required";
|
|
@@ -157,6 +173,14 @@ export declare const MultipleChoiceMultipleDisplayStyles: {
|
|
|
157
173
|
readonly LIST: "list";
|
|
158
174
|
readonly CHIP: "chip";
|
|
159
175
|
};
|
|
176
|
+
export declare const yesNoDisplayStyleSchema: z.ZodEnum<{
|
|
177
|
+
horizontal: "horizontal";
|
|
178
|
+
vertical: "vertical";
|
|
179
|
+
}>;
|
|
180
|
+
export declare const YesNoDisplayStyles: {
|
|
181
|
+
readonly HORIZONTAL: "horizontal";
|
|
182
|
+
readonly VERTICAL: "vertical";
|
|
183
|
+
};
|
|
160
184
|
export declare const choiceOrderOptionSchema: z.ZodEnum<{
|
|
161
185
|
randomize: "randomize";
|
|
162
186
|
flip: "flip";
|
|
@@ -182,12 +206,301 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
182
206
|
short_answer: "short_answer";
|
|
183
207
|
long_text: "long_text";
|
|
184
208
|
annotation: "annotation";
|
|
209
|
+
welcome: "welcome";
|
|
210
|
+
thank_you: "thank_you";
|
|
211
|
+
message_panel: "message_panel";
|
|
212
|
+
yes_no: "yes_no";
|
|
213
|
+
rating_matrix: "rating_matrix";
|
|
214
|
+
matrix_single_choice: "matrix_single_choice";
|
|
215
|
+
matrix_multiple_choice: "matrix_multiple_choice";
|
|
216
|
+
exit_form: "exit_form";
|
|
217
|
+
}>;
|
|
218
|
+
title: z.ZodString;
|
|
219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
220
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
221
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
222
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
223
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
224
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
|
+
type: z.ZodEnum<{
|
|
226
|
+
required: "required";
|
|
227
|
+
min: "min";
|
|
228
|
+
max: "max";
|
|
229
|
+
minLength: "minLength";
|
|
230
|
+
maxLength: "maxLength";
|
|
231
|
+
pattern: "pattern";
|
|
232
|
+
email: "email";
|
|
233
|
+
url: "url";
|
|
234
|
+
custom: "custom";
|
|
235
|
+
}>;
|
|
236
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
237
|
+
message: z.ZodOptional<z.ZodString>;
|
|
238
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>>>>;
|
|
240
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
241
|
+
field: z.ZodString;
|
|
242
|
+
operator: z.ZodEnum<{
|
|
243
|
+
equals: "equals";
|
|
244
|
+
not_equals: "not_equals";
|
|
245
|
+
contains: "contains";
|
|
246
|
+
not_contains: "not_contains";
|
|
247
|
+
greater_than: "greater_than";
|
|
248
|
+
less_than: "less_than";
|
|
249
|
+
is_empty: "is_empty";
|
|
250
|
+
is_not_empty: "is_not_empty";
|
|
251
|
+
}>;
|
|
252
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
253
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>>>>;
|
|
255
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
256
|
+
status: z.ZodEnum<{
|
|
257
|
+
D: "D";
|
|
258
|
+
P: "P";
|
|
259
|
+
A: "A";
|
|
260
|
+
S: "S";
|
|
261
|
+
}>;
|
|
262
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
left: "left";
|
|
264
|
+
center: "center";
|
|
265
|
+
}>>>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
268
|
+
id: z.ZodString;
|
|
269
|
+
title: z.ZodString;
|
|
270
|
+
description: z.ZodOptional<z.ZodString>;
|
|
271
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
272
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
273
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
274
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
275
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
276
|
+
type: z.ZodEnum<{
|
|
277
|
+
required: "required";
|
|
278
|
+
min: "min";
|
|
279
|
+
max: "max";
|
|
280
|
+
minLength: "minLength";
|
|
281
|
+
maxLength: "maxLength";
|
|
282
|
+
pattern: "pattern";
|
|
283
|
+
email: "email";
|
|
284
|
+
url: "url";
|
|
285
|
+
custom: "custom";
|
|
286
|
+
}>;
|
|
287
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
288
|
+
message: z.ZodOptional<z.ZodString>;
|
|
289
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>>>>;
|
|
291
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
292
|
+
field: z.ZodString;
|
|
293
|
+
operator: z.ZodEnum<{
|
|
294
|
+
equals: "equals";
|
|
295
|
+
not_equals: "not_equals";
|
|
296
|
+
contains: "contains";
|
|
297
|
+
not_contains: "not_contains";
|
|
298
|
+
greater_than: "greater_than";
|
|
299
|
+
less_than: "less_than";
|
|
300
|
+
is_empty: "is_empty";
|
|
301
|
+
is_not_empty: "is_not_empty";
|
|
302
|
+
}>;
|
|
303
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
304
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
305
|
+
}, z.core.$strip>>>>;
|
|
306
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
307
|
+
status: z.ZodEnum<{
|
|
308
|
+
D: "D";
|
|
309
|
+
P: "P";
|
|
310
|
+
A: "A";
|
|
311
|
+
S: "S";
|
|
312
|
+
}>;
|
|
313
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
left: "left";
|
|
315
|
+
center: "center";
|
|
316
|
+
}>>>;
|
|
317
|
+
type: z.ZodLiteral<"rating">;
|
|
318
|
+
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
320
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
321
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
star: "star";
|
|
323
|
+
heart: "heart";
|
|
324
|
+
"thumbs-up": "thumbs-up";
|
|
325
|
+
diamond: "diamond";
|
|
326
|
+
emoji: "emoji";
|
|
327
|
+
"emoji-exp": "emoji-exp";
|
|
328
|
+
}>>;
|
|
329
|
+
numberOfRatings: z.ZodNumber;
|
|
330
|
+
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
small: "small";
|
|
332
|
+
medium: "medium";
|
|
333
|
+
large: "large";
|
|
334
|
+
}>>;
|
|
335
|
+
color: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$strip>;
|
|
337
|
+
export declare const annotationQuestionSchema: z.ZodObject<{
|
|
338
|
+
id: z.ZodString;
|
|
339
|
+
title: z.ZodString;
|
|
340
|
+
description: z.ZodOptional<z.ZodString>;
|
|
341
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
342
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
343
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
344
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
345
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
|
+
type: z.ZodEnum<{
|
|
347
|
+
required: "required";
|
|
348
|
+
min: "min";
|
|
349
|
+
max: "max";
|
|
350
|
+
minLength: "minLength";
|
|
351
|
+
maxLength: "maxLength";
|
|
352
|
+
pattern: "pattern";
|
|
353
|
+
email: "email";
|
|
354
|
+
url: "url";
|
|
355
|
+
custom: "custom";
|
|
356
|
+
}>;
|
|
357
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
358
|
+
message: z.ZodOptional<z.ZodString>;
|
|
359
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
360
|
+
}, z.core.$strip>>>>;
|
|
361
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
|
+
field: z.ZodString;
|
|
363
|
+
operator: z.ZodEnum<{
|
|
364
|
+
equals: "equals";
|
|
365
|
+
not_equals: "not_equals";
|
|
366
|
+
contains: "contains";
|
|
367
|
+
not_contains: "not_contains";
|
|
368
|
+
greater_than: "greater_than";
|
|
369
|
+
less_than: "less_than";
|
|
370
|
+
is_empty: "is_empty";
|
|
371
|
+
is_not_empty: "is_not_empty";
|
|
372
|
+
}>;
|
|
373
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
374
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strip>>>>;
|
|
376
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
377
|
+
status: z.ZodEnum<{
|
|
378
|
+
D: "D";
|
|
379
|
+
P: "P";
|
|
380
|
+
A: "A";
|
|
381
|
+
S: "S";
|
|
382
|
+
}>;
|
|
383
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
left: "left";
|
|
385
|
+
center: "center";
|
|
386
|
+
}>>>;
|
|
387
|
+
type: z.ZodLiteral<"annotation">;
|
|
388
|
+
annotationText: z.ZodOptional<z.ZodString>;
|
|
389
|
+
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
392
|
+
id: z.ZodString;
|
|
393
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
394
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
395
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
396
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
397
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
|
+
type: z.ZodEnum<{
|
|
399
|
+
required: "required";
|
|
400
|
+
min: "min";
|
|
401
|
+
max: "max";
|
|
402
|
+
minLength: "minLength";
|
|
403
|
+
maxLength: "maxLength";
|
|
404
|
+
pattern: "pattern";
|
|
405
|
+
email: "email";
|
|
406
|
+
url: "url";
|
|
407
|
+
custom: "custom";
|
|
408
|
+
}>;
|
|
409
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
410
|
+
message: z.ZodOptional<z.ZodString>;
|
|
411
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
412
|
+
}, z.core.$strip>>>>;
|
|
413
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
414
|
+
field: z.ZodString;
|
|
415
|
+
operator: z.ZodEnum<{
|
|
416
|
+
equals: "equals";
|
|
417
|
+
not_equals: "not_equals";
|
|
418
|
+
contains: "contains";
|
|
419
|
+
not_contains: "not_contains";
|
|
420
|
+
greater_than: "greater_than";
|
|
421
|
+
less_than: "less_than";
|
|
422
|
+
is_empty: "is_empty";
|
|
423
|
+
is_not_empty: "is_not_empty";
|
|
424
|
+
}>;
|
|
425
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
426
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
427
|
+
}, z.core.$strip>>>>;
|
|
428
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
429
|
+
status: z.ZodEnum<{
|
|
430
|
+
D: "D";
|
|
431
|
+
P: "P";
|
|
432
|
+
A: "A";
|
|
433
|
+
S: "S";
|
|
434
|
+
}>;
|
|
435
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
left: "left";
|
|
437
|
+
center: "center";
|
|
438
|
+
}>>>;
|
|
439
|
+
type: z.ZodLiteral<"welcome">;
|
|
440
|
+
title: z.ZodString;
|
|
441
|
+
description: z.ZodOptional<z.ZodString>;
|
|
442
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
443
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
444
|
+
}, z.core.$strip>;
|
|
445
|
+
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
446
|
+
id: z.ZodString;
|
|
447
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
448
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
449
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
450
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
451
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
|
+
type: z.ZodEnum<{
|
|
453
|
+
required: "required";
|
|
454
|
+
min: "min";
|
|
455
|
+
max: "max";
|
|
456
|
+
minLength: "minLength";
|
|
457
|
+
maxLength: "maxLength";
|
|
458
|
+
pattern: "pattern";
|
|
459
|
+
email: "email";
|
|
460
|
+
url: "url";
|
|
461
|
+
custom: "custom";
|
|
462
|
+
}>;
|
|
463
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
464
|
+
message: z.ZodOptional<z.ZodString>;
|
|
465
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
466
|
+
}, z.core.$strip>>>>;
|
|
467
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
468
|
+
field: z.ZodString;
|
|
469
|
+
operator: z.ZodEnum<{
|
|
470
|
+
equals: "equals";
|
|
471
|
+
not_equals: "not_equals";
|
|
472
|
+
contains: "contains";
|
|
473
|
+
not_contains: "not_contains";
|
|
474
|
+
greater_than: "greater_than";
|
|
475
|
+
less_than: "less_than";
|
|
476
|
+
is_empty: "is_empty";
|
|
477
|
+
is_not_empty: "is_not_empty";
|
|
478
|
+
}>;
|
|
479
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
480
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
481
|
+
}, z.core.$strip>>>>;
|
|
482
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
483
|
+
status: z.ZodEnum<{
|
|
484
|
+
D: "D";
|
|
485
|
+
P: "P";
|
|
486
|
+
A: "A";
|
|
487
|
+
S: "S";
|
|
185
488
|
}>;
|
|
489
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
490
|
+
left: "left";
|
|
491
|
+
center: "center";
|
|
492
|
+
}>>>;
|
|
493
|
+
type: z.ZodLiteral<"thank_you">;
|
|
186
494
|
title: z.ZodString;
|
|
187
495
|
description: z.ZodOptional<z.ZodString>;
|
|
188
|
-
|
|
496
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
497
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
498
|
+
}, z.core.$strip>;
|
|
499
|
+
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
500
|
+
id: z.ZodString;
|
|
189
501
|
describe: z.ZodOptional<z.ZodString>;
|
|
190
502
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
503
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
191
504
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
192
505
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
506
|
type: z.ZodEnum<{
|
|
@@ -220,7 +533,6 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
220
533
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
221
534
|
describe: z.ZodOptional<z.ZodString>;
|
|
222
535
|
}, z.core.$strip>>>>;
|
|
223
|
-
isFixed: z.ZodBoolean;
|
|
224
536
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
225
537
|
status: z.ZodEnum<{
|
|
226
538
|
D: "D";
|
|
@@ -228,14 +540,857 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
228
540
|
A: "A";
|
|
229
541
|
S: "S";
|
|
230
542
|
}>;
|
|
543
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
left: "left";
|
|
545
|
+
center: "center";
|
|
546
|
+
}>>>;
|
|
547
|
+
type: z.ZodLiteral<"message_panel">;
|
|
548
|
+
title: z.ZodString;
|
|
549
|
+
description: z.ZodOptional<z.ZodString>;
|
|
550
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
551
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
554
|
+
id: z.ZodString;
|
|
555
|
+
title: z.ZodString;
|
|
556
|
+
description: z.ZodOptional<z.ZodString>;
|
|
557
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
558
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
559
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
560
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
561
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
562
|
+
type: z.ZodEnum<{
|
|
563
|
+
required: "required";
|
|
564
|
+
min: "min";
|
|
565
|
+
max: "max";
|
|
566
|
+
minLength: "minLength";
|
|
567
|
+
maxLength: "maxLength";
|
|
568
|
+
pattern: "pattern";
|
|
569
|
+
email: "email";
|
|
570
|
+
url: "url";
|
|
571
|
+
custom: "custom";
|
|
572
|
+
}>;
|
|
573
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
574
|
+
message: z.ZodOptional<z.ZodString>;
|
|
575
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
576
|
+
}, z.core.$strip>>>>;
|
|
577
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
578
|
+
field: z.ZodString;
|
|
579
|
+
operator: z.ZodEnum<{
|
|
580
|
+
equals: "equals";
|
|
581
|
+
not_equals: "not_equals";
|
|
582
|
+
contains: "contains";
|
|
583
|
+
not_contains: "not_contains";
|
|
584
|
+
greater_than: "greater_than";
|
|
585
|
+
less_than: "less_than";
|
|
586
|
+
is_empty: "is_empty";
|
|
587
|
+
is_not_empty: "is_not_empty";
|
|
588
|
+
}>;
|
|
589
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
590
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
591
|
+
}, z.core.$strip>>>>;
|
|
592
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
593
|
+
status: z.ZodEnum<{
|
|
594
|
+
D: "D";
|
|
595
|
+
P: "P";
|
|
596
|
+
A: "A";
|
|
597
|
+
S: "S";
|
|
598
|
+
}>;
|
|
599
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
left: "left";
|
|
601
|
+
center: "center";
|
|
602
|
+
}>>>;
|
|
603
|
+
type: z.ZodLiteral<"exit_form">;
|
|
604
|
+
}, z.core.$strip>;
|
|
605
|
+
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
606
|
+
id: z.ZodString;
|
|
607
|
+
title: z.ZodString;
|
|
608
|
+
description: z.ZodOptional<z.ZodString>;
|
|
609
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
610
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
611
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
612
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
613
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
614
|
+
type: z.ZodEnum<{
|
|
615
|
+
required: "required";
|
|
616
|
+
min: "min";
|
|
617
|
+
max: "max";
|
|
618
|
+
minLength: "minLength";
|
|
619
|
+
maxLength: "maxLength";
|
|
620
|
+
pattern: "pattern";
|
|
621
|
+
email: "email";
|
|
622
|
+
url: "url";
|
|
623
|
+
custom: "custom";
|
|
624
|
+
}>;
|
|
625
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
626
|
+
message: z.ZodOptional<z.ZodString>;
|
|
627
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
628
|
+
}, z.core.$strip>>>>;
|
|
629
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
630
|
+
field: z.ZodString;
|
|
631
|
+
operator: z.ZodEnum<{
|
|
632
|
+
equals: "equals";
|
|
633
|
+
not_equals: "not_equals";
|
|
634
|
+
contains: "contains";
|
|
635
|
+
not_contains: "not_contains";
|
|
636
|
+
greater_than: "greater_than";
|
|
637
|
+
less_than: "less_than";
|
|
638
|
+
is_empty: "is_empty";
|
|
639
|
+
is_not_empty: "is_not_empty";
|
|
640
|
+
}>;
|
|
641
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
642
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
643
|
+
}, z.core.$strip>>>>;
|
|
644
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
645
|
+
status: z.ZodEnum<{
|
|
646
|
+
D: "D";
|
|
647
|
+
P: "P";
|
|
648
|
+
A: "A";
|
|
649
|
+
S: "S";
|
|
650
|
+
}>;
|
|
651
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
652
|
+
left: "left";
|
|
653
|
+
center: "center";
|
|
654
|
+
}>>>;
|
|
655
|
+
type: z.ZodLiteral<"yes_no">;
|
|
656
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
657
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
658
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
659
|
+
horizontal: "horizontal";
|
|
660
|
+
vertical: "vertical";
|
|
661
|
+
}>>;
|
|
662
|
+
}, z.core.$strip>;
|
|
663
|
+
export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
|
|
664
|
+
star: "star";
|
|
665
|
+
emoji: "emoji";
|
|
666
|
+
radio: "radio";
|
|
667
|
+
button: "button";
|
|
668
|
+
}>;
|
|
669
|
+
export declare const RatingMatrixDisplayStyles: {
|
|
670
|
+
readonly RADIO: "radio";
|
|
671
|
+
readonly STAR: "star";
|
|
672
|
+
readonly EMOJI: "emoji";
|
|
673
|
+
readonly BUTTON: "button";
|
|
674
|
+
};
|
|
675
|
+
export declare const ratingMatrixStatementSchema: z.ZodObject<{
|
|
676
|
+
id: z.ZodString;
|
|
677
|
+
value: z.ZodString;
|
|
678
|
+
label: z.ZodString;
|
|
679
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
export declare const ratingMatrixScalePointSchema: z.ZodObject<{
|
|
682
|
+
id: z.ZodString;
|
|
683
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
684
|
+
label: z.ZodString;
|
|
685
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
686
|
+
}, z.core.$strip>;
|
|
687
|
+
export declare const ratingMatrixScaleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
688
|
+
kind: z.ZodLiteral<"likert">;
|
|
689
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
690
|
+
id: z.ZodString;
|
|
691
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
692
|
+
label: z.ZodString;
|
|
693
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
694
|
+
}, z.core.$strip>>;
|
|
695
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
696
|
+
kind: z.ZodLiteral<"numerical">;
|
|
697
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
698
|
+
id: z.ZodString;
|
|
699
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
700
|
+
label: z.ZodString;
|
|
701
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
702
|
+
}, z.core.$strip>>;
|
|
703
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
704
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
705
|
+
kind: z.ZodLiteral<"custom">;
|
|
706
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
707
|
+
id: z.ZodString;
|
|
708
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
709
|
+
label: z.ZodString;
|
|
710
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
}, z.core.$strip>], "kind">;
|
|
713
|
+
export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
714
|
+
id: z.ZodString;
|
|
715
|
+
title: z.ZodString;
|
|
716
|
+
description: z.ZodOptional<z.ZodString>;
|
|
717
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
718
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
719
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
720
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
721
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
722
|
+
type: z.ZodEnum<{
|
|
723
|
+
required: "required";
|
|
724
|
+
min: "min";
|
|
725
|
+
max: "max";
|
|
726
|
+
minLength: "minLength";
|
|
727
|
+
maxLength: "maxLength";
|
|
728
|
+
pattern: "pattern";
|
|
729
|
+
email: "email";
|
|
730
|
+
url: "url";
|
|
731
|
+
custom: "custom";
|
|
732
|
+
}>;
|
|
733
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
734
|
+
message: z.ZodOptional<z.ZodString>;
|
|
735
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
736
|
+
}, z.core.$strip>>>>;
|
|
737
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
738
|
+
field: z.ZodString;
|
|
739
|
+
operator: z.ZodEnum<{
|
|
740
|
+
equals: "equals";
|
|
741
|
+
not_equals: "not_equals";
|
|
742
|
+
contains: "contains";
|
|
743
|
+
not_contains: "not_contains";
|
|
744
|
+
greater_than: "greater_than";
|
|
745
|
+
less_than: "less_than";
|
|
746
|
+
is_empty: "is_empty";
|
|
747
|
+
is_not_empty: "is_not_empty";
|
|
748
|
+
}>;
|
|
749
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
750
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
751
|
+
}, z.core.$strip>>>>;
|
|
752
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
753
|
+
status: z.ZodEnum<{
|
|
754
|
+
D: "D";
|
|
755
|
+
P: "P";
|
|
756
|
+
A: "A";
|
|
757
|
+
S: "S";
|
|
758
|
+
}>;
|
|
759
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
760
|
+
left: "left";
|
|
761
|
+
center: "center";
|
|
762
|
+
}>>>;
|
|
763
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
764
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
765
|
+
id: z.ZodString;
|
|
766
|
+
value: z.ZodString;
|
|
767
|
+
label: z.ZodString;
|
|
768
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
769
|
+
}, z.core.$strip>>;
|
|
770
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
771
|
+
kind: z.ZodLiteral<"likert">;
|
|
772
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
773
|
+
id: z.ZodString;
|
|
774
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
775
|
+
label: z.ZodString;
|
|
776
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
777
|
+
}, z.core.$strip>>;
|
|
778
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
779
|
+
kind: z.ZodLiteral<"numerical">;
|
|
780
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
781
|
+
id: z.ZodString;
|
|
782
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
783
|
+
label: z.ZodString;
|
|
784
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
785
|
+
}, z.core.$strip>>;
|
|
786
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
787
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
788
|
+
kind: z.ZodLiteral<"custom">;
|
|
789
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
790
|
+
id: z.ZodString;
|
|
791
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
792
|
+
label: z.ZodString;
|
|
793
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
794
|
+
}, z.core.$strip>>;
|
|
795
|
+
}, z.core.$strip>], "kind">;
|
|
796
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
797
|
+
star: "star";
|
|
798
|
+
emoji: "emoji";
|
|
799
|
+
radio: "radio";
|
|
800
|
+
button: "button";
|
|
801
|
+
}>>;
|
|
802
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
803
|
+
}, z.core.$strip>;
|
|
804
|
+
export declare const matrixRowSchema: z.ZodObject<{
|
|
805
|
+
id: z.ZodString;
|
|
806
|
+
value: z.ZodString;
|
|
807
|
+
label: z.ZodString;
|
|
808
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
809
|
+
}, z.core.$strip>;
|
|
810
|
+
export declare const matrixColumnSchema: z.ZodObject<{
|
|
811
|
+
id: z.ZodString;
|
|
812
|
+
value: z.ZodString;
|
|
813
|
+
label: z.ZodString;
|
|
814
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
815
|
+
}, z.core.$strip>;
|
|
816
|
+
export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
817
|
+
id: z.ZodString;
|
|
818
|
+
title: z.ZodString;
|
|
819
|
+
description: z.ZodOptional<z.ZodString>;
|
|
820
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
821
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
822
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
823
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
824
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
|
+
type: z.ZodEnum<{
|
|
826
|
+
required: "required";
|
|
827
|
+
min: "min";
|
|
828
|
+
max: "max";
|
|
829
|
+
minLength: "minLength";
|
|
830
|
+
maxLength: "maxLength";
|
|
831
|
+
pattern: "pattern";
|
|
832
|
+
email: "email";
|
|
833
|
+
url: "url";
|
|
834
|
+
custom: "custom";
|
|
835
|
+
}>;
|
|
836
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
837
|
+
message: z.ZodOptional<z.ZodString>;
|
|
838
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
839
|
+
}, z.core.$strip>>>>;
|
|
840
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
841
|
+
field: z.ZodString;
|
|
842
|
+
operator: z.ZodEnum<{
|
|
843
|
+
equals: "equals";
|
|
844
|
+
not_equals: "not_equals";
|
|
845
|
+
contains: "contains";
|
|
846
|
+
not_contains: "not_contains";
|
|
847
|
+
greater_than: "greater_than";
|
|
848
|
+
less_than: "less_than";
|
|
849
|
+
is_empty: "is_empty";
|
|
850
|
+
is_not_empty: "is_not_empty";
|
|
851
|
+
}>;
|
|
852
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
853
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
854
|
+
}, z.core.$strip>>>>;
|
|
855
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
856
|
+
status: z.ZodEnum<{
|
|
857
|
+
D: "D";
|
|
858
|
+
P: "P";
|
|
859
|
+
A: "A";
|
|
860
|
+
S: "S";
|
|
861
|
+
}>;
|
|
862
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
left: "left";
|
|
864
|
+
center: "center";
|
|
865
|
+
}>>>;
|
|
866
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
867
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
868
|
+
id: z.ZodString;
|
|
869
|
+
value: z.ZodString;
|
|
870
|
+
label: z.ZodString;
|
|
871
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
872
|
+
}, z.core.$strip>>;
|
|
873
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
874
|
+
id: z.ZodString;
|
|
875
|
+
value: z.ZodString;
|
|
876
|
+
label: z.ZodString;
|
|
877
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
878
|
+
}, z.core.$strip>>;
|
|
879
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
880
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
881
|
+
}, z.core.$strip>;
|
|
882
|
+
export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
883
|
+
id: z.ZodString;
|
|
884
|
+
title: z.ZodString;
|
|
885
|
+
description: z.ZodOptional<z.ZodString>;
|
|
886
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
887
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
888
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
889
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
890
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
891
|
+
type: z.ZodEnum<{
|
|
892
|
+
required: "required";
|
|
893
|
+
min: "min";
|
|
894
|
+
max: "max";
|
|
895
|
+
minLength: "minLength";
|
|
896
|
+
maxLength: "maxLength";
|
|
897
|
+
pattern: "pattern";
|
|
898
|
+
email: "email";
|
|
899
|
+
url: "url";
|
|
900
|
+
custom: "custom";
|
|
901
|
+
}>;
|
|
902
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
903
|
+
message: z.ZodOptional<z.ZodString>;
|
|
904
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
905
|
+
}, z.core.$strip>>>>;
|
|
906
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
907
|
+
field: z.ZodString;
|
|
908
|
+
operator: z.ZodEnum<{
|
|
909
|
+
equals: "equals";
|
|
910
|
+
not_equals: "not_equals";
|
|
911
|
+
contains: "contains";
|
|
912
|
+
not_contains: "not_contains";
|
|
913
|
+
greater_than: "greater_than";
|
|
914
|
+
less_than: "less_than";
|
|
915
|
+
is_empty: "is_empty";
|
|
916
|
+
is_not_empty: "is_not_empty";
|
|
917
|
+
}>;
|
|
918
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
919
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
920
|
+
}, z.core.$strip>>>>;
|
|
921
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
922
|
+
status: z.ZodEnum<{
|
|
923
|
+
D: "D";
|
|
924
|
+
P: "P";
|
|
925
|
+
A: "A";
|
|
926
|
+
S: "S";
|
|
927
|
+
}>;
|
|
928
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
929
|
+
left: "left";
|
|
930
|
+
center: "center";
|
|
931
|
+
}>>>;
|
|
932
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
933
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
934
|
+
id: z.ZodString;
|
|
935
|
+
value: z.ZodString;
|
|
936
|
+
label: z.ZodString;
|
|
937
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
938
|
+
}, z.core.$strip>>;
|
|
939
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
940
|
+
id: z.ZodString;
|
|
941
|
+
value: z.ZodString;
|
|
942
|
+
label: z.ZodString;
|
|
943
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
944
|
+
}, z.core.$strip>>;
|
|
945
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
946
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
947
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
948
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
949
|
+
}, z.core.$strip>;
|
|
950
|
+
export declare const questionOptionSchema: z.ZodObject<{
|
|
951
|
+
id: z.ZodString;
|
|
952
|
+
value: z.ZodString;
|
|
953
|
+
label: z.ZodString;
|
|
954
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
955
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
956
|
+
}, z.core.$strip>;
|
|
957
|
+
export declare const nestedOptionSchema: z.ZodType<any>;
|
|
958
|
+
export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
959
|
+
id: z.ZodString;
|
|
960
|
+
title: z.ZodString;
|
|
961
|
+
description: z.ZodOptional<z.ZodString>;
|
|
962
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
963
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
965
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
966
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
|
+
type: z.ZodEnum<{
|
|
968
|
+
required: "required";
|
|
969
|
+
min: "min";
|
|
970
|
+
max: "max";
|
|
971
|
+
minLength: "minLength";
|
|
972
|
+
maxLength: "maxLength";
|
|
973
|
+
pattern: "pattern";
|
|
974
|
+
email: "email";
|
|
975
|
+
url: "url";
|
|
976
|
+
custom: "custom";
|
|
977
|
+
}>;
|
|
978
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
979
|
+
message: z.ZodOptional<z.ZodString>;
|
|
980
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
981
|
+
}, z.core.$strip>>>>;
|
|
982
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
983
|
+
field: z.ZodString;
|
|
984
|
+
operator: z.ZodEnum<{
|
|
985
|
+
equals: "equals";
|
|
986
|
+
not_equals: "not_equals";
|
|
987
|
+
contains: "contains";
|
|
988
|
+
not_contains: "not_contains";
|
|
989
|
+
greater_than: "greater_than";
|
|
990
|
+
less_than: "less_than";
|
|
991
|
+
is_empty: "is_empty";
|
|
992
|
+
is_not_empty: "is_not_empty";
|
|
993
|
+
}>;
|
|
994
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
995
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
996
|
+
}, z.core.$strip>>>>;
|
|
997
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
998
|
+
status: z.ZodEnum<{
|
|
999
|
+
D: "D";
|
|
1000
|
+
P: "P";
|
|
1001
|
+
A: "A";
|
|
1002
|
+
S: "S";
|
|
1003
|
+
}>;
|
|
1004
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1005
|
+
left: "left";
|
|
1006
|
+
center: "center";
|
|
1007
|
+
}>>>;
|
|
1008
|
+
type: z.ZodLiteral<"single_choice">;
|
|
1009
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1010
|
+
radio: "radio";
|
|
1011
|
+
list: "list";
|
|
1012
|
+
chip: "chip";
|
|
1013
|
+
dropdown: "dropdown";
|
|
1014
|
+
}>>;
|
|
1015
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1016
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
1017
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
1018
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
1019
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
}, z.core.$strip>>;
|
|
1021
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1022
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1023
|
+
id: z.ZodString;
|
|
1024
|
+
value: z.ZodString;
|
|
1025
|
+
label: z.ZodString;
|
|
1026
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
}, z.core.$strip>>;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
1031
|
+
id: z.ZodString;
|
|
1032
|
+
title: z.ZodString;
|
|
1033
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1036
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1037
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
|
+
type: z.ZodEnum<{
|
|
1040
|
+
required: "required";
|
|
1041
|
+
min: "min";
|
|
1042
|
+
max: "max";
|
|
1043
|
+
minLength: "minLength";
|
|
1044
|
+
maxLength: "maxLength";
|
|
1045
|
+
pattern: "pattern";
|
|
1046
|
+
email: "email";
|
|
1047
|
+
url: "url";
|
|
1048
|
+
custom: "custom";
|
|
1049
|
+
}>;
|
|
1050
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1051
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
}, z.core.$strip>>>>;
|
|
1054
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1055
|
+
field: z.ZodString;
|
|
1056
|
+
operator: z.ZodEnum<{
|
|
1057
|
+
equals: "equals";
|
|
1058
|
+
not_equals: "not_equals";
|
|
1059
|
+
contains: "contains";
|
|
1060
|
+
not_contains: "not_contains";
|
|
1061
|
+
greater_than: "greater_than";
|
|
1062
|
+
less_than: "less_than";
|
|
1063
|
+
is_empty: "is_empty";
|
|
1064
|
+
is_not_empty: "is_not_empty";
|
|
1065
|
+
}>;
|
|
1066
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1067
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
}, z.core.$strip>>>>;
|
|
1069
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
status: z.ZodEnum<{
|
|
1071
|
+
D: "D";
|
|
1072
|
+
P: "P";
|
|
1073
|
+
A: "A";
|
|
1074
|
+
S: "S";
|
|
1075
|
+
}>;
|
|
1076
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1077
|
+
left: "left";
|
|
1078
|
+
center: "center";
|
|
1079
|
+
}>>>;
|
|
1080
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1081
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1082
|
+
list: "list";
|
|
1083
|
+
chip: "chip";
|
|
1084
|
+
checkbox: "checkbox";
|
|
1085
|
+
}>>;
|
|
1086
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1087
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
1088
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
1089
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
1090
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
}, z.core.$strip>>;
|
|
1092
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
1093
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
1094
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1095
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1096
|
+
id: z.ZodString;
|
|
1097
|
+
value: z.ZodString;
|
|
1098
|
+
label: z.ZodString;
|
|
1099
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
}, z.core.$strip>>;
|
|
1102
|
+
}, z.core.$strip>;
|
|
1103
|
+
export declare const npsQuestionSchema: z.ZodObject<{
|
|
1104
|
+
id: z.ZodString;
|
|
1105
|
+
title: z.ZodString;
|
|
1106
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1109
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1110
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1112
|
+
type: z.ZodEnum<{
|
|
1113
|
+
required: "required";
|
|
1114
|
+
min: "min";
|
|
1115
|
+
max: "max";
|
|
1116
|
+
minLength: "minLength";
|
|
1117
|
+
maxLength: "maxLength";
|
|
1118
|
+
pattern: "pattern";
|
|
1119
|
+
email: "email";
|
|
1120
|
+
url: "url";
|
|
1121
|
+
custom: "custom";
|
|
1122
|
+
}>;
|
|
1123
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1124
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
}, z.core.$strip>>>>;
|
|
1127
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1128
|
+
field: z.ZodString;
|
|
1129
|
+
operator: z.ZodEnum<{
|
|
1130
|
+
equals: "equals";
|
|
1131
|
+
not_equals: "not_equals";
|
|
1132
|
+
contains: "contains";
|
|
1133
|
+
not_contains: "not_contains";
|
|
1134
|
+
greater_than: "greater_than";
|
|
1135
|
+
less_than: "less_than";
|
|
1136
|
+
is_empty: "is_empty";
|
|
1137
|
+
is_not_empty: "is_not_empty";
|
|
1138
|
+
}>;
|
|
1139
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1140
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
}, z.core.$strip>>>>;
|
|
1142
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
status: z.ZodEnum<{
|
|
1144
|
+
D: "D";
|
|
1145
|
+
P: "P";
|
|
1146
|
+
A: "A";
|
|
1147
|
+
S: "S";
|
|
1148
|
+
}>;
|
|
1149
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1150
|
+
left: "left";
|
|
1151
|
+
center: "center";
|
|
1152
|
+
}>>>;
|
|
1153
|
+
type: z.ZodLiteral<"nps">;
|
|
1154
|
+
min: z.ZodLiteral<0>;
|
|
1155
|
+
max: z.ZodLiteral<10>;
|
|
1156
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1159
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
}, z.core.$strip>;
|
|
1161
|
+
export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
1162
|
+
id: z.ZodString;
|
|
1163
|
+
title: z.ZodString;
|
|
1164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1167
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1168
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1170
|
+
type: z.ZodEnum<{
|
|
1171
|
+
required: "required";
|
|
1172
|
+
min: "min";
|
|
1173
|
+
max: "max";
|
|
1174
|
+
minLength: "minLength";
|
|
1175
|
+
maxLength: "maxLength";
|
|
1176
|
+
pattern: "pattern";
|
|
1177
|
+
email: "email";
|
|
1178
|
+
url: "url";
|
|
1179
|
+
custom: "custom";
|
|
1180
|
+
}>;
|
|
1181
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1182
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
}, z.core.$strip>>>>;
|
|
1185
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
|
+
field: z.ZodString;
|
|
1187
|
+
operator: z.ZodEnum<{
|
|
1188
|
+
equals: "equals";
|
|
1189
|
+
not_equals: "not_equals";
|
|
1190
|
+
contains: "contains";
|
|
1191
|
+
not_contains: "not_contains";
|
|
1192
|
+
greater_than: "greater_than";
|
|
1193
|
+
less_than: "less_than";
|
|
1194
|
+
is_empty: "is_empty";
|
|
1195
|
+
is_not_empty: "is_not_empty";
|
|
1196
|
+
}>;
|
|
1197
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1198
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
}, z.core.$strip>>>>;
|
|
1200
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
status: z.ZodEnum<{
|
|
1202
|
+
D: "D";
|
|
1203
|
+
P: "P";
|
|
1204
|
+
A: "A";
|
|
1205
|
+
S: "S";
|
|
1206
|
+
}>;
|
|
1207
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1208
|
+
left: "left";
|
|
1209
|
+
center: "center";
|
|
1210
|
+
}>>>;
|
|
1211
|
+
type: z.ZodLiteral<"short_answer">;
|
|
1212
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1213
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1214
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1216
|
+
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1218
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1220
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1221
|
+
}, z.core.$strip>;
|
|
1222
|
+
export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
1223
|
+
id: z.ZodString;
|
|
1224
|
+
title: z.ZodString;
|
|
1225
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1228
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1229
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1231
|
+
type: z.ZodEnum<{
|
|
1232
|
+
required: "required";
|
|
1233
|
+
min: "min";
|
|
1234
|
+
max: "max";
|
|
1235
|
+
minLength: "minLength";
|
|
1236
|
+
maxLength: "maxLength";
|
|
1237
|
+
pattern: "pattern";
|
|
1238
|
+
email: "email";
|
|
1239
|
+
url: "url";
|
|
1240
|
+
custom: "custom";
|
|
1241
|
+
}>;
|
|
1242
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1243
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1245
|
+
}, z.core.$strip>>>>;
|
|
1246
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1247
|
+
field: z.ZodString;
|
|
1248
|
+
operator: z.ZodEnum<{
|
|
1249
|
+
equals: "equals";
|
|
1250
|
+
not_equals: "not_equals";
|
|
1251
|
+
contains: "contains";
|
|
1252
|
+
not_contains: "not_contains";
|
|
1253
|
+
greater_than: "greater_than";
|
|
1254
|
+
less_than: "less_than";
|
|
1255
|
+
is_empty: "is_empty";
|
|
1256
|
+
is_not_empty: "is_not_empty";
|
|
1257
|
+
}>;
|
|
1258
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1259
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
}, z.core.$strip>>>>;
|
|
1261
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
status: z.ZodEnum<{
|
|
1263
|
+
D: "D";
|
|
1264
|
+
P: "P";
|
|
1265
|
+
A: "A";
|
|
1266
|
+
S: "S";
|
|
1267
|
+
}>;
|
|
1268
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1269
|
+
left: "left";
|
|
1270
|
+
center: "center";
|
|
1271
|
+
}>>>;
|
|
1272
|
+
type: z.ZodLiteral<"long_text">;
|
|
1273
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1274
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1275
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
1276
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1278
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1280
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1281
|
+
}, z.core.$strip>;
|
|
1282
|
+
export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
1283
|
+
id: z.ZodString;
|
|
1284
|
+
title: z.ZodString;
|
|
1285
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1288
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1289
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
|
+
type: z.ZodEnum<{
|
|
1292
|
+
required: "required";
|
|
1293
|
+
min: "min";
|
|
1294
|
+
max: "max";
|
|
1295
|
+
minLength: "minLength";
|
|
1296
|
+
maxLength: "maxLength";
|
|
1297
|
+
pattern: "pattern";
|
|
1298
|
+
email: "email";
|
|
1299
|
+
url: "url";
|
|
1300
|
+
custom: "custom";
|
|
1301
|
+
}>;
|
|
1302
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1303
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
}, z.core.$strip>>>>;
|
|
1306
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1307
|
+
field: z.ZodString;
|
|
1308
|
+
operator: z.ZodEnum<{
|
|
1309
|
+
equals: "equals";
|
|
1310
|
+
not_equals: "not_equals";
|
|
1311
|
+
contains: "contains";
|
|
1312
|
+
not_contains: "not_contains";
|
|
1313
|
+
greater_than: "greater_than";
|
|
1314
|
+
less_than: "less_than";
|
|
1315
|
+
is_empty: "is_empty";
|
|
1316
|
+
is_not_empty: "is_not_empty";
|
|
1317
|
+
}>;
|
|
1318
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1319
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1320
|
+
}, z.core.$strip>>>>;
|
|
1321
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
status: z.ZodEnum<{
|
|
1323
|
+
D: "D";
|
|
1324
|
+
P: "P";
|
|
1325
|
+
A: "A";
|
|
1326
|
+
S: "S";
|
|
1327
|
+
}>;
|
|
1328
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1329
|
+
left: "left";
|
|
1330
|
+
center: "center";
|
|
1331
|
+
}>>>;
|
|
1332
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
1333
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1335
|
+
displayStyle: z.ZodLiteral<"list">;
|
|
1336
|
+
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1337
|
+
randomize: "randomize";
|
|
1338
|
+
flip: "flip";
|
|
1339
|
+
rotate: "rotate";
|
|
1340
|
+
ascending: "ascending";
|
|
1341
|
+
none: "none";
|
|
1342
|
+
}>>>;
|
|
1343
|
+
preserveLastChoices: z.ZodOptional<z.ZodNumber>;
|
|
1344
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1346
|
+
otherColumnName: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
1348
|
+
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
231
1349
|
}, z.core.$strip>;
|
|
232
|
-
export
|
|
1350
|
+
export type QuestionType = z.infer<typeof questionTypeSchema>;
|
|
1351
|
+
export type QuestionTextAlign = "left" | "center";
|
|
1352
|
+
export type ValidationRule = z.infer<typeof validationRuleSchema>;
|
|
1353
|
+
export type VisibilityCondition = z.infer<typeof visibilityConditionSchema>;
|
|
1354
|
+
export type QuestionStatus = z.infer<typeof questionStatusSchema>;
|
|
1355
|
+
export type Question = z.infer<typeof questionSchema>;
|
|
1356
|
+
export type RatingDisplayStyle = z.infer<typeof ratingDisplayStyleSchema>;
|
|
1357
|
+
export type RatingRepresentationSize = z.infer<typeof ratingRepresentationSizeSchema>;
|
|
1358
|
+
export type RatingQuestion = z.infer<typeof ratingQuestionSchema>;
|
|
1359
|
+
export type AnnotationQuestion = z.infer<typeof annotationQuestionSchema>;
|
|
1360
|
+
export type WelcomeQuestion = z.infer<typeof welcomeQuestionSchema>;
|
|
1361
|
+
export type ThankYouQuestion = z.infer<typeof thankYouQuestionSchema>;
|
|
1362
|
+
export type MessagePanelQuestion = z.infer<typeof messagePanelQuestionSchema>;
|
|
1363
|
+
export type ExitFormQuestion = z.infer<typeof exitFormQuestionSchema>;
|
|
1364
|
+
export type YesNoDisplayStyle = z.infer<typeof yesNoDisplayStyleSchema>;
|
|
1365
|
+
export type YesNoQuestion = z.infer<typeof yesNoQuestionSchema>;
|
|
1366
|
+
export type RatingMatrixStatement = z.infer<typeof ratingMatrixStatementSchema>;
|
|
1367
|
+
export type RatingMatrixScalePoint = z.infer<typeof ratingMatrixScalePointSchema>;
|
|
1368
|
+
export type RatingMatrixScale = z.infer<typeof ratingMatrixScaleSchema>;
|
|
1369
|
+
export type RatingMatrixDisplayStyle = z.infer<typeof ratingMatrixDisplayStyleSchema>;
|
|
1370
|
+
export type RatingMatrixQuestion = z.infer<typeof ratingMatrixQuestionSchema>;
|
|
1371
|
+
export type MatrixRow = z.infer<typeof matrixRowSchema>;
|
|
1372
|
+
export type MatrixColumn = z.infer<typeof matrixColumnSchema>;
|
|
1373
|
+
export type MatrixSingleChoiceQuestion = z.infer<typeof matrixSingleChoiceQuestionSchema>;
|
|
1374
|
+
export type MatrixMultipleChoiceQuestion = z.infer<typeof matrixMultipleChoiceQuestionSchema>;
|
|
1375
|
+
export type QuestionOption = z.infer<typeof questionOptionSchema>;
|
|
1376
|
+
export type NestedOption = z.infer<typeof nestedOptionSchema>;
|
|
1377
|
+
export type MultipleChoiceDisplayStyle = z.infer<typeof multipleChoiceDisplayStyleSchema>;
|
|
1378
|
+
export type MultipleChoiceSingleQuestion = z.infer<typeof multipleChoiceSingleQuestionSchema>;
|
|
1379
|
+
export type MultipleChoiceMultipleDisplayStyle = z.infer<typeof multipleChoiceMultipleDisplayStyleSchema>;
|
|
1380
|
+
export type MultipleChoiceMultipleQuestion = z.infer<typeof multipleChoiceMultipleQuestionSchema>;
|
|
1381
|
+
export type NpsQuestion = z.infer<typeof npsQuestionSchema>;
|
|
1382
|
+
export type ShortAnswerQuestion = z.infer<typeof shortAnswerQuestionSchema>;
|
|
1383
|
+
export type LongAnswerQuestion = z.infer<typeof longAnswerQuestionSchema>;
|
|
1384
|
+
export type ChoiceOrderOption = z.infer<typeof choiceOrderOptionSchema>;
|
|
1385
|
+
export type NestedDropdownQuestion = z.infer<typeof nestedDropdownQuestionSchema>;
|
|
1386
|
+
export type Section = z.infer<typeof sectionSchema>;
|
|
1387
|
+
export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
233
1388
|
id: z.ZodString;
|
|
234
1389
|
title: z.ZodString;
|
|
235
1390
|
description: z.ZodOptional<z.ZodString>;
|
|
236
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
237
1391
|
describe: z.ZodOptional<z.ZodString>;
|
|
238
1392
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1393
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
239
1394
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
240
1395
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
241
1396
|
type: z.ZodEnum<{
|
|
@@ -268,7 +1423,6 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
268
1423
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
269
1424
|
describe: z.ZodOptional<z.ZodString>;
|
|
270
1425
|
}, z.core.$strip>>>>;
|
|
271
|
-
isFixed: z.ZodBoolean;
|
|
272
1426
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
273
1427
|
status: z.ZodEnum<{
|
|
274
1428
|
D: "D";
|
|
@@ -276,6 +1430,10 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
276
1430
|
A: "A";
|
|
277
1431
|
S: "S";
|
|
278
1432
|
}>;
|
|
1433
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
left: "left";
|
|
1435
|
+
center: "center";
|
|
1436
|
+
}>>>;
|
|
279
1437
|
type: z.ZodLiteral<"rating">;
|
|
280
1438
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
281
1439
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -295,14 +1453,13 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
295
1453
|
large: "large";
|
|
296
1454
|
}>>;
|
|
297
1455
|
color: z.ZodOptional<z.ZodString>;
|
|
298
|
-
}, z.core.$strip
|
|
299
|
-
export declare const annotationQuestionSchema: z.ZodObject<{
|
|
1456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
300
1457
|
id: z.ZodString;
|
|
301
1458
|
title: z.ZodString;
|
|
302
1459
|
description: z.ZodOptional<z.ZodString>;
|
|
303
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
304
1460
|
describe: z.ZodOptional<z.ZodString>;
|
|
305
1461
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1462
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
306
1463
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
307
1464
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
308
1465
|
type: z.ZodEnum<{
|
|
@@ -335,7 +1492,6 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
335
1492
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
336
1493
|
describe: z.ZodOptional<z.ZodString>;
|
|
337
1494
|
}, z.core.$strip>>>>;
|
|
338
|
-
isFixed: z.ZodBoolean;
|
|
339
1495
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
340
1496
|
status: z.ZodEnum<{
|
|
341
1497
|
D: "D";
|
|
@@ -343,25 +1499,18 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
343
1499
|
A: "A";
|
|
344
1500
|
S: "S";
|
|
345
1501
|
}>;
|
|
1502
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1503
|
+
left: "left";
|
|
1504
|
+
center: "center";
|
|
1505
|
+
}>>>;
|
|
346
1506
|
type: z.ZodLiteral<"annotation">;
|
|
347
1507
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
348
1508
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
349
|
-
}, z.core.$strip
|
|
350
|
-
export declare const questionOptionSchema: z.ZodObject<{
|
|
351
|
-
id: z.ZodString;
|
|
352
|
-
value: z.ZodString;
|
|
353
|
-
label: z.ZodString;
|
|
354
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
355
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
356
|
-
}, z.core.$strip>;
|
|
357
|
-
export declare const nestedOptionSchema: z.ZodType<any>;
|
|
358
|
-
export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
1509
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
1510
|
id: z.ZodString;
|
|
360
|
-
title: z.ZodString;
|
|
361
|
-
description: z.ZodOptional<z.ZodString>;
|
|
362
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
363
1511
|
describe: z.ZodOptional<z.ZodString>;
|
|
364
1512
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1513
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
365
1514
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
366
1515
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
367
1516
|
type: z.ZodEnum<{
|
|
@@ -394,7 +1543,6 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
394
1543
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
395
1544
|
describe: z.ZodOptional<z.ZodString>;
|
|
396
1545
|
}, z.core.$strip>>>>;
|
|
397
|
-
isFixed: z.ZodBoolean;
|
|
398
1546
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
399
1547
|
status: z.ZodEnum<{
|
|
400
1548
|
D: "D";
|
|
@@ -402,35 +1550,20 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
402
1550
|
A: "A";
|
|
403
1551
|
S: "S";
|
|
404
1552
|
}>;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
dropdown: "dropdown";
|
|
411
|
-
}>>;
|
|
412
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
413
|
-
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
414
|
-
minChars: z.ZodOptional<z.ZodNumber>;
|
|
415
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
416
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
417
|
-
}, z.core.$strip>>;
|
|
418
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
419
|
-
options: z.ZodArray<z.ZodObject<{
|
|
420
|
-
id: z.ZodString;
|
|
421
|
-
value: z.ZodString;
|
|
422
|
-
label: z.ZodString;
|
|
423
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
424
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
425
|
-
}, z.core.$strip>>;
|
|
426
|
-
}, z.core.$strip>;
|
|
427
|
-
export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
428
|
-
id: z.ZodString;
|
|
1553
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1554
|
+
left: "left";
|
|
1555
|
+
center: "center";
|
|
1556
|
+
}>>>;
|
|
1557
|
+
type: z.ZodLiteral<"welcome">;
|
|
429
1558
|
title: z.ZodString;
|
|
430
1559
|
description: z.ZodOptional<z.ZodString>;
|
|
431
|
-
|
|
1560
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1563
|
+
id: z.ZodString;
|
|
432
1564
|
describe: z.ZodOptional<z.ZodString>;
|
|
433
1565
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1566
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
434
1567
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
435
1568
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
436
1569
|
type: z.ZodEnum<{
|
|
@@ -463,7 +1596,6 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
463
1596
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
464
1597
|
describe: z.ZodOptional<z.ZodString>;
|
|
465
1598
|
}, z.core.$strip>>>>;
|
|
466
|
-
isFixed: z.ZodBoolean;
|
|
467
1599
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
468
1600
|
status: z.ZodEnum<{
|
|
469
1601
|
D: "D";
|
|
@@ -471,36 +1603,20 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
471
1603
|
A: "A";
|
|
472
1604
|
S: "S";
|
|
473
1605
|
}>;
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}>>;
|
|
480
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
481
|
-
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
482
|
-
minChars: z.ZodOptional<z.ZodNumber>;
|
|
483
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
484
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
485
|
-
}, z.core.$strip>>;
|
|
486
|
-
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
487
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
488
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
489
|
-
options: z.ZodArray<z.ZodObject<{
|
|
490
|
-
id: z.ZodString;
|
|
491
|
-
value: z.ZodString;
|
|
492
|
-
label: z.ZodString;
|
|
493
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
494
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
495
|
-
}, z.core.$strip>>;
|
|
496
|
-
}, z.core.$strip>;
|
|
497
|
-
export declare const npsQuestionSchema: z.ZodObject<{
|
|
498
|
-
id: z.ZodString;
|
|
1606
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1607
|
+
left: "left";
|
|
1608
|
+
center: "center";
|
|
1609
|
+
}>>>;
|
|
1610
|
+
type: z.ZodLiteral<"thank_you">;
|
|
499
1611
|
title: z.ZodString;
|
|
500
1612
|
description: z.ZodOptional<z.ZodString>;
|
|
501
|
-
|
|
1613
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1616
|
+
id: z.ZodString;
|
|
502
1617
|
describe: z.ZodOptional<z.ZodString>;
|
|
503
1618
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1619
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
504
1620
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
505
1621
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
1622
|
type: z.ZodEnum<{
|
|
@@ -533,7 +1649,6 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
533
1649
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
534
1650
|
describe: z.ZodOptional<z.ZodString>;
|
|
535
1651
|
}, z.core.$strip>>>>;
|
|
536
|
-
isFixed: z.ZodBoolean;
|
|
537
1652
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
538
1653
|
status: z.ZodEnum<{
|
|
539
1654
|
D: "D";
|
|
@@ -541,21 +1656,22 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
541
1656
|
A: "A";
|
|
542
1657
|
S: "S";
|
|
543
1658
|
}>;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
1659
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1660
|
+
left: "left";
|
|
1661
|
+
center: "center";
|
|
1662
|
+
}>>>;
|
|
1663
|
+
type: z.ZodLiteral<"message_panel">;
|
|
1664
|
+
title: z.ZodString;
|
|
1665
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
553
1669
|
id: z.ZodString;
|
|
554
1670
|
title: z.ZodString;
|
|
555
1671
|
description: z.ZodOptional<z.ZodString>;
|
|
556
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
557
1672
|
describe: z.ZodOptional<z.ZodString>;
|
|
558
1673
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1674
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
559
1675
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
560
1676
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
561
1677
|
type: z.ZodEnum<{
|
|
@@ -588,7 +1704,6 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
588
1704
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
589
1705
|
describe: z.ZodOptional<z.ZodString>;
|
|
590
1706
|
}, z.core.$strip>>>>;
|
|
591
|
-
isFixed: z.ZodBoolean;
|
|
592
1707
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
593
1708
|
status: z.ZodEnum<{
|
|
594
1709
|
D: "D";
|
|
@@ -596,24 +1711,18 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
596
1711
|
A: "A";
|
|
597
1712
|
S: "S";
|
|
598
1713
|
}>;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
606
|
-
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
607
|
-
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
608
|
-
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
609
|
-
}, z.core.$strip>;
|
|
610
|
-
export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
1714
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1715
|
+
left: "left";
|
|
1716
|
+
center: "center";
|
|
1717
|
+
}>>>;
|
|
1718
|
+
type: z.ZodLiteral<"exit_form">;
|
|
1719
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
611
1720
|
id: z.ZodString;
|
|
612
1721
|
title: z.ZodString;
|
|
613
1722
|
description: z.ZodOptional<z.ZodString>;
|
|
614
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
615
1723
|
describe: z.ZodOptional<z.ZodString>;
|
|
616
1724
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1725
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
617
1726
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
618
1727
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
619
1728
|
type: z.ZodEnum<{
|
|
@@ -646,7 +1755,6 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
646
1755
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
647
1756
|
describe: z.ZodOptional<z.ZodString>;
|
|
648
1757
|
}, z.core.$strip>>>>;
|
|
649
|
-
isFixed: z.ZodBoolean;
|
|
650
1758
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
651
1759
|
status: z.ZodEnum<{
|
|
652
1760
|
D: "D";
|
|
@@ -654,23 +1762,24 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
654
1762
|
A: "A";
|
|
655
1763
|
S: "S";
|
|
656
1764
|
}>;
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
1765
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1766
|
+
left: "left";
|
|
1767
|
+
center: "center";
|
|
1768
|
+
}>>>;
|
|
1769
|
+
type: z.ZodLiteral<"yes_no">;
|
|
1770
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1773
|
+
horizontal: "horizontal";
|
|
1774
|
+
vertical: "vertical";
|
|
1775
|
+
}>>;
|
|
1776
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
668
1777
|
id: z.ZodString;
|
|
669
1778
|
title: z.ZodString;
|
|
670
1779
|
description: z.ZodOptional<z.ZodString>;
|
|
671
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
672
1780
|
describe: z.ZodOptional<z.ZodString>;
|
|
673
1781
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1782
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
674
1783
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
675
1784
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
676
1785
|
type: z.ZodEnum<{
|
|
@@ -703,7 +1812,6 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
703
1812
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
704
1813
|
describe: z.ZodOptional<z.ZodString>;
|
|
705
1814
|
}, z.core.$strip>>>>;
|
|
706
|
-
isFixed: z.ZodBoolean;
|
|
707
1815
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
708
1816
|
status: z.ZodEnum<{
|
|
709
1817
|
D: "D";
|
|
@@ -711,52 +1819,57 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
711
1819
|
A: "A";
|
|
712
1820
|
S: "S";
|
|
713
1821
|
}>;
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
displayStyle: z.ZodLiteral<"list">;
|
|
718
|
-
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
719
|
-
randomize: "randomize";
|
|
720
|
-
flip: "flip";
|
|
721
|
-
rotate: "rotate";
|
|
722
|
-
ascending: "ascending";
|
|
723
|
-
none: "none";
|
|
1822
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1823
|
+
left: "left";
|
|
1824
|
+
center: "center";
|
|
724
1825
|
}>>>;
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
}, z.core.$strip
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1826
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
1827
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
1828
|
+
id: z.ZodString;
|
|
1829
|
+
value: z.ZodString;
|
|
1830
|
+
label: z.ZodString;
|
|
1831
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1832
|
+
}, z.core.$strip>>;
|
|
1833
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1834
|
+
kind: z.ZodLiteral<"likert">;
|
|
1835
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1836
|
+
id: z.ZodString;
|
|
1837
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1838
|
+
label: z.ZodString;
|
|
1839
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1840
|
+
}, z.core.$strip>>;
|
|
1841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1842
|
+
kind: z.ZodLiteral<"numerical">;
|
|
1843
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1844
|
+
id: z.ZodString;
|
|
1845
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1846
|
+
label: z.ZodString;
|
|
1847
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
}, z.core.$strip>>;
|
|
1849
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1850
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1851
|
+
kind: z.ZodLiteral<"custom">;
|
|
1852
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1853
|
+
id: z.ZodString;
|
|
1854
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1855
|
+
label: z.ZodString;
|
|
1856
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
}, z.core.$strip>>;
|
|
1858
|
+
}, z.core.$strip>], "kind">;
|
|
1859
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1860
|
+
star: "star";
|
|
1861
|
+
emoji: "emoji";
|
|
1862
|
+
radio: "radio";
|
|
1863
|
+
button: "button";
|
|
1864
|
+
}>>;
|
|
1865
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1866
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
754
1867
|
id: z.ZodString;
|
|
755
1868
|
title: z.ZodString;
|
|
756
1869
|
description: z.ZodOptional<z.ZodString>;
|
|
757
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
758
1870
|
describe: z.ZodOptional<z.ZodString>;
|
|
759
1871
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1872
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
760
1873
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
761
1874
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
762
1875
|
type: z.ZodEnum<{
|
|
@@ -789,7 +1902,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
789
1902
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
790
1903
|
describe: z.ZodOptional<z.ZodString>;
|
|
791
1904
|
}, z.core.$strip>>>>;
|
|
792
|
-
isFixed: z.ZodBoolean;
|
|
793
1905
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
794
1906
|
status: z.ZodEnum<{
|
|
795
1907
|
D: "D";
|
|
@@ -797,32 +1909,32 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
797
1909
|
A: "A";
|
|
798
1910
|
S: "S";
|
|
799
1911
|
}>;
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
1912
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1913
|
+
left: "left";
|
|
1914
|
+
center: "center";
|
|
1915
|
+
}>>>;
|
|
1916
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1917
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1918
|
+
id: z.ZodString;
|
|
1919
|
+
value: z.ZodString;
|
|
1920
|
+
label: z.ZodString;
|
|
1921
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1922
|
+
}, z.core.$strip>>;
|
|
1923
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1924
|
+
id: z.ZodString;
|
|
1925
|
+
value: z.ZodString;
|
|
1926
|
+
label: z.ZodString;
|
|
1927
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
}, z.core.$strip>>;
|
|
1929
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1930
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
819
1931
|
}, z.core.$strip>, z.ZodObject<{
|
|
820
1932
|
id: z.ZodString;
|
|
821
1933
|
title: z.ZodString;
|
|
822
1934
|
description: z.ZodOptional<z.ZodString>;
|
|
823
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
824
1935
|
describe: z.ZodOptional<z.ZodString>;
|
|
825
1936
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1937
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
826
1938
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
827
1939
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
828
1940
|
type: z.ZodEnum<{
|
|
@@ -855,7 +1967,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
855
1967
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
856
1968
|
describe: z.ZodOptional<z.ZodString>;
|
|
857
1969
|
}, z.core.$strip>>>>;
|
|
858
|
-
isFixed: z.ZodBoolean;
|
|
859
1970
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
860
1971
|
status: z.ZodEnum<{
|
|
861
1972
|
D: "D";
|
|
@@ -863,16 +1974,34 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
863
1974
|
A: "A";
|
|
864
1975
|
S: "S";
|
|
865
1976
|
}>;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1977
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1978
|
+
left: "left";
|
|
1979
|
+
center: "center";
|
|
1980
|
+
}>>>;
|
|
1981
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1982
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1983
|
+
id: z.ZodString;
|
|
1984
|
+
value: z.ZodString;
|
|
1985
|
+
label: z.ZodString;
|
|
1986
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
}, z.core.$strip>>;
|
|
1988
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1989
|
+
id: z.ZodString;
|
|
1990
|
+
value: z.ZodString;
|
|
1991
|
+
label: z.ZodString;
|
|
1992
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
}, z.core.$strip>>;
|
|
1994
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1995
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1996
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1997
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
869
1998
|
}, z.core.$strip>, z.ZodObject<{
|
|
870
1999
|
id: z.ZodString;
|
|
871
2000
|
title: z.ZodString;
|
|
872
2001
|
description: z.ZodOptional<z.ZodString>;
|
|
873
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
874
2002
|
describe: z.ZodOptional<z.ZodString>;
|
|
875
2003
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2004
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
876
2005
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
877
2006
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
878
2007
|
type: z.ZodEnum<{
|
|
@@ -905,7 +2034,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
905
2034
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
906
2035
|
describe: z.ZodOptional<z.ZodString>;
|
|
907
2036
|
}, z.core.$strip>>>>;
|
|
908
|
-
isFixed: z.ZodBoolean;
|
|
909
2037
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
910
2038
|
status: z.ZodEnum<{
|
|
911
2039
|
D: "D";
|
|
@@ -913,6 +2041,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
913
2041
|
A: "A";
|
|
914
2042
|
S: "S";
|
|
915
2043
|
}>;
|
|
2044
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2045
|
+
left: "left";
|
|
2046
|
+
center: "center";
|
|
2047
|
+
}>>>;
|
|
916
2048
|
type: z.ZodLiteral<"single_choice">;
|
|
917
2049
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
918
2050
|
radio: "radio";
|
|
@@ -938,9 +2070,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
938
2070
|
id: z.ZodString;
|
|
939
2071
|
title: z.ZodString;
|
|
940
2072
|
description: z.ZodOptional<z.ZodString>;
|
|
941
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
942
2073
|
describe: z.ZodOptional<z.ZodString>;
|
|
943
2074
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2075
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
944
2076
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
945
2077
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
946
2078
|
type: z.ZodEnum<{
|
|
@@ -973,7 +2105,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
973
2105
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
974
2106
|
describe: z.ZodOptional<z.ZodString>;
|
|
975
2107
|
}, z.core.$strip>>>>;
|
|
976
|
-
isFixed: z.ZodBoolean;
|
|
977
2108
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
978
2109
|
status: z.ZodEnum<{
|
|
979
2110
|
D: "D";
|
|
@@ -981,6 +2112,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
981
2112
|
A: "A";
|
|
982
2113
|
S: "S";
|
|
983
2114
|
}>;
|
|
2115
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2116
|
+
left: "left";
|
|
2117
|
+
center: "center";
|
|
2118
|
+
}>>>;
|
|
984
2119
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
985
2120
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
986
2121
|
list: "list";
|
|
@@ -1007,9 +2142,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1007
2142
|
id: z.ZodString;
|
|
1008
2143
|
title: z.ZodString;
|
|
1009
2144
|
description: z.ZodOptional<z.ZodString>;
|
|
1010
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1011
2145
|
describe: z.ZodOptional<z.ZodString>;
|
|
1012
2146
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2147
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1013
2148
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1014
2149
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1015
2150
|
type: z.ZodEnum<{
|
|
@@ -1042,7 +2177,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1042
2177
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1043
2178
|
describe: z.ZodOptional<z.ZodString>;
|
|
1044
2179
|
}, z.core.$strip>>>>;
|
|
1045
|
-
isFixed: z.ZodBoolean;
|
|
1046
2180
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1047
2181
|
status: z.ZodEnum<{
|
|
1048
2182
|
D: "D";
|
|
@@ -1050,6 +2184,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1050
2184
|
A: "A";
|
|
1051
2185
|
S: "S";
|
|
1052
2186
|
}>;
|
|
2187
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2188
|
+
left: "left";
|
|
2189
|
+
center: "center";
|
|
2190
|
+
}>>>;
|
|
1053
2191
|
type: z.ZodLiteral<"nps">;
|
|
1054
2192
|
min: z.ZodLiteral<0>;
|
|
1055
2193
|
max: z.ZodLiteral<10>;
|
|
@@ -1061,9 +2199,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1061
2199
|
id: z.ZodString;
|
|
1062
2200
|
title: z.ZodString;
|
|
1063
2201
|
description: z.ZodOptional<z.ZodString>;
|
|
1064
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1065
2202
|
describe: z.ZodOptional<z.ZodString>;
|
|
1066
2203
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2204
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1067
2205
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1068
2206
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1069
2207
|
type: z.ZodEnum<{
|
|
@@ -1096,7 +2234,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1096
2234
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1097
2235
|
describe: z.ZodOptional<z.ZodString>;
|
|
1098
2236
|
}, z.core.$strip>>>>;
|
|
1099
|
-
isFixed: z.ZodBoolean;
|
|
1100
2237
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1101
2238
|
status: z.ZodEnum<{
|
|
1102
2239
|
D: "D";
|
|
@@ -1104,6 +2241,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1104
2241
|
A: "A";
|
|
1105
2242
|
S: "S";
|
|
1106
2243
|
}>;
|
|
2244
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2245
|
+
left: "left";
|
|
2246
|
+
center: "center";
|
|
2247
|
+
}>>>;
|
|
1107
2248
|
type: z.ZodLiteral<"short_answer">;
|
|
1108
2249
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1109
2250
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1118,9 +2259,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1118
2259
|
id: z.ZodString;
|
|
1119
2260
|
title: z.ZodString;
|
|
1120
2261
|
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1122
2262
|
describe: z.ZodOptional<z.ZodString>;
|
|
1123
2263
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2264
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1124
2265
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1125
2266
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1126
2267
|
type: z.ZodEnum<{
|
|
@@ -1153,7 +2294,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1153
2294
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1154
2295
|
describe: z.ZodOptional<z.ZodString>;
|
|
1155
2296
|
}, z.core.$strip>>>>;
|
|
1156
|
-
isFixed: z.ZodBoolean;
|
|
1157
2297
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1158
2298
|
status: z.ZodEnum<{
|
|
1159
2299
|
D: "D";
|
|
@@ -1161,6 +2301,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1161
2301
|
A: "A";
|
|
1162
2302
|
S: "S";
|
|
1163
2303
|
}>;
|
|
2304
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2305
|
+
left: "left";
|
|
2306
|
+
center: "center";
|
|
2307
|
+
}>>>;
|
|
1164
2308
|
type: z.ZodLiteral<"long_text">;
|
|
1165
2309
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1166
2310
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1174,9 +2318,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1174
2318
|
id: z.ZodString;
|
|
1175
2319
|
title: z.ZodString;
|
|
1176
2320
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1178
2321
|
describe: z.ZodOptional<z.ZodString>;
|
|
1179
2322
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2323
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1180
2324
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1181
2325
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1182
2326
|
type: z.ZodEnum<{
|
|
@@ -1209,7 +2353,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1209
2353
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1210
2354
|
describe: z.ZodOptional<z.ZodString>;
|
|
1211
2355
|
}, z.core.$strip>>>>;
|
|
1212
|
-
isFixed: z.ZodBoolean;
|
|
1213
2356
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1214
2357
|
status: z.ZodEnum<{
|
|
1215
2358
|
D: "D";
|
|
@@ -1217,6 +2360,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1217
2360
|
A: "A";
|
|
1218
2361
|
S: "S";
|
|
1219
2362
|
}>;
|
|
2363
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2364
|
+
left: "left";
|
|
2365
|
+
center: "center";
|
|
2366
|
+
}>>>;
|
|
1220
2367
|
type: z.ZodLiteral<"nested_selection">;
|
|
1221
2368
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1222
2369
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1235,4 +2382,4 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1235
2382
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
1236
2383
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1237
2384
|
}, z.core.$strip>], "type">;
|
|
1238
|
-
export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;
|
|
2385
|
+
export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof welcomeQuestionSchema> | z.infer<typeof thankYouQuestionSchema> | z.infer<typeof messagePanelQuestionSchema> | z.infer<typeof exitFormQuestionSchema> | z.infer<typeof yesNoQuestionSchema> | z.infer<typeof ratingMatrixQuestionSchema> | z.infer<typeof matrixSingleChoiceQuestionSchema> | z.infer<typeof matrixMultipleChoiceQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;
|