1d35cb3ff4f8ba96ebf387b8468cbb4677fc682e
[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 _0x5b81=['Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','../client','create'];(function(_0x5550b3,_0x2d0ee0){var _0x4b8fc4=function(_0x22393a){while(--_0x22393a){_0x5550b3['push'](_0x5550b3['shift']());}};_0x4b8fc4(++_0x2d0ee0);}(_0x5b81,0x8e));var _0x15b8=function(_0x1f4340,_0x202a79){_0x1f4340=_0x1f4340-0x0;var _0x3a5838=_0x5b81[_0x1f4340];return _0x3a5838;};'use strict';var client=require(_0x15b8('0x0'));exports[_0x15b8('0x1')]=function(_0x234642){return client[_0x15b8('0x2')](_0x15b8('0x3'),{'body':_0x234642,'log':_0x15b8('0x3')});};exports[_0x15b8('0x4')]=function(_0x10ccdc,_0x1879e3){return client[_0x15b8('0x2')](_0x15b8('0x5'),{'body':_0x1879e3,'options':{'where':{'uniqueid':_0x10ccdc},'order':[['id','DESC']],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};