Built motion from commit (unavailable).|2.5.21
[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 _0xffb9=['create','CreateMailQueueReport','update','Request','UpdateMailQueueReport','DESC','../client'];(function(_0x1e23b8,_0x4690f9){var _0x11f0f3=function(_0x4f2718){while(--_0x4f2718){_0x1e23b8['push'](_0x1e23b8['shift']());}};_0x11f0f3(++_0x4690f9);}(_0xffb9,0x1b1));var _0x9ffb=function(_0x420e97,_0xb0ef){_0x420e97=_0x420e97-0x0;var _0x49356a=_0xffb9[_0x420e97];return _0x49356a;};'use strict';var client=require(_0x9ffb('0x0'));exports[_0x9ffb('0x1')]=function(_0x57fcdd){return client['Request'](_0x9ffb('0x2'),{'body':_0x57fcdd,'log':_0x9ffb('0x2')});};exports[_0x9ffb('0x3')]=function(_0x1cdf35,_0x542f66){return client[_0x9ffb('0x4')](_0x9ffb('0x5'),{'body':_0x542f66,'options':{'where':{'uniqueid':_0x1cdf35},'order':[['id',_0x9ffb('0x6')]],'limit':0x1},'log':_0x9ffb('0x5')});};