1185165e8dbdd1e300719012225986e7875b5b89
[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 _0x5571=['GetMailQueue','name','strategy','User','Agents','online','mailPause','getMailQueues'];(function(_0x4f9ae8,_0x4d69fe){var _0x53cce6=function(_0x519a61){while(--_0x519a61){_0x4f9ae8['push'](_0x4f9ae8['shift']());}};_0x53cce6(++_0x4d69fe);}(_0x5571,0x77));var _0x1557=function(_0x4b7b69,_0x3ab075){_0x4b7b69=_0x4b7b69-0x0;var _0x173b4c=_0x5571[_0x4b7b69];return _0x173b4c;};'use strict';var client=require('../client');exports[_0x1557('0x0')]=function(){return function(){return client['Request'](_0x1557('0x1'),{'options':{'raw':![],'attributes':['id',_0x1557('0x2'),'timeout',_0x1557('0x3')],'include':[{'model':_0x1557('0x4'),'as':_0x1557('0x5'),'attributes':['id',_0x1557('0x2'),_0x1557('0x6'),_0x1557('0x7')]}]},'log':_0x1557('0x0')});};};