852f9b6c0ac85226e65818793e9dfd37872c9ca6
[motion2.git] / server / services / routing / rpc / whatsappQueueReport.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xeaee=['update','DESC','create','Request','CreateWhatsappQueueReport'];(function(_0x2758aa,_0x47a165){var _0x826371=function(_0x514b1a){while(--_0x514b1a){_0x2758aa['push'](_0x2758aa['shift']());}};_0x826371(++_0x47a165);}(_0xeaee,0x7a));var _0xeeae=function(_0xa03806,_0x3dc70e){_0xa03806=_0xa03806-0x0;var _0x155be9=_0xeaee[_0xa03806];return _0x155be9;};'use strict';var client=require('../client');exports[_0xeeae('0x0')]=function(_0x463cb6){return client[_0xeeae('0x1')]('CreateWhatsappQueueReport',{'body':_0x463cb6,'log':_0xeeae('0x2')});};exports[_0xeeae('0x3')]=function(_0x43adb1,_0x72b104){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x72b104,'options':{'where':{'uniqueid':_0x43adb1},'order':[['id',_0xeeae('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};