Built motion from commit (unavailable).|2.5.27
[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 _0x7b33=['Request','GetMailQueue','name','timeout','strategy','Agents','../client','getMailQueues'];(function(_0x4aa851,_0x52b4cb){var _0x498729=function(_0x4a1b37){while(--_0x4a1b37){_0x4aa851['push'](_0x4aa851['shift']());}};_0x498729(++_0x52b4cb);}(_0x7b33,0x1a6));var _0x37b3=function(_0x3fcdbc,_0x50b298){_0x3fcdbc=_0x3fcdbc-0x0;var _0x17bace=_0x7b33[_0x3fcdbc];return _0x17bace;};'use strict';var client=require(_0x37b3('0x0'));exports[_0x37b3('0x1')]=function(){return function(){return client[_0x37b3('0x2')](_0x37b3('0x3'),{'options':{'raw':![],'attributes':['id',_0x37b3('0x4'),_0x37b3('0x5'),_0x37b3('0x6')],'include':[{'model':'User','as':_0x37b3('0x7'),'attributes':['id',_0x37b3('0x4'),'online','mailPause']}]},'log':_0x37b3('0x1')});};};