Built motion from commit (unavailable).|2.5.8
[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 _0x92c8=['create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x46eb8f,_0x477c62){var _0x2a0cb2=function(_0x6fea63){while(--_0x6fea63){_0x46eb8f['push'](_0x46eb8f['shift']());}};_0x2a0cb2(++_0x477c62);}(_0x92c8,0x136));var _0x892c=function(_0x501c07,_0x1ab123){_0x501c07=_0x501c07-0x0;var _0x73f130=_0x92c8[_0x501c07];return _0x73f130;};'use strict';var client=require('../client');exports[_0x892c('0x0')]=function(_0x3dcf87){return client[_0x892c('0x1')](_0x892c('0x2'),{'body':_0x3dcf87,'log':_0x892c('0x2')});};exports[_0x892c('0x3')]=function(_0x68d73a,_0x202cf2){return client['Request'](_0x892c('0x4'),{'body':_0x202cf2,'options':{'where':{'uniqueid':_0x68d73a},'order':[['id','DESC']],'limit':0x1},'log':_0x892c('0x4')});};