ab7309be427c0001949e50f0f9937a2a5204501d
[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 _0x948f=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','create'];(function(_0x312193,_0x33da31){var _0x1b5736=function(_0x34fb0a){while(--_0x34fb0a){_0x312193['push'](_0x312193['shift']());}};_0x1b5736(++_0x33da31);}(_0x948f,0x126));var _0xf948=function(_0x4fa291,_0x56e289){_0x4fa291=_0x4fa291-0x0;var _0x506d9b=_0x948f[_0x4fa291];return _0x506d9b;};'use strict';var client=require('../client');exports[_0xf948('0x0')]=function(_0x4b6f4b){return client[_0xf948('0x1')](_0xf948('0x2'),{'body':_0x4b6f4b,'log':_0xf948('0x2')});};exports[_0xf948('0x3')]=function(_0x4c9f39,_0x488682){return client[_0xf948('0x1')](_0xf948('0x4'),{'body':_0x488682,'options':{'where':{'uniqueid':_0x4c9f39},'order':[['id','DESC']],'limit':0x1},'log':_0xf948('0x4')});};