Built motion from commit 97153652.|2.6.26
[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 _0x2a3e=['update','DESC','UpdateWhatsappQueueReport','create','Request','CreateWhatsappQueueReport'];(function(_0x1243c2,_0x16fec4){var _0x4dfe48=function(_0x535892){while(--_0x535892){_0x1243c2['push'](_0x1243c2['shift']());}};_0x4dfe48(++_0x16fec4);}(_0x2a3e,0x1bf));var _0xe2a3=function(_0x1e61fa,_0x20207e){_0x1e61fa=_0x1e61fa-0x0;var _0x214ffa=_0x2a3e[_0x1e61fa];return _0x214ffa;};'use strict';var client=require('../client');exports[_0xe2a3('0x0')]=function(_0x4e42d0){return client[_0xe2a3('0x1')](_0xe2a3('0x2'),{'body':_0x4e42d0,'log':_0xe2a3('0x2')});};exports[_0xe2a3('0x3')]=function(_0x2a1ca4,_0x438862){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x438862,'options':{'where':{'uniqueid':_0x2a1ca4},'order':[['id',_0xe2a3('0x4')]],'limit':0x1},'log':_0xe2a3('0x5')});};