Built motion from commit da617fac.|2.6.6
[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 _0x93bf=['create','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x28dcc1,_0x190587){var _0x24c170=function(_0xe1da0d){while(--_0xe1da0d){_0x28dcc1['push'](_0x28dcc1['shift']());}};_0x24c170(++_0x190587);}(_0x93bf,0xac));var _0xf93b=function(_0xdd0391,_0x10fe74){_0xdd0391=_0xdd0391-0x0;var _0x45e9a3=_0x93bf[_0xdd0391];return _0x45e9a3;};'use strict';var client=require('../client');exports[_0xf93b('0x0')]=function(_0x2289ce){return client['Request'](_0xf93b('0x1'),{'body':_0x2289ce,'log':'CreateMailQueueReport'});};exports[_0xf93b('0x2')]=function(_0x1c7b4d,_0x340541){return client['Request'](_0xf93b('0x3'),{'body':_0x340541,'options':{'where':{'uniqueid':_0x1c7b4d},'order':[['id','DESC']],'limit':0x1},'log':'UpdateMailQueueReport'});};