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 _0xd7c4=['Request','name','timeout','User','Agents','online','openchannelPause','../client','getOpenchannelQueues'];(function(_0x17dda3,_0x36e484){var _0x2ad9ec=function(_0x2c5dc4){while(--_0x2c5dc4){_0x17dda3['push'](_0x17dda3['shift']());}};_0x2ad9ec(++_0x36e484);}(_0xd7c4,0x1ae));var _0x4d7c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xd7c4[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x4d7c('0x0'));exports[_0x4d7c('0x1')]=function(){return function(){return client[_0x4d7c('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x4d7c('0x3'),_0x4d7c('0x4'),'strategy'],'include':[{'model':_0x4d7c('0x5'),'as':_0x4d7c('0x6'),'attributes':['id',_0x4d7c('0x3'),_0x4d7c('0x7'),_0x4d7c('0x8')]}]},'log':'getOpenchannelQueues'});};};