@encatch/schema 1.0.1-beta.3 → 1.1.0-beta.10

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