Built motion from commit 3c2ce842.|2.6.31
[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 _0x3c88=['CreateMailQueueReport','UpdateMailQueueReport','DESC','../client','create','Request'];(function(_0x69e16f,_0x133987){var _0x3fde56=function(_0x513f3e){while(--_0x513f3e){_0x69e16f['push'](_0x69e16f['shift']());}};_0x3fde56(++_0x133987);}(_0x3c88,0x177));var _0x83c8=function(_0x48ddf2,_0x4fe392){_0x48ddf2=_0x48ddf2-0x0;var _0x1817a3=_0x3c88[_0x48ddf2];return _0x1817a3;};'use strict';var client=require(_0x83c8('0x0'));exports[_0x83c8('0x1')]=function(_0x482680){return client[_0x83c8('0x2')](_0x83c8('0x3'),{'body':_0x482680,'log':_0x83c8('0x3')});};exports['update']=function(_0x4c8553,_0x506143){return client[_0x83c8('0x2')](_0x83c8('0x4'),{'body':_0x506143,'options':{'where':{'uniqueid':_0x4c8553},'order':[['id',_0x83c8('0x5')]],'limit':0x1},'log':_0x83c8('0x4')});};