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 _0xe3ad=['DESC','CreateWhatsappQueueReport','Request','UpdateWhatsappQueueReport'];(function(_0x30a2d6,_0x43201d){var _0x10bff2=function(_0x1eee56){while(--_0x1eee56){_0x30a2d6['push'](_0x30a2d6['shift']());}};_0x10bff2(++_0x43201d);}(_0xe3ad,0x69));var _0xde3a=function(_0x29436b,_0x3d477c){_0x29436b=_0x29436b-0x0;var _0x232d6a=_0xe3ad[_0x29436b];return _0x232d6a;};'use strict';var client=require('../client');exports['create']=function(_0x31d6a4){return client['Request'](_0xde3a('0x0'),{'body':_0x31d6a4,'log':'CreateWhatsappQueueReport'});};exports['update']=function(_0x3cce40,_0x5f0c5f){return client[_0xde3a('0x1')](_0xde3a('0x2'),{'body':_0x5f0c5f,'options':{'where':{'uniqueid':_0x3cce40},'order':[['id',_0xde3a('0x3')]],'limit':0x1},'log':_0xde3a('0x2')});};