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 _0x3a05=['../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','openchannelPause'];(function(_0x33ed66,_0x24903a){var _0x3f3a=function(_0x4c885d){while(--_0x4c885d){_0x33ed66['push'](_0x33ed66['shift']());}};_0x3f3a(++_0x24903a);}(_0x3a05,0x118));var _0x53a0=function(_0x2ecd0c,_0xf8d744){_0x2ecd0c=_0x2ecd0c-0x0;var _0x1d7094=_0x3a05[_0x2ecd0c];return _0x1d7094;};'use strict';var client=require(_0x53a0('0x0'));exports[_0x53a0('0x1')]=function(){return function(){return client[_0x53a0('0x2')](_0x53a0('0x3'),{'options':{'raw':![],'attributes':['id',_0x53a0('0x4'),_0x53a0('0x5'),_0x53a0('0x6')],'include':[{'model':'User','as':'Agents','attributes':['id','name','online',_0x53a0('0x7')]}]},'log':_0x53a0('0x1')});};};