@encatch/schema 1.0.1-beta.1 → 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 +29 -98
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +276 -130
- package/dist/types/schemas/fields/app-props-schema.d.ts +138 -111
- package/dist/types/schemas/fields/field-schema.d.ts +300 -75
- package/dist/types/schemas/fields/form-properties-schema.d.ts +139 -189
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/translations-schema.d.ts +1 -77
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { OtherFieldsSchema, OtherFieldsTranslationSchema
|
|
2
|
+
import { OtherFieldsSchema, OtherFieldsTranslationSchema } from "./other-screen-schema";
|
|
3
3
|
export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
isEnabled: z.ZodLiteral<false>;
|
|
5
5
|
otherFields: z.ZodObject<{
|
|
@@ -45,66 +45,6 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
45
45
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
46
46
|
}, z.core.$strip>>;
|
|
47
47
|
}, z.core.$strip>], "isEnabled">;
|
|
48
|
-
export declare const welcomeScreenPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
49
|
-
isEnabled: z.ZodLiteral<false>;
|
|
50
|
-
welcomeFields: z.ZodOptional<z.ZodObject<{
|
|
51
|
-
title: z.ZodString;
|
|
52
|
-
description: z.ZodString;
|
|
53
|
-
buttonLabel: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>;
|
|
55
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
56
|
-
title: z.ZodString;
|
|
57
|
-
description: z.ZodString;
|
|
58
|
-
buttonLabel: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>>;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
isEnabled: z.ZodLiteral<true>;
|
|
62
|
-
welcomeFields: z.ZodObject<{
|
|
63
|
-
title: z.ZodString;
|
|
64
|
-
description: z.ZodString;
|
|
65
|
-
buttonLabel: z.ZodString;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
68
|
-
title: z.ZodString;
|
|
69
|
-
description: z.ZodString;
|
|
70
|
-
buttonLabel: z.ZodString;
|
|
71
|
-
}, z.core.$strip>>;
|
|
72
|
-
}, z.core.$strip>], "isEnabled">;
|
|
73
|
-
export declare const endScreenPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
-
isEnabled: z.ZodLiteral<false>;
|
|
75
|
-
endFields: z.ZodOptional<z.ZodObject<{
|
|
76
|
-
title: z.ZodString;
|
|
77
|
-
message: z.ZodString;
|
|
78
|
-
buttonLabel: z.ZodString;
|
|
79
|
-
dismissBehavior: z.ZodEnum<{
|
|
80
|
-
fade: "fade";
|
|
81
|
-
manual: "manual";
|
|
82
|
-
}>;
|
|
83
|
-
fadeDuration: z.ZodNumber;
|
|
84
|
-
}, z.core.$strip>>;
|
|
85
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
86
|
-
buttonLabel: z.ZodString;
|
|
87
|
-
title: z.ZodString;
|
|
88
|
-
message: z.ZodString;
|
|
89
|
-
}, z.core.$strip>>>;
|
|
90
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
-
isEnabled: z.ZodLiteral<true>;
|
|
92
|
-
endFields: z.ZodObject<{
|
|
93
|
-
title: z.ZodString;
|
|
94
|
-
message: z.ZodString;
|
|
95
|
-
buttonLabel: z.ZodString;
|
|
96
|
-
dismissBehavior: z.ZodEnum<{
|
|
97
|
-
fade: "fade";
|
|
98
|
-
manual: "manual";
|
|
99
|
-
}>;
|
|
100
|
-
fadeDuration: z.ZodNumber;
|
|
101
|
-
}, z.core.$strip>;
|
|
102
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
103
|
-
buttonLabel: z.ZodString;
|
|
104
|
-
title: z.ZodString;
|
|
105
|
-
message: z.ZodString;
|
|
106
|
-
}, z.core.$strip>>;
|
|
107
|
-
}, z.core.$strip>], "isEnabled">;
|
|
108
48
|
export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
109
49
|
themeConfiguration: z.ZodObject<{
|
|
110
50
|
themes: z.ZodObject<{
|
|
@@ -177,9 +117,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
177
117
|
id: z.ZodString;
|
|
178
118
|
title: z.ZodString;
|
|
179
119
|
description: z.ZodOptional<z.ZodString>;
|
|
180
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
181
120
|
describe: z.ZodOptional<z.ZodString>;
|
|
182
121
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
122
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
183
123
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
184
124
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
185
125
|
type: z.ZodEnum<{
|
|
@@ -212,7 +152,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
212
152
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
213
153
|
describe: z.ZodOptional<z.ZodString>;
|
|
214
154
|
}, z.core.$strip>>>>;
|
|
215
|
-
isFixed: z.ZodBoolean;
|
|
216
155
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
217
156
|
status: z.ZodEnum<{
|
|
218
157
|
D: "D";
|
|
@@ -220,6 +159,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
220
159
|
A: "A";
|
|
221
160
|
S: "S";
|
|
222
161
|
}>;
|
|
162
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
163
|
+
left: "left";
|
|
164
|
+
center: "center";
|
|
165
|
+
}>>>;
|
|
223
166
|
type: z.ZodLiteral<"rating">;
|
|
224
167
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
225
168
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -243,9 +186,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
243
186
|
id: z.ZodString;
|
|
244
187
|
title: z.ZodString;
|
|
245
188
|
description: z.ZodOptional<z.ZodString>;
|
|
246
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
247
189
|
describe: z.ZodOptional<z.ZodString>;
|
|
248
190
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
191
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
249
192
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
250
193
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
251
194
|
type: z.ZodEnum<{
|
|
@@ -278,7 +221,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
278
221
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
279
222
|
describe: z.ZodOptional<z.ZodString>;
|
|
280
223
|
}, z.core.$strip>>>>;
|
|
281
|
-
isFixed: z.ZodBoolean;
|
|
282
224
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
283
225
|
status: z.ZodEnum<{
|
|
284
226
|
D: "D";
|
|
@@ -286,14 +228,18 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
286
228
|
A: "A";
|
|
287
229
|
S: "S";
|
|
288
230
|
}>;
|
|
231
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
left: "left";
|
|
233
|
+
center: "center";
|
|
234
|
+
}>>>;
|
|
289
235
|
type: z.ZodLiteral<"annotation">;
|
|
290
236
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
291
237
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
292
238
|
}, z.core.$strip>, z.ZodObject<{
|
|
293
239
|
id: z.ZodString;
|
|
294
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
295
240
|
describe: z.ZodOptional<z.ZodString>;
|
|
296
241
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
242
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
297
243
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
298
244
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
245
|
type: z.ZodEnum<{
|
|
@@ -326,7 +272,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
326
272
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
327
273
|
describe: z.ZodOptional<z.ZodString>;
|
|
328
274
|
}, z.core.$strip>>>>;
|
|
329
|
-
isFixed: z.ZodBoolean;
|
|
330
275
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
331
276
|
status: z.ZodEnum<{
|
|
332
277
|
D: "D";
|
|
@@ -334,6 +279,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
334
279
|
A: "A";
|
|
335
280
|
S: "S";
|
|
336
281
|
}>;
|
|
282
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
left: "left";
|
|
284
|
+
center: "center";
|
|
285
|
+
}>>>;
|
|
337
286
|
type: z.ZodLiteral<"welcome">;
|
|
338
287
|
title: z.ZodString;
|
|
339
288
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -341,9 +290,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
341
290
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
342
291
|
}, z.core.$strip>, z.ZodObject<{
|
|
343
292
|
id: z.ZodString;
|
|
344
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
345
293
|
describe: z.ZodOptional<z.ZodString>;
|
|
346
294
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
295
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
347
296
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
348
297
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
349
298
|
type: z.ZodEnum<{
|
|
@@ -376,7 +325,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
376
325
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
377
326
|
describe: z.ZodOptional<z.ZodString>;
|
|
378
327
|
}, z.core.$strip>>>>;
|
|
379
|
-
isFixed: z.ZodBoolean;
|
|
380
328
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
381
329
|
status: z.ZodEnum<{
|
|
382
330
|
D: "D";
|
|
@@ -384,6 +332,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
384
332
|
A: "A";
|
|
385
333
|
S: "S";
|
|
386
334
|
}>;
|
|
335
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
left: "left";
|
|
337
|
+
center: "center";
|
|
338
|
+
}>>>;
|
|
387
339
|
type: z.ZodLiteral<"thank_you">;
|
|
388
340
|
title: z.ZodString;
|
|
389
341
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -391,9 +343,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
391
343
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
392
344
|
}, z.core.$strip>, z.ZodObject<{
|
|
393
345
|
id: z.ZodString;
|
|
394
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
395
346
|
describe: z.ZodOptional<z.ZodString>;
|
|
396
347
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
348
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
397
349
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
398
350
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
399
351
|
type: z.ZodEnum<{
|
|
@@ -426,7 +378,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
426
378
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
427
379
|
describe: z.ZodOptional<z.ZodString>;
|
|
428
380
|
}, z.core.$strip>>>>;
|
|
429
|
-
isFixed: z.ZodBoolean;
|
|
430
381
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
431
382
|
status: z.ZodEnum<{
|
|
432
383
|
D: "D";
|
|
@@ -434,6 +385,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
434
385
|
A: "A";
|
|
435
386
|
S: "S";
|
|
436
387
|
}>;
|
|
388
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
389
|
+
left: "left";
|
|
390
|
+
center: "center";
|
|
391
|
+
}>>>;
|
|
437
392
|
type: z.ZodLiteral<"message_panel">;
|
|
438
393
|
title: z.ZodString;
|
|
439
394
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -443,9 +398,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
443
398
|
id: z.ZodString;
|
|
444
399
|
title: z.ZodString;
|
|
445
400
|
description: z.ZodOptional<z.ZodString>;
|
|
446
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
447
401
|
describe: z.ZodOptional<z.ZodString>;
|
|
448
402
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
403
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
449
404
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
450
405
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
451
406
|
type: z.ZodEnum<{
|
|
@@ -478,7 +433,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
478
433
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
479
434
|
describe: z.ZodOptional<z.ZodString>;
|
|
480
435
|
}, z.core.$strip>>>>;
|
|
481
|
-
isFixed: z.ZodBoolean;
|
|
482
436
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
483
437
|
status: z.ZodEnum<{
|
|
484
438
|
D: "D";
|
|
@@ -486,6 +440,61 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
486
440
|
A: "A";
|
|
487
441
|
S: "S";
|
|
488
442
|
}>;
|
|
443
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
444
|
+
left: "left";
|
|
445
|
+
center: "center";
|
|
446
|
+
}>>>;
|
|
447
|
+
type: z.ZodLiteral<"exit_form">;
|
|
448
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
449
|
+
id: z.ZodString;
|
|
450
|
+
title: z.ZodString;
|
|
451
|
+
description: z.ZodOptional<z.ZodString>;
|
|
452
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
453
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
454
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
455
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
456
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
457
|
+
type: z.ZodEnum<{
|
|
458
|
+
required: "required";
|
|
459
|
+
min: "min";
|
|
460
|
+
max: "max";
|
|
461
|
+
minLength: "minLength";
|
|
462
|
+
maxLength: "maxLength";
|
|
463
|
+
pattern: "pattern";
|
|
464
|
+
email: "email";
|
|
465
|
+
url: "url";
|
|
466
|
+
custom: "custom";
|
|
467
|
+
}>;
|
|
468
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
469
|
+
message: z.ZodOptional<z.ZodString>;
|
|
470
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>>>>;
|
|
472
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
473
|
+
field: z.ZodString;
|
|
474
|
+
operator: z.ZodEnum<{
|
|
475
|
+
equals: "equals";
|
|
476
|
+
not_equals: "not_equals";
|
|
477
|
+
contains: "contains";
|
|
478
|
+
not_contains: "not_contains";
|
|
479
|
+
greater_than: "greater_than";
|
|
480
|
+
less_than: "less_than";
|
|
481
|
+
is_empty: "is_empty";
|
|
482
|
+
is_not_empty: "is_not_empty";
|
|
483
|
+
}>;
|
|
484
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
485
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, z.core.$strip>>>>;
|
|
487
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
488
|
+
status: z.ZodEnum<{
|
|
489
|
+
D: "D";
|
|
490
|
+
P: "P";
|
|
491
|
+
A: "A";
|
|
492
|
+
S: "S";
|
|
493
|
+
}>;
|
|
494
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
495
|
+
left: "left";
|
|
496
|
+
center: "center";
|
|
497
|
+
}>>>;
|
|
489
498
|
type: z.ZodLiteral<"yes_no">;
|
|
490
499
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
491
500
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -497,9 +506,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
497
506
|
id: z.ZodString;
|
|
498
507
|
title: z.ZodString;
|
|
499
508
|
description: z.ZodOptional<z.ZodString>;
|
|
500
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
501
509
|
describe: z.ZodOptional<z.ZodString>;
|
|
502
510
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
511
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
503
512
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
504
513
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
505
514
|
type: z.ZodEnum<{
|
|
@@ -532,7 +541,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
532
541
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
533
542
|
describe: z.ZodOptional<z.ZodString>;
|
|
534
543
|
}, z.core.$strip>>>>;
|
|
535
|
-
isFixed: z.ZodBoolean;
|
|
536
544
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
537
545
|
status: z.ZodEnum<{
|
|
538
546
|
D: "D";
|
|
@@ -540,6 +548,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
540
548
|
A: "A";
|
|
541
549
|
S: "S";
|
|
542
550
|
}>;
|
|
551
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
552
|
+
left: "left";
|
|
553
|
+
center: "center";
|
|
554
|
+
}>>>;
|
|
543
555
|
type: z.ZodLiteral<"rating_matrix">;
|
|
544
556
|
statements: z.ZodArray<z.ZodObject<{
|
|
545
557
|
id: z.ZodString;
|
|
@@ -549,13 +561,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
549
561
|
}, z.core.$strip>>;
|
|
550
562
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
551
563
|
kind: z.ZodLiteral<"likert">;
|
|
552
|
-
|
|
553
|
-
|
|
564
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
565
|
+
id: z.ZodString;
|
|
566
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
567
|
+
label: z.ZodString;
|
|
568
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
569
|
+
}, z.core.$strip>>;
|
|
554
570
|
}, z.core.$strip>, z.ZodObject<{
|
|
555
571
|
kind: z.ZodLiteral<"numerical">;
|
|
572
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
573
|
+
id: z.ZodString;
|
|
574
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
575
|
+
label: z.ZodString;
|
|
576
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
556
578
|
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
557
|
-
minLabel: z.ZodOptional<z.ZodString>;
|
|
558
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
559
579
|
}, z.core.$strip>, z.ZodObject<{
|
|
560
580
|
kind: z.ZodLiteral<"custom">;
|
|
561
581
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -576,9 +596,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
576
596
|
id: z.ZodString;
|
|
577
597
|
title: z.ZodString;
|
|
578
598
|
description: z.ZodOptional<z.ZodString>;
|
|
579
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
580
599
|
describe: z.ZodOptional<z.ZodString>;
|
|
581
600
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
601
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
582
602
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
583
603
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
584
604
|
type: z.ZodEnum<{
|
|
@@ -611,7 +631,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
611
631
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
612
632
|
describe: z.ZodOptional<z.ZodString>;
|
|
613
633
|
}, z.core.$strip>>>>;
|
|
614
|
-
isFixed: z.ZodBoolean;
|
|
615
634
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
616
635
|
status: z.ZodEnum<{
|
|
617
636
|
D: "D";
|
|
@@ -619,6 +638,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
619
638
|
A: "A";
|
|
620
639
|
S: "S";
|
|
621
640
|
}>;
|
|
641
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
642
|
+
left: "left";
|
|
643
|
+
center: "center";
|
|
644
|
+
}>>>;
|
|
622
645
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
623
646
|
rows: z.ZodArray<z.ZodObject<{
|
|
624
647
|
id: z.ZodString;
|
|
@@ -638,9 +661,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
638
661
|
id: z.ZodString;
|
|
639
662
|
title: z.ZodString;
|
|
640
663
|
description: z.ZodOptional<z.ZodString>;
|
|
641
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
642
664
|
describe: z.ZodOptional<z.ZodString>;
|
|
643
665
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
666
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
644
667
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
645
668
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
646
669
|
type: z.ZodEnum<{
|
|
@@ -673,7 +696,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
673
696
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
674
697
|
describe: z.ZodOptional<z.ZodString>;
|
|
675
698
|
}, z.core.$strip>>>>;
|
|
676
|
-
isFixed: z.ZodBoolean;
|
|
677
699
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
678
700
|
status: z.ZodEnum<{
|
|
679
701
|
D: "D";
|
|
@@ -681,6 +703,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
681
703
|
A: "A";
|
|
682
704
|
S: "S";
|
|
683
705
|
}>;
|
|
706
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
707
|
+
left: "left";
|
|
708
|
+
center: "center";
|
|
709
|
+
}>>>;
|
|
684
710
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
685
711
|
rows: z.ZodArray<z.ZodObject<{
|
|
686
712
|
id: z.ZodString;
|
|
@@ -702,9 +728,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
702
728
|
id: z.ZodString;
|
|
703
729
|
title: z.ZodString;
|
|
704
730
|
description: z.ZodOptional<z.ZodString>;
|
|
705
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
706
731
|
describe: z.ZodOptional<z.ZodString>;
|
|
707
732
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
733
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
708
734
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
709
735
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
710
736
|
type: z.ZodEnum<{
|
|
@@ -737,7 +763,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
737
763
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
738
764
|
describe: z.ZodOptional<z.ZodString>;
|
|
739
765
|
}, z.core.$strip>>>>;
|
|
740
|
-
isFixed: z.ZodBoolean;
|
|
741
766
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
742
767
|
status: z.ZodEnum<{
|
|
743
768
|
D: "D";
|
|
@@ -745,6 +770,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
745
770
|
A: "A";
|
|
746
771
|
S: "S";
|
|
747
772
|
}>;
|
|
773
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
774
|
+
left: "left";
|
|
775
|
+
center: "center";
|
|
776
|
+
}>>>;
|
|
748
777
|
type: z.ZodLiteral<"single_choice">;
|
|
749
778
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
750
779
|
radio: "radio";
|
|
@@ -770,9 +799,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
770
799
|
id: z.ZodString;
|
|
771
800
|
title: z.ZodString;
|
|
772
801
|
description: z.ZodOptional<z.ZodString>;
|
|
773
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
774
802
|
describe: z.ZodOptional<z.ZodString>;
|
|
775
803
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
804
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
776
805
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
777
806
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
778
807
|
type: z.ZodEnum<{
|
|
@@ -805,7 +834,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
805
834
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
806
835
|
describe: z.ZodOptional<z.ZodString>;
|
|
807
836
|
}, z.core.$strip>>>>;
|
|
808
|
-
isFixed: z.ZodBoolean;
|
|
809
837
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
810
838
|
status: z.ZodEnum<{
|
|
811
839
|
D: "D";
|
|
@@ -813,6 +841,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
813
841
|
A: "A";
|
|
814
842
|
S: "S";
|
|
815
843
|
}>;
|
|
844
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
845
|
+
left: "left";
|
|
846
|
+
center: "center";
|
|
847
|
+
}>>>;
|
|
816
848
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
817
849
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
818
850
|
list: "list";
|
|
@@ -839,9 +871,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
839
871
|
id: z.ZodString;
|
|
840
872
|
title: z.ZodString;
|
|
841
873
|
description: z.ZodOptional<z.ZodString>;
|
|
842
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
843
874
|
describe: z.ZodOptional<z.ZodString>;
|
|
844
875
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
876
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
845
877
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
846
878
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
847
879
|
type: z.ZodEnum<{
|
|
@@ -874,7 +906,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
874
906
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
875
907
|
describe: z.ZodOptional<z.ZodString>;
|
|
876
908
|
}, z.core.$strip>>>>;
|
|
877
|
-
isFixed: z.ZodBoolean;
|
|
878
909
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
879
910
|
status: z.ZodEnum<{
|
|
880
911
|
D: "D";
|
|
@@ -882,6 +913,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
882
913
|
A: "A";
|
|
883
914
|
S: "S";
|
|
884
915
|
}>;
|
|
916
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
917
|
+
left: "left";
|
|
918
|
+
center: "center";
|
|
919
|
+
}>>>;
|
|
885
920
|
type: z.ZodLiteral<"nps">;
|
|
886
921
|
min: z.ZodLiteral<0>;
|
|
887
922
|
max: z.ZodLiteral<10>;
|
|
@@ -893,9 +928,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
893
928
|
id: z.ZodString;
|
|
894
929
|
title: z.ZodString;
|
|
895
930
|
description: z.ZodOptional<z.ZodString>;
|
|
896
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
897
931
|
describe: z.ZodOptional<z.ZodString>;
|
|
898
932
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
933
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
899
934
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
900
935
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
901
936
|
type: z.ZodEnum<{
|
|
@@ -928,7 +963,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
928
963
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
929
964
|
describe: z.ZodOptional<z.ZodString>;
|
|
930
965
|
}, z.core.$strip>>>>;
|
|
931
|
-
isFixed: z.ZodBoolean;
|
|
932
966
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
933
967
|
status: z.ZodEnum<{
|
|
934
968
|
D: "D";
|
|
@@ -936,6 +970,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
936
970
|
A: "A";
|
|
937
971
|
S: "S";
|
|
938
972
|
}>;
|
|
973
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
974
|
+
left: "left";
|
|
975
|
+
center: "center";
|
|
976
|
+
}>>>;
|
|
939
977
|
type: z.ZodLiteral<"short_answer">;
|
|
940
978
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
941
979
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -950,9 +988,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
950
988
|
id: z.ZodString;
|
|
951
989
|
title: z.ZodString;
|
|
952
990
|
description: z.ZodOptional<z.ZodString>;
|
|
953
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
954
991
|
describe: z.ZodOptional<z.ZodString>;
|
|
955
992
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
993
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
956
994
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
957
995
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
958
996
|
type: z.ZodEnum<{
|
|
@@ -985,7 +1023,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
985
1023
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
986
1024
|
describe: z.ZodOptional<z.ZodString>;
|
|
987
1025
|
}, z.core.$strip>>>>;
|
|
988
|
-
isFixed: z.ZodBoolean;
|
|
989
1026
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
990
1027
|
status: z.ZodEnum<{
|
|
991
1028
|
D: "D";
|
|
@@ -993,6 +1030,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
993
1030
|
A: "A";
|
|
994
1031
|
S: "S";
|
|
995
1032
|
}>;
|
|
1033
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1034
|
+
left: "left";
|
|
1035
|
+
center: "center";
|
|
1036
|
+
}>>>;
|
|
996
1037
|
type: z.ZodLiteral<"long_text">;
|
|
997
1038
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
998
1039
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1006,9 +1047,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1006
1047
|
id: z.ZodString;
|
|
1007
1048
|
title: z.ZodString;
|
|
1008
1049
|
description: z.ZodOptional<z.ZodString>;
|
|
1009
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1010
1050
|
describe: z.ZodOptional<z.ZodString>;
|
|
1011
1051
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1052
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1012
1053
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1013
1054
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1014
1055
|
type: z.ZodEnum<{
|
|
@@ -1041,7 +1082,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1041
1082
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1042
1083
|
describe: z.ZodOptional<z.ZodString>;
|
|
1043
1084
|
}, z.core.$strip>>>>;
|
|
1044
|
-
isFixed: z.ZodBoolean;
|
|
1045
1085
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1046
1086
|
status: z.ZodEnum<{
|
|
1047
1087
|
D: "D";
|
|
@@ -1049,6 +1089,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1049
1089
|
A: "A";
|
|
1050
1090
|
S: "S";
|
|
1051
1091
|
}>;
|
|
1092
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1093
|
+
left: "left";
|
|
1094
|
+
center: "center";
|
|
1095
|
+
}>>>;
|
|
1052
1096
|
type: z.ZodLiteral<"nested_selection">;
|
|
1053
1097
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1054
1098
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1075,12 +1119,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1075
1119
|
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
1076
1120
|
value: z.ZodString;
|
|
1077
1121
|
label: z.ZodString;
|
|
1078
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
1079
1122
|
}, z.core.$strip>>;
|
|
1080
1123
|
translations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1081
1124
|
title: z.ZodString;
|
|
1082
1125
|
description: z.ZodOptional<z.ZodString>;
|
|
1083
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1084
1126
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1085
1127
|
type: z.ZodLiteral<"rating">;
|
|
1086
1128
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1088,21 +1130,18 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1088
1130
|
}, z.core.$strip>, z.ZodObject<{
|
|
1089
1131
|
title: z.ZodString;
|
|
1090
1132
|
description: z.ZodOptional<z.ZodString>;
|
|
1091
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1092
1133
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1093
1134
|
type: z.ZodLiteral<"single_choice">;
|
|
1094
1135
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1095
1136
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1096
1137
|
title: z.ZodString;
|
|
1097
1138
|
description: z.ZodOptional<z.ZodString>;
|
|
1098
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1099
1139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1100
1140
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1101
1141
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1102
1142
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1103
1143
|
title: z.ZodString;
|
|
1104
1144
|
description: z.ZodOptional<z.ZodString>;
|
|
1105
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1106
1145
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1107
1146
|
type: z.ZodLiteral<"nps">;
|
|
1108
1147
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,28 +1149,24 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1110
1149
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1111
1150
|
title: z.ZodString;
|
|
1112
1151
|
description: z.ZodOptional<z.ZodString>;
|
|
1113
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1114
1152
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1115
1153
|
type: z.ZodLiteral<"short_answer">;
|
|
1116
1154
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1117
1155
|
}, z.core.$strip>, z.ZodObject<{
|
|
1118
1156
|
title: z.ZodString;
|
|
1119
1157
|
description: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1121
1158
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1122
1159
|
type: z.ZodLiteral<"long_text">;
|
|
1123
1160
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1124
1161
|
}, z.core.$strip>, z.ZodObject<{
|
|
1125
1162
|
title: z.ZodString;
|
|
1126
1163
|
description: z.ZodOptional<z.ZodString>;
|
|
1127
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1128
1164
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1129
1165
|
type: z.ZodLiteral<"nested_selection">;
|
|
1130
1166
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1131
1167
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1132
1168
|
title: z.ZodString;
|
|
1133
1169
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1135
1170
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1136
1171
|
type: z.ZodLiteral<"annotation">;
|
|
1137
1172
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,28 +1174,24 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1139
1174
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1175
|
title: z.ZodString;
|
|
1141
1176
|
description: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1143
1177
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1144
1178
|
type: z.ZodLiteral<"welcome">;
|
|
1145
1179
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1146
1180
|
}, z.core.$strip>, z.ZodObject<{
|
|
1147
1181
|
title: z.ZodString;
|
|
1148
1182
|
description: z.ZodOptional<z.ZodString>;
|
|
1149
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1150
1183
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1151
1184
|
type: z.ZodLiteral<"thank_you">;
|
|
1152
1185
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1153
1186
|
}, z.core.$strip>, z.ZodObject<{
|
|
1154
1187
|
title: z.ZodString;
|
|
1155
1188
|
description: z.ZodOptional<z.ZodString>;
|
|
1156
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1157
1189
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1158
1190
|
type: z.ZodLiteral<"message_panel">;
|
|
1159
1191
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1160
1192
|
}, z.core.$strip>, z.ZodObject<{
|
|
1161
1193
|
title: z.ZodString;
|
|
1162
1194
|
description: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1164
1195
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1165
1196
|
type: z.ZodLiteral<"yes_no">;
|
|
1166
1197
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1168,7 +1199,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1168
1199
|
}, z.core.$strip>, z.ZodObject<{
|
|
1169
1200
|
title: z.ZodString;
|
|
1170
1201
|
description: z.ZodOptional<z.ZodString>;
|
|
1171
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1172
1202
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1173
1203
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1174
1204
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1176,13 +1206,11 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1176
1206
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1177
1207
|
title: z.ZodString;
|
|
1178
1208
|
description: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1180
1209
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1181
1210
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1182
1211
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1183
1212
|
title: z.ZodString;
|
|
1184
1213
|
description: z.ZodOptional<z.ZodString>;
|
|
1185
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1186
1214
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1187
1215
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1188
1216
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
@@ -1325,66 +1353,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1325
1353
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1326
1354
|
}, z.core.$strip>>;
|
|
1327
1355
|
}, z.core.$strip>], "isEnabled">;
|
|
1328
|
-
welcomeScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1329
|
-
isEnabled: z.ZodLiteral<false>;
|
|
1330
|
-
welcomeFields: z.ZodOptional<z.ZodObject<{
|
|
1331
|
-
title: z.ZodString;
|
|
1332
|
-
description: z.ZodString;
|
|
1333
|
-
buttonLabel: z.ZodString;
|
|
1334
|
-
}, z.core.$strip>>;
|
|
1335
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1336
|
-
title: z.ZodString;
|
|
1337
|
-
description: z.ZodString;
|
|
1338
|
-
buttonLabel: z.ZodString;
|
|
1339
|
-
}, z.core.$strip>>>;
|
|
1340
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1341
|
-
isEnabled: z.ZodLiteral<true>;
|
|
1342
|
-
welcomeFields: z.ZodObject<{
|
|
1343
|
-
title: z.ZodString;
|
|
1344
|
-
description: z.ZodString;
|
|
1345
|
-
buttonLabel: z.ZodString;
|
|
1346
|
-
}, z.core.$strip>;
|
|
1347
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1348
|
-
title: z.ZodString;
|
|
1349
|
-
description: z.ZodString;
|
|
1350
|
-
buttonLabel: z.ZodString;
|
|
1351
|
-
}, z.core.$strip>>;
|
|
1352
|
-
}, z.core.$strip>], "isEnabled">;
|
|
1353
|
-
endScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1354
|
-
isEnabled: z.ZodLiteral<false>;
|
|
1355
|
-
endFields: z.ZodOptional<z.ZodObject<{
|
|
1356
|
-
title: z.ZodString;
|
|
1357
|
-
message: z.ZodString;
|
|
1358
|
-
buttonLabel: z.ZodString;
|
|
1359
|
-
dismissBehavior: z.ZodEnum<{
|
|
1360
|
-
fade: "fade";
|
|
1361
|
-
manual: "manual";
|
|
1362
|
-
}>;
|
|
1363
|
-
fadeDuration: z.ZodNumber;
|
|
1364
|
-
}, z.core.$strip>>;
|
|
1365
|
-
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1366
|
-
buttonLabel: z.ZodString;
|
|
1367
|
-
title: z.ZodString;
|
|
1368
|
-
message: z.ZodString;
|
|
1369
|
-
}, z.core.$strip>>>;
|
|
1370
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1371
|
-
isEnabled: z.ZodLiteral<true>;
|
|
1372
|
-
endFields: z.ZodObject<{
|
|
1373
|
-
title: z.ZodString;
|
|
1374
|
-
message: z.ZodString;
|
|
1375
|
-
buttonLabel: z.ZodString;
|
|
1376
|
-
dismissBehavior: z.ZodEnum<{
|
|
1377
|
-
fade: "fade";
|
|
1378
|
-
manual: "manual";
|
|
1379
|
-
}>;
|
|
1380
|
-
fadeDuration: z.ZodNumber;
|
|
1381
|
-
}, z.core.$strip>;
|
|
1382
|
-
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1383
|
-
buttonLabel: z.ZodString;
|
|
1384
|
-
title: z.ZodString;
|
|
1385
|
-
message: z.ZodString;
|
|
1386
|
-
}, z.core.$strip>>;
|
|
1387
|
-
}, z.core.$strip>], "isEnabled">;
|
|
1388
1356
|
appearanceProperties: z.ZodObject<{
|
|
1389
1357
|
themeConfiguration: z.ZodObject<{
|
|
1390
1358
|
themes: z.ZodObject<{
|
|
@@ -1451,22 +1419,4 @@ export type OtherConfigurationProperties = {
|
|
|
1451
1419
|
otherFields: z.infer<typeof OtherFieldsSchema>;
|
|
1452
1420
|
translations: Record<string, z.infer<typeof OtherFieldsTranslationSchema>>;
|
|
1453
1421
|
};
|
|
1454
|
-
export type WelcomeScreenProperties = {
|
|
1455
|
-
isEnabled: false;
|
|
1456
|
-
welcomeFields?: z.infer<typeof WelcomeScreenFieldsSchema>;
|
|
1457
|
-
translations?: Record<string, z.infer<typeof WelcomeFieldsTranslationSchema>>;
|
|
1458
|
-
} | {
|
|
1459
|
-
isEnabled: true;
|
|
1460
|
-
welcomeFields: z.infer<typeof WelcomeScreenFieldsSchema>;
|
|
1461
|
-
translations: Record<string, z.infer<typeof WelcomeFieldsTranslationSchema>>;
|
|
1462
|
-
};
|
|
1463
|
-
export type EndScreenProperties = {
|
|
1464
|
-
isEnabled: false;
|
|
1465
|
-
endFields?: z.infer<typeof EndScreenFieldsSchema>;
|
|
1466
|
-
translations?: Record<string, z.infer<typeof EndFieldsTranslationSchema>>;
|
|
1467
|
-
} | {
|
|
1468
|
-
isEnabled: true;
|
|
1469
|
-
endFields: z.infer<typeof EndScreenFieldsSchema>;
|
|
1470
|
-
translations: Record<string, z.infer<typeof EndFieldsTranslationSchema>>;
|
|
1471
|
-
};
|
|
1472
1422
|
export type AppearanceProperties = z.infer<typeof appearancePropertiesSchema>;
|