9546f29bf9b1c1ff6425a9dce36d32edac09ccf0
[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 _0x5f8e=['DESC','../client','Request','CreateMailQueueReport','update'];(function(_0x13cb5a,_0x5609a5){var _0xd86c61=function(_0x144914){while(--_0x144914){_0x13cb5a['push'](_0x13cb5a['shift']());}};_0xd86c61(++_0x5609a5);}(_0x5f8e,0xba));var _0xe5f8=function(_0x19f5fc,_0x4c658a){_0x19f5fc=_0x19f5fc-0x0;var _0x315fa3=_0x5f8e[_0x19f5fc];return _0x315fa3;};'use strict';var client=require(_0xe5f8('0x0'));exports['create']=function(_0x37a368){return client[_0xe5f8('0x1')](_0xe5f8('0x2'),{'body':_0x37a368,'log':_0xe5f8('0x2')});};exports[_0xe5f8('0x3')]=function(_0x351dff,_0x1ebb3e){return client[_0xe5f8('0x1')]('UpdateMailQueueReport',{'body':_0x1ebb3e,'options':{'where':{'uniqueid':_0x351dff},'order':[['id',_0xe5f8('0x4')]],'limit':0x1},'log':'UpdateMailQueueReport'});};