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 _0x9205=['online','mailPause','../client','getMailQueues','Request','name','timeout','User','Agents'];(function(_0x51274b,_0x16ad70){var _0x35d090=function(_0x2ea391){while(--_0x2ea391){_0x51274b['push'](_0x51274b['shift']());}};_0x35d090(++_0x16ad70);}(_0x9205,0x1df));var _0x5920=function(_0x2c698f,_0x5d018c){_0x2c698f=_0x2c698f-0x0;var _0x414a4a=_0x9205[_0x2c698f];return _0x414a4a;};'use strict';var client=require(_0x5920('0x0'));exports[_0x5920('0x1')]=function(){return function(){return client[_0x5920('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x5920('0x3'),_0x5920('0x4'),'strategy'],'include':[{'model':_0x5920('0x5'),'as':_0x5920('0x6'),'attributes':['id',_0x5920('0x3'),_0x5920('0x7'),_0x5920('0x8')]}]},'log':_0x5920('0x1')});};};