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 _0x70c9=['create','CreateWhatsappQueueReport','Request','UpdateWhatsappQueueReport','../client'];(function(_0x8225c9,_0x2e72ff){var _0x2f4210=function(_0x19603a){while(--_0x19603a){_0x8225c9['push'](_0x8225c9['shift']());}};_0x2f4210(++_0x2e72ff);}(_0x70c9,0x126));var _0x970c=function(_0x36c748,_0x22da20){_0x36c748=_0x36c748-0x0;var _0x41cf2e=_0x70c9[_0x36c748];return _0x41cf2e;};'use strict';var client=require(_0x970c('0x0'));exports[_0x970c('0x1')]=function(_0x2066d2){return client['Request'](_0x970c('0x2'),{'body':_0x2066d2,'log':_0x970c('0x2')});};exports['update']=function(_0x4c8888,_0x1005fa){return client[_0x970c('0x3')]('UpdateWhatsappQueueReport',{'body':_0x1005fa,'options':{'where':{'uniqueid':_0x4c8888},'order':[['id','DESC']],'limit':0x1},'log':_0x970c('0x4')});};