@helpai/elements 1.3.1 → 1.3.3
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/elements-web-component.esm.js +28 -28
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +28 -28
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +28 -28
- package/elements.esm.js.map +3 -3
- package/elements.js +28 -28
- package/elements.js.map +3 -3
- package/index.d.ts +223 -223
- package/index.mjs +6 -6
- package/package.json +1 -1
- package/schema.d.ts +296 -296
- package/style.css +1 -1
- package/web-component.mjs +5 -5
package/index.d.ts
CHANGED
|
@@ -1196,12 +1196,12 @@ declare const connectionConfigSchema: z.ZodObject<{
|
|
|
1196
1196
|
submitForm: z.ZodDefault<z.ZodString>;
|
|
1197
1197
|
}, z.core.$loose>>;
|
|
1198
1198
|
debug: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1199
|
+
debug: "debug";
|
|
1199
1200
|
error: "error";
|
|
1200
|
-
off: "off";
|
|
1201
|
-
warn: "warn";
|
|
1202
1201
|
info: "info";
|
|
1203
|
-
|
|
1202
|
+
off: "off";
|
|
1204
1203
|
trace: "trace";
|
|
1204
|
+
warn: "warn";
|
|
1205
1205
|
}>]>>;
|
|
1206
1206
|
}, z.core.$loose>;
|
|
1207
1207
|
type ConnectionConfig = z.infer<typeof connectionConfigSchema>;
|
|
@@ -1218,18 +1218,18 @@ type ConnectionConfig = z.infer<typeof connectionConfigSchema>;
|
|
|
1218
1218
|
declare const widgetSettingsSchema: z.ZodObject<{
|
|
1219
1219
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1220
1220
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1221
|
+
drawer: "drawer";
|
|
1221
1222
|
floating: "floating";
|
|
1222
1223
|
inline: "inline";
|
|
1223
|
-
standalone: "standalone";
|
|
1224
|
-
page: "page";
|
|
1225
1224
|
modal: "modal";
|
|
1226
|
-
|
|
1225
|
+
page: "page";
|
|
1226
|
+
standalone: "standalone";
|
|
1227
1227
|
}>>;
|
|
1228
1228
|
position: z.ZodDefault<z.ZodEnum<{
|
|
1229
|
-
"bottom-right": "bottom-right";
|
|
1230
1229
|
"bottom-left": "bottom-left";
|
|
1231
|
-
"
|
|
1230
|
+
"bottom-right": "bottom-right";
|
|
1232
1231
|
"top-left": "top-left";
|
|
1232
|
+
"top-right": "top-right";
|
|
1233
1233
|
}>>;
|
|
1234
1234
|
iframe: z.ZodDefault<z.ZodBoolean>;
|
|
1235
1235
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -1248,10 +1248,10 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1248
1248
|
}, z.core.$loose>>;
|
|
1249
1249
|
inset: z.ZodOptional<z.ZodString>;
|
|
1250
1250
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
1251
|
-
|
|
1251
|
+
auto: "auto";
|
|
1252
1252
|
expanded: "expanded";
|
|
1253
|
+
fullscreen: "fullscreen";
|
|
1253
1254
|
normal: "normal";
|
|
1254
|
-
auto: "auto";
|
|
1255
1255
|
}>>;
|
|
1256
1256
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
1257
1257
|
}, z.core.$loose>>;
|
|
@@ -1259,8 +1259,8 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1259
1259
|
behavior: z.ZodOptional<z.ZodObject<{
|
|
1260
1260
|
startMinimized: z.ZodDefault<z.ZodBoolean>;
|
|
1261
1261
|
responseMode: z.ZodDefault<z.ZodEnum<{
|
|
1262
|
-
streaming: "streaming";
|
|
1263
1262
|
buffered: "buffered";
|
|
1263
|
+
streaming: "streaming";
|
|
1264
1264
|
}>>;
|
|
1265
1265
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1266
1266
|
showToolCalls: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1271,8 +1271,8 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1271
1271
|
}, z.core.$loose>>;
|
|
1272
1272
|
theme: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1273
1273
|
auto: "auto";
|
|
1274
|
-
light: "light";
|
|
1275
1274
|
dark: "dark";
|
|
1275
|
+
light: "light";
|
|
1276
1276
|
}>, z.ZodObject<{
|
|
1277
1277
|
accent: z.ZodOptional<z.ZodString>;
|
|
1278
1278
|
accentText: z.ZodOptional<z.ZodString>;
|
|
@@ -1282,15 +1282,15 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1282
1282
|
}, z.core.$loose>]>>;
|
|
1283
1283
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
1284
1284
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
1285
|
-
circle: "circle";
|
|
1286
|
-
pill: "pill";
|
|
1287
1285
|
bar: "bar";
|
|
1286
|
+
circle: "circle";
|
|
1288
1287
|
minimal: "minimal";
|
|
1288
|
+
pill: "pill";
|
|
1289
1289
|
}>>;
|
|
1290
1290
|
size: z.ZodDefault<z.ZodEnum<{
|
|
1291
|
-
sm: "sm";
|
|
1292
|
-
md: "md";
|
|
1293
1291
|
lg: "lg";
|
|
1292
|
+
md: "md";
|
|
1293
|
+
sm: "sm";
|
|
1294
1294
|
}>>;
|
|
1295
1295
|
label: z.ZodOptional<z.ZodString>;
|
|
1296
1296
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -1298,9 +1298,9 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1298
1298
|
callout: z.ZodOptional<z.ZodObject<{
|
|
1299
1299
|
text: z.ZodDefault<z.ZodString>;
|
|
1300
1300
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
1301
|
-
pill: "pill";
|
|
1302
1301
|
bubble: "bubble";
|
|
1303
1302
|
callout: "callout";
|
|
1303
|
+
pill: "pill";
|
|
1304
1304
|
}>>;
|
|
1305
1305
|
position: z.ZodDefault<z.ZodEnum<{
|
|
1306
1306
|
auto: "auto";
|
|
@@ -1315,16 +1315,16 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1315
1315
|
}, z.core.$loose>>;
|
|
1316
1316
|
header: z.ZodOptional<z.ZodObject<{
|
|
1317
1317
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1318
|
+
clear: "clear";
|
|
1318
1319
|
close: "close";
|
|
1319
1320
|
expand: "expand";
|
|
1320
1321
|
fullscreen: "fullscreen";
|
|
1321
|
-
clear: "clear";
|
|
1322
|
-
theme: "theme";
|
|
1323
|
-
popOut: "popOut";
|
|
1324
|
-
sound: "sound";
|
|
1325
1322
|
history: "history";
|
|
1326
1323
|
language: "language";
|
|
1324
|
+
popOut: "popOut";
|
|
1325
|
+
sound: "sound";
|
|
1327
1326
|
textSize: "textSize";
|
|
1327
|
+
theme: "theme";
|
|
1328
1328
|
}>>>;
|
|
1329
1329
|
}, z.core.$loose>>;
|
|
1330
1330
|
composer: z.ZodOptional<z.ZodObject<{
|
|
@@ -1335,15 +1335,15 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1335
1335
|
square: "square";
|
|
1336
1336
|
}>>;
|
|
1337
1337
|
icon: z.ZodDefault<z.ZodEnum<{
|
|
1338
|
-
send: "send";
|
|
1339
1338
|
arrowUp: "arrowUp";
|
|
1340
|
-
paperPlane: "paperPlane";
|
|
1341
1339
|
chevron: "chevron";
|
|
1340
|
+
paperPlane: "paperPlane";
|
|
1341
|
+
send: "send";
|
|
1342
1342
|
}>>;
|
|
1343
1343
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
1344
1344
|
filled: "filled";
|
|
1345
|
-
outline: "outline";
|
|
1346
1345
|
ghost: "ghost";
|
|
1346
|
+
outline: "outline";
|
|
1347
1347
|
}>>;
|
|
1348
1348
|
}, z.core.$loose>>;
|
|
1349
1349
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -1357,21 +1357,21 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1357
1357
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1358
1358
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
1359
1359
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1360
|
-
voiceStart: "voiceStart";
|
|
1361
|
-
voiceStop: "voiceStop";
|
|
1362
1360
|
error: "error";
|
|
1363
1361
|
messageReceived: "messageReceived";
|
|
1364
1362
|
messageSent: "messageSent";
|
|
1363
|
+
voiceStart: "voiceStart";
|
|
1364
|
+
voiceStop: "voiceStop";
|
|
1365
1365
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
1366
1366
|
}, z.core.$loose>>;
|
|
1367
1367
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
1368
1368
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1369
1369
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1370
|
-
voiceStart: "voiceStart";
|
|
1371
|
-
voiceStop: "voiceStop";
|
|
1372
1370
|
error: "error";
|
|
1373
1371
|
messageReceived: "messageReceived";
|
|
1374
1372
|
messageSent: "messageSent";
|
|
1373
|
+
voiceStart: "voiceStart";
|
|
1374
|
+
voiceStop: "voiceStop";
|
|
1375
1375
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
1376
1376
|
}, z.core.$loose>>;
|
|
1377
1377
|
}, z.core.$loose>>;
|
|
@@ -1392,9 +1392,9 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1392
1392
|
features: z.ZodOptional<z.ZodObject<{
|
|
1393
1393
|
disableFileUpload: z.ZodDefault<z.ZodBoolean>;
|
|
1394
1394
|
voice: z.ZodDefault<z.ZodEnum<{
|
|
1395
|
+
disabled: "disabled";
|
|
1395
1396
|
local: "local";
|
|
1396
1397
|
server: "server";
|
|
1397
|
-
disabled: "disabled";
|
|
1398
1398
|
}>>;
|
|
1399
1399
|
disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
|
|
1400
1400
|
enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1412,18 +1412,18 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1412
1412
|
name: z.ZodString;
|
|
1413
1413
|
label: z.ZodString;
|
|
1414
1414
|
type: z.ZodEnum<{
|
|
1415
|
-
|
|
1416
|
-
url: "url";
|
|
1417
|
-
email: "email";
|
|
1415
|
+
checkbox: "checkbox";
|
|
1418
1416
|
date: "date";
|
|
1419
|
-
|
|
1417
|
+
email: "email";
|
|
1418
|
+
multiselect: "multiselect";
|
|
1419
|
+
number: "number";
|
|
1420
|
+
radio: "radio";
|
|
1421
|
+
select: "select";
|
|
1420
1422
|
tel: "tel";
|
|
1421
|
-
|
|
1423
|
+
text: "text";
|
|
1422
1424
|
textarea: "textarea";
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
checkbox: "checkbox";
|
|
1426
|
-
multiselect: "multiselect";
|
|
1425
|
+
time: "time";
|
|
1426
|
+
url: "url";
|
|
1427
1427
|
}>;
|
|
1428
1428
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1429
1429
|
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1450,9 +1450,9 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1450
1450
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
skippable: z.ZodDefault<z.ZodBoolean>;
|
|
1452
1452
|
frequency: z.ZodDefault<z.ZodEnum<{
|
|
1453
|
-
once: "once";
|
|
1454
|
-
conversation: "conversation";
|
|
1455
1453
|
always: "always";
|
|
1454
|
+
conversation: "conversation";
|
|
1455
|
+
once: "once";
|
|
1456
1456
|
}>>;
|
|
1457
1457
|
mirrorToContext: z.ZodDefault<z.ZodBoolean>;
|
|
1458
1458
|
reopenable: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1479,9 +1479,9 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1479
1479
|
modules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1480
1480
|
label: z.ZodString;
|
|
1481
1481
|
layout: z.ZodEnum<{
|
|
1482
|
-
home: "home";
|
|
1483
1482
|
chat: "chat";
|
|
1484
1483
|
help: "help";
|
|
1484
|
+
home: "home";
|
|
1485
1485
|
news: "news";
|
|
1486
1486
|
}>;
|
|
1487
1487
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1544,29 +1544,27 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1544
1544
|
submitForm: z.ZodDefault<z.ZodString>;
|
|
1545
1545
|
}, z.core.$loose>>;
|
|
1546
1546
|
debug: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1547
|
+
debug: "debug";
|
|
1547
1548
|
error: "error";
|
|
1548
|
-
off: "off";
|
|
1549
|
-
warn: "warn";
|
|
1550
1549
|
info: "info";
|
|
1551
|
-
|
|
1550
|
+
off: "off";
|
|
1552
1551
|
trace: "trace";
|
|
1552
|
+
warn: "warn";
|
|
1553
1553
|
}>]>>;
|
|
1554
|
-
site: z.ZodOptional<z.ZodUnknown>;
|
|
1555
|
-
blocks: z.ZodOptional<z.ZodUnknown>;
|
|
1556
1554
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1557
1555
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1556
|
+
drawer: "drawer";
|
|
1558
1557
|
floating: "floating";
|
|
1559
1558
|
inline: "inline";
|
|
1560
|
-
standalone: "standalone";
|
|
1561
|
-
page: "page";
|
|
1562
1559
|
modal: "modal";
|
|
1563
|
-
|
|
1560
|
+
page: "page";
|
|
1561
|
+
standalone: "standalone";
|
|
1564
1562
|
}>>;
|
|
1565
1563
|
position: z.ZodDefault<z.ZodEnum<{
|
|
1566
|
-
"bottom-right": "bottom-right";
|
|
1567
1564
|
"bottom-left": "bottom-left";
|
|
1568
|
-
"
|
|
1565
|
+
"bottom-right": "bottom-right";
|
|
1569
1566
|
"top-left": "top-left";
|
|
1567
|
+
"top-right": "top-right";
|
|
1570
1568
|
}>>;
|
|
1571
1569
|
iframe: z.ZodDefault<z.ZodBoolean>;
|
|
1572
1570
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -1585,10 +1583,10 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1585
1583
|
}, z.core.$loose>>;
|
|
1586
1584
|
inset: z.ZodOptional<z.ZodString>;
|
|
1587
1585
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
1588
|
-
|
|
1586
|
+
auto: "auto";
|
|
1589
1587
|
expanded: "expanded";
|
|
1588
|
+
fullscreen: "fullscreen";
|
|
1590
1589
|
normal: "normal";
|
|
1591
|
-
auto: "auto";
|
|
1592
1590
|
}>>;
|
|
1593
1591
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
1594
1592
|
}, z.core.$loose>>;
|
|
@@ -1596,8 +1594,8 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1596
1594
|
behavior: z.ZodOptional<z.ZodObject<{
|
|
1597
1595
|
startMinimized: z.ZodDefault<z.ZodBoolean>;
|
|
1598
1596
|
responseMode: z.ZodDefault<z.ZodEnum<{
|
|
1599
|
-
streaming: "streaming";
|
|
1600
1597
|
buffered: "buffered";
|
|
1598
|
+
streaming: "streaming";
|
|
1601
1599
|
}>>;
|
|
1602
1600
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1603
1601
|
showToolCalls: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1608,8 +1606,8 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1608
1606
|
}, z.core.$loose>>;
|
|
1609
1607
|
theme: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1610
1608
|
auto: "auto";
|
|
1611
|
-
light: "light";
|
|
1612
1609
|
dark: "dark";
|
|
1610
|
+
light: "light";
|
|
1613
1611
|
}>, z.ZodObject<{
|
|
1614
1612
|
accent: z.ZodOptional<z.ZodString>;
|
|
1615
1613
|
accentText: z.ZodOptional<z.ZodString>;
|
|
@@ -1619,15 +1617,15 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1619
1617
|
}, z.core.$loose>]>>;
|
|
1620
1618
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
1621
1619
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
1622
|
-
circle: "circle";
|
|
1623
|
-
pill: "pill";
|
|
1624
1620
|
bar: "bar";
|
|
1621
|
+
circle: "circle";
|
|
1625
1622
|
minimal: "minimal";
|
|
1623
|
+
pill: "pill";
|
|
1626
1624
|
}>>;
|
|
1627
1625
|
size: z.ZodDefault<z.ZodEnum<{
|
|
1628
|
-
sm: "sm";
|
|
1629
|
-
md: "md";
|
|
1630
1626
|
lg: "lg";
|
|
1627
|
+
md: "md";
|
|
1628
|
+
sm: "sm";
|
|
1631
1629
|
}>>;
|
|
1632
1630
|
label: z.ZodOptional<z.ZodString>;
|
|
1633
1631
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -1635,9 +1633,9 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1635
1633
|
callout: z.ZodOptional<z.ZodObject<{
|
|
1636
1634
|
text: z.ZodDefault<z.ZodString>;
|
|
1637
1635
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
1638
|
-
pill: "pill";
|
|
1639
1636
|
bubble: "bubble";
|
|
1640
1637
|
callout: "callout";
|
|
1638
|
+
pill: "pill";
|
|
1641
1639
|
}>>;
|
|
1642
1640
|
position: z.ZodDefault<z.ZodEnum<{
|
|
1643
1641
|
auto: "auto";
|
|
@@ -1652,16 +1650,16 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1652
1650
|
}, z.core.$loose>>;
|
|
1653
1651
|
header: z.ZodOptional<z.ZodObject<{
|
|
1654
1652
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1653
|
+
clear: "clear";
|
|
1655
1654
|
close: "close";
|
|
1656
1655
|
expand: "expand";
|
|
1657
1656
|
fullscreen: "fullscreen";
|
|
1658
|
-
clear: "clear";
|
|
1659
|
-
theme: "theme";
|
|
1660
|
-
popOut: "popOut";
|
|
1661
|
-
sound: "sound";
|
|
1662
1657
|
history: "history";
|
|
1663
1658
|
language: "language";
|
|
1659
|
+
popOut: "popOut";
|
|
1660
|
+
sound: "sound";
|
|
1664
1661
|
textSize: "textSize";
|
|
1662
|
+
theme: "theme";
|
|
1665
1663
|
}>>>;
|
|
1666
1664
|
}, z.core.$loose>>;
|
|
1667
1665
|
composer: z.ZodOptional<z.ZodObject<{
|
|
@@ -1672,15 +1670,15 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1672
1670
|
square: "square";
|
|
1673
1671
|
}>>;
|
|
1674
1672
|
icon: z.ZodDefault<z.ZodEnum<{
|
|
1675
|
-
send: "send";
|
|
1676
1673
|
arrowUp: "arrowUp";
|
|
1677
|
-
paperPlane: "paperPlane";
|
|
1678
1674
|
chevron: "chevron";
|
|
1675
|
+
paperPlane: "paperPlane";
|
|
1676
|
+
send: "send";
|
|
1679
1677
|
}>>;
|
|
1680
1678
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
1681
1679
|
filled: "filled";
|
|
1682
|
-
outline: "outline";
|
|
1683
1680
|
ghost: "ghost";
|
|
1681
|
+
outline: "outline";
|
|
1684
1682
|
}>>;
|
|
1685
1683
|
}, z.core.$loose>>;
|
|
1686
1684
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -1694,21 +1692,21 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1694
1692
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1695
1693
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
1696
1694
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1697
|
-
voiceStart: "voiceStart";
|
|
1698
|
-
voiceStop: "voiceStop";
|
|
1699
1695
|
error: "error";
|
|
1700
1696
|
messageReceived: "messageReceived";
|
|
1701
1697
|
messageSent: "messageSent";
|
|
1698
|
+
voiceStart: "voiceStart";
|
|
1699
|
+
voiceStop: "voiceStop";
|
|
1702
1700
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
1703
1701
|
}, z.core.$loose>>;
|
|
1704
1702
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
1705
1703
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1706
1704
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1707
|
-
voiceStart: "voiceStart";
|
|
1708
|
-
voiceStop: "voiceStop";
|
|
1709
1705
|
error: "error";
|
|
1710
1706
|
messageReceived: "messageReceived";
|
|
1711
1707
|
messageSent: "messageSent";
|
|
1708
|
+
voiceStart: "voiceStart";
|
|
1709
|
+
voiceStop: "voiceStop";
|
|
1712
1710
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
1713
1711
|
}, z.core.$loose>>;
|
|
1714
1712
|
}, z.core.$loose>>;
|
|
@@ -1729,9 +1727,9 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1729
1727
|
features: z.ZodOptional<z.ZodObject<{
|
|
1730
1728
|
disableFileUpload: z.ZodDefault<z.ZodBoolean>;
|
|
1731
1729
|
voice: z.ZodDefault<z.ZodEnum<{
|
|
1730
|
+
disabled: "disabled";
|
|
1732
1731
|
local: "local";
|
|
1733
1732
|
server: "server";
|
|
1734
|
-
disabled: "disabled";
|
|
1735
1733
|
}>>;
|
|
1736
1734
|
disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
|
|
1737
1735
|
enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1749,18 +1747,18 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1749
1747
|
name: z.ZodString;
|
|
1750
1748
|
label: z.ZodString;
|
|
1751
1749
|
type: z.ZodEnum<{
|
|
1752
|
-
|
|
1753
|
-
url: "url";
|
|
1754
|
-
email: "email";
|
|
1750
|
+
checkbox: "checkbox";
|
|
1755
1751
|
date: "date";
|
|
1756
|
-
|
|
1752
|
+
email: "email";
|
|
1753
|
+
multiselect: "multiselect";
|
|
1754
|
+
number: "number";
|
|
1755
|
+
radio: "radio";
|
|
1756
|
+
select: "select";
|
|
1757
1757
|
tel: "tel";
|
|
1758
|
-
|
|
1758
|
+
text: "text";
|
|
1759
1759
|
textarea: "textarea";
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
checkbox: "checkbox";
|
|
1763
|
-
multiselect: "multiselect";
|
|
1760
|
+
time: "time";
|
|
1761
|
+
url: "url";
|
|
1764
1762
|
}>;
|
|
1765
1763
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1766
1764
|
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1787,9 +1785,9 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1787
1785
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
1788
1786
|
skippable: z.ZodDefault<z.ZodBoolean>;
|
|
1789
1787
|
frequency: z.ZodDefault<z.ZodEnum<{
|
|
1790
|
-
once: "once";
|
|
1791
|
-
conversation: "conversation";
|
|
1792
1788
|
always: "always";
|
|
1789
|
+
conversation: "conversation";
|
|
1790
|
+
once: "once";
|
|
1793
1791
|
}>>;
|
|
1794
1792
|
mirrorToContext: z.ZodDefault<z.ZodBoolean>;
|
|
1795
1793
|
reopenable: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1816,9 +1814,9 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1816
1814
|
modules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1817
1815
|
label: z.ZodString;
|
|
1818
1816
|
layout: z.ZodEnum<{
|
|
1819
|
-
home: "home";
|
|
1820
1817
|
chat: "chat";
|
|
1821
1818
|
help: "help";
|
|
1819
|
+
home: "home";
|
|
1822
1820
|
news: "news";
|
|
1823
1821
|
}>;
|
|
1824
1822
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1846,6 +1844,8 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1846
1844
|
sampleRate: z.ZodOptional<z.ZodNumber>;
|
|
1847
1845
|
token: z.ZodOptional<z.ZodString>;
|
|
1848
1846
|
}, z.core.$loose>>;
|
|
1847
|
+
site: z.ZodOptional<z.ZodUnknown>;
|
|
1848
|
+
blocks: z.ZodOptional<z.ZodUnknown>;
|
|
1849
1849
|
}, z.core.$loose>;
|
|
1850
1850
|
type WidgetConfig = z.infer<typeof widgetConfigSchema>;
|
|
1851
1851
|
/**
|
|
@@ -1880,29 +1880,27 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1880
1880
|
submitForm: z.ZodDefault<z.ZodString>;
|
|
1881
1881
|
}, z.core.$loose>>>;
|
|
1882
1882
|
debug: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1883
|
+
debug: "debug";
|
|
1883
1884
|
error: "error";
|
|
1884
|
-
off: "off";
|
|
1885
|
-
warn: "warn";
|
|
1886
1885
|
info: "info";
|
|
1887
|
-
|
|
1886
|
+
off: "off";
|
|
1888
1887
|
trace: "trace";
|
|
1888
|
+
warn: "warn";
|
|
1889
1889
|
}>]>>>;
|
|
1890
|
-
site: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
1891
|
-
blocks: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
1892
1890
|
presentation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1893
1891
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1892
|
+
drawer: "drawer";
|
|
1894
1893
|
floating: "floating";
|
|
1895
1894
|
inline: "inline";
|
|
1896
|
-
standalone: "standalone";
|
|
1897
|
-
page: "page";
|
|
1898
1895
|
modal: "modal";
|
|
1899
|
-
|
|
1896
|
+
page: "page";
|
|
1897
|
+
standalone: "standalone";
|
|
1900
1898
|
}>>;
|
|
1901
1899
|
position: z.ZodDefault<z.ZodEnum<{
|
|
1902
|
-
"bottom-right": "bottom-right";
|
|
1903
1900
|
"bottom-left": "bottom-left";
|
|
1904
|
-
"
|
|
1901
|
+
"bottom-right": "bottom-right";
|
|
1905
1902
|
"top-left": "top-left";
|
|
1903
|
+
"top-right": "top-right";
|
|
1906
1904
|
}>>;
|
|
1907
1905
|
iframe: z.ZodDefault<z.ZodBoolean>;
|
|
1908
1906
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -1921,10 +1919,10 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1921
1919
|
}, z.core.$loose>>;
|
|
1922
1920
|
inset: z.ZodOptional<z.ZodString>;
|
|
1923
1921
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
1924
|
-
|
|
1922
|
+
auto: "auto";
|
|
1925
1923
|
expanded: "expanded";
|
|
1924
|
+
fullscreen: "fullscreen";
|
|
1926
1925
|
normal: "normal";
|
|
1927
|
-
auto: "auto";
|
|
1928
1926
|
}>>;
|
|
1929
1927
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
1930
1928
|
}, z.core.$loose>>;
|
|
@@ -1932,8 +1930,8 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1932
1930
|
behavior: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1933
1931
|
startMinimized: z.ZodDefault<z.ZodBoolean>;
|
|
1934
1932
|
responseMode: z.ZodDefault<z.ZodEnum<{
|
|
1935
|
-
streaming: "streaming";
|
|
1936
1933
|
buffered: "buffered";
|
|
1934
|
+
streaming: "streaming";
|
|
1937
1935
|
}>>;
|
|
1938
1936
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1939
1937
|
showToolCalls: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1944,8 +1942,8 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1944
1942
|
}, z.core.$loose>>>;
|
|
1945
1943
|
theme: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1946
1944
|
auto: "auto";
|
|
1947
|
-
light: "light";
|
|
1948
1945
|
dark: "dark";
|
|
1946
|
+
light: "light";
|
|
1949
1947
|
}>, z.ZodObject<{
|
|
1950
1948
|
accent: z.ZodOptional<z.ZodString>;
|
|
1951
1949
|
accentText: z.ZodOptional<z.ZodString>;
|
|
@@ -1955,15 +1953,15 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1955
1953
|
}, z.core.$loose>]>>>;
|
|
1956
1954
|
launcher: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1957
1955
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
1958
|
-
circle: "circle";
|
|
1959
|
-
pill: "pill";
|
|
1960
1956
|
bar: "bar";
|
|
1957
|
+
circle: "circle";
|
|
1961
1958
|
minimal: "minimal";
|
|
1959
|
+
pill: "pill";
|
|
1962
1960
|
}>>;
|
|
1963
1961
|
size: z.ZodDefault<z.ZodEnum<{
|
|
1964
|
-
sm: "sm";
|
|
1965
|
-
md: "md";
|
|
1966
1962
|
lg: "lg";
|
|
1963
|
+
md: "md";
|
|
1964
|
+
sm: "sm";
|
|
1967
1965
|
}>>;
|
|
1968
1966
|
label: z.ZodOptional<z.ZodString>;
|
|
1969
1967
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -1971,9 +1969,9 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1971
1969
|
callout: z.ZodOptional<z.ZodObject<{
|
|
1972
1970
|
text: z.ZodDefault<z.ZodString>;
|
|
1973
1971
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
1974
|
-
pill: "pill";
|
|
1975
1972
|
bubble: "bubble";
|
|
1976
1973
|
callout: "callout";
|
|
1974
|
+
pill: "pill";
|
|
1977
1975
|
}>>;
|
|
1978
1976
|
position: z.ZodDefault<z.ZodEnum<{
|
|
1979
1977
|
auto: "auto";
|
|
@@ -1988,16 +1986,16 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1988
1986
|
}, z.core.$loose>>>;
|
|
1989
1987
|
header: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1990
1988
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1989
|
+
clear: "clear";
|
|
1991
1990
|
close: "close";
|
|
1992
1991
|
expand: "expand";
|
|
1993
1992
|
fullscreen: "fullscreen";
|
|
1994
|
-
clear: "clear";
|
|
1995
|
-
theme: "theme";
|
|
1996
|
-
popOut: "popOut";
|
|
1997
|
-
sound: "sound";
|
|
1998
1993
|
history: "history";
|
|
1999
1994
|
language: "language";
|
|
1995
|
+
popOut: "popOut";
|
|
1996
|
+
sound: "sound";
|
|
2000
1997
|
textSize: "textSize";
|
|
1998
|
+
theme: "theme";
|
|
2001
1999
|
}>>>;
|
|
2002
2000
|
}, z.core.$loose>>>;
|
|
2003
2001
|
composer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -2008,15 +2006,15 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2008
2006
|
square: "square";
|
|
2009
2007
|
}>>;
|
|
2010
2008
|
icon: z.ZodDefault<z.ZodEnum<{
|
|
2011
|
-
send: "send";
|
|
2012
2009
|
arrowUp: "arrowUp";
|
|
2013
|
-
paperPlane: "paperPlane";
|
|
2014
2010
|
chevron: "chevron";
|
|
2011
|
+
paperPlane: "paperPlane";
|
|
2012
|
+
send: "send";
|
|
2015
2013
|
}>>;
|
|
2016
2014
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2017
2015
|
filled: "filled";
|
|
2018
|
-
outline: "outline";
|
|
2019
2016
|
ghost: "ghost";
|
|
2017
|
+
outline: "outline";
|
|
2020
2018
|
}>>;
|
|
2021
2019
|
}, z.core.$loose>>;
|
|
2022
2020
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -2030,21 +2028,21 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2030
2028
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2031
2029
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
2032
2030
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2033
|
-
voiceStart: "voiceStart";
|
|
2034
|
-
voiceStop: "voiceStop";
|
|
2035
2031
|
error: "error";
|
|
2036
2032
|
messageReceived: "messageReceived";
|
|
2037
2033
|
messageSent: "messageSent";
|
|
2034
|
+
voiceStart: "voiceStart";
|
|
2035
|
+
voiceStop: "voiceStop";
|
|
2038
2036
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
2039
2037
|
}, z.core.$loose>>;
|
|
2040
2038
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
2041
2039
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2042
2040
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2043
|
-
voiceStart: "voiceStart";
|
|
2044
|
-
voiceStop: "voiceStop";
|
|
2045
2041
|
error: "error";
|
|
2046
2042
|
messageReceived: "messageReceived";
|
|
2047
2043
|
messageSent: "messageSent";
|
|
2044
|
+
voiceStart: "voiceStart";
|
|
2045
|
+
voiceStop: "voiceStop";
|
|
2048
2046
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
2049
2047
|
}, z.core.$loose>>;
|
|
2050
2048
|
}, z.core.$loose>>>;
|
|
@@ -2065,9 +2063,9 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2065
2063
|
features: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2066
2064
|
disableFileUpload: z.ZodDefault<z.ZodBoolean>;
|
|
2067
2065
|
voice: z.ZodDefault<z.ZodEnum<{
|
|
2066
|
+
disabled: "disabled";
|
|
2068
2067
|
local: "local";
|
|
2069
2068
|
server: "server";
|
|
2070
|
-
disabled: "disabled";
|
|
2071
2069
|
}>>;
|
|
2072
2070
|
disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
|
|
2073
2071
|
enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2085,18 +2083,18 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2085
2083
|
name: z.ZodString;
|
|
2086
2084
|
label: z.ZodString;
|
|
2087
2085
|
type: z.ZodEnum<{
|
|
2088
|
-
|
|
2089
|
-
url: "url";
|
|
2090
|
-
email: "email";
|
|
2086
|
+
checkbox: "checkbox";
|
|
2091
2087
|
date: "date";
|
|
2092
|
-
|
|
2088
|
+
email: "email";
|
|
2089
|
+
multiselect: "multiselect";
|
|
2090
|
+
number: "number";
|
|
2091
|
+
radio: "radio";
|
|
2092
|
+
select: "select";
|
|
2093
2093
|
tel: "tel";
|
|
2094
|
-
|
|
2094
|
+
text: "text";
|
|
2095
2095
|
textarea: "textarea";
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
checkbox: "checkbox";
|
|
2099
|
-
multiselect: "multiselect";
|
|
2096
|
+
time: "time";
|
|
2097
|
+
url: "url";
|
|
2100
2098
|
}>;
|
|
2101
2099
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2102
2100
|
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -2123,9 +2121,9 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2123
2121
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
2124
2122
|
skippable: z.ZodDefault<z.ZodBoolean>;
|
|
2125
2123
|
frequency: z.ZodDefault<z.ZodEnum<{
|
|
2126
|
-
once: "once";
|
|
2127
|
-
conversation: "conversation";
|
|
2128
2124
|
always: "always";
|
|
2125
|
+
conversation: "conversation";
|
|
2126
|
+
once: "once";
|
|
2129
2127
|
}>>;
|
|
2130
2128
|
mirrorToContext: z.ZodDefault<z.ZodBoolean>;
|
|
2131
2129
|
reopenable: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2152,9 +2150,9 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2152
2150
|
modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2153
2151
|
label: z.ZodString;
|
|
2154
2152
|
layout: z.ZodEnum<{
|
|
2155
|
-
home: "home";
|
|
2156
2153
|
chat: "chat";
|
|
2157
2154
|
help: "help";
|
|
2155
|
+
home: "home";
|
|
2158
2156
|
news: "news";
|
|
2159
2157
|
}>;
|
|
2160
2158
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2182,23 +2180,25 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
2182
2180
|
sampleRate: z.ZodOptional<z.ZodNumber>;
|
|
2183
2181
|
token: z.ZodOptional<z.ZodString>;
|
|
2184
2182
|
}, z.core.$loose>>>;
|
|
2183
|
+
site: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
2184
|
+
blocks: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
2185
2185
|
}, z.core.$loose>;
|
|
2186
2186
|
type WidgetConfigPartial = z.infer<typeof widgetConfigPartialSchema>;
|
|
2187
2187
|
declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
2188
2188
|
presentation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2189
2189
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
2190
|
+
drawer: "drawer";
|
|
2190
2191
|
floating: "floating";
|
|
2191
2192
|
inline: "inline";
|
|
2192
|
-
standalone: "standalone";
|
|
2193
|
-
page: "page";
|
|
2194
2193
|
modal: "modal";
|
|
2195
|
-
|
|
2194
|
+
page: "page";
|
|
2195
|
+
standalone: "standalone";
|
|
2196
2196
|
}>>;
|
|
2197
2197
|
position: z.ZodDefault<z.ZodEnum<{
|
|
2198
|
-
"bottom-right": "bottom-right";
|
|
2199
2198
|
"bottom-left": "bottom-left";
|
|
2200
|
-
"
|
|
2199
|
+
"bottom-right": "bottom-right";
|
|
2201
2200
|
"top-left": "top-left";
|
|
2201
|
+
"top-right": "top-right";
|
|
2202
2202
|
}>>;
|
|
2203
2203
|
iframe: z.ZodDefault<z.ZodBoolean>;
|
|
2204
2204
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -2217,10 +2217,10 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2217
2217
|
}, z.core.$loose>>;
|
|
2218
2218
|
inset: z.ZodOptional<z.ZodString>;
|
|
2219
2219
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
2220
|
-
|
|
2220
|
+
auto: "auto";
|
|
2221
2221
|
expanded: "expanded";
|
|
2222
|
+
fullscreen: "fullscreen";
|
|
2222
2223
|
normal: "normal";
|
|
2223
|
-
auto: "auto";
|
|
2224
2224
|
}>>;
|
|
2225
2225
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
2226
2226
|
}, z.core.$loose>>;
|
|
@@ -2228,8 +2228,8 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2228
2228
|
behavior: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2229
2229
|
startMinimized: z.ZodDefault<z.ZodBoolean>;
|
|
2230
2230
|
responseMode: z.ZodDefault<z.ZodEnum<{
|
|
2231
|
-
streaming: "streaming";
|
|
2232
2231
|
buffered: "buffered";
|
|
2232
|
+
streaming: "streaming";
|
|
2233
2233
|
}>>;
|
|
2234
2234
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
2235
2235
|
showToolCalls: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2240,8 +2240,8 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2240
2240
|
}, z.core.$loose>>>;
|
|
2241
2241
|
theme: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2242
2242
|
auto: "auto";
|
|
2243
|
-
light: "light";
|
|
2244
2243
|
dark: "dark";
|
|
2244
|
+
light: "light";
|
|
2245
2245
|
}>, z.ZodObject<{
|
|
2246
2246
|
accent: z.ZodOptional<z.ZodString>;
|
|
2247
2247
|
accentText: z.ZodOptional<z.ZodString>;
|
|
@@ -2251,15 +2251,15 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2251
2251
|
}, z.core.$loose>]>>>;
|
|
2252
2252
|
launcher: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2253
2253
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2254
|
-
circle: "circle";
|
|
2255
|
-
pill: "pill";
|
|
2256
2254
|
bar: "bar";
|
|
2255
|
+
circle: "circle";
|
|
2257
2256
|
minimal: "minimal";
|
|
2257
|
+
pill: "pill";
|
|
2258
2258
|
}>>;
|
|
2259
2259
|
size: z.ZodDefault<z.ZodEnum<{
|
|
2260
|
-
sm: "sm";
|
|
2261
|
-
md: "md";
|
|
2262
2260
|
lg: "lg";
|
|
2261
|
+
md: "md";
|
|
2262
|
+
sm: "sm";
|
|
2263
2263
|
}>>;
|
|
2264
2264
|
label: z.ZodOptional<z.ZodString>;
|
|
2265
2265
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -2267,9 +2267,9 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2267
2267
|
callout: z.ZodOptional<z.ZodObject<{
|
|
2268
2268
|
text: z.ZodDefault<z.ZodString>;
|
|
2269
2269
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
2270
|
-
pill: "pill";
|
|
2271
2270
|
bubble: "bubble";
|
|
2272
2271
|
callout: "callout";
|
|
2272
|
+
pill: "pill";
|
|
2273
2273
|
}>>;
|
|
2274
2274
|
position: z.ZodDefault<z.ZodEnum<{
|
|
2275
2275
|
auto: "auto";
|
|
@@ -2284,16 +2284,16 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2284
2284
|
}, z.core.$loose>>>;
|
|
2285
2285
|
header: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2286
2286
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2287
|
+
clear: "clear";
|
|
2287
2288
|
close: "close";
|
|
2288
2289
|
expand: "expand";
|
|
2289
2290
|
fullscreen: "fullscreen";
|
|
2290
|
-
clear: "clear";
|
|
2291
|
-
theme: "theme";
|
|
2292
|
-
popOut: "popOut";
|
|
2293
|
-
sound: "sound";
|
|
2294
2291
|
history: "history";
|
|
2295
2292
|
language: "language";
|
|
2293
|
+
popOut: "popOut";
|
|
2294
|
+
sound: "sound";
|
|
2296
2295
|
textSize: "textSize";
|
|
2296
|
+
theme: "theme";
|
|
2297
2297
|
}>>>;
|
|
2298
2298
|
}, z.core.$loose>>>;
|
|
2299
2299
|
composer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -2304,15 +2304,15 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2304
2304
|
square: "square";
|
|
2305
2305
|
}>>;
|
|
2306
2306
|
icon: z.ZodDefault<z.ZodEnum<{
|
|
2307
|
-
send: "send";
|
|
2308
2307
|
arrowUp: "arrowUp";
|
|
2309
|
-
paperPlane: "paperPlane";
|
|
2310
2308
|
chevron: "chevron";
|
|
2309
|
+
paperPlane: "paperPlane";
|
|
2310
|
+
send: "send";
|
|
2311
2311
|
}>>;
|
|
2312
2312
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2313
2313
|
filled: "filled";
|
|
2314
|
-
outline: "outline";
|
|
2315
2314
|
ghost: "ghost";
|
|
2315
|
+
outline: "outline";
|
|
2316
2316
|
}>>;
|
|
2317
2317
|
}, z.core.$loose>>;
|
|
2318
2318
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -2326,21 +2326,21 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2326
2326
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2327
2327
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
2328
2328
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2329
|
-
voiceStart: "voiceStart";
|
|
2330
|
-
voiceStop: "voiceStop";
|
|
2331
2329
|
error: "error";
|
|
2332
2330
|
messageReceived: "messageReceived";
|
|
2333
2331
|
messageSent: "messageSent";
|
|
2332
|
+
voiceStart: "voiceStart";
|
|
2333
|
+
voiceStop: "voiceStop";
|
|
2334
2334
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
2335
2335
|
}, z.core.$loose>>;
|
|
2336
2336
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
2337
2337
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2338
2338
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2339
|
-
voiceStart: "voiceStart";
|
|
2340
|
-
voiceStop: "voiceStop";
|
|
2341
2339
|
error: "error";
|
|
2342
2340
|
messageReceived: "messageReceived";
|
|
2343
2341
|
messageSent: "messageSent";
|
|
2342
|
+
voiceStart: "voiceStart";
|
|
2343
|
+
voiceStop: "voiceStop";
|
|
2344
2344
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
2345
2345
|
}, z.core.$loose>>;
|
|
2346
2346
|
}, z.core.$loose>>>;
|
|
@@ -2361,9 +2361,9 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2361
2361
|
features: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2362
2362
|
disableFileUpload: z.ZodDefault<z.ZodBoolean>;
|
|
2363
2363
|
voice: z.ZodDefault<z.ZodEnum<{
|
|
2364
|
+
disabled: "disabled";
|
|
2364
2365
|
local: "local";
|
|
2365
2366
|
server: "server";
|
|
2366
|
-
disabled: "disabled";
|
|
2367
2367
|
}>>;
|
|
2368
2368
|
disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
|
|
2369
2369
|
enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2381,18 +2381,18 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2381
2381
|
name: z.ZodString;
|
|
2382
2382
|
label: z.ZodString;
|
|
2383
2383
|
type: z.ZodEnum<{
|
|
2384
|
-
|
|
2385
|
-
url: "url";
|
|
2386
|
-
email: "email";
|
|
2384
|
+
checkbox: "checkbox";
|
|
2387
2385
|
date: "date";
|
|
2388
|
-
|
|
2386
|
+
email: "email";
|
|
2387
|
+
multiselect: "multiselect";
|
|
2388
|
+
number: "number";
|
|
2389
|
+
radio: "radio";
|
|
2390
|
+
select: "select";
|
|
2389
2391
|
tel: "tel";
|
|
2390
|
-
|
|
2392
|
+
text: "text";
|
|
2391
2393
|
textarea: "textarea";
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
checkbox: "checkbox";
|
|
2395
|
-
multiselect: "multiselect";
|
|
2394
|
+
time: "time";
|
|
2395
|
+
url: "url";
|
|
2396
2396
|
}>;
|
|
2397
2397
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2398
2398
|
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -2419,9 +2419,9 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2419
2419
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
2420
2420
|
skippable: z.ZodDefault<z.ZodBoolean>;
|
|
2421
2421
|
frequency: z.ZodDefault<z.ZodEnum<{
|
|
2422
|
-
once: "once";
|
|
2423
|
-
conversation: "conversation";
|
|
2424
2422
|
always: "always";
|
|
2423
|
+
conversation: "conversation";
|
|
2424
|
+
once: "once";
|
|
2425
2425
|
}>>;
|
|
2426
2426
|
mirrorToContext: z.ZodDefault<z.ZodBoolean>;
|
|
2427
2427
|
reopenable: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2448,9 +2448,9 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
2448
2448
|
modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2449
2449
|
label: z.ZodString;
|
|
2450
2450
|
layout: z.ZodEnum<{
|
|
2451
|
-
home: "home";
|
|
2452
2451
|
chat: "chat";
|
|
2453
2452
|
help: "help";
|
|
2453
|
+
home: "home";
|
|
2454
2454
|
news: "news";
|
|
2455
2455
|
}>;
|
|
2456
2456
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2507,12 +2507,12 @@ declare const connectionConfigPartialSchema: z.ZodObject<{
|
|
|
2507
2507
|
submitForm: z.ZodDefault<z.ZodString>;
|
|
2508
2508
|
}, z.core.$loose>>>;
|
|
2509
2509
|
debug: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
2510
|
+
debug: "debug";
|
|
2510
2511
|
error: "error";
|
|
2511
|
-
off: "off";
|
|
2512
|
-
warn: "warn";
|
|
2513
2512
|
info: "info";
|
|
2514
|
-
|
|
2513
|
+
off: "off";
|
|
2515
2514
|
trace: "trace";
|
|
2515
|
+
warn: "warn";
|
|
2516
2516
|
}>]>>>;
|
|
2517
2517
|
}, z.core.$loose>;
|
|
2518
2518
|
type ConnectionConfigPartial = z.infer<typeof connectionConfigPartialSchema>;
|
|
@@ -2541,18 +2541,18 @@ type ConnectionConfigPartial = z.infer<typeof connectionConfigPartialSchema>;
|
|
|
2541
2541
|
declare const serverConfigSchema: z.ZodObject<{
|
|
2542
2542
|
presentation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2543
2543
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
2544
|
+
drawer: "drawer";
|
|
2544
2545
|
floating: "floating";
|
|
2545
2546
|
inline: "inline";
|
|
2546
|
-
standalone: "standalone";
|
|
2547
|
-
page: "page";
|
|
2548
2547
|
modal: "modal";
|
|
2549
|
-
|
|
2548
|
+
page: "page";
|
|
2549
|
+
standalone: "standalone";
|
|
2550
2550
|
}>>;
|
|
2551
2551
|
position: z.ZodDefault<z.ZodEnum<{
|
|
2552
|
-
"bottom-right": "bottom-right";
|
|
2553
2552
|
"bottom-left": "bottom-left";
|
|
2554
|
-
"
|
|
2553
|
+
"bottom-right": "bottom-right";
|
|
2555
2554
|
"top-left": "top-left";
|
|
2555
|
+
"top-right": "top-right";
|
|
2556
2556
|
}>>;
|
|
2557
2557
|
iframe: z.ZodDefault<z.ZodBoolean>;
|
|
2558
2558
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -2571,10 +2571,10 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2571
2571
|
}, z.core.$loose>>;
|
|
2572
2572
|
inset: z.ZodOptional<z.ZodString>;
|
|
2573
2573
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
2574
|
-
|
|
2574
|
+
auto: "auto";
|
|
2575
2575
|
expanded: "expanded";
|
|
2576
|
+
fullscreen: "fullscreen";
|
|
2576
2577
|
normal: "normal";
|
|
2577
|
-
auto: "auto";
|
|
2578
2578
|
}>>;
|
|
2579
2579
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
2580
2580
|
}, z.core.$loose>>;
|
|
@@ -2582,8 +2582,8 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2582
2582
|
behavior: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2583
2583
|
startMinimized: z.ZodDefault<z.ZodBoolean>;
|
|
2584
2584
|
responseMode: z.ZodDefault<z.ZodEnum<{
|
|
2585
|
-
streaming: "streaming";
|
|
2586
2585
|
buffered: "buffered";
|
|
2586
|
+
streaming: "streaming";
|
|
2587
2587
|
}>>;
|
|
2588
2588
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
2589
2589
|
showToolCalls: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2594,8 +2594,8 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2594
2594
|
}, z.core.$loose>>>;
|
|
2595
2595
|
theme: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2596
2596
|
auto: "auto";
|
|
2597
|
-
light: "light";
|
|
2598
2597
|
dark: "dark";
|
|
2598
|
+
light: "light";
|
|
2599
2599
|
}>, z.ZodObject<{
|
|
2600
2600
|
accent: z.ZodOptional<z.ZodString>;
|
|
2601
2601
|
accentText: z.ZodOptional<z.ZodString>;
|
|
@@ -2605,15 +2605,15 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2605
2605
|
}, z.core.$loose>]>>>;
|
|
2606
2606
|
launcher: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2607
2607
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2608
|
-
circle: "circle";
|
|
2609
|
-
pill: "pill";
|
|
2610
2608
|
bar: "bar";
|
|
2609
|
+
circle: "circle";
|
|
2611
2610
|
minimal: "minimal";
|
|
2611
|
+
pill: "pill";
|
|
2612
2612
|
}>>;
|
|
2613
2613
|
size: z.ZodDefault<z.ZodEnum<{
|
|
2614
|
-
sm: "sm";
|
|
2615
|
-
md: "md";
|
|
2616
2614
|
lg: "lg";
|
|
2615
|
+
md: "md";
|
|
2616
|
+
sm: "sm";
|
|
2617
2617
|
}>>;
|
|
2618
2618
|
label: z.ZodOptional<z.ZodString>;
|
|
2619
2619
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -2621,9 +2621,9 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2621
2621
|
callout: z.ZodOptional<z.ZodObject<{
|
|
2622
2622
|
text: z.ZodDefault<z.ZodString>;
|
|
2623
2623
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
2624
|
-
pill: "pill";
|
|
2625
2624
|
bubble: "bubble";
|
|
2626
2625
|
callout: "callout";
|
|
2626
|
+
pill: "pill";
|
|
2627
2627
|
}>>;
|
|
2628
2628
|
position: z.ZodDefault<z.ZodEnum<{
|
|
2629
2629
|
auto: "auto";
|
|
@@ -2638,16 +2638,16 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2638
2638
|
}, z.core.$loose>>>;
|
|
2639
2639
|
header: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2640
2640
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2641
|
+
clear: "clear";
|
|
2641
2642
|
close: "close";
|
|
2642
2643
|
expand: "expand";
|
|
2643
2644
|
fullscreen: "fullscreen";
|
|
2644
|
-
clear: "clear";
|
|
2645
|
-
theme: "theme";
|
|
2646
|
-
popOut: "popOut";
|
|
2647
|
-
sound: "sound";
|
|
2648
2645
|
history: "history";
|
|
2649
2646
|
language: "language";
|
|
2647
|
+
popOut: "popOut";
|
|
2648
|
+
sound: "sound";
|
|
2650
2649
|
textSize: "textSize";
|
|
2650
|
+
theme: "theme";
|
|
2651
2651
|
}>>>;
|
|
2652
2652
|
}, z.core.$loose>>>;
|
|
2653
2653
|
composer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -2658,15 +2658,15 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2658
2658
|
square: "square";
|
|
2659
2659
|
}>>;
|
|
2660
2660
|
icon: z.ZodDefault<z.ZodEnum<{
|
|
2661
|
-
send: "send";
|
|
2662
2661
|
arrowUp: "arrowUp";
|
|
2663
|
-
paperPlane: "paperPlane";
|
|
2664
2662
|
chevron: "chevron";
|
|
2663
|
+
paperPlane: "paperPlane";
|
|
2664
|
+
send: "send";
|
|
2665
2665
|
}>>;
|
|
2666
2666
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2667
2667
|
filled: "filled";
|
|
2668
|
-
outline: "outline";
|
|
2669
2668
|
ghost: "ghost";
|
|
2669
|
+
outline: "outline";
|
|
2670
2670
|
}>>;
|
|
2671
2671
|
}, z.core.$loose>>;
|
|
2672
2672
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -2680,21 +2680,21 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2680
2680
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2681
2681
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
2682
2682
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2683
|
-
voiceStart: "voiceStart";
|
|
2684
|
-
voiceStop: "voiceStop";
|
|
2685
2683
|
error: "error";
|
|
2686
2684
|
messageReceived: "messageReceived";
|
|
2687
2685
|
messageSent: "messageSent";
|
|
2686
|
+
voiceStart: "voiceStart";
|
|
2687
|
+
voiceStop: "voiceStop";
|
|
2688
2688
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
2689
2689
|
}, z.core.$loose>>;
|
|
2690
2690
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
2691
2691
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2692
2692
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2693
|
-
voiceStart: "voiceStart";
|
|
2694
|
-
voiceStop: "voiceStop";
|
|
2695
2693
|
error: "error";
|
|
2696
2694
|
messageReceived: "messageReceived";
|
|
2697
2695
|
messageSent: "messageSent";
|
|
2696
|
+
voiceStart: "voiceStart";
|
|
2697
|
+
voiceStop: "voiceStop";
|
|
2698
2698
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
2699
2699
|
}, z.core.$loose>>;
|
|
2700
2700
|
}, z.core.$loose>>>;
|
|
@@ -2715,9 +2715,9 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2715
2715
|
features: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2716
2716
|
disableFileUpload: z.ZodDefault<z.ZodBoolean>;
|
|
2717
2717
|
voice: z.ZodDefault<z.ZodEnum<{
|
|
2718
|
+
disabled: "disabled";
|
|
2718
2719
|
local: "local";
|
|
2719
2720
|
server: "server";
|
|
2720
|
-
disabled: "disabled";
|
|
2721
2721
|
}>>;
|
|
2722
2722
|
disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
|
|
2723
2723
|
enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2725,9 +2725,9 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2725
2725
|
modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2726
2726
|
label: z.ZodString;
|
|
2727
2727
|
layout: z.ZodEnum<{
|
|
2728
|
-
home: "home";
|
|
2729
2728
|
chat: "chat";
|
|
2730
2729
|
help: "help";
|
|
2730
|
+
home: "home";
|
|
2731
2731
|
news: "news";
|
|
2732
2732
|
}>;
|
|
2733
2733
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2821,26 +2821,26 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2821
2821
|
name: z.ZodString;
|
|
2822
2822
|
title: z.ZodOptional<z.ZodString>;
|
|
2823
2823
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2824
|
-
online: "online";
|
|
2825
2824
|
away: "away";
|
|
2826
2825
|
offline: "offline";
|
|
2826
|
+
online: "online";
|
|
2827
2827
|
}>>;
|
|
2828
2828
|
}, z.core.$loose>;
|
|
2829
2829
|
config: z.ZodOptional<z.ZodObject<{
|
|
2830
2830
|
presentation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2831
2831
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
2832
|
+
drawer: "drawer";
|
|
2832
2833
|
floating: "floating";
|
|
2833
2834
|
inline: "inline";
|
|
2834
|
-
standalone: "standalone";
|
|
2835
|
-
page: "page";
|
|
2836
2835
|
modal: "modal";
|
|
2837
|
-
|
|
2836
|
+
page: "page";
|
|
2837
|
+
standalone: "standalone";
|
|
2838
2838
|
}>>;
|
|
2839
2839
|
position: z.ZodDefault<z.ZodEnum<{
|
|
2840
|
-
"bottom-right": "bottom-right";
|
|
2841
2840
|
"bottom-left": "bottom-left";
|
|
2842
|
-
"
|
|
2841
|
+
"bottom-right": "bottom-right";
|
|
2843
2842
|
"top-left": "top-left";
|
|
2843
|
+
"top-right": "top-right";
|
|
2844
2844
|
}>>;
|
|
2845
2845
|
iframe: z.ZodDefault<z.ZodBoolean>;
|
|
2846
2846
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -2859,10 +2859,10 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2859
2859
|
}, z.core.$loose>>;
|
|
2860
2860
|
inset: z.ZodOptional<z.ZodString>;
|
|
2861
2861
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
2862
|
-
|
|
2862
|
+
auto: "auto";
|
|
2863
2863
|
expanded: "expanded";
|
|
2864
|
+
fullscreen: "fullscreen";
|
|
2864
2865
|
normal: "normal";
|
|
2865
|
-
auto: "auto";
|
|
2866
2866
|
}>>;
|
|
2867
2867
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
2868
2868
|
}, z.core.$loose>>;
|
|
@@ -2870,8 +2870,8 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2870
2870
|
behavior: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2871
2871
|
startMinimized: z.ZodDefault<z.ZodBoolean>;
|
|
2872
2872
|
responseMode: z.ZodDefault<z.ZodEnum<{
|
|
2873
|
-
streaming: "streaming";
|
|
2874
2873
|
buffered: "buffered";
|
|
2874
|
+
streaming: "streaming";
|
|
2875
2875
|
}>>;
|
|
2876
2876
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
2877
2877
|
showToolCalls: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2882,8 +2882,8 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2882
2882
|
}, z.core.$loose>>>;
|
|
2883
2883
|
theme: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2884
2884
|
auto: "auto";
|
|
2885
|
-
light: "light";
|
|
2886
2885
|
dark: "dark";
|
|
2886
|
+
light: "light";
|
|
2887
2887
|
}>, z.ZodObject<{
|
|
2888
2888
|
accent: z.ZodOptional<z.ZodString>;
|
|
2889
2889
|
accentText: z.ZodOptional<z.ZodString>;
|
|
@@ -2893,15 +2893,15 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2893
2893
|
}, z.core.$loose>]>>>;
|
|
2894
2894
|
launcher: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2895
2895
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2896
|
-
circle: "circle";
|
|
2897
|
-
pill: "pill";
|
|
2898
2896
|
bar: "bar";
|
|
2897
|
+
circle: "circle";
|
|
2899
2898
|
minimal: "minimal";
|
|
2899
|
+
pill: "pill";
|
|
2900
2900
|
}>>;
|
|
2901
2901
|
size: z.ZodDefault<z.ZodEnum<{
|
|
2902
|
-
sm: "sm";
|
|
2903
|
-
md: "md";
|
|
2904
2902
|
lg: "lg";
|
|
2903
|
+
md: "md";
|
|
2904
|
+
sm: "sm";
|
|
2905
2905
|
}>>;
|
|
2906
2906
|
label: z.ZodOptional<z.ZodString>;
|
|
2907
2907
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -2909,9 +2909,9 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2909
2909
|
callout: z.ZodOptional<z.ZodObject<{
|
|
2910
2910
|
text: z.ZodDefault<z.ZodString>;
|
|
2911
2911
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
2912
|
-
pill: "pill";
|
|
2913
2912
|
bubble: "bubble";
|
|
2914
2913
|
callout: "callout";
|
|
2914
|
+
pill: "pill";
|
|
2915
2915
|
}>>;
|
|
2916
2916
|
position: z.ZodDefault<z.ZodEnum<{
|
|
2917
2917
|
auto: "auto";
|
|
@@ -2926,16 +2926,16 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2926
2926
|
}, z.core.$loose>>>;
|
|
2927
2927
|
header: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2928
2928
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2929
|
+
clear: "clear";
|
|
2929
2930
|
close: "close";
|
|
2930
2931
|
expand: "expand";
|
|
2931
2932
|
fullscreen: "fullscreen";
|
|
2932
|
-
clear: "clear";
|
|
2933
|
-
theme: "theme";
|
|
2934
|
-
popOut: "popOut";
|
|
2935
|
-
sound: "sound";
|
|
2936
2933
|
history: "history";
|
|
2937
2934
|
language: "language";
|
|
2935
|
+
popOut: "popOut";
|
|
2936
|
+
sound: "sound";
|
|
2938
2937
|
textSize: "textSize";
|
|
2938
|
+
theme: "theme";
|
|
2939
2939
|
}>>>;
|
|
2940
2940
|
}, z.core.$loose>>>;
|
|
2941
2941
|
composer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -2946,15 +2946,15 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2946
2946
|
square: "square";
|
|
2947
2947
|
}>>;
|
|
2948
2948
|
icon: z.ZodDefault<z.ZodEnum<{
|
|
2949
|
-
send: "send";
|
|
2950
2949
|
arrowUp: "arrowUp";
|
|
2951
|
-
paperPlane: "paperPlane";
|
|
2952
2950
|
chevron: "chevron";
|
|
2951
|
+
paperPlane: "paperPlane";
|
|
2952
|
+
send: "send";
|
|
2953
2953
|
}>>;
|
|
2954
2954
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
2955
2955
|
filled: "filled";
|
|
2956
|
-
outline: "outline";
|
|
2957
2956
|
ghost: "ghost";
|
|
2957
|
+
outline: "outline";
|
|
2958
2958
|
}>>;
|
|
2959
2959
|
}, z.core.$loose>>;
|
|
2960
2960
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -2968,21 +2968,21 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2968
2968
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2969
2969
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
2970
2970
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2971
|
-
voiceStart: "voiceStart";
|
|
2972
|
-
voiceStop: "voiceStop";
|
|
2973
2971
|
error: "error";
|
|
2974
2972
|
messageReceived: "messageReceived";
|
|
2975
2973
|
messageSent: "messageSent";
|
|
2974
|
+
voiceStart: "voiceStart";
|
|
2975
|
+
voiceStop: "voiceStop";
|
|
2976
2976
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
2977
2977
|
}, z.core.$loose>>;
|
|
2978
2978
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
2979
2979
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2980
2980
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2981
|
-
voiceStart: "voiceStart";
|
|
2982
|
-
voiceStop: "voiceStop";
|
|
2983
2981
|
error: "error";
|
|
2984
2982
|
messageReceived: "messageReceived";
|
|
2985
2983
|
messageSent: "messageSent";
|
|
2984
|
+
voiceStart: "voiceStart";
|
|
2985
|
+
voiceStop: "voiceStop";
|
|
2986
2986
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
2987
2987
|
}, z.core.$loose>>;
|
|
2988
2988
|
}, z.core.$loose>>>;
|
|
@@ -3003,9 +3003,9 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
3003
3003
|
features: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3004
3004
|
disableFileUpload: z.ZodDefault<z.ZodBoolean>;
|
|
3005
3005
|
voice: z.ZodDefault<z.ZodEnum<{
|
|
3006
|
+
disabled: "disabled";
|
|
3006
3007
|
local: "local";
|
|
3007
3008
|
server: "server";
|
|
3008
|
-
disabled: "disabled";
|
|
3009
3009
|
}>>;
|
|
3010
3010
|
disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
|
|
3011
3011
|
enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3013,9 +3013,9 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
3013
3013
|
modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3014
3014
|
label: z.ZodString;
|
|
3015
3015
|
layout: z.ZodEnum<{
|
|
3016
|
-
home: "home";
|
|
3017
3016
|
chat: "chat";
|
|
3018
3017
|
help: "help";
|
|
3018
|
+
home: "home";
|
|
3019
3019
|
news: "news";
|
|
3020
3020
|
}>;
|
|
3021
3021
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|