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 _0xeb9c=['User','Agents','online','chatPause','../client','GetChatQueue','name','strategy'];(function(_0x229fa9,_0x17e14b){var _0x3b6cb3=function(_0x278090){while(--_0x278090){_0x229fa9['push'](_0x229fa9['shift']());}};_0x3b6cb3(++_0x17e14b);}(_0xeb9c,0x104));var _0xceb9=function(_0x1504bc,_0x4ea64c){_0x1504bc=_0x1504bc-0x0;var _0x23969e=_0xeb9c[_0x1504bc];return _0x23969e;};'use strict';var client=require(_0xceb9('0x0'));exports['getChatQueues']=function(){return function(){return client['Request'](_0xceb9('0x1'),{'options':{'raw':![],'attributes':['id',_0xceb9('0x2'),'timeout',_0xceb9('0x3')],'include':[{'model':_0xceb9('0x4'),'as':_0xceb9('0x5'),'attributes':['id',_0xceb9('0x2'),_0xceb9('0x6'),_0xceb9('0x7')]}]},'log':'getChatQueues'});};};