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 _0x1372=['online','chatPause','../client','GetChatQueue','name','timeout','strategy','User'];(function(_0x430e6e,_0x180916){var _0x5de0ef=function(_0xd90bb5){while(--_0xd90bb5){_0x430e6e['push'](_0x430e6e['shift']());}};_0x5de0ef(++_0x180916);}(_0x1372,0x11a));var _0x2137=function(_0x57d33a,_0xbe9aa1){_0x57d33a=_0x57d33a-0x0;var _0x4c8c73=_0x1372[_0x57d33a];return _0x4c8c73;};'use strict';var client=require(_0x2137('0x0'));exports['getChatQueues']=function(){return function(){return client['Request'](_0x2137('0x1'),{'options':{'raw':![],'attributes':['id',_0x2137('0x2'),_0x2137('0x3'),_0x2137('0x4')],'include':[{'model':_0x2137('0x5'),'as':'Agents','attributes':['id',_0x2137('0x2'),_0x2137('0x6'),_0x2137('0x7')]}]},'log':'getChatQueues'});};};