@encatch/schema 1.1.0-beta.4 → 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.
- package/dist/esm/index.js +8 -3
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +32 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +31 -0
- package/dist/types/schemas/fields/field-schema.d.ts +33 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +31 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +77 -1
- 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,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,11 +230,13 @@ 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;
|
|
@@ -223,6 +254,7 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
223
254
|
title: z.ZodString;
|
|
224
255
|
description: z.ZodOptional<z.ZodString>;
|
|
225
256
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
257
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
226
258
|
type: z.ZodLiteral<"rating">;
|
|
227
259
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
228
260
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -230,18 +262,21 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
230
262
|
title: z.ZodString;
|
|
231
263
|
description: z.ZodOptional<z.ZodString>;
|
|
232
264
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
265
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
233
266
|
type: z.ZodLiteral<"single_choice">;
|
|
234
267
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
235
268
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
236
269
|
title: z.ZodString;
|
|
237
270
|
description: z.ZodOptional<z.ZodString>;
|
|
238
271
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
272
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
239
273
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
240
274
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
241
275
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
242
276
|
title: z.ZodString;
|
|
243
277
|
description: z.ZodOptional<z.ZodString>;
|
|
244
278
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
279
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
245
280
|
type: z.ZodLiteral<"nps">;
|
|
246
281
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
247
282
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -249,24 +284,28 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
249
284
|
title: z.ZodString;
|
|
250
285
|
description: z.ZodOptional<z.ZodString>;
|
|
251
286
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
287
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
252
288
|
type: z.ZodLiteral<"short_answer">;
|
|
253
289
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
254
290
|
}, z.core.$strip>, z.ZodObject<{
|
|
255
291
|
title: z.ZodString;
|
|
256
292
|
description: z.ZodOptional<z.ZodString>;
|
|
257
293
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
294
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
258
295
|
type: z.ZodLiteral<"long_text">;
|
|
259
296
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
260
297
|
}, z.core.$strip>, z.ZodObject<{
|
|
261
298
|
title: z.ZodString;
|
|
262
299
|
description: z.ZodOptional<z.ZodString>;
|
|
263
300
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
301
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
264
302
|
type: z.ZodLiteral<"nested_selection">;
|
|
265
303
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
266
304
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
267
305
|
title: z.ZodString;
|
|
268
306
|
description: z.ZodOptional<z.ZodString>;
|
|
269
307
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
308
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
270
309
|
type: z.ZodLiteral<"annotation">;
|
|
271
310
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
272
311
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -274,24 +313,28 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
274
313
|
title: z.ZodString;
|
|
275
314
|
description: z.ZodOptional<z.ZodString>;
|
|
276
315
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
316
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
277
317
|
type: z.ZodLiteral<"welcome">;
|
|
278
318
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
279
319
|
}, z.core.$strip>, z.ZodObject<{
|
|
280
320
|
title: z.ZodString;
|
|
281
321
|
description: z.ZodOptional<z.ZodString>;
|
|
282
322
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
323
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
283
324
|
type: z.ZodLiteral<"thank_you">;
|
|
284
325
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
285
326
|
}, z.core.$strip>, z.ZodObject<{
|
|
286
327
|
title: z.ZodString;
|
|
287
328
|
description: z.ZodOptional<z.ZodString>;
|
|
288
329
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
330
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
289
331
|
type: z.ZodLiteral<"message_panel">;
|
|
290
332
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
291
333
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
334
|
title: z.ZodString;
|
|
293
335
|
description: z.ZodOptional<z.ZodString>;
|
|
294
336
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
337
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
295
338
|
type: z.ZodLiteral<"yes_no">;
|
|
296
339
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
297
340
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -299,6 +342,7 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
299
342
|
title: z.ZodString;
|
|
300
343
|
description: z.ZodOptional<z.ZodString>;
|
|
301
344
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
345
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
302
346
|
type: z.ZodLiteral<"rating_matrix">;
|
|
303
347
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
304
348
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -306,17 +350,20 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
306
350
|
title: z.ZodString;
|
|
307
351
|
description: z.ZodOptional<z.ZodString>;
|
|
308
352
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
353
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
309
354
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
310
355
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
311
356
|
title: z.ZodString;
|
|
312
357
|
description: z.ZodOptional<z.ZodString>;
|
|
313
358
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
359
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
314
360
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
315
361
|
}, z.core.$catchall<z.ZodString>>]>>;
|
|
316
362
|
export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
317
363
|
title: z.ZodString;
|
|
318
364
|
description: z.ZodOptional<z.ZodString>;
|
|
319
365
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
366
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
320
367
|
type: z.ZodLiteral<"rating">;
|
|
321
368
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
322
369
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -324,18 +371,21 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
324
371
|
title: z.ZodString;
|
|
325
372
|
description: z.ZodOptional<z.ZodString>;
|
|
326
373
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
374
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
327
375
|
type: z.ZodLiteral<"single_choice">;
|
|
328
376
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
329
377
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
330
378
|
title: z.ZodString;
|
|
331
379
|
description: z.ZodOptional<z.ZodString>;
|
|
332
380
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
381
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
333
382
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
334
383
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
335
384
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
336
385
|
title: z.ZodString;
|
|
337
386
|
description: z.ZodOptional<z.ZodString>;
|
|
338
387
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
388
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
339
389
|
type: z.ZodLiteral<"nps">;
|
|
340
390
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
341
391
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -343,24 +393,28 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
343
393
|
title: z.ZodString;
|
|
344
394
|
description: z.ZodOptional<z.ZodString>;
|
|
345
395
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
396
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
346
397
|
type: z.ZodLiteral<"short_answer">;
|
|
347
398
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
348
399
|
}, z.core.$strip>, z.ZodObject<{
|
|
349
400
|
title: z.ZodString;
|
|
350
401
|
description: z.ZodOptional<z.ZodString>;
|
|
351
402
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
403
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
352
404
|
type: z.ZodLiteral<"long_text">;
|
|
353
405
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
354
406
|
}, z.core.$strip>, z.ZodObject<{
|
|
355
407
|
title: z.ZodString;
|
|
356
408
|
description: z.ZodOptional<z.ZodString>;
|
|
357
409
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
410
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
358
411
|
type: z.ZodLiteral<"nested_selection">;
|
|
359
412
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
360
413
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
361
414
|
title: z.ZodString;
|
|
362
415
|
description: z.ZodOptional<z.ZodString>;
|
|
363
416
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
417
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
364
418
|
type: z.ZodLiteral<"annotation">;
|
|
365
419
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
366
420
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -368,24 +422,28 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
368
422
|
title: z.ZodString;
|
|
369
423
|
description: z.ZodOptional<z.ZodString>;
|
|
370
424
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
425
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
371
426
|
type: z.ZodLiteral<"welcome">;
|
|
372
427
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
373
428
|
}, z.core.$strip>, z.ZodObject<{
|
|
374
429
|
title: z.ZodString;
|
|
375
430
|
description: z.ZodOptional<z.ZodString>;
|
|
376
431
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
432
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
377
433
|
type: z.ZodLiteral<"thank_you">;
|
|
378
434
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
379
435
|
}, z.core.$strip>, z.ZodObject<{
|
|
380
436
|
title: z.ZodString;
|
|
381
437
|
description: z.ZodOptional<z.ZodString>;
|
|
382
438
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
439
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
383
440
|
type: z.ZodLiteral<"message_panel">;
|
|
384
441
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
385
442
|
}, z.core.$strip>, z.ZodObject<{
|
|
386
443
|
title: z.ZodString;
|
|
387
444
|
description: z.ZodOptional<z.ZodString>;
|
|
388
445
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
446
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
389
447
|
type: z.ZodLiteral<"yes_no">;
|
|
390
448
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
391
449
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -393,6 +451,7 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
393
451
|
title: z.ZodString;
|
|
394
452
|
description: z.ZodOptional<z.ZodString>;
|
|
395
453
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
454
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
396
455
|
type: z.ZodLiteral<"rating_matrix">;
|
|
397
456
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
398
457
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -400,17 +459,20 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
400
459
|
title: z.ZodString;
|
|
401
460
|
description: z.ZodOptional<z.ZodString>;
|
|
402
461
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
462
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
403
463
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
404
464
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
405
465
|
title: z.ZodString;
|
|
406
466
|
description: z.ZodOptional<z.ZodString>;
|
|
407
467
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
468
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
408
469
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
409
470
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
410
471
|
export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
411
472
|
title: z.ZodString;
|
|
412
473
|
description: z.ZodOptional<z.ZodString>;
|
|
413
474
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
475
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
414
476
|
type: z.ZodLiteral<"rating">;
|
|
415
477
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
416
478
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -418,18 +480,21 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
418
480
|
title: z.ZodString;
|
|
419
481
|
description: z.ZodOptional<z.ZodString>;
|
|
420
482
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
483
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
421
484
|
type: z.ZodLiteral<"single_choice">;
|
|
422
485
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
423
486
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
424
487
|
title: z.ZodString;
|
|
425
488
|
description: z.ZodOptional<z.ZodString>;
|
|
426
489
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
490
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
427
491
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
428
492
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
429
493
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
430
494
|
title: z.ZodString;
|
|
431
495
|
description: z.ZodOptional<z.ZodString>;
|
|
432
496
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
497
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
433
498
|
type: z.ZodLiteral<"nps">;
|
|
434
499
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
435
500
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -437,24 +502,28 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
437
502
|
title: z.ZodString;
|
|
438
503
|
description: z.ZodOptional<z.ZodString>;
|
|
439
504
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
505
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
440
506
|
type: z.ZodLiteral<"short_answer">;
|
|
441
507
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
442
508
|
}, z.core.$strip>, z.ZodObject<{
|
|
443
509
|
title: z.ZodString;
|
|
444
510
|
description: z.ZodOptional<z.ZodString>;
|
|
445
511
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
512
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
446
513
|
type: z.ZodLiteral<"long_text">;
|
|
447
514
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
448
515
|
}, z.core.$strip>, z.ZodObject<{
|
|
449
516
|
title: z.ZodString;
|
|
450
517
|
description: z.ZodOptional<z.ZodString>;
|
|
451
518
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
519
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
452
520
|
type: z.ZodLiteral<"nested_selection">;
|
|
453
521
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
454
522
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
455
523
|
title: z.ZodString;
|
|
456
524
|
description: z.ZodOptional<z.ZodString>;
|
|
457
525
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
526
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
458
527
|
type: z.ZodLiteral<"annotation">;
|
|
459
528
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
460
529
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -462,24 +531,28 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
462
531
|
title: z.ZodString;
|
|
463
532
|
description: z.ZodOptional<z.ZodString>;
|
|
464
533
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
534
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
465
535
|
type: z.ZodLiteral<"welcome">;
|
|
466
536
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
467
537
|
}, z.core.$strip>, z.ZodObject<{
|
|
468
538
|
title: z.ZodString;
|
|
469
539
|
description: z.ZodOptional<z.ZodString>;
|
|
470
540
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
541
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
471
542
|
type: z.ZodLiteral<"thank_you">;
|
|
472
543
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
473
544
|
}, z.core.$strip>, z.ZodObject<{
|
|
474
545
|
title: z.ZodString;
|
|
475
546
|
description: z.ZodOptional<z.ZodString>;
|
|
476
547
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
548
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
477
549
|
type: z.ZodLiteral<"message_panel">;
|
|
478
550
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
479
551
|
}, z.core.$strip>, z.ZodObject<{
|
|
480
552
|
title: z.ZodString;
|
|
481
553
|
description: z.ZodOptional<z.ZodString>;
|
|
482
554
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
555
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
483
556
|
type: z.ZodLiteral<"yes_no">;
|
|
484
557
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
485
558
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -487,6 +560,7 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
487
560
|
title: z.ZodString;
|
|
488
561
|
description: z.ZodOptional<z.ZodString>;
|
|
489
562
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
563
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
490
564
|
type: z.ZodLiteral<"rating_matrix">;
|
|
491
565
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
492
566
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -494,11 +568,13 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
494
568
|
title: z.ZodString;
|
|
495
569
|
description: z.ZodOptional<z.ZodString>;
|
|
496
570
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
571
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
497
572
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
498
573
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
499
574
|
title: z.ZodString;
|
|
500
575
|
description: z.ZodOptional<z.ZodString>;
|
|
501
576
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
577
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
502
578
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
503
579
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
504
580
|
export type TranslationEntry = z.infer<typeof translationEntrySchema>;
|
package/package.json
CHANGED