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 _0xb02d=['update','UpdateWhatsappQueueReport','DESC','create','Request','CreateWhatsappQueueReport'];(function(_0x5e9810,_0x3228a0){var _0xbf214c=function(_0x298aaf){while(--_0x298aaf){_0x5e9810['push'](_0x5e9810['shift']());}};_0xbf214c(++_0x3228a0);}(_0xb02d,0x17d));var _0xdb02=function(_0x3bfd4f,_0x1977a9){_0x3bfd4f=_0x3bfd4f-0x0;var _0x542da6=_0xb02d[_0x3bfd4f];return _0x542da6;};'use strict';var client=require('../client');exports[_0xdb02('0x0')]=function(_0x90ecef){return client[_0xdb02('0x1')]('CreateWhatsappQueueReport',{'body':_0x90ecef,'log':_0xdb02('0x2')});};exports[_0xdb02('0x3')]=function(_0x18cd80,_0x4f4bfe){return client[_0xdb02('0x1')](_0xdb02('0x4'),{'body':_0x4f4bfe,'options':{'where':{'uniqueid':_0x18cd80},'order':[['id',_0xdb02('0x5')]],'limit':0x1},'log':_0xdb02('0x4')});};