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 _0x94a5=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','create','Request'];(function(_0x3da832,_0x2133f1){var _0xe602f2=function(_0xb7b2f){while(--_0xb7b2f){_0x3da832['push'](_0x3da832['shift']());}};_0xe602f2(++_0x2133f1);}(_0x94a5,0x166));var _0x594a=function(_0x33ca99,_0x228c81){_0x33ca99=_0x33ca99-0x0;var _0xdb047f=_0x94a5[_0x33ca99];return _0xdb047f;};'use strict';var client=require('../client');exports[_0x594a('0x0')]=function(_0x4a85d4){return client[_0x594a('0x1')]('CreateWhatsappQueueReport',{'body':_0x4a85d4,'log':_0x594a('0x2')});};exports[_0x594a('0x3')]=function(_0x429034,_0x3971d2){return client[_0x594a('0x1')](_0x594a('0x4'),{'body':_0x3971d2,'options':{'where':{'uniqueid':_0x429034},'order':[['id',_0x594a('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};