3845d04f86c601557d0d2e20a63275ba1f1a3e14
[motion2.git] / server / api / whatsappQueueReport / index.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 _0x5a43=['describe','/:id','show','post','create','update','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','isAuthenticated','index','get','/describe'];(function(_0x4f4757,_0x44241a){var _0x549c37=function(_0x3c3cfb){while(--_0x3c3cfb){_0x4f4757['push'](_0x4f4757['shift']());}};_0x549c37(++_0x44241a);}(_0x5a43,0xf1));var _0x35a4=function(_0x4d4134,_0x7c2af){_0x4d4134=_0x4d4134-0x0;var _0x1c8744=_0x5a43[_0x4d4134];return _0x1c8744;};'use strict';var multer=require(_0x35a4('0x0'));var util=require(_0x35a4('0x1'));var path=require(_0x35a4('0x2'));var timeout=require(_0x35a4('0x3'));var express=require(_0x35a4('0x4'));var router=express[_0x35a4('0x5')]();var auth=require(_0x35a4('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./whatsappQueueReport.controller');router['get']('/',auth[_0x35a4('0x7')](),controller[_0x35a4('0x8')]);router[_0x35a4('0x9')](_0x35a4('0xa'),auth[_0x35a4('0x7')](),controller[_0x35a4('0xb')]);router['get'](_0x35a4('0xc'),auth[_0x35a4('0x7')](),controller[_0x35a4('0xd')]);router[_0x35a4('0xe')]('/',auth[_0x35a4('0x7')](),controller[_0x35a4('0xf')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x35a4('0x10')]);router['delete'](_0x35a4('0xc'),auth[_0x35a4('0x7')](),controller[_0x35a4('0x11')]);module['exports']=router;