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 _0x4320=['timeout','strategy','User','online','openchannelPause','../client','Request','name'];(function(_0xd578cb,_0x2167a3){var _0x775533=function(_0x1c340d){while(--_0x1c340d){_0xd578cb['push'](_0xd578cb['shift']());}};_0x775533(++_0x2167a3);}(_0x4320,0x85));var _0x0432=function(_0x4c440b,_0x3ea627){_0x4c440b=_0x4c440b-0x0;var _0x2d48cf=_0x4320[_0x4c440b];return _0x2d48cf;};'use strict';var client=require(_0x0432('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x0432('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x0432('0x2'),_0x0432('0x3'),_0x0432('0x4')],'include':[{'model':_0x0432('0x5'),'as':'Agents','attributes':['id',_0x0432('0x2'),_0x0432('0x6'),_0x0432('0x7')]}]},'log':'getOpenchannelQueues'});};};