Built motion from commit (unavailable).|2.5.6
[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 _0x87f7=['Agents','online','mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy'];(function(_0x47e9b0,_0x48b0c3){var _0x36bf22=function(_0x11f040){while(--_0x11f040){_0x47e9b0['push'](_0x47e9b0['shift']());}};_0x36bf22(++_0x48b0c3);}(_0x87f7,0xa3));var _0x787f=function(_0x10daee,_0x5ddce5){_0x10daee=_0x10daee-0x0;var _0x4784a5=_0x87f7[_0x10daee];return _0x4784a5;};'use strict';var client=require(_0x787f('0x0'));exports[_0x787f('0x1')]=function(){return function(){return client[_0x787f('0x2')](_0x787f('0x3'),{'options':{'raw':![],'attributes':['id',_0x787f('0x4'),_0x787f('0x5'),_0x787f('0x6')],'include':[{'model':'User','as':_0x787f('0x7'),'attributes':['id','name',_0x787f('0x8'),_0x787f('0x9')]}]},'log':_0x787f('0x1')});};};