d9e5e7778f30ae0fab0a9f63f4b2ed2d7f43a831
[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 _0x6ea7=['DESC','../client','create','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x559a25,_0x181e7d){var _0x4fb485=function(_0xa5546f){while(--_0xa5546f){_0x559a25['push'](_0x559a25['shift']());}};_0x4fb485(++_0x181e7d);}(_0x6ea7,0x135));var _0x76ea=function(_0x243b59,_0x3f9495){_0x243b59=_0x243b59-0x0;var _0x3e1676=_0x6ea7[_0x243b59];return _0x3e1676;};'use strict';var client=require(_0x76ea('0x0'));exports[_0x76ea('0x1')]=function(_0x2fdf66){return client[_0x76ea('0x2')](_0x76ea('0x3'),{'body':_0x2fdf66,'log':_0x76ea('0x3')});};exports[_0x76ea('0x4')]=function(_0x1c8d35,_0x2fd489){return client[_0x76ea('0x2')](_0x76ea('0x5'),{'body':_0x2fd489,'options':{'where':{'uniqueid':_0x1c8d35},'order':[['id',_0x76ea('0x6')]],'limit':0x1},'log':_0x76ea('0x5')});};