ysyt-agent-sdk 1.0.97 → 1.0.98
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.
|
@@ -30,7 +30,7 @@ const Mt=globalThis,wt=Mt.trustedTypes,ft=wt?wt.createPolicy("lit-html",{createH
|
|
|
30
30
|
* @license
|
|
31
31
|
* Copyright 2017 Google LLC
|
|
32
32
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
-
*/},rs=globalThis;class os extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=is(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Nt}}os._$litElement$=!0,os.finalized=!0,rs.litElementHydrateSupport?.({LitElement:os});const ns=rs.litElementPolyfillSupport;ns?.({LitElement:os}),(rs.litElementVersions??=[]).push("4.2.1");const as={statusColor:{[exports.AgentStatus.IDLE]:"#1D92E9",[exports.AgentStatus.BUSY]:"#F5212D",[exports.AgentStatus.OFFLINE]:"#8c8c8c",[exports.AgentStatus.RINGING]:"#e9b91d"}},Vs=["call_number"],cs=["call_number"],hs=["
|
|
33
|
+
*/},rs=globalThis;class os extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=is(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Nt}}os._$litElement$=!0,os.finalized=!0,rs.litElementHydrateSupport?.({LitElement:os});const ns=rs.litElementPolyfillSupport;ns?.({LitElement:os}),(rs.litElementVersions??=[]).push("4.2.1");const as={statusColor:{[exports.AgentStatus.IDLE]:"#1D92E9",[exports.AgentStatus.BUSY]:"#F5212D",[exports.AgentStatus.OFFLINE]:"#8c8c8c",[exports.AgentStatus.RINGING]:"#e9b91d"}},Vs=["call_number"],cs=["call_number"],hs=["reject"],ls=["hold","hangup","mute","transfer","consult","satisfaction","dtmf"],gs=["consult_transfer","conference","consult_retrieve"],qs=["hangup"],ds=["hangup"],ps=["answer","reject"],us=["hangup","consult","transfer","hold","mute","satisfaction","dtmf"];function ms(A,e,t,s){var i,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(A,e,t,s);else for(var n=A.length-1;n>=0;n--)(i=A[n])&&(o=(r<3?i(o):r>3?i(e,t,o):i(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o}"function"==typeof SuppressedError&&SuppressedError;
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2017 Google LLC
|
|
@@ -30,7 +30,7 @@ const Mt=globalThis,wt=Mt.trustedTypes,ft=wt?wt.createPolicy("lit-html",{createH
|
|
|
30
30
|
* @license
|
|
31
31
|
* Copyright 2017 Google LLC
|
|
32
32
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
-
*/},rs=globalThis;class os extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=is(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Nt}}os._$litElement$=!0,os.finalized=!0,rs.litElementHydrateSupport?.({LitElement:os});const ns=rs.litElementPolyfillSupport;ns?.({LitElement:os}),(rs.litElementVersions??=[]).push("4.2.1");const as={statusColor:{[Ae.IDLE]:"#1D92E9",[Ae.BUSY]:"#F5212D",[Ae.OFFLINE]:"#8c8c8c",[Ae.RINGING]:"#e9b91d"}},Vs=["call_number"],cs=["call_number"],hs=["
|
|
33
|
+
*/},rs=globalThis;class os extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=is(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Nt}}os._$litElement$=!0,os.finalized=!0,rs.litElementHydrateSupport?.({LitElement:os});const ns=rs.litElementPolyfillSupport;ns?.({LitElement:os}),(rs.litElementVersions??=[]).push("4.2.1");const as={statusColor:{[Ae.IDLE]:"#1D92E9",[Ae.BUSY]:"#F5212D",[Ae.OFFLINE]:"#8c8c8c",[Ae.RINGING]:"#e9b91d"}},Vs=["call_number"],cs=["call_number"],hs=["reject"],ls=["hold","hangup","mute","transfer","consult","satisfaction","dtmf"],gs=["consult_transfer","conference","consult_retrieve"],qs=["hangup"],ds=["hangup"],us=["answer","reject"],ps=["hangup","consult","transfer","hold","mute","satisfaction","dtmf"];function ms(A,e,t,s){var i,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(A,e,t,s);else for(var n=A.length-1;n>=0;n--)(i=A[n])&&(o=(r<3?i(o):r>3?i(e,t,o):i(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o}"function"==typeof SuppressedError&&SuppressedError;
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2017 Google LLC
|
|
@@ -30,7 +30,7 @@ const Mt=globalThis,wt=Mt.trustedTypes,ft=wt?wt.createPolicy("lit-html",{createH
|
|
|
30
30
|
* @license
|
|
31
31
|
* Copyright 2017 Google LLC
|
|
32
32
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
-
*/},ns=globalThis;class rs extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=is(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Nt}}rs._$litElement$=!0,rs.finalized=!0,ns.litElementHydrateSupport?.({LitElement:rs});const os=ns.litElementPolyfillSupport;os?.({LitElement:rs}),(ns.litElementVersions??=[]).push("4.2.1");const as={statusColor:{[A.AgentStatus.IDLE]:"#1D92E9",[A.AgentStatus.BUSY]:"#F5212D",[A.AgentStatus.OFFLINE]:"#8c8c8c",[A.AgentStatus.RINGING]:"#e9b91d"}},Vs=["call_number"],cs=["call_number"],hs=["
|
|
33
|
+
*/},ns=globalThis;class rs extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=is(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Nt}}rs._$litElement$=!0,rs.finalized=!0,ns.litElementHydrateSupport?.({LitElement:rs});const os=ns.litElementPolyfillSupport;os?.({LitElement:rs}),(ns.litElementVersions??=[]).push("4.2.1");const as={statusColor:{[A.AgentStatus.IDLE]:"#1D92E9",[A.AgentStatus.BUSY]:"#F5212D",[A.AgentStatus.OFFLINE]:"#8c8c8c",[A.AgentStatus.RINGING]:"#e9b91d"}},Vs=["call_number"],cs=["call_number"],hs=["reject"],ls=["hold","hangup","mute","transfer","consult","satisfaction","dtmf"],gs=["consult_transfer","conference","consult_retrieve"],qs=["hangup"],ds=["hangup"],us=["answer","reject"],ps=["hangup","consult","transfer","hold","mute","satisfaction","dtmf"];function ms(A,e,t,s){var i,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(A,e,t,s);else for(var o=A.length-1;o>=0;o--)(i=A[o])&&(r=(n<3?i(r):n>3?i(e,t,r):i(e,t))||r);return n>3&&r&&Object.defineProperty(e,t,r),r}"function"==typeof SuppressedError&&SuppressedError;
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2017 Google LLC
|