Built motion from commit (unavailable).|2.5.28
[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 _0xed88=['Request','CreateWhatsappQueueReport','update','DESC','UpdateWhatsappQueueReport','create'];(function(_0x21e51c,_0x4ac5f2){var _0xfbd7d8=function(_0x2ba6a){while(--_0x2ba6a){_0x21e51c['push'](_0x21e51c['shift']());}};_0xfbd7d8(++_0x4ac5f2);}(_0xed88,0x119));var _0x8ed8=function(_0x364160,_0x11f17e){_0x364160=_0x364160-0x0;var _0x30f076=_0xed88[_0x364160];return _0x30f076;};'use strict';var client=require('../client');exports[_0x8ed8('0x0')]=function(_0x510c80){return client[_0x8ed8('0x1')](_0x8ed8('0x2'),{'body':_0x510c80,'log':_0x8ed8('0x2')});};exports[_0x8ed8('0x3')]=function(_0x30d686,_0x4a6d05){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x4a6d05,'options':{'where':{'uniqueid':_0x30d686},'order':[['id',_0x8ed8('0x4')]],'limit':0x1},'log':_0x8ed8('0x5')});};