00df7f898a05efacb3dface00093278ce92a7e10
[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 _0xcd9b=['CreateMailQueueReport','UpdateMailQueueReport','../client','create','Request'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xcd9b,0x188));var _0xbcd9=function(_0x48fc11,_0x535bc8){_0x48fc11=_0x48fc11-0x0;var _0x3179b0=_0xcd9b[_0x48fc11];return _0x3179b0;};'use strict';var client=require(_0xbcd9('0x0'));exports[_0xbcd9('0x1')]=function(_0x4218fa){return client[_0xbcd9('0x2')]('CreateMailQueueReport',{'body':_0x4218fa,'log':_0xbcd9('0x3')});};exports['update']=function(_0x280e3d,_0x563b0e){return client[_0xbcd9('0x2')](_0xbcd9('0x4'),{'body':_0x563b0e,'options':{'where':{'uniqueid':_0x280e3d},'order':[['id','DESC']],'limit':0x1},'log':_0xbcd9('0x4')});};