@encatch/schema 1.0.0-beta.1 → 1.0.1-beta.0
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 +65 -77
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +16 -8
- package/dist/types/schemas/api/refine-text-schema.d.ts +7 -12
- package/dist/types/schemas/fields/app-props-schema.d.ts +24 -12
- package/dist/types/schemas/fields/field-schema.d.ts +17 -8
- package/dist/types/schemas/fields/form-properties-schema.d.ts +24 -12
- package/dist/types/schemas/fields/translations-schema.d.ts +87 -40
- package/package.json +1 -1
|
@@ -191,6 +191,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
191
191
|
id: z.ZodString;
|
|
192
192
|
title: z.ZodString;
|
|
193
193
|
description: z.ZodOptional<z.ZodString>;
|
|
194
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
194
195
|
describe: z.ZodOptional<z.ZodString>;
|
|
195
196
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
196
197
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -256,6 +257,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
256
257
|
id: z.ZodString;
|
|
257
258
|
title: z.ZodString;
|
|
258
259
|
description: z.ZodOptional<z.ZodString>;
|
|
260
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
259
261
|
describe: z.ZodOptional<z.ZodString>;
|
|
260
262
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
261
263
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -305,6 +307,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
305
307
|
id: z.ZodString;
|
|
306
308
|
title: z.ZodString;
|
|
307
309
|
description: z.ZodOptional<z.ZodString>;
|
|
310
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
308
311
|
describe: z.ZodOptional<z.ZodString>;
|
|
309
312
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
310
313
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -372,6 +375,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
372
375
|
id: z.ZodString;
|
|
373
376
|
title: z.ZodString;
|
|
374
377
|
description: z.ZodOptional<z.ZodString>;
|
|
378
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
375
379
|
describe: z.ZodOptional<z.ZodString>;
|
|
376
380
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
377
381
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -440,6 +444,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
440
444
|
id: z.ZodString;
|
|
441
445
|
title: z.ZodString;
|
|
442
446
|
description: z.ZodOptional<z.ZodString>;
|
|
447
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
443
448
|
describe: z.ZodOptional<z.ZodString>;
|
|
444
449
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
445
450
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -493,6 +498,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
493
498
|
id: z.ZodString;
|
|
494
499
|
title: z.ZodString;
|
|
495
500
|
description: z.ZodOptional<z.ZodString>;
|
|
501
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
496
502
|
describe: z.ZodOptional<z.ZodString>;
|
|
497
503
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
498
504
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -543,14 +549,13 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
543
549
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
544
550
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
545
551
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
546
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
547
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
548
552
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
549
553
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
550
554
|
}, z.core.$strip>, z.ZodObject<{
|
|
551
555
|
id: z.ZodString;
|
|
552
556
|
title: z.ZodString;
|
|
553
557
|
description: z.ZodOptional<z.ZodString>;
|
|
558
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
554
559
|
describe: z.ZodOptional<z.ZodString>;
|
|
555
560
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
556
561
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -600,14 +605,13 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
600
605
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
601
606
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
602
607
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
603
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
604
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
605
608
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
606
609
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
607
610
|
}, z.core.$strip>, z.ZodObject<{
|
|
608
611
|
id: z.ZodString;
|
|
609
612
|
title: z.ZodString;
|
|
610
613
|
description: z.ZodOptional<z.ZodString>;
|
|
614
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
611
615
|
describe: z.ZodOptional<z.ZodString>;
|
|
612
616
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
613
617
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -692,6 +696,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
692
696
|
id: z.ZodString;
|
|
693
697
|
title: z.ZodString;
|
|
694
698
|
description: z.ZodOptional<z.ZodString>;
|
|
699
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
695
700
|
describe: z.ZodOptional<z.ZodString>;
|
|
696
701
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
697
702
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -757,6 +762,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
757
762
|
id: z.ZodString;
|
|
758
763
|
title: z.ZodString;
|
|
759
764
|
description: z.ZodOptional<z.ZodString>;
|
|
765
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
760
766
|
describe: z.ZodOptional<z.ZodString>;
|
|
761
767
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
762
768
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -806,6 +812,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
806
812
|
id: z.ZodString;
|
|
807
813
|
title: z.ZodString;
|
|
808
814
|
description: z.ZodOptional<z.ZodString>;
|
|
815
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
809
816
|
describe: z.ZodOptional<z.ZodString>;
|
|
810
817
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
811
818
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -873,6 +880,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
873
880
|
id: z.ZodString;
|
|
874
881
|
title: z.ZodString;
|
|
875
882
|
description: z.ZodOptional<z.ZodString>;
|
|
883
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
876
884
|
describe: z.ZodOptional<z.ZodString>;
|
|
877
885
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
878
886
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -941,6 +949,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
941
949
|
id: z.ZodString;
|
|
942
950
|
title: z.ZodString;
|
|
943
951
|
description: z.ZodOptional<z.ZodString>;
|
|
952
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
944
953
|
describe: z.ZodOptional<z.ZodString>;
|
|
945
954
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
946
955
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -994,6 +1003,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
994
1003
|
id: z.ZodString;
|
|
995
1004
|
title: z.ZodString;
|
|
996
1005
|
description: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
997
1007
|
describe: z.ZodOptional<z.ZodString>;
|
|
998
1008
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
999
1009
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1044,14 +1054,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1044
1054
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1045
1055
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1046
1056
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1047
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1048
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1049
1057
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1050
1058
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1051
1059
|
}, z.core.$strip>, z.ZodObject<{
|
|
1052
1060
|
id: z.ZodString;
|
|
1053
1061
|
title: z.ZodString;
|
|
1054
1062
|
description: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1055
1064
|
describe: z.ZodOptional<z.ZodString>;
|
|
1056
1065
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1057
1066
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,14 +1110,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1101
1110
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1102
1111
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1103
1112
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1106
1113
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1107
1114
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1108
1115
|
}, z.core.$strip>, z.ZodObject<{
|
|
1109
1116
|
id: z.ZodString;
|
|
1110
1117
|
title: z.ZodString;
|
|
1111
1118
|
description: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1112
1120
|
describe: z.ZodOptional<z.ZodString>;
|
|
1113
1121
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1114
1122
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const refineTextParamsSchema: z.ZodObject<{
|
|
3
3
|
questionId: z.ZodString;
|
|
4
|
-
identifier: z.ZodString;
|
|
5
4
|
feedbackConfigurationId: z.ZodString;
|
|
6
5
|
userText: z.ZodString;
|
|
7
6
|
}, z.core.$strict>;
|
|
7
|
+
export declare const refineTextResponseSchema: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9
|
+
refinedText: z.ZodOptional<z.ZodString>;
|
|
10
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12
|
+
code: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
8
14
|
export declare const refineTextDataSchema: z.ZodObject<{
|
|
9
15
|
userText: z.ZodString;
|
|
10
16
|
refinedText: z.ZodString;
|
|
11
17
|
}, z.core.$strip>;
|
|
12
|
-
export declare const refineTextResponseSchema: z.ZodObject<{
|
|
13
|
-
success: z.ZodBoolean;
|
|
14
|
-
code: z.ZodString;
|
|
15
|
-
message: z.ZodString;
|
|
16
|
-
messageId: z.ZodString;
|
|
17
|
-
data: z.ZodObject<{
|
|
18
|
-
userText: z.ZodString;
|
|
19
|
-
refinedText: z.ZodString;
|
|
20
|
-
}, z.core.$strip>;
|
|
21
|
-
error: z.ZodOptional<z.ZodString>;
|
|
22
|
-
}, z.core.$strict>;
|
|
23
18
|
export type RefineTextParams = z.infer<typeof refineTextParamsSchema>;
|
|
24
19
|
export type RefineTextData = z.infer<typeof refineTextDataSchema>;
|
|
25
20
|
export type RefineTextResponse = z.infer<typeof refineTextResponseSchema>;
|
|
@@ -29,6 +29,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
29
29
|
id: z.ZodString;
|
|
30
30
|
title: z.ZodString;
|
|
31
31
|
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
32
33
|
describe: z.ZodOptional<z.ZodString>;
|
|
33
34
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
34
35
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -94,6 +95,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
94
95
|
id: z.ZodString;
|
|
95
96
|
title: z.ZodString;
|
|
96
97
|
description: z.ZodOptional<z.ZodString>;
|
|
98
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
97
99
|
describe: z.ZodOptional<z.ZodString>;
|
|
98
100
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
99
101
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -143,6 +145,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
143
145
|
id: z.ZodString;
|
|
144
146
|
title: z.ZodString;
|
|
145
147
|
description: z.ZodOptional<z.ZodString>;
|
|
148
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
146
149
|
describe: z.ZodOptional<z.ZodString>;
|
|
147
150
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
148
151
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -210,6 +213,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
210
213
|
id: z.ZodString;
|
|
211
214
|
title: z.ZodString;
|
|
212
215
|
description: z.ZodOptional<z.ZodString>;
|
|
216
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
213
217
|
describe: z.ZodOptional<z.ZodString>;
|
|
214
218
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
215
219
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -278,6 +282,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
278
282
|
id: z.ZodString;
|
|
279
283
|
title: z.ZodString;
|
|
280
284
|
description: z.ZodOptional<z.ZodString>;
|
|
285
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
281
286
|
describe: z.ZodOptional<z.ZodString>;
|
|
282
287
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
283
288
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -331,6 +336,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
331
336
|
id: z.ZodString;
|
|
332
337
|
title: z.ZodString;
|
|
333
338
|
description: z.ZodOptional<z.ZodString>;
|
|
339
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
334
340
|
describe: z.ZodOptional<z.ZodString>;
|
|
335
341
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
336
342
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -381,14 +387,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
381
387
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
382
388
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
383
389
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
384
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
385
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
386
390
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
387
391
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
388
392
|
}, z.core.$strip>, z.ZodObject<{
|
|
389
393
|
id: z.ZodString;
|
|
390
394
|
title: z.ZodString;
|
|
391
395
|
description: z.ZodOptional<z.ZodString>;
|
|
396
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
392
397
|
describe: z.ZodOptional<z.ZodString>;
|
|
393
398
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
394
399
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -438,14 +443,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
438
443
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
439
444
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
440
445
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
441
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
442
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
443
446
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
444
447
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
445
448
|
}, z.core.$strip>, z.ZodObject<{
|
|
446
449
|
id: z.ZodString;
|
|
447
450
|
title: z.ZodString;
|
|
448
451
|
description: z.ZodOptional<z.ZodString>;
|
|
452
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
449
453
|
describe: z.ZodOptional<z.ZodString>;
|
|
450
454
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
451
455
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -617,54 +621,62 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
617
621
|
}, z.core.$strip>>;
|
|
618
622
|
}, z.core.$strip>], "isEnabled">>;
|
|
619
623
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
620
|
-
type: z.ZodLiteral<"rating">;
|
|
621
624
|
title: z.ZodString;
|
|
622
625
|
description: z.ZodOptional<z.ZodString>;
|
|
626
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
623
627
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
628
|
+
type: z.ZodLiteral<"rating">;
|
|
624
629
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
625
630
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
626
631
|
}, z.core.$strip>, z.ZodObject<{
|
|
627
|
-
type: z.ZodLiteral<"single_choice">;
|
|
628
632
|
title: z.ZodString;
|
|
629
633
|
description: z.ZodOptional<z.ZodString>;
|
|
634
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
630
635
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
636
|
+
type: z.ZodLiteral<"single_choice">;
|
|
631
637
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
632
638
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
633
|
-
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
634
639
|
title: z.ZodString;
|
|
635
640
|
description: z.ZodOptional<z.ZodString>;
|
|
641
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
636
642
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
643
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
637
644
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
638
645
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
639
|
-
type: z.ZodLiteral<"nps">;
|
|
640
646
|
title: z.ZodString;
|
|
641
647
|
description: z.ZodOptional<z.ZodString>;
|
|
648
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
642
649
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
650
|
+
type: z.ZodLiteral<"nps">;
|
|
643
651
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
644
652
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
645
653
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
646
|
-
type: z.ZodLiteral<"short_answer">;
|
|
647
654
|
title: z.ZodString;
|
|
648
655
|
description: z.ZodOptional<z.ZodString>;
|
|
656
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
649
657
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
658
|
+
type: z.ZodLiteral<"short_answer">;
|
|
650
659
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
651
660
|
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
-
type: z.ZodLiteral<"long_text">;
|
|
653
661
|
title: z.ZodString;
|
|
654
662
|
description: z.ZodOptional<z.ZodString>;
|
|
663
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
655
664
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
665
|
+
type: z.ZodLiteral<"long_text">;
|
|
656
666
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
657
667
|
}, z.core.$strip>, z.ZodObject<{
|
|
658
|
-
type: z.ZodLiteral<"nested_selection">;
|
|
659
668
|
title: z.ZodString;
|
|
660
669
|
description: z.ZodOptional<z.ZodString>;
|
|
670
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
661
671
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
672
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
662
673
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
663
674
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
664
|
-
type: z.ZodLiteral<"annotation">;
|
|
665
675
|
title: z.ZodString;
|
|
666
676
|
description: z.ZodOptional<z.ZodString>;
|
|
677
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
667
678
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
679
|
+
type: z.ZodLiteral<"annotation">;
|
|
668
680
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
669
681
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
670
682
|
}, z.core.$strip>]>>>>;
|
|
@@ -185,6 +185,7 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
185
185
|
}>;
|
|
186
186
|
title: z.ZodString;
|
|
187
187
|
description: z.ZodOptional<z.ZodString>;
|
|
188
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
188
189
|
describe: z.ZodOptional<z.ZodString>;
|
|
189
190
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
190
191
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -232,6 +233,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
232
233
|
id: z.ZodString;
|
|
233
234
|
title: z.ZodString;
|
|
234
235
|
description: z.ZodOptional<z.ZodString>;
|
|
236
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
235
237
|
describe: z.ZodOptional<z.ZodString>;
|
|
236
238
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
237
239
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -298,6 +300,7 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
298
300
|
id: z.ZodString;
|
|
299
301
|
title: z.ZodString;
|
|
300
302
|
description: z.ZodOptional<z.ZodString>;
|
|
303
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
301
304
|
describe: z.ZodOptional<z.ZodString>;
|
|
302
305
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
303
306
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -356,6 +359,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
356
359
|
id: z.ZodString;
|
|
357
360
|
title: z.ZodString;
|
|
358
361
|
description: z.ZodOptional<z.ZodString>;
|
|
362
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
359
363
|
describe: z.ZodOptional<z.ZodString>;
|
|
360
364
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
361
365
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -424,6 +428,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
424
428
|
id: z.ZodString;
|
|
425
429
|
title: z.ZodString;
|
|
426
430
|
description: z.ZodOptional<z.ZodString>;
|
|
431
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
427
432
|
describe: z.ZodOptional<z.ZodString>;
|
|
428
433
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
429
434
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -493,6 +498,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
493
498
|
id: z.ZodString;
|
|
494
499
|
title: z.ZodString;
|
|
495
500
|
description: z.ZodOptional<z.ZodString>;
|
|
501
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
496
502
|
describe: z.ZodOptional<z.ZodString>;
|
|
497
503
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
498
504
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -547,6 +553,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
547
553
|
id: z.ZodString;
|
|
548
554
|
title: z.ZodString;
|
|
549
555
|
description: z.ZodOptional<z.ZodString>;
|
|
556
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
550
557
|
describe: z.ZodOptional<z.ZodString>;
|
|
551
558
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
552
559
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -597,8 +604,6 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
597
604
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
598
605
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
599
606
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
600
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
601
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
602
607
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
603
608
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
604
609
|
}, z.core.$strip>;
|
|
@@ -606,6 +611,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
606
611
|
id: z.ZodString;
|
|
607
612
|
title: z.ZodString;
|
|
608
613
|
description: z.ZodOptional<z.ZodString>;
|
|
614
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
609
615
|
describe: z.ZodOptional<z.ZodString>;
|
|
610
616
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
611
617
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -655,8 +661,6 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
655
661
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
656
662
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
657
663
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
658
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
659
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
660
664
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
661
665
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
662
666
|
}, z.core.$strip>;
|
|
@@ -664,6 +668,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
664
668
|
id: z.ZodString;
|
|
665
669
|
title: z.ZodString;
|
|
666
670
|
description: z.ZodOptional<z.ZodString>;
|
|
671
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
667
672
|
describe: z.ZodOptional<z.ZodString>;
|
|
668
673
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
669
674
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -749,6 +754,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
749
754
|
id: z.ZodString;
|
|
750
755
|
title: z.ZodString;
|
|
751
756
|
description: z.ZodOptional<z.ZodString>;
|
|
757
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
752
758
|
describe: z.ZodOptional<z.ZodString>;
|
|
753
759
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
754
760
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -814,6 +820,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
814
820
|
id: z.ZodString;
|
|
815
821
|
title: z.ZodString;
|
|
816
822
|
description: z.ZodOptional<z.ZodString>;
|
|
823
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
817
824
|
describe: z.ZodOptional<z.ZodString>;
|
|
818
825
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
819
826
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -863,6 +870,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
863
870
|
id: z.ZodString;
|
|
864
871
|
title: z.ZodString;
|
|
865
872
|
description: z.ZodOptional<z.ZodString>;
|
|
873
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
866
874
|
describe: z.ZodOptional<z.ZodString>;
|
|
867
875
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
868
876
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -930,6 +938,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
930
938
|
id: z.ZodString;
|
|
931
939
|
title: z.ZodString;
|
|
932
940
|
description: z.ZodOptional<z.ZodString>;
|
|
941
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
933
942
|
describe: z.ZodOptional<z.ZodString>;
|
|
934
943
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
935
944
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -998,6 +1007,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
998
1007
|
id: z.ZodString;
|
|
999
1008
|
title: z.ZodString;
|
|
1000
1009
|
description: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1001
1011
|
describe: z.ZodOptional<z.ZodString>;
|
|
1002
1012
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1003
1013
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1051,6 +1061,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1051
1061
|
id: z.ZodString;
|
|
1052
1062
|
title: z.ZodString;
|
|
1053
1063
|
description: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1054
1065
|
describe: z.ZodOptional<z.ZodString>;
|
|
1055
1066
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1056
1067
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,14 +1112,13 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1101
1112
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1102
1113
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1103
1114
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1106
1115
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1107
1116
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1108
1117
|
}, z.core.$strip>, z.ZodObject<{
|
|
1109
1118
|
id: z.ZodString;
|
|
1110
1119
|
title: z.ZodString;
|
|
1111
1120
|
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1112
1122
|
describe: z.ZodOptional<z.ZodString>;
|
|
1113
1123
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1114
1124
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,14 +1168,13 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1158
1168
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1159
1169
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1160
1170
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1161
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1163
1171
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1164
1172
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1165
1173
|
}, z.core.$strip>, z.ZodObject<{
|
|
1166
1174
|
id: z.ZodString;
|
|
1167
1175
|
title: z.ZodString;
|
|
1168
1176
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1169
1178
|
describe: z.ZodOptional<z.ZodString>;
|
|
1170
1179
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1171
1180
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -170,6 +170,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
170
170
|
id: z.ZodString;
|
|
171
171
|
title: z.ZodString;
|
|
172
172
|
description: z.ZodOptional<z.ZodString>;
|
|
173
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
173
174
|
describe: z.ZodOptional<z.ZodString>;
|
|
174
175
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
175
176
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -235,6 +236,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
235
236
|
id: z.ZodString;
|
|
236
237
|
title: z.ZodString;
|
|
237
238
|
description: z.ZodOptional<z.ZodString>;
|
|
239
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
238
240
|
describe: z.ZodOptional<z.ZodString>;
|
|
239
241
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
240
242
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -284,6 +286,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
284
286
|
id: z.ZodString;
|
|
285
287
|
title: z.ZodString;
|
|
286
288
|
description: z.ZodOptional<z.ZodString>;
|
|
289
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
287
290
|
describe: z.ZodOptional<z.ZodString>;
|
|
288
291
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
289
292
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -351,6 +354,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
351
354
|
id: z.ZodString;
|
|
352
355
|
title: z.ZodString;
|
|
353
356
|
description: z.ZodOptional<z.ZodString>;
|
|
357
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
354
358
|
describe: z.ZodOptional<z.ZodString>;
|
|
355
359
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
356
360
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -419,6 +423,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
419
423
|
id: z.ZodString;
|
|
420
424
|
title: z.ZodString;
|
|
421
425
|
description: z.ZodOptional<z.ZodString>;
|
|
426
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
422
427
|
describe: z.ZodOptional<z.ZodString>;
|
|
423
428
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
424
429
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -472,6 +477,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
472
477
|
id: z.ZodString;
|
|
473
478
|
title: z.ZodString;
|
|
474
479
|
description: z.ZodOptional<z.ZodString>;
|
|
480
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
475
481
|
describe: z.ZodOptional<z.ZodString>;
|
|
476
482
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
477
483
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -522,14 +528,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
522
528
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
523
529
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
524
530
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
525
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
526
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
527
531
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
528
532
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
529
533
|
}, z.core.$strip>, z.ZodObject<{
|
|
530
534
|
id: z.ZodString;
|
|
531
535
|
title: z.ZodString;
|
|
532
536
|
description: z.ZodOptional<z.ZodString>;
|
|
537
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
533
538
|
describe: z.ZodOptional<z.ZodString>;
|
|
534
539
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
535
540
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -579,14 +584,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
579
584
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
580
585
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
581
586
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
582
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
583
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
584
587
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
585
588
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
586
589
|
}, z.core.$strip>, z.ZodObject<{
|
|
587
590
|
id: z.ZodString;
|
|
588
591
|
title: z.ZodString;
|
|
589
592
|
description: z.ZodOptional<z.ZodString>;
|
|
593
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
590
594
|
describe: z.ZodOptional<z.ZodString>;
|
|
591
595
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
592
596
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -658,54 +662,62 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
658
662
|
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
659
663
|
}, z.core.$strip>>;
|
|
660
664
|
translations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
661
|
-
type: z.ZodLiteral<"rating">;
|
|
662
665
|
title: z.ZodString;
|
|
663
666
|
description: z.ZodOptional<z.ZodString>;
|
|
667
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
664
668
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
669
|
+
type: z.ZodLiteral<"rating">;
|
|
665
670
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
666
671
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
667
672
|
}, z.core.$strip>, z.ZodObject<{
|
|
668
|
-
type: z.ZodLiteral<"single_choice">;
|
|
669
673
|
title: z.ZodString;
|
|
670
674
|
description: z.ZodOptional<z.ZodString>;
|
|
675
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
671
676
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
677
|
+
type: z.ZodLiteral<"single_choice">;
|
|
672
678
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
673
679
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
674
|
-
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
675
680
|
title: z.ZodString;
|
|
676
681
|
description: z.ZodOptional<z.ZodString>;
|
|
682
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
677
683
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
684
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
678
685
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
679
686
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
680
|
-
type: z.ZodLiteral<"nps">;
|
|
681
687
|
title: z.ZodString;
|
|
682
688
|
description: z.ZodOptional<z.ZodString>;
|
|
689
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
683
690
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
691
|
+
type: z.ZodLiteral<"nps">;
|
|
684
692
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
685
693
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
686
694
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
687
|
-
type: z.ZodLiteral<"short_answer">;
|
|
688
695
|
title: z.ZodString;
|
|
689
696
|
description: z.ZodOptional<z.ZodString>;
|
|
697
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
690
698
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
699
|
+
type: z.ZodLiteral<"short_answer">;
|
|
691
700
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
692
701
|
}, z.core.$strip>, z.ZodObject<{
|
|
693
|
-
type: z.ZodLiteral<"long_text">;
|
|
694
702
|
title: z.ZodString;
|
|
695
703
|
description: z.ZodOptional<z.ZodString>;
|
|
704
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
696
705
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
706
|
+
type: z.ZodLiteral<"long_text">;
|
|
697
707
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
698
708
|
}, z.core.$strip>, z.ZodObject<{
|
|
699
|
-
type: z.ZodLiteral<"nested_selection">;
|
|
700
709
|
title: z.ZodString;
|
|
701
710
|
description: z.ZodOptional<z.ZodString>;
|
|
711
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
702
712
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
713
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
703
714
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
704
715
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
705
|
-
type: z.ZodLiteral<"annotation">;
|
|
706
716
|
title: z.ZodString;
|
|
707
717
|
description: z.ZodOptional<z.ZodString>;
|
|
718
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
708
719
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
720
|
+
type: z.ZodLiteral<"annotation">;
|
|
709
721
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
710
722
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
711
723
|
}, z.core.$strip>]>>>;
|