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 _0xe7b3=['online','getOpenchannelQueues','Request','name','strategy','Agents'];(function(_0x2cb1bd,_0x42b64c){var _0x393fdf=function(_0x532988){while(--_0x532988){_0x2cb1bd['push'](_0x2cb1bd['shift']());}};_0x393fdf(++_0x42b64c);}(_0xe7b3,0x193));var _0x3e7b=function(_0x3364f0,_0x2c1c9b){_0x3364f0=_0x3364f0-0x0;var _0x5f2d27=_0xe7b3[_0x3364f0];return _0x5f2d27;};'use strict';var client=require('../client');exports[_0x3e7b('0x0')]=function(){return function(){return client[_0x3e7b('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x3e7b('0x2'),'timeout',_0x3e7b('0x3')],'include':[{'model':'User','as':_0x3e7b('0x4'),'attributes':['id',_0x3e7b('0x2'),_0x3e7b('0x5'),'openchannelPause']}]},'log':_0x3e7b('0x0')});};};