99984747840e08674eec196b3e339cf5dc2aa6e6
[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 _0x7cc1=['DESC','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x3c2b69,_0x44137e){var _0xc33fae=function(_0x3d7cb8){while(--_0x3d7cb8){_0x3c2b69['push'](_0x3c2b69['shift']());}};_0xc33fae(++_0x44137e);}(_0x7cc1,0x146));var _0x17cc=function(_0x3c21dd,_0x563ee1){_0x3c21dd=_0x3c21dd-0x0;var _0x659d03=_0x7cc1[_0x3c21dd];return _0x659d03;};'use strict';var client=require('../client');exports['create']=function(_0x5de221){return client[_0x17cc('0x0')](_0x17cc('0x1'),{'body':_0x5de221,'log':_0x17cc('0x1')});};exports[_0x17cc('0x2')]=function(_0x4c5992,_0x41bb8d){return client['Request'](_0x17cc('0x3'),{'body':_0x41bb8d,'options':{'where':{'uniqueid':_0x4c5992},'order':[['id',_0x17cc('0x4')]],'limit':0x1},'log':_0x17cc('0x3')});};