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 _0x2810=['DESC','../client','create','Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport'];(function(_0x229f5e,_0x433f0f){var _0x2d62ff=function(_0xe4d381){while(--_0xe4d381){_0x229f5e['push'](_0x229f5e['shift']());}};_0x2d62ff(++_0x433f0f);}(_0x2810,0x15d));var _0x0281=function(_0x1cac1b,_0x25cc96){_0x1cac1b=_0x1cac1b-0x0;var _0x563820=_0x2810[_0x1cac1b];return _0x563820;};'use strict';var client=require(_0x0281('0x0'));exports[_0x0281('0x1')]=function(_0x4ccffb){return client[_0x0281('0x2')]('CreateWhatsappQueueReport',{'body':_0x4ccffb,'log':_0x0281('0x3')});};exports['update']=function(_0x5732ac,_0x424a34){return client['Request'](_0x0281('0x4'),{'body':_0x424a34,'options':{'where':{'uniqueid':_0x5732ac},'order':[['id',_0x0281('0x5')]],'limit':0x1},'log':_0x0281('0x4')});};