Built motion from commit (unavailable).|2.4.20
[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 _0x4e66=['../client','create','update','Request','UpdateMailQueueReport','DESC'];(function(_0xd6aad,_0x3fd78e){var _0x1109e6=function(_0x37f59c){while(--_0x37f59c){_0xd6aad['push'](_0xd6aad['shift']());}};_0x1109e6(++_0x3fd78e);}(_0x4e66,0x108));var _0x64e6=function(_0x43a77c,_0x476d1a){_0x43a77c=_0x43a77c-0x0;var _0x134a5a=_0x4e66[_0x43a77c];return _0x134a5a;};'use strict';var client=require(_0x64e6('0x0'));exports[_0x64e6('0x1')]=function(_0x145605){return client['Request']('CreateMailQueueReport',{'body':_0x145605,'log':'CreateMailQueueReport'});};exports[_0x64e6('0x2')]=function(_0x208fc7,_0x454ccf){return client[_0x64e6('0x3')](_0x64e6('0x4'),{'body':_0x454ccf,'options':{'where':{'uniqueid':_0x208fc7},'order':[['id',_0x64e6('0x5')]],'limit':0x1},'log':'UpdateMailQueueReport'});};