Built motion from commit c116dc8b.|2.6.30
[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 _0x7706=['../client','create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x7706,0x103));var _0x6770=function(_0x3b1989,_0x505f00){_0x3b1989=_0x3b1989-0x0;var _0x47105a=_0x7706[_0x3b1989];return _0x47105a;};'use strict';var client=require(_0x6770('0x0'));exports[_0x6770('0x1')]=function(_0x9ea86d){return client[_0x6770('0x2')](_0x6770('0x3'),{'body':_0x9ea86d,'log':_0x6770('0x3')});};exports[_0x6770('0x4')]=function(_0x47319e,_0x2e47b9){return client[_0x6770('0x2')](_0x6770('0x5'),{'body':_0x2e47b9,'options':{'where':{'uniqueid':_0x47319e},'order':[['id',_0x6770('0x6')]],'limit':0x1},'log':_0x6770('0x5')});};