Built motion from commit e1760111.|2.6.18
[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 _0x2af8=['UpdateWhatsappQueueReport','../client','create','Request','CreateWhatsappQueueReport','update','DESC'];(function(_0x5a4bb0,_0x4f35b1){var _0xd9b1ed=function(_0x491554){while(--_0x491554){_0x5a4bb0['push'](_0x5a4bb0['shift']());}};_0xd9b1ed(++_0x4f35b1);}(_0x2af8,0x190));var _0x82af=function(_0x466611,_0x421a63){_0x466611=_0x466611-0x0;var _0x4112c4=_0x2af8[_0x466611];return _0x4112c4;};'use strict';var client=require(_0x82af('0x0'));exports[_0x82af('0x1')]=function(_0x306294){return client[_0x82af('0x2')](_0x82af('0x3'),{'body':_0x306294,'log':'CreateWhatsappQueueReport'});};exports[_0x82af('0x4')]=function(_0x37aa44,_0x50b50d){return client[_0x82af('0x2')]('UpdateWhatsappQueueReport',{'body':_0x50b50d,'options':{'where':{'uniqueid':_0x37aa44},'order':[['id',_0x82af('0x5')]],'limit':0x1},'log':_0x82af('0x6')});};