Built motion from commit 25580385.|2.6.2
[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 _0x2129=['../client','create','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC'];(function(_0x574e53,_0xc03883){var _0x189f7a=function(_0x24436f){while(--_0x24436f){_0x574e53['push'](_0x574e53['shift']());}};_0x189f7a(++_0xc03883);}(_0x2129,0xae));var _0x9212=function(_0xffdbff,_0x174f40){_0xffdbff=_0xffdbff-0x0;var _0x595aa5=_0x2129[_0xffdbff];return _0x595aa5;};'use strict';var client=require(_0x9212('0x0'));exports[_0x9212('0x1')]=function(_0x49541b){return client['Request'](_0x9212('0x2'),{'body':_0x49541b,'log':'CreateWhatsappQueueReport'});};exports[_0x9212('0x3')]=function(_0x2b9f21,_0x4cc205){return client['Request'](_0x9212('0x4'),{'body':_0x4cc205,'options':{'where':{'uniqueid':_0x2b9f21},'order':[['id',_0x9212('0x5')]],'limit':0x1},'log':_0x9212('0x4')});};