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 _0xb512=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0xc4652a,_0x455b1e){var _0x3be54a=function(_0x4cb208){while(--_0x4cb208){_0xc4652a['push'](_0xc4652a['shift']());}};_0x3be54a(++_0x455b1e);}(_0xb512,0x13f));var _0x2b51=function(_0x2f930d,_0x9b4f88){_0x2f930d=_0x2f930d-0x0;var _0x556265=_0xb512[_0x2f930d];return _0x556265;};'use strict';var client=require(_0x2b51('0x0'));exports[_0x2b51('0x1')]=function(_0x4897a0){return client[_0x2b51('0x2')](_0x2b51('0x3'),{'body':_0x4897a0,'log':_0x2b51('0x3')});};exports[_0x2b51('0x4')]=function(_0x4d6c22,_0x1c044d){return client[_0x2b51('0x2')](_0x2b51('0x5'),{'body':_0x1c044d,'options':{'where':{'uniqueid':_0x4d6c22},'order':[['id',_0x2b51('0x6')]],'limit':0x1},'log':_0x2b51('0x5')});};