Built motion from commit 9d0783e6.|2.6.13
[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 _0xd221=['Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x4a367f,_0x4e05f2){var _0x2bedd5=function(_0x5b5e70){while(--_0x5b5e70){_0x4a367f['push'](_0x4a367f['shift']());}};_0x2bedd5(++_0x4e05f2);}(_0xd221,0x1e8));var _0x1d22=function(_0x472277,_0x466470){_0x472277=_0x472277-0x0;var _0x239e64=_0xd221[_0x472277];return _0x239e64;};'use strict';var client=require(_0x1d22('0x0'));exports[_0x1d22('0x1')]=function(_0x478107){return client[_0x1d22('0x2')](_0x1d22('0x3'),{'body':_0x478107,'log':_0x1d22('0x3')});};exports[_0x1d22('0x4')]=function(_0x592b5d,_0x4182d9){return client[_0x1d22('0x2')](_0x1d22('0x5'),{'body':_0x4182d9,'options':{'where':{'uniqueid':_0x592b5d},'order':[['id',_0x1d22('0x6')]],'limit':0x1},'log':_0x1d22('0x5')});};