Built motion from commit 753c950e.|2.5.42
[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 _0x5342=['create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x15106b,_0x4d96f6){var _0x521203=function(_0x4dbe23){while(--_0x4dbe23){_0x15106b['push'](_0x15106b['shift']());}};_0x521203(++_0x4d96f6);}(_0x5342,0x11e));var _0x2534=function(_0x4c80d7,_0x2bef29){_0x4c80d7=_0x4c80d7-0x0;var _0x3c5095=_0x5342[_0x4c80d7];return _0x3c5095;};'use strict';var client=require(_0x2534('0x0'));exports[_0x2534('0x1')]=function(_0x2add5f){return client[_0x2534('0x2')](_0x2534('0x3'),{'body':_0x2add5f,'log':_0x2534('0x3')});};exports[_0x2534('0x4')]=function(_0x4bf658,_0x37e6bb){return client[_0x2534('0x2')](_0x2534('0x5'),{'body':_0x37e6bb,'options':{'where':{'uniqueid':_0x4bf658},'order':[['id',_0x2534('0x6')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};