@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
|
@@ -86,6 +86,13 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
|
|
|
86
86
|
customPosition: z.ZodBoolean;
|
|
87
87
|
customIconPosition: z.ZodBoolean;
|
|
88
88
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
90
|
+
rtl: z.ZodBoolean;
|
|
91
|
+
previousButton: z.ZodEnum<{
|
|
92
|
+
never: "never";
|
|
93
|
+
always: "always";
|
|
94
|
+
auto: "auto";
|
|
95
|
+
}>;
|
|
89
96
|
}, z.core.$strip>;
|
|
90
97
|
selectedIconPosition: z.ZodString;
|
|
91
98
|
selectedPosition: z.ZodString;
|
|
@@ -191,9 +198,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
191
198
|
id: z.ZodString;
|
|
192
199
|
title: z.ZodString;
|
|
193
200
|
description: z.ZodOptional<z.ZodString>;
|
|
194
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
195
201
|
describe: z.ZodOptional<z.ZodString>;
|
|
196
202
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
203
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
197
204
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
198
205
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
199
206
|
type: z.ZodEnum<{
|
|
@@ -226,7 +233,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
226
233
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
227
234
|
describe: z.ZodOptional<z.ZodString>;
|
|
228
235
|
}, z.core.$strip>>>>;
|
|
229
|
-
isFixed: z.ZodBoolean;
|
|
230
236
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
231
237
|
status: z.ZodEnum<{
|
|
232
238
|
D: "D";
|
|
@@ -234,6 +240,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
234
240
|
A: "A";
|
|
235
241
|
S: "S";
|
|
236
242
|
}>;
|
|
243
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
244
|
+
left: "left";
|
|
245
|
+
center: "center";
|
|
246
|
+
}>>>;
|
|
237
247
|
type: z.ZodLiteral<"rating">;
|
|
238
248
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
239
249
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -257,9 +267,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
257
267
|
id: z.ZodString;
|
|
258
268
|
title: z.ZodString;
|
|
259
269
|
description: z.ZodOptional<z.ZodString>;
|
|
260
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
261
270
|
describe: z.ZodOptional<z.ZodString>;
|
|
262
271
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
272
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
263
273
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
264
274
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
265
275
|
type: z.ZodEnum<{
|
|
@@ -292,7 +302,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
292
302
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
293
303
|
describe: z.ZodOptional<z.ZodString>;
|
|
294
304
|
}, z.core.$strip>>>>;
|
|
295
|
-
isFixed: z.ZodBoolean;
|
|
296
305
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
297
306
|
status: z.ZodEnum<{
|
|
298
307
|
D: "D";
|
|
@@ -300,16 +309,71 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
300
309
|
A: "A";
|
|
301
310
|
S: "S";
|
|
302
311
|
}>;
|
|
312
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
313
|
+
left: "left";
|
|
314
|
+
center: "center";
|
|
315
|
+
}>>>;
|
|
303
316
|
type: z.ZodLiteral<"annotation">;
|
|
304
317
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
305
318
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
306
319
|
}, z.core.$strip>, z.ZodObject<{
|
|
307
320
|
id: z.ZodString;
|
|
321
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
322
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
323
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
324
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
325
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
326
|
+
type: z.ZodEnum<{
|
|
327
|
+
required: "required";
|
|
328
|
+
min: "min";
|
|
329
|
+
max: "max";
|
|
330
|
+
minLength: "minLength";
|
|
331
|
+
maxLength: "maxLength";
|
|
332
|
+
pattern: "pattern";
|
|
333
|
+
email: "email";
|
|
334
|
+
url: "url";
|
|
335
|
+
custom: "custom";
|
|
336
|
+
}>;
|
|
337
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
338
|
+
message: z.ZodOptional<z.ZodString>;
|
|
339
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strip>>>>;
|
|
341
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
342
|
+
field: z.ZodString;
|
|
343
|
+
operator: z.ZodEnum<{
|
|
344
|
+
equals: "equals";
|
|
345
|
+
not_equals: "not_equals";
|
|
346
|
+
contains: "contains";
|
|
347
|
+
not_contains: "not_contains";
|
|
348
|
+
greater_than: "greater_than";
|
|
349
|
+
less_than: "less_than";
|
|
350
|
+
is_empty: "is_empty";
|
|
351
|
+
is_not_empty: "is_not_empty";
|
|
352
|
+
}>;
|
|
353
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
354
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
355
|
+
}, z.core.$strip>>>>;
|
|
356
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
357
|
+
status: z.ZodEnum<{
|
|
358
|
+
D: "D";
|
|
359
|
+
P: "P";
|
|
360
|
+
A: "A";
|
|
361
|
+
S: "S";
|
|
362
|
+
}>;
|
|
363
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
364
|
+
left: "left";
|
|
365
|
+
center: "center";
|
|
366
|
+
}>>>;
|
|
367
|
+
type: z.ZodLiteral<"welcome">;
|
|
308
368
|
title: z.ZodString;
|
|
309
369
|
description: z.ZodOptional<z.ZodString>;
|
|
310
|
-
|
|
370
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
371
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
373
|
+
id: z.ZodString;
|
|
311
374
|
describe: z.ZodOptional<z.ZodString>;
|
|
312
375
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
376
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
313
377
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
314
378
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
315
379
|
type: z.ZodEnum<{
|
|
@@ -342,7 +406,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
342
406
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
343
407
|
describe: z.ZodOptional<z.ZodString>;
|
|
344
408
|
}, z.core.$strip>>>>;
|
|
345
|
-
isFixed: z.ZodBoolean;
|
|
346
409
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
347
410
|
status: z.ZodEnum<{
|
|
348
411
|
D: "D";
|
|
@@ -350,34 +413,75 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
350
413
|
A: "A";
|
|
351
414
|
S: "S";
|
|
352
415
|
}>;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
416
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
417
|
+
left: "left";
|
|
418
|
+
center: "center";
|
|
419
|
+
}>>>;
|
|
420
|
+
type: z.ZodLiteral<"thank_you">;
|
|
421
|
+
title: z.ZodString;
|
|
422
|
+
description: z.ZodOptional<z.ZodString>;
|
|
423
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
424
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
+
id: z.ZodString;
|
|
427
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
428
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
429
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
430
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
431
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
|
+
type: z.ZodEnum<{
|
|
433
|
+
required: "required";
|
|
434
|
+
min: "min";
|
|
435
|
+
max: "max";
|
|
436
|
+
minLength: "minLength";
|
|
437
|
+
maxLength: "maxLength";
|
|
438
|
+
pattern: "pattern";
|
|
439
|
+
email: "email";
|
|
440
|
+
url: "url";
|
|
441
|
+
custom: "custom";
|
|
442
|
+
}>;
|
|
443
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
444
|
+
message: z.ZodOptional<z.ZodString>;
|
|
371
445
|
describe: z.ZodOptional<z.ZodString>;
|
|
372
|
-
|
|
373
|
-
|
|
446
|
+
}, z.core.$strip>>>>;
|
|
447
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
448
|
+
field: z.ZodString;
|
|
449
|
+
operator: z.ZodEnum<{
|
|
450
|
+
equals: "equals";
|
|
451
|
+
not_equals: "not_equals";
|
|
452
|
+
contains: "contains";
|
|
453
|
+
not_contains: "not_contains";
|
|
454
|
+
greater_than: "greater_than";
|
|
455
|
+
less_than: "less_than";
|
|
456
|
+
is_empty: "is_empty";
|
|
457
|
+
is_not_empty: "is_not_empty";
|
|
458
|
+
}>;
|
|
459
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
460
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strip>>>>;
|
|
462
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
463
|
+
status: z.ZodEnum<{
|
|
464
|
+
D: "D";
|
|
465
|
+
P: "P";
|
|
466
|
+
A: "A";
|
|
467
|
+
S: "S";
|
|
468
|
+
}>;
|
|
469
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
470
|
+
left: "left";
|
|
471
|
+
center: "center";
|
|
472
|
+
}>>>;
|
|
473
|
+
type: z.ZodLiteral<"message_panel">;
|
|
474
|
+
title: z.ZodString;
|
|
475
|
+
description: z.ZodOptional<z.ZodString>;
|
|
476
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
477
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
374
478
|
}, z.core.$strip>, z.ZodObject<{
|
|
375
479
|
id: z.ZodString;
|
|
376
480
|
title: z.ZodString;
|
|
377
481
|
description: z.ZodOptional<z.ZodString>;
|
|
378
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
379
482
|
describe: z.ZodOptional<z.ZodString>;
|
|
380
483
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
484
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
381
485
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
382
486
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
383
487
|
type: z.ZodEnum<{
|
|
@@ -410,7 +514,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
410
514
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
411
515
|
describe: z.ZodOptional<z.ZodString>;
|
|
412
516
|
}, z.core.$strip>>>>;
|
|
413
|
-
isFixed: z.ZodBoolean;
|
|
414
517
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
415
518
|
status: z.ZodEnum<{
|
|
416
519
|
D: "D";
|
|
@@ -418,35 +521,75 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
418
521
|
A: "A";
|
|
419
522
|
S: "S";
|
|
420
523
|
}>;
|
|
421
|
-
|
|
524
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
525
|
+
left: "left";
|
|
526
|
+
center: "center";
|
|
527
|
+
}>>>;
|
|
528
|
+
type: z.ZodLiteral<"exit_form">;
|
|
529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
530
|
+
id: z.ZodString;
|
|
531
|
+
title: z.ZodString;
|
|
532
|
+
description: z.ZodOptional<z.ZodString>;
|
|
533
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
534
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
535
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
536
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
537
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
|
+
type: z.ZodEnum<{
|
|
539
|
+
required: "required";
|
|
540
|
+
min: "min";
|
|
541
|
+
max: "max";
|
|
542
|
+
minLength: "minLength";
|
|
543
|
+
maxLength: "maxLength";
|
|
544
|
+
pattern: "pattern";
|
|
545
|
+
email: "email";
|
|
546
|
+
url: "url";
|
|
547
|
+
custom: "custom";
|
|
548
|
+
}>;
|
|
549
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
550
|
+
message: z.ZodOptional<z.ZodString>;
|
|
551
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strip>>>>;
|
|
553
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
554
|
+
field: z.ZodString;
|
|
555
|
+
operator: z.ZodEnum<{
|
|
556
|
+
equals: "equals";
|
|
557
|
+
not_equals: "not_equals";
|
|
558
|
+
contains: "contains";
|
|
559
|
+
not_contains: "not_contains";
|
|
560
|
+
greater_than: "greater_than";
|
|
561
|
+
less_than: "less_than";
|
|
562
|
+
is_empty: "is_empty";
|
|
563
|
+
is_not_empty: "is_not_empty";
|
|
564
|
+
}>;
|
|
565
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
566
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
567
|
+
}, z.core.$strip>>>>;
|
|
568
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
569
|
+
status: z.ZodEnum<{
|
|
570
|
+
D: "D";
|
|
571
|
+
P: "P";
|
|
572
|
+
A: "A";
|
|
573
|
+
S: "S";
|
|
574
|
+
}>;
|
|
575
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
576
|
+
left: "left";
|
|
577
|
+
center: "center";
|
|
578
|
+
}>>>;
|
|
579
|
+
type: z.ZodLiteral<"yes_no">;
|
|
580
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
581
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
422
582
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
checkbox: "checkbox";
|
|
583
|
+
horizontal: "horizontal";
|
|
584
|
+
vertical: "vertical";
|
|
426
585
|
}>>;
|
|
427
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
428
|
-
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
429
|
-
minChars: z.ZodOptional<z.ZodNumber>;
|
|
430
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
432
|
-
}, z.core.$strip>>;
|
|
433
|
-
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
434
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
435
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
436
|
-
options: z.ZodArray<z.ZodObject<{
|
|
437
|
-
id: z.ZodString;
|
|
438
|
-
value: z.ZodString;
|
|
439
|
-
label: z.ZodString;
|
|
440
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
441
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
442
|
-
}, z.core.$strip>>;
|
|
443
586
|
}, z.core.$strip>, z.ZodObject<{
|
|
444
587
|
id: z.ZodString;
|
|
445
588
|
title: z.ZodString;
|
|
446
589
|
description: z.ZodOptional<z.ZodString>;
|
|
447
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
448
590
|
describe: z.ZodOptional<z.ZodString>;
|
|
449
591
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
592
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
450
593
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
451
594
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
595
|
type: z.ZodEnum<{
|
|
@@ -479,7 +622,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
479
622
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
480
623
|
describe: z.ZodOptional<z.ZodString>;
|
|
481
624
|
}, z.core.$strip>>>>;
|
|
482
|
-
isFixed: z.ZodBoolean;
|
|
483
625
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
484
626
|
status: z.ZodEnum<{
|
|
485
627
|
D: "D";
|
|
@@ -487,20 +629,57 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
487
629
|
A: "A";
|
|
488
630
|
S: "S";
|
|
489
631
|
}>;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
632
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
633
|
+
left: "left";
|
|
634
|
+
center: "center";
|
|
635
|
+
}>>>;
|
|
636
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
637
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
638
|
+
id: z.ZodString;
|
|
639
|
+
value: z.ZodString;
|
|
640
|
+
label: z.ZodString;
|
|
641
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
642
|
+
}, z.core.$strip>>;
|
|
643
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
644
|
+
kind: z.ZodLiteral<"likert">;
|
|
645
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
646
|
+
id: z.ZodString;
|
|
647
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
648
|
+
label: z.ZodString;
|
|
649
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
650
|
+
}, z.core.$strip>>;
|
|
651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
+
kind: z.ZodLiteral<"numerical">;
|
|
653
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
654
|
+
id: z.ZodString;
|
|
655
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
656
|
+
label: z.ZodString;
|
|
657
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
658
|
+
}, z.core.$strip>>;
|
|
659
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
661
|
+
kind: z.ZodLiteral<"custom">;
|
|
662
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
665
|
+
label: z.ZodString;
|
|
666
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
667
|
+
}, z.core.$strip>>;
|
|
668
|
+
}, z.core.$strip>], "kind">;
|
|
669
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
670
|
+
star: "star";
|
|
671
|
+
emoji: "emoji";
|
|
672
|
+
radio: "radio";
|
|
673
|
+
button: "button";
|
|
674
|
+
}>>;
|
|
675
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
497
676
|
}, z.core.$strip>, z.ZodObject<{
|
|
498
677
|
id: z.ZodString;
|
|
499
678
|
title: z.ZodString;
|
|
500
679
|
description: z.ZodOptional<z.ZodString>;
|
|
501
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
502
680
|
describe: z.ZodOptional<z.ZodString>;
|
|
503
681
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
682
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
504
683
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
505
684
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
685
|
type: z.ZodEnum<{
|
|
@@ -533,7 +712,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
533
712
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
534
713
|
describe: z.ZodOptional<z.ZodString>;
|
|
535
714
|
}, z.core.$strip>>>>;
|
|
536
|
-
isFixed: z.ZodBoolean;
|
|
537
715
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
538
716
|
status: z.ZodEnum<{
|
|
539
717
|
D: "D";
|
|
@@ -541,23 +719,32 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
541
719
|
A: "A";
|
|
542
720
|
S: "S";
|
|
543
721
|
}>;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
722
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
723
|
+
left: "left";
|
|
724
|
+
center: "center";
|
|
725
|
+
}>>>;
|
|
726
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
727
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
728
|
+
id: z.ZodString;
|
|
729
|
+
value: z.ZodString;
|
|
730
|
+
label: z.ZodString;
|
|
731
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$strip>>;
|
|
733
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
734
|
+
id: z.ZodString;
|
|
735
|
+
value: z.ZodString;
|
|
736
|
+
label: z.ZodString;
|
|
737
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
738
|
+
}, z.core.$strip>>;
|
|
739
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
740
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
554
741
|
}, z.core.$strip>, z.ZodObject<{
|
|
555
742
|
id: z.ZodString;
|
|
556
743
|
title: z.ZodString;
|
|
557
744
|
description: z.ZodOptional<z.ZodString>;
|
|
558
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
559
745
|
describe: z.ZodOptional<z.ZodString>;
|
|
560
746
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
747
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
561
748
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
562
749
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
563
750
|
type: z.ZodEnum<{
|
|
@@ -590,7 +777,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
590
777
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
591
778
|
describe: z.ZodOptional<z.ZodString>;
|
|
592
779
|
}, z.core.$strip>>>>;
|
|
593
|
-
isFixed: z.ZodBoolean;
|
|
594
780
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
595
781
|
status: z.ZodEnum<{
|
|
596
782
|
D: "D";
|
|
@@ -598,22 +784,34 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
598
784
|
A: "A";
|
|
599
785
|
S: "S";
|
|
600
786
|
}>;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
787
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
788
|
+
left: "left";
|
|
789
|
+
center: "center";
|
|
790
|
+
}>>>;
|
|
791
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
792
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
793
|
+
id: z.ZodString;
|
|
794
|
+
value: z.ZodString;
|
|
795
|
+
label: z.ZodString;
|
|
796
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
797
|
+
}, z.core.$strip>>;
|
|
798
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
value: z.ZodString;
|
|
801
|
+
label: z.ZodString;
|
|
802
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
803
|
+
}, z.core.$strip>>;
|
|
804
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
805
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
806
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
807
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
610
808
|
}, z.core.$strip>, z.ZodObject<{
|
|
611
809
|
id: z.ZodString;
|
|
612
810
|
title: z.ZodString;
|
|
613
811
|
description: z.ZodOptional<z.ZodString>;
|
|
614
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
615
812
|
describe: z.ZodOptional<z.ZodString>;
|
|
616
813
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
814
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
617
815
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
618
816
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
619
817
|
type: z.ZodEnum<{
|
|
@@ -627,78 +825,788 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
627
825
|
url: "url";
|
|
628
826
|
custom: "custom";
|
|
629
827
|
}>;
|
|
630
|
-
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
631
|
-
message: z.ZodOptional<z.ZodString>;
|
|
828
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
829
|
+
message: z.ZodOptional<z.ZodString>;
|
|
830
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
831
|
+
}, z.core.$strip>>>>;
|
|
832
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
833
|
+
field: z.ZodString;
|
|
834
|
+
operator: z.ZodEnum<{
|
|
835
|
+
equals: "equals";
|
|
836
|
+
not_equals: "not_equals";
|
|
837
|
+
contains: "contains";
|
|
838
|
+
not_contains: "not_contains";
|
|
839
|
+
greater_than: "greater_than";
|
|
840
|
+
less_than: "less_than";
|
|
841
|
+
is_empty: "is_empty";
|
|
842
|
+
is_not_empty: "is_not_empty";
|
|
843
|
+
}>;
|
|
844
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
845
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
846
|
+
}, z.core.$strip>>>>;
|
|
847
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
848
|
+
status: z.ZodEnum<{
|
|
849
|
+
D: "D";
|
|
850
|
+
P: "P";
|
|
851
|
+
A: "A";
|
|
852
|
+
S: "S";
|
|
853
|
+
}>;
|
|
854
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
855
|
+
left: "left";
|
|
856
|
+
center: "center";
|
|
857
|
+
}>>>;
|
|
858
|
+
type: z.ZodLiteral<"single_choice">;
|
|
859
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
860
|
+
radio: "radio";
|
|
861
|
+
list: "list";
|
|
862
|
+
chip: "chip";
|
|
863
|
+
dropdown: "dropdown";
|
|
864
|
+
}>>;
|
|
865
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
866
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
867
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
868
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
869
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
870
|
+
}, z.core.$strip>>;
|
|
871
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
872
|
+
options: z.ZodArray<z.ZodObject<{
|
|
873
|
+
id: z.ZodString;
|
|
874
|
+
value: z.ZodString;
|
|
875
|
+
label: z.ZodString;
|
|
876
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
877
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
878
|
+
}, z.core.$strip>>;
|
|
879
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
880
|
+
id: z.ZodString;
|
|
881
|
+
title: z.ZodString;
|
|
882
|
+
description: z.ZodOptional<z.ZodString>;
|
|
883
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
884
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
885
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
886
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
887
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
888
|
+
type: z.ZodEnum<{
|
|
889
|
+
required: "required";
|
|
890
|
+
min: "min";
|
|
891
|
+
max: "max";
|
|
892
|
+
minLength: "minLength";
|
|
893
|
+
maxLength: "maxLength";
|
|
894
|
+
pattern: "pattern";
|
|
895
|
+
email: "email";
|
|
896
|
+
url: "url";
|
|
897
|
+
custom: "custom";
|
|
898
|
+
}>;
|
|
899
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
900
|
+
message: z.ZodOptional<z.ZodString>;
|
|
901
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
902
|
+
}, z.core.$strip>>>>;
|
|
903
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
904
|
+
field: z.ZodString;
|
|
905
|
+
operator: z.ZodEnum<{
|
|
906
|
+
equals: "equals";
|
|
907
|
+
not_equals: "not_equals";
|
|
908
|
+
contains: "contains";
|
|
909
|
+
not_contains: "not_contains";
|
|
910
|
+
greater_than: "greater_than";
|
|
911
|
+
less_than: "less_than";
|
|
912
|
+
is_empty: "is_empty";
|
|
913
|
+
is_not_empty: "is_not_empty";
|
|
914
|
+
}>;
|
|
915
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
916
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
917
|
+
}, z.core.$strip>>>>;
|
|
918
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
919
|
+
status: z.ZodEnum<{
|
|
920
|
+
D: "D";
|
|
921
|
+
P: "P";
|
|
922
|
+
A: "A";
|
|
923
|
+
S: "S";
|
|
924
|
+
}>;
|
|
925
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
926
|
+
left: "left";
|
|
927
|
+
center: "center";
|
|
928
|
+
}>>>;
|
|
929
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
930
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
931
|
+
list: "list";
|
|
932
|
+
chip: "chip";
|
|
933
|
+
checkbox: "checkbox";
|
|
934
|
+
}>>;
|
|
935
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
936
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
937
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
939
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
940
|
+
}, z.core.$strip>>;
|
|
941
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
942
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
943
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
944
|
+
options: z.ZodArray<z.ZodObject<{
|
|
945
|
+
id: z.ZodString;
|
|
946
|
+
value: z.ZodString;
|
|
947
|
+
label: z.ZodString;
|
|
948
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
949
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
950
|
+
}, z.core.$strip>>;
|
|
951
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
952
|
+
id: z.ZodString;
|
|
953
|
+
title: z.ZodString;
|
|
954
|
+
description: z.ZodOptional<z.ZodString>;
|
|
955
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
956
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
957
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
958
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
959
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
960
|
+
type: z.ZodEnum<{
|
|
961
|
+
required: "required";
|
|
962
|
+
min: "min";
|
|
963
|
+
max: "max";
|
|
964
|
+
minLength: "minLength";
|
|
965
|
+
maxLength: "maxLength";
|
|
966
|
+
pattern: "pattern";
|
|
967
|
+
email: "email";
|
|
968
|
+
url: "url";
|
|
969
|
+
custom: "custom";
|
|
970
|
+
}>;
|
|
971
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
972
|
+
message: z.ZodOptional<z.ZodString>;
|
|
973
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
974
|
+
}, z.core.$strip>>>>;
|
|
975
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
976
|
+
field: z.ZodString;
|
|
977
|
+
operator: z.ZodEnum<{
|
|
978
|
+
equals: "equals";
|
|
979
|
+
not_equals: "not_equals";
|
|
980
|
+
contains: "contains";
|
|
981
|
+
not_contains: "not_contains";
|
|
982
|
+
greater_than: "greater_than";
|
|
983
|
+
less_than: "less_than";
|
|
984
|
+
is_empty: "is_empty";
|
|
985
|
+
is_not_empty: "is_not_empty";
|
|
986
|
+
}>;
|
|
987
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
988
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
989
|
+
}, z.core.$strip>>>>;
|
|
990
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
991
|
+
status: z.ZodEnum<{
|
|
992
|
+
D: "D";
|
|
993
|
+
P: "P";
|
|
994
|
+
A: "A";
|
|
995
|
+
S: "S";
|
|
996
|
+
}>;
|
|
997
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
998
|
+
left: "left";
|
|
999
|
+
center: "center";
|
|
1000
|
+
}>>>;
|
|
1001
|
+
type: z.ZodLiteral<"nps">;
|
|
1002
|
+
min: z.ZodLiteral<0>;
|
|
1003
|
+
max: z.ZodLiteral<10>;
|
|
1004
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1007
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1009
|
+
id: z.ZodString;
|
|
1010
|
+
title: z.ZodString;
|
|
1011
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1014
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1015
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1016
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1017
|
+
type: z.ZodEnum<{
|
|
1018
|
+
required: "required";
|
|
1019
|
+
min: "min";
|
|
1020
|
+
max: "max";
|
|
1021
|
+
minLength: "minLength";
|
|
1022
|
+
maxLength: "maxLength";
|
|
1023
|
+
pattern: "pattern";
|
|
1024
|
+
email: "email";
|
|
1025
|
+
url: "url";
|
|
1026
|
+
custom: "custom";
|
|
1027
|
+
}>;
|
|
1028
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1029
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
}, z.core.$strip>>>>;
|
|
1032
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1033
|
+
field: z.ZodString;
|
|
1034
|
+
operator: z.ZodEnum<{
|
|
1035
|
+
equals: "equals";
|
|
1036
|
+
not_equals: "not_equals";
|
|
1037
|
+
contains: "contains";
|
|
1038
|
+
not_contains: "not_contains";
|
|
1039
|
+
greater_than: "greater_than";
|
|
1040
|
+
less_than: "less_than";
|
|
1041
|
+
is_empty: "is_empty";
|
|
1042
|
+
is_not_empty: "is_not_empty";
|
|
1043
|
+
}>;
|
|
1044
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1045
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
}, z.core.$strip>>>>;
|
|
1047
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
status: z.ZodEnum<{
|
|
1049
|
+
D: "D";
|
|
1050
|
+
P: "P";
|
|
1051
|
+
A: "A";
|
|
1052
|
+
S: "S";
|
|
1053
|
+
}>;
|
|
1054
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1055
|
+
left: "left";
|
|
1056
|
+
center: "center";
|
|
1057
|
+
}>>>;
|
|
1058
|
+
type: z.ZodLiteral<"short_answer">;
|
|
1059
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1060
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1063
|
+
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1065
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1067
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1068
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1069
|
+
id: z.ZodString;
|
|
1070
|
+
title: z.ZodString;
|
|
1071
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1074
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1075
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
|
+
type: z.ZodEnum<{
|
|
1078
|
+
required: "required";
|
|
1079
|
+
min: "min";
|
|
1080
|
+
max: "max";
|
|
1081
|
+
minLength: "minLength";
|
|
1082
|
+
maxLength: "maxLength";
|
|
1083
|
+
pattern: "pattern";
|
|
1084
|
+
email: "email";
|
|
1085
|
+
url: "url";
|
|
1086
|
+
custom: "custom";
|
|
1087
|
+
}>;
|
|
1088
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1089
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
}, z.core.$strip>>>>;
|
|
1092
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1093
|
+
field: z.ZodString;
|
|
1094
|
+
operator: z.ZodEnum<{
|
|
1095
|
+
equals: "equals";
|
|
1096
|
+
not_equals: "not_equals";
|
|
1097
|
+
contains: "contains";
|
|
1098
|
+
not_contains: "not_contains";
|
|
1099
|
+
greater_than: "greater_than";
|
|
1100
|
+
less_than: "less_than";
|
|
1101
|
+
is_empty: "is_empty";
|
|
1102
|
+
is_not_empty: "is_not_empty";
|
|
1103
|
+
}>;
|
|
1104
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1105
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
}, z.core.$strip>>>>;
|
|
1107
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
status: z.ZodEnum<{
|
|
1109
|
+
D: "D";
|
|
1110
|
+
P: "P";
|
|
1111
|
+
A: "A";
|
|
1112
|
+
S: "S";
|
|
1113
|
+
}>;
|
|
1114
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1115
|
+
left: "left";
|
|
1116
|
+
center: "center";
|
|
1117
|
+
}>>>;
|
|
1118
|
+
type: z.ZodLiteral<"long_text">;
|
|
1119
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1121
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
1122
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1124
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1126
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1128
|
+
id: z.ZodString;
|
|
1129
|
+
title: z.ZodString;
|
|
1130
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1133
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1134
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1136
|
+
type: z.ZodEnum<{
|
|
1137
|
+
required: "required";
|
|
1138
|
+
min: "min";
|
|
1139
|
+
max: "max";
|
|
1140
|
+
minLength: "minLength";
|
|
1141
|
+
maxLength: "maxLength";
|
|
1142
|
+
pattern: "pattern";
|
|
1143
|
+
email: "email";
|
|
1144
|
+
url: "url";
|
|
1145
|
+
custom: "custom";
|
|
1146
|
+
}>;
|
|
1147
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1148
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
}, z.core.$strip>>>>;
|
|
1151
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1152
|
+
field: z.ZodString;
|
|
1153
|
+
operator: z.ZodEnum<{
|
|
1154
|
+
equals: "equals";
|
|
1155
|
+
not_equals: "not_equals";
|
|
1156
|
+
contains: "contains";
|
|
1157
|
+
not_contains: "not_contains";
|
|
1158
|
+
greater_than: "greater_than";
|
|
1159
|
+
less_than: "less_than";
|
|
1160
|
+
is_empty: "is_empty";
|
|
1161
|
+
is_not_empty: "is_not_empty";
|
|
1162
|
+
}>;
|
|
1163
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1164
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
}, z.core.$strip>>>>;
|
|
1166
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
status: z.ZodEnum<{
|
|
1168
|
+
D: "D";
|
|
1169
|
+
P: "P";
|
|
1170
|
+
A: "A";
|
|
1171
|
+
S: "S";
|
|
1172
|
+
}>;
|
|
1173
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1174
|
+
left: "left";
|
|
1175
|
+
center: "center";
|
|
1176
|
+
}>>>;
|
|
1177
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
1178
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1180
|
+
displayStyle: z.ZodLiteral<"list">;
|
|
1181
|
+
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1182
|
+
randomize: "randomize";
|
|
1183
|
+
flip: "flip";
|
|
1184
|
+
rotate: "rotate";
|
|
1185
|
+
ascending: "ascending";
|
|
1186
|
+
none: "none";
|
|
1187
|
+
}>>>;
|
|
1188
|
+
preserveLastChoices: z.ZodOptional<z.ZodNumber>;
|
|
1189
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1191
|
+
otherColumnName: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
1193
|
+
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1194
|
+
}, z.core.$strip>], "type">>;
|
|
1195
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
id: z.ZodString;
|
|
1197
|
+
title: z.ZodString;
|
|
1198
|
+
questionIds: z.ZodArray<z.ZodString>;
|
|
1199
|
+
}, z.core.$strip>>;
|
|
1200
|
+
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1201
|
+
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
1202
|
+
value: z.ZodString;
|
|
1203
|
+
label: z.ZodString;
|
|
1204
|
+
}, z.core.$strip>>;
|
|
1205
|
+
}, z.core.$strip>;
|
|
1206
|
+
export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
1207
|
+
feedbackConfigurationId: z.ZodString;
|
|
1208
|
+
feedbackIdentifier: z.ZodString;
|
|
1209
|
+
formConfiguration: z.ZodObject<{
|
|
1210
|
+
formTitle: z.ZodString;
|
|
1211
|
+
formDescription: z.ZodString;
|
|
1212
|
+
}, z.core.$strip>;
|
|
1213
|
+
questionnaireFields: z.ZodObject<{
|
|
1214
|
+
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1215
|
+
id: z.ZodString;
|
|
1216
|
+
title: z.ZodString;
|
|
1217
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1220
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1221
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1223
|
+
type: z.ZodEnum<{
|
|
1224
|
+
required: "required";
|
|
1225
|
+
min: "min";
|
|
1226
|
+
max: "max";
|
|
1227
|
+
minLength: "minLength";
|
|
1228
|
+
maxLength: "maxLength";
|
|
1229
|
+
pattern: "pattern";
|
|
1230
|
+
email: "email";
|
|
1231
|
+
url: "url";
|
|
1232
|
+
custom: "custom";
|
|
1233
|
+
}>;
|
|
1234
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1235
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
}, z.core.$strip>>>>;
|
|
1238
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1239
|
+
field: z.ZodString;
|
|
1240
|
+
operator: z.ZodEnum<{
|
|
1241
|
+
equals: "equals";
|
|
1242
|
+
not_equals: "not_equals";
|
|
1243
|
+
contains: "contains";
|
|
1244
|
+
not_contains: "not_contains";
|
|
1245
|
+
greater_than: "greater_than";
|
|
1246
|
+
less_than: "less_than";
|
|
1247
|
+
is_empty: "is_empty";
|
|
1248
|
+
is_not_empty: "is_not_empty";
|
|
1249
|
+
}>;
|
|
1250
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1251
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
}, z.core.$strip>>>>;
|
|
1253
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
status: z.ZodEnum<{
|
|
1255
|
+
D: "D";
|
|
1256
|
+
P: "P";
|
|
1257
|
+
A: "A";
|
|
1258
|
+
S: "S";
|
|
1259
|
+
}>;
|
|
1260
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1261
|
+
left: "left";
|
|
1262
|
+
center: "center";
|
|
1263
|
+
}>>>;
|
|
1264
|
+
type: z.ZodLiteral<"rating">;
|
|
1265
|
+
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1266
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1269
|
+
star: "star";
|
|
1270
|
+
heart: "heart";
|
|
1271
|
+
"thumbs-up": "thumbs-up";
|
|
1272
|
+
diamond: "diamond";
|
|
1273
|
+
emoji: "emoji";
|
|
1274
|
+
"emoji-exp": "emoji-exp";
|
|
1275
|
+
}>>;
|
|
1276
|
+
numberOfRatings: z.ZodNumber;
|
|
1277
|
+
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
1278
|
+
small: "small";
|
|
1279
|
+
medium: "medium";
|
|
1280
|
+
large: "large";
|
|
1281
|
+
}>>;
|
|
1282
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1284
|
+
id: z.ZodString;
|
|
1285
|
+
title: z.ZodString;
|
|
1286
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1289
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1290
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1292
|
+
type: z.ZodEnum<{
|
|
1293
|
+
required: "required";
|
|
1294
|
+
min: "min";
|
|
1295
|
+
max: "max";
|
|
1296
|
+
minLength: "minLength";
|
|
1297
|
+
maxLength: "maxLength";
|
|
1298
|
+
pattern: "pattern";
|
|
1299
|
+
email: "email";
|
|
1300
|
+
url: "url";
|
|
1301
|
+
custom: "custom";
|
|
1302
|
+
}>;
|
|
1303
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1304
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>>>>;
|
|
1307
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1308
|
+
field: z.ZodString;
|
|
1309
|
+
operator: z.ZodEnum<{
|
|
1310
|
+
equals: "equals";
|
|
1311
|
+
not_equals: "not_equals";
|
|
1312
|
+
contains: "contains";
|
|
1313
|
+
not_contains: "not_contains";
|
|
1314
|
+
greater_than: "greater_than";
|
|
1315
|
+
less_than: "less_than";
|
|
1316
|
+
is_empty: "is_empty";
|
|
1317
|
+
is_not_empty: "is_not_empty";
|
|
1318
|
+
}>;
|
|
1319
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1320
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
}, z.core.$strip>>>>;
|
|
1322
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
status: z.ZodEnum<{
|
|
1324
|
+
D: "D";
|
|
1325
|
+
P: "P";
|
|
1326
|
+
A: "A";
|
|
1327
|
+
S: "S";
|
|
1328
|
+
}>;
|
|
1329
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1330
|
+
left: "left";
|
|
1331
|
+
center: "center";
|
|
1332
|
+
}>>>;
|
|
1333
|
+
type: z.ZodLiteral<"annotation">;
|
|
1334
|
+
annotationText: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1337
|
+
id: z.ZodString;
|
|
1338
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1340
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1341
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1343
|
+
type: z.ZodEnum<{
|
|
1344
|
+
required: "required";
|
|
1345
|
+
min: "min";
|
|
1346
|
+
max: "max";
|
|
1347
|
+
minLength: "minLength";
|
|
1348
|
+
maxLength: "maxLength";
|
|
1349
|
+
pattern: "pattern";
|
|
1350
|
+
email: "email";
|
|
1351
|
+
url: "url";
|
|
1352
|
+
custom: "custom";
|
|
1353
|
+
}>;
|
|
1354
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1355
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
}, z.core.$strip>>>>;
|
|
1358
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1359
|
+
field: z.ZodString;
|
|
1360
|
+
operator: z.ZodEnum<{
|
|
1361
|
+
equals: "equals";
|
|
1362
|
+
not_equals: "not_equals";
|
|
1363
|
+
contains: "contains";
|
|
1364
|
+
not_contains: "not_contains";
|
|
1365
|
+
greater_than: "greater_than";
|
|
1366
|
+
less_than: "less_than";
|
|
1367
|
+
is_empty: "is_empty";
|
|
1368
|
+
is_not_empty: "is_not_empty";
|
|
1369
|
+
}>;
|
|
1370
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1371
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
}, z.core.$strip>>>>;
|
|
1373
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
status: z.ZodEnum<{
|
|
1375
|
+
D: "D";
|
|
1376
|
+
P: "P";
|
|
1377
|
+
A: "A";
|
|
1378
|
+
S: "S";
|
|
1379
|
+
}>;
|
|
1380
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1381
|
+
left: "left";
|
|
1382
|
+
center: "center";
|
|
1383
|
+
}>>>;
|
|
1384
|
+
type: z.ZodLiteral<"welcome">;
|
|
1385
|
+
title: z.ZodString;
|
|
1386
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1390
|
+
id: z.ZodString;
|
|
1391
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1393
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1394
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
|
+
type: z.ZodEnum<{
|
|
1397
|
+
required: "required";
|
|
1398
|
+
min: "min";
|
|
1399
|
+
max: "max";
|
|
1400
|
+
minLength: "minLength";
|
|
1401
|
+
maxLength: "maxLength";
|
|
1402
|
+
pattern: "pattern";
|
|
1403
|
+
email: "email";
|
|
1404
|
+
url: "url";
|
|
1405
|
+
custom: "custom";
|
|
1406
|
+
}>;
|
|
1407
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1408
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
}, z.core.$strip>>>>;
|
|
1411
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1412
|
+
field: z.ZodString;
|
|
1413
|
+
operator: z.ZodEnum<{
|
|
1414
|
+
equals: "equals";
|
|
1415
|
+
not_equals: "not_equals";
|
|
1416
|
+
contains: "contains";
|
|
1417
|
+
not_contains: "not_contains";
|
|
1418
|
+
greater_than: "greater_than";
|
|
1419
|
+
less_than: "less_than";
|
|
1420
|
+
is_empty: "is_empty";
|
|
1421
|
+
is_not_empty: "is_not_empty";
|
|
1422
|
+
}>;
|
|
1423
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1424
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
}, z.core.$strip>>>>;
|
|
1426
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
status: z.ZodEnum<{
|
|
1428
|
+
D: "D";
|
|
1429
|
+
P: "P";
|
|
1430
|
+
A: "A";
|
|
1431
|
+
S: "S";
|
|
1432
|
+
}>;
|
|
1433
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
left: "left";
|
|
1435
|
+
center: "center";
|
|
1436
|
+
}>>>;
|
|
1437
|
+
type: z.ZodLiteral<"thank_you">;
|
|
1438
|
+
title: z.ZodString;
|
|
1439
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1443
|
+
id: z.ZodString;
|
|
1444
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1446
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1447
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1449
|
+
type: z.ZodEnum<{
|
|
1450
|
+
required: "required";
|
|
1451
|
+
min: "min";
|
|
1452
|
+
max: "max";
|
|
1453
|
+
minLength: "minLength";
|
|
1454
|
+
maxLength: "maxLength";
|
|
1455
|
+
pattern: "pattern";
|
|
1456
|
+
email: "email";
|
|
1457
|
+
url: "url";
|
|
1458
|
+
custom: "custom";
|
|
1459
|
+
}>;
|
|
1460
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1461
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
}, z.core.$strip>>>>;
|
|
1464
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
|
+
field: z.ZodString;
|
|
1466
|
+
operator: z.ZodEnum<{
|
|
1467
|
+
equals: "equals";
|
|
1468
|
+
not_equals: "not_equals";
|
|
1469
|
+
contains: "contains";
|
|
1470
|
+
not_contains: "not_contains";
|
|
1471
|
+
greater_than: "greater_than";
|
|
1472
|
+
less_than: "less_than";
|
|
1473
|
+
is_empty: "is_empty";
|
|
1474
|
+
is_not_empty: "is_not_empty";
|
|
1475
|
+
}>;
|
|
1476
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1477
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, z.core.$strip>>>>;
|
|
1479
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
status: z.ZodEnum<{
|
|
1481
|
+
D: "D";
|
|
1482
|
+
P: "P";
|
|
1483
|
+
A: "A";
|
|
1484
|
+
S: "S";
|
|
1485
|
+
}>;
|
|
1486
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1487
|
+
left: "left";
|
|
1488
|
+
center: "center";
|
|
1489
|
+
}>>>;
|
|
1490
|
+
type: z.ZodLiteral<"message_panel">;
|
|
1491
|
+
title: z.ZodString;
|
|
1492
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1496
|
+
id: z.ZodString;
|
|
1497
|
+
title: z.ZodString;
|
|
1498
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1500
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1501
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1502
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1504
|
+
type: z.ZodEnum<{
|
|
1505
|
+
required: "required";
|
|
1506
|
+
min: "min";
|
|
1507
|
+
max: "max";
|
|
1508
|
+
minLength: "minLength";
|
|
1509
|
+
maxLength: "maxLength";
|
|
1510
|
+
pattern: "pattern";
|
|
1511
|
+
email: "email";
|
|
1512
|
+
url: "url";
|
|
1513
|
+
custom: "custom";
|
|
1514
|
+
}>;
|
|
1515
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1516
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
}, z.core.$strip>>>>;
|
|
1519
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1520
|
+
field: z.ZodString;
|
|
1521
|
+
operator: z.ZodEnum<{
|
|
1522
|
+
equals: "equals";
|
|
1523
|
+
not_equals: "not_equals";
|
|
1524
|
+
contains: "contains";
|
|
1525
|
+
not_contains: "not_contains";
|
|
1526
|
+
greater_than: "greater_than";
|
|
1527
|
+
less_than: "less_than";
|
|
1528
|
+
is_empty: "is_empty";
|
|
1529
|
+
is_not_empty: "is_not_empty";
|
|
1530
|
+
}>;
|
|
1531
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1532
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1533
|
+
}, z.core.$strip>>>>;
|
|
1534
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1535
|
+
status: z.ZodEnum<{
|
|
1536
|
+
D: "D";
|
|
1537
|
+
P: "P";
|
|
1538
|
+
A: "A";
|
|
1539
|
+
S: "S";
|
|
1540
|
+
}>;
|
|
1541
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1542
|
+
left: "left";
|
|
1543
|
+
center: "center";
|
|
1544
|
+
}>>>;
|
|
1545
|
+
type: z.ZodLiteral<"exit_form">;
|
|
1546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1547
|
+
id: z.ZodString;
|
|
1548
|
+
title: z.ZodString;
|
|
1549
|
+
description: z.ZodOptional<z.ZodString>;
|
|
632
1550
|
describe: z.ZodOptional<z.ZodString>;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
1551
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1552
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1553
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1555
|
+
type: z.ZodEnum<{
|
|
1556
|
+
required: "required";
|
|
1557
|
+
min: "min";
|
|
1558
|
+
max: "max";
|
|
1559
|
+
minLength: "minLength";
|
|
1560
|
+
maxLength: "maxLength";
|
|
1561
|
+
pattern: "pattern";
|
|
1562
|
+
email: "email";
|
|
1563
|
+
url: "url";
|
|
1564
|
+
custom: "custom";
|
|
1565
|
+
}>;
|
|
1566
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1567
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1568
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
}, z.core.$strip>>>>;
|
|
1570
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1571
|
+
field: z.ZodString;
|
|
1572
|
+
operator: z.ZodEnum<{
|
|
1573
|
+
equals: "equals";
|
|
1574
|
+
not_equals: "not_equals";
|
|
1575
|
+
contains: "contains";
|
|
1576
|
+
not_contains: "not_contains";
|
|
1577
|
+
greater_than: "greater_than";
|
|
1578
|
+
less_than: "less_than";
|
|
1579
|
+
is_empty: "is_empty";
|
|
1580
|
+
is_not_empty: "is_not_empty";
|
|
1581
|
+
}>;
|
|
1582
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1583
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
}, z.core.$strip>>>>;
|
|
1585
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
status: z.ZodEnum<{
|
|
1587
|
+
D: "D";
|
|
1588
|
+
P: "P";
|
|
1589
|
+
A: "A";
|
|
1590
|
+
S: "S";
|
|
645
1591
|
}>;
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
659
|
-
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
660
|
-
displayStyle: z.ZodLiteral<"list">;
|
|
661
|
-
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
662
|
-
randomize: "randomize";
|
|
663
|
-
flip: "flip";
|
|
664
|
-
rotate: "rotate";
|
|
665
|
-
ascending: "ascending";
|
|
666
|
-
none: "none";
|
|
667
|
-
}>>>;
|
|
668
|
-
preserveLastChoices: z.ZodOptional<z.ZodNumber>;
|
|
669
|
-
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
670
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
671
|
-
otherColumnName: z.ZodOptional<z.ZodString>;
|
|
672
|
-
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
673
|
-
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
674
|
-
}, z.core.$strip>], "type">>;
|
|
675
|
-
sections: z.ZodArray<z.ZodObject<{
|
|
676
|
-
id: z.ZodString;
|
|
677
|
-
title: z.ZodString;
|
|
678
|
-
questionIds: z.ZodArray<z.ZodString>;
|
|
679
|
-
}, z.core.$strip>>;
|
|
680
|
-
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
681
|
-
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
682
|
-
value: z.ZodString;
|
|
683
|
-
label: z.ZodString;
|
|
684
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
685
|
-
}, z.core.$strip>>;
|
|
686
|
-
}, z.core.$strip>;
|
|
687
|
-
export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
688
|
-
feedbackConfigurationId: z.ZodString;
|
|
689
|
-
feedbackIdentifier: z.ZodString;
|
|
690
|
-
formConfiguration: z.ZodObject<{
|
|
691
|
-
formTitle: z.ZodString;
|
|
692
|
-
formDescription: z.ZodString;
|
|
693
|
-
}, z.core.$strip>;
|
|
694
|
-
questionnaireFields: z.ZodObject<{
|
|
695
|
-
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1592
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1593
|
+
left: "left";
|
|
1594
|
+
center: "center";
|
|
1595
|
+
}>>>;
|
|
1596
|
+
type: z.ZodLiteral<"yes_no">;
|
|
1597
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1600
|
+
horizontal: "horizontal";
|
|
1601
|
+
vertical: "vertical";
|
|
1602
|
+
}>>;
|
|
1603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
696
1604
|
id: z.ZodString;
|
|
697
1605
|
title: z.ZodString;
|
|
698
1606
|
description: z.ZodOptional<z.ZodString>;
|
|
699
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
700
1607
|
describe: z.ZodOptional<z.ZodString>;
|
|
701
1608
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1609
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
702
1610
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
703
1611
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
704
1612
|
type: z.ZodEnum<{
|
|
@@ -731,7 +1639,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
731
1639
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
732
1640
|
describe: z.ZodOptional<z.ZodString>;
|
|
733
1641
|
}, z.core.$strip>>>>;
|
|
734
|
-
isFixed: z.ZodBoolean;
|
|
735
1642
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
736
1643
|
status: z.ZodEnum<{
|
|
737
1644
|
D: "D";
|
|
@@ -739,32 +1646,57 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
739
1646
|
A: "A";
|
|
740
1647
|
S: "S";
|
|
741
1648
|
}>;
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
1649
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1650
|
+
left: "left";
|
|
1651
|
+
center: "center";
|
|
1652
|
+
}>>>;
|
|
1653
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
1654
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
1655
|
+
id: z.ZodString;
|
|
1656
|
+
value: z.ZodString;
|
|
1657
|
+
label: z.ZodString;
|
|
1658
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
}, z.core.$strip>>;
|
|
1660
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1661
|
+
kind: z.ZodLiteral<"likert">;
|
|
1662
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1663
|
+
id: z.ZodString;
|
|
1664
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1665
|
+
label: z.ZodString;
|
|
1666
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
}, z.core.$strip>>;
|
|
1668
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1669
|
+
kind: z.ZodLiteral<"numerical">;
|
|
1670
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1671
|
+
id: z.ZodString;
|
|
1672
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1673
|
+
label: z.ZodString;
|
|
1674
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
}, z.core.$strip>>;
|
|
1676
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1678
|
+
kind: z.ZodLiteral<"custom">;
|
|
1679
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1680
|
+
id: z.ZodString;
|
|
1681
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1682
|
+
label: z.ZodString;
|
|
1683
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1684
|
+
}, z.core.$strip>>;
|
|
1685
|
+
}, z.core.$strip>], "kind">;
|
|
746
1686
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
747
1687
|
star: "star";
|
|
748
|
-
heart: "heart";
|
|
749
|
-
"thumbs-up": "thumbs-up";
|
|
750
|
-
diamond: "diamond";
|
|
751
1688
|
emoji: "emoji";
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
numberOfRatings: z.ZodNumber;
|
|
755
|
-
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
756
|
-
small: "small";
|
|
757
|
-
medium: "medium";
|
|
758
|
-
large: "large";
|
|
1689
|
+
radio: "radio";
|
|
1690
|
+
button: "button";
|
|
759
1691
|
}>>;
|
|
760
|
-
|
|
1692
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
761
1693
|
}, z.core.$strip>, z.ZodObject<{
|
|
762
1694
|
id: z.ZodString;
|
|
763
1695
|
title: z.ZodString;
|
|
764
1696
|
description: z.ZodOptional<z.ZodString>;
|
|
765
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
766
1697
|
describe: z.ZodOptional<z.ZodString>;
|
|
767
1698
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1699
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
768
1700
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
769
1701
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
770
1702
|
type: z.ZodEnum<{
|
|
@@ -797,7 +1729,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
797
1729
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
798
1730
|
describe: z.ZodOptional<z.ZodString>;
|
|
799
1731
|
}, z.core.$strip>>>>;
|
|
800
|
-
isFixed: z.ZodBoolean;
|
|
801
1732
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
802
1733
|
status: z.ZodEnum<{
|
|
803
1734
|
D: "D";
|
|
@@ -805,16 +1736,99 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
805
1736
|
A: "A";
|
|
806
1737
|
S: "S";
|
|
807
1738
|
}>;
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
1739
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1740
|
+
left: "left";
|
|
1741
|
+
center: "center";
|
|
1742
|
+
}>>>;
|
|
1743
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1744
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1745
|
+
id: z.ZodString;
|
|
1746
|
+
value: z.ZodString;
|
|
1747
|
+
label: z.ZodString;
|
|
1748
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1749
|
+
}, z.core.$strip>>;
|
|
1750
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1751
|
+
id: z.ZodString;
|
|
1752
|
+
value: z.ZodString;
|
|
1753
|
+
label: z.ZodString;
|
|
1754
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1755
|
+
}, z.core.$strip>>;
|
|
1756
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1757
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1758
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1759
|
+
id: z.ZodString;
|
|
1760
|
+
title: z.ZodString;
|
|
1761
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1764
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1765
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1767
|
+
type: z.ZodEnum<{
|
|
1768
|
+
required: "required";
|
|
1769
|
+
min: "min";
|
|
1770
|
+
max: "max";
|
|
1771
|
+
minLength: "minLength";
|
|
1772
|
+
maxLength: "maxLength";
|
|
1773
|
+
pattern: "pattern";
|
|
1774
|
+
email: "email";
|
|
1775
|
+
url: "url";
|
|
1776
|
+
custom: "custom";
|
|
1777
|
+
}>;
|
|
1778
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1779
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
}, z.core.$strip>>>>;
|
|
1782
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1783
|
+
field: z.ZodString;
|
|
1784
|
+
operator: z.ZodEnum<{
|
|
1785
|
+
equals: "equals";
|
|
1786
|
+
not_equals: "not_equals";
|
|
1787
|
+
contains: "contains";
|
|
1788
|
+
not_contains: "not_contains";
|
|
1789
|
+
greater_than: "greater_than";
|
|
1790
|
+
less_than: "less_than";
|
|
1791
|
+
is_empty: "is_empty";
|
|
1792
|
+
is_not_empty: "is_not_empty";
|
|
1793
|
+
}>;
|
|
1794
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1795
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
}, z.core.$strip>>>>;
|
|
1797
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
status: z.ZodEnum<{
|
|
1799
|
+
D: "D";
|
|
1800
|
+
P: "P";
|
|
1801
|
+
A: "A";
|
|
1802
|
+
S: "S";
|
|
1803
|
+
}>;
|
|
1804
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1805
|
+
left: "left";
|
|
1806
|
+
center: "center";
|
|
1807
|
+
}>>>;
|
|
1808
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1809
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1810
|
+
id: z.ZodString;
|
|
1811
|
+
value: z.ZodString;
|
|
1812
|
+
label: z.ZodString;
|
|
1813
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
}, z.core.$strip>>;
|
|
1815
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1816
|
+
id: z.ZodString;
|
|
1817
|
+
value: z.ZodString;
|
|
1818
|
+
label: z.ZodString;
|
|
1819
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1820
|
+
}, z.core.$strip>>;
|
|
1821
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1822
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1823
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1824
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
811
1825
|
}, z.core.$strip>, z.ZodObject<{
|
|
812
1826
|
id: z.ZodString;
|
|
813
1827
|
title: z.ZodString;
|
|
814
1828
|
description: z.ZodOptional<z.ZodString>;
|
|
815
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
816
1829
|
describe: z.ZodOptional<z.ZodString>;
|
|
817
1830
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1831
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
818
1832
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
819
1833
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
820
1834
|
type: z.ZodEnum<{
|
|
@@ -847,7 +1861,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
847
1861
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
848
1862
|
describe: z.ZodOptional<z.ZodString>;
|
|
849
1863
|
}, z.core.$strip>>>>;
|
|
850
|
-
isFixed: z.ZodBoolean;
|
|
851
1864
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
852
1865
|
status: z.ZodEnum<{
|
|
853
1866
|
D: "D";
|
|
@@ -855,6 +1868,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
855
1868
|
A: "A";
|
|
856
1869
|
S: "S";
|
|
857
1870
|
}>;
|
|
1871
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1872
|
+
left: "left";
|
|
1873
|
+
center: "center";
|
|
1874
|
+
}>>>;
|
|
858
1875
|
type: z.ZodLiteral<"single_choice">;
|
|
859
1876
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
860
1877
|
radio: "radio";
|
|
@@ -880,9 +1897,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
880
1897
|
id: z.ZodString;
|
|
881
1898
|
title: z.ZodString;
|
|
882
1899
|
description: z.ZodOptional<z.ZodString>;
|
|
883
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
884
1900
|
describe: z.ZodOptional<z.ZodString>;
|
|
885
1901
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1902
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
886
1903
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
887
1904
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
888
1905
|
type: z.ZodEnum<{
|
|
@@ -915,7 +1932,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
915
1932
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
916
1933
|
describe: z.ZodOptional<z.ZodString>;
|
|
917
1934
|
}, z.core.$strip>>>>;
|
|
918
|
-
isFixed: z.ZodBoolean;
|
|
919
1935
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
920
1936
|
status: z.ZodEnum<{
|
|
921
1937
|
D: "D";
|
|
@@ -923,6 +1939,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
923
1939
|
A: "A";
|
|
924
1940
|
S: "S";
|
|
925
1941
|
}>;
|
|
1942
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1943
|
+
left: "left";
|
|
1944
|
+
center: "center";
|
|
1945
|
+
}>>>;
|
|
926
1946
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
927
1947
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
928
1948
|
list: "list";
|
|
@@ -949,9 +1969,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
949
1969
|
id: z.ZodString;
|
|
950
1970
|
title: z.ZodString;
|
|
951
1971
|
description: z.ZodOptional<z.ZodString>;
|
|
952
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
953
1972
|
describe: z.ZodOptional<z.ZodString>;
|
|
954
1973
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1974
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
955
1975
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
956
1976
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
957
1977
|
type: z.ZodEnum<{
|
|
@@ -984,7 +2004,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
984
2004
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
985
2005
|
describe: z.ZodOptional<z.ZodString>;
|
|
986
2006
|
}, z.core.$strip>>>>;
|
|
987
|
-
isFixed: z.ZodBoolean;
|
|
988
2007
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
989
2008
|
status: z.ZodEnum<{
|
|
990
2009
|
D: "D";
|
|
@@ -992,6 +2011,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
992
2011
|
A: "A";
|
|
993
2012
|
S: "S";
|
|
994
2013
|
}>;
|
|
2014
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2015
|
+
left: "left";
|
|
2016
|
+
center: "center";
|
|
2017
|
+
}>>>;
|
|
995
2018
|
type: z.ZodLiteral<"nps">;
|
|
996
2019
|
min: z.ZodLiteral<0>;
|
|
997
2020
|
max: z.ZodLiteral<10>;
|
|
@@ -1003,9 +2026,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1003
2026
|
id: z.ZodString;
|
|
1004
2027
|
title: z.ZodString;
|
|
1005
2028
|
description: z.ZodOptional<z.ZodString>;
|
|
1006
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1007
2029
|
describe: z.ZodOptional<z.ZodString>;
|
|
1008
2030
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2031
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1009
2032
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1010
2033
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1011
2034
|
type: z.ZodEnum<{
|
|
@@ -1038,7 +2061,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1038
2061
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1039
2062
|
describe: z.ZodOptional<z.ZodString>;
|
|
1040
2063
|
}, z.core.$strip>>>>;
|
|
1041
|
-
isFixed: z.ZodBoolean;
|
|
1042
2064
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1043
2065
|
status: z.ZodEnum<{
|
|
1044
2066
|
D: "D";
|
|
@@ -1046,6 +2068,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1046
2068
|
A: "A";
|
|
1047
2069
|
S: "S";
|
|
1048
2070
|
}>;
|
|
2071
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2072
|
+
left: "left";
|
|
2073
|
+
center: "center";
|
|
2074
|
+
}>>>;
|
|
1049
2075
|
type: z.ZodLiteral<"short_answer">;
|
|
1050
2076
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1051
2077
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1060,9 +2086,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1060
2086
|
id: z.ZodString;
|
|
1061
2087
|
title: z.ZodString;
|
|
1062
2088
|
description: z.ZodOptional<z.ZodString>;
|
|
1063
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1064
2089
|
describe: z.ZodOptional<z.ZodString>;
|
|
1065
2090
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2091
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1066
2092
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1067
2093
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1068
2094
|
type: z.ZodEnum<{
|
|
@@ -1095,7 +2121,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1095
2121
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1096
2122
|
describe: z.ZodOptional<z.ZodString>;
|
|
1097
2123
|
}, z.core.$strip>>>>;
|
|
1098
|
-
isFixed: z.ZodBoolean;
|
|
1099
2124
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1100
2125
|
status: z.ZodEnum<{
|
|
1101
2126
|
D: "D";
|
|
@@ -1103,6 +2128,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1103
2128
|
A: "A";
|
|
1104
2129
|
S: "S";
|
|
1105
2130
|
}>;
|
|
2131
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2132
|
+
left: "left";
|
|
2133
|
+
center: "center";
|
|
2134
|
+
}>>>;
|
|
1106
2135
|
type: z.ZodLiteral<"long_text">;
|
|
1107
2136
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1108
2137
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1116,9 +2145,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1116
2145
|
id: z.ZodString;
|
|
1117
2146
|
title: z.ZodString;
|
|
1118
2147
|
description: z.ZodOptional<z.ZodString>;
|
|
1119
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1120
2148
|
describe: z.ZodOptional<z.ZodString>;
|
|
1121
2149
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2150
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1122
2151
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1123
2152
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1124
2153
|
type: z.ZodEnum<{
|
|
@@ -1151,7 +2180,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1151
2180
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1152
2181
|
describe: z.ZodOptional<z.ZodString>;
|
|
1153
2182
|
}, z.core.$strip>>>>;
|
|
1154
|
-
isFixed: z.ZodBoolean;
|
|
1155
2183
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1156
2184
|
status: z.ZodEnum<{
|
|
1157
2185
|
D: "D";
|
|
@@ -1159,6 +2187,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1159
2187
|
A: "A";
|
|
1160
2188
|
S: "S";
|
|
1161
2189
|
}>;
|
|
2190
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2191
|
+
left: "left";
|
|
2192
|
+
center: "center";
|
|
2193
|
+
}>>>;
|
|
1162
2194
|
type: z.ZodLiteral<"nested_selection">;
|
|
1163
2195
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1164
2196
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1186,7 +2218,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1186
2218
|
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
1187
2219
|
value: z.ZodString;
|
|
1188
2220
|
label: z.ZodString;
|
|
1189
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
1190
2221
|
}, z.core.$strip>>;
|
|
1191
2222
|
}, z.core.$strip>;
|
|
1192
2223
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1234,66 +2265,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1234
2265
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1235
2266
|
}, z.core.$strip>>;
|
|
1236
2267
|
}, z.core.$strip>], "isEnabled">;
|
|
1237
|
-
welcomeScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1238
|
-
isEnabled: z.ZodLiteral<false>;
|
|
1239
|
-
welcomeFields: z.ZodOptional<z.ZodObject<{
|
|
1240
|
-
title: z.ZodString;
|
|
1241
|
-
description: z.ZodString;
|
|
1242
|
-
buttonLabel: z.ZodString;
|
|
1243
|
-
}, z.core.$strip>>;
|
|
1244
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1245
|
-
title: z.ZodString;
|
|
1246
|
-
description: z.ZodString;
|
|
1247
|
-
buttonLabel: z.ZodString;
|
|
1248
|
-
}, z.core.$strip>>>;
|
|
1249
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1250
|
-
isEnabled: z.ZodLiteral<true>;
|
|
1251
|
-
welcomeFields: z.ZodObject<{
|
|
1252
|
-
title: z.ZodString;
|
|
1253
|
-
description: z.ZodString;
|
|
1254
|
-
buttonLabel: z.ZodString;
|
|
1255
|
-
}, z.core.$strip>;
|
|
1256
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1257
|
-
title: z.ZodString;
|
|
1258
|
-
description: z.ZodString;
|
|
1259
|
-
buttonLabel: z.ZodString;
|
|
1260
|
-
}, z.core.$strip>>;
|
|
1261
|
-
}, z.core.$strip>], "isEnabled">;
|
|
1262
|
-
endScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1263
|
-
isEnabled: z.ZodLiteral<false>;
|
|
1264
|
-
endFields: z.ZodOptional<z.ZodObject<{
|
|
1265
|
-
title: z.ZodString;
|
|
1266
|
-
message: z.ZodString;
|
|
1267
|
-
buttonLabel: z.ZodString;
|
|
1268
|
-
dismissBehavior: z.ZodEnum<{
|
|
1269
|
-
fade: "fade";
|
|
1270
|
-
manual: "manual";
|
|
1271
|
-
}>;
|
|
1272
|
-
fadeDuration: z.ZodNumber;
|
|
1273
|
-
}, z.core.$strip>>;
|
|
1274
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1275
|
-
buttonLabel: z.ZodString;
|
|
1276
|
-
title: z.ZodString;
|
|
1277
|
-
message: z.ZodString;
|
|
1278
|
-
}, z.core.$strip>>>;
|
|
1279
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1280
|
-
isEnabled: z.ZodLiteral<true>;
|
|
1281
|
-
endFields: z.ZodObject<{
|
|
1282
|
-
title: z.ZodString;
|
|
1283
|
-
message: z.ZodString;
|
|
1284
|
-
buttonLabel: z.ZodString;
|
|
1285
|
-
dismissBehavior: z.ZodEnum<{
|
|
1286
|
-
fade: "fade";
|
|
1287
|
-
manual: "manual";
|
|
1288
|
-
}>;
|
|
1289
|
-
fadeDuration: z.ZodNumber;
|
|
1290
|
-
}, z.core.$strip>;
|
|
1291
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1292
|
-
buttonLabel: z.ZodString;
|
|
1293
|
-
title: z.ZodString;
|
|
1294
|
-
message: z.ZodString;
|
|
1295
|
-
}, z.core.$strip>>;
|
|
1296
|
-
}, z.core.$strip>], "isEnabled">;
|
|
1297
2268
|
appearanceProperties: z.ZodObject<{
|
|
1298
2269
|
themeConfiguration: z.ZodObject<{
|
|
1299
2270
|
themes: z.ZodObject<{
|
|
@@ -1317,6 +2288,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1317
2288
|
dark: "dark";
|
|
1318
2289
|
system: "system";
|
|
1319
2290
|
}>>;
|
|
2291
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2292
|
+
rtl: z.ZodBoolean;
|
|
2293
|
+
previousButton: z.ZodEnum<{
|
|
2294
|
+
never: "never";
|
|
2295
|
+
always: "always";
|
|
2296
|
+
auto: "auto";
|
|
2297
|
+
}>;
|
|
1320
2298
|
}, z.core.$strip>;
|
|
1321
2299
|
selectedPosition: z.ZodEnum<{
|
|
1322
2300
|
"top-left": "top-left";
|
|
@@ -1437,6 +2415,13 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
1437
2415
|
customPosition: z.ZodBoolean;
|
|
1438
2416
|
customIconPosition: z.ZodBoolean;
|
|
1439
2417
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2419
|
+
rtl: z.ZodBoolean;
|
|
2420
|
+
previousButton: z.ZodEnum<{
|
|
2421
|
+
never: "never";
|
|
2422
|
+
always: "always";
|
|
2423
|
+
auto: "auto";
|
|
2424
|
+
}>;
|
|
1440
2425
|
}, z.core.$strip>;
|
|
1441
2426
|
selectedIconPosition: z.ZodString;
|
|
1442
2427
|
selectedPosition: z.ZodString;
|