10b79d002014c7dbefc309fc986f9927d8eaaa49
[motion2.git] / server / services / routing / rpc / mailQueueReport.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 _0x2df6=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client','create'];(function(_0x59b8b2,_0x5c47de){var _0x4d7026=function(_0x3f0acf){while(--_0x3f0acf){_0x59b8b2['push'](_0x59b8b2['shift']());}};_0x4d7026(++_0x5c47de);}(_0x2df6,0xe5));var _0x62df=function(_0x3fc68e,_0x55afff){_0x3fc68e=_0x3fc68e-0x0;var _0x4f5dd5=_0x2df6[_0x3fc68e];return _0x4f5dd5;};'use strict';var client=require(_0x62df('0x0'));exports[_0x62df('0x1')]=function(_0x2221b7){return client[_0x62df('0x2')](_0x62df('0x3'),{'body':_0x2221b7,'log':_0x62df('0x3')});};exports[_0x62df('0x4')]=function(_0x12da70,_0x4cd040){return client['Request'](_0x62df('0x5'),{'body':_0x4cd040,'options':{'where':{'uniqueid':_0x12da70},'order':[['id',_0x62df('0x6')]],'limit':0x1},'log':_0x62df('0x5')});};