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 _0x65b0=['create','Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x370dfe,_0x492b81){var _0x4a1f30=function(_0x442d81){while(--_0x442d81){_0x370dfe['push'](_0x370dfe['shift']());}};_0x4a1f30(++_0x492b81);}(_0x65b0,0x179));var _0x065b=function(_0x49c5e3,_0x23dc57){_0x49c5e3=_0x49c5e3-0x0;var _0x29827f=_0x65b0[_0x49c5e3];return _0x29827f;};'use strict';var client=require(_0x065b('0x0'));exports[_0x065b('0x1')]=function(_0x40d067){return client[_0x065b('0x2')]('CreateWhatsappQueueReport',{'body':_0x40d067,'log':_0x065b('0x3')});};exports['update']=function(_0x51f6b6,_0x312e17){return client[_0x065b('0x2')](_0x065b('0x4'),{'body':_0x312e17,'options':{'where':{'uniqueid':_0x51f6b6},'order':[['id',_0x065b('0x5')]],'limit':0x1},'log':_0x065b('0x4')});};