Built motion from commit (unavailable).|2.4.4
[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 _0x08f0=['UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport'];(function(_0x40fd43,_0x2e69ac){var _0x4ce41e=function(_0x15385b){while(--_0x15385b){_0x40fd43['push'](_0x40fd43['shift']());}};_0x4ce41e(++_0x2e69ac);}(_0x08f0,0xb6));var _0x008f=function(_0x4e2f5a,_0x46a53a){_0x4e2f5a=_0x4e2f5a-0x0;var _0x25bfb3=_0x08f0[_0x4e2f5a];return _0x25bfb3;};'use strict';var client=require(_0x008f('0x0'));exports[_0x008f('0x1')]=function(_0x2176e7){return client[_0x008f('0x2')](_0x008f('0x3'),{'body':_0x2176e7,'log':_0x008f('0x3')});};exports['update']=function(_0x4cbc0e,_0x5b0640){return client[_0x008f('0x2')](_0x008f('0x4'),{'body':_0x5b0640,'options':{'where':{'uniqueid':_0x4cbc0e},'order':[['id',_0x008f('0x5')]],'limit':0x1},'log':_0x008f('0x4')});};