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 _0x3d04=['Agents','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x186bc1,_0x4e10a3){var _0x460d33=function(_0x1e5ce7){while(--_0x1e5ce7){_0x186bc1['push'](_0x186bc1['shift']());}};_0x460d33(++_0x4e10a3);}(_0x3d04,0x100));var _0x43d0=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x3d04[_0x1facfa];return _0x9ec701;};'use strict';var client=require(_0x43d0('0x0'));exports[_0x43d0('0x1')]=function(){return function(){return client[_0x43d0('0x2')](_0x43d0('0x3'),{'options':{'raw':![],'attributes':['id',_0x43d0('0x4'),_0x43d0('0x5'),_0x43d0('0x6')],'include':[{'model':_0x43d0('0x7'),'as':_0x43d0('0x8'),'attributes':['id',_0x43d0('0x4'),_0x43d0('0x9'),_0x43d0('0xa')]}]},'log':_0x43d0('0x1')});};};