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 _0x0d84=['Request','UpdateWhatsappQueueReport','../client','CreateWhatsappQueueReport'];(function(_0x35b885,_0x37c742){var _0x4e03ad=function(_0x5d8dac){while(--_0x5d8dac){_0x35b885['push'](_0x35b885['shift']());}};_0x4e03ad(++_0x37c742);}(_0x0d84,0x192));var _0x40d8=function(_0x5eb5ea,_0x27bf9a){_0x5eb5ea=_0x5eb5ea-0x0;var _0x3fdb6f=_0x0d84[_0x5eb5ea];return _0x3fdb6f;};'use strict';var client=require(_0x40d8('0x0'));exports['create']=function(_0x56d698){return client['Request'](_0x40d8('0x1'),{'body':_0x56d698,'log':_0x40d8('0x1')});};exports['update']=function(_0x2b9e78,_0x488207){return client[_0x40d8('0x2')](_0x40d8('0x3'),{'body':_0x488207,'options':{'where':{'uniqueid':_0x2b9e78},'order':[['id','DESC']],'limit':0x1},'log':_0x40d8('0x3')});};