Built motion from commit a61a4a20.|2.5.46
[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 _0xdeff=['UpdateMailQueueReport','DESC','create','update','Request'];(function(_0x2edd69,_0x171efb){var _0x2c16e4=function(_0x1d0da8){while(--_0x1d0da8){_0x2edd69['push'](_0x2edd69['shift']());}};_0x2c16e4(++_0x171efb);}(_0xdeff,0xfc));var _0xfdef=function(_0x9a3e0f,_0x2f796d){_0x9a3e0f=_0x9a3e0f-0x0;var _0x3d2a9a=_0xdeff[_0x9a3e0f];return _0x3d2a9a;};'use strict';var client=require('../client');exports[_0xfdef('0x0')]=function(_0x31e279){return client['Request']('CreateMailQueueReport',{'body':_0x31e279,'log':'CreateMailQueueReport'});};exports[_0xfdef('0x1')]=function(_0x363b90,_0x367f91){return client[_0xfdef('0x2')](_0xfdef('0x3'),{'body':_0x367f91,'options':{'where':{'uniqueid':_0x363b90},'order':[['id',_0xfdef('0x4')]],'limit':0x1},'log':_0xfdef('0x3')});};