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 _0x2aaa=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2aaa,0xfb));var _0xa2aa=function(_0xf28f4f,_0x576caa){_0xf28f4f=_0xf28f4f-0x0;var _0x3dc143=_0x2aaa[_0xf28f4f];return _0x3dc143;};'use strict';var client=require('../client');exports[_0xa2aa('0x0')]=function(_0x158ecb){return client['Request']('CreateWhatsappQueueReport',{'body':_0x158ecb,'log':_0xa2aa('0x1')});};exports[_0xa2aa('0x2')]=function(_0x1e54db,_0x1fc759){return client[_0xa2aa('0x3')](_0xa2aa('0x4'),{'body':_0x1fc759,'options':{'where':{'uniqueid':_0x1e54db},'order':[['id',_0xa2aa('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};