4795d9a45516e891d1be0e3419336fa47cba6b78
[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 _0x4e84=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client','create'];(function(_0x36092b,_0x1e1ef2){var _0x88ad3c=function(_0x1f10c){while(--_0x1f10c){_0x36092b['push'](_0x36092b['shift']());}};_0x88ad3c(++_0x1e1ef2);}(_0x4e84,0xe5));var _0x44e8=function(_0x2e5048,_0x2b6584){_0x2e5048=_0x2e5048-0x0;var _0x36e953=_0x4e84[_0x2e5048];return _0x36e953;};'use strict';var client=require(_0x44e8('0x0'));exports[_0x44e8('0x1')]=function(_0x44ecaf){return client[_0x44e8('0x2')](_0x44e8('0x3'),{'body':_0x44ecaf,'log':_0x44e8('0x3')});};exports[_0x44e8('0x4')]=function(_0x30b734,_0x45679a){return client['Request'](_0x44e8('0x5'),{'body':_0x45679a,'options':{'where':{'uniqueid':_0x30b734},'order':[['id',_0x44e8('0x6')]],'limit':0x1},'log':_0x44e8('0x5')});};