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 _0x8f60=['timeout','strategy','User','name','online','chatPause','../client','getChatQueues','Request','GetChatQueue'];(function(_0x41b683,_0x80a3a0){var _0x599f8c=function(_0x504c33){while(--_0x504c33){_0x41b683['push'](_0x41b683['shift']());}};_0x599f8c(++_0x80a3a0);}(_0x8f60,0x146));var _0x08f6=function(_0x3de4f8,_0x336c7d){_0x3de4f8=_0x3de4f8-0x0;var _0x3d81fc=_0x8f60[_0x3de4f8];return _0x3d81fc;};'use strict';var client=require(_0x08f6('0x0'));exports[_0x08f6('0x1')]=function(){return function(){return client[_0x08f6('0x2')](_0x08f6('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x08f6('0x4'),_0x08f6('0x5')],'include':[{'model':_0x08f6('0x6'),'as':'Agents','attributes':['id',_0x08f6('0x7'),_0x08f6('0x8'),_0x08f6('0x9')]}]},'log':_0x08f6('0x1')});};};