952750c22b87801810a80504dfc3163571258294
[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 _0xf64c=['update','UpdateMailQueueReport','../client','create','Request','CreateMailQueueReport'];(function(_0x183f62,_0xca484e){var _0x253d12=function(_0x127bca){while(--_0x127bca){_0x183f62['push'](_0x183f62['shift']());}};_0x253d12(++_0xca484e);}(_0xf64c,0x182));var _0xcf64=function(_0x48443e,_0x73e2){_0x48443e=_0x48443e-0x0;var _0x338941=_0xf64c[_0x48443e];return _0x338941;};'use strict';var client=require(_0xcf64('0x0'));exports[_0xcf64('0x1')]=function(_0x2c156f){return client[_0xcf64('0x2')](_0xcf64('0x3'),{'body':_0x2c156f,'log':'CreateMailQueueReport'});};exports[_0xcf64('0x4')]=function(_0x1f54ae,_0x13feca){return client[_0xcf64('0x2')]('UpdateMailQueueReport',{'body':_0x13feca,'options':{'where':{'uniqueid':_0x1f54ae},'order':[['id','DESC']],'limit':0x1},'log':_0xcf64('0x5')});};