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 _0xbf04=['strategy','User','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout'];(function(_0x32e7ec,_0x3cc7ab){var _0x3ce874=function(_0x12ed3d){while(--_0x12ed3d){_0x32e7ec['push'](_0x32e7ec['shift']());}};_0x3ce874(++_0x3cc7ab);}(_0xbf04,0x18a));var _0x4bf0=function(_0x5e3342,_0x5ceda0){_0x5e3342=_0x5e3342-0x0;var _0x572836=_0xbf04[_0x5e3342];return _0x572836;};'use strict';var client=require(_0x4bf0('0x0'));exports[_0x4bf0('0x1')]=function(){return function(){return client[_0x4bf0('0x2')](_0x4bf0('0x3'),{'options':{'raw':![],'attributes':['id',_0x4bf0('0x4'),_0x4bf0('0x5'),_0x4bf0('0x6')],'include':[{'model':_0x4bf0('0x7'),'as':'Agents','attributes':['id',_0x4bf0('0x4'),_0x4bf0('0x8'),_0x4bf0('0x9')]}]},'log':_0x4bf0('0x1')});};};