1d416b455841ca0774fb3042c9779d3e85f3c114
[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 _0x6253=['DESC','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x7791d5,_0xdab65f){var _0x5ce288=function(_0x2b818d){while(--_0x2b818d){_0x7791d5['push'](_0x7791d5['shift']());}};_0x5ce288(++_0xdab65f);}(_0x6253,0x1a5));var _0x3625=function(_0x583244,_0xaf5581){_0x583244=_0x583244-0x0;var _0x50a45f=_0x6253[_0x583244];return _0x50a45f;};'use strict';var client=require('../client');exports['create']=function(_0x499fc0){return client[_0x3625('0x0')](_0x3625('0x1'),{'body':_0x499fc0,'log':_0x3625('0x1')});};exports[_0x3625('0x2')]=function(_0x3fb478,_0x3056fa){return client['Request'](_0x3625('0x3'),{'body':_0x3056fa,'options':{'where':{'uniqueid':_0x3fb478},'order':[['id',_0x3625('0x4')]],'limit':0x1},'log':_0x3625('0x3')});};