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 _0xbc82=['User','online','../client','name'];(function(_0x578c66,_0x3e090f){var _0x586aa2=function(_0x33291a){while(--_0x33291a){_0x578c66['push'](_0x578c66['shift']());}};_0x586aa2(++_0x3e090f);}(_0xbc82,0x13e));var _0x2bc8=function(_0x51a226,_0x400e84){_0x51a226=_0x51a226-0x0;var _0x4671f2=_0xbc82[_0x51a226];return _0x4671f2;};'use strict';var client=require(_0x2bc8('0x0'));exports['getChatQueues']=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x2bc8('0x1'),'timeout','strategy'],'include':[{'model':_0x2bc8('0x2'),'as':'Agents','attributes':['id','name',_0x2bc8('0x3'),'chatPause']}]},'log':'getChatQueues'});};};