d39a23889f4180cd53d2a260dd8b553b4de7504e
[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 _0x917a=['index','/:id','isAuthenticated','show','/:id/download','post','create','put','update','delete','destroy','exports','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./analyticExtractedReport.controller','get'];(function(_0x149727,_0x4e1f5d){var _0x2a0c08=function(_0x4f37e1){while(--_0x4f37e1){_0x149727['push'](_0x149727['shift']());}};_0x2a0c08(++_0x4e1f5d);}(_0x917a,0x1d4));var _0xa917=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x917a[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa917('0x0'));var timeout=require('connect-timeout');var express=require(_0xa917('0x1'));var router=express['Router']();var fs_extra=require(_0xa917('0x2'));var auth=require(_0xa917('0x3'));var interaction=require(_0xa917('0x4'));var config=require('../../config/environment');var controller=require(_0xa917('0x5'));router[_0xa917('0x6')]('/',auth['isAuthenticated'](),controller[_0xa917('0x7')]);router[_0xa917('0x6')](_0xa917('0x8'),auth[_0xa917('0x9')](),controller[_0xa917('0xa')]);router['get'](_0xa917('0xb'),auth[_0xa917('0x9')](),controller['download']);router[_0xa917('0xc')]('/',auth[_0xa917('0x9')](),controller[_0xa917('0xd')]);router[_0xa917('0xe')](_0xa917('0x8'),auth['isAuthenticated'](),controller[_0xa917('0xf')]);router[_0xa917('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xa917('0x11')]);module[_0xa917('0x12')]=router;