ea8e79495b5a3a868aad0719c0d063c4a753737e
[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 _0x9330=['UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport','update'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9330,0x1a6));var _0x0933=function(_0x28dd76,_0x5b1a37){_0x28dd76=_0x28dd76-0x0;var _0x5e6c9b=_0x9330[_0x28dd76];return _0x5e6c9b;};'use strict';var client=require(_0x0933('0x0'));exports[_0x0933('0x1')]=function(_0x344995){return client[_0x0933('0x2')](_0x0933('0x3'),{'body':_0x344995,'log':_0x0933('0x3')});};exports[_0x0933('0x4')]=function(_0x353919,_0x94e647){return client[_0x0933('0x2')](_0x0933('0x5'),{'body':_0x94e647,'options':{'where':{'uniqueid':_0x353919},'order':[['id',_0x0933('0x6')]],'limit':0x1},'log':_0x0933('0x5')});};