@encatch/schema 1.3.0-beta.5 → 1.3.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 +48 -4
- 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 +36 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +36 -0
- package/dist/types/schemas/fields/field-schema.d.ts +30 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +42 -0
- package/dist/types/schemas/fields/theme-schema.d.ts +23 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +75 -0
- package/package.json +1 -1
- package/dist/types/schemas/fields/translations-example.d.ts +0 -10
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { AnnotationMarkerSchema, AnnotationSchema, SignatureAnswerSchema, FileUp
|
|
|
3
3
|
export { externalPublishingPropertiesSchema, publicationStatusSchema, feedbackConfigurationSchema, PublicationStatuses, type PublicationStatus, type FeedbackConfiguration, type ExternalPublishingProperties, } from "./schemas/fields/form-schema";
|
|
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
|
-
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";
|
|
6
|
+
export { positionSchema, themeModeSchema, shareableModeSchema, previousButtonModeSchema, inAppDisplayTypeSchema, featureSettingsSchema, themeColorsSchema, themesSchema, themeConfigurationSchema, Positions, ThemeModes, ShareableModes, PreviousButtonModes, InAppDisplayTypes, type Position, type FeatureSettings, type InAppDisplayType, 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
8
|
export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, videoAudioQuestionTranslationSchema, dateQuestionTranslationSchema, signatureQuestionTranslationSchema, schedulerQuestionTranslationSchema, qnaWithAiQuestionTranslationSchema, paymentsUpiQuestionTranslationSchema, 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 DateQuestionTranslation, type SignatureQuestionTranslation, type SchedulerQuestionTranslation, type QnaWithAiQuestionTranslation, type PaymentsUpiQuestionTranslation, 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 { platformCompletionCtaSchema, completionCtaSecondarySchema, completionCtaSchema, type PlatformCompletionCta, type CompletionCtaSecondary, type CompletionCta, type CompletionCtaAction, } from "./schemas/fields/completion-cta-schema";
|
|
@@ -2000,6 +2000,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
2000
2000
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
2001
2001
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
2002
2002
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
2003
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2004
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2005
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2006
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2003
2007
|
}, z.core.$strip>, z.ZodObject<{
|
|
2004
2008
|
id: z.ZodString;
|
|
2005
2009
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2525,6 +2529,17 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
2525
2529
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
2526
2530
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2527
2531
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2532
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2536
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2537
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2538
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2539
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2540
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2528
2543
|
}, z.core.$strip>, z.ZodObject<{
|
|
2529
2544
|
id: z.ZodString;
|
|
2530
2545
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -4616,6 +4631,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
4616
4631
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
4617
4632
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
4618
4633
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
4634
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4635
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4636
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4637
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4619
4638
|
}, z.core.$strip>, z.ZodObject<{
|
|
4620
4639
|
id: z.ZodString;
|
|
4621
4640
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -5141,6 +5160,17 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
5141
5160
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
5142
5161
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5143
5162
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5163
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5164
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5165
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5166
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5167
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5168
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5169
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5170
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5171
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5172
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5173
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5144
5174
|
}, z.core.$strip>, z.ZodObject<{
|
|
5145
5175
|
id: z.ZodString;
|
|
5146
5176
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -5488,6 +5518,12 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
5488
5518
|
auto: "auto";
|
|
5489
5519
|
}>>;
|
|
5490
5520
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
5521
|
+
inAppDisplayType: z.ZodDefault<z.ZodEnum<{
|
|
5522
|
+
auto: "auto";
|
|
5523
|
+
modal: "modal";
|
|
5524
|
+
selector: "selector";
|
|
5525
|
+
}>>;
|
|
5526
|
+
inAppSelector: z.ZodOptional<z.ZodString>;
|
|
5491
5527
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
5492
5528
|
logo: z.ZodOptional<z.ZodObject<{
|
|
5493
5529
|
href: z.ZodObject<{
|
|
@@ -1843,6 +1843,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1843
1843
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
1844
1844
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
1845
1845
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1847
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1849
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1846
1850
|
}, z.core.$strip>, z.ZodObject<{
|
|
1847
1851
|
id: z.ZodString;
|
|
1848
1852
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2368,6 +2372,17 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2368
2372
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
2369
2373
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2370
2374
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2377
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2379
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2382
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2383
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2384
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2371
2386
|
}, z.core.$strip>, z.ZodObject<{
|
|
2372
2387
|
id: z.ZodString;
|
|
2373
2388
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2721,6 +2736,17 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2721
2736
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
2722
2737
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2723
2738
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2739
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2740
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2741
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2742
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2743
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2744
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2745
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2746
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2747
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2749
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2724
2750
|
}, z.core.$strip>, z.ZodObject<{
|
|
2725
2751
|
title: z.ZodString;
|
|
2726
2752
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2745,6 +2771,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2745
2771
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
2746
2772
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
2747
2773
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
2774
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2775
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2776
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2748
2778
|
}, z.core.$strip>, z.ZodObject<{
|
|
2749
2779
|
title: z.ZodString;
|
|
2750
2780
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2897,6 +2927,12 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2897
2927
|
auto: "auto";
|
|
2898
2928
|
}>>;
|
|
2899
2929
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
2930
|
+
inAppDisplayType: z.ZodDefault<z.ZodEnum<{
|
|
2931
|
+
auto: "auto";
|
|
2932
|
+
modal: "modal";
|
|
2933
|
+
selector: "selector";
|
|
2934
|
+
}>>;
|
|
2935
|
+
inAppSelector: z.ZodOptional<z.ZodString>;
|
|
2900
2936
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
2901
2937
|
logo: z.ZodOptional<z.ZodObject<{
|
|
2902
2938
|
href: z.ZodObject<{
|
|
@@ -2372,6 +2372,10 @@ export declare const signatureQuestionSchema: z.ZodObject<{
|
|
|
2372
2372
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
2373
2373
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
2374
2374
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2377
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2375
2379
|
}, z.core.$strip>;
|
|
2376
2380
|
export declare const fileUploadQuestionSchema: z.ZodObject<{
|
|
2377
2381
|
id: z.ZodString;
|
|
@@ -2922,6 +2926,17 @@ export declare const videoAudioQuestionSchema: z.ZodObject<{
|
|
|
2922
2926
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
2923
2927
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2924
2928
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2930
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2931
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2932
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2933
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2934
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2936
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2938
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2939
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2925
2940
|
}, z.core.$strip>;
|
|
2926
2941
|
export declare const schedulerProviderSchema: z.ZodEnum<{
|
|
2927
2942
|
google_calendar: "google_calendar";
|
|
@@ -5007,6 +5022,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
5007
5022
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
5008
5023
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
5009
5024
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
5025
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5026
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5027
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5028
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5010
5029
|
}, z.core.$strip>, z.ZodObject<{
|
|
5011
5030
|
id: z.ZodString;
|
|
5012
5031
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -5532,6 +5551,17 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
5532
5551
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
5533
5552
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5534
5553
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5554
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5555
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5556
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5557
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5558
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5559
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5560
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5561
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5562
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5563
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5564
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
5535
5565
|
}, z.core.$strip>, z.ZodObject<{
|
|
5536
5566
|
id: z.ZodString;
|
|
5537
5567
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -84,6 +84,12 @@ export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
|
84
84
|
auto: "auto";
|
|
85
85
|
}>>;
|
|
86
86
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
inAppDisplayType: z.ZodDefault<z.ZodEnum<{
|
|
88
|
+
auto: "auto";
|
|
89
|
+
modal: "modal";
|
|
90
|
+
selector: "selector";
|
|
91
|
+
}>>;
|
|
92
|
+
inAppSelector: z.ZodOptional<z.ZodString>;
|
|
87
93
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
88
94
|
logo: z.ZodOptional<z.ZodObject<{
|
|
89
95
|
href: z.ZodObject<{
|
|
@@ -3134,6 +3140,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3134
3140
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
3135
3141
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
3136
3142
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
3143
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3145
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3137
3147
|
}, z.core.$strip>, z.ZodObject<{
|
|
3138
3148
|
id: z.ZodString;
|
|
3139
3149
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -3659,6 +3669,17 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3659
3669
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
3660
3670
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3661
3671
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3672
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3674
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3675
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3677
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3678
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3679
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3662
3683
|
}, z.core.$strip>, z.ZodObject<{
|
|
3663
3684
|
id: z.ZodString;
|
|
3664
3685
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -3975,6 +3996,17 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3975
3996
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
3976
3997
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3977
3998
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3999
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4000
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4001
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4002
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4003
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4005
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4006
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4007
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4008
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4009
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3978
4010
|
}, z.core.$strip>, z.ZodObject<{
|
|
3979
4011
|
title: z.ZodString;
|
|
3980
4012
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -3999,6 +4031,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3999
4031
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
4000
4032
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
4001
4033
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4035
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4036
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4037
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4002
4038
|
}, z.core.$strip>, z.ZodObject<{
|
|
4003
4039
|
title: z.ZodString;
|
|
4004
4040
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4259,6 +4295,12 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
4259
4295
|
auto: "auto";
|
|
4260
4296
|
}>>;
|
|
4261
4297
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
4298
|
+
inAppDisplayType: z.ZodDefault<z.ZodEnum<{
|
|
4299
|
+
auto: "auto";
|
|
4300
|
+
modal: "modal";
|
|
4301
|
+
selector: "selector";
|
|
4302
|
+
}>>;
|
|
4303
|
+
inAppSelector: z.ZodOptional<z.ZodString>;
|
|
4262
4304
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
4263
4305
|
logo: z.ZodOptional<z.ZodObject<{
|
|
4264
4306
|
href: z.ZodObject<{
|
|
@@ -49,6 +49,16 @@ export declare const PreviousButtonModes: {
|
|
|
49
49
|
readonly ALWAYS: "always";
|
|
50
50
|
readonly AUTO: "auto";
|
|
51
51
|
};
|
|
52
|
+
export declare const inAppDisplayTypeSchema: z.ZodEnum<{
|
|
53
|
+
auto: "auto";
|
|
54
|
+
modal: "modal";
|
|
55
|
+
selector: "selector";
|
|
56
|
+
}>;
|
|
57
|
+
export declare const InAppDisplayTypes: {
|
|
58
|
+
readonly AUTO: "auto";
|
|
59
|
+
readonly MODAL: "modal";
|
|
60
|
+
readonly SELECTOR: "selector";
|
|
61
|
+
};
|
|
52
62
|
export declare const logoPlacementSchema: z.ZodEnum<{
|
|
53
63
|
"top-left": "top-left";
|
|
54
64
|
"top-center": "top-center";
|
|
@@ -154,6 +164,12 @@ export declare const featureSettingsSchema: z.ZodObject<{
|
|
|
154
164
|
auto: "auto";
|
|
155
165
|
}>>;
|
|
156
166
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
inAppDisplayType: z.ZodDefault<z.ZodEnum<{
|
|
168
|
+
auto: "auto";
|
|
169
|
+
modal: "modal";
|
|
170
|
+
selector: "selector";
|
|
171
|
+
}>>;
|
|
172
|
+
inAppSelector: z.ZodOptional<z.ZodString>;
|
|
157
173
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
158
174
|
logo: z.ZodOptional<z.ZodObject<{
|
|
159
175
|
href: z.ZodObject<{
|
|
@@ -247,6 +263,12 @@ export declare const themeConfigurationSchema: z.ZodObject<{
|
|
|
247
263
|
auto: "auto";
|
|
248
264
|
}>>;
|
|
249
265
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
inAppDisplayType: z.ZodDefault<z.ZodEnum<{
|
|
267
|
+
auto: "auto";
|
|
268
|
+
modal: "modal";
|
|
269
|
+
selector: "selector";
|
|
270
|
+
}>>;
|
|
271
|
+
inAppSelector: z.ZodOptional<z.ZodString>;
|
|
250
272
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
251
273
|
logo: z.ZodOptional<z.ZodObject<{
|
|
252
274
|
href: z.ZodObject<{
|
|
@@ -330,6 +352,7 @@ export type LogoPlacement = z.infer<typeof logoPlacementSchema>;
|
|
|
330
352
|
export type LogoSize = z.infer<typeof logoSizeSchema>;
|
|
331
353
|
export type LogoSurfaceOverride = z.infer<typeof logoSurfaceOverrideSchema>;
|
|
332
354
|
export type Logo = z.infer<typeof logoSchema>;
|
|
355
|
+
export type InAppDisplayType = z.infer<typeof inAppDisplayTypeSchema>;
|
|
333
356
|
export type FeatureSettings = z.infer<typeof featureSettingsSchema>;
|
|
334
357
|
export type ThemeColors = z.infer<typeof themeColorsSchema>;
|
|
335
358
|
export type Themes = z.infer<typeof themesSchema>;
|
|
@@ -74,6 +74,17 @@ export declare const videoAudioQuestionTranslationSchema: z.ZodObject<{
|
|
|
74
74
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
75
75
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
76
76
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
77
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
78
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
79
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
80
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
81
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
82
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
83
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
84
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
85
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
86
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
87
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
77
88
|
}, z.core.$strip>;
|
|
78
89
|
export declare const dateQuestionTranslationSchema: z.ZodObject<{
|
|
79
90
|
title: z.ZodString;
|
|
@@ -100,6 +111,10 @@ export declare const signatureQuestionTranslationSchema: z.ZodObject<{
|
|
|
100
111
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
101
112
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
102
113
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
114
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
115
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
116
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
117
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
103
118
|
}, z.core.$strip>;
|
|
104
119
|
export declare const schedulerQuestionTranslationSchema: z.ZodObject<{
|
|
105
120
|
title: z.ZodString;
|
|
@@ -278,6 +293,17 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
278
293
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
279
294
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
280
295
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
296
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
297
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
298
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
299
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
300
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
301
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
302
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
303
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
304
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
305
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
306
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
281
307
|
}, z.core.$strip>, z.ZodObject<{
|
|
282
308
|
title: z.ZodString;
|
|
283
309
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -302,6 +328,10 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
302
328
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
303
329
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
304
330
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
331
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
332
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
333
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
334
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
305
335
|
}, z.core.$strip>, z.ZodObject<{
|
|
306
336
|
title: z.ZodString;
|
|
307
337
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -478,6 +508,17 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
478
508
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
479
509
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
480
510
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
511
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
512
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
513
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
514
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
515
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
516
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
517
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
518
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
519
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
520
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
521
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
481
522
|
}, z.core.$strip>, z.ZodObject<{
|
|
482
523
|
title: z.ZodString;
|
|
483
524
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -502,6 +543,10 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
502
543
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
503
544
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
504
545
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
546
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
547
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
548
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
549
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
505
550
|
}, z.core.$strip>, z.ZodObject<{
|
|
506
551
|
title: z.ZodString;
|
|
507
552
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -667,6 +712,17 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
667
712
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
668
713
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
669
714
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
715
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
716
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
717
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
718
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
719
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
720
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
721
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
722
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
723
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
724
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
725
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
670
726
|
}, z.core.$strip>, z.ZodObject<{
|
|
671
727
|
title: z.ZodString;
|
|
672
728
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -691,6 +747,10 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
691
747
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
692
748
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
693
749
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
750
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
751
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
752
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
753
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
694
754
|
}, z.core.$strip>, z.ZodObject<{
|
|
695
755
|
title: z.ZodString;
|
|
696
756
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -856,6 +916,17 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
856
916
|
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
857
917
|
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
858
918
|
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
919
|
+
capturePhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
920
|
+
cancelButtonLabel: z.ZodOptional<z.ZodString>;
|
|
921
|
+
uploadPhotoButtonLabel: z.ZodOptional<z.ZodString>;
|
|
922
|
+
replaceButtonLabel: z.ZodOptional<z.ZodString>;
|
|
923
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
924
|
+
stopRecordingButtonLabel: z.ZodOptional<z.ZodString>;
|
|
925
|
+
playButtonLabel: z.ZodOptional<z.ZodString>;
|
|
926
|
+
pauseButtonLabel: z.ZodOptional<z.ZodString>;
|
|
927
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
928
|
+
rerecordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
929
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
859
930
|
}, z.core.$strip>, z.ZodObject<{
|
|
860
931
|
title: z.ZodString;
|
|
861
932
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -880,6 +951,10 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
880
951
|
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
881
952
|
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
882
953
|
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
954
|
+
uploadSignatureButtonLabel: z.ZodOptional<z.ZodString>;
|
|
955
|
+
uploadButtonLabel: z.ZodOptional<z.ZodString>;
|
|
956
|
+
removeButtonLabel: z.ZodOptional<z.ZodString>;
|
|
957
|
+
dismissErrorButtonLabel: z.ZodOptional<z.ZodString>;
|
|
883
958
|
}, z.core.$strip>, z.ZodObject<{
|
|
884
959
|
title: z.ZodString;
|
|
885
960
|
description: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Translations } from './translations-schema';
|
|
2
|
-
import { Languages, LanguageField } from './other-screen-schema';
|
|
3
|
-
export declare const exampleTranslations: Translations;
|
|
4
|
-
export declare const availableLanguages: Languages;
|
|
5
|
-
export declare const translationProvider: import("./translations-schema").TranslationProvider;
|
|
6
|
-
export declare function getLanguageDisplayName(languageCode: string): string;
|
|
7
|
-
export declare function getSupportedLanguages(): LanguageField[];
|
|
8
|
-
export declare function demonstrateUsage(): void;
|
|
9
|
-
export type { Translations } from './translations-schema';
|
|
10
|
-
export type { Languages, LanguageField } from './other-screen-schema';
|