Built motion from commit ede67897.|2.6.29
[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 _0x2d97=['Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x4bcc35,_0x9ae5cc){var _0x260585=function(_0x354959){while(--_0x354959){_0x4bcc35['push'](_0x4bcc35['shift']());}};_0x260585(++_0x9ae5cc);}(_0x2d97,0x1de));var _0x72d9=function(_0x14d180,_0x51cd80){_0x14d180=_0x14d180-0x0;var _0x28763e=_0x2d97[_0x14d180];return _0x28763e;};'use strict';var client=require(_0x72d9('0x0'));exports[_0x72d9('0x1')]=function(_0x424258){return client[_0x72d9('0x2')](_0x72d9('0x3'),{'body':_0x424258,'log':_0x72d9('0x3')});};exports['update']=function(_0x422e79,_0x2cd38c){return client['Request'](_0x72d9('0x4'),{'body':_0x2cd38c,'options':{'where':{'uniqueid':_0x422e79},'order':[['id',_0x72d9('0x5')]],'limit':0x1},'log':_0x72d9('0x4')});};