@encatch/schema 1.0.1-beta.1 → 1.0.1-beta.3
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 +643 -793
- 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 +350 -236
- package/dist/types/schemas/fields/app-props-schema.d.ts +175 -142
- package/dist/types/schemas/fields/field-schema.d.ts +377 -144
- package/dist/types/schemas/fields/form-properties-schema.d.ts +176 -244
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/theme-schema.d.ts +0 -4
- package/dist/types/schemas/fields/translations-schema.d.ts +1 -77
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const questionTypeSchema: z.ZodEnum<{
|
|
3
3
|
rating: "rating";
|
|
4
4
|
single_choice: "single_choice";
|
|
5
|
-
nps: "nps";
|
|
6
|
-
nested_selection: "nested_selection";
|
|
7
5
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
6
|
+
nps: "nps";
|
|
8
7
|
short_answer: "short_answer";
|
|
9
8
|
long_text: "long_text";
|
|
9
|
+
nested_selection: "nested_selection";
|
|
10
10
|
annotation: "annotation";
|
|
11
11
|
welcome: "welcome";
|
|
12
12
|
thank_you: "thank_you";
|
|
@@ -15,6 +15,7 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
15
15
|
rating_matrix: "rating_matrix";
|
|
16
16
|
matrix_single_choice: "matrix_single_choice";
|
|
17
17
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
18
|
+
exit_form: "exit_form";
|
|
18
19
|
}>;
|
|
19
20
|
export declare const QuestionTypes: {
|
|
20
21
|
readonly RATING: "rating";
|
|
@@ -32,17 +33,18 @@ export declare const QuestionTypes: {
|
|
|
32
33
|
readonly RATING_MATRIX: "rating_matrix";
|
|
33
34
|
readonly MATRIX_SINGLE_CHOICE: "matrix_single_choice";
|
|
34
35
|
readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
|
|
36
|
+
readonly EXIT_FORM: "exit_form";
|
|
35
37
|
};
|
|
36
38
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
39
|
+
custom: "custom";
|
|
40
|
+
pattern: "pattern";
|
|
37
41
|
required: "required";
|
|
38
42
|
min: "min";
|
|
39
43
|
max: "max";
|
|
40
44
|
minLength: "minLength";
|
|
41
45
|
maxLength: "maxLength";
|
|
42
|
-
pattern: "pattern";
|
|
43
46
|
email: "email";
|
|
44
47
|
url: "url";
|
|
45
|
-
custom: "custom";
|
|
46
48
|
}>;
|
|
47
49
|
export declare const ValidationRuleTypes: {
|
|
48
50
|
readonly REQUIRED: "required";
|
|
@@ -57,15 +59,15 @@ export declare const ValidationRuleTypes: {
|
|
|
57
59
|
};
|
|
58
60
|
export declare const validationRuleSchema: z.ZodObject<{
|
|
59
61
|
type: z.ZodEnum<{
|
|
62
|
+
custom: "custom";
|
|
63
|
+
pattern: "pattern";
|
|
60
64
|
required: "required";
|
|
61
65
|
min: "min";
|
|
62
66
|
max: "max";
|
|
63
67
|
minLength: "minLength";
|
|
64
68
|
maxLength: "maxLength";
|
|
65
|
-
pattern: "pattern";
|
|
66
69
|
email: "email";
|
|
67
70
|
url: "url";
|
|
68
|
-
custom: "custom";
|
|
69
71
|
}>;
|
|
70
72
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
71
73
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -109,6 +111,14 @@ export declare const visibilityConditionSchema: z.ZodObject<{
|
|
|
109
111
|
export declare const sectionSchema: z.ZodObject<{
|
|
110
112
|
id: z.ZodString;
|
|
111
113
|
title: z.ZodString;
|
|
114
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
115
|
+
description: z.ZodOptional<z.ZodString>;
|
|
116
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
117
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
118
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
119
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
120
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
121
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
112
122
|
questionIds: z.ZodArray<z.ZodString>;
|
|
113
123
|
}, z.core.$strip>;
|
|
114
124
|
export declare const questionStatusSchema: z.ZodEnum<{
|
|
@@ -198,11 +208,11 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
198
208
|
type: z.ZodEnum<{
|
|
199
209
|
rating: "rating";
|
|
200
210
|
single_choice: "single_choice";
|
|
201
|
-
nps: "nps";
|
|
202
|
-
nested_selection: "nested_selection";
|
|
203
211
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
212
|
+
nps: "nps";
|
|
204
213
|
short_answer: "short_answer";
|
|
205
214
|
long_text: "long_text";
|
|
215
|
+
nested_selection: "nested_selection";
|
|
206
216
|
annotation: "annotation";
|
|
207
217
|
welcome: "welcome";
|
|
208
218
|
thank_you: "thank_you";
|
|
@@ -211,24 +221,25 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
211
221
|
rating_matrix: "rating_matrix";
|
|
212
222
|
matrix_single_choice: "matrix_single_choice";
|
|
213
223
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
224
|
+
exit_form: "exit_form";
|
|
214
225
|
}>;
|
|
215
226
|
title: z.ZodString;
|
|
216
227
|
description: z.ZodOptional<z.ZodString>;
|
|
217
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
218
228
|
describe: z.ZodOptional<z.ZodString>;
|
|
219
229
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
230
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
220
231
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
221
232
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
233
|
type: z.ZodEnum<{
|
|
234
|
+
custom: "custom";
|
|
235
|
+
pattern: "pattern";
|
|
223
236
|
required: "required";
|
|
224
237
|
min: "min";
|
|
225
238
|
max: "max";
|
|
226
239
|
minLength: "minLength";
|
|
227
240
|
maxLength: "maxLength";
|
|
228
|
-
pattern: "pattern";
|
|
229
241
|
email: "email";
|
|
230
242
|
url: "url";
|
|
231
|
-
custom: "custom";
|
|
232
243
|
}>;
|
|
233
244
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
234
245
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -249,7 +260,6 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
249
260
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
250
261
|
describe: z.ZodOptional<z.ZodString>;
|
|
251
262
|
}, z.core.$strip>>>>;
|
|
252
|
-
isFixed: z.ZodBoolean;
|
|
253
263
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
254
264
|
status: z.ZodEnum<{
|
|
255
265
|
D: "D";
|
|
@@ -257,26 +267,30 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
257
267
|
A: "A";
|
|
258
268
|
S: "S";
|
|
259
269
|
}>;
|
|
270
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
271
|
+
left: "left";
|
|
272
|
+
center: "center";
|
|
273
|
+
}>>>;
|
|
260
274
|
}, z.core.$strip>;
|
|
261
275
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
262
276
|
id: z.ZodString;
|
|
263
277
|
title: z.ZodString;
|
|
264
278
|
description: z.ZodOptional<z.ZodString>;
|
|
265
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
266
279
|
describe: z.ZodOptional<z.ZodString>;
|
|
267
280
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
281
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
268
282
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
269
283
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
270
284
|
type: z.ZodEnum<{
|
|
285
|
+
custom: "custom";
|
|
286
|
+
pattern: "pattern";
|
|
271
287
|
required: "required";
|
|
272
288
|
min: "min";
|
|
273
289
|
max: "max";
|
|
274
290
|
minLength: "minLength";
|
|
275
291
|
maxLength: "maxLength";
|
|
276
|
-
pattern: "pattern";
|
|
277
292
|
email: "email";
|
|
278
293
|
url: "url";
|
|
279
|
-
custom: "custom";
|
|
280
294
|
}>;
|
|
281
295
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
282
296
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -297,7 +311,6 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
297
311
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
298
312
|
describe: z.ZodOptional<z.ZodString>;
|
|
299
313
|
}, z.core.$strip>>>>;
|
|
300
|
-
isFixed: z.ZodBoolean;
|
|
301
314
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
302
315
|
status: z.ZodEnum<{
|
|
303
316
|
D: "D";
|
|
@@ -305,6 +318,10 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
305
318
|
A: "A";
|
|
306
319
|
S: "S";
|
|
307
320
|
}>;
|
|
321
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
left: "left";
|
|
323
|
+
center: "center";
|
|
324
|
+
}>>>;
|
|
308
325
|
type: z.ZodLiteral<"rating">;
|
|
309
326
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
310
327
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -329,21 +346,21 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
329
346
|
id: z.ZodString;
|
|
330
347
|
title: z.ZodString;
|
|
331
348
|
description: z.ZodOptional<z.ZodString>;
|
|
332
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
333
349
|
describe: z.ZodOptional<z.ZodString>;
|
|
334
350
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
351
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
335
352
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
336
353
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
337
354
|
type: z.ZodEnum<{
|
|
355
|
+
custom: "custom";
|
|
356
|
+
pattern: "pattern";
|
|
338
357
|
required: "required";
|
|
339
358
|
min: "min";
|
|
340
359
|
max: "max";
|
|
341
360
|
minLength: "minLength";
|
|
342
361
|
maxLength: "maxLength";
|
|
343
|
-
pattern: "pattern";
|
|
344
362
|
email: "email";
|
|
345
363
|
url: "url";
|
|
346
|
-
custom: "custom";
|
|
347
364
|
}>;
|
|
348
365
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
349
366
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -364,7 +381,6 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
364
381
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
365
382
|
describe: z.ZodOptional<z.ZodString>;
|
|
366
383
|
}, z.core.$strip>>>>;
|
|
367
|
-
isFixed: z.ZodBoolean;
|
|
368
384
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
369
385
|
status: z.ZodEnum<{
|
|
370
386
|
D: "D";
|
|
@@ -372,27 +388,31 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
372
388
|
A: "A";
|
|
373
389
|
S: "S";
|
|
374
390
|
}>;
|
|
391
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
left: "left";
|
|
393
|
+
center: "center";
|
|
394
|
+
}>>>;
|
|
375
395
|
type: z.ZodLiteral<"annotation">;
|
|
376
396
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
377
397
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
378
398
|
}, z.core.$strip>;
|
|
379
399
|
export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
380
400
|
id: z.ZodString;
|
|
381
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
382
401
|
describe: z.ZodOptional<z.ZodString>;
|
|
383
402
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
403
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
384
404
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
385
405
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
406
|
type: z.ZodEnum<{
|
|
407
|
+
custom: "custom";
|
|
408
|
+
pattern: "pattern";
|
|
387
409
|
required: "required";
|
|
388
410
|
min: "min";
|
|
389
411
|
max: "max";
|
|
390
412
|
minLength: "minLength";
|
|
391
413
|
maxLength: "maxLength";
|
|
392
|
-
pattern: "pattern";
|
|
393
414
|
email: "email";
|
|
394
415
|
url: "url";
|
|
395
|
-
custom: "custom";
|
|
396
416
|
}>;
|
|
397
417
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
398
418
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -413,7 +433,6 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
413
433
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
414
434
|
describe: z.ZodOptional<z.ZodString>;
|
|
415
435
|
}, z.core.$strip>>>>;
|
|
416
|
-
isFixed: z.ZodBoolean;
|
|
417
436
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
418
437
|
status: z.ZodEnum<{
|
|
419
438
|
D: "D";
|
|
@@ -421,6 +440,10 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
421
440
|
A: "A";
|
|
422
441
|
S: "S";
|
|
423
442
|
}>;
|
|
443
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
444
|
+
left: "left";
|
|
445
|
+
center: "center";
|
|
446
|
+
}>>>;
|
|
424
447
|
type: z.ZodLiteral<"welcome">;
|
|
425
448
|
title: z.ZodString;
|
|
426
449
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -429,21 +452,21 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
429
452
|
}, z.core.$strip>;
|
|
430
453
|
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
431
454
|
id: z.ZodString;
|
|
432
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
433
455
|
describe: z.ZodOptional<z.ZodString>;
|
|
434
456
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
435
458
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
436
459
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
437
460
|
type: z.ZodEnum<{
|
|
461
|
+
custom: "custom";
|
|
462
|
+
pattern: "pattern";
|
|
438
463
|
required: "required";
|
|
439
464
|
min: "min";
|
|
440
465
|
max: "max";
|
|
441
466
|
minLength: "minLength";
|
|
442
467
|
maxLength: "maxLength";
|
|
443
|
-
pattern: "pattern";
|
|
444
468
|
email: "email";
|
|
445
469
|
url: "url";
|
|
446
|
-
custom: "custom";
|
|
447
470
|
}>;
|
|
448
471
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
449
472
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -464,7 +487,6 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
464
487
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
465
488
|
describe: z.ZodOptional<z.ZodString>;
|
|
466
489
|
}, z.core.$strip>>>>;
|
|
467
|
-
isFixed: z.ZodBoolean;
|
|
468
490
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
469
491
|
status: z.ZodEnum<{
|
|
470
492
|
D: "D";
|
|
@@ -472,6 +494,10 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
472
494
|
A: "A";
|
|
473
495
|
S: "S";
|
|
474
496
|
}>;
|
|
497
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
498
|
+
left: "left";
|
|
499
|
+
center: "center";
|
|
500
|
+
}>>>;
|
|
475
501
|
type: z.ZodLiteral<"thank_you">;
|
|
476
502
|
title: z.ZodString;
|
|
477
503
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -480,21 +506,21 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
480
506
|
}, z.core.$strip>;
|
|
481
507
|
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
482
508
|
id: z.ZodString;
|
|
483
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
484
509
|
describe: z.ZodOptional<z.ZodString>;
|
|
485
510
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
511
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
486
512
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
487
513
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
488
514
|
type: z.ZodEnum<{
|
|
515
|
+
custom: "custom";
|
|
516
|
+
pattern: "pattern";
|
|
489
517
|
required: "required";
|
|
490
518
|
min: "min";
|
|
491
519
|
max: "max";
|
|
492
520
|
minLength: "minLength";
|
|
493
521
|
maxLength: "maxLength";
|
|
494
|
-
pattern: "pattern";
|
|
495
522
|
email: "email";
|
|
496
523
|
url: "url";
|
|
497
|
-
custom: "custom";
|
|
498
524
|
}>;
|
|
499
525
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
500
526
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -515,7 +541,6 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
515
541
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
516
542
|
describe: z.ZodOptional<z.ZodString>;
|
|
517
543
|
}, z.core.$strip>>>>;
|
|
518
|
-
isFixed: z.ZodBoolean;
|
|
519
544
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
520
545
|
status: z.ZodEnum<{
|
|
521
546
|
D: "D";
|
|
@@ -523,31 +548,87 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
523
548
|
A: "A";
|
|
524
549
|
S: "S";
|
|
525
550
|
}>;
|
|
551
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
552
|
+
left: "left";
|
|
553
|
+
center: "center";
|
|
554
|
+
}>>>;
|
|
526
555
|
type: z.ZodLiteral<"message_panel">;
|
|
527
556
|
title: z.ZodString;
|
|
528
557
|
description: z.ZodOptional<z.ZodString>;
|
|
529
558
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
530
559
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
531
560
|
}, z.core.$strip>;
|
|
532
|
-
export declare const
|
|
561
|
+
export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
533
562
|
id: z.ZodString;
|
|
534
563
|
title: z.ZodString;
|
|
535
564
|
description: z.ZodOptional<z.ZodString>;
|
|
536
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
537
565
|
describe: z.ZodOptional<z.ZodString>;
|
|
538
566
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
567
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
539
568
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
540
569
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
570
|
type: z.ZodEnum<{
|
|
571
|
+
custom: "custom";
|
|
572
|
+
pattern: "pattern";
|
|
542
573
|
required: "required";
|
|
543
574
|
min: "min";
|
|
544
575
|
max: "max";
|
|
545
576
|
minLength: "minLength";
|
|
546
577
|
maxLength: "maxLength";
|
|
547
|
-
pattern: "pattern";
|
|
548
578
|
email: "email";
|
|
549
579
|
url: "url";
|
|
580
|
+
}>;
|
|
581
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
582
|
+
message: z.ZodOptional<z.ZodString>;
|
|
583
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
584
|
+
}, z.core.$strip>>>>;
|
|
585
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
586
|
+
field: z.ZodString;
|
|
587
|
+
operator: z.ZodEnum<{
|
|
588
|
+
equals: "equals";
|
|
589
|
+
not_equals: "not_equals";
|
|
590
|
+
contains: "contains";
|
|
591
|
+
not_contains: "not_contains";
|
|
592
|
+
greater_than: "greater_than";
|
|
593
|
+
less_than: "less_than";
|
|
594
|
+
is_empty: "is_empty";
|
|
595
|
+
is_not_empty: "is_not_empty";
|
|
596
|
+
}>;
|
|
597
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
598
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
599
|
+
}, z.core.$strip>>>>;
|
|
600
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
601
|
+
status: z.ZodEnum<{
|
|
602
|
+
D: "D";
|
|
603
|
+
P: "P";
|
|
604
|
+
A: "A";
|
|
605
|
+
S: "S";
|
|
606
|
+
}>;
|
|
607
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
left: "left";
|
|
609
|
+
center: "center";
|
|
610
|
+
}>>>;
|
|
611
|
+
type: z.ZodLiteral<"exit_form">;
|
|
612
|
+
}, z.core.$strip>;
|
|
613
|
+
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
title: z.ZodString;
|
|
616
|
+
description: z.ZodOptional<z.ZodString>;
|
|
617
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
618
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
619
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
620
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
621
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
622
|
+
type: z.ZodEnum<{
|
|
550
623
|
custom: "custom";
|
|
624
|
+
pattern: "pattern";
|
|
625
|
+
required: "required";
|
|
626
|
+
min: "min";
|
|
627
|
+
max: "max";
|
|
628
|
+
minLength: "minLength";
|
|
629
|
+
maxLength: "maxLength";
|
|
630
|
+
email: "email";
|
|
631
|
+
url: "url";
|
|
551
632
|
}>;
|
|
552
633
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
553
634
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -568,7 +649,6 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
568
649
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
569
650
|
describe: z.ZodOptional<z.ZodString>;
|
|
570
651
|
}, z.core.$strip>>>>;
|
|
571
|
-
isFixed: z.ZodBoolean;
|
|
572
652
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
573
653
|
status: z.ZodEnum<{
|
|
574
654
|
D: "D";
|
|
@@ -576,6 +656,10 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
576
656
|
A: "A";
|
|
577
657
|
S: "S";
|
|
578
658
|
}>;
|
|
659
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
660
|
+
left: "left";
|
|
661
|
+
center: "center";
|
|
662
|
+
}>>>;
|
|
579
663
|
type: z.ZodLiteral<"yes_no">;
|
|
580
664
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
581
665
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -610,13 +694,21 @@ export declare const ratingMatrixScalePointSchema: z.ZodObject<{
|
|
|
610
694
|
}, z.core.$strip>;
|
|
611
695
|
export declare const ratingMatrixScaleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
612
696
|
kind: z.ZodLiteral<"likert">;
|
|
613
|
-
|
|
614
|
-
|
|
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>>;
|
|
615
703
|
}, z.core.$strip>, z.ZodObject<{
|
|
616
704
|
kind: z.ZodLiteral<"numerical">;
|
|
705
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
706
|
+
id: z.ZodString;
|
|
707
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
708
|
+
label: z.ZodString;
|
|
709
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
710
|
+
}, z.core.$strip>>;
|
|
617
711
|
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
618
|
-
minLabel: z.ZodOptional<z.ZodString>;
|
|
619
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
620
712
|
}, z.core.$strip>, z.ZodObject<{
|
|
621
713
|
kind: z.ZodLiteral<"custom">;
|
|
622
714
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -630,21 +722,21 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
630
722
|
id: z.ZodString;
|
|
631
723
|
title: z.ZodString;
|
|
632
724
|
description: z.ZodOptional<z.ZodString>;
|
|
633
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
634
725
|
describe: z.ZodOptional<z.ZodString>;
|
|
635
726
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
727
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
636
728
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
637
729
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
638
730
|
type: z.ZodEnum<{
|
|
731
|
+
custom: "custom";
|
|
732
|
+
pattern: "pattern";
|
|
639
733
|
required: "required";
|
|
640
734
|
min: "min";
|
|
641
735
|
max: "max";
|
|
642
736
|
minLength: "minLength";
|
|
643
737
|
maxLength: "maxLength";
|
|
644
|
-
pattern: "pattern";
|
|
645
738
|
email: "email";
|
|
646
739
|
url: "url";
|
|
647
|
-
custom: "custom";
|
|
648
740
|
}>;
|
|
649
741
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
650
742
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -665,7 +757,6 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
665
757
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
666
758
|
describe: z.ZodOptional<z.ZodString>;
|
|
667
759
|
}, z.core.$strip>>>>;
|
|
668
|
-
isFixed: z.ZodBoolean;
|
|
669
760
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
670
761
|
status: z.ZodEnum<{
|
|
671
762
|
D: "D";
|
|
@@ -673,6 +764,10 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
673
764
|
A: "A";
|
|
674
765
|
S: "S";
|
|
675
766
|
}>;
|
|
767
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
768
|
+
left: "left";
|
|
769
|
+
center: "center";
|
|
770
|
+
}>>>;
|
|
676
771
|
type: z.ZodLiteral<"rating_matrix">;
|
|
677
772
|
statements: z.ZodArray<z.ZodObject<{
|
|
678
773
|
id: z.ZodString;
|
|
@@ -682,13 +777,21 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
682
777
|
}, z.core.$strip>>;
|
|
683
778
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
684
779
|
kind: z.ZodLiteral<"likert">;
|
|
685
|
-
|
|
686
|
-
|
|
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>>;
|
|
687
786
|
}, z.core.$strip>, z.ZodObject<{
|
|
688
787
|
kind: z.ZodLiteral<"numerical">;
|
|
788
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
789
|
+
id: z.ZodString;
|
|
790
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
791
|
+
label: z.ZodString;
|
|
792
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
793
|
+
}, z.core.$strip>>;
|
|
689
794
|
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
690
|
-
minLabel: z.ZodOptional<z.ZodString>;
|
|
691
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
692
795
|
}, z.core.$strip>, z.ZodObject<{
|
|
693
796
|
kind: z.ZodLiteral<"custom">;
|
|
694
797
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -722,21 +825,21 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
722
825
|
id: z.ZodString;
|
|
723
826
|
title: z.ZodString;
|
|
724
827
|
description: z.ZodOptional<z.ZodString>;
|
|
725
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
726
828
|
describe: z.ZodOptional<z.ZodString>;
|
|
727
829
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
830
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
728
831
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
729
832
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
730
833
|
type: z.ZodEnum<{
|
|
834
|
+
custom: "custom";
|
|
835
|
+
pattern: "pattern";
|
|
731
836
|
required: "required";
|
|
732
837
|
min: "min";
|
|
733
838
|
max: "max";
|
|
734
839
|
minLength: "minLength";
|
|
735
840
|
maxLength: "maxLength";
|
|
736
|
-
pattern: "pattern";
|
|
737
841
|
email: "email";
|
|
738
842
|
url: "url";
|
|
739
|
-
custom: "custom";
|
|
740
843
|
}>;
|
|
741
844
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
742
845
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -757,7 +860,6 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
757
860
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
758
861
|
describe: z.ZodOptional<z.ZodString>;
|
|
759
862
|
}, z.core.$strip>>>>;
|
|
760
|
-
isFixed: z.ZodBoolean;
|
|
761
863
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
762
864
|
status: z.ZodEnum<{
|
|
763
865
|
D: "D";
|
|
@@ -765,6 +867,10 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
765
867
|
A: "A";
|
|
766
868
|
S: "S";
|
|
767
869
|
}>;
|
|
870
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
871
|
+
left: "left";
|
|
872
|
+
center: "center";
|
|
873
|
+
}>>>;
|
|
768
874
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
769
875
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
876
|
id: z.ZodString;
|
|
@@ -785,21 +891,21 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
785
891
|
id: z.ZodString;
|
|
786
892
|
title: z.ZodString;
|
|
787
893
|
description: z.ZodOptional<z.ZodString>;
|
|
788
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
789
894
|
describe: z.ZodOptional<z.ZodString>;
|
|
790
895
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
896
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
791
897
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
792
898
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
899
|
type: z.ZodEnum<{
|
|
900
|
+
custom: "custom";
|
|
901
|
+
pattern: "pattern";
|
|
794
902
|
required: "required";
|
|
795
903
|
min: "min";
|
|
796
904
|
max: "max";
|
|
797
905
|
minLength: "minLength";
|
|
798
906
|
maxLength: "maxLength";
|
|
799
|
-
pattern: "pattern";
|
|
800
907
|
email: "email";
|
|
801
908
|
url: "url";
|
|
802
|
-
custom: "custom";
|
|
803
909
|
}>;
|
|
804
910
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
805
911
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -820,7 +926,6 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
820
926
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
821
927
|
describe: z.ZodOptional<z.ZodString>;
|
|
822
928
|
}, z.core.$strip>>>>;
|
|
823
|
-
isFixed: z.ZodBoolean;
|
|
824
929
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
825
930
|
status: z.ZodEnum<{
|
|
826
931
|
D: "D";
|
|
@@ -828,6 +933,10 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
828
933
|
A: "A";
|
|
829
934
|
S: "S";
|
|
830
935
|
}>;
|
|
936
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
937
|
+
left: "left";
|
|
938
|
+
center: "center";
|
|
939
|
+
}>>>;
|
|
831
940
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
832
941
|
rows: z.ZodArray<z.ZodObject<{
|
|
833
942
|
id: z.ZodString;
|
|
@@ -858,21 +967,21 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
858
967
|
id: z.ZodString;
|
|
859
968
|
title: z.ZodString;
|
|
860
969
|
description: z.ZodOptional<z.ZodString>;
|
|
861
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
862
970
|
describe: z.ZodOptional<z.ZodString>;
|
|
863
971
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
972
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
864
973
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
865
974
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
975
|
type: z.ZodEnum<{
|
|
976
|
+
custom: "custom";
|
|
977
|
+
pattern: "pattern";
|
|
867
978
|
required: "required";
|
|
868
979
|
min: "min";
|
|
869
980
|
max: "max";
|
|
870
981
|
minLength: "minLength";
|
|
871
982
|
maxLength: "maxLength";
|
|
872
|
-
pattern: "pattern";
|
|
873
983
|
email: "email";
|
|
874
984
|
url: "url";
|
|
875
|
-
custom: "custom";
|
|
876
985
|
}>;
|
|
877
986
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
878
987
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -893,7 +1002,6 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
893
1002
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
894
1003
|
describe: z.ZodOptional<z.ZodString>;
|
|
895
1004
|
}, z.core.$strip>>>>;
|
|
896
|
-
isFixed: z.ZodBoolean;
|
|
897
1005
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
898
1006
|
status: z.ZodEnum<{
|
|
899
1007
|
D: "D";
|
|
@@ -901,6 +1009,10 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
901
1009
|
A: "A";
|
|
902
1010
|
S: "S";
|
|
903
1011
|
}>;
|
|
1012
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1013
|
+
left: "left";
|
|
1014
|
+
center: "center";
|
|
1015
|
+
}>>>;
|
|
904
1016
|
type: z.ZodLiteral<"single_choice">;
|
|
905
1017
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
906
1018
|
radio: "radio";
|
|
@@ -927,21 +1039,21 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
927
1039
|
id: z.ZodString;
|
|
928
1040
|
title: z.ZodString;
|
|
929
1041
|
description: z.ZodOptional<z.ZodString>;
|
|
930
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
931
1042
|
describe: z.ZodOptional<z.ZodString>;
|
|
932
1043
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1044
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
933
1045
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
934
1046
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
935
1047
|
type: z.ZodEnum<{
|
|
1048
|
+
custom: "custom";
|
|
1049
|
+
pattern: "pattern";
|
|
936
1050
|
required: "required";
|
|
937
1051
|
min: "min";
|
|
938
1052
|
max: "max";
|
|
939
1053
|
minLength: "minLength";
|
|
940
1054
|
maxLength: "maxLength";
|
|
941
|
-
pattern: "pattern";
|
|
942
1055
|
email: "email";
|
|
943
1056
|
url: "url";
|
|
944
|
-
custom: "custom";
|
|
945
1057
|
}>;
|
|
946
1058
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
947
1059
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -962,7 +1074,6 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
962
1074
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
963
1075
|
describe: z.ZodOptional<z.ZodString>;
|
|
964
1076
|
}, z.core.$strip>>>>;
|
|
965
|
-
isFixed: z.ZodBoolean;
|
|
966
1077
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
967
1078
|
status: z.ZodEnum<{
|
|
968
1079
|
D: "D";
|
|
@@ -970,6 +1081,10 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
970
1081
|
A: "A";
|
|
971
1082
|
S: "S";
|
|
972
1083
|
}>;
|
|
1084
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1085
|
+
left: "left";
|
|
1086
|
+
center: "center";
|
|
1087
|
+
}>>>;
|
|
973
1088
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
974
1089
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
975
1090
|
list: "list";
|
|
@@ -997,21 +1112,21 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
997
1112
|
id: z.ZodString;
|
|
998
1113
|
title: z.ZodString;
|
|
999
1114
|
description: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1001
1115
|
describe: z.ZodOptional<z.ZodString>;
|
|
1002
1116
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1117
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1003
1118
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1004
1119
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1005
1120
|
type: z.ZodEnum<{
|
|
1121
|
+
custom: "custom";
|
|
1122
|
+
pattern: "pattern";
|
|
1006
1123
|
required: "required";
|
|
1007
1124
|
min: "min";
|
|
1008
1125
|
max: "max";
|
|
1009
1126
|
minLength: "minLength";
|
|
1010
1127
|
maxLength: "maxLength";
|
|
1011
|
-
pattern: "pattern";
|
|
1012
1128
|
email: "email";
|
|
1013
1129
|
url: "url";
|
|
1014
|
-
custom: "custom";
|
|
1015
1130
|
}>;
|
|
1016
1131
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1017
1132
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1032,7 +1147,6 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1032
1147
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1033
1148
|
describe: z.ZodOptional<z.ZodString>;
|
|
1034
1149
|
}, z.core.$strip>>>>;
|
|
1035
|
-
isFixed: z.ZodBoolean;
|
|
1036
1150
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1037
1151
|
status: z.ZodEnum<{
|
|
1038
1152
|
D: "D";
|
|
@@ -1040,6 +1154,10 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1040
1154
|
A: "A";
|
|
1041
1155
|
S: "S";
|
|
1042
1156
|
}>;
|
|
1157
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1158
|
+
left: "left";
|
|
1159
|
+
center: "center";
|
|
1160
|
+
}>>>;
|
|
1043
1161
|
type: z.ZodLiteral<"nps">;
|
|
1044
1162
|
min: z.ZodLiteral<0>;
|
|
1045
1163
|
max: z.ZodLiteral<10>;
|
|
@@ -1052,21 +1170,21 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1052
1170
|
id: z.ZodString;
|
|
1053
1171
|
title: z.ZodString;
|
|
1054
1172
|
description: z.ZodOptional<z.ZodString>;
|
|
1055
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1056
1173
|
describe: z.ZodOptional<z.ZodString>;
|
|
1057
1174
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1175
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1058
1176
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1059
1177
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1060
1178
|
type: z.ZodEnum<{
|
|
1179
|
+
custom: "custom";
|
|
1180
|
+
pattern: "pattern";
|
|
1061
1181
|
required: "required";
|
|
1062
1182
|
min: "min";
|
|
1063
1183
|
max: "max";
|
|
1064
1184
|
minLength: "minLength";
|
|
1065
1185
|
maxLength: "maxLength";
|
|
1066
|
-
pattern: "pattern";
|
|
1067
1186
|
email: "email";
|
|
1068
1187
|
url: "url";
|
|
1069
|
-
custom: "custom";
|
|
1070
1188
|
}>;
|
|
1071
1189
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1072
1190
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1087,7 +1205,6 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1087
1205
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1088
1206
|
describe: z.ZodOptional<z.ZodString>;
|
|
1089
1207
|
}, z.core.$strip>>>>;
|
|
1090
|
-
isFixed: z.ZodBoolean;
|
|
1091
1208
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1092
1209
|
status: z.ZodEnum<{
|
|
1093
1210
|
D: "D";
|
|
@@ -1095,6 +1212,10 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1095
1212
|
A: "A";
|
|
1096
1213
|
S: "S";
|
|
1097
1214
|
}>;
|
|
1215
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1216
|
+
left: "left";
|
|
1217
|
+
center: "center";
|
|
1218
|
+
}>>>;
|
|
1098
1219
|
type: z.ZodLiteral<"short_answer">;
|
|
1099
1220
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1100
1221
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1110,21 +1231,21 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1110
1231
|
id: z.ZodString;
|
|
1111
1232
|
title: z.ZodString;
|
|
1112
1233
|
description: z.ZodOptional<z.ZodString>;
|
|
1113
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1114
1234
|
describe: z.ZodOptional<z.ZodString>;
|
|
1115
1235
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1236
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1116
1237
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1117
1238
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1118
1239
|
type: z.ZodEnum<{
|
|
1240
|
+
custom: "custom";
|
|
1241
|
+
pattern: "pattern";
|
|
1119
1242
|
required: "required";
|
|
1120
1243
|
min: "min";
|
|
1121
1244
|
max: "max";
|
|
1122
1245
|
minLength: "minLength";
|
|
1123
1246
|
maxLength: "maxLength";
|
|
1124
|
-
pattern: "pattern";
|
|
1125
1247
|
email: "email";
|
|
1126
1248
|
url: "url";
|
|
1127
|
-
custom: "custom";
|
|
1128
1249
|
}>;
|
|
1129
1250
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1130
1251
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1145,7 +1266,6 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1145
1266
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1146
1267
|
describe: z.ZodOptional<z.ZodString>;
|
|
1147
1268
|
}, z.core.$strip>>>>;
|
|
1148
|
-
isFixed: z.ZodBoolean;
|
|
1149
1269
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1150
1270
|
status: z.ZodEnum<{
|
|
1151
1271
|
D: "D";
|
|
@@ -1153,6 +1273,10 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1153
1273
|
A: "A";
|
|
1154
1274
|
S: "S";
|
|
1155
1275
|
}>;
|
|
1276
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1277
|
+
left: "left";
|
|
1278
|
+
center: "center";
|
|
1279
|
+
}>>>;
|
|
1156
1280
|
type: z.ZodLiteral<"long_text">;
|
|
1157
1281
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1158
1282
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1167,21 +1291,21 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1167
1291
|
id: z.ZodString;
|
|
1168
1292
|
title: z.ZodString;
|
|
1169
1293
|
description: z.ZodOptional<z.ZodString>;
|
|
1170
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1171
1294
|
describe: z.ZodOptional<z.ZodString>;
|
|
1172
1295
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1296
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1173
1297
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1174
1298
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1175
1299
|
type: z.ZodEnum<{
|
|
1300
|
+
custom: "custom";
|
|
1301
|
+
pattern: "pattern";
|
|
1176
1302
|
required: "required";
|
|
1177
1303
|
min: "min";
|
|
1178
1304
|
max: "max";
|
|
1179
1305
|
minLength: "minLength";
|
|
1180
1306
|
maxLength: "maxLength";
|
|
1181
|
-
pattern: "pattern";
|
|
1182
1307
|
email: "email";
|
|
1183
1308
|
url: "url";
|
|
1184
|
-
custom: "custom";
|
|
1185
1309
|
}>;
|
|
1186
1310
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1187
1311
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1202,7 +1326,6 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1202
1326
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1203
1327
|
describe: z.ZodOptional<z.ZodString>;
|
|
1204
1328
|
}, z.core.$strip>>>>;
|
|
1205
|
-
isFixed: z.ZodBoolean;
|
|
1206
1329
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1207
1330
|
status: z.ZodEnum<{
|
|
1208
1331
|
D: "D";
|
|
@@ -1210,6 +1333,10 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1210
1333
|
A: "A";
|
|
1211
1334
|
S: "S";
|
|
1212
1335
|
}>;
|
|
1336
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1337
|
+
left: "left";
|
|
1338
|
+
center: "center";
|
|
1339
|
+
}>>>;
|
|
1213
1340
|
type: z.ZodLiteral<"nested_selection">;
|
|
1214
1341
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1215
1342
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1229,6 +1356,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1229
1356
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1230
1357
|
}, z.core.$strip>;
|
|
1231
1358
|
export type QuestionType = z.infer<typeof questionTypeSchema>;
|
|
1359
|
+
export type QuestionTextAlign = "left" | "center";
|
|
1232
1360
|
export type ValidationRule = z.infer<typeof validationRuleSchema>;
|
|
1233
1361
|
export type VisibilityCondition = z.infer<typeof visibilityConditionSchema>;
|
|
1234
1362
|
export type QuestionStatus = z.infer<typeof questionStatusSchema>;
|
|
@@ -1240,6 +1368,7 @@ export type AnnotationQuestion = z.infer<typeof annotationQuestionSchema>;
|
|
|
1240
1368
|
export type WelcomeQuestion = z.infer<typeof welcomeQuestionSchema>;
|
|
1241
1369
|
export type ThankYouQuestion = z.infer<typeof thankYouQuestionSchema>;
|
|
1242
1370
|
export type MessagePanelQuestion = z.infer<typeof messagePanelQuestionSchema>;
|
|
1371
|
+
export type ExitFormQuestion = z.infer<typeof exitFormQuestionSchema>;
|
|
1243
1372
|
export type YesNoDisplayStyle = z.infer<typeof yesNoDisplayStyleSchema>;
|
|
1244
1373
|
export type YesNoQuestion = z.infer<typeof yesNoQuestionSchema>;
|
|
1245
1374
|
export type RatingMatrixStatement = z.infer<typeof ratingMatrixStatementSchema>;
|
|
@@ -1267,21 +1396,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1267
1396
|
id: z.ZodString;
|
|
1268
1397
|
title: z.ZodString;
|
|
1269
1398
|
description: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1271
1399
|
describe: z.ZodOptional<z.ZodString>;
|
|
1272
1400
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1401
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1273
1402
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1274
1403
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1275
1404
|
type: z.ZodEnum<{
|
|
1405
|
+
custom: "custom";
|
|
1406
|
+
pattern: "pattern";
|
|
1276
1407
|
required: "required";
|
|
1277
1408
|
min: "min";
|
|
1278
1409
|
max: "max";
|
|
1279
1410
|
minLength: "minLength";
|
|
1280
1411
|
maxLength: "maxLength";
|
|
1281
|
-
pattern: "pattern";
|
|
1282
1412
|
email: "email";
|
|
1283
1413
|
url: "url";
|
|
1284
|
-
custom: "custom";
|
|
1285
1414
|
}>;
|
|
1286
1415
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1287
1416
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1302,7 +1431,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1302
1431
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1303
1432
|
describe: z.ZodOptional<z.ZodString>;
|
|
1304
1433
|
}, z.core.$strip>>>>;
|
|
1305
|
-
isFixed: z.ZodBoolean;
|
|
1306
1434
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1307
1435
|
status: z.ZodEnum<{
|
|
1308
1436
|
D: "D";
|
|
@@ -1310,6 +1438,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1310
1438
|
A: "A";
|
|
1311
1439
|
S: "S";
|
|
1312
1440
|
}>;
|
|
1441
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1442
|
+
left: "left";
|
|
1443
|
+
center: "center";
|
|
1444
|
+
}>>>;
|
|
1313
1445
|
type: z.ZodLiteral<"rating">;
|
|
1314
1446
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1315
1447
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1333,21 +1465,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1333
1465
|
id: z.ZodString;
|
|
1334
1466
|
title: z.ZodString;
|
|
1335
1467
|
description: z.ZodOptional<z.ZodString>;
|
|
1336
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1337
1468
|
describe: z.ZodOptional<z.ZodString>;
|
|
1338
1469
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1470
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1339
1471
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1340
1472
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1341
1473
|
type: z.ZodEnum<{
|
|
1474
|
+
custom: "custom";
|
|
1475
|
+
pattern: "pattern";
|
|
1342
1476
|
required: "required";
|
|
1343
1477
|
min: "min";
|
|
1344
1478
|
max: "max";
|
|
1345
1479
|
minLength: "minLength";
|
|
1346
1480
|
maxLength: "maxLength";
|
|
1347
|
-
pattern: "pattern";
|
|
1348
1481
|
email: "email";
|
|
1349
1482
|
url: "url";
|
|
1350
|
-
custom: "custom";
|
|
1351
1483
|
}>;
|
|
1352
1484
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1353
1485
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1368,7 +1500,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1368
1500
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1369
1501
|
describe: z.ZodOptional<z.ZodString>;
|
|
1370
1502
|
}, z.core.$strip>>>>;
|
|
1371
|
-
isFixed: z.ZodBoolean;
|
|
1372
1503
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1373
1504
|
status: z.ZodEnum<{
|
|
1374
1505
|
D: "D";
|
|
@@ -1376,26 +1507,30 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1376
1507
|
A: "A";
|
|
1377
1508
|
S: "S";
|
|
1378
1509
|
}>;
|
|
1510
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1511
|
+
left: "left";
|
|
1512
|
+
center: "center";
|
|
1513
|
+
}>>>;
|
|
1379
1514
|
type: z.ZodLiteral<"annotation">;
|
|
1380
1515
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1381
1516
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1382
1517
|
}, z.core.$strip>, z.ZodObject<{
|
|
1383
1518
|
id: z.ZodString;
|
|
1384
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1385
1519
|
describe: z.ZodOptional<z.ZodString>;
|
|
1386
1520
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1521
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1387
1522
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1388
1523
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1389
1524
|
type: z.ZodEnum<{
|
|
1525
|
+
custom: "custom";
|
|
1526
|
+
pattern: "pattern";
|
|
1390
1527
|
required: "required";
|
|
1391
1528
|
min: "min";
|
|
1392
1529
|
max: "max";
|
|
1393
1530
|
minLength: "minLength";
|
|
1394
1531
|
maxLength: "maxLength";
|
|
1395
|
-
pattern: "pattern";
|
|
1396
1532
|
email: "email";
|
|
1397
1533
|
url: "url";
|
|
1398
|
-
custom: "custom";
|
|
1399
1534
|
}>;
|
|
1400
1535
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1401
1536
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1416,7 +1551,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1416
1551
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1417
1552
|
describe: z.ZodOptional<z.ZodString>;
|
|
1418
1553
|
}, z.core.$strip>>>>;
|
|
1419
|
-
isFixed: z.ZodBoolean;
|
|
1420
1554
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1421
1555
|
status: z.ZodEnum<{
|
|
1422
1556
|
D: "D";
|
|
@@ -1424,6 +1558,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1424
1558
|
A: "A";
|
|
1425
1559
|
S: "S";
|
|
1426
1560
|
}>;
|
|
1561
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1562
|
+
left: "left";
|
|
1563
|
+
center: "center";
|
|
1564
|
+
}>>>;
|
|
1427
1565
|
type: z.ZodLiteral<"welcome">;
|
|
1428
1566
|
title: z.ZodString;
|
|
1429
1567
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1431,21 +1569,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1431
1569
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1432
1570
|
}, z.core.$strip>, z.ZodObject<{
|
|
1433
1571
|
id: z.ZodString;
|
|
1434
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1435
1572
|
describe: z.ZodOptional<z.ZodString>;
|
|
1436
1573
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1574
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1437
1575
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1438
1576
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1439
1577
|
type: z.ZodEnum<{
|
|
1578
|
+
custom: "custom";
|
|
1579
|
+
pattern: "pattern";
|
|
1440
1580
|
required: "required";
|
|
1441
1581
|
min: "min";
|
|
1442
1582
|
max: "max";
|
|
1443
1583
|
minLength: "minLength";
|
|
1444
1584
|
maxLength: "maxLength";
|
|
1445
|
-
pattern: "pattern";
|
|
1446
1585
|
email: "email";
|
|
1447
1586
|
url: "url";
|
|
1448
|
-
custom: "custom";
|
|
1449
1587
|
}>;
|
|
1450
1588
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1451
1589
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1466,7 +1604,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1466
1604
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1467
1605
|
describe: z.ZodOptional<z.ZodString>;
|
|
1468
1606
|
}, z.core.$strip>>>>;
|
|
1469
|
-
isFixed: z.ZodBoolean;
|
|
1470
1607
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1471
1608
|
status: z.ZodEnum<{
|
|
1472
1609
|
D: "D";
|
|
@@ -1474,6 +1611,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1474
1611
|
A: "A";
|
|
1475
1612
|
S: "S";
|
|
1476
1613
|
}>;
|
|
1614
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1615
|
+
left: "left";
|
|
1616
|
+
center: "center";
|
|
1617
|
+
}>>>;
|
|
1477
1618
|
type: z.ZodLiteral<"thank_you">;
|
|
1478
1619
|
title: z.ZodString;
|
|
1479
1620
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1481,21 +1622,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1481
1622
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1482
1623
|
}, z.core.$strip>, z.ZodObject<{
|
|
1483
1624
|
id: z.ZodString;
|
|
1484
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1485
1625
|
describe: z.ZodOptional<z.ZodString>;
|
|
1486
1626
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1627
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1487
1628
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1488
1629
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1489
1630
|
type: z.ZodEnum<{
|
|
1631
|
+
custom: "custom";
|
|
1632
|
+
pattern: "pattern";
|
|
1490
1633
|
required: "required";
|
|
1491
1634
|
min: "min";
|
|
1492
1635
|
max: "max";
|
|
1493
1636
|
minLength: "minLength";
|
|
1494
1637
|
maxLength: "maxLength";
|
|
1495
|
-
pattern: "pattern";
|
|
1496
1638
|
email: "email";
|
|
1497
1639
|
url: "url";
|
|
1498
|
-
custom: "custom";
|
|
1499
1640
|
}>;
|
|
1500
1641
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1501
1642
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1516,7 +1657,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1516
1657
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1517
1658
|
describe: z.ZodOptional<z.ZodString>;
|
|
1518
1659
|
}, z.core.$strip>>>>;
|
|
1519
|
-
isFixed: z.ZodBoolean;
|
|
1520
1660
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1521
1661
|
status: z.ZodEnum<{
|
|
1522
1662
|
D: "D";
|
|
@@ -1524,6 +1664,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1524
1664
|
A: "A";
|
|
1525
1665
|
S: "S";
|
|
1526
1666
|
}>;
|
|
1667
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1668
|
+
left: "left";
|
|
1669
|
+
center: "center";
|
|
1670
|
+
}>>>;
|
|
1527
1671
|
type: z.ZodLiteral<"message_panel">;
|
|
1528
1672
|
title: z.ZodString;
|
|
1529
1673
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1533,21 +1677,72 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1533
1677
|
id: z.ZodString;
|
|
1534
1678
|
title: z.ZodString;
|
|
1535
1679
|
description: z.ZodOptional<z.ZodString>;
|
|
1536
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1537
1680
|
describe: z.ZodOptional<z.ZodString>;
|
|
1538
1681
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1682
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1539
1683
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1540
1684
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1541
1685
|
type: z.ZodEnum<{
|
|
1686
|
+
custom: "custom";
|
|
1687
|
+
pattern: "pattern";
|
|
1542
1688
|
required: "required";
|
|
1543
1689
|
min: "min";
|
|
1544
1690
|
max: "max";
|
|
1545
1691
|
minLength: "minLength";
|
|
1546
1692
|
maxLength: "maxLength";
|
|
1547
|
-
pattern: "pattern";
|
|
1548
1693
|
email: "email";
|
|
1549
1694
|
url: "url";
|
|
1695
|
+
}>;
|
|
1696
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1697
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
}, z.core.$strip>>>>;
|
|
1700
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1701
|
+
field: z.ZodString;
|
|
1702
|
+
operator: z.ZodEnum<{
|
|
1703
|
+
equals: "equals";
|
|
1704
|
+
not_equals: "not_equals";
|
|
1705
|
+
contains: "contains";
|
|
1706
|
+
not_contains: "not_contains";
|
|
1707
|
+
greater_than: "greater_than";
|
|
1708
|
+
less_than: "less_than";
|
|
1709
|
+
is_empty: "is_empty";
|
|
1710
|
+
is_not_empty: "is_not_empty";
|
|
1711
|
+
}>;
|
|
1712
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1713
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1714
|
+
}, z.core.$strip>>>>;
|
|
1715
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
status: z.ZodEnum<{
|
|
1717
|
+
D: "D";
|
|
1718
|
+
P: "P";
|
|
1719
|
+
A: "A";
|
|
1720
|
+
S: "S";
|
|
1721
|
+
}>;
|
|
1722
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1723
|
+
left: "left";
|
|
1724
|
+
center: "center";
|
|
1725
|
+
}>>>;
|
|
1726
|
+
type: z.ZodLiteral<"exit_form">;
|
|
1727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1728
|
+
id: z.ZodString;
|
|
1729
|
+
title: z.ZodString;
|
|
1730
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1733
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1734
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1736
|
+
type: z.ZodEnum<{
|
|
1550
1737
|
custom: "custom";
|
|
1738
|
+
pattern: "pattern";
|
|
1739
|
+
required: "required";
|
|
1740
|
+
min: "min";
|
|
1741
|
+
max: "max";
|
|
1742
|
+
minLength: "minLength";
|
|
1743
|
+
maxLength: "maxLength";
|
|
1744
|
+
email: "email";
|
|
1745
|
+
url: "url";
|
|
1551
1746
|
}>;
|
|
1552
1747
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1553
1748
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1568,7 +1763,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1568
1763
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1569
1764
|
describe: z.ZodOptional<z.ZodString>;
|
|
1570
1765
|
}, z.core.$strip>>>>;
|
|
1571
|
-
isFixed: z.ZodBoolean;
|
|
1572
1766
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1573
1767
|
status: z.ZodEnum<{
|
|
1574
1768
|
D: "D";
|
|
@@ -1576,6 +1770,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1576
1770
|
A: "A";
|
|
1577
1771
|
S: "S";
|
|
1578
1772
|
}>;
|
|
1773
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1774
|
+
left: "left";
|
|
1775
|
+
center: "center";
|
|
1776
|
+
}>>>;
|
|
1579
1777
|
type: z.ZodLiteral<"yes_no">;
|
|
1580
1778
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1581
1779
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1587,21 +1785,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1587
1785
|
id: z.ZodString;
|
|
1588
1786
|
title: z.ZodString;
|
|
1589
1787
|
description: z.ZodOptional<z.ZodString>;
|
|
1590
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1591
1788
|
describe: z.ZodOptional<z.ZodString>;
|
|
1592
1789
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1790
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1593
1791
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1594
1792
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1595
1793
|
type: z.ZodEnum<{
|
|
1794
|
+
custom: "custom";
|
|
1795
|
+
pattern: "pattern";
|
|
1596
1796
|
required: "required";
|
|
1597
1797
|
min: "min";
|
|
1598
1798
|
max: "max";
|
|
1599
1799
|
minLength: "minLength";
|
|
1600
1800
|
maxLength: "maxLength";
|
|
1601
|
-
pattern: "pattern";
|
|
1602
1801
|
email: "email";
|
|
1603
1802
|
url: "url";
|
|
1604
|
-
custom: "custom";
|
|
1605
1803
|
}>;
|
|
1606
1804
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1607
1805
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1622,7 +1820,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1622
1820
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1623
1821
|
describe: z.ZodOptional<z.ZodString>;
|
|
1624
1822
|
}, z.core.$strip>>>>;
|
|
1625
|
-
isFixed: z.ZodBoolean;
|
|
1626
1823
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1627
1824
|
status: z.ZodEnum<{
|
|
1628
1825
|
D: "D";
|
|
@@ -1630,6 +1827,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1630
1827
|
A: "A";
|
|
1631
1828
|
S: "S";
|
|
1632
1829
|
}>;
|
|
1830
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1831
|
+
left: "left";
|
|
1832
|
+
center: "center";
|
|
1833
|
+
}>>>;
|
|
1633
1834
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1634
1835
|
statements: z.ZodArray<z.ZodObject<{
|
|
1635
1836
|
id: z.ZodString;
|
|
@@ -1639,13 +1840,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1639
1840
|
}, z.core.$strip>>;
|
|
1640
1841
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1641
1842
|
kind: z.ZodLiteral<"likert">;
|
|
1642
|
-
|
|
1643
|
-
|
|
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>>;
|
|
1644
1849
|
}, z.core.$strip>, z.ZodObject<{
|
|
1645
1850
|
kind: z.ZodLiteral<"numerical">;
|
|
1851
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1852
|
+
id: z.ZodString;
|
|
1853
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1854
|
+
label: z.ZodString;
|
|
1855
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1856
|
+
}, z.core.$strip>>;
|
|
1646
1857
|
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1647
|
-
minLabel: z.ZodOptional<z.ZodString>;
|
|
1648
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1649
1858
|
}, z.core.$strip>, z.ZodObject<{
|
|
1650
1859
|
kind: z.ZodLiteral<"custom">;
|
|
1651
1860
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -1666,21 +1875,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1666
1875
|
id: z.ZodString;
|
|
1667
1876
|
title: z.ZodString;
|
|
1668
1877
|
description: z.ZodOptional<z.ZodString>;
|
|
1669
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1670
1878
|
describe: z.ZodOptional<z.ZodString>;
|
|
1671
1879
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1880
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1672
1881
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1673
1882
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1674
1883
|
type: z.ZodEnum<{
|
|
1884
|
+
custom: "custom";
|
|
1885
|
+
pattern: "pattern";
|
|
1675
1886
|
required: "required";
|
|
1676
1887
|
min: "min";
|
|
1677
1888
|
max: "max";
|
|
1678
1889
|
minLength: "minLength";
|
|
1679
1890
|
maxLength: "maxLength";
|
|
1680
|
-
pattern: "pattern";
|
|
1681
1891
|
email: "email";
|
|
1682
1892
|
url: "url";
|
|
1683
|
-
custom: "custom";
|
|
1684
1893
|
}>;
|
|
1685
1894
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1686
1895
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1701,7 +1910,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1701
1910
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1702
1911
|
describe: z.ZodOptional<z.ZodString>;
|
|
1703
1912
|
}, z.core.$strip>>>>;
|
|
1704
|
-
isFixed: z.ZodBoolean;
|
|
1705
1913
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1706
1914
|
status: z.ZodEnum<{
|
|
1707
1915
|
D: "D";
|
|
@@ -1709,6 +1917,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1709
1917
|
A: "A";
|
|
1710
1918
|
S: "S";
|
|
1711
1919
|
}>;
|
|
1920
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1921
|
+
left: "left";
|
|
1922
|
+
center: "center";
|
|
1923
|
+
}>>>;
|
|
1712
1924
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1713
1925
|
rows: z.ZodArray<z.ZodObject<{
|
|
1714
1926
|
id: z.ZodString;
|
|
@@ -1728,21 +1940,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1728
1940
|
id: z.ZodString;
|
|
1729
1941
|
title: z.ZodString;
|
|
1730
1942
|
description: z.ZodOptional<z.ZodString>;
|
|
1731
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1732
1943
|
describe: z.ZodOptional<z.ZodString>;
|
|
1733
1944
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1945
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1734
1946
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1735
1947
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1736
1948
|
type: z.ZodEnum<{
|
|
1949
|
+
custom: "custom";
|
|
1950
|
+
pattern: "pattern";
|
|
1737
1951
|
required: "required";
|
|
1738
1952
|
min: "min";
|
|
1739
1953
|
max: "max";
|
|
1740
1954
|
minLength: "minLength";
|
|
1741
1955
|
maxLength: "maxLength";
|
|
1742
|
-
pattern: "pattern";
|
|
1743
1956
|
email: "email";
|
|
1744
1957
|
url: "url";
|
|
1745
|
-
custom: "custom";
|
|
1746
1958
|
}>;
|
|
1747
1959
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1748
1960
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1763,7 +1975,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1763
1975
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1764
1976
|
describe: z.ZodOptional<z.ZodString>;
|
|
1765
1977
|
}, z.core.$strip>>>>;
|
|
1766
|
-
isFixed: z.ZodBoolean;
|
|
1767
1978
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1768
1979
|
status: z.ZodEnum<{
|
|
1769
1980
|
D: "D";
|
|
@@ -1771,6 +1982,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1771
1982
|
A: "A";
|
|
1772
1983
|
S: "S";
|
|
1773
1984
|
}>;
|
|
1985
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1986
|
+
left: "left";
|
|
1987
|
+
center: "center";
|
|
1988
|
+
}>>>;
|
|
1774
1989
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1775
1990
|
rows: z.ZodArray<z.ZodObject<{
|
|
1776
1991
|
id: z.ZodString;
|
|
@@ -1792,21 +2007,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1792
2007
|
id: z.ZodString;
|
|
1793
2008
|
title: z.ZodString;
|
|
1794
2009
|
description: z.ZodOptional<z.ZodString>;
|
|
1795
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1796
2010
|
describe: z.ZodOptional<z.ZodString>;
|
|
1797
2011
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2012
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1798
2013
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1799
2014
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1800
2015
|
type: z.ZodEnum<{
|
|
2016
|
+
custom: "custom";
|
|
2017
|
+
pattern: "pattern";
|
|
1801
2018
|
required: "required";
|
|
1802
2019
|
min: "min";
|
|
1803
2020
|
max: "max";
|
|
1804
2021
|
minLength: "minLength";
|
|
1805
2022
|
maxLength: "maxLength";
|
|
1806
|
-
pattern: "pattern";
|
|
1807
2023
|
email: "email";
|
|
1808
2024
|
url: "url";
|
|
1809
|
-
custom: "custom";
|
|
1810
2025
|
}>;
|
|
1811
2026
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1812
2027
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1827,7 +2042,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1827
2042
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1828
2043
|
describe: z.ZodOptional<z.ZodString>;
|
|
1829
2044
|
}, z.core.$strip>>>>;
|
|
1830
|
-
isFixed: z.ZodBoolean;
|
|
1831
2045
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1832
2046
|
status: z.ZodEnum<{
|
|
1833
2047
|
D: "D";
|
|
@@ -1835,6 +2049,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1835
2049
|
A: "A";
|
|
1836
2050
|
S: "S";
|
|
1837
2051
|
}>;
|
|
2052
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2053
|
+
left: "left";
|
|
2054
|
+
center: "center";
|
|
2055
|
+
}>>>;
|
|
1838
2056
|
type: z.ZodLiteral<"single_choice">;
|
|
1839
2057
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1840
2058
|
radio: "radio";
|
|
@@ -1860,21 +2078,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1860
2078
|
id: z.ZodString;
|
|
1861
2079
|
title: z.ZodString;
|
|
1862
2080
|
description: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1864
2081
|
describe: z.ZodOptional<z.ZodString>;
|
|
1865
2082
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2083
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1866
2084
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1867
2085
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1868
2086
|
type: z.ZodEnum<{
|
|
2087
|
+
custom: "custom";
|
|
2088
|
+
pattern: "pattern";
|
|
1869
2089
|
required: "required";
|
|
1870
2090
|
min: "min";
|
|
1871
2091
|
max: "max";
|
|
1872
2092
|
minLength: "minLength";
|
|
1873
2093
|
maxLength: "maxLength";
|
|
1874
|
-
pattern: "pattern";
|
|
1875
2094
|
email: "email";
|
|
1876
2095
|
url: "url";
|
|
1877
|
-
custom: "custom";
|
|
1878
2096
|
}>;
|
|
1879
2097
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1880
2098
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1895,7 +2113,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1895
2113
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1896
2114
|
describe: z.ZodOptional<z.ZodString>;
|
|
1897
2115
|
}, z.core.$strip>>>>;
|
|
1898
|
-
isFixed: z.ZodBoolean;
|
|
1899
2116
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1900
2117
|
status: z.ZodEnum<{
|
|
1901
2118
|
D: "D";
|
|
@@ -1903,6 +2120,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1903
2120
|
A: "A";
|
|
1904
2121
|
S: "S";
|
|
1905
2122
|
}>;
|
|
2123
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2124
|
+
left: "left";
|
|
2125
|
+
center: "center";
|
|
2126
|
+
}>>>;
|
|
1906
2127
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1907
2128
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1908
2129
|
list: "list";
|
|
@@ -1929,21 +2150,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1929
2150
|
id: z.ZodString;
|
|
1930
2151
|
title: z.ZodString;
|
|
1931
2152
|
description: z.ZodOptional<z.ZodString>;
|
|
1932
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1933
2153
|
describe: z.ZodOptional<z.ZodString>;
|
|
1934
2154
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2155
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1935
2156
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1936
2157
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1937
2158
|
type: z.ZodEnum<{
|
|
2159
|
+
custom: "custom";
|
|
2160
|
+
pattern: "pattern";
|
|
1938
2161
|
required: "required";
|
|
1939
2162
|
min: "min";
|
|
1940
2163
|
max: "max";
|
|
1941
2164
|
minLength: "minLength";
|
|
1942
2165
|
maxLength: "maxLength";
|
|
1943
|
-
pattern: "pattern";
|
|
1944
2166
|
email: "email";
|
|
1945
2167
|
url: "url";
|
|
1946
|
-
custom: "custom";
|
|
1947
2168
|
}>;
|
|
1948
2169
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1949
2170
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1964,7 +2185,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1964
2185
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1965
2186
|
describe: z.ZodOptional<z.ZodString>;
|
|
1966
2187
|
}, z.core.$strip>>>>;
|
|
1967
|
-
isFixed: z.ZodBoolean;
|
|
1968
2188
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1969
2189
|
status: z.ZodEnum<{
|
|
1970
2190
|
D: "D";
|
|
@@ -1972,6 +2192,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1972
2192
|
A: "A";
|
|
1973
2193
|
S: "S";
|
|
1974
2194
|
}>;
|
|
2195
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2196
|
+
left: "left";
|
|
2197
|
+
center: "center";
|
|
2198
|
+
}>>>;
|
|
1975
2199
|
type: z.ZodLiteral<"nps">;
|
|
1976
2200
|
min: z.ZodLiteral<0>;
|
|
1977
2201
|
max: z.ZodLiteral<10>;
|
|
@@ -1983,21 +2207,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1983
2207
|
id: z.ZodString;
|
|
1984
2208
|
title: z.ZodString;
|
|
1985
2209
|
description: z.ZodOptional<z.ZodString>;
|
|
1986
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1987
2210
|
describe: z.ZodOptional<z.ZodString>;
|
|
1988
2211
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2212
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1989
2213
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1990
2214
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1991
2215
|
type: z.ZodEnum<{
|
|
2216
|
+
custom: "custom";
|
|
2217
|
+
pattern: "pattern";
|
|
1992
2218
|
required: "required";
|
|
1993
2219
|
min: "min";
|
|
1994
2220
|
max: "max";
|
|
1995
2221
|
minLength: "minLength";
|
|
1996
2222
|
maxLength: "maxLength";
|
|
1997
|
-
pattern: "pattern";
|
|
1998
2223
|
email: "email";
|
|
1999
2224
|
url: "url";
|
|
2000
|
-
custom: "custom";
|
|
2001
2225
|
}>;
|
|
2002
2226
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2003
2227
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2018,7 +2242,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2018
2242
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2019
2243
|
describe: z.ZodOptional<z.ZodString>;
|
|
2020
2244
|
}, z.core.$strip>>>>;
|
|
2021
|
-
isFixed: z.ZodBoolean;
|
|
2022
2245
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
2023
2246
|
status: z.ZodEnum<{
|
|
2024
2247
|
D: "D";
|
|
@@ -2026,6 +2249,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2026
2249
|
A: "A";
|
|
2027
2250
|
S: "S";
|
|
2028
2251
|
}>;
|
|
2252
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2253
|
+
left: "left";
|
|
2254
|
+
center: "center";
|
|
2255
|
+
}>>>;
|
|
2029
2256
|
type: z.ZodLiteral<"short_answer">;
|
|
2030
2257
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2031
2258
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2040,21 +2267,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2040
2267
|
id: z.ZodString;
|
|
2041
2268
|
title: z.ZodString;
|
|
2042
2269
|
description: z.ZodOptional<z.ZodString>;
|
|
2043
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
2044
2270
|
describe: z.ZodOptional<z.ZodString>;
|
|
2045
2271
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2272
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2046
2273
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2047
2274
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2048
2275
|
type: z.ZodEnum<{
|
|
2276
|
+
custom: "custom";
|
|
2277
|
+
pattern: "pattern";
|
|
2049
2278
|
required: "required";
|
|
2050
2279
|
min: "min";
|
|
2051
2280
|
max: "max";
|
|
2052
2281
|
minLength: "minLength";
|
|
2053
2282
|
maxLength: "maxLength";
|
|
2054
|
-
pattern: "pattern";
|
|
2055
2283
|
email: "email";
|
|
2056
2284
|
url: "url";
|
|
2057
|
-
custom: "custom";
|
|
2058
2285
|
}>;
|
|
2059
2286
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2060
2287
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2075,7 +2302,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2075
2302
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2076
2303
|
describe: z.ZodOptional<z.ZodString>;
|
|
2077
2304
|
}, z.core.$strip>>>>;
|
|
2078
|
-
isFixed: z.ZodBoolean;
|
|
2079
2305
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
2080
2306
|
status: z.ZodEnum<{
|
|
2081
2307
|
D: "D";
|
|
@@ -2083,6 +2309,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2083
2309
|
A: "A";
|
|
2084
2310
|
S: "S";
|
|
2085
2311
|
}>;
|
|
2312
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2313
|
+
left: "left";
|
|
2314
|
+
center: "center";
|
|
2315
|
+
}>>>;
|
|
2086
2316
|
type: z.ZodLiteral<"long_text">;
|
|
2087
2317
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2088
2318
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2096,21 +2326,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2096
2326
|
id: z.ZodString;
|
|
2097
2327
|
title: z.ZodString;
|
|
2098
2328
|
description: z.ZodOptional<z.ZodString>;
|
|
2099
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
2100
2329
|
describe: z.ZodOptional<z.ZodString>;
|
|
2101
2330
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2331
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2102
2332
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2103
2333
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2104
2334
|
type: z.ZodEnum<{
|
|
2335
|
+
custom: "custom";
|
|
2336
|
+
pattern: "pattern";
|
|
2105
2337
|
required: "required";
|
|
2106
2338
|
min: "min";
|
|
2107
2339
|
max: "max";
|
|
2108
2340
|
minLength: "minLength";
|
|
2109
2341
|
maxLength: "maxLength";
|
|
2110
|
-
pattern: "pattern";
|
|
2111
2342
|
email: "email";
|
|
2112
2343
|
url: "url";
|
|
2113
|
-
custom: "custom";
|
|
2114
2344
|
}>;
|
|
2115
2345
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2116
2346
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2131,7 +2361,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2131
2361
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2132
2362
|
describe: z.ZodOptional<z.ZodString>;
|
|
2133
2363
|
}, z.core.$strip>>>>;
|
|
2134
|
-
isFixed: z.ZodBoolean;
|
|
2135
2364
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
2136
2365
|
status: z.ZodEnum<{
|
|
2137
2366
|
D: "D";
|
|
@@ -2139,6 +2368,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2139
2368
|
A: "A";
|
|
2140
2369
|
S: "S";
|
|
2141
2370
|
}>;
|
|
2371
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2372
|
+
left: "left";
|
|
2373
|
+
center: "center";
|
|
2374
|
+
}>>>;
|
|
2142
2375
|
type: z.ZodLiteral<"nested_selection">;
|
|
2143
2376
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2144
2377
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2157,4 +2390,4 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2157
2390
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
2158
2391
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2159
2392
|
}, z.core.$strip>], "type">;
|
|
2160
|
-
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 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>;
|
|
2393
|
+
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>;
|