Built motion from commit 5293bb2a.|2.6.30
[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 _0x2619=['DESC','UpdateWhatsappQueueReport','Request','CreateWhatsappQueueReport'];(function(_0x5c956b,_0xa87d11){var _0xaff46a=function(_0x463d89){while(--_0x463d89){_0x5c956b['push'](_0x5c956b['shift']());}};_0xaff46a(++_0xa87d11);}(_0x2619,0x1be));var _0x9261=function(_0x232c3a,_0x894221){_0x232c3a=_0x232c3a-0x0;var _0x4fed82=_0x2619[_0x232c3a];return _0x4fed82;};'use strict';var client=require('../client');exports['create']=function(_0x34b98b){return client[_0x9261('0x0')]('CreateWhatsappQueueReport',{'body':_0x34b98b,'log':_0x9261('0x1')});};exports['update']=function(_0x5d8d37,_0x4bf9bb){return client[_0x9261('0x0')]('UpdateWhatsappQueueReport',{'body':_0x4bf9bb,'options':{'where':{'uniqueid':_0x5d8d37},'order':[['id',_0x9261('0x2')]],'limit':0x1},'log':_0x9261('0x3')});};