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 _0x0bf4=['User','Agents','online','openchannelPause','../client','Request','GetOpenchannelQueue','name','timeout','strategy'];(function(_0xef3c80,_0x36164f){var _0x27f054=function(_0xf82dda){while(--_0xf82dda){_0xef3c80['push'](_0xef3c80['shift']());}};_0x27f054(++_0x36164f);}(_0x0bf4,0x180));var _0x40bf=function(_0x3bee55,_0x4e25c8){_0x3bee55=_0x3bee55-0x0;var _0x5649d2=_0x0bf4[_0x3bee55];return _0x5649d2;};'use strict';var client=require(_0x40bf('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x40bf('0x1')](_0x40bf('0x2'),{'options':{'raw':![],'attributes':['id',_0x40bf('0x3'),_0x40bf('0x4'),_0x40bf('0x5')],'include':[{'model':_0x40bf('0x6'),'as':_0x40bf('0x7'),'attributes':['id','name',_0x40bf('0x8'),_0x40bf('0x9')]}]},'log':'getOpenchannelQueues'});};};