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 _0xb841=['UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x5e343c,_0x5d5c6a){var _0x497243=function(_0x49bcda){while(--_0x49bcda){_0x5e343c['push'](_0x5e343c['shift']());}};_0x497243(++_0x5d5c6a);}(_0xb841,0xc8));var _0x1b84=function(_0x4b7d4,_0x541242){_0x4b7d4=_0x4b7d4-0x0;var _0x348639=_0xb841[_0x4b7d4];return _0x348639;};'use strict';var client=require(_0x1b84('0x0'));exports[_0x1b84('0x1')]=function(_0x1f3dbb){return client[_0x1b84('0x2')](_0x1b84('0x3'),{'body':_0x1f3dbb,'log':'CreateWhatsappQueueReport'});};exports['update']=function(_0x47c921,_0x7c5522){return client[_0x1b84('0x2')](_0x1b84('0x4'),{'body':_0x7c5522,'options':{'where':{'uniqueid':_0x47c921},'order':[['id',_0x1b84('0x5')]],'limit':0x1},'log':_0x1b84('0x4')});};