Built motion from commit d9028345.|2.5.43
[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 _0x1955=['Request','GetMailQueue','name','timeout','User','online','mailPause','../client','getMailQueues'];(function(_0x2dc1bc,_0x292e62){var _0x190ee4=function(_0x1fa1b3){while(--_0x1fa1b3){_0x2dc1bc['push'](_0x2dc1bc['shift']());}};_0x190ee4(++_0x292e62);}(_0x1955,0x7c));var _0x5195=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x1955[_0x321bb2];return _0x9c12ed;};'use strict';var client=require(_0x5195('0x0'));exports[_0x5195('0x1')]=function(){return function(){return client[_0x5195('0x2')](_0x5195('0x3'),{'options':{'raw':![],'attributes':['id',_0x5195('0x4'),_0x5195('0x5'),'strategy'],'include':[{'model':_0x5195('0x6'),'as':'Agents','attributes':['id',_0x5195('0x4'),_0x5195('0x7'),_0x5195('0x8')]}]},'log':'getMailQueues'});};};