Built motion from commit a61a4a20.|2.5.46
[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 _0x1e11=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x3c02e0,_0x49fbc5){var _0x344759=function(_0x1c40ce){while(--_0x1c40ce){_0x3c02e0['push'](_0x3c02e0['shift']());}};_0x344759(++_0x49fbc5);}(_0x1e11,0x95));var _0x11e1=function(_0x1755f9,_0x176a42){_0x1755f9=_0x1755f9-0x0;var _0x322247=_0x1e11[_0x1755f9];return _0x322247;};'use strict';var client=require(_0x11e1('0x0'));exports['create']=function(_0x5a1b3c){return client['Request'](_0x11e1('0x1'),{'body':_0x5a1b3c,'log':_0x11e1('0x1')});};exports[_0x11e1('0x2')]=function(_0x51a13d,_0x2b5d03){return client[_0x11e1('0x3')](_0x11e1('0x4'),{'body':_0x2b5d03,'options':{'where':{'uniqueid':_0x51a13d},'order':[['id',_0x11e1('0x5')]],'limit':0x1},'log':_0x11e1('0x4')});};