Built motion from commit da24aabd.|2.6.20
[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 _0xe22d=['UpdateMailQueueReport','../client','create','CreateMailQueueReport','update','Request'];(function(_0x3e85a4,_0x18c3a9){var _0x21e7d1=function(_0x48457d){while(--_0x48457d){_0x3e85a4['push'](_0x3e85a4['shift']());}};_0x21e7d1(++_0x18c3a9);}(_0xe22d,0x16f));var _0xde22=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xe22d[_0x19e35c];return _0x3e1fe8;};'use strict';var client=require(_0xde22('0x0'));exports[_0xde22('0x1')]=function(_0x279fe3){return client['Request'](_0xde22('0x2'),{'body':_0x279fe3,'log':_0xde22('0x2')});};exports[_0xde22('0x3')]=function(_0x4d3524,_0x11b5f6){return client[_0xde22('0x4')](_0xde22('0x5'),{'body':_0x11b5f6,'options':{'where':{'uniqueid':_0x4d3524},'order':[['id','DESC']],'limit':0x1},'log':_0xde22('0x5')});};