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 _0x537e=['Agents','online','mailPause','../client','getMailQueues','Request','name','strategy'];(function(_0x246cf8,_0x254192){var _0x98f540=function(_0x19d912){while(--_0x19d912){_0x246cf8['push'](_0x246cf8['shift']());}};_0x98f540(++_0x254192);}(_0x537e,0xf3));var _0xe537=function(_0x2e9c6f,_0x52f83f){_0x2e9c6f=_0x2e9c6f-0x0;var _0x535602=_0x537e[_0x2e9c6f];return _0x535602;};'use strict';var client=require(_0xe537('0x0'));exports[_0xe537('0x1')]=function(){return function(){return client[_0xe537('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0xe537('0x3'),'timeout',_0xe537('0x4')],'include':[{'model':'User','as':_0xe537('0x5'),'attributes':['id',_0xe537('0x3'),_0xe537('0x6'),_0xe537('0x7')]}]},'log':_0xe537('0x1')});};};