178469563c54c871d64e07ca21d0825736a78b91
[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 _0x4881=['Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','../client'];(function(_0x3b4f36,_0x3c2547){var _0x1b3386=function(_0x170ade){while(--_0x170ade){_0x3b4f36['push'](_0x3b4f36['shift']());}};_0x1b3386(++_0x3c2547);}(_0x4881,0xd1));var _0x1488=function(_0x51a6e4,_0x1dbcee){_0x51a6e4=_0x51a6e4-0x0;var _0xbed624=_0x4881[_0x51a6e4];return _0xbed624;};'use strict';var client=require(_0x1488('0x0'));exports['create']=function(_0x4f10e1){return client[_0x1488('0x1')](_0x1488('0x2'),{'body':_0x4f10e1,'log':'CreateWhatsappQueueReport'});};exports[_0x1488('0x3')]=function(_0x1034c1,_0x239d0){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x239d0,'options':{'where':{'uniqueid':_0x1034c1},'order':[['id','DESC']],'limit':0x1},'log':_0x1488('0x4')});};