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 _0xceae=['name','online','chatPause','../client','getChatQueues','timeout','Agents'];(function(_0x7d5365,_0x4f2ff1){var _0x49687d=function(_0x386da0){while(--_0x386da0){_0x7d5365['push'](_0x7d5365['shift']());}};_0x49687d(++_0x4f2ff1);}(_0xceae,0x122));var _0xecea=function(_0x30b145,_0x5b1406){_0x30b145=_0x30b145-0x0;var _0x5acce4=_0xceae[_0x30b145];return _0x5acce4;};'use strict';var client=require(_0xecea('0x0'));exports[_0xecea('0x1')]=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0xecea('0x2'),'strategy'],'include':[{'model':'User','as':_0xecea('0x3'),'attributes':['id',_0xecea('0x4'),_0xecea('0x5'),_0xecea('0x6')]}]},'log':_0xecea('0x1')});};};