Built motion from commit (unavailable).|2.5.13
[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 _0x201f=['create','Request','CreateMailQueueReport','DESC','UpdateMailQueueReport','../client'];(function(_0x481bf7,_0x437f69){var _0x461787=function(_0xb3bc9d){while(--_0xb3bc9d){_0x481bf7['push'](_0x481bf7['shift']());}};_0x461787(++_0x437f69);}(_0x201f,0x143));var _0xf201=function(_0x2c7205,_0x548308){_0x2c7205=_0x2c7205-0x0;var _0x28235e=_0x201f[_0x2c7205];return _0x28235e;};'use strict';var client=require(_0xf201('0x0'));exports[_0xf201('0x1')]=function(_0x26d8f1){return client[_0xf201('0x2')](_0xf201('0x3'),{'body':_0x26d8f1,'log':_0xf201('0x3')});};exports['update']=function(_0x329abf,_0x241b30){return client[_0xf201('0x2')]('UpdateMailQueueReport',{'body':_0x241b30,'options':{'where':{'uniqueid':_0x329abf},'order':[['id',_0xf201('0x4')]],'limit':0x1},'log':_0xf201('0x5')});};