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 _0x801b=['Agents','online','chatPause','../client','getChatQueues','Request','name','timeout','strategy'];(function(_0x1f3d82,_0x143810){var _0x77fd97=function(_0x3e65ef){while(--_0x3e65ef){_0x1f3d82['push'](_0x1f3d82['shift']());}};_0x77fd97(++_0x143810);}(_0x801b,0x108));var _0xb801=function(_0x7fc5e1,_0x1bbb73){_0x7fc5e1=_0x7fc5e1-0x0;var _0x2a2460=_0x801b[_0x7fc5e1];return _0x2a2460;};'use strict';var client=require(_0xb801('0x0'));exports[_0xb801('0x1')]=function(){return function(){return client[_0xb801('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xb801('0x3'),_0xb801('0x4'),_0xb801('0x5')],'include':[{'model':'User','as':_0xb801('0x6'),'attributes':['id',_0xb801('0x3'),_0xb801('0x7'),_0xb801('0x8')]}]},'log':_0xb801('0x1')});};};