Built motion from commit (unavailable).|2.5.30
[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 _0x3009=['Request','UpdateMailQueueReport','DESC','../client','CreateMailQueueReport','update'];(function(_0xb34efd,_0x4237da){var _0x1a8866=function(_0x5ccb9d){while(--_0x5ccb9d){_0xb34efd['push'](_0xb34efd['shift']());}};_0x1a8866(++_0x4237da);}(_0x3009,0x1dd));var _0x9300=function(_0x2d0b90,_0x16a9b5){_0x2d0b90=_0x2d0b90-0x0;var _0xdb82b5=_0x3009[_0x2d0b90];return _0xdb82b5;};'use strict';var client=require(_0x9300('0x0'));exports['create']=function(_0x234c01){return client['Request'](_0x9300('0x1'),{'body':_0x234c01,'log':_0x9300('0x1')});};exports[_0x9300('0x2')]=function(_0x5ba2f4,_0x17be06){return client[_0x9300('0x3')](_0x9300('0x4'),{'body':_0x17be06,'options':{'where':{'uniqueid':_0x5ba2f4},'order':[['id',_0x9300('0x5')]],'limit':0x1},'log':_0x9300('0x4')});};