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 _0x8375=['name','timeout','strategy','User','Agents','chatPause','../client','getChatQueues','Request'];(function(_0x1a36a5,_0x746928){var _0x746243=function(_0x481966){while(--_0x481966){_0x1a36a5['push'](_0x1a36a5['shift']());}};_0x746243(++_0x746928);}(_0x8375,0xa8));var _0x5837=function(_0x365fc7,_0x59a6f6){_0x365fc7=_0x365fc7-0x0;var _0x39c8d9=_0x8375[_0x365fc7];return _0x39c8d9;};'use strict';var client=require(_0x5837('0x0'));exports[_0x5837('0x1')]=function(){return function(){return client[_0x5837('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x5837('0x3'),_0x5837('0x4'),_0x5837('0x5')],'include':[{'model':_0x5837('0x6'),'as':_0x5837('0x7'),'attributes':['id',_0x5837('0x3'),'online',_0x5837('0x8')]}]},'log':_0x5837('0x1')});};};