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 _0xecbd=['../client','name','User','Agents','online','chatPause','getChatQueues'];(function(_0x139c24,_0x562ba1){var _0xed1b28=function(_0x3d0f24){while(--_0x3d0f24){_0x139c24['push'](_0x139c24['shift']());}};_0xed1b28(++_0x562ba1);}(_0xecbd,0x1f1));var _0xdecb=function(_0x140c9a,_0x385656){_0x140c9a=_0x140c9a-0x0;var _0x254ff6=_0xecbd[_0x140c9a];return _0x254ff6;};'use strict';var client=require(_0xdecb('0x0'));exports['getChatQueues']=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xdecb('0x1'),'timeout','strategy'],'include':[{'model':_0xdecb('0x2'),'as':_0xdecb('0x3'),'attributes':['id',_0xdecb('0x1'),_0xdecb('0x4'),_0xdecb('0x5')]}]},'log':_0xdecb('0x6')});};};