Built motion from commit (unavailable).|2.5.4
[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 _0x4c33=['Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','../client','create'];(function(_0x49944a,_0x1a3723){var _0x2567fc=function(_0x2aa79e){while(--_0x2aa79e){_0x49944a['push'](_0x49944a['shift']());}};_0x2567fc(++_0x1a3723);}(_0x4c33,0xb8));var _0x34c3=function(_0xd5edf7,_0x43c249){_0xd5edf7=_0xd5edf7-0x0;var _0x5cb898=_0x4c33[_0xd5edf7];return _0x5cb898;};'use strict';var client=require(_0x34c3('0x0'));exports[_0x34c3('0x1')]=function(_0x1d8195){return client[_0x34c3('0x2')](_0x34c3('0x3'),{'body':_0x1d8195,'log':_0x34c3('0x3')});};exports[_0x34c3('0x4')]=function(_0x342158,_0x1041a9){return client['Request'](_0x34c3('0x5'),{'body':_0x1041a9,'options':{'where':{'uniqueid':_0x342158},'order':[['id','DESC']],'limit':0x1},'log':_0x34c3('0x5')});};