@skippr/live-agent-sdk 0.37.0 → 0.39.0
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/lib-exports.js +101 -41
- package/dist/skippr-sdk.js +97 -97
- package/dist/types/context/LiveAgentContext.d.ts +3 -2
- package/dist/types/lib/agentMode.d.ts +12 -0
- package/dist/types/lib/session.d.ts +2 -0
- package/dist/types/lib/sessionStatus.d.ts +15 -0
- package/dist/types/lib-exports.d.ts +2 -0
- package/package.json +1 -1
package/dist/esm/lib-exports.js
CHANGED
|
@@ -542,14 +542,31 @@ var DOM_EVENTS_TOPIC = "skippr.dom-events";
|
|
|
542
542
|
var HIGHLIGHT_TOPIC = "skippr.highlight";
|
|
543
543
|
var NAME_MAX_CHARS = 80;
|
|
544
544
|
|
|
545
|
+
// src/lib/agentMode.ts
|
|
546
|
+
var AGENT_MODE = {
|
|
547
|
+
Standard: "standard",
|
|
548
|
+
AlwaysOn: "always_on"
|
|
549
|
+
};
|
|
550
|
+
var AGENT_MODES = Object.values(AGENT_MODE);
|
|
551
|
+
|
|
552
|
+
// src/lib/sessionStatus.ts
|
|
553
|
+
var SESSION_STATUS = {
|
|
554
|
+
pending: "pending",
|
|
555
|
+
active: "active",
|
|
556
|
+
paused: "paused",
|
|
557
|
+
completed: "completed",
|
|
558
|
+
expired: "expired"
|
|
559
|
+
};
|
|
560
|
+
var SESSION_STATUSES = Object.values(SESSION_STATUS);
|
|
561
|
+
|
|
545
562
|
// src/lib/session.ts
|
|
546
563
|
function getResumableSessionId(currentSession, mode) {
|
|
547
564
|
if (!currentSession)
|
|
548
565
|
return;
|
|
549
566
|
const { id, status } = currentSession;
|
|
550
|
-
if (status ===
|
|
567
|
+
if (status === SESSION_STATUS.paused || status === SESSION_STATUS.active)
|
|
551
568
|
return id;
|
|
552
|
-
if (status ===
|
|
569
|
+
if (mode === AGENT_MODE.AlwaysOn && (status === SESSION_STATUS.expired || status === SESSION_STATUS.completed))
|
|
553
570
|
return id;
|
|
554
571
|
return;
|
|
555
572
|
}
|
|
@@ -562,6 +579,20 @@ function getResumableSession(module) {
|
|
|
562
579
|
const id = getResumableSessionId(module.currentSession, module.mode);
|
|
563
580
|
return id ? { id, agentId: module.id } : null;
|
|
564
581
|
}
|
|
582
|
+
function getModuleSessionState(currentSession, mode) {
|
|
583
|
+
if (!currentSession)
|
|
584
|
+
return null;
|
|
585
|
+
if (canResumeSession(currentSession, mode))
|
|
586
|
+
return "resume";
|
|
587
|
+
if (mode === AGENT_MODE.Standard) {
|
|
588
|
+
const { status } = currentSession;
|
|
589
|
+
if (status === SESSION_STATUS.completed)
|
|
590
|
+
return "completed";
|
|
591
|
+
if (status === SESSION_STATUS.expired)
|
|
592
|
+
return "expired";
|
|
593
|
+
}
|
|
594
|
+
return null;
|
|
595
|
+
}
|
|
565
596
|
|
|
566
597
|
// src/components/AutoStartMedia.tsx
|
|
567
598
|
import { useConnectionState, useLocalParticipant } from "@livekit/components-react/hooks";
|
|
@@ -1585,8 +1616,14 @@ var ChevronDown = createLucideIcon("chevron-down", __iconNode7);
|
|
|
1585
1616
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/circle.js
|
|
1586
1617
|
var __iconNode8 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
1587
1618
|
var Circle = createLucideIcon("circle", __iconNode8);
|
|
1588
|
-
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/
|
|
1619
|
+
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/clock.js
|
|
1589
1620
|
var __iconNode9 = [
|
|
1621
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1622
|
+
["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
|
|
1623
|
+
];
|
|
1624
|
+
var Clock = createLucideIcon("clock", __iconNode9);
|
|
1625
|
+
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/graduation-cap.js
|
|
1626
|
+
var __iconNode10 = [
|
|
1590
1627
|
[
|
|
1591
1628
|
"path",
|
|
1592
1629
|
{
|
|
@@ -1597,9 +1634,9 @@ var __iconNode9 = [
|
|
|
1597
1634
|
["path", { d: "M22 10v6", key: "1lu8f3" }],
|
|
1598
1635
|
["path", { d: "M6 12.5V16a6 3 0 0 0 12 0v-3.5", key: "1r8lef" }]
|
|
1599
1636
|
];
|
|
1600
|
-
var GraduationCap = createLucideIcon("graduation-cap",
|
|
1637
|
+
var GraduationCap = createLucideIcon("graduation-cap", __iconNode10);
|
|
1601
1638
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/headset.js
|
|
1602
|
-
var
|
|
1639
|
+
var __iconNode11 = [
|
|
1603
1640
|
[
|
|
1604
1641
|
"path",
|
|
1605
1642
|
{
|
|
@@ -1609,15 +1646,15 @@ var __iconNode10 = [
|
|
|
1609
1646
|
],
|
|
1610
1647
|
["path", { d: "M21 16v2a4 4 0 0 1-4 4h-5", key: "1x7m43" }]
|
|
1611
1648
|
];
|
|
1612
|
-
var Headset = createLucideIcon("headset",
|
|
1649
|
+
var Headset = createLucideIcon("headset", __iconNode11);
|
|
1613
1650
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/mail.js
|
|
1614
|
-
var
|
|
1651
|
+
var __iconNode12 = [
|
|
1615
1652
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
1616
1653
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
1617
1654
|
];
|
|
1618
|
-
var Mail = createLucideIcon("mail",
|
|
1655
|
+
var Mail = createLucideIcon("mail", __iconNode12);
|
|
1619
1656
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/message-circle.js
|
|
1620
|
-
var
|
|
1657
|
+
var __iconNode13 = [
|
|
1621
1658
|
[
|
|
1622
1659
|
"path",
|
|
1623
1660
|
{
|
|
@@ -1626,9 +1663,9 @@ var __iconNode12 = [
|
|
|
1626
1663
|
}
|
|
1627
1664
|
]
|
|
1628
1665
|
];
|
|
1629
|
-
var MessageCircle = createLucideIcon("message-circle",
|
|
1666
|
+
var MessageCircle = createLucideIcon("message-circle", __iconNode13);
|
|
1630
1667
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/message-square.js
|
|
1631
|
-
var
|
|
1668
|
+
var __iconNode14 = [
|
|
1632
1669
|
[
|
|
1633
1670
|
"path",
|
|
1634
1671
|
{
|
|
@@ -1637,9 +1674,9 @@ var __iconNode13 = [
|
|
|
1637
1674
|
}
|
|
1638
1675
|
]
|
|
1639
1676
|
];
|
|
1640
|
-
var MessageSquare = createLucideIcon("message-square",
|
|
1677
|
+
var MessageSquare = createLucideIcon("message-square", __iconNode14);
|
|
1641
1678
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/mic-off.js
|
|
1642
|
-
var
|
|
1679
|
+
var __iconNode15 = [
|
|
1643
1680
|
["path", { d: "M12 19v3", key: "npa21l" }],
|
|
1644
1681
|
["path", { d: "M15 9.34V5a3 3 0 0 0-5.68-1.33", key: "1gzdoj" }],
|
|
1645
1682
|
["path", { d: "M16.95 16.95A7 7 0 0 1 5 12v-2", key: "cqa7eg" }],
|
|
@@ -1647,40 +1684,40 @@ var __iconNode14 = [
|
|
|
1647
1684
|
["path", { d: "m2 2 20 20", key: "1ooewy" }],
|
|
1648
1685
|
["path", { d: "M9 9v3a3 3 0 0 0 5.12 2.12", key: "r2i35w" }]
|
|
1649
1686
|
];
|
|
1650
|
-
var MicOff = createLucideIcon("mic-off",
|
|
1687
|
+
var MicOff = createLucideIcon("mic-off", __iconNode15);
|
|
1651
1688
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/mic.js
|
|
1652
|
-
var
|
|
1689
|
+
var __iconNode16 = [
|
|
1653
1690
|
["path", { d: "M12 19v3", key: "npa21l" }],
|
|
1654
1691
|
["path", { d: "M19 10v2a7 7 0 0 1-14 0v-2", key: "1vc78b" }],
|
|
1655
1692
|
["rect", { x: "9", y: "2", width: "6", height: "13", rx: "3", key: "s6n7sd" }]
|
|
1656
1693
|
];
|
|
1657
|
-
var Mic = createLucideIcon("mic",
|
|
1694
|
+
var Mic = createLucideIcon("mic", __iconNode16);
|
|
1658
1695
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/minimize-2.js
|
|
1659
|
-
var
|
|
1696
|
+
var __iconNode17 = [
|
|
1660
1697
|
["path", { d: "m14 10 7-7", key: "oa77jy" }],
|
|
1661
1698
|
["path", { d: "M20 10h-6V4", key: "mjg0md" }],
|
|
1662
1699
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
1663
1700
|
["path", { d: "M4 14h6v6", key: "rmj7iw" }]
|
|
1664
1701
|
];
|
|
1665
|
-
var Minimize2 = createLucideIcon("minimize-2",
|
|
1702
|
+
var Minimize2 = createLucideIcon("minimize-2", __iconNode17);
|
|
1666
1703
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/monitor-off.js
|
|
1667
|
-
var
|
|
1704
|
+
var __iconNode18 = [
|
|
1668
1705
|
["path", { d: "M12 17v4", key: "1riwvh" }],
|
|
1669
1706
|
["path", { d: "M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826", key: "cv7jms" }],
|
|
1670
1707
|
["path", { d: "m2 2 20 20", key: "1ooewy" }],
|
|
1671
1708
|
["path", { d: "M8 21h8", key: "1ev6f3" }],
|
|
1672
1709
|
["path", { d: "M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042", key: "z8ni2w" }]
|
|
1673
1710
|
];
|
|
1674
|
-
var MonitorOff = createLucideIcon("monitor-off",
|
|
1711
|
+
var MonitorOff = createLucideIcon("monitor-off", __iconNode18);
|
|
1675
1712
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/monitor.js
|
|
1676
|
-
var
|
|
1713
|
+
var __iconNode19 = [
|
|
1677
1714
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
1678
1715
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
1679
1716
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
1680
1717
|
];
|
|
1681
|
-
var Monitor = createLucideIcon("monitor",
|
|
1718
|
+
var Monitor = createLucideIcon("monitor", __iconNode19);
|
|
1682
1719
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/mouse-pointer-2.js
|
|
1683
|
-
var
|
|
1720
|
+
var __iconNode20 = [
|
|
1684
1721
|
[
|
|
1685
1722
|
"path",
|
|
1686
1723
|
{
|
|
@@ -1689,15 +1726,15 @@ var __iconNode19 = [
|
|
|
1689
1726
|
}
|
|
1690
1727
|
]
|
|
1691
1728
|
];
|
|
1692
|
-
var MousePointer2 = createLucideIcon("mouse-pointer-2",
|
|
1729
|
+
var MousePointer2 = createLucideIcon("mouse-pointer-2", __iconNode20);
|
|
1693
1730
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/pause.js
|
|
1694
|
-
var
|
|
1731
|
+
var __iconNode21 = [
|
|
1695
1732
|
["rect", { x: "14", y: "3", width: "5", height: "18", rx: "1", key: "kaeet6" }],
|
|
1696
1733
|
["rect", { x: "5", y: "3", width: "5", height: "18", rx: "1", key: "1wsw3u" }]
|
|
1697
1734
|
];
|
|
1698
|
-
var Pause = createLucideIcon("pause",
|
|
1735
|
+
var Pause = createLucideIcon("pause", __iconNode21);
|
|
1699
1736
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/phone-off.js
|
|
1700
|
-
var
|
|
1737
|
+
var __iconNode22 = [
|
|
1701
1738
|
[
|
|
1702
1739
|
"path",
|
|
1703
1740
|
{
|
|
@@ -1714,9 +1751,9 @@ var __iconNode21 = [
|
|
|
1714
1751
|
}
|
|
1715
1752
|
]
|
|
1716
1753
|
];
|
|
1717
|
-
var PhoneOff = createLucideIcon("phone-off",
|
|
1754
|
+
var PhoneOff = createLucideIcon("phone-off", __iconNode22);
|
|
1718
1755
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/play.js
|
|
1719
|
-
var
|
|
1756
|
+
var __iconNode23 = [
|
|
1720
1757
|
[
|
|
1721
1758
|
"path",
|
|
1722
1759
|
{
|
|
@@ -1725,9 +1762,9 @@ var __iconNode22 = [
|
|
|
1725
1762
|
}
|
|
1726
1763
|
]
|
|
1727
1764
|
];
|
|
1728
|
-
var Play = createLucideIcon("play",
|
|
1765
|
+
var Play = createLucideIcon("play", __iconNode23);
|
|
1729
1766
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/rocket.js
|
|
1730
|
-
var
|
|
1767
|
+
var __iconNode24 = [
|
|
1731
1768
|
["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }],
|
|
1732
1769
|
[
|
|
1733
1770
|
"path",
|
|
@@ -1745,9 +1782,9 @@ var __iconNode23 = [
|
|
|
1745
1782
|
],
|
|
1746
1783
|
["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05", key: "92ym6u" }]
|
|
1747
1784
|
];
|
|
1748
|
-
var Rocket = createLucideIcon("rocket",
|
|
1785
|
+
var Rocket = createLucideIcon("rocket", __iconNode24);
|
|
1749
1786
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/send.js
|
|
1750
|
-
var
|
|
1787
|
+
var __iconNode25 = [
|
|
1751
1788
|
[
|
|
1752
1789
|
"path",
|
|
1753
1790
|
{
|
|
@@ -1757,15 +1794,15 @@ var __iconNode24 = [
|
|
|
1757
1794
|
],
|
|
1758
1795
|
["path", { d: "m21.854 2.147-10.94 10.939", key: "12cjpa" }]
|
|
1759
1796
|
];
|
|
1760
|
-
var Send = createLucideIcon("send",
|
|
1797
|
+
var Send = createLucideIcon("send", __iconNode25);
|
|
1761
1798
|
// ../../node_modules/.bun/lucide-react@1.8.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/user-plus.js
|
|
1762
|
-
var
|
|
1799
|
+
var __iconNode26 = [
|
|
1763
1800
|
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
1764
1801
|
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
|
|
1765
1802
|
["line", { x1: "19", x2: "19", y1: "8", y2: "14", key: "1bvyxn" }],
|
|
1766
1803
|
["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
|
|
1767
1804
|
];
|
|
1768
|
-
var UserPlus = createLucideIcon("user-plus",
|
|
1805
|
+
var UserPlus = createLucideIcon("user-plus", __iconNode26);
|
|
1769
1806
|
// src/components/HighlightOverlay.tsx
|
|
1770
1807
|
import { useCallback as useCallback4, useEffect as useEffect6, useRef as useRef4, useState as useState4 } from "react";
|
|
1771
1808
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3430,14 +3467,15 @@ function ModuleSelector() {
|
|
|
3430
3467
|
const isFeatured = index2 === 0;
|
|
3431
3468
|
const isWide = index2 === availableModules.length - 1 && availableModules.length % 2 === 1;
|
|
3432
3469
|
const Icon2 = getAgentIcon(module.type);
|
|
3433
|
-
const
|
|
3470
|
+
const sessionState = getModuleSessionState(module.currentSession, module.mode);
|
|
3471
|
+
const isTerminal = sessionState === "completed" || sessionState === "expired";
|
|
3434
3472
|
const base = "skippr:group skippr:flex skippr:cursor-pointer skippr:gap-3 skippr:rounded-xl skippr:text-left skippr:transition-colors skippr:disabled:cursor-not-allowed skippr:disabled:opacity-50";
|
|
3435
3473
|
const layout = isWide ? "skippr:items-center skippr:p-3.5 skippr:pb-5" : "skippr:flex-col skippr:items-start skippr:p-3.5";
|
|
3436
3474
|
const variant = isFeatured ? "skippr:bg-primary skippr:text-primary-foreground skippr:hover:bg-primary/90" : "skippr:bg-background skippr:ring-1 skippr:ring-foreground/10 skippr:hover:bg-muted/50";
|
|
3437
3475
|
const span = isWide ? "skippr:col-span-2" : "";
|
|
3438
3476
|
return /* @__PURE__ */ jsxs13("button", {
|
|
3439
3477
|
type: "button",
|
|
3440
|
-
disabled: isBusy,
|
|
3478
|
+
disabled: isBusy || isTerminal,
|
|
3441
3479
|
onClick: () => selectModule(module.id),
|
|
3442
3480
|
className: `${base} ${layout} ${variant} ${span}`,
|
|
3443
3481
|
children: [
|
|
@@ -3457,7 +3495,7 @@ function ModuleSelector() {
|
|
|
3457
3495
|
className: "skippr:line-clamp-1 skippr:text-sm skippr:font-semibold",
|
|
3458
3496
|
children: module.name
|
|
3459
3497
|
}),
|
|
3460
|
-
|
|
3498
|
+
sessionState === "resume" && /* @__PURE__ */ jsxs13("span", {
|
|
3461
3499
|
className: `skippr:inline-flex skippr:shrink-0 skippr:items-center skippr:gap-0.5 skippr:rounded-full skippr:px-1.5 skippr:py-0.5 skippr:text-[9px] skippr:font-medium skippr:uppercase skippr:tracking-wide ${isFeatured ? "skippr:bg-primary-foreground/20 skippr:text-primary-foreground" : "skippr:bg-bubble/15 skippr:text-bubble"}`,
|
|
3462
3500
|
children: [
|
|
3463
3501
|
/* @__PURE__ */ jsx14(Play, {
|
|
@@ -3465,6 +3503,24 @@ function ModuleSelector() {
|
|
|
3465
3503
|
}),
|
|
3466
3504
|
"Resume"
|
|
3467
3505
|
]
|
|
3506
|
+
}),
|
|
3507
|
+
sessionState === "completed" && /* @__PURE__ */ jsxs13("span", {
|
|
3508
|
+
className: "skippr:inline-flex skippr:shrink-0 skippr:items-center skippr:gap-0.5 skippr:rounded-full skippr:bg-muted skippr:px-1.5 skippr:py-0.5 skippr:text-[9px] skippr:font-medium skippr:uppercase skippr:tracking-wide skippr:text-muted-foreground",
|
|
3509
|
+
children: [
|
|
3510
|
+
/* @__PURE__ */ jsx14(CircleCheck, {
|
|
3511
|
+
className: "skippr:size-2.5"
|
|
3512
|
+
}),
|
|
3513
|
+
"Completed"
|
|
3514
|
+
]
|
|
3515
|
+
}),
|
|
3516
|
+
sessionState === "expired" && /* @__PURE__ */ jsxs13("span", {
|
|
3517
|
+
className: "skippr:inline-flex skippr:shrink-0 skippr:items-center skippr:gap-0.5 skippr:rounded-full skippr:bg-muted skippr:px-1.5 skippr:py-0.5 skippr:text-[9px] skippr:font-medium skippr:uppercase skippr:tracking-wide skippr:text-muted-foreground",
|
|
3518
|
+
children: [
|
|
3519
|
+
/* @__PURE__ */ jsx14(Clock, {
|
|
3520
|
+
className: "skippr:size-2.5"
|
|
3521
|
+
}),
|
|
3522
|
+
"Expired"
|
|
3523
|
+
]
|
|
3468
3524
|
})
|
|
3469
3525
|
]
|
|
3470
3526
|
}),
|
|
@@ -3642,7 +3698,7 @@ function Sidebar({
|
|
|
3642
3698
|
const internalCtx = useContextValue(LiveAgentContext);
|
|
3643
3699
|
const usesHostAuth = internalCtx?.usesHostAuth ?? false;
|
|
3644
3700
|
const authFailed = internalCtx?.authFailed ?? false;
|
|
3645
|
-
const showAgenda = agentMode !==
|
|
3701
|
+
const showAgenda = agentMode !== AGENT_MODE.AlwaysOn;
|
|
3646
3702
|
const isFloating = variant === "floating";
|
|
3647
3703
|
const isSidebar = variant === "sidebar";
|
|
3648
3704
|
useEffect16(() => {
|
|
@@ -4202,6 +4258,10 @@ export {
|
|
|
4202
4258
|
useAgentVoiceState,
|
|
4203
4259
|
parseNumber,
|
|
4204
4260
|
formatTime,
|
|
4261
|
+
SESSION_STATUSES,
|
|
4262
|
+
SESSION_STATUS,
|
|
4205
4263
|
SCREEN_SHARE_OPTIONS,
|
|
4206
|
-
LiveAgent
|
|
4264
|
+
LiveAgent,
|
|
4265
|
+
AGENT_MODES,
|
|
4266
|
+
AGENT_MODE
|
|
4207
4267
|
};
|