Built motion from commit 3e059bc2.|2.5.32
[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 _0x79a2=['create','Request','UpdateWhatsappQueueReport','../client'];(function(_0x4b2863,_0x494899){var _0x567d67=function(_0x751f03){while(--_0x751f03){_0x4b2863['push'](_0x4b2863['shift']());}};_0x567d67(++_0x494899);}(_0x79a2,0x1eb));var _0x279a=function(_0x36ed48,_0x1ee0d4){_0x36ed48=_0x36ed48-0x0;var _0x51c63a=_0x79a2[_0x36ed48];return _0x51c63a;};'use strict';var client=require(_0x279a('0x0'));exports[_0x279a('0x1')]=function(_0x1de408){return client[_0x279a('0x2')]('CreateWhatsappQueueReport',{'body':_0x1de408,'log':'CreateWhatsappQueueReport'});};exports['update']=function(_0x511387,_0x5ec9ef){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x5ec9ef,'options':{'where':{'uniqueid':_0x511387},'order':[['id','DESC']],'limit':0x1},'log':_0x279a('0x3')});};