@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
|
@@ -86,7 +86,6 @@ 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
89
|
rtl: z.ZodBoolean;
|
|
91
90
|
previousButton: z.ZodEnum<{
|
|
92
91
|
never: "never";
|
|
@@ -97,28 +96,6 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
|
|
|
97
96
|
selectedIconPosition: z.ZodString;
|
|
98
97
|
selectedPosition: z.ZodString;
|
|
99
98
|
}, z.core.$strip>;
|
|
100
|
-
frequencyAndScheduling: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
surveyType: z.ZodEnum<{
|
|
102
|
-
S: "S";
|
|
103
|
-
R: "R";
|
|
104
|
-
}>;
|
|
105
|
-
showOnce: z.ZodEnum<{
|
|
106
|
-
Y: "Y";
|
|
107
|
-
N: "N";
|
|
108
|
-
}>;
|
|
109
|
-
stopWhenResponsesCount: z.ZodString;
|
|
110
|
-
recurringValue: z.ZodString;
|
|
111
|
-
recurringUnit: z.ZodEnum<{
|
|
112
|
-
minutes: "minutes";
|
|
113
|
-
hours: "hours";
|
|
114
|
-
days: "days";
|
|
115
|
-
weeks: "weeks";
|
|
116
|
-
months: "months";
|
|
117
|
-
years: "years";
|
|
118
|
-
}>;
|
|
119
|
-
startDate: z.ZodString;
|
|
120
|
-
stopDate: z.ZodString;
|
|
121
|
-
}, z.core.$strip>>;
|
|
122
99
|
}, z.core.$strip>;
|
|
123
100
|
export declare const fetchFormConfigSchema: z.ZodObject<{
|
|
124
101
|
feedbackConfigurationId: z.ZodString;
|
|
@@ -198,21 +175,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
198
175
|
id: z.ZodString;
|
|
199
176
|
title: z.ZodString;
|
|
200
177
|
description: z.ZodOptional<z.ZodString>;
|
|
201
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
202
178
|
describe: z.ZodOptional<z.ZodString>;
|
|
203
179
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
180
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
204
181
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
205
182
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
206
183
|
type: z.ZodEnum<{
|
|
184
|
+
custom: "custom";
|
|
185
|
+
pattern: "pattern";
|
|
207
186
|
required: "required";
|
|
208
187
|
min: "min";
|
|
209
188
|
max: "max";
|
|
210
189
|
minLength: "minLength";
|
|
211
190
|
maxLength: "maxLength";
|
|
212
|
-
pattern: "pattern";
|
|
213
191
|
email: "email";
|
|
214
192
|
url: "url";
|
|
215
|
-
custom: "custom";
|
|
216
193
|
}>;
|
|
217
194
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
218
195
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -233,7 +210,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
233
210
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
234
211
|
describe: z.ZodOptional<z.ZodString>;
|
|
235
212
|
}, z.core.$strip>>>>;
|
|
236
|
-
isFixed: z.ZodBoolean;
|
|
237
213
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
238
214
|
status: z.ZodEnum<{
|
|
239
215
|
D: "D";
|
|
@@ -241,6 +217,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
241
217
|
A: "A";
|
|
242
218
|
S: "S";
|
|
243
219
|
}>;
|
|
220
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
221
|
+
left: "left";
|
|
222
|
+
center: "center";
|
|
223
|
+
}>>>;
|
|
244
224
|
type: z.ZodLiteral<"rating">;
|
|
245
225
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
246
226
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -264,21 +244,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
264
244
|
id: z.ZodString;
|
|
265
245
|
title: z.ZodString;
|
|
266
246
|
description: z.ZodOptional<z.ZodString>;
|
|
267
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
268
247
|
describe: z.ZodOptional<z.ZodString>;
|
|
269
248
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
249
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
270
250
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
271
251
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
272
252
|
type: z.ZodEnum<{
|
|
253
|
+
custom: "custom";
|
|
254
|
+
pattern: "pattern";
|
|
273
255
|
required: "required";
|
|
274
256
|
min: "min";
|
|
275
257
|
max: "max";
|
|
276
258
|
minLength: "minLength";
|
|
277
259
|
maxLength: "maxLength";
|
|
278
|
-
pattern: "pattern";
|
|
279
260
|
email: "email";
|
|
280
261
|
url: "url";
|
|
281
|
-
custom: "custom";
|
|
282
262
|
}>;
|
|
283
263
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
284
264
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -299,7 +279,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
299
279
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
300
280
|
describe: z.ZodOptional<z.ZodString>;
|
|
301
281
|
}, z.core.$strip>>>>;
|
|
302
|
-
isFixed: z.ZodBoolean;
|
|
303
282
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
304
283
|
status: z.ZodEnum<{
|
|
305
284
|
D: "D";
|
|
@@ -307,26 +286,30 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
307
286
|
A: "A";
|
|
308
287
|
S: "S";
|
|
309
288
|
}>;
|
|
289
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
left: "left";
|
|
291
|
+
center: "center";
|
|
292
|
+
}>>>;
|
|
310
293
|
type: z.ZodLiteral<"annotation">;
|
|
311
294
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
312
295
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
313
296
|
}, z.core.$strip>, z.ZodObject<{
|
|
314
297
|
id: z.ZodString;
|
|
315
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
316
298
|
describe: z.ZodOptional<z.ZodString>;
|
|
317
299
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
300
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
318
301
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
319
302
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
320
303
|
type: z.ZodEnum<{
|
|
304
|
+
custom: "custom";
|
|
305
|
+
pattern: "pattern";
|
|
321
306
|
required: "required";
|
|
322
307
|
min: "min";
|
|
323
308
|
max: "max";
|
|
324
309
|
minLength: "minLength";
|
|
325
310
|
maxLength: "maxLength";
|
|
326
|
-
pattern: "pattern";
|
|
327
311
|
email: "email";
|
|
328
312
|
url: "url";
|
|
329
|
-
custom: "custom";
|
|
330
313
|
}>;
|
|
331
314
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
332
315
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -347,7 +330,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
347
330
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
348
331
|
describe: z.ZodOptional<z.ZodString>;
|
|
349
332
|
}, z.core.$strip>>>>;
|
|
350
|
-
isFixed: z.ZodBoolean;
|
|
351
333
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
352
334
|
status: z.ZodEnum<{
|
|
353
335
|
D: "D";
|
|
@@ -355,6 +337,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
355
337
|
A: "A";
|
|
356
338
|
S: "S";
|
|
357
339
|
}>;
|
|
340
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
341
|
+
left: "left";
|
|
342
|
+
center: "center";
|
|
343
|
+
}>>>;
|
|
358
344
|
type: z.ZodLiteral<"welcome">;
|
|
359
345
|
title: z.ZodString;
|
|
360
346
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -362,21 +348,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
362
348
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
363
349
|
}, z.core.$strip>, z.ZodObject<{
|
|
364
350
|
id: z.ZodString;
|
|
365
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
366
351
|
describe: z.ZodOptional<z.ZodString>;
|
|
367
352
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
353
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
368
354
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
369
355
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
370
356
|
type: z.ZodEnum<{
|
|
357
|
+
custom: "custom";
|
|
358
|
+
pattern: "pattern";
|
|
371
359
|
required: "required";
|
|
372
360
|
min: "min";
|
|
373
361
|
max: "max";
|
|
374
362
|
minLength: "minLength";
|
|
375
363
|
maxLength: "maxLength";
|
|
376
|
-
pattern: "pattern";
|
|
377
364
|
email: "email";
|
|
378
365
|
url: "url";
|
|
379
|
-
custom: "custom";
|
|
380
366
|
}>;
|
|
381
367
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
382
368
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -397,7 +383,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
397
383
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
398
384
|
describe: z.ZodOptional<z.ZodString>;
|
|
399
385
|
}, z.core.$strip>>>>;
|
|
400
|
-
isFixed: z.ZodBoolean;
|
|
401
386
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
402
387
|
status: z.ZodEnum<{
|
|
403
388
|
D: "D";
|
|
@@ -405,6 +390,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
405
390
|
A: "A";
|
|
406
391
|
S: "S";
|
|
407
392
|
}>;
|
|
393
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
394
|
+
left: "left";
|
|
395
|
+
center: "center";
|
|
396
|
+
}>>>;
|
|
408
397
|
type: z.ZodLiteral<"thank_you">;
|
|
409
398
|
title: z.ZodString;
|
|
410
399
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -412,21 +401,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
412
401
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
413
402
|
}, z.core.$strip>, z.ZodObject<{
|
|
414
403
|
id: z.ZodString;
|
|
415
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
416
404
|
describe: z.ZodOptional<z.ZodString>;
|
|
417
405
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
406
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
418
407
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
419
408
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
420
409
|
type: z.ZodEnum<{
|
|
410
|
+
custom: "custom";
|
|
411
|
+
pattern: "pattern";
|
|
421
412
|
required: "required";
|
|
422
413
|
min: "min";
|
|
423
414
|
max: "max";
|
|
424
415
|
minLength: "minLength";
|
|
425
416
|
maxLength: "maxLength";
|
|
426
|
-
pattern: "pattern";
|
|
427
417
|
email: "email";
|
|
428
418
|
url: "url";
|
|
429
|
-
custom: "custom";
|
|
430
419
|
}>;
|
|
431
420
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
432
421
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -447,7 +436,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
447
436
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
448
437
|
describe: z.ZodOptional<z.ZodString>;
|
|
449
438
|
}, z.core.$strip>>>>;
|
|
450
|
-
isFixed: z.ZodBoolean;
|
|
451
439
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
452
440
|
status: z.ZodEnum<{
|
|
453
441
|
D: "D";
|
|
@@ -455,6 +443,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
455
443
|
A: "A";
|
|
456
444
|
S: "S";
|
|
457
445
|
}>;
|
|
446
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
447
|
+
left: "left";
|
|
448
|
+
center: "center";
|
|
449
|
+
}>>>;
|
|
458
450
|
type: z.ZodLiteral<"message_panel">;
|
|
459
451
|
title: z.ZodString;
|
|
460
452
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -464,21 +456,72 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
464
456
|
id: z.ZodString;
|
|
465
457
|
title: z.ZodString;
|
|
466
458
|
description: z.ZodOptional<z.ZodString>;
|
|
467
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
468
459
|
describe: z.ZodOptional<z.ZodString>;
|
|
469
460
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
461
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
470
462
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
471
463
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
464
|
type: z.ZodEnum<{
|
|
465
|
+
custom: "custom";
|
|
466
|
+
pattern: "pattern";
|
|
473
467
|
required: "required";
|
|
474
468
|
min: "min";
|
|
475
469
|
max: "max";
|
|
476
470
|
minLength: "minLength";
|
|
477
471
|
maxLength: "maxLength";
|
|
478
|
-
pattern: "pattern";
|
|
479
472
|
email: "email";
|
|
480
473
|
url: "url";
|
|
474
|
+
}>;
|
|
475
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
476
|
+
message: z.ZodOptional<z.ZodString>;
|
|
477
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
478
|
+
}, z.core.$strip>>>>;
|
|
479
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
480
|
+
field: z.ZodString;
|
|
481
|
+
operator: z.ZodEnum<{
|
|
482
|
+
equals: "equals";
|
|
483
|
+
not_equals: "not_equals";
|
|
484
|
+
contains: "contains";
|
|
485
|
+
not_contains: "not_contains";
|
|
486
|
+
greater_than: "greater_than";
|
|
487
|
+
less_than: "less_than";
|
|
488
|
+
is_empty: "is_empty";
|
|
489
|
+
is_not_empty: "is_not_empty";
|
|
490
|
+
}>;
|
|
491
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
492
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
493
|
+
}, z.core.$strip>>>>;
|
|
494
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
495
|
+
status: z.ZodEnum<{
|
|
496
|
+
D: "D";
|
|
497
|
+
P: "P";
|
|
498
|
+
A: "A";
|
|
499
|
+
S: "S";
|
|
500
|
+
}>;
|
|
501
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
502
|
+
left: "left";
|
|
503
|
+
center: "center";
|
|
504
|
+
}>>>;
|
|
505
|
+
type: z.ZodLiteral<"exit_form">;
|
|
506
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
title: z.ZodString;
|
|
509
|
+
description: z.ZodOptional<z.ZodString>;
|
|
510
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
511
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
512
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
514
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
|
+
type: z.ZodEnum<{
|
|
481
516
|
custom: "custom";
|
|
517
|
+
pattern: "pattern";
|
|
518
|
+
required: "required";
|
|
519
|
+
min: "min";
|
|
520
|
+
max: "max";
|
|
521
|
+
minLength: "minLength";
|
|
522
|
+
maxLength: "maxLength";
|
|
523
|
+
email: "email";
|
|
524
|
+
url: "url";
|
|
482
525
|
}>;
|
|
483
526
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
484
527
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -499,7 +542,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
499
542
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
500
543
|
describe: z.ZodOptional<z.ZodString>;
|
|
501
544
|
}, z.core.$strip>>>>;
|
|
502
|
-
isFixed: z.ZodBoolean;
|
|
503
545
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
504
546
|
status: z.ZodEnum<{
|
|
505
547
|
D: "D";
|
|
@@ -507,6 +549,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
507
549
|
A: "A";
|
|
508
550
|
S: "S";
|
|
509
551
|
}>;
|
|
552
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
left: "left";
|
|
554
|
+
center: "center";
|
|
555
|
+
}>>>;
|
|
510
556
|
type: z.ZodLiteral<"yes_no">;
|
|
511
557
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
512
558
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -518,21 +564,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
518
564
|
id: z.ZodString;
|
|
519
565
|
title: z.ZodString;
|
|
520
566
|
description: z.ZodOptional<z.ZodString>;
|
|
521
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
522
567
|
describe: z.ZodOptional<z.ZodString>;
|
|
523
568
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
569
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
524
570
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
525
571
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
526
572
|
type: z.ZodEnum<{
|
|
573
|
+
custom: "custom";
|
|
574
|
+
pattern: "pattern";
|
|
527
575
|
required: "required";
|
|
528
576
|
min: "min";
|
|
529
577
|
max: "max";
|
|
530
578
|
minLength: "minLength";
|
|
531
579
|
maxLength: "maxLength";
|
|
532
|
-
pattern: "pattern";
|
|
533
580
|
email: "email";
|
|
534
581
|
url: "url";
|
|
535
|
-
custom: "custom";
|
|
536
582
|
}>;
|
|
537
583
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
538
584
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -553,7 +599,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
553
599
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
554
600
|
describe: z.ZodOptional<z.ZodString>;
|
|
555
601
|
}, z.core.$strip>>>>;
|
|
556
|
-
isFixed: z.ZodBoolean;
|
|
557
602
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
558
603
|
status: z.ZodEnum<{
|
|
559
604
|
D: "D";
|
|
@@ -561,6 +606,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
561
606
|
A: "A";
|
|
562
607
|
S: "S";
|
|
563
608
|
}>;
|
|
609
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
610
|
+
left: "left";
|
|
611
|
+
center: "center";
|
|
612
|
+
}>>>;
|
|
564
613
|
type: z.ZodLiteral<"rating_matrix">;
|
|
565
614
|
statements: z.ZodArray<z.ZodObject<{
|
|
566
615
|
id: z.ZodString;
|
|
@@ -570,13 +619,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
570
619
|
}, z.core.$strip>>;
|
|
571
620
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
572
621
|
kind: z.ZodLiteral<"likert">;
|
|
573
|
-
|
|
574
|
-
|
|
622
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
623
|
+
id: z.ZodString;
|
|
624
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
625
|
+
label: z.ZodString;
|
|
626
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
575
628
|
}, z.core.$strip>, z.ZodObject<{
|
|
576
629
|
kind: z.ZodLiteral<"numerical">;
|
|
630
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
631
|
+
id: z.ZodString;
|
|
632
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
633
|
+
label: z.ZodString;
|
|
634
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
635
|
+
}, z.core.$strip>>;
|
|
577
636
|
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
578
|
-
minLabel: z.ZodOptional<z.ZodString>;
|
|
579
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
580
637
|
}, z.core.$strip>, z.ZodObject<{
|
|
581
638
|
kind: z.ZodLiteral<"custom">;
|
|
582
639
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -597,21 +654,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
597
654
|
id: z.ZodString;
|
|
598
655
|
title: z.ZodString;
|
|
599
656
|
description: z.ZodOptional<z.ZodString>;
|
|
600
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
601
657
|
describe: z.ZodOptional<z.ZodString>;
|
|
602
658
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
659
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
603
660
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
604
661
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
605
662
|
type: z.ZodEnum<{
|
|
663
|
+
custom: "custom";
|
|
664
|
+
pattern: "pattern";
|
|
606
665
|
required: "required";
|
|
607
666
|
min: "min";
|
|
608
667
|
max: "max";
|
|
609
668
|
minLength: "minLength";
|
|
610
669
|
maxLength: "maxLength";
|
|
611
|
-
pattern: "pattern";
|
|
612
670
|
email: "email";
|
|
613
671
|
url: "url";
|
|
614
|
-
custom: "custom";
|
|
615
672
|
}>;
|
|
616
673
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
617
674
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -632,7 +689,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
632
689
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
633
690
|
describe: z.ZodOptional<z.ZodString>;
|
|
634
691
|
}, z.core.$strip>>>>;
|
|
635
|
-
isFixed: z.ZodBoolean;
|
|
636
692
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
637
693
|
status: z.ZodEnum<{
|
|
638
694
|
D: "D";
|
|
@@ -640,6 +696,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
640
696
|
A: "A";
|
|
641
697
|
S: "S";
|
|
642
698
|
}>;
|
|
699
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
700
|
+
left: "left";
|
|
701
|
+
center: "center";
|
|
702
|
+
}>>>;
|
|
643
703
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
644
704
|
rows: z.ZodArray<z.ZodObject<{
|
|
645
705
|
id: z.ZodString;
|
|
@@ -659,21 +719,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
659
719
|
id: z.ZodString;
|
|
660
720
|
title: z.ZodString;
|
|
661
721
|
description: z.ZodOptional<z.ZodString>;
|
|
662
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
663
722
|
describe: z.ZodOptional<z.ZodString>;
|
|
664
723
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
724
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
665
725
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
666
726
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
667
727
|
type: z.ZodEnum<{
|
|
728
|
+
custom: "custom";
|
|
729
|
+
pattern: "pattern";
|
|
668
730
|
required: "required";
|
|
669
731
|
min: "min";
|
|
670
732
|
max: "max";
|
|
671
733
|
minLength: "minLength";
|
|
672
734
|
maxLength: "maxLength";
|
|
673
|
-
pattern: "pattern";
|
|
674
735
|
email: "email";
|
|
675
736
|
url: "url";
|
|
676
|
-
custom: "custom";
|
|
677
737
|
}>;
|
|
678
738
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
679
739
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -694,7 +754,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
694
754
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
695
755
|
describe: z.ZodOptional<z.ZodString>;
|
|
696
756
|
}, z.core.$strip>>>>;
|
|
697
|
-
isFixed: z.ZodBoolean;
|
|
698
757
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
699
758
|
status: z.ZodEnum<{
|
|
700
759
|
D: "D";
|
|
@@ -702,6 +761,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
702
761
|
A: "A";
|
|
703
762
|
S: "S";
|
|
704
763
|
}>;
|
|
764
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
765
|
+
left: "left";
|
|
766
|
+
center: "center";
|
|
767
|
+
}>>>;
|
|
705
768
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
706
769
|
rows: z.ZodArray<z.ZodObject<{
|
|
707
770
|
id: z.ZodString;
|
|
@@ -723,21 +786,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
723
786
|
id: z.ZodString;
|
|
724
787
|
title: z.ZodString;
|
|
725
788
|
description: z.ZodOptional<z.ZodString>;
|
|
726
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
727
789
|
describe: z.ZodOptional<z.ZodString>;
|
|
728
790
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
791
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
729
792
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
730
793
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
731
794
|
type: z.ZodEnum<{
|
|
795
|
+
custom: "custom";
|
|
796
|
+
pattern: "pattern";
|
|
732
797
|
required: "required";
|
|
733
798
|
min: "min";
|
|
734
799
|
max: "max";
|
|
735
800
|
minLength: "minLength";
|
|
736
801
|
maxLength: "maxLength";
|
|
737
|
-
pattern: "pattern";
|
|
738
802
|
email: "email";
|
|
739
803
|
url: "url";
|
|
740
|
-
custom: "custom";
|
|
741
804
|
}>;
|
|
742
805
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
743
806
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -758,7 +821,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
758
821
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
759
822
|
describe: z.ZodOptional<z.ZodString>;
|
|
760
823
|
}, z.core.$strip>>>>;
|
|
761
|
-
isFixed: z.ZodBoolean;
|
|
762
824
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
763
825
|
status: z.ZodEnum<{
|
|
764
826
|
D: "D";
|
|
@@ -766,6 +828,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
766
828
|
A: "A";
|
|
767
829
|
S: "S";
|
|
768
830
|
}>;
|
|
831
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
832
|
+
left: "left";
|
|
833
|
+
center: "center";
|
|
834
|
+
}>>>;
|
|
769
835
|
type: z.ZodLiteral<"single_choice">;
|
|
770
836
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
771
837
|
radio: "radio";
|
|
@@ -791,21 +857,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
791
857
|
id: z.ZodString;
|
|
792
858
|
title: z.ZodString;
|
|
793
859
|
description: z.ZodOptional<z.ZodString>;
|
|
794
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
795
860
|
describe: z.ZodOptional<z.ZodString>;
|
|
796
861
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
862
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
797
863
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
798
864
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
799
865
|
type: z.ZodEnum<{
|
|
866
|
+
custom: "custom";
|
|
867
|
+
pattern: "pattern";
|
|
800
868
|
required: "required";
|
|
801
869
|
min: "min";
|
|
802
870
|
max: "max";
|
|
803
871
|
minLength: "minLength";
|
|
804
872
|
maxLength: "maxLength";
|
|
805
|
-
pattern: "pattern";
|
|
806
873
|
email: "email";
|
|
807
874
|
url: "url";
|
|
808
|
-
custom: "custom";
|
|
809
875
|
}>;
|
|
810
876
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
811
877
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -826,7 +892,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
826
892
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
827
893
|
describe: z.ZodOptional<z.ZodString>;
|
|
828
894
|
}, z.core.$strip>>>>;
|
|
829
|
-
isFixed: z.ZodBoolean;
|
|
830
895
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
831
896
|
status: z.ZodEnum<{
|
|
832
897
|
D: "D";
|
|
@@ -834,6 +899,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
834
899
|
A: "A";
|
|
835
900
|
S: "S";
|
|
836
901
|
}>;
|
|
902
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
903
|
+
left: "left";
|
|
904
|
+
center: "center";
|
|
905
|
+
}>>>;
|
|
837
906
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
838
907
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
839
908
|
list: "list";
|
|
@@ -860,21 +929,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
860
929
|
id: z.ZodString;
|
|
861
930
|
title: z.ZodString;
|
|
862
931
|
description: z.ZodOptional<z.ZodString>;
|
|
863
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
864
932
|
describe: z.ZodOptional<z.ZodString>;
|
|
865
933
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
934
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
866
935
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
867
936
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
868
937
|
type: z.ZodEnum<{
|
|
938
|
+
custom: "custom";
|
|
939
|
+
pattern: "pattern";
|
|
869
940
|
required: "required";
|
|
870
941
|
min: "min";
|
|
871
942
|
max: "max";
|
|
872
943
|
minLength: "minLength";
|
|
873
944
|
maxLength: "maxLength";
|
|
874
|
-
pattern: "pattern";
|
|
875
945
|
email: "email";
|
|
876
946
|
url: "url";
|
|
877
|
-
custom: "custom";
|
|
878
947
|
}>;
|
|
879
948
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
880
949
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -895,7 +964,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
895
964
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
896
965
|
describe: z.ZodOptional<z.ZodString>;
|
|
897
966
|
}, z.core.$strip>>>>;
|
|
898
|
-
isFixed: z.ZodBoolean;
|
|
899
967
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
900
968
|
status: z.ZodEnum<{
|
|
901
969
|
D: "D";
|
|
@@ -903,6 +971,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
903
971
|
A: "A";
|
|
904
972
|
S: "S";
|
|
905
973
|
}>;
|
|
974
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
975
|
+
left: "left";
|
|
976
|
+
center: "center";
|
|
977
|
+
}>>>;
|
|
906
978
|
type: z.ZodLiteral<"nps">;
|
|
907
979
|
min: z.ZodLiteral<0>;
|
|
908
980
|
max: z.ZodLiteral<10>;
|
|
@@ -914,21 +986,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
914
986
|
id: z.ZodString;
|
|
915
987
|
title: z.ZodString;
|
|
916
988
|
description: z.ZodOptional<z.ZodString>;
|
|
917
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
918
989
|
describe: z.ZodOptional<z.ZodString>;
|
|
919
990
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
991
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
920
992
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
921
993
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
922
994
|
type: z.ZodEnum<{
|
|
995
|
+
custom: "custom";
|
|
996
|
+
pattern: "pattern";
|
|
923
997
|
required: "required";
|
|
924
998
|
min: "min";
|
|
925
999
|
max: "max";
|
|
926
1000
|
minLength: "minLength";
|
|
927
1001
|
maxLength: "maxLength";
|
|
928
|
-
pattern: "pattern";
|
|
929
1002
|
email: "email";
|
|
930
1003
|
url: "url";
|
|
931
|
-
custom: "custom";
|
|
932
1004
|
}>;
|
|
933
1005
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
934
1006
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -949,7 +1021,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
949
1021
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
950
1022
|
describe: z.ZodOptional<z.ZodString>;
|
|
951
1023
|
}, z.core.$strip>>>>;
|
|
952
|
-
isFixed: z.ZodBoolean;
|
|
953
1024
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
954
1025
|
status: z.ZodEnum<{
|
|
955
1026
|
D: "D";
|
|
@@ -957,6 +1028,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
957
1028
|
A: "A";
|
|
958
1029
|
S: "S";
|
|
959
1030
|
}>;
|
|
1031
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1032
|
+
left: "left";
|
|
1033
|
+
center: "center";
|
|
1034
|
+
}>>>;
|
|
960
1035
|
type: z.ZodLiteral<"short_answer">;
|
|
961
1036
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
962
1037
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -971,21 +1046,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
971
1046
|
id: z.ZodString;
|
|
972
1047
|
title: z.ZodString;
|
|
973
1048
|
description: z.ZodOptional<z.ZodString>;
|
|
974
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
975
1049
|
describe: z.ZodOptional<z.ZodString>;
|
|
976
1050
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1051
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
977
1052
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
978
1053
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
979
1054
|
type: z.ZodEnum<{
|
|
1055
|
+
custom: "custom";
|
|
1056
|
+
pattern: "pattern";
|
|
980
1057
|
required: "required";
|
|
981
1058
|
min: "min";
|
|
982
1059
|
max: "max";
|
|
983
1060
|
minLength: "minLength";
|
|
984
1061
|
maxLength: "maxLength";
|
|
985
|
-
pattern: "pattern";
|
|
986
1062
|
email: "email";
|
|
987
1063
|
url: "url";
|
|
988
|
-
custom: "custom";
|
|
989
1064
|
}>;
|
|
990
1065
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
991
1066
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1006,7 +1081,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1006
1081
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1007
1082
|
describe: z.ZodOptional<z.ZodString>;
|
|
1008
1083
|
}, z.core.$strip>>>>;
|
|
1009
|
-
isFixed: z.ZodBoolean;
|
|
1010
1084
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1011
1085
|
status: z.ZodEnum<{
|
|
1012
1086
|
D: "D";
|
|
@@ -1014,6 +1088,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1014
1088
|
A: "A";
|
|
1015
1089
|
S: "S";
|
|
1016
1090
|
}>;
|
|
1091
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1092
|
+
left: "left";
|
|
1093
|
+
center: "center";
|
|
1094
|
+
}>>>;
|
|
1017
1095
|
type: z.ZodLiteral<"long_text">;
|
|
1018
1096
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1019
1097
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1027,21 +1105,21 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1027
1105
|
id: z.ZodString;
|
|
1028
1106
|
title: z.ZodString;
|
|
1029
1107
|
description: z.ZodOptional<z.ZodString>;
|
|
1030
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1031
1108
|
describe: z.ZodOptional<z.ZodString>;
|
|
1032
1109
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1110
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1033
1111
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1034
1112
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1035
1113
|
type: z.ZodEnum<{
|
|
1114
|
+
custom: "custom";
|
|
1115
|
+
pattern: "pattern";
|
|
1036
1116
|
required: "required";
|
|
1037
1117
|
min: "min";
|
|
1038
1118
|
max: "max";
|
|
1039
1119
|
minLength: "minLength";
|
|
1040
1120
|
maxLength: "maxLength";
|
|
1041
|
-
pattern: "pattern";
|
|
1042
1121
|
email: "email";
|
|
1043
1122
|
url: "url";
|
|
1044
|
-
custom: "custom";
|
|
1045
1123
|
}>;
|
|
1046
1124
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1047
1125
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1062,7 +1140,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1062
1140
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1063
1141
|
describe: z.ZodOptional<z.ZodString>;
|
|
1064
1142
|
}, z.core.$strip>>>>;
|
|
1065
|
-
isFixed: z.ZodBoolean;
|
|
1066
1143
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1067
1144
|
status: z.ZodEnum<{
|
|
1068
1145
|
D: "D";
|
|
@@ -1070,6 +1147,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1070
1147
|
A: "A";
|
|
1071
1148
|
S: "S";
|
|
1072
1149
|
}>;
|
|
1150
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1151
|
+
left: "left";
|
|
1152
|
+
center: "center";
|
|
1153
|
+
}>>>;
|
|
1073
1154
|
type: z.ZodLiteral<"nested_selection">;
|
|
1074
1155
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1075
1156
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1091,13 +1172,20 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1091
1172
|
sections: z.ZodArray<z.ZodObject<{
|
|
1092
1173
|
id: z.ZodString;
|
|
1093
1174
|
title: z.ZodString;
|
|
1175
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1176
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1178
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1179
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1180
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1182
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1094
1183
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1095
1184
|
}, z.core.$strip>>;
|
|
1096
1185
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1097
1186
|
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
1098
1187
|
value: z.ZodString;
|
|
1099
1188
|
label: z.ZodString;
|
|
1100
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
1101
1189
|
}, z.core.$strip>>;
|
|
1102
1190
|
}, z.core.$strip>;
|
|
1103
1191
|
export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
@@ -1112,21 +1200,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1112
1200
|
id: z.ZodString;
|
|
1113
1201
|
title: z.ZodString;
|
|
1114
1202
|
description: z.ZodOptional<z.ZodString>;
|
|
1115
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1116
1203
|
describe: z.ZodOptional<z.ZodString>;
|
|
1117
1204
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1205
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1118
1206
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1119
1207
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1120
1208
|
type: z.ZodEnum<{
|
|
1209
|
+
custom: "custom";
|
|
1210
|
+
pattern: "pattern";
|
|
1121
1211
|
required: "required";
|
|
1122
1212
|
min: "min";
|
|
1123
1213
|
max: "max";
|
|
1124
1214
|
minLength: "minLength";
|
|
1125
1215
|
maxLength: "maxLength";
|
|
1126
|
-
pattern: "pattern";
|
|
1127
1216
|
email: "email";
|
|
1128
1217
|
url: "url";
|
|
1129
|
-
custom: "custom";
|
|
1130
1218
|
}>;
|
|
1131
1219
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1132
1220
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1147,7 +1235,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1147
1235
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1148
1236
|
describe: z.ZodOptional<z.ZodString>;
|
|
1149
1237
|
}, z.core.$strip>>>>;
|
|
1150
|
-
isFixed: z.ZodBoolean;
|
|
1151
1238
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1152
1239
|
status: z.ZodEnum<{
|
|
1153
1240
|
D: "D";
|
|
@@ -1155,6 +1242,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1155
1242
|
A: "A";
|
|
1156
1243
|
S: "S";
|
|
1157
1244
|
}>;
|
|
1245
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1246
|
+
left: "left";
|
|
1247
|
+
center: "center";
|
|
1248
|
+
}>>>;
|
|
1158
1249
|
type: z.ZodLiteral<"rating">;
|
|
1159
1250
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1160
1251
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1178,21 +1269,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1178
1269
|
id: z.ZodString;
|
|
1179
1270
|
title: z.ZodString;
|
|
1180
1271
|
description: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1182
1272
|
describe: z.ZodOptional<z.ZodString>;
|
|
1183
1273
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1274
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1184
1275
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1185
1276
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
1277
|
type: z.ZodEnum<{
|
|
1278
|
+
custom: "custom";
|
|
1279
|
+
pattern: "pattern";
|
|
1187
1280
|
required: "required";
|
|
1188
1281
|
min: "min";
|
|
1189
1282
|
max: "max";
|
|
1190
1283
|
minLength: "minLength";
|
|
1191
1284
|
maxLength: "maxLength";
|
|
1192
|
-
pattern: "pattern";
|
|
1193
1285
|
email: "email";
|
|
1194
1286
|
url: "url";
|
|
1195
|
-
custom: "custom";
|
|
1196
1287
|
}>;
|
|
1197
1288
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1198
1289
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1213,7 +1304,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1213
1304
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1214
1305
|
describe: z.ZodOptional<z.ZodString>;
|
|
1215
1306
|
}, z.core.$strip>>>>;
|
|
1216
|
-
isFixed: z.ZodBoolean;
|
|
1217
1307
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1218
1308
|
status: z.ZodEnum<{
|
|
1219
1309
|
D: "D";
|
|
@@ -1221,26 +1311,30 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1221
1311
|
A: "A";
|
|
1222
1312
|
S: "S";
|
|
1223
1313
|
}>;
|
|
1314
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1315
|
+
left: "left";
|
|
1316
|
+
center: "center";
|
|
1317
|
+
}>>>;
|
|
1224
1318
|
type: z.ZodLiteral<"annotation">;
|
|
1225
1319
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1226
1320
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1227
1321
|
}, z.core.$strip>, z.ZodObject<{
|
|
1228
1322
|
id: z.ZodString;
|
|
1229
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1230
1323
|
describe: z.ZodOptional<z.ZodString>;
|
|
1231
1324
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1325
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1232
1326
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1233
1327
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1234
1328
|
type: z.ZodEnum<{
|
|
1329
|
+
custom: "custom";
|
|
1330
|
+
pattern: "pattern";
|
|
1235
1331
|
required: "required";
|
|
1236
1332
|
min: "min";
|
|
1237
1333
|
max: "max";
|
|
1238
1334
|
minLength: "minLength";
|
|
1239
1335
|
maxLength: "maxLength";
|
|
1240
|
-
pattern: "pattern";
|
|
1241
1336
|
email: "email";
|
|
1242
1337
|
url: "url";
|
|
1243
|
-
custom: "custom";
|
|
1244
1338
|
}>;
|
|
1245
1339
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1246
1340
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1261,7 +1355,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1261
1355
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1262
1356
|
describe: z.ZodOptional<z.ZodString>;
|
|
1263
1357
|
}, z.core.$strip>>>>;
|
|
1264
|
-
isFixed: z.ZodBoolean;
|
|
1265
1358
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1266
1359
|
status: z.ZodEnum<{
|
|
1267
1360
|
D: "D";
|
|
@@ -1269,6 +1362,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1269
1362
|
A: "A";
|
|
1270
1363
|
S: "S";
|
|
1271
1364
|
}>;
|
|
1365
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1366
|
+
left: "left";
|
|
1367
|
+
center: "center";
|
|
1368
|
+
}>>>;
|
|
1272
1369
|
type: z.ZodLiteral<"welcome">;
|
|
1273
1370
|
title: z.ZodString;
|
|
1274
1371
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1276,21 +1373,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1276
1373
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1277
1374
|
}, z.core.$strip>, z.ZodObject<{
|
|
1278
1375
|
id: z.ZodString;
|
|
1279
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1280
1376
|
describe: z.ZodOptional<z.ZodString>;
|
|
1281
1377
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1378
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1282
1379
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1283
1380
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1284
1381
|
type: z.ZodEnum<{
|
|
1382
|
+
custom: "custom";
|
|
1383
|
+
pattern: "pattern";
|
|
1285
1384
|
required: "required";
|
|
1286
1385
|
min: "min";
|
|
1287
1386
|
max: "max";
|
|
1288
1387
|
minLength: "minLength";
|
|
1289
1388
|
maxLength: "maxLength";
|
|
1290
|
-
pattern: "pattern";
|
|
1291
1389
|
email: "email";
|
|
1292
1390
|
url: "url";
|
|
1293
|
-
custom: "custom";
|
|
1294
1391
|
}>;
|
|
1295
1392
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1296
1393
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1311,7 +1408,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1311
1408
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1312
1409
|
describe: z.ZodOptional<z.ZodString>;
|
|
1313
1410
|
}, z.core.$strip>>>>;
|
|
1314
|
-
isFixed: z.ZodBoolean;
|
|
1315
1411
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1316
1412
|
status: z.ZodEnum<{
|
|
1317
1413
|
D: "D";
|
|
@@ -1319,6 +1415,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1319
1415
|
A: "A";
|
|
1320
1416
|
S: "S";
|
|
1321
1417
|
}>;
|
|
1418
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1419
|
+
left: "left";
|
|
1420
|
+
center: "center";
|
|
1421
|
+
}>>>;
|
|
1322
1422
|
type: z.ZodLiteral<"thank_you">;
|
|
1323
1423
|
title: z.ZodString;
|
|
1324
1424
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1326,21 +1426,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1326
1426
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1327
1427
|
}, z.core.$strip>, z.ZodObject<{
|
|
1328
1428
|
id: z.ZodString;
|
|
1329
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1330
1429
|
describe: z.ZodOptional<z.ZodString>;
|
|
1331
1430
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1431
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1332
1432
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1333
1433
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1334
1434
|
type: z.ZodEnum<{
|
|
1435
|
+
custom: "custom";
|
|
1436
|
+
pattern: "pattern";
|
|
1335
1437
|
required: "required";
|
|
1336
1438
|
min: "min";
|
|
1337
1439
|
max: "max";
|
|
1338
1440
|
minLength: "minLength";
|
|
1339
1441
|
maxLength: "maxLength";
|
|
1340
|
-
pattern: "pattern";
|
|
1341
1442
|
email: "email";
|
|
1342
1443
|
url: "url";
|
|
1343
|
-
custom: "custom";
|
|
1344
1444
|
}>;
|
|
1345
1445
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1346
1446
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1361,7 +1461,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1361
1461
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1362
1462
|
describe: z.ZodOptional<z.ZodString>;
|
|
1363
1463
|
}, z.core.$strip>>>>;
|
|
1364
|
-
isFixed: z.ZodBoolean;
|
|
1365
1464
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1366
1465
|
status: z.ZodEnum<{
|
|
1367
1466
|
D: "D";
|
|
@@ -1369,6 +1468,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1369
1468
|
A: "A";
|
|
1370
1469
|
S: "S";
|
|
1371
1470
|
}>;
|
|
1471
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1472
|
+
left: "left";
|
|
1473
|
+
center: "center";
|
|
1474
|
+
}>>>;
|
|
1372
1475
|
type: z.ZodLiteral<"message_panel">;
|
|
1373
1476
|
title: z.ZodString;
|
|
1374
1477
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1378,21 +1481,72 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1378
1481
|
id: z.ZodString;
|
|
1379
1482
|
title: z.ZodString;
|
|
1380
1483
|
description: z.ZodOptional<z.ZodString>;
|
|
1381
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1382
1484
|
describe: z.ZodOptional<z.ZodString>;
|
|
1383
1485
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1486
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1384
1487
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1385
1488
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1386
1489
|
type: z.ZodEnum<{
|
|
1490
|
+
custom: "custom";
|
|
1491
|
+
pattern: "pattern";
|
|
1387
1492
|
required: "required";
|
|
1388
1493
|
min: "min";
|
|
1389
1494
|
max: "max";
|
|
1390
1495
|
minLength: "minLength";
|
|
1391
1496
|
maxLength: "maxLength";
|
|
1392
|
-
pattern: "pattern";
|
|
1393
1497
|
email: "email";
|
|
1394
1498
|
url: "url";
|
|
1499
|
+
}>;
|
|
1500
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1501
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
}, z.core.$strip>>>>;
|
|
1504
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
field: z.ZodString;
|
|
1506
|
+
operator: z.ZodEnum<{
|
|
1507
|
+
equals: "equals";
|
|
1508
|
+
not_equals: "not_equals";
|
|
1509
|
+
contains: "contains";
|
|
1510
|
+
not_contains: "not_contains";
|
|
1511
|
+
greater_than: "greater_than";
|
|
1512
|
+
less_than: "less_than";
|
|
1513
|
+
is_empty: "is_empty";
|
|
1514
|
+
is_not_empty: "is_not_empty";
|
|
1515
|
+
}>;
|
|
1516
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1517
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
}, z.core.$strip>>>>;
|
|
1519
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
status: z.ZodEnum<{
|
|
1521
|
+
D: "D";
|
|
1522
|
+
P: "P";
|
|
1523
|
+
A: "A";
|
|
1524
|
+
S: "S";
|
|
1525
|
+
}>;
|
|
1526
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1527
|
+
left: "left";
|
|
1528
|
+
center: "center";
|
|
1529
|
+
}>>>;
|
|
1530
|
+
type: z.ZodLiteral<"exit_form">;
|
|
1531
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1532
|
+
id: z.ZodString;
|
|
1533
|
+
title: z.ZodString;
|
|
1534
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1535
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1537
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1538
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1539
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1540
|
+
type: z.ZodEnum<{
|
|
1395
1541
|
custom: "custom";
|
|
1542
|
+
pattern: "pattern";
|
|
1543
|
+
required: "required";
|
|
1544
|
+
min: "min";
|
|
1545
|
+
max: "max";
|
|
1546
|
+
minLength: "minLength";
|
|
1547
|
+
maxLength: "maxLength";
|
|
1548
|
+
email: "email";
|
|
1549
|
+
url: "url";
|
|
1396
1550
|
}>;
|
|
1397
1551
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1398
1552
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1413,7 +1567,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1413
1567
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1414
1568
|
describe: z.ZodOptional<z.ZodString>;
|
|
1415
1569
|
}, z.core.$strip>>>>;
|
|
1416
|
-
isFixed: z.ZodBoolean;
|
|
1417
1570
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1418
1571
|
status: z.ZodEnum<{
|
|
1419
1572
|
D: "D";
|
|
@@ -1421,6 +1574,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1421
1574
|
A: "A";
|
|
1422
1575
|
S: "S";
|
|
1423
1576
|
}>;
|
|
1577
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1578
|
+
left: "left";
|
|
1579
|
+
center: "center";
|
|
1580
|
+
}>>>;
|
|
1424
1581
|
type: z.ZodLiteral<"yes_no">;
|
|
1425
1582
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1426
1583
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1432,21 +1589,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1432
1589
|
id: z.ZodString;
|
|
1433
1590
|
title: z.ZodString;
|
|
1434
1591
|
description: z.ZodOptional<z.ZodString>;
|
|
1435
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1436
1592
|
describe: z.ZodOptional<z.ZodString>;
|
|
1437
1593
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1594
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1438
1595
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1439
1596
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1440
1597
|
type: z.ZodEnum<{
|
|
1598
|
+
custom: "custom";
|
|
1599
|
+
pattern: "pattern";
|
|
1441
1600
|
required: "required";
|
|
1442
1601
|
min: "min";
|
|
1443
1602
|
max: "max";
|
|
1444
1603
|
minLength: "minLength";
|
|
1445
1604
|
maxLength: "maxLength";
|
|
1446
|
-
pattern: "pattern";
|
|
1447
1605
|
email: "email";
|
|
1448
1606
|
url: "url";
|
|
1449
|
-
custom: "custom";
|
|
1450
1607
|
}>;
|
|
1451
1608
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1452
1609
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1467,7 +1624,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1467
1624
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1468
1625
|
describe: z.ZodOptional<z.ZodString>;
|
|
1469
1626
|
}, z.core.$strip>>>>;
|
|
1470
|
-
isFixed: z.ZodBoolean;
|
|
1471
1627
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1472
1628
|
status: z.ZodEnum<{
|
|
1473
1629
|
D: "D";
|
|
@@ -1475,6 +1631,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1475
1631
|
A: "A";
|
|
1476
1632
|
S: "S";
|
|
1477
1633
|
}>;
|
|
1634
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1635
|
+
left: "left";
|
|
1636
|
+
center: "center";
|
|
1637
|
+
}>>>;
|
|
1478
1638
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1479
1639
|
statements: z.ZodArray<z.ZodObject<{
|
|
1480
1640
|
id: z.ZodString;
|
|
@@ -1484,13 +1644,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1484
1644
|
}, z.core.$strip>>;
|
|
1485
1645
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1486
1646
|
kind: z.ZodLiteral<"likert">;
|
|
1487
|
-
|
|
1488
|
-
|
|
1647
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1648
|
+
id: z.ZodString;
|
|
1649
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1650
|
+
label: z.ZodString;
|
|
1651
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
}, z.core.$strip>>;
|
|
1489
1653
|
}, z.core.$strip>, z.ZodObject<{
|
|
1490
1654
|
kind: z.ZodLiteral<"numerical">;
|
|
1655
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1656
|
+
id: z.ZodString;
|
|
1657
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1658
|
+
label: z.ZodString;
|
|
1659
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
}, z.core.$strip>>;
|
|
1491
1661
|
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1492
|
-
minLabel: z.ZodOptional<z.ZodString>;
|
|
1493
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1494
1662
|
}, z.core.$strip>, z.ZodObject<{
|
|
1495
1663
|
kind: z.ZodLiteral<"custom">;
|
|
1496
1664
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -1511,21 +1679,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1511
1679
|
id: z.ZodString;
|
|
1512
1680
|
title: z.ZodString;
|
|
1513
1681
|
description: z.ZodOptional<z.ZodString>;
|
|
1514
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1515
1682
|
describe: z.ZodOptional<z.ZodString>;
|
|
1516
1683
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1684
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1517
1685
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1518
1686
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1519
1687
|
type: z.ZodEnum<{
|
|
1688
|
+
custom: "custom";
|
|
1689
|
+
pattern: "pattern";
|
|
1520
1690
|
required: "required";
|
|
1521
1691
|
min: "min";
|
|
1522
1692
|
max: "max";
|
|
1523
1693
|
minLength: "minLength";
|
|
1524
1694
|
maxLength: "maxLength";
|
|
1525
|
-
pattern: "pattern";
|
|
1526
1695
|
email: "email";
|
|
1527
1696
|
url: "url";
|
|
1528
|
-
custom: "custom";
|
|
1529
1697
|
}>;
|
|
1530
1698
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1531
1699
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1546,7 +1714,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1546
1714
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1547
1715
|
describe: z.ZodOptional<z.ZodString>;
|
|
1548
1716
|
}, z.core.$strip>>>>;
|
|
1549
|
-
isFixed: z.ZodBoolean;
|
|
1550
1717
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1551
1718
|
status: z.ZodEnum<{
|
|
1552
1719
|
D: "D";
|
|
@@ -1554,6 +1721,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1554
1721
|
A: "A";
|
|
1555
1722
|
S: "S";
|
|
1556
1723
|
}>;
|
|
1724
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1725
|
+
left: "left";
|
|
1726
|
+
center: "center";
|
|
1727
|
+
}>>>;
|
|
1557
1728
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1558
1729
|
rows: z.ZodArray<z.ZodObject<{
|
|
1559
1730
|
id: z.ZodString;
|
|
@@ -1573,21 +1744,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1573
1744
|
id: z.ZodString;
|
|
1574
1745
|
title: z.ZodString;
|
|
1575
1746
|
description: z.ZodOptional<z.ZodString>;
|
|
1576
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1577
1747
|
describe: z.ZodOptional<z.ZodString>;
|
|
1578
1748
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1749
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1579
1750
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1580
1751
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1581
1752
|
type: z.ZodEnum<{
|
|
1753
|
+
custom: "custom";
|
|
1754
|
+
pattern: "pattern";
|
|
1582
1755
|
required: "required";
|
|
1583
1756
|
min: "min";
|
|
1584
1757
|
max: "max";
|
|
1585
1758
|
minLength: "minLength";
|
|
1586
1759
|
maxLength: "maxLength";
|
|
1587
|
-
pattern: "pattern";
|
|
1588
1760
|
email: "email";
|
|
1589
1761
|
url: "url";
|
|
1590
|
-
custom: "custom";
|
|
1591
1762
|
}>;
|
|
1592
1763
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1593
1764
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1608,7 +1779,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1608
1779
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1609
1780
|
describe: z.ZodOptional<z.ZodString>;
|
|
1610
1781
|
}, z.core.$strip>>>>;
|
|
1611
|
-
isFixed: z.ZodBoolean;
|
|
1612
1782
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1613
1783
|
status: z.ZodEnum<{
|
|
1614
1784
|
D: "D";
|
|
@@ -1616,6 +1786,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1616
1786
|
A: "A";
|
|
1617
1787
|
S: "S";
|
|
1618
1788
|
}>;
|
|
1789
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1790
|
+
left: "left";
|
|
1791
|
+
center: "center";
|
|
1792
|
+
}>>>;
|
|
1619
1793
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1620
1794
|
rows: z.ZodArray<z.ZodObject<{
|
|
1621
1795
|
id: z.ZodString;
|
|
@@ -1637,21 +1811,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1637
1811
|
id: z.ZodString;
|
|
1638
1812
|
title: z.ZodString;
|
|
1639
1813
|
description: z.ZodOptional<z.ZodString>;
|
|
1640
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1641
1814
|
describe: z.ZodOptional<z.ZodString>;
|
|
1642
1815
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1816
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1643
1817
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1644
1818
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1645
1819
|
type: z.ZodEnum<{
|
|
1820
|
+
custom: "custom";
|
|
1821
|
+
pattern: "pattern";
|
|
1646
1822
|
required: "required";
|
|
1647
1823
|
min: "min";
|
|
1648
1824
|
max: "max";
|
|
1649
1825
|
minLength: "minLength";
|
|
1650
1826
|
maxLength: "maxLength";
|
|
1651
|
-
pattern: "pattern";
|
|
1652
1827
|
email: "email";
|
|
1653
1828
|
url: "url";
|
|
1654
|
-
custom: "custom";
|
|
1655
1829
|
}>;
|
|
1656
1830
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1657
1831
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,7 +1846,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1672
1846
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1673
1847
|
describe: z.ZodOptional<z.ZodString>;
|
|
1674
1848
|
}, z.core.$strip>>>>;
|
|
1675
|
-
isFixed: z.ZodBoolean;
|
|
1676
1849
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1677
1850
|
status: z.ZodEnum<{
|
|
1678
1851
|
D: "D";
|
|
@@ -1680,6 +1853,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1680
1853
|
A: "A";
|
|
1681
1854
|
S: "S";
|
|
1682
1855
|
}>;
|
|
1856
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1857
|
+
left: "left";
|
|
1858
|
+
center: "center";
|
|
1859
|
+
}>>>;
|
|
1683
1860
|
type: z.ZodLiteral<"single_choice">;
|
|
1684
1861
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1685
1862
|
radio: "radio";
|
|
@@ -1705,21 +1882,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1705
1882
|
id: z.ZodString;
|
|
1706
1883
|
title: z.ZodString;
|
|
1707
1884
|
description: z.ZodOptional<z.ZodString>;
|
|
1708
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1709
1885
|
describe: z.ZodOptional<z.ZodString>;
|
|
1710
1886
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1887
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1711
1888
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1712
1889
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1713
1890
|
type: z.ZodEnum<{
|
|
1891
|
+
custom: "custom";
|
|
1892
|
+
pattern: "pattern";
|
|
1714
1893
|
required: "required";
|
|
1715
1894
|
min: "min";
|
|
1716
1895
|
max: "max";
|
|
1717
1896
|
minLength: "minLength";
|
|
1718
1897
|
maxLength: "maxLength";
|
|
1719
|
-
pattern: "pattern";
|
|
1720
1898
|
email: "email";
|
|
1721
1899
|
url: "url";
|
|
1722
|
-
custom: "custom";
|
|
1723
1900
|
}>;
|
|
1724
1901
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1725
1902
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1740,7 +1917,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1740
1917
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1741
1918
|
describe: z.ZodOptional<z.ZodString>;
|
|
1742
1919
|
}, z.core.$strip>>>>;
|
|
1743
|
-
isFixed: z.ZodBoolean;
|
|
1744
1920
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1745
1921
|
status: z.ZodEnum<{
|
|
1746
1922
|
D: "D";
|
|
@@ -1748,6 +1924,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1748
1924
|
A: "A";
|
|
1749
1925
|
S: "S";
|
|
1750
1926
|
}>;
|
|
1927
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1928
|
+
left: "left";
|
|
1929
|
+
center: "center";
|
|
1930
|
+
}>>>;
|
|
1751
1931
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1752
1932
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1753
1933
|
list: "list";
|
|
@@ -1774,21 +1954,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1774
1954
|
id: z.ZodString;
|
|
1775
1955
|
title: z.ZodString;
|
|
1776
1956
|
description: z.ZodOptional<z.ZodString>;
|
|
1777
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1778
1957
|
describe: z.ZodOptional<z.ZodString>;
|
|
1779
1958
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1959
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1780
1960
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1781
1961
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1782
1962
|
type: z.ZodEnum<{
|
|
1963
|
+
custom: "custom";
|
|
1964
|
+
pattern: "pattern";
|
|
1783
1965
|
required: "required";
|
|
1784
1966
|
min: "min";
|
|
1785
1967
|
max: "max";
|
|
1786
1968
|
minLength: "minLength";
|
|
1787
1969
|
maxLength: "maxLength";
|
|
1788
|
-
pattern: "pattern";
|
|
1789
1970
|
email: "email";
|
|
1790
1971
|
url: "url";
|
|
1791
|
-
custom: "custom";
|
|
1792
1972
|
}>;
|
|
1793
1973
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1794
1974
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1809,7 +1989,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1809
1989
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1810
1990
|
describe: z.ZodOptional<z.ZodString>;
|
|
1811
1991
|
}, z.core.$strip>>>>;
|
|
1812
|
-
isFixed: z.ZodBoolean;
|
|
1813
1992
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1814
1993
|
status: z.ZodEnum<{
|
|
1815
1994
|
D: "D";
|
|
@@ -1817,6 +1996,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1817
1996
|
A: "A";
|
|
1818
1997
|
S: "S";
|
|
1819
1998
|
}>;
|
|
1999
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2000
|
+
left: "left";
|
|
2001
|
+
center: "center";
|
|
2002
|
+
}>>>;
|
|
1820
2003
|
type: z.ZodLiteral<"nps">;
|
|
1821
2004
|
min: z.ZodLiteral<0>;
|
|
1822
2005
|
max: z.ZodLiteral<10>;
|
|
@@ -1828,21 +2011,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1828
2011
|
id: z.ZodString;
|
|
1829
2012
|
title: z.ZodString;
|
|
1830
2013
|
description: z.ZodOptional<z.ZodString>;
|
|
1831
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1832
2014
|
describe: z.ZodOptional<z.ZodString>;
|
|
1833
2015
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2016
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1834
2017
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1835
2018
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1836
2019
|
type: z.ZodEnum<{
|
|
2020
|
+
custom: "custom";
|
|
2021
|
+
pattern: "pattern";
|
|
1837
2022
|
required: "required";
|
|
1838
2023
|
min: "min";
|
|
1839
2024
|
max: "max";
|
|
1840
2025
|
minLength: "minLength";
|
|
1841
2026
|
maxLength: "maxLength";
|
|
1842
|
-
pattern: "pattern";
|
|
1843
2027
|
email: "email";
|
|
1844
2028
|
url: "url";
|
|
1845
|
-
custom: "custom";
|
|
1846
2029
|
}>;
|
|
1847
2030
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1848
2031
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1863,7 +2046,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1863
2046
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1864
2047
|
describe: z.ZodOptional<z.ZodString>;
|
|
1865
2048
|
}, z.core.$strip>>>>;
|
|
1866
|
-
isFixed: z.ZodBoolean;
|
|
1867
2049
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1868
2050
|
status: z.ZodEnum<{
|
|
1869
2051
|
D: "D";
|
|
@@ -1871,6 +2053,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1871
2053
|
A: "A";
|
|
1872
2054
|
S: "S";
|
|
1873
2055
|
}>;
|
|
2056
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2057
|
+
left: "left";
|
|
2058
|
+
center: "center";
|
|
2059
|
+
}>>>;
|
|
1874
2060
|
type: z.ZodLiteral<"short_answer">;
|
|
1875
2061
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1876
2062
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1885,21 +2071,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1885
2071
|
id: z.ZodString;
|
|
1886
2072
|
title: z.ZodString;
|
|
1887
2073
|
description: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1889
2074
|
describe: z.ZodOptional<z.ZodString>;
|
|
1890
2075
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2076
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1891
2077
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1892
2078
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1893
2079
|
type: z.ZodEnum<{
|
|
2080
|
+
custom: "custom";
|
|
2081
|
+
pattern: "pattern";
|
|
1894
2082
|
required: "required";
|
|
1895
2083
|
min: "min";
|
|
1896
2084
|
max: "max";
|
|
1897
2085
|
minLength: "minLength";
|
|
1898
2086
|
maxLength: "maxLength";
|
|
1899
|
-
pattern: "pattern";
|
|
1900
2087
|
email: "email";
|
|
1901
2088
|
url: "url";
|
|
1902
|
-
custom: "custom";
|
|
1903
2089
|
}>;
|
|
1904
2090
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1905
2091
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1920,7 +2106,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1920
2106
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1921
2107
|
describe: z.ZodOptional<z.ZodString>;
|
|
1922
2108
|
}, z.core.$strip>>>>;
|
|
1923
|
-
isFixed: z.ZodBoolean;
|
|
1924
2109
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1925
2110
|
status: z.ZodEnum<{
|
|
1926
2111
|
D: "D";
|
|
@@ -1928,6 +2113,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1928
2113
|
A: "A";
|
|
1929
2114
|
S: "S";
|
|
1930
2115
|
}>;
|
|
2116
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2117
|
+
left: "left";
|
|
2118
|
+
center: "center";
|
|
2119
|
+
}>>>;
|
|
1931
2120
|
type: z.ZodLiteral<"long_text">;
|
|
1932
2121
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1933
2122
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1941,21 +2130,21 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1941
2130
|
id: z.ZodString;
|
|
1942
2131
|
title: z.ZodString;
|
|
1943
2132
|
description: z.ZodOptional<z.ZodString>;
|
|
1944
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1945
2133
|
describe: z.ZodOptional<z.ZodString>;
|
|
1946
2134
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2135
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1947
2136
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1948
2137
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1949
2138
|
type: z.ZodEnum<{
|
|
2139
|
+
custom: "custom";
|
|
2140
|
+
pattern: "pattern";
|
|
1950
2141
|
required: "required";
|
|
1951
2142
|
min: "min";
|
|
1952
2143
|
max: "max";
|
|
1953
2144
|
minLength: "minLength";
|
|
1954
2145
|
maxLength: "maxLength";
|
|
1955
|
-
pattern: "pattern";
|
|
1956
2146
|
email: "email";
|
|
1957
2147
|
url: "url";
|
|
1958
|
-
custom: "custom";
|
|
1959
2148
|
}>;
|
|
1960
2149
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1961
2150
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1976,7 +2165,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1976
2165
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1977
2166
|
describe: z.ZodOptional<z.ZodString>;
|
|
1978
2167
|
}, z.core.$strip>>>>;
|
|
1979
|
-
isFixed: z.ZodBoolean;
|
|
1980
2168
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1981
2169
|
status: z.ZodEnum<{
|
|
1982
2170
|
D: "D";
|
|
@@ -1984,6 +2172,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1984
2172
|
A: "A";
|
|
1985
2173
|
S: "S";
|
|
1986
2174
|
}>;
|
|
2175
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2176
|
+
left: "left";
|
|
2177
|
+
center: "center";
|
|
2178
|
+
}>>>;
|
|
1987
2179
|
type: z.ZodLiteral<"nested_selection">;
|
|
1988
2180
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1989
2181
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2005,13 +2197,20 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2005
2197
|
sections: z.ZodArray<z.ZodObject<{
|
|
2006
2198
|
id: z.ZodString;
|
|
2007
2199
|
title: z.ZodString;
|
|
2200
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2201
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2202
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2203
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2204
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
2205
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2207
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
2008
2208
|
questionIds: z.ZodArray<z.ZodString>;
|
|
2009
2209
|
}, z.core.$strip>>;
|
|
2010
2210
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2011
2211
|
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
2012
2212
|
value: z.ZodString;
|
|
2013
2213
|
label: z.ZodString;
|
|
2014
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
2015
2214
|
}, z.core.$strip>>;
|
|
2016
2215
|
}, z.core.$strip>;
|
|
2017
2216
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2059,66 +2258,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2059
2258
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
2060
2259
|
}, z.core.$strip>>;
|
|
2061
2260
|
}, z.core.$strip>], "isEnabled">;
|
|
2062
|
-
welcomeScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2063
|
-
isEnabled: z.ZodLiteral<false>;
|
|
2064
|
-
welcomeFields: z.ZodOptional<z.ZodObject<{
|
|
2065
|
-
title: z.ZodString;
|
|
2066
|
-
description: z.ZodString;
|
|
2067
|
-
buttonLabel: z.ZodString;
|
|
2068
|
-
}, z.core.$strip>>;
|
|
2069
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2070
|
-
title: z.ZodString;
|
|
2071
|
-
description: z.ZodString;
|
|
2072
|
-
buttonLabel: z.ZodString;
|
|
2073
|
-
}, z.core.$strip>>>;
|
|
2074
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2075
|
-
isEnabled: z.ZodLiteral<true>;
|
|
2076
|
-
welcomeFields: z.ZodObject<{
|
|
2077
|
-
title: z.ZodString;
|
|
2078
|
-
description: z.ZodString;
|
|
2079
|
-
buttonLabel: z.ZodString;
|
|
2080
|
-
}, z.core.$strip>;
|
|
2081
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2082
|
-
title: z.ZodString;
|
|
2083
|
-
description: z.ZodString;
|
|
2084
|
-
buttonLabel: z.ZodString;
|
|
2085
|
-
}, z.core.$strip>>;
|
|
2086
|
-
}, z.core.$strip>], "isEnabled">;
|
|
2087
|
-
endScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2088
|
-
isEnabled: z.ZodLiteral<false>;
|
|
2089
|
-
endFields: z.ZodOptional<z.ZodObject<{
|
|
2090
|
-
title: z.ZodString;
|
|
2091
|
-
message: z.ZodString;
|
|
2092
|
-
buttonLabel: z.ZodString;
|
|
2093
|
-
dismissBehavior: z.ZodEnum<{
|
|
2094
|
-
fade: "fade";
|
|
2095
|
-
manual: "manual";
|
|
2096
|
-
}>;
|
|
2097
|
-
fadeDuration: z.ZodNumber;
|
|
2098
|
-
}, z.core.$strip>>;
|
|
2099
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2100
|
-
buttonLabel: z.ZodString;
|
|
2101
|
-
title: z.ZodString;
|
|
2102
|
-
message: z.ZodString;
|
|
2103
|
-
}, z.core.$strip>>>;
|
|
2104
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2105
|
-
isEnabled: z.ZodLiteral<true>;
|
|
2106
|
-
endFields: z.ZodObject<{
|
|
2107
|
-
title: z.ZodString;
|
|
2108
|
-
message: z.ZodString;
|
|
2109
|
-
buttonLabel: z.ZodString;
|
|
2110
|
-
dismissBehavior: z.ZodEnum<{
|
|
2111
|
-
fade: "fade";
|
|
2112
|
-
manual: "manual";
|
|
2113
|
-
}>;
|
|
2114
|
-
fadeDuration: z.ZodNumber;
|
|
2115
|
-
}, z.core.$strip>;
|
|
2116
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2117
|
-
buttonLabel: z.ZodString;
|
|
2118
|
-
title: z.ZodString;
|
|
2119
|
-
message: z.ZodString;
|
|
2120
|
-
}, z.core.$strip>>;
|
|
2121
|
-
}, z.core.$strip>], "isEnabled">;
|
|
2122
2261
|
appearanceProperties: z.ZodObject<{
|
|
2123
2262
|
themeConfiguration: z.ZodObject<{
|
|
2124
2263
|
themes: z.ZodObject<{
|
|
@@ -2135,14 +2274,12 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2135
2274
|
progressBar: z.ZodBoolean;
|
|
2136
2275
|
showBranding: z.ZodBoolean;
|
|
2137
2276
|
customPosition: z.ZodBoolean;
|
|
2138
|
-
customIconPosition: z.ZodBoolean;
|
|
2139
2277
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2140
2278
|
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
2141
2279
|
light: "light";
|
|
2142
2280
|
dark: "dark";
|
|
2143
2281
|
system: "system";
|
|
2144
2282
|
}>>;
|
|
2145
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2146
2283
|
rtl: z.ZodBoolean;
|
|
2147
2284
|
previousButton: z.ZodEnum<{
|
|
2148
2285
|
never: "never";
|
|
@@ -2269,7 +2406,6 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2269
2406
|
customPosition: z.ZodBoolean;
|
|
2270
2407
|
customIconPosition: z.ZodBoolean;
|
|
2271
2408
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2272
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2273
2409
|
rtl: z.ZodBoolean;
|
|
2274
2410
|
previousButton: z.ZodEnum<{
|
|
2275
2411
|
never: "never";
|
|
@@ -2280,28 +2416,6 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2280
2416
|
selectedIconPosition: z.ZodString;
|
|
2281
2417
|
selectedPosition: z.ZodString;
|
|
2282
2418
|
}, z.core.$strip>;
|
|
2283
|
-
frequencyAndScheduling: z.ZodOptional<z.ZodObject<{
|
|
2284
|
-
surveyType: z.ZodEnum<{
|
|
2285
|
-
S: "S";
|
|
2286
|
-
R: "R";
|
|
2287
|
-
}>;
|
|
2288
|
-
showOnce: z.ZodEnum<{
|
|
2289
|
-
Y: "Y";
|
|
2290
|
-
N: "N";
|
|
2291
|
-
}>;
|
|
2292
|
-
stopWhenResponsesCount: z.ZodString;
|
|
2293
|
-
recurringValue: z.ZodString;
|
|
2294
|
-
recurringUnit: z.ZodEnum<{
|
|
2295
|
-
minutes: "minutes";
|
|
2296
|
-
hours: "hours";
|
|
2297
|
-
days: "days";
|
|
2298
|
-
weeks: "weeks";
|
|
2299
|
-
months: "months";
|
|
2300
|
-
years: "years";
|
|
2301
|
-
}>;
|
|
2302
|
-
startDate: z.ZodString;
|
|
2303
|
-
stopDate: z.ZodString;
|
|
2304
|
-
}, z.core.$strip>>;
|
|
2305
2419
|
}, z.core.$strip>>;
|
|
2306
2420
|
}, z.core.$strict>;
|
|
2307
2421
|
export type FeedbackConfigurationItem = z.infer<typeof feedbackConfigurationItemSchema>;
|