Built motion from commit (unavailable).|2.5.6
[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 _0xa5cb=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','../client','Request'];(function(_0x296dc5,_0x4fe9cb){var _0x1e0b61=function(_0x503e6e){while(--_0x503e6e){_0x296dc5['push'](_0x296dc5['shift']());}};_0x1e0b61(++_0x4fe9cb);}(_0xa5cb,0x1de));var _0xba5c=function(_0x213a04,_0x1e9ffc){_0x213a04=_0x213a04-0x0;var _0x116c0a=_0xa5cb[_0x213a04];return _0x116c0a;};'use strict';var client=require(_0xba5c('0x0'));exports['create']=function(_0x58ea0b){return client[_0xba5c('0x1')]('CreateWhatsappQueueReport',{'body':_0x58ea0b,'log':_0xba5c('0x2')});};exports[_0xba5c('0x3')]=function(_0x4b5ff8,_0x32121c){return client[_0xba5c('0x1')](_0xba5c('0x4'),{'body':_0x32121c,'options':{'where':{'uniqueid':_0x4b5ff8},'order':[['id','DESC']],'limit':0x1},'log':_0xba5c('0x4')});};