Built motion from commit 10af8726.|2.6.34
[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 _0x97fb=['UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport','update'];(function(_0x349f51,_0x499c7f){var _0x4fb1e7=function(_0x3b54dc){while(--_0x3b54dc){_0x349f51['push'](_0x349f51['shift']());}};_0x4fb1e7(++_0x499c7f);}(_0x97fb,0x1bb));var _0xb97f=function(_0x171fdc,_0x16ae91){_0x171fdc=_0x171fdc-0x0;var _0x3782ea=_0x97fb[_0x171fdc];return _0x3782ea;};'use strict';var client=require(_0xb97f('0x0'));exports[_0xb97f('0x1')]=function(_0x3b4ebc){return client[_0xb97f('0x2')](_0xb97f('0x3'),{'body':_0x3b4ebc,'log':_0xb97f('0x3')});};exports[_0xb97f('0x4')]=function(_0x53b173,_0x5cd232){return client['Request'](_0xb97f('0x5'),{'body':_0x5cd232,'options':{'where':{'uniqueid':_0x53b173},'order':[['id',_0xb97f('0x6')]],'limit':0x1},'log':_0xb97f('0x5')});};