Built motion from commit (unavailable).|2.5.31
[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 _0x06bc=['Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','create'];(function(_0x2b8a8f,_0xdcde4e){var _0xf20558=function(_0x598aec){while(--_0x598aec){_0x2b8a8f['push'](_0x2b8a8f['shift']());}};_0xf20558(++_0xdcde4e);}(_0x06bc,0x112));var _0xc06b=function(_0x4b1033,_0x46e9ad){_0x4b1033=_0x4b1033-0x0;var _0x43ceee=_0x06bc[_0x4b1033];return _0x43ceee;};'use strict';var client=require('../client');exports[_0xc06b('0x0')]=function(_0x2ae3d4){return client[_0xc06b('0x1')]('CreateWhatsappQueueReport',{'body':_0x2ae3d4,'log':_0xc06b('0x2')});};exports['update']=function(_0x36aabf,_0x2c7298){return client[_0xc06b('0x1')](_0xc06b('0x3'),{'body':_0x2c7298,'options':{'where':{'uniqueid':_0x36aabf},'order':[['id',_0xc06b('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};