@encatch/schema 0.1.15 → 0.1.18

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.
@@ -0,0 +1,68 @@
1
+ import { z } from "zod";
2
+ export declare const deviceThemeSchema: z.ZodEnum<{
3
+ light: "light";
4
+ dark: "dark";
5
+ system: "system";
6
+ }>;
7
+ export declare const DeviceThemes: {
8
+ readonly LIGHT: "light";
9
+ readonly DARK: "dark";
10
+ readonly SYSTEM: "system";
11
+ };
12
+ export declare const deviceInfoSchema: z.ZodObject<{
13
+ deviceType: z.ZodString;
14
+ timezone: z.ZodString;
15
+ theme: z.ZodEnum<{
16
+ light: "light";
17
+ dark: "dark";
18
+ system: "system";
19
+ }>;
20
+ os: z.ZodString;
21
+ osVersion: z.ZodString;
22
+ appVersion: z.ZodString;
23
+ app: z.ZodString;
24
+ language: z.ZodString;
25
+ }, z.core.$strip>;
26
+ export declare const sessionInfoSchema: z.ZodObject<{
27
+ sessionId: z.ZodString;
28
+ }, z.core.$strip>;
29
+ export declare const deviceSessionInfoSchema: z.ZodObject<{
30
+ deviceInfo: z.ZodObject<{
31
+ deviceType: z.ZodString;
32
+ timezone: z.ZodString;
33
+ theme: z.ZodEnum<{
34
+ light: "light";
35
+ dark: "dark";
36
+ system: "system";
37
+ }>;
38
+ os: z.ZodString;
39
+ osVersion: z.ZodString;
40
+ appVersion: z.ZodString;
41
+ app: z.ZodString;
42
+ language: z.ZodString;
43
+ }, z.core.$strip>;
44
+ sessionInfo: z.ZodObject<{
45
+ sessionId: z.ZodString;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>;
48
+ export declare const userPropertiesSchema: z.ZodObject<{
49
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
50
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
51
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ }, z.core.$loose>;
54
+ export declare const userInfoSchema: z.ZodObject<{
55
+ userName: z.ZodString;
56
+ properties: z.ZodObject<{
57
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
58
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
59
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
60
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
+ }, z.core.$loose>;
62
+ }, z.core.$strip>;
63
+ export type DeviceTheme = z.infer<typeof deviceThemeSchema>;
64
+ export type DeviceInfo = z.infer<typeof deviceInfoSchema>;
65
+ export type SessionInfo = z.infer<typeof sessionInfoSchema>;
66
+ export type DeviceSessionInfo = z.infer<typeof deviceSessionInfoSchema>;
67
+ export type UserProperties = z.infer<typeof userPropertiesSchema>;
68
+ export type UserInfo = z.infer<typeof userInfoSchema>;
@@ -0,0 +1,381 @@
1
+ import { z } from "zod";
2
+ export declare const userActionSchema: z.ZodEnum<{
3
+ S: "S";
4
+ V: "V";
5
+ }>;
6
+ export declare const UserActions: {
7
+ readonly VIEW: "V";
8
+ readonly SUBMIT: "S";
9
+ };
10
+ export declare const formConfigSchema: z.ZodObject<{
11
+ feedbackIdentifier: z.ZodString;
12
+ feedbackConfigurationId: z.ZodString;
13
+ completionTimeInSeconds: z.ZodNumber;
14
+ userAction: z.ZodEnum<{
15
+ S: "S";
16
+ V: "V";
17
+ }>;
18
+ responseLanguageCode: z.ZodString;
19
+ }, z.core.$strip>;
20
+ export declare const questionResponseSchema: z.ZodObject<{
21
+ questionId: z.ZodString;
22
+ answer: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ type: z.ZodLiteral<"simple">;
24
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ type: z.ZodLiteral<"choice">;
27
+ selectedOptionId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ type: z.ZodLiteral<"multiple_choice">;
30
+ selectedOptionIds: z.ZodArray<z.ZodString>;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ type: z.ZodLiteral<"scale">;
33
+ value: z.ZodNumber;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ type: z.ZodLiteral<"continuous_sum">;
36
+ values: z.ZodArray<z.ZodObject<{
37
+ optionId: z.ZodString;
38
+ value: z.ZodNumber;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ type: z.ZodLiteral<"ranking">;
42
+ ranks: z.ZodArray<z.ZodObject<{
43
+ optionId: z.ZodString;
44
+ rank: z.ZodNumber;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ type: z.ZodLiteral<"text">;
48
+ values: z.ZodArray<z.ZodObject<{
49
+ fieldId: z.ZodString;
50
+ text: z.ZodString;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>], "type">;
53
+ type: z.ZodString;
54
+ }, z.core.$strip>;
55
+ export declare const responseSchema: z.ZodObject<{
56
+ questions: z.ZodArray<z.ZodObject<{
57
+ questionId: z.ZodString;
58
+ answer: z.ZodDiscriminatedUnion<[z.ZodObject<{
59
+ type: z.ZodLiteral<"simple">;
60
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ type: z.ZodLiteral<"choice">;
63
+ selectedOptionId: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ type: z.ZodLiteral<"multiple_choice">;
66
+ selectedOptionIds: z.ZodArray<z.ZodString>;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ type: z.ZodLiteral<"scale">;
69
+ value: z.ZodNumber;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ type: z.ZodLiteral<"continuous_sum">;
72
+ values: z.ZodArray<z.ZodObject<{
73
+ optionId: z.ZodString;
74
+ value: z.ZodNumber;
75
+ }, z.core.$strip>>;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ type: z.ZodLiteral<"ranking">;
78
+ ranks: z.ZodArray<z.ZodObject<{
79
+ optionId: z.ZodString;
80
+ rank: z.ZodNumber;
81
+ }, z.core.$strip>>;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ type: z.ZodLiteral<"text">;
84
+ values: z.ZodArray<z.ZodObject<{
85
+ fieldId: z.ZodString;
86
+ text: z.ZodString;
87
+ }, z.core.$strip>>;
88
+ }, z.core.$strip>], "type">;
89
+ type: z.ZodString;
90
+ }, z.core.$strip>>;
91
+ }, z.core.$strip>;
92
+ export declare const matchedTriggerPropertiesSchema: z.ZodObject<{
93
+ customEventName: z.ZodNullable<z.ZodString>;
94
+ currentPath: z.ZodString;
95
+ eventType: z.ZodString;
96
+ }, z.core.$loose>;
97
+ export declare const baseSubmitFeedbackSchema: z.ZodObject<{
98
+ formConfig: z.ZodObject<{
99
+ feedbackIdentifier: z.ZodString;
100
+ feedbackConfigurationId: z.ZodString;
101
+ completionTimeInSeconds: z.ZodNumber;
102
+ userAction: z.ZodEnum<{
103
+ S: "S";
104
+ V: "V";
105
+ }>;
106
+ responseLanguageCode: z.ZodString;
107
+ }, z.core.$strip>;
108
+ deviceInfo: z.ZodObject<{
109
+ deviceType: z.ZodString;
110
+ timezone: z.ZodString;
111
+ theme: z.ZodEnum<{
112
+ light: "light";
113
+ dark: "dark";
114
+ system: "system";
115
+ }>;
116
+ os: z.ZodString;
117
+ osVersion: z.ZodString;
118
+ appVersion: z.ZodString;
119
+ app: z.ZodString;
120
+ language: z.ZodString;
121
+ }, z.core.$strip>;
122
+ sessionInfo: z.ZodObject<{
123
+ sessionId: z.ZodString;
124
+ }, z.core.$strip>;
125
+ userInfo: z.ZodOptional<z.ZodObject<{
126
+ userName: z.ZodString;
127
+ properties: z.ZodObject<{
128
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
129
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
130
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
131
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
132
+ }, z.core.$loose>;
133
+ }, z.core.$strip>>;
134
+ matchedTriggerProperties: z.ZodObject<{
135
+ customEventName: z.ZodNullable<z.ZodString>;
136
+ currentPath: z.ZodString;
137
+ eventType: z.ZodString;
138
+ }, z.core.$loose>;
139
+ }, z.core.$strip>;
140
+ export declare const viewFeedbackSchema: z.ZodObject<{
141
+ deviceInfo: z.ZodObject<{
142
+ deviceType: z.ZodString;
143
+ timezone: z.ZodString;
144
+ theme: z.ZodEnum<{
145
+ light: "light";
146
+ dark: "dark";
147
+ system: "system";
148
+ }>;
149
+ os: z.ZodString;
150
+ osVersion: z.ZodString;
151
+ appVersion: z.ZodString;
152
+ app: z.ZodString;
153
+ language: z.ZodString;
154
+ }, z.core.$strip>;
155
+ sessionInfo: z.ZodObject<{
156
+ sessionId: z.ZodString;
157
+ }, z.core.$strip>;
158
+ userInfo: z.ZodOptional<z.ZodObject<{
159
+ userName: z.ZodString;
160
+ properties: z.ZodObject<{
161
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
162
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
163
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
164
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
+ }, z.core.$loose>;
166
+ }, z.core.$strip>>;
167
+ matchedTriggerProperties: z.ZodObject<{
168
+ customEventName: z.ZodNullable<z.ZodString>;
169
+ currentPath: z.ZodString;
170
+ eventType: z.ZodString;
171
+ }, z.core.$loose>;
172
+ formConfig: z.ZodObject<{
173
+ feedbackIdentifier: z.ZodString;
174
+ feedbackConfigurationId: z.ZodString;
175
+ completionTimeInSeconds: z.ZodNumber;
176
+ responseLanguageCode: z.ZodString;
177
+ userAction: z.ZodLiteral<"V">;
178
+ }, z.core.$strip>;
179
+ }, z.core.$strict>;
180
+ export declare const submitFeedbackSchema: z.ZodObject<{
181
+ deviceInfo: z.ZodObject<{
182
+ deviceType: z.ZodString;
183
+ timezone: z.ZodString;
184
+ theme: z.ZodEnum<{
185
+ light: "light";
186
+ dark: "dark";
187
+ system: "system";
188
+ }>;
189
+ os: z.ZodString;
190
+ osVersion: z.ZodString;
191
+ appVersion: z.ZodString;
192
+ app: z.ZodString;
193
+ language: z.ZodString;
194
+ }, z.core.$strip>;
195
+ sessionInfo: z.ZodObject<{
196
+ sessionId: z.ZodString;
197
+ }, z.core.$strip>;
198
+ userInfo: z.ZodOptional<z.ZodObject<{
199
+ userName: z.ZodString;
200
+ properties: z.ZodObject<{
201
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
202
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
203
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
204
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
+ }, z.core.$loose>;
206
+ }, z.core.$strip>>;
207
+ matchedTriggerProperties: z.ZodObject<{
208
+ customEventName: z.ZodNullable<z.ZodString>;
209
+ currentPath: z.ZodString;
210
+ eventType: z.ZodString;
211
+ }, z.core.$loose>;
212
+ formConfig: z.ZodObject<{
213
+ feedbackIdentifier: z.ZodString;
214
+ feedbackConfigurationId: z.ZodString;
215
+ completionTimeInSeconds: z.ZodNumber;
216
+ responseLanguageCode: z.ZodString;
217
+ userAction: z.ZodLiteral<"S">;
218
+ }, z.core.$strip>;
219
+ response: z.ZodObject<{
220
+ questions: z.ZodArray<z.ZodObject<{
221
+ questionId: z.ZodString;
222
+ answer: z.ZodDiscriminatedUnion<[z.ZodObject<{
223
+ type: z.ZodLiteral<"simple">;
224
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ type: z.ZodLiteral<"choice">;
227
+ selectedOptionId: z.ZodString;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ type: z.ZodLiteral<"multiple_choice">;
230
+ selectedOptionIds: z.ZodArray<z.ZodString>;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ type: z.ZodLiteral<"scale">;
233
+ value: z.ZodNumber;
234
+ }, z.core.$strip>, z.ZodObject<{
235
+ type: z.ZodLiteral<"continuous_sum">;
236
+ values: z.ZodArray<z.ZodObject<{
237
+ optionId: z.ZodString;
238
+ value: z.ZodNumber;
239
+ }, z.core.$strip>>;
240
+ }, z.core.$strip>, z.ZodObject<{
241
+ type: z.ZodLiteral<"ranking">;
242
+ ranks: z.ZodArray<z.ZodObject<{
243
+ optionId: z.ZodString;
244
+ rank: z.ZodNumber;
245
+ }, z.core.$strip>>;
246
+ }, z.core.$strip>, z.ZodObject<{
247
+ type: z.ZodLiteral<"text">;
248
+ values: z.ZodArray<z.ZodObject<{
249
+ fieldId: z.ZodString;
250
+ text: z.ZodString;
251
+ }, z.core.$strip>>;
252
+ }, z.core.$strip>], "type">;
253
+ type: z.ZodString;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>;
256
+ }, z.core.$strict>;
257
+ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
258
+ deviceInfo: z.ZodObject<{
259
+ deviceType: z.ZodString;
260
+ timezone: z.ZodString;
261
+ theme: z.ZodEnum<{
262
+ light: "light";
263
+ dark: "dark";
264
+ system: "system";
265
+ }>;
266
+ os: z.ZodString;
267
+ osVersion: z.ZodString;
268
+ appVersion: z.ZodString;
269
+ app: z.ZodString;
270
+ language: z.ZodString;
271
+ }, z.core.$strip>;
272
+ sessionInfo: z.ZodObject<{
273
+ sessionId: z.ZodString;
274
+ }, z.core.$strip>;
275
+ userInfo: z.ZodOptional<z.ZodObject<{
276
+ userName: z.ZodString;
277
+ properties: z.ZodObject<{
278
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
279
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
280
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
281
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
282
+ }, z.core.$loose>;
283
+ }, z.core.$strip>>;
284
+ matchedTriggerProperties: z.ZodObject<{
285
+ customEventName: z.ZodNullable<z.ZodString>;
286
+ currentPath: z.ZodString;
287
+ eventType: z.ZodString;
288
+ }, z.core.$loose>;
289
+ formConfig: z.ZodObject<{
290
+ feedbackIdentifier: z.ZodString;
291
+ feedbackConfigurationId: z.ZodString;
292
+ completionTimeInSeconds: z.ZodNumber;
293
+ responseLanguageCode: z.ZodString;
294
+ userAction: z.ZodLiteral<"V">;
295
+ }, z.core.$strip>;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ deviceInfo: z.ZodObject<{
298
+ deviceType: z.ZodString;
299
+ timezone: z.ZodString;
300
+ theme: z.ZodEnum<{
301
+ light: "light";
302
+ dark: "dark";
303
+ system: "system";
304
+ }>;
305
+ os: z.ZodString;
306
+ osVersion: z.ZodString;
307
+ appVersion: z.ZodString;
308
+ app: z.ZodString;
309
+ language: z.ZodString;
310
+ }, z.core.$strip>;
311
+ sessionInfo: z.ZodObject<{
312
+ sessionId: z.ZodString;
313
+ }, z.core.$strip>;
314
+ userInfo: z.ZodOptional<z.ZodObject<{
315
+ userName: z.ZodString;
316
+ properties: z.ZodObject<{
317
+ $counter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
318
+ $set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
319
+ $setOnce: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
320
+ $unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
321
+ }, z.core.$loose>;
322
+ }, z.core.$strip>>;
323
+ matchedTriggerProperties: z.ZodObject<{
324
+ customEventName: z.ZodNullable<z.ZodString>;
325
+ currentPath: z.ZodString;
326
+ eventType: z.ZodString;
327
+ }, z.core.$loose>;
328
+ formConfig: z.ZodObject<{
329
+ feedbackIdentifier: z.ZodString;
330
+ feedbackConfigurationId: z.ZodString;
331
+ completionTimeInSeconds: z.ZodNumber;
332
+ responseLanguageCode: z.ZodString;
333
+ userAction: z.ZodLiteral<"S">;
334
+ }, z.core.$strip>;
335
+ response: z.ZodObject<{
336
+ questions: z.ZodArray<z.ZodObject<{
337
+ questionId: z.ZodString;
338
+ answer: z.ZodDiscriminatedUnion<[z.ZodObject<{
339
+ type: z.ZodLiteral<"simple">;
340
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
341
+ }, z.core.$strip>, z.ZodObject<{
342
+ type: z.ZodLiteral<"choice">;
343
+ selectedOptionId: z.ZodString;
344
+ }, z.core.$strip>, z.ZodObject<{
345
+ type: z.ZodLiteral<"multiple_choice">;
346
+ selectedOptionIds: z.ZodArray<z.ZodString>;
347
+ }, z.core.$strip>, z.ZodObject<{
348
+ type: z.ZodLiteral<"scale">;
349
+ value: z.ZodNumber;
350
+ }, z.core.$strip>, z.ZodObject<{
351
+ type: z.ZodLiteral<"continuous_sum">;
352
+ values: z.ZodArray<z.ZodObject<{
353
+ optionId: z.ZodString;
354
+ value: z.ZodNumber;
355
+ }, z.core.$strip>>;
356
+ }, z.core.$strip>, z.ZodObject<{
357
+ type: z.ZodLiteral<"ranking">;
358
+ ranks: z.ZodArray<z.ZodObject<{
359
+ optionId: z.ZodString;
360
+ rank: z.ZodNumber;
361
+ }, z.core.$strip>>;
362
+ }, z.core.$strip>, z.ZodObject<{
363
+ type: z.ZodLiteral<"text">;
364
+ values: z.ZodArray<z.ZodObject<{
365
+ fieldId: z.ZodString;
366
+ text: z.ZodString;
367
+ }, z.core.$strip>>;
368
+ }, z.core.$strip>], "type">;
369
+ type: z.ZodString;
370
+ }, z.core.$strip>>;
371
+ }, z.core.$strip>;
372
+ }, z.core.$strict>]>;
373
+ export type UserAction = z.infer<typeof userActionSchema>;
374
+ export type FormConfig = z.infer<typeof formConfigSchema>;
375
+ export type QuestionResponse = z.infer<typeof questionResponseSchema>;
376
+ export type Response = z.infer<typeof responseSchema>;
377
+ export type MatchedTriggerProperties = z.infer<typeof matchedTriggerPropertiesSchema>;
378
+ export type BaseSubmitFeedback = z.infer<typeof baseSubmitFeedbackSchema>;
379
+ export type ViewFeedback = z.infer<typeof viewFeedbackSchema>;
380
+ export type SubmitFeedback = z.infer<typeof submitFeedbackSchema>;
381
+ export type FeedbackRequest = z.infer<typeof feedbackRequestSchema>;
@@ -10,14 +10,14 @@ export declare const questionTypeSchema: z.ZodEnum<{
10
10
  annotation: "annotation";
11
11
  }>;
12
12
  export declare const QuestionTypes: {
13
- readonly RATING: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
14
- readonly SINGLE_CHOICE: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
15
- readonly NPS: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
16
- readonly NESTED_SELECTION: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
17
- readonly MULTIPLE_CHOICE_MULTIPLE: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
18
- readonly SHORT_ANSWER: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
19
- readonly LONG_TEXT: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
20
- readonly ANNOTATION: "rating" | "single_choice" | "nps" | "nested_selection" | "multiple_choice_multiple" | "short_answer" | "long_text" | "annotation";
13
+ readonly RATING: "rating";
14
+ readonly SINGLE_CHOICE: "single_choice";
15
+ readonly NPS: "nps";
16
+ readonly NESTED_SELECTION: "nested_selection";
17
+ readonly MULTIPLE_CHOICE_MULTIPLE: "multiple_choice_multiple";
18
+ readonly SHORT_ANSWER: "short_answer";
19
+ readonly LONG_TEXT: "long_text";
20
+ readonly ANNOTATION: "annotation";
21
21
  };
22
22
  export declare const validationRuleTypeSchema: z.ZodEnum<{
23
23
  required: "required";
@@ -31,15 +31,15 @@ export declare const validationRuleTypeSchema: z.ZodEnum<{
31
31
  custom: "custom";
32
32
  }>;
33
33
  export declare const ValidationRuleTypes: {
34
- readonly REQUIRED: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
35
- readonly MIN: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
36
- readonly MAX: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
37
- readonly MIN_LENGTH: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
38
- readonly MAX_LENGTH: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
39
- readonly PATTERN: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
40
- readonly EMAIL: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
41
- readonly URL: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
42
- readonly CUSTOM: "required" | "min" | "max" | "minLength" | "maxLength" | "pattern" | "email" | "url" | "custom";
34
+ readonly REQUIRED: "required";
35
+ readonly MIN: "min";
36
+ readonly MAX: "max";
37
+ readonly MIN_LENGTH: "minLength";
38
+ readonly MAX_LENGTH: "maxLength";
39
+ readonly PATTERN: "pattern";
40
+ readonly EMAIL: "email";
41
+ readonly URL: "url";
42
+ readonly CUSTOM: "custom";
43
43
  };
44
44
  export declare const validationRuleSchema: z.ZodObject<{
45
45
  type: z.ZodEnum<{
@@ -68,14 +68,14 @@ export declare const visibilityConditionOperatorSchema: z.ZodEnum<{
68
68
  is_not_empty: "is_not_empty";
69
69
  }>;
70
70
  export declare const VisibilityConditionOperators: {
71
- readonly EQUALS: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
72
- readonly NOT_EQUALS: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
73
- readonly CONTAINS: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
74
- readonly NOT_CONTAINS: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
75
- readonly GREATER_THAN: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
76
- readonly LESS_THAN: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
77
- readonly IS_EMPTY: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
78
- readonly IS_NOT_EMPTY: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "is_empty" | "is_not_empty";
71
+ readonly EQUALS: "equals";
72
+ readonly NOT_EQUALS: "not_equals";
73
+ readonly CONTAINS: "contains";
74
+ readonly NOT_CONTAINS: "not_contains";
75
+ readonly GREATER_THAN: "greater_than";
76
+ readonly LESS_THAN: "less_than";
77
+ readonly IS_EMPTY: "is_empty";
78
+ readonly IS_NOT_EMPTY: "is_not_empty";
79
79
  };
80
80
  export declare const visibilityConditionSchema: z.ZodObject<{
81
81
  field: z.ZodString;
@@ -104,10 +104,10 @@ export declare const questionStatusSchema: z.ZodEnum<{
104
104
  S: "S";
105
105
  }>;
106
106
  export declare const QuestionStatuses: {
107
- readonly DRAFT: "D" | "P" | "A" | "S";
108
- readonly PUBLISHED: "D" | "P" | "A" | "S";
109
- readonly ARCHIVED: "D" | "P" | "A" | "S";
110
- readonly SUSPENDED: "D" | "P" | "A" | "S";
107
+ readonly DRAFT: "D";
108
+ readonly PUBLISHED: "P";
109
+ readonly ARCHIVED: "A";
110
+ readonly SUSPENDED: "S";
111
111
  };
112
112
  export declare const ratingDisplayStyleSchema: z.ZodEnum<{
113
113
  star: "star";
@@ -118,12 +118,12 @@ export declare const ratingDisplayStyleSchema: z.ZodEnum<{
118
118
  "emoji-exp": "emoji-exp";
119
119
  }>;
120
120
  export declare const RatingDisplayStyles: {
121
- readonly STAR: "star" | "heart" | "thumbs-up" | "diamond" | "emoji" | "emoji-exp";
122
- readonly HEART: "star" | "heart" | "thumbs-up" | "diamond" | "emoji" | "emoji-exp";
123
- readonly THUMBS_UP: "star" | "heart" | "thumbs-up" | "diamond" | "emoji" | "emoji-exp";
124
- readonly DIAMOND: "star" | "heart" | "thumbs-up" | "diamond" | "emoji" | "emoji-exp";
125
- readonly EMOJI: "star" | "heart" | "thumbs-up" | "diamond" | "emoji" | "emoji-exp";
126
- readonly EMOJI_EXP: "star" | "heart" | "thumbs-up" | "diamond" | "emoji" | "emoji-exp";
121
+ readonly STAR: "star";
122
+ readonly HEART: "heart";
123
+ readonly THUMBS_UP: "thumbs_up";
124
+ readonly DIAMOND: "diamond";
125
+ readonly EMOJI: "emoji";
126
+ readonly EMOJI_EXP: "emoji_exp";
127
127
  };
128
128
  export declare const ratingRepresentationSizeSchema: z.ZodEnum<{
129
129
  small: "small";
@@ -131,9 +131,9 @@ export declare const ratingRepresentationSizeSchema: z.ZodEnum<{
131
131
  large: "large";
132
132
  }>;
133
133
  export declare const RatingRepresentationSizes: {
134
- readonly SMALL: "small" | "medium" | "large";
135
- readonly MEDIUM: "small" | "medium" | "large";
136
- readonly LARGE: "small" | "medium" | "large";
134
+ readonly SMALL: "small";
135
+ readonly MEDIUM: "medium";
136
+ readonly LARGE: "large";
137
137
  };
138
138
  export declare const multipleChoiceDisplayStyleSchema: z.ZodEnum<{
139
139
  radio: "radio";
@@ -142,10 +142,10 @@ export declare const multipleChoiceDisplayStyleSchema: z.ZodEnum<{
142
142
  dropdown: "dropdown";
143
143
  }>;
144
144
  export declare const MultipleChoiceDisplayStyles: {
145
- readonly RADIO: "radio" | "list" | "chip" | "dropdown";
146
- readonly LIST: "radio" | "list" | "chip" | "dropdown";
147
- readonly CHIP: "radio" | "list" | "chip" | "dropdown";
148
- readonly DROPDOWN: "radio" | "list" | "chip" | "dropdown";
145
+ readonly RADIO: "radio";
146
+ readonly LIST: "list";
147
+ readonly CHIP: "chip";
148
+ readonly DROPDOWN: "dropdown";
149
149
  };
150
150
  export declare const multipleChoiceMultipleDisplayStyleSchema: z.ZodEnum<{
151
151
  list: "list";
@@ -153,9 +153,9 @@ export declare const multipleChoiceMultipleDisplayStyleSchema: z.ZodEnum<{
153
153
  checkbox: "checkbox";
154
154
  }>;
155
155
  export declare const MultipleChoiceMultipleDisplayStyles: {
156
- readonly CHECKBOX: "list" | "chip" | "checkbox";
157
- readonly LIST: "list" | "chip" | "checkbox";
158
- readonly CHIP: "list" | "chip" | "checkbox";
156
+ readonly CHECKBOX: "checkbox";
157
+ readonly LIST: "list";
158
+ readonly CHIP: "chip";
159
159
  };
160
160
  export declare const choiceOrderOptionSchema: z.ZodEnum<{
161
161
  randomize: "randomize";
@@ -165,11 +165,11 @@ export declare const choiceOrderOptionSchema: z.ZodEnum<{
165
165
  none: "none";
166
166
  }>;
167
167
  export declare const ChoiceOrderOptions: {
168
- readonly RANDOMIZE: "randomize" | "flip" | "rotate" | "ascending" | "none";
169
- readonly FLIP: "randomize" | "flip" | "rotate" | "ascending" | "none";
170
- readonly ROTATE: "randomize" | "flip" | "rotate" | "ascending" | "none";
171
- readonly ASCENDING: "randomize" | "flip" | "rotate" | "ascending" | "none";
172
- readonly NONE: "randomize" | "flip" | "rotate" | "ascending" | "none";
168
+ readonly RANDOMIZE: "randomize";
169
+ readonly FLIP: "flip";
170
+ readonly ROTATE: "rotate";
171
+ readonly ASCENDING: "ascending";
172
+ readonly NONE: "none";
173
173
  };
174
174
  export declare const questionSchema: z.ZodObject<{
175
175
  id: z.ZodString;
@@ -646,6 +646,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
646
646
  cooldownSeconds: z.ZodOptional<z.ZodNumber>;
647
647
  maxEnhancements: z.ZodOptional<z.ZodNumber>;
648
648
  maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
649
+ minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
649
650
  }, z.core.$strip>;
650
651
  export declare const nestedDropdownQuestionSchema: z.ZodObject<{
651
652
  id: z.ZodString;
@@ -1136,6 +1137,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1136
1137
  cooldownSeconds: z.ZodOptional<z.ZodNumber>;
1137
1138
  maxEnhancements: z.ZodOptional<z.ZodNumber>;
1138
1139
  maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
1140
+ minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
1139
1141
  }, z.core.$strip>, z.ZodObject<{
1140
1142
  id: z.ZodString;
1141
1143
  title: z.ZodString;
@@ -562,6 +562,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
562
562
  cooldownSeconds: z.ZodOptional<z.ZodNumber>;
563
563
  maxEnhancements: z.ZodOptional<z.ZodNumber>;
564
564
  maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
565
+ minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
565
566
  }, z.core.$strip>, z.ZodObject<{
566
567
  id: z.ZodString;
567
568
  title: z.ZodString;