Built motion from commit 775e2a94.|2.6.3
[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 _0x9f96=['update','UpdateWhatsappQueueReport','DESC','../client','CreateWhatsappQueueReport'];(function(_0x1c9203,_0x53736b){var _0x328c2e=function(_0x4489c2){while(--_0x4489c2){_0x1c9203['push'](_0x1c9203['shift']());}};_0x328c2e(++_0x53736b);}(_0x9f96,0x166));var _0x69f9=function(_0x3e286e,_0x516dff){_0x3e286e=_0x3e286e-0x0;var _0x5d3220=_0x9f96[_0x3e286e];return _0x5d3220;};'use strict';var client=require(_0x69f9('0x0'));exports['create']=function(_0x51e325){return client['Request'](_0x69f9('0x1'),{'body':_0x51e325,'log':_0x69f9('0x1')});};exports[_0x69f9('0x2')]=function(_0x4fd9c3,_0x5b52dd){return client['Request'](_0x69f9('0x3'),{'body':_0x5b52dd,'options':{'where':{'uniqueid':_0x4fd9c3},'order':[['id',_0x69f9('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};