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 _0x41c9=['create','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC'];(function(_0x21cd6a,_0x18c16b){var _0x58e7b4=function(_0x1079ab){while(--_0x1079ab){_0x21cd6a['push'](_0x21cd6a['shift']());}};_0x58e7b4(++_0x18c16b);}(_0x41c9,0x1b3));var _0x941c=function(_0x5e4baa,_0x55be50){_0x5e4baa=_0x5e4baa-0x0;var _0x3d4924=_0x41c9[_0x5e4baa];return _0x3d4924;};'use strict';var client=require('../client');exports[_0x941c('0x0')]=function(_0x2ee459){return client['Request'](_0x941c('0x1'),{'body':_0x2ee459,'log':'CreateWhatsappQueueReport'});};exports[_0x941c('0x2')]=function(_0x34ebb3,_0x526f8b){return client['Request'](_0x941c('0x3'),{'body':_0x526f8b,'options':{'where':{'uniqueid':_0x34ebb3},'order':[['id',_0x941c('0x4')]],'limit':0x1},'log':_0x941c('0x3')});};