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 _0x4114=['User','Agents','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','strategy'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0x4114,0x1ce));var _0x4411=function(_0x325dde,_0x5eea3f){_0x325dde=_0x325dde-0x0;var _0x30a90e=_0x4114[_0x325dde];return _0x30a90e;};'use strict';var client=require(_0x4411('0x0'));exports[_0x4411('0x1')]=function(){return function(){return client[_0x4411('0x2')](_0x4411('0x3'),{'options':{'raw':![],'attributes':['id',_0x4411('0x4'),'timeout',_0x4411('0x5')],'include':[{'model':_0x4411('0x6'),'as':_0x4411('0x7'),'attributes':['id','name','online',_0x4411('0x8')]}]},'log':'getOpenchannelQueues'});};};