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 _0xe3f3=['GetOpenchannelQueue','name','strategy','User','Agents','../client','getOpenchannelQueues','Request'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xe3f3,0xed));var _0x3e3f=function(_0xda464c,_0x26e47d){_0xda464c=_0xda464c-0x0;var _0x19e222=_0xe3f3[_0xda464c];return _0x19e222;};'use strict';var client=require(_0x3e3f('0x0'));exports[_0x3e3f('0x1')]=function(){return function(){return client[_0x3e3f('0x2')](_0x3e3f('0x3'),{'options':{'raw':![],'attributes':['id',_0x3e3f('0x4'),'timeout',_0x3e3f('0x5')],'include':[{'model':_0x3e3f('0x6'),'as':_0x3e3f('0x7'),'attributes':['id',_0x3e3f('0x4'),'online','openchannelPause']}]},'log':'getOpenchannelQueues'});};};