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 _0xabf8=['Request','CreateWhatsappQueueReport','DESC','UpdateWhatsappQueueReport','../client'];(function(_0x3a8f51,_0x1c5221){var _0x2b83dc=function(_0x10e195){while(--_0x10e195){_0x3a8f51['push'](_0x3a8f51['shift']());}};_0x2b83dc(++_0x1c5221);}(_0xabf8,0x13a));var _0x8abf=function(_0x230b6d,_0x37fe38){_0x230b6d=_0x230b6d-0x0;var _0x147d3c=_0xabf8[_0x230b6d];return _0x147d3c;};'use strict';var client=require(_0x8abf('0x0'));exports['create']=function(_0x3c777c){return client[_0x8abf('0x1')](_0x8abf('0x2'),{'body':_0x3c777c,'log':_0x8abf('0x2')});};exports['update']=function(_0x1a4914,_0xc2151e){return client['Request']('UpdateWhatsappQueueReport',{'body':_0xc2151e,'options':{'where':{'uniqueid':_0x1a4914},'order':[['id',_0x8abf('0x3')]],'limit':0x1},'log':_0x8abf('0x4')});};