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 _0xd610=['CreateWhatsappQueueReport','UpdateWhatsappQueueReport','../client','create','Request'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0xd610,0x133));var _0x0d61=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0xd610[_0x487b0c];return _0x1adbdc;};'use strict';var client=require(_0x0d61('0x0'));exports[_0x0d61('0x1')]=function(_0x173bd9){return client[_0x0d61('0x2')]('CreateWhatsappQueueReport',{'body':_0x173bd9,'log':_0x0d61('0x3')});};exports['update']=function(_0x4d748b,_0x2feb99){return client[_0x0d61('0x2')](_0x0d61('0x4'),{'body':_0x2feb99,'options':{'where':{'uniqueid':_0x4d748b},'order':[['id','DESC']],'limit':0x1},'log':_0x0d61('0x4')});};