Built motion from commit (unavailable).|2.5.5
[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 _0xb9b6=['update','Request','UpdateMailQueueReport','DESC','../client','CreateMailQueueReport'];(function(_0x59400c,_0x364897){var _0x51508d=function(_0x1f7682){while(--_0x1f7682){_0x59400c['push'](_0x59400c['shift']());}};_0x51508d(++_0x364897);}(_0xb9b6,0x142));var _0x6b9b=function(_0x516ffb,_0x5b5b42){_0x516ffb=_0x516ffb-0x0;var _0x319667=_0xb9b6[_0x516ffb];return _0x319667;};'use strict';var client=require(_0x6b9b('0x0'));exports['create']=function(_0x339b7a){return client['Request'](_0x6b9b('0x1'),{'body':_0x339b7a,'log':_0x6b9b('0x1')});};exports[_0x6b9b('0x2')]=function(_0x55a6f9,_0x40d910){return client[_0x6b9b('0x3')](_0x6b9b('0x4'),{'body':_0x40d910,'options':{'where':{'uniqueid':_0x55a6f9},'order':[['id',_0x6b9b('0x5')]],'limit':0x1},'log':_0x6b9b('0x4')});};