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 _0x2970=['online','mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy','Agents'];(function(_0xea35d1,_0x302471){var _0x1d7a7c=function(_0x1bc101){while(--_0x1bc101){_0xea35d1['push'](_0xea35d1['shift']());}};_0x1d7a7c(++_0x302471);}(_0x2970,0x124));var _0x0297=function(_0x572618,_0x287468){_0x572618=_0x572618-0x0;var _0x113a44=_0x2970[_0x572618];return _0x113a44;};'use strict';var client=require(_0x0297('0x0'));exports[_0x0297('0x1')]=function(){return function(){return client[_0x0297('0x2')](_0x0297('0x3'),{'options':{'raw':![],'attributes':['id',_0x0297('0x4'),_0x0297('0x5'),_0x0297('0x6')],'include':[{'model':'User','as':_0x0297('0x7'),'attributes':['id',_0x0297('0x4'),_0x0297('0x8'),_0x0297('0x9')]}]},'log':_0x0297('0x1')});};};