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 _0x8e28=['UpdateWhatsappQueueReport','CreateWhatsappQueueReport','update','Request'];(function(_0x204bf3,_0x10d0f2){var _0x5d8cc8=function(_0x5107ea){while(--_0x5107ea){_0x204bf3['push'](_0x204bf3['shift']());}};_0x5d8cc8(++_0x10d0f2);}(_0x8e28,0x1e9));var _0x88e2=function(_0x1d24eb,_0x12295b){_0x1d24eb=_0x1d24eb-0x0;var _0x1dc576=_0x8e28[_0x1d24eb];return _0x1dc576;};'use strict';var client=require('../client');exports['create']=function(_0x2ed92b){return client['Request']('CreateWhatsappQueueReport',{'body':_0x2ed92b,'log':_0x88e2('0x0')});};exports[_0x88e2('0x1')]=function(_0x1c6624,_0x39e2ff){return client[_0x88e2('0x2')](_0x88e2('0x3'),{'body':_0x39e2ff,'options':{'where':{'uniqueid':_0x1c6624},'order':[['id','DESC']],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};