208ba0e426b79efd21af7f2fd4b9a9dae5d2a8e1
[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 _0x65ca=['../../components/auth/service','../../components/interaction/service','get','index','show','isAuthenticated','download','post','create','put','delete','/:id','destroy','exports','multer','util','express','Router','fs-extra'];(function(_0x41ffbb,_0x3ed4a9){var _0x2dc5fd=function(_0x35cf91){while(--_0x35cf91){_0x41ffbb['push'](_0x41ffbb['shift']());}};_0x2dc5fd(++_0x3ed4a9);}(_0x65ca,0xb9));var _0xa65c=function(_0x3ed26c,_0xab6b81){_0x3ed26c=_0x3ed26c-0x0;var _0x20074a=_0x65ca[_0x3ed26c];return _0x20074a;};'use strict';var multer=require(_0xa65c('0x0'));var util=require(_0xa65c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa65c('0x2'));var router=express[_0xa65c('0x3')]();var fs_extra=require(_0xa65c('0x4'));var auth=require(_0xa65c('0x5'));var interaction=require(_0xa65c('0x6'));var config=require('../../config/environment');var controller=require('./analyticExtractedReport.controller');router[_0xa65c('0x7')]('/',auth['isAuthenticated'](),controller[_0xa65c('0x8')]);router[_0xa65c('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xa65c('0x9')]);router[_0xa65c('0x7')]('/:id/download',auth[_0xa65c('0xa')](),controller[_0xa65c('0xb')]);router[_0xa65c('0xc')]('/',auth[_0xa65c('0xa')](),controller[_0xa65c('0xd')]);router[_0xa65c('0xe')]('/:id',auth[_0xa65c('0xa')](),controller['update']);router[_0xa65c('0xf')](_0xa65c('0x10'),auth[_0xa65c('0xa')](),controller[_0xa65c('0x11')]);module[_0xa65c('0x12')]=router;