Built motion from commit (unavailable).|2.5.15
[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 _0x0eba=['update','UpdateWhatsappQueueReport','Request','CreateWhatsappQueueReport'];(function(_0x1a9c14,_0x4e8f5f){var _0x348ae8=function(_0x1d6a76){while(--_0x1d6a76){_0x1a9c14['push'](_0x1a9c14['shift']());}};_0x348ae8(++_0x4e8f5f);}(_0x0eba,0x7e));var _0xa0eb=function(_0x5d79db,_0x3fbedd){_0x5d79db=_0x5d79db-0x0;var _0x46d805=_0x0eba[_0x5d79db];return _0x46d805;};'use strict';var client=require('../client');exports['create']=function(_0x4a652e){return client[_0xa0eb('0x0')](_0xa0eb('0x1'),{'body':_0x4a652e,'log':_0xa0eb('0x1')});};exports[_0xa0eb('0x2')]=function(_0x2bde54,_0xdfb043){return client['Request'](_0xa0eb('0x3'),{'body':_0xdfb043,'options':{'where':{'uniqueid':_0x2bde54},'order':[['id','DESC']],'limit':0x1},'log':_0xa0eb('0x3')});};