Built motion from commit b5996064.|2.6.21
[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 _0x110f=['CreateMailQueueReport','UpdateMailQueueReport','DESC','../client','create'];(function(_0x1cd0d7,_0x66ffc4){var _0x41c781=function(_0x1eb0ff){while(--_0x1eb0ff){_0x1cd0d7['push'](_0x1cd0d7['shift']());}};_0x41c781(++_0x66ffc4);}(_0x110f,0xb7));var _0xf110=function(_0x4f59b7,_0x4fd49e){_0x4f59b7=_0x4f59b7-0x0;var _0x4aedc2=_0x110f[_0x4f59b7];return _0x4aedc2;};'use strict';var client=require(_0xf110('0x0'));exports[_0xf110('0x1')]=function(_0x22223a){return client['Request'](_0xf110('0x2'),{'body':_0x22223a,'log':_0xf110('0x2')});};exports['update']=function(_0x450d4c,_0x5ab1cf){return client['Request'](_0xf110('0x3'),{'body':_0x5ab1cf,'options':{'where':{'uniqueid':_0x450d4c},'order':[['id',_0xf110('0x4')]],'limit':0x1},'log':'UpdateMailQueueReport'});};