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 _0x50b6=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','create','Request'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x50b6,0x184));var _0x650b=function(_0x3af2c5,_0x268fe1){_0x3af2c5=_0x3af2c5-0x0;var _0x29cc7f=_0x50b6[_0x3af2c5];return _0x29cc7f;};'use strict';var client=require('../client');exports[_0x650b('0x0')]=function(_0x396b6a){return client[_0x650b('0x1')](_0x650b('0x2'),{'body':_0x396b6a,'log':_0x650b('0x2')});};exports[_0x650b('0x3')]=function(_0x1f3c9a,_0x566952){return client[_0x650b('0x1')](_0x650b('0x4'),{'body':_0x566952,'options':{'where':{'uniqueid':_0x1f3c9a},'order':[['id',_0x650b('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};