Built motion from commit f94df7f0.|2.5.48
[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 _0xfc68=['Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x556f9c,_0xab7233){var _0x2dfac0=function(_0x14f65e){while(--_0x14f65e){_0x556f9c['push'](_0x556f9c['shift']());}};_0x2dfac0(++_0xab7233);}(_0xfc68,0x118));var _0x8fc6=function(_0x5b57d4,_0x58b01b){_0x5b57d4=_0x5b57d4-0x0;var _0x28400f=_0xfc68[_0x5b57d4];return _0x28400f;};'use strict';var client=require(_0x8fc6('0x0'));exports[_0x8fc6('0x1')]=function(_0x346d37){return client[_0x8fc6('0x2')](_0x8fc6('0x3'),{'body':_0x346d37,'log':_0x8fc6('0x3')});};exports['update']=function(_0x2e04e4,_0x2733a0){return client[_0x8fc6('0x2')](_0x8fc6('0x4'),{'body':_0x2733a0,'options':{'where':{'uniqueid':_0x2e04e4},'order':[['id',_0x8fc6('0x5')]],'limit':0x1},'log':_0x8fc6('0x4')});};