Built motion from commit 14588770.|2.5.38
[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 _0xed64=['create','CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','../client'];(function(_0xf4a6e0,_0x54046b){var _0x361435=function(_0x54d01b){while(--_0x54d01b){_0xf4a6e0['push'](_0xf4a6e0['shift']());}};_0x361435(++_0x54046b);}(_0xed64,0x19c));var _0x4ed6=function(_0x53e29e,_0x17c540){_0x53e29e=_0x53e29e-0x0;var _0x54c118=_0xed64[_0x53e29e];return _0x54c118;};'use strict';var client=require(_0x4ed6('0x0'));exports[_0x4ed6('0x1')]=function(_0x23ddff){return client['Request'](_0x4ed6('0x2'),{'body':_0x23ddff,'log':_0x4ed6('0x2')});};exports[_0x4ed6('0x3')]=function(_0x5b44a1,_0x2358a9){return client[_0x4ed6('0x4')](_0x4ed6('0x5'),{'body':_0x2358a9,'options':{'where':{'uniqueid':_0x5b44a1},'order':[['id',_0x4ed6('0x6')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};