1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xc9f7=['create','Request','CreateWhatsappQueueReport','../client'];(function(_0x1feefe,_0x2018ad){var _0x56471a=function(_0x8745df){while(--_0x8745df){_0x1feefe['push'](_0x1feefe['shift']());}};_0x56471a(++_0x2018ad);}(_0xc9f7,0x16f));var _0x7c9f=function(_0x51d7e1,_0x336704){_0x51d7e1=_0x51d7e1-0x0;var _0x2aa269=_0xc9f7[_0x51d7e1];return _0x2aa269;};'use strict';var client=require(_0x7c9f('0x0'));exports[_0x7c9f('0x1')]=function(_0xe20c29){return client[_0x7c9f('0x2')](_0x7c9f('0x3'),{'body':_0xe20c29,'log':_0x7c9f('0x3')});};exports['update']=function(_0x1b9b2c,_0x39ad8c){return client[_0x7c9f('0x2')]('UpdateWhatsappQueueReport',{'body':_0x39ad8c,'options':{'where':{'uniqueid':_0x1b9b2c},'order':[['id','DESC']],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};