ahs-cti 1.0.1-beta.78 → 1.0.1-beta.79
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/{agentDetailReport-T4JNGFFX.mjs → agentDetailReport-2VH67N7D.mjs} +3 -3
- package/dist/{agentPerformanceReport-NCP2UPJT.mjs → agentPerformanceReport-A6ICBBJF.mjs} +5 -5
- package/dist/{auditReport-U5MWIXXN.mjs → auditReport-Z376RFGT.mjs} +3 -3
- package/dist/{callHistory-KVOHY7WQ.mjs → callHistory-N2NDHVYY.mjs} +2 -2
- package/dist/{campaigns-MQBX3BYQ.mjs → campaigns-MIVQ6G6I.mjs} +6 -6
- package/dist/caroVoiceAI-6ELR5AW3.mjs +55 -0
- package/dist/caroVoiceAI-6ELR5AW3.mjs.map +1 -0
- package/dist/{cdrReport-U2WEDUUO.mjs → cdrReport-MMNTMWO6.mjs} +6 -6
- package/dist/{chunk-A2ZEA7YZ.mjs → chunk-253WM67O.mjs} +2 -2
- package/dist/chunk-253WM67O.mjs.map +1 -0
- package/dist/{chunk-WI2SKKZA.mjs → chunk-5TBCL5TX.mjs} +2 -2
- package/dist/{chunk-WW5D6H5R.mjs → chunk-6QIPJM7S.mjs} +2 -2
- package/dist/{chunk-6HWDDYAJ.mjs → chunk-EMH6IYAR.mjs} +2 -2
- package/dist/{chunk-5TAL7WLB.mjs → chunk-FAWXX3N5.mjs} +2 -2
- package/dist/{chunk-KDTWJCPP.mjs → chunk-FRGII7DG.mjs} +2 -2
- package/dist/{chunk-FYRPOW33.mjs → chunk-IPACGBP7.mjs} +2 -2
- package/{dist-react/chunk-YQE67OO2.mjs → dist/chunk-UI6WUQEU.mjs} +2 -2
- package/dist/{chunk-L256V25R.mjs → chunk-UXA6W6V3.mjs} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +97 -74
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/index.mjs.map +1 -1
- package/dist/{leadIntegrations-OED5MKZ7.mjs → leadIntegrations-A6HSJBH5.mjs} +4 -4
- package/dist/{liveStatus-TJRKZQ7H.mjs → liveStatus-3LLS3GGB.mjs} +4 -4
- package/dist/{loginReport-FQJ3OSHE.mjs → loginReport-RSLGTMNI.mjs} +4 -4
- package/dist/{managementDashboard-QZQ2WRPE.mjs → managementDashboard-YFWALAQF.mjs} +3 -3
- package/dist-react/{agentDetailReport-ATRH7YOS.mjs → agentDetailReport-ITGGK2G4.mjs} +3 -3
- package/dist-react/{agentPerformanceReport-F7B6XHE5.mjs → agentPerformanceReport-U7UAO27O.mjs} +5 -5
- package/dist-react/{auditReport-Q7WSTCA2.mjs → auditReport-AST74575.mjs} +3 -3
- package/dist-react/{callHistory-WJBFD7A6.mjs → callHistory-2S2JKT7V.mjs} +2 -2
- package/dist-react/{campaigns-XRE57FLD.mjs → campaigns-26LL724G.mjs} +6 -6
- package/dist-react/caroVoiceAI-LVO6ZIZ3.mjs +54 -0
- package/dist-react/caroVoiceAI-LVO6ZIZ3.mjs.map +1 -0
- package/dist-react/{cdrReport-QXJDMOEY.mjs → cdrReport-3V4ZGK3Q.mjs} +6 -6
- package/dist-react/{chunk-NBYRMQXE.mjs → chunk-643OCO2X.mjs} +2 -2
- package/dist-react/{chunk-AREVEAVD.mjs → chunk-6PHRLDJB.mjs} +2 -2
- package/dist-react/chunk-6PHRLDJB.mjs.map +1 -0
- package/{dist/chunk-R7P7OM42.mjs → dist-react/chunk-7BZ56LY4.mjs} +2 -2
- package/dist-react/{chunk-A5I4LSNK.mjs → chunk-CVIQBQ7J.mjs} +2 -2
- package/dist-react/{chunk-OOZFD5TT.mjs → chunk-DXONNFDR.mjs} +2 -2
- package/dist-react/{chunk-6UVVVPHH.mjs → chunk-OG4OR6UG.mjs} +2 -2
- package/dist-react/{chunk-C42EEKB3.mjs → chunk-UFQUJTX2.mjs} +2 -2
- package/dist-react/{chunk-7BQXXI2K.mjs → chunk-VCD4JM22.mjs} +2 -2
- package/dist-react/{chunk-6ZUZT6G7.mjs → chunk-XF4UA7C6.mjs} +2 -2
- package/dist-react/index.d.mts +1 -1
- package/dist-react/index.d.ts +1 -1
- package/dist-react/index.js +90 -67
- package/dist-react/index.js.map +1 -1
- package/dist-react/index.mjs +18 -18
- package/dist-react/index.mjs.map +1 -1
- package/dist-react/{leadIntegrations-6QTYEG2D.mjs → leadIntegrations-ATONOYV6.mjs} +4 -4
- package/dist-react/{liveStatus-P4XLDKB3.mjs → liveStatus-5UBTVCI4.mjs} +4 -4
- package/dist-react/{loginReport-EYCTYQSF.mjs → loginReport-TGEMZWTM.mjs} +4 -4
- package/dist-react/{managementDashboard-F3HLPLHF.mjs → managementDashboard-SKM33JMC.mjs} +3 -3
- package/package.json +1 -1
- package/dist/caroVoiceAI-REA2AQDF.mjs +0 -32
- package/dist/caroVoiceAI-REA2AQDF.mjs.map +0 -1
- package/dist/chunk-A2ZEA7YZ.mjs.map +0 -1
- package/dist-react/caroVoiceAI-EFLGZA5P.mjs +0 -31
- package/dist-react/caroVoiceAI-EFLGZA5P.mjs.map +0 -1
- package/dist-react/chunk-AREVEAVD.mjs.map +0 -1
- /package/dist/{agentDetailReport-T4JNGFFX.mjs.map → agentDetailReport-2VH67N7D.mjs.map} +0 -0
- /package/dist/{agentPerformanceReport-NCP2UPJT.mjs.map → agentPerformanceReport-A6ICBBJF.mjs.map} +0 -0
- /package/dist/{auditReport-U5MWIXXN.mjs.map → auditReport-Z376RFGT.mjs.map} +0 -0
- /package/dist/{callHistory-KVOHY7WQ.mjs.map → callHistory-N2NDHVYY.mjs.map} +0 -0
- /package/dist/{campaigns-MQBX3BYQ.mjs.map → campaigns-MIVQ6G6I.mjs.map} +0 -0
- /package/dist/{cdrReport-U2WEDUUO.mjs.map → cdrReport-MMNTMWO6.mjs.map} +0 -0
- /package/dist/{chunk-WI2SKKZA.mjs.map → chunk-5TBCL5TX.mjs.map} +0 -0
- /package/dist/{chunk-WW5D6H5R.mjs.map → chunk-6QIPJM7S.mjs.map} +0 -0
- /package/dist/{chunk-6HWDDYAJ.mjs.map → chunk-EMH6IYAR.mjs.map} +0 -0
- /package/dist/{chunk-5TAL7WLB.mjs.map → chunk-FAWXX3N5.mjs.map} +0 -0
- /package/dist/{chunk-KDTWJCPP.mjs.map → chunk-FRGII7DG.mjs.map} +0 -0
- /package/dist/{chunk-FYRPOW33.mjs.map → chunk-IPACGBP7.mjs.map} +0 -0
- /package/dist/{chunk-R7P7OM42.mjs.map → chunk-UI6WUQEU.mjs.map} +0 -0
- /package/dist/{chunk-L256V25R.mjs.map → chunk-UXA6W6V3.mjs.map} +0 -0
- /package/dist/{leadIntegrations-OED5MKZ7.mjs.map → leadIntegrations-A6HSJBH5.mjs.map} +0 -0
- /package/dist/{liveStatus-TJRKZQ7H.mjs.map → liveStatus-3LLS3GGB.mjs.map} +0 -0
- /package/dist/{loginReport-FQJ3OSHE.mjs.map → loginReport-RSLGTMNI.mjs.map} +0 -0
- /package/dist/{managementDashboard-QZQ2WRPE.mjs.map → managementDashboard-YFWALAQF.mjs.map} +0 -0
- /package/dist-react/{agentDetailReport-ATRH7YOS.mjs.map → agentDetailReport-ITGGK2G4.mjs.map} +0 -0
- /package/dist-react/{agentPerformanceReport-F7B6XHE5.mjs.map → agentPerformanceReport-U7UAO27O.mjs.map} +0 -0
- /package/dist-react/{auditReport-Q7WSTCA2.mjs.map → auditReport-AST74575.mjs.map} +0 -0
- /package/dist-react/{callHistory-WJBFD7A6.mjs.map → callHistory-2S2JKT7V.mjs.map} +0 -0
- /package/dist-react/{campaigns-XRE57FLD.mjs.map → campaigns-26LL724G.mjs.map} +0 -0
- /package/dist-react/{cdrReport-QXJDMOEY.mjs.map → cdrReport-3V4ZGK3Q.mjs.map} +0 -0
- /package/dist-react/{chunk-NBYRMQXE.mjs.map → chunk-643OCO2X.mjs.map} +0 -0
- /package/dist-react/{chunk-YQE67OO2.mjs.map → chunk-7BZ56LY4.mjs.map} +0 -0
- /package/dist-react/{chunk-A5I4LSNK.mjs.map → chunk-CVIQBQ7J.mjs.map} +0 -0
- /package/dist-react/{chunk-OOZFD5TT.mjs.map → chunk-DXONNFDR.mjs.map} +0 -0
- /package/dist-react/{chunk-6UVVVPHH.mjs.map → chunk-OG4OR6UG.mjs.map} +0 -0
- /package/dist-react/{chunk-C42EEKB3.mjs.map → chunk-UFQUJTX2.mjs.map} +0 -0
- /package/dist-react/{chunk-7BQXXI2K.mjs.map → chunk-VCD4JM22.mjs.map} +0 -0
- /package/dist-react/{chunk-6ZUZT6G7.mjs.map → chunk-XF4UA7C6.mjs.map} +0 -0
- /package/dist-react/{leadIntegrations-6QTYEG2D.mjs.map → leadIntegrations-ATONOYV6.mjs.map} +0 -0
- /package/dist-react/{liveStatus-P4XLDKB3.mjs.map → liveStatus-5UBTVCI4.mjs.map} +0 -0
- /package/dist-react/{loginReport-EYCTYQSF.mjs.map → loginReport-TGEMZWTM.mjs.map} +0 -0
- /package/dist-react/{managementDashboard-F3HLPLHF.mjs.map → managementDashboard-SKM33JMC.mjs.map} +0 -0
|
@@ -10,7 +10,7 @@ var require = function (id) {
|
|
|
10
10
|
|
|
11
11
|
import {
|
|
12
12
|
agentDetailReport_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5TBCL5TX.mjs";
|
|
14
14
|
import "./chunk-NX4GSQTP.mjs";
|
|
15
15
|
import "./chunk-KYGJOAS4.mjs";
|
|
16
16
|
import "./chunk-KQRMGBV3.mjs";
|
|
@@ -20,9 +20,9 @@ import "./chunk-44IECET3.mjs";
|
|
|
20
20
|
import "./chunk-RRZP7UK2.mjs";
|
|
21
21
|
import "./chunk-R7E4CV5J.mjs";
|
|
22
22
|
import "./chunk-PUUO7PL5.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-253WM67O.mjs";
|
|
24
24
|
import "./chunk-7F3FCGC3.mjs";
|
|
25
25
|
export {
|
|
26
26
|
agentDetailReport_default as default
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=agentDetailReport-
|
|
28
|
+
//# sourceMappingURL=agentDetailReport-2VH67N7D.mjs.map
|
|
@@ -26,18 +26,18 @@ import {
|
|
|
26
26
|
ReportFilterBar,
|
|
27
27
|
bodyCellSx,
|
|
28
28
|
headCellSx
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UXA6W6V3.mjs";
|
|
30
30
|
import "./chunk-RSZVHYTK.mjs";
|
|
31
31
|
import {
|
|
32
32
|
SDKPermissionGuard
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FAWXX3N5.mjs";
|
|
34
34
|
import {
|
|
35
35
|
BreakSessionsTable,
|
|
36
36
|
Visibility_default,
|
|
37
37
|
agentDetailReport_default,
|
|
38
38
|
exportAgentBreakSessionsToExcel,
|
|
39
39
|
getAgentBreakSessions
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5TBCL5TX.mjs";
|
|
41
41
|
import "./chunk-NX4GSQTP.mjs";
|
|
42
42
|
import {
|
|
43
43
|
FileDownload_default
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
END_POINT,
|
|
101
101
|
SDK_PERMISSIONS,
|
|
102
102
|
axios_default
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-253WM67O.mjs";
|
|
104
104
|
import {
|
|
105
105
|
AlertTitle_default,
|
|
106
106
|
Alert_default,
|
|
@@ -10740,4 +10740,4 @@ export {
|
|
|
10740
10740
|
* @author Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)
|
|
10741
10741
|
*)
|
|
10742
10742
|
*/
|
|
10743
|
-
//# sourceMappingURL=agentPerformanceReport-
|
|
10743
|
+
//# sourceMappingURL=agentPerformanceReport-A6ICBBJF.mjs.map
|
|
@@ -10,9 +10,9 @@ var require = function (id) {
|
|
|
10
10
|
|
|
11
11
|
import {
|
|
12
12
|
AuditReportFullPage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IPACGBP7.mjs";
|
|
14
14
|
import "./chunk-PUUO7PL5.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-253WM67O.mjs";
|
|
16
16
|
import "./chunk-7F3FCGC3.mjs";
|
|
17
17
|
|
|
18
18
|
// call-control-sdk/lib/pages/auditReport/index.tsx
|
|
@@ -23,4 +23,4 @@ function AuditReportPage({ callUuid }) {
|
|
|
23
23
|
export {
|
|
24
24
|
AuditReportPage as default
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=auditReport-
|
|
26
|
+
//# sourceMappingURL=auditReport-Z376RFGT.mjs.map
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
END_POINT,
|
|
34
34
|
axios_default,
|
|
35
35
|
deepFindArray
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-253WM67O.mjs";
|
|
37
37
|
import {
|
|
38
38
|
Avatar_default,
|
|
39
39
|
Box_default,
|
|
@@ -830,4 +830,4 @@ var callHistory_default = CallHistory;
|
|
|
830
830
|
export {
|
|
831
831
|
callHistory_default as default
|
|
832
832
|
};
|
|
833
|
-
//# sourceMappingURL=callHistory-
|
|
833
|
+
//# sourceMappingURL=callHistory-N2NDHVYY.mjs.map
|
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
useCampaigns,
|
|
31
31
|
useLeads,
|
|
32
32
|
useQueues
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-6QIPJM7S.mjs";
|
|
34
34
|
import {
|
|
35
35
|
Pause_default,
|
|
36
36
|
useGetCallerData
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-EMH6IYAR.mjs";
|
|
38
38
|
import {
|
|
39
39
|
SDKPageHeader
|
|
40
40
|
} from "./chunk-GD3LJQMO.mjs";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./chunk-TDKW6IXV.mjs";
|
|
45
45
|
import {
|
|
46
46
|
getRecordingByCall
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-UI6WUQEU.mjs";
|
|
48
48
|
import {
|
|
49
49
|
Download_default
|
|
50
50
|
} from "./chunk-AIC6G4VN.mjs";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
SDKPermissionGuard,
|
|
60
60
|
useSDKPermissions
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-FAWXX3N5.mjs";
|
|
62
62
|
import {
|
|
63
63
|
PlayArrow_default
|
|
64
64
|
} from "./chunk-KQRMGBV3.mjs";
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./chunk-R7E4CV5J.mjs";
|
|
78
78
|
import {
|
|
79
79
|
SDK_PERMISSIONS
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-253WM67O.mjs";
|
|
81
81
|
import {
|
|
82
82
|
Box_default,
|
|
83
83
|
Checkbox_default,
|
|
@@ -2839,4 +2839,4 @@ var campaigns_default = Campaigns;
|
|
|
2839
2839
|
export {
|
|
2840
2840
|
campaigns_default as default
|
|
2841
2841
|
};
|
|
2842
|
-
//# sourceMappingURL=campaigns-
|
|
2842
|
+
//# sourceMappingURL=campaigns-MIVQ6G6I.mjs.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as __ext_react from "react";
|
|
2
|
+
import * as __ext_react_dom from "react-dom";
|
|
3
|
+
import * as __ext_react_jsx from "react/jsx-runtime";
|
|
4
|
+
var __cjsExternals = { "react": __ext_react, "react-dom": __ext_react_dom, "react/jsx-runtime": __ext_react_jsx };
|
|
5
|
+
var require = function (id) {
|
|
6
|
+
var mod = __cjsExternals[id];
|
|
7
|
+
if (mod) return mod.default || mod;
|
|
8
|
+
throw new Error('Dynamic require of "' + id + '" is not supported');
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
import {
|
|
12
|
+
Box_default
|
|
13
|
+
} from "./chunk-7F3FCGC3.mjs";
|
|
14
|
+
|
|
15
|
+
// call-control-sdk/lib/pages/caroVoiceAI/index.tsx
|
|
16
|
+
import { useMemo } from "react";
|
|
17
|
+
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
var CARO_VOICE_AI_URL = "https://dev-ai-voice.achalahealth.com:3100/executive-dashboard/{tenantId}";
|
|
19
|
+
var TENANT_ID_PLACEHOLDER = "{tenantId}";
|
|
20
|
+
var TENANT_INFO_STORAGE_KEY = "tenantInfo";
|
|
21
|
+
var readTenantIdFromSession = () => {
|
|
22
|
+
if (typeof sessionStorage === "undefined") return null;
|
|
23
|
+
const raw = sessionStorage.getItem(TENANT_INFO_STORAGE_KEY);
|
|
24
|
+
if (!raw) return null;
|
|
25
|
+
try {
|
|
26
|
+
const parsed = JSON.parse(raw);
|
|
27
|
+
const id = parsed == null ? void 0 : parsed.tenantId;
|
|
28
|
+
return id != null && id !== "" ? String(id) : null;
|
|
29
|
+
} catch (e) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
var buildDashboardUrl = (template, tenantId) => {
|
|
34
|
+
const resolved = tenantId != null && tenantId !== "" ? String(tenantId) : readTenantIdFromSession();
|
|
35
|
+
return template.split(TENANT_ID_PLACEHOLDER).join(encodeURIComponent(resolved != null ? resolved : ""));
|
|
36
|
+
};
|
|
37
|
+
function CaroVoiceAIPage({
|
|
38
|
+
tenantId,
|
|
39
|
+
url = CARO_VOICE_AI_URL
|
|
40
|
+
} = {}) {
|
|
41
|
+
const src = useMemo(() => buildDashboardUrl(url, tenantId), [url, tenantId]);
|
|
42
|
+
return /* @__PURE__ */ jsx(Box_default, { sx: { width: "100%", height: "calc(100vh - 64px)" }, children: /* @__PURE__ */ jsx(
|
|
43
|
+
"iframe",
|
|
44
|
+
{
|
|
45
|
+
src,
|
|
46
|
+
title: "Caro Voice AI",
|
|
47
|
+
style: { width: "100%", height: "100%", border: "none" },
|
|
48
|
+
allow: "microphone; camera; clipboard-read; clipboard-write"
|
|
49
|
+
}
|
|
50
|
+
) });
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
CaroVoiceAIPage as default
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=caroVoiceAI-6ELR5AW3.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../call-control-sdk/lib/pages/caroVoiceAI/index.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { Box } from \"@mui/material\";\n\n/**\n * Dashboard URL template. `{tenantId}` is replaced with the logged-in user's\n * tenant id from the login response (`tenantInfo.tenantId`). The token works\n * anywhere in the string, so the tenant can be moved between a path segment and a\n * query param by editing this line alone:\n * \".../executive-dashboard/{tenantId}\"\n * \".../executive-dashboard?tenantId={tenantId}\"\n *\n * NOTE: the dashboard must have a route that accepts the segment. As of the build\n * deployed on 2026-08-11 its router declares `executive-dashboard` with children\n * `break-down/:id` and `audit-report/:callUuid` only — no tenant param — so this\n * URL lands on that app's catch-all until they add a `:tenantId` child route.\n */\nconst CARO_VOICE_AI_URL =\n\t\"https://dev-ai-voice.achalahealth.com:3100/executive-dashboard/{tenantId}\";\n\n/** Token in CARO_VOICE_AI_URL that the tenant id is substituted for. */\nconst TENANT_ID_PLACEHOLDER = \"{tenantId}\";\n\n/**\n * sessionStorage key the host app mirrors the login response's `tenantInfo`\n * (`{ tenantId, slug }`) under. Read from storage rather than a prop because the\n * SDK page registry renders these pages with no props.\n */\nconst TENANT_INFO_STORAGE_KEY = \"tenantInfo\";\n\n/** Tenant id from the mirrored login `tenantInfo`, or null when unavailable. */\nconst readTenantIdFromSession = (): string | null => {\n\tif (typeof sessionStorage === \"undefined\") return null;\n\tconst raw = sessionStorage.getItem(TENANT_INFO_STORAGE_KEY);\n\tif (!raw) return null;\n\ttry {\n\t\tconst parsed = JSON.parse(raw) as { tenantId?: number | string } | null;\n\t\tconst id = parsed?.tenantId;\n\t\treturn id != null && id !== \"\" ? String(id) : null;\n\t} catch {\n\t\treturn null;\n\t}\n};\n\nexport interface CaroVoiceAIPageProps {\n\t/** Tenant id for the dashboard. Overrides the one resolved from the session. */\n\ttenantId?: number | string;\n\t/** URL template to embed; must contain `{tenantId}` to receive the tenant. */\n\turl?: string;\n}\n\n/**\n * Substitutes every `{tenantId}` in the template. An unresolved tenant becomes an\n * empty string rather than a literal \"{tenantId}\", which leaves a bare\n * \".../executive-dashboard/\" — the dashboard's own index route — instead of sending\n * it a path segment it can't match.\n */\nconst buildDashboardUrl = (template: string, tenantId?: number | string): string => {\n\tconst resolved =\n\t\ttenantId != null && tenantId !== \"\" ? String(tenantId) : readTenantIdFromSession();\n\treturn template.split(TENANT_ID_PLACEHOLDER).join(encodeURIComponent(resolved ?? \"\"));\n};\n\nexport default function CaroVoiceAIPage({\n\ttenantId,\n\turl = CARO_VOICE_AI_URL,\n}: CaroVoiceAIPageProps = {}) {\n\tconst src = useMemo(() => buildDashboardUrl(url, tenantId), [url, tenantId]);\n\n\treturn (\n\t\t<Box sx={{ width: \"100%\", height: \"calc(100vh - 64px)\" }}>\n\t\t\t<iframe\n\t\t\t\tsrc={src}\n\t\t\t\ttitle=\"Caro Voice AI\"\n\t\t\t\tstyle={{ width: \"100%\", height: \"100%\", border: \"none\" }}\n\t\t\t\tallow=\"microphone; camera; clipboard-read; clipboard-write\"\n\t\t\t/>\n\t\t</Box>\n\t);\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,SAAgB,eAAe;AAsE5B;AAtDH,IAAM,oBACL;AAGD,IAAM,wBAAwB;AAO9B,IAAM,0BAA0B;AAGhC,IAAM,0BAA0B,MAAqB;AACpD,MAAI,OAAO,mBAAmB,YAAa,QAAO;AAClD,QAAM,MAAM,eAAe,QAAQ,uBAAuB;AAC1D,MAAI,CAAC,IAAK,QAAO;AACjB,MAAI;AACH,UAAM,SAAS,KAAK,MAAM,GAAG;AAC7B,UAAM,KAAK,iCAAQ;AACnB,WAAO,MAAM,QAAQ,OAAO,KAAK,OAAO,EAAE,IAAI;AAAA,EAC/C,SAAQ;AACP,WAAO;AAAA,EACR;AACD;AAeA,IAAM,oBAAoB,CAAC,UAAkB,aAAuC;AACnF,QAAM,WACL,YAAY,QAAQ,aAAa,KAAK,OAAO,QAAQ,IAAI,wBAAwB;AAClF,SAAO,SAAS,MAAM,qBAAqB,EAAE,KAAK,mBAAmB,8BAAY,EAAE,CAAC;AACrF;AAEe,SAAR,gBAAiC;AAAA,EACvC;AAAA,EACA,MAAM;AACP,IAA0B,CAAC,GAAG;AAC7B,QAAM,MAAM,QAAQ,MAAM,kBAAkB,KAAK,QAAQ,GAAG,CAAC,KAAK,QAAQ,CAAC;AAE3E,SACC,oBAAC,eAAI,IAAI,EAAE,OAAO,QAAQ,QAAQ,qBAAqB,GACtD;AAAA,IAAC;AAAA;AAAA,MACA;AAAA,MACA,OAAM;AAAA,MACN,OAAO,EAAE,OAAO,QAAQ,QAAQ,QAAQ,QAAQ,OAAO;AAAA,MACvD,OAAM;AAAA;AAAA,EACP,GACD;AAEF;","names":[]}
|
|
@@ -13,25 +13,25 @@ import {
|
|
|
13
13
|
getCdrReport,
|
|
14
14
|
getQueues,
|
|
15
15
|
getRecordingByCall
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UI6WUQEU.mjs";
|
|
17
17
|
import {
|
|
18
18
|
Download_default
|
|
19
19
|
} from "./chunk-AIC6G4VN.mjs";
|
|
20
20
|
import {
|
|
21
21
|
AuditReportDialog
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IPACGBP7.mjs";
|
|
23
23
|
import {
|
|
24
24
|
ReportFilterBar,
|
|
25
25
|
headCellSx,
|
|
26
26
|
require_isoWeek
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UXA6W6V3.mjs";
|
|
28
28
|
import {
|
|
29
29
|
SearchBar
|
|
30
30
|
} from "./chunk-RSZVHYTK.mjs";
|
|
31
31
|
import {
|
|
32
32
|
SDKPermissionGuard,
|
|
33
33
|
useSDKPermissions
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FAWXX3N5.mjs";
|
|
35
35
|
import {
|
|
36
36
|
FileDownload_default
|
|
37
37
|
} from "./chunk-KYGJOAS4.mjs";
|
|
@@ -59,7 +59,7 @@ import "./chunk-PUUO7PL5.mjs";
|
|
|
59
59
|
import {
|
|
60
60
|
SDK_PERMISSIONS,
|
|
61
61
|
deepFindArray
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-253WM67O.mjs";
|
|
63
63
|
import {
|
|
64
64
|
Alert_default,
|
|
65
65
|
Box_default,
|
|
@@ -876,4 +876,4 @@ var cdrReport_default = CdrReport;
|
|
|
876
876
|
export {
|
|
877
877
|
cdrReport_default as default
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=cdrReport-
|
|
879
|
+
//# sourceMappingURL=cdrReport-MMNTMWO6.mjs.map
|
|
@@ -6630,7 +6630,7 @@ var SDK_MENU_CODES = {
|
|
|
6630
6630
|
MANAGEMENT_DASHBOARD: "management_dashboard",
|
|
6631
6631
|
CARO_VOICE_AI: "caro_voice_ai",
|
|
6632
6632
|
QUALITY_AUDIT_DASHBOARD: "quality_audit_dashboard",
|
|
6633
|
-
|
|
6633
|
+
CARO_VOICE_AI_DASHBOARD: "caro_voice_ai_dashboard",
|
|
6634
6634
|
LEAD_INTEGRATIONS: "lead_integrations"
|
|
6635
6635
|
};
|
|
6636
6636
|
var SDK_PERMISSIONS = {
|
|
@@ -10970,4 +10970,4 @@ crypto-js/mode-ctr-gladman.js:
|
|
|
10970
10970
|
* Jan Hruby jhruby.web@gmail.com
|
|
10971
10971
|
*)
|
|
10972
10972
|
*/
|
|
10973
|
-
//# sourceMappingURL=chunk-
|
|
10973
|
+
//# sourceMappingURL=chunk-253WM67O.mjs.map
|