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 _0x2cfe=['../client','Request','GetOpenchannelQueue','strategy','User','Agents','name','online','openchannelPause','getOpenchannelQueues'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x2cfe,0x1a4));var _0xe2cf=function(_0x5a2d6e,_0x3d3a47){_0x5a2d6e=_0x5a2d6e-0x0;var _0x30ff59=_0x2cfe[_0x5a2d6e];return _0x30ff59;};'use strict';var client=require(_0xe2cf('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0xe2cf('0x1')](_0xe2cf('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0xe2cf('0x3')],'include':[{'model':_0xe2cf('0x4'),'as':_0xe2cf('0x5'),'attributes':['id',_0xe2cf('0x6'),_0xe2cf('0x7'),_0xe2cf('0x8')]}]},'log':_0xe2cf('0x9')});};};