@encatch/schema 1.0.1-beta.3 → 1.1.0-beta.5
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 +18 -16
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +42 -6
- package/dist/types/schemas/fields/app-props-schema.d.ts +36 -3
- package/dist/types/schemas/fields/field-schema.d.ts +38 -3
- package/dist/types/schemas/fields/form-properties-schema.d.ts +36 -3
- package/dist/types/schemas/fields/translations-schema.d.ts +89 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { externalPublishingPropertiesSchema, publicationStatusSchema, feedbackCo
|
|
|
4
4
|
export { otherConfigurationPropertiesSchema, appearancePropertiesSchema, formPropertiesSchema, type FormProperties, type OtherConfigurationProperties, type AppearanceProperties, } from "./schemas/fields/form-properties-schema";
|
|
5
5
|
export { OtherFieldsSchema, LanguageFieldSchema, LanguagesSchema, OtherFieldsTranslationSchema, type OtherFields, type OtherFieldsTranslation, type LanguageField, type Languages, } from "./schemas/fields/other-screen-schema";
|
|
6
6
|
export { positionSchema, themeModeSchema, shareableModeSchema, featureSettingsSchema, themeColorsSchema, themesSchema, themeConfigurationSchema, Positions, ThemeModes, ShareableModes, type Position, type FeatureSettings, type ThemeColors, type Themes, type ThemeMode, type ShareableMode, type ThemeConfiguration, } from "./schemas/fields/theme-schema";
|
|
7
|
-
export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, ratingMatrixQuestionTranslationSchema, matrixSingleChoiceQuestionTranslationSchema, matrixMultipleChoiceQuestionTranslationSchema, questionTranslationSchema, questionCentricTranslationsSchema, translationsSchema, TranslationProvider, createTranslationProvider, type TranslationEntry, type RatingQuestionTranslation, type SingleChoiceQuestionTranslation, type MultipleChoiceQuestionTranslation, type NpsQuestionTranslation, type ShortAnswerQuestionTranslation, type LongAnswerQuestionTranslation, type NestedSelectionQuestionTranslation, type AnnotationQuestionTranslation, type WelcomeQuestionTranslation, type ThankYouQuestionTranslation, type MessagePanelQuestionTranslation, type YesNoQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
|
|
7
|
+
export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, ratingMatrixQuestionTranslationSchema, matrixSingleChoiceQuestionTranslationSchema, matrixMultipleChoiceQuestionTranslationSchema, questionTranslationSchema, sectionTranslationSchema, sectionTranslationsByLanguageSchema, questionCentricTranslationsSchema, translationsSchema, TranslationProvider, createTranslationProvider, type TranslationEntry, type RatingQuestionTranslation, type SingleChoiceQuestionTranslation, type MultipleChoiceQuestionTranslation, type NpsQuestionTranslation, type ShortAnswerQuestionTranslation, type LongAnswerQuestionTranslation, type NestedSelectionQuestionTranslation, type AnnotationQuestionTranslation, type WelcomeQuestionTranslation, type ThankYouQuestionTranslation, type MessagePanelQuestionTranslation, type YesNoQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type SectionTranslation, type SectionTranslationsByLanguage, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
|
|
8
8
|
export { customEventFieldOperatorSchema, customEventFieldSchema, conditionalIfMetadataSchema, queryOutputSchema, conditionalIfSchema, triggerActionSchema, conditionalWhenSchema, filterConditionSchema, categorySpecificFiltersSchema, whoSchema, audienceSegmentSchema, audienceTriggerPropertiesSchema, type CustomEventFieldOperator, type CustomEventField, type ConditionalIfMetadata, type QueryOutput, type ConditionalIf, type TriggerAction, type ConditionalWhen, type FilterCondition, type CategorySpecificFilters, type Who, type AudienceSegment, type AudienceTriggerProperties, } from "./schemas/fields/auto-trigger-schema";
|
|
9
9
|
export { masterPropertiesSchema, type MasterProperties, } from "./schemas/fields/other-properties-schema";
|
|
10
10
|
export { deviceThemeSchema, deviceInfoSchema, sessionInfoSchema, deviceSessionInfoSchema, userPropertiesSchema, userInfoSchema, DeviceThemes, type DeviceTheme, type DeviceInfo, type SessionInfo, type DeviceSessionInfo, type UserProperties, type UserInfo, } from "./schemas/api/other-schema";
|
|
@@ -221,6 +221,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
221
221
|
left: "left";
|
|
222
222
|
center: "center";
|
|
223
223
|
}>>>;
|
|
224
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
224
225
|
type: z.ZodLiteral<"rating">;
|
|
225
226
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
226
227
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -290,6 +291,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
290
291
|
left: "left";
|
|
291
292
|
center: "center";
|
|
292
293
|
}>>>;
|
|
294
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
293
295
|
type: z.ZodLiteral<"annotation">;
|
|
294
296
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
295
297
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -341,6 +343,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
341
343
|
left: "left";
|
|
342
344
|
center: "center";
|
|
343
345
|
}>>>;
|
|
346
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
344
347
|
type: z.ZodLiteral<"welcome">;
|
|
345
348
|
title: z.ZodString;
|
|
346
349
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -394,6 +397,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
394
397
|
left: "left";
|
|
395
398
|
center: "center";
|
|
396
399
|
}>>>;
|
|
400
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
397
401
|
type: z.ZodLiteral<"thank_you">;
|
|
398
402
|
title: z.ZodString;
|
|
399
403
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -447,6 +451,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
447
451
|
left: "left";
|
|
448
452
|
center: "center";
|
|
449
453
|
}>>>;
|
|
454
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
450
455
|
type: z.ZodLiteral<"message_panel">;
|
|
451
456
|
title: z.ZodString;
|
|
452
457
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -502,6 +507,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
502
507
|
left: "left";
|
|
503
508
|
center: "center";
|
|
504
509
|
}>>>;
|
|
510
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
505
511
|
type: z.ZodLiteral<"exit_form">;
|
|
506
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
513
|
id: z.ZodString;
|
|
@@ -553,6 +559,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
553
559
|
left: "left";
|
|
554
560
|
center: "center";
|
|
555
561
|
}>>>;
|
|
562
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
563
|
type: z.ZodLiteral<"yes_no">;
|
|
557
564
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
558
565
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -610,6 +617,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
610
617
|
left: "left";
|
|
611
618
|
center: "center";
|
|
612
619
|
}>>>;
|
|
620
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
621
|
type: z.ZodLiteral<"rating_matrix">;
|
|
614
622
|
statements: z.ZodArray<z.ZodObject<{
|
|
615
623
|
id: z.ZodString;
|
|
@@ -700,6 +708,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
700
708
|
left: "left";
|
|
701
709
|
center: "center";
|
|
702
710
|
}>>>;
|
|
711
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
703
712
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
704
713
|
rows: z.ZodArray<z.ZodObject<{
|
|
705
714
|
id: z.ZodString;
|
|
@@ -765,6 +774,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
765
774
|
left: "left";
|
|
766
775
|
center: "center";
|
|
767
776
|
}>>>;
|
|
777
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
768
778
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
769
779
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
780
|
id: z.ZodString;
|
|
@@ -832,6 +842,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
832
842
|
left: "left";
|
|
833
843
|
center: "center";
|
|
834
844
|
}>>>;
|
|
845
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
835
846
|
type: z.ZodLiteral<"single_choice">;
|
|
836
847
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
837
848
|
radio: "radio";
|
|
@@ -903,6 +914,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
903
914
|
left: "left";
|
|
904
915
|
center: "center";
|
|
905
916
|
}>>>;
|
|
917
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
906
918
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
907
919
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
908
920
|
list: "list";
|
|
@@ -975,6 +987,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
975
987
|
left: "left";
|
|
976
988
|
center: "center";
|
|
977
989
|
}>>>;
|
|
990
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
978
991
|
type: z.ZodLiteral<"nps">;
|
|
979
992
|
min: z.ZodLiteral<0>;
|
|
980
993
|
max: z.ZodLiteral<10>;
|
|
@@ -1032,6 +1045,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1032
1045
|
left: "left";
|
|
1033
1046
|
center: "center";
|
|
1034
1047
|
}>>>;
|
|
1048
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1049
|
type: z.ZodLiteral<"short_answer">;
|
|
1036
1050
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1051
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1092,6 +1106,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1092
1106
|
left: "left";
|
|
1093
1107
|
center: "center";
|
|
1094
1108
|
}>>>;
|
|
1109
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1095
1110
|
type: z.ZodLiteral<"long_text">;
|
|
1096
1111
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1097
1112
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1151,6 +1166,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1151
1166
|
left: "left";
|
|
1152
1167
|
center: "center";
|
|
1153
1168
|
}>>>;
|
|
1169
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1170
|
type: z.ZodLiteral<"nested_selection">;
|
|
1155
1171
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1156
1172
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1172,13 +1188,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1172
1188
|
sections: z.ZodArray<z.ZodObject<{
|
|
1173
1189
|
id: z.ZodString;
|
|
1174
1190
|
title: z.ZodString;
|
|
1175
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1176
1191
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1178
1192
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1179
1193
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1180
1194
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
|
|
1195
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1196
|
+
title: z.ZodString;
|
|
1197
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
}, z.core.$strip>>>;
|
|
1182
1200
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1183
1201
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1184
1202
|
}, z.core.$strip>>;
|
|
@@ -1246,6 +1264,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1246
1264
|
left: "left";
|
|
1247
1265
|
center: "center";
|
|
1248
1266
|
}>>>;
|
|
1267
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1249
1268
|
type: z.ZodLiteral<"rating">;
|
|
1250
1269
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1251
1270
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1315,6 +1334,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1315
1334
|
left: "left";
|
|
1316
1335
|
center: "center";
|
|
1317
1336
|
}>>>;
|
|
1337
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1318
1338
|
type: z.ZodLiteral<"annotation">;
|
|
1319
1339
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1320
1340
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1366,6 +1386,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1366
1386
|
left: "left";
|
|
1367
1387
|
center: "center";
|
|
1368
1388
|
}>>>;
|
|
1389
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1369
1390
|
type: z.ZodLiteral<"welcome">;
|
|
1370
1391
|
title: z.ZodString;
|
|
1371
1392
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1419,6 +1440,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1419
1440
|
left: "left";
|
|
1420
1441
|
center: "center";
|
|
1421
1442
|
}>>>;
|
|
1443
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1422
1444
|
type: z.ZodLiteral<"thank_you">;
|
|
1423
1445
|
title: z.ZodString;
|
|
1424
1446
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1472,6 +1494,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1472
1494
|
left: "left";
|
|
1473
1495
|
center: "center";
|
|
1474
1496
|
}>>>;
|
|
1497
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1475
1498
|
type: z.ZodLiteral<"message_panel">;
|
|
1476
1499
|
title: z.ZodString;
|
|
1477
1500
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1527,6 +1550,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1527
1550
|
left: "left";
|
|
1528
1551
|
center: "center";
|
|
1529
1552
|
}>>>;
|
|
1553
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1530
1554
|
type: z.ZodLiteral<"exit_form">;
|
|
1531
1555
|
}, z.core.$strip>, z.ZodObject<{
|
|
1532
1556
|
id: z.ZodString;
|
|
@@ -1578,6 +1602,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1578
1602
|
left: "left";
|
|
1579
1603
|
center: "center";
|
|
1580
1604
|
}>>>;
|
|
1605
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1581
1606
|
type: z.ZodLiteral<"yes_no">;
|
|
1582
1607
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1583
1608
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1635,6 +1660,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1635
1660
|
left: "left";
|
|
1636
1661
|
center: "center";
|
|
1637
1662
|
}>>>;
|
|
1663
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1638
1664
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1639
1665
|
statements: z.ZodArray<z.ZodObject<{
|
|
1640
1666
|
id: z.ZodString;
|
|
@@ -1725,6 +1751,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1725
1751
|
left: "left";
|
|
1726
1752
|
center: "center";
|
|
1727
1753
|
}>>>;
|
|
1754
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1728
1755
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1729
1756
|
rows: z.ZodArray<z.ZodObject<{
|
|
1730
1757
|
id: z.ZodString;
|
|
@@ -1790,6 +1817,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1790
1817
|
left: "left";
|
|
1791
1818
|
center: "center";
|
|
1792
1819
|
}>>>;
|
|
1820
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1793
1821
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1794
1822
|
rows: z.ZodArray<z.ZodObject<{
|
|
1795
1823
|
id: z.ZodString;
|
|
@@ -1857,6 +1885,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1857
1885
|
left: "left";
|
|
1858
1886
|
center: "center";
|
|
1859
1887
|
}>>>;
|
|
1888
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1860
1889
|
type: z.ZodLiteral<"single_choice">;
|
|
1861
1890
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1862
1891
|
radio: "radio";
|
|
@@ -1928,6 +1957,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1928
1957
|
left: "left";
|
|
1929
1958
|
center: "center";
|
|
1930
1959
|
}>>>;
|
|
1960
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1931
1961
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1932
1962
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1933
1963
|
list: "list";
|
|
@@ -2000,6 +2030,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2000
2030
|
left: "left";
|
|
2001
2031
|
center: "center";
|
|
2002
2032
|
}>>>;
|
|
2033
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2003
2034
|
type: z.ZodLiteral<"nps">;
|
|
2004
2035
|
min: z.ZodLiteral<0>;
|
|
2005
2036
|
max: z.ZodLiteral<10>;
|
|
@@ -2057,6 +2088,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2057
2088
|
left: "left";
|
|
2058
2089
|
center: "center";
|
|
2059
2090
|
}>>>;
|
|
2091
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2060
2092
|
type: z.ZodLiteral<"short_answer">;
|
|
2061
2093
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2062
2094
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2117,6 +2149,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2117
2149
|
left: "left";
|
|
2118
2150
|
center: "center";
|
|
2119
2151
|
}>>>;
|
|
2152
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2120
2153
|
type: z.ZodLiteral<"long_text">;
|
|
2121
2154
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2122
2155
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2176,6 +2209,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2176
2209
|
left: "left";
|
|
2177
2210
|
center: "center";
|
|
2178
2211
|
}>>>;
|
|
2212
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2179
2213
|
type: z.ZodLiteral<"nested_selection">;
|
|
2180
2214
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2181
2215
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2197,13 +2231,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2197
2231
|
sections: z.ZodArray<z.ZodObject<{
|
|
2198
2232
|
id: z.ZodString;
|
|
2199
2233
|
title: z.ZodString;
|
|
2200
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2201
2234
|
description: z.ZodOptional<z.ZodString>;
|
|
2202
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2203
2235
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2204
2236
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
2205
2237
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2206
|
-
|
|
2238
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2239
|
+
title: z.ZodString;
|
|
2240
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2241
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2242
|
+
}, z.core.$strip>>>;
|
|
2207
2243
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
2208
2244
|
questionIds: z.ZodArray<z.ZodString>;
|
|
2209
2245
|
}, z.core.$strip>>;
|
|
@@ -74,6 +74,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
74
74
|
left: "left";
|
|
75
75
|
center: "center";
|
|
76
76
|
}>>>;
|
|
77
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
77
78
|
type: z.ZodLiteral<"rating">;
|
|
78
79
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
79
80
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -143,6 +144,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
143
144
|
left: "left";
|
|
144
145
|
center: "center";
|
|
145
146
|
}>>>;
|
|
147
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
146
148
|
type: z.ZodLiteral<"annotation">;
|
|
147
149
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
148
150
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -194,6 +196,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
194
196
|
left: "left";
|
|
195
197
|
center: "center";
|
|
196
198
|
}>>>;
|
|
199
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
197
200
|
type: z.ZodLiteral<"welcome">;
|
|
198
201
|
title: z.ZodString;
|
|
199
202
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -247,6 +250,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
247
250
|
left: "left";
|
|
248
251
|
center: "center";
|
|
249
252
|
}>>>;
|
|
253
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
250
254
|
type: z.ZodLiteral<"thank_you">;
|
|
251
255
|
title: z.ZodString;
|
|
252
256
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -300,6 +304,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
300
304
|
left: "left";
|
|
301
305
|
center: "center";
|
|
302
306
|
}>>>;
|
|
307
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
303
308
|
type: z.ZodLiteral<"message_panel">;
|
|
304
309
|
title: z.ZodString;
|
|
305
310
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -355,6 +360,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
355
360
|
left: "left";
|
|
356
361
|
center: "center";
|
|
357
362
|
}>>>;
|
|
363
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
358
364
|
type: z.ZodLiteral<"exit_form">;
|
|
359
365
|
}, z.core.$strip>, z.ZodObject<{
|
|
360
366
|
id: z.ZodString;
|
|
@@ -406,6 +412,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
406
412
|
left: "left";
|
|
407
413
|
center: "center";
|
|
408
414
|
}>>>;
|
|
415
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
409
416
|
type: z.ZodLiteral<"yes_no">;
|
|
410
417
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
411
418
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -463,6 +470,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
463
470
|
left: "left";
|
|
464
471
|
center: "center";
|
|
465
472
|
}>>>;
|
|
473
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
466
474
|
type: z.ZodLiteral<"rating_matrix">;
|
|
467
475
|
statements: z.ZodArray<z.ZodObject<{
|
|
468
476
|
id: z.ZodString;
|
|
@@ -553,6 +561,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
553
561
|
left: "left";
|
|
554
562
|
center: "center";
|
|
555
563
|
}>>>;
|
|
564
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
565
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
557
566
|
rows: z.ZodArray<z.ZodObject<{
|
|
558
567
|
id: z.ZodString;
|
|
@@ -618,6 +627,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
618
627
|
left: "left";
|
|
619
628
|
center: "center";
|
|
620
629
|
}>>>;
|
|
630
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
621
631
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
622
632
|
rows: z.ZodArray<z.ZodObject<{
|
|
623
633
|
id: z.ZodString;
|
|
@@ -685,6 +695,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
685
695
|
left: "left";
|
|
686
696
|
center: "center";
|
|
687
697
|
}>>>;
|
|
698
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
688
699
|
type: z.ZodLiteral<"single_choice">;
|
|
689
700
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
690
701
|
radio: "radio";
|
|
@@ -756,6 +767,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
756
767
|
left: "left";
|
|
757
768
|
center: "center";
|
|
758
769
|
}>>>;
|
|
770
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
759
771
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
760
772
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
761
773
|
list: "list";
|
|
@@ -828,6 +840,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
828
840
|
left: "left";
|
|
829
841
|
center: "center";
|
|
830
842
|
}>>>;
|
|
843
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
831
844
|
type: z.ZodLiteral<"nps">;
|
|
832
845
|
min: z.ZodLiteral<0>;
|
|
833
846
|
max: z.ZodLiteral<10>;
|
|
@@ -885,6 +898,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
885
898
|
left: "left";
|
|
886
899
|
center: "center";
|
|
887
900
|
}>>>;
|
|
901
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
888
902
|
type: z.ZodLiteral<"short_answer">;
|
|
889
903
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
890
904
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -945,6 +959,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
945
959
|
left: "left";
|
|
946
960
|
center: "center";
|
|
947
961
|
}>>>;
|
|
962
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
948
963
|
type: z.ZodLiteral<"long_text">;
|
|
949
964
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
950
965
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1004,6 +1019,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1004
1019
|
left: "left";
|
|
1005
1020
|
center: "center";
|
|
1006
1021
|
}>>>;
|
|
1022
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1007
1023
|
type: z.ZodLiteral<"nested_selection">;
|
|
1008
1024
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1009
1025
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1075,6 +1091,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1075
1091
|
title: z.ZodString;
|
|
1076
1092
|
description: z.ZodOptional<z.ZodString>;
|
|
1077
1093
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1078
1095
|
type: z.ZodLiteral<"rating">;
|
|
1079
1096
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1080
1097
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1082,18 +1099,21 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1082
1099
|
title: z.ZodString;
|
|
1083
1100
|
description: z.ZodOptional<z.ZodString>;
|
|
1084
1101
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1085
1103
|
type: z.ZodLiteral<"single_choice">;
|
|
1086
1104
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1087
1105
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1088
1106
|
title: z.ZodString;
|
|
1089
1107
|
description: z.ZodOptional<z.ZodString>;
|
|
1090
1108
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1091
1110
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1092
1111
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1093
1112
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1094
1113
|
title: z.ZodString;
|
|
1095
1114
|
description: z.ZodOptional<z.ZodString>;
|
|
1096
1115
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1097
1117
|
type: z.ZodLiteral<"nps">;
|
|
1098
1118
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1099
1119
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,24 +1121,28 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1101
1121
|
title: z.ZodString;
|
|
1102
1122
|
description: z.ZodOptional<z.ZodString>;
|
|
1103
1123
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1104
1125
|
type: z.ZodLiteral<"short_answer">;
|
|
1105
1126
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1106
1127
|
}, z.core.$strip>, z.ZodObject<{
|
|
1107
1128
|
title: z.ZodString;
|
|
1108
1129
|
description: z.ZodOptional<z.ZodString>;
|
|
1109
1130
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1110
1132
|
type: z.ZodLiteral<"long_text">;
|
|
1111
1133
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1112
1134
|
}, z.core.$strip>, z.ZodObject<{
|
|
1113
1135
|
title: z.ZodString;
|
|
1114
1136
|
description: z.ZodOptional<z.ZodString>;
|
|
1115
1137
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1116
1139
|
type: z.ZodLiteral<"nested_selection">;
|
|
1117
1140
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1118
1141
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1119
1142
|
title: z.ZodString;
|
|
1120
1143
|
description: z.ZodOptional<z.ZodString>;
|
|
1121
1144
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1122
1146
|
type: z.ZodLiteral<"annotation">;
|
|
1123
1147
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1124
1148
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1126,24 +1150,28 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1126
1150
|
title: z.ZodString;
|
|
1127
1151
|
description: z.ZodOptional<z.ZodString>;
|
|
1128
1152
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1129
1154
|
type: z.ZodLiteral<"welcome">;
|
|
1130
1155
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1131
1156
|
}, z.core.$strip>, z.ZodObject<{
|
|
1132
1157
|
title: z.ZodString;
|
|
1133
1158
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
1159
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1161
|
type: z.ZodLiteral<"thank_you">;
|
|
1136
1162
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1137
1163
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1164
|
title: z.ZodString;
|
|
1139
1165
|
description: z.ZodOptional<z.ZodString>;
|
|
1140
1166
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1141
1168
|
type: z.ZodLiteral<"message_panel">;
|
|
1142
1169
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1143
1170
|
}, z.core.$strip>, z.ZodObject<{
|
|
1144
1171
|
title: z.ZodString;
|
|
1145
1172
|
description: z.ZodOptional<z.ZodString>;
|
|
1146
1173
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1147
1175
|
type: z.ZodLiteral<"yes_no">;
|
|
1148
1176
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1149
1177
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1151,6 +1179,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1151
1179
|
title: z.ZodString;
|
|
1152
1180
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1181
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1183
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1155
1184
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1185
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,11 +1187,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1158
1187
|
title: z.ZodString;
|
|
1159
1188
|
description: z.ZodOptional<z.ZodString>;
|
|
1160
1189
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1191
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1162
1192
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1163
1193
|
title: z.ZodString;
|
|
1164
1194
|
description: z.ZodOptional<z.ZodString>;
|
|
1165
1195
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1166
1197
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1167
1198
|
}, z.core.$catchall<z.ZodString>>]>>>>;
|
|
1168
1199
|
onSectionChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
|
|
@@ -1170,13 +1201,15 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1170
1201
|
sections: z.ZodArray<z.ZodObject<{
|
|
1171
1202
|
id: z.ZodString;
|
|
1172
1203
|
title: z.ZodString;
|
|
1173
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1174
1204
|
description: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1176
1205
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1177
1206
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1178
1207
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
|
|
1208
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1209
|
+
title: z.ZodString;
|
|
1210
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
}, z.core.$strip>>>;
|
|
1180
1213
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1181
1214
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1182
1215
|
}, z.core.$strip>>;
|