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 _0x9caf=['UpdateWhatsappQueueReport','DESC','../client','Request','CreateWhatsappQueueReport','update'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0x9caf,0x17c));var _0xf9ca=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9caf[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xf9ca('0x0'));exports['create']=function(_0x7801fe){return client[_0xf9ca('0x1')](_0xf9ca('0x2'),{'body':_0x7801fe,'log':_0xf9ca('0x2')});};exports[_0xf9ca('0x3')]=function(_0x52aeb7,_0x4235e5){return client[_0xf9ca('0x1')](_0xf9ca('0x4'),{'body':_0x4235e5,'options':{'where':{'uniqueid':_0x52aeb7},'order':[['id',_0xf9ca('0x5')]],'limit':0x1},'log':_0xf9ca('0x4')});};