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 _0xae9b=['update','Request','UpdateWhatsappQueueReport','DESC','../client','create','CreateWhatsappQueueReport'];(function(_0x2ffcb1,_0x559b0d){var _0x333da2=function(_0x1430e2){while(--_0x1430e2){_0x2ffcb1['push'](_0x2ffcb1['shift']());}};_0x333da2(++_0x559b0d);}(_0xae9b,0x1a1));var _0xbae9=function(_0x2f86bd,_0x24e6f4){_0x2f86bd=_0x2f86bd-0x0;var _0x7d42e6=_0xae9b[_0x2f86bd];return _0x7d42e6;};'use strict';var client=require(_0xbae9('0x0'));exports[_0xbae9('0x1')]=function(_0x452713){return client['Request']('CreateWhatsappQueueReport',{'body':_0x452713,'log':_0xbae9('0x2')});};exports[_0xbae9('0x3')]=function(_0x41504e,_0x3894ea){return client[_0xbae9('0x4')](_0xbae9('0x5'),{'body':_0x3894ea,'options':{'where':{'uniqueid':_0x41504e},'order':[['id',_0xbae9('0x6')]],'limit':0x1},'log':_0xbae9('0x5')});};