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 _0x7f6d=['create','Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x1477e5,_0x54d8e3){var _0x142b2f=function(_0x59b5ae){while(--_0x59b5ae){_0x1477e5['push'](_0x1477e5['shift']());}};_0x142b2f(++_0x54d8e3);}(_0x7f6d,0xe9));var _0xd7f6=function(_0x21549c,_0x6d64d1){_0x21549c=_0x21549c-0x0;var _0x426cbd=_0x7f6d[_0x21549c];return _0x426cbd;};'use strict';var client=require(_0xd7f6('0x0'));exports[_0xd7f6('0x1')]=function(_0x2380a8){return client[_0xd7f6('0x2')](_0xd7f6('0x3'),{'body':_0x2380a8,'log':_0xd7f6('0x3')});};exports['update']=function(_0x16b85d,_0x363433){return client['Request'](_0xd7f6('0x4'),{'body':_0x363433,'options':{'where':{'uniqueid':_0x16b85d},'order':[['id',_0xd7f6('0x5')]],'limit':0x1},'log':_0xd7f6('0x4')});};