Built motion from commit (unavailable).|2.5.11
[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 _0x678d=['CreateMailQueueReport','Request','UpdateMailQueueReport','../client','create'];(function(_0x310280,_0x2a5d1b){var _0x4297d4=function(_0x5ae379){while(--_0x5ae379){_0x310280['push'](_0x310280['shift']());}};_0x4297d4(++_0x2a5d1b);}(_0x678d,0x1cf));var _0xd678=function(_0x1852a0,_0x578ef8){_0x1852a0=_0x1852a0-0x0;var _0x640c23=_0x678d[_0x1852a0];return _0x640c23;};'use strict';var client=require(_0xd678('0x0'));exports[_0xd678('0x1')]=function(_0x4d9fac){return client['Request'](_0xd678('0x2'),{'body':_0x4d9fac,'log':_0xd678('0x2')});};exports['update']=function(_0x46615f,_0x29220e){return client[_0xd678('0x3')]('UpdateMailQueueReport',{'body':_0x29220e,'options':{'where':{'uniqueid':_0x46615f},'order':[['id','DESC']],'limit':0x1},'log':_0xd678('0x4')});};