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 _0x5dda=['timeout','strategy','Agents','online','openchannelPause','../client','GetOpenchannelQueue','name'];(function(_0x4dfbed,_0xf04fc1){var _0x5232f6=function(_0x534493){while(--_0x534493){_0x4dfbed['push'](_0x4dfbed['shift']());}};_0x5232f6(++_0xf04fc1);}(_0x5dda,0xed));var _0xa5dd=function(_0x2c82c3,_0x12e4ba){_0x2c82c3=_0x2c82c3-0x0;var _0x3af250=_0x5dda[_0x2c82c3];return _0x3af250;};'use strict';var client=require(_0xa5dd('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client['Request'](_0xa5dd('0x1'),{'options':{'raw':![],'attributes':['id',_0xa5dd('0x2'),_0xa5dd('0x3'),_0xa5dd('0x4')],'include':[{'model':'User','as':_0xa5dd('0x5'),'attributes':['id',_0xa5dd('0x2'),_0xa5dd('0x6'),_0xa5dd('0x7')]}]},'log':'getOpenchannelQueues'});};};