9db894a107df2c0648b479dd23c33b889978cba0
[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 _0x5650=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client','create'];(function(_0x396e83,_0x19a7b8){var _0x520bdb=function(_0xe42cfb){while(--_0xe42cfb){_0x396e83['push'](_0x396e83['shift']());}};_0x520bdb(++_0x19a7b8);}(_0x5650,0x1d3));var _0x0565=function(_0x4c0622,_0x5dacaf){_0x4c0622=_0x4c0622-0x0;var _0x1799d8=_0x5650[_0x4c0622];return _0x1799d8;};'use strict';var client=require(_0x0565('0x0'));exports[_0x0565('0x1')]=function(_0x23fef4){return client[_0x0565('0x2')](_0x0565('0x3'),{'body':_0x23fef4,'log':_0x0565('0x3')});};exports[_0x0565('0x4')]=function(_0x4a75e2,_0x34364d){return client[_0x0565('0x2')](_0x0565('0x5'),{'body':_0x34364d,'options':{'where':{'uniqueid':_0x4a75e2},'order':[['id',_0x0565('0x6')]],'limit':0x1},'log':_0x0565('0x5')});};