Built motion from commit c116dc8b.|2.6.30
[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 _0xe8ce=['GetMailQueue','name','timeout','strategy','Agents','mailPause','../client','getMailQueues'];(function(_0xd912e6,_0x1a32e2){var _0x104d65=function(_0x464fbe){while(--_0x464fbe){_0xd912e6['push'](_0xd912e6['shift']());}};_0x104d65(++_0x1a32e2);}(_0xe8ce,0xd6));var _0xee8c=function(_0x2d1793,_0x48d4ca){_0x2d1793=_0x2d1793-0x0;var _0x15d77e=_0xe8ce[_0x2d1793];return _0x15d77e;};'use strict';var client=require(_0xee8c('0x0'));exports[_0xee8c('0x1')]=function(){return function(){return client['Request'](_0xee8c('0x2'),{'options':{'raw':![],'attributes':['id',_0xee8c('0x3'),_0xee8c('0x4'),_0xee8c('0x5')],'include':[{'model':'User','as':_0xee8c('0x6'),'attributes':['id','name','online',_0xee8c('0x7')]}]},'log':_0xee8c('0x1')});};};