44ffe5b8d975010fdd16c2eb8b2a35e3a139891a
[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 _0x08af=['/:id','/:id/download','post','create','put','update','delete','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','isAuthenticated','index','get'];(function(_0xd21fe7,_0x225a39){var _0x14d570=function(_0x3c0674){while(--_0x3c0674){_0xd21fe7['push'](_0xd21fe7['shift']());}};_0x14d570(++_0x225a39);}(_0x08af,0xff));var _0xf08a=function(_0xe41644,_0xf7753d){_0xe41644=_0xe41644-0x0;var _0x1b741c=_0x08af[_0xe41644];return _0x1b741c;};'use strict';var multer=require('multer');var util=require(_0xf08a('0x0'));var path=require(_0xf08a('0x1'));var timeout=require('connect-timeout');var express=require(_0xf08a('0x2'));var router=express[_0xf08a('0x3')]();var auth=require(_0xf08a('0x4'));var interaction=require(_0xf08a('0x5'));var config=require(_0xf08a('0x6'));var controller=require(_0xf08a('0x7'));router['get']('/',auth[_0xf08a('0x8')](),controller[_0xf08a('0x9')]);router[_0xf08a('0xa')](_0xf08a('0xb'),auth[_0xf08a('0x8')](),controller['show']);router[_0xf08a('0xa')](_0xf08a('0xc'),auth[_0xf08a('0x8')](),controller['download']);router[_0xf08a('0xd')]('/',auth[_0xf08a('0x8')](),controller[_0xf08a('0xe')]);router[_0xf08a('0xf')](_0xf08a('0xb'),auth[_0xf08a('0x8')](),controller[_0xf08a('0x10')]);router[_0xf08a('0x11')](_0xf08a('0xb'),auth[_0xf08a('0x8')](),controller['destroy']);module[_0xf08a('0x12')]=router;