Built motion from commit ddca4d0d.|2.5.47
[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 _0xa84a=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','Request'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xa84a,0x1bc));var _0xaa84=function(_0x2a6809,_0x44edde){_0x2a6809=_0x2a6809-0x0;var _0x11c371=_0xa84a[_0x2a6809];return _0x11c371;};'use strict';var client=require('../client');exports['create']=function(_0x4cdbe5){return client[_0xaa84('0x0')](_0xaa84('0x1'),{'body':_0x4cdbe5,'log':_0xaa84('0x1')});};exports[_0xaa84('0x2')]=function(_0x46c0a3,_0x8a6eb0){return client[_0xaa84('0x0')](_0xaa84('0x3'),{'body':_0x8a6eb0,'options':{'where':{'uniqueid':_0x46c0a3},'order':[['id',_0xaa84('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};