1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x8305=['User','Agents','online','openchannelPause','../client','getOpenchannelQueues','Request','name','strategy'];(function(_0x1b11d0,_0x348daf){var _0x5e6d29=function(_0x4c0d7b){while(--_0x4c0d7b){_0x1b11d0['push'](_0x1b11d0['shift']());}};_0x5e6d29(++_0x348daf);}(_0x8305,0xd3));var _0x5830=function(_0x36d8c3,_0x20438f){_0x36d8c3=_0x36d8c3-0x0;var _0x31dc68=_0x8305[_0x36d8c3];return _0x31dc68;};'use strict';var client=require(_0x5830('0x0'));exports[_0x5830('0x1')]=function(){return function(){return client[_0x5830('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x5830('0x3'),'timeout',_0x5830('0x4')],'include':[{'model':_0x5830('0x5'),'as':_0x5830('0x6'),'attributes':['id',_0x5830('0x3'),_0x5830('0x7'),_0x5830('0x8')]}]},'log':_0x5830('0x1')});};};