829e932bb247a7a7955be673edc7a2141f285b37
[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 _0x4856=['update','UpdateWhatsappQueueReport','DESC','create','Request','CreateWhatsappQueueReport'];(function(_0xc0bae,_0x3afb2e){var _0x3fc1f4=function(_0x559f30){while(--_0x559f30){_0xc0bae['push'](_0xc0bae['shift']());}};_0x3fc1f4(++_0x3afb2e);}(_0x4856,0xbd));var _0x6485=function(_0xd06df9,_0x42eb29){_0xd06df9=_0xd06df9-0x0;var _0x144a22=_0x4856[_0xd06df9];return _0x144a22;};'use strict';var client=require('../client');exports[_0x6485('0x0')]=function(_0x54dbcd){return client[_0x6485('0x1')](_0x6485('0x2'),{'body':_0x54dbcd,'log':_0x6485('0x2')});};exports[_0x6485('0x3')]=function(_0x1cec83,_0x50f274){return client[_0x6485('0x1')](_0x6485('0x4'),{'body':_0x50f274,'options':{'where':{'uniqueid':_0x1cec83},'order':[['id',_0x6485('0x5')]],'limit':0x1},'log':_0x6485('0x4')});};