b12875ec2cd583bccfeb3df5bd08275a5e49a0e4
[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 _0x1db5=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','../client','create','Request'];(function(_0x55c485,_0x3fe77e){var _0x6bb521=function(_0x466a3d){while(--_0x466a3d){_0x55c485['push'](_0x55c485['shift']());}};_0x6bb521(++_0x3fe77e);}(_0x1db5,0x7b));var _0x51db=function(_0x12d4ac,_0xcff382){_0x12d4ac=_0x12d4ac-0x0;var _0x9ec980=_0x1db5[_0x12d4ac];return _0x9ec980;};'use strict';var client=require(_0x51db('0x0'));exports[_0x51db('0x1')]=function(_0x9bb01f){return client[_0x51db('0x2')](_0x51db('0x3'),{'body':_0x9bb01f,'log':_0x51db('0x3')});};exports[_0x51db('0x4')]=function(_0x434a69,_0x1a355f){return client[_0x51db('0x2')]('UpdateWhatsappQueueReport',{'body':_0x1a355f,'options':{'where':{'uniqueid':_0x434a69},'order':[['id','DESC']],'limit':0x1},'log':_0x51db('0x5')});};