3ddaa9e247a13fd315ef4ef0f97b1daab1d29bb6
[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 _0x0054=['Request','DESC','UpdateMailQueueReport','create','CreateMailQueueReport','update'];(function(_0x4b2cc6,_0x29ef43){var _0x3e0b08=function(_0x3b4131){while(--_0x3b4131){_0x4b2cc6['push'](_0x4b2cc6['shift']());}};_0x3e0b08(++_0x29ef43);}(_0x0054,0x135));var _0x4005=function(_0x2c32a7,_0x5b6f6e){_0x2c32a7=_0x2c32a7-0x0;var _0x4216ad=_0x0054[_0x2c32a7];return _0x4216ad;};'use strict';var client=require('../client');exports[_0x4005('0x0')]=function(_0x6b3364){return client['Request']('CreateMailQueueReport',{'body':_0x6b3364,'log':_0x4005('0x1')});};exports[_0x4005('0x2')]=function(_0x30ff87,_0x19f535){return client[_0x4005('0x3')]('UpdateMailQueueReport',{'body':_0x19f535,'options':{'where':{'uniqueid':_0x30ff87},'order':[['id',_0x4005('0x4')]],'limit':0x1},'log':_0x4005('0x5')});};