Built motion from commit e6806ed6.|2.6.0
[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 _0x8871=['getMailQueues','Request','GetMailQueue','name','timeout','strategy','Agents','online','mailPause'];(function(_0x512ded,_0x1fb07d){var _0x3a1c2d=function(_0x3730a8){while(--_0x3730a8){_0x512ded['push'](_0x512ded['shift']());}};_0x3a1c2d(++_0x1fb07d);}(_0x8871,0x129));var _0x1887=function(_0x1e6ca5,_0xfb9d62){_0x1e6ca5=_0x1e6ca5-0x0;var _0xf1e27=_0x8871[_0x1e6ca5];return _0xf1e27;};'use strict';var client=require('../client');exports[_0x1887('0x0')]=function(){return function(){return client[_0x1887('0x1')](_0x1887('0x2'),{'options':{'raw':![],'attributes':['id',_0x1887('0x3'),_0x1887('0x4'),_0x1887('0x5')],'include':[{'model':'User','as':_0x1887('0x6'),'attributes':['id','name',_0x1887('0x7'),_0x1887('0x8')]}]},'log':_0x1887('0x0')});};};