Built motion from commit (unavailable).|2.5.15
[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 _0xf05e=['../client','create','Request','CreateMailQueueReport','update'];(function(_0x2b3307,_0x2752c4){var _0x2fa1e0=function(_0x66ea85){while(--_0x66ea85){_0x2b3307['push'](_0x2b3307['shift']());}};_0x2fa1e0(++_0x2752c4);}(_0xf05e,0x1c2));var _0xef05=function(_0x318a8f,_0x6c0fcb){_0x318a8f=_0x318a8f-0x0;var _0x39e800=_0xf05e[_0x318a8f];return _0x39e800;};'use strict';var client=require(_0xef05('0x0'));exports[_0xef05('0x1')]=function(_0x4f1904){return client[_0xef05('0x2')](_0xef05('0x3'),{'body':_0x4f1904,'log':'CreateMailQueueReport'});};exports[_0xef05('0x4')]=function(_0x3bb950,_0x1aeca3){return client[_0xef05('0x2')]('UpdateMailQueueReport',{'body':_0x1aeca3,'options':{'where':{'uniqueid':_0x3bb950},'order':[['id','DESC']],'limit':0x1},'log':'UpdateMailQueueReport'});};