a7d2f37aa0f3dacc0bdc6dd5f1ca09c59e6753a4
[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 _0xb32f=['update','UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport'];(function(_0x1a3cc7,_0x2900e3){var _0x338438=function(_0x5a4872){while(--_0x5a4872){_0x1a3cc7['push'](_0x1a3cc7['shift']());}};_0x338438(++_0x2900e3);}(_0xb32f,0xea));var _0xfb32=function(_0x27e6fb,_0x5012dc){_0x27e6fb=_0x27e6fb-0x0;var _0x5be6f5=_0xb32f[_0x27e6fb];return _0x5be6f5;};'use strict';var client=require(_0xfb32('0x0'));exports[_0xfb32('0x1')]=function(_0x1cdf00){return client[_0xfb32('0x2')](_0xfb32('0x3'),{'body':_0x1cdf00,'log':'CreateMailQueueReport'});};exports[_0xfb32('0x4')]=function(_0x5ce4c7,_0x524391){return client[_0xfb32('0x2')](_0xfb32('0x5'),{'body':_0x524391,'options':{'where':{'uniqueid':_0x5ce4c7},'order':[['id',_0xfb32('0x6')]],'limit':0x1},'log':_0xfb32('0x5')});};