45be42d1aefb3bdb03e6356208ec8186a59486a8
[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 _0xb50b=['CreateWhatsappQueueReport','../client','create','Request'];(function(_0x3e5086,_0x48f4a2){var _0xfeb102=function(_0x5a945f){while(--_0x5a945f){_0x3e5086['push'](_0x3e5086['shift']());}};_0xfeb102(++_0x48f4a2);}(_0xb50b,0x10d));var _0xbb50=function(_0x31b5b2,_0x5ab927){_0x31b5b2=_0x31b5b2-0x0;var _0x364f13=_0xb50b[_0x31b5b2];return _0x364f13;};'use strict';var client=require(_0xbb50('0x0'));exports[_0xbb50('0x1')]=function(_0x17990c){return client[_0xbb50('0x2')](_0xbb50('0x3'),{'body':_0x17990c,'log':_0xbb50('0x3')});};exports['update']=function(_0x36bacc,_0x357115){return client[_0xbb50('0x2')]('UpdateWhatsappQueueReport',{'body':_0x357115,'options':{'where':{'uniqueid':_0x36bacc},'order':[['id','DESC']],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};