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 _0x3a66=['../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User','online','openchannelPause'];(function(_0x5f7e44,_0x440185){var _0x305de7=function(_0x2d6584){while(--_0x2d6584){_0x5f7e44['push'](_0x5f7e44['shift']());}};_0x305de7(++_0x440185);}(_0x3a66,0xa0));var _0x63a6=function(_0x3e32a8,_0x255953){_0x3e32a8=_0x3e32a8-0x0;var _0x2997b0=_0x3a66[_0x3e32a8];return _0x2997b0;};'use strict';var client=require(_0x63a6('0x0'));exports[_0x63a6('0x1')]=function(){return function(){return client[_0x63a6('0x2')](_0x63a6('0x3'),{'options':{'raw':![],'attributes':['id',_0x63a6('0x4'),_0x63a6('0x5'),_0x63a6('0x6')],'include':[{'model':_0x63a6('0x7'),'as':'Agents','attributes':['id',_0x63a6('0x4'),_0x63a6('0x8'),_0x63a6('0x9')]}]},'log':_0x63a6('0x1')});};};