@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
|
@@ -3,13 +3,9 @@ import { OtherFieldsSchema, OtherFieldsTranslationSchema } from "./other-screen-
|
|
|
3
3
|
export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
isEnabled: z.ZodLiteral<false>;
|
|
5
5
|
otherFields: z.ZodObject<{
|
|
6
|
-
pagination: z.ZodBoolean;
|
|
7
6
|
questionNumber: z.ZodBoolean;
|
|
8
|
-
pageTitle: z.ZodBoolean;
|
|
9
|
-
blockerFeedback: z.ZodBoolean;
|
|
10
7
|
submitButtonLabel: z.ZodString;
|
|
11
8
|
previousButtonLabel: z.ZodString;
|
|
12
|
-
nextButtonLabel: z.ZodString;
|
|
13
9
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
14
10
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
15
11
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -17,7 +13,6 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
17
13
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
18
14
|
submitButtonLabel: z.ZodString;
|
|
19
15
|
previousButtonLabel: z.ZodString;
|
|
20
|
-
nextButtonLabel: z.ZodString;
|
|
21
16
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
22
17
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
23
18
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -25,13 +20,9 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
25
20
|
}, z.core.$strip>, z.ZodObject<{
|
|
26
21
|
isEnabled: z.ZodLiteral<true>;
|
|
27
22
|
otherFields: z.ZodObject<{
|
|
28
|
-
pagination: z.ZodBoolean;
|
|
29
23
|
questionNumber: z.ZodBoolean;
|
|
30
|
-
pageTitle: z.ZodBoolean;
|
|
31
|
-
blockerFeedback: z.ZodBoolean;
|
|
32
24
|
submitButtonLabel: z.ZodString;
|
|
33
25
|
previousButtonLabel: z.ZodString;
|
|
34
|
-
nextButtonLabel: z.ZodString;
|
|
35
26
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
36
27
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
37
28
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -39,7 +30,6 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
39
30
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
40
31
|
submitButtonLabel: z.ZodString;
|
|
41
32
|
previousButtonLabel: z.ZodString;
|
|
42
|
-
nextButtonLabel: z.ZodString;
|
|
43
33
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
44
34
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
45
35
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -56,25 +46,24 @@ export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
|
56
46
|
}, z.core.$strip>;
|
|
57
47
|
}, z.core.$strip>;
|
|
58
48
|
featureSettings: z.ZodObject<{
|
|
59
|
-
darkOverlay: z.ZodBoolean
|
|
60
|
-
closeButton: z.ZodBoolean
|
|
61
|
-
progressBar: z.ZodBoolean
|
|
62
|
-
showBranding: z.ZodBoolean
|
|
49
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
50
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
51
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
52
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
63
53
|
customPosition: z.ZodBoolean;
|
|
64
|
-
customIconPosition: z.ZodBoolean;
|
|
65
54
|
customCss: z.ZodOptional<z.ZodString>;
|
|
66
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
67
56
|
light: "light";
|
|
68
57
|
dark: "dark";
|
|
69
58
|
system: "system";
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
rtl: z.ZodBoolean
|
|
73
|
-
previousButton: z.ZodEnum<{
|
|
59
|
+
}>>>;
|
|
60
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
61
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
62
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
74
63
|
never: "never";
|
|
75
64
|
always: "always";
|
|
76
65
|
auto: "auto";
|
|
77
|
-
}
|
|
66
|
+
}>>;
|
|
78
67
|
}, z.core.$strip>;
|
|
79
68
|
selectedPosition: z.ZodEnum<{
|
|
80
69
|
"top-left": "top-left";
|
|
@@ -115,6 +104,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
115
104
|
questionnaireFields: z.ZodObject<{
|
|
116
105
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
117
106
|
id: z.ZodString;
|
|
107
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
118
108
|
title: z.ZodString;
|
|
119
109
|
description: z.ZodOptional<z.ZodString>;
|
|
120
110
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -123,15 +113,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
123
113
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
124
114
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
115
|
type: z.ZodEnum<{
|
|
116
|
+
custom: "custom";
|
|
117
|
+
pattern: "pattern";
|
|
126
118
|
required: "required";
|
|
127
119
|
min: "min";
|
|
128
120
|
max: "max";
|
|
129
121
|
minLength: "minLength";
|
|
130
122
|
maxLength: "maxLength";
|
|
131
|
-
pattern: "pattern";
|
|
132
123
|
email: "email";
|
|
133
124
|
url: "url";
|
|
134
|
-
custom: "custom";
|
|
135
125
|
}>;
|
|
136
126
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
137
127
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -162,7 +152,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
162
152
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
163
153
|
left: "left";
|
|
164
154
|
center: "center";
|
|
155
|
+
justify: "justify";
|
|
165
156
|
}>>>;
|
|
157
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
166
158
|
type: z.ZodLiteral<"rating">;
|
|
167
159
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
168
160
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -184,6 +176,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
184
176
|
color: z.ZodOptional<z.ZodString>;
|
|
185
177
|
}, z.core.$strip>, z.ZodObject<{
|
|
186
178
|
id: z.ZodString;
|
|
179
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
187
180
|
title: z.ZodString;
|
|
188
181
|
description: z.ZodOptional<z.ZodString>;
|
|
189
182
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -192,15 +185,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
192
185
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
193
186
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
194
187
|
type: z.ZodEnum<{
|
|
188
|
+
custom: "custom";
|
|
189
|
+
pattern: "pattern";
|
|
195
190
|
required: "required";
|
|
196
191
|
min: "min";
|
|
197
192
|
max: "max";
|
|
198
193
|
minLength: "minLength";
|
|
199
194
|
maxLength: "maxLength";
|
|
200
|
-
pattern: "pattern";
|
|
201
195
|
email: "email";
|
|
202
196
|
url: "url";
|
|
203
|
-
custom: "custom";
|
|
204
197
|
}>;
|
|
205
198
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
206
199
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -231,27 +224,30 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
231
224
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
232
225
|
left: "left";
|
|
233
226
|
center: "center";
|
|
227
|
+
justify: "justify";
|
|
234
228
|
}>>>;
|
|
229
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
235
230
|
type: z.ZodLiteral<"annotation">;
|
|
236
231
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
237
232
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
238
233
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
234
|
id: z.ZodString;
|
|
235
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
240
236
|
describe: z.ZodOptional<z.ZodString>;
|
|
241
237
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
242
238
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
243
239
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
244
240
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
245
241
|
type: z.ZodEnum<{
|
|
242
|
+
custom: "custom";
|
|
243
|
+
pattern: "pattern";
|
|
246
244
|
required: "required";
|
|
247
245
|
min: "min";
|
|
248
246
|
max: "max";
|
|
249
247
|
minLength: "minLength";
|
|
250
248
|
maxLength: "maxLength";
|
|
251
|
-
pattern: "pattern";
|
|
252
249
|
email: "email";
|
|
253
250
|
url: "url";
|
|
254
|
-
custom: "custom";
|
|
255
251
|
}>;
|
|
256
252
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
257
253
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -282,29 +278,31 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
282
278
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
283
279
|
left: "left";
|
|
284
280
|
center: "center";
|
|
281
|
+
justify: "justify";
|
|
285
282
|
}>>>;
|
|
283
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
286
284
|
type: z.ZodLiteral<"welcome">;
|
|
287
285
|
title: z.ZodString;
|
|
288
286
|
description: z.ZodOptional<z.ZodString>;
|
|
289
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
290
287
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
291
288
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
289
|
id: z.ZodString;
|
|
290
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
293
291
|
describe: z.ZodOptional<z.ZodString>;
|
|
294
292
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
295
293
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
296
294
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
297
295
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
296
|
type: z.ZodEnum<{
|
|
297
|
+
custom: "custom";
|
|
298
|
+
pattern: "pattern";
|
|
299
299
|
required: "required";
|
|
300
300
|
min: "min";
|
|
301
301
|
max: "max";
|
|
302
302
|
minLength: "minLength";
|
|
303
303
|
maxLength: "maxLength";
|
|
304
|
-
pattern: "pattern";
|
|
305
304
|
email: "email";
|
|
306
305
|
url: "url";
|
|
307
|
-
custom: "custom";
|
|
308
306
|
}>;
|
|
309
307
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
310
308
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -335,29 +333,31 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
335
333
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
336
334
|
left: "left";
|
|
337
335
|
center: "center";
|
|
336
|
+
justify: "justify";
|
|
338
337
|
}>>>;
|
|
338
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
339
339
|
type: z.ZodLiteral<"thank_you">;
|
|
340
340
|
title: z.ZodString;
|
|
341
341
|
description: z.ZodOptional<z.ZodString>;
|
|
342
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
343
342
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
344
343
|
}, z.core.$strip>, z.ZodObject<{
|
|
345
344
|
id: z.ZodString;
|
|
345
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
346
346
|
describe: z.ZodOptional<z.ZodString>;
|
|
347
347
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
348
348
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
349
349
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
350
350
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
351
351
|
type: z.ZodEnum<{
|
|
352
|
+
custom: "custom";
|
|
353
|
+
pattern: "pattern";
|
|
352
354
|
required: "required";
|
|
353
355
|
min: "min";
|
|
354
356
|
max: "max";
|
|
355
357
|
minLength: "minLength";
|
|
356
358
|
maxLength: "maxLength";
|
|
357
|
-
pattern: "pattern";
|
|
358
359
|
email: "email";
|
|
359
360
|
url: "url";
|
|
360
|
-
custom: "custom";
|
|
361
361
|
}>;
|
|
362
362
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
363
363
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -388,14 +388,16 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
388
388
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
389
389
|
left: "left";
|
|
390
390
|
center: "center";
|
|
391
|
+
justify: "justify";
|
|
391
392
|
}>>>;
|
|
393
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
392
394
|
type: z.ZodLiteral<"message_panel">;
|
|
393
395
|
title: z.ZodString;
|
|
394
396
|
description: z.ZodOptional<z.ZodString>;
|
|
395
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
396
397
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
397
398
|
}, z.core.$strip>, z.ZodObject<{
|
|
398
399
|
id: z.ZodString;
|
|
400
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
399
401
|
title: z.ZodString;
|
|
400
402
|
description: z.ZodOptional<z.ZodString>;
|
|
401
403
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -404,15 +406,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
404
406
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
405
407
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
406
408
|
type: z.ZodEnum<{
|
|
409
|
+
custom: "custom";
|
|
410
|
+
pattern: "pattern";
|
|
407
411
|
required: "required";
|
|
408
412
|
min: "min";
|
|
409
413
|
max: "max";
|
|
410
414
|
minLength: "minLength";
|
|
411
415
|
maxLength: "maxLength";
|
|
412
|
-
pattern: "pattern";
|
|
413
416
|
email: "email";
|
|
414
417
|
url: "url";
|
|
415
|
-
custom: "custom";
|
|
416
418
|
}>;
|
|
417
419
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
418
420
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -443,10 +445,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
443
445
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
444
446
|
left: "left";
|
|
445
447
|
center: "center";
|
|
448
|
+
justify: "justify";
|
|
446
449
|
}>>>;
|
|
450
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
447
451
|
type: z.ZodLiteral<"exit_form">;
|
|
448
452
|
}, z.core.$strip>, z.ZodObject<{
|
|
449
453
|
id: z.ZodString;
|
|
454
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
450
455
|
title: z.ZodString;
|
|
451
456
|
description: z.ZodOptional<z.ZodString>;
|
|
452
457
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -455,15 +460,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
455
460
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
456
461
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
457
462
|
type: z.ZodEnum<{
|
|
463
|
+
custom: "custom";
|
|
464
|
+
pattern: "pattern";
|
|
458
465
|
required: "required";
|
|
459
466
|
min: "min";
|
|
460
467
|
max: "max";
|
|
461
468
|
minLength: "minLength";
|
|
462
469
|
maxLength: "maxLength";
|
|
463
|
-
pattern: "pattern";
|
|
464
470
|
email: "email";
|
|
465
471
|
url: "url";
|
|
466
|
-
custom: "custom";
|
|
467
472
|
}>;
|
|
468
473
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
469
474
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -494,7 +499,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
494
499
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
495
500
|
left: "left";
|
|
496
501
|
center: "center";
|
|
502
|
+
justify: "justify";
|
|
497
503
|
}>>>;
|
|
504
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
498
505
|
type: z.ZodLiteral<"yes_no">;
|
|
499
506
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
500
507
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -504,6 +511,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
504
511
|
}>>;
|
|
505
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
506
513
|
id: z.ZodString;
|
|
514
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
507
515
|
title: z.ZodString;
|
|
508
516
|
description: z.ZodOptional<z.ZodString>;
|
|
509
517
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -512,15 +520,69 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
512
520
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
513
521
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
514
522
|
type: z.ZodEnum<{
|
|
523
|
+
custom: "custom";
|
|
524
|
+
pattern: "pattern";
|
|
515
525
|
required: "required";
|
|
516
526
|
min: "min";
|
|
517
527
|
max: "max";
|
|
518
528
|
minLength: "minLength";
|
|
519
529
|
maxLength: "maxLength";
|
|
520
|
-
pattern: "pattern";
|
|
521
530
|
email: "email";
|
|
522
531
|
url: "url";
|
|
532
|
+
}>;
|
|
533
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
534
|
+
message: z.ZodOptional<z.ZodString>;
|
|
535
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
536
|
+
}, z.core.$strip>>>>;
|
|
537
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
|
+
field: z.ZodString;
|
|
539
|
+
operator: z.ZodEnum<{
|
|
540
|
+
equals: "equals";
|
|
541
|
+
not_equals: "not_equals";
|
|
542
|
+
contains: "contains";
|
|
543
|
+
not_contains: "not_contains";
|
|
544
|
+
greater_than: "greater_than";
|
|
545
|
+
less_than: "less_than";
|
|
546
|
+
is_empty: "is_empty";
|
|
547
|
+
is_not_empty: "is_not_empty";
|
|
548
|
+
}>;
|
|
549
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
550
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
551
|
+
}, z.core.$strip>>>>;
|
|
552
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
553
|
+
status: z.ZodEnum<{
|
|
554
|
+
D: "D";
|
|
555
|
+
P: "P";
|
|
556
|
+
A: "A";
|
|
557
|
+
S: "S";
|
|
558
|
+
}>;
|
|
559
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
left: "left";
|
|
561
|
+
center: "center";
|
|
562
|
+
justify: "justify";
|
|
563
|
+
}>>>;
|
|
564
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
565
|
+
type: z.ZodLiteral<"consent">;
|
|
566
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
567
|
+
id: z.ZodString;
|
|
568
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
569
|
+
title: z.ZodString;
|
|
570
|
+
description: z.ZodOptional<z.ZodString>;
|
|
571
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
572
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
573
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
574
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
575
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
576
|
+
type: z.ZodEnum<{
|
|
523
577
|
custom: "custom";
|
|
578
|
+
pattern: "pattern";
|
|
579
|
+
required: "required";
|
|
580
|
+
min: "min";
|
|
581
|
+
max: "max";
|
|
582
|
+
minLength: "minLength";
|
|
583
|
+
maxLength: "maxLength";
|
|
584
|
+
email: "email";
|
|
585
|
+
url: "url";
|
|
524
586
|
}>;
|
|
525
587
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
526
588
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -551,7 +613,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
551
613
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
552
614
|
left: "left";
|
|
553
615
|
center: "center";
|
|
616
|
+
justify: "justify";
|
|
554
617
|
}>>>;
|
|
618
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
555
619
|
type: z.ZodLiteral<"rating_matrix">;
|
|
556
620
|
statements: z.ZodArray<z.ZodObject<{
|
|
557
621
|
id: z.ZodString;
|
|
@@ -594,6 +658,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
594
658
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
595
659
|
}, z.core.$strip>, z.ZodObject<{
|
|
596
660
|
id: z.ZodString;
|
|
661
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
597
662
|
title: z.ZodString;
|
|
598
663
|
description: z.ZodOptional<z.ZodString>;
|
|
599
664
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -602,15 +667,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
602
667
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
603
668
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
604
669
|
type: z.ZodEnum<{
|
|
670
|
+
custom: "custom";
|
|
671
|
+
pattern: "pattern";
|
|
605
672
|
required: "required";
|
|
606
673
|
min: "min";
|
|
607
674
|
max: "max";
|
|
608
675
|
minLength: "minLength";
|
|
609
676
|
maxLength: "maxLength";
|
|
610
|
-
pattern: "pattern";
|
|
611
677
|
email: "email";
|
|
612
678
|
url: "url";
|
|
613
|
-
custom: "custom";
|
|
614
679
|
}>;
|
|
615
680
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
616
681
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -641,7 +706,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
641
706
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
642
707
|
left: "left";
|
|
643
708
|
center: "center";
|
|
709
|
+
justify: "justify";
|
|
644
710
|
}>>>;
|
|
711
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
645
712
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
646
713
|
rows: z.ZodArray<z.ZodObject<{
|
|
647
714
|
id: z.ZodString;
|
|
@@ -659,6 +726,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
659
726
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
660
727
|
}, z.core.$strip>, z.ZodObject<{
|
|
661
728
|
id: z.ZodString;
|
|
729
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
662
730
|
title: z.ZodString;
|
|
663
731
|
description: z.ZodOptional<z.ZodString>;
|
|
664
732
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -667,15 +735,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
667
735
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
668
736
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
669
737
|
type: z.ZodEnum<{
|
|
738
|
+
custom: "custom";
|
|
739
|
+
pattern: "pattern";
|
|
670
740
|
required: "required";
|
|
671
741
|
min: "min";
|
|
672
742
|
max: "max";
|
|
673
743
|
minLength: "minLength";
|
|
674
744
|
maxLength: "maxLength";
|
|
675
|
-
pattern: "pattern";
|
|
676
745
|
email: "email";
|
|
677
746
|
url: "url";
|
|
678
|
-
custom: "custom";
|
|
679
747
|
}>;
|
|
680
748
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
681
749
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -706,7 +774,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
706
774
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
707
775
|
left: "left";
|
|
708
776
|
center: "center";
|
|
777
|
+
justify: "justify";
|
|
709
778
|
}>>>;
|
|
779
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
710
780
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
711
781
|
rows: z.ZodArray<z.ZodObject<{
|
|
712
782
|
id: z.ZodString;
|
|
@@ -726,6 +796,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
726
796
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
727
797
|
}, z.core.$strip>, z.ZodObject<{
|
|
728
798
|
id: z.ZodString;
|
|
799
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
729
800
|
title: z.ZodString;
|
|
730
801
|
description: z.ZodOptional<z.ZodString>;
|
|
731
802
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -734,15 +805,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
734
805
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
735
806
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
736
807
|
type: z.ZodEnum<{
|
|
808
|
+
custom: "custom";
|
|
809
|
+
pattern: "pattern";
|
|
737
810
|
required: "required";
|
|
738
811
|
min: "min";
|
|
739
812
|
max: "max";
|
|
740
813
|
minLength: "minLength";
|
|
741
814
|
maxLength: "maxLength";
|
|
742
|
-
pattern: "pattern";
|
|
743
815
|
email: "email";
|
|
744
816
|
url: "url";
|
|
745
|
-
custom: "custom";
|
|
746
817
|
}>;
|
|
747
818
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
748
819
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -773,7 +844,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
773
844
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
774
845
|
left: "left";
|
|
775
846
|
center: "center";
|
|
847
|
+
justify: "justify";
|
|
776
848
|
}>>>;
|
|
849
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
777
850
|
type: z.ZodLiteral<"single_choice">;
|
|
778
851
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
779
852
|
radio: "radio";
|
|
@@ -797,6 +870,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
797
870
|
}, z.core.$strip>>;
|
|
798
871
|
}, z.core.$strip>, z.ZodObject<{
|
|
799
872
|
id: z.ZodString;
|
|
873
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
800
874
|
title: z.ZodString;
|
|
801
875
|
description: z.ZodOptional<z.ZodString>;
|
|
802
876
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -805,15 +879,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
805
879
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
806
880
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
807
881
|
type: z.ZodEnum<{
|
|
882
|
+
custom: "custom";
|
|
883
|
+
pattern: "pattern";
|
|
808
884
|
required: "required";
|
|
809
885
|
min: "min";
|
|
810
886
|
max: "max";
|
|
811
887
|
minLength: "minLength";
|
|
812
888
|
maxLength: "maxLength";
|
|
813
|
-
pattern: "pattern";
|
|
814
889
|
email: "email";
|
|
815
890
|
url: "url";
|
|
816
|
-
custom: "custom";
|
|
817
891
|
}>;
|
|
818
892
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
819
893
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -844,7 +918,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
844
918
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
845
919
|
left: "left";
|
|
846
920
|
center: "center";
|
|
921
|
+
justify: "justify";
|
|
847
922
|
}>>>;
|
|
923
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
848
924
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
849
925
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
850
926
|
list: "list";
|
|
@@ -869,6 +945,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
869
945
|
}, z.core.$strip>>;
|
|
870
946
|
}, z.core.$strip>, z.ZodObject<{
|
|
871
947
|
id: z.ZodString;
|
|
948
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
872
949
|
title: z.ZodString;
|
|
873
950
|
description: z.ZodOptional<z.ZodString>;
|
|
874
951
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -877,15 +954,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
877
954
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
878
955
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
956
|
type: z.ZodEnum<{
|
|
957
|
+
custom: "custom";
|
|
958
|
+
pattern: "pattern";
|
|
880
959
|
required: "required";
|
|
881
960
|
min: "min";
|
|
882
961
|
max: "max";
|
|
883
962
|
minLength: "minLength";
|
|
884
963
|
maxLength: "maxLength";
|
|
885
|
-
pattern: "pattern";
|
|
886
964
|
email: "email";
|
|
887
965
|
url: "url";
|
|
888
|
-
custom: "custom";
|
|
889
966
|
}>;
|
|
890
967
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
891
968
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -916,7 +993,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
916
993
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
917
994
|
left: "left";
|
|
918
995
|
center: "center";
|
|
996
|
+
justify: "justify";
|
|
919
997
|
}>>>;
|
|
998
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
920
999
|
type: z.ZodLiteral<"nps">;
|
|
921
1000
|
min: z.ZodLiteral<0>;
|
|
922
1001
|
max: z.ZodLiteral<10>;
|
|
@@ -926,6 +1005,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
926
1005
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
927
1006
|
}, z.core.$strip>, z.ZodObject<{
|
|
928
1007
|
id: z.ZodString;
|
|
1008
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
929
1009
|
title: z.ZodString;
|
|
930
1010
|
description: z.ZodOptional<z.ZodString>;
|
|
931
1011
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -934,15 +1014,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
934
1014
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
935
1015
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
936
1016
|
type: z.ZodEnum<{
|
|
1017
|
+
custom: "custom";
|
|
1018
|
+
pattern: "pattern";
|
|
937
1019
|
required: "required";
|
|
938
1020
|
min: "min";
|
|
939
1021
|
max: "max";
|
|
940
1022
|
minLength: "minLength";
|
|
941
1023
|
maxLength: "maxLength";
|
|
942
|
-
pattern: "pattern";
|
|
943
1024
|
email: "email";
|
|
944
1025
|
url: "url";
|
|
945
|
-
custom: "custom";
|
|
946
1026
|
}>;
|
|
947
1027
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
948
1028
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -973,7 +1053,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
973
1053
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
974
1054
|
left: "left";
|
|
975
1055
|
center: "center";
|
|
1056
|
+
justify: "justify";
|
|
976
1057
|
}>>>;
|
|
1058
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
977
1059
|
type: z.ZodLiteral<"short_answer">;
|
|
978
1060
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
979
1061
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -986,6 +1068,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
986
1068
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
987
1069
|
}, z.core.$strip>, z.ZodObject<{
|
|
988
1070
|
id: z.ZodString;
|
|
1071
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
989
1072
|
title: z.ZodString;
|
|
990
1073
|
description: z.ZodOptional<z.ZodString>;
|
|
991
1074
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -994,15 +1077,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
994
1077
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
995
1078
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
996
1079
|
type: z.ZodEnum<{
|
|
1080
|
+
custom: "custom";
|
|
1081
|
+
pattern: "pattern";
|
|
997
1082
|
required: "required";
|
|
998
1083
|
min: "min";
|
|
999
1084
|
max: "max";
|
|
1000
1085
|
minLength: "minLength";
|
|
1001
1086
|
maxLength: "maxLength";
|
|
1002
|
-
pattern: "pattern";
|
|
1003
1087
|
email: "email";
|
|
1004
1088
|
url: "url";
|
|
1005
|
-
custom: "custom";
|
|
1006
1089
|
}>;
|
|
1007
1090
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1008
1091
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1033,7 +1116,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1033
1116
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1034
1117
|
left: "left";
|
|
1035
1118
|
center: "center";
|
|
1119
|
+
justify: "justify";
|
|
1036
1120
|
}>>>;
|
|
1121
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1037
1122
|
type: z.ZodLiteral<"long_text">;
|
|
1038
1123
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1039
1124
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1045,6 +1130,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1045
1130
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1046
1131
|
}, z.core.$strip>, z.ZodObject<{
|
|
1047
1132
|
id: z.ZodString;
|
|
1133
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1048
1134
|
title: z.ZodString;
|
|
1049
1135
|
description: z.ZodOptional<z.ZodString>;
|
|
1050
1136
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1053,15 +1139,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1053
1139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1054
1140
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1055
1141
|
type: z.ZodEnum<{
|
|
1142
|
+
custom: "custom";
|
|
1143
|
+
pattern: "pattern";
|
|
1056
1144
|
required: "required";
|
|
1057
1145
|
min: "min";
|
|
1058
1146
|
max: "max";
|
|
1059
1147
|
minLength: "minLength";
|
|
1060
1148
|
maxLength: "maxLength";
|
|
1061
|
-
pattern: "pattern";
|
|
1062
1149
|
email: "email";
|
|
1063
1150
|
url: "url";
|
|
1064
|
-
custom: "custom";
|
|
1065
1151
|
}>;
|
|
1066
1152
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1067
1153
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1092,7 +1178,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1092
1178
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1093
1179
|
left: "left";
|
|
1094
1180
|
center: "center";
|
|
1181
|
+
justify: "justify";
|
|
1095
1182
|
}>>>;
|
|
1183
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1096
1184
|
type: z.ZodLiteral<"nested_selection">;
|
|
1097
1185
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1098
1186
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1114,6 +1202,16 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1114
1202
|
sections: z.ZodArray<z.ZodObject<{
|
|
1115
1203
|
id: z.ZodString;
|
|
1116
1204
|
title: z.ZodString;
|
|
1205
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1206
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1207
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1208
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1210
|
+
title: z.ZodString;
|
|
1211
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1213
|
+
}, z.core.$strip>>>;
|
|
1214
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1117
1215
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1118
1216
|
}, z.core.$strip>>;
|
|
1119
1217
|
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
@@ -1124,6 +1222,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1124
1222
|
title: z.ZodString;
|
|
1125
1223
|
description: z.ZodOptional<z.ZodString>;
|
|
1126
1224
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1127
1226
|
type: z.ZodLiteral<"rating">;
|
|
1128
1227
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1129
1228
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1131,18 +1230,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1131
1230
|
title: z.ZodString;
|
|
1132
1231
|
description: z.ZodOptional<z.ZodString>;
|
|
1133
1232
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1134
1234
|
type: z.ZodLiteral<"single_choice">;
|
|
1135
1235
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1136
1236
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1137
1237
|
title: z.ZodString;
|
|
1138
1238
|
description: z.ZodOptional<z.ZodString>;
|
|
1139
1239
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1240
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1140
1241
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1141
1242
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1142
1243
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1143
1244
|
title: z.ZodString;
|
|
1144
1245
|
description: z.ZodOptional<z.ZodString>;
|
|
1145
1246
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1146
1248
|
type: z.ZodLiteral<"nps">;
|
|
1147
1249
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1148
1250
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1150,24 +1252,28 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1150
1252
|
title: z.ZodString;
|
|
1151
1253
|
description: z.ZodOptional<z.ZodString>;
|
|
1152
1254
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1153
1256
|
type: z.ZodLiteral<"short_answer">;
|
|
1154
1257
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1155
1258
|
}, z.core.$strip>, z.ZodObject<{
|
|
1156
1259
|
title: z.ZodString;
|
|
1157
1260
|
description: z.ZodOptional<z.ZodString>;
|
|
1158
1261
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1159
1263
|
type: z.ZodLiteral<"long_text">;
|
|
1160
1264
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1161
1265
|
}, z.core.$strip>, z.ZodObject<{
|
|
1162
1266
|
title: z.ZodString;
|
|
1163
1267
|
description: z.ZodOptional<z.ZodString>;
|
|
1164
1268
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1165
1270
|
type: z.ZodLiteral<"nested_selection">;
|
|
1166
1271
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1167
1272
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1168
1273
|
title: z.ZodString;
|
|
1169
1274
|
description: z.ZodOptional<z.ZodString>;
|
|
1170
1275
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1171
1277
|
type: z.ZodLiteral<"annotation">;
|
|
1172
1278
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1173
1279
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1175,24 +1281,25 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1175
1281
|
title: z.ZodString;
|
|
1176
1282
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
1283
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1178
1285
|
type: z.ZodLiteral<"welcome">;
|
|
1179
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1180
1286
|
}, z.core.$strip>, z.ZodObject<{
|
|
1181
1287
|
title: z.ZodString;
|
|
1182
1288
|
description: z.ZodOptional<z.ZodString>;
|
|
1183
1289
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1184
1291
|
type: z.ZodLiteral<"thank_you">;
|
|
1185
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1186
1292
|
}, z.core.$strip>, z.ZodObject<{
|
|
1187
1293
|
title: z.ZodString;
|
|
1188
1294
|
description: z.ZodOptional<z.ZodString>;
|
|
1189
1295
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1190
1297
|
type: z.ZodLiteral<"message_panel">;
|
|
1191
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1192
1298
|
}, z.core.$strip>, z.ZodObject<{
|
|
1193
1299
|
title: z.ZodString;
|
|
1194
1300
|
description: z.ZodOptional<z.ZodString>;
|
|
1195
1301
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1196
1303
|
type: z.ZodLiteral<"yes_no">;
|
|
1197
1304
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1198
1305
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1200,6 +1307,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1200
1307
|
title: z.ZodString;
|
|
1201
1308
|
description: z.ZodOptional<z.ZodString>;
|
|
1202
1309
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
type: z.ZodLiteral<"consent">;
|
|
1312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1313
|
+
title: z.ZodString;
|
|
1314
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1315
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1203
1317
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1204
1318
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1205
1319
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1207,36 +1321,16 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1207
1321
|
title: z.ZodString;
|
|
1208
1322
|
description: z.ZodOptional<z.ZodString>;
|
|
1209
1323
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1210
1325
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1211
1326
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1212
1327
|
title: z.ZodString;
|
|
1213
1328
|
description: z.ZodOptional<z.ZodString>;
|
|
1214
1329
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1215
1331
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1216
1332
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
1217
1333
|
}, z.core.$strip>;
|
|
1218
|
-
frequencyAndSchedulingProperties: z.ZodObject<{
|
|
1219
|
-
surveyType: z.ZodEnum<{
|
|
1220
|
-
S: "S";
|
|
1221
|
-
R: "R";
|
|
1222
|
-
}>;
|
|
1223
|
-
showOnce: z.ZodEnum<{
|
|
1224
|
-
Y: "Y";
|
|
1225
|
-
N: "N";
|
|
1226
|
-
}>;
|
|
1227
|
-
stopWhenResponsesCount: z.ZodString;
|
|
1228
|
-
recurringValue: z.ZodString;
|
|
1229
|
-
recurringUnit: z.ZodEnum<{
|
|
1230
|
-
minutes: "minutes";
|
|
1231
|
-
hours: "hours";
|
|
1232
|
-
days: "days";
|
|
1233
|
-
weeks: "weeks";
|
|
1234
|
-
months: "months";
|
|
1235
|
-
years: "years";
|
|
1236
|
-
}>;
|
|
1237
|
-
startDate: z.ZodString;
|
|
1238
|
-
stopDate: z.ZodString;
|
|
1239
|
-
}, z.core.$strip>;
|
|
1240
1334
|
externalPublishingProperties: z.ZodObject<{
|
|
1241
1335
|
isShareable: z.ZodBoolean;
|
|
1242
1336
|
isEmailShareable: z.ZodBoolean;
|
|
@@ -1311,13 +1405,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1311
1405
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1312
1406
|
isEnabled: z.ZodLiteral<false>;
|
|
1313
1407
|
otherFields: z.ZodObject<{
|
|
1314
|
-
pagination: z.ZodBoolean;
|
|
1315
1408
|
questionNumber: z.ZodBoolean;
|
|
1316
|
-
pageTitle: z.ZodBoolean;
|
|
1317
|
-
blockerFeedback: z.ZodBoolean;
|
|
1318
1409
|
submitButtonLabel: z.ZodString;
|
|
1319
1410
|
previousButtonLabel: z.ZodString;
|
|
1320
|
-
nextButtonLabel: z.ZodString;
|
|
1321
1411
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1322
1412
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1323
1413
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1325,7 +1415,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1325
1415
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1326
1416
|
submitButtonLabel: z.ZodString;
|
|
1327
1417
|
previousButtonLabel: z.ZodString;
|
|
1328
|
-
nextButtonLabel: z.ZodString;
|
|
1329
1418
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1330
1419
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1331
1420
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1333,13 +1422,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1333
1422
|
}, z.core.$strip>, z.ZodObject<{
|
|
1334
1423
|
isEnabled: z.ZodLiteral<true>;
|
|
1335
1424
|
otherFields: z.ZodObject<{
|
|
1336
|
-
pagination: z.ZodBoolean;
|
|
1337
1425
|
questionNumber: z.ZodBoolean;
|
|
1338
|
-
pageTitle: z.ZodBoolean;
|
|
1339
|
-
blockerFeedback: z.ZodBoolean;
|
|
1340
1426
|
submitButtonLabel: z.ZodString;
|
|
1341
1427
|
previousButtonLabel: z.ZodString;
|
|
1342
|
-
nextButtonLabel: z.ZodString;
|
|
1343
1428
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1344
1429
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1345
1430
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1347,7 +1432,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1347
1432
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1348
1433
|
submitButtonLabel: z.ZodString;
|
|
1349
1434
|
previousButtonLabel: z.ZodString;
|
|
1350
|
-
nextButtonLabel: z.ZodString;
|
|
1351
1435
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1352
1436
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1353
1437
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1364,25 +1448,24 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1364
1448
|
}, z.core.$strip>;
|
|
1365
1449
|
}, z.core.$strip>;
|
|
1366
1450
|
featureSettings: z.ZodObject<{
|
|
1367
|
-
darkOverlay: z.ZodBoolean
|
|
1368
|
-
closeButton: z.ZodBoolean
|
|
1369
|
-
progressBar: z.ZodBoolean
|
|
1370
|
-
showBranding: z.ZodBoolean
|
|
1451
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
1452
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
1453
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
1454
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
1371
1455
|
customPosition: z.ZodBoolean;
|
|
1372
|
-
customIconPosition: z.ZodBoolean;
|
|
1373
1456
|
customCss: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
1457
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1375
1458
|
light: "light";
|
|
1376
1459
|
dark: "dark";
|
|
1377
1460
|
system: "system";
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
rtl: z.ZodBoolean
|
|
1381
|
-
previousButton: z.ZodEnum<{
|
|
1461
|
+
}>>>;
|
|
1462
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
1463
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
1464
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
1382
1465
|
never: "never";
|
|
1383
1466
|
always: "always";
|
|
1384
1467
|
auto: "auto";
|
|
1385
|
-
}
|
|
1468
|
+
}>>;
|
|
1386
1469
|
}, z.core.$strip>;
|
|
1387
1470
|
selectedPosition: z.ZodEnum<{
|
|
1388
1471
|
"top-left": "top-left";
|