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 _0xdca1=['mailPause','../client','getMailQueues','Request','strategy','Agents','name','online'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xdca1,0x171));var _0x1dca=function(_0x470cc7,_0x69ade2){_0x470cc7=_0x470cc7-0x0;var _0x589ebd=_0xdca1[_0x470cc7];return _0x589ebd;};'use strict';var client=require(_0x1dca('0x0'));exports[_0x1dca('0x1')]=function(){return function(){return client[_0x1dca('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x1dca('0x3')],'include':[{'model':'User','as':_0x1dca('0x4'),'attributes':['id',_0x1dca('0x5'),_0x1dca('0x6'),_0x1dca('0x7')]}]},'log':_0x1dca('0x1')});};};