@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.
- package/dist/esm/index.js +61 -5
- package/dist/esm/index.js.map +4 -4
- package/dist/types/index.d.ts +2 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +14 -2
- package/dist/types/schemas/fields/app-props-schema.d.ts +721 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +28 -4
- package/dist/types/schemas/fields/other-screen-schema.d.ts +6 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export { userActionSchema, formConfigSchema, questionResponseSchema, responseSch
|
|
|
12
12
|
export { feedbackConfigurationItemSchema, fetchFormConfigSchema, fetchConfigurationListSchema, fetchFeedbackDetailsSchema, formConfigurationResponseSchema, questionnaireFieldsResponseSchema, fetchFeedbackDetailsResponseSchema, fetchConfigurationListResponseSchema, type FeedbackConfigurationItem, type FetchFormConfig, type FetchConfigurationListRequest, type FetchFeedbackDetailsRequest, type FormConfigurationResponse, type QuestionnaireFieldsResponse, type FetchFeedbackDetailsResponse, type FetchConfigurationListResponse, } from "./schemas/api/fetch-feedback-schema";
|
|
13
13
|
export { RefineTextParams, RefineTextResponse, RefineTextData, refineTextDataSchema, refineTextParamsSchema, refineTextResponseSchema, } from "./schemas/api/refine-text-schema";
|
|
14
14
|
export { objectToCamel, objectToSnake, toSnake, toCamel, toPascal, objectToPascal, } from './helpers/case-convert-helper';
|
|
15
|
-
export type { ObjectToCamel, ObjectToSnake, ToSnake, ToCamel, ToPascal, ObjectToPascal, } from
|
|
15
|
+
export type { ObjectToCamel, ObjectToSnake, ToSnake, ToCamel, ToPascal, ObjectToPascal, } from "./helpers/case-convert-helper";
|
|
16
|
+
export { currentModeSchema, appPropsSchema, CurrentModes, type CurrentMode, type AppProps, } from "./schemas/fields/app-props-schema";
|
|
16
17
|
export { z } from "zod";
|
|
@@ -1141,7 +1141,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1141
1141
|
}, z.core.$strip>;
|
|
1142
1142
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1143
1143
|
isEnabled: z.ZodLiteral<false>;
|
|
1144
|
-
otherFields: z.
|
|
1144
|
+
otherFields: z.ZodObject<{
|
|
1145
1145
|
pagination: z.ZodBoolean;
|
|
1146
1146
|
questionNumber: z.ZodBoolean;
|
|
1147
1147
|
pageTitle: z.ZodBoolean;
|
|
@@ -1149,11 +1149,17 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1149
1149
|
submitButtonLabel: z.ZodString;
|
|
1150
1150
|
previousButtonLabel: z.ZodString;
|
|
1151
1151
|
nextButtonLabel: z.ZodString;
|
|
1152
|
-
|
|
1152
|
+
aiEnhancementSuccessMessage: z.ZodString;
|
|
1153
|
+
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1154
|
+
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1155
|
+
}, z.core.$strip>;
|
|
1153
1156
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1154
1157
|
submitButtonLabel: z.ZodString;
|
|
1155
1158
|
previousButtonLabel: z.ZodString;
|
|
1156
1159
|
nextButtonLabel: z.ZodString;
|
|
1160
|
+
aiEnhancementSuccessMessage: z.ZodString;
|
|
1161
|
+
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1162
|
+
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1157
1163
|
}, z.core.$strip>>>;
|
|
1158
1164
|
}, z.core.$strip>, z.ZodObject<{
|
|
1159
1165
|
isEnabled: z.ZodLiteral<true>;
|
|
@@ -1165,11 +1171,17 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1165
1171
|
submitButtonLabel: z.ZodString;
|
|
1166
1172
|
previousButtonLabel: z.ZodString;
|
|
1167
1173
|
nextButtonLabel: z.ZodString;
|
|
1174
|
+
aiEnhancementSuccessMessage: z.ZodString;
|
|
1175
|
+
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1176
|
+
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1168
1177
|
}, z.core.$strip>;
|
|
1169
1178
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1170
1179
|
submitButtonLabel: z.ZodString;
|
|
1171
1180
|
previousButtonLabel: z.ZodString;
|
|
1172
1181
|
nextButtonLabel: z.ZodString;
|
|
1182
|
+
aiEnhancementSuccessMessage: z.ZodString;
|
|
1183
|
+
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1184
|
+
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
1173
1185
|
}, z.core.$strip>>;
|
|
1174
1186
|
}, z.core.$strip>], "isEnabled">;
|
|
1175
1187
|
welcomeScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|