@encatch/schema 1.0.0 → 1.0.1-beta.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.
@@ -39,6 +39,16 @@ export declare const ShareableModes: {
39
39
  readonly DARK: "dark";
40
40
  readonly SYSTEM: "system";
41
41
  };
42
+ export declare const previousButtonModeSchema: z.ZodEnum<{
43
+ never: "never";
44
+ always: "always";
45
+ auto: "auto";
46
+ }>;
47
+ export declare const PreviousButtonModes: {
48
+ readonly NEVER: "never";
49
+ readonly ALWAYS: "always";
50
+ readonly AUTO: "auto";
51
+ };
42
52
  export declare const featureSettingsSchema: z.ZodObject<{
43
53
  darkOverlay: z.ZodBoolean;
44
54
  closeButton: z.ZodBoolean;
@@ -52,6 +62,13 @@ export declare const featureSettingsSchema: z.ZodObject<{
52
62
  dark: "dark";
53
63
  system: "system";
54
64
  }>>;
65
+ allowMultipleQuestionsPerSection: z.ZodBoolean;
66
+ rtl: z.ZodBoolean;
67
+ previousButton: z.ZodEnum<{
68
+ never: "never";
69
+ always: "always";
70
+ auto: "auto";
71
+ }>;
55
72
  }, z.core.$strip>;
56
73
  export declare const themeColorsSchema: z.ZodObject<{
57
74
  theme: z.ZodOptional<z.ZodString>;
@@ -86,6 +103,13 @@ export declare const themeConfigurationSchema: z.ZodObject<{
86
103
  dark: "dark";
87
104
  system: "system";
88
105
  }>>;
106
+ allowMultipleQuestionsPerSection: z.ZodBoolean;
107
+ rtl: z.ZodBoolean;
108
+ previousButton: z.ZodEnum<{
109
+ never: "never";
110
+ always: "always";
111
+ auto: "auto";
112
+ }>;
89
113
  }, z.core.$strip>;
90
114
  selectedPosition: z.ZodEnum<{
91
115
  "top-left": "top-left";
@@ -113,6 +137,7 @@ export declare const themeConfigurationSchema: z.ZodObject<{
113
137
  export type Position = z.infer<typeof positionSchema>;
114
138
  export type ThemeMode = z.infer<typeof themeModeSchema>;
115
139
  export type ShareableMode = z.infer<typeof shareableModeSchema>;
140
+ export type PreviousButtonMode = z.infer<typeof previousButtonModeSchema>;
116
141
  export type FeatureSettings = z.infer<typeof featureSettingsSchema>;
117
142
  export type ThemeColors = z.infer<typeof themeColorsSchema>;
118
143
  export type Themes = z.infer<typeof themesSchema>;
@@ -1,273 +1,572 @@
1
1
  import { z } from "zod";
2
2
  export declare const translationEntrySchema: z.ZodString;
3
+ export declare const baseQuestionTranslationFieldsSchema: z.ZodObject<{
4
+ title: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
7
+ errorMessage: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ export declare const BASE_QUESTION_TRANSLATION_KEYS: readonly ["type", "title", "description", "descriptionMarkdown", "errorMessage"];
3
10
  export declare const ratingQuestionTranslationSchema: z.ZodObject<{
4
- type: z.ZodLiteral<"rating">;
5
11
  title: z.ZodString;
6
12
  description: z.ZodOptional<z.ZodString>;
13
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
7
14
  errorMessage: z.ZodOptional<z.ZodString>;
15
+ type: z.ZodLiteral<"rating">;
8
16
  minLabel: z.ZodOptional<z.ZodString>;
9
17
  maxLabel: z.ZodOptional<z.ZodString>;
10
18
  }, z.core.$strip>;
11
19
  export declare const singleChoiceQuestionTranslationSchema: z.ZodObject<{
12
- type: z.ZodLiteral<"single_choice">;
13
20
  title: z.ZodString;
14
21
  description: z.ZodOptional<z.ZodString>;
22
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
15
23
  errorMessage: z.ZodOptional<z.ZodString>;
24
+ type: z.ZodLiteral<"single_choice">;
16
25
  placeholder: z.ZodOptional<z.ZodString>;
17
26
  }, z.core.$catchall<z.ZodString>>;
18
27
  export declare const multipleChoiceQuestionTranslationSchema: z.ZodObject<{
19
- type: z.ZodLiteral<"multiple_choice_multiple">;
20
28
  title: z.ZodString;
21
29
  description: z.ZodOptional<z.ZodString>;
30
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
22
31
  errorMessage: z.ZodOptional<z.ZodString>;
32
+ type: z.ZodLiteral<"multiple_choice_multiple">;
23
33
  placeholder: z.ZodOptional<z.ZodString>;
24
34
  }, z.core.$catchall<z.ZodString>>;
25
35
  export declare const npsQuestionTranslationSchema: z.ZodObject<{
26
- type: z.ZodLiteral<"nps">;
27
36
  title: z.ZodString;
28
37
  description: z.ZodOptional<z.ZodString>;
38
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
29
39
  errorMessage: z.ZodOptional<z.ZodString>;
40
+ type: z.ZodLiteral<"nps">;
30
41
  minLabel: z.ZodOptional<z.ZodString>;
31
42
  maxLabel: z.ZodOptional<z.ZodString>;
32
43
  }, z.core.$catchall<z.ZodString>>;
33
44
  export declare const shortAnswerQuestionTranslationSchema: z.ZodObject<{
34
- type: z.ZodLiteral<"short_answer">;
35
45
  title: z.ZodString;
36
46
  description: z.ZodOptional<z.ZodString>;
47
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
37
48
  errorMessage: z.ZodOptional<z.ZodString>;
49
+ type: z.ZodLiteral<"short_answer">;
38
50
  placeholder: z.ZodOptional<z.ZodString>;
39
51
  }, z.core.$strip>;
40
52
  export declare const longAnswerQuestionTranslationSchema: z.ZodObject<{
41
- type: z.ZodLiteral<"long_text">;
42
53
  title: z.ZodString;
43
54
  description: z.ZodOptional<z.ZodString>;
55
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
44
56
  errorMessage: z.ZodOptional<z.ZodString>;
57
+ type: z.ZodLiteral<"long_text">;
45
58
  placeholder: z.ZodOptional<z.ZodString>;
46
59
  }, z.core.$strip>;
47
60
  export declare const nestedSelectionQuestionTranslationSchema: z.ZodObject<{
48
- type: z.ZodLiteral<"nested_selection">;
49
61
  title: z.ZodString;
50
62
  description: z.ZodOptional<z.ZodString>;
63
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
51
64
  errorMessage: z.ZodOptional<z.ZodString>;
65
+ type: z.ZodLiteral<"nested_selection">;
52
66
  placeholder: z.ZodOptional<z.ZodString>;
53
67
  }, z.core.$catchall<z.ZodString>>;
54
68
  export declare const annotationQuestionTranslationSchema: z.ZodObject<{
55
- type: z.ZodLiteral<"annotation">;
56
69
  title: z.ZodString;
57
70
  description: z.ZodOptional<z.ZodString>;
71
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
58
72
  errorMessage: z.ZodOptional<z.ZodString>;
73
+ type: z.ZodLiteral<"annotation">;
59
74
  annotationText: z.ZodOptional<z.ZodString>;
60
75
  noAnnotationText: z.ZodOptional<z.ZodString>;
61
76
  }, z.core.$strip>;
77
+ export declare const welcomeQuestionTranslationSchema: z.ZodObject<{
78
+ title: z.ZodString;
79
+ description: z.ZodOptional<z.ZodString>;
80
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
81
+ errorMessage: z.ZodOptional<z.ZodString>;
82
+ type: z.ZodLiteral<"welcome">;
83
+ buttonLabel: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$strip>;
85
+ export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
86
+ title: z.ZodString;
87
+ description: z.ZodOptional<z.ZodString>;
88
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
89
+ errorMessage: z.ZodOptional<z.ZodString>;
90
+ type: z.ZodLiteral<"thank_you">;
91
+ buttonLabel: z.ZodOptional<z.ZodString>;
92
+ }, z.core.$strip>;
93
+ export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
94
+ title: z.ZodString;
95
+ description: z.ZodOptional<z.ZodString>;
96
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
97
+ errorMessage: z.ZodOptional<z.ZodString>;
98
+ type: z.ZodLiteral<"message_panel">;
99
+ buttonLabel: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strip>;
101
+ export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
102
+ title: z.ZodString;
103
+ description: z.ZodOptional<z.ZodString>;
104
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
105
+ errorMessage: z.ZodOptional<z.ZodString>;
106
+ type: z.ZodLiteral<"yes_no">;
107
+ yesLabel: z.ZodOptional<z.ZodString>;
108
+ noLabel: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strip>;
110
+ export declare const ratingMatrixQuestionTranslationSchema: z.ZodObject<{
111
+ title: z.ZodString;
112
+ description: z.ZodOptional<z.ZodString>;
113
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
114
+ errorMessage: z.ZodOptional<z.ZodString>;
115
+ type: z.ZodLiteral<"rating_matrix">;
116
+ minLabel: z.ZodOptional<z.ZodString>;
117
+ maxLabel: z.ZodOptional<z.ZodString>;
118
+ }, z.core.$catchall<z.ZodString>>;
119
+ export declare const matrixSingleChoiceQuestionTranslationSchema: z.ZodObject<{
120
+ title: z.ZodString;
121
+ description: z.ZodOptional<z.ZodString>;
122
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
123
+ errorMessage: z.ZodOptional<z.ZodString>;
124
+ type: z.ZodLiteral<"matrix_single_choice">;
125
+ }, z.core.$catchall<z.ZodString>>;
126
+ export declare const matrixMultipleChoiceQuestionTranslationSchema: z.ZodObject<{
127
+ title: z.ZodString;
128
+ description: z.ZodOptional<z.ZodString>;
129
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
130
+ errorMessage: z.ZodOptional<z.ZodString>;
131
+ type: z.ZodLiteral<"matrix_multiple_choice">;
132
+ }, z.core.$catchall<z.ZodString>>;
62
133
  export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject<{
63
- type: z.ZodLiteral<"rating">;
64
134
  title: z.ZodString;
65
135
  description: z.ZodOptional<z.ZodString>;
136
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
66
137
  errorMessage: z.ZodOptional<z.ZodString>;
138
+ type: z.ZodLiteral<"rating">;
67
139
  minLabel: z.ZodOptional<z.ZodString>;
68
140
  maxLabel: z.ZodOptional<z.ZodString>;
69
141
  }, z.core.$strip>, z.ZodObject<{
70
- type: z.ZodLiteral<"single_choice">;
71
142
  title: z.ZodString;
72
143
  description: z.ZodOptional<z.ZodString>;
144
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
73
145
  errorMessage: z.ZodOptional<z.ZodString>;
146
+ type: z.ZodLiteral<"single_choice">;
74
147
  placeholder: z.ZodOptional<z.ZodString>;
75
148
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
76
- type: z.ZodLiteral<"multiple_choice_multiple">;
77
149
  title: z.ZodString;
78
150
  description: z.ZodOptional<z.ZodString>;
151
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
79
152
  errorMessage: z.ZodOptional<z.ZodString>;
153
+ type: z.ZodLiteral<"multiple_choice_multiple">;
80
154
  placeholder: z.ZodOptional<z.ZodString>;
81
155
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
82
- type: z.ZodLiteral<"nps">;
83
156
  title: z.ZodString;
84
157
  description: z.ZodOptional<z.ZodString>;
158
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
85
159
  errorMessage: z.ZodOptional<z.ZodString>;
160
+ type: z.ZodLiteral<"nps">;
86
161
  minLabel: z.ZodOptional<z.ZodString>;
87
162
  maxLabel: z.ZodOptional<z.ZodString>;
88
163
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
89
- type: z.ZodLiteral<"short_answer">;
90
164
  title: z.ZodString;
91
165
  description: z.ZodOptional<z.ZodString>;
166
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
92
167
  errorMessage: z.ZodOptional<z.ZodString>;
168
+ type: z.ZodLiteral<"short_answer">;
93
169
  placeholder: z.ZodOptional<z.ZodString>;
94
170
  }, z.core.$strip>, z.ZodObject<{
95
- type: z.ZodLiteral<"long_text">;
96
171
  title: z.ZodString;
97
172
  description: z.ZodOptional<z.ZodString>;
173
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
98
174
  errorMessage: z.ZodOptional<z.ZodString>;
175
+ type: z.ZodLiteral<"long_text">;
99
176
  placeholder: z.ZodOptional<z.ZodString>;
100
177
  }, z.core.$strip>, z.ZodObject<{
101
- type: z.ZodLiteral<"nested_selection">;
102
178
  title: z.ZodString;
103
179
  description: z.ZodOptional<z.ZodString>;
180
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
104
181
  errorMessage: z.ZodOptional<z.ZodString>;
182
+ type: z.ZodLiteral<"nested_selection">;
105
183
  placeholder: z.ZodOptional<z.ZodString>;
106
184
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
107
- type: z.ZodLiteral<"annotation">;
108
185
  title: z.ZodString;
109
186
  description: z.ZodOptional<z.ZodString>;
187
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
110
188
  errorMessage: z.ZodOptional<z.ZodString>;
189
+ type: z.ZodLiteral<"annotation">;
111
190
  annotationText: z.ZodOptional<z.ZodString>;
112
191
  noAnnotationText: z.ZodOptional<z.ZodString>;
113
- }, z.core.$strip>]>;
192
+ }, z.core.$strip>, z.ZodObject<{
193
+ title: z.ZodString;
194
+ description: z.ZodOptional<z.ZodString>;
195
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
196
+ errorMessage: z.ZodOptional<z.ZodString>;
197
+ type: z.ZodLiteral<"welcome">;
198
+ buttonLabel: z.ZodOptional<z.ZodString>;
199
+ }, z.core.$strip>, z.ZodObject<{
200
+ title: z.ZodString;
201
+ description: z.ZodOptional<z.ZodString>;
202
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
203
+ errorMessage: z.ZodOptional<z.ZodString>;
204
+ type: z.ZodLiteral<"thank_you">;
205
+ buttonLabel: z.ZodOptional<z.ZodString>;
206
+ }, z.core.$strip>, z.ZodObject<{
207
+ title: z.ZodString;
208
+ description: z.ZodOptional<z.ZodString>;
209
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
210
+ errorMessage: z.ZodOptional<z.ZodString>;
211
+ type: z.ZodLiteral<"message_panel">;
212
+ buttonLabel: z.ZodOptional<z.ZodString>;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ title: z.ZodString;
215
+ description: z.ZodOptional<z.ZodString>;
216
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
217
+ errorMessage: z.ZodOptional<z.ZodString>;
218
+ type: z.ZodLiteral<"yes_no">;
219
+ yesLabel: z.ZodOptional<z.ZodString>;
220
+ noLabel: z.ZodOptional<z.ZodString>;
221
+ }, z.core.$strip>, z.ZodObject<{
222
+ title: z.ZodString;
223
+ description: z.ZodOptional<z.ZodString>;
224
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
225
+ errorMessage: z.ZodOptional<z.ZodString>;
226
+ type: z.ZodLiteral<"rating_matrix">;
227
+ minLabel: z.ZodOptional<z.ZodString>;
228
+ maxLabel: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
230
+ title: z.ZodString;
231
+ description: z.ZodOptional<z.ZodString>;
232
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
233
+ errorMessage: z.ZodOptional<z.ZodString>;
234
+ type: z.ZodLiteral<"matrix_single_choice">;
235
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
236
+ title: z.ZodString;
237
+ description: z.ZodOptional<z.ZodString>;
238
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
239
+ errorMessage: z.ZodOptional<z.ZodString>;
240
+ type: z.ZodLiteral<"matrix_multiple_choice">;
241
+ }, z.core.$catchall<z.ZodString>>]>;
114
242
  export declare const languageCodeSchema: z.ZodString;
115
243
  export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
116
- type: z.ZodLiteral<"rating">;
117
244
  title: z.ZodString;
118
245
  description: z.ZodOptional<z.ZodString>;
246
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
119
247
  errorMessage: z.ZodOptional<z.ZodString>;
248
+ type: z.ZodLiteral<"rating">;
120
249
  minLabel: z.ZodOptional<z.ZodString>;
121
250
  maxLabel: z.ZodOptional<z.ZodString>;
122
251
  }, z.core.$strip>, z.ZodObject<{
123
- type: z.ZodLiteral<"single_choice">;
124
252
  title: z.ZodString;
125
253
  description: z.ZodOptional<z.ZodString>;
254
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
126
255
  errorMessage: z.ZodOptional<z.ZodString>;
256
+ type: z.ZodLiteral<"single_choice">;
127
257
  placeholder: z.ZodOptional<z.ZodString>;
128
258
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
129
- type: z.ZodLiteral<"multiple_choice_multiple">;
130
259
  title: z.ZodString;
131
260
  description: z.ZodOptional<z.ZodString>;
261
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
132
262
  errorMessage: z.ZodOptional<z.ZodString>;
263
+ type: z.ZodLiteral<"multiple_choice_multiple">;
133
264
  placeholder: z.ZodOptional<z.ZodString>;
134
265
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
135
- type: z.ZodLiteral<"nps">;
136
266
  title: z.ZodString;
137
267
  description: z.ZodOptional<z.ZodString>;
268
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
138
269
  errorMessage: z.ZodOptional<z.ZodString>;
270
+ type: z.ZodLiteral<"nps">;
139
271
  minLabel: z.ZodOptional<z.ZodString>;
140
272
  maxLabel: z.ZodOptional<z.ZodString>;
141
273
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
142
- type: z.ZodLiteral<"short_answer">;
143
274
  title: z.ZodString;
144
275
  description: z.ZodOptional<z.ZodString>;
276
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
145
277
  errorMessage: z.ZodOptional<z.ZodString>;
278
+ type: z.ZodLiteral<"short_answer">;
146
279
  placeholder: z.ZodOptional<z.ZodString>;
147
280
  }, z.core.$strip>, z.ZodObject<{
148
- type: z.ZodLiteral<"long_text">;
149
281
  title: z.ZodString;
150
282
  description: z.ZodOptional<z.ZodString>;
283
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
151
284
  errorMessage: z.ZodOptional<z.ZodString>;
285
+ type: z.ZodLiteral<"long_text">;
152
286
  placeholder: z.ZodOptional<z.ZodString>;
153
287
  }, z.core.$strip>, z.ZodObject<{
154
- type: z.ZodLiteral<"nested_selection">;
155
288
  title: z.ZodString;
156
289
  description: z.ZodOptional<z.ZodString>;
290
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
157
291
  errorMessage: z.ZodOptional<z.ZodString>;
292
+ type: z.ZodLiteral<"nested_selection">;
158
293
  placeholder: z.ZodOptional<z.ZodString>;
159
294
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
160
- type: z.ZodLiteral<"annotation">;
161
295
  title: z.ZodString;
162
296
  description: z.ZodOptional<z.ZodString>;
297
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
163
298
  errorMessage: z.ZodOptional<z.ZodString>;
299
+ type: z.ZodLiteral<"annotation">;
164
300
  annotationText: z.ZodOptional<z.ZodString>;
165
301
  noAnnotationText: z.ZodOptional<z.ZodString>;
166
- }, z.core.$strip>]>>;
302
+ }, z.core.$strip>, z.ZodObject<{
303
+ title: z.ZodString;
304
+ description: z.ZodOptional<z.ZodString>;
305
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
306
+ errorMessage: z.ZodOptional<z.ZodString>;
307
+ type: z.ZodLiteral<"welcome">;
308
+ buttonLabel: z.ZodOptional<z.ZodString>;
309
+ }, z.core.$strip>, z.ZodObject<{
310
+ title: z.ZodString;
311
+ description: z.ZodOptional<z.ZodString>;
312
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
313
+ errorMessage: z.ZodOptional<z.ZodString>;
314
+ type: z.ZodLiteral<"thank_you">;
315
+ buttonLabel: z.ZodOptional<z.ZodString>;
316
+ }, z.core.$strip>, z.ZodObject<{
317
+ title: z.ZodString;
318
+ description: z.ZodOptional<z.ZodString>;
319
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
320
+ errorMessage: z.ZodOptional<z.ZodString>;
321
+ type: z.ZodLiteral<"message_panel">;
322
+ buttonLabel: z.ZodOptional<z.ZodString>;
323
+ }, z.core.$strip>, z.ZodObject<{
324
+ title: z.ZodString;
325
+ description: z.ZodOptional<z.ZodString>;
326
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
327
+ errorMessage: z.ZodOptional<z.ZodString>;
328
+ type: z.ZodLiteral<"yes_no">;
329
+ yesLabel: z.ZodOptional<z.ZodString>;
330
+ noLabel: z.ZodOptional<z.ZodString>;
331
+ }, z.core.$strip>, z.ZodObject<{
332
+ title: z.ZodString;
333
+ description: z.ZodOptional<z.ZodString>;
334
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
335
+ errorMessage: z.ZodOptional<z.ZodString>;
336
+ type: z.ZodLiteral<"rating_matrix">;
337
+ minLabel: z.ZodOptional<z.ZodString>;
338
+ maxLabel: z.ZodOptional<z.ZodString>;
339
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
340
+ title: z.ZodString;
341
+ description: z.ZodOptional<z.ZodString>;
342
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
343
+ errorMessage: z.ZodOptional<z.ZodString>;
344
+ type: z.ZodLiteral<"matrix_single_choice">;
345
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
346
+ title: z.ZodString;
347
+ description: z.ZodOptional<z.ZodString>;
348
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
349
+ errorMessage: z.ZodOptional<z.ZodString>;
350
+ type: z.ZodLiteral<"matrix_multiple_choice">;
351
+ }, z.core.$catchall<z.ZodString>>]>>;
167
352
  export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
168
- type: z.ZodLiteral<"rating">;
169
353
  title: z.ZodString;
170
354
  description: z.ZodOptional<z.ZodString>;
355
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
171
356
  errorMessage: z.ZodOptional<z.ZodString>;
357
+ type: z.ZodLiteral<"rating">;
172
358
  minLabel: z.ZodOptional<z.ZodString>;
173
359
  maxLabel: z.ZodOptional<z.ZodString>;
174
360
  }, z.core.$strip>, z.ZodObject<{
175
- type: z.ZodLiteral<"single_choice">;
176
361
  title: z.ZodString;
177
362
  description: z.ZodOptional<z.ZodString>;
363
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
178
364
  errorMessage: z.ZodOptional<z.ZodString>;
365
+ type: z.ZodLiteral<"single_choice">;
179
366
  placeholder: z.ZodOptional<z.ZodString>;
180
367
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
181
- type: z.ZodLiteral<"multiple_choice_multiple">;
182
368
  title: z.ZodString;
183
369
  description: z.ZodOptional<z.ZodString>;
370
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
184
371
  errorMessage: z.ZodOptional<z.ZodString>;
372
+ type: z.ZodLiteral<"multiple_choice_multiple">;
185
373
  placeholder: z.ZodOptional<z.ZodString>;
186
374
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
187
- type: z.ZodLiteral<"nps">;
188
375
  title: z.ZodString;
189
376
  description: z.ZodOptional<z.ZodString>;
377
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
190
378
  errorMessage: z.ZodOptional<z.ZodString>;
379
+ type: z.ZodLiteral<"nps">;
191
380
  minLabel: z.ZodOptional<z.ZodString>;
192
381
  maxLabel: z.ZodOptional<z.ZodString>;
193
382
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
194
- type: z.ZodLiteral<"short_answer">;
195
383
  title: z.ZodString;
196
384
  description: z.ZodOptional<z.ZodString>;
385
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
197
386
  errorMessage: z.ZodOptional<z.ZodString>;
387
+ type: z.ZodLiteral<"short_answer">;
198
388
  placeholder: z.ZodOptional<z.ZodString>;
199
389
  }, z.core.$strip>, z.ZodObject<{
200
- type: z.ZodLiteral<"long_text">;
201
390
  title: z.ZodString;
202
391
  description: z.ZodOptional<z.ZodString>;
392
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
203
393
  errorMessage: z.ZodOptional<z.ZodString>;
394
+ type: z.ZodLiteral<"long_text">;
204
395
  placeholder: z.ZodOptional<z.ZodString>;
205
396
  }, z.core.$strip>, z.ZodObject<{
206
- type: z.ZodLiteral<"nested_selection">;
207
397
  title: z.ZodString;
208
398
  description: z.ZodOptional<z.ZodString>;
399
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
209
400
  errorMessage: z.ZodOptional<z.ZodString>;
401
+ type: z.ZodLiteral<"nested_selection">;
210
402
  placeholder: z.ZodOptional<z.ZodString>;
211
403
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
212
- type: z.ZodLiteral<"annotation">;
213
404
  title: z.ZodString;
214
405
  description: z.ZodOptional<z.ZodString>;
406
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
215
407
  errorMessage: z.ZodOptional<z.ZodString>;
408
+ type: z.ZodLiteral<"annotation">;
216
409
  annotationText: z.ZodOptional<z.ZodString>;
217
410
  noAnnotationText: z.ZodOptional<z.ZodString>;
218
- }, z.core.$strip>]>>>;
411
+ }, z.core.$strip>, z.ZodObject<{
412
+ title: z.ZodString;
413
+ description: z.ZodOptional<z.ZodString>;
414
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
415
+ errorMessage: z.ZodOptional<z.ZodString>;
416
+ type: z.ZodLiteral<"welcome">;
417
+ buttonLabel: z.ZodOptional<z.ZodString>;
418
+ }, z.core.$strip>, z.ZodObject<{
419
+ title: z.ZodString;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
422
+ errorMessage: z.ZodOptional<z.ZodString>;
423
+ type: z.ZodLiteral<"thank_you">;
424
+ buttonLabel: z.ZodOptional<z.ZodString>;
425
+ }, z.core.$strip>, z.ZodObject<{
426
+ title: z.ZodString;
427
+ description: z.ZodOptional<z.ZodString>;
428
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
429
+ errorMessage: z.ZodOptional<z.ZodString>;
430
+ type: z.ZodLiteral<"message_panel">;
431
+ buttonLabel: z.ZodOptional<z.ZodString>;
432
+ }, z.core.$strip>, z.ZodObject<{
433
+ title: z.ZodString;
434
+ description: z.ZodOptional<z.ZodString>;
435
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
436
+ errorMessage: z.ZodOptional<z.ZodString>;
437
+ type: z.ZodLiteral<"yes_no">;
438
+ yesLabel: z.ZodOptional<z.ZodString>;
439
+ noLabel: z.ZodOptional<z.ZodString>;
440
+ }, z.core.$strip>, z.ZodObject<{
441
+ title: z.ZodString;
442
+ description: z.ZodOptional<z.ZodString>;
443
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
444
+ errorMessage: z.ZodOptional<z.ZodString>;
445
+ type: z.ZodLiteral<"rating_matrix">;
446
+ minLabel: z.ZodOptional<z.ZodString>;
447
+ maxLabel: z.ZodOptional<z.ZodString>;
448
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
449
+ title: z.ZodString;
450
+ description: z.ZodOptional<z.ZodString>;
451
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
452
+ errorMessage: z.ZodOptional<z.ZodString>;
453
+ type: z.ZodLiteral<"matrix_single_choice">;
454
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
455
+ title: z.ZodString;
456
+ description: z.ZodOptional<z.ZodString>;
457
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
458
+ errorMessage: z.ZodOptional<z.ZodString>;
459
+ type: z.ZodLiteral<"matrix_multiple_choice">;
460
+ }, z.core.$catchall<z.ZodString>>]>>>;
219
461
  export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
220
- type: z.ZodLiteral<"rating">;
221
462
  title: z.ZodString;
222
463
  description: z.ZodOptional<z.ZodString>;
464
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
223
465
  errorMessage: z.ZodOptional<z.ZodString>;
466
+ type: z.ZodLiteral<"rating">;
224
467
  minLabel: z.ZodOptional<z.ZodString>;
225
468
  maxLabel: z.ZodOptional<z.ZodString>;
226
469
  }, z.core.$strip>, z.ZodObject<{
227
- type: z.ZodLiteral<"single_choice">;
228
470
  title: z.ZodString;
229
471
  description: z.ZodOptional<z.ZodString>;
472
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
230
473
  errorMessage: z.ZodOptional<z.ZodString>;
474
+ type: z.ZodLiteral<"single_choice">;
231
475
  placeholder: z.ZodOptional<z.ZodString>;
232
476
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
233
- type: z.ZodLiteral<"multiple_choice_multiple">;
234
477
  title: z.ZodString;
235
478
  description: z.ZodOptional<z.ZodString>;
479
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
236
480
  errorMessage: z.ZodOptional<z.ZodString>;
481
+ type: z.ZodLiteral<"multiple_choice_multiple">;
237
482
  placeholder: z.ZodOptional<z.ZodString>;
238
483
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
239
- type: z.ZodLiteral<"nps">;
240
484
  title: z.ZodString;
241
485
  description: z.ZodOptional<z.ZodString>;
486
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
242
487
  errorMessage: z.ZodOptional<z.ZodString>;
488
+ type: z.ZodLiteral<"nps">;
243
489
  minLabel: z.ZodOptional<z.ZodString>;
244
490
  maxLabel: z.ZodOptional<z.ZodString>;
245
491
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
246
- type: z.ZodLiteral<"short_answer">;
247
492
  title: z.ZodString;
248
493
  description: z.ZodOptional<z.ZodString>;
494
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
249
495
  errorMessage: z.ZodOptional<z.ZodString>;
496
+ type: z.ZodLiteral<"short_answer">;
250
497
  placeholder: z.ZodOptional<z.ZodString>;
251
498
  }, z.core.$strip>, z.ZodObject<{
252
- type: z.ZodLiteral<"long_text">;
253
499
  title: z.ZodString;
254
500
  description: z.ZodOptional<z.ZodString>;
501
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
255
502
  errorMessage: z.ZodOptional<z.ZodString>;
503
+ type: z.ZodLiteral<"long_text">;
256
504
  placeholder: z.ZodOptional<z.ZodString>;
257
505
  }, z.core.$strip>, z.ZodObject<{
258
- type: z.ZodLiteral<"nested_selection">;
259
506
  title: z.ZodString;
260
507
  description: z.ZodOptional<z.ZodString>;
508
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
261
509
  errorMessage: z.ZodOptional<z.ZodString>;
510
+ type: z.ZodLiteral<"nested_selection">;
262
511
  placeholder: z.ZodOptional<z.ZodString>;
263
512
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
264
- type: z.ZodLiteral<"annotation">;
265
513
  title: z.ZodString;
266
514
  description: z.ZodOptional<z.ZodString>;
515
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
267
516
  errorMessage: z.ZodOptional<z.ZodString>;
517
+ type: z.ZodLiteral<"annotation">;
268
518
  annotationText: z.ZodOptional<z.ZodString>;
269
519
  noAnnotationText: z.ZodOptional<z.ZodString>;
270
- }, z.core.$strip>]>>>;
520
+ }, z.core.$strip>, z.ZodObject<{
521
+ title: z.ZodString;
522
+ description: z.ZodOptional<z.ZodString>;
523
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
524
+ errorMessage: z.ZodOptional<z.ZodString>;
525
+ type: z.ZodLiteral<"welcome">;
526
+ buttonLabel: z.ZodOptional<z.ZodString>;
527
+ }, z.core.$strip>, z.ZodObject<{
528
+ title: z.ZodString;
529
+ description: z.ZodOptional<z.ZodString>;
530
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
531
+ errorMessage: z.ZodOptional<z.ZodString>;
532
+ type: z.ZodLiteral<"thank_you">;
533
+ buttonLabel: z.ZodOptional<z.ZodString>;
534
+ }, z.core.$strip>, z.ZodObject<{
535
+ title: z.ZodString;
536
+ description: z.ZodOptional<z.ZodString>;
537
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
538
+ errorMessage: z.ZodOptional<z.ZodString>;
539
+ type: z.ZodLiteral<"message_panel">;
540
+ buttonLabel: z.ZodOptional<z.ZodString>;
541
+ }, z.core.$strip>, z.ZodObject<{
542
+ title: z.ZodString;
543
+ description: z.ZodOptional<z.ZodString>;
544
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
545
+ errorMessage: z.ZodOptional<z.ZodString>;
546
+ type: z.ZodLiteral<"yes_no">;
547
+ yesLabel: z.ZodOptional<z.ZodString>;
548
+ noLabel: z.ZodOptional<z.ZodString>;
549
+ }, z.core.$strip>, z.ZodObject<{
550
+ title: z.ZodString;
551
+ description: z.ZodOptional<z.ZodString>;
552
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
553
+ errorMessage: z.ZodOptional<z.ZodString>;
554
+ type: z.ZodLiteral<"rating_matrix">;
555
+ minLabel: z.ZodOptional<z.ZodString>;
556
+ maxLabel: z.ZodOptional<z.ZodString>;
557
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
558
+ title: z.ZodString;
559
+ description: z.ZodOptional<z.ZodString>;
560
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
561
+ errorMessage: z.ZodOptional<z.ZodString>;
562
+ type: z.ZodLiteral<"matrix_single_choice">;
563
+ }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
564
+ title: z.ZodString;
565
+ description: z.ZodOptional<z.ZodString>;
566
+ descriptionMarkdown: z.ZodOptional<z.ZodString>;
567
+ errorMessage: z.ZodOptional<z.ZodString>;
568
+ type: z.ZodLiteral<"matrix_multiple_choice">;
569
+ }, z.core.$catchall<z.ZodString>>]>>>;
271
570
  export type TranslationEntry = z.infer<typeof translationEntrySchema>;
272
571
  export type RatingQuestionTranslation = z.infer<typeof ratingQuestionTranslationSchema>;
273
572
  export type SingleChoiceQuestionTranslation = z.infer<typeof singleChoiceQuestionTranslationSchema>;
@@ -277,6 +576,13 @@ export type ShortAnswerQuestionTranslation = z.infer<typeof shortAnswerQuestionT
277
576
  export type LongAnswerQuestionTranslation = z.infer<typeof longAnswerQuestionTranslationSchema>;
278
577
  export type NestedSelectionQuestionTranslation = z.infer<typeof nestedSelectionQuestionTranslationSchema>;
279
578
  export type AnnotationQuestionTranslation = z.infer<typeof annotationQuestionTranslationSchema>;
579
+ export type WelcomeQuestionTranslation = z.infer<typeof welcomeQuestionTranslationSchema>;
580
+ export type ThankYouQuestionTranslation = z.infer<typeof thankYouQuestionTranslationSchema>;
581
+ export type MessagePanelQuestionTranslation = z.infer<typeof messagePanelQuestionTranslationSchema>;
582
+ export type YesNoQuestionTranslation = z.infer<typeof yesNoQuestionTranslationSchema>;
583
+ export type RatingMatrixQuestionTranslation = z.infer<typeof ratingMatrixQuestionTranslationSchema>;
584
+ export type MatrixSingleChoiceQuestionTranslation = z.infer<typeof matrixSingleChoiceQuestionTranslationSchema>;
585
+ export type MatrixMultipleChoiceQuestionTranslation = z.infer<typeof matrixMultipleChoiceQuestionTranslationSchema>;
280
586
  export type QuestionTranslation = z.infer<typeof questionTranslationSchema>;
281
587
  export type LanguageCode = z.infer<typeof languageCodeSchema>;
282
588
  export type QuestionTranslationsByLanguage = z.infer<typeof questionTranslationsByLanguageSchema>;