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

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.
@@ -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,6 +78,7 @@ 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
83
  buttonLabel: z.ZodOptional<z.ZodString>;
74
84
  }, z.core.$strip>;
@@ -76,6 +86,7 @@ export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
76
86
  title: z.ZodString;
77
87
  description: z.ZodOptional<z.ZodString>;
78
88
  errorMessage: z.ZodOptional<z.ZodString>;
89
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
79
90
  type: z.ZodLiteral<"thank_you">;
80
91
  buttonLabel: z.ZodOptional<z.ZodString>;
81
92
  }, z.core.$strip>;
@@ -83,6 +94,7 @@ export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
83
94
  title: z.ZodString;
84
95
  description: z.ZodOptional<z.ZodString>;
85
96
  errorMessage: z.ZodOptional<z.ZodString>;
97
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
86
98
  type: z.ZodLiteral<"message_panel">;
87
99
  buttonLabel: z.ZodOptional<z.ZodString>;
88
100
  }, z.core.$strip>;
@@ -90,6 +102,7 @@ export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
90
102
  title: z.ZodString;
91
103
  description: z.ZodOptional<z.ZodString>;
92
104
  errorMessage: z.ZodOptional<z.ZodString>;
105
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
93
106
  type: z.ZodLiteral<"yes_no">;
94
107
  yesLabel: z.ZodOptional<z.ZodString>;
95
108
  noLabel: z.ZodOptional<z.ZodString>;
@@ -98,6 +111,7 @@ export declare const ratingMatrixQuestionTranslationSchema: z.ZodObject<{
98
111
  title: z.ZodString;
99
112
  description: z.ZodOptional<z.ZodString>;
100
113
  errorMessage: z.ZodOptional<z.ZodString>;
114
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
101
115
  type: z.ZodLiteral<"rating_matrix">;
102
116
  minLabel: z.ZodOptional<z.ZodString>;
103
117
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -106,18 +120,21 @@ export declare const matrixSingleChoiceQuestionTranslationSchema: z.ZodObject<{
106
120
  title: z.ZodString;
107
121
  description: z.ZodOptional<z.ZodString>;
108
122
  errorMessage: z.ZodOptional<z.ZodString>;
123
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
109
124
  type: z.ZodLiteral<"matrix_single_choice">;
110
125
  }, z.core.$catchall<z.ZodString>>;
111
126
  export declare const matrixMultipleChoiceQuestionTranslationSchema: z.ZodObject<{
112
127
  title: z.ZodString;
113
128
  description: z.ZodOptional<z.ZodString>;
114
129
  errorMessage: z.ZodOptional<z.ZodString>;
130
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
115
131
  type: z.ZodLiteral<"matrix_multiple_choice">;
116
132
  }, z.core.$catchall<z.ZodString>>;
117
133
  export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject<{
118
134
  title: z.ZodString;
119
135
  description: z.ZodOptional<z.ZodString>;
120
136
  errorMessage: z.ZodOptional<z.ZodString>;
137
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
121
138
  type: z.ZodLiteral<"rating">;
122
139
  minLabel: z.ZodOptional<z.ZodString>;
123
140
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -125,18 +142,21 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
125
142
  title: z.ZodString;
126
143
  description: z.ZodOptional<z.ZodString>;
127
144
  errorMessage: z.ZodOptional<z.ZodString>;
145
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
128
146
  type: z.ZodLiteral<"single_choice">;
129
147
  placeholder: z.ZodOptional<z.ZodString>;
130
148
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
131
149
  title: z.ZodString;
132
150
  description: z.ZodOptional<z.ZodString>;
133
151
  errorMessage: z.ZodOptional<z.ZodString>;
152
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
134
153
  type: z.ZodLiteral<"multiple_choice_multiple">;
135
154
  placeholder: z.ZodOptional<z.ZodString>;
136
155
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
137
156
  title: z.ZodString;
138
157
  description: z.ZodOptional<z.ZodString>;
139
158
  errorMessage: z.ZodOptional<z.ZodString>;
159
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
140
160
  type: z.ZodLiteral<"nps">;
141
161
  minLabel: z.ZodOptional<z.ZodString>;
142
162
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -144,24 +164,28 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
144
164
  title: z.ZodString;
145
165
  description: z.ZodOptional<z.ZodString>;
146
166
  errorMessage: z.ZodOptional<z.ZodString>;
167
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
147
168
  type: z.ZodLiteral<"short_answer">;
148
169
  placeholder: z.ZodOptional<z.ZodString>;
149
170
  }, z.core.$strip>, z.ZodObject<{
150
171
  title: z.ZodString;
151
172
  description: z.ZodOptional<z.ZodString>;
152
173
  errorMessage: z.ZodOptional<z.ZodString>;
174
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
153
175
  type: z.ZodLiteral<"long_text">;
154
176
  placeholder: z.ZodOptional<z.ZodString>;
155
177
  }, z.core.$strip>, z.ZodObject<{
156
178
  title: z.ZodString;
157
179
  description: z.ZodOptional<z.ZodString>;
158
180
  errorMessage: z.ZodOptional<z.ZodString>;
181
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
159
182
  type: z.ZodLiteral<"nested_selection">;
160
183
  placeholder: z.ZodOptional<z.ZodString>;
161
184
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
162
185
  title: z.ZodString;
163
186
  description: z.ZodOptional<z.ZodString>;
164
187
  errorMessage: z.ZodOptional<z.ZodString>;
188
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
165
189
  type: z.ZodLiteral<"annotation">;
166
190
  annotationText: z.ZodOptional<z.ZodString>;
167
191
  noAnnotationText: z.ZodOptional<z.ZodString>;
@@ -169,24 +193,28 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
169
193
  title: z.ZodString;
170
194
  description: z.ZodOptional<z.ZodString>;
171
195
  errorMessage: z.ZodOptional<z.ZodString>;
196
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
172
197
  type: z.ZodLiteral<"welcome">;
173
198
  buttonLabel: z.ZodOptional<z.ZodString>;
174
199
  }, z.core.$strip>, z.ZodObject<{
175
200
  title: z.ZodString;
176
201
  description: z.ZodOptional<z.ZodString>;
177
202
  errorMessage: z.ZodOptional<z.ZodString>;
203
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
178
204
  type: z.ZodLiteral<"thank_you">;
179
205
  buttonLabel: z.ZodOptional<z.ZodString>;
180
206
  }, z.core.$strip>, z.ZodObject<{
181
207
  title: z.ZodString;
182
208
  description: z.ZodOptional<z.ZodString>;
183
209
  errorMessage: z.ZodOptional<z.ZodString>;
210
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
184
211
  type: z.ZodLiteral<"message_panel">;
185
212
  buttonLabel: z.ZodOptional<z.ZodString>;
186
213
  }, z.core.$strip>, z.ZodObject<{
187
214
  title: z.ZodString;
188
215
  description: z.ZodOptional<z.ZodString>;
189
216
  errorMessage: z.ZodOptional<z.ZodString>;
217
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
190
218
  type: z.ZodLiteral<"yes_no">;
191
219
  yesLabel: z.ZodOptional<z.ZodString>;
192
220
  noLabel: z.ZodOptional<z.ZodString>;
@@ -194,6 +222,7 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
194
222
  title: z.ZodString;
195
223
  description: z.ZodOptional<z.ZodString>;
196
224
  errorMessage: z.ZodOptional<z.ZodString>;
225
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
197
226
  type: z.ZodLiteral<"rating_matrix">;
198
227
  minLabel: z.ZodOptional<z.ZodString>;
199
228
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -201,18 +230,31 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
201
230
  title: z.ZodString;
202
231
  description: z.ZodOptional<z.ZodString>;
203
232
  errorMessage: z.ZodOptional<z.ZodString>;
233
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
204
234
  type: z.ZodLiteral<"matrix_single_choice">;
205
235
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
206
236
  title: z.ZodString;
207
237
  description: z.ZodOptional<z.ZodString>;
208
238
  errorMessage: z.ZodOptional<z.ZodString>;
239
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
209
240
  type: z.ZodLiteral<"matrix_multiple_choice">;
210
241
  }, z.core.$catchall<z.ZodString>>]>;
211
242
  export declare const languageCodeSchema: z.ZodString;
243
+ export declare const sectionTranslationSchema: z.ZodObject<{
244
+ title: z.ZodString;
245
+ description: z.ZodOptional<z.ZodString>;
246
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
247
+ }, z.core.$strip>;
248
+ export declare const sectionTranslationsByLanguageSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
249
+ title: z.ZodString;
250
+ description: z.ZodOptional<z.ZodString>;
251
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
252
+ }, z.core.$strip>>;
212
253
  export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
213
254
  title: z.ZodString;
214
255
  description: z.ZodOptional<z.ZodString>;
215
256
  errorMessage: z.ZodOptional<z.ZodString>;
257
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
216
258
  type: z.ZodLiteral<"rating">;
217
259
  minLabel: z.ZodOptional<z.ZodString>;
218
260
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -220,18 +262,21 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
220
262
  title: z.ZodString;
221
263
  description: z.ZodOptional<z.ZodString>;
222
264
  errorMessage: z.ZodOptional<z.ZodString>;
265
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
223
266
  type: z.ZodLiteral<"single_choice">;
224
267
  placeholder: z.ZodOptional<z.ZodString>;
225
268
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
226
269
  title: z.ZodString;
227
270
  description: z.ZodOptional<z.ZodString>;
228
271
  errorMessage: z.ZodOptional<z.ZodString>;
272
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
229
273
  type: z.ZodLiteral<"multiple_choice_multiple">;
230
274
  placeholder: z.ZodOptional<z.ZodString>;
231
275
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
232
276
  title: z.ZodString;
233
277
  description: z.ZodOptional<z.ZodString>;
234
278
  errorMessage: z.ZodOptional<z.ZodString>;
279
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
235
280
  type: z.ZodLiteral<"nps">;
236
281
  minLabel: z.ZodOptional<z.ZodString>;
237
282
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -239,24 +284,28 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
239
284
  title: z.ZodString;
240
285
  description: z.ZodOptional<z.ZodString>;
241
286
  errorMessage: z.ZodOptional<z.ZodString>;
287
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
242
288
  type: z.ZodLiteral<"short_answer">;
243
289
  placeholder: z.ZodOptional<z.ZodString>;
244
290
  }, z.core.$strip>, z.ZodObject<{
245
291
  title: z.ZodString;
246
292
  description: z.ZodOptional<z.ZodString>;
247
293
  errorMessage: z.ZodOptional<z.ZodString>;
294
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
248
295
  type: z.ZodLiteral<"long_text">;
249
296
  placeholder: z.ZodOptional<z.ZodString>;
250
297
  }, z.core.$strip>, z.ZodObject<{
251
298
  title: z.ZodString;
252
299
  description: z.ZodOptional<z.ZodString>;
253
300
  errorMessage: z.ZodOptional<z.ZodString>;
301
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
254
302
  type: z.ZodLiteral<"nested_selection">;
255
303
  placeholder: z.ZodOptional<z.ZodString>;
256
304
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
257
305
  title: z.ZodString;
258
306
  description: z.ZodOptional<z.ZodString>;
259
307
  errorMessage: z.ZodOptional<z.ZodString>;
308
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
260
309
  type: z.ZodLiteral<"annotation">;
261
310
  annotationText: z.ZodOptional<z.ZodString>;
262
311
  noAnnotationText: z.ZodOptional<z.ZodString>;
@@ -264,24 +313,28 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
264
313
  title: z.ZodString;
265
314
  description: z.ZodOptional<z.ZodString>;
266
315
  errorMessage: z.ZodOptional<z.ZodString>;
316
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
267
317
  type: z.ZodLiteral<"welcome">;
268
318
  buttonLabel: z.ZodOptional<z.ZodString>;
269
319
  }, z.core.$strip>, z.ZodObject<{
270
320
  title: z.ZodString;
271
321
  description: z.ZodOptional<z.ZodString>;
272
322
  errorMessage: z.ZodOptional<z.ZodString>;
323
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
273
324
  type: z.ZodLiteral<"thank_you">;
274
325
  buttonLabel: z.ZodOptional<z.ZodString>;
275
326
  }, z.core.$strip>, z.ZodObject<{
276
327
  title: z.ZodString;
277
328
  description: z.ZodOptional<z.ZodString>;
278
329
  errorMessage: z.ZodOptional<z.ZodString>;
330
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
279
331
  type: z.ZodLiteral<"message_panel">;
280
332
  buttonLabel: z.ZodOptional<z.ZodString>;
281
333
  }, z.core.$strip>, z.ZodObject<{
282
334
  title: z.ZodString;
283
335
  description: z.ZodOptional<z.ZodString>;
284
336
  errorMessage: z.ZodOptional<z.ZodString>;
337
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
285
338
  type: z.ZodLiteral<"yes_no">;
286
339
  yesLabel: z.ZodOptional<z.ZodString>;
287
340
  noLabel: z.ZodOptional<z.ZodString>;
@@ -289,6 +342,7 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
289
342
  title: z.ZodString;
290
343
  description: z.ZodOptional<z.ZodString>;
291
344
  errorMessage: z.ZodOptional<z.ZodString>;
345
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
292
346
  type: z.ZodLiteral<"rating_matrix">;
293
347
  minLabel: z.ZodOptional<z.ZodString>;
294
348
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -296,17 +350,20 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
296
350
  title: z.ZodString;
297
351
  description: z.ZodOptional<z.ZodString>;
298
352
  errorMessage: z.ZodOptional<z.ZodString>;
353
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
299
354
  type: z.ZodLiteral<"matrix_single_choice">;
300
355
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
301
356
  title: z.ZodString;
302
357
  description: z.ZodOptional<z.ZodString>;
303
358
  errorMessage: z.ZodOptional<z.ZodString>;
359
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
304
360
  type: z.ZodLiteral<"matrix_multiple_choice">;
305
361
  }, z.core.$catchall<z.ZodString>>]>>;
306
362
  export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
307
363
  title: z.ZodString;
308
364
  description: z.ZodOptional<z.ZodString>;
309
365
  errorMessage: z.ZodOptional<z.ZodString>;
366
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
310
367
  type: z.ZodLiteral<"rating">;
311
368
  minLabel: z.ZodOptional<z.ZodString>;
312
369
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -314,18 +371,21 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
314
371
  title: z.ZodString;
315
372
  description: z.ZodOptional<z.ZodString>;
316
373
  errorMessage: z.ZodOptional<z.ZodString>;
374
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
317
375
  type: z.ZodLiteral<"single_choice">;
318
376
  placeholder: z.ZodOptional<z.ZodString>;
319
377
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
320
378
  title: z.ZodString;
321
379
  description: z.ZodOptional<z.ZodString>;
322
380
  errorMessage: z.ZodOptional<z.ZodString>;
381
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
323
382
  type: z.ZodLiteral<"multiple_choice_multiple">;
324
383
  placeholder: z.ZodOptional<z.ZodString>;
325
384
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
326
385
  title: z.ZodString;
327
386
  description: z.ZodOptional<z.ZodString>;
328
387
  errorMessage: z.ZodOptional<z.ZodString>;
388
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
329
389
  type: z.ZodLiteral<"nps">;
330
390
  minLabel: z.ZodOptional<z.ZodString>;
331
391
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -333,24 +393,28 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
333
393
  title: z.ZodString;
334
394
  description: z.ZodOptional<z.ZodString>;
335
395
  errorMessage: z.ZodOptional<z.ZodString>;
396
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
336
397
  type: z.ZodLiteral<"short_answer">;
337
398
  placeholder: z.ZodOptional<z.ZodString>;
338
399
  }, z.core.$strip>, z.ZodObject<{
339
400
  title: z.ZodString;
340
401
  description: z.ZodOptional<z.ZodString>;
341
402
  errorMessage: z.ZodOptional<z.ZodString>;
403
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
342
404
  type: z.ZodLiteral<"long_text">;
343
405
  placeholder: z.ZodOptional<z.ZodString>;
344
406
  }, z.core.$strip>, z.ZodObject<{
345
407
  title: z.ZodString;
346
408
  description: z.ZodOptional<z.ZodString>;
347
409
  errorMessage: z.ZodOptional<z.ZodString>;
410
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
348
411
  type: z.ZodLiteral<"nested_selection">;
349
412
  placeholder: z.ZodOptional<z.ZodString>;
350
413
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
351
414
  title: z.ZodString;
352
415
  description: z.ZodOptional<z.ZodString>;
353
416
  errorMessage: z.ZodOptional<z.ZodString>;
417
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
354
418
  type: z.ZodLiteral<"annotation">;
355
419
  annotationText: z.ZodOptional<z.ZodString>;
356
420
  noAnnotationText: z.ZodOptional<z.ZodString>;
@@ -358,24 +422,28 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
358
422
  title: z.ZodString;
359
423
  description: z.ZodOptional<z.ZodString>;
360
424
  errorMessage: z.ZodOptional<z.ZodString>;
425
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
361
426
  type: z.ZodLiteral<"welcome">;
362
427
  buttonLabel: z.ZodOptional<z.ZodString>;
363
428
  }, z.core.$strip>, z.ZodObject<{
364
429
  title: z.ZodString;
365
430
  description: z.ZodOptional<z.ZodString>;
366
431
  errorMessage: z.ZodOptional<z.ZodString>;
432
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
367
433
  type: z.ZodLiteral<"thank_you">;
368
434
  buttonLabel: z.ZodOptional<z.ZodString>;
369
435
  }, z.core.$strip>, z.ZodObject<{
370
436
  title: z.ZodString;
371
437
  description: z.ZodOptional<z.ZodString>;
372
438
  errorMessage: z.ZodOptional<z.ZodString>;
439
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
373
440
  type: z.ZodLiteral<"message_panel">;
374
441
  buttonLabel: z.ZodOptional<z.ZodString>;
375
442
  }, z.core.$strip>, z.ZodObject<{
376
443
  title: z.ZodString;
377
444
  description: z.ZodOptional<z.ZodString>;
378
445
  errorMessage: z.ZodOptional<z.ZodString>;
446
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
379
447
  type: z.ZodLiteral<"yes_no">;
380
448
  yesLabel: z.ZodOptional<z.ZodString>;
381
449
  noLabel: z.ZodOptional<z.ZodString>;
@@ -383,6 +451,7 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
383
451
  title: z.ZodString;
384
452
  description: z.ZodOptional<z.ZodString>;
385
453
  errorMessage: z.ZodOptional<z.ZodString>;
454
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
386
455
  type: z.ZodLiteral<"rating_matrix">;
387
456
  minLabel: z.ZodOptional<z.ZodString>;
388
457
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -390,17 +459,20 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
390
459
  title: z.ZodString;
391
460
  description: z.ZodOptional<z.ZodString>;
392
461
  errorMessage: z.ZodOptional<z.ZodString>;
462
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
393
463
  type: z.ZodLiteral<"matrix_single_choice">;
394
464
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
395
465
  title: z.ZodString;
396
466
  description: z.ZodOptional<z.ZodString>;
397
467
  errorMessage: z.ZodOptional<z.ZodString>;
468
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
398
469
  type: z.ZodLiteral<"matrix_multiple_choice">;
399
470
  }, z.core.$catchall<z.ZodString>>]>>>;
400
471
  export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
401
472
  title: z.ZodString;
402
473
  description: z.ZodOptional<z.ZodString>;
403
474
  errorMessage: z.ZodOptional<z.ZodString>;
475
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
404
476
  type: z.ZodLiteral<"rating">;
405
477
  minLabel: z.ZodOptional<z.ZodString>;
406
478
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -408,18 +480,21 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
408
480
  title: z.ZodString;
409
481
  description: z.ZodOptional<z.ZodString>;
410
482
  errorMessage: z.ZodOptional<z.ZodString>;
483
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
411
484
  type: z.ZodLiteral<"single_choice">;
412
485
  placeholder: z.ZodOptional<z.ZodString>;
413
486
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
414
487
  title: z.ZodString;
415
488
  description: z.ZodOptional<z.ZodString>;
416
489
  errorMessage: z.ZodOptional<z.ZodString>;
490
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
417
491
  type: z.ZodLiteral<"multiple_choice_multiple">;
418
492
  placeholder: z.ZodOptional<z.ZodString>;
419
493
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
420
494
  title: z.ZodString;
421
495
  description: z.ZodOptional<z.ZodString>;
422
496
  errorMessage: z.ZodOptional<z.ZodString>;
497
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
423
498
  type: z.ZodLiteral<"nps">;
424
499
  minLabel: z.ZodOptional<z.ZodString>;
425
500
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -427,24 +502,28 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
427
502
  title: z.ZodString;
428
503
  description: z.ZodOptional<z.ZodString>;
429
504
  errorMessage: z.ZodOptional<z.ZodString>;
505
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
430
506
  type: z.ZodLiteral<"short_answer">;
431
507
  placeholder: z.ZodOptional<z.ZodString>;
432
508
  }, z.core.$strip>, z.ZodObject<{
433
509
  title: z.ZodString;
434
510
  description: z.ZodOptional<z.ZodString>;
435
511
  errorMessage: z.ZodOptional<z.ZodString>;
512
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
436
513
  type: z.ZodLiteral<"long_text">;
437
514
  placeholder: z.ZodOptional<z.ZodString>;
438
515
  }, z.core.$strip>, z.ZodObject<{
439
516
  title: z.ZodString;
440
517
  description: z.ZodOptional<z.ZodString>;
441
518
  errorMessage: z.ZodOptional<z.ZodString>;
519
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
442
520
  type: z.ZodLiteral<"nested_selection">;
443
521
  placeholder: z.ZodOptional<z.ZodString>;
444
522
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
445
523
  title: z.ZodString;
446
524
  description: z.ZodOptional<z.ZodString>;
447
525
  errorMessage: z.ZodOptional<z.ZodString>;
526
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
448
527
  type: z.ZodLiteral<"annotation">;
449
528
  annotationText: z.ZodOptional<z.ZodString>;
450
529
  noAnnotationText: z.ZodOptional<z.ZodString>;
@@ -452,24 +531,28 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
452
531
  title: z.ZodString;
453
532
  description: z.ZodOptional<z.ZodString>;
454
533
  errorMessage: z.ZodOptional<z.ZodString>;
534
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
455
535
  type: z.ZodLiteral<"welcome">;
456
536
  buttonLabel: z.ZodOptional<z.ZodString>;
457
537
  }, z.core.$strip>, z.ZodObject<{
458
538
  title: z.ZodString;
459
539
  description: z.ZodOptional<z.ZodString>;
460
540
  errorMessage: z.ZodOptional<z.ZodString>;
541
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
461
542
  type: z.ZodLiteral<"thank_you">;
462
543
  buttonLabel: z.ZodOptional<z.ZodString>;
463
544
  }, z.core.$strip>, z.ZodObject<{
464
545
  title: z.ZodString;
465
546
  description: z.ZodOptional<z.ZodString>;
466
547
  errorMessage: z.ZodOptional<z.ZodString>;
548
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
467
549
  type: z.ZodLiteral<"message_panel">;
468
550
  buttonLabel: z.ZodOptional<z.ZodString>;
469
551
  }, z.core.$strip>, z.ZodObject<{
470
552
  title: z.ZodString;
471
553
  description: z.ZodOptional<z.ZodString>;
472
554
  errorMessage: z.ZodOptional<z.ZodString>;
555
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
473
556
  type: z.ZodLiteral<"yes_no">;
474
557
  yesLabel: z.ZodOptional<z.ZodString>;
475
558
  noLabel: z.ZodOptional<z.ZodString>;
@@ -477,6 +560,7 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
477
560
  title: z.ZodString;
478
561
  description: z.ZodOptional<z.ZodString>;
479
562
  errorMessage: z.ZodOptional<z.ZodString>;
563
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
480
564
  type: z.ZodLiteral<"rating_matrix">;
481
565
  minLabel: z.ZodOptional<z.ZodString>;
482
566
  maxLabel: z.ZodOptional<z.ZodString>;
@@ -484,11 +568,13 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
484
568
  title: z.ZodString;
485
569
  description: z.ZodOptional<z.ZodString>;
486
570
  errorMessage: z.ZodOptional<z.ZodString>;
571
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
487
572
  type: z.ZodLiteral<"matrix_single_choice">;
488
573
  }, z.core.$catchall<z.ZodString>>, z.ZodObject<{
489
574
  title: z.ZodString;
490
575
  description: z.ZodOptional<z.ZodString>;
491
576
  errorMessage: z.ZodOptional<z.ZodString>;
577
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
492
578
  type: z.ZodLiteral<"matrix_multiple_choice">;
493
579
  }, z.core.$catchall<z.ZodString>>]>>>;
494
580
  export type TranslationEntry = z.infer<typeof translationEntrySchema>;
@@ -508,6 +594,8 @@ export type RatingMatrixQuestionTranslation = z.infer<typeof ratingMatrixQuestio
508
594
  export type MatrixSingleChoiceQuestionTranslation = z.infer<typeof matrixSingleChoiceQuestionTranslationSchema>;
509
595
  export type MatrixMultipleChoiceQuestionTranslation = z.infer<typeof matrixMultipleChoiceQuestionTranslationSchema>;
510
596
  export type QuestionTranslation = z.infer<typeof questionTranslationSchema>;
597
+ export type SectionTranslation = z.infer<typeof sectionTranslationSchema>;
598
+ export type SectionTranslationsByLanguage = z.infer<typeof sectionTranslationsByLanguageSchema>;
511
599
  export type LanguageCode = z.infer<typeof languageCodeSchema>;
512
600
  export type QuestionTranslationsByLanguage = z.infer<typeof questionTranslationsByLanguageSchema>;
513
601
  export type QuestionCentricTranslations = z.infer<typeof questionCentricTranslationsSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@encatch/schema",
3
- "version": "1.0.1-beta.3",
3
+ "version": "1.1.0-beta.5",
4
4
  "description": "TypeScript schema definitions using Zod for validation and type inference of encatch product",
5
5
  "homepage": "https://encatch.com",
6
6
  "type": "module",