359df922ba56ef579afacb48b43612b4b39eee4e
[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 _0xc42a=['Request','update','UpdateMailQueueReport','create'];(function(_0x57b677,_0x3d7746){var _0x1c2be6=function(_0x34f081){while(--_0x34f081){_0x57b677['push'](_0x57b677['shift']());}};_0x1c2be6(++_0x3d7746);}(_0xc42a,0x1cf));var _0xac42=function(_0x2d865e,_0x1f0e3e){_0x2d865e=_0x2d865e-0x0;var _0x48f8f5=_0xc42a[_0x2d865e];return _0x48f8f5;};'use strict';var client=require('../client');exports[_0xac42('0x0')]=function(_0x235236){return client[_0xac42('0x1')]('CreateMailQueueReport',{'body':_0x235236,'log':'CreateMailQueueReport'});};exports[_0xac42('0x2')]=function(_0x5ca7ee,_0x311cbc){return client[_0xac42('0x1')](_0xac42('0x3'),{'body':_0x311cbc,'options':{'where':{'uniqueid':_0x5ca7ee},'order':[['id','DESC']],'limit':0x1},'log':_0xac42('0x3')});};