b75032a7679a567234e588ede3710566ffbf7c45
[motion2.git] / server / services / routing / rpc / mailQueue.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc923=['getMailQueues','Request','name','timeout','strategy','User','Agents','../client'];(function(_0x3a794d,_0x3896cb){var _0x5e46ab=function(_0x8fef14){while(--_0x8fef14){_0x3a794d['push'](_0x3a794d['shift']());}};_0x5e46ab(++_0x3896cb);}(_0xc923,0x87));var _0x3c92=function(_0x20f86e,_0x1deee0){_0x20f86e=_0x20f86e-0x0;var _0x5dec36=_0xc923[_0x20f86e];return _0x5dec36;};'use strict';var client=require(_0x3c92('0x0'));exports[_0x3c92('0x1')]=function(){return function(){return client[_0x3c92('0x2')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x3c92('0x3'),_0x3c92('0x4'),_0x3c92('0x5')],'include':[{'model':_0x3c92('0x6'),'as':_0x3c92('0x7'),'attributes':['id',_0x3c92('0x3'),'online','mailPause']}]},'log':_0x3c92('0x1')});};};