@encatch/schema 1.0.1-beta.2 → 1.1.0-beta.4
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 +500 -584
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +84 -112
- package/dist/types/schemas/fields/app-props-schema.d.ts +42 -34
- package/dist/types/schemas/fields/field-schema.d.ts +84 -74
- package/dist/types/schemas/fields/form-properties-schema.d.ts +42 -58
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/theme-schema.d.ts +0 -4
- package/dist/types/schemas/fields/translations-schema.d.ts +12 -0
- package/package.json +1 -1
|
@@ -86,7 +86,6 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
|
|
|
86
86
|
customPosition: z.ZodBoolean;
|
|
87
87
|
customIconPosition: z.ZodBoolean;
|
|
88
88
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
90
89
|
rtl: z.ZodBoolean;
|
|
91
90
|
previousButton: z.ZodEnum<{
|
|
92
91
|
never: "never";
|
|
@@ -97,28 +96,6 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
|
|
|
97
96
|
selectedIconPosition: z.ZodString;
|
|
98
97
|
selectedPosition: z.ZodString;
|
|
99
98
|
}, z.core.$strip>;
|
|
100
|
-
frequencyAndScheduling: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
surveyType: z.ZodEnum<{
|
|
102
|
-
S: "S";
|
|
103
|
-
R: "R";
|
|
104
|
-
}>;
|
|
105
|
-
showOnce: z.ZodEnum<{
|
|
106
|
-
Y: "Y";
|
|
107
|
-
N: "N";
|
|
108
|
-
}>;
|
|
109
|
-
stopWhenResponsesCount: z.ZodString;
|
|
110
|
-
recurringValue: z.ZodString;
|
|
111
|
-
recurringUnit: z.ZodEnum<{
|
|
112
|
-
minutes: "minutes";
|
|
113
|
-
hours: "hours";
|
|
114
|
-
days: "days";
|
|
115
|
-
weeks: "weeks";
|
|
116
|
-
months: "months";
|
|
117
|
-
years: "years";
|
|
118
|
-
}>;
|
|
119
|
-
startDate: z.ZodString;
|
|
120
|
-
stopDate: z.ZodString;
|
|
121
|
-
}, z.core.$strip>>;
|
|
122
99
|
}, z.core.$strip>;
|
|
123
100
|
export declare const fetchFormConfigSchema: z.ZodObject<{
|
|
124
101
|
feedbackConfigurationId: z.ZodString;
|
|
@@ -204,15 +181,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
204
181
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
205
182
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
206
183
|
type: z.ZodEnum<{
|
|
184
|
+
custom: "custom";
|
|
185
|
+
pattern: "pattern";
|
|
207
186
|
required: "required";
|
|
208
187
|
min: "min";
|
|
209
188
|
max: "max";
|
|
210
189
|
minLength: "minLength";
|
|
211
190
|
maxLength: "maxLength";
|
|
212
|
-
pattern: "pattern";
|
|
213
191
|
email: "email";
|
|
214
192
|
url: "url";
|
|
215
|
-
custom: "custom";
|
|
216
193
|
}>;
|
|
217
194
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
218
195
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -273,15 +250,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
273
250
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
274
251
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
252
|
type: z.ZodEnum<{
|
|
253
|
+
custom: "custom";
|
|
254
|
+
pattern: "pattern";
|
|
276
255
|
required: "required";
|
|
277
256
|
min: "min";
|
|
278
257
|
max: "max";
|
|
279
258
|
minLength: "minLength";
|
|
280
259
|
maxLength: "maxLength";
|
|
281
|
-
pattern: "pattern";
|
|
282
260
|
email: "email";
|
|
283
261
|
url: "url";
|
|
284
|
-
custom: "custom";
|
|
285
262
|
}>;
|
|
286
263
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
287
264
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -324,15 +301,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
324
301
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
325
302
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
326
303
|
type: z.ZodEnum<{
|
|
304
|
+
custom: "custom";
|
|
305
|
+
pattern: "pattern";
|
|
327
306
|
required: "required";
|
|
328
307
|
min: "min";
|
|
329
308
|
max: "max";
|
|
330
309
|
minLength: "minLength";
|
|
331
310
|
maxLength: "maxLength";
|
|
332
|
-
pattern: "pattern";
|
|
333
311
|
email: "email";
|
|
334
312
|
url: "url";
|
|
335
|
-
custom: "custom";
|
|
336
313
|
}>;
|
|
337
314
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
338
315
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -377,15 +354,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
377
354
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
378
355
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
379
356
|
type: z.ZodEnum<{
|
|
357
|
+
custom: "custom";
|
|
358
|
+
pattern: "pattern";
|
|
380
359
|
required: "required";
|
|
381
360
|
min: "min";
|
|
382
361
|
max: "max";
|
|
383
362
|
minLength: "minLength";
|
|
384
363
|
maxLength: "maxLength";
|
|
385
|
-
pattern: "pattern";
|
|
386
364
|
email: "email";
|
|
387
365
|
url: "url";
|
|
388
|
-
custom: "custom";
|
|
389
366
|
}>;
|
|
390
367
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
391
368
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -430,15 +407,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
430
407
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
431
408
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
409
|
type: z.ZodEnum<{
|
|
410
|
+
custom: "custom";
|
|
411
|
+
pattern: "pattern";
|
|
433
412
|
required: "required";
|
|
434
413
|
min: "min";
|
|
435
414
|
max: "max";
|
|
436
415
|
minLength: "minLength";
|
|
437
416
|
maxLength: "maxLength";
|
|
438
|
-
pattern: "pattern";
|
|
439
417
|
email: "email";
|
|
440
418
|
url: "url";
|
|
441
|
-
custom: "custom";
|
|
442
419
|
}>;
|
|
443
420
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
444
421
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -485,15 +462,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
485
462
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
486
463
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
487
464
|
type: z.ZodEnum<{
|
|
465
|
+
custom: "custom";
|
|
466
|
+
pattern: "pattern";
|
|
488
467
|
required: "required";
|
|
489
468
|
min: "min";
|
|
490
469
|
max: "max";
|
|
491
470
|
minLength: "minLength";
|
|
492
471
|
maxLength: "maxLength";
|
|
493
|
-
pattern: "pattern";
|
|
494
472
|
email: "email";
|
|
495
473
|
url: "url";
|
|
496
|
-
custom: "custom";
|
|
497
474
|
}>;
|
|
498
475
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
499
476
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -536,15 +513,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
536
513
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
537
514
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
515
|
type: z.ZodEnum<{
|
|
516
|
+
custom: "custom";
|
|
517
|
+
pattern: "pattern";
|
|
539
518
|
required: "required";
|
|
540
519
|
min: "min";
|
|
541
520
|
max: "max";
|
|
542
521
|
minLength: "minLength";
|
|
543
522
|
maxLength: "maxLength";
|
|
544
|
-
pattern: "pattern";
|
|
545
523
|
email: "email";
|
|
546
524
|
url: "url";
|
|
547
|
-
custom: "custom";
|
|
548
525
|
}>;
|
|
549
526
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
550
527
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -593,15 +570,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
593
570
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
594
571
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
595
572
|
type: z.ZodEnum<{
|
|
573
|
+
custom: "custom";
|
|
574
|
+
pattern: "pattern";
|
|
596
575
|
required: "required";
|
|
597
576
|
min: "min";
|
|
598
577
|
max: "max";
|
|
599
578
|
minLength: "minLength";
|
|
600
579
|
maxLength: "maxLength";
|
|
601
|
-
pattern: "pattern";
|
|
602
580
|
email: "email";
|
|
603
581
|
url: "url";
|
|
604
|
-
custom: "custom";
|
|
605
582
|
}>;
|
|
606
583
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
607
584
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -683,15 +660,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
683
660
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
684
661
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
685
662
|
type: z.ZodEnum<{
|
|
663
|
+
custom: "custom";
|
|
664
|
+
pattern: "pattern";
|
|
686
665
|
required: "required";
|
|
687
666
|
min: "min";
|
|
688
667
|
max: "max";
|
|
689
668
|
minLength: "minLength";
|
|
690
669
|
maxLength: "maxLength";
|
|
691
|
-
pattern: "pattern";
|
|
692
670
|
email: "email";
|
|
693
671
|
url: "url";
|
|
694
|
-
custom: "custom";
|
|
695
672
|
}>;
|
|
696
673
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
697
674
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -748,15 +725,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
748
725
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
749
726
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
750
727
|
type: z.ZodEnum<{
|
|
728
|
+
custom: "custom";
|
|
729
|
+
pattern: "pattern";
|
|
751
730
|
required: "required";
|
|
752
731
|
min: "min";
|
|
753
732
|
max: "max";
|
|
754
733
|
minLength: "minLength";
|
|
755
734
|
maxLength: "maxLength";
|
|
756
|
-
pattern: "pattern";
|
|
757
735
|
email: "email";
|
|
758
736
|
url: "url";
|
|
759
|
-
custom: "custom";
|
|
760
737
|
}>;
|
|
761
738
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
762
739
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -815,15 +792,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
815
792
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
816
793
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
817
794
|
type: z.ZodEnum<{
|
|
795
|
+
custom: "custom";
|
|
796
|
+
pattern: "pattern";
|
|
818
797
|
required: "required";
|
|
819
798
|
min: "min";
|
|
820
799
|
max: "max";
|
|
821
800
|
minLength: "minLength";
|
|
822
801
|
maxLength: "maxLength";
|
|
823
|
-
pattern: "pattern";
|
|
824
802
|
email: "email";
|
|
825
803
|
url: "url";
|
|
826
|
-
custom: "custom";
|
|
827
804
|
}>;
|
|
828
805
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
829
806
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -886,15 +863,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
886
863
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
887
864
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
888
865
|
type: z.ZodEnum<{
|
|
866
|
+
custom: "custom";
|
|
867
|
+
pattern: "pattern";
|
|
889
868
|
required: "required";
|
|
890
869
|
min: "min";
|
|
891
870
|
max: "max";
|
|
892
871
|
minLength: "minLength";
|
|
893
872
|
maxLength: "maxLength";
|
|
894
|
-
pattern: "pattern";
|
|
895
873
|
email: "email";
|
|
896
874
|
url: "url";
|
|
897
|
-
custom: "custom";
|
|
898
875
|
}>;
|
|
899
876
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
900
877
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -958,15 +935,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
958
935
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
959
936
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
960
937
|
type: z.ZodEnum<{
|
|
938
|
+
custom: "custom";
|
|
939
|
+
pattern: "pattern";
|
|
961
940
|
required: "required";
|
|
962
941
|
min: "min";
|
|
963
942
|
max: "max";
|
|
964
943
|
minLength: "minLength";
|
|
965
944
|
maxLength: "maxLength";
|
|
966
|
-
pattern: "pattern";
|
|
967
945
|
email: "email";
|
|
968
946
|
url: "url";
|
|
969
|
-
custom: "custom";
|
|
970
947
|
}>;
|
|
971
948
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
972
949
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1015,15 +992,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1015
992
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1016
993
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1017
994
|
type: z.ZodEnum<{
|
|
995
|
+
custom: "custom";
|
|
996
|
+
pattern: "pattern";
|
|
1018
997
|
required: "required";
|
|
1019
998
|
min: "min";
|
|
1020
999
|
max: "max";
|
|
1021
1000
|
minLength: "minLength";
|
|
1022
1001
|
maxLength: "maxLength";
|
|
1023
|
-
pattern: "pattern";
|
|
1024
1002
|
email: "email";
|
|
1025
1003
|
url: "url";
|
|
1026
|
-
custom: "custom";
|
|
1027
1004
|
}>;
|
|
1028
1005
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1029
1006
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1075,15 +1052,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1075
1052
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1076
1053
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
1054
|
type: z.ZodEnum<{
|
|
1055
|
+
custom: "custom";
|
|
1056
|
+
pattern: "pattern";
|
|
1078
1057
|
required: "required";
|
|
1079
1058
|
min: "min";
|
|
1080
1059
|
max: "max";
|
|
1081
1060
|
minLength: "minLength";
|
|
1082
1061
|
maxLength: "maxLength";
|
|
1083
|
-
pattern: "pattern";
|
|
1084
1062
|
email: "email";
|
|
1085
1063
|
url: "url";
|
|
1086
|
-
custom: "custom";
|
|
1087
1064
|
}>;
|
|
1088
1065
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1089
1066
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1134,15 +1111,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1134
1111
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1135
1112
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1136
1113
|
type: z.ZodEnum<{
|
|
1114
|
+
custom: "custom";
|
|
1115
|
+
pattern: "pattern";
|
|
1137
1116
|
required: "required";
|
|
1138
1117
|
min: "min";
|
|
1139
1118
|
max: "max";
|
|
1140
1119
|
minLength: "minLength";
|
|
1141
1120
|
maxLength: "maxLength";
|
|
1142
|
-
pattern: "pattern";
|
|
1143
1121
|
email: "email";
|
|
1144
1122
|
url: "url";
|
|
1145
|
-
custom: "custom";
|
|
1146
1123
|
}>;
|
|
1147
1124
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1148
1125
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1195,6 +1172,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1195
1172
|
sections: z.ZodArray<z.ZodObject<{
|
|
1196
1173
|
id: z.ZodString;
|
|
1197
1174
|
title: z.ZodString;
|
|
1175
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1177
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1178
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1180
|
+
title: z.ZodString;
|
|
1181
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
}, z.core.$strip>>>;
|
|
1184
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1198
1185
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1199
1186
|
}, z.core.$strip>>;
|
|
1200
1187
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -1221,15 +1208,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1221
1208
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1222
1209
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1223
1210
|
type: z.ZodEnum<{
|
|
1211
|
+
custom: "custom";
|
|
1212
|
+
pattern: "pattern";
|
|
1224
1213
|
required: "required";
|
|
1225
1214
|
min: "min";
|
|
1226
1215
|
max: "max";
|
|
1227
1216
|
minLength: "minLength";
|
|
1228
1217
|
maxLength: "maxLength";
|
|
1229
|
-
pattern: "pattern";
|
|
1230
1218
|
email: "email";
|
|
1231
1219
|
url: "url";
|
|
1232
|
-
custom: "custom";
|
|
1233
1220
|
}>;
|
|
1234
1221
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1235
1222
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1290,15 +1277,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1290
1277
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1291
1278
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1292
1279
|
type: z.ZodEnum<{
|
|
1280
|
+
custom: "custom";
|
|
1281
|
+
pattern: "pattern";
|
|
1293
1282
|
required: "required";
|
|
1294
1283
|
min: "min";
|
|
1295
1284
|
max: "max";
|
|
1296
1285
|
minLength: "minLength";
|
|
1297
1286
|
maxLength: "maxLength";
|
|
1298
|
-
pattern: "pattern";
|
|
1299
1287
|
email: "email";
|
|
1300
1288
|
url: "url";
|
|
1301
|
-
custom: "custom";
|
|
1302
1289
|
}>;
|
|
1303
1290
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1304
1291
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1341,15 +1328,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1341
1328
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1342
1329
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1343
1330
|
type: z.ZodEnum<{
|
|
1331
|
+
custom: "custom";
|
|
1332
|
+
pattern: "pattern";
|
|
1344
1333
|
required: "required";
|
|
1345
1334
|
min: "min";
|
|
1346
1335
|
max: "max";
|
|
1347
1336
|
minLength: "minLength";
|
|
1348
1337
|
maxLength: "maxLength";
|
|
1349
|
-
pattern: "pattern";
|
|
1350
1338
|
email: "email";
|
|
1351
1339
|
url: "url";
|
|
1352
|
-
custom: "custom";
|
|
1353
1340
|
}>;
|
|
1354
1341
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1355
1342
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1394,15 +1381,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1394
1381
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1395
1382
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
1383
|
type: z.ZodEnum<{
|
|
1384
|
+
custom: "custom";
|
|
1385
|
+
pattern: "pattern";
|
|
1397
1386
|
required: "required";
|
|
1398
1387
|
min: "min";
|
|
1399
1388
|
max: "max";
|
|
1400
1389
|
minLength: "minLength";
|
|
1401
1390
|
maxLength: "maxLength";
|
|
1402
|
-
pattern: "pattern";
|
|
1403
1391
|
email: "email";
|
|
1404
1392
|
url: "url";
|
|
1405
|
-
custom: "custom";
|
|
1406
1393
|
}>;
|
|
1407
1394
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1408
1395
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1447,15 +1434,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1447
1434
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1448
1435
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1449
1436
|
type: z.ZodEnum<{
|
|
1437
|
+
custom: "custom";
|
|
1438
|
+
pattern: "pattern";
|
|
1450
1439
|
required: "required";
|
|
1451
1440
|
min: "min";
|
|
1452
1441
|
max: "max";
|
|
1453
1442
|
minLength: "minLength";
|
|
1454
1443
|
maxLength: "maxLength";
|
|
1455
|
-
pattern: "pattern";
|
|
1456
1444
|
email: "email";
|
|
1457
1445
|
url: "url";
|
|
1458
|
-
custom: "custom";
|
|
1459
1446
|
}>;
|
|
1460
1447
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1461
1448
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1502,15 +1489,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1502
1489
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1503
1490
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1504
1491
|
type: z.ZodEnum<{
|
|
1492
|
+
custom: "custom";
|
|
1493
|
+
pattern: "pattern";
|
|
1505
1494
|
required: "required";
|
|
1506
1495
|
min: "min";
|
|
1507
1496
|
max: "max";
|
|
1508
1497
|
minLength: "minLength";
|
|
1509
1498
|
maxLength: "maxLength";
|
|
1510
|
-
pattern: "pattern";
|
|
1511
1499
|
email: "email";
|
|
1512
1500
|
url: "url";
|
|
1513
|
-
custom: "custom";
|
|
1514
1501
|
}>;
|
|
1515
1502
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1516
1503
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1553,15 +1540,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1553
1540
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1554
1541
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1555
1542
|
type: z.ZodEnum<{
|
|
1543
|
+
custom: "custom";
|
|
1544
|
+
pattern: "pattern";
|
|
1556
1545
|
required: "required";
|
|
1557
1546
|
min: "min";
|
|
1558
1547
|
max: "max";
|
|
1559
1548
|
minLength: "minLength";
|
|
1560
1549
|
maxLength: "maxLength";
|
|
1561
|
-
pattern: "pattern";
|
|
1562
1550
|
email: "email";
|
|
1563
1551
|
url: "url";
|
|
1564
|
-
custom: "custom";
|
|
1565
1552
|
}>;
|
|
1566
1553
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1567
1554
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1610,15 +1597,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1610
1597
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1611
1598
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1612
1599
|
type: z.ZodEnum<{
|
|
1600
|
+
custom: "custom";
|
|
1601
|
+
pattern: "pattern";
|
|
1613
1602
|
required: "required";
|
|
1614
1603
|
min: "min";
|
|
1615
1604
|
max: "max";
|
|
1616
1605
|
minLength: "minLength";
|
|
1617
1606
|
maxLength: "maxLength";
|
|
1618
|
-
pattern: "pattern";
|
|
1619
1607
|
email: "email";
|
|
1620
1608
|
url: "url";
|
|
1621
|
-
custom: "custom";
|
|
1622
1609
|
}>;
|
|
1623
1610
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1624
1611
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1700,15 +1687,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1700
1687
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1701
1688
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1702
1689
|
type: z.ZodEnum<{
|
|
1690
|
+
custom: "custom";
|
|
1691
|
+
pattern: "pattern";
|
|
1703
1692
|
required: "required";
|
|
1704
1693
|
min: "min";
|
|
1705
1694
|
max: "max";
|
|
1706
1695
|
minLength: "minLength";
|
|
1707
1696
|
maxLength: "maxLength";
|
|
1708
|
-
pattern: "pattern";
|
|
1709
1697
|
email: "email";
|
|
1710
1698
|
url: "url";
|
|
1711
|
-
custom: "custom";
|
|
1712
1699
|
}>;
|
|
1713
1700
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1714
1701
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,15 +1752,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1765
1752
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1766
1753
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1767
1754
|
type: z.ZodEnum<{
|
|
1755
|
+
custom: "custom";
|
|
1756
|
+
pattern: "pattern";
|
|
1768
1757
|
required: "required";
|
|
1769
1758
|
min: "min";
|
|
1770
1759
|
max: "max";
|
|
1771
1760
|
minLength: "minLength";
|
|
1772
1761
|
maxLength: "maxLength";
|
|
1773
|
-
pattern: "pattern";
|
|
1774
1762
|
email: "email";
|
|
1775
1763
|
url: "url";
|
|
1776
|
-
custom: "custom";
|
|
1777
1764
|
}>;
|
|
1778
1765
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1779
1766
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1832,15 +1819,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1832
1819
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1833
1820
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1834
1821
|
type: z.ZodEnum<{
|
|
1822
|
+
custom: "custom";
|
|
1823
|
+
pattern: "pattern";
|
|
1835
1824
|
required: "required";
|
|
1836
1825
|
min: "min";
|
|
1837
1826
|
max: "max";
|
|
1838
1827
|
minLength: "minLength";
|
|
1839
1828
|
maxLength: "maxLength";
|
|
1840
|
-
pattern: "pattern";
|
|
1841
1829
|
email: "email";
|
|
1842
1830
|
url: "url";
|
|
1843
|
-
custom: "custom";
|
|
1844
1831
|
}>;
|
|
1845
1832
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1846
1833
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1903,15 +1890,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1903
1890
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1904
1891
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
1892
|
type: z.ZodEnum<{
|
|
1893
|
+
custom: "custom";
|
|
1894
|
+
pattern: "pattern";
|
|
1906
1895
|
required: "required";
|
|
1907
1896
|
min: "min";
|
|
1908
1897
|
max: "max";
|
|
1909
1898
|
minLength: "minLength";
|
|
1910
1899
|
maxLength: "maxLength";
|
|
1911
|
-
pattern: "pattern";
|
|
1912
1900
|
email: "email";
|
|
1913
1901
|
url: "url";
|
|
1914
|
-
custom: "custom";
|
|
1915
1902
|
}>;
|
|
1916
1903
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1917
1904
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1975,15 +1962,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1975
1962
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1976
1963
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
1964
|
type: z.ZodEnum<{
|
|
1965
|
+
custom: "custom";
|
|
1966
|
+
pattern: "pattern";
|
|
1978
1967
|
required: "required";
|
|
1979
1968
|
min: "min";
|
|
1980
1969
|
max: "max";
|
|
1981
1970
|
minLength: "minLength";
|
|
1982
1971
|
maxLength: "maxLength";
|
|
1983
|
-
pattern: "pattern";
|
|
1984
1972
|
email: "email";
|
|
1985
1973
|
url: "url";
|
|
1986
|
-
custom: "custom";
|
|
1987
1974
|
}>;
|
|
1988
1975
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1989
1976
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2032,15 +2019,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2032
2019
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2033
2020
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2034
2021
|
type: z.ZodEnum<{
|
|
2022
|
+
custom: "custom";
|
|
2023
|
+
pattern: "pattern";
|
|
2035
2024
|
required: "required";
|
|
2036
2025
|
min: "min";
|
|
2037
2026
|
max: "max";
|
|
2038
2027
|
minLength: "minLength";
|
|
2039
2028
|
maxLength: "maxLength";
|
|
2040
|
-
pattern: "pattern";
|
|
2041
2029
|
email: "email";
|
|
2042
2030
|
url: "url";
|
|
2043
|
-
custom: "custom";
|
|
2044
2031
|
}>;
|
|
2045
2032
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2046
2033
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2092,15 +2079,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2092
2079
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2093
2080
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2094
2081
|
type: z.ZodEnum<{
|
|
2082
|
+
custom: "custom";
|
|
2083
|
+
pattern: "pattern";
|
|
2095
2084
|
required: "required";
|
|
2096
2085
|
min: "min";
|
|
2097
2086
|
max: "max";
|
|
2098
2087
|
minLength: "minLength";
|
|
2099
2088
|
maxLength: "maxLength";
|
|
2100
|
-
pattern: "pattern";
|
|
2101
2089
|
email: "email";
|
|
2102
2090
|
url: "url";
|
|
2103
|
-
custom: "custom";
|
|
2104
2091
|
}>;
|
|
2105
2092
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2106
2093
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2151,15 +2138,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2151
2138
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2152
2139
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2153
2140
|
type: z.ZodEnum<{
|
|
2141
|
+
custom: "custom";
|
|
2142
|
+
pattern: "pattern";
|
|
2154
2143
|
required: "required";
|
|
2155
2144
|
min: "min";
|
|
2156
2145
|
max: "max";
|
|
2157
2146
|
minLength: "minLength";
|
|
2158
2147
|
maxLength: "maxLength";
|
|
2159
|
-
pattern: "pattern";
|
|
2160
2148
|
email: "email";
|
|
2161
2149
|
url: "url";
|
|
2162
|
-
custom: "custom";
|
|
2163
2150
|
}>;
|
|
2164
2151
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2165
2152
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2212,6 +2199,16 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2212
2199
|
sections: z.ZodArray<z.ZodObject<{
|
|
2213
2200
|
id: z.ZodString;
|
|
2214
2201
|
title: z.ZodString;
|
|
2202
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2203
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2204
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
2205
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2207
|
+
title: z.ZodString;
|
|
2208
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2209
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2210
|
+
}, z.core.$strip>>>;
|
|
2211
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
2215
2212
|
questionIds: z.ZodArray<z.ZodString>;
|
|
2216
2213
|
}, z.core.$strip>>;
|
|
2217
2214
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2281,14 +2278,12 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2281
2278
|
progressBar: z.ZodBoolean;
|
|
2282
2279
|
showBranding: z.ZodBoolean;
|
|
2283
2280
|
customPosition: z.ZodBoolean;
|
|
2284
|
-
customIconPosition: z.ZodBoolean;
|
|
2285
2281
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2286
2282
|
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
2287
2283
|
light: "light";
|
|
2288
2284
|
dark: "dark";
|
|
2289
2285
|
system: "system";
|
|
2290
2286
|
}>>;
|
|
2291
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2292
2287
|
rtl: z.ZodBoolean;
|
|
2293
2288
|
previousButton: z.ZodEnum<{
|
|
2294
2289
|
never: "never";
|
|
@@ -2415,7 +2410,6 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2415
2410
|
customPosition: z.ZodBoolean;
|
|
2416
2411
|
customIconPosition: z.ZodBoolean;
|
|
2417
2412
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2419
2413
|
rtl: z.ZodBoolean;
|
|
2420
2414
|
previousButton: z.ZodEnum<{
|
|
2421
2415
|
never: "never";
|
|
@@ -2426,28 +2420,6 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2426
2420
|
selectedIconPosition: z.ZodString;
|
|
2427
2421
|
selectedPosition: z.ZodString;
|
|
2428
2422
|
}, z.core.$strip>;
|
|
2429
|
-
frequencyAndScheduling: z.ZodOptional<z.ZodObject<{
|
|
2430
|
-
surveyType: z.ZodEnum<{
|
|
2431
|
-
S: "S";
|
|
2432
|
-
R: "R";
|
|
2433
|
-
}>;
|
|
2434
|
-
showOnce: z.ZodEnum<{
|
|
2435
|
-
Y: "Y";
|
|
2436
|
-
N: "N";
|
|
2437
|
-
}>;
|
|
2438
|
-
stopWhenResponsesCount: z.ZodString;
|
|
2439
|
-
recurringValue: z.ZodString;
|
|
2440
|
-
recurringUnit: z.ZodEnum<{
|
|
2441
|
-
minutes: "minutes";
|
|
2442
|
-
hours: "hours";
|
|
2443
|
-
days: "days";
|
|
2444
|
-
weeks: "weeks";
|
|
2445
|
-
months: "months";
|
|
2446
|
-
years: "years";
|
|
2447
|
-
}>;
|
|
2448
|
-
startDate: z.ZodString;
|
|
2449
|
-
stopDate: z.ZodString;
|
|
2450
|
-
}, z.core.$strip>>;
|
|
2451
2423
|
}, z.core.$strip>>;
|
|
2452
2424
|
}, z.core.$strict>;
|
|
2453
2425
|
export type FeedbackConfigurationItem = z.infer<typeof feedbackConfigurationItemSchema>;
|