Built motion from commit b5413ace.|2.6.9
[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 _0x2d01=['create','CreateMailQueueReport','update','Request','UpdateMailQueueReport','DESC','../client'];(function(_0x46df14,_0x4930e7){var _0x5813e8=function(_0x410004){while(--_0x410004){_0x46df14['push'](_0x46df14['shift']());}};_0x5813e8(++_0x4930e7);}(_0x2d01,0x7d));var _0x12d0=function(_0x4c0658,_0x833e86){_0x4c0658=_0x4c0658-0x0;var _0x1ebcd7=_0x2d01[_0x4c0658];return _0x1ebcd7;};'use strict';var client=require(_0x12d0('0x0'));exports[_0x12d0('0x1')]=function(_0x2f3df3){return client['Request'](_0x12d0('0x2'),{'body':_0x2f3df3,'log':_0x12d0('0x2')});};exports[_0x12d0('0x3')]=function(_0x29d3bd,_0x44514e){return client[_0x12d0('0x4')](_0x12d0('0x5'),{'body':_0x44514e,'options':{'where':{'uniqueid':_0x29d3bd},'order':[['id',_0x12d0('0x6')]],'limit':0x1},'log':_0x12d0('0x5')});};