905b92419e42e77ba51c2e3db05d0c8435dc6c07
[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 _0xc9e0=['update','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappQueueReport.controller','isAuthenticated','index','/describe','describe','get','show','post','create','put','/:id'];(function(_0x175b61,_0x435ee0){var _0x29c997=function(_0x9c88ce){while(--_0x9c88ce){_0x175b61['push'](_0x175b61['shift']());}};_0x29c997(++_0x435ee0);}(_0xc9e0,0x193));var _0x0c9e=function(_0x3f9cd7,_0xfd1ac){_0x3f9cd7=_0x3f9cd7-0x0;var _0x2e9cf3=_0xc9e0[_0x3f9cd7];return _0x2e9cf3;};'use strict';var multer=require(_0x0c9e('0x0'));var util=require('util');var path=require(_0x0c9e('0x1'));var timeout=require('connect-timeout');var express=require(_0x0c9e('0x2'));var router=express[_0x0c9e('0x3')]();var auth=require(_0x0c9e('0x4'));var interaction=require(_0x0c9e('0x5'));var config=require('../../config/environment');var controller=require(_0x0c9e('0x6'));router['get']('/',auth[_0x0c9e('0x7')](),controller[_0x0c9e('0x8')]);router['get'](_0x0c9e('0x9'),auth['isAuthenticated'](),controller[_0x0c9e('0xa')]);router[_0x0c9e('0xb')]('/:id',auth[_0x0c9e('0x7')](),controller[_0x0c9e('0xc')]);router[_0x0c9e('0xd')]('/',auth[_0x0c9e('0x7')](),controller[_0x0c9e('0xe')]);router[_0x0c9e('0xf')](_0x0c9e('0x10'),auth['isAuthenticated'](),controller[_0x0c9e('0x11')]);router[_0x0c9e('0x12')](_0x0c9e('0x10'),auth['isAuthenticated'](),controller[_0x0c9e('0x13')]);module[_0x0c9e('0x14')]=router;