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 _0xf41c=['Agents','online','mailPause','getMailQueues','Request','GetMailQueue','timeout','strategy','User'];(function(_0x26f3e2,_0x3fb0bb){var _0x27f693=function(_0x15469b){while(--_0x15469b){_0x26f3e2['push'](_0x26f3e2['shift']());}};_0x27f693(++_0x3fb0bb);}(_0xf41c,0x1ce));var _0xcf41=function(_0x5d1c70,_0x8059b4){_0x5d1c70=_0x5d1c70-0x0;var _0x196498=_0xf41c[_0x5d1c70];return _0x196498;};'use strict';var client=require('../client');exports[_0xcf41('0x0')]=function(){return function(){return client[_0xcf41('0x1')](_0xcf41('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xcf41('0x3'),_0xcf41('0x4')],'include':[{'model':_0xcf41('0x5'),'as':_0xcf41('0x6'),'attributes':['id','name',_0xcf41('0x7'),_0xcf41('0x8')]}]},'log':_0xcf41('0x0')});};};