@encatch/schema 1.0.1-beta.1 → 1.0.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +643 -793
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +350 -236
- package/dist/types/schemas/fields/app-props-schema.d.ts +175 -142
- package/dist/types/schemas/fields/field-schema.d.ts +377 -144
- package/dist/types/schemas/fields/form-properties-schema.d.ts +176 -244
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/theme-schema.d.ts +0 -4
- package/dist/types/schemas/fields/translations-schema.d.ts +1 -77
- package/package.json +1 -1
|
@@ -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<{
|
|
@@ -121,14 +61,12 @@ export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
|
121
61
|
progressBar: z.ZodBoolean;
|
|
122
62
|
showBranding: z.ZodBoolean;
|
|
123
63
|
customPosition: z.ZodBoolean;
|
|
124
|
-
customIconPosition: z.ZodBoolean;
|
|
125
64
|
customCss: z.ZodOptional<z.ZodString>;
|
|
126
65
|
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
127
66
|
light: "light";
|
|
128
67
|
dark: "dark";
|
|
129
68
|
system: "system";
|
|
130
69
|
}>>;
|
|
131
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
132
70
|
rtl: z.ZodBoolean;
|
|
133
71
|
previousButton: z.ZodEnum<{
|
|
134
72
|
never: "never";
|
|
@@ -177,21 +115,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
177
115
|
id: z.ZodString;
|
|
178
116
|
title: z.ZodString;
|
|
179
117
|
description: z.ZodOptional<z.ZodString>;
|
|
180
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
181
118
|
describe: z.ZodOptional<z.ZodString>;
|
|
182
119
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
120
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
183
121
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
184
122
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
185
123
|
type: z.ZodEnum<{
|
|
124
|
+
custom: "custom";
|
|
125
|
+
pattern: "pattern";
|
|
186
126
|
required: "required";
|
|
187
127
|
min: "min";
|
|
188
128
|
max: "max";
|
|
189
129
|
minLength: "minLength";
|
|
190
130
|
maxLength: "maxLength";
|
|
191
|
-
pattern: "pattern";
|
|
192
131
|
email: "email";
|
|
193
132
|
url: "url";
|
|
194
|
-
custom: "custom";
|
|
195
133
|
}>;
|
|
196
134
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
197
135
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -212,7 +150,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
212
150
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
213
151
|
describe: z.ZodOptional<z.ZodString>;
|
|
214
152
|
}, z.core.$strip>>>>;
|
|
215
|
-
isFixed: z.ZodBoolean;
|
|
216
153
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
217
154
|
status: z.ZodEnum<{
|
|
218
155
|
D: "D";
|
|
@@ -220,6 +157,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
220
157
|
A: "A";
|
|
221
158
|
S: "S";
|
|
222
159
|
}>;
|
|
160
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
161
|
+
left: "left";
|
|
162
|
+
center: "center";
|
|
163
|
+
}>>>;
|
|
223
164
|
type: z.ZodLiteral<"rating">;
|
|
224
165
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
225
166
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -243,21 +184,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
243
184
|
id: z.ZodString;
|
|
244
185
|
title: z.ZodString;
|
|
245
186
|
description: z.ZodOptional<z.ZodString>;
|
|
246
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
247
187
|
describe: z.ZodOptional<z.ZodString>;
|
|
248
188
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
189
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
249
190
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
250
191
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
251
192
|
type: z.ZodEnum<{
|
|
193
|
+
custom: "custom";
|
|
194
|
+
pattern: "pattern";
|
|
252
195
|
required: "required";
|
|
253
196
|
min: "min";
|
|
254
197
|
max: "max";
|
|
255
198
|
minLength: "minLength";
|
|
256
199
|
maxLength: "maxLength";
|
|
257
|
-
pattern: "pattern";
|
|
258
200
|
email: "email";
|
|
259
201
|
url: "url";
|
|
260
|
-
custom: "custom";
|
|
261
202
|
}>;
|
|
262
203
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
263
204
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -278,7 +219,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
278
219
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
279
220
|
describe: z.ZodOptional<z.ZodString>;
|
|
280
221
|
}, z.core.$strip>>>>;
|
|
281
|
-
isFixed: z.ZodBoolean;
|
|
282
222
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
283
223
|
status: z.ZodEnum<{
|
|
284
224
|
D: "D";
|
|
@@ -286,26 +226,30 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
286
226
|
A: "A";
|
|
287
227
|
S: "S";
|
|
288
228
|
}>;
|
|
229
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
230
|
+
left: "left";
|
|
231
|
+
center: "center";
|
|
232
|
+
}>>>;
|
|
289
233
|
type: z.ZodLiteral<"annotation">;
|
|
290
234
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
291
235
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
292
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
293
237
|
id: z.ZodString;
|
|
294
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
295
238
|
describe: z.ZodOptional<z.ZodString>;
|
|
296
239
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
240
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
297
241
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
298
242
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
243
|
type: z.ZodEnum<{
|
|
244
|
+
custom: "custom";
|
|
245
|
+
pattern: "pattern";
|
|
300
246
|
required: "required";
|
|
301
247
|
min: "min";
|
|
302
248
|
max: "max";
|
|
303
249
|
minLength: "minLength";
|
|
304
250
|
maxLength: "maxLength";
|
|
305
|
-
pattern: "pattern";
|
|
306
251
|
email: "email";
|
|
307
252
|
url: "url";
|
|
308
|
-
custom: "custom";
|
|
309
253
|
}>;
|
|
310
254
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
311
255
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -326,7 +270,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
326
270
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
327
271
|
describe: z.ZodOptional<z.ZodString>;
|
|
328
272
|
}, z.core.$strip>>>>;
|
|
329
|
-
isFixed: z.ZodBoolean;
|
|
330
273
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
331
274
|
status: z.ZodEnum<{
|
|
332
275
|
D: "D";
|
|
@@ -334,6 +277,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
334
277
|
A: "A";
|
|
335
278
|
S: "S";
|
|
336
279
|
}>;
|
|
280
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
left: "left";
|
|
282
|
+
center: "center";
|
|
283
|
+
}>>>;
|
|
337
284
|
type: z.ZodLiteral<"welcome">;
|
|
338
285
|
title: z.ZodString;
|
|
339
286
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -341,21 +288,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
341
288
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
342
289
|
}, z.core.$strip>, z.ZodObject<{
|
|
343
290
|
id: z.ZodString;
|
|
344
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
345
291
|
describe: z.ZodOptional<z.ZodString>;
|
|
346
292
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
293
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
347
294
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
348
295
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
349
296
|
type: z.ZodEnum<{
|
|
297
|
+
custom: "custom";
|
|
298
|
+
pattern: "pattern";
|
|
350
299
|
required: "required";
|
|
351
300
|
min: "min";
|
|
352
301
|
max: "max";
|
|
353
302
|
minLength: "minLength";
|
|
354
303
|
maxLength: "maxLength";
|
|
355
|
-
pattern: "pattern";
|
|
356
304
|
email: "email";
|
|
357
305
|
url: "url";
|
|
358
|
-
custom: "custom";
|
|
359
306
|
}>;
|
|
360
307
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
361
308
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -376,7 +323,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
376
323
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
377
324
|
describe: z.ZodOptional<z.ZodString>;
|
|
378
325
|
}, z.core.$strip>>>>;
|
|
379
|
-
isFixed: z.ZodBoolean;
|
|
380
326
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
381
327
|
status: z.ZodEnum<{
|
|
382
328
|
D: "D";
|
|
@@ -384,6 +330,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
384
330
|
A: "A";
|
|
385
331
|
S: "S";
|
|
386
332
|
}>;
|
|
333
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
334
|
+
left: "left";
|
|
335
|
+
center: "center";
|
|
336
|
+
}>>>;
|
|
387
337
|
type: z.ZodLiteral<"thank_you">;
|
|
388
338
|
title: z.ZodString;
|
|
389
339
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -391,21 +341,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
391
341
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
392
342
|
}, z.core.$strip>, z.ZodObject<{
|
|
393
343
|
id: z.ZodString;
|
|
394
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
395
344
|
describe: z.ZodOptional<z.ZodString>;
|
|
396
345
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
346
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
397
347
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
398
348
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
399
349
|
type: z.ZodEnum<{
|
|
350
|
+
custom: "custom";
|
|
351
|
+
pattern: "pattern";
|
|
400
352
|
required: "required";
|
|
401
353
|
min: "min";
|
|
402
354
|
max: "max";
|
|
403
355
|
minLength: "minLength";
|
|
404
356
|
maxLength: "maxLength";
|
|
405
|
-
pattern: "pattern";
|
|
406
357
|
email: "email";
|
|
407
358
|
url: "url";
|
|
408
|
-
custom: "custom";
|
|
409
359
|
}>;
|
|
410
360
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
411
361
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -426,7 +376,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
426
376
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
427
377
|
describe: z.ZodOptional<z.ZodString>;
|
|
428
378
|
}, z.core.$strip>>>>;
|
|
429
|
-
isFixed: z.ZodBoolean;
|
|
430
379
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
431
380
|
status: z.ZodEnum<{
|
|
432
381
|
D: "D";
|
|
@@ -434,6 +383,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
434
383
|
A: "A";
|
|
435
384
|
S: "S";
|
|
436
385
|
}>;
|
|
386
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
left: "left";
|
|
388
|
+
center: "center";
|
|
389
|
+
}>>>;
|
|
437
390
|
type: z.ZodLiteral<"message_panel">;
|
|
438
391
|
title: z.ZodString;
|
|
439
392
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -443,21 +396,72 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
443
396
|
id: z.ZodString;
|
|
444
397
|
title: z.ZodString;
|
|
445
398
|
description: z.ZodOptional<z.ZodString>;
|
|
446
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
447
399
|
describe: z.ZodOptional<z.ZodString>;
|
|
448
400
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
401
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
449
402
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
450
403
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
451
404
|
type: z.ZodEnum<{
|
|
405
|
+
custom: "custom";
|
|
406
|
+
pattern: "pattern";
|
|
452
407
|
required: "required";
|
|
453
408
|
min: "min";
|
|
454
409
|
max: "max";
|
|
455
410
|
minLength: "minLength";
|
|
456
411
|
maxLength: "maxLength";
|
|
457
|
-
pattern: "pattern";
|
|
458
412
|
email: "email";
|
|
459
413
|
url: "url";
|
|
414
|
+
}>;
|
|
415
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
416
|
+
message: z.ZodOptional<z.ZodString>;
|
|
417
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, z.core.$strip>>>>;
|
|
419
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
420
|
+
field: z.ZodString;
|
|
421
|
+
operator: z.ZodEnum<{
|
|
422
|
+
equals: "equals";
|
|
423
|
+
not_equals: "not_equals";
|
|
424
|
+
contains: "contains";
|
|
425
|
+
not_contains: "not_contains";
|
|
426
|
+
greater_than: "greater_than";
|
|
427
|
+
less_than: "less_than";
|
|
428
|
+
is_empty: "is_empty";
|
|
429
|
+
is_not_empty: "is_not_empty";
|
|
430
|
+
}>;
|
|
431
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
432
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
433
|
+
}, z.core.$strip>>>>;
|
|
434
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
435
|
+
status: z.ZodEnum<{
|
|
436
|
+
D: "D";
|
|
437
|
+
P: "P";
|
|
438
|
+
A: "A";
|
|
439
|
+
S: "S";
|
|
440
|
+
}>;
|
|
441
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
442
|
+
left: "left";
|
|
443
|
+
center: "center";
|
|
444
|
+
}>>>;
|
|
445
|
+
type: z.ZodLiteral<"exit_form">;
|
|
446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
447
|
+
id: z.ZodString;
|
|
448
|
+
title: z.ZodString;
|
|
449
|
+
description: z.ZodOptional<z.ZodString>;
|
|
450
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
451
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
452
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
453
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
454
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
455
|
+
type: z.ZodEnum<{
|
|
460
456
|
custom: "custom";
|
|
457
|
+
pattern: "pattern";
|
|
458
|
+
required: "required";
|
|
459
|
+
min: "min";
|
|
460
|
+
max: "max";
|
|
461
|
+
minLength: "minLength";
|
|
462
|
+
maxLength: "maxLength";
|
|
463
|
+
email: "email";
|
|
464
|
+
url: "url";
|
|
461
465
|
}>;
|
|
462
466
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
463
467
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -478,7 +482,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
478
482
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
479
483
|
describe: z.ZodOptional<z.ZodString>;
|
|
480
484
|
}, z.core.$strip>>>>;
|
|
481
|
-
isFixed: z.ZodBoolean;
|
|
482
485
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
483
486
|
status: z.ZodEnum<{
|
|
484
487
|
D: "D";
|
|
@@ -486,6 +489,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
486
489
|
A: "A";
|
|
487
490
|
S: "S";
|
|
488
491
|
}>;
|
|
492
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
493
|
+
left: "left";
|
|
494
|
+
center: "center";
|
|
495
|
+
}>>>;
|
|
489
496
|
type: z.ZodLiteral<"yes_no">;
|
|
490
497
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
491
498
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -497,21 +504,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
497
504
|
id: z.ZodString;
|
|
498
505
|
title: z.ZodString;
|
|
499
506
|
description: z.ZodOptional<z.ZodString>;
|
|
500
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
501
507
|
describe: z.ZodOptional<z.ZodString>;
|
|
502
508
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
509
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
503
510
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
504
511
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
505
512
|
type: z.ZodEnum<{
|
|
513
|
+
custom: "custom";
|
|
514
|
+
pattern: "pattern";
|
|
506
515
|
required: "required";
|
|
507
516
|
min: "min";
|
|
508
517
|
max: "max";
|
|
509
518
|
minLength: "minLength";
|
|
510
519
|
maxLength: "maxLength";
|
|
511
|
-
pattern: "pattern";
|
|
512
520
|
email: "email";
|
|
513
521
|
url: "url";
|
|
514
|
-
custom: "custom";
|
|
515
522
|
}>;
|
|
516
523
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
517
524
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -532,7 +539,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
532
539
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
533
540
|
describe: z.ZodOptional<z.ZodString>;
|
|
534
541
|
}, z.core.$strip>>>>;
|
|
535
|
-
isFixed: z.ZodBoolean;
|
|
536
542
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
537
543
|
status: z.ZodEnum<{
|
|
538
544
|
D: "D";
|
|
@@ -540,6 +546,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
540
546
|
A: "A";
|
|
541
547
|
S: "S";
|
|
542
548
|
}>;
|
|
549
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
550
|
+
left: "left";
|
|
551
|
+
center: "center";
|
|
552
|
+
}>>>;
|
|
543
553
|
type: z.ZodLiteral<"rating_matrix">;
|
|
544
554
|
statements: z.ZodArray<z.ZodObject<{
|
|
545
555
|
id: z.ZodString;
|
|
@@ -549,13 +559,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
549
559
|
}, z.core.$strip>>;
|
|
550
560
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
551
561
|
kind: z.ZodLiteral<"likert">;
|
|
552
|
-
|
|
553
|
-
|
|
562
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
563
|
+
id: z.ZodString;
|
|
564
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
565
|
+
label: z.ZodString;
|
|
566
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
554
568
|
}, z.core.$strip>, z.ZodObject<{
|
|
555
569
|
kind: z.ZodLiteral<"numerical">;
|
|
570
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
571
|
+
id: z.ZodString;
|
|
572
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
573
|
+
label: z.ZodString;
|
|
574
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
575
|
+
}, z.core.$strip>>;
|
|
556
576
|
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
577
|
}, z.core.$strip>, z.ZodObject<{
|
|
560
578
|
kind: z.ZodLiteral<"custom">;
|
|
561
579
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -576,21 +594,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
576
594
|
id: z.ZodString;
|
|
577
595
|
title: z.ZodString;
|
|
578
596
|
description: z.ZodOptional<z.ZodString>;
|
|
579
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
580
597
|
describe: z.ZodOptional<z.ZodString>;
|
|
581
598
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
599
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
582
600
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
583
601
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
584
602
|
type: z.ZodEnum<{
|
|
603
|
+
custom: "custom";
|
|
604
|
+
pattern: "pattern";
|
|
585
605
|
required: "required";
|
|
586
606
|
min: "min";
|
|
587
607
|
max: "max";
|
|
588
608
|
minLength: "minLength";
|
|
589
609
|
maxLength: "maxLength";
|
|
590
|
-
pattern: "pattern";
|
|
591
610
|
email: "email";
|
|
592
611
|
url: "url";
|
|
593
|
-
custom: "custom";
|
|
594
612
|
}>;
|
|
595
613
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
596
614
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -611,7 +629,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
611
629
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
612
630
|
describe: z.ZodOptional<z.ZodString>;
|
|
613
631
|
}, z.core.$strip>>>>;
|
|
614
|
-
isFixed: z.ZodBoolean;
|
|
615
632
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
616
633
|
status: z.ZodEnum<{
|
|
617
634
|
D: "D";
|
|
@@ -619,6 +636,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
619
636
|
A: "A";
|
|
620
637
|
S: "S";
|
|
621
638
|
}>;
|
|
639
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
640
|
+
left: "left";
|
|
641
|
+
center: "center";
|
|
642
|
+
}>>>;
|
|
622
643
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
623
644
|
rows: z.ZodArray<z.ZodObject<{
|
|
624
645
|
id: z.ZodString;
|
|
@@ -638,21 +659,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
638
659
|
id: z.ZodString;
|
|
639
660
|
title: z.ZodString;
|
|
640
661
|
description: z.ZodOptional<z.ZodString>;
|
|
641
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
642
662
|
describe: z.ZodOptional<z.ZodString>;
|
|
643
663
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
664
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
644
665
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
645
666
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
646
667
|
type: z.ZodEnum<{
|
|
668
|
+
custom: "custom";
|
|
669
|
+
pattern: "pattern";
|
|
647
670
|
required: "required";
|
|
648
671
|
min: "min";
|
|
649
672
|
max: "max";
|
|
650
673
|
minLength: "minLength";
|
|
651
674
|
maxLength: "maxLength";
|
|
652
|
-
pattern: "pattern";
|
|
653
675
|
email: "email";
|
|
654
676
|
url: "url";
|
|
655
|
-
custom: "custom";
|
|
656
677
|
}>;
|
|
657
678
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
658
679
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -673,7 +694,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
673
694
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
674
695
|
describe: z.ZodOptional<z.ZodString>;
|
|
675
696
|
}, z.core.$strip>>>>;
|
|
676
|
-
isFixed: z.ZodBoolean;
|
|
677
697
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
678
698
|
status: z.ZodEnum<{
|
|
679
699
|
D: "D";
|
|
@@ -681,6 +701,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
681
701
|
A: "A";
|
|
682
702
|
S: "S";
|
|
683
703
|
}>;
|
|
704
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
705
|
+
left: "left";
|
|
706
|
+
center: "center";
|
|
707
|
+
}>>>;
|
|
684
708
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
685
709
|
rows: z.ZodArray<z.ZodObject<{
|
|
686
710
|
id: z.ZodString;
|
|
@@ -702,21 +726,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
702
726
|
id: z.ZodString;
|
|
703
727
|
title: z.ZodString;
|
|
704
728
|
description: z.ZodOptional<z.ZodString>;
|
|
705
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
706
729
|
describe: z.ZodOptional<z.ZodString>;
|
|
707
730
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
731
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
708
732
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
709
733
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
710
734
|
type: z.ZodEnum<{
|
|
735
|
+
custom: "custom";
|
|
736
|
+
pattern: "pattern";
|
|
711
737
|
required: "required";
|
|
712
738
|
min: "min";
|
|
713
739
|
max: "max";
|
|
714
740
|
minLength: "minLength";
|
|
715
741
|
maxLength: "maxLength";
|
|
716
|
-
pattern: "pattern";
|
|
717
742
|
email: "email";
|
|
718
743
|
url: "url";
|
|
719
|
-
custom: "custom";
|
|
720
744
|
}>;
|
|
721
745
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
722
746
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -737,7 +761,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
737
761
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
738
762
|
describe: z.ZodOptional<z.ZodString>;
|
|
739
763
|
}, z.core.$strip>>>>;
|
|
740
|
-
isFixed: z.ZodBoolean;
|
|
741
764
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
742
765
|
status: z.ZodEnum<{
|
|
743
766
|
D: "D";
|
|
@@ -745,6 +768,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
745
768
|
A: "A";
|
|
746
769
|
S: "S";
|
|
747
770
|
}>;
|
|
771
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
772
|
+
left: "left";
|
|
773
|
+
center: "center";
|
|
774
|
+
}>>>;
|
|
748
775
|
type: z.ZodLiteral<"single_choice">;
|
|
749
776
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
750
777
|
radio: "radio";
|
|
@@ -770,21 +797,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
770
797
|
id: z.ZodString;
|
|
771
798
|
title: z.ZodString;
|
|
772
799
|
description: z.ZodOptional<z.ZodString>;
|
|
773
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
774
800
|
describe: z.ZodOptional<z.ZodString>;
|
|
775
801
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
802
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
776
803
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
777
804
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
778
805
|
type: z.ZodEnum<{
|
|
806
|
+
custom: "custom";
|
|
807
|
+
pattern: "pattern";
|
|
779
808
|
required: "required";
|
|
780
809
|
min: "min";
|
|
781
810
|
max: "max";
|
|
782
811
|
minLength: "minLength";
|
|
783
812
|
maxLength: "maxLength";
|
|
784
|
-
pattern: "pattern";
|
|
785
813
|
email: "email";
|
|
786
814
|
url: "url";
|
|
787
|
-
custom: "custom";
|
|
788
815
|
}>;
|
|
789
816
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
790
817
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -805,7 +832,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
805
832
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
806
833
|
describe: z.ZodOptional<z.ZodString>;
|
|
807
834
|
}, z.core.$strip>>>>;
|
|
808
|
-
isFixed: z.ZodBoolean;
|
|
809
835
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
810
836
|
status: z.ZodEnum<{
|
|
811
837
|
D: "D";
|
|
@@ -813,6 +839,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
813
839
|
A: "A";
|
|
814
840
|
S: "S";
|
|
815
841
|
}>;
|
|
842
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
843
|
+
left: "left";
|
|
844
|
+
center: "center";
|
|
845
|
+
}>>>;
|
|
816
846
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
817
847
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
818
848
|
list: "list";
|
|
@@ -839,21 +869,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
839
869
|
id: z.ZodString;
|
|
840
870
|
title: z.ZodString;
|
|
841
871
|
description: z.ZodOptional<z.ZodString>;
|
|
842
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
843
872
|
describe: z.ZodOptional<z.ZodString>;
|
|
844
873
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
874
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
845
875
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
846
876
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
847
877
|
type: z.ZodEnum<{
|
|
878
|
+
custom: "custom";
|
|
879
|
+
pattern: "pattern";
|
|
848
880
|
required: "required";
|
|
849
881
|
min: "min";
|
|
850
882
|
max: "max";
|
|
851
883
|
minLength: "minLength";
|
|
852
884
|
maxLength: "maxLength";
|
|
853
|
-
pattern: "pattern";
|
|
854
885
|
email: "email";
|
|
855
886
|
url: "url";
|
|
856
|
-
custom: "custom";
|
|
857
887
|
}>;
|
|
858
888
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
859
889
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -874,7 +904,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
874
904
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
875
905
|
describe: z.ZodOptional<z.ZodString>;
|
|
876
906
|
}, z.core.$strip>>>>;
|
|
877
|
-
isFixed: z.ZodBoolean;
|
|
878
907
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
879
908
|
status: z.ZodEnum<{
|
|
880
909
|
D: "D";
|
|
@@ -882,6 +911,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
882
911
|
A: "A";
|
|
883
912
|
S: "S";
|
|
884
913
|
}>;
|
|
914
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
915
|
+
left: "left";
|
|
916
|
+
center: "center";
|
|
917
|
+
}>>>;
|
|
885
918
|
type: z.ZodLiteral<"nps">;
|
|
886
919
|
min: z.ZodLiteral<0>;
|
|
887
920
|
max: z.ZodLiteral<10>;
|
|
@@ -893,21 +926,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
893
926
|
id: z.ZodString;
|
|
894
927
|
title: z.ZodString;
|
|
895
928
|
description: z.ZodOptional<z.ZodString>;
|
|
896
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
897
929
|
describe: z.ZodOptional<z.ZodString>;
|
|
898
930
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
931
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
899
932
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
900
933
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
901
934
|
type: z.ZodEnum<{
|
|
935
|
+
custom: "custom";
|
|
936
|
+
pattern: "pattern";
|
|
902
937
|
required: "required";
|
|
903
938
|
min: "min";
|
|
904
939
|
max: "max";
|
|
905
940
|
minLength: "minLength";
|
|
906
941
|
maxLength: "maxLength";
|
|
907
|
-
pattern: "pattern";
|
|
908
942
|
email: "email";
|
|
909
943
|
url: "url";
|
|
910
|
-
custom: "custom";
|
|
911
944
|
}>;
|
|
912
945
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
913
946
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -928,7 +961,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
928
961
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
929
962
|
describe: z.ZodOptional<z.ZodString>;
|
|
930
963
|
}, z.core.$strip>>>>;
|
|
931
|
-
isFixed: z.ZodBoolean;
|
|
932
964
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
933
965
|
status: z.ZodEnum<{
|
|
934
966
|
D: "D";
|
|
@@ -936,6 +968,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
936
968
|
A: "A";
|
|
937
969
|
S: "S";
|
|
938
970
|
}>;
|
|
971
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
972
|
+
left: "left";
|
|
973
|
+
center: "center";
|
|
974
|
+
}>>>;
|
|
939
975
|
type: z.ZodLiteral<"short_answer">;
|
|
940
976
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
941
977
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -950,21 +986,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
950
986
|
id: z.ZodString;
|
|
951
987
|
title: z.ZodString;
|
|
952
988
|
description: z.ZodOptional<z.ZodString>;
|
|
953
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
954
989
|
describe: z.ZodOptional<z.ZodString>;
|
|
955
990
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
991
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
956
992
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
957
993
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
958
994
|
type: z.ZodEnum<{
|
|
995
|
+
custom: "custom";
|
|
996
|
+
pattern: "pattern";
|
|
959
997
|
required: "required";
|
|
960
998
|
min: "min";
|
|
961
999
|
max: "max";
|
|
962
1000
|
minLength: "minLength";
|
|
963
1001
|
maxLength: "maxLength";
|
|
964
|
-
pattern: "pattern";
|
|
965
1002
|
email: "email";
|
|
966
1003
|
url: "url";
|
|
967
|
-
custom: "custom";
|
|
968
1004
|
}>;
|
|
969
1005
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
970
1006
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -985,7 +1021,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
985
1021
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
986
1022
|
describe: z.ZodOptional<z.ZodString>;
|
|
987
1023
|
}, z.core.$strip>>>>;
|
|
988
|
-
isFixed: z.ZodBoolean;
|
|
989
1024
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
990
1025
|
status: z.ZodEnum<{
|
|
991
1026
|
D: "D";
|
|
@@ -993,6 +1028,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
993
1028
|
A: "A";
|
|
994
1029
|
S: "S";
|
|
995
1030
|
}>;
|
|
1031
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1032
|
+
left: "left";
|
|
1033
|
+
center: "center";
|
|
1034
|
+
}>>>;
|
|
996
1035
|
type: z.ZodLiteral<"long_text">;
|
|
997
1036
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
998
1037
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1006,21 +1045,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1006
1045
|
id: z.ZodString;
|
|
1007
1046
|
title: z.ZodString;
|
|
1008
1047
|
description: z.ZodOptional<z.ZodString>;
|
|
1009
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1010
1048
|
describe: z.ZodOptional<z.ZodString>;
|
|
1011
1049
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1050
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1012
1051
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1013
1052
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1014
1053
|
type: z.ZodEnum<{
|
|
1054
|
+
custom: "custom";
|
|
1055
|
+
pattern: "pattern";
|
|
1015
1056
|
required: "required";
|
|
1016
1057
|
min: "min";
|
|
1017
1058
|
max: "max";
|
|
1018
1059
|
minLength: "minLength";
|
|
1019
1060
|
maxLength: "maxLength";
|
|
1020
|
-
pattern: "pattern";
|
|
1021
1061
|
email: "email";
|
|
1022
1062
|
url: "url";
|
|
1023
|
-
custom: "custom";
|
|
1024
1063
|
}>;
|
|
1025
1064
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1026
1065
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1041,7 +1080,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1041
1080
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1042
1081
|
describe: z.ZodOptional<z.ZodString>;
|
|
1043
1082
|
}, z.core.$strip>>>>;
|
|
1044
|
-
isFixed: z.ZodBoolean;
|
|
1045
1083
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1046
1084
|
status: z.ZodEnum<{
|
|
1047
1085
|
D: "D";
|
|
@@ -1049,6 +1087,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1049
1087
|
A: "A";
|
|
1050
1088
|
S: "S";
|
|
1051
1089
|
}>;
|
|
1090
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1091
|
+
left: "left";
|
|
1092
|
+
center: "center";
|
|
1093
|
+
}>>>;
|
|
1052
1094
|
type: z.ZodLiteral<"nested_selection">;
|
|
1053
1095
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1054
1096
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1070,17 +1112,23 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1070
1112
|
sections: z.ZodArray<z.ZodObject<{
|
|
1071
1113
|
id: z.ZodString;
|
|
1072
1114
|
title: z.ZodString;
|
|
1115
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1118
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1119
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1120
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1122
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1073
1123
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1074
1124
|
}, z.core.$strip>>;
|
|
1075
1125
|
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
1076
1126
|
value: z.ZodString;
|
|
1077
1127
|
label: z.ZodString;
|
|
1078
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
1079
1128
|
}, z.core.$strip>>;
|
|
1080
1129
|
translations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1081
1130
|
title: z.ZodString;
|
|
1082
1131
|
description: z.ZodOptional<z.ZodString>;
|
|
1083
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1084
1132
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1085
1133
|
type: z.ZodLiteral<"rating">;
|
|
1086
1134
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1088,21 +1136,18 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1088
1136
|
}, z.core.$strip>, z.ZodObject<{
|
|
1089
1137
|
title: z.ZodString;
|
|
1090
1138
|
description: z.ZodOptional<z.ZodString>;
|
|
1091
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1092
1139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1093
1140
|
type: z.ZodLiteral<"single_choice">;
|
|
1094
1141
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1095
1142
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1096
1143
|
title: z.ZodString;
|
|
1097
1144
|
description: z.ZodOptional<z.ZodString>;
|
|
1098
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1099
1145
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1100
1146
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1101
1147
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1102
1148
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1103
1149
|
title: z.ZodString;
|
|
1104
1150
|
description: z.ZodOptional<z.ZodString>;
|
|
1105
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1106
1151
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1107
1152
|
type: z.ZodLiteral<"nps">;
|
|
1108
1153
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,28 +1155,24 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1110
1155
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1111
1156
|
title: z.ZodString;
|
|
1112
1157
|
description: z.ZodOptional<z.ZodString>;
|
|
1113
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1114
1158
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1115
1159
|
type: z.ZodLiteral<"short_answer">;
|
|
1116
1160
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1117
1161
|
}, z.core.$strip>, z.ZodObject<{
|
|
1118
1162
|
title: z.ZodString;
|
|
1119
1163
|
description: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1121
1164
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1122
1165
|
type: z.ZodLiteral<"long_text">;
|
|
1123
1166
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1124
1167
|
}, z.core.$strip>, z.ZodObject<{
|
|
1125
1168
|
title: z.ZodString;
|
|
1126
1169
|
description: z.ZodOptional<z.ZodString>;
|
|
1127
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1128
1170
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1129
1171
|
type: z.ZodLiteral<"nested_selection">;
|
|
1130
1172
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1131
1173
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1132
1174
|
title: z.ZodString;
|
|
1133
1175
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1135
1176
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1136
1177
|
type: z.ZodLiteral<"annotation">;
|
|
1137
1178
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,28 +1180,24 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1139
1180
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1181
|
title: z.ZodString;
|
|
1141
1182
|
description: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1143
1183
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1144
1184
|
type: z.ZodLiteral<"welcome">;
|
|
1145
1185
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1146
1186
|
}, z.core.$strip>, z.ZodObject<{
|
|
1147
1187
|
title: z.ZodString;
|
|
1148
1188
|
description: z.ZodOptional<z.ZodString>;
|
|
1149
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1150
1189
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1151
1190
|
type: z.ZodLiteral<"thank_you">;
|
|
1152
1191
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1153
1192
|
}, z.core.$strip>, z.ZodObject<{
|
|
1154
1193
|
title: z.ZodString;
|
|
1155
1194
|
description: z.ZodOptional<z.ZodString>;
|
|
1156
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1157
1195
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1158
1196
|
type: z.ZodLiteral<"message_panel">;
|
|
1159
1197
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1160
1198
|
}, z.core.$strip>, z.ZodObject<{
|
|
1161
1199
|
title: z.ZodString;
|
|
1162
1200
|
description: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1164
1201
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1165
1202
|
type: z.ZodLiteral<"yes_no">;
|
|
1166
1203
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1168,7 +1205,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1168
1205
|
}, z.core.$strip>, z.ZodObject<{
|
|
1169
1206
|
title: z.ZodString;
|
|
1170
1207
|
description: z.ZodOptional<z.ZodString>;
|
|
1171
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1172
1208
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1173
1209
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1174
1210
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1176,39 +1212,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1176
1212
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1177
1213
|
title: z.ZodString;
|
|
1178
1214
|
description: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1180
1215
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1181
1216
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1182
1217
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1183
1218
|
title: z.ZodString;
|
|
1184
1219
|
description: z.ZodOptional<z.ZodString>;
|
|
1185
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1186
1220
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1187
1221
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1188
1222
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
1189
1223
|
}, z.core.$strip>;
|
|
1190
|
-
frequencyAndSchedulingProperties: z.ZodObject<{
|
|
1191
|
-
surveyType: z.ZodEnum<{
|
|
1192
|
-
S: "S";
|
|
1193
|
-
R: "R";
|
|
1194
|
-
}>;
|
|
1195
|
-
showOnce: z.ZodEnum<{
|
|
1196
|
-
Y: "Y";
|
|
1197
|
-
N: "N";
|
|
1198
|
-
}>;
|
|
1199
|
-
stopWhenResponsesCount: z.ZodString;
|
|
1200
|
-
recurringValue: z.ZodString;
|
|
1201
|
-
recurringUnit: z.ZodEnum<{
|
|
1202
|
-
minutes: "minutes";
|
|
1203
|
-
hours: "hours";
|
|
1204
|
-
days: "days";
|
|
1205
|
-
weeks: "weeks";
|
|
1206
|
-
months: "months";
|
|
1207
|
-
years: "years";
|
|
1208
|
-
}>;
|
|
1209
|
-
startDate: z.ZodString;
|
|
1210
|
-
stopDate: z.ZodString;
|
|
1211
|
-
}, z.core.$strip>;
|
|
1212
1224
|
externalPublishingProperties: z.ZodObject<{
|
|
1213
1225
|
isShareable: z.ZodBoolean;
|
|
1214
1226
|
isEmailShareable: z.ZodBoolean;
|
|
@@ -1325,66 +1337,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1325
1337
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1326
1338
|
}, z.core.$strip>>;
|
|
1327
1339
|
}, 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
1340
|
appearanceProperties: z.ZodObject<{
|
|
1389
1341
|
themeConfiguration: z.ZodObject<{
|
|
1390
1342
|
themes: z.ZodObject<{
|
|
@@ -1401,14 +1353,12 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1401
1353
|
progressBar: z.ZodBoolean;
|
|
1402
1354
|
showBranding: z.ZodBoolean;
|
|
1403
1355
|
customPosition: z.ZodBoolean;
|
|
1404
|
-
customIconPosition: z.ZodBoolean;
|
|
1405
1356
|
customCss: z.ZodOptional<z.ZodString>;
|
|
1406
1357
|
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
1407
1358
|
light: "light";
|
|
1408
1359
|
dark: "dark";
|
|
1409
1360
|
system: "system";
|
|
1410
1361
|
}>>;
|
|
1411
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
1412
1362
|
rtl: z.ZodBoolean;
|
|
1413
1363
|
previousButton: z.ZodEnum<{
|
|
1414
1364
|
never: "never";
|
|
@@ -1451,22 +1401,4 @@ export type OtherConfigurationProperties = {
|
|
|
1451
1401
|
otherFields: z.infer<typeof OtherFieldsSchema>;
|
|
1452
1402
|
translations: Record<string, z.infer<typeof OtherFieldsTranslationSchema>>;
|
|
1453
1403
|
};
|
|
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
1404
|
export type AppearanceProperties = z.infer<typeof appearancePropertiesSchema>;
|