@encatch/schema 1.2.0-beta.5 → 1.2.0-beta.7
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 +23 -8
- 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 +12 -0
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +3 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +17 -0
- package/dist/types/schemas/fields/field-schema.d.ts +16 -2
- package/dist/types/schemas/fields/form-properties-schema.d.ts +17 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +57 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { otherConfigurationPropertiesSchema, appearancePropertiesSchema, formPro
|
|
|
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, previousButtonModeSchema, featureSettingsSchema, themeColorsSchema, themesSchema, themeConfigurationSchema, Positions, ThemeModes, ShareableModes, PreviousButtonModes, type Position, type FeatureSettings, type ThemeColors, type Themes, type ThemeMode, type ShareableMode, type PreviousButtonMode, type ThemeConfiguration, } from "./schemas/fields/theme-schema";
|
|
7
7
|
export { focalPointSchema, imageAttachmentSchema, videoAttachmentSchema, colorAttachmentSchema, gradientAttachmentSchema, layoutAttachmentSchema, stackLayoutSchema, floatLayoutSchema, splitLayoutSchema, wallpaperLayoutSchema, sectionLayoutVariantSchema, layoutSurfaceSchema, sectionLayoutSchema, LayoutAttachmentTypes, LayoutTypes, type FocalPoint, type ImageAttachment, type VideoAttachment, type ColorAttachment, type GradientAttachment, type LayoutAttachment, type StackLayout, type FloatLayout, type SplitLayout, type WallpaperLayout, type SectionLayoutVariant, type LayoutSurface, type SectionLayout, } from "./schemas/fields/layout-schema";
|
|
8
|
-
export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, consentQuestionTranslationSchema, 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 ConsentQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type SectionTranslation, type SectionTranslationsByLanguage, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
|
|
8
|
+
export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, videoAudioQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, consentQuestionTranslationSchema, 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 VideoAudioQuestionTranslation, type NestedSelectionQuestionTranslation, type AnnotationQuestionTranslation, type WelcomeQuestionTranslation, type ThankYouQuestionTranslation, type MessagePanelQuestionTranslation, type YesNoQuestionTranslation, type ConsentQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type SectionTranslation, type SectionTranslationsByLanguage, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
|
|
9
9
|
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";
|
|
10
10
|
export { masterPropertiesSchema, type MasterProperties, } from "./schemas/fields/other-properties-schema";
|
|
11
11
|
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";
|
|
@@ -2164,16 +2164,22 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
2164
2164
|
text: "text";
|
|
2165
2165
|
video: "video";
|
|
2166
2166
|
audio: "audio";
|
|
2167
|
+
photo: "photo";
|
|
2167
2168
|
}>>>;
|
|
2168
2169
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
2169
2170
|
text: "text";
|
|
2170
2171
|
video: "video";
|
|
2171
2172
|
audio: "audio";
|
|
2173
|
+
photo: "photo";
|
|
2172
2174
|
}>>;
|
|
2173
2175
|
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2174
2176
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
2175
2177
|
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2176
2178
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2179
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
2180
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
2181
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
2182
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
2177
2183
|
}, z.core.$strip>, z.ZodObject<{
|
|
2178
2184
|
id: z.ZodString;
|
|
2179
2185
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -4319,16 +4325,22 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
4319
4325
|
text: "text";
|
|
4320
4326
|
video: "video";
|
|
4321
4327
|
audio: "audio";
|
|
4328
|
+
photo: "photo";
|
|
4322
4329
|
}>>>;
|
|
4323
4330
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
4324
4331
|
text: "text";
|
|
4325
4332
|
video: "video";
|
|
4326
4333
|
audio: "audio";
|
|
4334
|
+
photo: "photo";
|
|
4327
4335
|
}>>;
|
|
4328
4336
|
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4329
4337
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
4330
4338
|
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4331
4339
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
4340
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
4341
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
4342
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
4343
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
4332
4344
|
}, z.core.$strip>, z.ZodObject<{
|
|
4333
4345
|
id: z.ZodString;
|
|
4334
4346
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -75,6 +75,7 @@ export declare const questionResponseSchema: z.ZodObject<{
|
|
|
75
75
|
text: "text";
|
|
76
76
|
video: "video";
|
|
77
77
|
audio: "audio";
|
|
78
|
+
photo: "photo";
|
|
78
79
|
}>;
|
|
79
80
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
80
81
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -172,6 +173,7 @@ export declare const responseSchema: z.ZodObject<{
|
|
|
172
173
|
text: "text";
|
|
173
174
|
video: "video";
|
|
174
175
|
audio: "audio";
|
|
176
|
+
photo: "photo";
|
|
175
177
|
}>;
|
|
176
178
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
177
179
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -360,6 +362,7 @@ export declare const partialFeedbackSchema: z.ZodObject<{
|
|
|
360
362
|
text: "text";
|
|
361
363
|
video: "video";
|
|
362
364
|
audio: "audio";
|
|
365
|
+
photo: "photo";
|
|
363
366
|
}>;
|
|
364
367
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
365
368
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -501,6 +504,7 @@ export declare const submitFeedbackSchema: z.ZodObject<{
|
|
|
501
504
|
text: "text";
|
|
502
505
|
video: "video";
|
|
503
506
|
audio: "audio";
|
|
507
|
+
photo: "photo";
|
|
504
508
|
}>;
|
|
505
509
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
506
510
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -642,6 +646,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
642
646
|
text: "text";
|
|
643
647
|
video: "video";
|
|
644
648
|
audio: "audio";
|
|
649
|
+
photo: "photo";
|
|
645
650
|
}>;
|
|
646
651
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
647
652
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -782,6 +787,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
782
787
|
text: "text";
|
|
783
788
|
video: "video";
|
|
784
789
|
audio: "audio";
|
|
790
|
+
photo: "photo";
|
|
785
791
|
}>;
|
|
786
792
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
787
793
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -52,6 +52,7 @@ export declare const VideoAudioAnswerSchema: z.ZodObject<{
|
|
|
52
52
|
text: "text";
|
|
53
53
|
video: "video";
|
|
54
54
|
audio: "audio";
|
|
55
|
+
photo: "photo";
|
|
55
56
|
}>;
|
|
56
57
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
57
58
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -143,6 +144,7 @@ export declare const AnswerItemSchema: z.ZodObject<{
|
|
|
143
144
|
text: "text";
|
|
144
145
|
video: "video";
|
|
145
146
|
audio: "audio";
|
|
147
|
+
photo: "photo";
|
|
146
148
|
}>;
|
|
147
149
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
148
150
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -231,6 +233,7 @@ export declare const AnswerSchema: z.ZodObject<{
|
|
|
231
233
|
text: "text";
|
|
232
234
|
video: "video";
|
|
233
235
|
audio: "audio";
|
|
236
|
+
photo: "photo";
|
|
234
237
|
}>;
|
|
235
238
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
236
239
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2007,16 +2007,22 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2007
2007
|
text: "text";
|
|
2008
2008
|
video: "video";
|
|
2009
2009
|
audio: "audio";
|
|
2010
|
+
photo: "photo";
|
|
2010
2011
|
}>>>;
|
|
2011
2012
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
2012
2013
|
text: "text";
|
|
2013
2014
|
video: "video";
|
|
2014
2015
|
audio: "audio";
|
|
2016
|
+
photo: "photo";
|
|
2015
2017
|
}>>;
|
|
2016
2018
|
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2017
2019
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
2018
2020
|
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2019
2021
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2022
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
2023
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
2024
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
2025
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
2020
2026
|
}, z.core.$strip>, z.ZodObject<{
|
|
2021
2027
|
id: z.ZodString;
|
|
2022
2028
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2243,6 +2249,17 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2243
2249
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2244
2250
|
type: z.ZodLiteral<"long_text">;
|
|
2245
2251
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2253
|
+
title: z.ZodString;
|
|
2254
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2255
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2256
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2257
|
+
type: z.ZodLiteral<"video_audio">;
|
|
2258
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2259
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
2260
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
2246
2263
|
}, z.core.$strip>, z.ZodObject<{
|
|
2247
2264
|
title: z.ZodString;
|
|
2248
2265
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -8,6 +8,7 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
8
8
|
nps: "nps";
|
|
9
9
|
short_answer: "short_answer";
|
|
10
10
|
long_text: "long_text";
|
|
11
|
+
video_audio: "video_audio";
|
|
11
12
|
nested_selection: "nested_selection";
|
|
12
13
|
annotation: "annotation";
|
|
13
14
|
welcome: "welcome";
|
|
@@ -29,7 +30,6 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
29
30
|
website: "website";
|
|
30
31
|
phone_number: "phone_number";
|
|
31
32
|
address: "address";
|
|
32
|
-
video_audio: "video_audio";
|
|
33
33
|
scheduler: "scheduler";
|
|
34
34
|
qna_with_ai: "qna_with_ai";
|
|
35
35
|
}>;
|
|
@@ -254,6 +254,7 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
254
254
|
nps: "nps";
|
|
255
255
|
short_answer: "short_answer";
|
|
256
256
|
long_text: "long_text";
|
|
257
|
+
video_audio: "video_audio";
|
|
257
258
|
nested_selection: "nested_selection";
|
|
258
259
|
annotation: "annotation";
|
|
259
260
|
welcome: "welcome";
|
|
@@ -275,7 +276,6 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
275
276
|
website: "website";
|
|
276
277
|
phone_number: "phone_number";
|
|
277
278
|
address: "address";
|
|
278
|
-
video_audio: "video_audio";
|
|
279
279
|
scheduler: "scheduler";
|
|
280
280
|
qna_with_ai: "qna_with_ai";
|
|
281
281
|
}>;
|
|
@@ -2482,10 +2482,12 @@ export declare const videoAudioModeSchema: z.ZodEnum<{
|
|
|
2482
2482
|
text: "text";
|
|
2483
2483
|
video: "video";
|
|
2484
2484
|
audio: "audio";
|
|
2485
|
+
photo: "photo";
|
|
2485
2486
|
}>;
|
|
2486
2487
|
export declare const VideoAudioModes: {
|
|
2487
2488
|
readonly VIDEO: "video";
|
|
2488
2489
|
readonly AUDIO: "audio";
|
|
2490
|
+
readonly PHOTO: "photo";
|
|
2489
2491
|
readonly TEXT: "text";
|
|
2490
2492
|
};
|
|
2491
2493
|
export declare const videoAudioQuestionSchema: z.ZodObject<{
|
|
@@ -2547,16 +2549,22 @@ export declare const videoAudioQuestionSchema: z.ZodObject<{
|
|
|
2547
2549
|
text: "text";
|
|
2548
2550
|
video: "video";
|
|
2549
2551
|
audio: "audio";
|
|
2552
|
+
photo: "photo";
|
|
2550
2553
|
}>>>;
|
|
2551
2554
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
2552
2555
|
text: "text";
|
|
2553
2556
|
video: "video";
|
|
2554
2557
|
audio: "audio";
|
|
2558
|
+
photo: "photo";
|
|
2555
2559
|
}>>;
|
|
2556
2560
|
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2557
2561
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
2558
2562
|
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2559
2563
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
2565
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
2567
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
2560
2568
|
}, z.core.$strip>;
|
|
2561
2569
|
export declare const schedulerProviderSchema: z.ZodEnum<{
|
|
2562
2570
|
google_calendar: "google_calendar";
|
|
@@ -4675,16 +4683,22 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4675
4683
|
text: "text";
|
|
4676
4684
|
video: "video";
|
|
4677
4685
|
audio: "audio";
|
|
4686
|
+
photo: "photo";
|
|
4678
4687
|
}>>>;
|
|
4679
4688
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
4680
4689
|
text: "text";
|
|
4681
4690
|
video: "video";
|
|
4682
4691
|
audio: "audio";
|
|
4692
|
+
photo: "photo";
|
|
4683
4693
|
}>>;
|
|
4684
4694
|
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4685
4695
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
4686
4696
|
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4687
4697
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
4698
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
4700
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
4701
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
4688
4702
|
}, z.core.$strip>, z.ZodObject<{
|
|
4689
4703
|
id: z.ZodString;
|
|
4690
4704
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -3248,16 +3248,22 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3248
3248
|
text: "text";
|
|
3249
3249
|
video: "video";
|
|
3250
3250
|
audio: "audio";
|
|
3251
|
+
photo: "photo";
|
|
3251
3252
|
}>>>;
|
|
3252
3253
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
3253
3254
|
text: "text";
|
|
3254
3255
|
video: "video";
|
|
3255
3256
|
audio: "audio";
|
|
3257
|
+
photo: "photo";
|
|
3256
3258
|
}>>;
|
|
3257
3259
|
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3258
3260
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
3259
3261
|
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3260
3262
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
3265
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
3266
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
3261
3267
|
}, z.core.$strip>, z.ZodObject<{
|
|
3262
3268
|
id: z.ZodString;
|
|
3263
3269
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -3447,6 +3453,17 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3447
3453
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3448
3454
|
type: z.ZodLiteral<"long_text">;
|
|
3449
3455
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3457
|
+
title: z.ZodString;
|
|
3458
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3459
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3460
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3461
|
+
type: z.ZodLiteral<"video_audio">;
|
|
3462
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3463
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
3464
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
3465
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
3466
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
3450
3467
|
}, z.core.$strip>, z.ZodObject<{
|
|
3451
3468
|
title: z.ZodString;
|
|
3452
3469
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -57,6 +57,18 @@ export declare const longAnswerQuestionTranslationSchema: z.ZodObject<{
|
|
|
57
57
|
type: z.ZodLiteral<"long_text">;
|
|
58
58
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
|
+
export declare const videoAudioQuestionTranslationSchema: z.ZodObject<{
|
|
61
|
+
title: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
64
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
65
|
+
type: z.ZodLiteral<"video_audio">;
|
|
66
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
67
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
68
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
69
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
70
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, z.core.$strip>;
|
|
60
72
|
export declare const nestedSelectionQuestionTranslationSchema: z.ZodObject<{
|
|
61
73
|
title: z.ZodString;
|
|
62
74
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -178,6 +190,17 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
178
190
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
179
191
|
type: z.ZodLiteral<"long_text">;
|
|
180
192
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
194
|
+
title: z.ZodString;
|
|
195
|
+
description: z.ZodOptional<z.ZodString>;
|
|
196
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
197
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
198
|
+
type: z.ZodLiteral<"video_audio">;
|
|
199
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
200
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
201
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
202
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
203
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
181
204
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
205
|
title: z.ZodString;
|
|
183
206
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -301,6 +324,17 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
301
324
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
302
325
|
type: z.ZodLiteral<"long_text">;
|
|
303
326
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
328
|
+
title: z.ZodString;
|
|
329
|
+
description: z.ZodOptional<z.ZodString>;
|
|
330
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
331
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
332
|
+
type: z.ZodLiteral<"video_audio">;
|
|
333
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
334
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
335
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
336
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
337
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
304
338
|
}, z.core.$strip>, z.ZodObject<{
|
|
305
339
|
title: z.ZodString;
|
|
306
340
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -413,6 +447,17 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
413
447
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
414
448
|
type: z.ZodLiteral<"long_text">;
|
|
415
449
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
451
|
+
title: z.ZodString;
|
|
452
|
+
description: z.ZodOptional<z.ZodString>;
|
|
453
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
454
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
455
|
+
type: z.ZodLiteral<"video_audio">;
|
|
456
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
457
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
458
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
459
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
460
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
416
461
|
}, z.core.$strip>, z.ZodObject<{
|
|
417
462
|
title: z.ZodString;
|
|
418
463
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -525,6 +570,17 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
525
570
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
526
571
|
type: z.ZodLiteral<"long_text">;
|
|
527
572
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
+
title: z.ZodString;
|
|
575
|
+
description: z.ZodOptional<z.ZodString>;
|
|
576
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
577
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
578
|
+
type: z.ZodLiteral<"video_audio">;
|
|
579
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
580
|
+
modeTabLabelVideo: z.ZodOptional<z.ZodString>;
|
|
581
|
+
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
582
|
+
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
583
|
+
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
528
584
|
}, z.core.$strip>, z.ZodObject<{
|
|
529
585
|
title: z.ZodString;
|
|
530
586
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -600,6 +656,7 @@ export type MultipleChoiceQuestionTranslation = z.infer<typeof multipleChoiceQue
|
|
|
600
656
|
export type NpsQuestionTranslation = z.infer<typeof npsQuestionTranslationSchema>;
|
|
601
657
|
export type ShortAnswerQuestionTranslation = z.infer<typeof shortAnswerQuestionTranslationSchema>;
|
|
602
658
|
export type LongAnswerQuestionTranslation = z.infer<typeof longAnswerQuestionTranslationSchema>;
|
|
659
|
+
export type VideoAudioQuestionTranslation = z.infer<typeof videoAudioQuestionTranslationSchema>;
|
|
603
660
|
export type NestedSelectionQuestionTranslation = z.infer<typeof nestedSelectionQuestionTranslationSchema>;
|
|
604
661
|
export type AnnotationQuestionTranslation = z.infer<typeof annotationQuestionTranslationSchema>;
|
|
605
662
|
export type WelcomeQuestionTranslation = z.infer<typeof welcomeQuestionTranslationSchema>;
|
package/package.json
CHANGED