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 _0xa27d=['getOpenchannelQueues','Request','name','timeout','strategy','User','openchannelPause','../client'];(function(_0x525d93,_0x527657){var _0x141d07=function(_0x2b8719){while(--_0x2b8719){_0x525d93['push'](_0x525d93['shift']());}};_0x141d07(++_0x527657);}(_0xa27d,0x107));var _0xda27=function(_0x496d3c,_0x3eab1e){_0x496d3c=_0x496d3c-0x0;var _0x3700b8=_0xa27d[_0x496d3c];return _0x3700b8;};'use strict';var client=require(_0xda27('0x0'));exports[_0xda27('0x1')]=function(){return function(){return client[_0xda27('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xda27('0x3'),_0xda27('0x4'),_0xda27('0x5')],'include':[{'model':_0xda27('0x6'),'as':'Agents','attributes':['id',_0xda27('0x3'),'online',_0xda27('0x7')]}]},'log':'getOpenchannelQueues'});};};