Built motion from commit 19a84241.|2.5.34
[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 _0x5a4b=['Request','UpdateMailQueueReport','create','CreateMailQueueReport','update'];(function(_0x28afd4,_0x10ff46){var _0xce4a78=function(_0x2c0a2e){while(--_0x2c0a2e){_0x28afd4['push'](_0x28afd4['shift']());}};_0xce4a78(++_0x10ff46);}(_0x5a4b,0x1a1));var _0xb5a4=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0x5a4b[_0x12fc8d];return _0x3f9d04;};'use strict';var client=require('../client');exports[_0xb5a4('0x0')]=function(_0x928682){return client['Request'](_0xb5a4('0x1'),{'body':_0x928682,'log':_0xb5a4('0x1')});};exports[_0xb5a4('0x2')]=function(_0x488444,_0x46644){return client[_0xb5a4('0x3')]('UpdateMailQueueReport',{'body':_0x46644,'options':{'where':{'uniqueid':_0x488444},'order':[['id','DESC']],'limit':0x1},'log':_0xb5a4('0x4')});};