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 _0xee33=['CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0x51ad4f,_0x45d87d){var _0x592932=function(_0x24f8b0){while(--_0x24f8b0){_0x51ad4f['push'](_0x51ad4f['shift']());}};_0x592932(++_0x45d87d);}(_0xee33,0xb1));var _0x3ee3=function(_0x3ce3c,_0x319337){_0x3ce3c=_0x3ce3c-0x0;var _0x55a2c9=_0xee33[_0x3ce3c];return _0x55a2c9;};'use strict';var client=require(_0x3ee3('0x0'));exports[_0x3ee3('0x1')]=function(_0x392fea){return client[_0x3ee3('0x2')](_0x3ee3('0x3'),{'body':_0x392fea,'log':_0x3ee3('0x3')});};exports['update']=function(_0x301922,_0x412407){return client['Request'](_0x3ee3('0x4'),{'body':_0x412407,'options':{'where':{'uniqueid':_0x301922},'order':[['id',_0x3ee3('0x5')]],'limit':0x1},'log':_0x3ee3('0x4')});};