60a7a497be326b695d9ce0e4c4326da720a020f7
[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 _0x9589=['DESC','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x37d23a,_0x19d26e){var _0x389547=function(_0x157143){while(--_0x157143){_0x37d23a['push'](_0x37d23a['shift']());}};_0x389547(++_0x19d26e);}(_0x9589,0xf6));var _0x9958=function(_0x327a72,_0x561e7e){_0x327a72=_0x327a72-0x0;var _0x44a4b7=_0x9589[_0x327a72];return _0x44a4b7;};'use strict';var client=require('../client');exports['create']=function(_0x40c542){return client[_0x9958('0x0')](_0x9958('0x1'),{'body':_0x40c542,'log':_0x9958('0x1')});};exports[_0x9958('0x2')]=function(_0x1828fb,_0x17e7a7){return client[_0x9958('0x0')](_0x9958('0x3'),{'body':_0x17e7a7,'options':{'where':{'uniqueid':_0x1828fb},'order':[['id',_0x9958('0x4')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};