Built motion from commit (unavailable).|2.5.14
[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 _0x2e43=['../client','create','CreateMailQueueReport','update','Request'];(function(_0x5af657,_0x255947){var _0x53eef1=function(_0x4c7faa){while(--_0x4c7faa){_0x5af657['push'](_0x5af657['shift']());}};_0x53eef1(++_0x255947);}(_0x2e43,0xc3));var _0x32e4=function(_0x325e52,_0x139544){_0x325e52=_0x325e52-0x0;var _0x161cd1=_0x2e43[_0x325e52];return _0x161cd1;};'use strict';var client=require(_0x32e4('0x0'));exports[_0x32e4('0x1')]=function(_0x8c9132){return client['Request'](_0x32e4('0x2'),{'body':_0x8c9132,'log':_0x32e4('0x2')});};exports[_0x32e4('0x3')]=function(_0x21cf80,_0x576dbc){return client[_0x32e4('0x4')]('UpdateMailQueueReport',{'body':_0x576dbc,'options':{'where':{'uniqueid':_0x21cf80},'order':[['id','DESC']],'limit':0x1},'log':'UpdateMailQueueReport'});};