ahs-cti 1.0.0-uat.13 → 1.0.0-uat.14

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/index.js CHANGED
@@ -139291,7 +139291,7 @@ var formatDuration = (seconds2) => {
139291
139291
  return `${mins.toString().padStart(2, "0")}:${secs.toString().padStart(2, "0")}`;
139292
139292
  };
139293
139293
  function CallControls({ onDataChange }) {
139294
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb, _yb, _zb, _Ab, _Bb;
139294
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb;
139295
139295
  const theme = useTheme5();
139296
139296
  const state = useSDKState();
139297
139297
  const { showToast } = useToast();
@@ -140535,7 +140535,7 @@ function CallControls({ onDataChange }) {
140535
140535
  }
140536
140536
  ),
140537
140537
  " ",
140538
- /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Typography_default, { variant: "subtitle1", fontWeight: 600, sx: { textAlign: "center" }, children: "ahs-cti" }),
140538
+ /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Typography_default, { variant: "subtitle1", sx: { textAlign: "center", fontWeight: 600 }, children: "ahs-cti" }),
140539
140539
  /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(IconButton_default, { onClick: () => setShowIframe(false), children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Close_default2, {}) })
140540
140540
  ]
140541
140541
  }
@@ -140543,7 +140543,7 @@ function CallControls({ onDataChange }) {
140543
140543
  /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
140544
140544
  "iframe",
140545
140545
  {
140546
- src: `${(_ub = state.urlConfig) == null ? void 0 : _ub.iframeURL}/static/phone/iframe_index.html?userId=${encodeURIComponent((_vb = state.agentId) != null ? _vb : "")}&password=${encodeURIComponent((_xb = (_wb = state.urlConfig) == null ? void 0 : _wb.password) != null ? _xb : "")}&api_url=${encodeURIComponent((_zb = (_yb = state.urlConfig) == null ? void 0 : _yb.iframeAPIURL) != null ? _zb : "")}&ws_url=${encodeURIComponent((_Bb = (_Ab = state.urlConfig) == null ? void 0 : _Ab.webSocketURL) != null ? _Bb : "")}`,
140546
+ src: `${(_ub = state.urlConfig) == null ? void 0 : _ub.iframeURL}/static/phone/index.html?user_id=${(_vb = state.urlConfig) == null ? void 0 : _vb.id}&api_url=${(_wb = state.urlConfig) == null ? void 0 : _wb.iframeAPIURL}&token=${(_xb = state.authorization) == null ? void 0 : _xb.accessToken}`,
140547
140547
  height: 380,
140548
140548
  width: 420,
140549
140549
  allow: "camera; microphone; autoplay",