Built motion from commit 994c64e1.|2.6.1
[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 _0xc1f1=['DESC','../client','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x5e1aa5,_0x35d6e9){var _0x2c4704=function(_0x57ae32){while(--_0x57ae32){_0x5e1aa5['push'](_0x5e1aa5['shift']());}};_0x2c4704(++_0x35d6e9);}(_0xc1f1,0xc7));var _0x1c1f=function(_0xe4bb3d,_0x21e87e){_0xe4bb3d=_0xe4bb3d-0x0;var _0xd9e51=_0xc1f1[_0xe4bb3d];return _0xd9e51;};'use strict';var client=require(_0x1c1f('0x0'));exports['create']=function(_0x9bb323){return client[_0x1c1f('0x1')](_0x1c1f('0x2'),{'body':_0x9bb323,'log':_0x1c1f('0x2')});};exports[_0x1c1f('0x3')]=function(_0x19abd5,_0x510517){return client[_0x1c1f('0x1')](_0x1c1f('0x4'),{'body':_0x510517,'options':{'where':{'uniqueid':_0x19abd5},'order':[['id',_0x1c1f('0x5')]],'limit':0x1},'log':_0x1c1f('0x4')});};