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 _0x15f9=['User','Agents','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout'];(function(_0x2ce33f,_0x7736fc){var _0x512681=function(_0x4457f3){while(--_0x4457f3){_0x2ce33f['push'](_0x2ce33f['shift']());}};_0x512681(++_0x7736fc);}(_0x15f9,0x150));var _0x915f=function(_0xd10ebc,_0x17c401){_0xd10ebc=_0xd10ebc-0x0;var _0x381f46=_0x15f9[_0xd10ebc];return _0x381f46;};'use strict';var client=require(_0x915f('0x0'));exports[_0x915f('0x1')]=function(){return function(){return client[_0x915f('0x2')](_0x915f('0x3'),{'options':{'raw':![],'attributes':['id',_0x915f('0x4'),_0x915f('0x5'),'strategy'],'include':[{'model':_0x915f('0x6'),'as':_0x915f('0x7'),'attributes':['id',_0x915f('0x4'),'online',_0x915f('0x8')]}]},'log':'getOpenchannelQueues'});};};