b610e91089a7f623ed5d4e737e7c943b1b36e40e
[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 _0xcbe0=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','create','Request'];(function(_0x28e436,_0x4721ca){var _0x19afbd=function(_0x4f44f3){while(--_0x4f44f3){_0x28e436['push'](_0x28e436['shift']());}};_0x19afbd(++_0x4721ca);}(_0xcbe0,0x1a8));var _0x0cbe=function(_0x4e0359,_0x205155){_0x4e0359=_0x4e0359-0x0;var _0x450f0a=_0xcbe0[_0x4e0359];return _0x450f0a;};'use strict';var client=require('../client');exports[_0x0cbe('0x0')]=function(_0x16ceb9){return client[_0x0cbe('0x1')](_0x0cbe('0x2'),{'body':_0x16ceb9,'log':_0x0cbe('0x2')});};exports[_0x0cbe('0x3')]=function(_0x35952a,_0x4dc012){return client[_0x0cbe('0x1')](_0x0cbe('0x4'),{'body':_0x4dc012,'options':{'where':{'uniqueid':_0x35952a},'order':[['id',_0x0cbe('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};