@encatch/schema 0.1.30 → 0.1.31

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.
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  import { OtherFieldsSchema, OtherFieldsTranslationSchema, WelcomeScreenFieldsSchema, WelcomeFieldsTranslationSchema, EndScreenFieldsSchema, EndFieldsTranslationSchema } from "./other-screen-schema";
3
3
  export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
4
  isEnabled: z.ZodLiteral<false>;
5
- otherFields: z.ZodOptional<z.ZodObject<{
5
+ otherFields: z.ZodObject<{
6
6
  pagination: z.ZodBoolean;
7
7
  questionNumber: z.ZodBoolean;
8
8
  pageTitle: z.ZodBoolean;
@@ -10,11 +10,17 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
10
10
  submitButtonLabel: z.ZodString;
11
11
  previousButtonLabel: z.ZodString;
12
12
  nextButtonLabel: z.ZodString;
13
- }, z.core.$strip>>;
13
+ aiEnhancementSuccessMessage: z.ZodString;
14
+ aiEnhancementCooldownErrorMessage: z.ZodString;
15
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
16
+ }, z.core.$strip>;
14
17
  translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15
18
  submitButtonLabel: z.ZodString;
16
19
  previousButtonLabel: z.ZodString;
17
20
  nextButtonLabel: z.ZodString;
21
+ aiEnhancementSuccessMessage: z.ZodString;
22
+ aiEnhancementCooldownErrorMessage: z.ZodString;
23
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
18
24
  }, z.core.$strip>>>;
19
25
  }, z.core.$strip>, z.ZodObject<{
20
26
  isEnabled: z.ZodLiteral<true>;
@@ -26,11 +32,17 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
26
32
  submitButtonLabel: z.ZodString;
27
33
  previousButtonLabel: z.ZodString;
28
34
  nextButtonLabel: z.ZodString;
35
+ aiEnhancementSuccessMessage: z.ZodString;
36
+ aiEnhancementCooldownErrorMessage: z.ZodString;
37
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
29
38
  }, z.core.$strip>;
30
39
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
31
40
  submitButtonLabel: z.ZodString;
32
41
  previousButtonLabel: z.ZodString;
33
42
  nextButtonLabel: z.ZodString;
43
+ aiEnhancementSuccessMessage: z.ZodString;
44
+ aiEnhancementCooldownErrorMessage: z.ZodString;
45
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
34
46
  }, z.core.$strip>>;
35
47
  }, z.core.$strip>], "isEnabled">;
36
48
  export declare const welcomeScreenPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -782,7 +794,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
782
794
  }, z.core.$strip>;
783
795
  otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
784
796
  isEnabled: z.ZodLiteral<false>;
785
- otherFields: z.ZodOptional<z.ZodObject<{
797
+ otherFields: z.ZodObject<{
786
798
  pagination: z.ZodBoolean;
787
799
  questionNumber: z.ZodBoolean;
788
800
  pageTitle: z.ZodBoolean;
@@ -790,11 +802,17 @@ export declare const formPropertiesSchema: z.ZodObject<{
790
802
  submitButtonLabel: z.ZodString;
791
803
  previousButtonLabel: z.ZodString;
792
804
  nextButtonLabel: z.ZodString;
793
- }, z.core.$strip>>;
805
+ aiEnhancementSuccessMessage: z.ZodString;
806
+ aiEnhancementCooldownErrorMessage: z.ZodString;
807
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
808
+ }, z.core.$strip>;
794
809
  translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
795
810
  submitButtonLabel: z.ZodString;
796
811
  previousButtonLabel: z.ZodString;
797
812
  nextButtonLabel: z.ZodString;
813
+ aiEnhancementSuccessMessage: z.ZodString;
814
+ aiEnhancementCooldownErrorMessage: z.ZodString;
815
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
798
816
  }, z.core.$strip>>>;
799
817
  }, z.core.$strip>, z.ZodObject<{
800
818
  isEnabled: z.ZodLiteral<true>;
@@ -806,11 +824,17 @@ export declare const formPropertiesSchema: z.ZodObject<{
806
824
  submitButtonLabel: z.ZodString;
807
825
  previousButtonLabel: z.ZodString;
808
826
  nextButtonLabel: z.ZodString;
827
+ aiEnhancementSuccessMessage: z.ZodString;
828
+ aiEnhancementCooldownErrorMessage: z.ZodString;
829
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
809
830
  }, z.core.$strip>;
810
831
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
811
832
  submitButtonLabel: z.ZodString;
812
833
  previousButtonLabel: z.ZodString;
813
834
  nextButtonLabel: z.ZodString;
835
+ aiEnhancementSuccessMessage: z.ZodString;
836
+ aiEnhancementCooldownErrorMessage: z.ZodString;
837
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
814
838
  }, z.core.$strip>>;
815
839
  }, z.core.$strip>], "isEnabled">;
816
840
  welcomeScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -40,6 +40,9 @@ export declare const OtherFieldsSchema: z.ZodObject<{
40
40
  submitButtonLabel: z.ZodString;
41
41
  previousButtonLabel: z.ZodString;
42
42
  nextButtonLabel: z.ZodString;
43
+ aiEnhancementSuccessMessage: z.ZodString;
44
+ aiEnhancementCooldownErrorMessage: z.ZodString;
45
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
43
46
  }, z.core.$strip>;
44
47
  export declare const LanguageFieldSchema: z.ZodObject<{
45
48
  value: z.ZodString;
@@ -55,6 +58,9 @@ export declare const OtherFieldsTranslationSchema: z.ZodObject<{
55
58
  submitButtonLabel: z.ZodString;
56
59
  previousButtonLabel: z.ZodString;
57
60
  nextButtonLabel: z.ZodString;
61
+ aiEnhancementSuccessMessage: z.ZodString;
62
+ aiEnhancementCooldownErrorMessage: z.ZodString;
63
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
58
64
  }, z.core.$strip>;
59
65
  export type WelcomeFields = z.infer<typeof WelcomeScreenFieldsSchema>;
60
66
  export type EndFields = z.infer<typeof EndScreenFieldsSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@encatch/schema",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
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",