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 _0xee40=['name','timeout','User','Agents','online','../client','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x58be45,_0x2c8bbb){var _0x208dc1=function(_0x1dd9db){while(--_0x1dd9db){_0x58be45['push'](_0x58be45['shift']());}};_0x208dc1(++_0x2c8bbb);}(_0xee40,0x113));var _0x0ee4=function(_0x38f0e4,_0x1d60e2){_0x38f0e4=_0x38f0e4-0x0;var _0x42f788=_0xee40[_0x38f0e4];return _0x42f788;};'use strict';var client=require(_0x0ee4('0x0'));exports[_0x0ee4('0x1')]=function(){return function(){return client[_0x0ee4('0x2')](_0x0ee4('0x3'),{'options':{'raw':![],'attributes':['id',_0x0ee4('0x4'),_0x0ee4('0x5'),'strategy'],'include':[{'model':_0x0ee4('0x6'),'as':_0x0ee4('0x7'),'attributes':['id',_0x0ee4('0x4'),_0x0ee4('0x8'),'openchannelPause']}]},'log':_0x0ee4('0x1')});};};