Built motion from commit (unavailable).|2.5.4
[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 _0xf50e=['DESC','../client','create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x2e2a1d,_0x2900fa){var _0x14a791=function(_0x1fffe7){while(--_0x1fffe7){_0x2e2a1d['push'](_0x2e2a1d['shift']());}};_0x14a791(++_0x2900fa);}(_0xf50e,0x14a));var _0xef50=function(_0x35e92e,_0x21581b){_0x35e92e=_0x35e92e-0x0;var _0x1205a8=_0xf50e[_0x35e92e];return _0x1205a8;};'use strict';var client=require(_0xef50('0x0'));exports[_0xef50('0x1')]=function(_0x5e8873){return client[_0xef50('0x2')](_0xef50('0x3'),{'body':_0x5e8873,'log':'CreateWhatsappQueueReport'});};exports[_0xef50('0x4')]=function(_0x4a690f,_0x1bce16){return client['Request'](_0xef50('0x5'),{'body':_0x1bce16,'options':{'where':{'uniqueid':_0x4a690f},'order':[['id',_0xef50('0x6')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};