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 _0x378e=['Agents','name','online','getChatQueues','../client','Request','timeout','strategy','User'];(function(_0x35e7f5,_0x505458){var _0x21327e=function(_0x24ee98){while(--_0x24ee98){_0x35e7f5['push'](_0x35e7f5['shift']());}};_0x21327e(++_0x505458);}(_0x378e,0x163));var _0xe378=function(_0x524bb0,_0x326327){_0x524bb0=_0x524bb0-0x0;var _0x2fb947=_0x378e[_0x524bb0];return _0x2fb947;};'use strict';var client=require(_0xe378('0x0'));exports['getChatQueues']=function(){return function(){return client[_0xe378('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0xe378('0x2'),_0xe378('0x3')],'include':[{'model':_0xe378('0x4'),'as':_0xe378('0x5'),'attributes':['id',_0xe378('0x6'),_0xe378('0x7'),'chatPause']}]},'log':_0xe378('0x8')});};};