Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / services / routing / rpc / whatsappQueueReport.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 _0x845b=['../client','create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x24a90b,_0x12cedf){var _0x15fa89=function(_0x362778){while(--_0x362778){_0x24a90b['push'](_0x24a90b['shift']());}};_0x15fa89(++_0x12cedf);}(_0x845b,0x1e0));var _0xb845=function(_0x31826c,_0x1995c5){_0x31826c=_0x31826c-0x0;var _0x20bbd7=_0x845b[_0x31826c];return _0x20bbd7;};'use strict';var client=require(_0xb845('0x0'));exports[_0xb845('0x1')]=function(_0x2f7413){return client[_0xb845('0x2')](_0xb845('0x3'),{'body':_0x2f7413,'log':_0xb845('0x3')});};exports[_0xb845('0x4')]=function(_0x18ae58,_0x1873b3){return client[_0xb845('0x2')](_0xb845('0x5'),{'body':_0x1873b3,'options':{'where':{'uniqueid':_0x18ae58},'order':[['id','DESC']],'limit':0x1},'log':_0xb845('0x5')});};