94e1c1f8be2ce29ac3a798444117ec611c5d334b
[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 _0x210e=['Request','update','DESC','UpdateMailQueueReport','create'];(function(_0x404ed5,_0x259d1e){var _0x58d236=function(_0x7a1c66){while(--_0x7a1c66){_0x404ed5['push'](_0x404ed5['shift']());}};_0x58d236(++_0x259d1e);}(_0x210e,0xc7));var _0xe210=function(_0x541a6c,_0x2e4bf9){_0x541a6c=_0x541a6c-0x0;var _0x3d559d=_0x210e[_0x541a6c];return _0x3d559d;};'use strict';var client=require('../client');exports[_0xe210('0x0')]=function(_0x52d37b){return client[_0xe210('0x1')]('CreateMailQueueReport',{'body':_0x52d37b,'log':'CreateMailQueueReport'});};exports[_0xe210('0x2')]=function(_0x542731,_0x2b5bb6){return client['Request']('UpdateMailQueueReport',{'body':_0x2b5bb6,'options':{'where':{'uniqueid':_0x542731},'order':[['id',_0xe210('0x3')]],'limit':0x1},'log':_0xe210('0x4')});};