@encatch/schema 1.3.0-beta.0 → 1.3.0-beta.2
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 +830 -749
- package/dist/esm/index.js.map +4 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +286 -66
- package/dist/types/schemas/fields/app-props-schema.d.ts +149 -33
- package/dist/types/schemas/fields/completion-cta-schema.d.ts +99 -0
- package/dist/types/schemas/fields/field-schema.d.ts +289 -69
- package/dist/types/schemas/fields/form-properties-schema.d.ts +149 -33
- package/dist/types/schemas/fields/translations-schema.d.ts +30 -0
- package/package.json +1 -1
|
@@ -164,6 +164,12 @@ export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
|
164
164
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
165
165
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
166
166
|
type: z.ZodLiteral<"thank_you">;
|
|
167
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
label: z.ZodOptional<z.ZodString>;
|
|
169
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
label: z.ZodOptional<z.ZodString>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
167
173
|
}, z.core.$strip>;
|
|
168
174
|
export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
169
175
|
title: z.ZodString;
|
|
@@ -353,6 +359,12 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
353
359
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
354
360
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
355
361
|
type: z.ZodLiteral<"thank_you">;
|
|
362
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
label: z.ZodOptional<z.ZodString>;
|
|
364
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
label: z.ZodOptional<z.ZodString>;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
356
368
|
}, z.core.$strip>, z.ZodObject<{
|
|
357
369
|
title: z.ZodString;
|
|
358
370
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -547,6 +559,12 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
547
559
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
548
560
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
549
561
|
type: z.ZodLiteral<"thank_you">;
|
|
562
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
563
|
+
label: z.ZodOptional<z.ZodString>;
|
|
564
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
565
|
+
label: z.ZodOptional<z.ZodString>;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
550
568
|
}, z.core.$strip>, z.ZodObject<{
|
|
551
569
|
title: z.ZodString;
|
|
552
570
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -730,6 +748,12 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
730
748
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
731
749
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
732
750
|
type: z.ZodLiteral<"thank_you">;
|
|
751
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
752
|
+
label: z.ZodOptional<z.ZodString>;
|
|
753
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
754
|
+
label: z.ZodOptional<z.ZodString>;
|
|
755
|
+
}, z.core.$strip>>;
|
|
756
|
+
}, z.core.$strip>>;
|
|
733
757
|
}, z.core.$strip>, z.ZodObject<{
|
|
734
758
|
title: z.ZodString;
|
|
735
759
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -913,6 +937,12 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
913
937
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
914
938
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
915
939
|
type: z.ZodLiteral<"thank_you">;
|
|
940
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
941
|
+
label: z.ZodOptional<z.ZodString>;
|
|
942
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
label: z.ZodOptional<z.ZodString>;
|
|
944
|
+
}, z.core.$strip>>;
|
|
945
|
+
}, z.core.$strip>>;
|
|
916
946
|
}, z.core.$strip>, z.ZodObject<{
|
|
917
947
|
title: z.ZodString;
|
|
918
948
|
description: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED