6ecb80a4be47904309f7696b9146b51a8be083ac
[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 _0x9b03=['post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./analyticExtractedReport.controller','isAuthenticated','index','get','/:id','show','/:id/download','download'];(function(_0x3233c3,_0x15e5fa){var _0x36029b=function(_0xe3dd12){while(--_0xe3dd12){_0x3233c3['push'](_0x3233c3['shift']());}};_0x36029b(++_0x15e5fa);}(_0x9b03,0x102));var _0x39b0=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x9b03[_0x19e35c];return _0x3e1fe8;};'use strict';var multer=require(_0x39b0('0x0'));var util=require(_0x39b0('0x1'));var path=require('path');var timeout=require(_0x39b0('0x2'));var express=require(_0x39b0('0x3'));var router=express[_0x39b0('0x4')]();var auth=require(_0x39b0('0x5'));var interaction=require(_0x39b0('0x6'));var config=require('../../config/environment');var controller=require(_0x39b0('0x7'));router['get']('/',auth[_0x39b0('0x8')](),controller[_0x39b0('0x9')]);router[_0x39b0('0xa')](_0x39b0('0xb'),auth[_0x39b0('0x8')](),controller[_0x39b0('0xc')]);router['get'](_0x39b0('0xd'),auth[_0x39b0('0x8')](),controller[_0x39b0('0xe')]);router[_0x39b0('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0x39b0('0x10')](_0x39b0('0xb'),auth['isAuthenticated'](),controller[_0x39b0('0x11')]);router[_0x39b0('0x12')](_0x39b0('0xb'),auth[_0x39b0('0x8')](),controller[_0x39b0('0x13')]);module[_0x39b0('0x14')]=router;