Built motion from commit f7863d46.|2.5.41
[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 _0x5151=['Request','UpdateMailQueueReport','../client','create','CreateMailQueueReport'];(function(_0x24149,_0x5479a0){var _0x380d37=function(_0x3aa545){while(--_0x3aa545){_0x24149['push'](_0x24149['shift']());}};_0x380d37(++_0x5479a0);}(_0x5151,0x115));var _0x1515=function(_0x416f90,_0xcceaa4){_0x416f90=_0x416f90-0x0;var _0x5f42b8=_0x5151[_0x416f90];return _0x5f42b8;};'use strict';var client=require(_0x1515('0x0'));exports[_0x1515('0x1')]=function(_0x2ffe3a){return client['Request'](_0x1515('0x2'),{'body':_0x2ffe3a,'log':_0x1515('0x2')});};exports['update']=function(_0x3fd953,_0x3b9e7b){return client[_0x1515('0x3')](_0x1515('0x4'),{'body':_0x3b9e7b,'options':{'where':{'uniqueid':_0x3fd953},'order':[['id','DESC']],'limit':0x1},'log':_0x1515('0x4')});};