@encatch/schema 0.1.29 → 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.
@@ -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";
@@ -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.ZodOptional<z.ZodObject<{
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
- }, z.core.$strip>>;
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<{
@@ -21,17 +21,17 @@ export declare const questionResponseSchema: z.ZodObject<{
21
21
  questionId: z.ZodString;
22
22
  answer: z.ZodObject<{
23
23
  nps: z.ZodOptional<z.ZodNumber>;
24
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
- long_text: z.ZodOptional<z.ZodString>;
26
- short_answer: z.ZodOptional<z.ZodString>;
27
- single_choice: z.ZodOptional<z.ZodString>;
24
+ nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
+ longText: z.ZodOptional<z.ZodString>;
26
+ shortAnswer: z.ZodOptional<z.ZodString>;
27
+ singleChoice: z.ZodOptional<z.ZodString>;
28
28
  rating: z.ZodOptional<z.ZodNumber>;
29
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
30
  annotation: z.ZodOptional<z.ZodObject<{
31
- file_type: z.ZodString;
32
- file_name: z.ZodString;
31
+ fileType: z.ZodString;
32
+ fileName: z.ZodString;
33
33
  markers: z.ZodArray<z.ZodObject<{
34
- marker_no: z.ZodString;
34
+ markerNo: z.ZodString;
35
35
  timeline: z.ZodString;
36
36
  comment: z.ZodString;
37
37
  }, z.core.$strip>>;
@@ -39,23 +39,24 @@ export declare const questionResponseSchema: z.ZodObject<{
39
39
  others: z.ZodOptional<z.ZodString>;
40
40
  }, z.core.$strip>;
41
41
  type: z.ZodString;
42
+ error: z.ZodOptional<z.ZodString>;
42
43
  }, z.core.$strip>;
43
44
  export declare const responseSchema: z.ZodObject<{
44
45
  questions: z.ZodArray<z.ZodObject<{
45
46
  questionId: z.ZodString;
46
47
  answer: z.ZodObject<{
47
48
  nps: z.ZodOptional<z.ZodNumber>;
48
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
- long_text: z.ZodOptional<z.ZodString>;
50
- short_answer: z.ZodOptional<z.ZodString>;
51
- single_choice: z.ZodOptional<z.ZodString>;
49
+ nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
+ longText: z.ZodOptional<z.ZodString>;
51
+ shortAnswer: z.ZodOptional<z.ZodString>;
52
+ singleChoice: z.ZodOptional<z.ZodString>;
52
53
  rating: z.ZodOptional<z.ZodNumber>;
53
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
+ multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
55
  annotation: z.ZodOptional<z.ZodObject<{
55
- file_type: z.ZodString;
56
- file_name: z.ZodString;
56
+ fileType: z.ZodString;
57
+ fileName: z.ZodString;
57
58
  markers: z.ZodArray<z.ZodObject<{
58
- marker_no: z.ZodString;
59
+ markerNo: z.ZodString;
59
60
  timeline: z.ZodString;
60
61
  comment: z.ZodString;
61
62
  }, z.core.$strip>>;
@@ -63,6 +64,7 @@ export declare const responseSchema: z.ZodObject<{
63
64
  others: z.ZodOptional<z.ZodString>;
64
65
  }, z.core.$strip>;
65
66
  type: z.ZodString;
67
+ error: z.ZodOptional<z.ZodString>;
66
68
  }, z.core.$strip>>;
67
69
  }, z.core.$strip>;
68
70
  export declare const matchedTriggerPropertiesSchema: z.ZodObject<{
@@ -203,17 +205,17 @@ export declare const submitFeedbackSchema: z.ZodObject<{
203
205
  questionId: z.ZodString;
204
206
  answer: z.ZodObject<{
205
207
  nps: z.ZodOptional<z.ZodNumber>;
206
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
- long_text: z.ZodOptional<z.ZodString>;
208
- short_answer: z.ZodOptional<z.ZodString>;
209
- single_choice: z.ZodOptional<z.ZodString>;
208
+ nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
209
+ longText: z.ZodOptional<z.ZodString>;
210
+ shortAnswer: z.ZodOptional<z.ZodString>;
211
+ singleChoice: z.ZodOptional<z.ZodString>;
210
212
  rating: z.ZodOptional<z.ZodNumber>;
211
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
213
+ multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
212
214
  annotation: z.ZodOptional<z.ZodObject<{
213
- file_type: z.ZodString;
214
- file_name: z.ZodString;
215
+ fileType: z.ZodString;
216
+ fileName: z.ZodString;
215
217
  markers: z.ZodArray<z.ZodObject<{
216
- marker_no: z.ZodString;
218
+ markerNo: z.ZodString;
217
219
  timeline: z.ZodString;
218
220
  comment: z.ZodString;
219
221
  }, z.core.$strip>>;
@@ -221,6 +223,7 @@ export declare const submitFeedbackSchema: z.ZodObject<{
221
223
  others: z.ZodOptional<z.ZodString>;
222
224
  }, z.core.$strip>;
223
225
  type: z.ZodString;
226
+ error: z.ZodOptional<z.ZodString>;
224
227
  }, z.core.$strip>>;
225
228
  }, z.core.$strip>;
226
229
  }, z.core.$strict>;
@@ -311,17 +314,17 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
311
314
  questionId: z.ZodString;
312
315
  answer: z.ZodObject<{
313
316
  nps: z.ZodOptional<z.ZodNumber>;
314
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
315
- long_text: z.ZodOptional<z.ZodString>;
316
- short_answer: z.ZodOptional<z.ZodString>;
317
- single_choice: z.ZodOptional<z.ZodString>;
317
+ nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
+ longText: z.ZodOptional<z.ZodString>;
319
+ shortAnswer: z.ZodOptional<z.ZodString>;
320
+ singleChoice: z.ZodOptional<z.ZodString>;
318
321
  rating: z.ZodOptional<z.ZodNumber>;
319
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
322
+ multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
323
  annotation: z.ZodOptional<z.ZodObject<{
321
- file_type: z.ZodString;
322
- file_name: z.ZodString;
324
+ fileType: z.ZodString;
325
+ fileName: z.ZodString;
323
326
  markers: z.ZodArray<z.ZodObject<{
324
- marker_no: z.ZodString;
327
+ markerNo: z.ZodString;
325
328
  timeline: z.ZodString;
326
329
  comment: z.ZodString;
327
330
  }, z.core.$strip>>;
@@ -329,6 +332,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
329
332
  others: z.ZodOptional<z.ZodString>;
330
333
  }, z.core.$strip>;
331
334
  type: z.ZodString;
335
+ error: z.ZodOptional<z.ZodString>;
332
336
  }, z.core.$strip>>;
333
337
  }, z.core.$strip>;
334
338
  }, z.core.$strict>]>;
@@ -1,31 +1,31 @@
1
1
  import { z } from "zod";
2
2
  export declare const AnnotationMarkerSchema: z.ZodObject<{
3
- marker_no: z.ZodString;
3
+ markerNo: z.ZodString;
4
4
  timeline: z.ZodString;
5
5
  comment: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  export declare const AnnotationSchema: z.ZodObject<{
8
- file_type: z.ZodString;
9
- file_name: z.ZodString;
8
+ fileType: z.ZodString;
9
+ fileName: z.ZodString;
10
10
  markers: z.ZodArray<z.ZodObject<{
11
- marker_no: z.ZodString;
11
+ markerNo: z.ZodString;
12
12
  timeline: z.ZodString;
13
13
  comment: z.ZodString;
14
14
  }, z.core.$strip>>;
15
15
  }, z.core.$strip>;
16
16
  export declare const AnswerItemSchema: z.ZodObject<{
17
17
  nps: z.ZodOptional<z.ZodNumber>;
18
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
- long_text: z.ZodOptional<z.ZodString>;
20
- short_answer: z.ZodOptional<z.ZodString>;
21
- single_choice: z.ZodOptional<z.ZodString>;
18
+ nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ longText: z.ZodOptional<z.ZodString>;
20
+ shortAnswer: z.ZodOptional<z.ZodString>;
21
+ singleChoice: z.ZodOptional<z.ZodString>;
22
22
  rating: z.ZodOptional<z.ZodNumber>;
23
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
24
  annotation: z.ZodOptional<z.ZodObject<{
25
- file_type: z.ZodString;
26
- file_name: z.ZodString;
25
+ fileType: z.ZodString;
26
+ fileName: z.ZodString;
27
27
  markers: z.ZodArray<z.ZodObject<{
28
- marker_no: z.ZodString;
28
+ markerNo: z.ZodString;
29
29
  timeline: z.ZodString;
30
30
  comment: z.ZodString;
31
31
  }, z.core.$strip>>;
@@ -34,17 +34,17 @@ export declare const AnswerItemSchema: z.ZodObject<{
34
34
  }, z.core.$strip>;
35
35
  export declare const AnswerSchema: z.ZodObject<{
36
36
  nps: z.ZodOptional<z.ZodNumber>;
37
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
- long_text: z.ZodOptional<z.ZodString>;
39
- short_answer: z.ZodOptional<z.ZodString>;
40
- single_choice: z.ZodOptional<z.ZodString>;
37
+ nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ longText: z.ZodOptional<z.ZodString>;
39
+ shortAnswer: z.ZodOptional<z.ZodString>;
40
+ singleChoice: z.ZodOptional<z.ZodString>;
41
41
  rating: z.ZodOptional<z.ZodNumber>;
42
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
+ multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
43
  annotation: z.ZodOptional<z.ZodObject<{
44
- file_type: z.ZodString;
45
- file_name: z.ZodString;
44
+ fileType: z.ZodString;
45
+ fileName: z.ZodString;
46
46
  markers: z.ZodArray<z.ZodObject<{
47
- marker_no: z.ZodString;
47
+ markerNo: z.ZodString;
48
48
  timeline: z.ZodString;
49
49
  comment: z.ZodString;
50
50
  }, z.core.$strip>>;