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 _0x369a=['Agents','online','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','strategy','User'];(function(_0x3ab9ee,_0x4a74b8){var _0x82ee88=function(_0x6ccc7e){while(--_0x6ccc7e){_0x3ab9ee['push'](_0x3ab9ee['shift']());}};_0x82ee88(++_0x4a74b8);}(_0x369a,0x17c));var _0xa369=function(_0x2c9c95,_0x20957d){_0x2c9c95=_0x2c9c95-0x0;var _0x240ae6=_0x369a[_0x2c9c95];return _0x240ae6;};'use strict';var client=require(_0xa369('0x0'));exports[_0xa369('0x1')]=function(){return function(){return client[_0xa369('0x2')](_0xa369('0x3'),{'options':{'raw':![],'attributes':['id',_0xa369('0x4'),'timeout',_0xa369('0x5')],'include':[{'model':_0xa369('0x6'),'as':_0xa369('0x7'),'attributes':['id',_0xa369('0x4'),_0xa369('0x8'),'openchannelPause']}]},'log':_0xa369('0x1')});};};