10440a77ee108c10c48b519824bce8e10e60b518
[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 _0x58d2=['create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC'];(function(_0x3493bb,_0x482bea){var _0x444d1d=function(_0x3c8a93){while(--_0x3c8a93){_0x3493bb['push'](_0x3493bb['shift']());}};_0x444d1d(++_0x482bea);}(_0x58d2,0x144));var _0x258d=function(_0x58cdc9,_0x478694){_0x58cdc9=_0x58cdc9-0x0;var _0x3760a2=_0x58d2[_0x58cdc9];return _0x3760a2;};'use strict';var client=require('../client');exports[_0x258d('0x0')]=function(_0x55a812){return client[_0x258d('0x1')](_0x258d('0x2'),{'body':_0x55a812,'log':_0x258d('0x2')});};exports[_0x258d('0x3')]=function(_0x48e221,_0x30cfd0){return client['Request'](_0x258d('0x4'),{'body':_0x30cfd0,'options':{'where':{'uniqueid':_0x48e221},'order':[['id',_0x258d('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};