e73241931460cffd4b7748acbeef94c808416fc1
[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 _0x9343=['create','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x318606,_0x26823b){var _0x5f47fd=function(_0x3cc8fc){while(--_0x3cc8fc){_0x318606['push'](_0x318606['shift']());}};_0x5f47fd(++_0x26823b);}(_0x9343,0x9b));var _0x3934=function(_0x4516b4,_0x391a35){_0x4516b4=_0x4516b4-0x0;var _0x2dc1a0=_0x9343[_0x4516b4];return _0x2dc1a0;};'use strict';var client=require('../client');exports[_0x3934('0x0')]=function(_0x1c615b){return client[_0x3934('0x1')](_0x3934('0x2'),{'body':_0x1c615b,'log':_0x3934('0x2')});};exports[_0x3934('0x3')]=function(_0x29c768,_0x327aa4){return client[_0x3934('0x1')](_0x3934('0x4'),{'body':_0x327aa4,'options':{'where':{'uniqueid':_0x29c768},'order':[['id','DESC']],'limit':0x1},'log':'UpdateMailQueueReport'});};