@encatch/schema 0.1.30 → 0.1.32

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.
@@ -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 './helpers/case-convert-helper';
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";
@@ -96,6 +96,28 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
96
96
  selectedIconPosition: z.ZodString;
97
97
  selectedPosition: z.ZodString;
98
98
  }, z.core.$strip>;
99
+ frequencyAndScheduling: z.ZodOptional<z.ZodObject<{
100
+ surveyType: z.ZodEnum<{
101
+ S: "S";
102
+ R: "R";
103
+ }>;
104
+ showOnce: z.ZodEnum<{
105
+ Y: "Y";
106
+ N: "N";
107
+ }>;
108
+ stopWhenResponsesCount: z.ZodString;
109
+ recurringValue: z.ZodString;
110
+ recurringUnit: z.ZodEnum<{
111
+ minutes: "minutes";
112
+ hours: "hours";
113
+ days: "days";
114
+ weeks: "weeks";
115
+ months: "months";
116
+ years: "years";
117
+ }>;
118
+ startDate: z.ZodString;
119
+ stopDate: z.ZodString;
120
+ }, z.core.$strip>>;
99
121
  }, z.core.$strip>;
100
122
  export declare const fetchFormConfigSchema: z.ZodObject<{
101
123
  feedbackConfigurationId: z.ZodString;
@@ -1141,7 +1163,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1141
1163
  }, z.core.$strip>;
1142
1164
  otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
1143
1165
  isEnabled: z.ZodLiteral<false>;
1144
- otherFields: z.ZodOptional<z.ZodObject<{
1166
+ otherFields: z.ZodObject<{
1145
1167
  pagination: z.ZodBoolean;
1146
1168
  questionNumber: z.ZodBoolean;
1147
1169
  pageTitle: z.ZodBoolean;
@@ -1149,11 +1171,17 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1149
1171
  submitButtonLabel: z.ZodString;
1150
1172
  previousButtonLabel: z.ZodString;
1151
1173
  nextButtonLabel: z.ZodString;
1152
- }, z.core.$strip>>;
1174
+ aiEnhancementSuccessMessage: z.ZodString;
1175
+ aiEnhancementCooldownErrorMessage: z.ZodString;
1176
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
1177
+ }, z.core.$strip>;
1153
1178
  translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1154
1179
  submitButtonLabel: z.ZodString;
1155
1180
  previousButtonLabel: z.ZodString;
1156
1181
  nextButtonLabel: z.ZodString;
1182
+ aiEnhancementSuccessMessage: z.ZodString;
1183
+ aiEnhancementCooldownErrorMessage: z.ZodString;
1184
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
1157
1185
  }, z.core.$strip>>>;
1158
1186
  }, z.core.$strip>, z.ZodObject<{
1159
1187
  isEnabled: z.ZodLiteral<true>;
@@ -1165,11 +1193,17 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1165
1193
  submitButtonLabel: z.ZodString;
1166
1194
  previousButtonLabel: z.ZodString;
1167
1195
  nextButtonLabel: z.ZodString;
1196
+ aiEnhancementSuccessMessage: z.ZodString;
1197
+ aiEnhancementCooldownErrorMessage: z.ZodString;
1198
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
1168
1199
  }, z.core.$strip>;
1169
1200
  translations: z.ZodRecord<z.ZodString, z.ZodObject<{
1170
1201
  submitButtonLabel: z.ZodString;
1171
1202
  previousButtonLabel: z.ZodString;
1172
1203
  nextButtonLabel: z.ZodString;
1204
+ aiEnhancementSuccessMessage: z.ZodString;
1205
+ aiEnhancementCooldownErrorMessage: z.ZodString;
1206
+ aiEnhancementMaxReachedErrorMessage: z.ZodString;
1173
1207
  }, z.core.$strip>>;
1174
1208
  }, z.core.$strip>], "isEnabled">;
1175
1209
  welcomeScreenProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1337,6 +1371,28 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
1337
1371
  selectedIconPosition: z.ZodString;
1338
1372
  selectedPosition: z.ZodString;
1339
1373
  }, z.core.$strip>;
1374
+ frequencyAndScheduling: z.ZodOptional<z.ZodObject<{
1375
+ surveyType: z.ZodEnum<{
1376
+ S: "S";
1377
+ R: "R";
1378
+ }>;
1379
+ showOnce: z.ZodEnum<{
1380
+ Y: "Y";
1381
+ N: "N";
1382
+ }>;
1383
+ stopWhenResponsesCount: z.ZodString;
1384
+ recurringValue: z.ZodString;
1385
+ recurringUnit: z.ZodEnum<{
1386
+ minutes: "minutes";
1387
+ hours: "hours";
1388
+ days: "days";
1389
+ weeks: "weeks";
1390
+ months: "months";
1391
+ years: "years";
1392
+ }>;
1393
+ startDate: z.ZodString;
1394
+ stopDate: z.ZodString;
1395
+ }, z.core.$strip>>;
1340
1396
  }, z.core.$strip>>;
1341
1397
  }, z.core.$strict>;
1342
1398
  export type FeedbackConfigurationItem = z.infer<typeof feedbackConfigurationItemSchema>;