@encatch/schema 1.0.1-beta.2 → 1.1.0-beta.10
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 +562 -608
- package/dist/esm/index.js.map +4 -4
- package/dist/types/index.d.ts +5 -5
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +320 -135
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +2 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +174 -58
- package/dist/types/schemas/fields/field-schema.d.ts +296 -80
- package/dist/types/schemas/fields/form-properties-schema.d.ts +184 -101
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/theme-schema.d.ts +20 -22
- package/dist/types/schemas/fields/translations-schema.d.ts +121 -16
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28
28
|
id: z.ZodString;
|
|
29
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
29
30
|
title: z.ZodString;
|
|
30
31
|
description: z.ZodOptional<z.ZodString>;
|
|
31
32
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -34,15 +35,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
34
35
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
35
36
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
37
|
type: z.ZodEnum<{
|
|
38
|
+
custom: "custom";
|
|
39
|
+
pattern: "pattern";
|
|
37
40
|
required: "required";
|
|
38
41
|
min: "min";
|
|
39
42
|
max: "max";
|
|
40
43
|
minLength: "minLength";
|
|
41
44
|
maxLength: "maxLength";
|
|
42
|
-
pattern: "pattern";
|
|
43
45
|
email: "email";
|
|
44
46
|
url: "url";
|
|
45
|
-
custom: "custom";
|
|
46
47
|
}>;
|
|
47
48
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
48
49
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -73,7 +74,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
73
74
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
74
75
|
left: "left";
|
|
75
76
|
center: "center";
|
|
77
|
+
justify: "justify";
|
|
76
78
|
}>>>;
|
|
79
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
77
80
|
type: z.ZodLiteral<"rating">;
|
|
78
81
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
79
82
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -95,6 +98,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
95
98
|
color: z.ZodOptional<z.ZodString>;
|
|
96
99
|
}, z.core.$strip>, z.ZodObject<{
|
|
97
100
|
id: z.ZodString;
|
|
101
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
98
102
|
title: z.ZodString;
|
|
99
103
|
description: z.ZodOptional<z.ZodString>;
|
|
100
104
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -103,15 +107,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
103
107
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
104
108
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
109
|
type: z.ZodEnum<{
|
|
110
|
+
custom: "custom";
|
|
111
|
+
pattern: "pattern";
|
|
106
112
|
required: "required";
|
|
107
113
|
min: "min";
|
|
108
114
|
max: "max";
|
|
109
115
|
minLength: "minLength";
|
|
110
116
|
maxLength: "maxLength";
|
|
111
|
-
pattern: "pattern";
|
|
112
117
|
email: "email";
|
|
113
118
|
url: "url";
|
|
114
|
-
custom: "custom";
|
|
115
119
|
}>;
|
|
116
120
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
117
121
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -142,27 +146,30 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
142
146
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
143
147
|
left: "left";
|
|
144
148
|
center: "center";
|
|
149
|
+
justify: "justify";
|
|
145
150
|
}>>>;
|
|
151
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
146
152
|
type: z.ZodLiteral<"annotation">;
|
|
147
153
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
148
154
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
149
155
|
}, z.core.$strip>, z.ZodObject<{
|
|
150
156
|
id: z.ZodString;
|
|
157
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
151
158
|
describe: z.ZodOptional<z.ZodString>;
|
|
152
159
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
153
160
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
154
161
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
155
162
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
163
|
type: z.ZodEnum<{
|
|
164
|
+
custom: "custom";
|
|
165
|
+
pattern: "pattern";
|
|
157
166
|
required: "required";
|
|
158
167
|
min: "min";
|
|
159
168
|
max: "max";
|
|
160
169
|
minLength: "minLength";
|
|
161
170
|
maxLength: "maxLength";
|
|
162
|
-
pattern: "pattern";
|
|
163
171
|
email: "email";
|
|
164
172
|
url: "url";
|
|
165
|
-
custom: "custom";
|
|
166
173
|
}>;
|
|
167
174
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
168
175
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -193,29 +200,31 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
193
200
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
194
201
|
left: "left";
|
|
195
202
|
center: "center";
|
|
203
|
+
justify: "justify";
|
|
196
204
|
}>>>;
|
|
205
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
197
206
|
type: z.ZodLiteral<"welcome">;
|
|
198
207
|
title: z.ZodString;
|
|
199
208
|
description: z.ZodOptional<z.ZodString>;
|
|
200
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
201
209
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
202
210
|
}, z.core.$strip>, z.ZodObject<{
|
|
203
211
|
id: z.ZodString;
|
|
212
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
204
213
|
describe: z.ZodOptional<z.ZodString>;
|
|
205
214
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
206
215
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
207
216
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
208
217
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
218
|
type: z.ZodEnum<{
|
|
219
|
+
custom: "custom";
|
|
220
|
+
pattern: "pattern";
|
|
210
221
|
required: "required";
|
|
211
222
|
min: "min";
|
|
212
223
|
max: "max";
|
|
213
224
|
minLength: "minLength";
|
|
214
225
|
maxLength: "maxLength";
|
|
215
|
-
pattern: "pattern";
|
|
216
226
|
email: "email";
|
|
217
227
|
url: "url";
|
|
218
|
-
custom: "custom";
|
|
219
228
|
}>;
|
|
220
229
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
221
230
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -246,29 +255,31 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
246
255
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
247
256
|
left: "left";
|
|
248
257
|
center: "center";
|
|
258
|
+
justify: "justify";
|
|
249
259
|
}>>>;
|
|
260
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
250
261
|
type: z.ZodLiteral<"thank_you">;
|
|
251
262
|
title: z.ZodString;
|
|
252
263
|
description: z.ZodOptional<z.ZodString>;
|
|
253
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
254
264
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
255
265
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
266
|
id: z.ZodString;
|
|
267
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
257
268
|
describe: z.ZodOptional<z.ZodString>;
|
|
258
269
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
259
270
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
260
271
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
261
272
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
262
273
|
type: z.ZodEnum<{
|
|
274
|
+
custom: "custom";
|
|
275
|
+
pattern: "pattern";
|
|
263
276
|
required: "required";
|
|
264
277
|
min: "min";
|
|
265
278
|
max: "max";
|
|
266
279
|
minLength: "minLength";
|
|
267
280
|
maxLength: "maxLength";
|
|
268
|
-
pattern: "pattern";
|
|
269
281
|
email: "email";
|
|
270
282
|
url: "url";
|
|
271
|
-
custom: "custom";
|
|
272
283
|
}>;
|
|
273
284
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
274
285
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -299,14 +310,16 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
299
310
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
300
311
|
left: "left";
|
|
301
312
|
center: "center";
|
|
313
|
+
justify: "justify";
|
|
302
314
|
}>>>;
|
|
315
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
303
316
|
type: z.ZodLiteral<"message_panel">;
|
|
304
317
|
title: z.ZodString;
|
|
305
318
|
description: z.ZodOptional<z.ZodString>;
|
|
306
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
307
319
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
308
320
|
}, z.core.$strip>, z.ZodObject<{
|
|
309
321
|
id: z.ZodString;
|
|
322
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
310
323
|
title: z.ZodString;
|
|
311
324
|
description: z.ZodOptional<z.ZodString>;
|
|
312
325
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -315,15 +328,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
315
328
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
316
329
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
330
|
type: z.ZodEnum<{
|
|
331
|
+
custom: "custom";
|
|
332
|
+
pattern: "pattern";
|
|
318
333
|
required: "required";
|
|
319
334
|
min: "min";
|
|
320
335
|
max: "max";
|
|
321
336
|
minLength: "minLength";
|
|
322
337
|
maxLength: "maxLength";
|
|
323
|
-
pattern: "pattern";
|
|
324
338
|
email: "email";
|
|
325
339
|
url: "url";
|
|
326
|
-
custom: "custom";
|
|
327
340
|
}>;
|
|
328
341
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
329
342
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -354,10 +367,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
354
367
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
355
368
|
left: "left";
|
|
356
369
|
center: "center";
|
|
370
|
+
justify: "justify";
|
|
357
371
|
}>>>;
|
|
372
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
358
373
|
type: z.ZodLiteral<"exit_form">;
|
|
359
374
|
}, z.core.$strip>, z.ZodObject<{
|
|
360
375
|
id: z.ZodString;
|
|
376
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
361
377
|
title: z.ZodString;
|
|
362
378
|
description: z.ZodOptional<z.ZodString>;
|
|
363
379
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -366,15 +382,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
366
382
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
367
383
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
368
384
|
type: z.ZodEnum<{
|
|
385
|
+
custom: "custom";
|
|
386
|
+
pattern: "pattern";
|
|
369
387
|
required: "required";
|
|
370
388
|
min: "min";
|
|
371
389
|
max: "max";
|
|
372
390
|
minLength: "minLength";
|
|
373
391
|
maxLength: "maxLength";
|
|
374
|
-
pattern: "pattern";
|
|
375
392
|
email: "email";
|
|
376
393
|
url: "url";
|
|
377
|
-
custom: "custom";
|
|
378
394
|
}>;
|
|
379
395
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
380
396
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -405,7 +421,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
405
421
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
406
422
|
left: "left";
|
|
407
423
|
center: "center";
|
|
424
|
+
justify: "justify";
|
|
408
425
|
}>>>;
|
|
426
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
409
427
|
type: z.ZodLiteral<"yes_no">;
|
|
410
428
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
411
429
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -415,6 +433,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
415
433
|
}>>;
|
|
416
434
|
}, z.core.$strip>, z.ZodObject<{
|
|
417
435
|
id: z.ZodString;
|
|
436
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
418
437
|
title: z.ZodString;
|
|
419
438
|
description: z.ZodOptional<z.ZodString>;
|
|
420
439
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -423,15 +442,69 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
423
442
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
424
443
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
444
|
type: z.ZodEnum<{
|
|
445
|
+
custom: "custom";
|
|
446
|
+
pattern: "pattern";
|
|
426
447
|
required: "required";
|
|
427
448
|
min: "min";
|
|
428
449
|
max: "max";
|
|
429
450
|
minLength: "minLength";
|
|
430
451
|
maxLength: "maxLength";
|
|
431
|
-
pattern: "pattern";
|
|
432
452
|
email: "email";
|
|
433
453
|
url: "url";
|
|
454
|
+
}>;
|
|
455
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
456
|
+
message: z.ZodOptional<z.ZodString>;
|
|
457
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
458
|
+
}, z.core.$strip>>>>;
|
|
459
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
460
|
+
field: z.ZodString;
|
|
461
|
+
operator: z.ZodEnum<{
|
|
462
|
+
equals: "equals";
|
|
463
|
+
not_equals: "not_equals";
|
|
464
|
+
contains: "contains";
|
|
465
|
+
not_contains: "not_contains";
|
|
466
|
+
greater_than: "greater_than";
|
|
467
|
+
less_than: "less_than";
|
|
468
|
+
is_empty: "is_empty";
|
|
469
|
+
is_not_empty: "is_not_empty";
|
|
470
|
+
}>;
|
|
471
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
472
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
473
|
+
}, z.core.$strip>>>>;
|
|
474
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
475
|
+
status: z.ZodEnum<{
|
|
476
|
+
D: "D";
|
|
477
|
+
P: "P";
|
|
478
|
+
A: "A";
|
|
479
|
+
S: "S";
|
|
480
|
+
}>;
|
|
481
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
482
|
+
left: "left";
|
|
483
|
+
center: "center";
|
|
484
|
+
justify: "justify";
|
|
485
|
+
}>>>;
|
|
486
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
487
|
+
type: z.ZodLiteral<"consent">;
|
|
488
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
489
|
+
id: z.ZodString;
|
|
490
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
491
|
+
title: z.ZodString;
|
|
492
|
+
description: z.ZodOptional<z.ZodString>;
|
|
493
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
494
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
495
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
496
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
497
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
498
|
+
type: z.ZodEnum<{
|
|
434
499
|
custom: "custom";
|
|
500
|
+
pattern: "pattern";
|
|
501
|
+
required: "required";
|
|
502
|
+
min: "min";
|
|
503
|
+
max: "max";
|
|
504
|
+
minLength: "minLength";
|
|
505
|
+
maxLength: "maxLength";
|
|
506
|
+
email: "email";
|
|
507
|
+
url: "url";
|
|
435
508
|
}>;
|
|
436
509
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
437
510
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -462,7 +535,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
462
535
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
463
536
|
left: "left";
|
|
464
537
|
center: "center";
|
|
538
|
+
justify: "justify";
|
|
465
539
|
}>>>;
|
|
540
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
466
541
|
type: z.ZodLiteral<"rating_matrix">;
|
|
467
542
|
statements: z.ZodArray<z.ZodObject<{
|
|
468
543
|
id: z.ZodString;
|
|
@@ -505,6 +580,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
505
580
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
506
581
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
582
|
id: z.ZodString;
|
|
583
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
508
584
|
title: z.ZodString;
|
|
509
585
|
description: z.ZodOptional<z.ZodString>;
|
|
510
586
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -513,15 +589,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
513
589
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
514
590
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
591
|
type: z.ZodEnum<{
|
|
592
|
+
custom: "custom";
|
|
593
|
+
pattern: "pattern";
|
|
516
594
|
required: "required";
|
|
517
595
|
min: "min";
|
|
518
596
|
max: "max";
|
|
519
597
|
minLength: "minLength";
|
|
520
598
|
maxLength: "maxLength";
|
|
521
|
-
pattern: "pattern";
|
|
522
599
|
email: "email";
|
|
523
600
|
url: "url";
|
|
524
|
-
custom: "custom";
|
|
525
601
|
}>;
|
|
526
602
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
527
603
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -552,7 +628,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
552
628
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
553
629
|
left: "left";
|
|
554
630
|
center: "center";
|
|
631
|
+
justify: "justify";
|
|
555
632
|
}>>>;
|
|
633
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
634
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
557
635
|
rows: z.ZodArray<z.ZodObject<{
|
|
558
636
|
id: z.ZodString;
|
|
@@ -570,6 +648,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
570
648
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
571
649
|
}, z.core.$strip>, z.ZodObject<{
|
|
572
650
|
id: z.ZodString;
|
|
651
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
573
652
|
title: z.ZodString;
|
|
574
653
|
description: z.ZodOptional<z.ZodString>;
|
|
575
654
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -578,15 +657,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
578
657
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
579
658
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
580
659
|
type: z.ZodEnum<{
|
|
660
|
+
custom: "custom";
|
|
661
|
+
pattern: "pattern";
|
|
581
662
|
required: "required";
|
|
582
663
|
min: "min";
|
|
583
664
|
max: "max";
|
|
584
665
|
minLength: "minLength";
|
|
585
666
|
maxLength: "maxLength";
|
|
586
|
-
pattern: "pattern";
|
|
587
667
|
email: "email";
|
|
588
668
|
url: "url";
|
|
589
|
-
custom: "custom";
|
|
590
669
|
}>;
|
|
591
670
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
592
671
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -617,7 +696,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
617
696
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
618
697
|
left: "left";
|
|
619
698
|
center: "center";
|
|
699
|
+
justify: "justify";
|
|
620
700
|
}>>>;
|
|
701
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
621
702
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
622
703
|
rows: z.ZodArray<z.ZodObject<{
|
|
623
704
|
id: z.ZodString;
|
|
@@ -637,6 +718,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
637
718
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
638
719
|
}, z.core.$strip>, z.ZodObject<{
|
|
639
720
|
id: z.ZodString;
|
|
721
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
640
722
|
title: z.ZodString;
|
|
641
723
|
description: z.ZodOptional<z.ZodString>;
|
|
642
724
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -645,15 +727,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
645
727
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
646
728
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
729
|
type: z.ZodEnum<{
|
|
730
|
+
custom: "custom";
|
|
731
|
+
pattern: "pattern";
|
|
648
732
|
required: "required";
|
|
649
733
|
min: "min";
|
|
650
734
|
max: "max";
|
|
651
735
|
minLength: "minLength";
|
|
652
736
|
maxLength: "maxLength";
|
|
653
|
-
pattern: "pattern";
|
|
654
737
|
email: "email";
|
|
655
738
|
url: "url";
|
|
656
|
-
custom: "custom";
|
|
657
739
|
}>;
|
|
658
740
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
659
741
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -684,7 +766,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
684
766
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
685
767
|
left: "left";
|
|
686
768
|
center: "center";
|
|
769
|
+
justify: "justify";
|
|
687
770
|
}>>>;
|
|
771
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
688
772
|
type: z.ZodLiteral<"single_choice">;
|
|
689
773
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
690
774
|
radio: "radio";
|
|
@@ -708,6 +792,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
708
792
|
}, z.core.$strip>>;
|
|
709
793
|
}, z.core.$strip>, z.ZodObject<{
|
|
710
794
|
id: z.ZodString;
|
|
795
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
711
796
|
title: z.ZodString;
|
|
712
797
|
description: z.ZodOptional<z.ZodString>;
|
|
713
798
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -716,15 +801,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
716
801
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
717
802
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
718
803
|
type: z.ZodEnum<{
|
|
804
|
+
custom: "custom";
|
|
805
|
+
pattern: "pattern";
|
|
719
806
|
required: "required";
|
|
720
807
|
min: "min";
|
|
721
808
|
max: "max";
|
|
722
809
|
minLength: "minLength";
|
|
723
810
|
maxLength: "maxLength";
|
|
724
|
-
pattern: "pattern";
|
|
725
811
|
email: "email";
|
|
726
812
|
url: "url";
|
|
727
|
-
custom: "custom";
|
|
728
813
|
}>;
|
|
729
814
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
730
815
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -755,7 +840,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
755
840
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
756
841
|
left: "left";
|
|
757
842
|
center: "center";
|
|
843
|
+
justify: "justify";
|
|
758
844
|
}>>>;
|
|
845
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
759
846
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
760
847
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
761
848
|
list: "list";
|
|
@@ -780,6 +867,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
780
867
|
}, z.core.$strip>>;
|
|
781
868
|
}, z.core.$strip>, z.ZodObject<{
|
|
782
869
|
id: z.ZodString;
|
|
870
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
783
871
|
title: z.ZodString;
|
|
784
872
|
description: z.ZodOptional<z.ZodString>;
|
|
785
873
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -788,15 +876,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
788
876
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
789
877
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
790
878
|
type: z.ZodEnum<{
|
|
879
|
+
custom: "custom";
|
|
880
|
+
pattern: "pattern";
|
|
791
881
|
required: "required";
|
|
792
882
|
min: "min";
|
|
793
883
|
max: "max";
|
|
794
884
|
minLength: "minLength";
|
|
795
885
|
maxLength: "maxLength";
|
|
796
|
-
pattern: "pattern";
|
|
797
886
|
email: "email";
|
|
798
887
|
url: "url";
|
|
799
|
-
custom: "custom";
|
|
800
888
|
}>;
|
|
801
889
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
802
890
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -827,7 +915,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
827
915
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
828
916
|
left: "left";
|
|
829
917
|
center: "center";
|
|
918
|
+
justify: "justify";
|
|
830
919
|
}>>>;
|
|
920
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
831
921
|
type: z.ZodLiteral<"nps">;
|
|
832
922
|
min: z.ZodLiteral<0>;
|
|
833
923
|
max: z.ZodLiteral<10>;
|
|
@@ -837,6 +927,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
837
927
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
838
928
|
}, z.core.$strip>, z.ZodObject<{
|
|
839
929
|
id: z.ZodString;
|
|
930
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
840
931
|
title: z.ZodString;
|
|
841
932
|
description: z.ZodOptional<z.ZodString>;
|
|
842
933
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -845,15 +936,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
845
936
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
846
937
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
847
938
|
type: z.ZodEnum<{
|
|
939
|
+
custom: "custom";
|
|
940
|
+
pattern: "pattern";
|
|
848
941
|
required: "required";
|
|
849
942
|
min: "min";
|
|
850
943
|
max: "max";
|
|
851
944
|
minLength: "minLength";
|
|
852
945
|
maxLength: "maxLength";
|
|
853
|
-
pattern: "pattern";
|
|
854
946
|
email: "email";
|
|
855
947
|
url: "url";
|
|
856
|
-
custom: "custom";
|
|
857
948
|
}>;
|
|
858
949
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
859
950
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -884,7 +975,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
884
975
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
885
976
|
left: "left";
|
|
886
977
|
center: "center";
|
|
978
|
+
justify: "justify";
|
|
887
979
|
}>>>;
|
|
980
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
888
981
|
type: z.ZodLiteral<"short_answer">;
|
|
889
982
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
890
983
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -897,6 +990,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
897
990
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
898
991
|
}, z.core.$strip>, z.ZodObject<{
|
|
899
992
|
id: z.ZodString;
|
|
993
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
900
994
|
title: z.ZodString;
|
|
901
995
|
description: z.ZodOptional<z.ZodString>;
|
|
902
996
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -905,15 +999,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
905
999
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
906
1000
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
907
1001
|
type: z.ZodEnum<{
|
|
1002
|
+
custom: "custom";
|
|
1003
|
+
pattern: "pattern";
|
|
908
1004
|
required: "required";
|
|
909
1005
|
min: "min";
|
|
910
1006
|
max: "max";
|
|
911
1007
|
minLength: "minLength";
|
|
912
1008
|
maxLength: "maxLength";
|
|
913
|
-
pattern: "pattern";
|
|
914
1009
|
email: "email";
|
|
915
1010
|
url: "url";
|
|
916
|
-
custom: "custom";
|
|
917
1011
|
}>;
|
|
918
1012
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
919
1013
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -944,7 +1038,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
944
1038
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
945
1039
|
left: "left";
|
|
946
1040
|
center: "center";
|
|
1041
|
+
justify: "justify";
|
|
947
1042
|
}>>>;
|
|
1043
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
948
1044
|
type: z.ZodLiteral<"long_text">;
|
|
949
1045
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
950
1046
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -956,6 +1052,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
956
1052
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
957
1053
|
}, z.core.$strip>, z.ZodObject<{
|
|
958
1054
|
id: z.ZodString;
|
|
1055
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
959
1056
|
title: z.ZodString;
|
|
960
1057
|
description: z.ZodOptional<z.ZodString>;
|
|
961
1058
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -964,15 +1061,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
964
1061
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
965
1062
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
966
1063
|
type: z.ZodEnum<{
|
|
1064
|
+
custom: "custom";
|
|
1065
|
+
pattern: "pattern";
|
|
967
1066
|
required: "required";
|
|
968
1067
|
min: "min";
|
|
969
1068
|
max: "max";
|
|
970
1069
|
minLength: "minLength";
|
|
971
1070
|
maxLength: "maxLength";
|
|
972
|
-
pattern: "pattern";
|
|
973
1071
|
email: "email";
|
|
974
1072
|
url: "url";
|
|
975
|
-
custom: "custom";
|
|
976
1073
|
}>;
|
|
977
1074
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
978
1075
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1003,7 +1100,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1003
1100
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1004
1101
|
left: "left";
|
|
1005
1102
|
center: "center";
|
|
1103
|
+
justify: "justify";
|
|
1006
1104
|
}>>>;
|
|
1105
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1007
1106
|
type: z.ZodLiteral<"nested_selection">;
|
|
1008
1107
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1009
1108
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1029,13 +1128,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1029
1128
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1030
1129
|
isEnabled: z.ZodLiteral<false>;
|
|
1031
1130
|
otherFields: z.ZodObject<{
|
|
1032
|
-
pagination: z.ZodBoolean;
|
|
1033
1131
|
questionNumber: z.ZodBoolean;
|
|
1034
|
-
pageTitle: z.ZodBoolean;
|
|
1035
|
-
blockerFeedback: z.ZodBoolean;
|
|
1036
1132
|
submitButtonLabel: z.ZodString;
|
|
1037
1133
|
previousButtonLabel: z.ZodString;
|
|
1038
|
-
nextButtonLabel: z.ZodString;
|
|
1039
1134
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1040
1135
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1041
1136
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1043,7 +1138,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1043
1138
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1044
1139
|
submitButtonLabel: z.ZodString;
|
|
1045
1140
|
previousButtonLabel: z.ZodString;
|
|
1046
|
-
nextButtonLabel: z.ZodString;
|
|
1047
1141
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1048
1142
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1049
1143
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1051,13 +1145,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1051
1145
|
}, z.core.$strip>, z.ZodObject<{
|
|
1052
1146
|
isEnabled: z.ZodLiteral<true>;
|
|
1053
1147
|
otherFields: z.ZodObject<{
|
|
1054
|
-
pagination: z.ZodBoolean;
|
|
1055
1148
|
questionNumber: z.ZodBoolean;
|
|
1056
|
-
pageTitle: z.ZodBoolean;
|
|
1057
|
-
blockerFeedback: z.ZodBoolean;
|
|
1058
1149
|
submitButtonLabel: z.ZodString;
|
|
1059
1150
|
previousButtonLabel: z.ZodString;
|
|
1060
|
-
nextButtonLabel: z.ZodString;
|
|
1061
1151
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1062
1152
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1063
1153
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1065,7 +1155,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1065
1155
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1066
1156
|
submitButtonLabel: z.ZodString;
|
|
1067
1157
|
previousButtonLabel: z.ZodString;
|
|
1068
|
-
nextButtonLabel: z.ZodString;
|
|
1069
1158
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1070
1159
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1071
1160
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1075,6 +1164,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1075
1164
|
title: z.ZodString;
|
|
1076
1165
|
description: z.ZodOptional<z.ZodString>;
|
|
1077
1166
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1078
1168
|
type: z.ZodLiteral<"rating">;
|
|
1079
1169
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1080
1170
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1082,18 +1172,21 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1082
1172
|
title: z.ZodString;
|
|
1083
1173
|
description: z.ZodOptional<z.ZodString>;
|
|
1084
1174
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1085
1176
|
type: z.ZodLiteral<"single_choice">;
|
|
1086
1177
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1087
1178
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1088
1179
|
title: z.ZodString;
|
|
1089
1180
|
description: z.ZodOptional<z.ZodString>;
|
|
1090
1181
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1091
1183
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1092
1184
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1093
1185
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1094
1186
|
title: z.ZodString;
|
|
1095
1187
|
description: z.ZodOptional<z.ZodString>;
|
|
1096
1188
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1097
1190
|
type: z.ZodLiteral<"nps">;
|
|
1098
1191
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1099
1192
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,24 +1194,28 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1101
1194
|
title: z.ZodString;
|
|
1102
1195
|
description: z.ZodOptional<z.ZodString>;
|
|
1103
1196
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1104
1198
|
type: z.ZodLiteral<"short_answer">;
|
|
1105
1199
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1106
1200
|
}, z.core.$strip>, z.ZodObject<{
|
|
1107
1201
|
title: z.ZodString;
|
|
1108
1202
|
description: z.ZodOptional<z.ZodString>;
|
|
1109
1203
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1110
1205
|
type: z.ZodLiteral<"long_text">;
|
|
1111
1206
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1112
1207
|
}, z.core.$strip>, z.ZodObject<{
|
|
1113
1208
|
title: z.ZodString;
|
|
1114
1209
|
description: z.ZodOptional<z.ZodString>;
|
|
1115
1210
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1116
1212
|
type: z.ZodLiteral<"nested_selection">;
|
|
1117
1213
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1118
1214
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1119
1215
|
title: z.ZodString;
|
|
1120
1216
|
description: z.ZodOptional<z.ZodString>;
|
|
1121
1217
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1122
1219
|
type: z.ZodLiteral<"annotation">;
|
|
1123
1220
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1124
1221
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1126,24 +1223,25 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1126
1223
|
title: z.ZodString;
|
|
1127
1224
|
description: z.ZodOptional<z.ZodString>;
|
|
1128
1225
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1129
1227
|
type: z.ZodLiteral<"welcome">;
|
|
1130
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1131
1228
|
}, z.core.$strip>, z.ZodObject<{
|
|
1132
1229
|
title: z.ZodString;
|
|
1133
1230
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
1231
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1233
|
type: z.ZodLiteral<"thank_you">;
|
|
1136
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1137
1234
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1235
|
title: z.ZodString;
|
|
1139
1236
|
description: z.ZodOptional<z.ZodString>;
|
|
1140
1237
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1141
1239
|
type: z.ZodLiteral<"message_panel">;
|
|
1142
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1143
1240
|
}, z.core.$strip>, z.ZodObject<{
|
|
1144
1241
|
title: z.ZodString;
|
|
1145
1242
|
description: z.ZodOptional<z.ZodString>;
|
|
1146
1243
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1147
1245
|
type: z.ZodLiteral<"yes_no">;
|
|
1148
1246
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1149
1247
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1151,6 +1249,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1151
1249
|
title: z.ZodString;
|
|
1152
1250
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1251
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
type: z.ZodLiteral<"consent">;
|
|
1254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1255
|
+
title: z.ZodString;
|
|
1256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1259
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1155
1260
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1261
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,11 +1263,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1158
1263
|
title: z.ZodString;
|
|
1159
1264
|
description: z.ZodOptional<z.ZodString>;
|
|
1160
1265
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1267
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1162
1268
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1163
1269
|
title: z.ZodString;
|
|
1164
1270
|
description: z.ZodOptional<z.ZodString>;
|
|
1165
1271
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1272
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1166
1273
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1167
1274
|
}, z.core.$catchall<z.ZodString>>]>>>>;
|
|
1168
1275
|
onSectionChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
|
|
@@ -1170,6 +1277,16 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1170
1277
|
sections: z.ZodArray<z.ZodObject<{
|
|
1171
1278
|
id: z.ZodString;
|
|
1172
1279
|
title: z.ZodString;
|
|
1280
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1282
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1283
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1285
|
+
title: z.ZodString;
|
|
1286
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
}, z.core.$strip>>>;
|
|
1289
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1173
1290
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1174
1291
|
}, z.core.$strip>>;
|
|
1175
1292
|
themeSettings: z.ZodObject<{
|
|
@@ -1182,25 +1299,24 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1182
1299
|
}, z.core.$strip>;
|
|
1183
1300
|
}, z.core.$strip>;
|
|
1184
1301
|
featureSettings: z.ZodObject<{
|
|
1185
|
-
darkOverlay: z.ZodBoolean
|
|
1186
|
-
closeButton: z.ZodBoolean
|
|
1187
|
-
progressBar: z.ZodBoolean
|
|
1188
|
-
showBranding: z.ZodBoolean
|
|
1302
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
1303
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
1304
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
1305
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
1189
1306
|
customPosition: z.ZodBoolean;
|
|
1190
|
-
customIconPosition: z.ZodBoolean;
|
|
1191
1307
|
customCss: z.ZodOptional<z.ZodString>;
|
|
1192
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
1308
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1193
1309
|
light: "light";
|
|
1194
1310
|
dark: "dark";
|
|
1195
1311
|
system: "system";
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
rtl: z.ZodBoolean
|
|
1199
|
-
previousButton: z.ZodEnum<{
|
|
1312
|
+
}>>>;
|
|
1313
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
1314
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
1315
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
1200
1316
|
never: "never";
|
|
1201
1317
|
always: "always";
|
|
1202
1318
|
auto: "auto";
|
|
1203
|
-
}
|
|
1319
|
+
}>>;
|
|
1204
1320
|
}, z.core.$strip>;
|
|
1205
1321
|
selectedPosition: z.ZodEnum<{
|
|
1206
1322
|
"top-left": "top-left";
|