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 _0x51f3=['getOpenchannelQueues','name','timeout','strategy','User','Agents','openchannelPause','../client'];(function(_0x3af9b2,_0x18f98b){var _0x2e3785=function(_0x282121){while(--_0x282121){_0x3af9b2['push'](_0x3af9b2['shift']());}};_0x2e3785(++_0x18f98b);}(_0x51f3,0x9f));var _0x351f=function(_0x427df3,_0x193ab1){_0x427df3=_0x427df3-0x0;var _0x42a1c5=_0x51f3[_0x427df3];return _0x42a1c5;};'use strict';var client=require(_0x351f('0x0'));exports[_0x351f('0x1')]=function(){return function(){return client['Request']('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x351f('0x2'),_0x351f('0x3'),_0x351f('0x4')],'include':[{'model':_0x351f('0x5'),'as':_0x351f('0x6'),'attributes':['id',_0x351f('0x2'),'online',_0x351f('0x7')]}]},'log':'getOpenchannelQueues'});};};