@encatch/schema 1.0.1-beta.0 → 1.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +292 -87
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +1225 -240
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +24 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +8 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +579 -87
- package/dist/types/schemas/fields/field-schema.d.ts +1339 -192
- package/dist/types/schemas/fields/form-properties-schema.d.ts +587 -165
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/theme-schema.d.ts +25 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +229 -46
- package/package.json +1 -1
|
@@ -23,15 +23,14 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
23
23
|
currentLanguage: z.ZodObject<{
|
|
24
24
|
value: z.ZodString;
|
|
25
25
|
label: z.ZodString;
|
|
26
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
27
26
|
}, z.core.$strip>;
|
|
28
27
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29
28
|
id: z.ZodString;
|
|
30
29
|
title: z.ZodString;
|
|
31
30
|
description: z.ZodOptional<z.ZodString>;
|
|
32
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
33
31
|
describe: z.ZodOptional<z.ZodString>;
|
|
34
32
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
35
34
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
36
35
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
36
|
type: z.ZodEnum<{
|
|
@@ -64,7 +63,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
64
63
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
65
64
|
describe: z.ZodOptional<z.ZodString>;
|
|
66
65
|
}, z.core.$strip>>>>;
|
|
67
|
-
isFixed: z.ZodBoolean;
|
|
68
66
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
69
67
|
status: z.ZodEnum<{
|
|
70
68
|
D: "D";
|
|
@@ -72,6 +70,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
72
70
|
A: "A";
|
|
73
71
|
S: "S";
|
|
74
72
|
}>;
|
|
73
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
left: "left";
|
|
75
|
+
center: "center";
|
|
76
|
+
}>>>;
|
|
75
77
|
type: z.ZodLiteral<"rating">;
|
|
76
78
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
77
79
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -95,9 +97,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
95
97
|
id: z.ZodString;
|
|
96
98
|
title: z.ZodString;
|
|
97
99
|
description: z.ZodOptional<z.ZodString>;
|
|
98
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
99
100
|
describe: z.ZodOptional<z.ZodString>;
|
|
100
101
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
102
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
101
103
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
102
104
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
103
105
|
type: z.ZodEnum<{
|
|
@@ -130,7 +132,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
130
132
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
131
133
|
describe: z.ZodOptional<z.ZodString>;
|
|
132
134
|
}, z.core.$strip>>>>;
|
|
133
|
-
isFixed: z.ZodBoolean;
|
|
134
135
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
135
136
|
status: z.ZodEnum<{
|
|
136
137
|
D: "D";
|
|
@@ -138,16 +139,71 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
138
139
|
A: "A";
|
|
139
140
|
S: "S";
|
|
140
141
|
}>;
|
|
142
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
143
|
+
left: "left";
|
|
144
|
+
center: "center";
|
|
145
|
+
}>>>;
|
|
141
146
|
type: z.ZodLiteral<"annotation">;
|
|
142
147
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
143
148
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
144
149
|
}, z.core.$strip>, z.ZodObject<{
|
|
145
150
|
id: z.ZodString;
|
|
151
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
152
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
153
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
154
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
155
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
|
+
type: z.ZodEnum<{
|
|
157
|
+
required: "required";
|
|
158
|
+
min: "min";
|
|
159
|
+
max: "max";
|
|
160
|
+
minLength: "minLength";
|
|
161
|
+
maxLength: "maxLength";
|
|
162
|
+
pattern: "pattern";
|
|
163
|
+
email: "email";
|
|
164
|
+
url: "url";
|
|
165
|
+
custom: "custom";
|
|
166
|
+
}>;
|
|
167
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
168
|
+
message: z.ZodOptional<z.ZodString>;
|
|
169
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strip>>>>;
|
|
171
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
172
|
+
field: z.ZodString;
|
|
173
|
+
operator: z.ZodEnum<{
|
|
174
|
+
equals: "equals";
|
|
175
|
+
not_equals: "not_equals";
|
|
176
|
+
contains: "contains";
|
|
177
|
+
not_contains: "not_contains";
|
|
178
|
+
greater_than: "greater_than";
|
|
179
|
+
less_than: "less_than";
|
|
180
|
+
is_empty: "is_empty";
|
|
181
|
+
is_not_empty: "is_not_empty";
|
|
182
|
+
}>;
|
|
183
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
184
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$strip>>>>;
|
|
186
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
187
|
+
status: z.ZodEnum<{
|
|
188
|
+
D: "D";
|
|
189
|
+
P: "P";
|
|
190
|
+
A: "A";
|
|
191
|
+
S: "S";
|
|
192
|
+
}>;
|
|
193
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
194
|
+
left: "left";
|
|
195
|
+
center: "center";
|
|
196
|
+
}>>>;
|
|
197
|
+
type: z.ZodLiteral<"welcome">;
|
|
146
198
|
title: z.ZodString;
|
|
147
199
|
description: z.ZodOptional<z.ZodString>;
|
|
148
|
-
|
|
200
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
201
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
+
id: z.ZodString;
|
|
149
204
|
describe: z.ZodOptional<z.ZodString>;
|
|
150
205
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
206
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
151
207
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
152
208
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
209
|
type: z.ZodEnum<{
|
|
@@ -180,7 +236,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
180
236
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
181
237
|
describe: z.ZodOptional<z.ZodString>;
|
|
182
238
|
}, z.core.$strip>>>>;
|
|
183
|
-
isFixed: z.ZodBoolean;
|
|
184
239
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
185
240
|
status: z.ZodEnum<{
|
|
186
241
|
D: "D";
|
|
@@ -188,6 +243,448 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
188
243
|
A: "A";
|
|
189
244
|
S: "S";
|
|
190
245
|
}>;
|
|
246
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
247
|
+
left: "left";
|
|
248
|
+
center: "center";
|
|
249
|
+
}>>>;
|
|
250
|
+
type: z.ZodLiteral<"thank_you">;
|
|
251
|
+
title: z.ZodString;
|
|
252
|
+
description: z.ZodOptional<z.ZodString>;
|
|
253
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
254
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
258
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
259
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
260
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
261
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
262
|
+
type: z.ZodEnum<{
|
|
263
|
+
required: "required";
|
|
264
|
+
min: "min";
|
|
265
|
+
max: "max";
|
|
266
|
+
minLength: "minLength";
|
|
267
|
+
maxLength: "maxLength";
|
|
268
|
+
pattern: "pattern";
|
|
269
|
+
email: "email";
|
|
270
|
+
url: "url";
|
|
271
|
+
custom: "custom";
|
|
272
|
+
}>;
|
|
273
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
274
|
+
message: z.ZodOptional<z.ZodString>;
|
|
275
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>>>>;
|
|
277
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
|
+
field: z.ZodString;
|
|
279
|
+
operator: z.ZodEnum<{
|
|
280
|
+
equals: "equals";
|
|
281
|
+
not_equals: "not_equals";
|
|
282
|
+
contains: "contains";
|
|
283
|
+
not_contains: "not_contains";
|
|
284
|
+
greater_than: "greater_than";
|
|
285
|
+
less_than: "less_than";
|
|
286
|
+
is_empty: "is_empty";
|
|
287
|
+
is_not_empty: "is_not_empty";
|
|
288
|
+
}>;
|
|
289
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
290
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
291
|
+
}, z.core.$strip>>>>;
|
|
292
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
293
|
+
status: z.ZodEnum<{
|
|
294
|
+
D: "D";
|
|
295
|
+
P: "P";
|
|
296
|
+
A: "A";
|
|
297
|
+
S: "S";
|
|
298
|
+
}>;
|
|
299
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
left: "left";
|
|
301
|
+
center: "center";
|
|
302
|
+
}>>>;
|
|
303
|
+
type: z.ZodLiteral<"message_panel">;
|
|
304
|
+
title: z.ZodString;
|
|
305
|
+
description: z.ZodOptional<z.ZodString>;
|
|
306
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
307
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
309
|
+
id: z.ZodString;
|
|
310
|
+
title: z.ZodString;
|
|
311
|
+
description: z.ZodOptional<z.ZodString>;
|
|
312
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
313
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
314
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
315
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
316
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
type: z.ZodEnum<{
|
|
318
|
+
required: "required";
|
|
319
|
+
min: "min";
|
|
320
|
+
max: "max";
|
|
321
|
+
minLength: "minLength";
|
|
322
|
+
maxLength: "maxLength";
|
|
323
|
+
pattern: "pattern";
|
|
324
|
+
email: "email";
|
|
325
|
+
url: "url";
|
|
326
|
+
custom: "custom";
|
|
327
|
+
}>;
|
|
328
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
329
|
+
message: z.ZodOptional<z.ZodString>;
|
|
330
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, z.core.$strip>>>>;
|
|
332
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
333
|
+
field: z.ZodString;
|
|
334
|
+
operator: z.ZodEnum<{
|
|
335
|
+
equals: "equals";
|
|
336
|
+
not_equals: "not_equals";
|
|
337
|
+
contains: "contains";
|
|
338
|
+
not_contains: "not_contains";
|
|
339
|
+
greater_than: "greater_than";
|
|
340
|
+
less_than: "less_than";
|
|
341
|
+
is_empty: "is_empty";
|
|
342
|
+
is_not_empty: "is_not_empty";
|
|
343
|
+
}>;
|
|
344
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
345
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>>>>;
|
|
347
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
348
|
+
status: z.ZodEnum<{
|
|
349
|
+
D: "D";
|
|
350
|
+
P: "P";
|
|
351
|
+
A: "A";
|
|
352
|
+
S: "S";
|
|
353
|
+
}>;
|
|
354
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
355
|
+
left: "left";
|
|
356
|
+
center: "center";
|
|
357
|
+
}>>>;
|
|
358
|
+
type: z.ZodLiteral<"exit_form">;
|
|
359
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
title: z.ZodString;
|
|
362
|
+
description: z.ZodOptional<z.ZodString>;
|
|
363
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
364
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
365
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
366
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
367
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
368
|
+
type: z.ZodEnum<{
|
|
369
|
+
required: "required";
|
|
370
|
+
min: "min";
|
|
371
|
+
max: "max";
|
|
372
|
+
minLength: "minLength";
|
|
373
|
+
maxLength: "maxLength";
|
|
374
|
+
pattern: "pattern";
|
|
375
|
+
email: "email";
|
|
376
|
+
url: "url";
|
|
377
|
+
custom: "custom";
|
|
378
|
+
}>;
|
|
379
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
380
|
+
message: z.ZodOptional<z.ZodString>;
|
|
381
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
382
|
+
}, z.core.$strip>>>>;
|
|
383
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
384
|
+
field: z.ZodString;
|
|
385
|
+
operator: z.ZodEnum<{
|
|
386
|
+
equals: "equals";
|
|
387
|
+
not_equals: "not_equals";
|
|
388
|
+
contains: "contains";
|
|
389
|
+
not_contains: "not_contains";
|
|
390
|
+
greater_than: "greater_than";
|
|
391
|
+
less_than: "less_than";
|
|
392
|
+
is_empty: "is_empty";
|
|
393
|
+
is_not_empty: "is_not_empty";
|
|
394
|
+
}>;
|
|
395
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
396
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
397
|
+
}, z.core.$strip>>>>;
|
|
398
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
399
|
+
status: z.ZodEnum<{
|
|
400
|
+
D: "D";
|
|
401
|
+
P: "P";
|
|
402
|
+
A: "A";
|
|
403
|
+
S: "S";
|
|
404
|
+
}>;
|
|
405
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
406
|
+
left: "left";
|
|
407
|
+
center: "center";
|
|
408
|
+
}>>>;
|
|
409
|
+
type: z.ZodLiteral<"yes_no">;
|
|
410
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
411
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
412
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
413
|
+
horizontal: "horizontal";
|
|
414
|
+
vertical: "vertical";
|
|
415
|
+
}>>;
|
|
416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
417
|
+
id: z.ZodString;
|
|
418
|
+
title: z.ZodString;
|
|
419
|
+
description: z.ZodOptional<z.ZodString>;
|
|
420
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
421
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
422
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
423
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
424
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
|
+
type: z.ZodEnum<{
|
|
426
|
+
required: "required";
|
|
427
|
+
min: "min";
|
|
428
|
+
max: "max";
|
|
429
|
+
minLength: "minLength";
|
|
430
|
+
maxLength: "maxLength";
|
|
431
|
+
pattern: "pattern";
|
|
432
|
+
email: "email";
|
|
433
|
+
url: "url";
|
|
434
|
+
custom: "custom";
|
|
435
|
+
}>;
|
|
436
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
437
|
+
message: z.ZodOptional<z.ZodString>;
|
|
438
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
439
|
+
}, z.core.$strip>>>>;
|
|
440
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
441
|
+
field: z.ZodString;
|
|
442
|
+
operator: z.ZodEnum<{
|
|
443
|
+
equals: "equals";
|
|
444
|
+
not_equals: "not_equals";
|
|
445
|
+
contains: "contains";
|
|
446
|
+
not_contains: "not_contains";
|
|
447
|
+
greater_than: "greater_than";
|
|
448
|
+
less_than: "less_than";
|
|
449
|
+
is_empty: "is_empty";
|
|
450
|
+
is_not_empty: "is_not_empty";
|
|
451
|
+
}>;
|
|
452
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
453
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
454
|
+
}, z.core.$strip>>>>;
|
|
455
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
456
|
+
status: z.ZodEnum<{
|
|
457
|
+
D: "D";
|
|
458
|
+
P: "P";
|
|
459
|
+
A: "A";
|
|
460
|
+
S: "S";
|
|
461
|
+
}>;
|
|
462
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
463
|
+
left: "left";
|
|
464
|
+
center: "center";
|
|
465
|
+
}>>>;
|
|
466
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
467
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
468
|
+
id: z.ZodString;
|
|
469
|
+
value: z.ZodString;
|
|
470
|
+
label: z.ZodString;
|
|
471
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
474
|
+
kind: z.ZodLiteral<"likert">;
|
|
475
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
476
|
+
id: z.ZodString;
|
|
477
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
478
|
+
label: z.ZodString;
|
|
479
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
480
|
+
}, z.core.$strip>>;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
kind: z.ZodLiteral<"numerical">;
|
|
483
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
484
|
+
id: z.ZodString;
|
|
485
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
486
|
+
label: z.ZodString;
|
|
487
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
488
|
+
}, z.core.$strip>>;
|
|
489
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
490
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
491
|
+
kind: z.ZodLiteral<"custom">;
|
|
492
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
493
|
+
id: z.ZodString;
|
|
494
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
495
|
+
label: z.ZodString;
|
|
496
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
497
|
+
}, z.core.$strip>>;
|
|
498
|
+
}, z.core.$strip>], "kind">;
|
|
499
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
500
|
+
star: "star";
|
|
501
|
+
emoji: "emoji";
|
|
502
|
+
radio: "radio";
|
|
503
|
+
button: "button";
|
|
504
|
+
}>>;
|
|
505
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
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<{
|
|
516
|
+
required: "required";
|
|
517
|
+
min: "min";
|
|
518
|
+
max: "max";
|
|
519
|
+
minLength: "minLength";
|
|
520
|
+
maxLength: "maxLength";
|
|
521
|
+
pattern: "pattern";
|
|
522
|
+
email: "email";
|
|
523
|
+
url: "url";
|
|
524
|
+
custom: "custom";
|
|
525
|
+
}>;
|
|
526
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
527
|
+
message: z.ZodOptional<z.ZodString>;
|
|
528
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>>>>;
|
|
530
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
531
|
+
field: z.ZodString;
|
|
532
|
+
operator: z.ZodEnum<{
|
|
533
|
+
equals: "equals";
|
|
534
|
+
not_equals: "not_equals";
|
|
535
|
+
contains: "contains";
|
|
536
|
+
not_contains: "not_contains";
|
|
537
|
+
greater_than: "greater_than";
|
|
538
|
+
less_than: "less_than";
|
|
539
|
+
is_empty: "is_empty";
|
|
540
|
+
is_not_empty: "is_not_empty";
|
|
541
|
+
}>;
|
|
542
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
543
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, z.core.$strip>>>>;
|
|
545
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
546
|
+
status: z.ZodEnum<{
|
|
547
|
+
D: "D";
|
|
548
|
+
P: "P";
|
|
549
|
+
A: "A";
|
|
550
|
+
S: "S";
|
|
551
|
+
}>;
|
|
552
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
left: "left";
|
|
554
|
+
center: "center";
|
|
555
|
+
}>>>;
|
|
556
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
557
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
558
|
+
id: z.ZodString;
|
|
559
|
+
value: z.ZodString;
|
|
560
|
+
label: z.ZodString;
|
|
561
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
562
|
+
}, z.core.$strip>>;
|
|
563
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
value: z.ZodString;
|
|
566
|
+
label: z.ZodString;
|
|
567
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
570
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
571
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
572
|
+
id: z.ZodString;
|
|
573
|
+
title: z.ZodString;
|
|
574
|
+
description: z.ZodOptional<z.ZodString>;
|
|
575
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
576
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
577
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
578
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
579
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
580
|
+
type: z.ZodEnum<{
|
|
581
|
+
required: "required";
|
|
582
|
+
min: "min";
|
|
583
|
+
max: "max";
|
|
584
|
+
minLength: "minLength";
|
|
585
|
+
maxLength: "maxLength";
|
|
586
|
+
pattern: "pattern";
|
|
587
|
+
email: "email";
|
|
588
|
+
url: "url";
|
|
589
|
+
custom: "custom";
|
|
590
|
+
}>;
|
|
591
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
592
|
+
message: z.ZodOptional<z.ZodString>;
|
|
593
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, z.core.$strip>>>>;
|
|
595
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
596
|
+
field: z.ZodString;
|
|
597
|
+
operator: z.ZodEnum<{
|
|
598
|
+
equals: "equals";
|
|
599
|
+
not_equals: "not_equals";
|
|
600
|
+
contains: "contains";
|
|
601
|
+
not_contains: "not_contains";
|
|
602
|
+
greater_than: "greater_than";
|
|
603
|
+
less_than: "less_than";
|
|
604
|
+
is_empty: "is_empty";
|
|
605
|
+
is_not_empty: "is_not_empty";
|
|
606
|
+
}>;
|
|
607
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
608
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
609
|
+
}, z.core.$strip>>>>;
|
|
610
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
611
|
+
status: z.ZodEnum<{
|
|
612
|
+
D: "D";
|
|
613
|
+
P: "P";
|
|
614
|
+
A: "A";
|
|
615
|
+
S: "S";
|
|
616
|
+
}>;
|
|
617
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
618
|
+
left: "left";
|
|
619
|
+
center: "center";
|
|
620
|
+
}>>>;
|
|
621
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
622
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
623
|
+
id: z.ZodString;
|
|
624
|
+
value: z.ZodString;
|
|
625
|
+
label: z.ZodString;
|
|
626
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
628
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
629
|
+
id: z.ZodString;
|
|
630
|
+
value: z.ZodString;
|
|
631
|
+
label: z.ZodString;
|
|
632
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
633
|
+
}, z.core.$strip>>;
|
|
634
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
635
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
636
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
637
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
639
|
+
id: z.ZodString;
|
|
640
|
+
title: z.ZodString;
|
|
641
|
+
description: z.ZodOptional<z.ZodString>;
|
|
642
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
643
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
644
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
645
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
646
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
type: z.ZodEnum<{
|
|
648
|
+
required: "required";
|
|
649
|
+
min: "min";
|
|
650
|
+
max: "max";
|
|
651
|
+
minLength: "minLength";
|
|
652
|
+
maxLength: "maxLength";
|
|
653
|
+
pattern: "pattern";
|
|
654
|
+
email: "email";
|
|
655
|
+
url: "url";
|
|
656
|
+
custom: "custom";
|
|
657
|
+
}>;
|
|
658
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
659
|
+
message: z.ZodOptional<z.ZodString>;
|
|
660
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strip>>>>;
|
|
662
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
663
|
+
field: z.ZodString;
|
|
664
|
+
operator: z.ZodEnum<{
|
|
665
|
+
equals: "equals";
|
|
666
|
+
not_equals: "not_equals";
|
|
667
|
+
contains: "contains";
|
|
668
|
+
not_contains: "not_contains";
|
|
669
|
+
greater_than: "greater_than";
|
|
670
|
+
less_than: "less_than";
|
|
671
|
+
is_empty: "is_empty";
|
|
672
|
+
is_not_empty: "is_not_empty";
|
|
673
|
+
}>;
|
|
674
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
675
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
676
|
+
}, z.core.$strip>>>>;
|
|
677
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
678
|
+
status: z.ZodEnum<{
|
|
679
|
+
D: "D";
|
|
680
|
+
P: "P";
|
|
681
|
+
A: "A";
|
|
682
|
+
S: "S";
|
|
683
|
+
}>;
|
|
684
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
685
|
+
left: "left";
|
|
686
|
+
center: "center";
|
|
687
|
+
}>>>;
|
|
191
688
|
type: z.ZodLiteral<"single_choice">;
|
|
192
689
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
193
690
|
radio: "radio";
|
|
@@ -213,9 +710,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
213
710
|
id: z.ZodString;
|
|
214
711
|
title: z.ZodString;
|
|
215
712
|
description: z.ZodOptional<z.ZodString>;
|
|
216
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
217
713
|
describe: z.ZodOptional<z.ZodString>;
|
|
218
714
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
715
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
219
716
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
220
717
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
718
|
type: z.ZodEnum<{
|
|
@@ -248,7 +745,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
248
745
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
249
746
|
describe: z.ZodOptional<z.ZodString>;
|
|
250
747
|
}, z.core.$strip>>>>;
|
|
251
|
-
isFixed: z.ZodBoolean;
|
|
252
748
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
253
749
|
status: z.ZodEnum<{
|
|
254
750
|
D: "D";
|
|
@@ -256,6 +752,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
256
752
|
A: "A";
|
|
257
753
|
S: "S";
|
|
258
754
|
}>;
|
|
755
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
756
|
+
left: "left";
|
|
757
|
+
center: "center";
|
|
758
|
+
}>>>;
|
|
259
759
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
260
760
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
261
761
|
list: "list";
|
|
@@ -282,9 +782,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
282
782
|
id: z.ZodString;
|
|
283
783
|
title: z.ZodString;
|
|
284
784
|
description: z.ZodOptional<z.ZodString>;
|
|
285
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
286
785
|
describe: z.ZodOptional<z.ZodString>;
|
|
287
786
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
787
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
288
788
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
289
789
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
290
790
|
type: z.ZodEnum<{
|
|
@@ -317,7 +817,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
317
817
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
318
818
|
describe: z.ZodOptional<z.ZodString>;
|
|
319
819
|
}, z.core.$strip>>>>;
|
|
320
|
-
isFixed: z.ZodBoolean;
|
|
321
820
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
322
821
|
status: z.ZodEnum<{
|
|
323
822
|
D: "D";
|
|
@@ -325,6 +824,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
325
824
|
A: "A";
|
|
326
825
|
S: "S";
|
|
327
826
|
}>;
|
|
827
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
828
|
+
left: "left";
|
|
829
|
+
center: "center";
|
|
830
|
+
}>>>;
|
|
328
831
|
type: z.ZodLiteral<"nps">;
|
|
329
832
|
min: z.ZodLiteral<0>;
|
|
330
833
|
max: z.ZodLiteral<10>;
|
|
@@ -336,9 +839,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
336
839
|
id: z.ZodString;
|
|
337
840
|
title: z.ZodString;
|
|
338
841
|
description: z.ZodOptional<z.ZodString>;
|
|
339
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
340
842
|
describe: z.ZodOptional<z.ZodString>;
|
|
341
843
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
844
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
342
845
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
343
846
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
847
|
type: z.ZodEnum<{
|
|
@@ -371,7 +874,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
371
874
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
372
875
|
describe: z.ZodOptional<z.ZodString>;
|
|
373
876
|
}, z.core.$strip>>>>;
|
|
374
|
-
isFixed: z.ZodBoolean;
|
|
375
877
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
376
878
|
status: z.ZodEnum<{
|
|
377
879
|
D: "D";
|
|
@@ -379,6 +881,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
379
881
|
A: "A";
|
|
380
882
|
S: "S";
|
|
381
883
|
}>;
|
|
884
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
885
|
+
left: "left";
|
|
886
|
+
center: "center";
|
|
887
|
+
}>>>;
|
|
382
888
|
type: z.ZodLiteral<"short_answer">;
|
|
383
889
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
384
890
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -393,9 +899,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
393
899
|
id: z.ZodString;
|
|
394
900
|
title: z.ZodString;
|
|
395
901
|
description: z.ZodOptional<z.ZodString>;
|
|
396
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
397
902
|
describe: z.ZodOptional<z.ZodString>;
|
|
398
903
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
904
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
399
905
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
400
906
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
401
907
|
type: z.ZodEnum<{
|
|
@@ -428,7 +934,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
428
934
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
429
935
|
describe: z.ZodOptional<z.ZodString>;
|
|
430
936
|
}, z.core.$strip>>>>;
|
|
431
|
-
isFixed: z.ZodBoolean;
|
|
432
937
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
433
938
|
status: z.ZodEnum<{
|
|
434
939
|
D: "D";
|
|
@@ -436,6 +941,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
436
941
|
A: "A";
|
|
437
942
|
S: "S";
|
|
438
943
|
}>;
|
|
944
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
945
|
+
left: "left";
|
|
946
|
+
center: "center";
|
|
947
|
+
}>>>;
|
|
439
948
|
type: z.ZodLiteral<"long_text">;
|
|
440
949
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
441
950
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -449,9 +958,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
449
958
|
id: z.ZodString;
|
|
450
959
|
title: z.ZodString;
|
|
451
960
|
description: z.ZodOptional<z.ZodString>;
|
|
452
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
453
961
|
describe: z.ZodOptional<z.ZodString>;
|
|
454
962
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
963
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
455
964
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
456
965
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
457
966
|
type: z.ZodEnum<{
|
|
@@ -484,7 +993,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
484
993
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
485
994
|
describe: z.ZodOptional<z.ZodString>;
|
|
486
995
|
}, z.core.$strip>>>>;
|
|
487
|
-
isFixed: z.ZodBoolean;
|
|
488
996
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
489
997
|
status: z.ZodEnum<{
|
|
490
998
|
D: "D";
|
|
@@ -492,6 +1000,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
492
1000
|
A: "A";
|
|
493
1001
|
S: "S";
|
|
494
1002
|
}>;
|
|
1003
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1004
|
+
left: "left";
|
|
1005
|
+
center: "center";
|
|
1006
|
+
}>>>;
|
|
495
1007
|
type: z.ZodLiteral<"nested_selection">;
|
|
496
1008
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
497
1009
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -513,7 +1025,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
513
1025
|
questionLanguages: z.ZodArray<z.ZodObject<{
|
|
514
1026
|
value: z.ZodString;
|
|
515
1027
|
label: z.ZodString;
|
|
516
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
517
1028
|
}, z.core.$strip>>;
|
|
518
1029
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
519
1030
|
isEnabled: z.ZodLiteral<false>;
|
|
@@ -560,70 +1071,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
560
1071
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
561
1072
|
}, z.core.$strip>>;
|
|
562
1073
|
}, z.core.$strip>], "isEnabled">;
|
|
563
|
-
welcomeScreenProperties: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
564
|
-
isEnabled: z.ZodLiteral<false>;
|
|
565
|
-
welcomeFields: z.ZodOptional<z.ZodObject<{
|
|
566
|
-
title: z.ZodString;
|
|
567
|
-
description: z.ZodString;
|
|
568
|
-
buttonLabel: z.ZodString;
|
|
569
|
-
}, z.core.$strip>>;
|
|
570
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
571
|
-
title: z.ZodString;
|
|
572
|
-
description: z.ZodString;
|
|
573
|
-
buttonLabel: z.ZodString;
|
|
574
|
-
}, z.core.$strip>>>;
|
|
575
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
-
isEnabled: z.ZodLiteral<true>;
|
|
577
|
-
welcomeFields: z.ZodObject<{
|
|
578
|
-
title: z.ZodString;
|
|
579
|
-
description: z.ZodString;
|
|
580
|
-
buttonLabel: z.ZodString;
|
|
581
|
-
}, z.core.$strip>;
|
|
582
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
583
|
-
title: z.ZodString;
|
|
584
|
-
description: z.ZodString;
|
|
585
|
-
buttonLabel: z.ZodString;
|
|
586
|
-
}, z.core.$strip>>;
|
|
587
|
-
}, z.core.$strip>], "isEnabled">>;
|
|
588
|
-
endScreenProperties: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
|
-
isEnabled: z.ZodLiteral<false>;
|
|
590
|
-
endFields: z.ZodOptional<z.ZodObject<{
|
|
591
|
-
title: z.ZodString;
|
|
592
|
-
message: z.ZodString;
|
|
593
|
-
buttonLabel: z.ZodString;
|
|
594
|
-
dismissBehavior: z.ZodEnum<{
|
|
595
|
-
fade: "fade";
|
|
596
|
-
manual: "manual";
|
|
597
|
-
}>;
|
|
598
|
-
fadeDuration: z.ZodNumber;
|
|
599
|
-
}, z.core.$strip>>;
|
|
600
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
601
|
-
buttonLabel: z.ZodString;
|
|
602
|
-
title: z.ZodString;
|
|
603
|
-
message: z.ZodString;
|
|
604
|
-
}, z.core.$strip>>>;
|
|
605
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
606
|
-
isEnabled: z.ZodLiteral<true>;
|
|
607
|
-
endFields: z.ZodObject<{
|
|
608
|
-
title: z.ZodString;
|
|
609
|
-
message: z.ZodString;
|
|
610
|
-
buttonLabel: z.ZodString;
|
|
611
|
-
dismissBehavior: z.ZodEnum<{
|
|
612
|
-
fade: "fade";
|
|
613
|
-
manual: "manual";
|
|
614
|
-
}>;
|
|
615
|
-
fadeDuration: z.ZodNumber;
|
|
616
|
-
}, z.core.$strip>;
|
|
617
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
618
|
-
buttonLabel: z.ZodString;
|
|
619
|
-
title: z.ZodString;
|
|
620
|
-
message: z.ZodString;
|
|
621
|
-
}, z.core.$strip>>;
|
|
622
|
-
}, z.core.$strip>], "isEnabled">>;
|
|
623
1074
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
624
1075
|
title: z.ZodString;
|
|
625
1076
|
description: z.ZodOptional<z.ZodString>;
|
|
626
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
627
1077
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
628
1078
|
type: z.ZodLiteral<"rating">;
|
|
629
1079
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -631,21 +1081,18 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
631
1081
|
}, z.core.$strip>, z.ZodObject<{
|
|
632
1082
|
title: z.ZodString;
|
|
633
1083
|
description: z.ZodOptional<z.ZodString>;
|
|
634
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
635
1084
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
636
1085
|
type: z.ZodLiteral<"single_choice">;
|
|
637
1086
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
638
1087
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
639
1088
|
title: z.ZodString;
|
|
640
1089
|
description: z.ZodOptional<z.ZodString>;
|
|
641
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
642
1090
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
643
1091
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
644
1092
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
645
1093
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
646
1094
|
title: z.ZodString;
|
|
647
1095
|
description: z.ZodOptional<z.ZodString>;
|
|
648
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
649
1096
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
650
1097
|
type: z.ZodLiteral<"nps">;
|
|
651
1098
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -653,33 +1100,71 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
653
1100
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
654
1101
|
title: z.ZodString;
|
|
655
1102
|
description: z.ZodOptional<z.ZodString>;
|
|
656
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
657
1103
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
658
1104
|
type: z.ZodLiteral<"short_answer">;
|
|
659
1105
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
660
1106
|
}, z.core.$strip>, z.ZodObject<{
|
|
661
1107
|
title: z.ZodString;
|
|
662
1108
|
description: z.ZodOptional<z.ZodString>;
|
|
663
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
664
1109
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
665
1110
|
type: z.ZodLiteral<"long_text">;
|
|
666
1111
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
667
1112
|
}, z.core.$strip>, z.ZodObject<{
|
|
668
1113
|
title: z.ZodString;
|
|
669
1114
|
description: z.ZodOptional<z.ZodString>;
|
|
670
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
671
1115
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
672
1116
|
type: z.ZodLiteral<"nested_selection">;
|
|
673
1117
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
674
1118
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
675
1119
|
title: z.ZodString;
|
|
676
1120
|
description: z.ZodOptional<z.ZodString>;
|
|
677
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
678
1121
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
679
1122
|
type: z.ZodLiteral<"annotation">;
|
|
680
1123
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
681
1124
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
682
|
-
}, z.core.$strip
|
|
1125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1126
|
+
title: z.ZodString;
|
|
1127
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
type: z.ZodLiteral<"welcome">;
|
|
1130
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1132
|
+
title: z.ZodString;
|
|
1133
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
type: z.ZodLiteral<"thank_you">;
|
|
1136
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1138
|
+
title: z.ZodString;
|
|
1139
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
type: z.ZodLiteral<"message_panel">;
|
|
1142
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1144
|
+
title: z.ZodString;
|
|
1145
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
type: z.ZodLiteral<"yes_no">;
|
|
1148
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1151
|
+
title: z.ZodString;
|
|
1152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
1155
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1158
|
+
title: z.ZodString;
|
|
1159
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1162
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1163
|
+
title: z.ZodString;
|
|
1164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1167
|
+
}, z.core.$catchall<z.ZodString>>]>>>>;
|
|
683
1168
|
onSectionChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
|
|
684
1169
|
onClose: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [], null>, z.ZodVoid>>;
|
|
685
1170
|
sections: z.ZodArray<z.ZodObject<{
|
|
@@ -709,6 +1194,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
709
1194
|
dark: "dark";
|
|
710
1195
|
system: "system";
|
|
711
1196
|
}>>;
|
|
1197
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
1198
|
+
rtl: z.ZodBoolean;
|
|
1199
|
+
previousButton: z.ZodEnum<{
|
|
1200
|
+
never: "never";
|
|
1201
|
+
always: "always";
|
|
1202
|
+
auto: "auto";
|
|
1203
|
+
}>;
|
|
712
1204
|
}, z.core.$strip>;
|
|
713
1205
|
selectedPosition: z.ZodEnum<{
|
|
714
1206
|
"top-left": "top-left";
|