Built motion from commit 1fa89557.|2.6.10
[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 _0x7d7b=['update','UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport'];(function(_0x3f0b2b,_0x1ee91d){var _0x499c7a=function(_0x354ade){while(--_0x354ade){_0x3f0b2b['push'](_0x3f0b2b['shift']());}};_0x499c7a(++_0x1ee91d);}(_0x7d7b,0x1a7));var _0xb7d7=function(_0x1b327e,_0x2ed26b){_0x1b327e=_0x1b327e-0x0;var _0x2f40d9=_0x7d7b[_0x1b327e];return _0x2f40d9;};'use strict';var client=require(_0xb7d7('0x0'));exports[_0xb7d7('0x1')]=function(_0x5f2ad4){return client[_0xb7d7('0x2')](_0xb7d7('0x3'),{'body':_0x5f2ad4,'log':_0xb7d7('0x3')});};exports[_0xb7d7('0x4')]=function(_0x4c3f2e,_0x1c8489){return client[_0xb7d7('0x2')](_0xb7d7('0x5'),{'body':_0x1c8489,'options':{'where':{'uniqueid':_0x4c3f2e},'order':[['id',_0xb7d7('0x6')]],'limit':0x1},'log':'UpdateMailQueueReport'});};