2875eb3dcfab29e1afe3297259cb68f3785fc6b3
[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 _0xb792=['DESC','../client','create','CreateWhatsappQueueReport','Request','UpdateWhatsappQueueReport'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0xb792,0x157));var _0x2b79=function(_0x1f919f,_0x5b3b18){_0x1f919f=_0x1f919f-0x0;var _0x30256e=_0xb792[_0x1f919f];return _0x30256e;};'use strict';var client=require(_0x2b79('0x0'));exports[_0x2b79('0x1')]=function(_0x4948de){return client['Request'](_0x2b79('0x2'),{'body':_0x4948de,'log':_0x2b79('0x2')});};exports['update']=function(_0x38e22d,_0x83191b){return client[_0x2b79('0x3')](_0x2b79('0x4'),{'body':_0x83191b,'options':{'where':{'uniqueid':_0x38e22d},'order':[['id',_0x2b79('0x5')]],'limit':0x1},'log':_0x2b79('0x4')});};