@voiceflow/dtos-interact 2.34.1 → 2.35.1-d62a34e5bb.61
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/build/interface-config/interface-config-buttons/interface-config-buttons.dto.d.ts +89 -89
- package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.d.ts.map +1 -1
- package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.js +9 -9
- package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.js.map +1 -1
- package/build/interface-config/interface-config-composer/interface-config-composer.dto.d.ts +14 -14
- package/build/interface-config/interface-config-composer/interface-config-composer.dto.js +5 -5
- package/build/interface-config/interface-config-composer/interface-config-composer.dto.js.map +1 -1
- package/build/interface-config/interface-config-header/interface-config-header.dto.d.ts +6 -6
- package/build/interface-config/interface-config-header/interface-config-header.dto.js +3 -3
- package/build/interface-config/interface-config-header/interface-config-header.dto.js.map +1 -1
- package/build/interface-config/interface-config-history/interface-config-history.dto.d.ts +4 -4
- package/build/interface-config/interface-config-history/interface-config-history.dto.js +2 -2
- package/build/interface-config/interface-config-history/interface-config-history.dto.js.map +1 -1
- package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.d.ts +10 -10
- package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.js +5 -5
- package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.js.map +1 -1
- package/build/interface-config/interface-config-layout/interface-config-layout.dto.d.ts +28 -28
- package/build/interface-config/interface-config-layout/interface-config-layout.dto.js +8 -8
- package/build/interface-config/interface-config-layout/interface-config-layout.dto.js.map +1 -1
- package/build/interface-config/interface-config-locale/interface-config-locale.dto.d.ts +4 -4
- package/build/interface-config/interface-config-locale/interface-config-locale.dto.js +2 -2
- package/build/interface-config/interface-config-locale/interface-config-locale.dto.js.map +1 -1
- package/build/interface-config/interface-config-menu/interface-config-menu.dto.d.ts +4 -4
- package/build/interface-config/interface-config-menu/interface-config-menu.dto.js +2 -2
- package/build/interface-config/interface-config-menu/interface-config-menu.dto.js.map +1 -1
- package/build/interface-config/interface-config-messages/interface-config-messages.dto.d.ts +12 -12
- package/build/interface-config/interface-config-messages/interface-config-messages.dto.js +6 -6
- package/build/interface-config/interface-config-messages/interface-config-messages.dto.js.map +1 -1
- package/build/interface-config/interface-config-start/interface-config-start.dto.d.ts +8 -8
- package/build/interface-config/interface-config-start/interface-config-start.dto.js +3 -3
- package/build/interface-config/interface-config-start/interface-config-start.dto.js.map +1 -1
- package/build/interface-config/interface-config-theme/interface-config-theme.dto.d.ts +12 -12
- package/build/interface-config/interface-config-theme/interface-config-theme.dto.js +4 -4
- package/build/interface-config/interface-config-theme/interface-config-theme.dto.js.map +1 -1
- package/build/interface-config/interface-config.dto.d.ts +161 -154
- package/build/interface-config/interface-config.dto.d.ts.map +1 -1
- package/build/interface-config/interface-config.dto.js +11 -4
- package/build/interface-config/interface-config.dto.js.map +1 -1
- package/package.json +6 -4
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
3
|
* The settings an admin saves for the interface widget, stored sparse: an absent field means its default.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* They are stored on the version as `settings.interfaceConfig`. Nothing checks them on write.
|
|
5
|
+
* Backup restore, import and merge preview parse the whole stored version with this schema.
|
|
6
|
+
* A stored value that fails here makes those reads throw. Change a field only in the ways that
|
|
7
|
+
* "What a stored field may change" in `libs/interface-react/docs/public-api.md` allows.
|
|
8
|
+
* Unknown keys are stripped, so a removed or renamed field still parses. No root key may be named `type`.
|
|
9
|
+
* Every enum field ends in `.optional().catch(undefined)`. A list of enum values takes the catch on the list.
|
|
10
|
+
* So any value of an enum field that fails to parse, such as an unknown value, `null` or a wrong type, parses as unset.
|
|
11
|
+
* A value that breaks a `regex`, `min` or `max` on another field, or a button without an `id`, still fails the parse.
|
|
12
|
+
* This schema is not a strict write check.
|
|
13
|
+
* The widget reads field by field. A top-level value that fails falls to the layer below, then to the default.
|
|
14
|
+
* Inside a list entry, an enum value that fails to parse reads as unset, the entry stays, and nothing warns.
|
|
8
15
|
*/
|
|
9
16
|
export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
10
17
|
layout: z.ZodOptional<z.ZodObject<{
|
|
11
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
mode: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
12
19
|
readonly FLOATING: 'floating';
|
|
13
20
|
readonly SIDEBAR: 'sidebar';
|
|
14
21
|
readonly EMBEDDED: 'embedded';
|
|
15
|
-
}
|
|
16
|
-
side: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
}>>>;
|
|
23
|
+
side: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
17
24
|
readonly LEFT: 'left';
|
|
18
25
|
readonly RIGHT: 'right';
|
|
19
|
-
}
|
|
26
|
+
}>>>;
|
|
20
27
|
offset: z.ZodOptional<z.ZodObject<{
|
|
21
28
|
x: z.ZodOptional<z.ZodString>;
|
|
22
29
|
y: z.ZodOptional<z.ZodString>;
|
|
@@ -26,52 +33,52 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
26
33
|
expandable: z.ZodOptional<z.ZodBoolean>;
|
|
27
34
|
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
28
35
|
floating: z.ZodOptional<z.ZodObject<{
|
|
29
|
-
anchor: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
anchor: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
30
37
|
readonly CORNER: 'corner';
|
|
31
38
|
readonly CENTER: 'center';
|
|
32
|
-
}
|
|
33
|
-
backdrop: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
}>>>;
|
|
40
|
+
backdrop: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
34
41
|
readonly NONE: 'none';
|
|
35
42
|
readonly DIM: 'dim';
|
|
36
43
|
readonly BLUR: 'blur';
|
|
37
|
-
}
|
|
44
|
+
}>>>;
|
|
38
45
|
coversLauncher: z.ZodOptional<z.ZodBoolean>;
|
|
39
46
|
}, z.core.$strip>>;
|
|
40
47
|
sidebar: z.ZodOptional<z.ZodObject<{
|
|
41
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
behavior: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
42
49
|
readonly OVERLAY: 'overlay';
|
|
43
50
|
readonly PUSH: 'push';
|
|
44
|
-
}
|
|
45
|
-
style: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
}>>>;
|
|
52
|
+
style: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
46
53
|
readonly FLUSH: 'flush';
|
|
47
54
|
readonly INSET: 'inset';
|
|
48
|
-
}
|
|
49
|
-
backdrop: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
}>>>;
|
|
56
|
+
backdrop: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
50
57
|
readonly NONE: 'none';
|
|
51
58
|
readonly DIM: 'dim';
|
|
52
|
-
}
|
|
59
|
+
}>>>;
|
|
53
60
|
}, z.core.$strip>>;
|
|
54
61
|
sidebarInset: z.ZodOptional<z.ZodString>;
|
|
55
62
|
embedded: z.ZodOptional<z.ZodObject<{
|
|
56
|
-
fill: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
fill: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
57
64
|
readonly CONTAINER: 'container';
|
|
58
65
|
readonly WINDOW: 'window';
|
|
59
|
-
}
|
|
66
|
+
}>>>;
|
|
60
67
|
}, z.core.$strip>>;
|
|
61
68
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
62
69
|
}, z.core.$strip>>;
|
|
63
70
|
theme: z.ZodOptional<z.ZodObject<{
|
|
64
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
mode: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
65
72
|
readonly LIGHT: 'light';
|
|
66
73
|
readonly DARK: 'dark';
|
|
67
74
|
readonly SYSTEM: 'system';
|
|
68
|
-
}
|
|
69
|
-
glass: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
}>>>;
|
|
76
|
+
glass: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
70
77
|
readonly NONE: 'none';
|
|
71
78
|
readonly FROSTED: 'frosted';
|
|
72
79
|
readonly CLEAR: 'clear';
|
|
73
80
|
readonly SHEER: 'sheer';
|
|
74
|
-
}
|
|
81
|
+
}>>>;
|
|
75
82
|
tokens: z.ZodOptional<z.ZodObject<{
|
|
76
83
|
color: z.ZodOptional<z.ZodObject<{
|
|
77
84
|
brand: z.ZodOptional<z.ZodString>;
|
|
@@ -141,70 +148,70 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
141
148
|
fontUrl: z.ZodOptional<z.ZodString>;
|
|
142
149
|
background: z.ZodOptional<z.ZodObject<{
|
|
143
150
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
144
|
-
fit: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
fit: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
145
152
|
readonly COVER: 'cover';
|
|
146
153
|
readonly CONTAIN: 'contain';
|
|
147
154
|
readonly TILE: 'tile';
|
|
148
|
-
}
|
|
155
|
+
}>>>;
|
|
149
156
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
150
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
scope: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
151
158
|
readonly PANEL: 'panel';
|
|
152
159
|
readonly HOME: 'home';
|
|
153
|
-
}
|
|
160
|
+
}>>>;
|
|
154
161
|
}, z.core.$strip>>;
|
|
155
162
|
}, z.core.$strip>>;
|
|
156
163
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
157
|
-
content: z.ZodOptional<z.ZodEnum<{
|
|
164
|
+
content: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
158
165
|
readonly ICON: 'icon';
|
|
159
166
|
readonly LABEL: 'label';
|
|
160
167
|
readonly ICON_LABEL: 'icon-label';
|
|
161
|
-
}
|
|
168
|
+
}>>>;
|
|
162
169
|
label: z.ZodOptional<z.ZodObject<{
|
|
163
170
|
text: z.ZodOptional<z.ZodString>;
|
|
164
171
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
165
172
|
}, z.core.$strip>>;
|
|
166
|
-
visual: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
visual: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
167
174
|
readonly ICON: 'icon';
|
|
168
175
|
readonly IMAGE: 'image';
|
|
169
176
|
readonly ORB: 'orb';
|
|
170
|
-
}
|
|
171
|
-
entry: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
}>>>;
|
|
178
|
+
entry: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
172
179
|
readonly BUTTON: 'button';
|
|
173
180
|
readonly INPUT: 'input';
|
|
174
181
|
readonly INPUT_CENTRED: 'input-centred';
|
|
175
|
-
}
|
|
182
|
+
}>>>;
|
|
176
183
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
177
184
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
178
185
|
unreadBadge: z.ZodOptional<z.ZodBoolean>;
|
|
179
186
|
callEntry: z.ZodOptional<z.ZodBoolean>;
|
|
180
|
-
shape: z.ZodOptional<z.ZodEnum<{
|
|
187
|
+
shape: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
181
188
|
readonly CIRCLE: 'circle';
|
|
182
189
|
readonly ROUNDED: 'rounded';
|
|
183
190
|
readonly PILL: 'pill';
|
|
184
|
-
}
|
|
191
|
+
}>>>;
|
|
185
192
|
size: z.ZodOptional<z.ZodString>;
|
|
186
|
-
openIcon: z.ZodOptional<z.ZodEnum<{
|
|
193
|
+
openIcon: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
187
194
|
readonly CHEVRON: 'chevron';
|
|
188
195
|
readonly CLOSE: 'close';
|
|
189
196
|
readonly SAME: 'same';
|
|
190
|
-
}
|
|
197
|
+
}>>>;
|
|
191
198
|
}, z.core.$strip>>;
|
|
192
199
|
header: z.ZodOptional<z.ZodObject<{
|
|
193
|
-
layout: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
layout: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
194
201
|
readonly AVATAR_TITLE: 'avatar-title';
|
|
195
202
|
readonly ORB_TITLE: 'orb-title';
|
|
196
203
|
readonly TITLE: 'title';
|
|
197
204
|
readonly LOGO: 'logo';
|
|
198
205
|
readonly NONE: 'none';
|
|
199
|
-
}
|
|
200
|
-
appearance: z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
}>>>;
|
|
207
|
+
appearance: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
201
208
|
readonly SOLID: 'solid';
|
|
202
209
|
readonly FADE: 'fade';
|
|
203
|
-
}
|
|
204
|
-
buttonFill: z.ZodOptional<z.ZodEnum<{
|
|
210
|
+
}>>>;
|
|
211
|
+
buttonFill: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
205
212
|
readonly PLAIN: 'plain';
|
|
206
213
|
readonly FILLED: 'filled';
|
|
207
|
-
}
|
|
214
|
+
}>>>;
|
|
208
215
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
209
216
|
maxButtons: z.ZodOptional<z.ZodNumber>;
|
|
210
217
|
}, z.core.$strip>>;
|
|
@@ -218,11 +225,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
218
225
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
219
226
|
}, z.core.$strip>>;
|
|
220
227
|
icon: z.ZodOptional<z.ZodObject<{
|
|
221
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
222
229
|
readonly BUILTIN: 'builtin';
|
|
223
230
|
readonly ASSET: 'asset';
|
|
224
|
-
}
|
|
225
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
231
|
+
}>>>;
|
|
232
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
226
233
|
readonly SEND: 'send';
|
|
227
234
|
readonly PLUS: 'plus';
|
|
228
235
|
readonly STOP: 'stop';
|
|
@@ -273,27 +280,27 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
273
280
|
readonly LINK: 'link';
|
|
274
281
|
readonly PACKAGE: 'package';
|
|
275
282
|
readonly BRIEFCASE: 'briefcase';
|
|
276
|
-
}
|
|
283
|
+
}>>>;
|
|
277
284
|
url: z.ZodOptional<z.ZodString>;
|
|
278
285
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
279
286
|
assetId: z.ZodOptional<z.ZodString>;
|
|
280
287
|
}, z.core.$strip>>;
|
|
281
288
|
when: z.ZodOptional<z.ZodObject<{
|
|
282
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
289
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
283
290
|
readonly CHAT: 'chat';
|
|
284
291
|
readonly CALL: 'call';
|
|
285
|
-
}
|
|
286
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
292
|
+
}>>>>;
|
|
293
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
287
294
|
readonly START: 'start';
|
|
288
295
|
readonly AI: 'ai';
|
|
289
296
|
readonly HANDOFF: 'handoff';
|
|
290
297
|
readonly ENDED: 'ended';
|
|
291
|
-
}
|
|
298
|
+
}>>>>;
|
|
292
299
|
}, z.core.$strip>>;
|
|
293
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
294
301
|
readonly PRIMARY: 'primary';
|
|
295
302
|
readonly SECONDARY: 'secondary';
|
|
296
|
-
}
|
|
303
|
+
}>>>;
|
|
297
304
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
298
305
|
}, z.core.$strip>>>;
|
|
299
306
|
menu: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -305,11 +312,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
305
312
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
306
313
|
}, z.core.$strip>>;
|
|
307
314
|
icon: z.ZodOptional<z.ZodObject<{
|
|
308
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
309
316
|
readonly BUILTIN: 'builtin';
|
|
310
317
|
readonly ASSET: 'asset';
|
|
311
|
-
}
|
|
312
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
318
|
+
}>>>;
|
|
319
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
313
320
|
readonly SEND: 'send';
|
|
314
321
|
readonly PLUS: 'plus';
|
|
315
322
|
readonly STOP: 'stop';
|
|
@@ -360,27 +367,27 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
360
367
|
readonly LINK: 'link';
|
|
361
368
|
readonly PACKAGE: 'package';
|
|
362
369
|
readonly BRIEFCASE: 'briefcase';
|
|
363
|
-
}
|
|
370
|
+
}>>>;
|
|
364
371
|
url: z.ZodOptional<z.ZodString>;
|
|
365
372
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
366
373
|
assetId: z.ZodOptional<z.ZodString>;
|
|
367
374
|
}, z.core.$strip>>;
|
|
368
375
|
when: z.ZodOptional<z.ZodObject<{
|
|
369
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
376
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
370
377
|
readonly CHAT: 'chat';
|
|
371
378
|
readonly CALL: 'call';
|
|
372
|
-
}
|
|
373
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
379
|
+
}>>>>;
|
|
380
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
374
381
|
readonly START: 'start';
|
|
375
382
|
readonly AI: 'ai';
|
|
376
383
|
readonly HANDOFF: 'handoff';
|
|
377
384
|
readonly ENDED: 'ended';
|
|
378
|
-
}
|
|
385
|
+
}>>>>;
|
|
379
386
|
}, z.core.$strip>>;
|
|
380
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
381
388
|
readonly PRIMARY: 'primary';
|
|
382
389
|
readonly SECONDARY: 'secondary';
|
|
383
|
-
}
|
|
390
|
+
}>>>;
|
|
384
391
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
385
392
|
}, z.core.$strip>>>;
|
|
386
393
|
composer: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -392,11 +399,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
392
399
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
393
400
|
}, z.core.$strip>>;
|
|
394
401
|
icon: z.ZodOptional<z.ZodObject<{
|
|
395
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
402
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
396
403
|
readonly BUILTIN: 'builtin';
|
|
397
404
|
readonly ASSET: 'asset';
|
|
398
|
-
}
|
|
399
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
405
|
+
}>>>;
|
|
406
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
400
407
|
readonly SEND: 'send';
|
|
401
408
|
readonly PLUS: 'plus';
|
|
402
409
|
readonly STOP: 'stop';
|
|
@@ -447,27 +454,27 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
447
454
|
readonly LINK: 'link';
|
|
448
455
|
readonly PACKAGE: 'package';
|
|
449
456
|
readonly BRIEFCASE: 'briefcase';
|
|
450
|
-
}
|
|
457
|
+
}>>>;
|
|
451
458
|
url: z.ZodOptional<z.ZodString>;
|
|
452
459
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
453
460
|
assetId: z.ZodOptional<z.ZodString>;
|
|
454
461
|
}, z.core.$strip>>;
|
|
455
462
|
when: z.ZodOptional<z.ZodObject<{
|
|
456
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
463
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
457
464
|
readonly CHAT: 'chat';
|
|
458
465
|
readonly CALL: 'call';
|
|
459
|
-
}
|
|
460
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
466
|
+
}>>>>;
|
|
467
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
461
468
|
readonly START: 'start';
|
|
462
469
|
readonly AI: 'ai';
|
|
463
470
|
readonly HANDOFF: 'handoff';
|
|
464
471
|
readonly ENDED: 'ended';
|
|
465
|
-
}
|
|
472
|
+
}>>>>;
|
|
466
473
|
}, z.core.$strip>>;
|
|
467
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
474
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
468
475
|
readonly PRIMARY: 'primary';
|
|
469
476
|
readonly SECONDARY: 'secondary';
|
|
470
|
-
}
|
|
477
|
+
}>>>;
|
|
471
478
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
472
479
|
}, z.core.$strip>>>;
|
|
473
480
|
footer: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -479,11 +486,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
479
486
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
480
487
|
}, z.core.$strip>>;
|
|
481
488
|
icon: z.ZodOptional<z.ZodObject<{
|
|
482
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
489
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
483
490
|
readonly BUILTIN: 'builtin';
|
|
484
491
|
readonly ASSET: 'asset';
|
|
485
|
-
}
|
|
486
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
}>>>;
|
|
493
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
487
494
|
readonly SEND: 'send';
|
|
488
495
|
readonly PLUS: 'plus';
|
|
489
496
|
readonly STOP: 'stop';
|
|
@@ -534,27 +541,27 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
534
541
|
readonly LINK: 'link';
|
|
535
542
|
readonly PACKAGE: 'package';
|
|
536
543
|
readonly BRIEFCASE: 'briefcase';
|
|
537
|
-
}
|
|
544
|
+
}>>>;
|
|
538
545
|
url: z.ZodOptional<z.ZodString>;
|
|
539
546
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
540
547
|
assetId: z.ZodOptional<z.ZodString>;
|
|
541
548
|
}, z.core.$strip>>;
|
|
542
549
|
when: z.ZodOptional<z.ZodObject<{
|
|
543
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
550
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
544
551
|
readonly CHAT: 'chat';
|
|
545
552
|
readonly CALL: 'call';
|
|
546
|
-
}
|
|
547
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
553
|
+
}>>>>;
|
|
554
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
548
555
|
readonly START: 'start';
|
|
549
556
|
readonly AI: 'ai';
|
|
550
557
|
readonly HANDOFF: 'handoff';
|
|
551
558
|
readonly ENDED: 'ended';
|
|
552
|
-
}
|
|
559
|
+
}>>>>;
|
|
553
560
|
}, z.core.$strip>>;
|
|
554
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
561
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
555
562
|
readonly PRIMARY: 'primary';
|
|
556
563
|
readonly SECONDARY: 'secondary';
|
|
557
|
-
}
|
|
564
|
+
}>>>;
|
|
558
565
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
559
566
|
}, z.core.$strip>>>;
|
|
560
567
|
handoff: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -566,11 +573,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
566
573
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
567
574
|
}, z.core.$strip>>;
|
|
568
575
|
icon: z.ZodOptional<z.ZodObject<{
|
|
569
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
576
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
570
577
|
readonly BUILTIN: 'builtin';
|
|
571
578
|
readonly ASSET: 'asset';
|
|
572
|
-
}
|
|
573
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
}>>>;
|
|
580
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
574
581
|
readonly SEND: 'send';
|
|
575
582
|
readonly PLUS: 'plus';
|
|
576
583
|
readonly STOP: 'stop';
|
|
@@ -621,27 +628,27 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
621
628
|
readonly LINK: 'link';
|
|
622
629
|
readonly PACKAGE: 'package';
|
|
623
630
|
readonly BRIEFCASE: 'briefcase';
|
|
624
|
-
}
|
|
631
|
+
}>>>;
|
|
625
632
|
url: z.ZodOptional<z.ZodString>;
|
|
626
633
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
627
634
|
assetId: z.ZodOptional<z.ZodString>;
|
|
628
635
|
}, z.core.$strip>>;
|
|
629
636
|
when: z.ZodOptional<z.ZodObject<{
|
|
630
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
637
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
631
638
|
readonly CHAT: 'chat';
|
|
632
639
|
readonly CALL: 'call';
|
|
633
|
-
}
|
|
634
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
640
|
+
}>>>>;
|
|
641
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
635
642
|
readonly START: 'start';
|
|
636
643
|
readonly AI: 'ai';
|
|
637
644
|
readonly HANDOFF: 'handoff';
|
|
638
645
|
readonly ENDED: 'ended';
|
|
639
|
-
}
|
|
646
|
+
}>>>>;
|
|
640
647
|
}, z.core.$strip>>;
|
|
641
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
648
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
642
649
|
readonly PRIMARY: 'primary';
|
|
643
650
|
readonly SECONDARY: 'secondary';
|
|
644
|
-
}
|
|
651
|
+
}>>>;
|
|
645
652
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
646
653
|
}, z.core.$strip>>>;
|
|
647
654
|
"handoff-end": z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -653,11 +660,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
653
660
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
654
661
|
}, z.core.$strip>>;
|
|
655
662
|
icon: z.ZodOptional<z.ZodObject<{
|
|
656
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
663
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
657
664
|
readonly BUILTIN: 'builtin';
|
|
658
665
|
readonly ASSET: 'asset';
|
|
659
|
-
}
|
|
660
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
}>>>;
|
|
667
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
661
668
|
readonly SEND: 'send';
|
|
662
669
|
readonly PLUS: 'plus';
|
|
663
670
|
readonly STOP: 'stop';
|
|
@@ -708,27 +715,27 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
708
715
|
readonly LINK: 'link';
|
|
709
716
|
readonly PACKAGE: 'package';
|
|
710
717
|
readonly BRIEFCASE: 'briefcase';
|
|
711
|
-
}
|
|
718
|
+
}>>>;
|
|
712
719
|
url: z.ZodOptional<z.ZodString>;
|
|
713
720
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
714
721
|
assetId: z.ZodOptional<z.ZodString>;
|
|
715
722
|
}, z.core.$strip>>;
|
|
716
723
|
when: z.ZodOptional<z.ZodObject<{
|
|
717
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
724
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
718
725
|
readonly CHAT: 'chat';
|
|
719
726
|
readonly CALL: 'call';
|
|
720
|
-
}
|
|
721
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
727
|
+
}>>>>;
|
|
728
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
722
729
|
readonly START: 'start';
|
|
723
730
|
readonly AI: 'ai';
|
|
724
731
|
readonly HANDOFF: 'handoff';
|
|
725
732
|
readonly ENDED: 'ended';
|
|
726
|
-
}
|
|
733
|
+
}>>>>;
|
|
727
734
|
}, z.core.$strip>>;
|
|
728
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
735
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
729
736
|
readonly PRIMARY: 'primary';
|
|
730
737
|
readonly SECONDARY: 'secondary';
|
|
731
|
-
}
|
|
738
|
+
}>>>;
|
|
732
739
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
733
740
|
}, z.core.$strip>>>;
|
|
734
741
|
"conversation-end": z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -740,11 +747,11 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
740
747
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
741
748
|
}, z.core.$strip>>;
|
|
742
749
|
icon: z.ZodOptional<z.ZodObject<{
|
|
743
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
750
|
+
kind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
744
751
|
readonly BUILTIN: 'builtin';
|
|
745
752
|
readonly ASSET: 'asset';
|
|
746
|
-
}
|
|
747
|
-
name: z.ZodOptional<z.ZodEnum<{
|
|
753
|
+
}>>>;
|
|
754
|
+
name: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
748
755
|
readonly SEND: 'send';
|
|
749
756
|
readonly PLUS: 'plus';
|
|
750
757
|
readonly STOP: 'stop';
|
|
@@ -795,49 +802,49 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
795
802
|
readonly LINK: 'link';
|
|
796
803
|
readonly PACKAGE: 'package';
|
|
797
804
|
readonly BRIEFCASE: 'briefcase';
|
|
798
|
-
}
|
|
805
|
+
}>>>;
|
|
799
806
|
url: z.ZodOptional<z.ZodString>;
|
|
800
807
|
tint: z.ZodOptional<z.ZodBoolean>;
|
|
801
808
|
assetId: z.ZodOptional<z.ZodString>;
|
|
802
809
|
}, z.core.$strip>>;
|
|
803
810
|
when: z.ZodOptional<z.ZodObject<{
|
|
804
|
-
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
811
|
+
views: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
805
812
|
readonly CHAT: 'chat';
|
|
806
813
|
readonly CALL: 'call';
|
|
807
|
-
}
|
|
808
|
-
phases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
814
|
+
}>>>>;
|
|
815
|
+
phases: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
809
816
|
readonly START: 'start';
|
|
810
817
|
readonly AI: 'ai';
|
|
811
818
|
readonly HANDOFF: 'handoff';
|
|
812
819
|
readonly ENDED: 'ended';
|
|
813
|
-
}
|
|
820
|
+
}>>>>;
|
|
814
821
|
}, z.core.$strip>>;
|
|
815
|
-
emphasis: z.ZodOptional<z.ZodEnum<{
|
|
822
|
+
emphasis: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
816
823
|
readonly PRIMARY: 'primary';
|
|
817
824
|
readonly SECONDARY: 'secondary';
|
|
818
|
-
}
|
|
825
|
+
}>>>;
|
|
819
826
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
820
827
|
}, z.core.$strip>>>;
|
|
821
828
|
}, z.core.$strip>>;
|
|
822
829
|
menu: z.ZodOptional<z.ZodObject<{
|
|
823
|
-
presentation: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
presentation: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
824
831
|
readonly AUTO: 'auto';
|
|
825
832
|
readonly SHEET: 'sheet';
|
|
826
833
|
readonly POPOVER: 'popover';
|
|
827
834
|
readonly TITLE: 'title';
|
|
828
835
|
readonly SCREEN: 'screen';
|
|
829
|
-
}
|
|
830
|
-
restartConfirmation: z.ZodOptional<z.ZodEnum<{
|
|
836
|
+
}>>>;
|
|
837
|
+
restartConfirmation: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
831
838
|
readonly NONE: 'none';
|
|
832
839
|
readonly DIALOG: 'dialog';
|
|
833
840
|
readonly SCREEN: 'screen';
|
|
834
|
-
}
|
|
841
|
+
}>>>;
|
|
835
842
|
}, z.core.$strip>>;
|
|
836
843
|
start: z.ZodOptional<z.ZodObject<{
|
|
837
|
-
firstTurn: z.ZodOptional<z.ZodEnum<{
|
|
844
|
+
firstTurn: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
838
845
|
readonly AGENT: 'agent';
|
|
839
846
|
readonly USER: 'user';
|
|
840
|
-
}
|
|
847
|
+
}>>>;
|
|
841
848
|
welcomeBanner: z.ZodOptional<z.ZodObject<{
|
|
842
849
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
843
850
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -851,7 +858,7 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
851
858
|
text: z.ZodOptional<z.ZodString>;
|
|
852
859
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
853
860
|
id: z.ZodString;
|
|
854
|
-
icon: z.ZodOptional<z.ZodEnum<{
|
|
861
|
+
icon: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
855
862
|
readonly SEND: 'send';
|
|
856
863
|
readonly PLUS: 'plus';
|
|
857
864
|
readonly STOP: 'stop';
|
|
@@ -902,17 +909,17 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
902
909
|
readonly LINK: 'link';
|
|
903
910
|
readonly PACKAGE: 'package';
|
|
904
911
|
readonly BRIEFCASE: 'briefcase';
|
|
905
|
-
}
|
|
912
|
+
}>>>;
|
|
906
913
|
description: z.ZodOptional<z.ZodObject<{
|
|
907
914
|
text: z.ZodOptional<z.ZodString>;
|
|
908
915
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
909
916
|
}, z.core.$strip>>;
|
|
910
917
|
}, z.core.$strip>>>;
|
|
911
|
-
starterDisplay: z.ZodOptional<z.ZodEnum<{
|
|
918
|
+
starterDisplay: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
912
919
|
readonly CHIPS: 'chips';
|
|
913
920
|
readonly CARDS: 'cards';
|
|
914
921
|
readonly LINKS: 'links';
|
|
915
|
-
}
|
|
922
|
+
}>>>;
|
|
916
923
|
teaser: z.ZodOptional<z.ZodObject<{
|
|
917
924
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
918
925
|
}, z.core.$strip>>;
|
|
@@ -923,49 +930,49 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
923
930
|
}, z.core.$strip>>;
|
|
924
931
|
}, z.core.$strip>>;
|
|
925
932
|
messages: z.ZodOptional<z.ZodObject<{
|
|
926
|
-
agentStyle: z.ZodOptional<z.ZodEnum<{
|
|
933
|
+
agentStyle: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
927
934
|
readonly BUBBLE: 'bubble';
|
|
928
935
|
readonly PLAIN: 'plain';
|
|
929
936
|
readonly CARD: 'card';
|
|
930
|
-
}
|
|
931
|
-
avatar: z.ZodOptional<z.ZodEnum<{
|
|
937
|
+
}>>>;
|
|
938
|
+
avatar: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
932
939
|
readonly NONE: 'none';
|
|
933
940
|
readonly EVERY: 'every';
|
|
934
941
|
readonly LAST: 'last';
|
|
935
|
-
}
|
|
942
|
+
}>>>;
|
|
936
943
|
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
937
944
|
aiDisclaimer: z.ZodOptional<z.ZodBoolean>;
|
|
938
945
|
feedback: z.ZodOptional<z.ZodBoolean>;
|
|
939
946
|
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
-
choiceStyle: z.ZodOptional<z.ZodEnum<{
|
|
947
|
+
choiceStyle: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
941
948
|
readonly CHIPS: 'chips';
|
|
942
949
|
readonly OUTLINED: 'outlined';
|
|
943
950
|
readonly LINKS: 'links';
|
|
944
|
-
}
|
|
945
|
-
loader: z.ZodOptional<z.ZodEnum<{
|
|
951
|
+
}>>>;
|
|
952
|
+
loader: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
946
953
|
readonly DOTS: 'dots';
|
|
947
954
|
readonly SPINNER_TEXT: 'spinner-text';
|
|
948
955
|
readonly MATRIX: 'matrix';
|
|
949
956
|
readonly NONE: 'none';
|
|
950
|
-
}
|
|
951
|
-
html: z.ZodOptional<z.ZodEnum<{
|
|
957
|
+
}>>>;
|
|
958
|
+
html: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
952
959
|
readonly TEXT: 'text';
|
|
953
960
|
readonly SAFE: 'safe';
|
|
954
|
-
}
|
|
961
|
+
}>>>;
|
|
955
962
|
linkHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
956
963
|
scrollToBottom: z.ZodOptional<z.ZodBoolean>;
|
|
957
964
|
avatarImageUrl: z.ZodOptional<z.ZodString>;
|
|
958
|
-
citations: z.ZodOptional<z.ZodEnum<{
|
|
965
|
+
citations: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
959
966
|
readonly NONE: 'none';
|
|
960
967
|
readonly LIST: 'list';
|
|
961
968
|
readonly SHEET: 'sheet';
|
|
962
|
-
}
|
|
969
|
+
}>>>;
|
|
963
970
|
}, z.core.$strip>>;
|
|
964
971
|
composer: z.ZodOptional<z.ZodObject<{
|
|
965
|
-
layout: z.ZodOptional<z.ZodEnum<{
|
|
972
|
+
layout: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
966
973
|
readonly INLINE: 'inline';
|
|
967
974
|
readonly TWO_TIER: 'two-tier';
|
|
968
|
-
}
|
|
975
|
+
}>>>;
|
|
969
976
|
dictation: z.ZodOptional<z.ZodBoolean>;
|
|
970
977
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
971
978
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -975,18 +982,18 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
975
982
|
text: z.ZodOptional<z.ZodString>;
|
|
976
983
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
977
984
|
}, z.core.$strip>>;
|
|
978
|
-
shape: z.ZodOptional<z.ZodEnum<{
|
|
985
|
+
shape: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
979
986
|
readonly CARD: 'card';
|
|
980
987
|
readonly BOXED: 'boxed';
|
|
981
988
|
readonly PILL: 'pill';
|
|
982
|
-
}
|
|
989
|
+
}>>>;
|
|
983
990
|
sendButton: z.ZodOptional<z.ZodObject<{
|
|
984
|
-
shape: z.ZodOptional<z.ZodEnum<{
|
|
991
|
+
shape: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
985
992
|
readonly CIRCLE: 'circle';
|
|
986
993
|
readonly ROUNDED: 'rounded';
|
|
987
994
|
readonly SQUARE: 'square';
|
|
988
|
-
}
|
|
989
|
-
icon: z.ZodOptional<z.ZodEnum<{
|
|
995
|
+
}>>>;
|
|
996
|
+
icon: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
990
997
|
readonly SEND: 'send';
|
|
991
998
|
readonly PLUS: 'plus';
|
|
992
999
|
readonly STOP: 'stop';
|
|
@@ -1037,13 +1044,13 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
1037
1044
|
readonly LINK: 'link';
|
|
1038
1045
|
readonly PACKAGE: 'package';
|
|
1039
1046
|
readonly BRIEFCASE: 'briefcase';
|
|
1040
|
-
}
|
|
1047
|
+
}>>>;
|
|
1041
1048
|
}, z.core.$strip>>;
|
|
1042
1049
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
1043
|
-
emptySize: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
+
emptySize: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
1044
1051
|
readonly COMPACT: 'compact';
|
|
1045
1052
|
readonly LARGE: 'large';
|
|
1046
|
-
}
|
|
1053
|
+
}>>>;
|
|
1047
1054
|
}, z.core.$strip>>;
|
|
1048
1055
|
end: z.ZodOptional<z.ZodObject<{
|
|
1049
1056
|
survey: z.ZodOptional<z.ZodObject<{
|
|
@@ -1061,16 +1068,16 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
1061
1068
|
}, z.core.$strip>>;
|
|
1062
1069
|
history: z.ZodOptional<z.ZodObject<{
|
|
1063
1070
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1064
|
-
persistence: z.ZodOptional<z.ZodEnum<{
|
|
1071
|
+
persistence: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
1065
1072
|
readonly MEMORY: 'memory';
|
|
1066
1073
|
readonly TAB: 'tab';
|
|
1067
1074
|
readonly BROWSER: 'browser';
|
|
1068
|
-
}
|
|
1075
|
+
}>>>;
|
|
1069
1076
|
allowDelete: z.ZodOptional<z.ZodBoolean>;
|
|
1070
|
-
listStyle: z.ZodOptional<z.ZodEnum<{
|
|
1077
|
+
listStyle: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
1071
1078
|
readonly DETAILED: 'detailed';
|
|
1072
1079
|
readonly GROUPED: 'grouped';
|
|
1073
|
-
}
|
|
1080
|
+
}>>>;
|
|
1074
1081
|
}, z.core.$strip>>;
|
|
1075
1082
|
sounds: z.ZodOptional<z.ZodObject<{
|
|
1076
1083
|
chime: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1083,16 +1090,16 @@ export declare const InterfaceConfigDTO: z.ZodObject<{
|
|
|
1083
1090
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1084
1091
|
key: z.ZodString;
|
|
1085
1092
|
}, z.core.$strip>>>;
|
|
1086
|
-
timeFormat: z.ZodOptional<z.ZodEnum<{
|
|
1093
|
+
timeFormat: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
1087
1094
|
readonly AUTO: 'auto';
|
|
1088
1095
|
readonly TWELVE_HOUR: '12h';
|
|
1089
1096
|
readonly TWENTY_FOUR_HOUR: '24h';
|
|
1090
|
-
}
|
|
1091
|
-
dateFormat: z.ZodOptional<z.ZodEnum<{
|
|
1097
|
+
}>>>;
|
|
1098
|
+
dateFormat: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
1092
1099
|
readonly AUTO: 'auto';
|
|
1093
1100
|
readonly SHORT: 'short';
|
|
1094
1101
|
readonly LONG: 'long';
|
|
1095
|
-
}
|
|
1102
|
+
}>>>;
|
|
1096
1103
|
}, z.core.$strip>>;
|
|
1097
1104
|
voice: z.ZodOptional<z.ZodObject<{
|
|
1098
1105
|
enabled: z.ZodOptional<z.ZodBoolean>;
|