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 _0xc9f9=['getChatQueues','Request','name','strategy','Agents','chatPause','../client'];(function(_0x35757f,_0x3d57ee){var _0x2eadca=function(_0xca159d){while(--_0xca159d){_0x35757f['push'](_0x35757f['shift']());}};_0x2eadca(++_0x3d57ee);}(_0xc9f9,0xae));var _0x9c9f=function(_0x3ef6d7,_0x43628b){_0x3ef6d7=_0x3ef6d7-0x0;var _0x1974cd=_0xc9f9[_0x3ef6d7];return _0x1974cd;};'use strict';var client=require(_0x9c9f('0x0'));exports[_0x9c9f('0x1')]=function(){return function(){return client[_0x9c9f('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x9c9f('0x3'),'timeout',_0x9c9f('0x4')],'include':[{'model':'User','as':_0x9c9f('0x5'),'attributes':['id','name','online',_0x9c9f('0x6')]}]},'log':_0x9c9f('0x1')});};};