Built motion from commit 3c2ce842.|2.6.31
[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 _0x7eb3=['update','UpdateWhatsappQueueReport','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x1d408d,_0x2fef27){var _0x112a98=function(_0x5615a8){while(--_0x5615a8){_0x1d408d['push'](_0x1d408d['shift']());}};_0x112a98(++_0x2fef27);}(_0x7eb3,0x74));var _0x37eb=function(_0x2a36a1,_0x756b35){_0x2a36a1=_0x2a36a1-0x0;var _0x53122f=_0x7eb3[_0x2a36a1];return _0x53122f;};'use strict';var client=require(_0x37eb('0x0'));exports[_0x37eb('0x1')]=function(_0x503b05){return client[_0x37eb('0x2')](_0x37eb('0x3'),{'body':_0x503b05,'log':_0x37eb('0x3')});};exports[_0x37eb('0x4')]=function(_0x4717a2,_0x265cee){return client[_0x37eb('0x2')]('UpdateWhatsappQueueReport',{'body':_0x265cee,'options':{'where':{'uniqueid':_0x4717a2},'order':[['id','DESC']],'limit':0x1},'log':_0x37eb('0x5')});};