Built motion from commit (unavailable).|2.5.22
[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 _0x4205=['../client','create','Request','CreateMailQueueReport','update','UpdateMailQueueReport','DESC'];(function(_0x17b66d,_0x45c739){var _0x1a3f0e=function(_0x14f893){while(--_0x14f893){_0x17b66d['push'](_0x17b66d['shift']());}};_0x1a3f0e(++_0x45c739);}(_0x4205,0x93));var _0x5420=function(_0x5e8a40,_0x2e7ad7){_0x5e8a40=_0x5e8a40-0x0;var _0x367404=_0x4205[_0x5e8a40];return _0x367404;};'use strict';var client=require(_0x5420('0x0'));exports[_0x5420('0x1')]=function(_0x215912){return client[_0x5420('0x2')](_0x5420('0x3'),{'body':_0x215912,'log':_0x5420('0x3')});};exports[_0x5420('0x4')]=function(_0x4f4f58,_0x1b23d1){return client[_0x5420('0x2')](_0x5420('0x5'),{'body':_0x1b23d1,'options':{'where':{'uniqueid':_0x4f4f58},'order':[['id',_0x5420('0x6')]],'limit':0x1},'log':'UpdateMailQueueReport'});};