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