8d17eaa5a858a639c80a5453d09d19057284fc27
[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 _0x284e=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','/:id','isAuthenticated','/:id/download','post','create','put','update','delete','destroy','exports','multer'];(function(_0x28877b,_0x95b13b){var _0x2dd02f=function(_0x12def1){while(--_0x12def1){_0x28877b['push'](_0x28877b['shift']());}};_0x2dd02f(++_0x95b13b);}(_0x284e,0xaf));var _0xe284=function(_0x2a12f0,_0x480318){_0x2a12f0=_0x2a12f0-0x0;var _0x1f3304=_0x284e[_0x2a12f0];return _0x1f3304;};'use strict';var multer=require(_0xe284('0x0'));var util=require(_0xe284('0x1'));var path=require(_0xe284('0x2'));var timeout=require(_0xe284('0x3'));var express=require(_0xe284('0x4'));var router=express[_0xe284('0x5')]();var fs_extra=require(_0xe284('0x6'));var auth=require(_0xe284('0x7'));var interaction=require(_0xe284('0x8'));var config=require(_0xe284('0x9'));var controller=require(_0xe284('0xa'));router[_0xe284('0xb')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xe284('0xc'),auth[_0xe284('0xd')](),controller['show']);router[_0xe284('0xb')](_0xe284('0xe'),auth[_0xe284('0xd')](),controller['download']);router[_0xe284('0xf')]('/',auth['isAuthenticated'](),controller[_0xe284('0x10')]);router[_0xe284('0x11')](_0xe284('0xc'),auth['isAuthenticated'](),controller[_0xe284('0x12')]);router[_0xe284('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xe284('0x14')]);module[_0xe284('0x15')]=router;