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 _0x219f=['GetOpenchannelQueue','name','timeout','strategy','Agents','online','../client','getOpenchannelQueues','Request'];(function(_0x261497,_0x5977f7){var _0x1da692=function(_0x239be3){while(--_0x239be3){_0x261497['push'](_0x261497['shift']());}};_0x1da692(++_0x5977f7);}(_0x219f,0xc3));var _0xf219=function(_0x4b612c,_0x8fa416){_0x4b612c=_0x4b612c-0x0;var _0x44953b=_0x219f[_0x4b612c];return _0x44953b;};'use strict';var client=require(_0xf219('0x0'));exports[_0xf219('0x1')]=function(){return function(){return client[_0xf219('0x2')](_0xf219('0x3'),{'options':{'raw':![],'attributes':['id',_0xf219('0x4'),_0xf219('0x5'),_0xf219('0x6')],'include':[{'model':'User','as':_0xf219('0x7'),'attributes':['id',_0xf219('0x4'),_0xf219('0x8'),'openchannelPause']}]},'log':_0xf219('0x1')});};};