4a0be0eba1e6a7ff073f49ee2845c20fa639a0a2
[motion2.git] / server / api / analyticExtractedReport / 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 _0x06a0=['get','isAuthenticated','index','/:id','/:id/download','download','post','create','put','update','delete','destroy','exports','multer','path','Router','../../components/auth/service','../../components/interaction/service'];(function(_0xc830e8,_0x59af8e){var _0x1e03d9=function(_0x42b5bc){while(--_0x42b5bc){_0xc830e8['push'](_0xc830e8['shift']());}};_0x1e03d9(++_0x59af8e);}(_0x06a0,0x1e1));var _0x006a=function(_0x2c84e5,_0x58a7c7){_0x2c84e5=_0x2c84e5-0x0;var _0x4990ec=_0x06a0[_0x2c84e5];return _0x4990ec;};'use strict';var multer=require(_0x006a('0x0'));var util=require('util');var path=require(_0x006a('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x006a('0x2')]();var auth=require(_0x006a('0x3'));var interaction=require(_0x006a('0x4'));var config=require('../../config/environment');var controller=require('./analyticExtractedReport.controller');router[_0x006a('0x5')]('/',auth[_0x006a('0x6')](),controller[_0x006a('0x7')]);router[_0x006a('0x5')](_0x006a('0x8'),auth[_0x006a('0x6')](),controller['show']);router['get'](_0x006a('0x9'),auth[_0x006a('0x6')](),controller[_0x006a('0xa')]);router[_0x006a('0xb')]('/',auth[_0x006a('0x6')](),controller[_0x006a('0xc')]);router[_0x006a('0xd')](_0x006a('0x8'),auth[_0x006a('0x6')](),controller[_0x006a('0xe')]);router[_0x006a('0xf')](_0x006a('0x8'),auth[_0x006a('0x6')](),controller[_0x006a('0x10')]);module[_0x006a('0x11')]=router;