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 _0x18d6=['GetChatQueue','name','timeout','strategy','Agents','chatPause','../client','getChatQueues'];(function(_0x221170,_0x2f3caf){var _0x3e44e5=function(_0x105430){while(--_0x105430){_0x221170['push'](_0x221170['shift']());}};_0x3e44e5(++_0x2f3caf);}(_0x18d6,0x166));var _0x618d=function(_0x4443d2,_0x3290b0){_0x4443d2=_0x4443d2-0x0;var _0x31d0b6=_0x18d6[_0x4443d2];return _0x31d0b6;};'use strict';var client=require(_0x618d('0x0'));exports[_0x618d('0x1')]=function(){return function(){return client['Request'](_0x618d('0x2'),{'options':{'raw':![],'attributes':['id',_0x618d('0x3'),_0x618d('0x4'),_0x618d('0x5')],'include':[{'model':'User','as':_0x618d('0x6'),'attributes':['id',_0x618d('0x3'),'online',_0x618d('0x7')]}]},'log':'getChatQueues'});};};