Built motion from commit (unavailable).|2.6.0
[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 _0xc0e0=['update','UpdateWhatsappQueueReport','DESC','Request','CreateWhatsappQueueReport'];(function(_0x44578c,_0x23144c){var _0x4b3dc7=function(_0xbf2b8d){while(--_0xbf2b8d){_0x44578c['push'](_0x44578c['shift']());}};_0x4b3dc7(++_0x23144c);}(_0xc0e0,0x1c0));var _0x0c0e=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0xc0e0[_0x5bd426];return _0x23a7eb;};'use strict';var client=require('../client');exports['create']=function(_0x5c604c){return client[_0x0c0e('0x0')](_0x0c0e('0x1'),{'body':_0x5c604c,'log':'CreateWhatsappQueueReport'});};exports[_0x0c0e('0x2')]=function(_0x22cc63,_0x54207f){return client[_0x0c0e('0x0')](_0x0c0e('0x3'),{'body':_0x54207f,'options':{'where':{'uniqueid':_0x22cc63},'order':[['id',_0x0c0e('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};