@encatch/schema 1.0.1-beta.2 → 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 +503 -584
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +80 -112
- package/dist/types/schemas/fields/app-props-schema.d.ts +40 -34
- package/dist/types/schemas/fields/field-schema.d.ts +82 -74
- package/dist/types/schemas/fields/form-properties-schema.d.ts +40 -58
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/theme-schema.d.ts +0 -4
- 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,14 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1195
1172
|
sections: z.ZodArray<z.ZodObject<{
|
|
1196
1173
|
id: z.ZodString;
|
|
1197
1174
|
title: z.ZodString;
|
|
1175
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1176
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1178
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1179
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1180
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1182
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1198
1183
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1199
1184
|
}, z.core.$strip>>;
|
|
1200
1185
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -1221,15 +1206,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1221
1206
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1222
1207
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1223
1208
|
type: z.ZodEnum<{
|
|
1209
|
+
custom: "custom";
|
|
1210
|
+
pattern: "pattern";
|
|
1224
1211
|
required: "required";
|
|
1225
1212
|
min: "min";
|
|
1226
1213
|
max: "max";
|
|
1227
1214
|
minLength: "minLength";
|
|
1228
1215
|
maxLength: "maxLength";
|
|
1229
|
-
pattern: "pattern";
|
|
1230
1216
|
email: "email";
|
|
1231
1217
|
url: "url";
|
|
1232
|
-
custom: "custom";
|
|
1233
1218
|
}>;
|
|
1234
1219
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1235
1220
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1290,15 +1275,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1290
1275
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1291
1276
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1292
1277
|
type: z.ZodEnum<{
|
|
1278
|
+
custom: "custom";
|
|
1279
|
+
pattern: "pattern";
|
|
1293
1280
|
required: "required";
|
|
1294
1281
|
min: "min";
|
|
1295
1282
|
max: "max";
|
|
1296
1283
|
minLength: "minLength";
|
|
1297
1284
|
maxLength: "maxLength";
|
|
1298
|
-
pattern: "pattern";
|
|
1299
1285
|
email: "email";
|
|
1300
1286
|
url: "url";
|
|
1301
|
-
custom: "custom";
|
|
1302
1287
|
}>;
|
|
1303
1288
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1304
1289
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1341,15 +1326,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1341
1326
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1342
1327
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1343
1328
|
type: z.ZodEnum<{
|
|
1329
|
+
custom: "custom";
|
|
1330
|
+
pattern: "pattern";
|
|
1344
1331
|
required: "required";
|
|
1345
1332
|
min: "min";
|
|
1346
1333
|
max: "max";
|
|
1347
1334
|
minLength: "minLength";
|
|
1348
1335
|
maxLength: "maxLength";
|
|
1349
|
-
pattern: "pattern";
|
|
1350
1336
|
email: "email";
|
|
1351
1337
|
url: "url";
|
|
1352
|
-
custom: "custom";
|
|
1353
1338
|
}>;
|
|
1354
1339
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1355
1340
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1394,15 +1379,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1394
1379
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1395
1380
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
1381
|
type: z.ZodEnum<{
|
|
1382
|
+
custom: "custom";
|
|
1383
|
+
pattern: "pattern";
|
|
1397
1384
|
required: "required";
|
|
1398
1385
|
min: "min";
|
|
1399
1386
|
max: "max";
|
|
1400
1387
|
minLength: "minLength";
|
|
1401
1388
|
maxLength: "maxLength";
|
|
1402
|
-
pattern: "pattern";
|
|
1403
1389
|
email: "email";
|
|
1404
1390
|
url: "url";
|
|
1405
|
-
custom: "custom";
|
|
1406
1391
|
}>;
|
|
1407
1392
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1408
1393
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1447,15 +1432,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1447
1432
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1448
1433
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1449
1434
|
type: z.ZodEnum<{
|
|
1435
|
+
custom: "custom";
|
|
1436
|
+
pattern: "pattern";
|
|
1450
1437
|
required: "required";
|
|
1451
1438
|
min: "min";
|
|
1452
1439
|
max: "max";
|
|
1453
1440
|
minLength: "minLength";
|
|
1454
1441
|
maxLength: "maxLength";
|
|
1455
|
-
pattern: "pattern";
|
|
1456
1442
|
email: "email";
|
|
1457
1443
|
url: "url";
|
|
1458
|
-
custom: "custom";
|
|
1459
1444
|
}>;
|
|
1460
1445
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1461
1446
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1502,15 +1487,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1502
1487
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1503
1488
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1504
1489
|
type: z.ZodEnum<{
|
|
1490
|
+
custom: "custom";
|
|
1491
|
+
pattern: "pattern";
|
|
1505
1492
|
required: "required";
|
|
1506
1493
|
min: "min";
|
|
1507
1494
|
max: "max";
|
|
1508
1495
|
minLength: "minLength";
|
|
1509
1496
|
maxLength: "maxLength";
|
|
1510
|
-
pattern: "pattern";
|
|
1511
1497
|
email: "email";
|
|
1512
1498
|
url: "url";
|
|
1513
|
-
custom: "custom";
|
|
1514
1499
|
}>;
|
|
1515
1500
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1516
1501
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1553,15 +1538,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1553
1538
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1554
1539
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1555
1540
|
type: z.ZodEnum<{
|
|
1541
|
+
custom: "custom";
|
|
1542
|
+
pattern: "pattern";
|
|
1556
1543
|
required: "required";
|
|
1557
1544
|
min: "min";
|
|
1558
1545
|
max: "max";
|
|
1559
1546
|
minLength: "minLength";
|
|
1560
1547
|
maxLength: "maxLength";
|
|
1561
|
-
pattern: "pattern";
|
|
1562
1548
|
email: "email";
|
|
1563
1549
|
url: "url";
|
|
1564
|
-
custom: "custom";
|
|
1565
1550
|
}>;
|
|
1566
1551
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1567
1552
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1610,15 +1595,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1610
1595
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1611
1596
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1612
1597
|
type: z.ZodEnum<{
|
|
1598
|
+
custom: "custom";
|
|
1599
|
+
pattern: "pattern";
|
|
1613
1600
|
required: "required";
|
|
1614
1601
|
min: "min";
|
|
1615
1602
|
max: "max";
|
|
1616
1603
|
minLength: "minLength";
|
|
1617
1604
|
maxLength: "maxLength";
|
|
1618
|
-
pattern: "pattern";
|
|
1619
1605
|
email: "email";
|
|
1620
1606
|
url: "url";
|
|
1621
|
-
custom: "custom";
|
|
1622
1607
|
}>;
|
|
1623
1608
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1624
1609
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1700,15 +1685,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1700
1685
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1701
1686
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1702
1687
|
type: z.ZodEnum<{
|
|
1688
|
+
custom: "custom";
|
|
1689
|
+
pattern: "pattern";
|
|
1703
1690
|
required: "required";
|
|
1704
1691
|
min: "min";
|
|
1705
1692
|
max: "max";
|
|
1706
1693
|
minLength: "minLength";
|
|
1707
1694
|
maxLength: "maxLength";
|
|
1708
|
-
pattern: "pattern";
|
|
1709
1695
|
email: "email";
|
|
1710
1696
|
url: "url";
|
|
1711
|
-
custom: "custom";
|
|
1712
1697
|
}>;
|
|
1713
1698
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1714
1699
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,15 +1750,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1765
1750
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1766
1751
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1767
1752
|
type: z.ZodEnum<{
|
|
1753
|
+
custom: "custom";
|
|
1754
|
+
pattern: "pattern";
|
|
1768
1755
|
required: "required";
|
|
1769
1756
|
min: "min";
|
|
1770
1757
|
max: "max";
|
|
1771
1758
|
minLength: "minLength";
|
|
1772
1759
|
maxLength: "maxLength";
|
|
1773
|
-
pattern: "pattern";
|
|
1774
1760
|
email: "email";
|
|
1775
1761
|
url: "url";
|
|
1776
|
-
custom: "custom";
|
|
1777
1762
|
}>;
|
|
1778
1763
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1779
1764
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1832,15 +1817,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1832
1817
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1833
1818
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1834
1819
|
type: z.ZodEnum<{
|
|
1820
|
+
custom: "custom";
|
|
1821
|
+
pattern: "pattern";
|
|
1835
1822
|
required: "required";
|
|
1836
1823
|
min: "min";
|
|
1837
1824
|
max: "max";
|
|
1838
1825
|
minLength: "minLength";
|
|
1839
1826
|
maxLength: "maxLength";
|
|
1840
|
-
pattern: "pattern";
|
|
1841
1827
|
email: "email";
|
|
1842
1828
|
url: "url";
|
|
1843
|
-
custom: "custom";
|
|
1844
1829
|
}>;
|
|
1845
1830
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1846
1831
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1903,15 +1888,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1903
1888
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1904
1889
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
1890
|
type: z.ZodEnum<{
|
|
1891
|
+
custom: "custom";
|
|
1892
|
+
pattern: "pattern";
|
|
1906
1893
|
required: "required";
|
|
1907
1894
|
min: "min";
|
|
1908
1895
|
max: "max";
|
|
1909
1896
|
minLength: "minLength";
|
|
1910
1897
|
maxLength: "maxLength";
|
|
1911
|
-
pattern: "pattern";
|
|
1912
1898
|
email: "email";
|
|
1913
1899
|
url: "url";
|
|
1914
|
-
custom: "custom";
|
|
1915
1900
|
}>;
|
|
1916
1901
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1917
1902
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1975,15 +1960,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1975
1960
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1976
1961
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
1962
|
type: z.ZodEnum<{
|
|
1963
|
+
custom: "custom";
|
|
1964
|
+
pattern: "pattern";
|
|
1978
1965
|
required: "required";
|
|
1979
1966
|
min: "min";
|
|
1980
1967
|
max: "max";
|
|
1981
1968
|
minLength: "minLength";
|
|
1982
1969
|
maxLength: "maxLength";
|
|
1983
|
-
pattern: "pattern";
|
|
1984
1970
|
email: "email";
|
|
1985
1971
|
url: "url";
|
|
1986
|
-
custom: "custom";
|
|
1987
1972
|
}>;
|
|
1988
1973
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1989
1974
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2032,15 +2017,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2032
2017
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2033
2018
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2034
2019
|
type: z.ZodEnum<{
|
|
2020
|
+
custom: "custom";
|
|
2021
|
+
pattern: "pattern";
|
|
2035
2022
|
required: "required";
|
|
2036
2023
|
min: "min";
|
|
2037
2024
|
max: "max";
|
|
2038
2025
|
minLength: "minLength";
|
|
2039
2026
|
maxLength: "maxLength";
|
|
2040
|
-
pattern: "pattern";
|
|
2041
2027
|
email: "email";
|
|
2042
2028
|
url: "url";
|
|
2043
|
-
custom: "custom";
|
|
2044
2029
|
}>;
|
|
2045
2030
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2046
2031
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2092,15 +2077,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2092
2077
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2093
2078
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2094
2079
|
type: z.ZodEnum<{
|
|
2080
|
+
custom: "custom";
|
|
2081
|
+
pattern: "pattern";
|
|
2095
2082
|
required: "required";
|
|
2096
2083
|
min: "min";
|
|
2097
2084
|
max: "max";
|
|
2098
2085
|
minLength: "minLength";
|
|
2099
2086
|
maxLength: "maxLength";
|
|
2100
|
-
pattern: "pattern";
|
|
2101
2087
|
email: "email";
|
|
2102
2088
|
url: "url";
|
|
2103
|
-
custom: "custom";
|
|
2104
2089
|
}>;
|
|
2105
2090
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2106
2091
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2151,15 +2136,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2151
2136
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2152
2137
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2153
2138
|
type: z.ZodEnum<{
|
|
2139
|
+
custom: "custom";
|
|
2140
|
+
pattern: "pattern";
|
|
2154
2141
|
required: "required";
|
|
2155
2142
|
min: "min";
|
|
2156
2143
|
max: "max";
|
|
2157
2144
|
minLength: "minLength";
|
|
2158
2145
|
maxLength: "maxLength";
|
|
2159
|
-
pattern: "pattern";
|
|
2160
2146
|
email: "email";
|
|
2161
2147
|
url: "url";
|
|
2162
|
-
custom: "custom";
|
|
2163
2148
|
}>;
|
|
2164
2149
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2165
2150
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2212,6 +2197,14 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2212
2197
|
sections: z.ZodArray<z.ZodObject<{
|
|
2213
2198
|
id: z.ZodString;
|
|
2214
2199
|
title: z.ZodString;
|
|
2200
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2201
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2202
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2203
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2204
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
2205
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2207
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
2215
2208
|
questionIds: z.ZodArray<z.ZodString>;
|
|
2216
2209
|
}, z.core.$strip>>;
|
|
2217
2210
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2281,14 +2274,12 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2281
2274
|
progressBar: z.ZodBoolean;
|
|
2282
2275
|
showBranding: z.ZodBoolean;
|
|
2283
2276
|
customPosition: z.ZodBoolean;
|
|
2284
|
-
customIconPosition: z.ZodBoolean;
|
|
2285
2277
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2286
2278
|
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
2287
2279
|
light: "light";
|
|
2288
2280
|
dark: "dark";
|
|
2289
2281
|
system: "system";
|
|
2290
2282
|
}>>;
|
|
2291
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2292
2283
|
rtl: z.ZodBoolean;
|
|
2293
2284
|
previousButton: z.ZodEnum<{
|
|
2294
2285
|
never: "never";
|
|
@@ -2415,7 +2406,6 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2415
2406
|
customPosition: z.ZodBoolean;
|
|
2416
2407
|
customIconPosition: z.ZodBoolean;
|
|
2417
2408
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
-
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2419
2409
|
rtl: z.ZodBoolean;
|
|
2420
2410
|
previousButton: z.ZodEnum<{
|
|
2421
2411
|
never: "never";
|
|
@@ -2426,28 +2416,6 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2426
2416
|
selectedIconPosition: z.ZodString;
|
|
2427
2417
|
selectedPosition: z.ZodString;
|
|
2428
2418
|
}, 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
2419
|
}, z.core.$strip>>;
|
|
2452
2420
|
}, z.core.$strict>;
|
|
2453
2421
|
export type FeedbackConfigurationItem = z.infer<typeof feedbackConfigurationItemSchema>;
|