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 _0xded9=['CreateMailQueueReport','update','UpdateMailQueueReport','../client','Request'];(function(_0x2db817,_0x12a72b){var _0x52e456=function(_0x414cd8){while(--_0x414cd8){_0x2db817['push'](_0x2db817['shift']());}};_0x52e456(++_0x12a72b);}(_0xded9,0x12f));var _0x9ded=function(_0x4fb8b1,_0x31a971){_0x4fb8b1=_0x4fb8b1-0x0;var _0x851f2d=_0xded9[_0x4fb8b1];return _0x851f2d;};'use strict';var client=require(_0x9ded('0x0'));exports['create']=function(_0x12486d){return client[_0x9ded('0x1')]('CreateMailQueueReport',{'body':_0x12486d,'log':_0x9ded('0x2')});};exports[_0x9ded('0x3')]=function(_0x5ca28c,_0x1f3502){return client[_0x9ded('0x1')](_0x9ded('0x4'),{'body':_0x1f3502,'options':{'where':{'uniqueid':_0x5ca28c},'order':[['id','DESC']],'limit':0x1},'log':'UpdateMailQueueReport'});};