5e2db7c5388fc1d75652d3dad1c02bd6171ff1a1
[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 _0x9fa9=['update','UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x3e4999,_0xa1700b){var _0x31ecec=function(_0x39fc15){while(--_0x39fc15){_0x3e4999['push'](_0x3e4999['shift']());}};_0x31ecec(++_0xa1700b);}(_0x9fa9,0x114));var _0x99fa=function(_0x2f67d1,_0x12e55a){_0x2f67d1=_0x2f67d1-0x0;var _0x6b3900=_0x9fa9[_0x2f67d1];return _0x6b3900;};'use strict';var client=require(_0x99fa('0x0'));exports[_0x99fa('0x1')]=function(_0xe12313){return client[_0x99fa('0x2')](_0x99fa('0x3'),{'body':_0xe12313,'log':_0x99fa('0x3')});};exports[_0x99fa('0x4')]=function(_0x223fe1,_0x265acb){return client[_0x99fa('0x2')](_0x99fa('0x5'),{'body':_0x265acb,'options':{'where':{'uniqueid':_0x223fe1},'order':[['id',_0x99fa('0x6')]],'limit':0x1},'log':_0x99fa('0x5')});};