Built motion from commit (unavailable).|2.5.11
[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 _0xe710=['CreateWhatsappQueueReport','UpdateWhatsappQueueReport','../client','create','Request'];(function(_0x1b6c81,_0x3799d2){var _0x2ae44b=function(_0x483b52){while(--_0x483b52){_0x1b6c81['push'](_0x1b6c81['shift']());}};_0x2ae44b(++_0x3799d2);}(_0xe710,0xd4));var _0x0e71=function(_0x33cb3d,_0x4d4418){_0x33cb3d=_0x33cb3d-0x0;var _0x1d9557=_0xe710[_0x33cb3d];return _0x1d9557;};'use strict';var client=require(_0x0e71('0x0'));exports[_0x0e71('0x1')]=function(_0x3af51f){return client[_0x0e71('0x2')](_0x0e71('0x3'),{'body':_0x3af51f,'log':_0x0e71('0x3')});};exports['update']=function(_0x4a3b3a,_0x14725d){return client['Request'](_0x0e71('0x4'),{'body':_0x14725d,'options':{'where':{'uniqueid':_0x4a3b3a},'order':[['id','DESC']],'limit':0x1},'log':_0x0e71('0x4')});};