c39b5a168097bbe77e0264c7f6e561cc273b086a
[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 _0x3bd1=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','isAuthenticated','index','get','/:id','show','/:id/download','download','create','update','delete','destroy','exports','util'];(function(_0x54ae47,_0x147354){var _0x4adbd1=function(_0x593a22){while(--_0x593a22){_0x54ae47['push'](_0x54ae47['shift']());}};_0x4adbd1(++_0x147354);}(_0x3bd1,0x109));var _0x13bd=function(_0x55c27f,_0x33958b){_0x55c27f=_0x55c27f-0x0;var _0x11a2f2=_0x3bd1[_0x55c27f];return _0x11a2f2;};'use strict';var multer=require('multer');var util=require(_0x13bd('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x13bd('0x1'));var router=express[_0x13bd('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x13bd('0x3'));var interaction=require(_0x13bd('0x4'));var config=require(_0x13bd('0x5'));var controller=require(_0x13bd('0x6'));router['get']('/',auth[_0x13bd('0x7')](),controller[_0x13bd('0x8')]);router[_0x13bd('0x9')](_0x13bd('0xa'),auth[_0x13bd('0x7')](),controller[_0x13bd('0xb')]);router[_0x13bd('0x9')](_0x13bd('0xc'),auth[_0x13bd('0x7')](),controller[_0x13bd('0xd')]);router['post']('/',auth[_0x13bd('0x7')](),controller[_0x13bd('0xe')]);router['put'](_0x13bd('0xa'),auth[_0x13bd('0x7')](),controller[_0x13bd('0xf')]);router[_0x13bd('0x10')](_0x13bd('0xa'),auth[_0x13bd('0x7')](),controller[_0x13bd('0x11')]);module[_0x13bd('0x12')]=router;