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 _0xa3dc=['timeout','strategy','User','Agents','openchannelPause','../client','Request','GetOpenchannelQueue','name'];(function(_0x909f09,_0xc32308){var _0x792c65=function(_0x25921e){while(--_0x25921e){_0x909f09['push'](_0x909f09['shift']());}};_0x792c65(++_0xc32308);}(_0xa3dc,0xdd));var _0xca3d=function(_0x58108d,_0x2403ee){_0x58108d=_0x58108d-0x0;var _0x378242=_0xa3dc[_0x58108d];return _0x378242;};'use strict';var client=require(_0xca3d('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0xca3d('0x1')](_0xca3d('0x2'),{'options':{'raw':![],'attributes':['id',_0xca3d('0x3'),_0xca3d('0x4'),_0xca3d('0x5')],'include':[{'model':_0xca3d('0x6'),'as':_0xca3d('0x7'),'attributes':['id','name','online',_0xca3d('0x8')]}]},'log':'getOpenchannelQueues'});};};