@encatch/schema 1.1.0-beta.8 → 1.1.1

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.
@@ -56,6 +56,7 @@ export declare const featureSettingsSchema: z.ZodObject<{
56
56
  showBranding: z.ZodDefault<z.ZodBoolean>;
57
57
  customPosition: z.ZodBoolean;
58
58
  customCss: z.ZodOptional<z.ZodString>;
59
+ fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
59
60
  shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
60
61
  light: "light";
61
62
  dark: "dark";
@@ -96,6 +97,7 @@ export declare const themeConfigurationSchema: z.ZodObject<{
96
97
  showBranding: z.ZodDefault<z.ZodBoolean>;
97
98
  customPosition: z.ZodBoolean;
98
99
  customCss: z.ZodOptional<z.ZodString>;
100
+ fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
99
101
  shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
100
102
  light: "light";
101
103
  dark: "dark";
@@ -95,6 +95,13 @@ export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
95
95
  nextButtonLabel: z.ZodOptional<z.ZodString>;
96
96
  type: z.ZodLiteral<"message_panel">;
97
97
  }, z.core.$strip>;
98
+ export declare const consentQuestionTranslationSchema: z.ZodObject<{
99
+ title: z.ZodString;
100
+ description: z.ZodOptional<z.ZodString>;
101
+ errorMessage: z.ZodOptional<z.ZodString>;
102
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
103
+ type: z.ZodLiteral<"consent">;
104
+ }, z.core.$strip>;
98
105
  export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
99
106
  title: z.ZodString;
100
107
  description: z.ZodOptional<z.ZodString>;
@@ -212,6 +219,12 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
212
219
  type: z.ZodLiteral<"yes_no">;
213
220
  yesLabel: z.ZodOptional<z.ZodString>;
214
221
  noLabel: z.ZodOptional<z.ZodString>;
222
+ }, z.core.$strip>, z.ZodObject<{
223
+ title: z.ZodString;
224
+ description: z.ZodOptional<z.ZodString>;
225
+ errorMessage: z.ZodOptional<z.ZodString>;
226
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
227
+ type: z.ZodLiteral<"consent">;
215
228
  }, z.core.$strip>, z.ZodObject<{
216
229
  title: z.ZodString;
217
230
  description: z.ZodOptional<z.ZodString>;
@@ -329,6 +342,12 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
329
342
  type: z.ZodLiteral<"yes_no">;
330
343
  yesLabel: z.ZodOptional<z.ZodString>;
331
344
  noLabel: z.ZodOptional<z.ZodString>;
345
+ }, z.core.$strip>, z.ZodObject<{
346
+ title: z.ZodString;
347
+ description: z.ZodOptional<z.ZodString>;
348
+ errorMessage: z.ZodOptional<z.ZodString>;
349
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
350
+ type: z.ZodLiteral<"consent">;
332
351
  }, z.core.$strip>, z.ZodObject<{
333
352
  title: z.ZodString;
334
353
  description: z.ZodOptional<z.ZodString>;
@@ -435,6 +454,12 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
435
454
  type: z.ZodLiteral<"yes_no">;
436
455
  yesLabel: z.ZodOptional<z.ZodString>;
437
456
  noLabel: z.ZodOptional<z.ZodString>;
457
+ }, z.core.$strip>, z.ZodObject<{
458
+ title: z.ZodString;
459
+ description: z.ZodOptional<z.ZodString>;
460
+ errorMessage: z.ZodOptional<z.ZodString>;
461
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
462
+ type: z.ZodLiteral<"consent">;
438
463
  }, z.core.$strip>, z.ZodObject<{
439
464
  title: z.ZodString;
440
465
  description: z.ZodOptional<z.ZodString>;
@@ -541,6 +566,12 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
541
566
  type: z.ZodLiteral<"yes_no">;
542
567
  yesLabel: z.ZodOptional<z.ZodString>;
543
568
  noLabel: z.ZodOptional<z.ZodString>;
569
+ }, z.core.$strip>, z.ZodObject<{
570
+ title: z.ZodString;
571
+ description: z.ZodOptional<z.ZodString>;
572
+ errorMessage: z.ZodOptional<z.ZodString>;
573
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
574
+ type: z.ZodLiteral<"consent">;
544
575
  }, z.core.$strip>, z.ZodObject<{
545
576
  title: z.ZodString;
546
577
  description: z.ZodOptional<z.ZodString>;
@@ -575,6 +606,7 @@ export type WelcomeQuestionTranslation = z.infer<typeof welcomeQuestionTranslati
575
606
  export type ThankYouQuestionTranslation = z.infer<typeof thankYouQuestionTranslationSchema>;
576
607
  export type MessagePanelQuestionTranslation = z.infer<typeof messagePanelQuestionTranslationSchema>;
577
608
  export type YesNoQuestionTranslation = z.infer<typeof yesNoQuestionTranslationSchema>;
609
+ export type ConsentQuestionTranslation = z.infer<typeof consentQuestionTranslationSchema>;
578
610
  export type RatingMatrixQuestionTranslation = z.infer<typeof ratingMatrixQuestionTranslationSchema>;
579
611
  export type MatrixSingleChoiceQuestionTranslation = z.infer<typeof matrixSingleChoiceQuestionTranslationSchema>;
580
612
  export type MatrixMultipleChoiceQuestionTranslation = z.infer<typeof matrixMultipleChoiceQuestionTranslationSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@encatch/schema",
3
- "version": "1.1.0-beta.8",
3
+ "version": "1.1.1",
4
4
  "description": "TypeScript schema definitions using Zod for validation and type inference of encatch product",
5
5
  "homepage": "https://encatch.com",
6
6
  "type": "module",