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 _0xfa48=['UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x30bf6b,_0x22ca9b){var _0x6b6bed=function(_0x3b5031){while(--_0x3b5031){_0x30bf6b['push'](_0x30bf6b['shift']());}};_0x6b6bed(++_0x22ca9b);}(_0xfa48,0x146));var _0x8fa4=function(_0xf0bcac,_0x531755){_0xf0bcac=_0xf0bcac-0x0;var _0x4e4c65=_0xfa48[_0xf0bcac];return _0x4e4c65;};'use strict';var client=require(_0x8fa4('0x0'));exports[_0x8fa4('0x1')]=function(_0x4ecac3){return client[_0x8fa4('0x2')](_0x8fa4('0x3'),{'body':_0x4ecac3,'log':_0x8fa4('0x3')});};exports['update']=function(_0x33fc1d,_0x3308ff){return client[_0x8fa4('0x2')](_0x8fa4('0x4'),{'body':_0x3308ff,'options':{'where':{'uniqueid':_0x33fc1d},'order':[['id',_0x8fa4('0x5')]],'limit':0x1},'log':_0x8fa4('0x4')});};