@encatch/schema 0.0.1

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.
Files changed (52) hide show
  1. package/README.md +7 -0
  2. package/dist/cjs/index.js +30 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/schemas/fields/answer-schema.js +103 -0
  5. package/dist/cjs/schemas/fields/answer-schema.js.map +1 -0
  6. package/dist/cjs/schemas/fields/auto-trigger-schema.js +49 -0
  7. package/dist/cjs/schemas/fields/auto-trigger-schema.js.map +1 -0
  8. package/dist/cjs/schemas/fields/field-schema.js +678 -0
  9. package/dist/cjs/schemas/fields/field-schema.js.map +1 -0
  10. package/dist/cjs/schemas/fields/form-properties-schema.js +136 -0
  11. package/dist/cjs/schemas/fields/form-properties-schema.js.map +1 -0
  12. package/dist/cjs/schemas/fields/form-schema.js +123 -0
  13. package/dist/cjs/schemas/fields/form-schema.js.map +1 -0
  14. package/dist/cjs/schemas/fields/other-screen-schema.js +169 -0
  15. package/dist/cjs/schemas/fields/other-screen-schema.js.map +1 -0
  16. package/dist/cjs/schemas/fields/theme-schema.js +85 -0
  17. package/dist/cjs/schemas/fields/theme-schema.js.map +1 -0
  18. package/dist/cjs/schemas/fields/translations-example.js +187 -0
  19. package/dist/cjs/schemas/fields/translations-example.js.map +1 -0
  20. package/dist/cjs/schemas/fields/translations-schema.js +198 -0
  21. package/dist/cjs/schemas/fields/translations-schema.js.map +1 -0
  22. package/dist/esm/index.js +12 -0
  23. package/dist/esm/index.js.map +1 -0
  24. package/dist/esm/schemas/fields/answer-schema.js +100 -0
  25. package/dist/esm/schemas/fields/answer-schema.js.map +1 -0
  26. package/dist/esm/schemas/fields/auto-trigger-schema.js +46 -0
  27. package/dist/esm/schemas/fields/auto-trigger-schema.js.map +1 -0
  28. package/dist/esm/schemas/fields/field-schema.js +675 -0
  29. package/dist/esm/schemas/fields/field-schema.js.map +1 -0
  30. package/dist/esm/schemas/fields/form-properties-schema.js +133 -0
  31. package/dist/esm/schemas/fields/form-properties-schema.js.map +1 -0
  32. package/dist/esm/schemas/fields/form-schema.js +120 -0
  33. package/dist/esm/schemas/fields/form-schema.js.map +1 -0
  34. package/dist/esm/schemas/fields/other-screen-schema.js +166 -0
  35. package/dist/esm/schemas/fields/other-screen-schema.js.map +1 -0
  36. package/dist/esm/schemas/fields/theme-schema.js +82 -0
  37. package/dist/esm/schemas/fields/theme-schema.js.map +1 -0
  38. package/dist/esm/schemas/fields/translations-example.js +181 -0
  39. package/dist/esm/schemas/fields/translations-example.js.map +1 -0
  40. package/dist/esm/schemas/fields/translations-schema.js +193 -0
  41. package/dist/esm/schemas/fields/translations-schema.js.map +1 -0
  42. package/dist/types/index.d.ts +9 -0
  43. package/dist/types/schemas/fields/answer-schema.d.ts +77 -0
  44. package/dist/types/schemas/fields/auto-trigger-schema.d.ts +21 -0
  45. package/dist/types/schemas/fields/field-schema.d.ts +1114 -0
  46. package/dist/types/schemas/fields/form-properties-schema.d.ts +1035 -0
  47. package/dist/types/schemas/fields/form-schema.d.ts +68 -0
  48. package/dist/types/schemas/fields/other-screen-schema.d.ts +58 -0
  49. package/dist/types/schemas/fields/theme-schema.d.ts +91 -0
  50. package/dist/types/schemas/fields/translations-example.d.ts +10 -0
  51. package/dist/types/schemas/fields/translations-schema.d.ts +863 -0
  52. package/package.json +33 -0
@@ -0,0 +1,1035 @@
1
+ import { z } from "zod";
2
+ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ isEnabled: z.ZodLiteral<false>;
4
+ otherFields: z.ZodOptional<z.ZodObject<{
5
+ pagination: z.ZodBoolean;
6
+ questionNumber: z.ZodBoolean;
7
+ pageTitle: z.ZodBoolean;
8
+ blockerFeedback: z.ZodBoolean;
9
+ submitButtonLabel: z.ZodString;
10
+ previousButtonLabel: z.ZodString;
11
+ nextButtonLabel: z.ZodString;
12
+ }, z.core.$strip>>;
13
+ translations: z.ZodOptional<z.ZodObject<{
14
+ submitButtonLabel: z.ZodString;
15
+ previousButtonLabel: z.ZodString;
16
+ nextButtonLabel: z.ZodString;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ isEnabled: z.ZodLiteral<true>;
20
+ otherFields: z.ZodObject<{
21
+ pagination: z.ZodBoolean;
22
+ questionNumber: z.ZodBoolean;
23
+ pageTitle: z.ZodBoolean;
24
+ blockerFeedback: z.ZodBoolean;
25
+ submitButtonLabel: z.ZodString;
26
+ previousButtonLabel: z.ZodString;
27
+ nextButtonLabel: z.ZodString;
28
+ }, z.core.$strip>;
29
+ translations: z.ZodObject<{
30
+ submitButtonLabel: z.ZodString;
31
+ previousButtonLabel: z.ZodString;
32
+ nextButtonLabel: z.ZodString;
33
+ }, z.core.$strip>;
34
+ }, z.core.$strip>], "isEnabled">;
35
+ export declare const welcomeScreenPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
36
+ isEnabled: z.ZodLiteral<false>;
37
+ welcomeFields: z.ZodOptional<z.ZodObject<{
38
+ title: z.ZodString;
39
+ description: z.ZodString;
40
+ buttonLabel: z.ZodString;
41
+ }, z.core.$strip>>;
42
+ translations: z.ZodOptional<z.ZodObject<{
43
+ title: z.ZodString;
44
+ description: z.ZodString;
45
+ buttonLabel: z.ZodString;
46
+ }, z.core.$strip>>;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ isEnabled: z.ZodLiteral<true>;
49
+ welcomeFields: z.ZodObject<{
50
+ title: z.ZodString;
51
+ description: z.ZodString;
52
+ buttonLabel: z.ZodString;
53
+ }, z.core.$strip>;
54
+ translations: z.ZodObject<{
55
+ title: z.ZodString;
56
+ description: z.ZodString;
57
+ buttonLabel: z.ZodString;
58
+ }, z.core.$strip>;
59
+ }, z.core.$strip>], "isEnabled">;
60
+ export declare const endScreenPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
61
+ isEnabled: z.ZodLiteral<false>;
62
+ endFields: z.ZodOptional<z.ZodObject<{
63
+ title: z.ZodString;
64
+ message: z.ZodString;
65
+ buttonLabel: z.ZodString;
66
+ dismissBehavior: z.ZodEnum<{
67
+ fade: "fade";
68
+ manual: "manual";
69
+ }>;
70
+ fadeDuration: z.ZodNumber;
71
+ }, z.core.$strip>>;
72
+ translations: z.ZodOptional<z.ZodObject<{
73
+ buttonLabel: z.ZodString;
74
+ title: z.ZodString;
75
+ message: z.ZodString;
76
+ }, z.core.$strip>>;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ isEnabled: z.ZodLiteral<true>;
79
+ endFields: z.ZodObject<{
80
+ title: z.ZodString;
81
+ message: z.ZodString;
82
+ buttonLabel: z.ZodString;
83
+ dismissBehavior: z.ZodEnum<{
84
+ fade: "fade";
85
+ manual: "manual";
86
+ }>;
87
+ fadeDuration: z.ZodNumber;
88
+ }, z.core.$strip>;
89
+ translations: z.ZodObject<{
90
+ buttonLabel: z.ZodString;
91
+ title: z.ZodString;
92
+ message: z.ZodString;
93
+ }, z.core.$strip>;
94
+ }, z.core.$strip>], "isEnabled">;
95
+ export declare const appearancePropertiesSchema: z.ZodObject<{
96
+ themeConfiguration: z.ZodObject<{
97
+ themes: z.ZodObject<{
98
+ light: z.ZodObject<{
99
+ brandColor: z.ZodString;
100
+ overlayColor: z.ZodString;
101
+ textColor: z.ZodString;
102
+ backgroundColor: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
103
+ }, z.core.$strip>;
104
+ dark: z.ZodObject<{
105
+ brandColor: z.ZodString;
106
+ overlayColor: z.ZodString;
107
+ textColor: z.ZodString;
108
+ backgroundColor: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
109
+ }, z.core.$strip>;
110
+ }, z.core.$strip>;
111
+ featureSettings: z.ZodObject<{
112
+ darkOverlay: z.ZodBoolean;
113
+ closeButton: z.ZodBoolean;
114
+ progressBar: z.ZodBoolean;
115
+ showBranding: z.ZodBoolean;
116
+ customPosition: z.ZodBoolean;
117
+ customIconPosition: z.ZodBoolean;
118
+ }, z.core.$strip>;
119
+ selectedPosition: z.ZodEnum<{
120
+ "top-left": "top-left";
121
+ "top-center": "top-center";
122
+ "top-right": "top-right";
123
+ "middle-left": "middle-left";
124
+ "middle-center": "middle-center";
125
+ "middle-right": "middle-right";
126
+ "bottom-left": "bottom-left";
127
+ "bottom-center": "bottom-center";
128
+ "bottom-right": "bottom-right";
129
+ }>;
130
+ selectedIconPosition: z.ZodEnum<{
131
+ "top-left": "top-left";
132
+ "top-center": "top-center";
133
+ "top-right": "top-right";
134
+ "middle-left": "middle-left";
135
+ "middle-center": "middle-center";
136
+ "middle-right": "middle-right";
137
+ "bottom-left": "bottom-left";
138
+ "bottom-center": "bottom-center";
139
+ "bottom-right": "bottom-right";
140
+ }>;
141
+ }, z.core.$strip>;
142
+ }, z.core.$strip>;
143
+ export declare const formPropertiesSchema: z.ZodObject<{
144
+ feedback_configuration_id: z.ZodUUID;
145
+ feedback_configuration: z.ZodObject<{
146
+ form_title: z.ZodString;
147
+ form_description: z.ZodString;
148
+ duration: z.ZodObject<{
149
+ from: z.ZodString;
150
+ to: z.ZodString;
151
+ }, z.core.$strip>;
152
+ is_published: z.ZodEnum<{
153
+ D: "D";
154
+ P: "P";
155
+ A: "A";
156
+ }>;
157
+ }, z.core.$strip>;
158
+ questionnaire_fields: z.ZodObject<{
159
+ questions: z.ZodRecord<z.ZodUUID, z.ZodDiscriminatedUnion<[z.ZodObject<{
160
+ id: z.ZodUUID;
161
+ title: z.ZodString;
162
+ description: z.ZodOptional<z.ZodString>;
163
+ describe: z.ZodOptional<z.ZodString>;
164
+ required: z.ZodDefault<z.ZodBoolean>;
165
+ errorMessage: z.ZodOptional<z.ZodString>;
166
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
167
+ type: z.ZodEnum<{
168
+ required: "required";
169
+ min: "min";
170
+ max: "max";
171
+ minLength: "minLength";
172
+ maxLength: "maxLength";
173
+ pattern: "pattern";
174
+ email: "email";
175
+ url: "url";
176
+ custom: "custom";
177
+ }>;
178
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
179
+ message: z.ZodOptional<z.ZodString>;
180
+ describe: z.ZodOptional<z.ZodString>;
181
+ }, z.core.$strip>>>>;
182
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
183
+ field: z.ZodString;
184
+ operator: z.ZodEnum<{
185
+ equals: "equals";
186
+ not_equals: "not_equals";
187
+ contains: "contains";
188
+ not_contains: "not_contains";
189
+ greater_than: "greater_than";
190
+ less_than: "less_than";
191
+ is_empty: "is_empty";
192
+ is_not_empty: "is_not_empty";
193
+ }>;
194
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
195
+ describe: z.ZodOptional<z.ZodString>;
196
+ }, z.core.$strip>>>>;
197
+ isFixed: z.ZodBoolean;
198
+ sectionId: z.ZodOptional<z.ZodString>;
199
+ status: z.ZodEnum<{
200
+ D: "D";
201
+ P: "P";
202
+ A: "A";
203
+ S: "S";
204
+ }>;
205
+ type: z.ZodLiteral<"rating">;
206
+ showLabels: z.ZodOptional<z.ZodBoolean>;
207
+ minLabel: z.ZodOptional<z.ZodString>;
208
+ maxLabel: z.ZodOptional<z.ZodString>;
209
+ displayStyle: z.ZodOptional<z.ZodEnum<{
210
+ star: "star";
211
+ heart: "heart";
212
+ "thumbs-up": "thumbs-up";
213
+ diamond: "diamond";
214
+ emoji: "emoji";
215
+ "emoji-exp": "emoji-exp";
216
+ }>>;
217
+ numberOfRatings: z.ZodNumber;
218
+ representationSize: z.ZodOptional<z.ZodEnum<{
219
+ small: "small";
220
+ medium: "medium";
221
+ large: "large";
222
+ }>>;
223
+ color: z.ZodOptional<z.ZodString>;
224
+ }, z.core.$strip>, z.ZodObject<{
225
+ id: z.ZodUUID;
226
+ title: z.ZodString;
227
+ description: z.ZodOptional<z.ZodString>;
228
+ describe: z.ZodOptional<z.ZodString>;
229
+ required: z.ZodDefault<z.ZodBoolean>;
230
+ errorMessage: z.ZodOptional<z.ZodString>;
231
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
232
+ type: z.ZodEnum<{
233
+ required: "required";
234
+ min: "min";
235
+ max: "max";
236
+ minLength: "minLength";
237
+ maxLength: "maxLength";
238
+ pattern: "pattern";
239
+ email: "email";
240
+ url: "url";
241
+ custom: "custom";
242
+ }>;
243
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
244
+ message: z.ZodOptional<z.ZodString>;
245
+ describe: z.ZodOptional<z.ZodString>;
246
+ }, z.core.$strip>>>>;
247
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
248
+ field: z.ZodString;
249
+ operator: z.ZodEnum<{
250
+ equals: "equals";
251
+ not_equals: "not_equals";
252
+ contains: "contains";
253
+ not_contains: "not_contains";
254
+ greater_than: "greater_than";
255
+ less_than: "less_than";
256
+ is_empty: "is_empty";
257
+ is_not_empty: "is_not_empty";
258
+ }>;
259
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
260
+ describe: z.ZodOptional<z.ZodString>;
261
+ }, z.core.$strip>>>>;
262
+ isFixed: z.ZodBoolean;
263
+ sectionId: z.ZodOptional<z.ZodString>;
264
+ status: z.ZodEnum<{
265
+ D: "D";
266
+ P: "P";
267
+ A: "A";
268
+ S: "S";
269
+ }>;
270
+ type: z.ZodLiteral<"annotation">;
271
+ annotationText: z.ZodOptional<z.ZodString>;
272
+ noAnnotationText: z.ZodOptional<z.ZodString>;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ id: z.ZodUUID;
275
+ title: z.ZodString;
276
+ description: z.ZodOptional<z.ZodString>;
277
+ describe: z.ZodOptional<z.ZodString>;
278
+ required: z.ZodDefault<z.ZodBoolean>;
279
+ errorMessage: z.ZodOptional<z.ZodString>;
280
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
281
+ type: z.ZodEnum<{
282
+ required: "required";
283
+ min: "min";
284
+ max: "max";
285
+ minLength: "minLength";
286
+ maxLength: "maxLength";
287
+ pattern: "pattern";
288
+ email: "email";
289
+ url: "url";
290
+ custom: "custom";
291
+ }>;
292
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
293
+ message: z.ZodOptional<z.ZodString>;
294
+ describe: z.ZodOptional<z.ZodString>;
295
+ }, z.core.$strip>>>>;
296
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
297
+ field: z.ZodString;
298
+ operator: z.ZodEnum<{
299
+ equals: "equals";
300
+ not_equals: "not_equals";
301
+ contains: "contains";
302
+ not_contains: "not_contains";
303
+ greater_than: "greater_than";
304
+ less_than: "less_than";
305
+ is_empty: "is_empty";
306
+ is_not_empty: "is_not_empty";
307
+ }>;
308
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
309
+ describe: z.ZodOptional<z.ZodString>;
310
+ }, z.core.$strip>>>>;
311
+ isFixed: z.ZodBoolean;
312
+ sectionId: z.ZodOptional<z.ZodString>;
313
+ status: z.ZodEnum<{
314
+ D: "D";
315
+ P: "P";
316
+ A: "A";
317
+ S: "S";
318
+ }>;
319
+ type: z.ZodLiteral<"single_choice">;
320
+ displayStyle: z.ZodOptional<z.ZodEnum<{
321
+ radio: "radio";
322
+ list: "list";
323
+ chip: "chip";
324
+ dropdown: "dropdown";
325
+ }>>;
326
+ randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
327
+ options: z.ZodArray<z.ZodObject<{
328
+ id: z.ZodUUID;
329
+ value: z.ZodString;
330
+ label: z.ZodString;
331
+ describe: z.ZodOptional<z.ZodString>;
332
+ imageUrl: z.ZodOptional<z.ZodString>;
333
+ }, z.core.$strip>>;
334
+ }, z.core.$strip>, z.ZodObject<{
335
+ id: z.ZodUUID;
336
+ title: z.ZodString;
337
+ description: z.ZodOptional<z.ZodString>;
338
+ describe: z.ZodOptional<z.ZodString>;
339
+ required: z.ZodDefault<z.ZodBoolean>;
340
+ errorMessage: z.ZodOptional<z.ZodString>;
341
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
342
+ type: z.ZodEnum<{
343
+ required: "required";
344
+ min: "min";
345
+ max: "max";
346
+ minLength: "minLength";
347
+ maxLength: "maxLength";
348
+ pattern: "pattern";
349
+ email: "email";
350
+ url: "url";
351
+ custom: "custom";
352
+ }>;
353
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
354
+ message: z.ZodOptional<z.ZodString>;
355
+ describe: z.ZodOptional<z.ZodString>;
356
+ }, z.core.$strip>>>>;
357
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
358
+ field: z.ZodString;
359
+ operator: z.ZodEnum<{
360
+ equals: "equals";
361
+ not_equals: "not_equals";
362
+ contains: "contains";
363
+ not_contains: "not_contains";
364
+ greater_than: "greater_than";
365
+ less_than: "less_than";
366
+ is_empty: "is_empty";
367
+ is_not_empty: "is_not_empty";
368
+ }>;
369
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
370
+ describe: z.ZodOptional<z.ZodString>;
371
+ }, z.core.$strip>>>>;
372
+ isFixed: z.ZodBoolean;
373
+ sectionId: z.ZodOptional<z.ZodString>;
374
+ status: z.ZodEnum<{
375
+ D: "D";
376
+ P: "P";
377
+ A: "A";
378
+ S: "S";
379
+ }>;
380
+ type: z.ZodLiteral<"multiple_choice_multiple">;
381
+ displayStyle: z.ZodOptional<z.ZodEnum<{
382
+ list: "list";
383
+ chip: "chip";
384
+ checkbox: "checkbox";
385
+ }>>;
386
+ minSelections: z.ZodOptional<z.ZodNumber>;
387
+ maxSelections: z.ZodOptional<z.ZodNumber>;
388
+ randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
389
+ options: z.ZodArray<z.ZodObject<{
390
+ id: z.ZodUUID;
391
+ value: z.ZodString;
392
+ label: z.ZodString;
393
+ describe: z.ZodOptional<z.ZodString>;
394
+ imageUrl: z.ZodOptional<z.ZodString>;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>, z.ZodObject<{
397
+ id: z.ZodUUID;
398
+ title: z.ZodString;
399
+ description: z.ZodOptional<z.ZodString>;
400
+ describe: z.ZodOptional<z.ZodString>;
401
+ required: z.ZodDefault<z.ZodBoolean>;
402
+ errorMessage: z.ZodOptional<z.ZodString>;
403
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
404
+ type: z.ZodEnum<{
405
+ required: "required";
406
+ min: "min";
407
+ max: "max";
408
+ minLength: "minLength";
409
+ maxLength: "maxLength";
410
+ pattern: "pattern";
411
+ email: "email";
412
+ url: "url";
413
+ custom: "custom";
414
+ }>;
415
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
416
+ message: z.ZodOptional<z.ZodString>;
417
+ describe: z.ZodOptional<z.ZodString>;
418
+ }, z.core.$strip>>>>;
419
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
420
+ field: z.ZodString;
421
+ operator: z.ZodEnum<{
422
+ equals: "equals";
423
+ not_equals: "not_equals";
424
+ contains: "contains";
425
+ not_contains: "not_contains";
426
+ greater_than: "greater_than";
427
+ less_than: "less_than";
428
+ is_empty: "is_empty";
429
+ is_not_empty: "is_not_empty";
430
+ }>;
431
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
432
+ describe: z.ZodOptional<z.ZodString>;
433
+ }, z.core.$strip>>>>;
434
+ isFixed: z.ZodBoolean;
435
+ sectionId: z.ZodOptional<z.ZodString>;
436
+ status: z.ZodEnum<{
437
+ D: "D";
438
+ P: "P";
439
+ A: "A";
440
+ S: "S";
441
+ }>;
442
+ type: z.ZodLiteral<"nps">;
443
+ min: z.ZodLiteral<0>;
444
+ max: z.ZodLiteral<10>;
445
+ minLabel: z.ZodOptional<z.ZodString>;
446
+ maxLabel: z.ZodOptional<z.ZodString>;
447
+ scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>, z.ZodString>>;
448
+ prepopulatedValue: z.ZodOptional<z.ZodNumber>;
449
+ }, z.core.$strip>, z.ZodObject<{
450
+ id: z.ZodUUID;
451
+ title: z.ZodString;
452
+ description: z.ZodOptional<z.ZodString>;
453
+ describe: z.ZodOptional<z.ZodString>;
454
+ required: z.ZodDefault<z.ZodBoolean>;
455
+ errorMessage: z.ZodOptional<z.ZodString>;
456
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
457
+ type: z.ZodEnum<{
458
+ required: "required";
459
+ min: "min";
460
+ max: "max";
461
+ minLength: "minLength";
462
+ maxLength: "maxLength";
463
+ pattern: "pattern";
464
+ email: "email";
465
+ url: "url";
466
+ custom: "custom";
467
+ }>;
468
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
469
+ message: z.ZodOptional<z.ZodString>;
470
+ describe: z.ZodOptional<z.ZodString>;
471
+ }, z.core.$strip>>>>;
472
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
473
+ field: z.ZodString;
474
+ operator: z.ZodEnum<{
475
+ equals: "equals";
476
+ not_equals: "not_equals";
477
+ contains: "contains";
478
+ not_contains: "not_contains";
479
+ greater_than: "greater_than";
480
+ less_than: "less_than";
481
+ is_empty: "is_empty";
482
+ is_not_empty: "is_not_empty";
483
+ }>;
484
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
485
+ describe: z.ZodOptional<z.ZodString>;
486
+ }, z.core.$strip>>>>;
487
+ isFixed: z.ZodBoolean;
488
+ sectionId: z.ZodOptional<z.ZodString>;
489
+ status: z.ZodEnum<{
490
+ D: "D";
491
+ P: "P";
492
+ A: "A";
493
+ S: "S";
494
+ }>;
495
+ type: z.ZodLiteral<"short_answer">;
496
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
497
+ minCharacters: z.ZodOptional<z.ZodNumber>;
498
+ placeholder: z.ZodOptional<z.ZodString>;
499
+ enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
500
+ regexPattern: z.ZodOptional<z.ZodString>;
501
+ enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
502
+ promptTemplate: z.ZodOptional<z.ZodString>;
503
+ cooldownSeconds: z.ZodOptional<z.ZodNumber>;
504
+ maxEnhancements: z.ZodOptional<z.ZodNumber>;
505
+ maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
506
+ minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
507
+ }, z.core.$strip>, z.ZodObject<{
508
+ id: z.ZodUUID;
509
+ title: z.ZodString;
510
+ description: z.ZodOptional<z.ZodString>;
511
+ describe: z.ZodOptional<z.ZodString>;
512
+ required: z.ZodDefault<z.ZodBoolean>;
513
+ errorMessage: z.ZodOptional<z.ZodString>;
514
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
515
+ type: z.ZodEnum<{
516
+ required: "required";
517
+ min: "min";
518
+ max: "max";
519
+ minLength: "minLength";
520
+ maxLength: "maxLength";
521
+ pattern: "pattern";
522
+ email: "email";
523
+ url: "url";
524
+ custom: "custom";
525
+ }>;
526
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
527
+ message: z.ZodOptional<z.ZodString>;
528
+ describe: z.ZodOptional<z.ZodString>;
529
+ }, z.core.$strip>>>>;
530
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
531
+ field: z.ZodString;
532
+ operator: z.ZodEnum<{
533
+ equals: "equals";
534
+ not_equals: "not_equals";
535
+ contains: "contains";
536
+ not_contains: "not_contains";
537
+ greater_than: "greater_than";
538
+ less_than: "less_than";
539
+ is_empty: "is_empty";
540
+ is_not_empty: "is_not_empty";
541
+ }>;
542
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
543
+ describe: z.ZodOptional<z.ZodString>;
544
+ }, z.core.$strip>>>>;
545
+ isFixed: z.ZodBoolean;
546
+ sectionId: z.ZodOptional<z.ZodString>;
547
+ status: z.ZodEnum<{
548
+ D: "D";
549
+ P: "P";
550
+ A: "A";
551
+ S: "S";
552
+ }>;
553
+ type: z.ZodLiteral<"long_text">;
554
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
555
+ minCharacters: z.ZodOptional<z.ZodNumber>;
556
+ rows: z.ZodOptional<z.ZodNumber>;
557
+ placeholder: z.ZodOptional<z.ZodString>;
558
+ enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
559
+ promptTemplate: z.ZodOptional<z.ZodString>;
560
+ cooldownSeconds: z.ZodOptional<z.ZodNumber>;
561
+ maxEnhancements: z.ZodOptional<z.ZodNumber>;
562
+ maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
563
+ }, z.core.$strip>, z.ZodObject<{
564
+ id: z.ZodUUID;
565
+ title: z.ZodString;
566
+ description: z.ZodOptional<z.ZodString>;
567
+ describe: z.ZodOptional<z.ZodString>;
568
+ required: z.ZodDefault<z.ZodBoolean>;
569
+ errorMessage: z.ZodOptional<z.ZodString>;
570
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
571
+ type: z.ZodEnum<{
572
+ required: "required";
573
+ min: "min";
574
+ max: "max";
575
+ minLength: "minLength";
576
+ maxLength: "maxLength";
577
+ pattern: "pattern";
578
+ email: "email";
579
+ url: "url";
580
+ custom: "custom";
581
+ }>;
582
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
583
+ message: z.ZodOptional<z.ZodString>;
584
+ describe: z.ZodOptional<z.ZodString>;
585
+ }, z.core.$strip>>>>;
586
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
587
+ field: z.ZodString;
588
+ operator: z.ZodEnum<{
589
+ equals: "equals";
590
+ not_equals: "not_equals";
591
+ contains: "contains";
592
+ not_contains: "not_contains";
593
+ greater_than: "greater_than";
594
+ less_than: "less_than";
595
+ is_empty: "is_empty";
596
+ is_not_empty: "is_not_empty";
597
+ }>;
598
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
599
+ describe: z.ZodOptional<z.ZodString>;
600
+ }, z.core.$strip>>>>;
601
+ isFixed: z.ZodBoolean;
602
+ sectionId: z.ZodOptional<z.ZodString>;
603
+ status: z.ZodEnum<{
604
+ D: "D";
605
+ P: "P";
606
+ A: "A";
607
+ S: "S";
608
+ }>;
609
+ type: z.ZodLiteral<"nested_selection">;
610
+ placeholder: z.ZodOptional<z.ZodString>;
611
+ options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
612
+ displayStyle: z.ZodLiteral<"list">;
613
+ choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
614
+ randomize: "randomize";
615
+ flip: "flip";
616
+ rotate: "rotate";
617
+ ascending: "ascending";
618
+ none: "none";
619
+ }>>>;
620
+ preserveLastChoices: z.ZodOptional<z.ZodNumber>;
621
+ prepopulatedValue: z.ZodOptional<z.ZodString>;
622
+ allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
623
+ otherColumnName: z.ZodOptional<z.ZodString>;
624
+ maxDepth: z.ZodOptional<z.ZodNumber>;
625
+ cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
626
+ }, z.core.$strip>], "type">>;
627
+ sections: z.ZodArray<z.ZodObject<{
628
+ id: z.ZodUUID;
629
+ title: z.ZodString;
630
+ question_ids: z.ZodArray<z.ZodUUID>;
631
+ }, z.core.$strip>>;
632
+ selected_languages: z.ZodArray<z.ZodObject<{
633
+ value: z.ZodString;
634
+ label: z.ZodString;
635
+ isFixed: z.ZodDefault<z.ZodBoolean>;
636
+ }, z.core.$strip>>;
637
+ translations: z.ZodObject<{
638
+ defaultLanguage: z.ZodString;
639
+ languages: z.ZodArray<z.ZodObject<{
640
+ languageCode: z.ZodString;
641
+ questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
642
+ type: z.ZodLiteral<"rating">;
643
+ translations: z.ZodObject<{
644
+ title: z.ZodObject<{
645
+ text: z.ZodString;
646
+ context: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strip>;
648
+ description: z.ZodOptional<z.ZodObject<{
649
+ text: z.ZodString;
650
+ context: z.ZodOptional<z.ZodString>;
651
+ }, z.core.$strip>>;
652
+ errorMessage: z.ZodOptional<z.ZodObject<{
653
+ text: z.ZodString;
654
+ context: z.ZodOptional<z.ZodString>;
655
+ }, z.core.$strip>>;
656
+ minLabel: z.ZodOptional<z.ZodObject<{
657
+ text: z.ZodString;
658
+ context: z.ZodOptional<z.ZodString>;
659
+ }, z.core.$strip>>;
660
+ maxLabel: z.ZodOptional<z.ZodObject<{
661
+ text: z.ZodString;
662
+ context: z.ZodOptional<z.ZodString>;
663
+ }, z.core.$strip>>;
664
+ }, z.core.$strip>;
665
+ }, z.core.$strip>, z.ZodObject<{
666
+ type: z.ZodLiteral<"single_choice">;
667
+ translations: z.ZodObject<{
668
+ title: z.ZodObject<{
669
+ text: z.ZodString;
670
+ context: z.ZodOptional<z.ZodString>;
671
+ }, z.core.$strip>;
672
+ description: z.ZodOptional<z.ZodObject<{
673
+ text: z.ZodString;
674
+ context: z.ZodOptional<z.ZodString>;
675
+ }, z.core.$strip>>;
676
+ errorMessage: z.ZodOptional<z.ZodObject<{
677
+ text: z.ZodString;
678
+ context: z.ZodOptional<z.ZodString>;
679
+ }, z.core.$strip>>;
680
+ placeholder: z.ZodOptional<z.ZodObject<{
681
+ text: z.ZodString;
682
+ context: z.ZodOptional<z.ZodString>;
683
+ }, z.core.$strip>>;
684
+ options: z.ZodRecord<z.ZodString, z.ZodObject<{
685
+ label: z.ZodObject<{
686
+ text: z.ZodString;
687
+ context: z.ZodOptional<z.ZodString>;
688
+ }, z.core.$strip>;
689
+ hint: z.ZodOptional<z.ZodObject<{
690
+ text: z.ZodString;
691
+ context: z.ZodOptional<z.ZodString>;
692
+ }, z.core.$strip>>;
693
+ }, z.core.$strip>>;
694
+ }, z.core.$strip>;
695
+ }, z.core.$strip>, z.ZodObject<{
696
+ type: z.ZodLiteral<"multiple_choice_multiple">;
697
+ translations: z.ZodObject<{
698
+ title: z.ZodObject<{
699
+ text: z.ZodString;
700
+ context: z.ZodOptional<z.ZodString>;
701
+ }, z.core.$strip>;
702
+ description: z.ZodOptional<z.ZodObject<{
703
+ text: z.ZodString;
704
+ context: z.ZodOptional<z.ZodString>;
705
+ }, z.core.$strip>>;
706
+ errorMessage: z.ZodOptional<z.ZodObject<{
707
+ text: z.ZodString;
708
+ context: z.ZodOptional<z.ZodString>;
709
+ }, z.core.$strip>>;
710
+ placeholder: z.ZodOptional<z.ZodObject<{
711
+ text: z.ZodString;
712
+ context: z.ZodOptional<z.ZodString>;
713
+ }, z.core.$strip>>;
714
+ options: z.ZodRecord<z.ZodString, z.ZodObject<{
715
+ label: z.ZodObject<{
716
+ text: z.ZodString;
717
+ context: z.ZodOptional<z.ZodString>;
718
+ }, z.core.$strip>;
719
+ hint: z.ZodOptional<z.ZodObject<{
720
+ text: z.ZodString;
721
+ context: z.ZodOptional<z.ZodString>;
722
+ }, z.core.$strip>>;
723
+ }, z.core.$strip>>;
724
+ }, z.core.$strip>;
725
+ }, z.core.$strip>, z.ZodObject<{
726
+ type: z.ZodLiteral<"nps">;
727
+ translations: z.ZodObject<{
728
+ title: z.ZodObject<{
729
+ text: z.ZodString;
730
+ context: z.ZodOptional<z.ZodString>;
731
+ }, z.core.$strip>;
732
+ description: z.ZodOptional<z.ZodObject<{
733
+ text: z.ZodString;
734
+ context: z.ZodOptional<z.ZodString>;
735
+ }, z.core.$strip>>;
736
+ errorMessage: z.ZodOptional<z.ZodObject<{
737
+ text: z.ZodString;
738
+ context: z.ZodOptional<z.ZodString>;
739
+ }, z.core.$strip>>;
740
+ minLabel: z.ZodOptional<z.ZodObject<{
741
+ text: z.ZodString;
742
+ context: z.ZodOptional<z.ZodString>;
743
+ }, z.core.$strip>>;
744
+ maxLabel: z.ZodOptional<z.ZodObject<{
745
+ text: z.ZodString;
746
+ context: z.ZodOptional<z.ZodString>;
747
+ }, z.core.$strip>>;
748
+ scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodNumber, z.ZodObject<{
749
+ text: z.ZodString;
750
+ context: z.ZodOptional<z.ZodString>;
751
+ }, z.core.$strip>>>;
752
+ }, z.core.$strip>;
753
+ }, z.core.$strip>, z.ZodObject<{
754
+ type: z.ZodLiteral<"short_answer">;
755
+ translations: z.ZodObject<{
756
+ title: z.ZodObject<{
757
+ text: z.ZodString;
758
+ context: z.ZodOptional<z.ZodString>;
759
+ }, z.core.$strip>;
760
+ description: z.ZodOptional<z.ZodObject<{
761
+ text: z.ZodString;
762
+ context: z.ZodOptional<z.ZodString>;
763
+ }, z.core.$strip>>;
764
+ errorMessage: z.ZodOptional<z.ZodObject<{
765
+ text: z.ZodString;
766
+ context: z.ZodOptional<z.ZodString>;
767
+ }, z.core.$strip>>;
768
+ placeholder: z.ZodOptional<z.ZodObject<{
769
+ text: z.ZodString;
770
+ context: z.ZodOptional<z.ZodString>;
771
+ }, z.core.$strip>>;
772
+ }, z.core.$strip>;
773
+ }, z.core.$strip>, z.ZodObject<{
774
+ type: z.ZodLiteral<"long_text">;
775
+ translations: z.ZodObject<{
776
+ title: z.ZodObject<{
777
+ text: z.ZodString;
778
+ context: z.ZodOptional<z.ZodString>;
779
+ }, z.core.$strip>;
780
+ description: z.ZodOptional<z.ZodObject<{
781
+ text: z.ZodString;
782
+ context: z.ZodOptional<z.ZodString>;
783
+ }, z.core.$strip>>;
784
+ errorMessage: z.ZodOptional<z.ZodObject<{
785
+ text: z.ZodString;
786
+ context: z.ZodOptional<z.ZodString>;
787
+ }, z.core.$strip>>;
788
+ placeholder: z.ZodOptional<z.ZodObject<{
789
+ text: z.ZodString;
790
+ context: z.ZodOptional<z.ZodString>;
791
+ }, z.core.$strip>>;
792
+ }, z.core.$strip>;
793
+ }, z.core.$strip>, z.ZodObject<{
794
+ type: z.ZodLiteral<"nested_selection">;
795
+ translations: z.ZodObject<{
796
+ title: z.ZodObject<{
797
+ text: z.ZodString;
798
+ context: z.ZodOptional<z.ZodString>;
799
+ }, z.core.$strip>;
800
+ description: z.ZodOptional<z.ZodObject<{
801
+ text: z.ZodString;
802
+ context: z.ZodOptional<z.ZodString>;
803
+ }, z.core.$strip>>;
804
+ errorMessage: z.ZodOptional<z.ZodObject<{
805
+ text: z.ZodString;
806
+ context: z.ZodOptional<z.ZodString>;
807
+ }, z.core.$strip>>;
808
+ placeholder: z.ZodOptional<z.ZodObject<{
809
+ text: z.ZodString;
810
+ context: z.ZodOptional<z.ZodString>;
811
+ }, z.core.$strip>>;
812
+ nestedOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
813
+ label: z.ZodObject<{
814
+ text: z.ZodString;
815
+ context: z.ZodOptional<z.ZodString>;
816
+ }, z.core.$strip>;
817
+ hint: z.ZodOptional<z.ZodObject<{
818
+ text: z.ZodString;
819
+ context: z.ZodOptional<z.ZodString>;
820
+ }, z.core.$strip>>;
821
+ }, z.core.$strip>>;
822
+ }, z.core.$strip>;
823
+ }, z.core.$strip>, z.ZodObject<{
824
+ type: z.ZodLiteral<"annotation">;
825
+ translations: z.ZodObject<{
826
+ title: z.ZodObject<{
827
+ text: z.ZodString;
828
+ context: z.ZodOptional<z.ZodString>;
829
+ }, z.core.$strip>;
830
+ description: z.ZodOptional<z.ZodObject<{
831
+ text: z.ZodString;
832
+ context: z.ZodOptional<z.ZodString>;
833
+ }, z.core.$strip>>;
834
+ errorMessage: z.ZodOptional<z.ZodObject<{
835
+ text: z.ZodString;
836
+ context: z.ZodOptional<z.ZodString>;
837
+ }, z.core.$strip>>;
838
+ annotationText: z.ZodOptional<z.ZodObject<{
839
+ text: z.ZodString;
840
+ context: z.ZodOptional<z.ZodString>;
841
+ }, z.core.$strip>>;
842
+ noAnnotationText: z.ZodOptional<z.ZodObject<{
843
+ text: z.ZodString;
844
+ context: z.ZodOptional<z.ZodString>;
845
+ }, z.core.$strip>>;
846
+ }, z.core.$strip>;
847
+ }, z.core.$strip>], "type">>;
848
+ }, z.core.$strip>>;
849
+ version: z.ZodOptional<z.ZodString>;
850
+ }, z.core.$strip>;
851
+ }, z.core.$strip>;
852
+ frequency_and_scheduling_properties: z.ZodObject<{
853
+ surveyType: z.ZodEnum<{
854
+ R: "R";
855
+ O: "O";
856
+ }>;
857
+ showOnce: z.ZodEnum<{
858
+ Y: "Y";
859
+ N: "N";
860
+ }>;
861
+ stopWhenResponsesCount: z.ZodString;
862
+ recurringValue: z.ZodString;
863
+ recurringUnit: z.ZodEnum<{
864
+ minutes: "minutes";
865
+ hours: "hours";
866
+ days: "days";
867
+ weeks: "weeks";
868
+ months: "months";
869
+ years: "years";
870
+ }>;
871
+ startDate: z.ZodString;
872
+ stopDate: z.ZodString;
873
+ }, z.core.$strip>;
874
+ external_publishing_properties: z.ZodObject<{
875
+ isShareable: z.ZodBoolean;
876
+ isEmailShareable: z.ZodBoolean;
877
+ }, z.core.$strip>;
878
+ audience_trigger_properties: z.ZodObject<{
879
+ isAuto: z.ZodBoolean;
880
+ isManual: z.ZodBoolean;
881
+ segments: z.ZodArray<z.ZodObject<{
882
+ id: z.ZodString;
883
+ name: z.ZodString;
884
+ isImportant: z.ZodBoolean;
885
+ when: z.ZodString;
886
+ who: z.ZodString;
887
+ }, z.core.$strip>>;
888
+ }, z.core.$strip>;
889
+ other_configuration_properties: z.ZodDiscriminatedUnion<[z.ZodObject<{
890
+ isEnabled: z.ZodLiteral<false>;
891
+ otherFields: z.ZodOptional<z.ZodObject<{
892
+ pagination: z.ZodBoolean;
893
+ questionNumber: z.ZodBoolean;
894
+ pageTitle: z.ZodBoolean;
895
+ blockerFeedback: z.ZodBoolean;
896
+ submitButtonLabel: z.ZodString;
897
+ previousButtonLabel: z.ZodString;
898
+ nextButtonLabel: z.ZodString;
899
+ }, z.core.$strip>>;
900
+ translations: z.ZodOptional<z.ZodObject<{
901
+ submitButtonLabel: z.ZodString;
902
+ previousButtonLabel: z.ZodString;
903
+ nextButtonLabel: z.ZodString;
904
+ }, z.core.$strip>>;
905
+ }, z.core.$strip>, z.ZodObject<{
906
+ isEnabled: z.ZodLiteral<true>;
907
+ otherFields: z.ZodObject<{
908
+ pagination: z.ZodBoolean;
909
+ questionNumber: z.ZodBoolean;
910
+ pageTitle: z.ZodBoolean;
911
+ blockerFeedback: z.ZodBoolean;
912
+ submitButtonLabel: z.ZodString;
913
+ previousButtonLabel: z.ZodString;
914
+ nextButtonLabel: z.ZodString;
915
+ }, z.core.$strip>;
916
+ translations: z.ZodObject<{
917
+ submitButtonLabel: z.ZodString;
918
+ previousButtonLabel: z.ZodString;
919
+ nextButtonLabel: z.ZodString;
920
+ }, z.core.$strip>;
921
+ }, z.core.$strip>], "isEnabled">;
922
+ welcome_screen_properties: z.ZodDiscriminatedUnion<[z.ZodObject<{
923
+ isEnabled: z.ZodLiteral<false>;
924
+ welcomeFields: z.ZodOptional<z.ZodObject<{
925
+ title: z.ZodString;
926
+ description: z.ZodString;
927
+ buttonLabel: z.ZodString;
928
+ }, z.core.$strip>>;
929
+ translations: z.ZodOptional<z.ZodObject<{
930
+ title: z.ZodString;
931
+ description: z.ZodString;
932
+ buttonLabel: z.ZodString;
933
+ }, z.core.$strip>>;
934
+ }, z.core.$strip>, z.ZodObject<{
935
+ isEnabled: z.ZodLiteral<true>;
936
+ welcomeFields: z.ZodObject<{
937
+ title: z.ZodString;
938
+ description: z.ZodString;
939
+ buttonLabel: z.ZodString;
940
+ }, z.core.$strip>;
941
+ translations: z.ZodObject<{
942
+ title: z.ZodString;
943
+ description: z.ZodString;
944
+ buttonLabel: z.ZodString;
945
+ }, z.core.$strip>;
946
+ }, z.core.$strip>], "isEnabled">;
947
+ end_screen_properties: z.ZodDiscriminatedUnion<[z.ZodObject<{
948
+ isEnabled: z.ZodLiteral<false>;
949
+ endFields: z.ZodOptional<z.ZodObject<{
950
+ title: z.ZodString;
951
+ message: z.ZodString;
952
+ buttonLabel: z.ZodString;
953
+ dismissBehavior: z.ZodEnum<{
954
+ fade: "fade";
955
+ manual: "manual";
956
+ }>;
957
+ fadeDuration: z.ZodNumber;
958
+ }, z.core.$strip>>;
959
+ translations: z.ZodOptional<z.ZodObject<{
960
+ buttonLabel: z.ZodString;
961
+ title: z.ZodString;
962
+ message: z.ZodString;
963
+ }, z.core.$strip>>;
964
+ }, z.core.$strip>, z.ZodObject<{
965
+ isEnabled: z.ZodLiteral<true>;
966
+ endFields: z.ZodObject<{
967
+ title: z.ZodString;
968
+ message: z.ZodString;
969
+ buttonLabel: z.ZodString;
970
+ dismissBehavior: z.ZodEnum<{
971
+ fade: "fade";
972
+ manual: "manual";
973
+ }>;
974
+ fadeDuration: z.ZodNumber;
975
+ }, z.core.$strip>;
976
+ translations: z.ZodObject<{
977
+ buttonLabel: z.ZodString;
978
+ title: z.ZodString;
979
+ message: z.ZodString;
980
+ }, z.core.$strip>;
981
+ }, z.core.$strip>], "isEnabled">;
982
+ appearance_properties: z.ZodObject<{
983
+ themeConfiguration: z.ZodObject<{
984
+ themes: z.ZodObject<{
985
+ light: z.ZodObject<{
986
+ brandColor: z.ZodString;
987
+ overlayColor: z.ZodString;
988
+ textColor: z.ZodString;
989
+ backgroundColor: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
990
+ }, z.core.$strip>;
991
+ dark: z.ZodObject<{
992
+ brandColor: z.ZodString;
993
+ overlayColor: z.ZodString;
994
+ textColor: z.ZodString;
995
+ backgroundColor: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
996
+ }, z.core.$strip>;
997
+ }, z.core.$strip>;
998
+ featureSettings: z.ZodObject<{
999
+ darkOverlay: z.ZodBoolean;
1000
+ closeButton: z.ZodBoolean;
1001
+ progressBar: z.ZodBoolean;
1002
+ showBranding: z.ZodBoolean;
1003
+ customPosition: z.ZodBoolean;
1004
+ customIconPosition: z.ZodBoolean;
1005
+ }, z.core.$strip>;
1006
+ selectedPosition: z.ZodEnum<{
1007
+ "top-left": "top-left";
1008
+ "top-center": "top-center";
1009
+ "top-right": "top-right";
1010
+ "middle-left": "middle-left";
1011
+ "middle-center": "middle-center";
1012
+ "middle-right": "middle-right";
1013
+ "bottom-left": "bottom-left";
1014
+ "bottom-center": "bottom-center";
1015
+ "bottom-right": "bottom-right";
1016
+ }>;
1017
+ selectedIconPosition: z.ZodEnum<{
1018
+ "top-left": "top-left";
1019
+ "top-center": "top-center";
1020
+ "top-right": "top-right";
1021
+ "middle-left": "middle-left";
1022
+ "middle-center": "middle-center";
1023
+ "middle-right": "middle-right";
1024
+ "bottom-left": "bottom-left";
1025
+ "bottom-center": "bottom-center";
1026
+ "bottom-right": "bottom-right";
1027
+ }>;
1028
+ }, z.core.$strip>;
1029
+ }, z.core.$strip>;
1030
+ }, z.core.$strip>;
1031
+ export type FormProperties = z.infer<typeof formPropertiesSchema>;
1032
+ export type OtherConfigurationProperties = z.infer<typeof otherConfigurationPropertiesSchema>;
1033
+ export type WelcomeScreenProperties = z.infer<typeof welcomeScreenPropertiesSchema>;
1034
+ export type EndScreenProperties = z.infer<typeof endScreenPropertiesSchema>;
1035
+ export type AppearanceProperties = z.infer<typeof appearancePropertiesSchema>;