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 _0x5d3e=['timeout','strategy','Agents','online','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','name'];(function(_0x82889a,_0x47f510){var _0x1b73b5=function(_0x132afd){while(--_0x132afd){_0x82889a['push'](_0x82889a['shift']());}};_0x1b73b5(++_0x47f510);}(_0x5d3e,0xc2));var _0xe5d3=function(_0x30dda0,_0x26192b){_0x30dda0=_0x30dda0-0x0;var _0x3a5979=_0x5d3e[_0x30dda0];return _0x3a5979;};'use strict';var client=require('../client');exports[_0xe5d3('0x0')]=function(){return function(){return client[_0xe5d3('0x1')](_0xe5d3('0x2'),{'options':{'raw':![],'attributes':['id',_0xe5d3('0x3'),_0xe5d3('0x4'),_0xe5d3('0x5')],'include':[{'model':'User','as':_0xe5d3('0x6'),'attributes':['id',_0xe5d3('0x3'),_0xe5d3('0x7'),_0xe5d3('0x8')]}]},'log':_0xe5d3('0x0')});};};