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 _0x50a6=['User','Agents','online','../client','getChatQueues','name','strategy'];(function(_0x13b820,_0x1f5f77){var _0x27b744=function(_0x2c01eb){while(--_0x2c01eb){_0x13b820['push'](_0x13b820['shift']());}};_0x27b744(++_0x1f5f77);}(_0x50a6,0xa4));var _0x650a=function(_0x13f980,_0x1e1c56){_0x13f980=_0x13f980-0x0;var _0x27153c=_0x50a6[_0x13f980];return _0x27153c;};'use strict';var client=require(_0x650a('0x0'));exports[_0x650a('0x1')]=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x650a('0x2'),'timeout',_0x650a('0x3')],'include':[{'model':_0x650a('0x4'),'as':_0x650a('0x5'),'attributes':['id','name',_0x650a('0x6'),'chatPause']}]},'log':'getChatQueues'});};};