Built motion from commit e6806ed6.|2.6.0
[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 _0xb9e4=['DESC','UpdateMailQueueReport','../client','create','Request','CreateMailQueueReport'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xb9e4,0x140));var _0x4b9e=function(_0xffe181,_0x50198e){_0xffe181=_0xffe181-0x0;var _0x2d9ea6=_0xb9e4[_0xffe181];return _0x2d9ea6;};'use strict';var client=require(_0x4b9e('0x0'));exports[_0x4b9e('0x1')]=function(_0xecb936){return client[_0x4b9e('0x2')]('CreateMailQueueReport',{'body':_0xecb936,'log':_0x4b9e('0x3')});};exports['update']=function(_0x33d626,_0x7e1167){return client[_0x4b9e('0x2')]('UpdateMailQueueReport',{'body':_0x7e1167,'options':{'where':{'uniqueid':_0x33d626},'order':[['id',_0x4b9e('0x4')]],'limit':0x1},'log':_0x4b9e('0x5')});};