Built motion from commit (unavailable).|2.4.18
[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 _0x1fd9=['CreateMailQueueReport','update','UpdateMailQueueReport','../client','create','Request'];(function(_0x4c0e1b,_0x24ba2b){var _0x4b3df2=function(_0x570335){while(--_0x570335){_0x4c0e1b['push'](_0x4c0e1b['shift']());}};_0x4b3df2(++_0x24ba2b);}(_0x1fd9,0x135));var _0x91fd=function(_0x4b46aa,_0x2bda74){_0x4b46aa=_0x4b46aa-0x0;var _0x273b36=_0x1fd9[_0x4b46aa];return _0x273b36;};'use strict';var client=require(_0x91fd('0x0'));exports[_0x91fd('0x1')]=function(_0x4f3612){return client[_0x91fd('0x2')](_0x91fd('0x3'),{'body':_0x4f3612,'log':_0x91fd('0x3')});};exports[_0x91fd('0x4')]=function(_0x1fb5a8,_0x2bf90b){return client[_0x91fd('0x2')](_0x91fd('0x5'),{'body':_0x2bf90b,'options':{'where':{'uniqueid':_0x1fb5a8},'order':[['id','DESC']],'limit':0x1},'log':_0x91fd('0x5')});};